diff --git a/.venv/bin/fio b/.venv/bin/fio deleted file mode 100755 index df4c373b..00000000 --- a/.venv/bin/fio +++ /dev/null @@ -1,8 +0,0 @@ -#!/home/dadams/Repos/california_equity_git/.venv/bin/python -# -*- coding: utf-8 -*- -import re -import sys -from fiona.fio.main import main_group -if __name__ == '__main__': - sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) - sys.exit(main_group()) diff --git a/.venv/bin/python b/.venv/bin/python index be2a5208..acd4152a 120000 --- a/.venv/bin/python +++ b/.venv/bin/python @@ -1 +1 @@ -/home/dadams/miniconda3/bin/python \ No newline at end of file +/usr/bin/python \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/__pycache__/six.cpython-312.pyc b/.venv/lib/python3.12/site-packages/__pycache__/six.cpython-312.pyc index 4d86a591..f2c17dfa 100644 Binary files a/.venv/lib/python3.12/site-packages/__pycache__/six.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/__pycache__/six.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/_distutils_hack/__init__.py b/.venv/lib/python3.12/site-packages/_distutils_hack/__init__.py deleted file mode 100644 index 94f71b99..00000000 --- a/.venv/lib/python3.12/site-packages/_distutils_hack/__init__.py +++ /dev/null @@ -1,239 +0,0 @@ -# don't import any costly modules -import os -import sys - -report_url = ( - "https://github.com/pypa/setuptools/issues/new?template=distutils-deprecation.yml" -) - - -def warn_distutils_present(): - if 'distutils' not in sys.modules: - return - import warnings - - warnings.warn( - "Distutils was imported before Setuptools, but importing Setuptools " - "also replaces the `distutils` module in `sys.modules`. This may lead " - "to undesirable behaviors or errors. To avoid these issues, avoid " - "using distutils directly, ensure that setuptools is installed in the " - "traditional way (e.g. not an editable install), and/or make sure " - "that setuptools is always imported before distutils." - ) - - -def clear_distutils(): - if 'distutils' not in sys.modules: - return - import warnings - - warnings.warn( - "Setuptools is replacing distutils. Support for replacing " - "an already imported distutils is deprecated. In the future, " - "this condition will fail. " - f"Register concerns at {report_url}" - ) - mods = [ - name - for name in sys.modules - if name == "distutils" or name.startswith("distutils.") - ] - for name in mods: - del sys.modules[name] - - -def enabled(): - """ - Allow selection of distutils by environment variable. - """ - which = os.environ.get('SETUPTOOLS_USE_DISTUTILS', 'local') - if which == 'stdlib': - import warnings - - warnings.warn( - "Reliance on distutils from stdlib is deprecated. Users " - "must rely on setuptools to provide the distutils module. " - "Avoid importing distutils or import setuptools first, " - "and avoid setting SETUPTOOLS_USE_DISTUTILS=stdlib. " - f"Register concerns at {report_url}" - ) - return which == 'local' - - -def ensure_local_distutils(): - import importlib - - clear_distutils() - - # With the DistutilsMetaFinder in place, - # perform an import to cause distutils to be - # loaded from setuptools._distutils. Ref #2906. - with shim(): - importlib.import_module('distutils') - - # check that submodules load as expected - core = importlib.import_module('distutils.core') - assert '_distutils' in core.__file__, core.__file__ - assert 'setuptools._distutils.log' not in sys.modules - - -def do_override(): - """ - Ensure that the local copy of distutils is preferred over stdlib. - - See https://github.com/pypa/setuptools/issues/417#issuecomment-392298401 - for more motivation. - """ - if enabled(): - warn_distutils_present() - ensure_local_distutils() - - -class _TrivialRe: - def __init__(self, *patterns) -> None: - self._patterns = patterns - - def match(self, string): - return all(pat in string for pat in self._patterns) - - -class DistutilsMetaFinder: - def find_spec(self, fullname, path, target=None): - # optimization: only consider top level modules and those - # found in the CPython test suite. - if path is not None and not fullname.startswith('test.'): - return None - - method_name = 'spec_for_{fullname}'.format(**locals()) - method = getattr(self, method_name, lambda: None) - return method() - - def spec_for_distutils(self): - if self.is_cpython(): - return None - - import importlib - import importlib.abc - import importlib.util - - try: - mod = importlib.import_module('setuptools._distutils') - except Exception: - # There are a couple of cases where setuptools._distutils - # may not be present: - # - An older Setuptools without a local distutils is - # taking precedence. Ref #2957. - # - Path manipulation during sitecustomize removes - # setuptools from the path but only after the hook - # has been loaded. Ref #2980. - # In either case, fall back to stdlib behavior. - return None - - class DistutilsLoader(importlib.abc.Loader): - def create_module(self, spec): - mod.__name__ = 'distutils' - return mod - - def exec_module(self, module): - pass - - return importlib.util.spec_from_loader( - 'distutils', DistutilsLoader(), origin=mod.__file__ - ) - - @staticmethod - def is_cpython(): - """ - Suppress supplying distutils for CPython (build and tests). - Ref #2965 and #3007. - """ - return os.path.isfile('pybuilddir.txt') - - def spec_for_pip(self): - """ - Ensure stdlib distutils when running under pip. - See pypa/pip#8761 for rationale. - """ - if sys.version_info >= (3, 12) or self.pip_imported_during_build(): - return - clear_distutils() - self.spec_for_distutils = lambda: None - - @classmethod - def pip_imported_during_build(cls): - """ - Detect if pip is being imported in a build script. Ref #2355. - """ - import traceback - - return any( - cls.frame_file_is_setup(frame) for frame, line in traceback.walk_stack(None) - ) - - @staticmethod - def frame_file_is_setup(frame): - """ - Return True if the indicated frame suggests a setup.py file. - """ - # some frames may not have __file__ (#2940) - return frame.f_globals.get('__file__', '').endswith('setup.py') - - def spec_for_sensitive_tests(self): - """ - Ensure stdlib distutils when running select tests under CPython. - - python/cpython#91169 - """ - clear_distutils() - self.spec_for_distutils = lambda: None - - sensitive_tests = ( - [ - 'test.test_distutils', - 'test.test_peg_generator', - 'test.test_importlib', - ] - if sys.version_info < (3, 10) - else [ - 'test.test_distutils', - ] - ) - - -for name in DistutilsMetaFinder.sensitive_tests: - setattr( - DistutilsMetaFinder, - f'spec_for_{name}', - DistutilsMetaFinder.spec_for_sensitive_tests, - ) - - -DISTUTILS_FINDER = DistutilsMetaFinder() - - -def add_shim(): - DISTUTILS_FINDER in sys.meta_path or insert_shim() - - -class shim: - def __enter__(self) -> None: - insert_shim() - - def __exit__(self, exc: object, value: object, tb: object) -> None: - _remove_shim() - - -def insert_shim(): - sys.meta_path.insert(0, DISTUTILS_FINDER) - - -def _remove_shim(): - try: - sys.meta_path.remove(DISTUTILS_FINDER) - except ValueError: - pass - - -if sys.version_info < (3, 12): - # DistutilsMetaFinder can only be disabled in Python < 3.12 (PEP 632) - remove_shim = _remove_shim diff --git a/.venv/lib/python3.12/site-packages/_distutils_hack/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/_distutils_hack/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 912f3666..00000000 Binary files a/.venv/lib/python3.12/site-packages/_distutils_hack/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/_distutils_hack/__pycache__/override.cpython-312.pyc b/.venv/lib/python3.12/site-packages/_distutils_hack/__pycache__/override.cpython-312.pyc deleted file mode 100644 index 5e93a27e..00000000 Binary files a/.venv/lib/python3.12/site-packages/_distutils_hack/__pycache__/override.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/_distutils_hack/override.py b/.venv/lib/python3.12/site-packages/_distutils_hack/override.py deleted file mode 100644 index 2cc433a4..00000000 --- a/.venv/lib/python3.12/site-packages/_distutils_hack/override.py +++ /dev/null @@ -1 +0,0 @@ -__import__('_distutils_hack').do_override() diff --git a/.venv/lib/python3.12/site-packages/attr/__init__.py b/.venv/lib/python3.12/site-packages/attr/__init__.py deleted file mode 100644 index 5c6e0650..00000000 --- a/.venv/lib/python3.12/site-packages/attr/__init__.py +++ /dev/null @@ -1,104 +0,0 @@ -# SPDX-License-Identifier: MIT - -""" -Classes Without Boilerplate -""" - -from functools import partial -from typing import Callable, Literal, Protocol - -from . import converters, exceptions, filters, setters, validators -from ._cmp import cmp_using -from ._config import get_run_validators, set_run_validators -from ._funcs import asdict, assoc, astuple, has, resolve_types -from ._make import ( - NOTHING, - Attribute, - Converter, - Factory, - _Nothing, - attrib, - attrs, - evolve, - fields, - fields_dict, - make_class, - validate, -) -from ._next_gen import define, field, frozen, mutable -from ._version_info import VersionInfo - - -s = attributes = attrs -ib = attr = attrib -dataclass = partial(attrs, auto_attribs=True) # happy Easter ;) - - -class AttrsInstance(Protocol): - pass - - -NothingType = Literal[_Nothing.NOTHING] - -__all__ = [ - "NOTHING", - "Attribute", - "AttrsInstance", - "Converter", - "Factory", - "NothingType", - "asdict", - "assoc", - "astuple", - "attr", - "attrib", - "attributes", - "attrs", - "cmp_using", - "converters", - "define", - "evolve", - "exceptions", - "field", - "fields", - "fields_dict", - "filters", - "frozen", - "get_run_validators", - "has", - "ib", - "make_class", - "mutable", - "resolve_types", - "s", - "set_run_validators", - "setters", - "validate", - "validators", -] - - -def _make_getattr(mod_name: str) -> Callable: - """ - Create a metadata proxy for packaging information that uses *mod_name* in - its warnings and errors. - """ - - def __getattr__(name: str) -> str: - if name not in ("__version__", "__version_info__"): - msg = f"module {mod_name} has no attribute {name}" - raise AttributeError(msg) - - from importlib.metadata import metadata - - meta = metadata("attrs") - - if name == "__version_info__": - return VersionInfo._from_version_string(meta["version"]) - - return meta["version"] - - return __getattr__ - - -__getattr__ = _make_getattr(__name__) diff --git a/.venv/lib/python3.12/site-packages/attr/__init__.pyi b/.venv/lib/python3.12/site-packages/attr/__init__.pyi deleted file mode 100644 index 133e5010..00000000 --- a/.venv/lib/python3.12/site-packages/attr/__init__.pyi +++ /dev/null @@ -1,389 +0,0 @@ -import enum -import sys - -from typing import ( - Any, - Callable, - Generic, - Literal, - Mapping, - Protocol, - Sequence, - TypeVar, - overload, -) - -# `import X as X` is required to make these public -from . import converters as converters -from . import exceptions as exceptions -from . import filters as filters -from . import setters as setters -from . import validators as validators -from ._cmp import cmp_using as cmp_using -from ._typing_compat import AttrsInstance_ -from ._version_info import VersionInfo -from attrs import ( - define as define, - field as field, - mutable as mutable, - frozen as frozen, - _EqOrderType, - _ValidatorType, - _ConverterType, - _ReprArgType, - _OnSetAttrType, - _OnSetAttrArgType, - _FieldTransformer, - _ValidatorArgType, -) - -if sys.version_info >= (3, 10): - from typing import TypeGuard, TypeAlias -else: - from typing_extensions import TypeGuard, TypeAlias - -if sys.version_info >= (3, 11): - from typing import dataclass_transform -else: - from typing_extensions import dataclass_transform - -__version__: str -__version_info__: VersionInfo -__title__: str -__description__: str -__url__: str -__uri__: str -__author__: str -__email__: str -__license__: str -__copyright__: str - -_T = TypeVar("_T") -_C = TypeVar("_C", bound=type) - -_FilterType = Callable[["Attribute[_T]", _T], bool] - -# We subclass this here to keep the protocol's qualified name clean. -class AttrsInstance(AttrsInstance_, Protocol): - pass - -_A = TypeVar("_A", bound=type[AttrsInstance]) - -class _Nothing(enum.Enum): - NOTHING = enum.auto() - -NOTHING = _Nothing.NOTHING -NothingType: TypeAlias = Literal[_Nothing.NOTHING] - -# NOTE: Factory lies about its return type to make this possible: -# `x: List[int] # = Factory(list)` -# Work around mypy issue #4554 in the common case by using an overload. - -@overload -def Factory(factory: Callable[[], _T]) -> _T: ... -@overload -def Factory( - factory: Callable[[Any], _T], - takes_self: Literal[True], -) -> _T: ... -@overload -def Factory( - factory: Callable[[], _T], - takes_self: Literal[False], -) -> _T: ... - -In = TypeVar("In") -Out = TypeVar("Out") - -class Converter(Generic[In, Out]): - @overload - def __init__(self, converter: Callable[[In], Out]) -> None: ... - @overload - def __init__( - self, - converter: Callable[[In, AttrsInstance, Attribute], Out], - *, - takes_self: Literal[True], - takes_field: Literal[True], - ) -> None: ... - @overload - def __init__( - self, - converter: Callable[[In, Attribute], Out], - *, - takes_field: Literal[True], - ) -> None: ... - @overload - def __init__( - self, - converter: Callable[[In, AttrsInstance], Out], - *, - takes_self: Literal[True], - ) -> None: ... - -class Attribute(Generic[_T]): - name: str - default: _T | None - validator: _ValidatorType[_T] | None - repr: _ReprArgType - cmp: _EqOrderType - eq: _EqOrderType - order: _EqOrderType - hash: bool | None - init: bool - converter: Converter | None - metadata: dict[Any, Any] - type: type[_T] | None - kw_only: bool - on_setattr: _OnSetAttrType - alias: str | None - - def evolve(self, **changes: Any) -> "Attribute[Any]": ... - -# NOTE: We had several choices for the annotation to use for type arg: -# 1) Type[_T] -# - Pros: Handles simple cases correctly -# - Cons: Might produce less informative errors in the case of conflicting -# TypeVars e.g. `attr.ib(default='bad', type=int)` -# 2) Callable[..., _T] -# - Pros: Better error messages than #1 for conflicting TypeVars -# - Cons: Terrible error messages for validator checks. -# e.g. attr.ib(type=int, validator=validate_str) -# -> error: Cannot infer function type argument -# 3) type (and do all of the work in the mypy plugin) -# - Pros: Simple here, and we could customize the plugin with our own errors. -# - Cons: Would need to write mypy plugin code to handle all the cases. -# We chose option #1. - -# `attr` lies about its return type to make the following possible: -# attr() -> Any -# attr(8) -> int -# attr(validator=) -> Whatever the callable expects. -# This makes this type of assignments possible: -# x: int = attr(8) -# -# This form catches explicit None or no default but with no other arguments -# returns Any. -@overload -def attrib( - default: None = ..., - validator: None = ..., - repr: _ReprArgType = ..., - cmp: _EqOrderType | None = ..., - hash: bool | None = ..., - init: bool = ..., - metadata: Mapping[Any, Any] | None = ..., - type: None = ..., - converter: None = ..., - factory: None = ..., - kw_only: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - alias: str | None = ..., -) -> Any: ... - -# This form catches an explicit None or no default and infers the type from the -# other arguments. -@overload -def attrib( - default: None = ..., - validator: _ValidatorArgType[_T] | None = ..., - repr: _ReprArgType = ..., - cmp: _EqOrderType | None = ..., - hash: bool | None = ..., - init: bool = ..., - metadata: Mapping[Any, Any] | None = ..., - type: type[_T] | None = ..., - converter: _ConverterType - | list[_ConverterType] - | tuple[_ConverterType] - | None = ..., - factory: Callable[[], _T] | None = ..., - kw_only: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - alias: str | None = ..., -) -> _T: ... - -# This form catches an explicit default argument. -@overload -def attrib( - default: _T, - validator: _ValidatorArgType[_T] | None = ..., - repr: _ReprArgType = ..., - cmp: _EqOrderType | None = ..., - hash: bool | None = ..., - init: bool = ..., - metadata: Mapping[Any, Any] | None = ..., - type: type[_T] | None = ..., - converter: _ConverterType - | list[_ConverterType] - | tuple[_ConverterType] - | None = ..., - factory: Callable[[], _T] | None = ..., - kw_only: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - alias: str | None = ..., -) -> _T: ... - -# This form covers type=non-Type: e.g. forward references (str), Any -@overload -def attrib( - default: _T | None = ..., - validator: _ValidatorArgType[_T] | None = ..., - repr: _ReprArgType = ..., - cmp: _EqOrderType | None = ..., - hash: bool | None = ..., - init: bool = ..., - metadata: Mapping[Any, Any] | None = ..., - type: object = ..., - converter: _ConverterType - | list[_ConverterType] - | tuple[_ConverterType] - | None = ..., - factory: Callable[[], _T] | None = ..., - kw_only: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - alias: str | None = ..., -) -> Any: ... -@overload -@dataclass_transform(order_default=True, field_specifiers=(attrib, field)) -def attrs( - maybe_cls: _C, - these: dict[str, Any] | None = ..., - repr_ns: str | None = ..., - repr: bool = ..., - cmp: _EqOrderType | None = ..., - hash: bool | None = ..., - init: bool = ..., - slots: bool = ..., - frozen: bool = ..., - weakref_slot: bool = ..., - str: bool = ..., - auto_attribs: bool = ..., - kw_only: bool = ..., - cache_hash: bool = ..., - auto_exc: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - auto_detect: bool = ..., - collect_by_mro: bool = ..., - getstate_setstate: bool | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - field_transformer: _FieldTransformer | None = ..., - match_args: bool = ..., - unsafe_hash: bool | None = ..., -) -> _C: ... -@overload -@dataclass_transform(order_default=True, field_specifiers=(attrib, field)) -def attrs( - maybe_cls: None = ..., - these: dict[str, Any] | None = ..., - repr_ns: str | None = ..., - repr: bool = ..., - cmp: _EqOrderType | None = ..., - hash: bool | None = ..., - init: bool = ..., - slots: bool = ..., - frozen: bool = ..., - weakref_slot: bool = ..., - str: bool = ..., - auto_attribs: bool = ..., - kw_only: bool = ..., - cache_hash: bool = ..., - auto_exc: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - auto_detect: bool = ..., - collect_by_mro: bool = ..., - getstate_setstate: bool | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - field_transformer: _FieldTransformer | None = ..., - match_args: bool = ..., - unsafe_hash: bool | None = ..., -) -> Callable[[_C], _C]: ... -def fields(cls: type[AttrsInstance]) -> Any: ... -def fields_dict(cls: type[AttrsInstance]) -> dict[str, Attribute[Any]]: ... -def validate(inst: AttrsInstance) -> None: ... -def resolve_types( - cls: _A, - globalns: dict[str, Any] | None = ..., - localns: dict[str, Any] | None = ..., - attribs: list[Attribute[Any]] | None = ..., - include_extras: bool = ..., -) -> _A: ... - -# TODO: add support for returning a proper attrs class from the mypy plugin -# we use Any instead of _CountingAttr so that e.g. `make_class('Foo', -# [attr.ib()])` is valid -def make_class( - name: str, - attrs: list[str] | tuple[str, ...] | dict[str, Any], - bases: tuple[type, ...] = ..., - class_body: dict[str, Any] | None = ..., - repr_ns: str | None = ..., - repr: bool = ..., - cmp: _EqOrderType | None = ..., - hash: bool | None = ..., - init: bool = ..., - slots: bool = ..., - frozen: bool = ..., - weakref_slot: bool = ..., - str: bool = ..., - auto_attribs: bool = ..., - kw_only: bool = ..., - cache_hash: bool = ..., - auto_exc: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - collect_by_mro: bool = ..., - on_setattr: _OnSetAttrArgType | None = ..., - field_transformer: _FieldTransformer | None = ..., -) -> type: ... - -# _funcs -- - -# TODO: add support for returning TypedDict from the mypy plugin -# FIXME: asdict/astuple do not honor their factory args. Waiting on one of -# these: -# https://github.com/python/mypy/issues/4236 -# https://github.com/python/typing/issues/253 -# XXX: remember to fix attrs.asdict/astuple too! -def asdict( - inst: AttrsInstance, - recurse: bool = ..., - filter: _FilterType[Any] | None = ..., - dict_factory: type[Mapping[Any, Any]] = ..., - retain_collection_types: bool = ..., - value_serializer: Callable[[type, Attribute[Any], Any], Any] | None = ..., - tuple_keys: bool | None = ..., -) -> dict[str, Any]: ... - -# TODO: add support for returning NamedTuple from the mypy plugin -def astuple( - inst: AttrsInstance, - recurse: bool = ..., - filter: _FilterType[Any] | None = ..., - tuple_factory: type[Sequence[Any]] = ..., - retain_collection_types: bool = ..., -) -> tuple[Any, ...]: ... -def has(cls: type) -> TypeGuard[type[AttrsInstance]]: ... -def assoc(inst: _T, **changes: Any) -> _T: ... -def evolve(inst: _T, **changes: Any) -> _T: ... - -# _config -- - -def set_run_validators(run: bool) -> None: ... -def get_run_validators() -> bool: ... - -# aliases -- - -s = attributes = attrs -ib = attr = attrib -dataclass = attrs # Technically, partial(attrs, auto_attribs=True) ;) diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index c2a8a4eb..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/_cmp.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/_cmp.cpython-312.pyc deleted file mode 100644 index 2ea1b9ff..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/_cmp.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/_compat.cpython-312.pyc deleted file mode 100644 index f916737a..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/_compat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/_config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/_config.cpython-312.pyc deleted file mode 100644 index 87535321..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/_config.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/_funcs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/_funcs.cpython-312.pyc deleted file mode 100644 index a195e860..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/_funcs.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/_make.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/_make.cpython-312.pyc deleted file mode 100644 index 2b1bb120..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/_make.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/_next_gen.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/_next_gen.cpython-312.pyc deleted file mode 100644 index b1b024bd..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/_next_gen.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/_version_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/_version_info.cpython-312.pyc deleted file mode 100644 index a5be715c..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/_version_info.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/converters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/converters.cpython-312.pyc deleted file mode 100644 index ba9e450e..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/converters.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/exceptions.cpython-312.pyc deleted file mode 100644 index fb62c37f..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/exceptions.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/filters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/filters.cpython-312.pyc deleted file mode 100644 index db14fb65..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/filters.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/setters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/setters.cpython-312.pyc deleted file mode 100644 index b47a15d3..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/setters.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/__pycache__/validators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attr/__pycache__/validators.cpython-312.pyc deleted file mode 100644 index 50261514..00000000 Binary files a/.venv/lib/python3.12/site-packages/attr/__pycache__/validators.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attr/_cmp.py b/.venv/lib/python3.12/site-packages/attr/_cmp.py deleted file mode 100644 index f367bb3a..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_cmp.py +++ /dev/null @@ -1,160 +0,0 @@ -# SPDX-License-Identifier: MIT - - -import functools -import types - -from ._make import _make_ne - - -_operation_names = {"eq": "==", "lt": "<", "le": "<=", "gt": ">", "ge": ">="} - - -def cmp_using( - eq=None, - lt=None, - le=None, - gt=None, - ge=None, - require_same_type=True, - class_name="Comparable", -): - """ - Create a class that can be passed into `attrs.field`'s ``eq``, ``order``, - and ``cmp`` arguments to customize field comparison. - - The resulting class will have a full set of ordering methods if at least - one of ``{lt, le, gt, ge}`` and ``eq`` are provided. - - Args: - eq (typing.Callable | None): - Callable used to evaluate equality of two objects. - - lt (typing.Callable | None): - Callable used to evaluate whether one object is less than another - object. - - le (typing.Callable | None): - Callable used to evaluate whether one object is less than or equal - to another object. - - gt (typing.Callable | None): - Callable used to evaluate whether one object is greater than - another object. - - ge (typing.Callable | None): - Callable used to evaluate whether one object is greater than or - equal to another object. - - require_same_type (bool): - When `True`, equality and ordering methods will return - `NotImplemented` if objects are not of the same type. - - class_name (str | None): Name of class. Defaults to "Comparable". - - See `comparison` for more details. - - .. versionadded:: 21.1.0 - """ - - body = { - "__slots__": ["value"], - "__init__": _make_init(), - "_requirements": [], - "_is_comparable_to": _is_comparable_to, - } - - # Add operations. - num_order_functions = 0 - has_eq_function = False - - if eq is not None: - has_eq_function = True - body["__eq__"] = _make_operator("eq", eq) - body["__ne__"] = _make_ne() - - if lt is not None: - num_order_functions += 1 - body["__lt__"] = _make_operator("lt", lt) - - if le is not None: - num_order_functions += 1 - body["__le__"] = _make_operator("le", le) - - if gt is not None: - num_order_functions += 1 - body["__gt__"] = _make_operator("gt", gt) - - if ge is not None: - num_order_functions += 1 - body["__ge__"] = _make_operator("ge", ge) - - type_ = types.new_class( - class_name, (object,), {}, lambda ns: ns.update(body) - ) - - # Add same type requirement. - if require_same_type: - type_._requirements.append(_check_same_type) - - # Add total ordering if at least one operation was defined. - if 0 < num_order_functions < 4: - if not has_eq_function: - # functools.total_ordering requires __eq__ to be defined, - # so raise early error here to keep a nice stack. - msg = "eq must be define is order to complete ordering from lt, le, gt, ge." - raise ValueError(msg) - type_ = functools.total_ordering(type_) - - return type_ - - -def _make_init(): - """ - Create __init__ method. - """ - - def __init__(self, value): - """ - Initialize object with *value*. - """ - self.value = value - - return __init__ - - -def _make_operator(name, func): - """ - Create operator method. - """ - - def method(self, other): - if not self._is_comparable_to(other): - return NotImplemented - - result = func(self.value, other.value) - if result is NotImplemented: - return NotImplemented - - return result - - method.__name__ = f"__{name}__" - method.__doc__ = ( - f"Return a {_operation_names[name]} b. Computed by attrs." - ) - - return method - - -def _is_comparable_to(self, other): - """ - Check whether `other` is comparable to `self`. - """ - return all(func(self, other) for func in self._requirements) - - -def _check_same_type(self, other): - """ - Return True if *self* and *other* are of the same type, False otherwise. - """ - return other.value.__class__ is self.value.__class__ diff --git a/.venv/lib/python3.12/site-packages/attr/_cmp.pyi b/.venv/lib/python3.12/site-packages/attr/_cmp.pyi deleted file mode 100644 index cc7893b0..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_cmp.pyi +++ /dev/null @@ -1,13 +0,0 @@ -from typing import Any, Callable - -_CompareWithType = Callable[[Any, Any], bool] - -def cmp_using( - eq: _CompareWithType | None = ..., - lt: _CompareWithType | None = ..., - le: _CompareWithType | None = ..., - gt: _CompareWithType | None = ..., - ge: _CompareWithType | None = ..., - require_same_type: bool = ..., - class_name: str = ..., -) -> type: ... diff --git a/.venv/lib/python3.12/site-packages/attr/_compat.py b/.venv/lib/python3.12/site-packages/attr/_compat.py deleted file mode 100644 index 22fcd783..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_compat.py +++ /dev/null @@ -1,94 +0,0 @@ -# SPDX-License-Identifier: MIT - -import inspect -import platform -import sys -import threading - -from collections.abc import Mapping, Sequence # noqa: F401 -from typing import _GenericAlias - - -PYPY = platform.python_implementation() == "PyPy" -PY_3_9_PLUS = sys.version_info[:2] >= (3, 9) -PY_3_10_PLUS = sys.version_info[:2] >= (3, 10) -PY_3_11_PLUS = sys.version_info[:2] >= (3, 11) -PY_3_12_PLUS = sys.version_info[:2] >= (3, 12) -PY_3_13_PLUS = sys.version_info[:2] >= (3, 13) -PY_3_14_PLUS = sys.version_info[:2] >= (3, 14) - - -if PY_3_14_PLUS: # pragma: no cover - import annotationlib - - _get_annotations = annotationlib.get_annotations - -else: - - def _get_annotations(cls): - """ - Get annotations for *cls*. - """ - return cls.__dict__.get("__annotations__", {}) - - -class _AnnotationExtractor: - """ - Extract type annotations from a callable, returning None whenever there - is none. - """ - - __slots__ = ["sig"] - - def __init__(self, callable): - try: - self.sig = inspect.signature(callable) - except (ValueError, TypeError): # inspect failed - self.sig = None - - def get_first_param_type(self): - """ - Return the type annotation of the first argument if it's not empty. - """ - if not self.sig: - return None - - params = list(self.sig.parameters.values()) - if params and params[0].annotation is not inspect.Parameter.empty: - return params[0].annotation - - return None - - def get_return_type(self): - """ - Return the return type if it's not empty. - """ - if ( - self.sig - and self.sig.return_annotation is not inspect.Signature.empty - ): - return self.sig.return_annotation - - return None - - -# Thread-local global to track attrs instances which are already being repr'd. -# This is needed because there is no other (thread-safe) way to pass info -# about the instances that are already being repr'd through the call stack -# in order to ensure we don't perform infinite recursion. -# -# For instance, if an instance contains a dict which contains that instance, -# we need to know that we're already repr'ing the outside instance from within -# the dict's repr() call. -# -# This lives here rather than in _make.py so that the functions in _make.py -# don't have a direct reference to the thread-local in their globals dict. -# If they have such a reference, it breaks cloudpickle. -repr_context = threading.local() - - -def get_generic_base(cl): - """If this is a generic class (A[str]), return the generic base for it.""" - if cl.__class__ is _GenericAlias: - return cl.__origin__ - return None diff --git a/.venv/lib/python3.12/site-packages/attr/_config.py b/.venv/lib/python3.12/site-packages/attr/_config.py deleted file mode 100644 index 4b257726..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_config.py +++ /dev/null @@ -1,31 +0,0 @@ -# SPDX-License-Identifier: MIT - -__all__ = ["get_run_validators", "set_run_validators"] - -_run_validators = True - - -def set_run_validators(run): - """ - Set whether or not validators are run. By default, they are run. - - .. deprecated:: 21.3.0 It will not be removed, but it also will not be - moved to new ``attrs`` namespace. Use `attrs.validators.set_disabled()` - instead. - """ - if not isinstance(run, bool): - msg = "'run' must be bool." - raise TypeError(msg) - global _run_validators - _run_validators = run - - -def get_run_validators(): - """ - Return whether or not validators are run. - - .. deprecated:: 21.3.0 It will not be removed, but it also will not be - moved to new ``attrs`` namespace. Use `attrs.validators.get_disabled()` - instead. - """ - return _run_validators diff --git a/.venv/lib/python3.12/site-packages/attr/_funcs.py b/.venv/lib/python3.12/site-packages/attr/_funcs.py deleted file mode 100644 index c39fb8aa..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_funcs.py +++ /dev/null @@ -1,468 +0,0 @@ -# SPDX-License-Identifier: MIT - - -import copy - -from ._compat import PY_3_9_PLUS, get_generic_base -from ._make import _OBJ_SETATTR, NOTHING, fields -from .exceptions import AttrsAttributeNotFoundError - - -def asdict( - inst, - recurse=True, - filter=None, - dict_factory=dict, - retain_collection_types=False, - value_serializer=None, -): - """ - Return the *attrs* attribute values of *inst* as a dict. - - Optionally recurse into other *attrs*-decorated classes. - - Args: - inst: Instance of an *attrs*-decorated class. - - recurse (bool): Recurse into classes that are also *attrs*-decorated. - - filter (~typing.Callable): - A callable whose return code determines whether an attribute or - element is included (`True`) or dropped (`False`). Is called with - the `attrs.Attribute` as the first argument and the value as the - second argument. - - dict_factory (~typing.Callable): - A callable to produce dictionaries from. For example, to produce - ordered dictionaries instead of normal Python dictionaries, pass in - ``collections.OrderedDict``. - - retain_collection_types (bool): - Do not convert to `list` when encountering an attribute whose type - is `tuple` or `set`. Only meaningful if *recurse* is `True`. - - value_serializer (typing.Callable | None): - A hook that is called for every attribute or dict key/value. It - receives the current instance, field and value and must return the - (updated) value. The hook is run *after* the optional *filter* has - been applied. - - Returns: - Return type of *dict_factory*. - - Raises: - attrs.exceptions.NotAnAttrsClassError: - If *cls* is not an *attrs* class. - - .. versionadded:: 16.0.0 *dict_factory* - .. versionadded:: 16.1.0 *retain_collection_types* - .. versionadded:: 20.3.0 *value_serializer* - .. versionadded:: 21.3.0 - If a dict has a collection for a key, it is serialized as a tuple. - """ - attrs = fields(inst.__class__) - rv = dict_factory() - for a in attrs: - v = getattr(inst, a.name) - if filter is not None and not filter(a, v): - continue - - if value_serializer is not None: - v = value_serializer(inst, a, v) - - if recurse is True: - if has(v.__class__): - rv[a.name] = asdict( - v, - recurse=True, - filter=filter, - dict_factory=dict_factory, - retain_collection_types=retain_collection_types, - value_serializer=value_serializer, - ) - elif isinstance(v, (tuple, list, set, frozenset)): - cf = v.__class__ if retain_collection_types is True else list - items = [ - _asdict_anything( - i, - is_key=False, - filter=filter, - dict_factory=dict_factory, - retain_collection_types=retain_collection_types, - value_serializer=value_serializer, - ) - for i in v - ] - try: - rv[a.name] = cf(items) - except TypeError: - if not issubclass(cf, tuple): - raise - # Workaround for TypeError: cf.__new__() missing 1 required - # positional argument (which appears, for a namedturle) - rv[a.name] = cf(*items) - elif isinstance(v, dict): - df = dict_factory - rv[a.name] = df( - ( - _asdict_anything( - kk, - is_key=True, - filter=filter, - dict_factory=df, - retain_collection_types=retain_collection_types, - value_serializer=value_serializer, - ), - _asdict_anything( - vv, - is_key=False, - filter=filter, - dict_factory=df, - retain_collection_types=retain_collection_types, - value_serializer=value_serializer, - ), - ) - for kk, vv in v.items() - ) - else: - rv[a.name] = v - else: - rv[a.name] = v - return rv - - -def _asdict_anything( - val, - is_key, - filter, - dict_factory, - retain_collection_types, - value_serializer, -): - """ - ``asdict`` only works on attrs instances, this works on anything. - """ - if getattr(val.__class__, "__attrs_attrs__", None) is not None: - # Attrs class. - rv = asdict( - val, - recurse=True, - filter=filter, - dict_factory=dict_factory, - retain_collection_types=retain_collection_types, - value_serializer=value_serializer, - ) - elif isinstance(val, (tuple, list, set, frozenset)): - if retain_collection_types is True: - cf = val.__class__ - elif is_key: - cf = tuple - else: - cf = list - - rv = cf( - [ - _asdict_anything( - i, - is_key=False, - filter=filter, - dict_factory=dict_factory, - retain_collection_types=retain_collection_types, - value_serializer=value_serializer, - ) - for i in val - ] - ) - elif isinstance(val, dict): - df = dict_factory - rv = df( - ( - _asdict_anything( - kk, - is_key=True, - filter=filter, - dict_factory=df, - retain_collection_types=retain_collection_types, - value_serializer=value_serializer, - ), - _asdict_anything( - vv, - is_key=False, - filter=filter, - dict_factory=df, - retain_collection_types=retain_collection_types, - value_serializer=value_serializer, - ), - ) - for kk, vv in val.items() - ) - else: - rv = val - if value_serializer is not None: - rv = value_serializer(None, None, rv) - - return rv - - -def astuple( - inst, - recurse=True, - filter=None, - tuple_factory=tuple, - retain_collection_types=False, -): - """ - Return the *attrs* attribute values of *inst* as a tuple. - - Optionally recurse into other *attrs*-decorated classes. - - Args: - inst: Instance of an *attrs*-decorated class. - - recurse (bool): - Recurse into classes that are also *attrs*-decorated. - - filter (~typing.Callable): - A callable whose return code determines whether an attribute or - element is included (`True`) or dropped (`False`). Is called with - the `attrs.Attribute` as the first argument and the value as the - second argument. - - tuple_factory (~typing.Callable): - A callable to produce tuples from. For example, to produce lists - instead of tuples. - - retain_collection_types (bool): - Do not convert to `list` or `dict` when encountering an attribute - which type is `tuple`, `dict` or `set`. Only meaningful if - *recurse* is `True`. - - Returns: - Return type of *tuple_factory* - - Raises: - attrs.exceptions.NotAnAttrsClassError: - If *cls* is not an *attrs* class. - - .. versionadded:: 16.2.0 - """ - attrs = fields(inst.__class__) - rv = [] - retain = retain_collection_types # Very long. :/ - for a in attrs: - v = getattr(inst, a.name) - if filter is not None and not filter(a, v): - continue - if recurse is True: - if has(v.__class__): - rv.append( - astuple( - v, - recurse=True, - filter=filter, - tuple_factory=tuple_factory, - retain_collection_types=retain, - ) - ) - elif isinstance(v, (tuple, list, set, frozenset)): - cf = v.__class__ if retain is True else list - items = [ - ( - astuple( - j, - recurse=True, - filter=filter, - tuple_factory=tuple_factory, - retain_collection_types=retain, - ) - if has(j.__class__) - else j - ) - for j in v - ] - try: - rv.append(cf(items)) - except TypeError: - if not issubclass(cf, tuple): - raise - # Workaround for TypeError: cf.__new__() missing 1 required - # positional argument (which appears, for a namedturle) - rv.append(cf(*items)) - elif isinstance(v, dict): - df = v.__class__ if retain is True else dict - rv.append( - df( - ( - ( - astuple( - kk, - tuple_factory=tuple_factory, - retain_collection_types=retain, - ) - if has(kk.__class__) - else kk - ), - ( - astuple( - vv, - tuple_factory=tuple_factory, - retain_collection_types=retain, - ) - if has(vv.__class__) - else vv - ), - ) - for kk, vv in v.items() - ) - ) - else: - rv.append(v) - else: - rv.append(v) - - return rv if tuple_factory is list else tuple_factory(rv) - - -def has(cls): - """ - Check whether *cls* is a class with *attrs* attributes. - - Args: - cls (type): Class to introspect. - - Raises: - TypeError: If *cls* is not a class. - - Returns: - bool: - """ - attrs = getattr(cls, "__attrs_attrs__", None) - if attrs is not None: - return True - - # No attrs, maybe it's a specialized generic (A[str])? - generic_base = get_generic_base(cls) - if generic_base is not None: - generic_attrs = getattr(generic_base, "__attrs_attrs__", None) - if generic_attrs is not None: - # Stick it on here for speed next time. - cls.__attrs_attrs__ = generic_attrs - return generic_attrs is not None - return False - - -def assoc(inst, **changes): - """ - Copy *inst* and apply *changes*. - - This is different from `evolve` that applies the changes to the arguments - that create the new instance. - - `evolve`'s behavior is preferable, but there are `edge cases`_ where it - doesn't work. Therefore `assoc` is deprecated, but will not be removed. - - .. _`edge cases`: https://github.com/python-attrs/attrs/issues/251 - - Args: - inst: Instance of a class with *attrs* attributes. - - changes: Keyword changes in the new copy. - - Returns: - A copy of inst with *changes* incorporated. - - Raises: - attrs.exceptions.AttrsAttributeNotFoundError: - If *attr_name* couldn't be found on *cls*. - - attrs.exceptions.NotAnAttrsClassError: - If *cls* is not an *attrs* class. - - .. deprecated:: 17.1.0 - Use `attrs.evolve` instead if you can. This function will not be - removed du to the slightly different approach compared to - `attrs.evolve`, though. - """ - new = copy.copy(inst) - attrs = fields(inst.__class__) - for k, v in changes.items(): - a = getattr(attrs, k, NOTHING) - if a is NOTHING: - msg = f"{k} is not an attrs attribute on {new.__class__}." - raise AttrsAttributeNotFoundError(msg) - _OBJ_SETATTR(new, k, v) - return new - - -def resolve_types( - cls, globalns=None, localns=None, attribs=None, include_extras=True -): - """ - Resolve any strings and forward annotations in type annotations. - - This is only required if you need concrete types in :class:`Attribute`'s - *type* field. In other words, you don't need to resolve your types if you - only use them for static type checking. - - With no arguments, names will be looked up in the module in which the class - was created. If this is not what you want, for example, if the name only - exists inside a method, you may pass *globalns* or *localns* to specify - other dictionaries in which to look up these names. See the docs of - `typing.get_type_hints` for more details. - - Args: - cls (type): Class to resolve. - - globalns (dict | None): Dictionary containing global variables. - - localns (dict | None): Dictionary containing local variables. - - attribs (list | None): - List of attribs for the given class. This is necessary when calling - from inside a ``field_transformer`` since *cls* is not an *attrs* - class yet. - - include_extras (bool): - Resolve more accurately, if possible. Pass ``include_extras`` to - ``typing.get_hints``, if supported by the typing module. On - supported Python versions (3.9+), this resolves the types more - accurately. - - Raises: - TypeError: If *cls* is not a class. - - attrs.exceptions.NotAnAttrsClassError: - If *cls* is not an *attrs* class and you didn't pass any attribs. - - NameError: If types cannot be resolved because of missing variables. - - Returns: - *cls* so you can use this function also as a class decorator. Please - note that you have to apply it **after** `attrs.define`. That means the - decorator has to come in the line **before** `attrs.define`. - - .. versionadded:: 20.1.0 - .. versionadded:: 21.1.0 *attribs* - .. versionadded:: 23.1.0 *include_extras* - """ - # Since calling get_type_hints is expensive we cache whether we've - # done it already. - if getattr(cls, "__attrs_types_resolved__", None) != cls: - import typing - - kwargs = {"globalns": globalns, "localns": localns} - - if PY_3_9_PLUS: - kwargs["include_extras"] = include_extras - - hints = typing.get_type_hints(cls, **kwargs) - for field in fields(cls) if attribs is None else attribs: - if field.name in hints: - # Since fields have been frozen we must work around it. - _OBJ_SETATTR(field, "type", hints[field.name]) - # We store the class we resolved so that subclasses know they haven't - # been resolved. - cls.__attrs_types_resolved__ = cls - - # Return the class so you can use it as a decorator too. - return cls diff --git a/.venv/lib/python3.12/site-packages/attr/_make.py b/.venv/lib/python3.12/site-packages/attr/_make.py deleted file mode 100644 index f00fec48..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_make.py +++ /dev/null @@ -1,3055 +0,0 @@ -# SPDX-License-Identifier: MIT - -from __future__ import annotations - -import abc -import contextlib -import copy -import enum -import functools -import inspect -import itertools -import linecache -import sys -import types -import typing - -from operator import itemgetter - -# We need to import _compat itself in addition to the _compat members to avoid -# having the thread-local in the globals here. -from . import _compat, _config, setters -from ._compat import ( - PY_3_10_PLUS, - PY_3_11_PLUS, - PY_3_13_PLUS, - _AnnotationExtractor, - _get_annotations, - get_generic_base, -) -from .exceptions import ( - DefaultAlreadySetError, - FrozenInstanceError, - NotAnAttrsClassError, - UnannotatedAttributeError, -) - - -# This is used at least twice, so cache it here. -_OBJ_SETATTR = object.__setattr__ -_INIT_FACTORY_PAT = "__attr_factory_%s" -_CLASSVAR_PREFIXES = ( - "typing.ClassVar", - "t.ClassVar", - "ClassVar", - "typing_extensions.ClassVar", -) -# we don't use a double-underscore prefix because that triggers -# name mangling when trying to create a slot for the field -# (when slots=True) -_HASH_CACHE_FIELD = "_attrs_cached_hash" - -_EMPTY_METADATA_SINGLETON = types.MappingProxyType({}) - -# Unique object for unequivocal getattr() defaults. -_SENTINEL = object() - -_DEFAULT_ON_SETATTR = setters.pipe(setters.convert, setters.validate) - - -class _Nothing(enum.Enum): - """ - Sentinel to indicate the lack of a value when `None` is ambiguous. - - If extending attrs, you can use ``typing.Literal[NOTHING]`` to show - that a value may be ``NOTHING``. - - .. versionchanged:: 21.1.0 ``bool(NOTHING)`` is now False. - .. versionchanged:: 22.2.0 ``NOTHING`` is now an ``enum.Enum`` variant. - """ - - NOTHING = enum.auto() - - def __repr__(self): - return "NOTHING" - - def __bool__(self): - return False - - -NOTHING = _Nothing.NOTHING -""" -Sentinel to indicate the lack of a value when `None` is ambiguous. - -When using in 3rd party code, use `attrs.NothingType` for type annotations. -""" - - -class _CacheHashWrapper(int): - """ - An integer subclass that pickles / copies as None - - This is used for non-slots classes with ``cache_hash=True``, to avoid - serializing a potentially (even likely) invalid hash value. Since `None` - is the default value for uncalculated hashes, whenever this is copied, - the copy's value for the hash should automatically reset. - - See GH #613 for more details. - """ - - def __reduce__(self, _none_constructor=type(None), _args=()): # noqa: B008 - return _none_constructor, _args - - -def attrib( - default=NOTHING, - validator=None, - repr=True, - cmp=None, - hash=None, - init=True, - metadata=None, - type=None, - converter=None, - factory=None, - kw_only=False, - eq=None, - order=None, - on_setattr=None, - alias=None, -): - """ - Create a new field / attribute on a class. - - Identical to `attrs.field`, except it's not keyword-only. - - Consider using `attrs.field` in new code (``attr.ib`` will *never* go away, - though). - - .. warning:: - - Does **nothing** unless the class is also decorated with - `attr.s` (or similar)! - - - .. versionadded:: 15.2.0 *convert* - .. versionadded:: 16.3.0 *metadata* - .. versionchanged:: 17.1.0 *validator* can be a ``list`` now. - .. versionchanged:: 17.1.0 - *hash* is `None` and therefore mirrors *eq* by default. - .. versionadded:: 17.3.0 *type* - .. deprecated:: 17.4.0 *convert* - .. versionadded:: 17.4.0 - *converter* as a replacement for the deprecated *convert* to achieve - consistency with other noun-based arguments. - .. versionadded:: 18.1.0 - ``factory=f`` is syntactic sugar for ``default=attr.Factory(f)``. - .. versionadded:: 18.2.0 *kw_only* - .. versionchanged:: 19.2.0 *convert* keyword argument removed. - .. versionchanged:: 19.2.0 *repr* also accepts a custom callable. - .. deprecated:: 19.2.0 *cmp* Removal on or after 2021-06-01. - .. versionadded:: 19.2.0 *eq* and *order* - .. versionadded:: 20.1.0 *on_setattr* - .. versionchanged:: 20.3.0 *kw_only* backported to Python 2 - .. versionchanged:: 21.1.0 - *eq*, *order*, and *cmp* also accept a custom callable - .. versionchanged:: 21.1.0 *cmp* undeprecated - .. versionadded:: 22.2.0 *alias* - """ - eq, eq_key, order, order_key = _determine_attrib_eq_order( - cmp, eq, order, True - ) - - if hash is not None and hash is not True and hash is not False: - msg = "Invalid value for hash. Must be True, False, or None." - raise TypeError(msg) - - if factory is not None: - if default is not NOTHING: - msg = ( - "The `default` and `factory` arguments are mutually exclusive." - ) - raise ValueError(msg) - if not callable(factory): - msg = "The `factory` argument must be a callable." - raise ValueError(msg) - default = Factory(factory) - - if metadata is None: - metadata = {} - - # Apply syntactic sugar by auto-wrapping. - if isinstance(on_setattr, (list, tuple)): - on_setattr = setters.pipe(*on_setattr) - - if validator and isinstance(validator, (list, tuple)): - validator = and_(*validator) - - if converter and isinstance(converter, (list, tuple)): - converter = pipe(*converter) - - return _CountingAttr( - default=default, - validator=validator, - repr=repr, - cmp=None, - hash=hash, - init=init, - converter=converter, - metadata=metadata, - type=type, - kw_only=kw_only, - eq=eq, - eq_key=eq_key, - order=order, - order_key=order_key, - on_setattr=on_setattr, - alias=alias, - ) - - -def _compile_and_eval(script, globs, locs=None, filename=""): - """ - Evaluate the script with the given global (globs) and local (locs) - variables. - """ - bytecode = compile(script, filename, "exec") - eval(bytecode, globs, locs) - - -def _make_method(name, script, filename, globs, locals=None): - """ - Create the method with the script given and return the method object. - """ - locs = {} if locals is None else locals - - # In order of debuggers like PDB being able to step through the code, - # we add a fake linecache entry. - count = 1 - base_filename = filename - while True: - linecache_tuple = ( - len(script), - None, - script.splitlines(True), - filename, - ) - old_val = linecache.cache.setdefault(filename, linecache_tuple) - if old_val == linecache_tuple: - break - - filename = f"{base_filename[:-1]}-{count}>" - count += 1 - - _compile_and_eval(script, globs, locs, filename) - - return locs[name] - - -def _make_attr_tuple_class(cls_name, attr_names): - """ - Create a tuple subclass to hold `Attribute`s for an `attrs` class. - - The subclass is a bare tuple with properties for names. - - class MyClassAttributes(tuple): - __slots__ = () - x = property(itemgetter(0)) - """ - attr_class_name = f"{cls_name}Attributes" - attr_class_template = [ - f"class {attr_class_name}(tuple):", - " __slots__ = ()", - ] - if attr_names: - for i, attr_name in enumerate(attr_names): - attr_class_template.append( - f" {attr_name} = _attrs_property(_attrs_itemgetter({i}))" - ) - else: - attr_class_template.append(" pass") - globs = {"_attrs_itemgetter": itemgetter, "_attrs_property": property} - _compile_and_eval("\n".join(attr_class_template), globs) - return globs[attr_class_name] - - -# Tuple class for extracted attributes from a class definition. -# `base_attrs` is a subset of `attrs`. -_Attributes = _make_attr_tuple_class( - "_Attributes", - [ - # all attributes to build dunder methods for - "attrs", - # attributes that have been inherited - "base_attrs", - # map inherited attributes to their originating classes - "base_attrs_map", - ], -) - - -def _is_class_var(annot): - """ - Check whether *annot* is a typing.ClassVar. - - The string comparison hack is used to avoid evaluating all string - annotations which would put attrs-based classes at a performance - disadvantage compared to plain old classes. - """ - annot = str(annot) - - # Annotation can be quoted. - if annot.startswith(("'", '"')) and annot.endswith(("'", '"')): - annot = annot[1:-1] - - return annot.startswith(_CLASSVAR_PREFIXES) - - -def _has_own_attribute(cls, attrib_name): - """ - Check whether *cls* defines *attrib_name* (and doesn't just inherit it). - """ - return attrib_name in cls.__dict__ - - -def _collect_base_attrs(cls, taken_attr_names): - """ - Collect attr.ibs from base classes of *cls*, except *taken_attr_names*. - """ - base_attrs = [] - base_attr_map = {} # A dictionary of base attrs to their classes. - - # Traverse the MRO and collect attributes. - for base_cls in reversed(cls.__mro__[1:-1]): - for a in getattr(base_cls, "__attrs_attrs__", []): - if a.inherited or a.name in taken_attr_names: - continue - - a = a.evolve(inherited=True) # noqa: PLW2901 - base_attrs.append(a) - base_attr_map[a.name] = base_cls - - # For each name, only keep the freshest definition i.e. the furthest at the - # back. base_attr_map is fine because it gets overwritten with every new - # instance. - filtered = [] - seen = set() - for a in reversed(base_attrs): - if a.name in seen: - continue - filtered.insert(0, a) - seen.add(a.name) - - return filtered, base_attr_map - - -def _collect_base_attrs_broken(cls, taken_attr_names): - """ - Collect attr.ibs from base classes of *cls*, except *taken_attr_names*. - - N.B. *taken_attr_names* will be mutated. - - Adhere to the old incorrect behavior. - - Notably it collects from the front and considers inherited attributes which - leads to the buggy behavior reported in #428. - """ - base_attrs = [] - base_attr_map = {} # A dictionary of base attrs to their classes. - - # Traverse the MRO and collect attributes. - for base_cls in cls.__mro__[1:-1]: - for a in getattr(base_cls, "__attrs_attrs__", []): - if a.name in taken_attr_names: - continue - - a = a.evolve(inherited=True) # noqa: PLW2901 - taken_attr_names.add(a.name) - base_attrs.append(a) - base_attr_map[a.name] = base_cls - - return base_attrs, base_attr_map - - -def _transform_attrs( - cls, these, auto_attribs, kw_only, collect_by_mro, field_transformer -): - """ - Transform all `_CountingAttr`s on a class into `Attribute`s. - - If *these* is passed, use that and don't look for them on the class. - - If *collect_by_mro* is True, collect them in the correct MRO order, - otherwise use the old -- incorrect -- order. See #428. - - Return an `_Attributes`. - """ - cd = cls.__dict__ - anns = _get_annotations(cls) - - if these is not None: - ca_list = list(these.items()) - elif auto_attribs is True: - ca_names = { - name - for name, attr in cd.items() - if isinstance(attr, _CountingAttr) - } - ca_list = [] - annot_names = set() - for attr_name, type in anns.items(): - if _is_class_var(type): - continue - annot_names.add(attr_name) - a = cd.get(attr_name, NOTHING) - - if not isinstance(a, _CountingAttr): - a = attrib() if a is NOTHING else attrib(default=a) - ca_list.append((attr_name, a)) - - unannotated = ca_names - annot_names - if len(unannotated) > 0: - raise UnannotatedAttributeError( - "The following `attr.ib`s lack a type annotation: " - + ", ".join( - sorted(unannotated, key=lambda n: cd.get(n).counter) - ) - + "." - ) - else: - ca_list = sorted( - ( - (name, attr) - for name, attr in cd.items() - if isinstance(attr, _CountingAttr) - ), - key=lambda e: e[1].counter, - ) - - own_attrs = [ - Attribute.from_counting_attr( - name=attr_name, ca=ca, type=anns.get(attr_name) - ) - for attr_name, ca in ca_list - ] - - if collect_by_mro: - base_attrs, base_attr_map = _collect_base_attrs( - cls, {a.name for a in own_attrs} - ) - else: - base_attrs, base_attr_map = _collect_base_attrs_broken( - cls, {a.name for a in own_attrs} - ) - - if kw_only: - own_attrs = [a.evolve(kw_only=True) for a in own_attrs] - base_attrs = [a.evolve(kw_only=True) for a in base_attrs] - - attrs = base_attrs + own_attrs - - # Mandatory vs non-mandatory attr order only matters when they are part of - # the __init__ signature and when they aren't kw_only (which are moved to - # the end and can be mandatory or non-mandatory in any order, as they will - # be specified as keyword args anyway). Check the order of those attrs: - had_default = False - for a in (a for a in attrs if a.init is not False and a.kw_only is False): - if had_default is True and a.default is NOTHING: - msg = f"No mandatory attributes allowed after an attribute with a default value or factory. Attribute in question: {a!r}" - raise ValueError(msg) - - if had_default is False and a.default is not NOTHING: - had_default = True - - if field_transformer is not None: - attrs = field_transformer(cls, attrs) - - # Resolve default field alias after executing field_transformer. - # This allows field_transformer to differentiate between explicit vs - # default aliases and supply their own defaults. - attrs = [ - a.evolve(alias=_default_init_alias_for(a.name)) if not a.alias else a - for a in attrs - ] - - # Create AttrsClass *after* applying the field_transformer since it may - # add or remove attributes! - attr_names = [a.name for a in attrs] - AttrsClass = _make_attr_tuple_class(cls.__name__, attr_names) - - return _Attributes((AttrsClass(attrs), base_attrs, base_attr_map)) - - -def _make_cached_property_getattr(cached_properties, original_getattr, cls): - lines = [ - # Wrapped to get `__class__` into closure cell for super() - # (It will be replaced with the newly constructed class after construction). - "def wrapper(_cls):", - " __class__ = _cls", - " def __getattr__(self, item, cached_properties=cached_properties, original_getattr=original_getattr, _cached_setattr_get=_cached_setattr_get):", - " func = cached_properties.get(item)", - " if func is not None:", - " result = func(self)", - " _setter = _cached_setattr_get(self)", - " _setter(item, result)", - " return result", - ] - if original_getattr is not None: - lines.append( - " return original_getattr(self, item)", - ) - else: - lines.extend( - [ - " try:", - " return super().__getattribute__(item)", - " except AttributeError:", - " if not hasattr(super(), '__getattr__'):", - " raise", - " return super().__getattr__(item)", - " original_error = f\"'{self.__class__.__name__}' object has no attribute '{item}'\"", - " raise AttributeError(original_error)", - ] - ) - - lines.extend( - [ - " return __getattr__", - "__getattr__ = wrapper(_cls)", - ] - ) - - unique_filename = _generate_unique_filename(cls, "getattr") - - glob = { - "cached_properties": cached_properties, - "_cached_setattr_get": _OBJ_SETATTR.__get__, - "original_getattr": original_getattr, - } - - return _make_method( - "__getattr__", - "\n".join(lines), - unique_filename, - glob, - locals={ - "_cls": cls, - }, - ) - - -def _frozen_setattrs(self, name, value): - """ - Attached to frozen classes as __setattr__. - """ - if isinstance(self, BaseException) and name in ( - "__cause__", - "__context__", - "__traceback__", - "__suppress_context__", - "__notes__", - ): - BaseException.__setattr__(self, name, value) - return - - raise FrozenInstanceError - - -def _frozen_delattrs(self, name): - """ - Attached to frozen classes as __delattr__. - """ - if isinstance(self, BaseException) and name in ("__notes__",): - BaseException.__delattr__(self, name) - return - - raise FrozenInstanceError - - -def evolve(*args, **changes): - """ - Create a new instance, based on the first positional argument with - *changes* applied. - - .. tip:: - - On Python 3.13 and later, you can also use `copy.replace` instead. - - Args: - - inst: - Instance of a class with *attrs* attributes. *inst* must be passed - as a positional argument. - - changes: - Keyword changes in the new copy. - - Returns: - A copy of inst with *changes* incorporated. - - Raises: - TypeError: - If *attr_name* couldn't be found in the class ``__init__``. - - attrs.exceptions.NotAnAttrsClassError: - If *cls* is not an *attrs* class. - - .. versionadded:: 17.1.0 - .. deprecated:: 23.1.0 - It is now deprecated to pass the instance using the keyword argument - *inst*. It will raise a warning until at least April 2024, after which - it will become an error. Always pass the instance as a positional - argument. - .. versionchanged:: 24.1.0 - *inst* can't be passed as a keyword argument anymore. - """ - try: - (inst,) = args - except ValueError: - msg = ( - f"evolve() takes 1 positional argument, but {len(args)} were given" - ) - raise TypeError(msg) from None - - cls = inst.__class__ - attrs = fields(cls) - for a in attrs: - if not a.init: - continue - attr_name = a.name # To deal with private attributes. - init_name = a.alias - if init_name not in changes: - changes[init_name] = getattr(inst, attr_name) - - return cls(**changes) - - -class _ClassBuilder: - """ - Iteratively build *one* class. - """ - - __slots__ = ( - "_attr_names", - "_attrs", - "_base_attr_map", - "_base_names", - "_cache_hash", - "_cls", - "_cls_dict", - "_delete_attribs", - "_frozen", - "_has_custom_setattr", - "_has_post_init", - "_has_pre_init", - "_is_exc", - "_on_setattr", - "_pre_init_has_args", - "_slots", - "_weakref_slot", - "_wrote_own_setattr", - ) - - def __init__( - self, - cls, - these, - slots, - frozen, - weakref_slot, - getstate_setstate, - auto_attribs, - kw_only, - cache_hash, - is_exc, - collect_by_mro, - on_setattr, - has_custom_setattr, - field_transformer, - ): - attrs, base_attrs, base_map = _transform_attrs( - cls, - these, - auto_attribs, - kw_only, - collect_by_mro, - field_transformer, - ) - - self._cls = cls - self._cls_dict = dict(cls.__dict__) if slots else {} - self._attrs = attrs - self._base_names = {a.name for a in base_attrs} - self._base_attr_map = base_map - self._attr_names = tuple(a.name for a in attrs) - self._slots = slots - self._frozen = frozen - self._weakref_slot = weakref_slot - self._cache_hash = cache_hash - self._has_pre_init = bool(getattr(cls, "__attrs_pre_init__", False)) - self._pre_init_has_args = False - if self._has_pre_init: - # Check if the pre init method has more arguments than just `self` - # We want to pass arguments if pre init expects arguments - pre_init_func = cls.__attrs_pre_init__ - pre_init_signature = inspect.signature(pre_init_func) - self._pre_init_has_args = len(pre_init_signature.parameters) > 1 - self._has_post_init = bool(getattr(cls, "__attrs_post_init__", False)) - self._delete_attribs = not bool(these) - self._is_exc = is_exc - self._on_setattr = on_setattr - - self._has_custom_setattr = has_custom_setattr - self._wrote_own_setattr = False - - self._cls_dict["__attrs_attrs__"] = self._attrs - - if frozen: - self._cls_dict["__setattr__"] = _frozen_setattrs - self._cls_dict["__delattr__"] = _frozen_delattrs - - self._wrote_own_setattr = True - elif on_setattr in ( - _DEFAULT_ON_SETATTR, - setters.validate, - setters.convert, - ): - has_validator = has_converter = False - for a in attrs: - if a.validator is not None: - has_validator = True - if a.converter is not None: - has_converter = True - - if has_validator and has_converter: - break - if ( - ( - on_setattr == _DEFAULT_ON_SETATTR - and not (has_validator or has_converter) - ) - or (on_setattr == setters.validate and not has_validator) - or (on_setattr == setters.convert and not has_converter) - ): - # If class-level on_setattr is set to convert + validate, but - # there's no field to convert or validate, pretend like there's - # no on_setattr. - self._on_setattr = None - - if getstate_setstate: - ( - self._cls_dict["__getstate__"], - self._cls_dict["__setstate__"], - ) = self._make_getstate_setstate() - - def __repr__(self): - return f"<_ClassBuilder(cls={self._cls.__name__})>" - - def build_class(self): - """ - Finalize class based on the accumulated configuration. - - Builder cannot be used after calling this method. - """ - if self._slots is True: - cls = self._create_slots_class() - else: - cls = self._patch_original_class() - if PY_3_10_PLUS: - cls = abc.update_abstractmethods(cls) - - # The method gets only called if it's not inherited from a base class. - # _has_own_attribute does NOT work properly for classmethods. - if ( - getattr(cls, "__attrs_init_subclass__", None) - and "__attrs_init_subclass__" not in cls.__dict__ - ): - cls.__attrs_init_subclass__() - - return cls - - def _patch_original_class(self): - """ - Apply accumulated methods and return the class. - """ - cls = self._cls - base_names = self._base_names - - # Clean class of attribute definitions (`attr.ib()`s). - if self._delete_attribs: - for name in self._attr_names: - if ( - name not in base_names - and getattr(cls, name, _SENTINEL) is not _SENTINEL - ): - # An AttributeError can happen if a base class defines a - # class variable and we want to set an attribute with the - # same name by using only a type annotation. - with contextlib.suppress(AttributeError): - delattr(cls, name) - - # Attach our dunder methods. - for name, value in self._cls_dict.items(): - setattr(cls, name, value) - - # If we've inherited an attrs __setattr__ and don't write our own, - # reset it to object's. - if not self._wrote_own_setattr and getattr( - cls, "__attrs_own_setattr__", False - ): - cls.__attrs_own_setattr__ = False - - if not self._has_custom_setattr: - cls.__setattr__ = _OBJ_SETATTR - - return cls - - def _create_slots_class(self): - """ - Build and return a new class with a `__slots__` attribute. - """ - cd = { - k: v - for k, v in self._cls_dict.items() - if k not in (*tuple(self._attr_names), "__dict__", "__weakref__") - } - - # If our class doesn't have its own implementation of __setattr__ - # (either from the user or by us), check the bases, if one of them has - # an attrs-made __setattr__, that needs to be reset. We don't walk the - # MRO because we only care about our immediate base classes. - # XXX: This can be confused by subclassing a slotted attrs class with - # XXX: a non-attrs class and subclass the resulting class with an attrs - # XXX: class. See `test_slotted_confused` for details. For now that's - # XXX: OK with us. - if not self._wrote_own_setattr: - cd["__attrs_own_setattr__"] = False - - if not self._has_custom_setattr: - for base_cls in self._cls.__bases__: - if base_cls.__dict__.get("__attrs_own_setattr__", False): - cd["__setattr__"] = _OBJ_SETATTR - break - - # Traverse the MRO to collect existing slots - # and check for an existing __weakref__. - existing_slots = {} - weakref_inherited = False - for base_cls in self._cls.__mro__[1:-1]: - if base_cls.__dict__.get("__weakref__", None) is not None: - weakref_inherited = True - existing_slots.update( - { - name: getattr(base_cls, name) - for name in getattr(base_cls, "__slots__", []) - } - ) - - base_names = set(self._base_names) - - names = self._attr_names - if ( - self._weakref_slot - and "__weakref__" not in getattr(self._cls, "__slots__", ()) - and "__weakref__" not in names - and not weakref_inherited - ): - names += ("__weakref__",) - - cached_properties = { - name: cached_property.func - for name, cached_property in cd.items() - if isinstance(cached_property, functools.cached_property) - } - - # Collect methods with a `__class__` reference that are shadowed in the new class. - # To know to update them. - additional_closure_functions_to_update = [] - if cached_properties: - class_annotations = _get_annotations(self._cls) - for name, func in cached_properties.items(): - # Add cached properties to names for slotting. - names += (name,) - # Clear out function from class to avoid clashing. - del cd[name] - additional_closure_functions_to_update.append(func) - annotation = inspect.signature(func).return_annotation - if annotation is not inspect.Parameter.empty: - class_annotations[name] = annotation - - original_getattr = cd.get("__getattr__") - if original_getattr is not None: - additional_closure_functions_to_update.append(original_getattr) - - cd["__getattr__"] = _make_cached_property_getattr( - cached_properties, original_getattr, self._cls - ) - - # We only add the names of attributes that aren't inherited. - # Setting __slots__ to inherited attributes wastes memory. - slot_names = [name for name in names if name not in base_names] - - # There are slots for attributes from current class - # that are defined in parent classes. - # As their descriptors may be overridden by a child class, - # we collect them here and update the class dict - reused_slots = { - slot: slot_descriptor - for slot, slot_descriptor in existing_slots.items() - if slot in slot_names - } - slot_names = [name for name in slot_names if name not in reused_slots] - cd.update(reused_slots) - if self._cache_hash: - slot_names.append(_HASH_CACHE_FIELD) - - cd["__slots__"] = tuple(slot_names) - - cd["__qualname__"] = self._cls.__qualname__ - - # Create new class based on old class and our methods. - cls = type(self._cls)(self._cls.__name__, self._cls.__bases__, cd) - - # The following is a fix for - # . - # If a method mentions `__class__` or uses the no-arg super(), the - # compiler will bake a reference to the class in the method itself - # as `method.__closure__`. Since we replace the class with a - # clone, we rewrite these references so it keeps working. - for item in itertools.chain( - cls.__dict__.values(), additional_closure_functions_to_update - ): - if isinstance(item, (classmethod, staticmethod)): - # Class- and staticmethods hide their functions inside. - # These might need to be rewritten as well. - closure_cells = getattr(item.__func__, "__closure__", None) - elif isinstance(item, property): - # Workaround for property `super()` shortcut (PY3-only). - # There is no universal way for other descriptors. - closure_cells = getattr(item.fget, "__closure__", None) - else: - closure_cells = getattr(item, "__closure__", None) - - if not closure_cells: # Catch None or the empty list. - continue - for cell in closure_cells: - try: - match = cell.cell_contents is self._cls - except ValueError: # noqa: PERF203 - # ValueError: Cell is empty - pass - else: - if match: - cell.cell_contents = cls - return cls - - def add_repr(self, ns): - self._cls_dict["__repr__"] = self._add_method_dunders( - _make_repr(self._attrs, ns, self._cls) - ) - return self - - def add_str(self): - repr = self._cls_dict.get("__repr__") - if repr is None: - msg = "__str__ can only be generated if a __repr__ exists." - raise ValueError(msg) - - def __str__(self): - return self.__repr__() - - self._cls_dict["__str__"] = self._add_method_dunders(__str__) - return self - - def _make_getstate_setstate(self): - """ - Create custom __setstate__ and __getstate__ methods. - """ - # __weakref__ is not writable. - state_attr_names = tuple( - an for an in self._attr_names if an != "__weakref__" - ) - - def slots_getstate(self): - """ - Automatically created by attrs. - """ - return {name: getattr(self, name) for name in state_attr_names} - - hash_caching_enabled = self._cache_hash - - def slots_setstate(self, state): - """ - Automatically created by attrs. - """ - __bound_setattr = _OBJ_SETATTR.__get__(self) - if isinstance(state, tuple): - # Backward compatibility with attrs instances pickled with - # attrs versions before v22.2.0 which stored tuples. - for name, value in zip(state_attr_names, state): - __bound_setattr(name, value) - else: - for name in state_attr_names: - if name in state: - __bound_setattr(name, state[name]) - - # The hash code cache is not included when the object is - # serialized, but it still needs to be initialized to None to - # indicate that the first call to __hash__ should be a cache - # miss. - if hash_caching_enabled: - __bound_setattr(_HASH_CACHE_FIELD, None) - - return slots_getstate, slots_setstate - - def make_unhashable(self): - self._cls_dict["__hash__"] = None - return self - - def add_hash(self): - self._cls_dict["__hash__"] = self._add_method_dunders( - _make_hash( - self._cls, - self._attrs, - frozen=self._frozen, - cache_hash=self._cache_hash, - ) - ) - - return self - - def add_init(self): - self._cls_dict["__init__"] = self._add_method_dunders( - _make_init( - self._cls, - self._attrs, - self._has_pre_init, - self._pre_init_has_args, - self._has_post_init, - self._frozen, - self._slots, - self._cache_hash, - self._base_attr_map, - self._is_exc, - self._on_setattr, - attrs_init=False, - ) - ) - - return self - - def add_replace(self): - self._cls_dict["__replace__"] = self._add_method_dunders( - lambda self, **changes: evolve(self, **changes) - ) - return self - - def add_match_args(self): - self._cls_dict["__match_args__"] = tuple( - field.name - for field in self._attrs - if field.init and not field.kw_only - ) - - def add_attrs_init(self): - self._cls_dict["__attrs_init__"] = self._add_method_dunders( - _make_init( - self._cls, - self._attrs, - self._has_pre_init, - self._pre_init_has_args, - self._has_post_init, - self._frozen, - self._slots, - self._cache_hash, - self._base_attr_map, - self._is_exc, - self._on_setattr, - attrs_init=True, - ) - ) - - return self - - def add_eq(self): - cd = self._cls_dict - - cd["__eq__"] = self._add_method_dunders( - _make_eq(self._cls, self._attrs) - ) - cd["__ne__"] = self._add_method_dunders(_make_ne()) - - return self - - def add_order(self): - cd = self._cls_dict - - cd["__lt__"], cd["__le__"], cd["__gt__"], cd["__ge__"] = ( - self._add_method_dunders(meth) - for meth in _make_order(self._cls, self._attrs) - ) - - return self - - def add_setattr(self): - if self._frozen: - return self - - sa_attrs = {} - for a in self._attrs: - on_setattr = a.on_setattr or self._on_setattr - if on_setattr and on_setattr is not setters.NO_OP: - sa_attrs[a.name] = a, on_setattr - - if not sa_attrs: - return self - - if self._has_custom_setattr: - # We need to write a __setattr__ but there already is one! - msg = "Can't combine custom __setattr__ with on_setattr hooks." - raise ValueError(msg) - - # docstring comes from _add_method_dunders - def __setattr__(self, name, val): - try: - a, hook = sa_attrs[name] - except KeyError: - nval = val - else: - nval = hook(self, a, val) - - _OBJ_SETATTR(self, name, nval) - - self._cls_dict["__attrs_own_setattr__"] = True - self._cls_dict["__setattr__"] = self._add_method_dunders(__setattr__) - self._wrote_own_setattr = True - - return self - - def _add_method_dunders(self, method): - """ - Add __module__ and __qualname__ to a *method* if possible. - """ - with contextlib.suppress(AttributeError): - method.__module__ = self._cls.__module__ - - with contextlib.suppress(AttributeError): - method.__qualname__ = f"{self._cls.__qualname__}.{method.__name__}" - - with contextlib.suppress(AttributeError): - method.__doc__ = ( - "Method generated by attrs for class " - f"{self._cls.__qualname__}." - ) - - return method - - -def _determine_attrs_eq_order(cmp, eq, order, default_eq): - """ - Validate the combination of *cmp*, *eq*, and *order*. Derive the effective - values of eq and order. If *eq* is None, set it to *default_eq*. - """ - if cmp is not None and any((eq is not None, order is not None)): - msg = "Don't mix `cmp` with `eq' and `order`." - raise ValueError(msg) - - # cmp takes precedence due to bw-compatibility. - if cmp is not None: - return cmp, cmp - - # If left None, equality is set to the specified default and ordering - # mirrors equality. - if eq is None: - eq = default_eq - - if order is None: - order = eq - - if eq is False and order is True: - msg = "`order` can only be True if `eq` is True too." - raise ValueError(msg) - - return eq, order - - -def _determine_attrib_eq_order(cmp, eq, order, default_eq): - """ - Validate the combination of *cmp*, *eq*, and *order*. Derive the effective - values of eq and order. If *eq* is None, set it to *default_eq*. - """ - if cmp is not None and any((eq is not None, order is not None)): - msg = "Don't mix `cmp` with `eq' and `order`." - raise ValueError(msg) - - def decide_callable_or_boolean(value): - """ - Decide whether a key function is used. - """ - if callable(value): - value, key = True, value - else: - key = None - return value, key - - # cmp takes precedence due to bw-compatibility. - if cmp is not None: - cmp, cmp_key = decide_callable_or_boolean(cmp) - return cmp, cmp_key, cmp, cmp_key - - # If left None, equality is set to the specified default and ordering - # mirrors equality. - if eq is None: - eq, eq_key = default_eq, None - else: - eq, eq_key = decide_callable_or_boolean(eq) - - if order is None: - order, order_key = eq, eq_key - else: - order, order_key = decide_callable_or_boolean(order) - - if eq is False and order is True: - msg = "`order` can only be True if `eq` is True too." - raise ValueError(msg) - - return eq, eq_key, order, order_key - - -def _determine_whether_to_implement( - cls, flag, auto_detect, dunders, default=True -): - """ - Check whether we should implement a set of methods for *cls*. - - *flag* is the argument passed into @attr.s like 'init', *auto_detect* the - same as passed into @attr.s and *dunders* is a tuple of attribute names - whose presence signal that the user has implemented it themselves. - - Return *default* if no reason for either for or against is found. - """ - if flag is True or flag is False: - return flag - - if flag is None and auto_detect is False: - return default - - # Logically, flag is None and auto_detect is True here. - for dunder in dunders: - if _has_own_attribute(cls, dunder): - return False - - return default - - -def attrs( - maybe_cls=None, - these=None, - repr_ns=None, - repr=None, - cmp=None, - hash=None, - init=None, - slots=False, - frozen=False, - weakref_slot=True, - str=False, - auto_attribs=False, - kw_only=False, - cache_hash=False, - auto_exc=False, - eq=None, - order=None, - auto_detect=False, - collect_by_mro=False, - getstate_setstate=None, - on_setattr=None, - field_transformer=None, - match_args=True, - unsafe_hash=None, -): - r""" - A class decorator that adds :term:`dunder methods` according to the - specified attributes using `attr.ib` or the *these* argument. - - Consider using `attrs.define` / `attrs.frozen` in new code (``attr.s`` will - *never* go away, though). - - Args: - repr_ns (str): - When using nested classes, there was no way in Python 2 to - automatically detect that. This argument allows to set a custom - name for a more meaningful ``repr`` output. This argument is - pointless in Python 3 and is therefore deprecated. - - .. caution:: - Refer to `attrs.define` for the rest of the parameters, but note that they - can have different defaults. - - Notably, leaving *on_setattr* as `None` will **not** add any hooks. - - .. versionadded:: 16.0.0 *slots* - .. versionadded:: 16.1.0 *frozen* - .. versionadded:: 16.3.0 *str* - .. versionadded:: 16.3.0 Support for ``__attrs_post_init__``. - .. versionchanged:: 17.1.0 - *hash* supports `None` as value which is also the default now. - .. versionadded:: 17.3.0 *auto_attribs* - .. versionchanged:: 18.1.0 - If *these* is passed, no attributes are deleted from the class body. - .. versionchanged:: 18.1.0 If *these* is ordered, the order is retained. - .. versionadded:: 18.2.0 *weakref_slot* - .. deprecated:: 18.2.0 - ``__lt__``, ``__le__``, ``__gt__``, and ``__ge__`` now raise a - `DeprecationWarning` if the classes compared are subclasses of - each other. ``__eq`` and ``__ne__`` never tried to compared subclasses - to each other. - .. versionchanged:: 19.2.0 - ``__lt__``, ``__le__``, ``__gt__``, and ``__ge__`` now do not consider - subclasses comparable anymore. - .. versionadded:: 18.2.0 *kw_only* - .. versionadded:: 18.2.0 *cache_hash* - .. versionadded:: 19.1.0 *auto_exc* - .. deprecated:: 19.2.0 *cmp* Removal on or after 2021-06-01. - .. versionadded:: 19.2.0 *eq* and *order* - .. versionadded:: 20.1.0 *auto_detect* - .. versionadded:: 20.1.0 *collect_by_mro* - .. versionadded:: 20.1.0 *getstate_setstate* - .. versionadded:: 20.1.0 *on_setattr* - .. versionadded:: 20.3.0 *field_transformer* - .. versionchanged:: 21.1.0 - ``init=False`` injects ``__attrs_init__`` - .. versionchanged:: 21.1.0 Support for ``__attrs_pre_init__`` - .. versionchanged:: 21.1.0 *cmp* undeprecated - .. versionadded:: 21.3.0 *match_args* - .. versionadded:: 22.2.0 - *unsafe_hash* as an alias for *hash* (for :pep:`681` compliance). - .. deprecated:: 24.1.0 *repr_ns* - .. versionchanged:: 24.1.0 - Instances are not compared as tuples of attributes anymore, but using a - big ``and`` condition. This is faster and has more correct behavior for - uncomparable values like `math.nan`. - .. versionadded:: 24.1.0 - If a class has an *inherited* classmethod called - ``__attrs_init_subclass__``, it is executed after the class is created. - .. deprecated:: 24.1.0 *hash* is deprecated in favor of *unsafe_hash*. - """ - if repr_ns is not None: - import warnings - - warnings.warn( - DeprecationWarning( - "The `repr_ns` argument is deprecated and will be removed in or after August 2025." - ), - stacklevel=2, - ) - - eq_, order_ = _determine_attrs_eq_order(cmp, eq, order, None) - - # unsafe_hash takes precedence due to PEP 681. - if unsafe_hash is not None: - hash = unsafe_hash - - if isinstance(on_setattr, (list, tuple)): - on_setattr = setters.pipe(*on_setattr) - - def wrap(cls): - is_frozen = frozen or _has_frozen_base_class(cls) - is_exc = auto_exc is True and issubclass(cls, BaseException) - has_own_setattr = auto_detect and _has_own_attribute( - cls, "__setattr__" - ) - - if has_own_setattr and is_frozen: - msg = "Can't freeze a class with a custom __setattr__." - raise ValueError(msg) - - builder = _ClassBuilder( - cls, - these, - slots, - is_frozen, - weakref_slot, - _determine_whether_to_implement( - cls, - getstate_setstate, - auto_detect, - ("__getstate__", "__setstate__"), - default=slots, - ), - auto_attribs, - kw_only, - cache_hash, - is_exc, - collect_by_mro, - on_setattr, - has_own_setattr, - field_transformer, - ) - if _determine_whether_to_implement( - cls, repr, auto_detect, ("__repr__",) - ): - builder.add_repr(repr_ns) - if str is True: - builder.add_str() - - eq = _determine_whether_to_implement( - cls, eq_, auto_detect, ("__eq__", "__ne__") - ) - if not is_exc and eq is True: - builder.add_eq() - if not is_exc and _determine_whether_to_implement( - cls, order_, auto_detect, ("__lt__", "__le__", "__gt__", "__ge__") - ): - builder.add_order() - - builder.add_setattr() - - nonlocal hash - if ( - hash is None - and auto_detect is True - and _has_own_attribute(cls, "__hash__") - ): - hash = False - - if hash is not True and hash is not False and hash is not None: - # Can't use `hash in` because 1 == True for example. - msg = "Invalid value for hash. Must be True, False, or None." - raise TypeError(msg) - - if hash is False or (hash is None and eq is False) or is_exc: - # Don't do anything. Should fall back to __object__'s __hash__ - # which is by id. - if cache_hash: - msg = "Invalid value for cache_hash. To use hash caching, hashing must be either explicitly or implicitly enabled." - raise TypeError(msg) - elif hash is True or ( - hash is None and eq is True and is_frozen is True - ): - # Build a __hash__ if told so, or if it's safe. - builder.add_hash() - else: - # Raise TypeError on attempts to hash. - if cache_hash: - msg = "Invalid value for cache_hash. To use hash caching, hashing must be either explicitly or implicitly enabled." - raise TypeError(msg) - builder.make_unhashable() - - if _determine_whether_to_implement( - cls, init, auto_detect, ("__init__",) - ): - builder.add_init() - else: - builder.add_attrs_init() - if cache_hash: - msg = "Invalid value for cache_hash. To use hash caching, init must be True." - raise TypeError(msg) - - if PY_3_13_PLUS and not _has_own_attribute(cls, "__replace__"): - builder.add_replace() - - if ( - PY_3_10_PLUS - and match_args - and not _has_own_attribute(cls, "__match_args__") - ): - builder.add_match_args() - - return builder.build_class() - - # maybe_cls's type depends on the usage of the decorator. It's a class - # if it's used as `@attrs` but `None` if used as `@attrs()`. - if maybe_cls is None: - return wrap - - return wrap(maybe_cls) - - -_attrs = attrs -""" -Internal alias so we can use it in functions that take an argument called -*attrs*. -""" - - -def _has_frozen_base_class(cls): - """ - Check whether *cls* has a frozen ancestor by looking at its - __setattr__. - """ - return cls.__setattr__ is _frozen_setattrs - - -def _generate_unique_filename(cls, func_name): - """ - Create a "filename" suitable for a function being generated. - """ - return ( - f"" - ) - - -def _make_hash(cls, attrs, frozen, cache_hash): - attrs = tuple( - a for a in attrs if a.hash is True or (a.hash is None and a.eq is True) - ) - - tab = " " - - unique_filename = _generate_unique_filename(cls, "hash") - type_hash = hash(unique_filename) - # If eq is custom generated, we need to include the functions in globs - globs = {} - - hash_def = "def __hash__(self" - hash_func = "hash((" - closing_braces = "))" - if not cache_hash: - hash_def += "):" - else: - hash_def += ", *" - - hash_def += ", _cache_wrapper=__import__('attr._make')._make._CacheHashWrapper):" - hash_func = "_cache_wrapper(" + hash_func - closing_braces += ")" - - method_lines = [hash_def] - - def append_hash_computation_lines(prefix, indent): - """ - Generate the code for actually computing the hash code. - Below this will either be returned directly or used to compute - a value which is then cached, depending on the value of cache_hash - """ - - method_lines.extend( - [ - indent + prefix + hash_func, - indent + f" {type_hash},", - ] - ) - - for a in attrs: - if a.eq_key: - cmp_name = f"_{a.name}_key" - globs[cmp_name] = a.eq_key - method_lines.append( - indent + f" {cmp_name}(self.{a.name})," - ) - else: - method_lines.append(indent + f" self.{a.name},") - - method_lines.append(indent + " " + closing_braces) - - if cache_hash: - method_lines.append(tab + f"if self.{_HASH_CACHE_FIELD} is None:") - if frozen: - append_hash_computation_lines( - f"object.__setattr__(self, '{_HASH_CACHE_FIELD}', ", tab * 2 - ) - method_lines.append(tab * 2 + ")") # close __setattr__ - else: - append_hash_computation_lines( - f"self.{_HASH_CACHE_FIELD} = ", tab * 2 - ) - method_lines.append(tab + f"return self.{_HASH_CACHE_FIELD}") - else: - append_hash_computation_lines("return ", tab) - - script = "\n".join(method_lines) - return _make_method("__hash__", script, unique_filename, globs) - - -def _add_hash(cls, attrs): - """ - Add a hash method to *cls*. - """ - cls.__hash__ = _make_hash(cls, attrs, frozen=False, cache_hash=False) - return cls - - -def _make_ne(): - """ - Create __ne__ method. - """ - - def __ne__(self, other): - """ - Check equality and either forward a NotImplemented or - return the result negated. - """ - result = self.__eq__(other) - if result is NotImplemented: - return NotImplemented - - return not result - - return __ne__ - - -def _make_eq(cls, attrs): - """ - Create __eq__ method for *cls* with *attrs*. - """ - attrs = [a for a in attrs if a.eq] - - unique_filename = _generate_unique_filename(cls, "eq") - lines = [ - "def __eq__(self, other):", - " if other.__class__ is not self.__class__:", - " return NotImplemented", - ] - - globs = {} - if attrs: - lines.append(" return (") - for a in attrs: - if a.eq_key: - cmp_name = f"_{a.name}_key" - # Add the key function to the global namespace - # of the evaluated function. - globs[cmp_name] = a.eq_key - lines.append( - f" {cmp_name}(self.{a.name}) == {cmp_name}(other.{a.name})" - ) - else: - lines.append(f" self.{a.name} == other.{a.name}") - if a is not attrs[-1]: - lines[-1] = f"{lines[-1]} and" - lines.append(" )") - else: - lines.append(" return True") - - script = "\n".join(lines) - - return _make_method("__eq__", script, unique_filename, globs) - - -def _make_order(cls, attrs): - """ - Create ordering methods for *cls* with *attrs*. - """ - attrs = [a for a in attrs if a.order] - - def attrs_to_tuple(obj): - """ - Save us some typing. - """ - return tuple( - key(value) if key else value - for value, key in ( - (getattr(obj, a.name), a.order_key) for a in attrs - ) - ) - - def __lt__(self, other): - """ - Automatically created by attrs. - """ - if other.__class__ is self.__class__: - return attrs_to_tuple(self) < attrs_to_tuple(other) - - return NotImplemented - - def __le__(self, other): - """ - Automatically created by attrs. - """ - if other.__class__ is self.__class__: - return attrs_to_tuple(self) <= attrs_to_tuple(other) - - return NotImplemented - - def __gt__(self, other): - """ - Automatically created by attrs. - """ - if other.__class__ is self.__class__: - return attrs_to_tuple(self) > attrs_to_tuple(other) - - return NotImplemented - - def __ge__(self, other): - """ - Automatically created by attrs. - """ - if other.__class__ is self.__class__: - return attrs_to_tuple(self) >= attrs_to_tuple(other) - - return NotImplemented - - return __lt__, __le__, __gt__, __ge__ - - -def _add_eq(cls, attrs=None): - """ - Add equality methods to *cls* with *attrs*. - """ - if attrs is None: - attrs = cls.__attrs_attrs__ - - cls.__eq__ = _make_eq(cls, attrs) - cls.__ne__ = _make_ne() - - return cls - - -def _make_repr(attrs, ns, cls): - unique_filename = _generate_unique_filename(cls, "repr") - # Figure out which attributes to include, and which function to use to - # format them. The a.repr value can be either bool or a custom - # callable. - attr_names_with_reprs = tuple( - (a.name, (repr if a.repr is True else a.repr), a.init) - for a in attrs - if a.repr is not False - ) - globs = { - name + "_repr": r for name, r, _ in attr_names_with_reprs if r != repr - } - globs["_compat"] = _compat - globs["AttributeError"] = AttributeError - globs["NOTHING"] = NOTHING - attribute_fragments = [] - for name, r, i in attr_names_with_reprs: - accessor = ( - "self." + name if i else 'getattr(self, "' + name + '", NOTHING)' - ) - fragment = ( - "%s={%s!r}" % (name, accessor) - if r == repr - else "%s={%s_repr(%s)}" % (name, name, accessor) - ) - attribute_fragments.append(fragment) - repr_fragment = ", ".join(attribute_fragments) - - if ns is None: - cls_name_fragment = '{self.__class__.__qualname__.rsplit(">.", 1)[-1]}' - else: - cls_name_fragment = ns + ".{self.__class__.__name__}" - - lines = [ - "def __repr__(self):", - " try:", - " already_repring = _compat.repr_context.already_repring", - " except AttributeError:", - " already_repring = {id(self),}", - " _compat.repr_context.already_repring = already_repring", - " else:", - " if id(self) in already_repring:", - " return '...'", - " else:", - " already_repring.add(id(self))", - " try:", - f" return f'{cls_name_fragment}({repr_fragment})'", - " finally:", - " already_repring.remove(id(self))", - ] - - return _make_method( - "__repr__", "\n".join(lines), unique_filename, globs=globs - ) - - -def _add_repr(cls, ns=None, attrs=None): - """ - Add a repr method to *cls*. - """ - if attrs is None: - attrs = cls.__attrs_attrs__ - - cls.__repr__ = _make_repr(attrs, ns, cls) - return cls - - -def fields(cls): - """ - Return the tuple of *attrs* attributes for a class. - - The tuple also allows accessing the fields by their names (see below for - examples). - - Args: - cls (type): Class to introspect. - - Raises: - TypeError: If *cls* is not a class. - - attrs.exceptions.NotAnAttrsClassError: - If *cls* is not an *attrs* class. - - Returns: - tuple (with name accessors) of `attrs.Attribute` - - .. versionchanged:: 16.2.0 Returned tuple allows accessing the fields - by name. - .. versionchanged:: 23.1.0 Add support for generic classes. - """ - generic_base = get_generic_base(cls) - - if generic_base is None and not isinstance(cls, type): - msg = "Passed object must be a class." - raise TypeError(msg) - - attrs = getattr(cls, "__attrs_attrs__", None) - - if attrs is None: - if generic_base is not None: - attrs = getattr(generic_base, "__attrs_attrs__", None) - if attrs is not None: - # Even though this is global state, stick it on here to speed - # it up. We rely on `cls` being cached for this to be - # efficient. - cls.__attrs_attrs__ = attrs - return attrs - msg = f"{cls!r} is not an attrs-decorated class." - raise NotAnAttrsClassError(msg) - - return attrs - - -def fields_dict(cls): - """ - Return an ordered dictionary of *attrs* attributes for a class, whose keys - are the attribute names. - - Args: - cls (type): Class to introspect. - - Raises: - TypeError: If *cls* is not a class. - - attrs.exceptions.NotAnAttrsClassError: - If *cls* is not an *attrs* class. - - Returns: - dict[str, attrs.Attribute]: Dict of attribute name to definition - - .. versionadded:: 18.1.0 - """ - if not isinstance(cls, type): - msg = "Passed object must be a class." - raise TypeError(msg) - attrs = getattr(cls, "__attrs_attrs__", None) - if attrs is None: - msg = f"{cls!r} is not an attrs-decorated class." - raise NotAnAttrsClassError(msg) - return {a.name: a for a in attrs} - - -def validate(inst): - """ - Validate all attributes on *inst* that have a validator. - - Leaves all exceptions through. - - Args: - inst: Instance of a class with *attrs* attributes. - """ - if _config._run_validators is False: - return - - for a in fields(inst.__class__): - v = a.validator - if v is not None: - v(inst, a, getattr(inst, a.name)) - - -def _is_slot_attr(a_name, base_attr_map): - """ - Check if the attribute name comes from a slot class. - """ - cls = base_attr_map.get(a_name) - return cls and "__slots__" in cls.__dict__ - - -def _make_init( - cls, - attrs, - pre_init, - pre_init_has_args, - post_init, - frozen, - slots, - cache_hash, - base_attr_map, - is_exc, - cls_on_setattr, - attrs_init, -): - has_cls_on_setattr = ( - cls_on_setattr is not None and cls_on_setattr is not setters.NO_OP - ) - - if frozen and has_cls_on_setattr: - msg = "Frozen classes can't use on_setattr." - raise ValueError(msg) - - needs_cached_setattr = cache_hash or frozen - filtered_attrs = [] - attr_dict = {} - for a in attrs: - if not a.init and a.default is NOTHING: - continue - - filtered_attrs.append(a) - attr_dict[a.name] = a - - if a.on_setattr is not None: - if frozen is True: - msg = "Frozen classes can't use on_setattr." - raise ValueError(msg) - - needs_cached_setattr = True - elif has_cls_on_setattr and a.on_setattr is not setters.NO_OP: - needs_cached_setattr = True - - unique_filename = _generate_unique_filename(cls, "init") - - script, globs, annotations = _attrs_to_init_script( - filtered_attrs, - frozen, - slots, - pre_init, - pre_init_has_args, - post_init, - cache_hash, - base_attr_map, - is_exc, - needs_cached_setattr, - has_cls_on_setattr, - "__attrs_init__" if attrs_init else "__init__", - ) - if cls.__module__ in sys.modules: - # This makes typing.get_type_hints(CLS.__init__) resolve string types. - globs.update(sys.modules[cls.__module__].__dict__) - - globs.update({"NOTHING": NOTHING, "attr_dict": attr_dict}) - - if needs_cached_setattr: - # Save the lookup overhead in __init__ if we need to circumvent - # setattr hooks. - globs["_cached_setattr_get"] = _OBJ_SETATTR.__get__ - - init = _make_method( - "__attrs_init__" if attrs_init else "__init__", - script, - unique_filename, - globs, - ) - init.__annotations__ = annotations - - return init - - -def _setattr(attr_name: str, value_var: str, has_on_setattr: bool) -> str: - """ - Use the cached object.setattr to set *attr_name* to *value_var*. - """ - return f"_setattr('{attr_name}', {value_var})" - - -def _setattr_with_converter( - attr_name: str, value_var: str, has_on_setattr: bool, converter: Converter -) -> str: - """ - Use the cached object.setattr to set *attr_name* to *value_var*, but run - its converter first. - """ - return f"_setattr('{attr_name}', {converter._fmt_converter_call(attr_name, value_var)})" - - -def _assign(attr_name: str, value: str, has_on_setattr: bool) -> str: - """ - Unless *attr_name* has an on_setattr hook, use normal assignment. Otherwise - relegate to _setattr. - """ - if has_on_setattr: - return _setattr(attr_name, value, True) - - return f"self.{attr_name} = {value}" - - -def _assign_with_converter( - attr_name: str, value_var: str, has_on_setattr: bool, converter: Converter -) -> str: - """ - Unless *attr_name* has an on_setattr hook, use normal assignment after - conversion. Otherwise relegate to _setattr_with_converter. - """ - if has_on_setattr: - return _setattr_with_converter(attr_name, value_var, True, converter) - - return f"self.{attr_name} = {converter._fmt_converter_call(attr_name, value_var)}" - - -def _determine_setters( - frozen: bool, slots: bool, base_attr_map: dict[str, type] -): - """ - Determine the correct setter functions based on whether a class is frozen - and/or slotted. - """ - if frozen is True: - if slots is True: - return (), _setattr, _setattr_with_converter - - # Dict frozen classes assign directly to __dict__. - # But only if the attribute doesn't come from an ancestor slot - # class. - # Note _inst_dict will be used again below if cache_hash is True - - def fmt_setter( - attr_name: str, value_var: str, has_on_setattr: bool - ) -> str: - if _is_slot_attr(attr_name, base_attr_map): - return _setattr(attr_name, value_var, has_on_setattr) - - return f"_inst_dict['{attr_name}'] = {value_var}" - - def fmt_setter_with_converter( - attr_name: str, - value_var: str, - has_on_setattr: bool, - converter: Converter, - ) -> str: - if has_on_setattr or _is_slot_attr(attr_name, base_attr_map): - return _setattr_with_converter( - attr_name, value_var, has_on_setattr, converter - ) - - return f"_inst_dict['{attr_name}'] = {converter._fmt_converter_call(attr_name, value_var)}" - - return ( - ("_inst_dict = self.__dict__",), - fmt_setter, - fmt_setter_with_converter, - ) - - # Not frozen -- we can just assign directly. - return (), _assign, _assign_with_converter - - -def _attrs_to_init_script( - attrs: list[Attribute], - is_frozen: bool, - is_slotted: bool, - call_pre_init: bool, - pre_init_has_args: bool, - call_post_init: bool, - does_cache_hash: bool, - base_attr_map: dict[str, type], - is_exc: bool, - needs_cached_setattr: bool, - has_cls_on_setattr: bool, - method_name: str, -) -> tuple[str, dict, dict]: - """ - Return a script of an initializer for *attrs*, a dict of globals, and - annotations for the initializer. - - The globals are required by the generated script. - """ - lines = ["self.__attrs_pre_init__()"] if call_pre_init else [] - - if needs_cached_setattr: - lines.append( - # Circumvent the __setattr__ descriptor to save one lookup per - # assignment. Note _setattr will be used again below if - # does_cache_hash is True. - "_setattr = _cached_setattr_get(self)" - ) - - extra_lines, fmt_setter, fmt_setter_with_converter = _determine_setters( - is_frozen, is_slotted, base_attr_map - ) - lines.extend(extra_lines) - - args = [] - kw_only_args = [] - attrs_to_validate = [] - - # This is a dictionary of names to validator and converter callables. - # Injecting this into __init__ globals lets us avoid lookups. - names_for_globals = {} - annotations = {"return": None} - - for a in attrs: - if a.validator: - attrs_to_validate.append(a) - - attr_name = a.name - has_on_setattr = a.on_setattr is not None or ( - a.on_setattr is not setters.NO_OP and has_cls_on_setattr - ) - # a.alias is set to maybe-mangled attr_name in _ClassBuilder if not - # explicitly provided - arg_name = a.alias - - has_factory = isinstance(a.default, Factory) - maybe_self = "self" if has_factory and a.default.takes_self else "" - - if a.converter is not None and not isinstance(a.converter, Converter): - converter = Converter(a.converter) - else: - converter = a.converter - - if a.init is False: - if has_factory: - init_factory_name = _INIT_FACTORY_PAT % (a.name,) - if converter is not None: - lines.append( - fmt_setter_with_converter( - attr_name, - init_factory_name + f"({maybe_self})", - has_on_setattr, - converter, - ) - ) - names_for_globals[converter._get_global_name(a.name)] = ( - converter.converter - ) - else: - lines.append( - fmt_setter( - attr_name, - init_factory_name + f"({maybe_self})", - has_on_setattr, - ) - ) - names_for_globals[init_factory_name] = a.default.factory - elif converter is not None: - lines.append( - fmt_setter_with_converter( - attr_name, - f"attr_dict['{attr_name}'].default", - has_on_setattr, - converter, - ) - ) - names_for_globals[converter._get_global_name(a.name)] = ( - converter.converter - ) - else: - lines.append( - fmt_setter( - attr_name, - f"attr_dict['{attr_name}'].default", - has_on_setattr, - ) - ) - elif a.default is not NOTHING and not has_factory: - arg = f"{arg_name}=attr_dict['{attr_name}'].default" - if a.kw_only: - kw_only_args.append(arg) - else: - args.append(arg) - - if converter is not None: - lines.append( - fmt_setter_with_converter( - attr_name, arg_name, has_on_setattr, converter - ) - ) - names_for_globals[converter._get_global_name(a.name)] = ( - converter.converter - ) - else: - lines.append(fmt_setter(attr_name, arg_name, has_on_setattr)) - - elif has_factory: - arg = f"{arg_name}=NOTHING" - if a.kw_only: - kw_only_args.append(arg) - else: - args.append(arg) - lines.append(f"if {arg_name} is not NOTHING:") - - init_factory_name = _INIT_FACTORY_PAT % (a.name,) - if converter is not None: - lines.append( - " " - + fmt_setter_with_converter( - attr_name, arg_name, has_on_setattr, converter - ) - ) - lines.append("else:") - lines.append( - " " - + fmt_setter_with_converter( - attr_name, - init_factory_name + "(" + maybe_self + ")", - has_on_setattr, - converter, - ) - ) - names_for_globals[converter._get_global_name(a.name)] = ( - converter.converter - ) - else: - lines.append( - " " + fmt_setter(attr_name, arg_name, has_on_setattr) - ) - lines.append("else:") - lines.append( - " " - + fmt_setter( - attr_name, - init_factory_name + "(" + maybe_self + ")", - has_on_setattr, - ) - ) - names_for_globals[init_factory_name] = a.default.factory - else: - if a.kw_only: - kw_only_args.append(arg_name) - else: - args.append(arg_name) - - if converter is not None: - lines.append( - fmt_setter_with_converter( - attr_name, arg_name, has_on_setattr, converter - ) - ) - names_for_globals[converter._get_global_name(a.name)] = ( - converter.converter - ) - else: - lines.append(fmt_setter(attr_name, arg_name, has_on_setattr)) - - if a.init is True: - if a.type is not None and converter is None: - annotations[arg_name] = a.type - elif converter is not None and converter._first_param_type: - # Use the type from the converter if present. - annotations[arg_name] = converter._first_param_type - - if attrs_to_validate: # we can skip this if there are no validators. - names_for_globals["_config"] = _config - lines.append("if _config._run_validators is True:") - for a in attrs_to_validate: - val_name = "__attr_validator_" + a.name - attr_name = "__attr_" + a.name - lines.append(f" {val_name}(self, {attr_name}, self.{a.name})") - names_for_globals[val_name] = a.validator - names_for_globals[attr_name] = a - - if call_post_init: - lines.append("self.__attrs_post_init__()") - - # Because this is set only after __attrs_post_init__ is called, a crash - # will result if post-init tries to access the hash code. This seemed - # preferable to setting this beforehand, in which case alteration to field - # values during post-init combined with post-init accessing the hash code - # would result in silent bugs. - if does_cache_hash: - if is_frozen: - if is_slotted: - init_hash_cache = f"_setattr('{_HASH_CACHE_FIELD}', None)" - else: - init_hash_cache = f"_inst_dict['{_HASH_CACHE_FIELD}'] = None" - else: - init_hash_cache = f"self.{_HASH_CACHE_FIELD} = None" - lines.append(init_hash_cache) - - # For exceptions we rely on BaseException.__init__ for proper - # initialization. - if is_exc: - vals = ",".join(f"self.{a.name}" for a in attrs if a.init) - - lines.append(f"BaseException.__init__(self, {vals})") - - args = ", ".join(args) - pre_init_args = args - if kw_only_args: - # leading comma & kw_only args - args += f"{', ' if args else ''}*, {', '.join(kw_only_args)}" - pre_init_kw_only_args = ", ".join( - [ - f"{kw_arg_name}={kw_arg_name}" - # We need to remove the defaults from the kw_only_args. - for kw_arg_name in (kwa.split("=")[0] for kwa in kw_only_args) - ] - ) - pre_init_args += ", " if pre_init_args else "" - pre_init_args += pre_init_kw_only_args - - if call_pre_init and pre_init_has_args: - # If pre init method has arguments, pass same arguments as `__init__`. - lines[0] = f"self.__attrs_pre_init__({pre_init_args})" - - # Python <3.12 doesn't allow backslashes in f-strings. - NL = "\n " - return ( - f"""def {method_name}(self, {args}): - {NL.join(lines) if lines else 'pass'} -""", - names_for_globals, - annotations, - ) - - -def _default_init_alias_for(name: str) -> str: - """ - The default __init__ parameter name for a field. - - This performs private-name adjustment via leading-unscore stripping, - and is the default value of Attribute.alias if not provided. - """ - - return name.lstrip("_") - - -class Attribute: - """ - *Read-only* representation of an attribute. - - .. warning:: - - You should never instantiate this class yourself. - - The class has *all* arguments of `attr.ib` (except for ``factory`` which is - only syntactic sugar for ``default=Factory(...)`` plus the following: - - - ``name`` (`str`): The name of the attribute. - - ``alias`` (`str`): The __init__ parameter name of the attribute, after - any explicit overrides and default private-attribute-name handling. - - ``inherited`` (`bool`): Whether or not that attribute has been inherited - from a base class. - - ``eq_key`` and ``order_key`` (`typing.Callable` or `None`): The - callables that are used for comparing and ordering objects by this - attribute, respectively. These are set by passing a callable to - `attr.ib`'s ``eq``, ``order``, or ``cmp`` arguments. See also - :ref:`comparison customization `. - - Instances of this class are frequently used for introspection purposes - like: - - - `fields` returns a tuple of them. - - Validators get them passed as the first argument. - - The :ref:`field transformer ` hook receives a list of - them. - - The ``alias`` property exposes the __init__ parameter name of the field, - with any overrides and default private-attribute handling applied. - - - .. versionadded:: 20.1.0 *inherited* - .. versionadded:: 20.1.0 *on_setattr* - .. versionchanged:: 20.2.0 *inherited* is not taken into account for - equality checks and hashing anymore. - .. versionadded:: 21.1.0 *eq_key* and *order_key* - .. versionadded:: 22.2.0 *alias* - - For the full version history of the fields, see `attr.ib`. - """ - - # These slots must NOT be reordered because we use them later for - # instantiation. - __slots__ = ( # noqa: RUF023 - "name", - "default", - "validator", - "repr", - "eq", - "eq_key", - "order", - "order_key", - "hash", - "init", - "metadata", - "type", - "converter", - "kw_only", - "inherited", - "on_setattr", - "alias", - ) - - def __init__( - self, - name, - default, - validator, - repr, - cmp, # XXX: unused, remove along with other cmp code. - hash, - init, - inherited, - metadata=None, - type=None, - converter=None, - kw_only=False, - eq=None, - eq_key=None, - order=None, - order_key=None, - on_setattr=None, - alias=None, - ): - eq, eq_key, order, order_key = _determine_attrib_eq_order( - cmp, eq_key or eq, order_key or order, True - ) - - # Cache this descriptor here to speed things up later. - bound_setattr = _OBJ_SETATTR.__get__(self) - - # Despite the big red warning, people *do* instantiate `Attribute` - # themselves. - bound_setattr("name", name) - bound_setattr("default", default) - bound_setattr("validator", validator) - bound_setattr("repr", repr) - bound_setattr("eq", eq) - bound_setattr("eq_key", eq_key) - bound_setattr("order", order) - bound_setattr("order_key", order_key) - bound_setattr("hash", hash) - bound_setattr("init", init) - bound_setattr("converter", converter) - bound_setattr( - "metadata", - ( - types.MappingProxyType(dict(metadata)) # Shallow copy - if metadata - else _EMPTY_METADATA_SINGLETON - ), - ) - bound_setattr("type", type) - bound_setattr("kw_only", kw_only) - bound_setattr("inherited", inherited) - bound_setattr("on_setattr", on_setattr) - bound_setattr("alias", alias) - - def __setattr__(self, name, value): - raise FrozenInstanceError - - @classmethod - def from_counting_attr(cls, name, ca, type=None): - # type holds the annotated value. deal with conflicts: - if type is None: - type = ca.type - elif ca.type is not None: - msg = "Type annotation and type argument cannot both be present" - raise ValueError(msg) - inst_dict = { - k: getattr(ca, k) - for k in Attribute.__slots__ - if k - not in ( - "name", - "validator", - "default", - "type", - "inherited", - ) # exclude methods and deprecated alias - } - return cls( - name=name, - validator=ca._validator, - default=ca._default, - type=type, - cmp=None, - inherited=False, - **inst_dict, - ) - - # Don't use attrs.evolve since fields(Attribute) doesn't work - def evolve(self, **changes): - """ - Copy *self* and apply *changes*. - - This works similarly to `attrs.evolve` but that function does not work - with :class:`attrs.Attribute`. - - It is mainly meant to be used for `transform-fields`. - - .. versionadded:: 20.3.0 - """ - new = copy.copy(self) - - new._setattrs(changes.items()) - - return new - - # Don't use _add_pickle since fields(Attribute) doesn't work - def __getstate__(self): - """ - Play nice with pickle. - """ - return tuple( - getattr(self, name) if name != "metadata" else dict(self.metadata) - for name in self.__slots__ - ) - - def __setstate__(self, state): - """ - Play nice with pickle. - """ - self._setattrs(zip(self.__slots__, state)) - - def _setattrs(self, name_values_pairs): - bound_setattr = _OBJ_SETATTR.__get__(self) - for name, value in name_values_pairs: - if name != "metadata": - bound_setattr(name, value) - else: - bound_setattr( - name, - ( - types.MappingProxyType(dict(value)) - if value - else _EMPTY_METADATA_SINGLETON - ), - ) - - -_a = [ - Attribute( - name=name, - default=NOTHING, - validator=None, - repr=True, - cmp=None, - eq=True, - order=False, - hash=(name != "metadata"), - init=True, - inherited=False, - alias=_default_init_alias_for(name), - ) - for name in Attribute.__slots__ -] - -Attribute = _add_hash( - _add_eq( - _add_repr(Attribute, attrs=_a), - attrs=[a for a in _a if a.name != "inherited"], - ), - attrs=[a for a in _a if a.hash and a.name != "inherited"], -) - - -class _CountingAttr: - """ - Intermediate representation of attributes that uses a counter to preserve - the order in which the attributes have been defined. - - *Internal* data structure of the attrs library. Running into is most - likely the result of a bug like a forgotten `@attr.s` decorator. - """ - - __slots__ = ( - "_default", - "_validator", - "alias", - "converter", - "counter", - "eq", - "eq_key", - "hash", - "init", - "kw_only", - "metadata", - "on_setattr", - "order", - "order_key", - "repr", - "type", - ) - __attrs_attrs__ = ( - *tuple( - Attribute( - name=name, - alias=_default_init_alias_for(name), - default=NOTHING, - validator=None, - repr=True, - cmp=None, - hash=True, - init=True, - kw_only=False, - eq=True, - eq_key=None, - order=False, - order_key=None, - inherited=False, - on_setattr=None, - ) - for name in ( - "counter", - "_default", - "repr", - "eq", - "order", - "hash", - "init", - "on_setattr", - "alias", - ) - ), - Attribute( - name="metadata", - alias="metadata", - default=None, - validator=None, - repr=True, - cmp=None, - hash=False, - init=True, - kw_only=False, - eq=True, - eq_key=None, - order=False, - order_key=None, - inherited=False, - on_setattr=None, - ), - ) - cls_counter = 0 - - def __init__( - self, - default, - validator, - repr, - cmp, - hash, - init, - converter, - metadata, - type, - kw_only, - eq, - eq_key, - order, - order_key, - on_setattr, - alias, - ): - _CountingAttr.cls_counter += 1 - self.counter = _CountingAttr.cls_counter - self._default = default - self._validator = validator - self.converter = converter - self.repr = repr - self.eq = eq - self.eq_key = eq_key - self.order = order - self.order_key = order_key - self.hash = hash - self.init = init - self.metadata = metadata - self.type = type - self.kw_only = kw_only - self.on_setattr = on_setattr - self.alias = alias - - def validator(self, meth): - """ - Decorator that adds *meth* to the list of validators. - - Returns *meth* unchanged. - - .. versionadded:: 17.1.0 - """ - if self._validator is None: - self._validator = meth - else: - self._validator = and_(self._validator, meth) - return meth - - def default(self, meth): - """ - Decorator that allows to set the default for an attribute. - - Returns *meth* unchanged. - - Raises: - DefaultAlreadySetError: If default has been set before. - - .. versionadded:: 17.1.0 - """ - if self._default is not NOTHING: - raise DefaultAlreadySetError - - self._default = Factory(meth, takes_self=True) - - return meth - - -_CountingAttr = _add_eq(_add_repr(_CountingAttr)) - - -class Factory: - """ - Stores a factory callable. - - If passed as the default value to `attrs.field`, the factory is used to - generate a new value. - - Args: - factory (typing.Callable): - A callable that takes either none or exactly one mandatory - positional argument depending on *takes_self*. - - takes_self (bool): - Pass the partially initialized instance that is being initialized - as a positional argument. - - .. versionadded:: 17.1.0 *takes_self* - """ - - __slots__ = ("factory", "takes_self") - - def __init__(self, factory, takes_self=False): - self.factory = factory - self.takes_self = takes_self - - def __getstate__(self): - """ - Play nice with pickle. - """ - return tuple(getattr(self, name) for name in self.__slots__) - - def __setstate__(self, state): - """ - Play nice with pickle. - """ - for name, value in zip(self.__slots__, state): - setattr(self, name, value) - - -_f = [ - Attribute( - name=name, - default=NOTHING, - validator=None, - repr=True, - cmp=None, - eq=True, - order=False, - hash=True, - init=True, - inherited=False, - ) - for name in Factory.__slots__ -] - -Factory = _add_hash(_add_eq(_add_repr(Factory, attrs=_f), attrs=_f), attrs=_f) - - -class Converter: - """ - Stores a converter callable. - - Allows for the wrapped converter to take additional arguments. The - arguments are passed in the order they are documented. - - Args: - converter (Callable): A callable that converts the passed value. - - takes_self (bool): - Pass the partially initialized instance that is being initialized - as a positional argument. (default: `False`) - - takes_field (bool): - Pass the field definition (an :class:`Attribute`) into the - converter as a positional argument. (default: `False`) - - .. versionadded:: 24.1.0 - """ - - __slots__ = ( - "__call__", - "_first_param_type", - "_global_name", - "converter", - "takes_field", - "takes_self", - ) - - def __init__(self, converter, *, takes_self=False, takes_field=False): - self.converter = converter - self.takes_self = takes_self - self.takes_field = takes_field - - ex = _AnnotationExtractor(converter) - self._first_param_type = ex.get_first_param_type() - - if not (self.takes_self or self.takes_field): - self.__call__ = lambda value, _, __: self.converter(value) - elif self.takes_self and not self.takes_field: - self.__call__ = lambda value, instance, __: self.converter( - value, instance - ) - elif not self.takes_self and self.takes_field: - self.__call__ = lambda value, __, field: self.converter( - value, field - ) - else: - self.__call__ = lambda value, instance, field: self.converter( - value, instance, field - ) - - rt = ex.get_return_type() - if rt is not None: - self.__call__.__annotations__["return"] = rt - - @staticmethod - def _get_global_name(attr_name: str) -> str: - """ - Return the name that a converter for an attribute name *attr_name* - would have. - """ - return f"__attr_converter_{attr_name}" - - def _fmt_converter_call(self, attr_name: str, value_var: str) -> str: - """ - Return a string that calls the converter for an attribute name - *attr_name* and the value in variable named *value_var* according to - `self.takes_self` and `self.takes_field`. - """ - if not (self.takes_self or self.takes_field): - return f"{self._get_global_name(attr_name)}({value_var})" - - if self.takes_self and self.takes_field: - return f"{self._get_global_name(attr_name)}({value_var}, self, attr_dict['{attr_name}'])" - - if self.takes_self: - return f"{self._get_global_name(attr_name)}({value_var}, self)" - - return f"{self._get_global_name(attr_name)}({value_var}, attr_dict['{attr_name}'])" - - def __getstate__(self): - """ - Return a dict containing only converter and takes_self -- the rest gets - computed when loading. - """ - return { - "converter": self.converter, - "takes_self": self.takes_self, - "takes_field": self.takes_field, - } - - def __setstate__(self, state): - """ - Load instance from state. - """ - self.__init__(**state) - - -_f = [ - Attribute( - name=name, - default=NOTHING, - validator=None, - repr=True, - cmp=None, - eq=True, - order=False, - hash=True, - init=True, - inherited=False, - ) - for name in ("converter", "takes_self", "takes_field") -] - -Converter = _add_hash( - _add_eq(_add_repr(Converter, attrs=_f), attrs=_f), attrs=_f -) - - -def make_class( - name, attrs, bases=(object,), class_body=None, **attributes_arguments -): - r""" - A quick way to create a new class called *name* with *attrs*. - - .. note:: - - ``make_class()`` is a thin wrapper around `attr.s`, not `attrs.define` - which means that it doesn't come with some of the improved defaults. - - For example, if you want the same ``on_setattr`` behavior as in - `attrs.define`, you have to pass the hooks yourself: ``make_class(..., - on_setattr=setters.pipe(setters.convert, setters.validate)`` - - Args: - name (str): The name for the new class. - - attrs (list | dict): - A list of names or a dictionary of mappings of names to `attr.ib`\ - s / `attrs.field`\ s. - - The order is deduced from the order of the names or attributes - inside *attrs*. Otherwise the order of the definition of the - attributes is used. - - bases (tuple[type, ...]): Classes that the new class will subclass. - - class_body (dict): - An optional dictionary of class attributes for the new class. - - attributes_arguments: Passed unmodified to `attr.s`. - - Returns: - type: A new class with *attrs*. - - .. versionadded:: 17.1.0 *bases* - .. versionchanged:: 18.1.0 If *attrs* is ordered, the order is retained. - .. versionchanged:: 23.2.0 *class_body* - """ - if isinstance(attrs, dict): - cls_dict = attrs - elif isinstance(attrs, (list, tuple)): - cls_dict = {a: attrib() for a in attrs} - else: - msg = "attrs argument must be a dict or a list." - raise TypeError(msg) - - pre_init = cls_dict.pop("__attrs_pre_init__", None) - post_init = cls_dict.pop("__attrs_post_init__", None) - user_init = cls_dict.pop("__init__", None) - - body = {} - if class_body is not None: - body.update(class_body) - if pre_init is not None: - body["__attrs_pre_init__"] = pre_init - if post_init is not None: - body["__attrs_post_init__"] = post_init - if user_init is not None: - body["__init__"] = user_init - - type_ = types.new_class(name, bases, {}, lambda ns: ns.update(body)) - - # For pickling to work, the __module__ variable needs to be set to the - # frame where the class is created. Bypass this step in environments where - # sys._getframe is not defined (Jython for example) or sys._getframe is not - # defined for arguments greater than 0 (IronPython). - with contextlib.suppress(AttributeError, ValueError): - type_.__module__ = sys._getframe(1).f_globals.get( - "__name__", "__main__" - ) - - # We do it here for proper warnings with meaningful stacklevel. - cmp = attributes_arguments.pop("cmp", None) - ( - attributes_arguments["eq"], - attributes_arguments["order"], - ) = _determine_attrs_eq_order( - cmp, - attributes_arguments.get("eq"), - attributes_arguments.get("order"), - True, - ) - - cls = _attrs(these=cls_dict, **attributes_arguments)(type_) - # Only add type annotations now or "_attrs()" will complain: - cls.__annotations__ = { - k: v.type for k, v in cls_dict.items() if v.type is not None - } - return cls - - -# These are required by within this module so we define them here and merely -# import into .validators / .converters. - - -@attrs(slots=True, unsafe_hash=True) -class _AndValidator: - """ - Compose many validators to a single one. - """ - - _validators = attrib() - - def __call__(self, inst, attr, value): - for v in self._validators: - v(inst, attr, value) - - -def and_(*validators): - """ - A validator that composes multiple validators into one. - - When called on a value, it runs all wrapped validators. - - Args: - validators (~collections.abc.Iterable[typing.Callable]): - Arbitrary number of validators. - - .. versionadded:: 17.1.0 - """ - vals = [] - for validator in validators: - vals.extend( - validator._validators - if isinstance(validator, _AndValidator) - else [validator] - ) - - return _AndValidator(tuple(vals)) - - -def pipe(*converters): - """ - A converter that composes multiple converters into one. - - When called on a value, it runs all wrapped converters, returning the - *last* value. - - Type annotations will be inferred from the wrapped converters', if they - have any. - - converters (~collections.abc.Iterable[typing.Callable]): - Arbitrary number of converters. - - .. versionadded:: 20.1.0 - """ - - return_instance = any(isinstance(c, Converter) for c in converters) - - if return_instance: - - def pipe_converter(val, inst, field): - for c in converters: - val = ( - c(val, inst, field) if isinstance(c, Converter) else c(val) - ) - - return val - - else: - - def pipe_converter(val): - for c in converters: - val = c(val) - - return val - - if not converters: - # If the converter list is empty, pipe_converter is the identity. - A = typing.TypeVar("A") - pipe_converter.__annotations__.update({"val": A, "return": A}) - else: - # Get parameter type from first converter. - t = _AnnotationExtractor(converters[0]).get_first_param_type() - if t: - pipe_converter.__annotations__["val"] = t - - last = converters[-1] - if not PY_3_11_PLUS and isinstance(last, Converter): - last = last.__call__ - - # Get return type from last converter. - rt = _AnnotationExtractor(last).get_return_type() - if rt: - pipe_converter.__annotations__["return"] = rt - - if return_instance: - return Converter(pipe_converter, takes_self=True, takes_field=True) - return pipe_converter diff --git a/.venv/lib/python3.12/site-packages/attr/_next_gen.py b/.venv/lib/python3.12/site-packages/attr/_next_gen.py deleted file mode 100644 index 9290664b..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_next_gen.py +++ /dev/null @@ -1,623 +0,0 @@ -# SPDX-License-Identifier: MIT - -""" -These are keyword-only APIs that call `attr.s` and `attr.ib` with different -default values. -""" - -from functools import partial - -from . import setters -from ._funcs import asdict as _asdict -from ._funcs import astuple as _astuple -from ._make import ( - _DEFAULT_ON_SETATTR, - NOTHING, - _frozen_setattrs, - attrib, - attrs, -) -from .exceptions import UnannotatedAttributeError - - -def define( - maybe_cls=None, - *, - these=None, - repr=None, - unsafe_hash=None, - hash=None, - init=None, - slots=True, - frozen=False, - weakref_slot=True, - str=False, - auto_attribs=None, - kw_only=False, - cache_hash=False, - auto_exc=True, - eq=None, - order=False, - auto_detect=True, - getstate_setstate=None, - on_setattr=None, - field_transformer=None, - match_args=True, -): - r""" - A class decorator that adds :term:`dunder methods` according to - :term:`fields ` specified using :doc:`type annotations `, - `field()` calls, or the *these* argument. - - Since *attrs* patches or replaces an existing class, you cannot use - `object.__init_subclass__` with *attrs* classes, because it runs too early. - As a replacement, you can define ``__attrs_init_subclass__`` on your class. - It will be called by *attrs* classes that subclass it after they're - created. See also :ref:`init-subclass`. - - Args: - slots (bool): - Create a :term:`slotted class ` that's more - memory-efficient. Slotted classes are generally superior to the - default dict classes, but have some gotchas you should know about, - so we encourage you to read the :term:`glossary entry `. - - auto_detect (bool): - Instead of setting the *init*, *repr*, *eq*, and *hash* arguments - explicitly, assume they are set to True **unless any** of the - involved methods for one of the arguments is implemented in the - *current* class (meaning, it is *not* inherited from some base - class). - - So, for example by implementing ``__eq__`` on a class yourself, - *attrs* will deduce ``eq=False`` and will create *neither* - ``__eq__`` *nor* ``__ne__`` (but Python classes come with a - sensible ``__ne__`` by default, so it *should* be enough to only - implement ``__eq__`` in most cases). - - Passing True or False` to *init*, *repr*, *eq*, or *hash* - overrides whatever *auto_detect* would determine. - - auto_exc (bool): - If the class subclasses `BaseException` (which implicitly includes - any subclass of any exception), the following happens to behave - like a well-behaved Python exception class: - - - the values for *eq*, *order*, and *hash* are ignored and the - instances compare and hash by the instance's ids [#]_ , - - all attributes that are either passed into ``__init__`` or have a - default value are additionally available as a tuple in the - ``args`` attribute, - - the value of *str* is ignored leaving ``__str__`` to base - classes. - - .. [#] - Note that *attrs* will *not* remove existing implementations of - ``__hash__`` or the equality methods. It just won't add own - ones. - - on_setattr (~typing.Callable | list[~typing.Callable] | None | ~typing.Literal[attrs.setters.NO_OP]): - A callable that is run whenever the user attempts to set an - attribute (either by assignment like ``i.x = 42`` or by using - `setattr` like ``setattr(i, "x", 42)``). It receives the same - arguments as validators: the instance, the attribute that is being - modified, and the new value. - - If no exception is raised, the attribute is set to the return value - of the callable. - - If a list of callables is passed, they're automatically wrapped in - an `attrs.setters.pipe`. - - If left None, the default behavior is to run converters and - validators whenever an attribute is set. - - init (bool): - Create a ``__init__`` method that initializes the *attrs* - attributes. Leading underscores are stripped for the argument name, - unless an alias is set on the attribute. - - .. seealso:: - `init` shows advanced ways to customize the generated - ``__init__`` method, including executing code before and after. - - repr(bool): - Create a ``__repr__`` method with a human readable representation - of *attrs* attributes. - - str (bool): - Create a ``__str__`` method that is identical to ``__repr__``. This - is usually not necessary except for `Exception`\ s. - - eq (bool | None): - If True or None (default), add ``__eq__`` and ``__ne__`` methods - that check two instances for equality. - - .. seealso:: - `comparison` describes how to customize the comparison behavior - going as far comparing NumPy arrays. - - order (bool | None): - If True, add ``__lt__``, ``__le__``, ``__gt__``, and ``__ge__`` - methods that behave like *eq* above and allow instances to be - ordered. - - They compare the instances as if they were tuples of their *attrs* - attributes if and only if the types of both classes are - *identical*. - - If `None` mirror value of *eq*. - - .. seealso:: `comparison` - - unsafe_hash (bool | None): - If None (default), the ``__hash__`` method is generated according - how *eq* and *frozen* are set. - - 1. If *both* are True, *attrs* will generate a ``__hash__`` for - you. - 2. If *eq* is True and *frozen* is False, ``__hash__`` will be set - to None, marking it unhashable (which it is). - 3. If *eq* is False, ``__hash__`` will be left untouched meaning - the ``__hash__`` method of the base class will be used. If the - base class is `object`, this means it will fall back to id-based - hashing. - - Although not recommended, you can decide for yourself and force - *attrs* to create one (for example, if the class is immutable even - though you didn't freeze it programmatically) by passing True or - not. Both of these cases are rather special and should be used - carefully. - - .. seealso:: - - - Our documentation on `hashing`, - - Python's documentation on `object.__hash__`, - - and the `GitHub issue that led to the default \ behavior - `_ for more - details. - - hash (bool | None): - Deprecated alias for *unsafe_hash*. *unsafe_hash* takes precedence. - - cache_hash (bool): - Ensure that the object's hash code is computed only once and stored - on the object. If this is set to True, hashing must be either - explicitly or implicitly enabled for this class. If the hash code - is cached, avoid any reassignments of fields involved in hash code - computation or mutations of the objects those fields point to after - object creation. If such changes occur, the behavior of the - object's hash code is undefined. - - frozen (bool): - Make instances immutable after initialization. If someone attempts - to modify a frozen instance, `attrs.exceptions.FrozenInstanceError` - is raised. - - .. note:: - - 1. This is achieved by installing a custom ``__setattr__`` - method on your class, so you can't implement your own. - - 2. True immutability is impossible in Python. - - 3. This *does* have a minor a runtime performance `impact - ` when initializing new instances. In other - words: ``__init__`` is slightly slower with ``frozen=True``. - - 4. If a class is frozen, you cannot modify ``self`` in - ``__attrs_post_init__`` or a self-written ``__init__``. You - can circumvent that limitation by using - ``object.__setattr__(self, "attribute_name", value)``. - - 5. Subclasses of a frozen class are frozen too. - - kw_only (bool): - Make all attributes keyword-only in the generated ``__init__`` (if - *init* is False, this parameter is ignored). - - weakref_slot (bool): - Make instances weak-referenceable. This has no effect unless - *slots* is True. - - field_transformer (~typing.Callable | None): - A function that is called with the original class object and all - fields right before *attrs* finalizes the class. You can use this, - for example, to automatically add converters or validators to - fields based on their types. - - .. seealso:: `transform-fields` - - match_args (bool): - If True (default), set ``__match_args__`` on the class to support - :pep:`634` (*Structural Pattern Matching*). It is a tuple of all - non-keyword-only ``__init__`` parameter names on Python 3.10 and - later. Ignored on older Python versions. - - collect_by_mro (bool): - If True, *attrs* collects attributes from base classes correctly - according to the `method resolution order - `_. If False, *attrs* - will mimic the (wrong) behavior of `dataclasses` and :pep:`681`. - - See also `issue #428 - `_. - - getstate_setstate (bool | None): - .. note:: - - This is usually only interesting for slotted classes and you - should probably just set *auto_detect* to True. - - If True, ``__getstate__`` and ``__setstate__`` are generated and - attached to the class. This is necessary for slotted classes to be - pickleable. If left None, it's True by default for slotted classes - and False for dict classes. - - If *auto_detect* is True, and *getstate_setstate* is left None, and - **either** ``__getstate__`` or ``__setstate__`` is detected - directly on the class (meaning: not inherited), it is set to False - (this is usually what you want). - - auto_attribs (bool | None): - If True, look at type annotations to determine which attributes to - use, like `dataclasses`. If False, it will only look for explicit - :func:`field` class attributes, like classic *attrs*. - - If left None, it will guess: - - 1. If any attributes are annotated and no unannotated - `attrs.field`\ s are found, it assumes *auto_attribs=True*. - 2. Otherwise it assumes *auto_attribs=False* and tries to collect - `attrs.field`\ s. - - If *attrs* decides to look at type annotations, **all** fields - **must** be annotated. If *attrs* encounters a field that is set to - a :func:`field` / `attr.ib` but lacks a type annotation, an - `attrs.exceptions.UnannotatedAttributeError` is raised. Use - ``field_name: typing.Any = field(...)`` if you don't want to set a - type. - - .. warning:: - - For features that use the attribute name to create decorators - (for example, :ref:`validators `), you still *must* - assign :func:`field` / `attr.ib` to them. Otherwise Python will - either not find the name or try to use the default value to - call, for example, ``validator`` on it. - - Attributes annotated as `typing.ClassVar`, and attributes that are - neither annotated nor set to an `field()` are **ignored**. - - these (dict[str, object]): - A dictionary of name to the (private) return value of `field()` - mappings. This is useful to avoid the definition of your attributes - within the class body because you can't (for example, if you want - to add ``__repr__`` methods to Django models) or don't want to. - - If *these* is not `None`, *attrs* will *not* search the class body - for attributes and will *not* remove any attributes from it. - - The order is deduced from the order of the attributes inside - *these*. - - Arguably, this is a rather obscure feature. - - .. versionadded:: 20.1.0 - .. versionchanged:: 21.3.0 Converters are also run ``on_setattr``. - .. versionadded:: 22.2.0 - *unsafe_hash* as an alias for *hash* (for :pep:`681` compliance). - .. versionchanged:: 24.1.0 - Instances are not compared as tuples of attributes anymore, but using a - big ``and`` condition. This is faster and has more correct behavior for - uncomparable values like `math.nan`. - .. versionadded:: 24.1.0 - If a class has an *inherited* classmethod called - ``__attrs_init_subclass__``, it is executed after the class is created. - .. deprecated:: 24.1.0 *hash* is deprecated in favor of *unsafe_hash*. - .. versionadded:: 24.3.0 - Unless already present, a ``__replace__`` method is automatically - created for `copy.replace` (Python 3.13+ only). - - .. note:: - - The main differences to the classic `attr.s` are: - - - Automatically detect whether or not *auto_attribs* should be `True` - (c.f. *auto_attribs* parameter). - - Converters and validators run when attributes are set by default -- - if *frozen* is `False`. - - *slots=True* - - Usually, this has only upsides and few visible effects in everyday - programming. But it *can* lead to some surprising behaviors, so - please make sure to read :term:`slotted classes`. - - - *auto_exc=True* - - *auto_detect=True* - - *order=False* - - Some options that were only relevant on Python 2 or were kept around - for backwards-compatibility have been removed. - - """ - - def do_it(cls, auto_attribs): - return attrs( - maybe_cls=cls, - these=these, - repr=repr, - hash=hash, - unsafe_hash=unsafe_hash, - init=init, - slots=slots, - frozen=frozen, - weakref_slot=weakref_slot, - str=str, - auto_attribs=auto_attribs, - kw_only=kw_only, - cache_hash=cache_hash, - auto_exc=auto_exc, - eq=eq, - order=order, - auto_detect=auto_detect, - collect_by_mro=True, - getstate_setstate=getstate_setstate, - on_setattr=on_setattr, - field_transformer=field_transformer, - match_args=match_args, - ) - - def wrap(cls): - """ - Making this a wrapper ensures this code runs during class creation. - - We also ensure that frozen-ness of classes is inherited. - """ - nonlocal frozen, on_setattr - - had_on_setattr = on_setattr not in (None, setters.NO_OP) - - # By default, mutable classes convert & validate on setattr. - if frozen is False and on_setattr is None: - on_setattr = _DEFAULT_ON_SETATTR - - # However, if we subclass a frozen class, we inherit the immutability - # and disable on_setattr. - for base_cls in cls.__bases__: - if base_cls.__setattr__ is _frozen_setattrs: - if had_on_setattr: - msg = "Frozen classes can't use on_setattr (frozen-ness was inherited)." - raise ValueError(msg) - - on_setattr = setters.NO_OP - break - - if auto_attribs is not None: - return do_it(cls, auto_attribs) - - try: - return do_it(cls, True) - except UnannotatedAttributeError: - return do_it(cls, False) - - # maybe_cls's type depends on the usage of the decorator. It's a class - # if it's used as `@attrs` but `None` if used as `@attrs()`. - if maybe_cls is None: - return wrap - - return wrap(maybe_cls) - - -mutable = define -frozen = partial(define, frozen=True, on_setattr=None) - - -def field( - *, - default=NOTHING, - validator=None, - repr=True, - hash=None, - init=True, - metadata=None, - type=None, - converter=None, - factory=None, - kw_only=False, - eq=None, - order=None, - on_setattr=None, - alias=None, -): - """ - Create a new :term:`field` / :term:`attribute` on a class. - - .. warning:: - - Does **nothing** unless the class is also decorated with - `attrs.define` (or similar)! - - Args: - default: - A value that is used if an *attrs*-generated ``__init__`` is used - and no value is passed while instantiating or the attribute is - excluded using ``init=False``. - - If the value is an instance of `attrs.Factory`, its callable will - be used to construct a new value (useful for mutable data types - like lists or dicts). - - If a default is not set (or set manually to `attrs.NOTHING`), a - value *must* be supplied when instantiating; otherwise a - `TypeError` will be raised. - - .. seealso:: `defaults` - - factory (~typing.Callable): - Syntactic sugar for ``default=attr.Factory(factory)``. - - validator (~typing.Callable | list[~typing.Callable]): - Callable that is called by *attrs*-generated ``__init__`` methods - after the instance has been initialized. They receive the - initialized instance, the :func:`~attrs.Attribute`, and the passed - value. - - The return value is *not* inspected so the validator has to throw - an exception itself. - - If a `list` is passed, its items are treated as validators and must - all pass. - - Validators can be globally disabled and re-enabled using - `attrs.validators.get_disabled` / `attrs.validators.set_disabled`. - - The validator can also be set using decorator notation as shown - below. - - .. seealso:: :ref:`validators` - - repr (bool | ~typing.Callable): - Include this attribute in the generated ``__repr__`` method. If - True, include the attribute; if False, omit it. By default, the - built-in ``repr()`` function is used. To override how the attribute - value is formatted, pass a ``callable`` that takes a single value - and returns a string. Note that the resulting string is used as-is, - which means it will be used directly *instead* of calling - ``repr()`` (the default). - - eq (bool | ~typing.Callable): - If True (default), include this attribute in the generated - ``__eq__`` and ``__ne__`` methods that check two instances for - equality. To override how the attribute value is compared, pass a - callable that takes a single value and returns the value to be - compared. - - .. seealso:: `comparison` - - order (bool | ~typing.Callable): - If True (default), include this attributes in the generated - ``__lt__``, ``__le__``, ``__gt__`` and ``__ge__`` methods. To - override how the attribute value is ordered, pass a callable that - takes a single value and returns the value to be ordered. - - .. seealso:: `comparison` - - hash (bool | None): - Include this attribute in the generated ``__hash__`` method. If - None (default), mirror *eq*'s value. This is the correct behavior - according the Python spec. Setting this value to anything else - than None is *discouraged*. - - .. seealso:: `hashing` - - init (bool): - Include this attribute in the generated ``__init__`` method. - - It is possible to set this to False and set a default value. In - that case this attributed is unconditionally initialized with the - specified default value or factory. - - .. seealso:: `init` - - converter (typing.Callable | Converter): - A callable that is called by *attrs*-generated ``__init__`` methods - to convert attribute's value to the desired format. - - If a vanilla callable is passed, it is given the passed-in value as - the only positional argument. It is possible to receive additional - arguments by wrapping the callable in a `Converter`. - - Either way, the returned value will be used as the new value of the - attribute. The value is converted before being passed to the - validator, if any. - - .. seealso:: :ref:`converters` - - metadata (dict | None): - An arbitrary mapping, to be used by third-party code. - - .. seealso:: `extending-metadata`. - - type (type): - The type of the attribute. Nowadays, the preferred method to - specify the type is using a variable annotation (see :pep:`526`). - This argument is provided for backwards-compatibility and for usage - with `make_class`. Regardless of the approach used, the type will - be stored on ``Attribute.type``. - - Please note that *attrs* doesn't do anything with this metadata by - itself. You can use it as part of your own code or for `static type - checking `. - - kw_only (bool): - Make this attribute keyword-only in the generated ``__init__`` (if - ``init`` is False, this parameter is ignored). - - on_setattr (~typing.Callable | list[~typing.Callable] | None | ~typing.Literal[attrs.setters.NO_OP]): - Allows to overwrite the *on_setattr* setting from `attr.s`. If left - None, the *on_setattr* value from `attr.s` is used. Set to - `attrs.setters.NO_OP` to run **no** `setattr` hooks for this - attribute -- regardless of the setting in `define()`. - - alias (str | None): - Override this attribute's parameter name in the generated - ``__init__`` method. If left None, default to ``name`` stripped - of leading underscores. See `private-attributes`. - - .. versionadded:: 20.1.0 - .. versionchanged:: 21.1.0 - *eq*, *order*, and *cmp* also accept a custom callable - .. versionadded:: 22.2.0 *alias* - .. versionadded:: 23.1.0 - The *type* parameter has been re-added; mostly for `attrs.make_class`. - Please note that type checkers ignore this metadata. - - .. seealso:: - - `attr.ib` - """ - return attrib( - default=default, - validator=validator, - repr=repr, - hash=hash, - init=init, - metadata=metadata, - type=type, - converter=converter, - factory=factory, - kw_only=kw_only, - eq=eq, - order=order, - on_setattr=on_setattr, - alias=alias, - ) - - -def asdict(inst, *, recurse=True, filter=None, value_serializer=None): - """ - Same as `attr.asdict`, except that collections types are always retained - and dict is always used as *dict_factory*. - - .. versionadded:: 21.3.0 - """ - return _asdict( - inst=inst, - recurse=recurse, - filter=filter, - value_serializer=value_serializer, - retain_collection_types=True, - ) - - -def astuple(inst, *, recurse=True, filter=None): - """ - Same as `attr.astuple`, except that collections types are always retained - and `tuple` is always used as the *tuple_factory*. - - .. versionadded:: 21.3.0 - """ - return _astuple( - inst=inst, recurse=recurse, filter=filter, retain_collection_types=True - ) diff --git a/.venv/lib/python3.12/site-packages/attr/_typing_compat.pyi b/.venv/lib/python3.12/site-packages/attr/_typing_compat.pyi deleted file mode 100644 index ca7b71e9..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_typing_compat.pyi +++ /dev/null @@ -1,15 +0,0 @@ -from typing import Any, ClassVar, Protocol - -# MYPY is a special constant in mypy which works the same way as `TYPE_CHECKING`. -MYPY = False - -if MYPY: - # A protocol to be able to statically accept an attrs class. - class AttrsInstance_(Protocol): - __attrs_attrs__: ClassVar[Any] - -else: - # For type checkers without plug-in support use an empty protocol that - # will (hopefully) be combined into a union. - class AttrsInstance_(Protocol): - pass diff --git a/.venv/lib/python3.12/site-packages/attr/_version_info.py b/.venv/lib/python3.12/site-packages/attr/_version_info.py deleted file mode 100644 index 51a1312f..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_version_info.py +++ /dev/null @@ -1,86 +0,0 @@ -# SPDX-License-Identifier: MIT - - -from functools import total_ordering - -from ._funcs import astuple -from ._make import attrib, attrs - - -@total_ordering -@attrs(eq=False, order=False, slots=True, frozen=True) -class VersionInfo: - """ - A version object that can be compared to tuple of length 1--4: - - >>> attr.VersionInfo(19, 1, 0, "final") <= (19, 2) - True - >>> attr.VersionInfo(19, 1, 0, "final") < (19, 1, 1) - True - >>> vi = attr.VersionInfo(19, 2, 0, "final") - >>> vi < (19, 1, 1) - False - >>> vi < (19,) - False - >>> vi == (19, 2,) - True - >>> vi == (19, 2, 1) - False - - .. versionadded:: 19.2 - """ - - year = attrib(type=int) - minor = attrib(type=int) - micro = attrib(type=int) - releaselevel = attrib(type=str) - - @classmethod - def _from_version_string(cls, s): - """ - Parse *s* and return a _VersionInfo. - """ - v = s.split(".") - if len(v) == 3: - v.append("final") - - return cls( - year=int(v[0]), minor=int(v[1]), micro=int(v[2]), releaselevel=v[3] - ) - - def _ensure_tuple(self, other): - """ - Ensure *other* is a tuple of a valid length. - - Returns a possibly transformed *other* and ourselves as a tuple of - the same length as *other*. - """ - - if self.__class__ is other.__class__: - other = astuple(other) - - if not isinstance(other, tuple): - raise NotImplementedError - - if not (1 <= len(other) <= 4): - raise NotImplementedError - - return astuple(self)[: len(other)], other - - def __eq__(self, other): - try: - us, them = self._ensure_tuple(other) - except NotImplementedError: - return NotImplemented - - return us == them - - def __lt__(self, other): - try: - us, them = self._ensure_tuple(other) - except NotImplementedError: - return NotImplemented - - # Since alphabetically "dev0" < "final" < "post1" < "post2", we don't - # have to do anything special with releaselevel for now. - return us < them diff --git a/.venv/lib/python3.12/site-packages/attr/_version_info.pyi b/.venv/lib/python3.12/site-packages/attr/_version_info.pyi deleted file mode 100644 index 45ced086..00000000 --- a/.venv/lib/python3.12/site-packages/attr/_version_info.pyi +++ /dev/null @@ -1,9 +0,0 @@ -class VersionInfo: - @property - def year(self) -> int: ... - @property - def minor(self) -> int: ... - @property - def micro(self) -> int: ... - @property - def releaselevel(self) -> str: ... diff --git a/.venv/lib/python3.12/site-packages/attr/converters.py b/.venv/lib/python3.12/site-packages/attr/converters.py deleted file mode 100644 index 0a79deef..00000000 --- a/.venv/lib/python3.12/site-packages/attr/converters.py +++ /dev/null @@ -1,162 +0,0 @@ -# SPDX-License-Identifier: MIT - -""" -Commonly useful converters. -""" - -import typing - -from ._compat import _AnnotationExtractor -from ._make import NOTHING, Converter, Factory, pipe - - -__all__ = [ - "default_if_none", - "optional", - "pipe", - "to_bool", -] - - -def optional(converter): - """ - A converter that allows an attribute to be optional. An optional attribute - is one which can be set to `None`. - - Type annotations will be inferred from the wrapped converter's, if it has - any. - - Args: - converter (typing.Callable): - the converter that is used for non-`None` values. - - .. versionadded:: 17.1.0 - """ - - if isinstance(converter, Converter): - - def optional_converter(val, inst, field): - if val is None: - return None - return converter(val, inst, field) - - else: - - def optional_converter(val): - if val is None: - return None - return converter(val) - - xtr = _AnnotationExtractor(converter) - - t = xtr.get_first_param_type() - if t: - optional_converter.__annotations__["val"] = typing.Optional[t] - - rt = xtr.get_return_type() - if rt: - optional_converter.__annotations__["return"] = typing.Optional[rt] - - if isinstance(converter, Converter): - return Converter(optional_converter, takes_self=True, takes_field=True) - - return optional_converter - - -def default_if_none(default=NOTHING, factory=None): - """ - A converter that allows to replace `None` values by *default* or the result - of *factory*. - - Args: - default: - Value to be used if `None` is passed. Passing an instance of - `attrs.Factory` is supported, however the ``takes_self`` option is - *not*. - - factory (typing.Callable): - A callable that takes no parameters whose result is used if `None` - is passed. - - Raises: - TypeError: If **neither** *default* or *factory* is passed. - - TypeError: If **both** *default* and *factory* are passed. - - ValueError: - If an instance of `attrs.Factory` is passed with - ``takes_self=True``. - - .. versionadded:: 18.2.0 - """ - if default is NOTHING and factory is None: - msg = "Must pass either `default` or `factory`." - raise TypeError(msg) - - if default is not NOTHING and factory is not None: - msg = "Must pass either `default` or `factory` but not both." - raise TypeError(msg) - - if factory is not None: - default = Factory(factory) - - if isinstance(default, Factory): - if default.takes_self: - msg = "`takes_self` is not supported by default_if_none." - raise ValueError(msg) - - def default_if_none_converter(val): - if val is not None: - return val - - return default.factory() - - else: - - def default_if_none_converter(val): - if val is not None: - return val - - return default - - return default_if_none_converter - - -def to_bool(val): - """ - Convert "boolean" strings (for example, from environment variables) to real - booleans. - - Values mapping to `True`: - - - ``True`` - - ``"true"`` / ``"t"`` - - ``"yes"`` / ``"y"`` - - ``"on"`` - - ``"1"`` - - ``1`` - - Values mapping to `False`: - - - ``False`` - - ``"false"`` / ``"f"`` - - ``"no"`` / ``"n"`` - - ``"off"`` - - ``"0"`` - - ``0`` - - Raises: - ValueError: For any other value. - - .. versionadded:: 21.3.0 - """ - if isinstance(val, str): - val = val.lower() - - if val in (True, "true", "t", "yes", "y", "on", "1", 1): - return True - if val in (False, "false", "f", "no", "n", "off", "0", 0): - return False - - msg = f"Cannot convert value to bool: {val!r}" - raise ValueError(msg) diff --git a/.venv/lib/python3.12/site-packages/attr/converters.pyi b/.venv/lib/python3.12/site-packages/attr/converters.pyi deleted file mode 100644 index 12bd0c4f..00000000 --- a/.venv/lib/python3.12/site-packages/attr/converters.pyi +++ /dev/null @@ -1,19 +0,0 @@ -from typing import Callable, Any, overload - -from attrs import _ConverterType, _CallableConverterType - -@overload -def pipe(*validators: _CallableConverterType) -> _CallableConverterType: ... -@overload -def pipe(*validators: _ConverterType) -> _ConverterType: ... -@overload -def optional(converter: _CallableConverterType) -> _CallableConverterType: ... -@overload -def optional(converter: _ConverterType) -> _ConverterType: ... -@overload -def default_if_none(default: Any) -> _CallableConverterType: ... -@overload -def default_if_none( - *, factory: Callable[[], Any] -) -> _CallableConverterType: ... -def to_bool(val: str | int | bool) -> bool: ... diff --git a/.venv/lib/python3.12/site-packages/attr/exceptions.py b/.venv/lib/python3.12/site-packages/attr/exceptions.py deleted file mode 100644 index 3b7abb81..00000000 --- a/.venv/lib/python3.12/site-packages/attr/exceptions.py +++ /dev/null @@ -1,95 +0,0 @@ -# SPDX-License-Identifier: MIT - -from __future__ import annotations - -from typing import ClassVar - - -class FrozenError(AttributeError): - """ - A frozen/immutable instance or attribute have been attempted to be - modified. - - It mirrors the behavior of ``namedtuples`` by using the same error message - and subclassing `AttributeError`. - - .. versionadded:: 20.1.0 - """ - - msg = "can't set attribute" - args: ClassVar[tuple[str]] = [msg] - - -class FrozenInstanceError(FrozenError): - """ - A frozen instance has been attempted to be modified. - - .. versionadded:: 16.1.0 - """ - - -class FrozenAttributeError(FrozenError): - """ - A frozen attribute has been attempted to be modified. - - .. versionadded:: 20.1.0 - """ - - -class AttrsAttributeNotFoundError(ValueError): - """ - An *attrs* function couldn't find an attribute that the user asked for. - - .. versionadded:: 16.2.0 - """ - - -class NotAnAttrsClassError(ValueError): - """ - A non-*attrs* class has been passed into an *attrs* function. - - .. versionadded:: 16.2.0 - """ - - -class DefaultAlreadySetError(RuntimeError): - """ - A default has been set when defining the field and is attempted to be reset - using the decorator. - - .. versionadded:: 17.1.0 - """ - - -class UnannotatedAttributeError(RuntimeError): - """ - A class with ``auto_attribs=True`` has a field without a type annotation. - - .. versionadded:: 17.3.0 - """ - - -class PythonTooOldError(RuntimeError): - """ - It was attempted to use an *attrs* feature that requires a newer Python - version. - - .. versionadded:: 18.2.0 - """ - - -class NotCallableError(TypeError): - """ - A field requiring a callable has been set with a value that is not - callable. - - .. versionadded:: 19.2.0 - """ - - def __init__(self, msg, value): - super(TypeError, self).__init__(msg, value) - self.msg = msg - self.value = value - - def __str__(self): - return str(self.msg) diff --git a/.venv/lib/python3.12/site-packages/attr/exceptions.pyi b/.venv/lib/python3.12/site-packages/attr/exceptions.pyi deleted file mode 100644 index f2680118..00000000 --- a/.venv/lib/python3.12/site-packages/attr/exceptions.pyi +++ /dev/null @@ -1,17 +0,0 @@ -from typing import Any - -class FrozenError(AttributeError): - msg: str = ... - -class FrozenInstanceError(FrozenError): ... -class FrozenAttributeError(FrozenError): ... -class AttrsAttributeNotFoundError(ValueError): ... -class NotAnAttrsClassError(ValueError): ... -class DefaultAlreadySetError(RuntimeError): ... -class UnannotatedAttributeError(RuntimeError): ... -class PythonTooOldError(RuntimeError): ... - -class NotCallableError(TypeError): - msg: str = ... - value: Any = ... - def __init__(self, msg: str, value: Any) -> None: ... diff --git a/.venv/lib/python3.12/site-packages/attr/filters.py b/.venv/lib/python3.12/site-packages/attr/filters.py deleted file mode 100644 index 689b1705..00000000 --- a/.venv/lib/python3.12/site-packages/attr/filters.py +++ /dev/null @@ -1,72 +0,0 @@ -# SPDX-License-Identifier: MIT - -""" -Commonly useful filters for `attrs.asdict` and `attrs.astuple`. -""" - -from ._make import Attribute - - -def _split_what(what): - """ - Returns a tuple of `frozenset`s of classes and attributes. - """ - return ( - frozenset(cls for cls in what if isinstance(cls, type)), - frozenset(cls for cls in what if isinstance(cls, str)), - frozenset(cls for cls in what if isinstance(cls, Attribute)), - ) - - -def include(*what): - """ - Create a filter that only allows *what*. - - Args: - what (list[type, str, attrs.Attribute]): - What to include. Can be a type, a name, or an attribute. - - Returns: - Callable: - A callable that can be passed to `attrs.asdict`'s and - `attrs.astuple`'s *filter* argument. - - .. versionchanged:: 23.1.0 Accept strings with field names. - """ - cls, names, attrs = _split_what(what) - - def include_(attribute, value): - return ( - value.__class__ in cls - or attribute.name in names - or attribute in attrs - ) - - return include_ - - -def exclude(*what): - """ - Create a filter that does **not** allow *what*. - - Args: - what (list[type, str, attrs.Attribute]): - What to exclude. Can be a type, a name, or an attribute. - - Returns: - Callable: - A callable that can be passed to `attrs.asdict`'s and - `attrs.astuple`'s *filter* argument. - - .. versionchanged:: 23.3.0 Accept field name string as input argument - """ - cls, names, attrs = _split_what(what) - - def exclude_(attribute, value): - return not ( - value.__class__ in cls - or attribute.name in names - or attribute in attrs - ) - - return exclude_ diff --git a/.venv/lib/python3.12/site-packages/attr/filters.pyi b/.venv/lib/python3.12/site-packages/attr/filters.pyi deleted file mode 100644 index 974abdcd..00000000 --- a/.venv/lib/python3.12/site-packages/attr/filters.pyi +++ /dev/null @@ -1,6 +0,0 @@ -from typing import Any - -from . import Attribute, _FilterType - -def include(*what: type | str | Attribute[Any]) -> _FilterType[Any]: ... -def exclude(*what: type | str | Attribute[Any]) -> _FilterType[Any]: ... diff --git a/.venv/lib/python3.12/site-packages/attr/py.typed b/.venv/lib/python3.12/site-packages/attr/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/attr/setters.py b/.venv/lib/python3.12/site-packages/attr/setters.py deleted file mode 100644 index 78b08398..00000000 --- a/.venv/lib/python3.12/site-packages/attr/setters.py +++ /dev/null @@ -1,79 +0,0 @@ -# SPDX-License-Identifier: MIT - -""" -Commonly used hooks for on_setattr. -""" - -from . import _config -from .exceptions import FrozenAttributeError - - -def pipe(*setters): - """ - Run all *setters* and return the return value of the last one. - - .. versionadded:: 20.1.0 - """ - - def wrapped_pipe(instance, attrib, new_value): - rv = new_value - - for setter in setters: - rv = setter(instance, attrib, rv) - - return rv - - return wrapped_pipe - - -def frozen(_, __, ___): - """ - Prevent an attribute to be modified. - - .. versionadded:: 20.1.0 - """ - raise FrozenAttributeError - - -def validate(instance, attrib, new_value): - """ - Run *attrib*'s validator on *new_value* if it has one. - - .. versionadded:: 20.1.0 - """ - if _config._run_validators is False: - return new_value - - v = attrib.validator - if not v: - return new_value - - v(instance, attrib, new_value) - - return new_value - - -def convert(instance, attrib, new_value): - """ - Run *attrib*'s converter -- if it has one -- on *new_value* and return the - result. - - .. versionadded:: 20.1.0 - """ - c = attrib.converter - if c: - # This can be removed once we drop 3.8 and use attrs.Converter instead. - from ._make import Converter - - if not isinstance(c, Converter): - return c(new_value) - - return c(new_value, instance, attrib) - - return new_value - - -# Sentinel for disabling class-wide *on_setattr* hooks for certain attributes. -# Sphinx's autodata stopped working, so the docstring is inlined in the API -# docs. -NO_OP = object() diff --git a/.venv/lib/python3.12/site-packages/attr/setters.pyi b/.venv/lib/python3.12/site-packages/attr/setters.pyi deleted file mode 100644 index 73abf36e..00000000 --- a/.venv/lib/python3.12/site-packages/attr/setters.pyi +++ /dev/null @@ -1,20 +0,0 @@ -from typing import Any, NewType, NoReturn, TypeVar - -from . import Attribute -from attrs import _OnSetAttrType - -_T = TypeVar("_T") - -def frozen( - instance: Any, attribute: Attribute[Any], new_value: Any -) -> NoReturn: ... -def pipe(*setters: _OnSetAttrType) -> _OnSetAttrType: ... -def validate(instance: Any, attribute: Attribute[_T], new_value: _T) -> _T: ... - -# convert is allowed to return Any, because they can be chained using pipe. -def convert( - instance: Any, attribute: Attribute[Any], new_value: Any -) -> Any: ... - -_NoOpType = NewType("_NoOpType", object) -NO_OP: _NoOpType diff --git a/.venv/lib/python3.12/site-packages/attr/validators.py b/.venv/lib/python3.12/site-packages/attr/validators.py deleted file mode 100644 index e7b75525..00000000 --- a/.venv/lib/python3.12/site-packages/attr/validators.py +++ /dev/null @@ -1,710 +0,0 @@ -# SPDX-License-Identifier: MIT - -""" -Commonly useful validators. -""" - -import operator -import re - -from contextlib import contextmanager -from re import Pattern - -from ._config import get_run_validators, set_run_validators -from ._make import _AndValidator, and_, attrib, attrs -from .converters import default_if_none -from .exceptions import NotCallableError - - -__all__ = [ - "and_", - "deep_iterable", - "deep_mapping", - "disabled", - "ge", - "get_disabled", - "gt", - "in_", - "instance_of", - "is_callable", - "le", - "lt", - "matches_re", - "max_len", - "min_len", - "not_", - "optional", - "or_", - "set_disabled", -] - - -def set_disabled(disabled): - """ - Globally disable or enable running validators. - - By default, they are run. - - Args: - disabled (bool): If `True`, disable running all validators. - - .. warning:: - - This function is not thread-safe! - - .. versionadded:: 21.3.0 - """ - set_run_validators(not disabled) - - -def get_disabled(): - """ - Return a bool indicating whether validators are currently disabled or not. - - Returns: - bool:`True` if validators are currently disabled. - - .. versionadded:: 21.3.0 - """ - return not get_run_validators() - - -@contextmanager -def disabled(): - """ - Context manager that disables running validators within its context. - - .. warning:: - - This context manager is not thread-safe! - - .. versionadded:: 21.3.0 - """ - set_run_validators(False) - try: - yield - finally: - set_run_validators(True) - - -@attrs(repr=False, slots=True, unsafe_hash=True) -class _InstanceOfValidator: - type = attrib() - - def __call__(self, inst, attr, value): - """ - We use a callable class to be able to change the ``__repr__``. - """ - if not isinstance(value, self.type): - msg = f"'{attr.name}' must be {self.type!r} (got {value!r} that is a {value.__class__!r})." - raise TypeError( - msg, - attr, - self.type, - value, - ) - - def __repr__(self): - return f"" - - -def instance_of(type): - """ - A validator that raises a `TypeError` if the initializer is called with a - wrong type for this particular attribute (checks are performed using - `isinstance` therefore it's also valid to pass a tuple of types). - - Args: - type (type | tuple[type]): The type to check for. - - Raises: - TypeError: - With a human readable error message, the attribute (of type - `attrs.Attribute`), the expected type, and the value it got. - """ - return _InstanceOfValidator(type) - - -@attrs(repr=False, frozen=True, slots=True) -class _MatchesReValidator: - pattern = attrib() - match_func = attrib() - - def __call__(self, inst, attr, value): - """ - We use a callable class to be able to change the ``__repr__``. - """ - if not self.match_func(value): - msg = f"'{attr.name}' must match regex {self.pattern.pattern!r} ({value!r} doesn't)" - raise ValueError( - msg, - attr, - self.pattern, - value, - ) - - def __repr__(self): - return f"" - - -def matches_re(regex, flags=0, func=None): - r""" - A validator that raises `ValueError` if the initializer is called with a - string that doesn't match *regex*. - - Args: - regex (str, re.Pattern): - A regex string or precompiled pattern to match against - - flags (int): - Flags that will be passed to the underlying re function (default 0) - - func (typing.Callable): - Which underlying `re` function to call. Valid options are - `re.fullmatch`, `re.search`, and `re.match`; the default `None` - means `re.fullmatch`. For performance reasons, the pattern is - always precompiled using `re.compile`. - - .. versionadded:: 19.2.0 - .. versionchanged:: 21.3.0 *regex* can be a pre-compiled pattern. - """ - valid_funcs = (re.fullmatch, None, re.search, re.match) - if func not in valid_funcs: - msg = "'func' must be one of {}.".format( - ", ".join( - sorted((e and e.__name__) or "None" for e in set(valid_funcs)) - ) - ) - raise ValueError(msg) - - if isinstance(regex, Pattern): - if flags: - msg = "'flags' can only be used with a string pattern; pass flags to re.compile() instead" - raise TypeError(msg) - pattern = regex - else: - pattern = re.compile(regex, flags) - - if func is re.match: - match_func = pattern.match - elif func is re.search: - match_func = pattern.search - else: - match_func = pattern.fullmatch - - return _MatchesReValidator(pattern, match_func) - - -@attrs(repr=False, slots=True, unsafe_hash=True) -class _OptionalValidator: - validator = attrib() - - def __call__(self, inst, attr, value): - if value is None: - return - - self.validator(inst, attr, value) - - def __repr__(self): - return f"" - - -def optional(validator): - """ - A validator that makes an attribute optional. An optional attribute is one - which can be set to `None` in addition to satisfying the requirements of - the sub-validator. - - Args: - validator - (typing.Callable | tuple[typing.Callable] | list[typing.Callable]): - A validator (or validators) that is used for non-`None` values. - - .. versionadded:: 15.1.0 - .. versionchanged:: 17.1.0 *validator* can be a list of validators. - .. versionchanged:: 23.1.0 *validator* can also be a tuple of validators. - """ - if isinstance(validator, (list, tuple)): - return _OptionalValidator(_AndValidator(validator)) - - return _OptionalValidator(validator) - - -@attrs(repr=False, slots=True, unsafe_hash=True) -class _InValidator: - options = attrib() - _original_options = attrib(hash=False) - - def __call__(self, inst, attr, value): - try: - in_options = value in self.options - except TypeError: # e.g. `1 in "abc"` - in_options = False - - if not in_options: - msg = f"'{attr.name}' must be in {self._original_options!r} (got {value!r})" - raise ValueError( - msg, - attr, - self._original_options, - value, - ) - - def __repr__(self): - return f"" - - -def in_(options): - """ - A validator that raises a `ValueError` if the initializer is called with a - value that does not belong in the *options* provided. - - The check is performed using ``value in options``, so *options* has to - support that operation. - - To keep the validator hashable, dicts, lists, and sets are transparently - transformed into a `tuple`. - - Args: - options: Allowed options. - - Raises: - ValueError: - With a human readable error message, the attribute (of type - `attrs.Attribute`), the expected options, and the value it got. - - .. versionadded:: 17.1.0 - .. versionchanged:: 22.1.0 - The ValueError was incomplete until now and only contained the human - readable error message. Now it contains all the information that has - been promised since 17.1.0. - .. versionchanged:: 24.1.0 - *options* that are a list, dict, or a set are now transformed into a - tuple to keep the validator hashable. - """ - repr_options = options - if isinstance(options, (list, dict, set)): - options = tuple(options) - - return _InValidator(options, repr_options) - - -@attrs(repr=False, slots=False, unsafe_hash=True) -class _IsCallableValidator: - def __call__(self, inst, attr, value): - """ - We use a callable class to be able to change the ``__repr__``. - """ - if not callable(value): - message = ( - "'{name}' must be callable " - "(got {value!r} that is a {actual!r})." - ) - raise NotCallableError( - msg=message.format( - name=attr.name, value=value, actual=value.__class__ - ), - value=value, - ) - - def __repr__(self): - return "" - - -def is_callable(): - """ - A validator that raises a `attrs.exceptions.NotCallableError` if the - initializer is called with a value for this particular attribute that is - not callable. - - .. versionadded:: 19.1.0 - - Raises: - attrs.exceptions.NotCallableError: - With a human readable error message containing the attribute - (`attrs.Attribute`) name, and the value it got. - """ - return _IsCallableValidator() - - -@attrs(repr=False, slots=True, unsafe_hash=True) -class _DeepIterable: - member_validator = attrib(validator=is_callable()) - iterable_validator = attrib( - default=None, validator=optional(is_callable()) - ) - - def __call__(self, inst, attr, value): - """ - We use a callable class to be able to change the ``__repr__``. - """ - if self.iterable_validator is not None: - self.iterable_validator(inst, attr, value) - - for member in value: - self.member_validator(inst, attr, member) - - def __repr__(self): - iterable_identifier = ( - "" - if self.iterable_validator is None - else f" {self.iterable_validator!r}" - ) - return ( - f"" - ) - - -def deep_iterable(member_validator, iterable_validator=None): - """ - A validator that performs deep validation of an iterable. - - Args: - member_validator: Validator to apply to iterable members. - - iterable_validator: - Validator to apply to iterable itself (optional). - - Raises - TypeError: if any sub-validators fail - - .. versionadded:: 19.1.0 - """ - if isinstance(member_validator, (list, tuple)): - member_validator = and_(*member_validator) - return _DeepIterable(member_validator, iterable_validator) - - -@attrs(repr=False, slots=True, unsafe_hash=True) -class _DeepMapping: - key_validator = attrib(validator=is_callable()) - value_validator = attrib(validator=is_callable()) - mapping_validator = attrib(default=None, validator=optional(is_callable())) - - def __call__(self, inst, attr, value): - """ - We use a callable class to be able to change the ``__repr__``. - """ - if self.mapping_validator is not None: - self.mapping_validator(inst, attr, value) - - for key in value: - self.key_validator(inst, attr, key) - self.value_validator(inst, attr, value[key]) - - def __repr__(self): - return f"" - - -def deep_mapping(key_validator, value_validator, mapping_validator=None): - """ - A validator that performs deep validation of a dictionary. - - Args: - key_validator: Validator to apply to dictionary keys. - - value_validator: Validator to apply to dictionary values. - - mapping_validator: - Validator to apply to top-level mapping attribute (optional). - - .. versionadded:: 19.1.0 - - Raises: - TypeError: if any sub-validators fail - """ - return _DeepMapping(key_validator, value_validator, mapping_validator) - - -@attrs(repr=False, frozen=True, slots=True) -class _NumberValidator: - bound = attrib() - compare_op = attrib() - compare_func = attrib() - - def __call__(self, inst, attr, value): - """ - We use a callable class to be able to change the ``__repr__``. - """ - if not self.compare_func(value, self.bound): - msg = f"'{attr.name}' must be {self.compare_op} {self.bound}: {value}" - raise ValueError(msg) - - def __repr__(self): - return f"" - - -def lt(val): - """ - A validator that raises `ValueError` if the initializer is called with a - number larger or equal to *val*. - - The validator uses `operator.lt` to compare the values. - - Args: - val: Exclusive upper bound for values. - - .. versionadded:: 21.3.0 - """ - return _NumberValidator(val, "<", operator.lt) - - -def le(val): - """ - A validator that raises `ValueError` if the initializer is called with a - number greater than *val*. - - The validator uses `operator.le` to compare the values. - - Args: - val: Inclusive upper bound for values. - - .. versionadded:: 21.3.0 - """ - return _NumberValidator(val, "<=", operator.le) - - -def ge(val): - """ - A validator that raises `ValueError` if the initializer is called with a - number smaller than *val*. - - The validator uses `operator.ge` to compare the values. - - Args: - val: Inclusive lower bound for values - - .. versionadded:: 21.3.0 - """ - return _NumberValidator(val, ">=", operator.ge) - - -def gt(val): - """ - A validator that raises `ValueError` if the initializer is called with a - number smaller or equal to *val*. - - The validator uses `operator.ge` to compare the values. - - Args: - val: Exclusive lower bound for values - - .. versionadded:: 21.3.0 - """ - return _NumberValidator(val, ">", operator.gt) - - -@attrs(repr=False, frozen=True, slots=True) -class _MaxLengthValidator: - max_length = attrib() - - def __call__(self, inst, attr, value): - """ - We use a callable class to be able to change the ``__repr__``. - """ - if len(value) > self.max_length: - msg = f"Length of '{attr.name}' must be <= {self.max_length}: {len(value)}" - raise ValueError(msg) - - def __repr__(self): - return f"" - - -def max_len(length): - """ - A validator that raises `ValueError` if the initializer is called - with a string or iterable that is longer than *length*. - - Args: - length (int): Maximum length of the string or iterable - - .. versionadded:: 21.3.0 - """ - return _MaxLengthValidator(length) - - -@attrs(repr=False, frozen=True, slots=True) -class _MinLengthValidator: - min_length = attrib() - - def __call__(self, inst, attr, value): - """ - We use a callable class to be able to change the ``__repr__``. - """ - if len(value) < self.min_length: - msg = f"Length of '{attr.name}' must be >= {self.min_length}: {len(value)}" - raise ValueError(msg) - - def __repr__(self): - return f"" - - -def min_len(length): - """ - A validator that raises `ValueError` if the initializer is called - with a string or iterable that is shorter than *length*. - - Args: - length (int): Minimum length of the string or iterable - - .. versionadded:: 22.1.0 - """ - return _MinLengthValidator(length) - - -@attrs(repr=False, slots=True, unsafe_hash=True) -class _SubclassOfValidator: - type = attrib() - - def __call__(self, inst, attr, value): - """ - We use a callable class to be able to change the ``__repr__``. - """ - if not issubclass(value, self.type): - msg = f"'{attr.name}' must be a subclass of {self.type!r} (got {value!r})." - raise TypeError( - msg, - attr, - self.type, - value, - ) - - def __repr__(self): - return f"" - - -def _subclass_of(type): - """ - A validator that raises a `TypeError` if the initializer is called with a - wrong type for this particular attribute (checks are performed using - `issubclass` therefore it's also valid to pass a tuple of types). - - Args: - type (type | tuple[type, ...]): The type(s) to check for. - - Raises: - TypeError: - With a human readable error message, the attribute (of type - `attrs.Attribute`), the expected type, and the value it got. - """ - return _SubclassOfValidator(type) - - -@attrs(repr=False, slots=True, unsafe_hash=True) -class _NotValidator: - validator = attrib() - msg = attrib( - converter=default_if_none( - "not_ validator child '{validator!r}' " - "did not raise a captured error" - ) - ) - exc_types = attrib( - validator=deep_iterable( - member_validator=_subclass_of(Exception), - iterable_validator=instance_of(tuple), - ), - ) - - def __call__(self, inst, attr, value): - try: - self.validator(inst, attr, value) - except self.exc_types: - pass # suppress error to invert validity - else: - raise ValueError( - self.msg.format( - validator=self.validator, - exc_types=self.exc_types, - ), - attr, - self.validator, - value, - self.exc_types, - ) - - def __repr__(self): - return f"" - - -def not_(validator, *, msg=None, exc_types=(ValueError, TypeError)): - """ - A validator that wraps and logically 'inverts' the validator passed to it. - It will raise a `ValueError` if the provided validator *doesn't* raise a - `ValueError` or `TypeError` (by default), and will suppress the exception - if the provided validator *does*. - - Intended to be used with existing validators to compose logic without - needing to create inverted variants, for example, ``not_(in_(...))``. - - Args: - validator: A validator to be logically inverted. - - msg (str): - Message to raise if validator fails. Formatted with keys - ``exc_types`` and ``validator``. - - exc_types (tuple[type, ...]): - Exception type(s) to capture. Other types raised by child - validators will not be intercepted and pass through. - - Raises: - ValueError: - With a human readable error message, the attribute (of type - `attrs.Attribute`), the validator that failed to raise an - exception, the value it got, and the expected exception types. - - .. versionadded:: 22.2.0 - """ - try: - exc_types = tuple(exc_types) - except TypeError: - exc_types = (exc_types,) - return _NotValidator(validator, msg, exc_types) - - -@attrs(repr=False, slots=True, unsafe_hash=True) -class _OrValidator: - validators = attrib() - - def __call__(self, inst, attr, value): - for v in self.validators: - try: - v(inst, attr, value) - except Exception: # noqa: BLE001, PERF203, S112 - continue - else: - return - - msg = f"None of {self.validators!r} satisfied for value {value!r}" - raise ValueError(msg) - - def __repr__(self): - return f"" - - -def or_(*validators): - """ - A validator that composes multiple validators into one. - - When called on a value, it runs all wrapped validators until one of them is - satisfied. - - Args: - validators (~collections.abc.Iterable[typing.Callable]): - Arbitrary number of validators. - - Raises: - ValueError: - If no validator is satisfied. Raised with a human-readable error - message listing all the wrapped validators and the value that - failed all of them. - - .. versionadded:: 24.1.0 - """ - vals = [] - for v in validators: - vals.extend(v.validators if isinstance(v, _OrValidator) else [v]) - - return _OrValidator(tuple(vals)) diff --git a/.venv/lib/python3.12/site-packages/attr/validators.pyi b/.venv/lib/python3.12/site-packages/attr/validators.pyi deleted file mode 100644 index a0fdda7c..00000000 --- a/.venv/lib/python3.12/site-packages/attr/validators.pyi +++ /dev/null @@ -1,86 +0,0 @@ -from types import UnionType -from typing import ( - Any, - AnyStr, - Callable, - Container, - ContextManager, - Iterable, - Mapping, - Match, - Pattern, - TypeVar, - overload, -) - -from attrs import _ValidatorType -from attrs import _ValidatorArgType - -_T = TypeVar("_T") -_T1 = TypeVar("_T1") -_T2 = TypeVar("_T2") -_T3 = TypeVar("_T3") -_I = TypeVar("_I", bound=Iterable) -_K = TypeVar("_K") -_V = TypeVar("_V") -_M = TypeVar("_M", bound=Mapping) - -def set_disabled(run: bool) -> None: ... -def get_disabled() -> bool: ... -def disabled() -> ContextManager[None]: ... - -# To be more precise on instance_of use some overloads. -# If there are more than 3 items in the tuple then we fall back to Any -@overload -def instance_of(type: type[_T]) -> _ValidatorType[_T]: ... -@overload -def instance_of(type: tuple[type[_T]]) -> _ValidatorType[_T]: ... -@overload -def instance_of( - type: tuple[type[_T1], type[_T2]], -) -> _ValidatorType[_T1 | _T2]: ... -@overload -def instance_of( - type: tuple[type[_T1], type[_T2], type[_T3]], -) -> _ValidatorType[_T1 | _T2 | _T3]: ... -@overload -def instance_of(type: tuple[type, ...]) -> _ValidatorType[Any]: ... -@overload -def instance_of(type: UnionType) -> _ValidatorType[Any]: ... -def optional( - validator: ( - _ValidatorType[_T] - | list[_ValidatorType[_T]] - | tuple[_ValidatorType[_T]] - ), -) -> _ValidatorType[_T | None]: ... -def in_(options: Container[_T]) -> _ValidatorType[_T]: ... -def and_(*validators: _ValidatorType[_T]) -> _ValidatorType[_T]: ... -def matches_re( - regex: Pattern[AnyStr] | AnyStr, - flags: int = ..., - func: Callable[[AnyStr, AnyStr, int], Match[AnyStr] | None] | None = ..., -) -> _ValidatorType[AnyStr]: ... -def deep_iterable( - member_validator: _ValidatorArgType[_T], - iterable_validator: _ValidatorType[_I] | None = ..., -) -> _ValidatorType[_I]: ... -def deep_mapping( - key_validator: _ValidatorType[_K], - value_validator: _ValidatorType[_V], - mapping_validator: _ValidatorType[_M] | None = ..., -) -> _ValidatorType[_M]: ... -def is_callable() -> _ValidatorType[_T]: ... -def lt(val: _T) -> _ValidatorType[_T]: ... -def le(val: _T) -> _ValidatorType[_T]: ... -def ge(val: _T) -> _ValidatorType[_T]: ... -def gt(val: _T) -> _ValidatorType[_T]: ... -def max_len(length: int) -> _ValidatorType[_T]: ... -def min_len(length: int) -> _ValidatorType[_T]: ... -def not_( - validator: _ValidatorType[_T], - *, - msg: str | None = None, - exc_types: type[Exception] | Iterable[type[Exception]] = ..., -) -> _ValidatorType[_T]: ... -def or_(*validators: _ValidatorType[_T]) -> _ValidatorType[_T]: ... diff --git a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/METADATA deleted file mode 100644 index e994a6ca..00000000 --- a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/METADATA +++ /dev/null @@ -1,246 +0,0 @@ -Metadata-Version: 2.4 -Name: attrs -Version: 24.3.0 -Summary: Classes Without Boilerplate -Project-URL: Documentation, https://www.attrs.org/ -Project-URL: Changelog, https://www.attrs.org/en/stable/changelog.html -Project-URL: GitHub, https://github.com/python-attrs/attrs -Project-URL: Funding, https://github.com/sponsors/hynek -Project-URL: Tidelift, https://tidelift.com/subscription/pkg/pypi-attrs?utm_source=pypi-attrs&utm_medium=pypi -Author-email: Hynek Schlawack -License-Expression: MIT -License-File: LICENSE -Keywords: attribute,boilerplate,class -Classifier: Development Status :: 5 - Production/Stable -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 -Requires-Python: >=3.8 -Provides-Extra: benchmark -Requires-Dist: cloudpickle; (platform_python_implementation == 'CPython') and extra == 'benchmark' -Requires-Dist: hypothesis; extra == 'benchmark' -Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'benchmark' -Requires-Dist: pympler; extra == 'benchmark' -Requires-Dist: pytest-codspeed; extra == 'benchmark' -Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'benchmark' -Requires-Dist: pytest-xdist[psutil]; extra == 'benchmark' -Requires-Dist: pytest>=4.3.0; extra == 'benchmark' -Provides-Extra: cov -Requires-Dist: cloudpickle; (platform_python_implementation == 'CPython') and extra == 'cov' -Requires-Dist: coverage[toml]>=5.3; extra == 'cov' -Requires-Dist: hypothesis; extra == 'cov' -Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'cov' -Requires-Dist: pympler; extra == 'cov' -Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'cov' -Requires-Dist: pytest-xdist[psutil]; extra == 'cov' -Requires-Dist: pytest>=4.3.0; extra == 'cov' -Provides-Extra: dev -Requires-Dist: cloudpickle; (platform_python_implementation == 'CPython') and extra == 'dev' -Requires-Dist: hypothesis; extra == 'dev' -Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'dev' -Requires-Dist: pre-commit-uv; extra == 'dev' -Requires-Dist: pympler; extra == 'dev' -Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'dev' -Requires-Dist: pytest-xdist[psutil]; extra == 'dev' -Requires-Dist: pytest>=4.3.0; extra == 'dev' -Provides-Extra: docs -Requires-Dist: cogapp; extra == 'docs' -Requires-Dist: furo; extra == 'docs' -Requires-Dist: myst-parser; extra == 'docs' -Requires-Dist: sphinx; extra == 'docs' -Requires-Dist: sphinx-notfound-page; extra == 'docs' -Requires-Dist: sphinxcontrib-towncrier; extra == 'docs' -Requires-Dist: towncrier<24.7; extra == 'docs' -Provides-Extra: tests -Requires-Dist: cloudpickle; (platform_python_implementation == 'CPython') and extra == 'tests' -Requires-Dist: hypothesis; extra == 'tests' -Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'tests' -Requires-Dist: pympler; extra == 'tests' -Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'tests' -Requires-Dist: pytest-xdist[psutil]; extra == 'tests' -Requires-Dist: pytest>=4.3.0; extra == 'tests' -Provides-Extra: tests-mypy -Requires-Dist: mypy>=1.11.1; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'tests-mypy' -Requires-Dist: pytest-mypy-plugins; (platform_python_implementation == 'CPython' and python_version >= '3.10') and extra == 'tests-mypy' -Description-Content-Type: text/markdown - -

- - attrs - -

- - -*attrs* is the Python package that will bring back the **joy** of **writing classes** by relieving you from the drudgery of implementing object protocols (aka [dunder methods](https://www.attrs.org/en/latest/glossary.html#term-dunder-methods)). -[Trusted by NASA](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/personalizing-your-profile#list-of-qualifying-repositories-for-mars-2020-helicopter-contributor-achievement) for Mars missions since 2020! - -Its main goal is to help you to write **concise** and **correct** software without slowing down your code. - - -## Sponsors - -*attrs* would not be possible without our [amazing sponsors](https://github.com/sponsors/hynek). -Especially those generously supporting us at the *The Organization* tier and higher: - - - -

- - - - - - - - - - -

- - - -

- Please consider joining them to help make attrs’s maintenance more sustainable! -

- - - -## Example - -*attrs* gives you a class decorator and a way to declaratively define the attributes on that class: - - - -```pycon ->>> from attrs import asdict, define, make_class, Factory - ->>> @define -... class SomeClass: -... a_number: int = 42 -... list_of_numbers: list[int] = Factory(list) -... -... def hard_math(self, another_number): -... return self.a_number + sum(self.list_of_numbers) * another_number - - ->>> sc = SomeClass(1, [1, 2, 3]) ->>> sc -SomeClass(a_number=1, list_of_numbers=[1, 2, 3]) - ->>> sc.hard_math(3) -19 ->>> sc == SomeClass(1, [1, 2, 3]) -True ->>> sc != SomeClass(2, [3, 2, 1]) -True - ->>> asdict(sc) -{'a_number': 1, 'list_of_numbers': [1, 2, 3]} - ->>> SomeClass() -SomeClass(a_number=42, list_of_numbers=[]) - ->>> C = make_class("C", ["a", "b"]) ->>> C("foo", "bar") -C(a='foo', b='bar') -``` - -After *declaring* your attributes, *attrs* gives you: - -- a concise and explicit overview of the class's attributes, -- a nice human-readable `__repr__`, -- equality-checking methods, -- an initializer, -- and much more, - -*without* writing dull boilerplate code again and again and *without* runtime performance penalties. - ---- - -This example uses *attrs*'s modern APIs that have been introduced in version 20.1.0, and the *attrs* package import name that has been added in version 21.3.0. -The classic APIs (`@attr.s`, `attr.ib`, plus their serious-business aliases) and the `attr` package import name will remain **indefinitely**. - -Check out [*On The Core API Names*](https://www.attrs.org/en/latest/names.html) for an in-depth explanation! - - -### Hate Type Annotations!? - -No problem! -Types are entirely **optional** with *attrs*. -Simply assign `attrs.field()` to the attributes instead of annotating them with types: - -```python -from attrs import define, field - -@define -class SomeClass: - a_number = field(default=42) - list_of_numbers = field(factory=list) -``` - - -## Data Classes - -On the tin, *attrs* might remind you of `dataclasses` (and indeed, `dataclasses` [are a descendant](https://hynek.me/articles/import-attrs/) of *attrs*). -In practice it does a lot more and is more flexible. -For instance, it allows you to define [special handling of NumPy arrays for equality checks](https://www.attrs.org/en/stable/comparison.html#customization), allows more ways to [plug into the initialization process](https://www.attrs.org/en/stable/init.html#hooking-yourself-into-initialization), has a replacement for `__init_subclass__`, and allows for stepping through the generated methods using a debugger. - -For more details, please refer to our [comparison page](https://www.attrs.org/en/stable/why.html#data-classes), but generally speaking, we are more likely to commit crimes against nature to make things work that one would expect to work, but that are quite complicated in practice. - - -## Project Information - -- [**Changelog**](https://www.attrs.org/en/stable/changelog.html) -- [**Documentation**](https://www.attrs.org/) -- [**PyPI**](https://pypi.org/project/attrs/) -- [**Source Code**](https://github.com/python-attrs/attrs) -- [**Contributing**](https://github.com/python-attrs/attrs/blob/main/.github/CONTRIBUTING.md) -- [**Third-party Extensions**](https://github.com/python-attrs/attrs/wiki/Extensions-to-attrs) -- **Get Help**: use the `python-attrs` tag on [Stack Overflow](https://stackoverflow.com/questions/tagged/python-attrs) - - -### *attrs* for Enterprise - -Available as part of the [Tidelift Subscription](https://tidelift.com/?utm_source=lifter&utm_medium=referral&utm_campaign=hynek). - -The maintainers of *attrs* and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. -Save time, reduce risk, and improve code health, while paying the maintainers of the exact packages you use. - -## Release Information - -### Backwards-incompatible Changes - -- Python 3.7 has been dropped. - [#1340](https://github.com/python-attrs/attrs/issues/1340) - - -### Changes - -- Introduce `attrs.NothingType`, for annotating types consistent with `attrs.NOTHING`. - [#1358](https://github.com/python-attrs/attrs/issues/1358) -- Allow mutating `__suppress_context__` and `__notes__` on frozen exceptions. - [#1365](https://github.com/python-attrs/attrs/issues/1365) -- `attrs.converters.optional()` works again when taking `attrs.converters.pipe()` or another Converter as its argument. - [#1372](https://github.com/python-attrs/attrs/issues/1372) -- *attrs* instances now support [`copy.replace()`](https://docs.python.org/3/library/copy.html#copy.replace). - [#1383](https://github.com/python-attrs/attrs/issues/1383) -- `attrs.validators.instance_of()`'s type hints now allow for union types. - For example: `instance_of(str | int)` - [#1385](https://github.com/python-attrs/attrs/issues/1385) - - - ---- - -[Full changelog →](https://www.attrs.org/en/stable/changelog.html) diff --git a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/RECORD deleted file mode 100644 index 28d855e1..00000000 --- a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/RECORD +++ /dev/null @@ -1,55 +0,0 @@ -attr/__init__.py,sha256=fOYIvt1eGSqQre4uCS3sJWKZ0mwAuC8UD6qba5OS9_U,2057 -attr/__init__.pyi,sha256=QIXnnHPoucmDWkbpNsWTP-cgJ1bn8le7DjyRa_wYdew,11281 -attr/__pycache__/__init__.cpython-312.pyc,, -attr/__pycache__/_cmp.cpython-312.pyc,, -attr/__pycache__/_compat.cpython-312.pyc,, -attr/__pycache__/_config.cpython-312.pyc,, -attr/__pycache__/_funcs.cpython-312.pyc,, -attr/__pycache__/_make.cpython-312.pyc,, -attr/__pycache__/_next_gen.cpython-312.pyc,, -attr/__pycache__/_version_info.cpython-312.pyc,, -attr/__pycache__/converters.cpython-312.pyc,, -attr/__pycache__/exceptions.cpython-312.pyc,, -attr/__pycache__/filters.cpython-312.pyc,, -attr/__pycache__/setters.cpython-312.pyc,, -attr/__pycache__/validators.cpython-312.pyc,, -attr/_cmp.py,sha256=3umHiBtgsEYtvNP_8XrQwTCdFoZIX4DEur76N-2a3X8,4123 -attr/_cmp.pyi,sha256=U-_RU_UZOyPUEQzXE6RMYQQcjkZRY25wTH99sN0s7MM,368 -attr/_compat.py,sha256=4hlXbWhdDjQCDK6FKF1EgnZ3POiHgtpp54qE0nxaGHg,2704 -attr/_config.py,sha256=dGq3xR6fgZEF6UBt_L0T-eUHIB4i43kRmH0P28sJVw8,843 -attr/_funcs.py,sha256=5-tUKJtp3h5El55EcDl6GWXFp68fT8D8U7uCRN6497I,15854 -attr/_make.py,sha256=orKSf6C-B1eZfpat4lbAtxvmSyE_yxlG8zY9115ufWk,94157 -attr/_next_gen.py,sha256=7FRkbtl_N017SuBhf_Vw3mw2c2pGZhtCGOzadgz7tp4,24395 -attr/_typing_compat.pyi,sha256=XDP54TUn-ZKhD62TOQebmzrwFyomhUCoGRpclb6alRA,469 -attr/_version_info.py,sha256=exSqb3b5E-fMSsgZAlEw9XcLpEgobPORCZpcaEglAM4,2121 -attr/_version_info.pyi,sha256=x_M3L3WuB7r_ULXAWjx959udKQ4HLB8l-hsc1FDGNvk,209 -attr/converters.py,sha256=GlDeOzPeTFgeBBLbj9G57Ez5lAk68uhSALRYJ_exe84,3861 -attr/converters.pyi,sha256=orU2bff-VjQa2kMDyvnMQV73oJT2WRyQuw4ZR1ym1bE,643 -attr/exceptions.py,sha256=HRFq4iybmv7-DcZwyjl6M1euM2YeJVK_hFxuaBGAngI,1977 -attr/exceptions.pyi,sha256=zZq8bCUnKAy9mDtBEw42ZhPhAUIHoTKedDQInJD883M,539 -attr/filters.py,sha256=ZBiKWLp3R0LfCZsq7X11pn9WX8NslS2wXM4jsnLOGc8,1795 -attr/filters.pyi,sha256=3J5BG-dTxltBk1_-RuNRUHrv2qu1v8v4aDNAQ7_mifA,208 -attr/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -attr/setters.py,sha256=5-dcT63GQK35ONEzSgfXCkbB7pPkaR-qv15mm4PVSzQ,1617 -attr/setters.pyi,sha256=NnVkaFU1BB4JB8E4JuXyrzTUgvtMpj8p3wBdJY7uix4,584 -attr/validators.py,sha256=WaB1HLAHHqRHWsrv_K9H-sJ7ESil3H3Cmv2d8TtVZx4,20046 -attr/validators.pyi,sha256=s2WhKPqskxbsckJfKk8zOuuB088GfgpyxcCYSNFLqNU,2603 -attrs-24.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -attrs-24.3.0.dist-info/METADATA,sha256=f9hhECeAUyS7iewHPRuMLDy1tpJ6vyy8R_TKUnCmiA8,11654 -attrs-24.3.0.dist-info/RECORD,, -attrs-24.3.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87 -attrs-24.3.0.dist-info/licenses/LICENSE,sha256=iCEVyV38KvHutnFPjsbVy8q_Znyv-HKfQkINpj9xTp8,1109 -attrs/__init__.py,sha256=qeQJZ4O08yczSn840v9bYOaZyRE81WsVi-QCrY3krCU,1107 -attrs/__init__.pyi,sha256=nZmInocjM7tHV4AQw0vxO_fo6oJjL_PonlV9zKKW8DY,7931 -attrs/__pycache__/__init__.cpython-312.pyc,, -attrs/__pycache__/converters.cpython-312.pyc,, -attrs/__pycache__/exceptions.cpython-312.pyc,, -attrs/__pycache__/filters.cpython-312.pyc,, -attrs/__pycache__/setters.cpython-312.pyc,, -attrs/__pycache__/validators.cpython-312.pyc,, -attrs/converters.py,sha256=8kQljrVwfSTRu8INwEk8SI0eGrzmWftsT7rM0EqyohM,76 -attrs/exceptions.py,sha256=ACCCmg19-vDFaDPY9vFl199SPXCQMN_bENs4DALjzms,76 -attrs/filters.py,sha256=VOUMZug9uEU6dUuA0dF1jInUK0PL3fLgP0VBS5d-CDE,73 -attrs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -attrs/setters.py,sha256=eL1YidYQV3T2h9_SYIZSZR1FAcHGb1TuCTy0E0Lv2SU,73 -attrs/validators.py,sha256=xcy6wD5TtTkdCG1f4XWbocPSO0faBjk5IfVJfP6SUj0,76 diff --git a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/WHEEL deleted file mode 100644 index 12228d41..00000000 --- a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/WHEEL +++ /dev/null @@ -1,4 +0,0 @@ -Wheel-Version: 1.0 -Generator: hatchling 1.27.0 -Root-Is-Purelib: true -Tag: py3-none-any diff --git a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/licenses/LICENSE b/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/licenses/LICENSE deleted file mode 100644 index 2bd6453d..00000000 --- a/.venv/lib/python3.12/site-packages/attrs-24.3.0.dist-info/licenses/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2015 Hynek Schlawack and the attrs contributors - -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/python3.12/site-packages/attrs/__init__.py b/.venv/lib/python3.12/site-packages/attrs/__init__.py deleted file mode 100644 index e8023ff6..00000000 --- a/.venv/lib/python3.12/site-packages/attrs/__init__.py +++ /dev/null @@ -1,69 +0,0 @@ -# SPDX-License-Identifier: MIT - -from attr import ( - NOTHING, - Attribute, - AttrsInstance, - Converter, - Factory, - NothingType, - _make_getattr, - assoc, - cmp_using, - define, - evolve, - field, - fields, - fields_dict, - frozen, - has, - make_class, - mutable, - resolve_types, - validate, -) -from attr._next_gen import asdict, astuple - -from . import converters, exceptions, filters, setters, validators - - -__all__ = [ - "NOTHING", - "Attribute", - "AttrsInstance", - "Converter", - "Factory", - "NothingType", - "__author__", - "__copyright__", - "__description__", - "__doc__", - "__email__", - "__license__", - "__title__", - "__url__", - "__version__", - "__version_info__", - "asdict", - "assoc", - "astuple", - "cmp_using", - "converters", - "define", - "evolve", - "exceptions", - "field", - "fields", - "fields_dict", - "filters", - "frozen", - "has", - "make_class", - "mutable", - "resolve_types", - "setters", - "validate", - "validators", -] - -__getattr__ = _make_getattr(__name__) diff --git a/.venv/lib/python3.12/site-packages/attrs/__init__.pyi b/.venv/lib/python3.12/site-packages/attrs/__init__.pyi deleted file mode 100644 index 648fa7a3..00000000 --- a/.venv/lib/python3.12/site-packages/attrs/__init__.pyi +++ /dev/null @@ -1,263 +0,0 @@ -import sys - -from typing import ( - Any, - Callable, - Mapping, - Sequence, - overload, - TypeVar, -) - -# Because we need to type our own stuff, we have to make everything from -# attr explicitly public too. -from attr import __author__ as __author__ -from attr import __copyright__ as __copyright__ -from attr import __description__ as __description__ -from attr import __email__ as __email__ -from attr import __license__ as __license__ -from attr import __title__ as __title__ -from attr import __url__ as __url__ -from attr import __version__ as __version__ -from attr import __version_info__ as __version_info__ -from attr import assoc as assoc -from attr import Attribute as Attribute -from attr import AttrsInstance as AttrsInstance -from attr import cmp_using as cmp_using -from attr import converters as converters -from attr import Converter as Converter -from attr import evolve as evolve -from attr import exceptions as exceptions -from attr import Factory as Factory -from attr import fields as fields -from attr import fields_dict as fields_dict -from attr import filters as filters -from attr import has as has -from attr import make_class as make_class -from attr import NOTHING as NOTHING -from attr import resolve_types as resolve_types -from attr import setters as setters -from attr import validate as validate -from attr import validators as validators -from attr import attrib, asdict as asdict, astuple as astuple -from attr import NothingType as NothingType - -if sys.version_info >= (3, 11): - from typing import dataclass_transform -else: - from typing_extensions import dataclass_transform - -_T = TypeVar("_T") -_C = TypeVar("_C", bound=type) - -_EqOrderType = bool | Callable[[Any], Any] -_ValidatorType = Callable[[Any, "Attribute[_T]", _T], Any] -_CallableConverterType = Callable[[Any], Any] -_ConverterType = _CallableConverterType | Converter[Any, Any] -_ReprType = Callable[[Any], str] -_ReprArgType = bool | _ReprType -_OnSetAttrType = Callable[[Any, "Attribute[Any]", Any], Any] -_OnSetAttrArgType = _OnSetAttrType | list[_OnSetAttrType] | setters._NoOpType -_FieldTransformer = Callable[ - [type, list["Attribute[Any]"]], list["Attribute[Any]"] -] -# FIXME: in reality, if multiple validators are passed they must be in a list -# or tuple, but those are invariant and so would prevent subtypes of -# _ValidatorType from working when passed in a list or tuple. -_ValidatorArgType = _ValidatorType[_T] | Sequence[_ValidatorType[_T]] - -@overload -def field( - *, - default: None = ..., - validator: None = ..., - repr: _ReprArgType = ..., - hash: bool | None = ..., - init: bool = ..., - metadata: Mapping[Any, Any] | None = ..., - converter: None = ..., - factory: None = ..., - kw_only: bool = ..., - eq: bool | None = ..., - order: bool | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - alias: str | None = ..., - type: type | None = ..., -) -> Any: ... - -# This form catches an explicit None or no default and infers the type from the -# other arguments. -@overload -def field( - *, - default: None = ..., - validator: _ValidatorArgType[_T] | None = ..., - repr: _ReprArgType = ..., - hash: bool | None = ..., - init: bool = ..., - metadata: Mapping[Any, Any] | None = ..., - converter: _ConverterType - | list[_ConverterType] - | tuple[_ConverterType] - | None = ..., - factory: Callable[[], _T] | None = ..., - kw_only: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - alias: str | None = ..., - type: type | None = ..., -) -> _T: ... - -# This form catches an explicit default argument. -@overload -def field( - *, - default: _T, - validator: _ValidatorArgType[_T] | None = ..., - repr: _ReprArgType = ..., - hash: bool | None = ..., - init: bool = ..., - metadata: Mapping[Any, Any] | None = ..., - converter: _ConverterType - | list[_ConverterType] - | tuple[_ConverterType] - | None = ..., - factory: Callable[[], _T] | None = ..., - kw_only: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - alias: str | None = ..., - type: type | None = ..., -) -> _T: ... - -# This form covers type=non-Type: e.g. forward references (str), Any -@overload -def field( - *, - default: _T | None = ..., - validator: _ValidatorArgType[_T] | None = ..., - repr: _ReprArgType = ..., - hash: bool | None = ..., - init: bool = ..., - metadata: Mapping[Any, Any] | None = ..., - converter: _ConverterType - | list[_ConverterType] - | tuple[_ConverterType] - | None = ..., - factory: Callable[[], _T] | None = ..., - kw_only: bool = ..., - eq: _EqOrderType | None = ..., - order: _EqOrderType | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - alias: str | None = ..., - type: type | None = ..., -) -> Any: ... -@overload -@dataclass_transform(field_specifiers=(attrib, field)) -def define( - maybe_cls: _C, - *, - these: dict[str, Any] | None = ..., - repr: bool = ..., - unsafe_hash: bool | None = ..., - hash: bool | None = ..., - init: bool = ..., - slots: bool = ..., - frozen: bool = ..., - weakref_slot: bool = ..., - str: bool = ..., - auto_attribs: bool = ..., - kw_only: bool = ..., - cache_hash: bool = ..., - auto_exc: bool = ..., - eq: bool | None = ..., - order: bool | None = ..., - auto_detect: bool = ..., - getstate_setstate: bool | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - field_transformer: _FieldTransformer | None = ..., - match_args: bool = ..., -) -> _C: ... -@overload -@dataclass_transform(field_specifiers=(attrib, field)) -def define( - maybe_cls: None = ..., - *, - these: dict[str, Any] | None = ..., - repr: bool = ..., - unsafe_hash: bool | None = ..., - hash: bool | None = ..., - init: bool = ..., - slots: bool = ..., - frozen: bool = ..., - weakref_slot: bool = ..., - str: bool = ..., - auto_attribs: bool = ..., - kw_only: bool = ..., - cache_hash: bool = ..., - auto_exc: bool = ..., - eq: bool | None = ..., - order: bool | None = ..., - auto_detect: bool = ..., - getstate_setstate: bool | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - field_transformer: _FieldTransformer | None = ..., - match_args: bool = ..., -) -> Callable[[_C], _C]: ... - -mutable = define - -@overload -@dataclass_transform(frozen_default=True, field_specifiers=(attrib, field)) -def frozen( - maybe_cls: _C, - *, - these: dict[str, Any] | None = ..., - repr: bool = ..., - unsafe_hash: bool | None = ..., - hash: bool | None = ..., - init: bool = ..., - slots: bool = ..., - frozen: bool = ..., - weakref_slot: bool = ..., - str: bool = ..., - auto_attribs: bool = ..., - kw_only: bool = ..., - cache_hash: bool = ..., - auto_exc: bool = ..., - eq: bool | None = ..., - order: bool | None = ..., - auto_detect: bool = ..., - getstate_setstate: bool | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - field_transformer: _FieldTransformer | None = ..., - match_args: bool = ..., -) -> _C: ... -@overload -@dataclass_transform(frozen_default=True, field_specifiers=(attrib, field)) -def frozen( - maybe_cls: None = ..., - *, - these: dict[str, Any] | None = ..., - repr: bool = ..., - unsafe_hash: bool | None = ..., - hash: bool | None = ..., - init: bool = ..., - slots: bool = ..., - frozen: bool = ..., - weakref_slot: bool = ..., - str: bool = ..., - auto_attribs: bool = ..., - kw_only: bool = ..., - cache_hash: bool = ..., - auto_exc: bool = ..., - eq: bool | None = ..., - order: bool | None = ..., - auto_detect: bool = ..., - getstate_setstate: bool | None = ..., - on_setattr: _OnSetAttrArgType | None = ..., - field_transformer: _FieldTransformer | None = ..., - match_args: bool = ..., -) -> Callable[[_C], _C]: ... diff --git a/.venv/lib/python3.12/site-packages/attrs/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attrs/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index f294b183..00000000 Binary files a/.venv/lib/python3.12/site-packages/attrs/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attrs/__pycache__/converters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attrs/__pycache__/converters.cpython-312.pyc deleted file mode 100644 index 5bf29799..00000000 Binary files a/.venv/lib/python3.12/site-packages/attrs/__pycache__/converters.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attrs/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attrs/__pycache__/exceptions.cpython-312.pyc deleted file mode 100644 index 4794d977..00000000 Binary files a/.venv/lib/python3.12/site-packages/attrs/__pycache__/exceptions.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attrs/__pycache__/filters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attrs/__pycache__/filters.cpython-312.pyc deleted file mode 100644 index c44f44a8..00000000 Binary files a/.venv/lib/python3.12/site-packages/attrs/__pycache__/filters.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attrs/__pycache__/setters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attrs/__pycache__/setters.cpython-312.pyc deleted file mode 100644 index a149070e..00000000 Binary files a/.venv/lib/python3.12/site-packages/attrs/__pycache__/setters.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attrs/__pycache__/validators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/attrs/__pycache__/validators.cpython-312.pyc deleted file mode 100644 index a7918022..00000000 Binary files a/.venv/lib/python3.12/site-packages/attrs/__pycache__/validators.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/attrs/converters.py b/.venv/lib/python3.12/site-packages/attrs/converters.py deleted file mode 100644 index 7821f6c0..00000000 --- a/.venv/lib/python3.12/site-packages/attrs/converters.py +++ /dev/null @@ -1,3 +0,0 @@ -# SPDX-License-Identifier: MIT - -from attr.converters import * # noqa: F403 diff --git a/.venv/lib/python3.12/site-packages/attrs/exceptions.py b/.venv/lib/python3.12/site-packages/attrs/exceptions.py deleted file mode 100644 index 3323f9d2..00000000 --- a/.venv/lib/python3.12/site-packages/attrs/exceptions.py +++ /dev/null @@ -1,3 +0,0 @@ -# SPDX-License-Identifier: MIT - -from attr.exceptions import * # noqa: F403 diff --git a/.venv/lib/python3.12/site-packages/attrs/filters.py b/.venv/lib/python3.12/site-packages/attrs/filters.py deleted file mode 100644 index 3080f483..00000000 --- a/.venv/lib/python3.12/site-packages/attrs/filters.py +++ /dev/null @@ -1,3 +0,0 @@ -# SPDX-License-Identifier: MIT - -from attr.filters import * # noqa: F403 diff --git a/.venv/lib/python3.12/site-packages/attrs/py.typed b/.venv/lib/python3.12/site-packages/attrs/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/attrs/setters.py b/.venv/lib/python3.12/site-packages/attrs/setters.py deleted file mode 100644 index f3d73bb7..00000000 --- a/.venv/lib/python3.12/site-packages/attrs/setters.py +++ /dev/null @@ -1,3 +0,0 @@ -# SPDX-License-Identifier: MIT - -from attr.setters import * # noqa: F403 diff --git a/.venv/lib/python3.12/site-packages/attrs/validators.py b/.venv/lib/python3.12/site-packages/attrs/validators.py deleted file mode 100644 index 037e124f..00000000 --- a/.venv/lib/python3.12/site-packages/attrs/validators.py +++ /dev/null @@ -1,3 +0,0 @@ -# SPDX-License-Identifier: MIT - -from attr.validators import * # noqa: F403 diff --git a/.venv/lib/python3.12/site-packages/certifi/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/certifi/__pycache__/__init__.cpython-312.pyc index 290ab4b8..bcdb3914 100644 Binary files a/.venv/lib/python3.12/site-packages/certifi/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/certifi/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/certifi/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/certifi/__pycache__/__main__.cpython-312.pyc index ed837b0e..4ea11108 100644 Binary files a/.venv/lib/python3.12/site-packages/certifi/__pycache__/__main__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/certifi/__pycache__/__main__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/certifi/__pycache__/core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/certifi/__pycache__/core.cpython-312.pyc index 0af63956..f1aeccd8 100644 Binary files a/.venv/lib/python3.12/site-packages/certifi/__pycache__/core.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/certifi/__pycache__/core.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/LICENSE.rst b/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/LICENSE.rst deleted file mode 100644 index d12a8491..00000000 --- a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/LICENSE.rst +++ /dev/null @@ -1,28 +0,0 @@ -Copyright 2014 Pallets - -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/python3.12/site-packages/click-8.1.7.dist-info/METADATA b/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/METADATA deleted file mode 100644 index 7a6bbb24..00000000 --- a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/METADATA +++ /dev/null @@ -1,103 +0,0 @@ -Metadata-Version: 2.1 -Name: click -Version: 8.1.7 -Summary: Composable command line interface toolkit -Home-page: https://palletsprojects.com/p/click/ -Maintainer: Pallets -Maintainer-email: contact@palletsprojects.com -License: BSD-3-Clause -Project-URL: Donate, https://palletsprojects.com/donate -Project-URL: Documentation, https://click.palletsprojects.com/ -Project-URL: Changes, https://click.palletsprojects.com/changes/ -Project-URL: Source Code, https://github.com/pallets/click/ -Project-URL: Issue Tracker, https://github.com/pallets/click/issues/ -Project-URL: Chat, https://discord.gg/pallets -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Requires-Python: >=3.7 -Description-Content-Type: text/x-rst -License-File: LICENSE.rst -Requires-Dist: colorama ; platform_system == "Windows" -Requires-Dist: importlib-metadata ; python_version < "3.8" - -\$ click\_ -========== - -Click is a Python package for creating beautiful command line interfaces -in a composable way with as little code as necessary. It's the "Command -Line Interface Creation Kit". It's highly configurable but comes with -sensible defaults out of the box. - -It aims to make the process of writing command line tools quick and fun -while also preventing any frustration caused by the inability to -implement an intended CLI API. - -Click in three points: - -- Arbitrary nesting of commands -- Automatic help page generation -- Supports lazy loading of subcommands at runtime - - -Installing ----------- - -Install and update using `pip`_: - -.. code-block:: text - - $ pip install -U click - -.. _pip: https://pip.pypa.io/en/stable/getting-started/ - - -A Simple Example ----------------- - -.. code-block:: python - - import click - - @click.command() - @click.option("--count", default=1, help="Number of greetings.") - @click.option("--name", prompt="Your name", help="The person to greet.") - def hello(count, name): - """Simple program that greets NAME for a total of COUNT times.""" - for _ in range(count): - click.echo(f"Hello, {name}!") - - if __name__ == '__main__': - hello() - -.. code-block:: text - - $ python hello.py --count=3 - Your name: Click - Hello, Click! - Hello, Click! - Hello, Click! - - -Donate ------- - -The Pallets organization develops and supports Click and other popular -packages. In order to grow the community of contributors and users, and -allow the maintainers to devote more time to the projects, `please -donate today`_. - -.. _please donate today: https://palletsprojects.com/donate - - -Links ------ - -- Documentation: https://click.palletsprojects.com/ -- Changes: https://click.palletsprojects.com/changes/ -- PyPI Releases: https://pypi.org/project/click/ -- Source Code: https://github.com/pallets/click -- Issue Tracker: https://github.com/pallets/click/issues -- Chat: https://discord.gg/pallets diff --git a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/RECORD b/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/RECORD deleted file mode 100644 index 497ee45a..00000000 --- a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/RECORD +++ /dev/null @@ -1,39 +0,0 @@ -click-8.1.7.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -click-8.1.7.dist-info/LICENSE.rst,sha256=morRBqOU6FO_4h9C9OctWSgZoigF2ZG18ydQKSkrZY0,1475 -click-8.1.7.dist-info/METADATA,sha256=qIMevCxGA9yEmJOM_4WHuUJCwWpsIEVbCPOhs45YPN4,3014 -click-8.1.7.dist-info/RECORD,, -click-8.1.7.dist-info/WHEEL,sha256=5sUXSg9e4bi7lTLOHcm6QEYwO5TIF1TNbTSVFVjcJcc,92 -click-8.1.7.dist-info/top_level.txt,sha256=J1ZQogalYS4pphY_lPECoNMfw0HzTSrZglC4Yfwo4xA,6 -click/__init__.py,sha256=YDDbjm406dTOA0V8bTtdGnhN7zj5j-_dFRewZF_pLvw,3138 -click/__pycache__/__init__.cpython-312.pyc,, -click/__pycache__/_compat.cpython-312.pyc,, -click/__pycache__/_termui_impl.cpython-312.pyc,, -click/__pycache__/_textwrap.cpython-312.pyc,, -click/__pycache__/_winconsole.cpython-312.pyc,, -click/__pycache__/core.cpython-312.pyc,, -click/__pycache__/decorators.cpython-312.pyc,, -click/__pycache__/exceptions.cpython-312.pyc,, -click/__pycache__/formatting.cpython-312.pyc,, -click/__pycache__/globals.cpython-312.pyc,, -click/__pycache__/parser.cpython-312.pyc,, -click/__pycache__/shell_completion.cpython-312.pyc,, -click/__pycache__/termui.cpython-312.pyc,, -click/__pycache__/testing.cpython-312.pyc,, -click/__pycache__/types.cpython-312.pyc,, -click/__pycache__/utils.cpython-312.pyc,, -click/_compat.py,sha256=5318agQpbt4kroKsbqDOYpTSWzL_YCZVUQiTT04yXmc,18744 -click/_termui_impl.py,sha256=3dFYv4445Nw-rFvZOTBMBPYwB1bxnmNk9Du6Dm_oBSU,24069 -click/_textwrap.py,sha256=10fQ64OcBUMuK7mFvh8363_uoOxPlRItZBmKzRJDgoY,1353 -click/_winconsole.py,sha256=5ju3jQkcZD0W27WEMGqmEP4y_crUVzPCqsX_FYb7BO0,7860 -click/core.py,sha256=j6oEWtGgGna8JarD6WxhXmNnxLnfRjwXglbBc-8jr7U,114086 -click/decorators.py,sha256=-ZlbGYgV-oI8jr_oH4RpuL1PFS-5QmeuEAsLDAYgxtw,18719 -click/exceptions.py,sha256=fyROO-47HWFDjt2qupo7A3J32VlpM-ovJnfowu92K3s,9273 -click/formatting.py,sha256=Frf0-5W33-loyY_i9qrwXR8-STnW3m5gvyxLVUdyxyk,9706 -click/globals.py,sha256=TP-qM88STzc7f127h35TD_v920FgfOD2EwzqA0oE8XU,1961 -click/parser.py,sha256=LKyYQE9ZLj5KgIDXkrcTHQRXIggfoivX14_UVIn56YA,19067 -click/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -click/shell_completion.py,sha256=Ty3VM_ts0sQhj6u7eFTiLwHPoTgcXTGEAUg2OpLqYKw,18460 -click/termui.py,sha256=H7Q8FpmPelhJ2ovOhfCRhjMtCpNyjFXryAMLZODqsdc,28324 -click/testing.py,sha256=1Qd4kS5bucn1hsNIRryd0WtTMuCpkA93grkWxT8POsU,16084 -click/types.py,sha256=TZvz3hKvBztf-Hpa2enOmP4eznSPLzijjig5b_0XMxE,36391 -click/utils.py,sha256=1476UduUNY6UePGU4m18uzVHLt1sKM2PP3yWsQhbItM,20298 diff --git a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/WHEEL deleted file mode 100644 index 2c08da08..00000000 --- a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.41.1) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/top_level.txt deleted file mode 100644 index dca9a909..00000000 --- a/.venv/lib/python3.12/site-packages/click-8.1.7.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -click diff --git a/.venv/lib/python3.12/site-packages/click/__init__.py b/.venv/lib/python3.12/site-packages/click/__init__.py deleted file mode 100644 index 9a1dab04..00000000 --- a/.venv/lib/python3.12/site-packages/click/__init__.py +++ /dev/null @@ -1,73 +0,0 @@ -""" -Click is a simple Python module inspired by the stdlib optparse to make -writing command line scripts fun. Unlike other modules, it's based -around a simple API that does not come with too much magic and is -composable. -""" -from .core import Argument as Argument -from .core import BaseCommand as BaseCommand -from .core import Command as Command -from .core import CommandCollection as CommandCollection -from .core import Context as Context -from .core import Group as Group -from .core import MultiCommand as MultiCommand -from .core import Option as Option -from .core import Parameter as Parameter -from .decorators import argument as argument -from .decorators import command as command -from .decorators import confirmation_option as confirmation_option -from .decorators import group as group -from .decorators import help_option as help_option -from .decorators import make_pass_decorator as make_pass_decorator -from .decorators import option as option -from .decorators import pass_context as pass_context -from .decorators import pass_obj as pass_obj -from .decorators import password_option as password_option -from .decorators import version_option as version_option -from .exceptions import Abort as Abort -from .exceptions import BadArgumentUsage as BadArgumentUsage -from .exceptions import BadOptionUsage as BadOptionUsage -from .exceptions import BadParameter as BadParameter -from .exceptions import ClickException as ClickException -from .exceptions import FileError as FileError -from .exceptions import MissingParameter as MissingParameter -from .exceptions import NoSuchOption as NoSuchOption -from .exceptions import UsageError as UsageError -from .formatting import HelpFormatter as HelpFormatter -from .formatting import wrap_text as wrap_text -from .globals import get_current_context as get_current_context -from .parser import OptionParser as OptionParser -from .termui import clear as clear -from .termui import confirm as confirm -from .termui import echo_via_pager as echo_via_pager -from .termui import edit as edit -from .termui import getchar as getchar -from .termui import launch as launch -from .termui import pause as pause -from .termui import progressbar as progressbar -from .termui import prompt as prompt -from .termui import secho as secho -from .termui import style as style -from .termui import unstyle as unstyle -from .types import BOOL as BOOL -from .types import Choice as Choice -from .types import DateTime as DateTime -from .types import File as File -from .types import FLOAT as FLOAT -from .types import FloatRange as FloatRange -from .types import INT as INT -from .types import IntRange as IntRange -from .types import ParamType as ParamType -from .types import Path as Path -from .types import STRING as STRING -from .types import Tuple as Tuple -from .types import UNPROCESSED as UNPROCESSED -from .types import UUID as UUID -from .utils import echo as echo -from .utils import format_filename as format_filename -from .utils import get_app_dir as get_app_dir -from .utils import get_binary_stream as get_binary_stream -from .utils import get_text_stream as get_text_stream -from .utils import open_file as open_file - -__version__ = "8.1.7" diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 85f1f7fc..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/_compat.cpython-312.pyc deleted file mode 100644 index 7b6dc326..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/_compat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/_termui_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/_termui_impl.cpython-312.pyc deleted file mode 100644 index 92ac243e..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/_termui_impl.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/_textwrap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/_textwrap.cpython-312.pyc deleted file mode 100644 index 7a85c082..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/_textwrap.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/_winconsole.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/_winconsole.cpython-312.pyc deleted file mode 100644 index 1d4f2505..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/_winconsole.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/core.cpython-312.pyc deleted file mode 100644 index 8927d073..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/core.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/decorators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/decorators.cpython-312.pyc deleted file mode 100644 index 6b685e5f..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/decorators.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/exceptions.cpython-312.pyc deleted file mode 100644 index b316d679..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/exceptions.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/formatting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/formatting.cpython-312.pyc deleted file mode 100644 index 16ced9b7..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/formatting.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/globals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/globals.cpython-312.pyc deleted file mode 100644 index 6bca7727..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/globals.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/parser.cpython-312.pyc deleted file mode 100644 index 68544e9d..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/parser.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/shell_completion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/shell_completion.cpython-312.pyc deleted file mode 100644 index 8874a4dd..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/shell_completion.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/termui.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/termui.cpython-312.pyc deleted file mode 100644 index ac02dd22..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/termui.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/testing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/testing.cpython-312.pyc deleted file mode 100644 index e8295c81..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/testing.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/types.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/types.cpython-312.pyc deleted file mode 100644 index d8e40b29..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/types.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click/__pycache__/utils.cpython-312.pyc deleted file mode 100644 index 7e912922..00000000 Binary files a/.venv/lib/python3.12/site-packages/click/__pycache__/utils.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click/_compat.py b/.venv/lib/python3.12/site-packages/click/_compat.py deleted file mode 100644 index 23f88665..00000000 --- a/.venv/lib/python3.12/site-packages/click/_compat.py +++ /dev/null @@ -1,623 +0,0 @@ -import codecs -import io -import os -import re -import sys -import typing as t -from weakref import WeakKeyDictionary - -CYGWIN = sys.platform.startswith("cygwin") -WIN = sys.platform.startswith("win") -auto_wrap_for_ansi: t.Optional[t.Callable[[t.TextIO], t.TextIO]] = None -_ansi_re = re.compile(r"\033\[[;?0-9]*[a-zA-Z]") - - -def _make_text_stream( - stream: t.BinaryIO, - encoding: t.Optional[str], - errors: t.Optional[str], - force_readable: bool = False, - force_writable: bool = False, -) -> t.TextIO: - if encoding is None: - encoding = get_best_encoding(stream) - if errors is None: - errors = "replace" - return _NonClosingTextIOWrapper( - stream, - encoding, - errors, - line_buffering=True, - force_readable=force_readable, - force_writable=force_writable, - ) - - -def is_ascii_encoding(encoding: str) -> bool: - """Checks if a given encoding is ascii.""" - try: - return codecs.lookup(encoding).name == "ascii" - except LookupError: - return False - - -def get_best_encoding(stream: t.IO[t.Any]) -> str: - """Returns the default stream encoding if not found.""" - rv = getattr(stream, "encoding", None) or sys.getdefaultencoding() - if is_ascii_encoding(rv): - return "utf-8" - return rv - - -class _NonClosingTextIOWrapper(io.TextIOWrapper): - def __init__( - self, - stream: t.BinaryIO, - encoding: t.Optional[str], - errors: t.Optional[str], - force_readable: bool = False, - force_writable: bool = False, - **extra: t.Any, - ) -> None: - self._stream = stream = t.cast( - t.BinaryIO, _FixupStream(stream, force_readable, force_writable) - ) - super().__init__(stream, encoding, errors, **extra) - - def __del__(self) -> None: - try: - self.detach() - except Exception: - pass - - def isatty(self) -> bool: - # https://bitbucket.org/pypy/pypy/issue/1803 - return self._stream.isatty() - - -class _FixupStream: - """The new io interface needs more from streams than streams - traditionally implement. As such, this fix-up code is necessary in - some circumstances. - - The forcing of readable and writable flags are there because some tools - put badly patched objects on sys (one such offender are certain version - of jupyter notebook). - """ - - def __init__( - self, - stream: t.BinaryIO, - force_readable: bool = False, - force_writable: bool = False, - ): - self._stream = stream - self._force_readable = force_readable - self._force_writable = force_writable - - def __getattr__(self, name: str) -> t.Any: - return getattr(self._stream, name) - - def read1(self, size: int) -> bytes: - f = getattr(self._stream, "read1", None) - - if f is not None: - return t.cast(bytes, f(size)) - - return self._stream.read(size) - - def readable(self) -> bool: - if self._force_readable: - return True - x = getattr(self._stream, "readable", None) - if x is not None: - return t.cast(bool, x()) - try: - self._stream.read(0) - except Exception: - return False - return True - - def writable(self) -> bool: - if self._force_writable: - return True - x = getattr(self._stream, "writable", None) - if x is not None: - return t.cast(bool, x()) - try: - self._stream.write("") # type: ignore - except Exception: - try: - self._stream.write(b"") - except Exception: - return False - return True - - def seekable(self) -> bool: - x = getattr(self._stream, "seekable", None) - if x is not None: - return t.cast(bool, x()) - try: - self._stream.seek(self._stream.tell()) - except Exception: - return False - return True - - -def _is_binary_reader(stream: t.IO[t.Any], default: bool = False) -> bool: - try: - return isinstance(stream.read(0), bytes) - except Exception: - return default - # This happens in some cases where the stream was already - # closed. In this case, we assume the default. - - -def _is_binary_writer(stream: t.IO[t.Any], default: bool = False) -> bool: - try: - stream.write(b"") - except Exception: - try: - stream.write("") - return False - except Exception: - pass - return default - return True - - -def _find_binary_reader(stream: t.IO[t.Any]) -> t.Optional[t.BinaryIO]: - # We need to figure out if the given stream is already binary. - # This can happen because the official docs recommend detaching - # the streams to get binary streams. Some code might do this, so - # we need to deal with this case explicitly. - if _is_binary_reader(stream, False): - return t.cast(t.BinaryIO, stream) - - buf = getattr(stream, "buffer", None) - - # Same situation here; this time we assume that the buffer is - # actually binary in case it's closed. - if buf is not None and _is_binary_reader(buf, True): - return t.cast(t.BinaryIO, buf) - - return None - - -def _find_binary_writer(stream: t.IO[t.Any]) -> t.Optional[t.BinaryIO]: - # We need to figure out if the given stream is already binary. - # This can happen because the official docs recommend detaching - # the streams to get binary streams. Some code might do this, so - # we need to deal with this case explicitly. - if _is_binary_writer(stream, False): - return t.cast(t.BinaryIO, stream) - - buf = getattr(stream, "buffer", None) - - # Same situation here; this time we assume that the buffer is - # actually binary in case it's closed. - if buf is not None and _is_binary_writer(buf, True): - return t.cast(t.BinaryIO, buf) - - return None - - -def _stream_is_misconfigured(stream: t.TextIO) -> bool: - """A stream is misconfigured if its encoding is ASCII.""" - # If the stream does not have an encoding set, we assume it's set - # to ASCII. This appears to happen in certain unittest - # environments. It's not quite clear what the correct behavior is - # but this at least will force Click to recover somehow. - return is_ascii_encoding(getattr(stream, "encoding", None) or "ascii") - - -def _is_compat_stream_attr(stream: t.TextIO, attr: str, value: t.Optional[str]) -> bool: - """A stream attribute is compatible if it is equal to the - desired value or the desired value is unset and the attribute - has a value. - """ - stream_value = getattr(stream, attr, None) - return stream_value == value or (value is None and stream_value is not None) - - -def _is_compatible_text_stream( - stream: t.TextIO, encoding: t.Optional[str], errors: t.Optional[str] -) -> bool: - """Check if a stream's encoding and errors attributes are - compatible with the desired values. - """ - return _is_compat_stream_attr( - stream, "encoding", encoding - ) and _is_compat_stream_attr(stream, "errors", errors) - - -def _force_correct_text_stream( - text_stream: t.IO[t.Any], - encoding: t.Optional[str], - errors: t.Optional[str], - is_binary: t.Callable[[t.IO[t.Any], bool], bool], - find_binary: t.Callable[[t.IO[t.Any]], t.Optional[t.BinaryIO]], - force_readable: bool = False, - force_writable: bool = False, -) -> t.TextIO: - if is_binary(text_stream, False): - binary_reader = t.cast(t.BinaryIO, text_stream) - else: - text_stream = t.cast(t.TextIO, text_stream) - # If the stream looks compatible, and won't default to a - # misconfigured ascii encoding, return it as-is. - if _is_compatible_text_stream(text_stream, encoding, errors) and not ( - encoding is None and _stream_is_misconfigured(text_stream) - ): - return text_stream - - # Otherwise, get the underlying binary reader. - possible_binary_reader = find_binary(text_stream) - - # If that's not possible, silently use the original reader - # and get mojibake instead of exceptions. - if possible_binary_reader is None: - return text_stream - - binary_reader = possible_binary_reader - - # Default errors to replace instead of strict in order to get - # something that works. - if errors is None: - errors = "replace" - - # Wrap the binary stream in a text stream with the correct - # encoding parameters. - return _make_text_stream( - binary_reader, - encoding, - errors, - force_readable=force_readable, - force_writable=force_writable, - ) - - -def _force_correct_text_reader( - text_reader: t.IO[t.Any], - encoding: t.Optional[str], - errors: t.Optional[str], - force_readable: bool = False, -) -> t.TextIO: - return _force_correct_text_stream( - text_reader, - encoding, - errors, - _is_binary_reader, - _find_binary_reader, - force_readable=force_readable, - ) - - -def _force_correct_text_writer( - text_writer: t.IO[t.Any], - encoding: t.Optional[str], - errors: t.Optional[str], - force_writable: bool = False, -) -> t.TextIO: - return _force_correct_text_stream( - text_writer, - encoding, - errors, - _is_binary_writer, - _find_binary_writer, - force_writable=force_writable, - ) - - -def get_binary_stdin() -> t.BinaryIO: - reader = _find_binary_reader(sys.stdin) - if reader is None: - raise RuntimeError("Was not able to determine binary stream for sys.stdin.") - return reader - - -def get_binary_stdout() -> t.BinaryIO: - writer = _find_binary_writer(sys.stdout) - if writer is None: - raise RuntimeError("Was not able to determine binary stream for sys.stdout.") - return writer - - -def get_binary_stderr() -> t.BinaryIO: - writer = _find_binary_writer(sys.stderr) - if writer is None: - raise RuntimeError("Was not able to determine binary stream for sys.stderr.") - return writer - - -def get_text_stdin( - encoding: t.Optional[str] = None, errors: t.Optional[str] = None -) -> t.TextIO: - rv = _get_windows_console_stream(sys.stdin, encoding, errors) - if rv is not None: - return rv - return _force_correct_text_reader(sys.stdin, encoding, errors, force_readable=True) - - -def get_text_stdout( - encoding: t.Optional[str] = None, errors: t.Optional[str] = None -) -> t.TextIO: - rv = _get_windows_console_stream(sys.stdout, encoding, errors) - if rv is not None: - return rv - return _force_correct_text_writer(sys.stdout, encoding, errors, force_writable=True) - - -def get_text_stderr( - encoding: t.Optional[str] = None, errors: t.Optional[str] = None -) -> t.TextIO: - rv = _get_windows_console_stream(sys.stderr, encoding, errors) - if rv is not None: - return rv - return _force_correct_text_writer(sys.stderr, encoding, errors, force_writable=True) - - -def _wrap_io_open( - file: t.Union[str, "os.PathLike[str]", int], - mode: str, - encoding: t.Optional[str], - errors: t.Optional[str], -) -> t.IO[t.Any]: - """Handles not passing ``encoding`` and ``errors`` in binary mode.""" - if "b" in mode: - return open(file, mode) - - return open(file, mode, encoding=encoding, errors=errors) - - -def open_stream( - filename: "t.Union[str, os.PathLike[str]]", - mode: str = "r", - encoding: t.Optional[str] = None, - errors: t.Optional[str] = "strict", - atomic: bool = False, -) -> t.Tuple[t.IO[t.Any], bool]: - binary = "b" in mode - filename = os.fspath(filename) - - # Standard streams first. These are simple because they ignore the - # atomic flag. Use fsdecode to handle Path("-"). - if os.fsdecode(filename) == "-": - if any(m in mode for m in ["w", "a", "x"]): - if binary: - return get_binary_stdout(), False - return get_text_stdout(encoding=encoding, errors=errors), False - if binary: - return get_binary_stdin(), False - return get_text_stdin(encoding=encoding, errors=errors), False - - # Non-atomic writes directly go out through the regular open functions. - if not atomic: - return _wrap_io_open(filename, mode, encoding, errors), True - - # Some usability stuff for atomic writes - if "a" in mode: - raise ValueError( - "Appending to an existing file is not supported, because that" - " would involve an expensive `copy`-operation to a temporary" - " file. Open the file in normal `w`-mode and copy explicitly" - " if that's what you're after." - ) - if "x" in mode: - raise ValueError("Use the `overwrite`-parameter instead.") - if "w" not in mode: - raise ValueError("Atomic writes only make sense with `w`-mode.") - - # Atomic writes are more complicated. They work by opening a file - # as a proxy in the same folder and then using the fdopen - # functionality to wrap it in a Python file. Then we wrap it in an - # atomic file that moves the file over on close. - import errno - import random - - try: - perm: t.Optional[int] = os.stat(filename).st_mode - except OSError: - perm = None - - flags = os.O_RDWR | os.O_CREAT | os.O_EXCL - - if binary: - flags |= getattr(os, "O_BINARY", 0) - - while True: - tmp_filename = os.path.join( - os.path.dirname(filename), - f".__atomic-write{random.randrange(1 << 32):08x}", - ) - try: - fd = os.open(tmp_filename, flags, 0o666 if perm is None else perm) - break - except OSError as e: - if e.errno == errno.EEXIST or ( - os.name == "nt" - and e.errno == errno.EACCES - and os.path.isdir(e.filename) - and os.access(e.filename, os.W_OK) - ): - continue - raise - - if perm is not None: - os.chmod(tmp_filename, perm) # in case perm includes bits in umask - - f = _wrap_io_open(fd, mode, encoding, errors) - af = _AtomicFile(f, tmp_filename, os.path.realpath(filename)) - return t.cast(t.IO[t.Any], af), True - - -class _AtomicFile: - def __init__(self, f: t.IO[t.Any], tmp_filename: str, real_filename: str) -> None: - self._f = f - self._tmp_filename = tmp_filename - self._real_filename = real_filename - self.closed = False - - @property - def name(self) -> str: - return self._real_filename - - def close(self, delete: bool = False) -> None: - if self.closed: - return - self._f.close() - os.replace(self._tmp_filename, self._real_filename) - self.closed = True - - def __getattr__(self, name: str) -> t.Any: - return getattr(self._f, name) - - def __enter__(self) -> "_AtomicFile": - return self - - def __exit__(self, exc_type: t.Optional[t.Type[BaseException]], *_: t.Any) -> None: - self.close(delete=exc_type is not None) - - def __repr__(self) -> str: - return repr(self._f) - - -def strip_ansi(value: str) -> str: - return _ansi_re.sub("", value) - - -def _is_jupyter_kernel_output(stream: t.IO[t.Any]) -> bool: - while isinstance(stream, (_FixupStream, _NonClosingTextIOWrapper)): - stream = stream._stream - - return stream.__class__.__module__.startswith("ipykernel.") - - -def should_strip_ansi( - stream: t.Optional[t.IO[t.Any]] = None, color: t.Optional[bool] = None -) -> bool: - if color is None: - if stream is None: - stream = sys.stdin - return not isatty(stream) and not _is_jupyter_kernel_output(stream) - return not color - - -# On Windows, wrap the output streams with colorama to support ANSI -# color codes. -# NOTE: double check is needed so mypy does not analyze this on Linux -if sys.platform.startswith("win") and WIN: - from ._winconsole import _get_windows_console_stream - - def _get_argv_encoding() -> str: - import locale - - return locale.getpreferredencoding() - - _ansi_stream_wrappers: t.MutableMapping[t.TextIO, t.TextIO] = WeakKeyDictionary() - - def auto_wrap_for_ansi( # noqa: F811 - stream: t.TextIO, color: t.Optional[bool] = None - ) -> t.TextIO: - """Support ANSI color and style codes on Windows by wrapping a - stream with colorama. - """ - try: - cached = _ansi_stream_wrappers.get(stream) - except Exception: - cached = None - - if cached is not None: - return cached - - import colorama - - strip = should_strip_ansi(stream, color) - ansi_wrapper = colorama.AnsiToWin32(stream, strip=strip) - rv = t.cast(t.TextIO, ansi_wrapper.stream) - _write = rv.write - - def _safe_write(s): - try: - return _write(s) - except BaseException: - ansi_wrapper.reset_all() - raise - - rv.write = _safe_write - - try: - _ansi_stream_wrappers[stream] = rv - except Exception: - pass - - return rv - -else: - - def _get_argv_encoding() -> str: - return getattr(sys.stdin, "encoding", None) or sys.getfilesystemencoding() - - def _get_windows_console_stream( - f: t.TextIO, encoding: t.Optional[str], errors: t.Optional[str] - ) -> t.Optional[t.TextIO]: - return None - - -def term_len(x: str) -> int: - return len(strip_ansi(x)) - - -def isatty(stream: t.IO[t.Any]) -> bool: - try: - return stream.isatty() - except Exception: - return False - - -def _make_cached_stream_func( - src_func: t.Callable[[], t.Optional[t.TextIO]], - wrapper_func: t.Callable[[], t.TextIO], -) -> t.Callable[[], t.Optional[t.TextIO]]: - cache: t.MutableMapping[t.TextIO, t.TextIO] = WeakKeyDictionary() - - def func() -> t.Optional[t.TextIO]: - stream = src_func() - - if stream is None: - return None - - try: - rv = cache.get(stream) - except Exception: - rv = None - if rv is not None: - return rv - rv = wrapper_func() - try: - cache[stream] = rv - except Exception: - pass - return rv - - return func - - -_default_text_stdin = _make_cached_stream_func(lambda: sys.stdin, get_text_stdin) -_default_text_stdout = _make_cached_stream_func(lambda: sys.stdout, get_text_stdout) -_default_text_stderr = _make_cached_stream_func(lambda: sys.stderr, get_text_stderr) - - -binary_streams: t.Mapping[str, t.Callable[[], t.BinaryIO]] = { - "stdin": get_binary_stdin, - "stdout": get_binary_stdout, - "stderr": get_binary_stderr, -} - -text_streams: t.Mapping[ - str, t.Callable[[t.Optional[str], t.Optional[str]], t.TextIO] -] = { - "stdin": get_text_stdin, - "stdout": get_text_stdout, - "stderr": get_text_stderr, -} diff --git a/.venv/lib/python3.12/site-packages/click/_termui_impl.py b/.venv/lib/python3.12/site-packages/click/_termui_impl.py deleted file mode 100644 index f7446577..00000000 --- a/.venv/lib/python3.12/site-packages/click/_termui_impl.py +++ /dev/null @@ -1,739 +0,0 @@ -""" -This module contains implementations for the termui module. To keep the -import time of Click down, some infrequently used functionality is -placed in this module and only imported as needed. -""" -import contextlib -import math -import os -import sys -import time -import typing as t -from gettext import gettext as _ -from io import StringIO -from types import TracebackType - -from ._compat import _default_text_stdout -from ._compat import CYGWIN -from ._compat import get_best_encoding -from ._compat import isatty -from ._compat import open_stream -from ._compat import strip_ansi -from ._compat import term_len -from ._compat import WIN -from .exceptions import ClickException -from .utils import echo - -V = t.TypeVar("V") - -if os.name == "nt": - BEFORE_BAR = "\r" - AFTER_BAR = "\n" -else: - BEFORE_BAR = "\r\033[?25l" - AFTER_BAR = "\033[?25h\n" - - -class ProgressBar(t.Generic[V]): - def __init__( - self, - iterable: t.Optional[t.Iterable[V]], - length: t.Optional[int] = None, - fill_char: str = "#", - empty_char: str = " ", - bar_template: str = "%(bar)s", - info_sep: str = " ", - show_eta: bool = True, - show_percent: t.Optional[bool] = None, - show_pos: bool = False, - item_show_func: t.Optional[t.Callable[[t.Optional[V]], t.Optional[str]]] = None, - label: t.Optional[str] = None, - file: t.Optional[t.TextIO] = None, - color: t.Optional[bool] = None, - update_min_steps: int = 1, - width: int = 30, - ) -> None: - self.fill_char = fill_char - self.empty_char = empty_char - self.bar_template = bar_template - self.info_sep = info_sep - self.show_eta = show_eta - self.show_percent = show_percent - self.show_pos = show_pos - self.item_show_func = item_show_func - self.label: str = label or "" - - if file is None: - file = _default_text_stdout() - - # There are no standard streams attached to write to. For example, - # pythonw on Windows. - if file is None: - file = StringIO() - - self.file = file - self.color = color - self.update_min_steps = update_min_steps - self._completed_intervals = 0 - self.width: int = width - self.autowidth: bool = width == 0 - - if length is None: - from operator import length_hint - - length = length_hint(iterable, -1) - - if length == -1: - length = None - if iterable is None: - if length is None: - raise TypeError("iterable or length is required") - iterable = t.cast(t.Iterable[V], range(length)) - self.iter: t.Iterable[V] = iter(iterable) - self.length = length - self.pos = 0 - self.avg: t.List[float] = [] - self.last_eta: float - self.start: float - self.start = self.last_eta = time.time() - self.eta_known: bool = False - self.finished: bool = False - self.max_width: t.Optional[int] = None - self.entered: bool = False - self.current_item: t.Optional[V] = None - self.is_hidden: bool = not isatty(self.file) - self._last_line: t.Optional[str] = None - - def __enter__(self) -> "ProgressBar[V]": - self.entered = True - self.render_progress() - return self - - def __exit__( - self, - exc_type: t.Optional[t.Type[BaseException]], - exc_value: t.Optional[BaseException], - tb: t.Optional[TracebackType], - ) -> None: - self.render_finish() - - def __iter__(self) -> t.Iterator[V]: - if not self.entered: - raise RuntimeError("You need to use progress bars in a with block.") - self.render_progress() - return self.generator() - - def __next__(self) -> V: - # Iteration is defined in terms of a generator function, - # returned by iter(self); use that to define next(). This works - # because `self.iter` is an iterable consumed by that generator, - # so it is re-entry safe. Calling `next(self.generator())` - # twice works and does "what you want". - return next(iter(self)) - - def render_finish(self) -> None: - if self.is_hidden: - return - self.file.write(AFTER_BAR) - self.file.flush() - - @property - def pct(self) -> float: - if self.finished: - return 1.0 - return min(self.pos / (float(self.length or 1) or 1), 1.0) - - @property - def time_per_iteration(self) -> float: - if not self.avg: - return 0.0 - return sum(self.avg) / float(len(self.avg)) - - @property - def eta(self) -> float: - if self.length is not None and not self.finished: - return self.time_per_iteration * (self.length - self.pos) - return 0.0 - - def format_eta(self) -> str: - if self.eta_known: - t = int(self.eta) - seconds = t % 60 - t //= 60 - minutes = t % 60 - t //= 60 - hours = t % 24 - t //= 24 - if t > 0: - return f"{t}d {hours:02}:{minutes:02}:{seconds:02}" - else: - return f"{hours:02}:{minutes:02}:{seconds:02}" - return "" - - def format_pos(self) -> str: - pos = str(self.pos) - if self.length is not None: - pos += f"/{self.length}" - return pos - - def format_pct(self) -> str: - return f"{int(self.pct * 100): 4}%"[1:] - - def format_bar(self) -> str: - if self.length is not None: - bar_length = int(self.pct * self.width) - bar = self.fill_char * bar_length - bar += self.empty_char * (self.width - bar_length) - elif self.finished: - bar = self.fill_char * self.width - else: - chars = list(self.empty_char * (self.width or 1)) - if self.time_per_iteration != 0: - chars[ - int( - (math.cos(self.pos * self.time_per_iteration) / 2.0 + 0.5) - * self.width - ) - ] = self.fill_char - bar = "".join(chars) - return bar - - def format_progress_line(self) -> str: - show_percent = self.show_percent - - info_bits = [] - if self.length is not None and show_percent is None: - show_percent = not self.show_pos - - if self.show_pos: - info_bits.append(self.format_pos()) - if show_percent: - info_bits.append(self.format_pct()) - if self.show_eta and self.eta_known and not self.finished: - info_bits.append(self.format_eta()) - if self.item_show_func is not None: - item_info = self.item_show_func(self.current_item) - if item_info is not None: - info_bits.append(item_info) - - return ( - self.bar_template - % { - "label": self.label, - "bar": self.format_bar(), - "info": self.info_sep.join(info_bits), - } - ).rstrip() - - def render_progress(self) -> None: - import shutil - - if self.is_hidden: - # Only output the label as it changes if the output is not a - # TTY. Use file=stderr if you expect to be piping stdout. - if self._last_line != self.label: - self._last_line = self.label - echo(self.label, file=self.file, color=self.color) - - return - - buf = [] - # Update width in case the terminal has been resized - if self.autowidth: - old_width = self.width - self.width = 0 - clutter_length = term_len(self.format_progress_line()) - new_width = max(0, shutil.get_terminal_size().columns - clutter_length) - if new_width < old_width: - buf.append(BEFORE_BAR) - buf.append(" " * self.max_width) # type: ignore - self.max_width = new_width - self.width = new_width - - clear_width = self.width - if self.max_width is not None: - clear_width = self.max_width - - buf.append(BEFORE_BAR) - line = self.format_progress_line() - line_len = term_len(line) - if self.max_width is None or self.max_width < line_len: - self.max_width = line_len - - buf.append(line) - buf.append(" " * (clear_width - line_len)) - line = "".join(buf) - # Render the line only if it changed. - - if line != self._last_line: - self._last_line = line - echo(line, file=self.file, color=self.color, nl=False) - self.file.flush() - - def make_step(self, n_steps: int) -> None: - self.pos += n_steps - if self.length is not None and self.pos >= self.length: - self.finished = True - - if (time.time() - self.last_eta) < 1.0: - return - - self.last_eta = time.time() - - # self.avg is a rolling list of length <= 7 of steps where steps are - # defined as time elapsed divided by the total progress through - # self.length. - if self.pos: - step = (time.time() - self.start) / self.pos - else: - step = time.time() - self.start - - self.avg = self.avg[-6:] + [step] - - self.eta_known = self.length is not None - - def update(self, n_steps: int, current_item: t.Optional[V] = None) -> None: - """Update the progress bar by advancing a specified number of - steps, and optionally set the ``current_item`` for this new - position. - - :param n_steps: Number of steps to advance. - :param current_item: Optional item to set as ``current_item`` - for the updated position. - - .. versionchanged:: 8.0 - Added the ``current_item`` optional parameter. - - .. versionchanged:: 8.0 - Only render when the number of steps meets the - ``update_min_steps`` threshold. - """ - if current_item is not None: - self.current_item = current_item - - self._completed_intervals += n_steps - - if self._completed_intervals >= self.update_min_steps: - self.make_step(self._completed_intervals) - self.render_progress() - self._completed_intervals = 0 - - def finish(self) -> None: - self.eta_known = False - self.current_item = None - self.finished = True - - def generator(self) -> t.Iterator[V]: - """Return a generator which yields the items added to the bar - during construction, and updates the progress bar *after* the - yielded block returns. - """ - # WARNING: the iterator interface for `ProgressBar` relies on - # this and only works because this is a simple generator which - # doesn't create or manage additional state. If this function - # changes, the impact should be evaluated both against - # `iter(bar)` and `next(bar)`. `next()` in particular may call - # `self.generator()` repeatedly, and this must remain safe in - # order for that interface to work. - if not self.entered: - raise RuntimeError("You need to use progress bars in a with block.") - - if self.is_hidden: - yield from self.iter - else: - for rv in self.iter: - self.current_item = rv - - # This allows show_item_func to be updated before the - # item is processed. Only trigger at the beginning of - # the update interval. - if self._completed_intervals == 0: - self.render_progress() - - yield rv - self.update(1) - - self.finish() - self.render_progress() - - -def pager(generator: t.Iterable[str], color: t.Optional[bool] = None) -> None: - """Decide what method to use for paging through text.""" - stdout = _default_text_stdout() - - # There are no standard streams attached to write to. For example, - # pythonw on Windows. - if stdout is None: - stdout = StringIO() - - if not isatty(sys.stdin) or not isatty(stdout): - return _nullpager(stdout, generator, color) - pager_cmd = (os.environ.get("PAGER", None) or "").strip() - if pager_cmd: - if WIN: - return _tempfilepager(generator, pager_cmd, color) - return _pipepager(generator, pager_cmd, color) - if os.environ.get("TERM") in ("dumb", "emacs"): - return _nullpager(stdout, generator, color) - if WIN or sys.platform.startswith("os2"): - return _tempfilepager(generator, "more <", color) - if hasattr(os, "system") and os.system("(less) 2>/dev/null") == 0: - return _pipepager(generator, "less", color) - - import tempfile - - fd, filename = tempfile.mkstemp() - os.close(fd) - try: - if hasattr(os, "system") and os.system(f'more "{filename}"') == 0: - return _pipepager(generator, "more", color) - return _nullpager(stdout, generator, color) - finally: - os.unlink(filename) - - -def _pipepager(generator: t.Iterable[str], cmd: str, color: t.Optional[bool]) -> None: - """Page through text by feeding it to another program. Invoking a - pager through this might support colors. - """ - import subprocess - - env = dict(os.environ) - - # If we're piping to less we might support colors under the - # condition that - cmd_detail = cmd.rsplit("/", 1)[-1].split() - if color is None and cmd_detail[0] == "less": - less_flags = f"{os.environ.get('LESS', '')}{' '.join(cmd_detail[1:])}" - if not less_flags: - env["LESS"] = "-R" - color = True - elif "r" in less_flags or "R" in less_flags: - color = True - - c = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, env=env) - stdin = t.cast(t.BinaryIO, c.stdin) - encoding = get_best_encoding(stdin) - try: - for text in generator: - if not color: - text = strip_ansi(text) - - stdin.write(text.encode(encoding, "replace")) - except (OSError, KeyboardInterrupt): - pass - else: - stdin.close() - - # Less doesn't respect ^C, but catches it for its own UI purposes (aborting - # search or other commands inside less). - # - # That means when the user hits ^C, the parent process (click) terminates, - # but less is still alive, paging the output and messing up the terminal. - # - # If the user wants to make the pager exit on ^C, they should set - # `LESS='-K'`. It's not our decision to make. - while True: - try: - c.wait() - except KeyboardInterrupt: - pass - else: - break - - -def _tempfilepager( - generator: t.Iterable[str], cmd: str, color: t.Optional[bool] -) -> None: - """Page through text by invoking a program on a temporary file.""" - import tempfile - - fd, filename = tempfile.mkstemp() - # TODO: This never terminates if the passed generator never terminates. - text = "".join(generator) - if not color: - text = strip_ansi(text) - encoding = get_best_encoding(sys.stdout) - with open_stream(filename, "wb")[0] as f: - f.write(text.encode(encoding)) - try: - os.system(f'{cmd} "{filename}"') - finally: - os.close(fd) - os.unlink(filename) - - -def _nullpager( - stream: t.TextIO, generator: t.Iterable[str], color: t.Optional[bool] -) -> None: - """Simply print unformatted text. This is the ultimate fallback.""" - for text in generator: - if not color: - text = strip_ansi(text) - stream.write(text) - - -class Editor: - def __init__( - self, - editor: t.Optional[str] = None, - env: t.Optional[t.Mapping[str, str]] = None, - require_save: bool = True, - extension: str = ".txt", - ) -> None: - self.editor = editor - self.env = env - self.require_save = require_save - self.extension = extension - - def get_editor(self) -> str: - if self.editor is not None: - return self.editor - for key in "VISUAL", "EDITOR": - rv = os.environ.get(key) - if rv: - return rv - if WIN: - return "notepad" - for editor in "sensible-editor", "vim", "nano": - if os.system(f"which {editor} >/dev/null 2>&1") == 0: - return editor - return "vi" - - def edit_file(self, filename: str) -> None: - import subprocess - - editor = self.get_editor() - environ: t.Optional[t.Dict[str, str]] = None - - if self.env: - environ = os.environ.copy() - environ.update(self.env) - - try: - c = subprocess.Popen(f'{editor} "{filename}"', env=environ, shell=True) - exit_code = c.wait() - if exit_code != 0: - raise ClickException( - _("{editor}: Editing failed").format(editor=editor) - ) - except OSError as e: - raise ClickException( - _("{editor}: Editing failed: {e}").format(editor=editor, e=e) - ) from e - - def edit(self, text: t.Optional[t.AnyStr]) -> t.Optional[t.AnyStr]: - import tempfile - - if not text: - data = b"" - elif isinstance(text, (bytes, bytearray)): - data = text - else: - if text and not text.endswith("\n"): - text += "\n" - - if WIN: - data = text.replace("\n", "\r\n").encode("utf-8-sig") - else: - data = text.encode("utf-8") - - fd, name = tempfile.mkstemp(prefix="editor-", suffix=self.extension) - f: t.BinaryIO - - try: - with os.fdopen(fd, "wb") as f: - f.write(data) - - # If the filesystem resolution is 1 second, like Mac OS - # 10.12 Extended, or 2 seconds, like FAT32, and the editor - # closes very fast, require_save can fail. Set the modified - # time to be 2 seconds in the past to work around this. - os.utime(name, (os.path.getatime(name), os.path.getmtime(name) - 2)) - # Depending on the resolution, the exact value might not be - # recorded, so get the new recorded value. - timestamp = os.path.getmtime(name) - - self.edit_file(name) - - if self.require_save and os.path.getmtime(name) == timestamp: - return None - - with open(name, "rb") as f: - rv = f.read() - - if isinstance(text, (bytes, bytearray)): - return rv - - return rv.decode("utf-8-sig").replace("\r\n", "\n") # type: ignore - finally: - os.unlink(name) - - -def open_url(url: str, wait: bool = False, locate: bool = False) -> int: - import subprocess - - def _unquote_file(url: str) -> str: - from urllib.parse import unquote - - if url.startswith("file://"): - url = unquote(url[7:]) - - return url - - if sys.platform == "darwin": - args = ["open"] - if wait: - args.append("-W") - if locate: - args.append("-R") - args.append(_unquote_file(url)) - null = open("/dev/null", "w") - try: - return subprocess.Popen(args, stderr=null).wait() - finally: - null.close() - elif WIN: - if locate: - url = _unquote_file(url.replace('"', "")) - args = f'explorer /select,"{url}"' - else: - url = url.replace('"', "") - wait_str = "/WAIT" if wait else "" - args = f'start {wait_str} "" "{url}"' - return os.system(args) - elif CYGWIN: - if locate: - url = os.path.dirname(_unquote_file(url).replace('"', "")) - args = f'cygstart "{url}"' - else: - url = url.replace('"', "") - wait_str = "-w" if wait else "" - args = f'cygstart {wait_str} "{url}"' - return os.system(args) - - try: - if locate: - url = os.path.dirname(_unquote_file(url)) or "." - else: - url = _unquote_file(url) - c = subprocess.Popen(["xdg-open", url]) - if wait: - return c.wait() - return 0 - except OSError: - if url.startswith(("http://", "https://")) and not locate and not wait: - import webbrowser - - webbrowser.open(url) - return 0 - return 1 - - -def _translate_ch_to_exc(ch: str) -> t.Optional[BaseException]: - if ch == "\x03": - raise KeyboardInterrupt() - - if ch == "\x04" and not WIN: # Unix-like, Ctrl+D - raise EOFError() - - if ch == "\x1a" and WIN: # Windows, Ctrl+Z - raise EOFError() - - return None - - -if WIN: - import msvcrt - - @contextlib.contextmanager - def raw_terminal() -> t.Iterator[int]: - yield -1 - - def getchar(echo: bool) -> str: - # The function `getch` will return a bytes object corresponding to - # the pressed character. Since Windows 10 build 1803, it will also - # return \x00 when called a second time after pressing a regular key. - # - # `getwch` does not share this probably-bugged behavior. Moreover, it - # returns a Unicode object by default, which is what we want. - # - # Either of these functions will return \x00 or \xe0 to indicate - # a special key, and you need to call the same function again to get - # the "rest" of the code. The fun part is that \u00e0 is - # "latin small letter a with grave", so if you type that on a French - # keyboard, you _also_ get a \xe0. - # E.g., consider the Up arrow. This returns \xe0 and then \x48. The - # resulting Unicode string reads as "a with grave" + "capital H". - # This is indistinguishable from when the user actually types - # "a with grave" and then "capital H". - # - # When \xe0 is returned, we assume it's part of a special-key sequence - # and call `getwch` again, but that means that when the user types - # the \u00e0 character, `getchar` doesn't return until a second - # character is typed. - # The alternative is returning immediately, but that would mess up - # cross-platform handling of arrow keys and others that start with - # \xe0. Another option is using `getch`, but then we can't reliably - # read non-ASCII characters, because return values of `getch` are - # limited to the current 8-bit codepage. - # - # Anyway, Click doesn't claim to do this Right(tm), and using `getwch` - # is doing the right thing in more situations than with `getch`. - func: t.Callable[[], str] - - if echo: - func = msvcrt.getwche # type: ignore - else: - func = msvcrt.getwch # type: ignore - - rv = func() - - if rv in ("\x00", "\xe0"): - # \x00 and \xe0 are control characters that indicate special key, - # see above. - rv += func() - - _translate_ch_to_exc(rv) - return rv - -else: - import tty - import termios - - @contextlib.contextmanager - def raw_terminal() -> t.Iterator[int]: - f: t.Optional[t.TextIO] - fd: int - - if not isatty(sys.stdin): - f = open("/dev/tty") - fd = f.fileno() - else: - fd = sys.stdin.fileno() - f = None - - try: - old_settings = termios.tcgetattr(fd) - - try: - tty.setraw(fd) - yield fd - finally: - termios.tcsetattr(fd, termios.TCSADRAIN, old_settings) - sys.stdout.flush() - - if f is not None: - f.close() - except termios.error: - pass - - def getchar(echo: bool) -> str: - with raw_terminal() as fd: - ch = os.read(fd, 32).decode(get_best_encoding(sys.stdin), "replace") - - if echo and isatty(sys.stdout): - sys.stdout.write(ch) - - _translate_ch_to_exc(ch) - return ch diff --git a/.venv/lib/python3.12/site-packages/click/_textwrap.py b/.venv/lib/python3.12/site-packages/click/_textwrap.py deleted file mode 100644 index b47dcbd4..00000000 --- a/.venv/lib/python3.12/site-packages/click/_textwrap.py +++ /dev/null @@ -1,49 +0,0 @@ -import textwrap -import typing as t -from contextlib import contextmanager - - -class TextWrapper(textwrap.TextWrapper): - def _handle_long_word( - self, - reversed_chunks: t.List[str], - cur_line: t.List[str], - cur_len: int, - width: int, - ) -> None: - space_left = max(width - cur_len, 1) - - if self.break_long_words: - last = reversed_chunks[-1] - cut = last[:space_left] - res = last[space_left:] - cur_line.append(cut) - reversed_chunks[-1] = res - elif not cur_line: - cur_line.append(reversed_chunks.pop()) - - @contextmanager - def extra_indent(self, indent: str) -> t.Iterator[None]: - old_initial_indent = self.initial_indent - old_subsequent_indent = self.subsequent_indent - self.initial_indent += indent - self.subsequent_indent += indent - - try: - yield - finally: - self.initial_indent = old_initial_indent - self.subsequent_indent = old_subsequent_indent - - def indent_only(self, text: str) -> str: - rv = [] - - for idx, line in enumerate(text.splitlines()): - indent = self.initial_indent - - if idx > 0: - indent = self.subsequent_indent - - rv.append(f"{indent}{line}") - - return "\n".join(rv) diff --git a/.venv/lib/python3.12/site-packages/click/_winconsole.py b/.venv/lib/python3.12/site-packages/click/_winconsole.py deleted file mode 100644 index 6b20df31..00000000 --- a/.venv/lib/python3.12/site-packages/click/_winconsole.py +++ /dev/null @@ -1,279 +0,0 @@ -# This module is based on the excellent work by Adam BartoÅ¡ who -# provided a lot of what went into the implementation here in -# the discussion to issue1602 in the Python bug tracker. -# -# There are some general differences in regards to how this works -# compared to the original patches as we do not need to patch -# the entire interpreter but just work in our little world of -# echo and prompt. -import io -import sys -import time -import typing as t -from ctypes import byref -from ctypes import c_char -from ctypes import c_char_p -from ctypes import c_int -from ctypes import c_ssize_t -from ctypes import c_ulong -from ctypes import c_void_p -from ctypes import POINTER -from ctypes import py_object -from ctypes import Structure -from ctypes.wintypes import DWORD -from ctypes.wintypes import HANDLE -from ctypes.wintypes import LPCWSTR -from ctypes.wintypes import LPWSTR - -from ._compat import _NonClosingTextIOWrapper - -assert sys.platform == "win32" -import msvcrt # noqa: E402 -from ctypes import windll # noqa: E402 -from ctypes import WINFUNCTYPE # noqa: E402 - -c_ssize_p = POINTER(c_ssize_t) - -kernel32 = windll.kernel32 -GetStdHandle = kernel32.GetStdHandle -ReadConsoleW = kernel32.ReadConsoleW -WriteConsoleW = kernel32.WriteConsoleW -GetConsoleMode = kernel32.GetConsoleMode -GetLastError = kernel32.GetLastError -GetCommandLineW = WINFUNCTYPE(LPWSTR)(("GetCommandLineW", windll.kernel32)) -CommandLineToArgvW = WINFUNCTYPE(POINTER(LPWSTR), LPCWSTR, POINTER(c_int))( - ("CommandLineToArgvW", windll.shell32) -) -LocalFree = WINFUNCTYPE(c_void_p, c_void_p)(("LocalFree", windll.kernel32)) - -STDIN_HANDLE = GetStdHandle(-10) -STDOUT_HANDLE = GetStdHandle(-11) -STDERR_HANDLE = GetStdHandle(-12) - -PyBUF_SIMPLE = 0 -PyBUF_WRITABLE = 1 - -ERROR_SUCCESS = 0 -ERROR_NOT_ENOUGH_MEMORY = 8 -ERROR_OPERATION_ABORTED = 995 - -STDIN_FILENO = 0 -STDOUT_FILENO = 1 -STDERR_FILENO = 2 - -EOF = b"\x1a" -MAX_BYTES_WRITTEN = 32767 - -try: - from ctypes import pythonapi -except ImportError: - # On PyPy we cannot get buffers so our ability to operate here is - # severely limited. - get_buffer = None -else: - - class Py_buffer(Structure): - _fields_ = [ - ("buf", c_void_p), - ("obj", py_object), - ("len", c_ssize_t), - ("itemsize", c_ssize_t), - ("readonly", c_int), - ("ndim", c_int), - ("format", c_char_p), - ("shape", c_ssize_p), - ("strides", c_ssize_p), - ("suboffsets", c_ssize_p), - ("internal", c_void_p), - ] - - PyObject_GetBuffer = pythonapi.PyObject_GetBuffer - PyBuffer_Release = pythonapi.PyBuffer_Release - - def get_buffer(obj, writable=False): - buf = Py_buffer() - flags = PyBUF_WRITABLE if writable else PyBUF_SIMPLE - PyObject_GetBuffer(py_object(obj), byref(buf), flags) - - try: - buffer_type = c_char * buf.len - return buffer_type.from_address(buf.buf) - finally: - PyBuffer_Release(byref(buf)) - - -class _WindowsConsoleRawIOBase(io.RawIOBase): - def __init__(self, handle): - self.handle = handle - - def isatty(self): - super().isatty() - return True - - -class _WindowsConsoleReader(_WindowsConsoleRawIOBase): - def readable(self): - return True - - def readinto(self, b): - bytes_to_be_read = len(b) - if not bytes_to_be_read: - return 0 - elif bytes_to_be_read % 2: - raise ValueError( - "cannot read odd number of bytes from UTF-16-LE encoded console" - ) - - buffer = get_buffer(b, writable=True) - code_units_to_be_read = bytes_to_be_read // 2 - code_units_read = c_ulong() - - rv = ReadConsoleW( - HANDLE(self.handle), - buffer, - code_units_to_be_read, - byref(code_units_read), - None, - ) - if GetLastError() == ERROR_OPERATION_ABORTED: - # wait for KeyboardInterrupt - time.sleep(0.1) - if not rv: - raise OSError(f"Windows error: {GetLastError()}") - - if buffer[0] == EOF: - return 0 - return 2 * code_units_read.value - - -class _WindowsConsoleWriter(_WindowsConsoleRawIOBase): - def writable(self): - return True - - @staticmethod - def _get_error_message(errno): - if errno == ERROR_SUCCESS: - return "ERROR_SUCCESS" - elif errno == ERROR_NOT_ENOUGH_MEMORY: - return "ERROR_NOT_ENOUGH_MEMORY" - return f"Windows error {errno}" - - def write(self, b): - bytes_to_be_written = len(b) - buf = get_buffer(b) - code_units_to_be_written = min(bytes_to_be_written, MAX_BYTES_WRITTEN) // 2 - code_units_written = c_ulong() - - WriteConsoleW( - HANDLE(self.handle), - buf, - code_units_to_be_written, - byref(code_units_written), - None, - ) - bytes_written = 2 * code_units_written.value - - if bytes_written == 0 and bytes_to_be_written > 0: - raise OSError(self._get_error_message(GetLastError())) - return bytes_written - - -class ConsoleStream: - def __init__(self, text_stream: t.TextIO, byte_stream: t.BinaryIO) -> None: - self._text_stream = text_stream - self.buffer = byte_stream - - @property - def name(self) -> str: - return self.buffer.name - - def write(self, x: t.AnyStr) -> int: - if isinstance(x, str): - return self._text_stream.write(x) - try: - self.flush() - except Exception: - pass - return self.buffer.write(x) - - def writelines(self, lines: t.Iterable[t.AnyStr]) -> None: - for line in lines: - self.write(line) - - def __getattr__(self, name: str) -> t.Any: - return getattr(self._text_stream, name) - - def isatty(self) -> bool: - return self.buffer.isatty() - - def __repr__(self): - return f"" - - -def _get_text_stdin(buffer_stream: t.BinaryIO) -> t.TextIO: - text_stream = _NonClosingTextIOWrapper( - io.BufferedReader(_WindowsConsoleReader(STDIN_HANDLE)), - "utf-16-le", - "strict", - line_buffering=True, - ) - return t.cast(t.TextIO, ConsoleStream(text_stream, buffer_stream)) - - -def _get_text_stdout(buffer_stream: t.BinaryIO) -> t.TextIO: - text_stream = _NonClosingTextIOWrapper( - io.BufferedWriter(_WindowsConsoleWriter(STDOUT_HANDLE)), - "utf-16-le", - "strict", - line_buffering=True, - ) - return t.cast(t.TextIO, ConsoleStream(text_stream, buffer_stream)) - - -def _get_text_stderr(buffer_stream: t.BinaryIO) -> t.TextIO: - text_stream = _NonClosingTextIOWrapper( - io.BufferedWriter(_WindowsConsoleWriter(STDERR_HANDLE)), - "utf-16-le", - "strict", - line_buffering=True, - ) - return t.cast(t.TextIO, ConsoleStream(text_stream, buffer_stream)) - - -_stream_factories: t.Mapping[int, t.Callable[[t.BinaryIO], t.TextIO]] = { - 0: _get_text_stdin, - 1: _get_text_stdout, - 2: _get_text_stderr, -} - - -def _is_console(f: t.TextIO) -> bool: - if not hasattr(f, "fileno"): - return False - - try: - fileno = f.fileno() - except (OSError, io.UnsupportedOperation): - return False - - handle = msvcrt.get_osfhandle(fileno) - return bool(GetConsoleMode(handle, byref(DWORD()))) - - -def _get_windows_console_stream( - f: t.TextIO, encoding: t.Optional[str], errors: t.Optional[str] -) -> t.Optional[t.TextIO]: - if ( - get_buffer is not None - and encoding in {"utf-16-le", None} - and errors in {"strict", None} - and _is_console(f) - ): - func = _stream_factories.get(f.fileno()) - if func is not None: - b = getattr(f, "buffer", None) - - if b is None: - return None - - return func(b) diff --git a/.venv/lib/python3.12/site-packages/click/core.py b/.venv/lib/python3.12/site-packages/click/core.py deleted file mode 100644 index cc65e896..00000000 --- a/.venv/lib/python3.12/site-packages/click/core.py +++ /dev/null @@ -1,3042 +0,0 @@ -import enum -import errno -import inspect -import os -import sys -import typing as t -from collections import abc -from contextlib import contextmanager -from contextlib import ExitStack -from functools import update_wrapper -from gettext import gettext as _ -from gettext import ngettext -from itertools import repeat -from types import TracebackType - -from . import types -from .exceptions import Abort -from .exceptions import BadParameter -from .exceptions import ClickException -from .exceptions import Exit -from .exceptions import MissingParameter -from .exceptions import UsageError -from .formatting import HelpFormatter -from .formatting import join_options -from .globals import pop_context -from .globals import push_context -from .parser import _flag_needs_value -from .parser import OptionParser -from .parser import split_opt -from .termui import confirm -from .termui import prompt -from .termui import style -from .utils import _detect_program_name -from .utils import _expand_args -from .utils import echo -from .utils import make_default_short_help -from .utils import make_str -from .utils import PacifyFlushWrapper - -if t.TYPE_CHECKING: - import typing_extensions as te - from .shell_completion import CompletionItem - -F = t.TypeVar("F", bound=t.Callable[..., t.Any]) -V = t.TypeVar("V") - - -def _complete_visible_commands( - ctx: "Context", incomplete: str -) -> t.Iterator[t.Tuple[str, "Command"]]: - """List all the subcommands of a group that start with the - incomplete value and aren't hidden. - - :param ctx: Invocation context for the group. - :param incomplete: Value being completed. May be empty. - """ - multi = t.cast(MultiCommand, ctx.command) - - for name in multi.list_commands(ctx): - if name.startswith(incomplete): - command = multi.get_command(ctx, name) - - if command is not None and not command.hidden: - yield name, command - - -def _check_multicommand( - base_command: "MultiCommand", cmd_name: str, cmd: "Command", register: bool = False -) -> None: - if not base_command.chain or not isinstance(cmd, MultiCommand): - return - if register: - hint = ( - "It is not possible to add multi commands as children to" - " another multi command that is in chain mode." - ) - else: - hint = ( - "Found a multi command as subcommand to a multi command" - " that is in chain mode. This is not supported." - ) - raise RuntimeError( - f"{hint}. Command {base_command.name!r} is set to chain and" - f" {cmd_name!r} was added as a subcommand but it in itself is a" - f" multi command. ({cmd_name!r} is a {type(cmd).__name__}" - f" within a chained {type(base_command).__name__} named" - f" {base_command.name!r})." - ) - - -def batch(iterable: t.Iterable[V], batch_size: int) -> t.List[t.Tuple[V, ...]]: - return list(zip(*repeat(iter(iterable), batch_size))) - - -@contextmanager -def augment_usage_errors( - ctx: "Context", param: t.Optional["Parameter"] = None -) -> t.Iterator[None]: - """Context manager that attaches extra information to exceptions.""" - try: - yield - except BadParameter as e: - if e.ctx is None: - e.ctx = ctx - if param is not None and e.param is None: - e.param = param - raise - except UsageError as e: - if e.ctx is None: - e.ctx = ctx - raise - - -def iter_params_for_processing( - invocation_order: t.Sequence["Parameter"], - declaration_order: t.Sequence["Parameter"], -) -> t.List["Parameter"]: - """Given a sequence of parameters in the order as should be considered - for processing and an iterable of parameters that exist, this returns - a list in the correct order as they should be processed. - """ - - def sort_key(item: "Parameter") -> t.Tuple[bool, float]: - try: - idx: float = invocation_order.index(item) - except ValueError: - idx = float("inf") - - return not item.is_eager, idx - - return sorted(declaration_order, key=sort_key) - - -class ParameterSource(enum.Enum): - """This is an :class:`~enum.Enum` that indicates the source of a - parameter's value. - - Use :meth:`click.Context.get_parameter_source` to get the - source for a parameter by name. - - .. versionchanged:: 8.0 - Use :class:`~enum.Enum` and drop the ``validate`` method. - - .. versionchanged:: 8.0 - Added the ``PROMPT`` value. - """ - - COMMANDLINE = enum.auto() - """The value was provided by the command line args.""" - ENVIRONMENT = enum.auto() - """The value was provided with an environment variable.""" - DEFAULT = enum.auto() - """Used the default specified by the parameter.""" - DEFAULT_MAP = enum.auto() - """Used a default provided by :attr:`Context.default_map`.""" - PROMPT = enum.auto() - """Used a prompt to confirm a default or provide a value.""" - - -class Context: - """The context is a special internal object that holds state relevant - for the script execution at every single level. It's normally invisible - to commands unless they opt-in to getting access to it. - - The context is useful as it can pass internal objects around and can - control special execution features such as reading data from - environment variables. - - A context can be used as context manager in which case it will call - :meth:`close` on teardown. - - :param command: the command class for this context. - :param parent: the parent context. - :param info_name: the info name for this invocation. Generally this - is the most descriptive name for the script or - command. For the toplevel script it is usually - the name of the script, for commands below it it's - the name of the script. - :param obj: an arbitrary object of user data. - :param auto_envvar_prefix: the prefix to use for automatic environment - variables. If this is `None` then reading - from environment variables is disabled. This - does not affect manually set environment - variables which are always read. - :param default_map: a dictionary (like object) with default values - for parameters. - :param terminal_width: the width of the terminal. The default is - inherit from parent context. If no context - defines the terminal width then auto - detection will be applied. - :param max_content_width: the maximum width for content rendered by - Click (this currently only affects help - pages). This defaults to 80 characters if - not overridden. In other words: even if the - terminal is larger than that, Click will not - format things wider than 80 characters by - default. In addition to that, formatters might - add some safety mapping on the right. - :param resilient_parsing: if this flag is enabled then Click will - parse without any interactivity or callback - invocation. Default values will also be - ignored. This is useful for implementing - things such as completion support. - :param allow_extra_args: if this is set to `True` then extra arguments - at the end will not raise an error and will be - kept on the context. The default is to inherit - from the command. - :param allow_interspersed_args: if this is set to `False` then options - and arguments cannot be mixed. The - default is to inherit from the command. - :param ignore_unknown_options: instructs click to ignore options it does - not know and keeps them for later - processing. - :param help_option_names: optionally a list of strings that define how - the default help parameter is named. The - default is ``['--help']``. - :param token_normalize_func: an optional function that is used to - normalize tokens (options, choices, - etc.). This for instance can be used to - implement case insensitive behavior. - :param color: controls if the terminal supports ANSI colors or not. The - default is autodetection. This is only needed if ANSI - codes are used in texts that Click prints which is by - default not the case. This for instance would affect - help output. - :param show_default: Show the default value for commands. If this - value is not set, it defaults to the value from the parent - context. ``Command.show_default`` overrides this default for the - specific command. - - .. versionchanged:: 8.1 - The ``show_default`` parameter is overridden by - ``Command.show_default``, instead of the other way around. - - .. versionchanged:: 8.0 - The ``show_default`` parameter defaults to the value from the - parent context. - - .. versionchanged:: 7.1 - Added the ``show_default`` parameter. - - .. versionchanged:: 4.0 - Added the ``color``, ``ignore_unknown_options``, and - ``max_content_width`` parameters. - - .. versionchanged:: 3.0 - Added the ``allow_extra_args`` and ``allow_interspersed_args`` - parameters. - - .. versionchanged:: 2.0 - Added the ``resilient_parsing``, ``help_option_names``, and - ``token_normalize_func`` parameters. - """ - - #: The formatter class to create with :meth:`make_formatter`. - #: - #: .. versionadded:: 8.0 - formatter_class: t.Type["HelpFormatter"] = HelpFormatter - - def __init__( - self, - command: "Command", - parent: t.Optional["Context"] = None, - info_name: t.Optional[str] = None, - obj: t.Optional[t.Any] = None, - auto_envvar_prefix: t.Optional[str] = None, - default_map: t.Optional[t.MutableMapping[str, t.Any]] = None, - terminal_width: t.Optional[int] = None, - max_content_width: t.Optional[int] = None, - resilient_parsing: bool = False, - allow_extra_args: t.Optional[bool] = None, - allow_interspersed_args: t.Optional[bool] = None, - ignore_unknown_options: t.Optional[bool] = None, - help_option_names: t.Optional[t.List[str]] = None, - token_normalize_func: t.Optional[t.Callable[[str], str]] = None, - color: t.Optional[bool] = None, - show_default: t.Optional[bool] = None, - ) -> None: - #: the parent context or `None` if none exists. - self.parent = parent - #: the :class:`Command` for this context. - self.command = command - #: the descriptive information name - self.info_name = info_name - #: Map of parameter names to their parsed values. Parameters - #: with ``expose_value=False`` are not stored. - self.params: t.Dict[str, t.Any] = {} - #: the leftover arguments. - self.args: t.List[str] = [] - #: protected arguments. These are arguments that are prepended - #: to `args` when certain parsing scenarios are encountered but - #: must be never propagated to another arguments. This is used - #: to implement nested parsing. - self.protected_args: t.List[str] = [] - #: the collected prefixes of the command's options. - self._opt_prefixes: t.Set[str] = set(parent._opt_prefixes) if parent else set() - - if obj is None and parent is not None: - obj = parent.obj - - #: the user object stored. - self.obj: t.Any = obj - self._meta: t.Dict[str, t.Any] = getattr(parent, "meta", {}) - - #: A dictionary (-like object) with defaults for parameters. - if ( - default_map is None - and info_name is not None - and parent is not None - and parent.default_map is not None - ): - default_map = parent.default_map.get(info_name) - - self.default_map: t.Optional[t.MutableMapping[str, t.Any]] = default_map - - #: This flag indicates if a subcommand is going to be executed. A - #: group callback can use this information to figure out if it's - #: being executed directly or because the execution flow passes - #: onwards to a subcommand. By default it's None, but it can be - #: the name of the subcommand to execute. - #: - #: If chaining is enabled this will be set to ``'*'`` in case - #: any commands are executed. It is however not possible to - #: figure out which ones. If you require this knowledge you - #: should use a :func:`result_callback`. - self.invoked_subcommand: t.Optional[str] = None - - if terminal_width is None and parent is not None: - terminal_width = parent.terminal_width - - #: The width of the terminal (None is autodetection). - self.terminal_width: t.Optional[int] = terminal_width - - if max_content_width is None and parent is not None: - max_content_width = parent.max_content_width - - #: The maximum width of formatted content (None implies a sensible - #: default which is 80 for most things). - self.max_content_width: t.Optional[int] = max_content_width - - if allow_extra_args is None: - allow_extra_args = command.allow_extra_args - - #: Indicates if the context allows extra args or if it should - #: fail on parsing. - #: - #: .. versionadded:: 3.0 - self.allow_extra_args = allow_extra_args - - if allow_interspersed_args is None: - allow_interspersed_args = command.allow_interspersed_args - - #: Indicates if the context allows mixing of arguments and - #: options or not. - #: - #: .. versionadded:: 3.0 - self.allow_interspersed_args: bool = allow_interspersed_args - - if ignore_unknown_options is None: - ignore_unknown_options = command.ignore_unknown_options - - #: Instructs click to ignore options that a command does not - #: understand and will store it on the context for later - #: processing. This is primarily useful for situations where you - #: want to call into external programs. Generally this pattern is - #: strongly discouraged because it's not possibly to losslessly - #: forward all arguments. - #: - #: .. versionadded:: 4.0 - self.ignore_unknown_options: bool = ignore_unknown_options - - if help_option_names is None: - if parent is not None: - help_option_names = parent.help_option_names - else: - help_option_names = ["--help"] - - #: The names for the help options. - self.help_option_names: t.List[str] = help_option_names - - if token_normalize_func is None and parent is not None: - token_normalize_func = parent.token_normalize_func - - #: An optional normalization function for tokens. This is - #: options, choices, commands etc. - self.token_normalize_func: t.Optional[ - t.Callable[[str], str] - ] = token_normalize_func - - #: Indicates if resilient parsing is enabled. In that case Click - #: will do its best to not cause any failures and default values - #: will be ignored. Useful for completion. - self.resilient_parsing: bool = resilient_parsing - - # If there is no envvar prefix yet, but the parent has one and - # the command on this level has a name, we can expand the envvar - # prefix automatically. - if auto_envvar_prefix is None: - if ( - parent is not None - and parent.auto_envvar_prefix is not None - and self.info_name is not None - ): - auto_envvar_prefix = ( - f"{parent.auto_envvar_prefix}_{self.info_name.upper()}" - ) - else: - auto_envvar_prefix = auto_envvar_prefix.upper() - - if auto_envvar_prefix is not None: - auto_envvar_prefix = auto_envvar_prefix.replace("-", "_") - - self.auto_envvar_prefix: t.Optional[str] = auto_envvar_prefix - - if color is None and parent is not None: - color = parent.color - - #: Controls if styling output is wanted or not. - self.color: t.Optional[bool] = color - - if show_default is None and parent is not None: - show_default = parent.show_default - - #: Show option default values when formatting help text. - self.show_default: t.Optional[bool] = show_default - - self._close_callbacks: t.List[t.Callable[[], t.Any]] = [] - self._depth = 0 - self._parameter_source: t.Dict[str, ParameterSource] = {} - self._exit_stack = ExitStack() - - def to_info_dict(self) -> t.Dict[str, t.Any]: - """Gather information that could be useful for a tool generating - user-facing documentation. This traverses the entire CLI - structure. - - .. code-block:: python - - with Context(cli) as ctx: - info = ctx.to_info_dict() - - .. versionadded:: 8.0 - """ - return { - "command": self.command.to_info_dict(self), - "info_name": self.info_name, - "allow_extra_args": self.allow_extra_args, - "allow_interspersed_args": self.allow_interspersed_args, - "ignore_unknown_options": self.ignore_unknown_options, - "auto_envvar_prefix": self.auto_envvar_prefix, - } - - def __enter__(self) -> "Context": - self._depth += 1 - push_context(self) - return self - - def __exit__( - self, - exc_type: t.Optional[t.Type[BaseException]], - exc_value: t.Optional[BaseException], - tb: t.Optional[TracebackType], - ) -> None: - self._depth -= 1 - if self._depth == 0: - self.close() - pop_context() - - @contextmanager - def scope(self, cleanup: bool = True) -> t.Iterator["Context"]: - """This helper method can be used with the context object to promote - it to the current thread local (see :func:`get_current_context`). - The default behavior of this is to invoke the cleanup functions which - can be disabled by setting `cleanup` to `False`. The cleanup - functions are typically used for things such as closing file handles. - - If the cleanup is intended the context object can also be directly - used as a context manager. - - Example usage:: - - with ctx.scope(): - assert get_current_context() is ctx - - This is equivalent:: - - with ctx: - assert get_current_context() is ctx - - .. versionadded:: 5.0 - - :param cleanup: controls if the cleanup functions should be run or - not. The default is to run these functions. In - some situations the context only wants to be - temporarily pushed in which case this can be disabled. - Nested pushes automatically defer the cleanup. - """ - if not cleanup: - self._depth += 1 - try: - with self as rv: - yield rv - finally: - if not cleanup: - self._depth -= 1 - - @property - def meta(self) -> t.Dict[str, t.Any]: - """This is a dictionary which is shared with all the contexts - that are nested. It exists so that click utilities can store some - state here if they need to. It is however the responsibility of - that code to manage this dictionary well. - - The keys are supposed to be unique dotted strings. For instance - module paths are a good choice for it. What is stored in there is - irrelevant for the operation of click. However what is important is - that code that places data here adheres to the general semantics of - the system. - - Example usage:: - - LANG_KEY = f'{__name__}.lang' - - def set_language(value): - ctx = get_current_context() - ctx.meta[LANG_KEY] = value - - def get_language(): - return get_current_context().meta.get(LANG_KEY, 'en_US') - - .. versionadded:: 5.0 - """ - return self._meta - - def make_formatter(self) -> HelpFormatter: - """Creates the :class:`~click.HelpFormatter` for the help and - usage output. - - To quickly customize the formatter class used without overriding - this method, set the :attr:`formatter_class` attribute. - - .. versionchanged:: 8.0 - Added the :attr:`formatter_class` attribute. - """ - return self.formatter_class( - width=self.terminal_width, max_width=self.max_content_width - ) - - def with_resource(self, context_manager: t.ContextManager[V]) -> V: - """Register a resource as if it were used in a ``with`` - statement. The resource will be cleaned up when the context is - popped. - - Uses :meth:`contextlib.ExitStack.enter_context`. It calls the - resource's ``__enter__()`` method and returns the result. When - the context is popped, it closes the stack, which calls the - resource's ``__exit__()`` method. - - To register a cleanup function for something that isn't a - context manager, use :meth:`call_on_close`. Or use something - from :mod:`contextlib` to turn it into a context manager first. - - .. code-block:: python - - @click.group() - @click.option("--name") - @click.pass_context - def cli(ctx): - ctx.obj = ctx.with_resource(connect_db(name)) - - :param context_manager: The context manager to enter. - :return: Whatever ``context_manager.__enter__()`` returns. - - .. versionadded:: 8.0 - """ - return self._exit_stack.enter_context(context_manager) - - def call_on_close(self, f: t.Callable[..., t.Any]) -> t.Callable[..., t.Any]: - """Register a function to be called when the context tears down. - - This can be used to close resources opened during the script - execution. Resources that support Python's context manager - protocol which would be used in a ``with`` statement should be - registered with :meth:`with_resource` instead. - - :param f: The function to execute on teardown. - """ - return self._exit_stack.callback(f) - - def close(self) -> None: - """Invoke all close callbacks registered with - :meth:`call_on_close`, and exit all context managers entered - with :meth:`with_resource`. - """ - self._exit_stack.close() - # In case the context is reused, create a new exit stack. - self._exit_stack = ExitStack() - - @property - def command_path(self) -> str: - """The computed command path. This is used for the ``usage`` - information on the help page. It's automatically created by - combining the info names of the chain of contexts to the root. - """ - rv = "" - if self.info_name is not None: - rv = self.info_name - if self.parent is not None: - parent_command_path = [self.parent.command_path] - - if isinstance(self.parent.command, Command): - for param in self.parent.command.get_params(self): - parent_command_path.extend(param.get_usage_pieces(self)) - - rv = f"{' '.join(parent_command_path)} {rv}" - return rv.lstrip() - - def find_root(self) -> "Context": - """Finds the outermost context.""" - node = self - while node.parent is not None: - node = node.parent - return node - - def find_object(self, object_type: t.Type[V]) -> t.Optional[V]: - """Finds the closest object of a given type.""" - node: t.Optional["Context"] = self - - while node is not None: - if isinstance(node.obj, object_type): - return node.obj - - node = node.parent - - return None - - def ensure_object(self, object_type: t.Type[V]) -> V: - """Like :meth:`find_object` but sets the innermost object to a - new instance of `object_type` if it does not exist. - """ - rv = self.find_object(object_type) - if rv is None: - self.obj = rv = object_type() - return rv - - @t.overload - def lookup_default( - self, name: str, call: "te.Literal[True]" = True - ) -> t.Optional[t.Any]: - ... - - @t.overload - def lookup_default( - self, name: str, call: "te.Literal[False]" = ... - ) -> t.Optional[t.Union[t.Any, t.Callable[[], t.Any]]]: - ... - - def lookup_default(self, name: str, call: bool = True) -> t.Optional[t.Any]: - """Get the default for a parameter from :attr:`default_map`. - - :param name: Name of the parameter. - :param call: If the default is a callable, call it. Disable to - return the callable instead. - - .. versionchanged:: 8.0 - Added the ``call`` parameter. - """ - if self.default_map is not None: - value = self.default_map.get(name) - - if call and callable(value): - return value() - - return value - - return None - - def fail(self, message: str) -> "te.NoReturn": - """Aborts the execution of the program with a specific error - message. - - :param message: the error message to fail with. - """ - raise UsageError(message, self) - - def abort(self) -> "te.NoReturn": - """Aborts the script.""" - raise Abort() - - def exit(self, code: int = 0) -> "te.NoReturn": - """Exits the application with a given exit code.""" - raise Exit(code) - - def get_usage(self) -> str: - """Helper method to get formatted usage string for the current - context and command. - """ - return self.command.get_usage(self) - - def get_help(self) -> str: - """Helper method to get formatted help page for the current - context and command. - """ - return self.command.get_help(self) - - def _make_sub_context(self, command: "Command") -> "Context": - """Create a new context of the same type as this context, but - for a new command. - - :meta private: - """ - return type(self)(command, info_name=command.name, parent=self) - - @t.overload - def invoke( - __self, # noqa: B902 - __callback: "t.Callable[..., V]", - *args: t.Any, - **kwargs: t.Any, - ) -> V: - ... - - @t.overload - def invoke( - __self, # noqa: B902 - __callback: "Command", - *args: t.Any, - **kwargs: t.Any, - ) -> t.Any: - ... - - def invoke( - __self, # noqa: B902 - __callback: t.Union["Command", "t.Callable[..., V]"], - *args: t.Any, - **kwargs: t.Any, - ) -> t.Union[t.Any, V]: - """Invokes a command callback in exactly the way it expects. There - are two ways to invoke this method: - - 1. the first argument can be a callback and all other arguments and - keyword arguments are forwarded directly to the function. - 2. the first argument is a click command object. In that case all - arguments are forwarded as well but proper click parameters - (options and click arguments) must be keyword arguments and Click - will fill in defaults. - - Note that before Click 3.2 keyword arguments were not properly filled - in against the intention of this code and no context was created. For - more information about this change and why it was done in a bugfix - release see :ref:`upgrade-to-3.2`. - - .. versionchanged:: 8.0 - All ``kwargs`` are tracked in :attr:`params` so they will be - passed if :meth:`forward` is called at multiple levels. - """ - if isinstance(__callback, Command): - other_cmd = __callback - - if other_cmd.callback is None: - raise TypeError( - "The given command does not have a callback that can be invoked." - ) - else: - __callback = t.cast("t.Callable[..., V]", other_cmd.callback) - - ctx = __self._make_sub_context(other_cmd) - - for param in other_cmd.params: - if param.name not in kwargs and param.expose_value: - kwargs[param.name] = param.type_cast_value( # type: ignore - ctx, param.get_default(ctx) - ) - - # Track all kwargs as params, so that forward() will pass - # them on in subsequent calls. - ctx.params.update(kwargs) - else: - ctx = __self - - with augment_usage_errors(__self): - with ctx: - return __callback(*args, **kwargs) - - def forward( - __self, __cmd: "Command", *args: t.Any, **kwargs: t.Any # noqa: B902 - ) -> t.Any: - """Similar to :meth:`invoke` but fills in default keyword - arguments from the current context if the other command expects - it. This cannot invoke callbacks directly, only other commands. - - .. versionchanged:: 8.0 - All ``kwargs`` are tracked in :attr:`params` so they will be - passed if ``forward`` is called at multiple levels. - """ - # Can only forward to other commands, not direct callbacks. - if not isinstance(__cmd, Command): - raise TypeError("Callback is not a command.") - - for param in __self.params: - if param not in kwargs: - kwargs[param] = __self.params[param] - - return __self.invoke(__cmd, *args, **kwargs) - - def set_parameter_source(self, name: str, source: ParameterSource) -> None: - """Set the source of a parameter. This indicates the location - from which the value of the parameter was obtained. - - :param name: The name of the parameter. - :param source: A member of :class:`~click.core.ParameterSource`. - """ - self._parameter_source[name] = source - - def get_parameter_source(self, name: str) -> t.Optional[ParameterSource]: - """Get the source of a parameter. This indicates the location - from which the value of the parameter was obtained. - - This can be useful for determining when a user specified a value - on the command line that is the same as the default value. It - will be :attr:`~click.core.ParameterSource.DEFAULT` only if the - value was actually taken from the default. - - :param name: The name of the parameter. - :rtype: ParameterSource - - .. versionchanged:: 8.0 - Returns ``None`` if the parameter was not provided from any - source. - """ - return self._parameter_source.get(name) - - -class BaseCommand: - """The base command implements the minimal API contract of commands. - Most code will never use this as it does not implement a lot of useful - functionality but it can act as the direct subclass of alternative - parsing methods that do not depend on the Click parser. - - For instance, this can be used to bridge Click and other systems like - argparse or docopt. - - Because base commands do not implement a lot of the API that other - parts of Click take for granted, they are not supported for all - operations. For instance, they cannot be used with the decorators - usually and they have no built-in callback system. - - .. versionchanged:: 2.0 - Added the `context_settings` parameter. - - :param name: the name of the command to use unless a group overrides it. - :param context_settings: an optional dictionary with defaults that are - passed to the context object. - """ - - #: The context class to create with :meth:`make_context`. - #: - #: .. versionadded:: 8.0 - context_class: t.Type[Context] = Context - #: the default for the :attr:`Context.allow_extra_args` flag. - allow_extra_args = False - #: the default for the :attr:`Context.allow_interspersed_args` flag. - allow_interspersed_args = True - #: the default for the :attr:`Context.ignore_unknown_options` flag. - ignore_unknown_options = False - - def __init__( - self, - name: t.Optional[str], - context_settings: t.Optional[t.MutableMapping[str, t.Any]] = None, - ) -> None: - #: the name the command thinks it has. Upon registering a command - #: on a :class:`Group` the group will default the command name - #: with this information. You should instead use the - #: :class:`Context`\'s :attr:`~Context.info_name` attribute. - self.name = name - - if context_settings is None: - context_settings = {} - - #: an optional dictionary with defaults passed to the context. - self.context_settings: t.MutableMapping[str, t.Any] = context_settings - - def to_info_dict(self, ctx: Context) -> t.Dict[str, t.Any]: - """Gather information that could be useful for a tool generating - user-facing documentation. This traverses the entire structure - below this command. - - Use :meth:`click.Context.to_info_dict` to traverse the entire - CLI structure. - - :param ctx: A :class:`Context` representing this command. - - .. versionadded:: 8.0 - """ - return {"name": self.name} - - def __repr__(self) -> str: - return f"<{self.__class__.__name__} {self.name}>" - - def get_usage(self, ctx: Context) -> str: - raise NotImplementedError("Base commands cannot get usage") - - def get_help(self, ctx: Context) -> str: - raise NotImplementedError("Base commands cannot get help") - - def make_context( - self, - info_name: t.Optional[str], - args: t.List[str], - parent: t.Optional[Context] = None, - **extra: t.Any, - ) -> Context: - """This function when given an info name and arguments will kick - off the parsing and create a new :class:`Context`. It does not - invoke the actual command callback though. - - To quickly customize the context class used without overriding - this method, set the :attr:`context_class` attribute. - - :param info_name: the info name for this invocation. Generally this - is the most descriptive name for the script or - command. For the toplevel script it's usually - the name of the script, for commands below it's - the name of the command. - :param args: the arguments to parse as list of strings. - :param parent: the parent context if available. - :param extra: extra keyword arguments forwarded to the context - constructor. - - .. versionchanged:: 8.0 - Added the :attr:`context_class` attribute. - """ - for key, value in self.context_settings.items(): - if key not in extra: - extra[key] = value - - ctx = self.context_class( - self, info_name=info_name, parent=parent, **extra # type: ignore - ) - - with ctx.scope(cleanup=False): - self.parse_args(ctx, args) - return ctx - - def parse_args(self, ctx: Context, args: t.List[str]) -> t.List[str]: - """Given a context and a list of arguments this creates the parser - and parses the arguments, then modifies the context as necessary. - This is automatically invoked by :meth:`make_context`. - """ - raise NotImplementedError("Base commands do not know how to parse arguments.") - - def invoke(self, ctx: Context) -> t.Any: - """Given a context, this invokes the command. The default - implementation is raising a not implemented error. - """ - raise NotImplementedError("Base commands are not invocable by default") - - def shell_complete(self, ctx: Context, incomplete: str) -> t.List["CompletionItem"]: - """Return a list of completions for the incomplete value. Looks - at the names of chained multi-commands. - - Any command could be part of a chained multi-command, so sibling - commands are valid at any point during command completion. Other - command classes will return more completions. - - :param ctx: Invocation context for this command. - :param incomplete: Value being completed. May be empty. - - .. versionadded:: 8.0 - """ - from click.shell_completion import CompletionItem - - results: t.List["CompletionItem"] = [] - - while ctx.parent is not None: - ctx = ctx.parent - - if isinstance(ctx.command, MultiCommand) and ctx.command.chain: - results.extend( - CompletionItem(name, help=command.get_short_help_str()) - for name, command in _complete_visible_commands(ctx, incomplete) - if name not in ctx.protected_args - ) - - return results - - @t.overload - def main( - self, - args: t.Optional[t.Sequence[str]] = None, - prog_name: t.Optional[str] = None, - complete_var: t.Optional[str] = None, - standalone_mode: "te.Literal[True]" = True, - **extra: t.Any, - ) -> "te.NoReturn": - ... - - @t.overload - def main( - self, - args: t.Optional[t.Sequence[str]] = None, - prog_name: t.Optional[str] = None, - complete_var: t.Optional[str] = None, - standalone_mode: bool = ..., - **extra: t.Any, - ) -> t.Any: - ... - - def main( - self, - args: t.Optional[t.Sequence[str]] = None, - prog_name: t.Optional[str] = None, - complete_var: t.Optional[str] = None, - standalone_mode: bool = True, - windows_expand_args: bool = True, - **extra: t.Any, - ) -> t.Any: - """This is the way to invoke a script with all the bells and - whistles as a command line application. This will always terminate - the application after a call. If this is not wanted, ``SystemExit`` - needs to be caught. - - This method is also available by directly calling the instance of - a :class:`Command`. - - :param args: the arguments that should be used for parsing. If not - provided, ``sys.argv[1:]`` is used. - :param prog_name: the program name that should be used. By default - the program name is constructed by taking the file - name from ``sys.argv[0]``. - :param complete_var: the environment variable that controls the - bash completion support. The default is - ``"__COMPLETE"`` with prog_name in - uppercase. - :param standalone_mode: the default behavior is to invoke the script - in standalone mode. Click will then - handle exceptions and convert them into - error messages and the function will never - return but shut down the interpreter. If - this is set to `False` they will be - propagated to the caller and the return - value of this function is the return value - of :meth:`invoke`. - :param windows_expand_args: Expand glob patterns, user dir, and - env vars in command line args on Windows. - :param extra: extra keyword arguments are forwarded to the context - constructor. See :class:`Context` for more information. - - .. versionchanged:: 8.0.1 - Added the ``windows_expand_args`` parameter to allow - disabling command line arg expansion on Windows. - - .. versionchanged:: 8.0 - When taking arguments from ``sys.argv`` on Windows, glob - patterns, user dir, and env vars are expanded. - - .. versionchanged:: 3.0 - Added the ``standalone_mode`` parameter. - """ - if args is None: - args = sys.argv[1:] - - if os.name == "nt" and windows_expand_args: - args = _expand_args(args) - else: - args = list(args) - - if prog_name is None: - prog_name = _detect_program_name() - - # Process shell completion requests and exit early. - self._main_shell_completion(extra, prog_name, complete_var) - - try: - try: - with self.make_context(prog_name, args, **extra) as ctx: - rv = self.invoke(ctx) - if not standalone_mode: - return rv - # it's not safe to `ctx.exit(rv)` here! - # note that `rv` may actually contain data like "1" which - # has obvious effects - # more subtle case: `rv=[None, None]` can come out of - # chained commands which all returned `None` -- so it's not - # even always obvious that `rv` indicates success/failure - # by its truthiness/falsiness - ctx.exit() - except (EOFError, KeyboardInterrupt) as e: - echo(file=sys.stderr) - raise Abort() from e - except ClickException as e: - if not standalone_mode: - raise - e.show() - sys.exit(e.exit_code) - except OSError as e: - if e.errno == errno.EPIPE: - sys.stdout = t.cast(t.TextIO, PacifyFlushWrapper(sys.stdout)) - sys.stderr = t.cast(t.TextIO, PacifyFlushWrapper(sys.stderr)) - sys.exit(1) - else: - raise - except Exit as e: - if standalone_mode: - sys.exit(e.exit_code) - else: - # in non-standalone mode, return the exit code - # note that this is only reached if `self.invoke` above raises - # an Exit explicitly -- thus bypassing the check there which - # would return its result - # the results of non-standalone execution may therefore be - # somewhat ambiguous: if there are codepaths which lead to - # `ctx.exit(1)` and to `return 1`, the caller won't be able to - # tell the difference between the two - return e.exit_code - except Abort: - if not standalone_mode: - raise - echo(_("Aborted!"), file=sys.stderr) - sys.exit(1) - - def _main_shell_completion( - self, - ctx_args: t.MutableMapping[str, t.Any], - prog_name: str, - complete_var: t.Optional[str] = None, - ) -> None: - """Check if the shell is asking for tab completion, process - that, then exit early. Called from :meth:`main` before the - program is invoked. - - :param prog_name: Name of the executable in the shell. - :param complete_var: Name of the environment variable that holds - the completion instruction. Defaults to - ``_{PROG_NAME}_COMPLETE``. - - .. versionchanged:: 8.2.0 - Dots (``.``) in ``prog_name`` are replaced with underscores (``_``). - """ - if complete_var is None: - complete_name = prog_name.replace("-", "_").replace(".", "_") - complete_var = f"_{complete_name}_COMPLETE".upper() - - instruction = os.environ.get(complete_var) - - if not instruction: - return - - from .shell_completion import shell_complete - - rv = shell_complete(self, ctx_args, prog_name, complete_var, instruction) - sys.exit(rv) - - def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any: - """Alias for :meth:`main`.""" - return self.main(*args, **kwargs) - - -class Command(BaseCommand): - """Commands are the basic building block of command line interfaces in - Click. A basic command handles command line parsing and might dispatch - more parsing to commands nested below it. - - :param name: the name of the command to use unless a group overrides it. - :param context_settings: an optional dictionary with defaults that are - passed to the context object. - :param callback: the callback to invoke. This is optional. - :param params: the parameters to register with this command. This can - be either :class:`Option` or :class:`Argument` objects. - :param help: the help string to use for this command. - :param epilog: like the help string but it's printed at the end of the - help page after everything else. - :param short_help: the short help to use for this command. This is - shown on the command listing of the parent command. - :param add_help_option: by default each command registers a ``--help`` - option. This can be disabled by this parameter. - :param no_args_is_help: this controls what happens if no arguments are - provided. This option is disabled by default. - If enabled this will add ``--help`` as argument - if no arguments are passed - :param hidden: hide this command from help outputs. - - :param deprecated: issues a message indicating that - the command is deprecated. - - .. versionchanged:: 8.1 - ``help``, ``epilog``, and ``short_help`` are stored unprocessed, - all formatting is done when outputting help text, not at init, - and is done even if not using the ``@command`` decorator. - - .. versionchanged:: 8.0 - Added a ``repr`` showing the command name. - - .. versionchanged:: 7.1 - Added the ``no_args_is_help`` parameter. - - .. versionchanged:: 2.0 - Added the ``context_settings`` parameter. - """ - - def __init__( - self, - name: t.Optional[str], - context_settings: t.Optional[t.MutableMapping[str, t.Any]] = None, - callback: t.Optional[t.Callable[..., t.Any]] = None, - params: t.Optional[t.List["Parameter"]] = None, - help: t.Optional[str] = None, - epilog: t.Optional[str] = None, - short_help: t.Optional[str] = None, - options_metavar: t.Optional[str] = "[OPTIONS]", - add_help_option: bool = True, - no_args_is_help: bool = False, - hidden: bool = False, - deprecated: bool = False, - ) -> None: - super().__init__(name, context_settings) - #: the callback to execute when the command fires. This might be - #: `None` in which case nothing happens. - self.callback = callback - #: the list of parameters for this command in the order they - #: should show up in the help page and execute. Eager parameters - #: will automatically be handled before non eager ones. - self.params: t.List["Parameter"] = params or [] - self.help = help - self.epilog = epilog - self.options_metavar = options_metavar - self.short_help = short_help - self.add_help_option = add_help_option - self.no_args_is_help = no_args_is_help - self.hidden = hidden - self.deprecated = deprecated - - def to_info_dict(self, ctx: Context) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict(ctx) - info_dict.update( - params=[param.to_info_dict() for param in self.get_params(ctx)], - help=self.help, - epilog=self.epilog, - short_help=self.short_help, - hidden=self.hidden, - deprecated=self.deprecated, - ) - return info_dict - - def get_usage(self, ctx: Context) -> str: - """Formats the usage line into a string and returns it. - - Calls :meth:`format_usage` internally. - """ - formatter = ctx.make_formatter() - self.format_usage(ctx, formatter) - return formatter.getvalue().rstrip("\n") - - def get_params(self, ctx: Context) -> t.List["Parameter"]: - rv = self.params - help_option = self.get_help_option(ctx) - - if help_option is not None: - rv = [*rv, help_option] - - return rv - - def format_usage(self, ctx: Context, formatter: HelpFormatter) -> None: - """Writes the usage line into the formatter. - - This is a low-level method called by :meth:`get_usage`. - """ - pieces = self.collect_usage_pieces(ctx) - formatter.write_usage(ctx.command_path, " ".join(pieces)) - - def collect_usage_pieces(self, ctx: Context) -> t.List[str]: - """Returns all the pieces that go into the usage line and returns - it as a list of strings. - """ - rv = [self.options_metavar] if self.options_metavar else [] - - for param in self.get_params(ctx): - rv.extend(param.get_usage_pieces(ctx)) - - return rv - - def get_help_option_names(self, ctx: Context) -> t.List[str]: - """Returns the names for the help option.""" - all_names = set(ctx.help_option_names) - for param in self.params: - all_names.difference_update(param.opts) - all_names.difference_update(param.secondary_opts) - return list(all_names) - - def get_help_option(self, ctx: Context) -> t.Optional["Option"]: - """Returns the help option object.""" - help_options = self.get_help_option_names(ctx) - - if not help_options or not self.add_help_option: - return None - - def show_help(ctx: Context, param: "Parameter", value: str) -> None: - if value and not ctx.resilient_parsing: - echo(ctx.get_help(), color=ctx.color) - ctx.exit() - - return Option( - help_options, - is_flag=True, - is_eager=True, - expose_value=False, - callback=show_help, - help=_("Show this message and exit."), - ) - - def make_parser(self, ctx: Context) -> OptionParser: - """Creates the underlying option parser for this command.""" - parser = OptionParser(ctx) - for param in self.get_params(ctx): - param.add_to_parser(parser, ctx) - return parser - - def get_help(self, ctx: Context) -> str: - """Formats the help into a string and returns it. - - Calls :meth:`format_help` internally. - """ - formatter = ctx.make_formatter() - self.format_help(ctx, formatter) - return formatter.getvalue().rstrip("\n") - - def get_short_help_str(self, limit: int = 45) -> str: - """Gets short help for the command or makes it by shortening the - long help string. - """ - if self.short_help: - text = inspect.cleandoc(self.short_help) - elif self.help: - text = make_default_short_help(self.help, limit) - else: - text = "" - - if self.deprecated: - text = _("(Deprecated) {text}").format(text=text) - - return text.strip() - - def format_help(self, ctx: Context, formatter: HelpFormatter) -> None: - """Writes the help into the formatter if it exists. - - This is a low-level method called by :meth:`get_help`. - - This calls the following methods: - - - :meth:`format_usage` - - :meth:`format_help_text` - - :meth:`format_options` - - :meth:`format_epilog` - """ - self.format_usage(ctx, formatter) - self.format_help_text(ctx, formatter) - self.format_options(ctx, formatter) - self.format_epilog(ctx, formatter) - - def format_help_text(self, ctx: Context, formatter: HelpFormatter) -> None: - """Writes the help text to the formatter if it exists.""" - if self.help is not None: - # truncate the help text to the first form feed - text = inspect.cleandoc(self.help).partition("\f")[0] - else: - text = "" - - if self.deprecated: - text = _("(Deprecated) {text}").format(text=text) - - if text: - formatter.write_paragraph() - - with formatter.indentation(): - formatter.write_text(text) - - def format_options(self, ctx: Context, formatter: HelpFormatter) -> None: - """Writes all the options into the formatter if they exist.""" - opts = [] - for param in self.get_params(ctx): - rv = param.get_help_record(ctx) - if rv is not None: - opts.append(rv) - - if opts: - with formatter.section(_("Options")): - formatter.write_dl(opts) - - def format_epilog(self, ctx: Context, formatter: HelpFormatter) -> None: - """Writes the epilog into the formatter if it exists.""" - if self.epilog: - epilog = inspect.cleandoc(self.epilog) - formatter.write_paragraph() - - with formatter.indentation(): - formatter.write_text(epilog) - - def parse_args(self, ctx: Context, args: t.List[str]) -> t.List[str]: - if not args and self.no_args_is_help and not ctx.resilient_parsing: - echo(ctx.get_help(), color=ctx.color) - ctx.exit() - - parser = self.make_parser(ctx) - opts, args, param_order = parser.parse_args(args=args) - - for param in iter_params_for_processing(param_order, self.get_params(ctx)): - value, args = param.handle_parse_result(ctx, opts, args) - - if args and not ctx.allow_extra_args and not ctx.resilient_parsing: - ctx.fail( - ngettext( - "Got unexpected extra argument ({args})", - "Got unexpected extra arguments ({args})", - len(args), - ).format(args=" ".join(map(str, args))) - ) - - ctx.args = args - ctx._opt_prefixes.update(parser._opt_prefixes) - return args - - def invoke(self, ctx: Context) -> t.Any: - """Given a context, this invokes the attached callback (if it exists) - in the right way. - """ - if self.deprecated: - message = _( - "DeprecationWarning: The command {name!r} is deprecated." - ).format(name=self.name) - echo(style(message, fg="red"), err=True) - - if self.callback is not None: - return ctx.invoke(self.callback, **ctx.params) - - def shell_complete(self, ctx: Context, incomplete: str) -> t.List["CompletionItem"]: - """Return a list of completions for the incomplete value. Looks - at the names of options and chained multi-commands. - - :param ctx: Invocation context for this command. - :param incomplete: Value being completed. May be empty. - - .. versionadded:: 8.0 - """ - from click.shell_completion import CompletionItem - - results: t.List["CompletionItem"] = [] - - if incomplete and not incomplete[0].isalnum(): - for param in self.get_params(ctx): - if ( - not isinstance(param, Option) - or param.hidden - or ( - not param.multiple - and ctx.get_parameter_source(param.name) # type: ignore - is ParameterSource.COMMANDLINE - ) - ): - continue - - results.extend( - CompletionItem(name, help=param.help) - for name in [*param.opts, *param.secondary_opts] - if name.startswith(incomplete) - ) - - results.extend(super().shell_complete(ctx, incomplete)) - return results - - -class MultiCommand(Command): - """A multi command is the basic implementation of a command that - dispatches to subcommands. The most common version is the - :class:`Group`. - - :param invoke_without_command: this controls how the multi command itself - is invoked. By default it's only invoked - if a subcommand is provided. - :param no_args_is_help: this controls what happens if no arguments are - provided. This option is enabled by default if - `invoke_without_command` is disabled or disabled - if it's enabled. If enabled this will add - ``--help`` as argument if no arguments are - passed. - :param subcommand_metavar: the string that is used in the documentation - to indicate the subcommand place. - :param chain: if this is set to `True` chaining of multiple subcommands - is enabled. This restricts the form of commands in that - they cannot have optional arguments but it allows - multiple commands to be chained together. - :param result_callback: The result callback to attach to this multi - command. This can be set or changed later with the - :meth:`result_callback` decorator. - :param attrs: Other command arguments described in :class:`Command`. - """ - - allow_extra_args = True - allow_interspersed_args = False - - def __init__( - self, - name: t.Optional[str] = None, - invoke_without_command: bool = False, - no_args_is_help: t.Optional[bool] = None, - subcommand_metavar: t.Optional[str] = None, - chain: bool = False, - result_callback: t.Optional[t.Callable[..., t.Any]] = None, - **attrs: t.Any, - ) -> None: - super().__init__(name, **attrs) - - if no_args_is_help is None: - no_args_is_help = not invoke_without_command - - self.no_args_is_help = no_args_is_help - self.invoke_without_command = invoke_without_command - - if subcommand_metavar is None: - if chain: - subcommand_metavar = "COMMAND1 [ARGS]... [COMMAND2 [ARGS]...]..." - else: - subcommand_metavar = "COMMAND [ARGS]..." - - self.subcommand_metavar = subcommand_metavar - self.chain = chain - # The result callback that is stored. This can be set or - # overridden with the :func:`result_callback` decorator. - self._result_callback = result_callback - - if self.chain: - for param in self.params: - if isinstance(param, Argument) and not param.required: - raise RuntimeError( - "Multi commands in chain mode cannot have" - " optional arguments." - ) - - def to_info_dict(self, ctx: Context) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict(ctx) - commands = {} - - for name in self.list_commands(ctx): - command = self.get_command(ctx, name) - - if command is None: - continue - - sub_ctx = ctx._make_sub_context(command) - - with sub_ctx.scope(cleanup=False): - commands[name] = command.to_info_dict(sub_ctx) - - info_dict.update(commands=commands, chain=self.chain) - return info_dict - - def collect_usage_pieces(self, ctx: Context) -> t.List[str]: - rv = super().collect_usage_pieces(ctx) - rv.append(self.subcommand_metavar) - return rv - - def format_options(self, ctx: Context, formatter: HelpFormatter) -> None: - super().format_options(ctx, formatter) - self.format_commands(ctx, formatter) - - def result_callback(self, replace: bool = False) -> t.Callable[[F], F]: - """Adds a result callback to the command. By default if a - result callback is already registered this will chain them but - this can be disabled with the `replace` parameter. The result - callback is invoked with the return value of the subcommand - (or the list of return values from all subcommands if chaining - is enabled) as well as the parameters as they would be passed - to the main callback. - - Example:: - - @click.group() - @click.option('-i', '--input', default=23) - def cli(input): - return 42 - - @cli.result_callback() - def process_result(result, input): - return result + input - - :param replace: if set to `True` an already existing result - callback will be removed. - - .. versionchanged:: 8.0 - Renamed from ``resultcallback``. - - .. versionadded:: 3.0 - """ - - def decorator(f: F) -> F: - old_callback = self._result_callback - - if old_callback is None or replace: - self._result_callback = f - return f - - def function(__value, *args, **kwargs): # type: ignore - inner = old_callback(__value, *args, **kwargs) - return f(inner, *args, **kwargs) - - self._result_callback = rv = update_wrapper(t.cast(F, function), f) - return rv - - return decorator - - def format_commands(self, ctx: Context, formatter: HelpFormatter) -> None: - """Extra format methods for multi methods that adds all the commands - after the options. - """ - commands = [] - for subcommand in self.list_commands(ctx): - cmd = self.get_command(ctx, subcommand) - # What is this, the tool lied about a command. Ignore it - if cmd is None: - continue - if cmd.hidden: - continue - - commands.append((subcommand, cmd)) - - # allow for 3 times the default spacing - if len(commands): - limit = formatter.width - 6 - max(len(cmd[0]) for cmd in commands) - - rows = [] - for subcommand, cmd in commands: - help = cmd.get_short_help_str(limit) - rows.append((subcommand, help)) - - if rows: - with formatter.section(_("Commands")): - formatter.write_dl(rows) - - def parse_args(self, ctx: Context, args: t.List[str]) -> t.List[str]: - if not args and self.no_args_is_help and not ctx.resilient_parsing: - echo(ctx.get_help(), color=ctx.color) - ctx.exit() - - rest = super().parse_args(ctx, args) - - if self.chain: - ctx.protected_args = rest - ctx.args = [] - elif rest: - ctx.protected_args, ctx.args = rest[:1], rest[1:] - - return ctx.args - - def invoke(self, ctx: Context) -> t.Any: - def _process_result(value: t.Any) -> t.Any: - if self._result_callback is not None: - value = ctx.invoke(self._result_callback, value, **ctx.params) - return value - - if not ctx.protected_args: - if self.invoke_without_command: - # No subcommand was invoked, so the result callback is - # invoked with the group return value for regular - # groups, or an empty list for chained groups. - with ctx: - rv = super().invoke(ctx) - return _process_result([] if self.chain else rv) - ctx.fail(_("Missing command.")) - - # Fetch args back out - args = [*ctx.protected_args, *ctx.args] - ctx.args = [] - ctx.protected_args = [] - - # If we're not in chain mode, we only allow the invocation of a - # single command but we also inform the current context about the - # name of the command to invoke. - if not self.chain: - # Make sure the context is entered so we do not clean up - # resources until the result processor has worked. - with ctx: - cmd_name, cmd, args = self.resolve_command(ctx, args) - assert cmd is not None - ctx.invoked_subcommand = cmd_name - super().invoke(ctx) - sub_ctx = cmd.make_context(cmd_name, args, parent=ctx) - with sub_ctx: - return _process_result(sub_ctx.command.invoke(sub_ctx)) - - # In chain mode we create the contexts step by step, but after the - # base command has been invoked. Because at that point we do not - # know the subcommands yet, the invoked subcommand attribute is - # set to ``*`` to inform the command that subcommands are executed - # but nothing else. - with ctx: - ctx.invoked_subcommand = "*" if args else None - super().invoke(ctx) - - # Otherwise we make every single context and invoke them in a - # chain. In that case the return value to the result processor - # is the list of all invoked subcommand's results. - contexts = [] - while args: - cmd_name, cmd, args = self.resolve_command(ctx, args) - assert cmd is not None - sub_ctx = cmd.make_context( - cmd_name, - args, - parent=ctx, - allow_extra_args=True, - allow_interspersed_args=False, - ) - contexts.append(sub_ctx) - args, sub_ctx.args = sub_ctx.args, [] - - rv = [] - for sub_ctx in contexts: - with sub_ctx: - rv.append(sub_ctx.command.invoke(sub_ctx)) - return _process_result(rv) - - def resolve_command( - self, ctx: Context, args: t.List[str] - ) -> t.Tuple[t.Optional[str], t.Optional[Command], t.List[str]]: - cmd_name = make_str(args[0]) - original_cmd_name = cmd_name - - # Get the command - cmd = self.get_command(ctx, cmd_name) - - # If we can't find the command but there is a normalization - # function available, we try with that one. - if cmd is None and ctx.token_normalize_func is not None: - cmd_name = ctx.token_normalize_func(cmd_name) - cmd = self.get_command(ctx, cmd_name) - - # If we don't find the command we want to show an error message - # to the user that it was not provided. However, there is - # something else we should do: if the first argument looks like - # an option we want to kick off parsing again for arguments to - # resolve things like --help which now should go to the main - # place. - if cmd is None and not ctx.resilient_parsing: - if split_opt(cmd_name)[0]: - self.parse_args(ctx, ctx.args) - ctx.fail(_("No such command {name!r}.").format(name=original_cmd_name)) - return cmd_name if cmd else None, cmd, args[1:] - - def get_command(self, ctx: Context, cmd_name: str) -> t.Optional[Command]: - """Given a context and a command name, this returns a - :class:`Command` object if it exists or returns `None`. - """ - raise NotImplementedError - - def list_commands(self, ctx: Context) -> t.List[str]: - """Returns a list of subcommand names in the order they should - appear. - """ - return [] - - def shell_complete(self, ctx: Context, incomplete: str) -> t.List["CompletionItem"]: - """Return a list of completions for the incomplete value. Looks - at the names of options, subcommands, and chained - multi-commands. - - :param ctx: Invocation context for this command. - :param incomplete: Value being completed. May be empty. - - .. versionadded:: 8.0 - """ - from click.shell_completion import CompletionItem - - results = [ - CompletionItem(name, help=command.get_short_help_str()) - for name, command in _complete_visible_commands(ctx, incomplete) - ] - results.extend(super().shell_complete(ctx, incomplete)) - return results - - -class Group(MultiCommand): - """A group allows a command to have subcommands attached. This is - the most common way to implement nesting in Click. - - :param name: The name of the group command. - :param commands: A dict mapping names to :class:`Command` objects. - Can also be a list of :class:`Command`, which will use - :attr:`Command.name` to create the dict. - :param attrs: Other command arguments described in - :class:`MultiCommand`, :class:`Command`, and - :class:`BaseCommand`. - - .. versionchanged:: 8.0 - The ``commands`` argument can be a list of command objects. - """ - - #: If set, this is used by the group's :meth:`command` decorator - #: as the default :class:`Command` class. This is useful to make all - #: subcommands use a custom command class. - #: - #: .. versionadded:: 8.0 - command_class: t.Optional[t.Type[Command]] = None - - #: If set, this is used by the group's :meth:`group` decorator - #: as the default :class:`Group` class. This is useful to make all - #: subgroups use a custom group class. - #: - #: If set to the special value :class:`type` (literally - #: ``group_class = type``), this group's class will be used as the - #: default class. This makes a custom group class continue to make - #: custom groups. - #: - #: .. versionadded:: 8.0 - group_class: t.Optional[t.Union[t.Type["Group"], t.Type[type]]] = None - # Literal[type] isn't valid, so use Type[type] - - def __init__( - self, - name: t.Optional[str] = None, - commands: t.Optional[ - t.Union[t.MutableMapping[str, Command], t.Sequence[Command]] - ] = None, - **attrs: t.Any, - ) -> None: - super().__init__(name, **attrs) - - if commands is None: - commands = {} - elif isinstance(commands, abc.Sequence): - commands = {c.name: c for c in commands if c.name is not None} - - #: The registered subcommands by their exported names. - self.commands: t.MutableMapping[str, Command] = commands - - def add_command(self, cmd: Command, name: t.Optional[str] = None) -> None: - """Registers another :class:`Command` with this group. If the name - is not provided, the name of the command is used. - """ - name = name or cmd.name - if name is None: - raise TypeError("Command has no name.") - _check_multicommand(self, name, cmd, register=True) - self.commands[name] = cmd - - @t.overload - def command(self, __func: t.Callable[..., t.Any]) -> Command: - ... - - @t.overload - def command( - self, *args: t.Any, **kwargs: t.Any - ) -> t.Callable[[t.Callable[..., t.Any]], Command]: - ... - - def command( - self, *args: t.Any, **kwargs: t.Any - ) -> t.Union[t.Callable[[t.Callable[..., t.Any]], Command], Command]: - """A shortcut decorator for declaring and attaching a command to - the group. This takes the same arguments as :func:`command` and - immediately registers the created command with this group by - calling :meth:`add_command`. - - To customize the command class used, set the - :attr:`command_class` attribute. - - .. versionchanged:: 8.1 - This decorator can be applied without parentheses. - - .. versionchanged:: 8.0 - Added the :attr:`command_class` attribute. - """ - from .decorators import command - - func: t.Optional[t.Callable[..., t.Any]] = None - - if args and callable(args[0]): - assert ( - len(args) == 1 and not kwargs - ), "Use 'command(**kwargs)(callable)' to provide arguments." - (func,) = args - args = () - - if self.command_class and kwargs.get("cls") is None: - kwargs["cls"] = self.command_class - - def decorator(f: t.Callable[..., t.Any]) -> Command: - cmd: Command = command(*args, **kwargs)(f) - self.add_command(cmd) - return cmd - - if func is not None: - return decorator(func) - - return decorator - - @t.overload - def group(self, __func: t.Callable[..., t.Any]) -> "Group": - ... - - @t.overload - def group( - self, *args: t.Any, **kwargs: t.Any - ) -> t.Callable[[t.Callable[..., t.Any]], "Group"]: - ... - - def group( - self, *args: t.Any, **kwargs: t.Any - ) -> t.Union[t.Callable[[t.Callable[..., t.Any]], "Group"], "Group"]: - """A shortcut decorator for declaring and attaching a group to - the group. This takes the same arguments as :func:`group` and - immediately registers the created group with this group by - calling :meth:`add_command`. - - To customize the group class used, set the :attr:`group_class` - attribute. - - .. versionchanged:: 8.1 - This decorator can be applied without parentheses. - - .. versionchanged:: 8.0 - Added the :attr:`group_class` attribute. - """ - from .decorators import group - - func: t.Optional[t.Callable[..., t.Any]] = None - - if args and callable(args[0]): - assert ( - len(args) == 1 and not kwargs - ), "Use 'group(**kwargs)(callable)' to provide arguments." - (func,) = args - args = () - - if self.group_class is not None and kwargs.get("cls") is None: - if self.group_class is type: - kwargs["cls"] = type(self) - else: - kwargs["cls"] = self.group_class - - def decorator(f: t.Callable[..., t.Any]) -> "Group": - cmd: Group = group(*args, **kwargs)(f) - self.add_command(cmd) - return cmd - - if func is not None: - return decorator(func) - - return decorator - - def get_command(self, ctx: Context, cmd_name: str) -> t.Optional[Command]: - return self.commands.get(cmd_name) - - def list_commands(self, ctx: Context) -> t.List[str]: - return sorted(self.commands) - - -class CommandCollection(MultiCommand): - """A command collection is a multi command that merges multiple multi - commands together into one. This is a straightforward implementation - that accepts a list of different multi commands as sources and - provides all the commands for each of them. - - See :class:`MultiCommand` and :class:`Command` for the description of - ``name`` and ``attrs``. - """ - - def __init__( - self, - name: t.Optional[str] = None, - sources: t.Optional[t.List[MultiCommand]] = None, - **attrs: t.Any, - ) -> None: - super().__init__(name, **attrs) - #: The list of registered multi commands. - self.sources: t.List[MultiCommand] = sources or [] - - def add_source(self, multi_cmd: MultiCommand) -> None: - """Adds a new multi command to the chain dispatcher.""" - self.sources.append(multi_cmd) - - def get_command(self, ctx: Context, cmd_name: str) -> t.Optional[Command]: - for source in self.sources: - rv = source.get_command(ctx, cmd_name) - - if rv is not None: - if self.chain: - _check_multicommand(self, cmd_name, rv) - - return rv - - return None - - def list_commands(self, ctx: Context) -> t.List[str]: - rv: t.Set[str] = set() - - for source in self.sources: - rv.update(source.list_commands(ctx)) - - return sorted(rv) - - -def _check_iter(value: t.Any) -> t.Iterator[t.Any]: - """Check if the value is iterable but not a string. Raises a type - error, or return an iterator over the value. - """ - if isinstance(value, str): - raise TypeError - - return iter(value) - - -class Parameter: - r"""A parameter to a command comes in two versions: they are either - :class:`Option`\s or :class:`Argument`\s. Other subclasses are currently - not supported by design as some of the internals for parsing are - intentionally not finalized. - - Some settings are supported by both options and arguments. - - :param param_decls: the parameter declarations for this option or - argument. This is a list of flags or argument - names. - :param type: the type that should be used. Either a :class:`ParamType` - or a Python type. The latter is converted into the former - automatically if supported. - :param required: controls if this is optional or not. - :param default: the default value if omitted. This can also be a callable, - in which case it's invoked when the default is needed - without any arguments. - :param callback: A function to further process or validate the value - after type conversion. It is called as ``f(ctx, param, value)`` - and must return the value. It is called for all sources, - including prompts. - :param nargs: the number of arguments to match. If not ``1`` the return - value is a tuple instead of single value. The default for - nargs is ``1`` (except if the type is a tuple, then it's - the arity of the tuple). If ``nargs=-1``, all remaining - parameters are collected. - :param metavar: how the value is represented in the help page. - :param expose_value: if this is `True` then the value is passed onwards - to the command callback and stored on the context, - otherwise it's skipped. - :param is_eager: eager values are processed before non eager ones. This - should not be set for arguments or it will inverse the - order of processing. - :param envvar: a string or list of strings that are environment variables - that should be checked. - :param shell_complete: A function that returns custom shell - completions. Used instead of the param's type completion if - given. Takes ``ctx, param, incomplete`` and must return a list - of :class:`~click.shell_completion.CompletionItem` or a list of - strings. - - .. versionchanged:: 8.0 - ``process_value`` validates required parameters and bounded - ``nargs``, and invokes the parameter callback before returning - the value. This allows the callback to validate prompts. - ``full_process_value`` is removed. - - .. versionchanged:: 8.0 - ``autocompletion`` is renamed to ``shell_complete`` and has new - semantics described above. The old name is deprecated and will - be removed in 8.1, until then it will be wrapped to match the - new requirements. - - .. versionchanged:: 8.0 - For ``multiple=True, nargs>1``, the default must be a list of - tuples. - - .. versionchanged:: 8.0 - Setting a default is no longer required for ``nargs>1``, it will - default to ``None``. ``multiple=True`` or ``nargs=-1`` will - default to ``()``. - - .. versionchanged:: 7.1 - Empty environment variables are ignored rather than taking the - empty string value. This makes it possible for scripts to clear - variables if they can't unset them. - - .. versionchanged:: 2.0 - Changed signature for parameter callback to also be passed the - parameter. The old callback format will still work, but it will - raise a warning to give you a chance to migrate the code easier. - """ - - param_type_name = "parameter" - - def __init__( - self, - param_decls: t.Optional[t.Sequence[str]] = None, - type: t.Optional[t.Union[types.ParamType, t.Any]] = None, - required: bool = False, - default: t.Optional[t.Union[t.Any, t.Callable[[], t.Any]]] = None, - callback: t.Optional[t.Callable[[Context, "Parameter", t.Any], t.Any]] = None, - nargs: t.Optional[int] = None, - multiple: bool = False, - metavar: t.Optional[str] = None, - expose_value: bool = True, - is_eager: bool = False, - envvar: t.Optional[t.Union[str, t.Sequence[str]]] = None, - shell_complete: t.Optional[ - t.Callable[ - [Context, "Parameter", str], - t.Union[t.List["CompletionItem"], t.List[str]], - ] - ] = None, - ) -> None: - self.name: t.Optional[str] - self.opts: t.List[str] - self.secondary_opts: t.List[str] - self.name, self.opts, self.secondary_opts = self._parse_decls( - param_decls or (), expose_value - ) - self.type: types.ParamType = types.convert_type(type, default) - - # Default nargs to what the type tells us if we have that - # information available. - if nargs is None: - if self.type.is_composite: - nargs = self.type.arity - else: - nargs = 1 - - self.required = required - self.callback = callback - self.nargs = nargs - self.multiple = multiple - self.expose_value = expose_value - self.default = default - self.is_eager = is_eager - self.metavar = metavar - self.envvar = envvar - self._custom_shell_complete = shell_complete - - if __debug__: - if self.type.is_composite and nargs != self.type.arity: - raise ValueError( - f"'nargs' must be {self.type.arity} (or None) for" - f" type {self.type!r}, but it was {nargs}." - ) - - # Skip no default or callable default. - check_default = default if not callable(default) else None - - if check_default is not None: - if multiple: - try: - # Only check the first value against nargs. - check_default = next(_check_iter(check_default), None) - except TypeError: - raise ValueError( - "'default' must be a list when 'multiple' is true." - ) from None - - # Can be None for multiple with empty default. - if nargs != 1 and check_default is not None: - try: - _check_iter(check_default) - except TypeError: - if multiple: - message = ( - "'default' must be a list of lists when 'multiple' is" - " true and 'nargs' != 1." - ) - else: - message = "'default' must be a list when 'nargs' != 1." - - raise ValueError(message) from None - - if nargs > 1 and len(check_default) != nargs: - subject = "item length" if multiple else "length" - raise ValueError( - f"'default' {subject} must match nargs={nargs}." - ) - - def to_info_dict(self) -> t.Dict[str, t.Any]: - """Gather information that could be useful for a tool generating - user-facing documentation. - - Use :meth:`click.Context.to_info_dict` to traverse the entire - CLI structure. - - .. versionadded:: 8.0 - """ - return { - "name": self.name, - "param_type_name": self.param_type_name, - "opts": self.opts, - "secondary_opts": self.secondary_opts, - "type": self.type.to_info_dict(), - "required": self.required, - "nargs": self.nargs, - "multiple": self.multiple, - "default": self.default, - "envvar": self.envvar, - } - - def __repr__(self) -> str: - return f"<{self.__class__.__name__} {self.name}>" - - def _parse_decls( - self, decls: t.Sequence[str], expose_value: bool - ) -> t.Tuple[t.Optional[str], t.List[str], t.List[str]]: - raise NotImplementedError() - - @property - def human_readable_name(self) -> str: - """Returns the human readable name of this parameter. This is the - same as the name for options, but the metavar for arguments. - """ - return self.name # type: ignore - - def make_metavar(self) -> str: - if self.metavar is not None: - return self.metavar - - metavar = self.type.get_metavar(self) - - if metavar is None: - metavar = self.type.name.upper() - - if self.nargs != 1: - metavar += "..." - - return metavar - - @t.overload - def get_default( - self, ctx: Context, call: "te.Literal[True]" = True - ) -> t.Optional[t.Any]: - ... - - @t.overload - def get_default( - self, ctx: Context, call: bool = ... - ) -> t.Optional[t.Union[t.Any, t.Callable[[], t.Any]]]: - ... - - def get_default( - self, ctx: Context, call: bool = True - ) -> t.Optional[t.Union[t.Any, t.Callable[[], t.Any]]]: - """Get the default for the parameter. Tries - :meth:`Context.lookup_default` first, then the local default. - - :param ctx: Current context. - :param call: If the default is a callable, call it. Disable to - return the callable instead. - - .. versionchanged:: 8.0.2 - Type casting is no longer performed when getting a default. - - .. versionchanged:: 8.0.1 - Type casting can fail in resilient parsing mode. Invalid - defaults will not prevent showing help text. - - .. versionchanged:: 8.0 - Looks at ``ctx.default_map`` first. - - .. versionchanged:: 8.0 - Added the ``call`` parameter. - """ - value = ctx.lookup_default(self.name, call=False) # type: ignore - - if value is None: - value = self.default - - if call and callable(value): - value = value() - - return value - - def add_to_parser(self, parser: OptionParser, ctx: Context) -> None: - raise NotImplementedError() - - def consume_value( - self, ctx: Context, opts: t.Mapping[str, t.Any] - ) -> t.Tuple[t.Any, ParameterSource]: - value = opts.get(self.name) # type: ignore - source = ParameterSource.COMMANDLINE - - if value is None: - value = self.value_from_envvar(ctx) - source = ParameterSource.ENVIRONMENT - - if value is None: - value = ctx.lookup_default(self.name) # type: ignore - source = ParameterSource.DEFAULT_MAP - - if value is None: - value = self.get_default(ctx) - source = ParameterSource.DEFAULT - - return value, source - - def type_cast_value(self, ctx: Context, value: t.Any) -> t.Any: - """Convert and validate a value against the option's - :attr:`type`, :attr:`multiple`, and :attr:`nargs`. - """ - if value is None: - return () if self.multiple or self.nargs == -1 else None - - def check_iter(value: t.Any) -> t.Iterator[t.Any]: - try: - return _check_iter(value) - except TypeError: - # This should only happen when passing in args manually, - # the parser should construct an iterable when parsing - # the command line. - raise BadParameter( - _("Value must be an iterable."), ctx=ctx, param=self - ) from None - - if self.nargs == 1 or self.type.is_composite: - - def convert(value: t.Any) -> t.Any: - return self.type(value, param=self, ctx=ctx) - - elif self.nargs == -1: - - def convert(value: t.Any) -> t.Any: # t.Tuple[t.Any, ...] - return tuple(self.type(x, self, ctx) for x in check_iter(value)) - - else: # nargs > 1 - - def convert(value: t.Any) -> t.Any: # t.Tuple[t.Any, ...] - value = tuple(check_iter(value)) - - if len(value) != self.nargs: - raise BadParameter( - ngettext( - "Takes {nargs} values but 1 was given.", - "Takes {nargs} values but {len} were given.", - len(value), - ).format(nargs=self.nargs, len=len(value)), - ctx=ctx, - param=self, - ) - - return tuple(self.type(x, self, ctx) for x in value) - - if self.multiple: - return tuple(convert(x) for x in check_iter(value)) - - return convert(value) - - def value_is_missing(self, value: t.Any) -> bool: - if value is None: - return True - - if (self.nargs != 1 or self.multiple) and value == (): - return True - - return False - - def process_value(self, ctx: Context, value: t.Any) -> t.Any: - value = self.type_cast_value(ctx, value) - - if self.required and self.value_is_missing(value): - raise MissingParameter(ctx=ctx, param=self) - - if self.callback is not None: - value = self.callback(ctx, self, value) - - return value - - def resolve_envvar_value(self, ctx: Context) -> t.Optional[str]: - if self.envvar is None: - return None - - if isinstance(self.envvar, str): - rv = os.environ.get(self.envvar) - - if rv: - return rv - else: - for envvar in self.envvar: - rv = os.environ.get(envvar) - - if rv: - return rv - - return None - - def value_from_envvar(self, ctx: Context) -> t.Optional[t.Any]: - rv: t.Optional[t.Any] = self.resolve_envvar_value(ctx) - - if rv is not None and self.nargs != 1: - rv = self.type.split_envvar_value(rv) - - return rv - - def handle_parse_result( - self, ctx: Context, opts: t.Mapping[str, t.Any], args: t.List[str] - ) -> t.Tuple[t.Any, t.List[str]]: - with augment_usage_errors(ctx, param=self): - value, source = self.consume_value(ctx, opts) - ctx.set_parameter_source(self.name, source) # type: ignore - - try: - value = self.process_value(ctx, value) - except Exception: - if not ctx.resilient_parsing: - raise - - value = None - - if self.expose_value: - ctx.params[self.name] = value # type: ignore - - return value, args - - def get_help_record(self, ctx: Context) -> t.Optional[t.Tuple[str, str]]: - pass - - def get_usage_pieces(self, ctx: Context) -> t.List[str]: - return [] - - def get_error_hint(self, ctx: Context) -> str: - """Get a stringified version of the param for use in error messages to - indicate which param caused the error. - """ - hint_list = self.opts or [self.human_readable_name] - return " / ".join(f"'{x}'" for x in hint_list) - - def shell_complete(self, ctx: Context, incomplete: str) -> t.List["CompletionItem"]: - """Return a list of completions for the incomplete value. If a - ``shell_complete`` function was given during init, it is used. - Otherwise, the :attr:`type` - :meth:`~click.types.ParamType.shell_complete` function is used. - - :param ctx: Invocation context for this command. - :param incomplete: Value being completed. May be empty. - - .. versionadded:: 8.0 - """ - if self._custom_shell_complete is not None: - results = self._custom_shell_complete(ctx, self, incomplete) - - if results and isinstance(results[0], str): - from click.shell_completion import CompletionItem - - results = [CompletionItem(c) for c in results] - - return t.cast(t.List["CompletionItem"], results) - - return self.type.shell_complete(ctx, self, incomplete) - - -class Option(Parameter): - """Options are usually optional values on the command line and - have some extra features that arguments don't have. - - All other parameters are passed onwards to the parameter constructor. - - :param show_default: Show the default value for this option in its - help text. Values are not shown by default, unless - :attr:`Context.show_default` is ``True``. If this value is a - string, it shows that string in parentheses instead of the - actual value. This is particularly useful for dynamic options. - For single option boolean flags, the default remains hidden if - its value is ``False``. - :param show_envvar: Controls if an environment variable should be - shown on the help page. Normally, environment variables are not - shown. - :param prompt: If set to ``True`` or a non empty string then the - user will be prompted for input. If set to ``True`` the prompt - will be the option name capitalized. - :param confirmation_prompt: Prompt a second time to confirm the - value if it was prompted for. Can be set to a string instead of - ``True`` to customize the message. - :param prompt_required: If set to ``False``, the user will be - prompted for input only when the option was specified as a flag - without a value. - :param hide_input: If this is ``True`` then the input on the prompt - will be hidden from the user. This is useful for password input. - :param is_flag: forces this option to act as a flag. The default is - auto detection. - :param flag_value: which value should be used for this flag if it's - enabled. This is set to a boolean automatically if - the option string contains a slash to mark two options. - :param multiple: if this is set to `True` then the argument is accepted - multiple times and recorded. This is similar to ``nargs`` - in how it works but supports arbitrary number of - arguments. - :param count: this flag makes an option increment an integer. - :param allow_from_autoenv: if this is enabled then the value of this - parameter will be pulled from an environment - variable in case a prefix is defined on the - context. - :param help: the help string. - :param hidden: hide this option from help outputs. - :param attrs: Other command arguments described in :class:`Parameter`. - - .. versionchanged:: 8.1.0 - Help text indentation is cleaned here instead of only in the - ``@option`` decorator. - - .. versionchanged:: 8.1.0 - The ``show_default`` parameter overrides - ``Context.show_default``. - - .. versionchanged:: 8.1.0 - The default of a single option boolean flag is not shown if the - default value is ``False``. - - .. versionchanged:: 8.0.1 - ``type`` is detected from ``flag_value`` if given. - """ - - param_type_name = "option" - - def __init__( - self, - param_decls: t.Optional[t.Sequence[str]] = None, - show_default: t.Union[bool, str, None] = None, - prompt: t.Union[bool, str] = False, - confirmation_prompt: t.Union[bool, str] = False, - prompt_required: bool = True, - hide_input: bool = False, - is_flag: t.Optional[bool] = None, - flag_value: t.Optional[t.Any] = None, - multiple: bool = False, - count: bool = False, - allow_from_autoenv: bool = True, - type: t.Optional[t.Union[types.ParamType, t.Any]] = None, - help: t.Optional[str] = None, - hidden: bool = False, - show_choices: bool = True, - show_envvar: bool = False, - **attrs: t.Any, - ) -> None: - if help: - help = inspect.cleandoc(help) - - default_is_missing = "default" not in attrs - super().__init__(param_decls, type=type, multiple=multiple, **attrs) - - if prompt is True: - if self.name is None: - raise TypeError("'name' is required with 'prompt=True'.") - - prompt_text: t.Optional[str] = self.name.replace("_", " ").capitalize() - elif prompt is False: - prompt_text = None - else: - prompt_text = prompt - - self.prompt = prompt_text - self.confirmation_prompt = confirmation_prompt - self.prompt_required = prompt_required - self.hide_input = hide_input - self.hidden = hidden - - # If prompt is enabled but not required, then the option can be - # used as a flag to indicate using prompt or flag_value. - self._flag_needs_value = self.prompt is not None and not self.prompt_required - - if is_flag is None: - if flag_value is not None: - # Implicitly a flag because flag_value was set. - is_flag = True - elif self._flag_needs_value: - # Not a flag, but when used as a flag it shows a prompt. - is_flag = False - else: - # Implicitly a flag because flag options were given. - is_flag = bool(self.secondary_opts) - elif is_flag is False and not self._flag_needs_value: - # Not a flag, and prompt is not enabled, can be used as a - # flag if flag_value is set. - self._flag_needs_value = flag_value is not None - - self.default: t.Union[t.Any, t.Callable[[], t.Any]] - - if is_flag and default_is_missing and not self.required: - if multiple: - self.default = () - else: - self.default = False - - if flag_value is None: - flag_value = not self.default - - self.type: types.ParamType - if is_flag and type is None: - # Re-guess the type from the flag value instead of the - # default. - self.type = types.convert_type(None, flag_value) - - self.is_flag: bool = is_flag - self.is_bool_flag: bool = is_flag and isinstance(self.type, types.BoolParamType) - self.flag_value: t.Any = flag_value - - # Counting - self.count = count - if count: - if type is None: - self.type = types.IntRange(min=0) - if default_is_missing: - self.default = 0 - - self.allow_from_autoenv = allow_from_autoenv - self.help = help - self.show_default = show_default - self.show_choices = show_choices - self.show_envvar = show_envvar - - if __debug__: - if self.nargs == -1: - raise TypeError("nargs=-1 is not supported for options.") - - if self.prompt and self.is_flag and not self.is_bool_flag: - raise TypeError("'prompt' is not valid for non-boolean flag.") - - if not self.is_bool_flag and self.secondary_opts: - raise TypeError("Secondary flag is not valid for non-boolean flag.") - - if self.is_bool_flag and self.hide_input and self.prompt is not None: - raise TypeError( - "'prompt' with 'hide_input' is not valid for boolean flag." - ) - - if self.count: - if self.multiple: - raise TypeError("'count' is not valid with 'multiple'.") - - if self.is_flag: - raise TypeError("'count' is not valid with 'is_flag'.") - - def to_info_dict(self) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict() - info_dict.update( - help=self.help, - prompt=self.prompt, - is_flag=self.is_flag, - flag_value=self.flag_value, - count=self.count, - hidden=self.hidden, - ) - return info_dict - - def _parse_decls( - self, decls: t.Sequence[str], expose_value: bool - ) -> t.Tuple[t.Optional[str], t.List[str], t.List[str]]: - opts = [] - secondary_opts = [] - name = None - possible_names = [] - - for decl in decls: - if decl.isidentifier(): - if name is not None: - raise TypeError(f"Name '{name}' defined twice") - name = decl - else: - split_char = ";" if decl[:1] == "/" else "/" - if split_char in decl: - first, second = decl.split(split_char, 1) - first = first.rstrip() - if first: - possible_names.append(split_opt(first)) - opts.append(first) - second = second.lstrip() - if second: - secondary_opts.append(second.lstrip()) - if first == second: - raise ValueError( - f"Boolean option {decl!r} cannot use the" - " same flag for true/false." - ) - else: - possible_names.append(split_opt(decl)) - opts.append(decl) - - if name is None and possible_names: - possible_names.sort(key=lambda x: -len(x[0])) # group long options first - name = possible_names[0][1].replace("-", "_").lower() - if not name.isidentifier(): - name = None - - if name is None: - if not expose_value: - return None, opts, secondary_opts - raise TypeError("Could not determine name for option") - - if not opts and not secondary_opts: - raise TypeError( - f"No options defined but a name was passed ({name})." - " Did you mean to declare an argument instead? Did" - f" you mean to pass '--{name}'?" - ) - - return name, opts, secondary_opts - - def add_to_parser(self, parser: OptionParser, ctx: Context) -> None: - if self.multiple: - action = "append" - elif self.count: - action = "count" - else: - action = "store" - - if self.is_flag: - action = f"{action}_const" - - if self.is_bool_flag and self.secondary_opts: - parser.add_option( - obj=self, opts=self.opts, dest=self.name, action=action, const=True - ) - parser.add_option( - obj=self, - opts=self.secondary_opts, - dest=self.name, - action=action, - const=False, - ) - else: - parser.add_option( - obj=self, - opts=self.opts, - dest=self.name, - action=action, - const=self.flag_value, - ) - else: - parser.add_option( - obj=self, - opts=self.opts, - dest=self.name, - action=action, - nargs=self.nargs, - ) - - def get_help_record(self, ctx: Context) -> t.Optional[t.Tuple[str, str]]: - if self.hidden: - return None - - any_prefix_is_slash = False - - def _write_opts(opts: t.Sequence[str]) -> str: - nonlocal any_prefix_is_slash - - rv, any_slashes = join_options(opts) - - if any_slashes: - any_prefix_is_slash = True - - if not self.is_flag and not self.count: - rv += f" {self.make_metavar()}" - - return rv - - rv = [_write_opts(self.opts)] - - if self.secondary_opts: - rv.append(_write_opts(self.secondary_opts)) - - help = self.help or "" - extra = [] - - if self.show_envvar: - envvar = self.envvar - - if envvar is None: - if ( - self.allow_from_autoenv - and ctx.auto_envvar_prefix is not None - and self.name is not None - ): - envvar = f"{ctx.auto_envvar_prefix}_{self.name.upper()}" - - if envvar is not None: - var_str = ( - envvar - if isinstance(envvar, str) - else ", ".join(str(d) for d in envvar) - ) - extra.append(_("env var: {var}").format(var=var_str)) - - # Temporarily enable resilient parsing to avoid type casting - # failing for the default. Might be possible to extend this to - # help formatting in general. - resilient = ctx.resilient_parsing - ctx.resilient_parsing = True - - try: - default_value = self.get_default(ctx, call=False) - finally: - ctx.resilient_parsing = resilient - - show_default = False - show_default_is_str = False - - if self.show_default is not None: - if isinstance(self.show_default, str): - show_default_is_str = show_default = True - else: - show_default = self.show_default - elif ctx.show_default is not None: - show_default = ctx.show_default - - if show_default_is_str or (show_default and (default_value is not None)): - if show_default_is_str: - default_string = f"({self.show_default})" - elif isinstance(default_value, (list, tuple)): - default_string = ", ".join(str(d) for d in default_value) - elif inspect.isfunction(default_value): - default_string = _("(dynamic)") - elif self.is_bool_flag and self.secondary_opts: - # For boolean flags that have distinct True/False opts, - # use the opt without prefix instead of the value. - default_string = split_opt( - (self.opts if self.default else self.secondary_opts)[0] - )[1] - elif self.is_bool_flag and not self.secondary_opts and not default_value: - default_string = "" - else: - default_string = str(default_value) - - if default_string: - extra.append(_("default: {default}").format(default=default_string)) - - if ( - isinstance(self.type, types._NumberRangeBase) - # skip count with default range type - and not (self.count and self.type.min == 0 and self.type.max is None) - ): - range_str = self.type._describe_range() - - if range_str: - extra.append(range_str) - - if self.required: - extra.append(_("required")) - - if extra: - extra_str = "; ".join(extra) - help = f"{help} [{extra_str}]" if help else f"[{extra_str}]" - - return ("; " if any_prefix_is_slash else " / ").join(rv), help - - @t.overload - def get_default( - self, ctx: Context, call: "te.Literal[True]" = True - ) -> t.Optional[t.Any]: - ... - - @t.overload - def get_default( - self, ctx: Context, call: bool = ... - ) -> t.Optional[t.Union[t.Any, t.Callable[[], t.Any]]]: - ... - - def get_default( - self, ctx: Context, call: bool = True - ) -> t.Optional[t.Union[t.Any, t.Callable[[], t.Any]]]: - # If we're a non boolean flag our default is more complex because - # we need to look at all flags in the same group to figure out - # if we're the default one in which case we return the flag - # value as default. - if self.is_flag and not self.is_bool_flag: - for param in ctx.command.params: - if param.name == self.name and param.default: - return t.cast(Option, param).flag_value - - return None - - return super().get_default(ctx, call=call) - - def prompt_for_value(self, ctx: Context) -> t.Any: - """This is an alternative flow that can be activated in the full - value processing if a value does not exist. It will prompt the - user until a valid value exists and then returns the processed - value as result. - """ - assert self.prompt is not None - - # Calculate the default before prompting anything to be stable. - default = self.get_default(ctx) - - # If this is a prompt for a flag we need to handle this - # differently. - if self.is_bool_flag: - return confirm(self.prompt, default) - - return prompt( - self.prompt, - default=default, - type=self.type, - hide_input=self.hide_input, - show_choices=self.show_choices, - confirmation_prompt=self.confirmation_prompt, - value_proc=lambda x: self.process_value(ctx, x), - ) - - def resolve_envvar_value(self, ctx: Context) -> t.Optional[str]: - rv = super().resolve_envvar_value(ctx) - - if rv is not None: - return rv - - if ( - self.allow_from_autoenv - and ctx.auto_envvar_prefix is not None - and self.name is not None - ): - envvar = f"{ctx.auto_envvar_prefix}_{self.name.upper()}" - rv = os.environ.get(envvar) - - if rv: - return rv - - return None - - def value_from_envvar(self, ctx: Context) -> t.Optional[t.Any]: - rv: t.Optional[t.Any] = self.resolve_envvar_value(ctx) - - if rv is None: - return None - - value_depth = (self.nargs != 1) + bool(self.multiple) - - if value_depth > 0: - rv = self.type.split_envvar_value(rv) - - if self.multiple and self.nargs != 1: - rv = batch(rv, self.nargs) - - return rv - - def consume_value( - self, ctx: Context, opts: t.Mapping[str, "Parameter"] - ) -> t.Tuple[t.Any, ParameterSource]: - value, source = super().consume_value(ctx, opts) - - # The parser will emit a sentinel value if the option can be - # given as a flag without a value. This is different from None - # to distinguish from the flag not being given at all. - if value is _flag_needs_value: - if self.prompt is not None and not ctx.resilient_parsing: - value = self.prompt_for_value(ctx) - source = ParameterSource.PROMPT - else: - value = self.flag_value - source = ParameterSource.COMMANDLINE - - elif ( - self.multiple - and value is not None - and any(v is _flag_needs_value for v in value) - ): - value = [self.flag_value if v is _flag_needs_value else v for v in value] - source = ParameterSource.COMMANDLINE - - # The value wasn't set, or used the param's default, prompt if - # prompting is enabled. - elif ( - source in {None, ParameterSource.DEFAULT} - and self.prompt is not None - and (self.required or self.prompt_required) - and not ctx.resilient_parsing - ): - value = self.prompt_for_value(ctx) - source = ParameterSource.PROMPT - - return value, source - - -class Argument(Parameter): - """Arguments are positional parameters to a command. They generally - provide fewer features than options but can have infinite ``nargs`` - and are required by default. - - All parameters are passed onwards to the constructor of :class:`Parameter`. - """ - - param_type_name = "argument" - - def __init__( - self, - param_decls: t.Sequence[str], - required: t.Optional[bool] = None, - **attrs: t.Any, - ) -> None: - if required is None: - if attrs.get("default") is not None: - required = False - else: - required = attrs.get("nargs", 1) > 0 - - if "multiple" in attrs: - raise TypeError("__init__() got an unexpected keyword argument 'multiple'.") - - super().__init__(param_decls, required=required, **attrs) - - if __debug__: - if self.default is not None and self.nargs == -1: - raise TypeError("'default' is not supported for nargs=-1.") - - @property - def human_readable_name(self) -> str: - if self.metavar is not None: - return self.metavar - return self.name.upper() # type: ignore - - def make_metavar(self) -> str: - if self.metavar is not None: - return self.metavar - var = self.type.get_metavar(self) - if not var: - var = self.name.upper() # type: ignore - if not self.required: - var = f"[{var}]" - if self.nargs != 1: - var += "..." - return var - - def _parse_decls( - self, decls: t.Sequence[str], expose_value: bool - ) -> t.Tuple[t.Optional[str], t.List[str], t.List[str]]: - if not decls: - if not expose_value: - return None, [], [] - raise TypeError("Could not determine name for argument") - if len(decls) == 1: - name = arg = decls[0] - name = name.replace("-", "_").lower() - else: - raise TypeError( - "Arguments take exactly one parameter declaration, got" - f" {len(decls)}." - ) - return name, [arg], [] - - def get_usage_pieces(self, ctx: Context) -> t.List[str]: - return [self.make_metavar()] - - def get_error_hint(self, ctx: Context) -> str: - return f"'{self.make_metavar()}'" - - def add_to_parser(self, parser: OptionParser, ctx: Context) -> None: - parser.add_argument(dest=self.name, nargs=self.nargs, obj=self) diff --git a/.venv/lib/python3.12/site-packages/click/decorators.py b/.venv/lib/python3.12/site-packages/click/decorators.py deleted file mode 100644 index d9bba950..00000000 --- a/.venv/lib/python3.12/site-packages/click/decorators.py +++ /dev/null @@ -1,561 +0,0 @@ -import inspect -import types -import typing as t -from functools import update_wrapper -from gettext import gettext as _ - -from .core import Argument -from .core import Command -from .core import Context -from .core import Group -from .core import Option -from .core import Parameter -from .globals import get_current_context -from .utils import echo - -if t.TYPE_CHECKING: - import typing_extensions as te - - P = te.ParamSpec("P") - -R = t.TypeVar("R") -T = t.TypeVar("T") -_AnyCallable = t.Callable[..., t.Any] -FC = t.TypeVar("FC", bound=t.Union[_AnyCallable, Command]) - - -def pass_context(f: "t.Callable[te.Concatenate[Context, P], R]") -> "t.Callable[P, R]": - """Marks a callback as wanting to receive the current context - object as first argument. - """ - - def new_func(*args: "P.args", **kwargs: "P.kwargs") -> "R": - return f(get_current_context(), *args, **kwargs) - - return update_wrapper(new_func, f) - - -def pass_obj(f: "t.Callable[te.Concatenate[t.Any, P], R]") -> "t.Callable[P, R]": - """Similar to :func:`pass_context`, but only pass the object on the - context onwards (:attr:`Context.obj`). This is useful if that object - represents the state of a nested system. - """ - - def new_func(*args: "P.args", **kwargs: "P.kwargs") -> "R": - return f(get_current_context().obj, *args, **kwargs) - - return update_wrapper(new_func, f) - - -def make_pass_decorator( - object_type: t.Type[T], ensure: bool = False -) -> t.Callable[["t.Callable[te.Concatenate[T, P], R]"], "t.Callable[P, R]"]: - """Given an object type this creates a decorator that will work - similar to :func:`pass_obj` but instead of passing the object of the - current context, it will find the innermost context of type - :func:`object_type`. - - This generates a decorator that works roughly like this:: - - from functools import update_wrapper - - def decorator(f): - @pass_context - def new_func(ctx, *args, **kwargs): - obj = ctx.find_object(object_type) - return ctx.invoke(f, obj, *args, **kwargs) - return update_wrapper(new_func, f) - return decorator - - :param object_type: the type of the object to pass. - :param ensure: if set to `True`, a new object will be created and - remembered on the context if it's not there yet. - """ - - def decorator(f: "t.Callable[te.Concatenate[T, P], R]") -> "t.Callable[P, R]": - def new_func(*args: "P.args", **kwargs: "P.kwargs") -> "R": - ctx = get_current_context() - - obj: t.Optional[T] - if ensure: - obj = ctx.ensure_object(object_type) - else: - obj = ctx.find_object(object_type) - - if obj is None: - raise RuntimeError( - "Managed to invoke callback without a context" - f" object of type {object_type.__name__!r}" - " existing." - ) - - return ctx.invoke(f, obj, *args, **kwargs) - - return update_wrapper(new_func, f) - - return decorator # type: ignore[return-value] - - -def pass_meta_key( - key: str, *, doc_description: t.Optional[str] = None -) -> "t.Callable[[t.Callable[te.Concatenate[t.Any, P], R]], t.Callable[P, R]]": - """Create a decorator that passes a key from - :attr:`click.Context.meta` as the first argument to the decorated - function. - - :param key: Key in ``Context.meta`` to pass. - :param doc_description: Description of the object being passed, - inserted into the decorator's docstring. Defaults to "the 'key' - key from Context.meta". - - .. versionadded:: 8.0 - """ - - def decorator(f: "t.Callable[te.Concatenate[t.Any, P], R]") -> "t.Callable[P, R]": - def new_func(*args: "P.args", **kwargs: "P.kwargs") -> R: - ctx = get_current_context() - obj = ctx.meta[key] - return ctx.invoke(f, obj, *args, **kwargs) - - return update_wrapper(new_func, f) - - if doc_description is None: - doc_description = f"the {key!r} key from :attr:`click.Context.meta`" - - decorator.__doc__ = ( - f"Decorator that passes {doc_description} as the first argument" - " to the decorated function." - ) - return decorator # type: ignore[return-value] - - -CmdType = t.TypeVar("CmdType", bound=Command) - - -# variant: no call, directly as decorator for a function. -@t.overload -def command(name: _AnyCallable) -> Command: - ... - - -# variant: with positional name and with positional or keyword cls argument: -# @command(namearg, CommandCls, ...) or @command(namearg, cls=CommandCls, ...) -@t.overload -def command( - name: t.Optional[str], - cls: t.Type[CmdType], - **attrs: t.Any, -) -> t.Callable[[_AnyCallable], CmdType]: - ... - - -# variant: name omitted, cls _must_ be a keyword argument, @command(cls=CommandCls, ...) -@t.overload -def command( - name: None = None, - *, - cls: t.Type[CmdType], - **attrs: t.Any, -) -> t.Callable[[_AnyCallable], CmdType]: - ... - - -# variant: with optional string name, no cls argument provided. -@t.overload -def command( - name: t.Optional[str] = ..., cls: None = None, **attrs: t.Any -) -> t.Callable[[_AnyCallable], Command]: - ... - - -def command( - name: t.Union[t.Optional[str], _AnyCallable] = None, - cls: t.Optional[t.Type[CmdType]] = None, - **attrs: t.Any, -) -> t.Union[Command, t.Callable[[_AnyCallable], t.Union[Command, CmdType]]]: - r"""Creates a new :class:`Command` and uses the decorated function as - callback. This will also automatically attach all decorated - :func:`option`\s and :func:`argument`\s as parameters to the command. - - The name of the command defaults to the name of the function with - underscores replaced by dashes. If you want to change that, you can - pass the intended name as the first argument. - - All keyword arguments are forwarded to the underlying command class. - For the ``params`` argument, any decorated params are appended to - the end of the list. - - Once decorated the function turns into a :class:`Command` instance - that can be invoked as a command line utility or be attached to a - command :class:`Group`. - - :param name: the name of the command. This defaults to the function - name with underscores replaced by dashes. - :param cls: the command class to instantiate. This defaults to - :class:`Command`. - - .. versionchanged:: 8.1 - This decorator can be applied without parentheses. - - .. versionchanged:: 8.1 - The ``params`` argument can be used. Decorated params are - appended to the end of the list. - """ - - func: t.Optional[t.Callable[[_AnyCallable], t.Any]] = None - - if callable(name): - func = name - name = None - assert cls is None, "Use 'command(cls=cls)(callable)' to specify a class." - assert not attrs, "Use 'command(**kwargs)(callable)' to provide arguments." - - if cls is None: - cls = t.cast(t.Type[CmdType], Command) - - def decorator(f: _AnyCallable) -> CmdType: - if isinstance(f, Command): - raise TypeError("Attempted to convert a callback into a command twice.") - - attr_params = attrs.pop("params", None) - params = attr_params if attr_params is not None else [] - - try: - decorator_params = f.__click_params__ # type: ignore - except AttributeError: - pass - else: - del f.__click_params__ # type: ignore - params.extend(reversed(decorator_params)) - - if attrs.get("help") is None: - attrs["help"] = f.__doc__ - - if t.TYPE_CHECKING: - assert cls is not None - assert not callable(name) - - cmd = cls( - name=name or f.__name__.lower().replace("_", "-"), - callback=f, - params=params, - **attrs, - ) - cmd.__doc__ = f.__doc__ - return cmd - - if func is not None: - return decorator(func) - - return decorator - - -GrpType = t.TypeVar("GrpType", bound=Group) - - -# variant: no call, directly as decorator for a function. -@t.overload -def group(name: _AnyCallable) -> Group: - ... - - -# variant: with positional name and with positional or keyword cls argument: -# @group(namearg, GroupCls, ...) or @group(namearg, cls=GroupCls, ...) -@t.overload -def group( - name: t.Optional[str], - cls: t.Type[GrpType], - **attrs: t.Any, -) -> t.Callable[[_AnyCallable], GrpType]: - ... - - -# variant: name omitted, cls _must_ be a keyword argument, @group(cmd=GroupCls, ...) -@t.overload -def group( - name: None = None, - *, - cls: t.Type[GrpType], - **attrs: t.Any, -) -> t.Callable[[_AnyCallable], GrpType]: - ... - - -# variant: with optional string name, no cls argument provided. -@t.overload -def group( - name: t.Optional[str] = ..., cls: None = None, **attrs: t.Any -) -> t.Callable[[_AnyCallable], Group]: - ... - - -def group( - name: t.Union[str, _AnyCallable, None] = None, - cls: t.Optional[t.Type[GrpType]] = None, - **attrs: t.Any, -) -> t.Union[Group, t.Callable[[_AnyCallable], t.Union[Group, GrpType]]]: - """Creates a new :class:`Group` with a function as callback. This - works otherwise the same as :func:`command` just that the `cls` - parameter is set to :class:`Group`. - - .. versionchanged:: 8.1 - This decorator can be applied without parentheses. - """ - if cls is None: - cls = t.cast(t.Type[GrpType], Group) - - if callable(name): - return command(cls=cls, **attrs)(name) - - return command(name, cls, **attrs) - - -def _param_memo(f: t.Callable[..., t.Any], param: Parameter) -> None: - if isinstance(f, Command): - f.params.append(param) - else: - if not hasattr(f, "__click_params__"): - f.__click_params__ = [] # type: ignore - - f.__click_params__.append(param) # type: ignore - - -def argument( - *param_decls: str, cls: t.Optional[t.Type[Argument]] = None, **attrs: t.Any -) -> t.Callable[[FC], FC]: - """Attaches an argument to the command. All positional arguments are - passed as parameter declarations to :class:`Argument`; all keyword - arguments are forwarded unchanged (except ``cls``). - This is equivalent to creating an :class:`Argument` instance manually - and attaching it to the :attr:`Command.params` list. - - For the default argument class, refer to :class:`Argument` and - :class:`Parameter` for descriptions of parameters. - - :param cls: the argument class to instantiate. This defaults to - :class:`Argument`. - :param param_decls: Passed as positional arguments to the constructor of - ``cls``. - :param attrs: Passed as keyword arguments to the constructor of ``cls``. - """ - if cls is None: - cls = Argument - - def decorator(f: FC) -> FC: - _param_memo(f, cls(param_decls, **attrs)) - return f - - return decorator - - -def option( - *param_decls: str, cls: t.Optional[t.Type[Option]] = None, **attrs: t.Any -) -> t.Callable[[FC], FC]: - """Attaches an option to the command. All positional arguments are - passed as parameter declarations to :class:`Option`; all keyword - arguments are forwarded unchanged (except ``cls``). - This is equivalent to creating an :class:`Option` instance manually - and attaching it to the :attr:`Command.params` list. - - For the default option class, refer to :class:`Option` and - :class:`Parameter` for descriptions of parameters. - - :param cls: the option class to instantiate. This defaults to - :class:`Option`. - :param param_decls: Passed as positional arguments to the constructor of - ``cls``. - :param attrs: Passed as keyword arguments to the constructor of ``cls``. - """ - if cls is None: - cls = Option - - def decorator(f: FC) -> FC: - _param_memo(f, cls(param_decls, **attrs)) - return f - - return decorator - - -def confirmation_option(*param_decls: str, **kwargs: t.Any) -> t.Callable[[FC], FC]: - """Add a ``--yes`` option which shows a prompt before continuing if - not passed. If the prompt is declined, the program will exit. - - :param param_decls: One or more option names. Defaults to the single - value ``"--yes"``. - :param kwargs: Extra arguments are passed to :func:`option`. - """ - - def callback(ctx: Context, param: Parameter, value: bool) -> None: - if not value: - ctx.abort() - - if not param_decls: - param_decls = ("--yes",) - - kwargs.setdefault("is_flag", True) - kwargs.setdefault("callback", callback) - kwargs.setdefault("expose_value", False) - kwargs.setdefault("prompt", "Do you want to continue?") - kwargs.setdefault("help", "Confirm the action without prompting.") - return option(*param_decls, **kwargs) - - -def password_option(*param_decls: str, **kwargs: t.Any) -> t.Callable[[FC], FC]: - """Add a ``--password`` option which prompts for a password, hiding - input and asking to enter the value again for confirmation. - - :param param_decls: One or more option names. Defaults to the single - value ``"--password"``. - :param kwargs: Extra arguments are passed to :func:`option`. - """ - if not param_decls: - param_decls = ("--password",) - - kwargs.setdefault("prompt", True) - kwargs.setdefault("confirmation_prompt", True) - kwargs.setdefault("hide_input", True) - return option(*param_decls, **kwargs) - - -def version_option( - version: t.Optional[str] = None, - *param_decls: str, - package_name: t.Optional[str] = None, - prog_name: t.Optional[str] = None, - message: t.Optional[str] = None, - **kwargs: t.Any, -) -> t.Callable[[FC], FC]: - """Add a ``--version`` option which immediately prints the version - number and exits the program. - - If ``version`` is not provided, Click will try to detect it using - :func:`importlib.metadata.version` to get the version for the - ``package_name``. On Python < 3.8, the ``importlib_metadata`` - backport must be installed. - - If ``package_name`` is not provided, Click will try to detect it by - inspecting the stack frames. This will be used to detect the - version, so it must match the name of the installed package. - - :param version: The version number to show. If not provided, Click - will try to detect it. - :param param_decls: One or more option names. Defaults to the single - value ``"--version"``. - :param package_name: The package name to detect the version from. If - not provided, Click will try to detect it. - :param prog_name: The name of the CLI to show in the message. If not - provided, it will be detected from the command. - :param message: The message to show. The values ``%(prog)s``, - ``%(package)s``, and ``%(version)s`` are available. Defaults to - ``"%(prog)s, version %(version)s"``. - :param kwargs: Extra arguments are passed to :func:`option`. - :raise RuntimeError: ``version`` could not be detected. - - .. versionchanged:: 8.0 - Add the ``package_name`` parameter, and the ``%(package)s`` - value for messages. - - .. versionchanged:: 8.0 - Use :mod:`importlib.metadata` instead of ``pkg_resources``. The - version is detected based on the package name, not the entry - point name. The Python package name must match the installed - package name, or be passed with ``package_name=``. - """ - if message is None: - message = _("%(prog)s, version %(version)s") - - if version is None and package_name is None: - frame = inspect.currentframe() - f_back = frame.f_back if frame is not None else None - f_globals = f_back.f_globals if f_back is not None else None - # break reference cycle - # https://docs.python.org/3/library/inspect.html#the-interpreter-stack - del frame - - if f_globals is not None: - package_name = f_globals.get("__name__") - - if package_name == "__main__": - package_name = f_globals.get("__package__") - - if package_name: - package_name = package_name.partition(".")[0] - - def callback(ctx: Context, param: Parameter, value: bool) -> None: - if not value or ctx.resilient_parsing: - return - - nonlocal prog_name - nonlocal version - - if prog_name is None: - prog_name = ctx.find_root().info_name - - if version is None and package_name is not None: - metadata: t.Optional[types.ModuleType] - - try: - from importlib import metadata # type: ignore - except ImportError: - # Python < 3.8 - import importlib_metadata as metadata # type: ignore - - try: - version = metadata.version(package_name) # type: ignore - except metadata.PackageNotFoundError: # type: ignore - raise RuntimeError( - f"{package_name!r} is not installed. Try passing" - " 'package_name' instead." - ) from None - - if version is None: - raise RuntimeError( - f"Could not determine the version for {package_name!r} automatically." - ) - - echo( - message % {"prog": prog_name, "package": package_name, "version": version}, - color=ctx.color, - ) - ctx.exit() - - if not param_decls: - param_decls = ("--version",) - - kwargs.setdefault("is_flag", True) - kwargs.setdefault("expose_value", False) - kwargs.setdefault("is_eager", True) - kwargs.setdefault("help", _("Show the version and exit.")) - kwargs["callback"] = callback - return option(*param_decls, **kwargs) - - -def help_option(*param_decls: str, **kwargs: t.Any) -> t.Callable[[FC], FC]: - """Add a ``--help`` option which immediately prints the help page - and exits the program. - - This is usually unnecessary, as the ``--help`` option is added to - each command automatically unless ``add_help_option=False`` is - passed. - - :param param_decls: One or more option names. Defaults to the single - value ``"--help"``. - :param kwargs: Extra arguments are passed to :func:`option`. - """ - - def callback(ctx: Context, param: Parameter, value: bool) -> None: - if not value or ctx.resilient_parsing: - return - - echo(ctx.get_help(), color=ctx.color) - ctx.exit() - - if not param_decls: - param_decls = ("--help",) - - kwargs.setdefault("is_flag", True) - kwargs.setdefault("expose_value", False) - kwargs.setdefault("is_eager", True) - kwargs.setdefault("help", _("Show this message and exit.")) - kwargs["callback"] = callback - return option(*param_decls, **kwargs) diff --git a/.venv/lib/python3.12/site-packages/click/exceptions.py b/.venv/lib/python3.12/site-packages/click/exceptions.py deleted file mode 100644 index fe68a361..00000000 --- a/.venv/lib/python3.12/site-packages/click/exceptions.py +++ /dev/null @@ -1,288 +0,0 @@ -import typing as t -from gettext import gettext as _ -from gettext import ngettext - -from ._compat import get_text_stderr -from .utils import echo -from .utils import format_filename - -if t.TYPE_CHECKING: - from .core import Command - from .core import Context - from .core import Parameter - - -def _join_param_hints( - param_hint: t.Optional[t.Union[t.Sequence[str], str]] -) -> t.Optional[str]: - if param_hint is not None and not isinstance(param_hint, str): - return " / ".join(repr(x) for x in param_hint) - - return param_hint - - -class ClickException(Exception): - """An exception that Click can handle and show to the user.""" - - #: The exit code for this exception. - exit_code = 1 - - def __init__(self, message: str) -> None: - super().__init__(message) - self.message = message - - def format_message(self) -> str: - return self.message - - def __str__(self) -> str: - return self.message - - def show(self, file: t.Optional[t.IO[t.Any]] = None) -> None: - if file is None: - file = get_text_stderr() - - echo(_("Error: {message}").format(message=self.format_message()), file=file) - - -class UsageError(ClickException): - """An internal exception that signals a usage error. This typically - aborts any further handling. - - :param message: the error message to display. - :param ctx: optionally the context that caused this error. Click will - fill in the context automatically in some situations. - """ - - exit_code = 2 - - def __init__(self, message: str, ctx: t.Optional["Context"] = None) -> None: - super().__init__(message) - self.ctx = ctx - self.cmd: t.Optional["Command"] = self.ctx.command if self.ctx else None - - def show(self, file: t.Optional[t.IO[t.Any]] = None) -> None: - if file is None: - file = get_text_stderr() - color = None - hint = "" - if ( - self.ctx is not None - and self.ctx.command.get_help_option(self.ctx) is not None - ): - hint = _("Try '{command} {option}' for help.").format( - command=self.ctx.command_path, option=self.ctx.help_option_names[0] - ) - hint = f"{hint}\n" - if self.ctx is not None: - color = self.ctx.color - echo(f"{self.ctx.get_usage()}\n{hint}", file=file, color=color) - echo( - _("Error: {message}").format(message=self.format_message()), - file=file, - color=color, - ) - - -class BadParameter(UsageError): - """An exception that formats out a standardized error message for a - bad parameter. This is useful when thrown from a callback or type as - Click will attach contextual information to it (for instance, which - parameter it is). - - .. versionadded:: 2.0 - - :param param: the parameter object that caused this error. This can - be left out, and Click will attach this info itself - if possible. - :param param_hint: a string that shows up as parameter name. This - can be used as alternative to `param` in cases - where custom validation should happen. If it is - a string it's used as such, if it's a list then - each item is quoted and separated. - """ - - def __init__( - self, - message: str, - ctx: t.Optional["Context"] = None, - param: t.Optional["Parameter"] = None, - param_hint: t.Optional[str] = None, - ) -> None: - super().__init__(message, ctx) - self.param = param - self.param_hint = param_hint - - def format_message(self) -> str: - if self.param_hint is not None: - param_hint = self.param_hint - elif self.param is not None: - param_hint = self.param.get_error_hint(self.ctx) # type: ignore - else: - return _("Invalid value: {message}").format(message=self.message) - - return _("Invalid value for {param_hint}: {message}").format( - param_hint=_join_param_hints(param_hint), message=self.message - ) - - -class MissingParameter(BadParameter): - """Raised if click required an option or argument but it was not - provided when invoking the script. - - .. versionadded:: 4.0 - - :param param_type: a string that indicates the type of the parameter. - The default is to inherit the parameter type from - the given `param`. Valid values are ``'parameter'``, - ``'option'`` or ``'argument'``. - """ - - def __init__( - self, - message: t.Optional[str] = None, - ctx: t.Optional["Context"] = None, - param: t.Optional["Parameter"] = None, - param_hint: t.Optional[str] = None, - param_type: t.Optional[str] = None, - ) -> None: - super().__init__(message or "", ctx, param, param_hint) - self.param_type = param_type - - def format_message(self) -> str: - if self.param_hint is not None: - param_hint: t.Optional[str] = self.param_hint - elif self.param is not None: - param_hint = self.param.get_error_hint(self.ctx) # type: ignore - else: - param_hint = None - - param_hint = _join_param_hints(param_hint) - param_hint = f" {param_hint}" if param_hint else "" - - param_type = self.param_type - if param_type is None and self.param is not None: - param_type = self.param.param_type_name - - msg = self.message - if self.param is not None: - msg_extra = self.param.type.get_missing_message(self.param) - if msg_extra: - if msg: - msg += f". {msg_extra}" - else: - msg = msg_extra - - msg = f" {msg}" if msg else "" - - # Translate param_type for known types. - if param_type == "argument": - missing = _("Missing argument") - elif param_type == "option": - missing = _("Missing option") - elif param_type == "parameter": - missing = _("Missing parameter") - else: - missing = _("Missing {param_type}").format(param_type=param_type) - - return f"{missing}{param_hint}.{msg}" - - def __str__(self) -> str: - if not self.message: - param_name = self.param.name if self.param else None - return _("Missing parameter: {param_name}").format(param_name=param_name) - else: - return self.message - - -class NoSuchOption(UsageError): - """Raised if click attempted to handle an option that does not - exist. - - .. versionadded:: 4.0 - """ - - def __init__( - self, - option_name: str, - message: t.Optional[str] = None, - possibilities: t.Optional[t.Sequence[str]] = None, - ctx: t.Optional["Context"] = None, - ) -> None: - if message is None: - message = _("No such option: {name}").format(name=option_name) - - super().__init__(message, ctx) - self.option_name = option_name - self.possibilities = possibilities - - def format_message(self) -> str: - if not self.possibilities: - return self.message - - possibility_str = ", ".join(sorted(self.possibilities)) - suggest = ngettext( - "Did you mean {possibility}?", - "(Possible options: {possibilities})", - len(self.possibilities), - ).format(possibility=possibility_str, possibilities=possibility_str) - return f"{self.message} {suggest}" - - -class BadOptionUsage(UsageError): - """Raised if an option is generally supplied but the use of the option - was incorrect. This is for instance raised if the number of arguments - for an option is not correct. - - .. versionadded:: 4.0 - - :param option_name: the name of the option being used incorrectly. - """ - - def __init__( - self, option_name: str, message: str, ctx: t.Optional["Context"] = None - ) -> None: - super().__init__(message, ctx) - self.option_name = option_name - - -class BadArgumentUsage(UsageError): - """Raised if an argument is generally supplied but the use of the argument - was incorrect. This is for instance raised if the number of values - for an argument is not correct. - - .. versionadded:: 6.0 - """ - - -class FileError(ClickException): - """Raised if a file cannot be opened.""" - - def __init__(self, filename: str, hint: t.Optional[str] = None) -> None: - if hint is None: - hint = _("unknown error") - - super().__init__(hint) - self.ui_filename: str = format_filename(filename) - self.filename = filename - - def format_message(self) -> str: - return _("Could not open file {filename!r}: {message}").format( - filename=self.ui_filename, message=self.message - ) - - -class Abort(RuntimeError): - """An internal signalling exception that signals Click to abort.""" - - -class Exit(RuntimeError): - """An exception that indicates that the application should exit with some - status code. - - :param code: the status code to exit with. - """ - - __slots__ = ("exit_code",) - - def __init__(self, code: int = 0) -> None: - self.exit_code: int = code diff --git a/.venv/lib/python3.12/site-packages/click/formatting.py b/.venv/lib/python3.12/site-packages/click/formatting.py deleted file mode 100644 index ddd2a2f8..00000000 --- a/.venv/lib/python3.12/site-packages/click/formatting.py +++ /dev/null @@ -1,301 +0,0 @@ -import typing as t -from contextlib import contextmanager -from gettext import gettext as _ - -from ._compat import term_len -from .parser import split_opt - -# Can force a width. This is used by the test system -FORCED_WIDTH: t.Optional[int] = None - - -def measure_table(rows: t.Iterable[t.Tuple[str, str]]) -> t.Tuple[int, ...]: - widths: t.Dict[int, int] = {} - - for row in rows: - for idx, col in enumerate(row): - widths[idx] = max(widths.get(idx, 0), term_len(col)) - - return tuple(y for x, y in sorted(widths.items())) - - -def iter_rows( - rows: t.Iterable[t.Tuple[str, str]], col_count: int -) -> t.Iterator[t.Tuple[str, ...]]: - for row in rows: - yield row + ("",) * (col_count - len(row)) - - -def wrap_text( - text: str, - width: int = 78, - initial_indent: str = "", - subsequent_indent: str = "", - preserve_paragraphs: bool = False, -) -> str: - """A helper function that intelligently wraps text. By default, it - assumes that it operates on a single paragraph of text but if the - `preserve_paragraphs` parameter is provided it will intelligently - handle paragraphs (defined by two empty lines). - - If paragraphs are handled, a paragraph can be prefixed with an empty - line containing the ``\\b`` character (``\\x08``) to indicate that - no rewrapping should happen in that block. - - :param text: the text that should be rewrapped. - :param width: the maximum width for the text. - :param initial_indent: the initial indent that should be placed on the - first line as a string. - :param subsequent_indent: the indent string that should be placed on - each consecutive line. - :param preserve_paragraphs: if this flag is set then the wrapping will - intelligently handle paragraphs. - """ - from ._textwrap import TextWrapper - - text = text.expandtabs() - wrapper = TextWrapper( - width, - initial_indent=initial_indent, - subsequent_indent=subsequent_indent, - replace_whitespace=False, - ) - if not preserve_paragraphs: - return wrapper.fill(text) - - p: t.List[t.Tuple[int, bool, str]] = [] - buf: t.List[str] = [] - indent = None - - def _flush_par() -> None: - if not buf: - return - if buf[0].strip() == "\b": - p.append((indent or 0, True, "\n".join(buf[1:]))) - else: - p.append((indent or 0, False, " ".join(buf))) - del buf[:] - - for line in text.splitlines(): - if not line: - _flush_par() - indent = None - else: - if indent is None: - orig_len = term_len(line) - line = line.lstrip() - indent = orig_len - term_len(line) - buf.append(line) - _flush_par() - - rv = [] - for indent, raw, text in p: - with wrapper.extra_indent(" " * indent): - if raw: - rv.append(wrapper.indent_only(text)) - else: - rv.append(wrapper.fill(text)) - - return "\n\n".join(rv) - - -class HelpFormatter: - """This class helps with formatting text-based help pages. It's - usually just needed for very special internal cases, but it's also - exposed so that developers can write their own fancy outputs. - - At present, it always writes into memory. - - :param indent_increment: the additional increment for each level. - :param width: the width for the text. This defaults to the terminal - width clamped to a maximum of 78. - """ - - def __init__( - self, - indent_increment: int = 2, - width: t.Optional[int] = None, - max_width: t.Optional[int] = None, - ) -> None: - import shutil - - self.indent_increment = indent_increment - if max_width is None: - max_width = 80 - if width is None: - width = FORCED_WIDTH - if width is None: - width = max(min(shutil.get_terminal_size().columns, max_width) - 2, 50) - self.width = width - self.current_indent = 0 - self.buffer: t.List[str] = [] - - def write(self, string: str) -> None: - """Writes a unicode string into the internal buffer.""" - self.buffer.append(string) - - def indent(self) -> None: - """Increases the indentation.""" - self.current_indent += self.indent_increment - - def dedent(self) -> None: - """Decreases the indentation.""" - self.current_indent -= self.indent_increment - - def write_usage( - self, prog: str, args: str = "", prefix: t.Optional[str] = None - ) -> None: - """Writes a usage line into the buffer. - - :param prog: the program name. - :param args: whitespace separated list of arguments. - :param prefix: The prefix for the first line. Defaults to - ``"Usage: "``. - """ - if prefix is None: - prefix = f"{_('Usage:')} " - - usage_prefix = f"{prefix:>{self.current_indent}}{prog} " - text_width = self.width - self.current_indent - - if text_width >= (term_len(usage_prefix) + 20): - # The arguments will fit to the right of the prefix. - indent = " " * term_len(usage_prefix) - self.write( - wrap_text( - args, - text_width, - initial_indent=usage_prefix, - subsequent_indent=indent, - ) - ) - else: - # The prefix is too long, put the arguments on the next line. - self.write(usage_prefix) - self.write("\n") - indent = " " * (max(self.current_indent, term_len(prefix)) + 4) - self.write( - wrap_text( - args, text_width, initial_indent=indent, subsequent_indent=indent - ) - ) - - self.write("\n") - - def write_heading(self, heading: str) -> None: - """Writes a heading into the buffer.""" - self.write(f"{'':>{self.current_indent}}{heading}:\n") - - def write_paragraph(self) -> None: - """Writes a paragraph into the buffer.""" - if self.buffer: - self.write("\n") - - def write_text(self, text: str) -> None: - """Writes re-indented text into the buffer. This rewraps and - preserves paragraphs. - """ - indent = " " * self.current_indent - self.write( - wrap_text( - text, - self.width, - initial_indent=indent, - subsequent_indent=indent, - preserve_paragraphs=True, - ) - ) - self.write("\n") - - def write_dl( - self, - rows: t.Sequence[t.Tuple[str, str]], - col_max: int = 30, - col_spacing: int = 2, - ) -> None: - """Writes a definition list into the buffer. This is how options - and commands are usually formatted. - - :param rows: a list of two item tuples for the terms and values. - :param col_max: the maximum width of the first column. - :param col_spacing: the number of spaces between the first and - second column. - """ - rows = list(rows) - widths = measure_table(rows) - if len(widths) != 2: - raise TypeError("Expected two columns for definition list") - - first_col = min(widths[0], col_max) + col_spacing - - for first, second in iter_rows(rows, len(widths)): - self.write(f"{'':>{self.current_indent}}{first}") - if not second: - self.write("\n") - continue - if term_len(first) <= first_col - col_spacing: - self.write(" " * (first_col - term_len(first))) - else: - self.write("\n") - self.write(" " * (first_col + self.current_indent)) - - text_width = max(self.width - first_col - 2, 10) - wrapped_text = wrap_text(second, text_width, preserve_paragraphs=True) - lines = wrapped_text.splitlines() - - if lines: - self.write(f"{lines[0]}\n") - - for line in lines[1:]: - self.write(f"{'':>{first_col + self.current_indent}}{line}\n") - else: - self.write("\n") - - @contextmanager - def section(self, name: str) -> t.Iterator[None]: - """Helpful context manager that writes a paragraph, a heading, - and the indents. - - :param name: the section name that is written as heading. - """ - self.write_paragraph() - self.write_heading(name) - self.indent() - try: - yield - finally: - self.dedent() - - @contextmanager - def indentation(self) -> t.Iterator[None]: - """A context manager that increases the indentation.""" - self.indent() - try: - yield - finally: - self.dedent() - - def getvalue(self) -> str: - """Returns the buffer contents.""" - return "".join(self.buffer) - - -def join_options(options: t.Sequence[str]) -> t.Tuple[str, bool]: - """Given a list of option strings this joins them in the most appropriate - way and returns them in the form ``(formatted_string, - any_prefix_is_slash)`` where the second item in the tuple is a flag that - indicates if any of the option prefixes was a slash. - """ - rv = [] - any_prefix_is_slash = False - - for opt in options: - prefix = split_opt(opt)[0] - - if prefix == "/": - any_prefix_is_slash = True - - rv.append((len(prefix), opt)) - - rv.sort(key=lambda x: x[0]) - return ", ".join(x[1] for x in rv), any_prefix_is_slash diff --git a/.venv/lib/python3.12/site-packages/click/globals.py b/.venv/lib/python3.12/site-packages/click/globals.py deleted file mode 100644 index 480058f1..00000000 --- a/.venv/lib/python3.12/site-packages/click/globals.py +++ /dev/null @@ -1,68 +0,0 @@ -import typing as t -from threading import local - -if t.TYPE_CHECKING: - import typing_extensions as te - from .core import Context - -_local = local() - - -@t.overload -def get_current_context(silent: "te.Literal[False]" = False) -> "Context": - ... - - -@t.overload -def get_current_context(silent: bool = ...) -> t.Optional["Context"]: - ... - - -def get_current_context(silent: bool = False) -> t.Optional["Context"]: - """Returns the current click context. This can be used as a way to - access the current context object from anywhere. This is a more implicit - alternative to the :func:`pass_context` decorator. This function is - primarily useful for helpers such as :func:`echo` which might be - interested in changing its behavior based on the current context. - - To push the current context, :meth:`Context.scope` can be used. - - .. versionadded:: 5.0 - - :param silent: if set to `True` the return value is `None` if no context - is available. The default behavior is to raise a - :exc:`RuntimeError`. - """ - try: - return t.cast("Context", _local.stack[-1]) - except (AttributeError, IndexError) as e: - if not silent: - raise RuntimeError("There is no active click context.") from e - - return None - - -def push_context(ctx: "Context") -> None: - """Pushes a new context to the current stack.""" - _local.__dict__.setdefault("stack", []).append(ctx) - - -def pop_context() -> None: - """Removes the top level from the stack.""" - _local.stack.pop() - - -def resolve_color_default(color: t.Optional[bool] = None) -> t.Optional[bool]: - """Internal helper to get the default value of the color flag. If a - value is passed it's returned unchanged, otherwise it's looked up from - the current context. - """ - if color is not None: - return color - - ctx = get_current_context(silent=True) - - if ctx is not None: - return ctx.color - - return None diff --git a/.venv/lib/python3.12/site-packages/click/parser.py b/.venv/lib/python3.12/site-packages/click/parser.py deleted file mode 100644 index 5fa7adfa..00000000 --- a/.venv/lib/python3.12/site-packages/click/parser.py +++ /dev/null @@ -1,529 +0,0 @@ -""" -This module started out as largely a copy paste from the stdlib's -optparse module with the features removed that we do not need from -optparse because we implement them in Click on a higher level (for -instance type handling, help formatting and a lot more). - -The plan is to remove more and more from here over time. - -The reason this is a different module and not optparse from the stdlib -is that there are differences in 2.x and 3.x about the error messages -generated and optparse in the stdlib uses gettext for no good reason -and might cause us issues. - -Click uses parts of optparse written by Gregory P. Ward and maintained -by the Python Software Foundation. This is limited to code in parser.py. - -Copyright 2001-2006 Gregory P. Ward. All rights reserved. -Copyright 2002-2006 Python Software Foundation. All rights reserved. -""" -# This code uses parts of optparse written by Gregory P. Ward and -# maintained by the Python Software Foundation. -# Copyright 2001-2006 Gregory P. Ward -# Copyright 2002-2006 Python Software Foundation -import typing as t -from collections import deque -from gettext import gettext as _ -from gettext import ngettext - -from .exceptions import BadArgumentUsage -from .exceptions import BadOptionUsage -from .exceptions import NoSuchOption -from .exceptions import UsageError - -if t.TYPE_CHECKING: - import typing_extensions as te - from .core import Argument as CoreArgument - from .core import Context - from .core import Option as CoreOption - from .core import Parameter as CoreParameter - -V = t.TypeVar("V") - -# Sentinel value that indicates an option was passed as a flag without a -# value but is not a flag option. Option.consume_value uses this to -# prompt or use the flag_value. -_flag_needs_value = object() - - -def _unpack_args( - args: t.Sequence[str], nargs_spec: t.Sequence[int] -) -> t.Tuple[t.Sequence[t.Union[str, t.Sequence[t.Optional[str]], None]], t.List[str]]: - """Given an iterable of arguments and an iterable of nargs specifications, - it returns a tuple with all the unpacked arguments at the first index - and all remaining arguments as the second. - - The nargs specification is the number of arguments that should be consumed - or `-1` to indicate that this position should eat up all the remainders. - - Missing items are filled with `None`. - """ - args = deque(args) - nargs_spec = deque(nargs_spec) - rv: t.List[t.Union[str, t.Tuple[t.Optional[str], ...], None]] = [] - spos: t.Optional[int] = None - - def _fetch(c: "te.Deque[V]") -> t.Optional[V]: - try: - if spos is None: - return c.popleft() - else: - return c.pop() - except IndexError: - return None - - while nargs_spec: - nargs = _fetch(nargs_spec) - - if nargs is None: - continue - - if nargs == 1: - rv.append(_fetch(args)) - elif nargs > 1: - x = [_fetch(args) for _ in range(nargs)] - - # If we're reversed, we're pulling in the arguments in reverse, - # so we need to turn them around. - if spos is not None: - x.reverse() - - rv.append(tuple(x)) - elif nargs < 0: - if spos is not None: - raise TypeError("Cannot have two nargs < 0") - - spos = len(rv) - rv.append(None) - - # spos is the position of the wildcard (star). If it's not `None`, - # we fill it with the remainder. - if spos is not None: - rv[spos] = tuple(args) - args = [] - rv[spos + 1 :] = reversed(rv[spos + 1 :]) - - return tuple(rv), list(args) - - -def split_opt(opt: str) -> t.Tuple[str, str]: - first = opt[:1] - if first.isalnum(): - return "", opt - if opt[1:2] == first: - return opt[:2], opt[2:] - return first, opt[1:] - - -def normalize_opt(opt: str, ctx: t.Optional["Context"]) -> str: - if ctx is None or ctx.token_normalize_func is None: - return opt - prefix, opt = split_opt(opt) - return f"{prefix}{ctx.token_normalize_func(opt)}" - - -def split_arg_string(string: str) -> t.List[str]: - """Split an argument string as with :func:`shlex.split`, but don't - fail if the string is incomplete. Ignores a missing closing quote or - incomplete escape sequence and uses the partial token as-is. - - .. code-block:: python - - split_arg_string("example 'my file") - ["example", "my file"] - - split_arg_string("example my\\") - ["example", "my"] - - :param string: String to split. - """ - import shlex - - lex = shlex.shlex(string, posix=True) - lex.whitespace_split = True - lex.commenters = "" - out = [] - - try: - for token in lex: - out.append(token) - except ValueError: - # Raised when end-of-string is reached in an invalid state. Use - # the partial token as-is. The quote or escape character is in - # lex.state, not lex.token. - out.append(lex.token) - - return out - - -class Option: - def __init__( - self, - obj: "CoreOption", - opts: t.Sequence[str], - dest: t.Optional[str], - action: t.Optional[str] = None, - nargs: int = 1, - const: t.Optional[t.Any] = None, - ): - self._short_opts = [] - self._long_opts = [] - self.prefixes: t.Set[str] = set() - - for opt in opts: - prefix, value = split_opt(opt) - if not prefix: - raise ValueError(f"Invalid start character for option ({opt})") - self.prefixes.add(prefix[0]) - if len(prefix) == 1 and len(value) == 1: - self._short_opts.append(opt) - else: - self._long_opts.append(opt) - self.prefixes.add(prefix) - - if action is None: - action = "store" - - self.dest = dest - self.action = action - self.nargs = nargs - self.const = const - self.obj = obj - - @property - def takes_value(self) -> bool: - return self.action in ("store", "append") - - def process(self, value: t.Any, state: "ParsingState") -> None: - if self.action == "store": - state.opts[self.dest] = value # type: ignore - elif self.action == "store_const": - state.opts[self.dest] = self.const # type: ignore - elif self.action == "append": - state.opts.setdefault(self.dest, []).append(value) # type: ignore - elif self.action == "append_const": - state.opts.setdefault(self.dest, []).append(self.const) # type: ignore - elif self.action == "count": - state.opts[self.dest] = state.opts.get(self.dest, 0) + 1 # type: ignore - else: - raise ValueError(f"unknown action '{self.action}'") - state.order.append(self.obj) - - -class Argument: - def __init__(self, obj: "CoreArgument", dest: t.Optional[str], nargs: int = 1): - self.dest = dest - self.nargs = nargs - self.obj = obj - - def process( - self, - value: t.Union[t.Optional[str], t.Sequence[t.Optional[str]]], - state: "ParsingState", - ) -> None: - if self.nargs > 1: - assert value is not None - holes = sum(1 for x in value if x is None) - if holes == len(value): - value = None - elif holes != 0: - raise BadArgumentUsage( - _("Argument {name!r} takes {nargs} values.").format( - name=self.dest, nargs=self.nargs - ) - ) - - if self.nargs == -1 and self.obj.envvar is not None and value == (): - # Replace empty tuple with None so that a value from the - # environment may be tried. - value = None - - state.opts[self.dest] = value # type: ignore - state.order.append(self.obj) - - -class ParsingState: - def __init__(self, rargs: t.List[str]) -> None: - self.opts: t.Dict[str, t.Any] = {} - self.largs: t.List[str] = [] - self.rargs = rargs - self.order: t.List["CoreParameter"] = [] - - -class OptionParser: - """The option parser is an internal class that is ultimately used to - parse options and arguments. It's modelled after optparse and brings - a similar but vastly simplified API. It should generally not be used - directly as the high level Click classes wrap it for you. - - It's not nearly as extensible as optparse or argparse as it does not - implement features that are implemented on a higher level (such as - types or defaults). - - :param ctx: optionally the :class:`~click.Context` where this parser - should go with. - """ - - def __init__(self, ctx: t.Optional["Context"] = None) -> None: - #: The :class:`~click.Context` for this parser. This might be - #: `None` for some advanced use cases. - self.ctx = ctx - #: This controls how the parser deals with interspersed arguments. - #: If this is set to `False`, the parser will stop on the first - #: non-option. Click uses this to implement nested subcommands - #: safely. - self.allow_interspersed_args: bool = True - #: This tells the parser how to deal with unknown options. By - #: default it will error out (which is sensible), but there is a - #: second mode where it will ignore it and continue processing - #: after shifting all the unknown options into the resulting args. - self.ignore_unknown_options: bool = False - - if ctx is not None: - self.allow_interspersed_args = ctx.allow_interspersed_args - self.ignore_unknown_options = ctx.ignore_unknown_options - - self._short_opt: t.Dict[str, Option] = {} - self._long_opt: t.Dict[str, Option] = {} - self._opt_prefixes = {"-", "--"} - self._args: t.List[Argument] = [] - - def add_option( - self, - obj: "CoreOption", - opts: t.Sequence[str], - dest: t.Optional[str], - action: t.Optional[str] = None, - nargs: int = 1, - const: t.Optional[t.Any] = None, - ) -> None: - """Adds a new option named `dest` to the parser. The destination - is not inferred (unlike with optparse) and needs to be explicitly - provided. Action can be any of ``store``, ``store_const``, - ``append``, ``append_const`` or ``count``. - - The `obj` can be used to identify the option in the order list - that is returned from the parser. - """ - opts = [normalize_opt(opt, self.ctx) for opt in opts] - option = Option(obj, opts, dest, action=action, nargs=nargs, const=const) - self._opt_prefixes.update(option.prefixes) - for opt in option._short_opts: - self._short_opt[opt] = option - for opt in option._long_opts: - self._long_opt[opt] = option - - def add_argument( - self, obj: "CoreArgument", dest: t.Optional[str], nargs: int = 1 - ) -> None: - """Adds a positional argument named `dest` to the parser. - - The `obj` can be used to identify the option in the order list - that is returned from the parser. - """ - self._args.append(Argument(obj, dest=dest, nargs=nargs)) - - def parse_args( - self, args: t.List[str] - ) -> t.Tuple[t.Dict[str, t.Any], t.List[str], t.List["CoreParameter"]]: - """Parses positional arguments and returns ``(values, args, order)`` - for the parsed options and arguments as well as the leftover - arguments if there are any. The order is a list of objects as they - appear on the command line. If arguments appear multiple times they - will be memorized multiple times as well. - """ - state = ParsingState(args) - try: - self._process_args_for_options(state) - self._process_args_for_args(state) - except UsageError: - if self.ctx is None or not self.ctx.resilient_parsing: - raise - return state.opts, state.largs, state.order - - def _process_args_for_args(self, state: ParsingState) -> None: - pargs, args = _unpack_args( - state.largs + state.rargs, [x.nargs for x in self._args] - ) - - for idx, arg in enumerate(self._args): - arg.process(pargs[idx], state) - - state.largs = args - state.rargs = [] - - def _process_args_for_options(self, state: ParsingState) -> None: - while state.rargs: - arg = state.rargs.pop(0) - arglen = len(arg) - # Double dashes always handled explicitly regardless of what - # prefixes are valid. - if arg == "--": - return - elif arg[:1] in self._opt_prefixes and arglen > 1: - self._process_opts(arg, state) - elif self.allow_interspersed_args: - state.largs.append(arg) - else: - state.rargs.insert(0, arg) - return - - # Say this is the original argument list: - # [arg0, arg1, ..., arg(i-1), arg(i), arg(i+1), ..., arg(N-1)] - # ^ - # (we are about to process arg(i)). - # - # Then rargs is [arg(i), ..., arg(N-1)] and largs is a *subset* of - # [arg0, ..., arg(i-1)] (any options and their arguments will have - # been removed from largs). - # - # The while loop will usually consume 1 or more arguments per pass. - # If it consumes 1 (eg. arg is an option that takes no arguments), - # then after _process_arg() is done the situation is: - # - # largs = subset of [arg0, ..., arg(i)] - # rargs = [arg(i+1), ..., arg(N-1)] - # - # If allow_interspersed_args is false, largs will always be - # *empty* -- still a subset of [arg0, ..., arg(i-1)], but - # not a very interesting subset! - - def _match_long_opt( - self, opt: str, explicit_value: t.Optional[str], state: ParsingState - ) -> None: - if opt not in self._long_opt: - from difflib import get_close_matches - - possibilities = get_close_matches(opt, self._long_opt) - raise NoSuchOption(opt, possibilities=possibilities, ctx=self.ctx) - - option = self._long_opt[opt] - if option.takes_value: - # At this point it's safe to modify rargs by injecting the - # explicit value, because no exception is raised in this - # branch. This means that the inserted value will be fully - # consumed. - if explicit_value is not None: - state.rargs.insert(0, explicit_value) - - value = self._get_value_from_state(opt, option, state) - - elif explicit_value is not None: - raise BadOptionUsage( - opt, _("Option {name!r} does not take a value.").format(name=opt) - ) - - else: - value = None - - option.process(value, state) - - def _match_short_opt(self, arg: str, state: ParsingState) -> None: - stop = False - i = 1 - prefix = arg[0] - unknown_options = [] - - for ch in arg[1:]: - opt = normalize_opt(f"{prefix}{ch}", self.ctx) - option = self._short_opt.get(opt) - i += 1 - - if not option: - if self.ignore_unknown_options: - unknown_options.append(ch) - continue - raise NoSuchOption(opt, ctx=self.ctx) - if option.takes_value: - # Any characters left in arg? Pretend they're the - # next arg, and stop consuming characters of arg. - if i < len(arg): - state.rargs.insert(0, arg[i:]) - stop = True - - value = self._get_value_from_state(opt, option, state) - - else: - value = None - - option.process(value, state) - - if stop: - break - - # If we got any unknown options we recombine the string of the - # remaining options and re-attach the prefix, then report that - # to the state as new larg. This way there is basic combinatorics - # that can be achieved while still ignoring unknown arguments. - if self.ignore_unknown_options and unknown_options: - state.largs.append(f"{prefix}{''.join(unknown_options)}") - - def _get_value_from_state( - self, option_name: str, option: Option, state: ParsingState - ) -> t.Any: - nargs = option.nargs - - if len(state.rargs) < nargs: - if option.obj._flag_needs_value: - # Option allows omitting the value. - value = _flag_needs_value - else: - raise BadOptionUsage( - option_name, - ngettext( - "Option {name!r} requires an argument.", - "Option {name!r} requires {nargs} arguments.", - nargs, - ).format(name=option_name, nargs=nargs), - ) - elif nargs == 1: - next_rarg = state.rargs[0] - - if ( - option.obj._flag_needs_value - and isinstance(next_rarg, str) - and next_rarg[:1] in self._opt_prefixes - and len(next_rarg) > 1 - ): - # The next arg looks like the start of an option, don't - # use it as the value if omitting the value is allowed. - value = _flag_needs_value - else: - value = state.rargs.pop(0) - else: - value = tuple(state.rargs[:nargs]) - del state.rargs[:nargs] - - return value - - def _process_opts(self, arg: str, state: ParsingState) -> None: - explicit_value = None - # Long option handling happens in two parts. The first part is - # supporting explicitly attached values. In any case, we will try - # to long match the option first. - if "=" in arg: - long_opt, explicit_value = arg.split("=", 1) - else: - long_opt = arg - norm_long_opt = normalize_opt(long_opt, self.ctx) - - # At this point we will match the (assumed) long option through - # the long option matching code. Note that this allows options - # like "-foo" to be matched as long options. - try: - self._match_long_opt(norm_long_opt, explicit_value, state) - except NoSuchOption: - # At this point the long option matching failed, and we need - # to try with short options. However there is a special rule - # which says, that if we have a two character options prefix - # (applies to "--foo" for instance), we do not dispatch to the - # short option code and will instead raise the no option - # error. - if arg[:2] not in self._opt_prefixes: - self._match_short_opt(arg, state) - return - - if not self.ignore_unknown_options: - raise - - state.largs.append(arg) diff --git a/.venv/lib/python3.12/site-packages/click/py.typed b/.venv/lib/python3.12/site-packages/click/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/click/shell_completion.py b/.venv/lib/python3.12/site-packages/click/shell_completion.py deleted file mode 100644 index dc9e00b9..00000000 --- a/.venv/lib/python3.12/site-packages/click/shell_completion.py +++ /dev/null @@ -1,596 +0,0 @@ -import os -import re -import typing as t -from gettext import gettext as _ - -from .core import Argument -from .core import BaseCommand -from .core import Context -from .core import MultiCommand -from .core import Option -from .core import Parameter -from .core import ParameterSource -from .parser import split_arg_string -from .utils import echo - - -def shell_complete( - cli: BaseCommand, - ctx_args: t.MutableMapping[str, t.Any], - prog_name: str, - complete_var: str, - instruction: str, -) -> int: - """Perform shell completion for the given CLI program. - - :param cli: Command being called. - :param ctx_args: Extra arguments to pass to - ``cli.make_context``. - :param prog_name: Name of the executable in the shell. - :param complete_var: Name of the environment variable that holds - the completion instruction. - :param instruction: Value of ``complete_var`` with the completion - instruction and shell, in the form ``instruction_shell``. - :return: Status code to exit with. - """ - shell, _, instruction = instruction.partition("_") - comp_cls = get_completion_class(shell) - - if comp_cls is None: - return 1 - - comp = comp_cls(cli, ctx_args, prog_name, complete_var) - - if instruction == "source": - echo(comp.source()) - return 0 - - if instruction == "complete": - echo(comp.complete()) - return 0 - - return 1 - - -class CompletionItem: - """Represents a completion value and metadata about the value. The - default metadata is ``type`` to indicate special shell handling, - and ``help`` if a shell supports showing a help string next to the - value. - - Arbitrary parameters can be passed when creating the object, and - accessed using ``item.attr``. If an attribute wasn't passed, - accessing it returns ``None``. - - :param value: The completion suggestion. - :param type: Tells the shell script to provide special completion - support for the type. Click uses ``"dir"`` and ``"file"``. - :param help: String shown next to the value if supported. - :param kwargs: Arbitrary metadata. The built-in implementations - don't use this, but custom type completions paired with custom - shell support could use it. - """ - - __slots__ = ("value", "type", "help", "_info") - - def __init__( - self, - value: t.Any, - type: str = "plain", - help: t.Optional[str] = None, - **kwargs: t.Any, - ) -> None: - self.value: t.Any = value - self.type: str = type - self.help: t.Optional[str] = help - self._info = kwargs - - def __getattr__(self, name: str) -> t.Any: - return self._info.get(name) - - -# Only Bash >= 4.4 has the nosort option. -_SOURCE_BASH = """\ -%(complete_func)s() { - local IFS=$'\\n' - local response - - response=$(env COMP_WORDS="${COMP_WORDS[*]}" COMP_CWORD=$COMP_CWORD \ -%(complete_var)s=bash_complete $1) - - for completion in $response; do - IFS=',' read type value <<< "$completion" - - if [[ $type == 'dir' ]]; then - COMPREPLY=() - compopt -o dirnames - elif [[ $type == 'file' ]]; then - COMPREPLY=() - compopt -o default - elif [[ $type == 'plain' ]]; then - COMPREPLY+=($value) - fi - done - - return 0 -} - -%(complete_func)s_setup() { - complete -o nosort -F %(complete_func)s %(prog_name)s -} - -%(complete_func)s_setup; -""" - -_SOURCE_ZSH = """\ -#compdef %(prog_name)s - -%(complete_func)s() { - local -a completions - local -a completions_with_descriptions - local -a response - (( ! $+commands[%(prog_name)s] )) && return 1 - - response=("${(@f)$(env COMP_WORDS="${words[*]}" COMP_CWORD=$((CURRENT-1)) \ -%(complete_var)s=zsh_complete %(prog_name)s)}") - - for type key descr in ${response}; do - if [[ "$type" == "plain" ]]; then - if [[ "$descr" == "_" ]]; then - completions+=("$key") - else - completions_with_descriptions+=("$key":"$descr") - fi - elif [[ "$type" == "dir" ]]; then - _path_files -/ - elif [[ "$type" == "file" ]]; then - _path_files -f - fi - done - - if [ -n "$completions_with_descriptions" ]; then - _describe -V unsorted completions_with_descriptions -U - fi - - if [ -n "$completions" ]; then - compadd -U -V unsorted -a completions - fi -} - -if [[ $zsh_eval_context[-1] == loadautofunc ]]; then - # autoload from fpath, call function directly - %(complete_func)s "$@" -else - # eval/source/. command, register function for later - compdef %(complete_func)s %(prog_name)s -fi -""" - -_SOURCE_FISH = """\ -function %(complete_func)s; - set -l response (env %(complete_var)s=fish_complete COMP_WORDS=(commandline -cp) \ -COMP_CWORD=(commandline -t) %(prog_name)s); - - for completion in $response; - set -l metadata (string split "," $completion); - - if test $metadata[1] = "dir"; - __fish_complete_directories $metadata[2]; - else if test $metadata[1] = "file"; - __fish_complete_path $metadata[2]; - else if test $metadata[1] = "plain"; - echo $metadata[2]; - end; - end; -end; - -complete --no-files --command %(prog_name)s --arguments \ -"(%(complete_func)s)"; -""" - - -class ShellComplete: - """Base class for providing shell completion support. A subclass for - a given shell will override attributes and methods to implement the - completion instructions (``source`` and ``complete``). - - :param cli: Command being called. - :param prog_name: Name of the executable in the shell. - :param complete_var: Name of the environment variable that holds - the completion instruction. - - .. versionadded:: 8.0 - """ - - name: t.ClassVar[str] - """Name to register the shell as with :func:`add_completion_class`. - This is used in completion instructions (``{name}_source`` and - ``{name}_complete``). - """ - - source_template: t.ClassVar[str] - """Completion script template formatted by :meth:`source`. This must - be provided by subclasses. - """ - - def __init__( - self, - cli: BaseCommand, - ctx_args: t.MutableMapping[str, t.Any], - prog_name: str, - complete_var: str, - ) -> None: - self.cli = cli - self.ctx_args = ctx_args - self.prog_name = prog_name - self.complete_var = complete_var - - @property - def func_name(self) -> str: - """The name of the shell function defined by the completion - script. - """ - safe_name = re.sub(r"\W*", "", self.prog_name.replace("-", "_"), flags=re.ASCII) - return f"_{safe_name}_completion" - - def source_vars(self) -> t.Dict[str, t.Any]: - """Vars for formatting :attr:`source_template`. - - By default this provides ``complete_func``, ``complete_var``, - and ``prog_name``. - """ - return { - "complete_func": self.func_name, - "complete_var": self.complete_var, - "prog_name": self.prog_name, - } - - def source(self) -> str: - """Produce the shell script that defines the completion - function. By default this ``%``-style formats - :attr:`source_template` with the dict returned by - :meth:`source_vars`. - """ - return self.source_template % self.source_vars() - - def get_completion_args(self) -> t.Tuple[t.List[str], str]: - """Use the env vars defined by the shell script to return a - tuple of ``args, incomplete``. This must be implemented by - subclasses. - """ - raise NotImplementedError - - def get_completions( - self, args: t.List[str], incomplete: str - ) -> t.List[CompletionItem]: - """Determine the context and last complete command or parameter - from the complete args. Call that object's ``shell_complete`` - method to get the completions for the incomplete value. - - :param args: List of complete args before the incomplete value. - :param incomplete: Value being completed. May be empty. - """ - ctx = _resolve_context(self.cli, self.ctx_args, self.prog_name, args) - obj, incomplete = _resolve_incomplete(ctx, args, incomplete) - return obj.shell_complete(ctx, incomplete) - - def format_completion(self, item: CompletionItem) -> str: - """Format a completion item into the form recognized by the - shell script. This must be implemented by subclasses. - - :param item: Completion item to format. - """ - raise NotImplementedError - - def complete(self) -> str: - """Produce the completion data to send back to the shell. - - By default this calls :meth:`get_completion_args`, gets the - completions, then calls :meth:`format_completion` for each - completion. - """ - args, incomplete = self.get_completion_args() - completions = self.get_completions(args, incomplete) - out = [self.format_completion(item) for item in completions] - return "\n".join(out) - - -class BashComplete(ShellComplete): - """Shell completion for Bash.""" - - name = "bash" - source_template = _SOURCE_BASH - - @staticmethod - def _check_version() -> None: - import subprocess - - output = subprocess.run( - ["bash", "-c", 'echo "${BASH_VERSION}"'], stdout=subprocess.PIPE - ) - match = re.search(r"^(\d+)\.(\d+)\.\d+", output.stdout.decode()) - - if match is not None: - major, minor = match.groups() - - if major < "4" or major == "4" and minor < "4": - echo( - _( - "Shell completion is not supported for Bash" - " versions older than 4.4." - ), - err=True, - ) - else: - echo( - _("Couldn't detect Bash version, shell completion is not supported."), - err=True, - ) - - def source(self) -> str: - self._check_version() - return super().source() - - def get_completion_args(self) -> t.Tuple[t.List[str], str]: - cwords = split_arg_string(os.environ["COMP_WORDS"]) - cword = int(os.environ["COMP_CWORD"]) - args = cwords[1:cword] - - try: - incomplete = cwords[cword] - except IndexError: - incomplete = "" - - return args, incomplete - - def format_completion(self, item: CompletionItem) -> str: - return f"{item.type},{item.value}" - - -class ZshComplete(ShellComplete): - """Shell completion for Zsh.""" - - name = "zsh" - source_template = _SOURCE_ZSH - - def get_completion_args(self) -> t.Tuple[t.List[str], str]: - cwords = split_arg_string(os.environ["COMP_WORDS"]) - cword = int(os.environ["COMP_CWORD"]) - args = cwords[1:cword] - - try: - incomplete = cwords[cword] - except IndexError: - incomplete = "" - - return args, incomplete - - def format_completion(self, item: CompletionItem) -> str: - return f"{item.type}\n{item.value}\n{item.help if item.help else '_'}" - - -class FishComplete(ShellComplete): - """Shell completion for Fish.""" - - name = "fish" - source_template = _SOURCE_FISH - - def get_completion_args(self) -> t.Tuple[t.List[str], str]: - cwords = split_arg_string(os.environ["COMP_WORDS"]) - incomplete = os.environ["COMP_CWORD"] - args = cwords[1:] - - # Fish stores the partial word in both COMP_WORDS and - # COMP_CWORD, remove it from complete args. - if incomplete and args and args[-1] == incomplete: - args.pop() - - return args, incomplete - - def format_completion(self, item: CompletionItem) -> str: - if item.help: - return f"{item.type},{item.value}\t{item.help}" - - return f"{item.type},{item.value}" - - -ShellCompleteType = t.TypeVar("ShellCompleteType", bound=t.Type[ShellComplete]) - - -_available_shells: t.Dict[str, t.Type[ShellComplete]] = { - "bash": BashComplete, - "fish": FishComplete, - "zsh": ZshComplete, -} - - -def add_completion_class( - cls: ShellCompleteType, name: t.Optional[str] = None -) -> ShellCompleteType: - """Register a :class:`ShellComplete` subclass under the given name. - The name will be provided by the completion instruction environment - variable during completion. - - :param cls: The completion class that will handle completion for the - shell. - :param name: Name to register the class under. Defaults to the - class's ``name`` attribute. - """ - if name is None: - name = cls.name - - _available_shells[name] = cls - - return cls - - -def get_completion_class(shell: str) -> t.Optional[t.Type[ShellComplete]]: - """Look up a registered :class:`ShellComplete` subclass by the name - provided by the completion instruction environment variable. If the - name isn't registered, returns ``None``. - - :param shell: Name the class is registered under. - """ - return _available_shells.get(shell) - - -def _is_incomplete_argument(ctx: Context, param: Parameter) -> bool: - """Determine if the given parameter is an argument that can still - accept values. - - :param ctx: Invocation context for the command represented by the - parsed complete args. - :param param: Argument object being checked. - """ - if not isinstance(param, Argument): - return False - - assert param.name is not None - # Will be None if expose_value is False. - value = ctx.params.get(param.name) - return ( - param.nargs == -1 - or ctx.get_parameter_source(param.name) is not ParameterSource.COMMANDLINE - or ( - param.nargs > 1 - and isinstance(value, (tuple, list)) - and len(value) < param.nargs - ) - ) - - -def _start_of_option(ctx: Context, value: str) -> bool: - """Check if the value looks like the start of an option.""" - if not value: - return False - - c = value[0] - return c in ctx._opt_prefixes - - -def _is_incomplete_option(ctx: Context, args: t.List[str], param: Parameter) -> bool: - """Determine if the given parameter is an option that needs a value. - - :param args: List of complete args before the incomplete value. - :param param: Option object being checked. - """ - if not isinstance(param, Option): - return False - - if param.is_flag or param.count: - return False - - last_option = None - - for index, arg in enumerate(reversed(args)): - if index + 1 > param.nargs: - break - - if _start_of_option(ctx, arg): - last_option = arg - - return last_option is not None and last_option in param.opts - - -def _resolve_context( - cli: BaseCommand, - ctx_args: t.MutableMapping[str, t.Any], - prog_name: str, - args: t.List[str], -) -> Context: - """Produce the context hierarchy starting with the command and - traversing the complete arguments. This only follows the commands, - it doesn't trigger input prompts or callbacks. - - :param cli: Command being called. - :param prog_name: Name of the executable in the shell. - :param args: List of complete args before the incomplete value. - """ - ctx_args["resilient_parsing"] = True - ctx = cli.make_context(prog_name, args.copy(), **ctx_args) - args = ctx.protected_args + ctx.args - - while args: - command = ctx.command - - if isinstance(command, MultiCommand): - if not command.chain: - name, cmd, args = command.resolve_command(ctx, args) - - if cmd is None: - return ctx - - ctx = cmd.make_context(name, args, parent=ctx, resilient_parsing=True) - args = ctx.protected_args + ctx.args - else: - sub_ctx = ctx - - while args: - name, cmd, args = command.resolve_command(ctx, args) - - if cmd is None: - return ctx - - sub_ctx = cmd.make_context( - name, - args, - parent=ctx, - allow_extra_args=True, - allow_interspersed_args=False, - resilient_parsing=True, - ) - args = sub_ctx.args - - ctx = sub_ctx - args = [*sub_ctx.protected_args, *sub_ctx.args] - else: - break - - return ctx - - -def _resolve_incomplete( - ctx: Context, args: t.List[str], incomplete: str -) -> t.Tuple[t.Union[BaseCommand, Parameter], str]: - """Find the Click object that will handle the completion of the - incomplete value. Return the object and the incomplete value. - - :param ctx: Invocation context for the command represented by - the parsed complete args. - :param args: List of complete args before the incomplete value. - :param incomplete: Value being completed. May be empty. - """ - # Different shells treat an "=" between a long option name and - # value differently. Might keep the value joined, return the "=" - # as a separate item, or return the split name and value. Always - # split and discard the "=" to make completion easier. - if incomplete == "=": - incomplete = "" - elif "=" in incomplete and _start_of_option(ctx, incomplete): - name, _, incomplete = incomplete.partition("=") - args.append(name) - - # The "--" marker tells Click to stop treating values as options - # even if they start with the option character. If it hasn't been - # given and the incomplete arg looks like an option, the current - # command will provide option name completions. - if "--" not in args and _start_of_option(ctx, incomplete): - return ctx.command, incomplete - - params = ctx.command.get_params(ctx) - - # If the last complete arg is an option name with an incomplete - # value, the option will provide value completions. - for param in params: - if _is_incomplete_option(ctx, args, param): - return param, incomplete - - # It's not an option name or value. The first argument without a - # parsed value will provide value completions. - for param in params: - if _is_incomplete_argument(ctx, param): - return param, incomplete - - # There were no unparsed arguments, the command may be a group that - # will provide command name completions. - return ctx.command, incomplete diff --git a/.venv/lib/python3.12/site-packages/click/termui.py b/.venv/lib/python3.12/site-packages/click/termui.py deleted file mode 100644 index db7a4b28..00000000 --- a/.venv/lib/python3.12/site-packages/click/termui.py +++ /dev/null @@ -1,784 +0,0 @@ -import inspect -import io -import itertools -import sys -import typing as t -from gettext import gettext as _ - -from ._compat import isatty -from ._compat import strip_ansi -from .exceptions import Abort -from .exceptions import UsageError -from .globals import resolve_color_default -from .types import Choice -from .types import convert_type -from .types import ParamType -from .utils import echo -from .utils import LazyFile - -if t.TYPE_CHECKING: - from ._termui_impl import ProgressBar - -V = t.TypeVar("V") - -# The prompt functions to use. The doc tools currently override these -# functions to customize how they work. -visible_prompt_func: t.Callable[[str], str] = input - -_ansi_colors = { - "black": 30, - "red": 31, - "green": 32, - "yellow": 33, - "blue": 34, - "magenta": 35, - "cyan": 36, - "white": 37, - "reset": 39, - "bright_black": 90, - "bright_red": 91, - "bright_green": 92, - "bright_yellow": 93, - "bright_blue": 94, - "bright_magenta": 95, - "bright_cyan": 96, - "bright_white": 97, -} -_ansi_reset_all = "\033[0m" - - -def hidden_prompt_func(prompt: str) -> str: - import getpass - - return getpass.getpass(prompt) - - -def _build_prompt( - text: str, - suffix: str, - show_default: bool = False, - default: t.Optional[t.Any] = None, - show_choices: bool = True, - type: t.Optional[ParamType] = None, -) -> str: - prompt = text - if type is not None and show_choices and isinstance(type, Choice): - prompt += f" ({', '.join(map(str, type.choices))})" - if default is not None and show_default: - prompt = f"{prompt} [{_format_default(default)}]" - return f"{prompt}{suffix}" - - -def _format_default(default: t.Any) -> t.Any: - if isinstance(default, (io.IOBase, LazyFile)) and hasattr(default, "name"): - return default.name - - return default - - -def prompt( - text: str, - default: t.Optional[t.Any] = None, - hide_input: bool = False, - confirmation_prompt: t.Union[bool, str] = False, - type: t.Optional[t.Union[ParamType, t.Any]] = None, - value_proc: t.Optional[t.Callable[[str], t.Any]] = None, - prompt_suffix: str = ": ", - show_default: bool = True, - err: bool = False, - show_choices: bool = True, -) -> t.Any: - """Prompts a user for input. This is a convenience function that can - be used to prompt a user for input later. - - If the user aborts the input by sending an interrupt signal, this - function will catch it and raise a :exc:`Abort` exception. - - :param text: the text to show for the prompt. - :param default: the default value to use if no input happens. If this - is not given it will prompt until it's aborted. - :param hide_input: if this is set to true then the input value will - be hidden. - :param confirmation_prompt: Prompt a second time to confirm the - value. Can be set to a string instead of ``True`` to customize - the message. - :param type: the type to use to check the value against. - :param value_proc: if this parameter is provided it's a function that - is invoked instead of the type conversion to - convert a value. - :param prompt_suffix: a suffix that should be added to the prompt. - :param show_default: shows or hides the default value in the prompt. - :param err: if set to true the file defaults to ``stderr`` instead of - ``stdout``, the same as with echo. - :param show_choices: Show or hide choices if the passed type is a Choice. - For example if type is a Choice of either day or week, - show_choices is true and text is "Group by" then the - prompt will be "Group by (day, week): ". - - .. versionadded:: 8.0 - ``confirmation_prompt`` can be a custom string. - - .. versionadded:: 7.0 - Added the ``show_choices`` parameter. - - .. versionadded:: 6.0 - Added unicode support for cmd.exe on Windows. - - .. versionadded:: 4.0 - Added the `err` parameter. - - """ - - def prompt_func(text: str) -> str: - f = hidden_prompt_func if hide_input else visible_prompt_func - try: - # Write the prompt separately so that we get nice - # coloring through colorama on Windows - echo(text.rstrip(" "), nl=False, err=err) - # Echo a space to stdout to work around an issue where - # readline causes backspace to clear the whole line. - return f(" ") - except (KeyboardInterrupt, EOFError): - # getpass doesn't print a newline if the user aborts input with ^C. - # Allegedly this behavior is inherited from getpass(3). - # A doc bug has been filed at https://bugs.python.org/issue24711 - if hide_input: - echo(None, err=err) - raise Abort() from None - - if value_proc is None: - value_proc = convert_type(type, default) - - prompt = _build_prompt( - text, prompt_suffix, show_default, default, show_choices, type - ) - - if confirmation_prompt: - if confirmation_prompt is True: - confirmation_prompt = _("Repeat for confirmation") - - confirmation_prompt = _build_prompt(confirmation_prompt, prompt_suffix) - - while True: - while True: - value = prompt_func(prompt) - if value: - break - elif default is not None: - value = default - break - try: - result = value_proc(value) - except UsageError as e: - if hide_input: - echo(_("Error: The value you entered was invalid."), err=err) - else: - echo(_("Error: {e.message}").format(e=e), err=err) # noqa: B306 - continue - if not confirmation_prompt: - return result - while True: - value2 = prompt_func(confirmation_prompt) - is_empty = not value and not value2 - if value2 or is_empty: - break - if value == value2: - return result - echo(_("Error: The two entered values do not match."), err=err) - - -def confirm( - text: str, - default: t.Optional[bool] = False, - abort: bool = False, - prompt_suffix: str = ": ", - show_default: bool = True, - err: bool = False, -) -> bool: - """Prompts for confirmation (yes/no question). - - If the user aborts the input by sending a interrupt signal this - function will catch it and raise a :exc:`Abort` exception. - - :param text: the question to ask. - :param default: The default value to use when no input is given. If - ``None``, repeat until input is given. - :param abort: if this is set to `True` a negative answer aborts the - exception by raising :exc:`Abort`. - :param prompt_suffix: a suffix that should be added to the prompt. - :param show_default: shows or hides the default value in the prompt. - :param err: if set to true the file defaults to ``stderr`` instead of - ``stdout``, the same as with echo. - - .. versionchanged:: 8.0 - Repeat until input is given if ``default`` is ``None``. - - .. versionadded:: 4.0 - Added the ``err`` parameter. - """ - prompt = _build_prompt( - text, - prompt_suffix, - show_default, - "y/n" if default is None else ("Y/n" if default else "y/N"), - ) - - while True: - try: - # Write the prompt separately so that we get nice - # coloring through colorama on Windows - echo(prompt.rstrip(" "), nl=False, err=err) - # Echo a space to stdout to work around an issue where - # readline causes backspace to clear the whole line. - value = visible_prompt_func(" ").lower().strip() - except (KeyboardInterrupt, EOFError): - raise Abort() from None - if value in ("y", "yes"): - rv = True - elif value in ("n", "no"): - rv = False - elif default is not None and value == "": - rv = default - else: - echo(_("Error: invalid input"), err=err) - continue - break - if abort and not rv: - raise Abort() - return rv - - -def echo_via_pager( - text_or_generator: t.Union[t.Iterable[str], t.Callable[[], t.Iterable[str]], str], - color: t.Optional[bool] = None, -) -> None: - """This function takes a text and shows it via an environment specific - pager on stdout. - - .. versionchanged:: 3.0 - Added the `color` flag. - - :param text_or_generator: the text to page, or alternatively, a - generator emitting the text to page. - :param color: controls if the pager supports ANSI colors or not. The - default is autodetection. - """ - color = resolve_color_default(color) - - if inspect.isgeneratorfunction(text_or_generator): - i = t.cast(t.Callable[[], t.Iterable[str]], text_or_generator)() - elif isinstance(text_or_generator, str): - i = [text_or_generator] - else: - i = iter(t.cast(t.Iterable[str], text_or_generator)) - - # convert every element of i to a text type if necessary - text_generator = (el if isinstance(el, str) else str(el) for el in i) - - from ._termui_impl import pager - - return pager(itertools.chain(text_generator, "\n"), color) - - -def progressbar( - iterable: t.Optional[t.Iterable[V]] = None, - length: t.Optional[int] = None, - label: t.Optional[str] = None, - show_eta: bool = True, - show_percent: t.Optional[bool] = None, - show_pos: bool = False, - item_show_func: t.Optional[t.Callable[[t.Optional[V]], t.Optional[str]]] = None, - fill_char: str = "#", - empty_char: str = "-", - bar_template: str = "%(label)s [%(bar)s] %(info)s", - info_sep: str = " ", - width: int = 36, - file: t.Optional[t.TextIO] = None, - color: t.Optional[bool] = None, - update_min_steps: int = 1, -) -> "ProgressBar[V]": - """This function creates an iterable context manager that can be used - to iterate over something while showing a progress bar. It will - either iterate over the `iterable` or `length` items (that are counted - up). While iteration happens, this function will print a rendered - progress bar to the given `file` (defaults to stdout) and will attempt - to calculate remaining time and more. By default, this progress bar - will not be rendered if the file is not a terminal. - - The context manager creates the progress bar. When the context - manager is entered the progress bar is already created. With every - iteration over the progress bar, the iterable passed to the bar is - advanced and the bar is updated. When the context manager exits, - a newline is printed and the progress bar is finalized on screen. - - Note: The progress bar is currently designed for use cases where the - total progress can be expected to take at least several seconds. - Because of this, the ProgressBar class object won't display - progress that is considered too fast, and progress where the time - between steps is less than a second. - - No printing must happen or the progress bar will be unintentionally - destroyed. - - Example usage:: - - with progressbar(items) as bar: - for item in bar: - do_something_with(item) - - Alternatively, if no iterable is specified, one can manually update the - progress bar through the `update()` method instead of directly - iterating over the progress bar. The update method accepts the number - of steps to increment the bar with:: - - with progressbar(length=chunks.total_bytes) as bar: - for chunk in chunks: - process_chunk(chunk) - bar.update(chunks.bytes) - - The ``update()`` method also takes an optional value specifying the - ``current_item`` at the new position. This is useful when used - together with ``item_show_func`` to customize the output for each - manual step:: - - with click.progressbar( - length=total_size, - label='Unzipping archive', - item_show_func=lambda a: a.filename - ) as bar: - for archive in zip_file: - archive.extract() - bar.update(archive.size, archive) - - :param iterable: an iterable to iterate over. If not provided the length - is required. - :param length: the number of items to iterate over. By default the - progressbar will attempt to ask the iterator about its - length, which might or might not work. If an iterable is - also provided this parameter can be used to override the - length. If an iterable is not provided the progress bar - will iterate over a range of that length. - :param label: the label to show next to the progress bar. - :param show_eta: enables or disables the estimated time display. This is - automatically disabled if the length cannot be - determined. - :param show_percent: enables or disables the percentage display. The - default is `True` if the iterable has a length or - `False` if not. - :param show_pos: enables or disables the absolute position display. The - default is `False`. - :param item_show_func: A function called with the current item which - can return a string to show next to the progress bar. If the - function returns ``None`` nothing is shown. The current item can - be ``None``, such as when entering and exiting the bar. - :param fill_char: the character to use to show the filled part of the - progress bar. - :param empty_char: the character to use to show the non-filled part of - the progress bar. - :param bar_template: the format string to use as template for the bar. - The parameters in it are ``label`` for the label, - ``bar`` for the progress bar and ``info`` for the - info section. - :param info_sep: the separator between multiple info items (eta etc.) - :param width: the width of the progress bar in characters, 0 means full - terminal width - :param file: The file to write to. If this is not a terminal then - only the label is printed. - :param color: controls if the terminal supports ANSI colors or not. The - default is autodetection. This is only needed if ANSI - codes are included anywhere in the progress bar output - which is not the case by default. - :param update_min_steps: Render only when this many updates have - completed. This allows tuning for very fast iterators. - - .. versionchanged:: 8.0 - Output is shown even if execution time is less than 0.5 seconds. - - .. versionchanged:: 8.0 - ``item_show_func`` shows the current item, not the previous one. - - .. versionchanged:: 8.0 - Labels are echoed if the output is not a TTY. Reverts a change - in 7.0 that removed all output. - - .. versionadded:: 8.0 - Added the ``update_min_steps`` parameter. - - .. versionchanged:: 4.0 - Added the ``color`` parameter. Added the ``update`` method to - the object. - - .. versionadded:: 2.0 - """ - from ._termui_impl import ProgressBar - - color = resolve_color_default(color) - return ProgressBar( - iterable=iterable, - length=length, - show_eta=show_eta, - show_percent=show_percent, - show_pos=show_pos, - item_show_func=item_show_func, - fill_char=fill_char, - empty_char=empty_char, - bar_template=bar_template, - info_sep=info_sep, - file=file, - label=label, - width=width, - color=color, - update_min_steps=update_min_steps, - ) - - -def clear() -> None: - """Clears the terminal screen. This will have the effect of clearing - the whole visible space of the terminal and moving the cursor to the - top left. This does not do anything if not connected to a terminal. - - .. versionadded:: 2.0 - """ - if not isatty(sys.stdout): - return - - # ANSI escape \033[2J clears the screen, \033[1;1H moves the cursor - echo("\033[2J\033[1;1H", nl=False) - - -def _interpret_color( - color: t.Union[int, t.Tuple[int, int, int], str], offset: int = 0 -) -> str: - if isinstance(color, int): - return f"{38 + offset};5;{color:d}" - - if isinstance(color, (tuple, list)): - r, g, b = color - return f"{38 + offset};2;{r:d};{g:d};{b:d}" - - return str(_ansi_colors[color] + offset) - - -def style( - text: t.Any, - fg: t.Optional[t.Union[int, t.Tuple[int, int, int], str]] = None, - bg: t.Optional[t.Union[int, t.Tuple[int, int, int], str]] = None, - bold: t.Optional[bool] = None, - dim: t.Optional[bool] = None, - underline: t.Optional[bool] = None, - overline: t.Optional[bool] = None, - italic: t.Optional[bool] = None, - blink: t.Optional[bool] = None, - reverse: t.Optional[bool] = None, - strikethrough: t.Optional[bool] = None, - reset: bool = True, -) -> str: - """Styles a text with ANSI styles and returns the new string. By - default the styling is self contained which means that at the end - of the string a reset code is issued. This can be prevented by - passing ``reset=False``. - - Examples:: - - click.echo(click.style('Hello World!', fg='green')) - click.echo(click.style('ATTENTION!', blink=True)) - click.echo(click.style('Some things', reverse=True, fg='cyan')) - click.echo(click.style('More colors', fg=(255, 12, 128), bg=117)) - - Supported color names: - - * ``black`` (might be a gray) - * ``red`` - * ``green`` - * ``yellow`` (might be an orange) - * ``blue`` - * ``magenta`` - * ``cyan`` - * ``white`` (might be light gray) - * ``bright_black`` - * ``bright_red`` - * ``bright_green`` - * ``bright_yellow`` - * ``bright_blue`` - * ``bright_magenta`` - * ``bright_cyan`` - * ``bright_white`` - * ``reset`` (reset the color code only) - - If the terminal supports it, color may also be specified as: - - - An integer in the interval [0, 255]. The terminal must support - 8-bit/256-color mode. - - An RGB tuple of three integers in [0, 255]. The terminal must - support 24-bit/true-color mode. - - See https://en.wikipedia.org/wiki/ANSI_color and - https://gist.github.com/XVilka/8346728 for more information. - - :param text: the string to style with ansi codes. - :param fg: if provided this will become the foreground color. - :param bg: if provided this will become the background color. - :param bold: if provided this will enable or disable bold mode. - :param dim: if provided this will enable or disable dim mode. This is - badly supported. - :param underline: if provided this will enable or disable underline. - :param overline: if provided this will enable or disable overline. - :param italic: if provided this will enable or disable italic. - :param blink: if provided this will enable or disable blinking. - :param reverse: if provided this will enable or disable inverse - rendering (foreground becomes background and the - other way round). - :param strikethrough: if provided this will enable or disable - striking through text. - :param reset: by default a reset-all code is added at the end of the - string which means that styles do not carry over. This - can be disabled to compose styles. - - .. versionchanged:: 8.0 - A non-string ``message`` is converted to a string. - - .. versionchanged:: 8.0 - Added support for 256 and RGB color codes. - - .. versionchanged:: 8.0 - Added the ``strikethrough``, ``italic``, and ``overline`` - parameters. - - .. versionchanged:: 7.0 - Added support for bright colors. - - .. versionadded:: 2.0 - """ - if not isinstance(text, str): - text = str(text) - - bits = [] - - if fg: - try: - bits.append(f"\033[{_interpret_color(fg)}m") - except KeyError: - raise TypeError(f"Unknown color {fg!r}") from None - - if bg: - try: - bits.append(f"\033[{_interpret_color(bg, 10)}m") - except KeyError: - raise TypeError(f"Unknown color {bg!r}") from None - - if bold is not None: - bits.append(f"\033[{1 if bold else 22}m") - if dim is not None: - bits.append(f"\033[{2 if dim else 22}m") - if underline is not None: - bits.append(f"\033[{4 if underline else 24}m") - if overline is not None: - bits.append(f"\033[{53 if overline else 55}m") - if italic is not None: - bits.append(f"\033[{3 if italic else 23}m") - if blink is not None: - bits.append(f"\033[{5 if blink else 25}m") - if reverse is not None: - bits.append(f"\033[{7 if reverse else 27}m") - if strikethrough is not None: - bits.append(f"\033[{9 if strikethrough else 29}m") - bits.append(text) - if reset: - bits.append(_ansi_reset_all) - return "".join(bits) - - -def unstyle(text: str) -> str: - """Removes ANSI styling information from a string. Usually it's not - necessary to use this function as Click's echo function will - automatically remove styling if necessary. - - .. versionadded:: 2.0 - - :param text: the text to remove style information from. - """ - return strip_ansi(text) - - -def secho( - message: t.Optional[t.Any] = None, - file: t.Optional[t.IO[t.AnyStr]] = None, - nl: bool = True, - err: bool = False, - color: t.Optional[bool] = None, - **styles: t.Any, -) -> None: - """This function combines :func:`echo` and :func:`style` into one - call. As such the following two calls are the same:: - - click.secho('Hello World!', fg='green') - click.echo(click.style('Hello World!', fg='green')) - - All keyword arguments are forwarded to the underlying functions - depending on which one they go with. - - Non-string types will be converted to :class:`str`. However, - :class:`bytes` are passed directly to :meth:`echo` without applying - style. If you want to style bytes that represent text, call - :meth:`bytes.decode` first. - - .. versionchanged:: 8.0 - A non-string ``message`` is converted to a string. Bytes are - passed through without style applied. - - .. versionadded:: 2.0 - """ - if message is not None and not isinstance(message, (bytes, bytearray)): - message = style(message, **styles) - - return echo(message, file=file, nl=nl, err=err, color=color) - - -def edit( - text: t.Optional[t.AnyStr] = None, - editor: t.Optional[str] = None, - env: t.Optional[t.Mapping[str, str]] = None, - require_save: bool = True, - extension: str = ".txt", - filename: t.Optional[str] = None, -) -> t.Optional[t.AnyStr]: - r"""Edits the given text in the defined editor. If an editor is given - (should be the full path to the executable but the regular operating - system search path is used for finding the executable) it overrides - the detected editor. Optionally, some environment variables can be - used. If the editor is closed without changes, `None` is returned. In - case a file is edited directly the return value is always `None` and - `require_save` and `extension` are ignored. - - If the editor cannot be opened a :exc:`UsageError` is raised. - - Note for Windows: to simplify cross-platform usage, the newlines are - automatically converted from POSIX to Windows and vice versa. As such, - the message here will have ``\n`` as newline markers. - - :param text: the text to edit. - :param editor: optionally the editor to use. Defaults to automatic - detection. - :param env: environment variables to forward to the editor. - :param require_save: if this is true, then not saving in the editor - will make the return value become `None`. - :param extension: the extension to tell the editor about. This defaults - to `.txt` but changing this might change syntax - highlighting. - :param filename: if provided it will edit this file instead of the - provided text contents. It will not use a temporary - file as an indirection in that case. - """ - from ._termui_impl import Editor - - ed = Editor(editor=editor, env=env, require_save=require_save, extension=extension) - - if filename is None: - return ed.edit(text) - - ed.edit_file(filename) - return None - - -def launch(url: str, wait: bool = False, locate: bool = False) -> int: - """This function launches the given URL (or filename) in the default - viewer application for this file type. If this is an executable, it - might launch the executable in a new session. The return value is - the exit code of the launched application. Usually, ``0`` indicates - success. - - Examples:: - - click.launch('https://click.palletsprojects.com/') - click.launch('/my/downloaded/file', locate=True) - - .. versionadded:: 2.0 - - :param url: URL or filename of the thing to launch. - :param wait: Wait for the program to exit before returning. This - only works if the launched program blocks. In particular, - ``xdg-open`` on Linux does not block. - :param locate: if this is set to `True` then instead of launching the - application associated with the URL it will attempt to - launch a file manager with the file located. This - might have weird effects if the URL does not point to - the filesystem. - """ - from ._termui_impl import open_url - - return open_url(url, wait=wait, locate=locate) - - -# If this is provided, getchar() calls into this instead. This is used -# for unittesting purposes. -_getchar: t.Optional[t.Callable[[bool], str]] = None - - -def getchar(echo: bool = False) -> str: - """Fetches a single character from the terminal and returns it. This - will always return a unicode character and under certain rare - circumstances this might return more than one character. The - situations which more than one character is returned is when for - whatever reason multiple characters end up in the terminal buffer or - standard input was not actually a terminal. - - Note that this will always read from the terminal, even if something - is piped into the standard input. - - Note for Windows: in rare cases when typing non-ASCII characters, this - function might wait for a second character and then return both at once. - This is because certain Unicode characters look like special-key markers. - - .. versionadded:: 2.0 - - :param echo: if set to `True`, the character read will also show up on - the terminal. The default is to not show it. - """ - global _getchar - - if _getchar is None: - from ._termui_impl import getchar as f - - _getchar = f - - return _getchar(echo) - - -def raw_terminal() -> t.ContextManager[int]: - from ._termui_impl import raw_terminal as f - - return f() - - -def pause(info: t.Optional[str] = None, err: bool = False) -> None: - """This command stops execution and waits for the user to press any - key to continue. This is similar to the Windows batch "pause" - command. If the program is not run through a terminal, this command - will instead do nothing. - - .. versionadded:: 2.0 - - .. versionadded:: 4.0 - Added the `err` parameter. - - :param info: The message to print before pausing. Defaults to - ``"Press any key to continue..."``. - :param err: if set to message goes to ``stderr`` instead of - ``stdout``, the same as with echo. - """ - if not isatty(sys.stdin) or not isatty(sys.stdout): - return - - if info is None: - info = _("Press any key to continue...") - - try: - if info: - echo(info, nl=False, err=err) - try: - getchar() - except (KeyboardInterrupt, EOFError): - pass - finally: - if info: - echo(err=err) diff --git a/.venv/lib/python3.12/site-packages/click/testing.py b/.venv/lib/python3.12/site-packages/click/testing.py deleted file mode 100644 index e0df0d2a..00000000 --- a/.venv/lib/python3.12/site-packages/click/testing.py +++ /dev/null @@ -1,479 +0,0 @@ -import contextlib -import io -import os -import shlex -import shutil -import sys -import tempfile -import typing as t -from types import TracebackType - -from . import formatting -from . import termui -from . import utils -from ._compat import _find_binary_reader - -if t.TYPE_CHECKING: - from .core import BaseCommand - - -class EchoingStdin: - def __init__(self, input: t.BinaryIO, output: t.BinaryIO) -> None: - self._input = input - self._output = output - self._paused = False - - def __getattr__(self, x: str) -> t.Any: - return getattr(self._input, x) - - def _echo(self, rv: bytes) -> bytes: - if not self._paused: - self._output.write(rv) - - return rv - - def read(self, n: int = -1) -> bytes: - return self._echo(self._input.read(n)) - - def read1(self, n: int = -1) -> bytes: - return self._echo(self._input.read1(n)) # type: ignore - - def readline(self, n: int = -1) -> bytes: - return self._echo(self._input.readline(n)) - - def readlines(self) -> t.List[bytes]: - return [self._echo(x) for x in self._input.readlines()] - - def __iter__(self) -> t.Iterator[bytes]: - return iter(self._echo(x) for x in self._input) - - def __repr__(self) -> str: - return repr(self._input) - - -@contextlib.contextmanager -def _pause_echo(stream: t.Optional[EchoingStdin]) -> t.Iterator[None]: - if stream is None: - yield - else: - stream._paused = True - yield - stream._paused = False - - -class _NamedTextIOWrapper(io.TextIOWrapper): - def __init__( - self, buffer: t.BinaryIO, name: str, mode: str, **kwargs: t.Any - ) -> None: - super().__init__(buffer, **kwargs) - self._name = name - self._mode = mode - - @property - def name(self) -> str: - return self._name - - @property - def mode(self) -> str: - return self._mode - - -def make_input_stream( - input: t.Optional[t.Union[str, bytes, t.IO[t.Any]]], charset: str -) -> t.BinaryIO: - # Is already an input stream. - if hasattr(input, "read"): - rv = _find_binary_reader(t.cast(t.IO[t.Any], input)) - - if rv is not None: - return rv - - raise TypeError("Could not find binary reader for input stream.") - - if input is None: - input = b"" - elif isinstance(input, str): - input = input.encode(charset) - - return io.BytesIO(input) - - -class Result: - """Holds the captured result of an invoked CLI script.""" - - def __init__( - self, - runner: "CliRunner", - stdout_bytes: bytes, - stderr_bytes: t.Optional[bytes], - return_value: t.Any, - exit_code: int, - exception: t.Optional[BaseException], - exc_info: t.Optional[ - t.Tuple[t.Type[BaseException], BaseException, TracebackType] - ] = None, - ): - #: The runner that created the result - self.runner = runner - #: The standard output as bytes. - self.stdout_bytes = stdout_bytes - #: The standard error as bytes, or None if not available - self.stderr_bytes = stderr_bytes - #: The value returned from the invoked command. - #: - #: .. versionadded:: 8.0 - self.return_value = return_value - #: The exit code as integer. - self.exit_code = exit_code - #: The exception that happened if one did. - self.exception = exception - #: The traceback - self.exc_info = exc_info - - @property - def output(self) -> str: - """The (standard) output as unicode string.""" - return self.stdout - - @property - def stdout(self) -> str: - """The standard output as unicode string.""" - return self.stdout_bytes.decode(self.runner.charset, "replace").replace( - "\r\n", "\n" - ) - - @property - def stderr(self) -> str: - """The standard error as unicode string.""" - if self.stderr_bytes is None: - raise ValueError("stderr not separately captured") - return self.stderr_bytes.decode(self.runner.charset, "replace").replace( - "\r\n", "\n" - ) - - def __repr__(self) -> str: - exc_str = repr(self.exception) if self.exception else "okay" - return f"<{type(self).__name__} {exc_str}>" - - -class CliRunner: - """The CLI runner provides functionality to invoke a Click command line - script for unittesting purposes in a isolated environment. This only - works in single-threaded systems without any concurrency as it changes the - global interpreter state. - - :param charset: the character set for the input and output data. - :param env: a dictionary with environment variables for overriding. - :param echo_stdin: if this is set to `True`, then reading from stdin writes - to stdout. This is useful for showing examples in - some circumstances. Note that regular prompts - will automatically echo the input. - :param mix_stderr: if this is set to `False`, then stdout and stderr are - preserved as independent streams. This is useful for - Unix-philosophy apps that have predictable stdout and - noisy stderr, such that each may be measured - independently - """ - - def __init__( - self, - charset: str = "utf-8", - env: t.Optional[t.Mapping[str, t.Optional[str]]] = None, - echo_stdin: bool = False, - mix_stderr: bool = True, - ) -> None: - self.charset = charset - self.env: t.Mapping[str, t.Optional[str]] = env or {} - self.echo_stdin = echo_stdin - self.mix_stderr = mix_stderr - - def get_default_prog_name(self, cli: "BaseCommand") -> str: - """Given a command object it will return the default program name - for it. The default is the `name` attribute or ``"root"`` if not - set. - """ - return cli.name or "root" - - def make_env( - self, overrides: t.Optional[t.Mapping[str, t.Optional[str]]] = None - ) -> t.Mapping[str, t.Optional[str]]: - """Returns the environment overrides for invoking a script.""" - rv = dict(self.env) - if overrides: - rv.update(overrides) - return rv - - @contextlib.contextmanager - def isolation( - self, - input: t.Optional[t.Union[str, bytes, t.IO[t.Any]]] = None, - env: t.Optional[t.Mapping[str, t.Optional[str]]] = None, - color: bool = False, - ) -> t.Iterator[t.Tuple[io.BytesIO, t.Optional[io.BytesIO]]]: - """A context manager that sets up the isolation for invoking of a - command line tool. This sets up stdin with the given input data - and `os.environ` with the overrides from the given dictionary. - This also rebinds some internals in Click to be mocked (like the - prompt functionality). - - This is automatically done in the :meth:`invoke` method. - - :param input: the input stream to put into sys.stdin. - :param env: the environment overrides as dictionary. - :param color: whether the output should contain color codes. The - application can still override this explicitly. - - .. versionchanged:: 8.0 - ``stderr`` is opened with ``errors="backslashreplace"`` - instead of the default ``"strict"``. - - .. versionchanged:: 4.0 - Added the ``color`` parameter. - """ - bytes_input = make_input_stream(input, self.charset) - echo_input = None - - old_stdin = sys.stdin - old_stdout = sys.stdout - old_stderr = sys.stderr - old_forced_width = formatting.FORCED_WIDTH - formatting.FORCED_WIDTH = 80 - - env = self.make_env(env) - - bytes_output = io.BytesIO() - - if self.echo_stdin: - bytes_input = echo_input = t.cast( - t.BinaryIO, EchoingStdin(bytes_input, bytes_output) - ) - - sys.stdin = text_input = _NamedTextIOWrapper( - bytes_input, encoding=self.charset, name="", mode="r" - ) - - if self.echo_stdin: - # Force unbuffered reads, otherwise TextIOWrapper reads a - # large chunk which is echoed early. - text_input._CHUNK_SIZE = 1 # type: ignore - - sys.stdout = _NamedTextIOWrapper( - bytes_output, encoding=self.charset, name="", mode="w" - ) - - bytes_error = None - if self.mix_stderr: - sys.stderr = sys.stdout - else: - bytes_error = io.BytesIO() - sys.stderr = _NamedTextIOWrapper( - bytes_error, - encoding=self.charset, - name="", - mode="w", - errors="backslashreplace", - ) - - @_pause_echo(echo_input) # type: ignore - def visible_input(prompt: t.Optional[str] = None) -> str: - sys.stdout.write(prompt or "") - val = text_input.readline().rstrip("\r\n") - sys.stdout.write(f"{val}\n") - sys.stdout.flush() - return val - - @_pause_echo(echo_input) # type: ignore - def hidden_input(prompt: t.Optional[str] = None) -> str: - sys.stdout.write(f"{prompt or ''}\n") - sys.stdout.flush() - return text_input.readline().rstrip("\r\n") - - @_pause_echo(echo_input) # type: ignore - def _getchar(echo: bool) -> str: - char = sys.stdin.read(1) - - if echo: - sys.stdout.write(char) - - sys.stdout.flush() - return char - - default_color = color - - def should_strip_ansi( - stream: t.Optional[t.IO[t.Any]] = None, color: t.Optional[bool] = None - ) -> bool: - if color is None: - return not default_color - return not color - - old_visible_prompt_func = termui.visible_prompt_func - old_hidden_prompt_func = termui.hidden_prompt_func - old__getchar_func = termui._getchar - old_should_strip_ansi = utils.should_strip_ansi # type: ignore - termui.visible_prompt_func = visible_input - termui.hidden_prompt_func = hidden_input - termui._getchar = _getchar - utils.should_strip_ansi = should_strip_ansi # type: ignore - - old_env = {} - try: - for key, value in env.items(): - old_env[key] = os.environ.get(key) - if value is None: - try: - del os.environ[key] - except Exception: - pass - else: - os.environ[key] = value - yield (bytes_output, bytes_error) - finally: - for key, value in old_env.items(): - if value is None: - try: - del os.environ[key] - except Exception: - pass - else: - os.environ[key] = value - sys.stdout = old_stdout - sys.stderr = old_stderr - sys.stdin = old_stdin - termui.visible_prompt_func = old_visible_prompt_func - termui.hidden_prompt_func = old_hidden_prompt_func - termui._getchar = old__getchar_func - utils.should_strip_ansi = old_should_strip_ansi # type: ignore - formatting.FORCED_WIDTH = old_forced_width - - def invoke( - self, - cli: "BaseCommand", - args: t.Optional[t.Union[str, t.Sequence[str]]] = None, - input: t.Optional[t.Union[str, bytes, t.IO[t.Any]]] = None, - env: t.Optional[t.Mapping[str, t.Optional[str]]] = None, - catch_exceptions: bool = True, - color: bool = False, - **extra: t.Any, - ) -> Result: - """Invokes a command in an isolated environment. The arguments are - forwarded directly to the command line script, the `extra` keyword - arguments are passed to the :meth:`~clickpkg.Command.main` function of - the command. - - This returns a :class:`Result` object. - - :param cli: the command to invoke - :param args: the arguments to invoke. It may be given as an iterable - or a string. When given as string it will be interpreted - as a Unix shell command. More details at - :func:`shlex.split`. - :param input: the input data for `sys.stdin`. - :param env: the environment overrides. - :param catch_exceptions: Whether to catch any other exceptions than - ``SystemExit``. - :param extra: the keyword arguments to pass to :meth:`main`. - :param color: whether the output should contain color codes. The - application can still override this explicitly. - - .. versionchanged:: 8.0 - The result object has the ``return_value`` attribute with - the value returned from the invoked command. - - .. versionchanged:: 4.0 - Added the ``color`` parameter. - - .. versionchanged:: 3.0 - Added the ``catch_exceptions`` parameter. - - .. versionchanged:: 3.0 - The result object has the ``exc_info`` attribute with the - traceback if available. - """ - exc_info = None - with self.isolation(input=input, env=env, color=color) as outstreams: - return_value = None - exception: t.Optional[BaseException] = None - exit_code = 0 - - if isinstance(args, str): - args = shlex.split(args) - - try: - prog_name = extra.pop("prog_name") - except KeyError: - prog_name = self.get_default_prog_name(cli) - - try: - return_value = cli.main(args=args or (), prog_name=prog_name, **extra) - except SystemExit as e: - exc_info = sys.exc_info() - e_code = t.cast(t.Optional[t.Union[int, t.Any]], e.code) - - if e_code is None: - e_code = 0 - - if e_code != 0: - exception = e - - if not isinstance(e_code, int): - sys.stdout.write(str(e_code)) - sys.stdout.write("\n") - e_code = 1 - - exit_code = e_code - - except Exception as e: - if not catch_exceptions: - raise - exception = e - exit_code = 1 - exc_info = sys.exc_info() - finally: - sys.stdout.flush() - stdout = outstreams[0].getvalue() - if self.mix_stderr: - stderr = None - else: - stderr = outstreams[1].getvalue() # type: ignore - - return Result( - runner=self, - stdout_bytes=stdout, - stderr_bytes=stderr, - return_value=return_value, - exit_code=exit_code, - exception=exception, - exc_info=exc_info, # type: ignore - ) - - @contextlib.contextmanager - def isolated_filesystem( - self, temp_dir: t.Optional[t.Union[str, "os.PathLike[str]"]] = None - ) -> t.Iterator[str]: - """A context manager that creates a temporary directory and - changes the current working directory to it. This isolates tests - that affect the contents of the CWD to prevent them from - interfering with each other. - - :param temp_dir: Create the temporary directory under this - directory. If given, the created directory is not removed - when exiting. - - .. versionchanged:: 8.0 - Added the ``temp_dir`` parameter. - """ - cwd = os.getcwd() - dt = tempfile.mkdtemp(dir=temp_dir) - os.chdir(dt) - - try: - yield dt - finally: - os.chdir(cwd) - - if temp_dir is None: - try: - shutil.rmtree(dt) - except OSError: # noqa: B014 - pass diff --git a/.venv/lib/python3.12/site-packages/click/types.py b/.venv/lib/python3.12/site-packages/click/types.py deleted file mode 100644 index 2b1d1797..00000000 --- a/.venv/lib/python3.12/site-packages/click/types.py +++ /dev/null @@ -1,1089 +0,0 @@ -import os -import stat -import sys -import typing as t -from datetime import datetime -from gettext import gettext as _ -from gettext import ngettext - -from ._compat import _get_argv_encoding -from ._compat import open_stream -from .exceptions import BadParameter -from .utils import format_filename -from .utils import LazyFile -from .utils import safecall - -if t.TYPE_CHECKING: - import typing_extensions as te - from .core import Context - from .core import Parameter - from .shell_completion import CompletionItem - - -class ParamType: - """Represents the type of a parameter. Validates and converts values - from the command line or Python into the correct type. - - To implement a custom type, subclass and implement at least the - following: - - - The :attr:`name` class attribute must be set. - - Calling an instance of the type with ``None`` must return - ``None``. This is already implemented by default. - - :meth:`convert` must convert string values to the correct type. - - :meth:`convert` must accept values that are already the correct - type. - - It must be able to convert a value if the ``ctx`` and ``param`` - arguments are ``None``. This can occur when converting prompt - input. - """ - - is_composite: t.ClassVar[bool] = False - arity: t.ClassVar[int] = 1 - - #: the descriptive name of this type - name: str - - #: if a list of this type is expected and the value is pulled from a - #: string environment variable, this is what splits it up. `None` - #: means any whitespace. For all parameters the general rule is that - #: whitespace splits them up. The exception are paths and files which - #: are split by ``os.path.pathsep`` by default (":" on Unix and ";" on - #: Windows). - envvar_list_splitter: t.ClassVar[t.Optional[str]] = None - - def to_info_dict(self) -> t.Dict[str, t.Any]: - """Gather information that could be useful for a tool generating - user-facing documentation. - - Use :meth:`click.Context.to_info_dict` to traverse the entire - CLI structure. - - .. versionadded:: 8.0 - """ - # The class name without the "ParamType" suffix. - param_type = type(self).__name__.partition("ParamType")[0] - param_type = param_type.partition("ParameterType")[0] - - # Custom subclasses might not remember to set a name. - if hasattr(self, "name"): - name = self.name - else: - name = param_type - - return {"param_type": param_type, "name": name} - - def __call__( - self, - value: t.Any, - param: t.Optional["Parameter"] = None, - ctx: t.Optional["Context"] = None, - ) -> t.Any: - if value is not None: - return self.convert(value, param, ctx) - - def get_metavar(self, param: "Parameter") -> t.Optional[str]: - """Returns the metavar default for this param if it provides one.""" - - def get_missing_message(self, param: "Parameter") -> t.Optional[str]: - """Optionally might return extra information about a missing - parameter. - - .. versionadded:: 2.0 - """ - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - """Convert the value to the correct type. This is not called if - the value is ``None`` (the missing value). - - This must accept string values from the command line, as well as - values that are already the correct type. It may also convert - other compatible types. - - The ``param`` and ``ctx`` arguments may be ``None`` in certain - situations, such as when converting prompt input. - - If the value cannot be converted, call :meth:`fail` with a - descriptive message. - - :param value: The value to convert. - :param param: The parameter that is using this type to convert - its value. May be ``None``. - :param ctx: The current context that arrived at this value. May - be ``None``. - """ - return value - - def split_envvar_value(self, rv: str) -> t.Sequence[str]: - """Given a value from an environment variable this splits it up - into small chunks depending on the defined envvar list splitter. - - If the splitter is set to `None`, which means that whitespace splits, - then leading and trailing whitespace is ignored. Otherwise, leading - and trailing splitters usually lead to empty items being included. - """ - return (rv or "").split(self.envvar_list_splitter) - - def fail( - self, - message: str, - param: t.Optional["Parameter"] = None, - ctx: t.Optional["Context"] = None, - ) -> "t.NoReturn": - """Helper method to fail with an invalid value message.""" - raise BadParameter(message, ctx=ctx, param=param) - - def shell_complete( - self, ctx: "Context", param: "Parameter", incomplete: str - ) -> t.List["CompletionItem"]: - """Return a list of - :class:`~click.shell_completion.CompletionItem` objects for the - incomplete value. Most types do not provide completions, but - some do, and this allows custom types to provide custom - completions as well. - - :param ctx: Invocation context for this command. - :param param: The parameter that is requesting completion. - :param incomplete: Value being completed. May be empty. - - .. versionadded:: 8.0 - """ - return [] - - -class CompositeParamType(ParamType): - is_composite = True - - @property - def arity(self) -> int: # type: ignore - raise NotImplementedError() - - -class FuncParamType(ParamType): - def __init__(self, func: t.Callable[[t.Any], t.Any]) -> None: - self.name: str = func.__name__ - self.func = func - - def to_info_dict(self) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict() - info_dict["func"] = self.func - return info_dict - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - try: - return self.func(value) - except ValueError: - try: - value = str(value) - except UnicodeError: - value = value.decode("utf-8", "replace") - - self.fail(value, param, ctx) - - -class UnprocessedParamType(ParamType): - name = "text" - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - return value - - def __repr__(self) -> str: - return "UNPROCESSED" - - -class StringParamType(ParamType): - name = "text" - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - if isinstance(value, bytes): - enc = _get_argv_encoding() - try: - value = value.decode(enc) - except UnicodeError: - fs_enc = sys.getfilesystemencoding() - if fs_enc != enc: - try: - value = value.decode(fs_enc) - except UnicodeError: - value = value.decode("utf-8", "replace") - else: - value = value.decode("utf-8", "replace") - return value - return str(value) - - def __repr__(self) -> str: - return "STRING" - - -class Choice(ParamType): - """The choice type allows a value to be checked against a fixed set - of supported values. All of these values have to be strings. - - You should only pass a list or tuple of choices. Other iterables - (like generators) may lead to surprising results. - - The resulting value will always be one of the originally passed choices - regardless of ``case_sensitive`` or any ``ctx.token_normalize_func`` - being specified. - - See :ref:`choice-opts` for an example. - - :param case_sensitive: Set to false to make choices case - insensitive. Defaults to true. - """ - - name = "choice" - - def __init__(self, choices: t.Sequence[str], case_sensitive: bool = True) -> None: - self.choices = choices - self.case_sensitive = case_sensitive - - def to_info_dict(self) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict() - info_dict["choices"] = self.choices - info_dict["case_sensitive"] = self.case_sensitive - return info_dict - - def get_metavar(self, param: "Parameter") -> str: - choices_str = "|".join(self.choices) - - # Use curly braces to indicate a required argument. - if param.required and param.param_type_name == "argument": - return f"{{{choices_str}}}" - - # Use square braces to indicate an option or optional argument. - return f"[{choices_str}]" - - def get_missing_message(self, param: "Parameter") -> str: - return _("Choose from:\n\t{choices}").format(choices=",\n\t".join(self.choices)) - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - # Match through normalization and case sensitivity - # first do token_normalize_func, then lowercase - # preserve original `value` to produce an accurate message in - # `self.fail` - normed_value = value - normed_choices = {choice: choice for choice in self.choices} - - if ctx is not None and ctx.token_normalize_func is not None: - normed_value = ctx.token_normalize_func(value) - normed_choices = { - ctx.token_normalize_func(normed_choice): original - for normed_choice, original in normed_choices.items() - } - - if not self.case_sensitive: - normed_value = normed_value.casefold() - normed_choices = { - normed_choice.casefold(): original - for normed_choice, original in normed_choices.items() - } - - if normed_value in normed_choices: - return normed_choices[normed_value] - - choices_str = ", ".join(map(repr, self.choices)) - self.fail( - ngettext( - "{value!r} is not {choice}.", - "{value!r} is not one of {choices}.", - len(self.choices), - ).format(value=value, choice=choices_str, choices=choices_str), - param, - ctx, - ) - - def __repr__(self) -> str: - return f"Choice({list(self.choices)})" - - def shell_complete( - self, ctx: "Context", param: "Parameter", incomplete: str - ) -> t.List["CompletionItem"]: - """Complete choices that start with the incomplete value. - - :param ctx: Invocation context for this command. - :param param: The parameter that is requesting completion. - :param incomplete: Value being completed. May be empty. - - .. versionadded:: 8.0 - """ - from click.shell_completion import CompletionItem - - str_choices = map(str, self.choices) - - if self.case_sensitive: - matched = (c for c in str_choices if c.startswith(incomplete)) - else: - incomplete = incomplete.lower() - matched = (c for c in str_choices if c.lower().startswith(incomplete)) - - return [CompletionItem(c) for c in matched] - - -class DateTime(ParamType): - """The DateTime type converts date strings into `datetime` objects. - - The format strings which are checked are configurable, but default to some - common (non-timezone aware) ISO 8601 formats. - - When specifying *DateTime* formats, you should only pass a list or a tuple. - Other iterables, like generators, may lead to surprising results. - - The format strings are processed using ``datetime.strptime``, and this - consequently defines the format strings which are allowed. - - Parsing is tried using each format, in order, and the first format which - parses successfully is used. - - :param formats: A list or tuple of date format strings, in the order in - which they should be tried. Defaults to - ``'%Y-%m-%d'``, ``'%Y-%m-%dT%H:%M:%S'``, - ``'%Y-%m-%d %H:%M:%S'``. - """ - - name = "datetime" - - def __init__(self, formats: t.Optional[t.Sequence[str]] = None): - self.formats: t.Sequence[str] = formats or [ - "%Y-%m-%d", - "%Y-%m-%dT%H:%M:%S", - "%Y-%m-%d %H:%M:%S", - ] - - def to_info_dict(self) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict() - info_dict["formats"] = self.formats - return info_dict - - def get_metavar(self, param: "Parameter") -> str: - return f"[{'|'.join(self.formats)}]" - - def _try_to_convert_date(self, value: t.Any, format: str) -> t.Optional[datetime]: - try: - return datetime.strptime(value, format) - except ValueError: - return None - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - if isinstance(value, datetime): - return value - - for format in self.formats: - converted = self._try_to_convert_date(value, format) - - if converted is not None: - return converted - - formats_str = ", ".join(map(repr, self.formats)) - self.fail( - ngettext( - "{value!r} does not match the format {format}.", - "{value!r} does not match the formats {formats}.", - len(self.formats), - ).format(value=value, format=formats_str, formats=formats_str), - param, - ctx, - ) - - def __repr__(self) -> str: - return "DateTime" - - -class _NumberParamTypeBase(ParamType): - _number_class: t.ClassVar[t.Type[t.Any]] - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - try: - return self._number_class(value) - except ValueError: - self.fail( - _("{value!r} is not a valid {number_type}.").format( - value=value, number_type=self.name - ), - param, - ctx, - ) - - -class _NumberRangeBase(_NumberParamTypeBase): - def __init__( - self, - min: t.Optional[float] = None, - max: t.Optional[float] = None, - min_open: bool = False, - max_open: bool = False, - clamp: bool = False, - ) -> None: - self.min = min - self.max = max - self.min_open = min_open - self.max_open = max_open - self.clamp = clamp - - def to_info_dict(self) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict() - info_dict.update( - min=self.min, - max=self.max, - min_open=self.min_open, - max_open=self.max_open, - clamp=self.clamp, - ) - return info_dict - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - import operator - - rv = super().convert(value, param, ctx) - lt_min: bool = self.min is not None and ( - operator.le if self.min_open else operator.lt - )(rv, self.min) - gt_max: bool = self.max is not None and ( - operator.ge if self.max_open else operator.gt - )(rv, self.max) - - if self.clamp: - if lt_min: - return self._clamp(self.min, 1, self.min_open) # type: ignore - - if gt_max: - return self._clamp(self.max, -1, self.max_open) # type: ignore - - if lt_min or gt_max: - self.fail( - _("{value} is not in the range {range}.").format( - value=rv, range=self._describe_range() - ), - param, - ctx, - ) - - return rv - - def _clamp(self, bound: float, dir: "te.Literal[1, -1]", open: bool) -> float: - """Find the valid value to clamp to bound in the given - direction. - - :param bound: The boundary value. - :param dir: 1 or -1 indicating the direction to move. - :param open: If true, the range does not include the bound. - """ - raise NotImplementedError - - def _describe_range(self) -> str: - """Describe the range for use in help text.""" - if self.min is None: - op = "<" if self.max_open else "<=" - return f"x{op}{self.max}" - - if self.max is None: - op = ">" if self.min_open else ">=" - return f"x{op}{self.min}" - - lop = "<" if self.min_open else "<=" - rop = "<" if self.max_open else "<=" - return f"{self.min}{lop}x{rop}{self.max}" - - def __repr__(self) -> str: - clamp = " clamped" if self.clamp else "" - return f"<{type(self).__name__} {self._describe_range()}{clamp}>" - - -class IntParamType(_NumberParamTypeBase): - name = "integer" - _number_class = int - - def __repr__(self) -> str: - return "INT" - - -class IntRange(_NumberRangeBase, IntParamType): - """Restrict an :data:`click.INT` value to a range of accepted - values. See :ref:`ranges`. - - If ``min`` or ``max`` are not passed, any value is accepted in that - direction. If ``min_open`` or ``max_open`` are enabled, the - corresponding boundary is not included in the range. - - If ``clamp`` is enabled, a value outside the range is clamped to the - boundary instead of failing. - - .. versionchanged:: 8.0 - Added the ``min_open`` and ``max_open`` parameters. - """ - - name = "integer range" - - def _clamp( # type: ignore - self, bound: int, dir: "te.Literal[1, -1]", open: bool - ) -> int: - if not open: - return bound - - return bound + dir - - -class FloatParamType(_NumberParamTypeBase): - name = "float" - _number_class = float - - def __repr__(self) -> str: - return "FLOAT" - - -class FloatRange(_NumberRangeBase, FloatParamType): - """Restrict a :data:`click.FLOAT` value to a range of accepted - values. See :ref:`ranges`. - - If ``min`` or ``max`` are not passed, any value is accepted in that - direction. If ``min_open`` or ``max_open`` are enabled, the - corresponding boundary is not included in the range. - - If ``clamp`` is enabled, a value outside the range is clamped to the - boundary instead of failing. This is not supported if either - boundary is marked ``open``. - - .. versionchanged:: 8.0 - Added the ``min_open`` and ``max_open`` parameters. - """ - - name = "float range" - - def __init__( - self, - min: t.Optional[float] = None, - max: t.Optional[float] = None, - min_open: bool = False, - max_open: bool = False, - clamp: bool = False, - ) -> None: - super().__init__( - min=min, max=max, min_open=min_open, max_open=max_open, clamp=clamp - ) - - if (min_open or max_open) and clamp: - raise TypeError("Clamping is not supported for open bounds.") - - def _clamp(self, bound: float, dir: "te.Literal[1, -1]", open: bool) -> float: - if not open: - return bound - - # Could use Python 3.9's math.nextafter here, but clamping an - # open float range doesn't seem to be particularly useful. It's - # left up to the user to write a callback to do it if needed. - raise RuntimeError("Clamping is not supported for open bounds.") - - -class BoolParamType(ParamType): - name = "boolean" - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - if value in {False, True}: - return bool(value) - - norm = value.strip().lower() - - if norm in {"1", "true", "t", "yes", "y", "on"}: - return True - - if norm in {"0", "false", "f", "no", "n", "off"}: - return False - - self.fail( - _("{value!r} is not a valid boolean.").format(value=value), param, ctx - ) - - def __repr__(self) -> str: - return "BOOL" - - -class UUIDParameterType(ParamType): - name = "uuid" - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - import uuid - - if isinstance(value, uuid.UUID): - return value - - value = value.strip() - - try: - return uuid.UUID(value) - except ValueError: - self.fail( - _("{value!r} is not a valid UUID.").format(value=value), param, ctx - ) - - def __repr__(self) -> str: - return "UUID" - - -class File(ParamType): - """Declares a parameter to be a file for reading or writing. The file - is automatically closed once the context tears down (after the command - finished working). - - Files can be opened for reading or writing. The special value ``-`` - indicates stdin or stdout depending on the mode. - - By default, the file is opened for reading text data, but it can also be - opened in binary mode or for writing. The encoding parameter can be used - to force a specific encoding. - - The `lazy` flag controls if the file should be opened immediately or upon - first IO. The default is to be non-lazy for standard input and output - streams as well as files opened for reading, `lazy` otherwise. When opening a - file lazily for reading, it is still opened temporarily for validation, but - will not be held open until first IO. lazy is mainly useful when opening - for writing to avoid creating the file until it is needed. - - Starting with Click 2.0, files can also be opened atomically in which - case all writes go into a separate file in the same folder and upon - completion the file will be moved over to the original location. This - is useful if a file regularly read by other users is modified. - - See :ref:`file-args` for more information. - """ - - name = "filename" - envvar_list_splitter: t.ClassVar[str] = os.path.pathsep - - def __init__( - self, - mode: str = "r", - encoding: t.Optional[str] = None, - errors: t.Optional[str] = "strict", - lazy: t.Optional[bool] = None, - atomic: bool = False, - ) -> None: - self.mode = mode - self.encoding = encoding - self.errors = errors - self.lazy = lazy - self.atomic = atomic - - def to_info_dict(self) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict() - info_dict.update(mode=self.mode, encoding=self.encoding) - return info_dict - - def resolve_lazy_flag(self, value: "t.Union[str, os.PathLike[str]]") -> bool: - if self.lazy is not None: - return self.lazy - if os.fspath(value) == "-": - return False - elif "w" in self.mode: - return True - return False - - def convert( - self, - value: t.Union[str, "os.PathLike[str]", t.IO[t.Any]], - param: t.Optional["Parameter"], - ctx: t.Optional["Context"], - ) -> t.IO[t.Any]: - if _is_file_like(value): - return value - - value = t.cast("t.Union[str, os.PathLike[str]]", value) - - try: - lazy = self.resolve_lazy_flag(value) - - if lazy: - lf = LazyFile( - value, self.mode, self.encoding, self.errors, atomic=self.atomic - ) - - if ctx is not None: - ctx.call_on_close(lf.close_intelligently) - - return t.cast(t.IO[t.Any], lf) - - f, should_close = open_stream( - value, self.mode, self.encoding, self.errors, atomic=self.atomic - ) - - # If a context is provided, we automatically close the file - # at the end of the context execution (or flush out). If a - # context does not exist, it's the caller's responsibility to - # properly close the file. This for instance happens when the - # type is used with prompts. - if ctx is not None: - if should_close: - ctx.call_on_close(safecall(f.close)) - else: - ctx.call_on_close(safecall(f.flush)) - - return f - except OSError as e: # noqa: B014 - self.fail(f"'{format_filename(value)}': {e.strerror}", param, ctx) - - def shell_complete( - self, ctx: "Context", param: "Parameter", incomplete: str - ) -> t.List["CompletionItem"]: - """Return a special completion marker that tells the completion - system to use the shell to provide file path completions. - - :param ctx: Invocation context for this command. - :param param: The parameter that is requesting completion. - :param incomplete: Value being completed. May be empty. - - .. versionadded:: 8.0 - """ - from click.shell_completion import CompletionItem - - return [CompletionItem(incomplete, type="file")] - - -def _is_file_like(value: t.Any) -> "te.TypeGuard[t.IO[t.Any]]": - return hasattr(value, "read") or hasattr(value, "write") - - -class Path(ParamType): - """The ``Path`` type is similar to the :class:`File` type, but - returns the filename instead of an open file. Various checks can be - enabled to validate the type of file and permissions. - - :param exists: The file or directory needs to exist for the value to - be valid. If this is not set to ``True``, and the file does not - exist, then all further checks are silently skipped. - :param file_okay: Allow a file as a value. - :param dir_okay: Allow a directory as a value. - :param readable: if true, a readable check is performed. - :param writable: if true, a writable check is performed. - :param executable: if true, an executable check is performed. - :param resolve_path: Make the value absolute and resolve any - symlinks. A ``~`` is not expanded, as this is supposed to be - done by the shell only. - :param allow_dash: Allow a single dash as a value, which indicates - a standard stream (but does not open it). Use - :func:`~click.open_file` to handle opening this value. - :param path_type: Convert the incoming path value to this type. If - ``None``, keep Python's default, which is ``str``. Useful to - convert to :class:`pathlib.Path`. - - .. versionchanged:: 8.1 - Added the ``executable`` parameter. - - .. versionchanged:: 8.0 - Allow passing ``path_type=pathlib.Path``. - - .. versionchanged:: 6.0 - Added the ``allow_dash`` parameter. - """ - - envvar_list_splitter: t.ClassVar[str] = os.path.pathsep - - def __init__( - self, - exists: bool = False, - file_okay: bool = True, - dir_okay: bool = True, - writable: bool = False, - readable: bool = True, - resolve_path: bool = False, - allow_dash: bool = False, - path_type: t.Optional[t.Type[t.Any]] = None, - executable: bool = False, - ): - self.exists = exists - self.file_okay = file_okay - self.dir_okay = dir_okay - self.readable = readable - self.writable = writable - self.executable = executable - self.resolve_path = resolve_path - self.allow_dash = allow_dash - self.type = path_type - - if self.file_okay and not self.dir_okay: - self.name: str = _("file") - elif self.dir_okay and not self.file_okay: - self.name = _("directory") - else: - self.name = _("path") - - def to_info_dict(self) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict() - info_dict.update( - exists=self.exists, - file_okay=self.file_okay, - dir_okay=self.dir_okay, - writable=self.writable, - readable=self.readable, - allow_dash=self.allow_dash, - ) - return info_dict - - def coerce_path_result( - self, value: "t.Union[str, os.PathLike[str]]" - ) -> "t.Union[str, bytes, os.PathLike[str]]": - if self.type is not None and not isinstance(value, self.type): - if self.type is str: - return os.fsdecode(value) - elif self.type is bytes: - return os.fsencode(value) - else: - return t.cast("os.PathLike[str]", self.type(value)) - - return value - - def convert( - self, - value: "t.Union[str, os.PathLike[str]]", - param: t.Optional["Parameter"], - ctx: t.Optional["Context"], - ) -> "t.Union[str, bytes, os.PathLike[str]]": - rv = value - - is_dash = self.file_okay and self.allow_dash and rv in (b"-", "-") - - if not is_dash: - if self.resolve_path: - # os.path.realpath doesn't resolve symlinks on Windows - # until Python 3.8. Use pathlib for now. - import pathlib - - rv = os.fsdecode(pathlib.Path(rv).resolve()) - - try: - st = os.stat(rv) - except OSError: - if not self.exists: - return self.coerce_path_result(rv) - self.fail( - _("{name} {filename!r} does not exist.").format( - name=self.name.title(), filename=format_filename(value) - ), - param, - ctx, - ) - - if not self.file_okay and stat.S_ISREG(st.st_mode): - self.fail( - _("{name} {filename!r} is a file.").format( - name=self.name.title(), filename=format_filename(value) - ), - param, - ctx, - ) - if not self.dir_okay and stat.S_ISDIR(st.st_mode): - self.fail( - _("{name} '{filename}' is a directory.").format( - name=self.name.title(), filename=format_filename(value) - ), - param, - ctx, - ) - - if self.readable and not os.access(rv, os.R_OK): - self.fail( - _("{name} {filename!r} is not readable.").format( - name=self.name.title(), filename=format_filename(value) - ), - param, - ctx, - ) - - if self.writable and not os.access(rv, os.W_OK): - self.fail( - _("{name} {filename!r} is not writable.").format( - name=self.name.title(), filename=format_filename(value) - ), - param, - ctx, - ) - - if self.executable and not os.access(value, os.X_OK): - self.fail( - _("{name} {filename!r} is not executable.").format( - name=self.name.title(), filename=format_filename(value) - ), - param, - ctx, - ) - - return self.coerce_path_result(rv) - - def shell_complete( - self, ctx: "Context", param: "Parameter", incomplete: str - ) -> t.List["CompletionItem"]: - """Return a special completion marker that tells the completion - system to use the shell to provide path completions for only - directories or any paths. - - :param ctx: Invocation context for this command. - :param param: The parameter that is requesting completion. - :param incomplete: Value being completed. May be empty. - - .. versionadded:: 8.0 - """ - from click.shell_completion import CompletionItem - - type = "dir" if self.dir_okay and not self.file_okay else "file" - return [CompletionItem(incomplete, type=type)] - - -class Tuple(CompositeParamType): - """The default behavior of Click is to apply a type on a value directly. - This works well in most cases, except for when `nargs` is set to a fixed - count and different types should be used for different items. In this - case the :class:`Tuple` type can be used. This type can only be used - if `nargs` is set to a fixed number. - - For more information see :ref:`tuple-type`. - - This can be selected by using a Python tuple literal as a type. - - :param types: a list of types that should be used for the tuple items. - """ - - def __init__(self, types: t.Sequence[t.Union[t.Type[t.Any], ParamType]]) -> None: - self.types: t.Sequence[ParamType] = [convert_type(ty) for ty in types] - - def to_info_dict(self) -> t.Dict[str, t.Any]: - info_dict = super().to_info_dict() - info_dict["types"] = [t.to_info_dict() for t in self.types] - return info_dict - - @property - def name(self) -> str: # type: ignore - return f"<{' '.join(ty.name for ty in self.types)}>" - - @property - def arity(self) -> int: # type: ignore - return len(self.types) - - def convert( - self, value: t.Any, param: t.Optional["Parameter"], ctx: t.Optional["Context"] - ) -> t.Any: - len_type = len(self.types) - len_value = len(value) - - if len_value != len_type: - self.fail( - ngettext( - "{len_type} values are required, but {len_value} was given.", - "{len_type} values are required, but {len_value} were given.", - len_value, - ).format(len_type=len_type, len_value=len_value), - param=param, - ctx=ctx, - ) - - return tuple(ty(x, param, ctx) for ty, x in zip(self.types, value)) - - -def convert_type(ty: t.Optional[t.Any], default: t.Optional[t.Any] = None) -> ParamType: - """Find the most appropriate :class:`ParamType` for the given Python - type. If the type isn't provided, it can be inferred from a default - value. - """ - guessed_type = False - - if ty is None and default is not None: - if isinstance(default, (tuple, list)): - # If the default is empty, ty will remain None and will - # return STRING. - if default: - item = default[0] - - # A tuple of tuples needs to detect the inner types. - # Can't call convert recursively because that would - # incorrectly unwind the tuple to a single type. - if isinstance(item, (tuple, list)): - ty = tuple(map(type, item)) - else: - ty = type(item) - else: - ty = type(default) - - guessed_type = True - - if isinstance(ty, tuple): - return Tuple(ty) - - if isinstance(ty, ParamType): - return ty - - if ty is str or ty is None: - return STRING - - if ty is int: - return INT - - if ty is float: - return FLOAT - - if ty is bool: - return BOOL - - if guessed_type: - return STRING - - if __debug__: - try: - if issubclass(ty, ParamType): - raise AssertionError( - f"Attempted to use an uninstantiated parameter type ({ty})." - ) - except TypeError: - # ty is an instance (correct), so issubclass fails. - pass - - return FuncParamType(ty) - - -#: A dummy parameter type that just does nothing. From a user's -#: perspective this appears to just be the same as `STRING` but -#: internally no string conversion takes place if the input was bytes. -#: This is usually useful when working with file paths as they can -#: appear in bytes and unicode. -#: -#: For path related uses the :class:`Path` type is a better choice but -#: there are situations where an unprocessed type is useful which is why -#: it is is provided. -#: -#: .. versionadded:: 4.0 -UNPROCESSED = UnprocessedParamType() - -#: A unicode string parameter type which is the implicit default. This -#: can also be selected by using ``str`` as type. -STRING = StringParamType() - -#: An integer parameter. This can also be selected by using ``int`` as -#: type. -INT = IntParamType() - -#: A floating point value parameter. This can also be selected by using -#: ``float`` as type. -FLOAT = FloatParamType() - -#: A boolean parameter. This is the default for boolean flags. This can -#: also be selected by using ``bool`` as a type. -BOOL = BoolParamType() - -#: A UUID parameter. -UUID = UUIDParameterType() diff --git a/.venv/lib/python3.12/site-packages/click/utils.py b/.venv/lib/python3.12/site-packages/click/utils.py deleted file mode 100644 index d536434f..00000000 --- a/.venv/lib/python3.12/site-packages/click/utils.py +++ /dev/null @@ -1,624 +0,0 @@ -import os -import re -import sys -import typing as t -from functools import update_wrapper -from types import ModuleType -from types import TracebackType - -from ._compat import _default_text_stderr -from ._compat import _default_text_stdout -from ._compat import _find_binary_writer -from ._compat import auto_wrap_for_ansi -from ._compat import binary_streams -from ._compat import open_stream -from ._compat import should_strip_ansi -from ._compat import strip_ansi -from ._compat import text_streams -from ._compat import WIN -from .globals import resolve_color_default - -if t.TYPE_CHECKING: - import typing_extensions as te - - P = te.ParamSpec("P") - -R = t.TypeVar("R") - - -def _posixify(name: str) -> str: - return "-".join(name.split()).lower() - - -def safecall(func: "t.Callable[P, R]") -> "t.Callable[P, t.Optional[R]]": - """Wraps a function so that it swallows exceptions.""" - - def wrapper(*args: "P.args", **kwargs: "P.kwargs") -> t.Optional[R]: - try: - return func(*args, **kwargs) - except Exception: - pass - return None - - return update_wrapper(wrapper, func) - - -def make_str(value: t.Any) -> str: - """Converts a value into a valid string.""" - if isinstance(value, bytes): - try: - return value.decode(sys.getfilesystemencoding()) - except UnicodeError: - return value.decode("utf-8", "replace") - return str(value) - - -def make_default_short_help(help: str, max_length: int = 45) -> str: - """Returns a condensed version of help string.""" - # Consider only the first paragraph. - paragraph_end = help.find("\n\n") - - if paragraph_end != -1: - help = help[:paragraph_end] - - # Collapse newlines, tabs, and spaces. - words = help.split() - - if not words: - return "" - - # The first paragraph started with a "no rewrap" marker, ignore it. - if words[0] == "\b": - words = words[1:] - - total_length = 0 - last_index = len(words) - 1 - - for i, word in enumerate(words): - total_length += len(word) + (i > 0) - - if total_length > max_length: # too long, truncate - break - - if word[-1] == ".": # sentence end, truncate without "..." - return " ".join(words[: i + 1]) - - if total_length == max_length and i != last_index: - break # not at sentence end, truncate with "..." - else: - return " ".join(words) # no truncation needed - - # Account for the length of the suffix. - total_length += len("...") - - # remove words until the length is short enough - while i > 0: - total_length -= len(words[i]) + (i > 0) - - if total_length <= max_length: - break - - i -= 1 - - return " ".join(words[:i]) + "..." - - -class LazyFile: - """A lazy file works like a regular file but it does not fully open - the file but it does perform some basic checks early to see if the - filename parameter does make sense. This is useful for safely opening - files for writing. - """ - - def __init__( - self, - filename: t.Union[str, "os.PathLike[str]"], - mode: str = "r", - encoding: t.Optional[str] = None, - errors: t.Optional[str] = "strict", - atomic: bool = False, - ): - self.name: str = os.fspath(filename) - self.mode = mode - self.encoding = encoding - self.errors = errors - self.atomic = atomic - self._f: t.Optional[t.IO[t.Any]] - self.should_close: bool - - if self.name == "-": - self._f, self.should_close = open_stream(filename, mode, encoding, errors) - else: - if "r" in mode: - # Open and close the file in case we're opening it for - # reading so that we can catch at least some errors in - # some cases early. - open(filename, mode).close() - self._f = None - self.should_close = True - - def __getattr__(self, name: str) -> t.Any: - return getattr(self.open(), name) - - def __repr__(self) -> str: - if self._f is not None: - return repr(self._f) - return f"" - - def open(self) -> t.IO[t.Any]: - """Opens the file if it's not yet open. This call might fail with - a :exc:`FileError`. Not handling this error will produce an error - that Click shows. - """ - if self._f is not None: - return self._f - try: - rv, self.should_close = open_stream( - self.name, self.mode, self.encoding, self.errors, atomic=self.atomic - ) - except OSError as e: # noqa: E402 - from .exceptions import FileError - - raise FileError(self.name, hint=e.strerror) from e - self._f = rv - return rv - - def close(self) -> None: - """Closes the underlying file, no matter what.""" - if self._f is not None: - self._f.close() - - def close_intelligently(self) -> None: - """This function only closes the file if it was opened by the lazy - file wrapper. For instance this will never close stdin. - """ - if self.should_close: - self.close() - - def __enter__(self) -> "LazyFile": - return self - - def __exit__( - self, - exc_type: t.Optional[t.Type[BaseException]], - exc_value: t.Optional[BaseException], - tb: t.Optional[TracebackType], - ) -> None: - self.close_intelligently() - - def __iter__(self) -> t.Iterator[t.AnyStr]: - self.open() - return iter(self._f) # type: ignore - - -class KeepOpenFile: - def __init__(self, file: t.IO[t.Any]) -> None: - self._file: t.IO[t.Any] = file - - def __getattr__(self, name: str) -> t.Any: - return getattr(self._file, name) - - def __enter__(self) -> "KeepOpenFile": - return self - - def __exit__( - self, - exc_type: t.Optional[t.Type[BaseException]], - exc_value: t.Optional[BaseException], - tb: t.Optional[TracebackType], - ) -> None: - pass - - def __repr__(self) -> str: - return repr(self._file) - - def __iter__(self) -> t.Iterator[t.AnyStr]: - return iter(self._file) - - -def echo( - message: t.Optional[t.Any] = None, - file: t.Optional[t.IO[t.Any]] = None, - nl: bool = True, - err: bool = False, - color: t.Optional[bool] = None, -) -> None: - """Print a message and newline to stdout or a file. This should be - used instead of :func:`print` because it provides better support - for different data, files, and environments. - - Compared to :func:`print`, this does the following: - - - Ensures that the output encoding is not misconfigured on Linux. - - Supports Unicode in the Windows console. - - Supports writing to binary outputs, and supports writing bytes - to text outputs. - - Supports colors and styles on Windows. - - Removes ANSI color and style codes if the output does not look - like an interactive terminal. - - Always flushes the output. - - :param message: The string or bytes to output. Other objects are - converted to strings. - :param file: The file to write to. Defaults to ``stdout``. - :param err: Write to ``stderr`` instead of ``stdout``. - :param nl: Print a newline after the message. Enabled by default. - :param color: Force showing or hiding colors and other styles. By - default Click will remove color if the output does not look like - an interactive terminal. - - .. versionchanged:: 6.0 - Support Unicode output on the Windows console. Click does not - modify ``sys.stdout``, so ``sys.stdout.write()`` and ``print()`` - will still not support Unicode. - - .. versionchanged:: 4.0 - Added the ``color`` parameter. - - .. versionadded:: 3.0 - Added the ``err`` parameter. - - .. versionchanged:: 2.0 - Support colors on Windows if colorama is installed. - """ - if file is None: - if err: - file = _default_text_stderr() - else: - file = _default_text_stdout() - - # There are no standard streams attached to write to. For example, - # pythonw on Windows. - if file is None: - return - - # Convert non bytes/text into the native string type. - if message is not None and not isinstance(message, (str, bytes, bytearray)): - out: t.Optional[t.Union[str, bytes]] = str(message) - else: - out = message - - if nl: - out = out or "" - if isinstance(out, str): - out += "\n" - else: - out += b"\n" - - if not out: - file.flush() - return - - # If there is a message and the value looks like bytes, we manually - # need to find the binary stream and write the message in there. - # This is done separately so that most stream types will work as you - # would expect. Eg: you can write to StringIO for other cases. - if isinstance(out, (bytes, bytearray)): - binary_file = _find_binary_writer(file) - - if binary_file is not None: - file.flush() - binary_file.write(out) - binary_file.flush() - return - - # ANSI style code support. For no message or bytes, nothing happens. - # When outputting to a file instead of a terminal, strip codes. - else: - color = resolve_color_default(color) - - if should_strip_ansi(file, color): - out = strip_ansi(out) - elif WIN: - if auto_wrap_for_ansi is not None: - file = auto_wrap_for_ansi(file) # type: ignore - elif not color: - out = strip_ansi(out) - - file.write(out) # type: ignore - file.flush() - - -def get_binary_stream(name: "te.Literal['stdin', 'stdout', 'stderr']") -> t.BinaryIO: - """Returns a system stream for byte processing. - - :param name: the name of the stream to open. Valid names are ``'stdin'``, - ``'stdout'`` and ``'stderr'`` - """ - opener = binary_streams.get(name) - if opener is None: - raise TypeError(f"Unknown standard stream '{name}'") - return opener() - - -def get_text_stream( - name: "te.Literal['stdin', 'stdout', 'stderr']", - encoding: t.Optional[str] = None, - errors: t.Optional[str] = "strict", -) -> t.TextIO: - """Returns a system stream for text processing. This usually returns - a wrapped stream around a binary stream returned from - :func:`get_binary_stream` but it also can take shortcuts for already - correctly configured streams. - - :param name: the name of the stream to open. Valid names are ``'stdin'``, - ``'stdout'`` and ``'stderr'`` - :param encoding: overrides the detected default encoding. - :param errors: overrides the default error mode. - """ - opener = text_streams.get(name) - if opener is None: - raise TypeError(f"Unknown standard stream '{name}'") - return opener(encoding, errors) - - -def open_file( - filename: str, - mode: str = "r", - encoding: t.Optional[str] = None, - errors: t.Optional[str] = "strict", - lazy: bool = False, - atomic: bool = False, -) -> t.IO[t.Any]: - """Open a file, with extra behavior to handle ``'-'`` to indicate - a standard stream, lazy open on write, and atomic write. Similar to - the behavior of the :class:`~click.File` param type. - - If ``'-'`` is given to open ``stdout`` or ``stdin``, the stream is - wrapped so that using it in a context manager will not close it. - This makes it possible to use the function without accidentally - closing a standard stream: - - .. code-block:: python - - with open_file(filename) as f: - ... - - :param filename: The name of the file to open, or ``'-'`` for - ``stdin``/``stdout``. - :param mode: The mode in which to open the file. - :param encoding: The encoding to decode or encode a file opened in - text mode. - :param errors: The error handling mode. - :param lazy: Wait to open the file until it is accessed. For read - mode, the file is temporarily opened to raise access errors - early, then closed until it is read again. - :param atomic: Write to a temporary file and replace the given file - on close. - - .. versionadded:: 3.0 - """ - if lazy: - return t.cast( - t.IO[t.Any], LazyFile(filename, mode, encoding, errors, atomic=atomic) - ) - - f, should_close = open_stream(filename, mode, encoding, errors, atomic=atomic) - - if not should_close: - f = t.cast(t.IO[t.Any], KeepOpenFile(f)) - - return f - - -def format_filename( - filename: "t.Union[str, bytes, os.PathLike[str], os.PathLike[bytes]]", - shorten: bool = False, -) -> str: - """Format a filename as a string for display. Ensures the filename can be - displayed by replacing any invalid bytes or surrogate escapes in the name - with the replacement character ``�``. - - Invalid bytes or surrogate escapes will raise an error when written to a - stream with ``errors="strict". This will typically happen with ``stdout`` - when the locale is something like ``en_GB.UTF-8``. - - Many scenarios *are* safe to write surrogates though, due to PEP 538 and - PEP 540, including: - - - Writing to ``stderr``, which uses ``errors="backslashreplace"``. - - The system has ``LANG=C.UTF-8``, ``C``, or ``POSIX``. Python opens - stdout and stderr with ``errors="surrogateescape"``. - - None of ``LANG/LC_*`` are set. Python assumes ``LANG=C.UTF-8``. - - Python is started in UTF-8 mode with ``PYTHONUTF8=1`` or ``-X utf8``. - Python opens stdout and stderr with ``errors="surrogateescape"``. - - :param filename: formats a filename for UI display. This will also convert - the filename into unicode without failing. - :param shorten: this optionally shortens the filename to strip of the - path that leads up to it. - """ - if shorten: - filename = os.path.basename(filename) - else: - filename = os.fspath(filename) - - if isinstance(filename, bytes): - filename = filename.decode(sys.getfilesystemencoding(), "replace") - else: - filename = filename.encode("utf-8", "surrogateescape").decode( - "utf-8", "replace" - ) - - return filename - - -def get_app_dir(app_name: str, roaming: bool = True, force_posix: bool = False) -> str: - r"""Returns the config folder for the application. The default behavior - is to return whatever is most appropriate for the operating system. - - To give you an idea, for an app called ``"Foo Bar"``, something like - the following folders could be returned: - - Mac OS X: - ``~/Library/Application Support/Foo Bar`` - Mac OS X (POSIX): - ``~/.foo-bar`` - Unix: - ``~/.config/foo-bar`` - Unix (POSIX): - ``~/.foo-bar`` - Windows (roaming): - ``C:\Users\\AppData\Roaming\Foo Bar`` - Windows (not roaming): - ``C:\Users\\AppData\Local\Foo Bar`` - - .. versionadded:: 2.0 - - :param app_name: the application name. This should be properly capitalized - and can contain whitespace. - :param roaming: controls if the folder should be roaming or not on Windows. - Has no effect otherwise. - :param force_posix: if this is set to `True` then on any POSIX system the - folder will be stored in the home folder with a leading - dot instead of the XDG config home or darwin's - application support folder. - """ - if WIN: - key = "APPDATA" if roaming else "LOCALAPPDATA" - folder = os.environ.get(key) - if folder is None: - folder = os.path.expanduser("~") - return os.path.join(folder, app_name) - if force_posix: - return os.path.join(os.path.expanduser(f"~/.{_posixify(app_name)}")) - if sys.platform == "darwin": - return os.path.join( - os.path.expanduser("~/Library/Application Support"), app_name - ) - return os.path.join( - os.environ.get("XDG_CONFIG_HOME", os.path.expanduser("~/.config")), - _posixify(app_name), - ) - - -class PacifyFlushWrapper: - """This wrapper is used to catch and suppress BrokenPipeErrors resulting - from ``.flush()`` being called on broken pipe during the shutdown/final-GC - of the Python interpreter. Notably ``.flush()`` is always called on - ``sys.stdout`` and ``sys.stderr``. So as to have minimal impact on any - other cleanup code, and the case where the underlying file is not a broken - pipe, all calls and attributes are proxied. - """ - - def __init__(self, wrapped: t.IO[t.Any]) -> None: - self.wrapped = wrapped - - def flush(self) -> None: - try: - self.wrapped.flush() - except OSError as e: - import errno - - if e.errno != errno.EPIPE: - raise - - def __getattr__(self, attr: str) -> t.Any: - return getattr(self.wrapped, attr) - - -def _detect_program_name( - path: t.Optional[str] = None, _main: t.Optional[ModuleType] = None -) -> str: - """Determine the command used to run the program, for use in help - text. If a file or entry point was executed, the file name is - returned. If ``python -m`` was used to execute a module or package, - ``python -m name`` is returned. - - This doesn't try to be too precise, the goal is to give a concise - name for help text. Files are only shown as their name without the - path. ``python`` is only shown for modules, and the full path to - ``sys.executable`` is not shown. - - :param path: The Python file being executed. Python puts this in - ``sys.argv[0]``, which is used by default. - :param _main: The ``__main__`` module. This should only be passed - during internal testing. - - .. versionadded:: 8.0 - Based on command args detection in the Werkzeug reloader. - - :meta private: - """ - if _main is None: - _main = sys.modules["__main__"] - - if not path: - path = sys.argv[0] - - # The value of __package__ indicates how Python was called. It may - # not exist if a setuptools script is installed as an egg. It may be - # set incorrectly for entry points created with pip on Windows. - # It is set to "" inside a Shiv or PEX zipapp. - if getattr(_main, "__package__", None) in {None, ""} or ( - os.name == "nt" - and _main.__package__ == "" - and not os.path.exists(path) - and os.path.exists(f"{path}.exe") - ): - # Executed a file, like "python app.py". - return os.path.basename(path) - - # Executed a module, like "python -m example". - # Rewritten by Python from "-m script" to "/path/to/script.py". - # Need to look at main module to determine how it was executed. - py_module = t.cast(str, _main.__package__) - name = os.path.splitext(os.path.basename(path))[0] - - # A submodule like "example.cli". - if name != "__main__": - py_module = f"{py_module}.{name}" - - return f"python -m {py_module.lstrip('.')}" - - -def _expand_args( - args: t.Iterable[str], - *, - user: bool = True, - env: bool = True, - glob_recursive: bool = True, -) -> t.List[str]: - """Simulate Unix shell expansion with Python functions. - - See :func:`glob.glob`, :func:`os.path.expanduser`, and - :func:`os.path.expandvars`. - - This is intended for use on Windows, where the shell does not do any - expansion. It may not exactly match what a Unix shell would do. - - :param args: List of command line arguments to expand. - :param user: Expand user home directory. - :param env: Expand environment variables. - :param glob_recursive: ``**`` matches directories recursively. - - .. versionchanged:: 8.1 - Invalid glob patterns are treated as empty expansions rather - than raising an error. - - .. versionadded:: 8.0 - - :meta private: - """ - from glob import glob - - out = [] - - for arg in args: - if user: - arg = os.path.expanduser(arg) - - if env: - arg = os.path.expandvars(arg) - - try: - matches = glob(arg, recursive=glob_recursive) - except re.error: - matches = [] - - if not matches: - out.append(arg) - else: - out.extend(matches) - - return out diff --git a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/AUTHORS.txt b/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/AUTHORS.txt deleted file mode 100644 index 17b68caa..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/AUTHORS.txt +++ /dev/null @@ -1,5 +0,0 @@ -Authors -======= - -Kevin Wurster -Sean Gillies diff --git a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/LICENSE.txt b/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/LICENSE.txt deleted file mode 100644 index 8fbd3537..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/LICENSE.txt +++ /dev/null @@ -1,29 +0,0 @@ -New BSD License - -Copyright (c) 2015-2019, Kevin D. Wurster, Sean C. Gillies -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 click-plugins nor the names of its contributors may not 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. \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/METADATA b/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/METADATA deleted file mode 100644 index 11df8ed8..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/METADATA +++ /dev/null @@ -1,210 +0,0 @@ -Metadata-Version: 2.1 -Name: click-plugins -Version: 1.1.1 -Summary: An extension module for click to enable registering CLI commands via setuptools entry-points. -Home-page: https://github.com/click-contrib/click-plugins -Author: Kevin Wurster, Sean Gillies -Author-email: wursterk@gmail.com, sean.gillies@gmail.com -License: New BSD -Keywords: click plugin setuptools entry-point -Platform: UNKNOWN -Classifier: Topic :: Utilities -Classifier: Intended Audience :: Developers -Classifier: Development Status :: 5 - Production/Stable -Classifier: License :: OSI Approved :: BSD License -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Requires-Dist: click (>=4.0) -Provides-Extra: dev -Requires-Dist: pytest (>=3.6) ; extra == 'dev' -Requires-Dist: pytest-cov ; extra == 'dev' -Requires-Dist: wheel ; extra == 'dev' -Requires-Dist: coveralls ; extra == 'dev' - -============= -click-plugins -============= - -.. image:: https://travis-ci.org/click-contrib/click-plugins.svg?branch=master - :target: https://travis-ci.org/click-contrib/click-plugins?branch=master - -.. image:: https://coveralls.io/repos/click-contrib/click-plugins/badge.svg?branch=master&service=github - :target: https://coveralls.io/github/click-contrib/click-plugins?branch=master - -An extension module for `click `_ to register -external CLI commands via setuptools entry-points. - - -Why? ----- - -Lets say you develop a commandline interface and someone requests a new feature -that is absolutely related to your project but would have negative consequences -like additional dependencies, major refactoring, or maybe its just too domain -specific to be supported directly. Rather than developing a separate standalone -utility you could offer up a `setuptools entry point `_ -that allows others to use your commandline utility as a home for their related -sub-commands. You get to choose where these sub-commands or sub-groups CAN be -registered but the plugin developer gets to choose they ARE registered. You -could have all plugins register alongside the core commands, in a special -sub-group, across multiple sub-groups, or some combination. - - -Enabling Plugins ----------------- - -For a more detailed example see the `examples `_ section. - -The only requirement is decorating ``click.group()`` with ``click_plugins.with_plugins()`` -which handles attaching external commands and groups. In this case the core CLI developer -registers CLI plugins from ``core_package.cli_plugins``. - -.. code-block:: python - - from pkg_resources import iter_entry_points - - import click - from click_plugins import with_plugins - - - @with_plugins(iter_entry_points('core_package.cli_plugins')) - @click.group() - def cli(): - """Commandline interface for yourpackage.""" - - @cli.command() - def subcommand(): - """Subcommand that does something.""" - - -Developing Plugins ------------------- - -Plugin developers need to register their sub-commands or sub-groups to an -entry-point in their ``setup.py`` that is loaded by the core package. - -.. code-block:: python - - from setuptools import setup - - setup( - name='yourscript', - version='0.1', - py_modules=['yourscript'], - install_requires=[ - 'click', - ], - entry_points=''' - [core_package.cli_plugins] - cool_subcommand=yourscript.cli:cool_subcommand - another_subcommand=yourscript.cli:another_subcommand - ''', - ) - - -Broken and Incompatible Plugins -------------------------------- - -Any sub-command or sub-group that cannot be loaded is caught and converted to -a ``click_plugins.core.BrokenCommand()`` rather than just crashing the entire -CLI. The short-help is converted to a warning message like: - -.. code-block:: console - - Warning: could not load plugin. See `` --help``. - -and if the sub-command or group is executed the entire traceback is printed. - - -Best Practices and Extra Credit -------------------------------- - -Opening a CLI to plugins encourages other developers to independently extend -functionality independently but there is no guarantee these new features will -be "on brand". Plugin developers are almost certainly already using features -in the core package the CLI belongs to so defining commonly used arguments and -options in one place lets plugin developers reuse these flags to produce a more -cohesive CLI. If the CLI is simple maybe just define them at the top of -``yourpackage/cli.py`` or for more complex packages something like -``yourpackage/cli/options.py``. These common options need to be easy to find -and be well documented so that plugin developers know what variable to give to -their sub-command's function and what object they can expect to receive. Don't -forget to document non-obvious callbacks. - -Keep in mind that plugin developers also have access to the parent group's -``ctx.obj``, which is very useful for passing things like verbosity levels or -config values around to sub-commands. - -Here's some code that sub-commands could re-use: - -.. code-block:: python - - from multiprocessing import cpu_count - - import click - - jobs_opt = click.option( - '-j', '--jobs', metavar='CORES', type=click.IntRange(min=1, max=cpu_count()), default=1, - show_default=True, help="Process data across N cores." - ) - -Plugin developers can access this with: - -.. code-block:: python - - import click - import parent_cli_package.cli.options - - - @click.command() - @parent_cli_package.cli.options.jobs_opt - def subcommand(jobs): - """I do something domain specific.""" - - -Installation ------------- - -With ``pip``: - -.. code-block:: console - - $ pip install click-plugins - -From source: - -.. code-block:: console - - $ git clone https://github.com/click-contrib/click-plugins.git - $ cd click-plugins - $ python setup.py install - - -Developing ----------- - -.. code-block:: console - - $ git clone https://github.com/click-contrib/click-plugins.git - $ cd click-plugins - $ pip install -e .\[dev\] - $ pytest tests --cov click_plugins --cov-report term-missing - - -Changelog ---------- - -See ``CHANGES.txt`` - - -Authors -------- - -See ``AUTHORS.txt`` - - -License -------- - -See ``LICENSE.txt`` - diff --git a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/RECORD b/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/RECORD deleted file mode 100644 index 66777ff5..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/RECORD +++ /dev/null @@ -1,12 +0,0 @@ -click_plugins-1.1.1.dist-info/AUTHORS.txt,sha256=FUhD9wZxX5--d9KS7hUB-wnHgyS67pdnWvADk8lrLeE,90 -click_plugins-1.1.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -click_plugins-1.1.1.dist-info/LICENSE.txt,sha256=ovxTmp55udvfNAMB8D-Wci6bCbFy-kiV9mnwwmQrj3o,1517 -click_plugins-1.1.1.dist-info/METADATA,sha256=LFOtPppAX0RN1Wwn7A2Pq46juwOppLlvUGR2VNRgAPk,6390 -click_plugins-1.1.1.dist-info/RECORD,, -click_plugins-1.1.1.dist-info/WHEEL,sha256=HX-v9-noUkyUoxyZ1PMSuS7auUxDAR4VBdoYLqD0xws,110 -click_plugins-1.1.1.dist-info/top_level.txt,sha256=oB_GDZcOeOKX1eKKCfqSMR4tfJS6iL3zJshaJJPSQUI,14 -click_plugins-1.1.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1 -click_plugins/__init__.py,sha256=lAwJ0n4PqZCv7hk5Fz6yNL7TRrXKuhynDBGiaNSUNvo,2247 -click_plugins/__pycache__/__init__.cpython-312.pyc,, -click_plugins/__pycache__/core.cpython-312.pyc,, -click_plugins/core.py,sha256=4hhmUpFi6MSYsvxogksNu5dlKEWNscbiE9ynUy5dPdE,2475 diff --git a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/WHEEL deleted file mode 100644 index c8240f03..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/WHEEL +++ /dev/null @@ -1,6 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.33.1) -Root-Is-Purelib: true -Tag: py2-none-any -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/top_level.txt deleted file mode 100644 index 22e5b9b9..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -click_plugins diff --git a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/zip-safe b/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/zip-safe deleted file mode 100644 index 8b137891..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins-1.1.1.dist-info/zip-safe +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.venv/lib/python3.12/site-packages/click_plugins/__init__.py b/.venv/lib/python3.12/site-packages/click_plugins/__init__.py deleted file mode 100644 index 6bdfe38e..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins/__init__.py +++ /dev/null @@ -1,61 +0,0 @@ -""" -An extension module for click to enable registering CLI commands via setuptools -entry-points. - - - from pkg_resources import iter_entry_points - - import click - from click_plugins import with_plugins - - - @with_plugins(iter_entry_points('entry_point.name')) - @click.group() - def cli(): - '''Commandline interface for something.''' - - @cli.command() - @click.argument('arg') - def subcommand(arg): - '''A subcommand for something else''' -""" - - -from click_plugins.core import with_plugins - - -__version__ = '1.1.1' -__author__ = 'Kevin Wurster, Sean Gillies' -__email__ = 'wursterk@gmail.com, sean.gillies@gmail.com' -__source__ = 'https://github.com/click-contrib/click-plugins' -__license__ = ''' -New BSD License - -Copyright (c) 2015-2019, Kevin D. Wurster, Sean C. Gillies -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 click-plugins nor the names of its contributors may not 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/python3.12/site-packages/click_plugins/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click_plugins/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 1054b6ec..00000000 Binary files a/.venv/lib/python3.12/site-packages/click_plugins/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click_plugins/__pycache__/core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/click_plugins/__pycache__/core.cpython-312.pyc deleted file mode 100644 index 750bbaa7..00000000 Binary files a/.venv/lib/python3.12/site-packages/click_plugins/__pycache__/core.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/click_plugins/core.py b/.venv/lib/python3.12/site-packages/click_plugins/core.py deleted file mode 100644 index 0d7f5e97..00000000 --- a/.venv/lib/python3.12/site-packages/click_plugins/core.py +++ /dev/null @@ -1,92 +0,0 @@ -""" -Core components for click_plugins -""" - - -import click - -import os -import sys -import traceback - - -def with_plugins(plugins): - - """ - A decorator to register external CLI commands to an instance of - `click.Group()`. - - Parameters - ---------- - plugins : iter - An iterable producing one `pkg_resources.EntryPoint()` per iteration. - attrs : **kwargs, optional - Additional keyword arguments for instantiating `click.Group()`. - - Returns - ------- - click.Group() - """ - - def decorator(group): - if not isinstance(group, click.Group): - raise TypeError("Plugins can only be attached to an instance of click.Group()") - - for entry_point in plugins or (): - try: - group.add_command(entry_point.load()) - except Exception: - # Catch this so a busted plugin doesn't take down the CLI. - # Handled by registering a dummy command that does nothing - # other than explain the error. - group.add_command(BrokenCommand(entry_point.name)) - - return group - - return decorator - - -class BrokenCommand(click.Command): - - """ - Rather than completely crash the CLI when a broken plugin is loaded, this - class provides a modified help message informing the user that the plugin is - broken and they should contact the owner. If the user executes the plugin - or specifies `--help` a traceback is reported showing the exception the - plugin loader encountered. - """ - - def __init__(self, name): - - """ - Define the special help messages after instantiating a `click.Command()`. - """ - - click.Command.__init__(self, name) - - util_name = os.path.basename(sys.argv and sys.argv[0] or __file__) - - if os.environ.get('CLICK_PLUGINS_HONESTLY'): # pragma no cover - icon = u'\U0001F4A9' - else: - icon = u'\u2020' - - self.help = ( - "\nWarning: entry point could not be loaded. Contact " - "its author for help.\n\n\b\n" - + traceback.format_exc()) - self.short_help = ( - icon + " Warning: could not load plugin. See `%s %s --help`." - % (util_name, self.name)) - - def invoke(self, ctx): - - """ - Print the traceback instead of doing nothing. - """ - - click.echo(self.help, color=ctx.color) - ctx.exit(1) - - def parse_args(self, ctx, args): - return args diff --git a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/LICENSE deleted file mode 100644 index effb9456..00000000 --- a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/LICENSE +++ /dev/null @@ -1,27 +0,0 @@ -Copyright (c) 2014, Mapbox -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 cligj 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/python3.12/site-packages/cligj-0.7.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/METADATA deleted file mode 100644 index a6e35161..00000000 --- a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/METADATA +++ /dev/null @@ -1,170 +0,0 @@ -Metadata-Version: 2.1 -Name: cligj -Version: 0.7.2 -Summary: Click params for commmand line interfaces to GeoJSON -Home-page: https://github.com/mapbox/cligj -Author: Sean Gillies -Author-email: sean@mapbox.com -License: BSD -Platform: UNKNOWN -Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, <4 -License-File: LICENSE -Requires-Dist: click (>=4.0) -Provides-Extra: test -Requires-Dist: pytest-cov ; extra == 'test' - -cligj -====== - -.. image:: https://travis-ci.com/mapbox/cligj.svg - :target: https://travis-ci.com/mapbox/cligj - -.. image:: https://coveralls.io/repos/mapbox/cligj/badge.png?branch=master - :target: https://coveralls.io/r/mapbox/cligj?branch=master - -Common arguments and options for GeoJSON processing commands, using Click. - -`cligj` is for Python developers who create command line interfaces for geospatial data. -`cligj` allows you to quickly build consistent, well-tested and interoperable CLIs for handling GeoJSON. - - -Arguments ---------- - -``files_in_arg`` -Multiple files - -``files_inout_arg`` -Multiple files, last of which is an output file. - -``features_in_arg`` -GeoJSON Features input which accepts multiple representations of GeoJSON features -and returns the input data as an iterable of GeoJSON Feature-like dictionaries - -Options --------- - -``verbose_opt`` - -``quiet_opt`` - -``format_opt`` - -JSON formatting options -~~~~~~~~~~~~~~~~~~~~~~~ - -``indent_opt`` - -``compact_opt`` - -Coordinate precision option -~~~~~~~~~~~~~~~~~~~~~~~~~~~ -``precision_opt`` - -Geographic (default), projected, or Mercator switch -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -``projection_geographic_opt`` - -``projection_projected_opt`` - -``projection_mercator_opt`` - -Feature collection or feature sequence switch -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -``sequence_opt`` - -``use_rs_opt`` - -GeoJSON output mode option -~~~~~~~~~~~~~~~~~~~~~~~~~~ -``geojson_type_collection_opt`` - -``geojson_type_feature_opt`` - -``def geojson_type_bbox_opt`` - -Example -------- - -Here's an example of a command that writes out GeoJSON features as a collection -or, optionally, a sequence of individual features. Since most software that -reads and writes GeoJSON expects a text containing a single feature collection, -that's the default, and a LF-delimited sequence of texts containing one GeoJSON -feature each is a feature that is turned on using the ``--sequence`` option. -To write sequences of feature texts that conform to the `GeoJSON Text Sequences -standard `__ (and might contain -pretty-printed JSON) with the ASCII Record Separator (0x1e) as a delimiter, use -the ``--rs`` option - -.. warning:: Future change warning - GeoJSON sequences (`--sequence`), not collections (`--no-sequence`), will be - the default in version 1.0.0. - - -.. code-block:: python - - import click - import cligj - import json - - def process_features(features): - for feature in features: - # TODO process feature here - yield feature - - @click.command() - @cligj.features_in_arg - @cligj.sequence_opt - @cligj.use_rs_opt - def pass_features(features, sequence, use_rs): - if sequence: - for feature in process_features(features): - if use_rs: - click.echo(u'\x1e', nl=False) - click.echo(json.dumps(feature)) - else: - click.echo(json.dumps( - {'type': 'FeatureCollection', - 'features': list(process_features(features))})) - -On the command line, the generated help text explains the usage - -.. code-block:: console - - Usage: pass_features [OPTIONS] FEATURES... - - Options: - --sequence / --no-sequence Write a LF-delimited sequence of texts - containing individual objects or write a single - JSON text containing a feature collection object - (the default). - --rs / --no-rs Use RS (0x1E) as a prefix for individual texts - in a sequence as per http://tools.ietf.org/html - /draft-ietf-json-text-sequence-13 (default is - False). - --help Show this message and exit. - -And can be used like this - -.. code-block:: console - - $ cat data.geojson - {'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'id': '1'}, {'type': 'Feature', 'id': '2'}]} - - $ pass_features data.geojson - {'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'id': '1'}, {'type': 'Feature', 'id': '2'}]} - - $ cat data.geojson | pass_features - {'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'id': '1'}, {'type': 'Feature', 'id': '2'}]} - - $ cat data.geojson | pass_features --sequence - {'type': 'Feature', 'id': '1'} - {'type': 'Feature', 'id': '2'} - - $ cat data.geojson | pass_features --sequence --rs - ^^{'type': 'Feature', 'id': '1'} - ^^{'type': 'Feature', 'id': '2'} - -In this example, ``^^`` represents 0x1e. - - diff --git a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/RECORD deleted file mode 100644 index 55b2d483..00000000 --- a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/RECORD +++ /dev/null @@ -1,10 +0,0 @@ -cligj-0.7.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -cligj-0.7.2.dist-info/LICENSE,sha256=WQLXFlRN35o0hJs0XDkauvfCHKFu0icG1qwvVQNxJZQ,1469 -cligj-0.7.2.dist-info/METADATA,sha256=0M7veLSbCNJVF57jt5ah44S43avjjTu9wuDC5qr91tQ,5002 -cligj-0.7.2.dist-info/RECORD,, -cligj-0.7.2.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92 -cligj-0.7.2.dist-info/top_level.txt,sha256=Hvy1tviiMzKbB1D3AYXJVeozEJV6SgCs-EHFnhGlwMA,6 -cligj/__init__.py,sha256=zvD8Kc5PcY-AopHqGIY-Iekjv53BUhRCD6FHiF0k8uM,3876 -cligj/__pycache__/__init__.cpython-312.pyc,, -cligj/__pycache__/features.cpython-312.pyc,, -cligj/features.py,sha256=FwVHj0iAdqtOOy0uCFllC6H0EVNqsf3Djj99VEBYqCU,6905 diff --git a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/WHEEL deleted file mode 100644 index 385faab0..00000000 --- a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.36.2) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/top_level.txt deleted file mode 100644 index 7a4158e8..00000000 --- a/.venv/lib/python3.12/site-packages/cligj-0.7.2.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -cligj diff --git a/.venv/lib/python3.12/site-packages/cligj/__init__.py b/.venv/lib/python3.12/site-packages/cligj/__init__.py deleted file mode 100644 index d7578940..00000000 --- a/.venv/lib/python3.12/site-packages/cligj/__init__.py +++ /dev/null @@ -1,154 +0,0 @@ -"""cligj - -A package of arguments, options, and parsers for the Python GeoJSON -ecosystem. -""" - -import sys -from warnings import warn - -import click - -from .features import normalize_feature_inputs - -__version__ = "0.7.2" - -if sys.version_info < (3, 6): - warn("cligj 1.0.0 will require Python >= 3.6", FutureWarning) - - -# Multiple input files. -files_in_arg = click.argument( - 'files', - nargs=-1, - type=click.Path(resolve_path=True), - required=True, - metavar="INPUTS...") - - -# Multiple files, last of which is an output file. -files_inout_arg = click.argument( - 'files', - nargs=-1, - type=click.Path(resolve_path=True), - required=True, - metavar="INPUTS... OUTPUT") - - -# Features from files, command line args, or stdin. -# Returns the input data as an iterable of GeoJSON Feature-like -# dictionaries. -features_in_arg = click.argument( - 'features', - nargs=-1, - callback=normalize_feature_inputs, - metavar="FEATURES...") - - -# Options. -verbose_opt = click.option( - '--verbose', '-v', - count=True, - help="Increase verbosity.") - -quiet_opt = click.option( - '--quiet', '-q', - count=True, - help="Decrease verbosity.") - -# Format driver option. -format_opt = click.option( - '-f', '--format', '--driver', 'driver', - default='GTiff', - help="Output format driver") - -# JSON formatting options. -indent_opt = click.option( - '--indent', - type=int, - default=None, - help="Indentation level for JSON output") - -compact_opt = click.option( - '--compact/--not-compact', - default=False, - help="Use compact separators (',', ':').") - -# Coordinate precision option. -precision_opt = click.option( - '--precision', - type=int, - default=-1, - help="Decimal precision of coordinates.") - -# Geographic (default), projected, or Mercator switch. -projection_geographic_opt = click.option( - '--geographic', - 'projection', - flag_value='geographic', - default=True, - help="Output in geographic coordinates (the default).") - -projection_projected_opt = click.option( - '--projected', - 'projection', - flag_value='projected', - help="Output in dataset's own, projected coordinates.") - -projection_mercator_opt = click.option( - '--mercator', - 'projection', - flag_value='mercator', - help="Output in Web Mercator coordinates.") - -# Feature collection or feature sequence switch. -sequence_opt = click.option( - '--sequence/--no-sequence', - default=False, - help="Write a LF-delimited sequence of texts containing individual " - "objects or write a single JSON text containing a feature " - "collection object (the default).", - callback=lambda ctx, param, value: warn( - "Sequences of Features, not FeatureCollections, will be the default in version 1.0.0", - FutureWarning, - ) - or value, -) - -use_rs_opt = click.option( - '--rs/--no-rs', - 'use_rs', - default=False, - help="Use RS (0x1E) as a prefix for individual texts in a sequence " - "as per http://tools.ietf.org/html/draft-ietf-json-text-sequence-13 " - "(default is False).") - - -def geojson_type_collection_opt(default=False): - """GeoJSON FeatureCollection output mode""" - return click.option( - '--collection', - 'geojson_type', - flag_value='collection', - default=default, - help="Output as GeoJSON feature collection(s).") - - -def geojson_type_feature_opt(default=False): - """GeoJSON Feature or Feature sequence output mode""" - return click.option( - '--feature', - 'geojson_type', - flag_value='feature', - default=default, - help="Output as GeoJSON feature(s).") - - -def geojson_type_bbox_opt(default=False): - """GeoJSON bbox output mode""" - return click.option( - '--bbox', - 'geojson_type', - flag_value='bbox', - default=default, - help="Output as GeoJSON bounding box array(s).") diff --git a/.venv/lib/python3.12/site-packages/cligj/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/cligj/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index c52e8054..00000000 Binary files a/.venv/lib/python3.12/site-packages/cligj/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/cligj/__pycache__/features.cpython-312.pyc b/.venv/lib/python3.12/site-packages/cligj/__pycache__/features.cpython-312.pyc deleted file mode 100644 index d4385c88..00000000 Binary files a/.venv/lib/python3.12/site-packages/cligj/__pycache__/features.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/cligj/features.py b/.venv/lib/python3.12/site-packages/cligj/features.py deleted file mode 100644 index a7ecc064..00000000 --- a/.venv/lib/python3.12/site-packages/cligj/features.py +++ /dev/null @@ -1,214 +0,0 @@ -"""Feature parsing and normalization""" - -from itertools import chain -import json -import re - -import click - - -def normalize_feature_inputs(ctx, param, value): - """Click callback that normalizes feature input values. - - Returns a generator over features from the input value. - - Parameters - ---------- - ctx: a Click context - param: the name of the argument or option - value: object - The value argument may be one of the following: - - 1. A list of paths to files containing GeoJSON feature - collections or feature sequences. - 2. A list of string-encoded coordinate pairs of the form - "[lng, lat]", or "lng, lat", or "lng lat". - - If no value is provided, features will be read from stdin. - - Yields - ------ - Mapping - A GeoJSON Feature represented by a Python mapping - - """ - for feature_like in value or ('-',): - try: - with click.open_file(feature_like, encoding="utf-8") as src: - for feature in iter_features(iter(src)): - yield feature - except IOError: - coords = list(coords_from_query(feature_like)) - yield { - 'type': 'Feature', - 'properties': {}, - 'geometry': { - 'type': 'Point', - 'coordinates': coords}} - - -def iter_features(geojsonfile, func=None): - """Extract GeoJSON features from a text file object. - - Given a file-like object containing a single GeoJSON feature - collection text or a sequence of GeoJSON features, iter_features() - iterates over lines of the file and yields GeoJSON features. - - Parameters - ---------- - geojsonfile: a file-like object - The geojsonfile implements the iterator protocol and yields - lines of JSON text. - func: function, optional - A function that will be applied to each extracted feature. It - takes a feature object and may return a replacement feature or - None -- in which case iter_features does not yield. - - Yields - ------ - Mapping - A GeoJSON Feature represented by a Python mapping - - """ - func = func or (lambda x: x) - first_line = next(geojsonfile) - - # Does the geojsonfile contain RS-delimited JSON sequences? - if first_line.startswith(u'\x1e'): - text_buffer = first_line.strip(u'\x1e') - for line in geojsonfile: - if line.startswith(u'\x1e'): - if text_buffer: - obj = json.loads(text_buffer) - if 'coordinates' in obj: - obj = to_feature(obj) - newfeat = func(obj) - if newfeat: - yield newfeat - text_buffer = line.strip(u'\x1e') - else: - text_buffer += line - # complete our parsing with a for-else clause. - else: - obj = json.loads(text_buffer) - if 'coordinates' in obj: - obj = to_feature(obj) - newfeat = func(obj) - if newfeat: - yield newfeat - - # If not, it may contains LF-delimited GeoJSON objects or a single - # multi-line pretty-printed GeoJSON object. - else: - # Try to parse LF-delimited sequences of features or feature - # collections produced by, e.g., `jq -c ...`. - try: - obj = json.loads(first_line) - if obj['type'] == 'Feature': - newfeat = func(obj) - if newfeat: - yield newfeat - for line in geojsonfile: - newfeat = func(json.loads(line)) - if newfeat: - yield newfeat - elif obj['type'] == 'FeatureCollection': - for feat in obj['features']: - newfeat = func(feat) - if newfeat: - yield newfeat - elif 'coordinates' in obj: - newfeat = func(to_feature(obj)) - if newfeat: - yield newfeat - for line in geojsonfile: - newfeat = func(to_feature(json.loads(line))) - if newfeat: - yield newfeat - - # Indented or pretty-printed GeoJSON features or feature - # collections will fail out of the try clause above since - # they'll have no complete JSON object on their first line. - # To handle these, we slurp in the entire file and parse its - # text. - except ValueError: - text = "".join(chain([first_line], geojsonfile)) - obj = json.loads(text) - if obj['type'] == 'Feature': - newfeat = func(obj) - if newfeat: - yield newfeat - elif obj['type'] == 'FeatureCollection': - for feat in obj['features']: - newfeat = func(feat) - if newfeat: - yield newfeat - elif 'coordinates' in obj: - newfeat = func(to_feature(obj)) - if newfeat: - yield newfeat - - -def to_feature(obj): - """Converts an object to a GeoJSON Feature - - Returns feature verbatim or wraps geom in a feature with empty - properties. - - Raises - ------ - ValueError - - Returns - ------- - Mapping - A GeoJSON Feature represented by a Python mapping - - """ - if obj['type'] == 'Feature': - return obj - elif 'coordinates' in obj: - return { - 'type': 'Feature', - 'properties': {}, - 'geometry': obj} - else: - raise ValueError("Object is not a feature or geometry") - - -def iter_query(query): - """Accept a filename, stream, or string. - Returns an iterator over lines of the query.""" - try: - itr = click.open_file(query).readlines() - except IOError: - itr = [query] - return itr - - -def coords_from_query(query): - """Transform a query line into a (lng, lat) pair of coordinates.""" - try: - coords = json.loads(query) - except ValueError: - query = query.replace(',', ' ') - vals = query.split() - coords = [float(v) for v in vals] - return tuple(coords[:2]) - - -def normalize_feature_objects(feature_objs): - """Takes an iterable of GeoJSON-like Feature mappings or - an iterable of objects with a geo interface and - normalizes it to the former.""" - for obj in feature_objs: - if ( - hasattr(obj, "__geo_interface__") - and "type" in obj.__geo_interface__.keys() - and obj.__geo_interface__["type"] == "Feature" - ): - yield obj.__geo_interface__ - elif isinstance(obj, dict) and "type" in obj and obj["type"] == "Feature": - yield obj - else: - raise ValueError("Did not recognize object as GeoJSON Feature") diff --git a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/__init__.cpython-312.pyc index c20dfb2c..869ed25f 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/_common.cpython-312.pyc index 002002bc..d9020f0c 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/_version.cpython-312.pyc index 3c127912..0e1195cf 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/_version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/_version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/easter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/easter.cpython-312.pyc index 36e950e4..43b7b6ed 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/easter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/easter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/relativedelta.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/relativedelta.cpython-312.pyc index 0afc80fd..cafa3ce4 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/relativedelta.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/relativedelta.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/rrule.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/rrule.cpython-312.pyc index 234facc3..ecd141be 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/rrule.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/rrule.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/tzwin.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/tzwin.cpython-312.pyc index 06e4572c..c36821b4 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/tzwin.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/tzwin.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/utils.cpython-312.pyc index 52f6f8d6..42974e64 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/__pycache__/utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/__pycache__/utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/__init__.cpython-312.pyc index d15882b7..d55396d8 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/_parser.cpython-312.pyc index 53492950..8cab097e 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/_parser.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/_parser.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/isoparser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/isoparser.cpython-312.pyc index 34df48ac..d23448c2 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/isoparser.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/parser/__pycache__/isoparser.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/__init__.cpython-312.pyc index 25b18c92..4ec2e321 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/_common.cpython-312.pyc index 9da08347..5adfa09c 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/_factories.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/_factories.cpython-312.pyc index 46464fdc..d589aa2f 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/_factories.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/_factories.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/tz.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/tz.cpython-312.pyc index 8d9e5288..e0cf3355 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/tz.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/tz.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/win.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/win.cpython-312.pyc index 4ff3cce7..e1f01433 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/win.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/tz/__pycache__/win.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/zoneinfo/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/zoneinfo/__pycache__/__init__.cpython-312.pyc index 04985cfa..09f2ed31 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/zoneinfo/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/zoneinfo/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/dateutil/zoneinfo/__pycache__/rebuild.cpython-312.pyc b/.venv/lib/python3.12/site-packages/dateutil/zoneinfo/__pycache__/rebuild.cpython-312.pyc index 0203a2da..34c6bc6b 100644 Binary files a/.venv/lib/python3.12/site-packages/dateutil/zoneinfo/__pycache__/rebuild.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/dateutil/zoneinfo/__pycache__/rebuild.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/distutils-precedence.pth b/.venv/lib/python3.12/site-packages/distutils-precedence.pth deleted file mode 100644 index 7f009fe9..00000000 --- a/.venv/lib/python3.12/site-packages/distutils-precedence.pth +++ /dev/null @@ -1 +0,0 @@ -import os; var = 'SETUPTOOLS_USE_DISTUTILS'; enabled = os.environ.get(var, 'local') == 'local'; enabled and __import__('_distutils_hack').add_shim(); diff --git a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/LICENSE.txt b/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/LICENSE.txt deleted file mode 100644 index 75091686..00000000 --- a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/LICENSE.txt +++ /dev/null @@ -1,28 +0,0 @@ - -Copyright (c) 2007, Sean C. Gillies -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 Sean C. Gillies 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/python3.12/site-packages/fiona-1.9.5.dist-info/METADATA b/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/METADATA deleted file mode 100644 index 51bc1af4..00000000 --- a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/METADATA +++ /dev/null @@ -1,1370 +0,0 @@ -Metadata-Version: 2.1 -Name: fiona -Version: 1.9.5 -Summary: Fiona reads and writes spatial data files -Author: Sean Gillies -Maintainer: Fiona contributors -License: BSD 3-Clause -Project-URL: Documentation, https://fiona.readthedocs.io/ -Project-URL: Repository, https://github.com/Toblerity/Fiona -Keywords: gis,vector,feature,data -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: Science/Research -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: OS Independent -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: Topic :: Scientific/Engineering :: GIS -Requires-Python: >=3.7 -Description-Content-Type: text/x-rst -License-File: LICENSE.txt -Requires-Dist: attrs >=19.2.0 -Requires-Dist: certifi -Requires-Dist: click ~=8.0 -Requires-Dist: click-plugins >=1.0 -Requires-Dist: cligj >=0.5 -Requires-Dist: six -Requires-Dist: setuptools -Requires-Dist: importlib-metadata ; python_version < "3.10" -Provides-Extra: all -Requires-Dist: Fiona[calc,s3,test] ; extra == 'all' -Provides-Extra: calc -Requires-Dist: shapely ; extra == 'calc' -Provides-Extra: s3 -Requires-Dist: boto3 >=1.3.1 ; extra == 's3' -Provides-Extra: test -Requires-Dist: Fiona[s3] ; extra == 'test' -Requires-Dist: pytest >=7 ; extra == 'test' -Requires-Dist: pytest-cov ; extra == 'test' -Requires-Dist: pytz ; extra == 'test' - -===== -Fiona -===== - -.. image:: https://github.com/Toblerity/Fiona/workflows/Tests/badge.svg?branch=maint-1.9 - :target: https://github.com/Toblerity/Fiona/actions?query=branch%3Amaint-1.9 - -Fiona streams simple feature data to and from GIS formats like GeoPackage and -Shapefile. - -Fiona can read and write real-world data using multi-layered GIS formats, -zipped and in-memory virtual file systems, from files on your hard drive or in -cloud storage. This project includes Python modules and a command line -interface (CLI). - -Fiona depends on `GDAL `__ but is different from GDAL's own -`bindings `__. Fiona is designed to -be highly productive and to make it easy to write code which is easy to read. - -Installation -============ - -Fiona has several `extension modules -`__ which link against -libgdal. This complicates installation. Binary distributions (wheels) -containing libgdal and its own dependencies are available from the Python -Package Index and can be installed using pip. - -.. code-block:: console - - pip install fiona - -These wheels are mainly intended to make installation easy for simple -applications, not so much for production. They are not tested for compatibility -with all other binary wheels, conda packages, or QGIS, and omit many of GDAL's -optional format drivers. If you need, for example, GML support you will need to -build and install Fiona from a source distribution. It is possible to install -Fiona from source using pip (version >= 22.3) and the `--no-binary` option. A -specific GDAL installation can be selected by setting the GDAL_CONFIG -environment variable. - -.. code-block:: console - - pip install -U pip - pip install --no-binary fiona fiona - -Many users find Anaconda and conda-forge a good way to install Fiona and get -access to more optional format drivers (like GML). - -Fiona 1.9 requires Python 3.7 or higher and GDAL 3.2 or higher. - -Python Usage -============ - -Features are read from and written to file-like ``Collection`` objects returned -from the ``fiona.open()`` function. Features are data classes modeled on the -GeoJSON format. They don't have any spatial methods of their own, so if you -want to transform them you will need Shapely or something like it. Here is an -example of using Fiona to read some features from one data file, change their -geometry attributes using Shapely, and write them to a new data file. - -.. code-block:: python - - import fiona - from fiona import Feature, Geometry - from shapely.geometry import mapping, shape - - # Open a file for reading. We'll call this the source. - with fiona.open( - "zip+https://github.com/Toblerity/Fiona/files/11151652/coutwildrnp.zip" - ) as src: - - # The file we'll write to must be initialized with a coordinate - # system, a format driver name, and a record schema. We can get - # initial values from the open source's profile property and then - # modify them as we need. - profile = src.profile - profile["schema"]["geometry"] = "Point" - profile["driver"] = "GPKG" - - # Open an output file, using the same format driver and coordinate - # reference system as the source. The profile mapping fills in the - # keyword parameters of fiona.open. - with fiona.open("centroids.gpkg", "w", **profile) as dst: - - # Process only the feature records intersecting a box. - for feat in src.filter(bbox=(-107.0, 37.0, -105.0, 39.0)): - - # Get the feature's centroid. - centroid_shp = shape(feat.geometry).centroid - new_geom = Geometry.from_dict(centroid_shp) - - # Write the feature out. - dst.write( - Feature(geometry=new_geom, properties=f.properties) - ) - - # The destination's contents are flushed to disk and the file is - # closed when its with block ends. This effectively - # executes ``dst.flush(); dst.close()``. - -CLI Usage -========= - -Fiona's command line interface, named "fio", is documented at `docs/cli.rst -`__. The CLI has a -number of different commands. Its ``fio cat`` command streams GeoJSON features -from any dataset. - -.. code-block:: console - - $ fio cat --compact tests/data/coutwildrnp.shp | jq -c '.' - {"geometry":{"coordinates":[[[-111.73527526855469,41.995094299316406],...]]}} - ... - -Documentation -============= - -For more details about this project, please see: - -* Fiona `home page `__ -* `Docs and manual `__ -* `Examples `__ -* Main `user discussion group `__ -* `Developers discussion group `__ - -Changes -======= - -All issue numbers are relative to https://github.com/Toblerity/Fiona/issues. - -1.9.5 (2023-10-11) ------------------- - -Bug fixes: - -- Expand keys in schema mismatch exception, resolving #1278. -- Preserve the null properties and geometry of a Feature when serializing - (#1276). - -Packaging: - -* Builds now require Cython >= 3.0.2 (#1276). -* PyPI wheels include GDAL 3.6.4, PROJ 9.0.1, and GEOS 3.11.2. -* PyPI wheels include curl 8.4.0, addressing CVE-2023-38545 and CVE-38546. -* PyPI wheels are now available for Python 3.12. - -1.9.4.post1 (2023-05-23) ------------------------- - -Extraneous files were unintentionally packaged in the 1.9.4 wheels. This post1 -release excludes them so that wheel contents are as in version 1.9.3. - -1.9.4 (2023-05-16) ------------------- - -- The performance of Feature.from_dict() has been improved (#1267). -- Several sources of meaningless log messages from fiona._geometry about NULL - geometries are avoided (#1264). -- The Parquet driver has been added to the list of supported drivers and will - be available if your system's GDAL library links libarrow. Note that fiona - wheels on PyPI do not include libarrow as it is rather large. -- Ensure that fiona._vendor modules are found and included. -- Bytes type feature properties are now hex encoded when serializing to GeoJSON - (#1263). -- Docstrings for listdir and listlayers have been clarified and harmonized. -- Nose style test cases have been converted to unittest.TestCase (#1256). -- The munch package used by fio-filter and fio-calc is now vendored and patched - to remove usage of the deprecated pkg_resources module (#1255). - -1.9.3 (2023-04-10) ------------------- - -- Rasterio CRS objects are compatible with the Collection constructor and are - now accepted (#1248). -- Enable append mode for fio-load (#1237). -- Reading a GeoJSON with an empty array property can result in a segmentation - fault since version 1.9.0. This has been fixed (#1228). - -1.9.2 (2023-03-20) ------------------- - -- Get command entry points using importlib.metadata (#1220). -- Instead of warning, transform_geom() raises an exception when some points - can't be reprojected unless the caller opts in to partial reprojection. This - restores the behavior of version 1.8.22. -- Add support for open options to all CLI commands that call fiona.open - (#1215). -- Fix a memory leak that can occur when iterating over a dataset using strides - (#1205). -- ZipMemoryFile now supports zipped GDB data (#1203). - -1.9.1 (2023-02-09) ------------------- - -- Log a warning message when identically named fields are encountered (#1201). -- Avoid dependence on listdir order in tests (#1193). -- Prevent empty geometries arrays from appearing in __geo_interface__ (#1197). -- setuptools added to pyproject.toml. Its pkg_resources module is used by the - CLI (#1191). - -1.9.0 (2023-01-30) ------------------- - -- CITATION.txt has been replaced by a new CITATION.cff file and the credits - have been updated. -- In setup.py the distutils (deprecated) logger is no longer used. - -1.9b2 (2023-01-22) ------------------- - -- Add Feature.__geo_interface__ property (#1181). -- Invalid creation options are filtered and ignored (#1180). -- The readme doc has been shortened and freshened up, with a modern example for - version 1.9.0 (#1174). -- The Geometry class now provides and looks for __geo_interface__ (#1174). -- The top level fiona module now exports Feature, Geometry, and Properties - (#1174). -- Functions that take Feature or Geometry objects will continue to take dicts - or objects that provide __geo_interface__ (#1177). This reverses the - deprecation introduced in 1.9a2. -- Python ignores SIGPIPE by default. By never catching BrokenPipeError via - `except Exception` when, for example, piping the output of rio-shapes to - the Unix head program, we avoid getting an unhandled BrokenPipeError message - when the interpreter shuts down (#2689). - -1.9b1 (2022-12-13) ------------------- - -New features: - -* Add listdir and listlayers method to io.MemoryFile (resolving #754). -* Add support for TIN and triangle geometries (#1163). -* Add an allow_unsupported_drivers option to fiona.open() (#1126). -* Added support for the OGR StringList field type (#1141). - -Changes and bug fixes: - -* Missing and unused imports have been added or removed. -* Make sure that errors aren't lost when a collection can't be saved properly - (#1169). -* Ensure that ZipMemoryFile have the proper GDAL name after creation so that we - can use listdir() (#1092). -* The fiona._loading module, which supports DLL loading on Windows, - has been moved into __init__.py and is no longer used anywhere else (#1168). -* Move project metadata to pyproject.toml (#1165). -* Update drvsupport.py to reflect new format capabilities in GDAL 3.6.0 - (#1122). -* Remove debug logging from env and _env modules. - -1.9a3 (2022-10-17) ------------------- - -Packaging: - -* Builds now require Cython >= 0.29.29 because of -* https://github.com/cython/cython/issues/4609 (see #1143). -* PyPI wheels now include GDAL 3.5.2, PROJ 9.0.1, and GEOS 3.11.0. -* PyPI wheels are now available for Python 3.11. - -1.9a2 (2022-06-10) ------------------- - -Deprecations: - -- Fiona's API methods will accept feature and geometry dicts in 1.9.0, but this - usage is deprecated. Instances of Feature and Geometry will be required in - 2.0. -- The precision keyword argument of fiona.transform.transform_geom is - deprecated and will be removed in version 2.0. -- Deprecated usage has been eliminated in the project. Fiona's tests pass when - run with a -Werror::DeprecationWarning filter. - -Changes: - -- Fiona's FionaDeprecationWarning now sub-classes DeprecationWarning. -- Some test modules have beeen re-formatted using black. - -New features: - -- Fiona Collections now carry a context exit stack into which we can push fiona - Envs and MemoryFiles (#1059). -- Fiona has a new CRS class, like rasterio's, which is compatible with the CRS - dicts of previous versions (#714). - -1.9a1 (2022-05-19) ------------------- - -Deprecations: - -- The fiona.drivers() function has been deprecated and will be removed in - version 2.0. It should be replaced by fiona.Env(). -- The new fiona.meta module will be renamed to fiona.drivers in version 2.0. - -Packaging: - -- Source distributions contain no C source files and require Cython to create - them from .pyx files (#1096). - -Changes: - -- Shims for various versions of GDAL have been removed and are replaced by - Cython compilation conditions (#1093). -- Use of CURL_CA_BUNDLE environment variable is replaced by a more specific - GDAL/PROJ_CURL_CA_BUNDLE (#1095). -- Fiona's feature accessors now return instances of fiona.model.Feature instead - of Python dicts (#787). The Feature class is compatible with code that - expects GeoJSON-like dicts but also provides id, geometry, and properties - attributes. The last two of these are instances of fiona.model.Geometry and - fiona.model.Properties. -- GDAL 3.1.0 is the minimum GDAL version. -- Drop Python 2, and establish Python 3.7 as the minimum version (#1079). -- Remove six and reduce footprint of fiona.compat (#985). - -New features: - -- The appropriate format driver can be detected from filename in write mode (#948). -- Driver metadata including dataset open and dataset and layer creations - options are now exposed through methods of the fiona.meta module (#950). -- CRS WKT format support (#979). -- Add 'where' SQL clause to set attribute filter (#961, #1097). - -Bug fixes: - -- Env and Session classes have been updated for parity with rasterio and to - resolve a credential refresh bug (#1055). - -1.8.21 (2022-02-07) -------------------- - -Changes: - -- Driver mode support tests have been made more general and less susceptible to - driver quirks involving feature fields and coordinate values (#1060). -- OSError is raised on attempts to open a dataset in a Python file object in - "a" mode (see #1027). -- Upgrade attrs, cython, etc to open up Python 3.10 support (#1049). - -Bug fixes: - -- Allow FieldSkipLogFilter to handle exception messages as well as strings - (reported in #1035). -- Clean up VSI files left by MemoryFileBase, resolving #1041. -- Hard-coded "utf-8" collection encoding added in #423 has been removed - (#1057). - -1.8.20 (2021-05-31) -------------------- - -Packaging: - -- Wheels include GDAL 3.3.0 and GEOS 3.9.1. - -Bug fixes: - -- Allow use with click 8 and higher (#1015). - -1.8.19 (2021-04-07) -------------------- - -Packaging: - -- Wheels include GDAL 3.2.1 and PROJ 7.2.1. - -Bug fixes: - -- In fiona/env.py the GDAL data path is now configured using set_gdal_config - instead by setting the GDAL_DATA environment variable (#1007). -- Spurious iterator reset warnings have been eliminatged (#987). - -1.8.18 (2020-11-17) -------------------- - -- The precision option of transform has been fixed for the case of - GeometryCollections (#971, #972). -- Added missing --co (creation) option to fio-load (#390). -- If the certifi package can be imported, its certificate store location will - be passed to GDAL during import of fiona._env unless CURL_CA_BUNDLE is - already set. -- Warn when feature fields named "" are found (#955). - -1.8.17 (2020-09-09) -------------------- - -- To fix issue #952 the fio-cat command no longer cuts feature geometries at - the anti-meridian by default. A --cut-at-antimeridian option has been added - to allow cutting of geometries in a geographic destination coordinate - reference system. - -1.8.16 (2020-09-04) -------------------- - -- More OGR errors and warnings arising in calls to GDAL C API functions are - surfaced (#946). -- A circular import introduced in some cases in 1.8.15 has been fixed (#945). - -1.8.15 (2020-09-03) -------------------- - -- Change shim functions to not return tuples (#942) as a solution for the - packaging problem reported in #941. -- Raise a Python exception when VSIFOpenL fails (#937). - -1.8.14 (2020-08-31) -------------------- - -- When creating a new Collection in a MemoryFile with a default (random) name - Fiona will attempt to use a format driver-supported file extension (#934). - When initializing a MemoryFile with bytes of data formatted for a vector - driver that requires a certain file name or extension, the user should - continue to pass an appropriate filename and/or extension. -- Read support for FlatGeobuf has been enabled in the drvsupport module. -- The MemoryFile implementation has been improved so that it can support multi-part - S3 downloads (#906). This is largely a port of code from rasterio. -- Axis ordering for results of fiona.transform was wrong when CRS were passed - in the "EPSG:dddd" form (#919). This has been fixed by (#926). -- Allow implicit access to the only dataset in a ZipMemoryFile. The path - argument of ZipMemoryFile.open() is now optional (#928). -- Improve support for datetime types: support milliseconds (#744), timezones (#914) - and improve warnings if type is not supported by driver (#572). -- Fix "Failed to commit transaction" TransactionError for FileGDB driver. -- Load GDAL DLL dependencies on Python 3.8+ / Windows with add_dll_directory() (#851). -- Do not require optional properties (#848). -- Ensure that slice does not overflow available data (#884). -- Resolve issue when "ERROR 4: Unable to open EPSG support file gcs.csv." is raised on - importing fiona (#897). -- Resolve issue resulting in possible mixed up fields names (affecting only DXF, GPX, - GPSTrackMacker and DGN driver) (#916). -- Ensure crs_wkt is passed when writing to MemoryFile (#907). - - -1.8.13.post1 (2020-02-21) -------------------------- - -- This release is being made to improve binary wheel compatibility with shapely - 1.7.0. There have been no changes to the fiona package code since 1.8.13. - -1.8.13 (2019-12-05) -------------------- - -- The Python version specs for argparse and ordereddict in 1.8.12 were wrong - and have been corrected (#843). - -1.8.12 (2019-12-04) -------------------- - -- Specify Python versions for argparse, enum34, and ordereddict requirements - (#842). - -1.8.11 (2019-11-07) -------------------- - -- Fix an access violation on Windows (#826). - -1.8.10 (2019-11-07) -------------------- - -Deprecations: - -- Use of vfs keyword argument with open or listlayers has been previously noted - as deprecated, but now triggers a deprecation warning. - -Bug fixes: - -- fiona.open() can now create new datasets using CRS URNs (#823). -- listlayers() now accepts file and Path objects, like open() (#825). -- Use new set_proj_search_path() function to set the PROJ data search path. For - GDAL versions before 3.0 this sets the PROJ_LIB environment variable. For - GDAL version 3.0 this calls OSRSetPROJSearchPaths(), which overrides - PROJ_LIB. -- Remove old and unused _drivers extension module. -- Check for header.dxf file instead of pcs.csv when looking for installed GDAL - data. The latter is gone with GDAL 3.0 but the former remains (#818). - -1.8.9.post2 (2019-10-22) ------------------------- - -- The 1.8.9.post1 release introduced a bug affecting builds of the package from - a source distribution using GDAL 2.x. This bug has been fixed in commit - 960568d. - -1.8.9.post1 (2019-10-22) ------------------------- - -- A change has been made to the package setup script so that the shim module - for GDAL 3 is used when building the package from a source distribution. - There are no other changes to the package. - -1.8.9 (2019-10-21) ------------------- - -- A shim module and support for GDAL 3.0 has been added. The package can now be - built and used with GDAL 3.0 and PROJ 6.1 or 6.2. Note that the 1.8.9 wheels - we will upload to PyPI will contain GDAL 2.4.2 and PROJ 4.9.3 as in the 1.8.8 - wheels. - -1.8.8 (2019-09-25) ------------------- - -- The schema of geopackage files with a geometry type code of 3000 could not be - reported using Fiona 1.8.7. This bug is fixed. - -1.8.7 (2019-09-24) ------------------- - -Bug fixes: - -- Regression in handling of polygons with M values noted under version 1.8.5 - below was in fact not fixed then (see new report #789), but is fixed in - version 1.8.7. -- Windows filenames containing "!" are now parsed correctly, fixing issue #742. - -Upcoming changes: - -- In version 1.9.0, the objects yielded when a Collection is iterated will be - mutable mappings but will no longer be instances of Python's dict. Version - 1.9 is intended to be backwards compatible with 1.8 except where user code - tests `isinstance(feature, dict)`. In version 2.0 the new Feature, Geometry, - and Properties classes will become immutable mappings. See - https://github.com/Toblerity/fiona-rfc/blob/master/rfc/0001-fiona-2-0-changes.md - for more discussion of the upcoming changes for version 2.0. - -1.8.6 (2019-03-18) ------------------- - -- The advertisement for JSON driver enablement in 1.8.5 was false (#176), but - in this release they are ready for use. - -1.8.5 (2019-03-15) ------------------- - -- GDAL seems to work best if GDAL_DATA is set as early as possible. Ideally it - is set when building the library or in the environment before importing - Fiona, but for wheels we patch GDAL_DATA into os.environ when fiona.env - is imported. This resolves #731. -- A combination of bugs which allowed .cpg files to be overlooked has been - fixed (#726). -- On entering a collection context (Collection.__enter__) a new anonymous GDAL - environment is created if needed and entered. This makes `with - fiona.open(...) as collection:` roughly equivalent to `with fiona.open(...) - as collection, Env():`. This helps prevent bugs when Collections are created - and then used later or in different scopes. -- Missing GDAL support for TopoJSON, GeoJSONSeq, and ESRIJSON has been enabled - (#721). -- A regression in handling of polygons with M values (#724) has been fixed. -- Per-feature debug logging calls in OGRFeatureBuilder methods have been - eliminated to improve feature writing performance (#718). -- Native support for datasets in Google Cloud Storage identified by "gs" - resource names has been added (#709). -- Support has been added for triangle, polyhedral surface, and TIN geometry - types (#679). -- Notes about using the MemoryFile and ZipMemoryFile classes has been added to - the manual (#674). - -1.8.4 (2018-12-10) ------------------- - -- 3D geometries can now be transformed with a specified precision (#523). -- A bug producing a spurious DriverSupportError for Shapefiles with a "time" - field (#692) has been fixed. -- Patching of the GDAL_DATA environment variable was accidentally left in place - in 1.8.3 and now has been removed. - -1.8.3 (2018-11-30) ------------------- - -- The RASTERIO_ENV config environment marker this project picked up from - Rasterio has been renamed to FIONA_ENV (#665). -- Options --gdal-data and --proj-data have been added to the fio-env command so - that users of Rasterio wheels can get paths to set GDAL_DATA and PROJ_LIB - environment variables. -- The unsuccessful attempt to make GDAL and PROJ support file discovery and - configuration automatic within collection's crs and crs_wkt properties has - been reverted. Users must execute such code inside a `with Env()` block or - set the GDAL_DATA and PROJ_LIB environment variables needed by GDAL. - -1.8.2 (2018-11-19) ------------------- - -Bug fixes: - -- Raise FionaValueError when an iterator's __next__ is called and the session - is found to be missing or inactive instead of passing a null pointer to - OGR_L_GetNextFeature (#687). - -1.8.1 (2018-11-15) ------------------- - -Bug fixes: - -- Add checks around OSRGetAuthorityName and OSRGetAuthorityCode calls that will - log problems with looking up these items. -- Opened data sources are now released before we raise exceptions in - WritingSession.start (#676). This fixes an issue with locked files on - Windows. -- We now ensure that an Env instance exists when getting the crs or crs_wkt - properties of a Collection (#673, #690). Otherwise, required GDAL and PROJ - data files included in Fiona wheels can not be found. -- GDAL and PROJ data search has been refactored to improve testability (#678). -- In the project's Cython code, void* pointers have been replaced with proper - GDAL types (#672). -- Pervasive warning level log messages about ENCODING creation options (#668) - have been eliminated. - -1.8.0 (2018-10-31) ------------------- - -This is the final 1.8.0 release. Thanks, everyone! - -Bug fixes: - -- We cpdef Session.stop so that it has a C version that can be called safely - from __dealloc__, fixing a PyPy issue (#659, #553). - -1.8rc1 (2018-10-26) -------------------- - -There are no changes in 1.8rc1 other than more test standardization and the -introduction of a temporary test_collection_legacy.py module to support the -build of fully tested Python 2.7 macosx wheels on Travis-CI. - -1.8b2 (2018-10-23) ------------------- - -Bug fixes: - -- The ensure_env_with_credentials decorator will no longer clobber credentials - of the outer environment. This fixes a bug reported to the Rasterio project - and which also existed in Fiona. -- An unused import of the packaging module and the dependency have been - removed (#653). -- The Env class logged to the 'rasterio' hierarchy instead of 'fiona'. This - mistake has been corrected (#646). -- The Mapping abstract base class is imported from collections.abc when - possible (#647). - -Refactoring: - -- Standardization of the tests on pytest functions and fixtures continues and - is nearing completion (#648, #649, #650, #651, #652). - -1.8b1 (2018-10-15) ------------------- - -Deprecations: - -- Collection slicing has been deprecated and will be prohibited in a future - version. - -Bug fixes: - -- Rasterio CRS objects passed to transform module methods will be converted - to dicts as needed (#590). -- Implicitly convert curve geometries to their linear approximations rather - than failing (#617). -- Migrated unittest test cases in test_collection.py and test_layer.py to the - use of the standard data_dir and path_coutwildrnp_shp fixtures (#616). -- Root logger configuration has been removed from all test scripts (#615). -- An AWS session is created for the CLI context Env only if explicitly - requested, matching the behavior of Rasterio's CLI (#635). -- Dependency on attrs is made explicit. -- Other dependencies are pinned to known good versions in requirements files. -- Unused arguments have been removed from the Env constructor (#637). - -Refactoring: - -- A with_context_env decorator has been added and used to set up the GDAL - environment for CLI commands. The command functions themselves are now - simplified. - -1.8a3 (2018-10-01) ------------------- - -Deprecations: - -- The ``fiona.drivers()`` context manager is officially deprecated. All - users should switch to ``fiona.Env()``, which registers format drivers and - manages GDAL configuration in a reversible manner. - -Bug fixes: - -- The Collection class now filters log messages about skipped fields to - a maximum of one warning message per field (#627). -- The boto3 module is only imported when needed (#507, #629). -- Compatibility with Click 7.0 is achieved (#633). -- Use of %r instead of %s in a debug() call prevents UnicodeDecodeErrors - (#620). - -1.8a2 (2018-07-24) ------------------- - -New features: - -- 64-bit integers are the now the default for int type fields (#562, #564). -- 'http', 's3', 'zip+http', and 'zip+s3' URI schemes for datasets are now - supported (#425, #426). -- We've added a ``MemoryFile`` class which supports formatted in-memory - feature collections (#501). -- Added support for GDAL 2.x boolean field sub-type (#531). -- A new ``fio rm`` command makes it possible to cleanly remove multi-file - datasets (#538). -- The geometry type in a feature collection is more flexible. We can now - specify not only a single geometry type, but a sequence of permissible types, - or "Any" to permit any geometry type (#539). -- Support for GDAL 2.2+ null fields has been added (#554). -- The new ``gdal_open_vector()`` function of our internal API provides much - improved error handling (#557). - -Bug fixes: - -- The bug involving OrderedDict import on Python 2.7 has been fixed (#533). -- An ``AttributeError`` raised when the ``--bbox`` option of fio-cat is used - with more than one input file has been fixed (#543, #544). -- Obsolete and derelict fiona.tool module has been removed. -- Revert the change in 0a2bc7c that discards Z in geometry types when a - collection's schema is reported (#541). -- Require six version 1.7 or higher (#550). -- A regression related to "zip+s3" URIs has been fixed. -- Debian's GDAL data locations are now searched by default (#583). - -1.8a1 (2017-11-06) ------------------- - -New features: - -- Each call of ``writerecords()`` involves one or more transactions of up to - 20,000 features each. This improves performance when writing GeoPackage files - as the previous transaction size was only 200 features (#476, #491). - -Packaging: - -- Fiona's Cython source files have been refactored so that there are no longer - separate extension modules for GDAL 1.x and GDAL 2.x. Instead there is a base - extension module based on GDAL 2.x and shim modules for installations that - use GDAL 1.x. - -1.7.11.post1 (2018-01-08) -------------------------- - -- This post-release adds missing expat (and thereby GPX format) support to - the included GDAL library (still version 2.2.2). - -1.7.11 (2017-12-14) -------------------- - -- The ``encoding`` keyword argument for ``fiona.open()``, which is intended - to allow a caller to override a data source's own and possibly erroneous - encoding, has not been working (#510, #512). The problem is that we weren't - always setting GDAL open or config options before opening the data sources. - This bug is resolved by a number of commits in the maint-1.7 branch and - the fix is demonstrated in tests/test_encoding.py. -- An ``--encoding`` option has been added to fio-load to enable creation of - encoded shapefiles with an accompanying .cpg file (#499, #517). - -1.7.10.post1 (2017-10-30) -------------------------- - -- A post-release has been made to fix a problem with macosx wheels uploaded - to PyPI. - -1.7.10 (2017-10-26) -------------------- - -Bug fixes: - -- An extraneous printed line from the ``rio cat --layers`` validator has been - removed (#478). - -Packaging: - -- Official OS X and Manylinux1 wheels (on PyPI) for this release will be - compatible with Shapely 1.6.2 and Rasterio 1.0a10 wheels. - -1.7.9.post1 (2017-08-21) ------------------------- - -This release introduces no changes in the Fiona package. It upgrades GDAL -from 2.2.0 to 2.2.1 in wheels that we publish to the Python Package Index. - -1.7.9 (2017-08-17) ------------------- - -Bug fixes: - -- Acquire the GIL for GDAL error callback functions to prevent crashes when - GDAL errors occur when the GIL has been released by user code. -- Sync and flush layers when closing even when the number of features is not - precisely known (#467). - -1.7.8 (2017-06-20) ------------------- - -Bug fixes: - -- Provide all arguments needed by CPLError based exceptions (#456). - -1.7.7 (2017-06-05) ------------------- - -Bug fixes: - -- Switch logger `warn()` (deprecated) calls to `warning()`. -- Replace all relative imports and cimports in Cython modules with absolute - imports (#450). -- Avoid setting `PROJ_LIB` to a non-existent directory (#439). - -1.7.6 (2017-04-26) ------------------- - -Bug fixes: - -- Fall back to `share/proj` for PROJ_LIB (#440). -- Replace every call to `OSRDestroySpatialReference()` with `OSRRelease()`, - fixing the GPKG driver crasher reported in #441 (#443). -- Add a `DriverIOError` derived from `IOError` to use for driver-specific - errors such as the GeoJSON driver's refusal to overwrite existing files. - Also we now ensure that when this error is raised by `fiona.open()` any - created read or write session is deleted, this eliminates spurious - exceptions on teardown of broken `Collection` objects (#437, #444). - -1.7.5 (2017-03-20) ------------------- - -Bug fixes: - -- Opening a data file in read (the default) mode with `fiona.open()` using the - the `driver` or `drivers` keyword arguments (to specify certain format - drivers) would sometimes cause a crash on Windows due to improperly - terminated lists of strings (#428). The fix: Fiona's buggy `string_list()` - has been replaced by GDAL's `CSLAddString()`. - -1.7.4 (2017-02-20) ------------------- - -Bug fixes: - -- OGR's EsriJSON detection fails when certain keys aren't found in the first - 6000 bytes of data passed to `BytesCollection` (#422). A .json file extension - is now explicitly given to the in-memory file behind `BytesCollection` when - the `driver='GeoJSON'` keyword argument is given (#423). - -1.7.3 (2017-02-14) ------------------- - -Roses are red. -Tan is a pug. -Software regression's -the most embarrassing bug. - -Bug fixes: - -- Use __stdcall for GDAL error handling callback on Windows as in Rasterio. -- Turn on latent support for zip:// URLs in rio-cat and rio-info (#421). -- The 1.7.2 release broke support for zip files with absolute paths (#418). - This regression has been fixed with tests to confirm. - -1.7.2 (2017-01-27) ------------------- - -Future Deprecation: - -- `Collection.__next__()` is buggy in that it can lead to duplication of - features when used in combination with `Collection.filter()` or - `Collection.__iter__()`. It will be removed in Fiona 2.0. Please check for - usage of this deprecated feature by running your tests or programs with - `PYTHONWARNINGS="always:::fiona"` or `-W"always:::fiona"` and switch from - `next(collection)` to `next(iter(collection))` (#301). - -Bug fix: - -- Zipped streams of bytes can be accessed by `BytesCollection` (#318). - -1.7.1.post1 (2016-12-23) ------------------------- -- New binary wheels using version 1.2.0 of sgillies/frs-wheel-builds. See - https://github.com/sgillies/frs-wheel-builds/blob/master/CHANGES.txt. - -1.7.1 (2016-11-16) ------------------- - -Bug Fixes: - -- Prevent Fiona from stumbling over 'Z', 'M', and 'ZM' geometry types - introduced in GDAL 2.1 (#384). Fiona 1.7.1 doesn't add explicit support for - these types, they are coerced to geometry types 1-7 ('Point', 'LineString', - etc.) -- Raise an `UnsupportedGeometryTypeError` when a bogus or unsupported - geometry type is encountered in a new collection's schema or elsewhere - (#340). -- Enable `--precision 0` for fio-cat (#370). -- Prevent datetime exceptions from unnecessarily stopping collection iteration - by yielding `None` (#385) -- Replace log.warn calls with log.warning calls (#379). -- Print an error message if neither gdal-config or `--gdalversion` indicate - a GDAL C API version when running `setup.py` (#364). -- Let dict-like subclasses through CRS type checks (#367). - -1.7.0post2 (2016-06-15) ------------------------ - -Packaging: define extension modules for 'clean' and 'config' targets (#363). - -1.7.0post1 (2016-06-15) ------------------------ - -Packaging: No files are copied for the 'clean' setup target (#361, #362). - -1.7.0 (2016-06-14) ------------------- - -The C extension modules in this library can now be built and used with either -a 1.x or 2.x release of the GDAL library. Big thanks to René Buffat for -leading this effort. - -Refactoring: - -- The `ogrext1.pyx` and `ogrext2.pyx` files now use separate - C APIs defined in `ogrext1.pxd` and `ogrex2.pxd`. The other extension - modules have been refactored so that they do not depend on either of these - modules and use subsets of the GDAL/OGR API compatible with both GDAL 1.x and - 2.x (#359). - -Packaging: - -- Source distributions now contain two different sources for the - `ogrext` extension module. The `ogrext1.c` file will be used with GDAL 1.x - and the `ogrext2.c` file will be used with GDAL 2.x. - -1.7b2 (2016-06-13) ------------------- - -- New feature: enhancement of the `--layer` option for fio-cat and fio-dump - to allow separate layers of one or more multi-layer input files to be - selected (#349). - -1.7b1 (2016-06-10) ------------------- - -- New feature: support for GDAL version 2+ (#259). -- New feature: a new fio-calc CLI command (#273). -- New feature: `--layer` options for fio-info (#316) and fio-load (#299). -- New feature: a `--no-parse` option for fio-collect that lets a careful user - avoid extra JSON serialization and deserialization (#306). -- Bug fix: `+wktext` is now preserved when serializing CRS from WKT to PROJ.4 - dicts (#352). -- Bug fix: a small memory leak when opening a collection has been fixed (#337). -- Bug fix: internal unicode errors now result in a log message and a - `UnicodeError` exception, not a `TypeError` (#356). - -1.6.4 (2016-05-06) ------------------- -- Raise ImportError if the active GDAL library version is >= 2.0 instead of - failing unpredictably (#338, #341). Support for GDAL>=2.0 is coming in - Fiona 1.7. - -1.6.3.post1 (2016-03-27) ------------------------- -- No changes to the library in this post-release version, but there is a - significant change to the distributions on PyPI: to help make Fiona more - compatible with Shapely on OS X, the GDAL shared library included in the - macosx (only) binary wheels now statically links the GEOS library. See - https://github.com/sgillies/frs-wheel-builds/issues/5. - -1.6.3 (2015-12-22) ------------------- -- Daytime has been decreasing in the Northern Hemisphere, but is now - increasing again as it should. -- Non-UTF strings were being passed into OGR functions in some situations - and on Windows this would sometimes crash a Python process (#303). Fiona - now raises errors derived from UnicodeError when field names or field - values can't be encoded. - -1.6.2 (2015-09-22) ------------------- -- Providing only PROJ4 representations in the dataset meta property resulted in - loss of CRS information when using the `fiona.open(..., **src.meta) as dst` - pattern (#265). This bug has been addressed by adding a crs_wkt item to the` - meta property and extending the `fiona.open()` and the collection constructor - to look for and prioritize this keyword argument. - -1.6.1 (2015-08-12) ------------------- -- Bug fix: Fiona now deserializes JSON-encoded string properties provided by - the OGR GeoJSON driver (#244, #245, #246). -- Bug fix: proj4 data was not copied properly into binary distributions due to - a typo (#254). - -Special thanks to WFMU DJ Liz Berg for the awesome playlist that's fueling my -release sprint. Check it out at https://wfmu.org/playlists/shows/62083. You -can't unhear Love Coffin. - -1.6.0 (2015-07-21) ------------------- -- Upgrade Cython requirement to 0.22 (#214). -- New BytesCollection class (#215). -- Add GDAL's OpenFileGDB driver to registered drivers (#221). -- Implement CLI commands as plugins (#228). -- Raise click.abort instead of calling sys.exit, preventing suprising exits - (#236). - -1.5.1 (2015-03-19) ------------------- -- Restore test data to sdists by fixing MANIFEST.in (#216). - -1.5.0 (2015-02-02) ------------------- -- Finalize GeoJSON feature sequence options (#174). -- Fix for reading of datasets that don't support feature counting (#190). -- New test dataset (#188). -- Fix for encoding error (#191). -- Remove confusing warning (#195). -- Add data files for binary wheels (#196). -- Add control over drivers enabled when reading datasets (#203). -- Use cligj for CLI options involving GeoJSON (#204). -- Fix fio-info --bounds help (#206). - -1.4.8 (2014-11-02) ------------------- -- Add missing crs_wkt property as in Rasterio (#182). - -1.4.7 (2014-10-28) ------------------- -- Fix setting of CRS from EPSG codes (#149). - -1.4.6 (2014-10-21) ------------------- -- Handle 3D coordinates in bounds() #178. - -1.4.5 (2014-10-18) ------------------- -- Add --bbox option to fio-cat (#163). -- Skip geopackage tests if run from an sdist (#167). -- Add fio-bounds and fio-distrib. -- Restore fio-dump to working order. - -1.4.4 (2014-10-13) ------------------- -- Fix accidental requirement on GDAL 1.11 introduced in 1.4.3 (#164). - -1.4.3 (2014-10-10) ------------------- -- Add support for geopackage format (#160). -- Add -f and --format aliases for --driver in CLI (#162). -- Add --version option and env command to CLI. - -1.4.2 (2014-10-03) ------------------- -- --dst-crs and --src-crs options for fio cat and collect (#159). - -1.4.1 (2014-09-30) ------------------- -- Fix encoding bug in collection's __getitem__ (#153). - -1.4.0 (2014-09-22) ------------------- -- Add fio cat and fio collect commands (#150). -- Return of Python 2.6 compatibility (#148). -- Improved CRS support (#149). - -1.3.0 (2014-09-17) ------------------- -- Add single metadata item accessors to fio inf (#142). -- Move fio to setuptools entry point (#142). -- Add fio dump and load commands (#143). -- Remove fio translate command. - -1.2.0 (2014-09-02) ------------------- -- Always show property width and precision in schema (#123). -- Write datetime properties of features (#125). -- Reset spatial filtering in filter() (#129). -- Accept datetime.date objects as feature properties (#130). -- Add slicing to collection iterators (#132). -- Add geometry object masks to collection iterators (#136). -- Change source layout to match Shapely and Rasterio (#138). - -1.1.6 (2014-07-23) ------------------- -- Implement Collection __getitem__() (#112). -- Leave GDAL finalization to the DLL's destructor (#113). -- Add Collection keys(), values(), items(), __contains__() (#114). -- CRS bug fix (#116). -- Add fio CLI program. - -1.1.5 (2014-05-21) ------------------- -- Addition of cpl_errs context manager (#108). -- Check for NULLs with '==' test instead of 'is' (#109). -- Open auxiliary files with encoding='utf-8' in setup for Python 3 (#110). - -1.1.4 (2014-04-03) ------------------- -- Convert 'long' in schemas to 'int' (#101). -- Carefully map Python schema to the possibly munged internal schema (#105). -- Allow writing of features with geometry: None (#71). - -1.1.3 (2014-03-23) ------------------- -- Always register all GDAL and OGR drivers when entering the DriverManager - context (#80, #92). -- Skip unsupported field types with a warning (#91). -- Allow OGR config options to be passed to fiona.drivers() (#90, #93). -- Add a bounds() function (#100). -- Turn on GPX driver. - -1.1.2 (2014-02-14) ------------------- -- Remove collection slice left in dumpgj (#88). - -1.1.1 (2014-02-02) ------------------- -- Add an interactive file inspector like the one in rasterio. -- CRS to_string bug fix (#83). - -1.1 (2014-01-22) ----------------- -- Use a context manager to manage drivers (#78), a backwards compatible but - big change. Fiona is now compatible with rasterio and plays better with the - osgeo package. - -1.0.3 (2014-01-21) ------------------- -- Fix serialization of +init projections (#69). - -1.0.2 (2013-09-09) ------------------- -- Smarter, better test setup (#65, #66, #67). -- Add type='Feature' to records read from a Collection (#68). -- Skip geometry validation when using GeoJSON driver (#61). -- Dumpgj file description reports record properties as a list (as in - dict.items()) instead of a dict. - -1.0.1 (2013-08-16) ------------------- -- Allow ordering of written fields and preservation of field order when - reading (#57). - -1.0 (2013-07-30) ------------------ -- Add prop_type() function. -- Allow UTF-8 encoded paths for Python 2 (#51). For Python 3, paths must - always be str, never bytes. -- Remove encoding from collection.meta, it's a file creation option only. -- Support for linking GDAL frameworks (#54). - -0.16.1 (2013-07-02) -------------------- -- Add listlayers, open, prop_width to __init__py:__all__. -- Reset reading of OGR layer whenever we ask for a collection iterator (#49). - -0.16 (2013-06-24) ------------------ -- Add support for writing layers to multi-layer files. -- Add tests to reach 100% Python code coverage. - -0.15 (2013-06-06) ------------------ -- Get and set numeric field widths (#42). -- Add support for multi-layer data sources (#17). -- Add support for zip and tar virtual filesystems (#45). -- Add listlayers() function. -- Add GeoJSON to list of supported formats (#47). -- Allow selection of layers by index or name. - -0.14 (2013-05-04) ------------------ -- Add option to add JSON-LD in the dumpgj program. -- Compare values to six.string_types in Collection constructor. -- Add encoding to Collection.meta. -- Document dumpgj in README. - -0.13 (2013-04-30) ------------------ -- Python 2/3 compatibility in a single package. Pythons 2.6, 2.7, 3.3 now supported. - -0.12.1 (2013-04-16) -------------------- -- Fix messed up linking of README in sdist (#39). - -0.12 (2013-04-15) ------------------ -- Fix broken installation of extension modules (#35). -- Log CPL errors at their matching Python log levels. -- Use upper case for encoding names within OGR, lower case in Python. - -0.11 (2013-04-14) ------------------ -- Cythonize .pyx files (#34). -- Work with or around OGR's internal recoding of record data (#35). -- Fix bug in serialization of int/float PROJ.4 params. - -0.10 (2013-03-23) ------------------ -- Add function to get the width of str type properties. -- Handle validation and schema representation of 3D geometry types (#29). -- Return {'geometry': None} in the case of a NULL geometry (#31). - -0.9.1 (2013-03-07) ------------------- -- Silence the logger in ogrext.so (can be overridden). -- Allow user specification of record field encoding (like 'Windows-1252' for - Natural Earth shapefiles) to help when OGR can't detect it. - -0.9 (2013-03-06) ----------------- -- Accessing file metadata (crs, schema, bounds) on never inspected closed files - returns None without exceptions. -- Add a dict of supported_drivers and their supported modes. -- Raise ValueError for unsupported drivers and modes. -- Remove asserts from ogrext.pyx. -- Add validate_record method to collections. -- Add helpful coordinate system functions to fiona.crs. -- Promote use of fiona.open over fiona.collection. -- Handle Shapefile's mix of LineString/Polygon and multis (#18). -- Allow users to specify width of shapefile text fields (#20). - -0.8 (2012-02-21) ----------------- -- Replaced .opened attribute with .closed (product of collection() is always - opened). Also a __del__() which will close a Collection, but still not to be - depended upon. -- Added writerecords method. -- Added a record buffer and better counting of records in a collection. -- Manage one iterator per collection/session. -- Added a read-only bounds property. - -0.7 (2012-01-29) ----------------- -- Initial timezone-naive support for date, time, and datetime fields. Don't use - these field types if you can avoid them. RFC 3339 datetimes in a string field - are much better. - -0.6.2 (2012-01-10) ------------------- -- Diagnose and set the driver property of collection in read mode. -- Fail if collection paths are not to files. Multi-collection workspaces are - a (maybe) TODO. - -0.6.1 (2012-01-06) ------------------- -- Handle the case of undefined crs for disk collections. - -0.6 (2012-01-05) ----------------- -- Support for collection coordinate reference systems based on Proj4. -- Redirect OGR warnings and errors to the Fiona log. -- Assert that pointers returned from the ograpi functions are not NULL before - using. - -0.5 (2011-12-19) ----------------- -- Support for reading and writing collections of any geometry type. -- Feature and Geometry classes replaced by mappings (dicts). -- Removal of Workspace class. - -0.2 (2011-09-16) ----------------- -- Rename WorldMill to Fiona. - -0.1.1 (2008-12-04) ------------------- -- Support for features with no geometry. - - -Credits -======= - -Fiona is written by: - -- Alan D. Snow -- Ariel Nunez -- Ariki -- Bas Couwenberg -- Brandon Liu -- Brendan Ward -- Chris Mutel -- Denis Rykov -- dimlev -- Efrén -- Egor Fedorov -- Elliott Sales de Andrade -- Even Rouault -- Ewout ter Hoeven -- Filipe Fernandes -- fredj -- Géraud -- Hannes Gräuler -- Jacob Wasserman -- Jesse Crocker -- Johan Van de Wauw -- Joris Van den Bossche -- Joshua Arnott -- Juan Luis Cano Rodríguez -- Kelsey Jordahl -- Kevin Wurster -- Ludovic Delauné -- Martijn Visser -- Matthew Perry -- Micah Cochran -- Michael Weisman -- Michele Citterio -- Mike Taves -- Miro HronÄok -- Oliver Tonnhofer -- Patrick Young -- qinfeng -- René Buffat -- Ryan Grout -- Sean Gillies -- Sid Kapur -- Simon Norris -- Stefano Costa -- Stephane Poss -- Tim Tröndle -- wilsaj - -The GeoPandas project (Joris Van den Bossche et al.) has been a major driver -for new features in 1.8.0. - -Fiona would not be possible without the great work of Frank Warmerdam and other -GDAL/OGR developers. - -Some portions of this work were supported by a grant (for Pleiades_) from the -U.S. National Endowment for the Humanities (https://www.neh.gov). - -.. _Pleiades: https://pleiades.stoa.org diff --git a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/RECORD b/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/RECORD deleted file mode 100644 index c49bd2a3..00000000 --- a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/RECORD +++ /dev/null @@ -1,279 +0,0 @@ -../../../bin/fio,sha256=8HxDC8aXISaXCbEKD5zySVqZ18Iou69FVEMZLFNObfM,266 -fiona-1.9.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -fiona-1.9.5.dist-info/LICENSE.txt,sha256=8hUThE5dJ0xiUNbW3FpWenWoGKuXghiWxBbcNDr4r1E,1519 -fiona-1.9.5.dist-info/METADATA,sha256=rlnF_LgUwn3GVu5t49a_GeuzqTyzPHqNsVhBGrhJra8,49743 -fiona-1.9.5.dist-info/RECORD,, -fiona-1.9.5.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -fiona-1.9.5.dist-info/WHEEL,sha256=WTKl4wj0IG-V50QhqcNeF-zJHWf-CqYXlOYuEmWhOf4,113 -fiona-1.9.5.dist-info/entry_points.txt,sha256=P0HCZYz2AriGiELWNFgEzXfJIZqs-oxNJEWp0i6eLIk,435 -fiona-1.9.5.dist-info/top_level.txt,sha256=y4VuMwkgZXN48JxZuwWNUtIXZp0iGHDUMioEOiHdX1A,6 -fiona.libs/libcrypto-fiona-a47f99c8.so.1.1,sha256=sAvk7WhMlwK13rOWT4zxyCybRAmas9lFNNGSxfrRwTk,3477177 -fiona.libs/libcurl-fiona-4ac9f96f.so.4.8.0,sha256=KhS1D5EsxQh_a8mHVOQc0i6a_oYOnOfAO2l9NBb8bXw,725025 -fiona.libs/libexpat-fiona-7e7d8668.so.1.6.8,sha256=VZFKUCxlFRY_RDRfru2y07DczKsXx2Tj5g_tTxahVsY,220041 -fiona.libs/libgdal-fiona-cadf08fa.so.32.3.6.4,sha256=-aPw2VXb9PJBlSoL9NES5Rs9UXspeozsuZDfGQ2olr0,21314337 -fiona.libs/libgeos-fiona-d914d573.so.3.11.2,sha256=sQG3J01xFLwFuz5GOZoO0t2pd4glr8zpgWqkPeebFks,3281225 -fiona.libs/libgeos_c-fiona-3b303efa.so.1.17.2,sha256=uyUmFBFgccFPkw_afWXF4dIA9-A98swp1n_Qqbezmkc,365505 -fiona.libs/libjpeg-fiona-82e9a1fb.so.9.3.0,sha256=r0RY934ktC505PQ0yidY-FC1NBlrEi_3yOX3svWeufM,344681 -fiona.libs/libjson-c-fiona-b8129721.so.5.1.0,sha256=bAGA0W2lF3chgjIL5RvY0QRLNJ1hmn3NhXDwsZUOP7I,94913 -fiona.libs/libnghttp2-fiona-e183d352.so.14.21.1,sha256=PeY7s9cK6f2lo1WJv0VuArYLcher4PLc6OoFRiGhff8,215929 -fiona.libs/libpcre-fiona-9513aab5.so.1.2.0,sha256=3S-rEW8CrL96XhMJ-sFb2PuoScdk8x1lBWYhisIJ1JU,406825 -fiona.libs/libpng16-fiona-8ebcc106.so.16.35.0,sha256=I3aCZTpCfPhbfH_vWDWsZWhRJ6irzvwdoLVdIyOJr8g,283953 -fiona.libs/libproj-fiona-d76c87e1.so.25.9.0.1,sha256=ynG2iYQuHx0ze-l3Ya84yDw1ekgSrhbOowdxUWd_4tc,4595921 -fiona.libs/libsqlite3-fiona-83998bda.so.0.8.6,sha256=RMVchNDyPErt8plye3ruB7S_nd8k6YLj5frjpLKz2tU,1431689 -fiona.libs/libssl-fiona-6c758070.so.1.1,sha256=Byrs7svN2MvNzqVcyfup-JE63rbDCAFwZ2Sz1AF-tmc,764849 -fiona.libs/libtiff-fiona-104e144c.so.5.7.0,sha256=jrL90zdme_5-7Cr1qMH9d1vPO2KZkJTfcHdkG2l53ow,669313 -fiona.libs/libz-fiona-4e3ca1c7.so.1.2.7,sha256=SFS7oXGr9NMDFBjuzXots3m9uNd48HsLLgeH0i33wmA,96281 -fiona/__init__.py,sha256=do3IlgzS2M0Uy38o_fhCRepTTxi5q1w_Zj59UnwQ04g,15257 -fiona/__pycache__/__init__.cpython-312.pyc,, -fiona/__pycache__/_show_versions.cpython-312.pyc,, -fiona/__pycache__/collection.cpython-312.pyc,, -fiona/__pycache__/compat.cpython-312.pyc,, -fiona/__pycache__/crs.cpython-312.pyc,, -fiona/__pycache__/drvsupport.cpython-312.pyc,, -fiona/__pycache__/enums.cpython-312.pyc,, -fiona/__pycache__/env.cpython-312.pyc,, -fiona/__pycache__/errors.cpython-312.pyc,, -fiona/__pycache__/inspector.cpython-312.pyc,, -fiona/__pycache__/io.cpython-312.pyc,, -fiona/__pycache__/logutils.cpython-312.pyc,, -fiona/__pycache__/meta.cpython-312.pyc,, -fiona/__pycache__/model.cpython-312.pyc,, -fiona/__pycache__/path.cpython-312.pyc,, -fiona/__pycache__/rfc3339.cpython-312.pyc,, -fiona/__pycache__/session.cpython-312.pyc,, -fiona/__pycache__/transform.cpython-312.pyc,, -fiona/__pycache__/vfs.cpython-312.pyc,, -fiona/_cpl.pxd,sha256=qYoraBfv5raDd52HpMVzzDAlAtTWR-PZXN41Ps-Psks,733 -fiona/_csl.pxd,sha256=7I_eBBweSvZit5nXJZapzvQZp-xOlRpYGeAsBY0Idso,229 -fiona/_env.cpython-312-x86_64-linux-gnu.so,sha256=DbEKQqormTaLceWvojCPK063XZxQv6ilTvgWoWJr2lw,241737 -fiona/_env.pxd,sha256=pCR9-xPGXftqHO0TLmhEYn03SEMuqg5I1ZK7lxkRHyY,382 -fiona/_err.cpython-312-x86_64-linux-gnu.so,sha256=emUsOAsa27ArUuphesbollc-UM43Pimv568XTLLFkbM,138329 -fiona/_err.pxd,sha256=uEtGhwkMv4JUUIm7A-8-xQu-voKocq-mdpWAdQGeprc,375 -fiona/_geometry.cpython-312-x86_64-linux-gnu.so,sha256=IBkIyaNLwssyqoeKqULfqGvQyQrA4_uWuSbbVfzEaww,196809 -fiona/_geometry.pxd,sha256=LoTN3u1MX8vsGPZ737-3h3BQJgGWW1h44dT5u1AgK5s,4667 -fiona/_show_versions.py,sha256=cUVRIlZVcg8Fiou8S3OAFLLDuAlUGKtwlpEZN9PujP4,1204 -fiona/_transform.cpython-312-x86_64-linux-gnu.so,sha256=OYSlX8qbVk5rRPDghzQ1vwXIEt3JaHrFQ38wpiF_Xfs,227945 -fiona/_vendor/munch/__init__.py,sha256=OrPPiSJ2csuz4I3XwuVwmfEE6GSp1SnvXVrlA_KONFo,17419 -fiona/_vendor/munch/__pycache__/__init__.cpython-312.pyc,, -fiona/_vendor/munch/__pycache__/python3_compat.cpython-312.pyc,, -fiona/_vendor/munch/python3_compat.py,sha256=4PKVPZQsdf0VFm0346u_eOVd0xbqRXyKa8KJ5DWXsNY,258 -fiona/collection.py,sha256=lZO7g3BKQc4sH191JIPzuLVM46iybJH3HyWE1yyaqIA,28481 -fiona/compat.py,sha256=y4F-P696tYnrIhJ3dx8-f3M73UA6Xf-1drdXBu625xA,278 -fiona/crs.cpython-312-x86_64-linux-gnu.so,sha256=gH2Dr0Ce_K3R2_LwaZZy2oAzFSWP4vdJLHqiTLQbtko,328145 -fiona/crs.pxd,sha256=InSp_T8n6CgfIV7dIOMYOFcE8ODwOOXirMnYbsSMfOQ,218 -fiona/crs.py,sha256=yPy5zlBHla-avt3eM534CMTBvJcrnwosJF-SfxaDpek,5394 -fiona/drvsupport.py,sha256=Tzo99qfPZhmDfUlQBHKRDpSFtrk0mvS8muwqeB5DxHs,14046 -fiona/enums.py,sha256=2J94YSBHUQbiRqJSYwk9d9u-vjkbs4-SmiuXX-7BVSM,779 -fiona/env.py,sha256=VXGDgQb3UFsQi34lqbYvMDis49BxVWLwntiH6WyJCDk,21190 -fiona/errors.py,sha256=ugt4eISpieno2cHV4EiXKlZXI2OKkJ_iGnnrwqnens0,1901 -fiona/fio/__init__.py,sha256=dmK16m-xo61uxZj3EjSrXGbe9RlGLotPMwmDjed9Xi8,510 -fiona/fio/__pycache__/__init__.cpython-312.pyc,, -fiona/fio/__pycache__/bounds.cpython-312.pyc,, -fiona/fio/__pycache__/calc.cpython-312.pyc,, -fiona/fio/__pycache__/cat.cpython-312.pyc,, -fiona/fio/__pycache__/collect.cpython-312.pyc,, -fiona/fio/__pycache__/distrib.cpython-312.pyc,, -fiona/fio/__pycache__/dump.cpython-312.pyc,, -fiona/fio/__pycache__/env.cpython-312.pyc,, -fiona/fio/__pycache__/filter.cpython-312.pyc,, -fiona/fio/__pycache__/helpers.cpython-312.pyc,, -fiona/fio/__pycache__/info.cpython-312.pyc,, -fiona/fio/__pycache__/insp.cpython-312.pyc,, -fiona/fio/__pycache__/load.cpython-312.pyc,, -fiona/fio/__pycache__/ls.cpython-312.pyc,, -fiona/fio/__pycache__/main.cpython-312.pyc,, -fiona/fio/__pycache__/options.cpython-312.pyc,, -fiona/fio/__pycache__/rm.cpython-312.pyc,, -fiona/fio/bounds.py,sha256=Mm4as4ySKBbwoxlm3GCLJGtYNnfJlDP57ammzsPpIoc,2873 -fiona/fio/calc.py,sha256=r6-PypiSOmKFTybkfV4gRTY0pvOf6FS03UTBLh9BPi8,2072 -fiona/fio/cat.py,sha256=HxMauK01UGFq9ejtrsWm9W9R5trU9GJJcwMJS0Pc8uA,3926 -fiona/fio/collect.py,sha256=OBstnFh7hKeOO6SB0y7FemqIcGh1Xozz-s8fISL03Lw,7727 -fiona/fio/distrib.py,sha256=l8trUttEx_rntSmZXobYKoAla6AImQ_ZATy1dq9uOrQ,941 -fiona/fio/dump.py,sha256=xOhpJmdeLOu6AiHjQLaEqVxIK-tgcfhlA_8q2J_an9M,6907 -fiona/fio/env.py,sha256=0zyzD9n3xzHQZRYElCSjtCocjEPgoxPbsazmzbBa0tg,1477 -fiona/fio/filter.py,sha256=iUnCxz-2hY8Tr1E3UqrHy9oFlBoVqZOVY6AUIhoaqN4,1542 -fiona/fio/helpers.py,sha256=CIZY-a3vtky8LNjxKjf8L0uas1usohPAT4r94HKwL7Q,4084 -fiona/fio/info.py,sha256=xSjOvwZQOnn0cifQKY6OlR1griFXHA0_-dJny4BvLB0,2559 -fiona/fio/insp.py,sha256=XO24t-iZ_YWdRgU7ddc9QUalwyPIO8kymZ7qcgyboYg,1261 -fiona/fio/load.py,sha256=XTrtHvpbxtkvS7AIfy5a_I4owX9lqHvN--OVKQx5CZI,2851 -fiona/fio/ls.py,sha256=mI-P3IEwCycBVMPN8BDZcQniWeV_K4h-KuwFcIl9asg,457 -fiona/fio/main.py,sha256=6pIUfeBO-cIjujyeZmr3lRQl16WXrUw5-GMEloJsqog,2008 -fiona/fio/options.py,sha256=8Esjbuo8oDCRwi9o4LlJk7UVoMuPZqqiqfkVxqs66as,2555 -fiona/fio/rm.py,sha256=HnNFQf61cDKZgVY00qzawyBjXNthX515PGwZxZjVzMg,769 -fiona/gdal.pxi,sha256=Obu8Chec1lmPmEtEmeCwatNXZ07jy9bFrWs4OHfE_Eo,31805 -fiona/gdal_data/GDALLogoBW.svg,sha256=qsnasz1HnguDK4vXyeVRDcvvNKfGzJrqlrviqrUWHFM,13022 -fiona/gdal_data/GDALLogoColor.svg,sha256=LBAqMcbpEWqpuYeH2L9c9kjbzCuTCu5lPNNd9l7RGNA,12305 -fiona/gdal_data/GDALLogoGS.svg,sha256=Gubi2S5rBDnzuu4MtV2ti5er-0_MWMkYmyO2PIGK7so,12305 -fiona/gdal_data/LICENSE.TXT,sha256=Ha40aOgdANpW4pNvdNM7izrQnXJkN_Gc4gml2r6kH3c,21841 -fiona/gdal_data/bag_template.xml,sha256=2veBb2hsNbUexmyQ_GrtvxLb75fyj5-ulzE5L5KvtzM,9020 -fiona/gdal_data/cubewerx_extra.wkt,sha256=HMo_o-JJ9Mx9G_D_sKcaGir63RCv337QqiktvF5PB2g,11977 -fiona/gdal_data/default.rsc,sha256=nhydcIHVJ3XnUNQVXUklUlKwTKgf7yfLKZdnXTzZYms,463632 -fiona/gdal_data/ecw_cs.wkt,sha256=jmNUp2LozYLkyNoRF1A-F_SH97RYWsLO8tgRED4kGsY,363717 -fiona/gdal_data/eedaconf.json,sha256=AxFoSKe6ytEFKJxW9dE_tZviZPHj04CegnRfQWP-EoU,411 -fiona/gdal_data/epsg.wkt,sha256=5QiV6QYaum3RWI8GoIiHKqViqNmHFliLwaQgGJ3LJUw,27 -fiona/gdal_data/esri_StatePlane_extra.wkt,sha256=aC3xsjHLbxKHaF1MZL8bJhHAr0PDBINHO7s2bOG9jTM,332546 -fiona/gdal_data/gdalicon.png,sha256=2Q9QqPdMMlCGyGe_AGqSJmwlmicNkWay9B9Ya2d1Vyk,2021 -fiona/gdal_data/gdalmdiminfo_output.schema.json,sha256=uYqJkLuuqtCA6jwdnNGeNRF7XeeI6fy2Y-ybzZf7VaQ,6543 -fiona/gdal_data/gdalvrt.xsd,sha256=lx51m6WjB0v8bzS-NbDpwpqEb4MjCbhJPIhdA3qVYRM,27571 -fiona/gdal_data/gml_registry.xml,sha256=2rVxsqdOS23ieg_eYtNIhxQcpFbRHKrN11oWay3lp0M,6643 -fiona/gdal_data/gmlasconf.xml,sha256=IAk50u-H3k34Dm6_MJCMYOllTgv8a3nHrk6oqUR9t24,7432 -fiona/gdal_data/gmlasconf.xsd,sha256=khv6jROHkaOsM3UI4mQsAZJDDedWGA7sJLh2RRZw_jY,48654 -fiona/gdal_data/grib2_center.csv,sha256=9qwbZ4W8m8-6dZG6LFskca3rCgl42bMLfzg0yQI_QjM,4171 -fiona/gdal_data/grib2_process.csv,sha256=5t64qqEuz435_VQfKj6jZrPpi9GUJPL-XS32V9VECg8,4926 -fiona/gdal_data/grib2_subcenter.csv,sha256=H1NnC7PusHTUbS3cFTfnwFyHskqvdgJNApd1FDUClFs,2328 -fiona/gdal_data/grib2_table_4_2_0_0.csv,sha256=TdDQLY2gzUi7z5QTn-n0NMHHcTnKEVR6E5ej8hgEpHM,10363 -fiona/gdal_data/grib2_table_4_2_0_1.csv,sha256=j5Lgv_DZjzG2TUg5-wzANtvkay2vyKV7bGmVOZj8vSY,15737 -fiona/gdal_data/grib2_table_4_2_0_13.csv,sha256=tvZ5J9oSYB-cMTdBJ1x-92USEuC8ZaibmYXgNG7w_Gg,9596 -fiona/gdal_data/grib2_table_4_2_0_14.csv,sha256=7-MTwycqJBEe5t45RVw4ZvnLFAe0apnajCAsK4O6U1g,9551 -fiona/gdal_data/grib2_table_4_2_0_15.csv,sha256=gGmcP301Lywb3LaejpClKfiJNyz5izYqbwqnMJ2vSmc,9846 -fiona/gdal_data/grib2_table_4_2_0_16.csv,sha256=dXDivhgn-a0vQaIBJUeNJAjg4JNgSuMBDzaV9WjmoQI,9671 -fiona/gdal_data/grib2_table_4_2_0_17.csv,sha256=yFNF7TSb3gBemTr3zsEo0VVxVZcKG95LQPD-2-DKp0I,856 -fiona/gdal_data/grib2_table_4_2_0_18.csv,sha256=Hyr-mB_c-xOC2Y6hYmBOVUxNlDxe5DEpLjHuz0wn3eY,10224 -fiona/gdal_data/grib2_table_4_2_0_19.csv,sha256=kYNp3RFWLgkKGAmKMOksFmRXJa8HrCEM7cZ66lUVsPA,11874 -fiona/gdal_data/grib2_table_4_2_0_190.csv,sha256=s1sJySgJcxlw4P93gV5v2uZRseygmCi-XyFSjfLnVIs,9507 -fiona/gdal_data/grib2_table_4_2_0_191.csv,sha256=0mocnrYHe9ZW_a9zqeUdOplU2hYqwOGhvrdOq-UXhB8,9620 -fiona/gdal_data/grib2_table_4_2_0_2.csv,sha256=LVmq8Nj7ImtkoKiENaKnRmkLZWiRdlqerWhJxUjcKH4,10803 -fiona/gdal_data/grib2_table_4_2_0_20.csv,sha256=uIoIDEOrelu-1abINQNEF3J_8DC_sVD-xlWBTyGhDko,12126 -fiona/gdal_data/grib2_table_4_2_0_3.csv,sha256=WBnlg4BxuvFeg3cn46Qj-kKo-HC0bmtxXLWKufaDeYw,10334 -fiona/gdal_data/grib2_table_4_2_0_4.csv,sha256=tgDFqFp_aWmMOeJM31oQFMwLVP9mVe7McX3S84H5_Ig,10311 -fiona/gdal_data/grib2_table_4_2_0_5.csv,sha256=MS9URl64ZGNbNq8IAlyqBoCjBl7ysy0fq3WnEMscZtE,9826 -fiona/gdal_data/grib2_table_4_2_0_6.csv,sha256=KZ0qG-fBAXjmFkkgCYmqBSb3-EB9YNn7YJzw_xdy15w,11642 -fiona/gdal_data/grib2_table_4_2_0_7.csv,sha256=Z0f19R_MBTdxBEtT1WZmtxh0rFsP632JbIISerT7djs,10491 -fiona/gdal_data/grib2_table_4_2_10_0.csv,sha256=Yv0azfCl93Pih8LSYDO7p7w6qikC4JFlOmDsn_atGrM,11773 -fiona/gdal_data/grib2_table_4_2_10_1.csv,sha256=3j5iHhggKY9O3gzZoLWYOqkoJCyGSUool1BDv5qy1dA,9598 -fiona/gdal_data/grib2_table_4_2_10_191.csv,sha256=8FF_DQRU7eWV2UtZVdzyDw8kGUPs5MBaHkOgrkyAJp4,9634 -fiona/gdal_data/grib2_table_4_2_10_2.csv,sha256=pm2B_2wtLkAY1Wz69G46G_i2PvyekqWM4xVh7RpeAC0,9880 -fiona/gdal_data/grib2_table_4_2_10_3.csv,sha256=bw-gXsRl97CjdHKpr3bTUtj0_T90eI9D_IYBNeXa0gc,9776 -fiona/gdal_data/grib2_table_4_2_10_4.csv,sha256=wuMQgLD-Mia9-sPEQ2EbCZ0gGijhl4PCI4jgikooDtI,10193 -fiona/gdal_data/grib2_table_4_2_1_0.csv,sha256=zAs0eFEGhn7m2JG_vIEG0icIJaOSs8xyR1mX0xhU_VU,10142 -fiona/gdal_data/grib2_table_4_2_1_1.csv,sha256=IcMI0dmweOsTcB6AQBUXBkLwHgfy138UIcSXgnZO5Hs,9655 -fiona/gdal_data/grib2_table_4_2_1_2.csv,sha256=np-zBijm_k88yKjcq_ras9c_mKZvyJJzhmLIcAMMcZA,9798 -fiona/gdal_data/grib2_table_4_2_20_0.csv,sha256=nL2Pj35puFbBD5lgLrye2divu0pxMIlQ-EQfV5yAkBw,9546 -fiona/gdal_data/grib2_table_4_2_20_1.csv,sha256=4bKRXQypyC4NvIxD3Q7Uq7ykVlzQdhuo2jAAu--swkw,9854 -fiona/gdal_data/grib2_table_4_2_20_2.csv,sha256=yLwCsGWKtzrA1sUMvlMee2W6vbEgMuqE7n6CxY9q9JQ,9506 -fiona/gdal_data/grib2_table_4_2_2_0.csv,sha256=dDSXLpLJSPtHp-DFw8fKWjbITUpeom-Or6t6aKkhTgQ,12201 -fiona/gdal_data/grib2_table_4_2_2_3.csv,sha256=HlpwePqaTaCzFGVSqzR6vErjIXNxKgIiMSYaSx0Sf2Y,10634 -fiona/gdal_data/grib2_table_4_2_2_4.csv,sha256=y4caKs-XqHF0BPRCjsysRUS12On44SSjJtvucO34yW8,11228 -fiona/gdal_data/grib2_table_4_2_2_5.csv,sha256=oa8oEyFMvKzRl-joZFsq0iZzNwPKXTwj0OzdZMyczu8,9513 -fiona/gdal_data/grib2_table_4_2_3_0.csv,sha256=d11izQJZRDMFlqdoHJqCnPRndaxdv_QmBMQDdBuz3po,10951 -fiona/gdal_data/grib2_table_4_2_3_1.csv,sha256=Z_57xjwrC6da0OjPwBBdVIzzmxOav1q8Q44pA1Rji9Q,10663 -fiona/gdal_data/grib2_table_4_2_3_2.csv,sha256=fMATIGU8kN_ZuxUt9f1okDhf1lqf4OR3V5D8ZCxwJL8,3833 -fiona/gdal_data/grib2_table_4_2_3_3.csv,sha256=qgswCjfyIncT1PlKHIwErk6zoDADXlnfp7wMNTBHxTw,784 -fiona/gdal_data/grib2_table_4_2_3_4.csv,sha256=5Ir4m3w90-J1i4Y4QZ7MLNvSZHTDPIVxaouQrUWewFY,1051 -fiona/gdal_data/grib2_table_4_2_3_5.csv,sha256=yw8-DDHFP30s8rceVFaCGayIVp8ImZny99J9xidiHC8,920 -fiona/gdal_data/grib2_table_4_2_3_6.csv,sha256=6F11SOA9nKCpMg83pQLCS1m4xfM6cIVEOn5-Emq8wwI,819 -fiona/gdal_data/grib2_table_4_2_4_0.csv,sha256=dw9YdUaiOHqx7PtCTifnfUqEZsFx6jcbZS_yVLdbOIE,9553 -fiona/gdal_data/grib2_table_4_2_4_1.csv,sha256=Zt14KKQSJQlBgEuWJiz6uvmPlm5noHxNSMIaXA2SLpo,9686 -fiona/gdal_data/grib2_table_4_2_4_10.csv,sha256=vCc2Im-zDJQyISRguHFsfOu3zl-5IXunuDjZT0sXHK0,9701 -fiona/gdal_data/grib2_table_4_2_4_2.csv,sha256=dW2gwt7PCkQEHUtQw6JoiAxT5cWyAL1FhKE1bHK15y0,9660 -fiona/gdal_data/grib2_table_4_2_4_3.csv,sha256=wCoGq08IhS_Ogq6NT4KAkN4N7jtk034pBTJEbnSsCmg,9722 -fiona/gdal_data/grib2_table_4_2_4_4.csv,sha256=h7k1Q1-SJKPuYqosIu2pLGhoxZJipgv0ZdipbLJwpuU,9689 -fiona/gdal_data/grib2_table_4_2_4_5.csv,sha256=BC5ZlwA06OmsGenUc1nj7MvbZXRv3yuQszKeZybG-5E,9496 -fiona/gdal_data/grib2_table_4_2_4_6.csv,sha256=8RgpjQUOwFg3DZezT8-hDjiEhgL92M81cghoKh3Aog4,9634 -fiona/gdal_data/grib2_table_4_2_4_7.csv,sha256=VTb6ArgTW7Z4exomL56qWeztgdZvjEohfK--gACUmrI,9556 -fiona/gdal_data/grib2_table_4_2_4_8.csv,sha256=B3asGG28M-DM2dJxu4g4CyPUlAOvxsrOUaC6dBYW5Ng,9686 -fiona/gdal_data/grib2_table_4_2_4_9.csv,sha256=uyovie5zBXfMvGYDeq3y5A6smn586QnZIW-cjd4do0I,9536 -fiona/gdal_data/grib2_table_4_2_local_Canada.csv,sha256=m8GRxbypdPQvvdSIA38HTuHKu6gO_i2lC4_SVMDcv_U,333 -fiona/gdal_data/grib2_table_4_2_local_HPC.csv,sha256=uJ0Xy_y46b8uqS0X2P1VUpMjPbV85qh-OXe_SHd5o_4,87 -fiona/gdal_data/grib2_table_4_2_local_MRMS.csv,sha256=H_u9WF10JNULZrrg7fE4D0q-tFG0BT28Z8w3umpVDlM,15587 -fiona/gdal_data/grib2_table_4_2_local_NCEP.csv,sha256=3u547LbwYlq1zC48OFIOqpIZmHtobfkUtZgd-M6TRHs,27977 -fiona/gdal_data/grib2_table_4_2_local_NDFD.csv,sha256=-ax9PGvL20SKnBtm_yeUiXiV_N6CRx1PT_1C_iKDhsY,2659 -fiona/gdal_data/grib2_table_4_2_local_index.csv,sha256=iL7UDbsNDfcrQyeSujIUv93LopATsZpd_P9neBGjN7c,251 -fiona/gdal_data/grib2_table_4_5.csv,sha256=lLL1Cc3rr6CzXpoCWG6DqkclFqUyuJ2ZGCXZpWIz6Wk,10013 -fiona/gdal_data/grib2_table_versions.csv,sha256=dY3CPNEYDAkcQkzCezuFt70b1sl27zWUBvuR9pW8kT0,40 -fiona/gdal_data/gt_datum.csv,sha256=3Qci5ZsE1dpYQJvOrsRDbscmMGRGvWR37LqoGcWPBW0,15804 -fiona/gdal_data/gt_ellips.csv,sha256=wQZ2wpgUDXAkgEXgwi1z40xc-F2zWRZzdDZ9ST_6fPQ,1719 -fiona/gdal_data/header.dxf,sha256=9GpEP0k-Q3B7x5hbnyhEViwk_qV21xVw_yr-kTF0Sd4,6572 -fiona/gdal_data/inspire_cp_BasicPropertyUnit.gfs,sha256=KG17Z8L6OlwyHUOfgxk7wG4MagplNoOOefFRZ4q1Rxw,1740 -fiona/gdal_data/inspire_cp_CadastralBoundary.gfs,sha256=VZY8kxf3ZQj1tkcp5gV6Iw8fX8lHOFHxAx-ZxQsa64Y,1650 -fiona/gdal_data/inspire_cp_CadastralParcel.gfs,sha256=bxS0mxaUq_4ZHx1FyExuYmeIZuOUHcU_CV4Oxs-jDiQ,2450 -fiona/gdal_data/inspire_cp_CadastralZoning.gfs,sha256=e1GC-8pLjZ6gc-OY0IUDd5LL2URNHcazWW-i7QMLTPo,4812 -fiona/gdal_data/jpfgdgml_AdmArea.gfs,sha256=E-43W7i8mBUtlyhPZFthvRNVMMZPQYs4WHuese75B3A,1640 -fiona/gdal_data/jpfgdgml_AdmBdry.gfs,sha256=aL7EsGv8W0muXpKzB-N3aYgc-1ed1MLK1mjYALCxXYc,1382 -fiona/gdal_data/jpfgdgml_AdmPt.gfs,sha256=_UGYly0xo0RlJudlEap3y1YJxdon_f4h4NoQDgR7ABA,1633 -fiona/gdal_data/jpfgdgml_BldA.gfs,sha256=r-HjEw7bjD4fQu-DwPFK4hi37tqVJhR9j9JC1QMTT6k,1501 -fiona/gdal_data/jpfgdgml_BldL.gfs,sha256=E91sGs3IlUj3ONIuh4aqBAjLp8BB9LM0_AS05EKVFp8,1503 -fiona/gdal_data/jpfgdgml_Cntr.gfs,sha256=9T3EWNh7PZcmBNMdIJLkOlqGgHz959f0jbCeM7K6wk4,1501 -fiona/gdal_data/jpfgdgml_CommBdry.gfs,sha256=Gfm0ZWM8PevqGYdeczh7lwMxsynLl-_Cny5E1wG60lU,1384 -fiona/gdal_data/jpfgdgml_CommPt.gfs,sha256=A41k8OJKrWqw6N-CPvydlJ0KE07PjrSR8DCOPrmuYbM,1635 -fiona/gdal_data/jpfgdgml_Cstline.gfs,sha256=WdfML7nPP4y-UjKoFmGqEBvC17DFbLcYhrtbWVFPhJ4,1509 -fiona/gdal_data/jpfgdgml_ElevPt.gfs,sha256=sqC9LGiB-2GY14hk8URJdews0LSgsKViH8g4-azk7wA,1500 -fiona/gdal_data/jpfgdgml_GCP.gfs,sha256=m_38DkOHFw8Bwk14brBgZkdvLjbX1LzwUMSBZq1dMkc,2523 -fiona/gdal_data/jpfgdgml_LeveeEdge.gfs,sha256=p6kY3HmHE2I5N72GpC0Ix5y0D8at-4Gp6yEulsmR2JE,1386 -fiona/gdal_data/jpfgdgml_RailCL.gfs,sha256=TOjLVqNBgZLOsb8m8nYNHHNAAVusMvWMWGWGafMmVAw,1507 -fiona/gdal_data/jpfgdgml_RdASL.gfs,sha256=lMtsnL-WZHxj3rUrsP1L49mv4MYZsgt9-6dedS4TVrM,1251 -fiona/gdal_data/jpfgdgml_RdArea.gfs,sha256=3pAYR65ZRhIywF8lM2D8fJtsLNL0RbbUgyt_ePGsxew,1515 -fiona/gdal_data/jpfgdgml_RdCompt.gfs,sha256=oNgPlJZtTjaADbIU005qr_17iqnmpC7JBDHSrPfkTAg,1646 -fiona/gdal_data/jpfgdgml_RdEdg.gfs,sha256=8_Q0lAz2IJPeam_Az4fzi5r8MxDLrMW779H2bFKs0b0,1642 -fiona/gdal_data/jpfgdgml_RdMgtBdry.gfs,sha256=_D2Shs-9ppkCoEcmVEu5pIshgMtN2oF6RPYgTomWAvw,1386 -fiona/gdal_data/jpfgdgml_RdSgmtA.gfs,sha256=c9k3wQYjTEO7kHO4yLbL4Bdd6SHLVYgmKmh63uUXlbc,1644 -fiona/gdal_data/jpfgdgml_RvrMgtBdry.gfs,sha256=d_bKrQdqPqs7x--EZICJVKyK1RjX-RBxHaq-RfxD9r8,1388 -fiona/gdal_data/jpfgdgml_SBAPt.gfs,sha256=pet_NXx7yZIf0-1_V2xbHvpPP6cWg0NktIuGC_t91F0,1375 -fiona/gdal_data/jpfgdgml_SBArea.gfs,sha256=hzLyuGqz-E83vVyHqZ5zVJLllsSqkvKsjevVEcSyrBE,1507 -fiona/gdal_data/jpfgdgml_SBBdry.gfs,sha256=KrxJH0dcBWBFk8NKWnZn3pnUThzEN-Z7WCkZv-aTuTI,1253 -fiona/gdal_data/jpfgdgml_WA.gfs,sha256=P4mdqbQOy9xcFQ89JtrytpbwTwGezBOnUF-6dzE0Ero,1497 -fiona/gdal_data/jpfgdgml_WL.gfs,sha256=rusd7Ac4i_qFz38aH4OPU6geZ3mZti-KT4BCLzQdcuw,1499 -fiona/gdal_data/jpfgdgml_WStrA.gfs,sha256=il5wZfApDxt0DKtTz0xF0bDojeo6aGEqgjkoKKsYI8s,1503 -fiona/gdal_data/jpfgdgml_WStrL.gfs,sha256=g7bFCLw7PrjyPuvfSMajazSya-jXIKOpnwYONAkYVok,1505 -fiona/gdal_data/netcdf_config.xsd,sha256=O1eIEmlSx3y7N1hIMtfb5GzD_F7hunQdlKI1pXpi3v4,7491 -fiona/gdal_data/nitf_spec.xml,sha256=5AUCximhpb113dNB-m5_vFCwKP_6SxOP2QX9nwkoVIM,148854 -fiona/gdal_data/nitf_spec.xsd,sha256=hPeOzLEsh-L_tSELhJdMZtXVjYixET5rmvZgHGEdVQs,7687 -fiona/gdal_data/ogrvrt.xsd,sha256=V8qLlCHKvZF3j4EpVKF1GAAHK5U78snF3MY-SR8jwpU,25749 -fiona/gdal_data/osmconf.ini,sha256=otLuvC5j2xovRTP0MJHpNeam__IIRGSLIZfL3rY26Tc,5195 -fiona/gdal_data/ozi_datum.csv,sha256=42eOPxRAhK6zSIwuGuIkfweoQfUBqJ5yJa6d2b-xmGg,8482 -fiona/gdal_data/ozi_ellips.csv,sha256=DINjv97cF4fVNGPXBeLhzo-9_NSdHjx3j11CgpgNdcY,1349 -fiona/gdal_data/pci_datum.txt,sha256=OiQPhHdU16nGR1KXXoN_WDv1MS9FSmH8yWEcXWP1OQs,35105 -fiona/gdal_data/pci_ellips.txt,sha256=YNSpUN3JduKHUbaRpmgKzxxclmykEAQyIPYntzUJJcw,3466 -fiona/gdal_data/pdfcomposition.xsd,sha256=f5x0mBCK4xFCoM4iT_UCMM40Typm4Qy4NHjCSUL-Fg4,34334 -fiona/gdal_data/pds4_template.xml,sha256=rqpN2EsXceGQFfSMeWMoD_2PrU88izTiY275iU5W9mI,3433 -fiona/gdal_data/plscenesconf.json,sha256=Vd__WXJyPouwHYD13vuYnTYDtyPD7wPk1xV4oDcQ-Gc,41372 -fiona/gdal_data/ruian_vf_ob_v1.gfs,sha256=KoWz7B-cRA6C41wVMXgcc-SlTOwYtMdssQeyyNmcsTM,46775 -fiona/gdal_data/ruian_vf_st_uvoh_v1.gfs,sha256=js1NsI716p8HttzpkDx6dCmSOHAMeEsAnM2oF96okDg,2600 -fiona/gdal_data/ruian_vf_st_v1.gfs,sha256=NDeHc17kbSqMxSUZxZUME6nDzvG7vbOpXRmDVENYCK0,45972 -fiona/gdal_data/ruian_vf_v1.gfs,sha256=kve6mv5ByWGk0ZWjDUaaCxQstukIUbA6q1qlFPYJyuQ,67334 -fiona/gdal_data/s57agencies.csv,sha256=IS73IR7YPEOCulni7kQ3pzMXE7KYM77nZFwHMcq8QnA,13304 -fiona/gdal_data/s57attributes.csv,sha256=9Lbf4ugv6l5-5DPhNoMpKj-gm7ZnUEKOSxV4-ZpG0t4,20001 -fiona/gdal_data/s57expectedinput.csv,sha256=1bCaXEJI8-sJBqTjrGjXOAyG-BnXDerjZi5zbwWXvGw,20885 -fiona/gdal_data/s57objectclasses.csv,sha256=BqzXwn2LnMDgLbkTav9gyclc-tL1wMu9nN-KpNB9hxY,53425 -fiona/gdal_data/seed_2d.dgn,sha256=3YRl8YVp2SiYCengliEV02XQpW3gITk5UqXnoKILUnw,9216 -fiona/gdal_data/seed_3d.dgn,sha256=l8LwDubqloc7fRbl6Ji0hQ49NUSCmdfZ0359F5K1aJY,2048 -fiona/gdal_data/stateplane.csv,sha256=MMYhCHKwpMENQHOajLa-2mMKfvPrTLB6cSjibo6Dy-M,10360 -fiona/gdal_data/template_tiles.mapml,sha256=sb1swUtdRcWuDxRt2-8j07jZWr6oJQ_dU7Ep7fuPMt0,1947 -fiona/gdal_data/tms_LINZAntarticaMapTileGrid.json,sha256=QjJ8qJZPlc5-AfNPvDJ4AlCkqVJOSy14g7T37sUS5aA,4115 -fiona/gdal_data/tms_MapML_APSTILE.json,sha256=Co119fRol3Xlvp6Tv8OyfOPr8oLyd-hCQOXvK7KX5KM,6273 -fiona/gdal_data/tms_MapML_CBMTILE.json,sha256=tZaccbdXtciaiOyOkESWhCT1lGtiXtTwfSvgmNwm14A,7792 -fiona/gdal_data/tms_NZTM2000.json,sha256=irMxe-d_H9zzagr3FS4bsJZScfe-XLvEMmdxanJYOeo,5265 -fiona/gdal_data/trailer.dxf,sha256=UGuvDFk9eo_yT7zXg4hykr1tPI1QVHKeO_OLlGXRGfw,2275 -fiona/gdal_data/vdv452.xml,sha256=q1KF0BR-dDEIomwkRLhTksR4f_maMumayx4hQ2wju8k,25816 -fiona/gdal_data/vdv452.xsd,sha256=rCZLv6wROL-3FdB_OiimR6l5Jw37cV553UOiSE5K1Pg,2854 -fiona/gdal_data/vicar.json,sha256=eSStEB2nV89BCRrUqec03eHSNUN1P3LC7t4Ryc19Asg,3610 -fiona/inspector.py,sha256=TYn3v9j6lo5oKoqknbS9JnHnr7kQqH4WymQlTUIy_go,981 -fiona/io.py,sha256=xZe-6XP4VG1LqvSHVZArc5dZquITyxkZFOVUfoT-wQA,6306 -fiona/logutils.py,sha256=_xt8Qi9W56lL5P5XO9Gdzk9wZr9UJIvw4rMpE6unMOo,871 -fiona/meta.py,sha256=NyqOOusNMwVwHN5Hb1lbR-OYvAkS6igUkZoi-edlHtg,6992 -fiona/model.py,sha256=VjyYQpQaUdhKL7pL2GFfcyUsE3GFuh2VGtlXjl-oAQ4,11236 -fiona/ogrext.cpython-312-x86_64-linux-gnu.so,sha256=s5q-i5Xn4KDmKPTtWBMr3PULwiwD4KVylC-Hjy4O7TE,875233 -fiona/ogrext1.pxd,sha256=zykNe48lVTpRbAQKCSIbJWBDm2jE_06egIb0-Vu-2Yw,11296 -fiona/ogrext2.pxd,sha256=h42rpX-lmkCJ2AuzGRpx8adf9BUd0yNLuNSXqJ-07cU,12875 -fiona/ogrext3.pxd,sha256=ibBOKu2q9Pcdi6glkWvTK7gUmSJD_Pu_wIDcM-7GCjs,12843 -fiona/path.py,sha256=5UaUSSWrgjtuVYikmuvzfM1KJXDZtrDzYDw4ISt6rEk,4674 -fiona/proj_data/CH,sha256=NlrRGFxezhTSqEoWESxFEVK5cJeIvNPGPKtK3lKcujE,1183 -fiona/proj_data/GL27,sha256=hTdeYxXW9kTkV32t88XxV1KK0VtxXJmyh73asj1EGT0,728 -fiona/proj_data/ITRF2000,sha256=UiXDszZ6NwIeY5z9W9FSHSvV0Ay8R0zWs7OCdhWk_nI,2099 -fiona/proj_data/ITRF2008,sha256=2iU4lKTFp-DHGVzPMZgj0RC9QqPdxztf-UlPEv6Ndh4,5680 -fiona/proj_data/ITRF2014,sha256=KYUwTjflfDYqYTl7YyZ9psYMN2HT5GOhH0xr0BPC19U,3489 -fiona/proj_data/deformation_model.schema.json,sha256=ugxZERFyB6k2_HOMHjHaABtFtRGTdzzgxnQhQ_NyuZ0,17671 -fiona/proj_data/nad.lst,sha256=Gijthy_RVQ9b97Wl5b_F51ALX5TJdFuEodFWsyA5kow,6385 -fiona/proj_data/nad27,sha256=C8IxkiRhrHWJIsanJR6W1-U-ZWYIsbTwa3hI-o_CVSA,19535 -fiona/proj_data/nad83,sha256=mmJgyGgKvlIWyo_phZmPq6vBIbADKHmoIddcrjQR3JY,16593 -fiona/proj_data/other.extra,sha256=we90wKmz4fQqV2wVvENmbBNbfpNh21cno1MgTaJ5zLs,3915 -fiona/proj_data/proj.db,sha256=dAJgOMrmDWv_8gDYJYNA-jDgenlYsp4pKmKRcDMXgCg,8179712 -fiona/proj_data/proj.ini,sha256=9-FqBW1of6eSwAW22Osoda_LMcfdfDwN9lQBWPcwmD4,1050 -fiona/proj_data/projjson.schema.json,sha256=qkT00j-2SdrVq3-uZzZgfmqajk1siuLgu7dMs5lbDP0,32662 -fiona/proj_data/triangulation.schema.json,sha256=sVKCZmZ9Tz6HByx043CycTUQFRWpASolKH_PMSzqF5o,8403 -fiona/proj_data/world,sha256=8nHNPlbHdZ0vz7u9OYcCZOuBBkFVcTwE_JLq3TCt60g,7079 -fiona/rfc3339.py,sha256=Yvcl7XIDBQjwOf34-ISJxecq0FXdhvTnVdkxRinBmI4,3625 -fiona/schema.cpython-312-x86_64-linux-gnu.so,sha256=g_Bg9YTbXttm5iNOo2OHvjICNRpL3-Rv-_hHa4TPZEc,76593 -fiona/session.py,sha256=f9c6z2GVU73pinqXVLYCi7xC-QZ8LzEAHv-5HMf94Lw,17973 -fiona/transform.py,sha256=ZiqMA-4PLo5GbZhM4dNgGoBZ_FXr6hv7BIKzk_YR1ZY,4248 -fiona/vfs.py,sha256=eR_EFcRrAGsE2Ys6aTWI7L85DP66K1G8ZZE_YpDmj4c,2513 diff --git a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/WHEEL deleted file mode 100644 index 035e0f13..00000000 --- a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.41.2) -Root-Is-Purelib: false -Tag: cp312-cp312-manylinux2014_x86_64 - diff --git a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/entry_points.txt b/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/entry_points.txt deleted file mode 100644 index 52172a77..00000000 --- a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/entry_points.txt +++ /dev/null @@ -1,17 +0,0 @@ -[console_scripts] -fio = fiona.fio.main:main_group - -[fiona.fio_commands] -bounds = fiona.fio.bounds:bounds -calc = fiona.fio.calc:calc -cat = fiona.fio.cat:cat -collect = fiona.fio.collect:collect -distrib = fiona.fio.distrib:distrib -dump = fiona.fio.dump:dump -env = fiona.fio.env:env -filter = fiona.fio.filter:filter -info = fiona.fio.info:info -insp = fiona.fio.insp:insp -load = fiona.fio.load:load -ls = fiona.fio.ls:ls -rm = fiona.fio.rm:rm diff --git a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/top_level.txt deleted file mode 100644 index 9d901a6c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona-1.9.5.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -fiona diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libcrypto-fiona-a47f99c8.so.1.1 b/.venv/lib/python3.12/site-packages/fiona.libs/libcrypto-fiona-a47f99c8.so.1.1 deleted file mode 100755 index 868c4cfd..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libcrypto-fiona-a47f99c8.so.1.1 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libcurl-fiona-4ac9f96f.so.4.8.0 b/.venv/lib/python3.12/site-packages/fiona.libs/libcurl-fiona-4ac9f96f.so.4.8.0 deleted file mode 100755 index 7a3f328e..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libcurl-fiona-4ac9f96f.so.4.8.0 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libexpat-fiona-7e7d8668.so.1.6.8 b/.venv/lib/python3.12/site-packages/fiona.libs/libexpat-fiona-7e7d8668.so.1.6.8 deleted file mode 100755 index 5480387c..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libexpat-fiona-7e7d8668.so.1.6.8 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libgdal-fiona-cadf08fa.so.32.3.6.4 b/.venv/lib/python3.12/site-packages/fiona.libs/libgdal-fiona-cadf08fa.so.32.3.6.4 deleted file mode 100755 index 95e0538a..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libgdal-fiona-cadf08fa.so.32.3.6.4 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libgeos-fiona-d914d573.so.3.11.2 b/.venv/lib/python3.12/site-packages/fiona.libs/libgeos-fiona-d914d573.so.3.11.2 deleted file mode 100755 index 8241dffc..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libgeos-fiona-d914d573.so.3.11.2 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libgeos_c-fiona-3b303efa.so.1.17.2 b/.venv/lib/python3.12/site-packages/fiona.libs/libgeos_c-fiona-3b303efa.so.1.17.2 deleted file mode 100755 index 77de6ae2..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libgeos_c-fiona-3b303efa.so.1.17.2 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libjpeg-fiona-82e9a1fb.so.9.3.0 b/.venv/lib/python3.12/site-packages/fiona.libs/libjpeg-fiona-82e9a1fb.so.9.3.0 deleted file mode 100755 index 933449a0..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libjpeg-fiona-82e9a1fb.so.9.3.0 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libjson-c-fiona-b8129721.so.5.1.0 b/.venv/lib/python3.12/site-packages/fiona.libs/libjson-c-fiona-b8129721.so.5.1.0 deleted file mode 100755 index 0babaf70..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libjson-c-fiona-b8129721.so.5.1.0 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libnghttp2-fiona-e183d352.so.14.21.1 b/.venv/lib/python3.12/site-packages/fiona.libs/libnghttp2-fiona-e183d352.so.14.21.1 deleted file mode 100755 index faa93ae6..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libnghttp2-fiona-e183d352.so.14.21.1 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libpcre-fiona-9513aab5.so.1.2.0 b/.venv/lib/python3.12/site-packages/fiona.libs/libpcre-fiona-9513aab5.so.1.2.0 deleted file mode 100755 index b82eaa26..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libpcre-fiona-9513aab5.so.1.2.0 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libpng16-fiona-8ebcc106.so.16.35.0 b/.venv/lib/python3.12/site-packages/fiona.libs/libpng16-fiona-8ebcc106.so.16.35.0 deleted file mode 100755 index 9427bf57..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libpng16-fiona-8ebcc106.so.16.35.0 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libproj-fiona-d76c87e1.so.25.9.0.1 b/.venv/lib/python3.12/site-packages/fiona.libs/libproj-fiona-d76c87e1.so.25.9.0.1 deleted file mode 100755 index fe142a6b..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libproj-fiona-d76c87e1.so.25.9.0.1 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libsqlite3-fiona-83998bda.so.0.8.6 b/.venv/lib/python3.12/site-packages/fiona.libs/libsqlite3-fiona-83998bda.so.0.8.6 deleted file mode 100755 index 798b7a61..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libsqlite3-fiona-83998bda.so.0.8.6 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libssl-fiona-6c758070.so.1.1 b/.venv/lib/python3.12/site-packages/fiona.libs/libssl-fiona-6c758070.so.1.1 deleted file mode 100755 index 0e27ca33..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libssl-fiona-6c758070.so.1.1 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libtiff-fiona-104e144c.so.5.7.0 b/.venv/lib/python3.12/site-packages/fiona.libs/libtiff-fiona-104e144c.so.5.7.0 deleted file mode 100755 index f4001624..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libtiff-fiona-104e144c.so.5.7.0 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona.libs/libz-fiona-4e3ca1c7.so.1.2.7 b/.venv/lib/python3.12/site-packages/fiona.libs/libz-fiona-4e3ca1c7.so.1.2.7 deleted file mode 100755 index d3ab553f..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona.libs/libz-fiona-4e3ca1c7.so.1.2.7 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__init__.py b/.venv/lib/python3.12/site-packages/fiona/__init__.py deleted file mode 100644 index 9cf4a609..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/__init__.py +++ /dev/null @@ -1,526 +0,0 @@ -""" -Fiona is OGR's neat, nimble API. - -Fiona provides a minimal, uncomplicated Python interface to the open -source GIS community's most trusted geodata access library and -integrates readily with other Python GIS packages such as pyproj, Rtree -and Shapely. - -A Fiona feature is a Python mapping inspired by the GeoJSON format. It -has ``id``, ``geometry``, and ``properties`` attributes. The value of -``id`` is a string identifier unique within the feature's parent -collection. The ``geometry`` is another mapping with ``type`` and -``coordinates`` keys. The ``properties`` of a feature is another mapping -corresponding to its attribute table. - -Features are read and written using the ``Collection`` class. These -``Collection`` objects are a lot like Python ``file`` objects. A -``Collection`` opened in reading mode serves as an iterator over -features. One opened in a writing mode provides a ``write`` method. - -""" - -import glob -import logging -import os -from pathlib import Path -import platform -import warnings - -if platform.system() == "Windows": - _whl_dir = os.path.join(os.path.dirname(__file__), ".libs") - if os.path.exists(_whl_dir): - os.add_dll_directory(_whl_dir) - else: - if "PATH" in os.environ: - for p in os.environ["PATH"].split(os.pathsep): - if glob.glob(os.path.join(p, "gdal*.dll")): - os.add_dll_directory(p) - - -from fiona._env import ( - calc_gdal_version_num, - get_gdal_release_name, - get_gdal_version_num, - get_gdal_version_tuple, -) -from fiona._env import driver_count -from fiona._show_versions import show_versions -from fiona.collection import BytesCollection, Collection -from fiona.drvsupport import supported_drivers -from fiona.env import ensure_env_with_credentials, Env -from fiona.errors import FionaDeprecationWarning -from fiona.io import MemoryFile -from fiona.model import Feature, Geometry, Properties -from fiona.ogrext import ( - FIELD_TYPES_MAP, - _bounds, - _listdir, - _listlayers, - _remove, - _remove_layer, -) -from fiona.path import ParsedPath, parse_path, vsi_path -from fiona.vfs import parse_paths as vfs_parse_paths - -# These modules are imported by fiona.ogrext, but are also import here to -# help tools like cx_Freeze find them automatically -from fiona import _geometry, _err, rfc3339 -import uuid - - -__all__ = [ - "Feature", - "Geometry", - "Properties", - "bounds", - "listlayers", - "listdir", - "open", - "prop_type", - "prop_width", - "remove", -] - -__version__ = "1.9.5" -__gdal_version__ = get_gdal_release_name() - -gdal_version = get_gdal_version_tuple() - -log = logging.getLogger(__name__) -log.addHandler(logging.NullHandler()) - - -@ensure_env_with_credentials -def open( - fp, - mode="r", - driver=None, - schema=None, - crs=None, - encoding=None, - layer=None, - vfs=None, - enabled_drivers=None, - crs_wkt=None, - allow_unsupported_drivers=False, - **kwargs -): - """Open a collection for read, append, or write - - In write mode, a driver name such as "ESRI Shapefile" or "GPX" (see - OGR docs or ``ogr2ogr --help`` on the command line) and a schema - mapping such as: - - {'geometry': 'Point', - 'properties': [('class', 'int'), ('label', 'str'), - ('value', 'float')]} - - must be provided. If a particular ordering of properties ("fields" - in GIS parlance) in the written file is desired, a list of (key, - value) pairs as above or an ordered dict is required. If no ordering - is needed, a standard dict will suffice. - - A coordinate reference system for collections in write mode can be - defined by the ``crs`` parameter. It takes Proj4 style mappings like - - {'proj': 'longlat', 'ellps': 'WGS84', 'datum': 'WGS84', - 'no_defs': True} - - short hand strings like - - EPSG:4326 - - or WKT representations of coordinate reference systems. - - The drivers used by Fiona will try to detect the encoding of data - files. If they fail, you may provide the proper ``encoding``, such - as 'Windows-1252' for the original Natural Earth datasets. - - When the provided path is to a file containing multiple named layers - of data, a layer can be singled out by ``layer``. - - The drivers enabled for opening datasets may be restricted to those - listed in the ``enabled_drivers`` parameter. This and the ``driver`` - parameter afford much control over opening of files. - - # Trying only the GeoJSON driver when opening to read, the - # following raises ``DataIOError``: - fiona.open('example.shp', driver='GeoJSON') - - # Trying first the GeoJSON driver, then the Shapefile driver, - # the following succeeds: - fiona.open( - 'example.shp', enabled_drivers=['GeoJSON', 'ESRI Shapefile']) - - Parameters - ---------- - fp : URI (str or pathlib.Path), or file-like object - A dataset resource identifier or file object. - mode : str - One of 'r', to read (the default); 'a', to append; or 'w', to - write. - driver : str - In 'w' mode a format driver name is required. In 'r' or 'a' - mode this parameter has no effect. - schema : dict - Required in 'w' mode, has no effect in 'r' or 'a' mode. - crs : str or dict - Required in 'w' mode, has no effect in 'r' or 'a' mode. - encoding : str - Name of the encoding used to encode or decode the dataset. - layer : int or str - The integer index or name of a layer in a multi-layer dataset. - vfs : str - This is a deprecated parameter. A URI scheme such as "zip://" - should be used instead. - enabled_drivers : list - An optional list of driver names to used when opening a - collection. - crs_wkt : str - An optional WKT representation of a coordinate reference - system. - ignore_fields : list - List of field names to ignore on load. - ignore_geometry : bool - Ignore the geometry on load. - include_fields : list - List of a subset of field names to include on load. - wkt_version : fiona.enums.WktVersion or str, optional - Version to use to for the CRS WKT. - Defaults to GDAL's default (WKT1_GDAL for GDAL 3). - allow_unsupported_drivers : bool - If set to true do not limit GDAL drivers to set set of known working. - kwargs : mapping - Other driver-specific parameters that will be interpreted by - the OGR library as layer creation or opening options. - - Returns - ------- - Collection - - """ - if mode == "r" and hasattr(fp, "read"): - memfile = MemoryFile(fp.read()) - colxn = memfile.open( - driver=driver, - crs=crs, - schema=schema, - layer=layer, - encoding=encoding, - enabled_drivers=enabled_drivers, - allow_unsupported_drivers=allow_unsupported_drivers, - **kwargs - ) - colxn._env.enter_context(memfile) - return colxn - - elif mode == "w" and hasattr(fp, "write"): - memfile = MemoryFile() - colxn = memfile.open( - driver=driver, - crs=crs, - schema=schema, - layer=layer, - encoding=encoding, - enabled_drivers=enabled_drivers, - allow_unsupported_drivers=allow_unsupported_drivers, - crs_wkt=crs_wkt, - **kwargs - ) - colxn._env.enter_context(memfile) - - # For the writing case we push an extra callback onto the - # ExitStack. It ensures that the MemoryFile's contents are - # copied to the open file object. - def func(*args, **kwds): - memfile.seek(0) - fp.write(memfile.read()) - - colxn._env.callback(func) - return colxn - - elif mode == "a" and hasattr(fp, "write"): - raise OSError( - "Append mode is not supported for datasets in a Python file object." - ) - - # TODO: test for a shared base class or abstract type. - elif isinstance(fp, MemoryFile): - if mode.startswith("r"): - colxn = fp.open( - driver=driver, - allow_unsupported_drivers=allow_unsupported_drivers, - **kwargs - ) - - # Note: FilePath does not support writing and an exception will - # result from this. - elif mode.startswith("w"): - colxn = fp.open( - driver=driver, - crs=crs, - schema=schema, - layer=layer, - encoding=encoding, - enabled_drivers=enabled_drivers, - allow_unsupported_drivers=allow_unsupported_drivers, - crs_wkt=crs_wkt, - **kwargs - ) - return colxn - - # At this point, the fp argument is a string or path-like object - # which can be converted to a string. - else: - # If a pathlib.Path instance is given, convert it to a string path. - if isinstance(fp, Path): - fp = str(fp) - - if vfs: - warnings.warn( - "The vfs keyword argument is deprecated and will be removed in version 2.0.0. Instead, pass a URL that uses a zip or tar (for example) scheme.", - FionaDeprecationWarning, - stacklevel=2, - ) - path, scheme, archive = vfs_parse_paths(fp, vfs=vfs) - path = ParsedPath(path, archive, scheme) - else: - path = parse_path(fp) - - if mode in ("a", "r"): - colxn = Collection( - path, - mode, - driver=driver, - encoding=encoding, - layer=layer, - enabled_drivers=enabled_drivers, - allow_unsupported_drivers=allow_unsupported_drivers, - **kwargs - ) - elif mode == "w": - colxn = Collection( - path, - mode, - crs=crs, - driver=driver, - schema=schema, - encoding=encoding, - layer=layer, - enabled_drivers=enabled_drivers, - crs_wkt=crs_wkt, - allow_unsupported_drivers=allow_unsupported_drivers, - **kwargs - ) - else: - raise ValueError("mode string must be one of {'r', 'w', 'a'}") - - return colxn - - -collection = open - - -@ensure_env_with_credentials -def remove(path_or_collection, driver=None, layer=None): - """Delete an OGR data source or one of its layers. - - If no layer is specified, the entire dataset and all of its layers - and associated sidecar files will be deleted. - - Parameters - ---------- - path_or_collection : str, pathlib.Path, or Collection - The target Collection or its path. - driver : str, optional - The name of a driver to be used for deletion, optional. Can - usually be detected. - layer : str or int, optional - The name or index of a specific layer. - - Returns - ------- - None - - Raises - ------ - DatasetDeleteError - If the data source cannot be deleted. - - """ - if isinstance(path_or_collection, Collection): - collection = path_or_collection - path = collection.path - driver = collection.driver - collection.close() - elif isinstance(path_or_collection, Path): - path = str(path_or_collection) - else: - path = path_or_collection - if layer is None: - _remove(path, driver) - else: - _remove_layer(path, layer, driver) - - -@ensure_env_with_credentials -def listdir(fp): - """Lists the datasets in a directory or archive file. - - Archive files must be prefixed like "zip://" or "tar://". - - Parameters - ---------- - fp : str or pathlib.Path - Directory or archive path. - - Returns - ------- - list of str - A list of datasets. - - Raises - ------ - TypeError - If the input is not a str or Path. - - """ - if isinstance(fp, Path): - fp = str(fp) - - if not isinstance(fp, str): - raise TypeError("invalid path: %r" % fp) - - pobj = parse_path(fp) - return _listdir(vsi_path(pobj)) - - -@ensure_env_with_credentials -def listlayers(fp, vfs=None, **kwargs): - """Lists the layers (collections) in a dataset. - - Archive files must be prefixed like "zip://" or "tar://". - - Parameters - ---------- - fp : str, pathlib.Path, or file-like object - A dataset identifier or file object containing a dataset. - vfs : str - This is a deprecated parameter. A URI scheme such as "zip://" - should be used instead. - kwargs : dict - Dataset opening options and other keyword args. - - Returns - ------- - list of str - A list of layer name strings. - - Raises - ------ - TypeError - If the input is not a str, Path, or file object. - - """ - if hasattr(fp, 'read'): - with MemoryFile(fp.read()) as memfile: - return _listlayers(memfile.name, **kwargs) - else: - if isinstance(fp, Path): - fp = str(fp) - - if not isinstance(fp, str): - raise TypeError("invalid path: %r" % fp) - if vfs and not isinstance(vfs, str): - raise TypeError("invalid vfs: %r" % vfs) - - if vfs: - warnings.warn( - "The vfs keyword argument is deprecated and will be removed in 2.0. " - "Instead, pass a URL that uses a zip or tar (for example) scheme.", - FionaDeprecationWarning, - stacklevel=2, - ) - pobj_vfs = parse_path(vfs) - pobj_path = parse_path(fp) - pobj = ParsedPath(pobj_path.path, pobj_vfs.path, pobj_vfs.scheme) - else: - pobj = parse_path(fp) - - return _listlayers(vsi_path(pobj), **kwargs) - - -def prop_width(val): - """Returns the width of a str type property. - - Undefined for non-str properties. - - Parameters - ---------- - val : str - A type:width string from a collection schema. - - Returns - ------- - int or None - - Examples - -------- - >>> prop_width('str:25') - 25 - >>> prop_width('str') - 80 - - """ - if val.startswith('str'): - return int((val.split(":")[1:] or ["80"])[0]) - return None - - -def prop_type(text): - """Returns a schema property's proper Python type. - - Parameters - ---------- - text : str - A type name, with or without width. - - Returns - ------- - obj - A Python class. - - Examples - -------- - >>> prop_type('int') - - >>> prop_type('str:25') - - - """ - key = text.split(':')[0] - return FIELD_TYPES_MAP[key] - - -def drivers(*args, **kwargs): - """Returns a context manager with registered drivers. - - DEPRECATED - """ - warnings.warn("Use fiona.Env() instead.", FionaDeprecationWarning, stacklevel=2) - - if driver_count == 0: - log.debug("Creating a chief GDALEnv in drivers()") - return Env(**kwargs) - else: - log.debug("Creating a not-responsible GDALEnv in drivers()") - return Env(**kwargs) - - -def bounds(ob): - """Returns a (minx, miny, maxx, maxy) bounding box. - - The ``ob`` may be a feature record or geometry.""" - geom = ob.get('geometry') or ob - return _bounds(geom) diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index fcb49812..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/_show_versions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/_show_versions.cpython-312.pyc deleted file mode 100644 index 0e3228d2..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/_show_versions.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/collection.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/collection.cpython-312.pyc deleted file mode 100644 index 9826cbf2..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/collection.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/compat.cpython-312.pyc deleted file mode 100644 index f085bd33..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/compat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/crs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/crs.cpython-312.pyc deleted file mode 100644 index 02578421..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/crs.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/drvsupport.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/drvsupport.cpython-312.pyc deleted file mode 100644 index 3d514f6a..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/drvsupport.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/enums.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/enums.cpython-312.pyc deleted file mode 100644 index 423eedf5..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/enums.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/env.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/env.cpython-312.pyc deleted file mode 100644 index f86fc168..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/env.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/errors.cpython-312.pyc deleted file mode 100644 index 913c65f0..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/errors.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/inspector.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/inspector.cpython-312.pyc deleted file mode 100644 index 07e5afbb..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/inspector.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/io.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/io.cpython-312.pyc deleted file mode 100644 index 8680a47b..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/io.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/logutils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/logutils.cpython-312.pyc deleted file mode 100644 index 3abac18a..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/logutils.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/meta.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/meta.cpython-312.pyc deleted file mode 100644 index f3b86d8b..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/meta.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/model.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/model.cpython-312.pyc deleted file mode 100644 index 9f34d6e7..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/model.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/path.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/path.cpython-312.pyc deleted file mode 100644 index dd22adce..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/path.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/rfc3339.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/rfc3339.cpython-312.pyc deleted file mode 100644 index da0f74fc..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/rfc3339.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/session.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/session.cpython-312.pyc deleted file mode 100644 index fc562e0d..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/session.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/transform.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/transform.cpython-312.pyc deleted file mode 100644 index 3c4e482e..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/transform.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/__pycache__/vfs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/__pycache__/vfs.cpython-312.pyc deleted file mode 100644 index 9e1710e9..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/__pycache__/vfs.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/_cpl.pxd b/.venv/lib/python3.12/site-packages/fiona/_cpl.pxd deleted file mode 100644 index 609ee410..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/_cpl.pxd +++ /dev/null @@ -1,24 +0,0 @@ -# Cross-platform API functions. - -cdef extern from "cpl_conv.h": - void * CPLMalloc (size_t) - void CPLFree (void *ptr) - void CPLSetThreadLocalConfigOption (char *key, char *val) - const char *CPLGetConfigOption (char *, char *) - -cdef extern from "cpl_vsi.h": - ctypedef struct VSILFILE: - pass - int VSIFCloseL (VSILFILE *) - VSILFILE * VSIFileFromMemBuffer (const char * filename, - unsigned char * data, - int data_len, - int take_ownership) - int VSIUnlink (const char * pathname) - -ctypedef int OGRErr -ctypedef struct OGREnvelope: - double MinX - double MaxX - double MinY - double MaxY diff --git a/.venv/lib/python3.12/site-packages/fiona/_csl.pxd b/.venv/lib/python3.12/site-packages/fiona/_csl.pxd deleted file mode 100644 index e4f3561e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/_csl.pxd +++ /dev/null @@ -1,6 +0,0 @@ -# String API functions. - -cdef extern from "cpl_string.h": - char ** CSLAddNameValue (char **list, char *name, char *value) - char ** CSLSetNameValue (char **list, char *name, char *value) - void CSLDestroy (char **list) diff --git a/.venv/lib/python3.12/site-packages/fiona/_env.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/fiona/_env.cpython-312-x86_64-linux-gnu.so deleted file mode 100755 index ec67e40e..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/_env.cpython-312-x86_64-linux-gnu.so and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/_env.pxd b/.venv/lib/python3.12/site-packages/fiona/_env.pxd deleted file mode 100644 index e854031d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/_env.pxd +++ /dev/null @@ -1,17 +0,0 @@ -include "gdal.pxi" - - -cdef extern from "ogr_srs_api.h": - void OSRSetPROJSearchPaths(const char *const *papszPaths) - void OSRGetPROJVersion (int *pnMajor, int *pnMinor, int *pnPatch) - - -cdef class ConfigEnv(object): - cdef public object options - - -cdef class GDALEnv(ConfigEnv): - cdef public object _have_registered_drivers - - -cdef _safe_osr_release(OGRSpatialReferenceH srs) diff --git a/.venv/lib/python3.12/site-packages/fiona/_err.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/fiona/_err.cpython-312-x86_64-linux-gnu.so deleted file mode 100755 index d61ffe3f..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/_err.cpython-312-x86_64-linux-gnu.so and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/_err.pxd b/.venv/lib/python3.12/site-packages/fiona/_err.pxd deleted file mode 100644 index 8ab23c4e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/_err.pxd +++ /dev/null @@ -1,15 +0,0 @@ -from libc.stdio cimport * - -cdef extern from "cpl_vsi.h": - - ctypedef FILE VSILFILE - -cdef extern from "ogr_core.h": - - ctypedef int OGRErr - -cdef get_last_error_msg() -cdef int exc_wrap_int(int retval) except -1 -cdef OGRErr exc_wrap_ogrerr(OGRErr retval) except -1 -cdef void *exc_wrap_pointer(void *ptr) except NULL -cdef VSILFILE *exc_wrap_vsilfile(VSILFILE *f) except NULL diff --git a/.venv/lib/python3.12/site-packages/fiona/_geometry.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/fiona/_geometry.cpython-312-x86_64-linux-gnu.so deleted file mode 100755 index 1811e9fa..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/_geometry.cpython-312-x86_64-linux-gnu.so and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/_geometry.pxd b/.venv/lib/python3.12/site-packages/fiona/_geometry.pxd deleted file mode 100644 index 82ba5e9c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/_geometry.pxd +++ /dev/null @@ -1,144 +0,0 @@ -# Geometry API functions. - -ctypedef int OGRErr - - -cdef extern from "ogr_core.h": - ctypedef enum OGRwkbGeometryType: - wkbUnknown - wkbPoint - wkbLineString - wkbPolygon - wkbMultiPoint - wkbMultiLineString - wkbMultiPolygon - wkbGeometryCollection - wkbCircularString - wkbCompoundCurve - wkbCurvePolygon - wkbMultiCurve - wkbMultiSurface - wkbCurve - wkbSurface - wkbPolyhedralSurface - wkbTIN - wkbTriangle - wkbNone - wkbLinearRing - wkbCircularStringZ - wkbCompoundCurveZ - wkbCurvePolygonZ - wkbMultiCurveZ - wkbMultiSurfaceZ - wkbCurveZ - wkbSurfaceZ - wkbPolyhedralSurfaceZ - wkbTINZ - wkbTriangleZ - wkbPointM - wkbLineStringM - wkbPolygonM - wkbMultiPointM - wkbMultiLineStringM - wkbMultiPolygonM - wkbGeometryCollectionM - wkbCircularStringM - wkbCompoundCurveM - wkbCurvePolygonM - wkbMultiCurveM - wkbMultiSurfaceM - wkbCurveM - wkbSurfaceM - wkbPolyhedralSurfaceM - wkbTINM - wkbTriangleM - wkbPointZM - wkbLineStringZM - wkbPolygonZM - wkbMultiPointZM - wkbMultiLineStringZM - wkbMultiPolygonZM - wkbGeometryCollectionZM - wkbCircularStringZM - wkbCompoundCurveZM - wkbCurvePolygonZM - wkbMultiCurveZM - wkbMultiSurfaceZM - wkbCurveZM - wkbSurfaceZM - wkbPolyhedralSurfaceZM - wkbTINZM - wkbTriangleZM - wkbPoint25D - wkbLineString25D - wkbPolygon25D - wkbMultiPoint25D - wkbMultiLineString25D - wkbMultiPolygon25D - wkbGeometryCollection25D - - -ctypedef struct OGREnvelope: - double MinX - double MaxX - double MinY - double MaxY - - -cdef extern from "ogr_api.h": - OGRErr OGR_G_AddGeometryDirectly (void *geometry, void *part) - void OGR_G_AddPoint (void *geometry, double x, double y, double z) - void OGR_G_AddPoint_2D (void *geometry, double x, double y) - void OGR_G_CloseRings (void *geometry) - void * OGR_G_CreateGeometry (OGRwkbGeometryType wkbtypecode) - void OGR_G_DestroyGeometry (void *geometry) - unsigned char * OGR_G_ExportToJson (void *geometry) - void OGR_G_ExportToWkb (void *geometry, int endianness, char *buffer) - int OGR_G_GetCoordinateDimension (void *geometry) - int OGR_G_GetGeometryCount (void *geometry) - unsigned char * OGR_G_GetGeometryName (void *geometry) - int OGR_G_GetGeometryType (void *geometry) - void * OGR_G_GetGeometryRef (void *geometry, int n) - int OGR_G_GetPointCount (void *geometry) - double OGR_G_GetX (void *geometry, int n) - double OGR_G_GetY (void *geometry, int n) - double OGR_G_GetZ (void *geometry, int n) - OGRErr OGR_G_ImportFromWkb (void *geometry, unsigned char *bytes, int nbytes) - int OGR_G_WkbSize (void *geometry) - - -cdef class GeomBuilder: - cdef object ndims - cdef list _buildCoords(self, void *geom) - cdef dict _buildPoint(self, void *geom) - cdef dict _buildLineString(self, void *geom) - cdef dict _buildLinearRing(self, void *geom) - cdef list _buildParts(self, void *geom) - cdef dict _buildPolygon(self, void *geom) - cdef dict _buildMultiPoint(self, void *geom) - cdef dict _buildMultiLineString(self, void *geom) - cdef dict _buildMultiPolygon(self, void *geom) - cdef dict _buildGeometryCollection(self, void *geom) - cdef object build_from_feature(self, void *feature) - cdef object build(self, void *geom) - cpdef build_wkb(self, object wkb) - - -cdef class OGRGeomBuilder: - cdef void * _createOgrGeometry(self, int geom_type) except NULL - cdef _addPointToGeometry(self, void *cogr_geometry, object coordinate) - cdef void * _buildPoint(self, object coordinates) except NULL - cdef void * _buildLineString(self, object coordinates) except NULL - cdef void * _buildLinearRing(self, object coordinates) except NULL - cdef void * _buildPolygon(self, object coordinates) except NULL - cdef void * _buildMultiPoint(self, object coordinates) except NULL - cdef void * _buildMultiLineString(self, object coordinates) except NULL - cdef void * _buildMultiPolygon(self, object coordinates) except NULL - cdef void * _buildGeometryCollection(self, object coordinates) except NULL - cdef void * build(self, object geom) except NULL - - -cdef unsigned int geometry_type_code(object name) except? 9999 -cdef object normalize_geometry_type_code(unsigned int code) -cdef unsigned int base_geometry_type_code(unsigned int code) - diff --git a/.venv/lib/python3.12/site-packages/fiona/_show_versions.py b/.venv/lib/python3.12/site-packages/fiona/_show_versions.py deleted file mode 100644 index 1f5290f1..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/_show_versions.py +++ /dev/null @@ -1,37 +0,0 @@ -import platform -import sys - -import fiona -from fiona._env import get_gdal_release_name, get_proj_version_tuple - - -def show_versions(): - """ - Prints information useful for bug reports - """ - - fiona_version = fiona.__version__ - gdal_release_name = get_gdal_release_name() - proj_version_tuple = get_proj_version_tuple() - proj_version = ".".join(map(str, proj_version_tuple)) - os_info = "{system} {release}".format(system=platform.system(), - release=platform.release()) - python_version = platform.python_version() - python_exec = sys.executable - - msg = ("Fiona version: {fiona_version}" - "\nGDAL version: {gdal_release_name}" - "\nPROJ version: {proj_version}" - "\n" - "\nOS: {os_info}" - "\nPython: {python_version}" - "\nPython executable: '{python_exec}'" - "\n" - ) - - print(msg.format(fiona_version=fiona_version, - gdal_release_name=gdal_release_name, - proj_version=proj_version, - os_info=os_info, - python_version=python_version, - python_exec=python_exec)) diff --git a/.venv/lib/python3.12/site-packages/fiona/_transform.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/fiona/_transform.cpython-312-x86_64-linux-gnu.so deleted file mode 100755 index 722580fe..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/_transform.cpython-312-x86_64-linux-gnu.so and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/__init__.py b/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/__init__.py deleted file mode 100644 index 5b32fe76..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/__init__.py +++ /dev/null @@ -1,534 +0,0 @@ -""" Munch is a subclass of dict with attribute-style access. - - >>> b = Munch() - >>> b.hello = 'world' - >>> b.hello - 'world' - >>> b['hello'] += "!" - >>> b.hello - 'world!' - >>> b.foo = Munch(lol=True) - >>> b.foo.lol - True - >>> b.foo is b['foo'] - True - - It is safe to import * from this module: - - __all__ = ('Munch', 'munchify','unmunchify') - - un/munchify provide dictionary conversion; Munches can also be - converted via Munch.to/fromDict(). -""" - -from .python3_compat import iterkeys, iteritems, Mapping #, u - -__version__ = "2.5.0" -VERSION = tuple(map(int, __version__.split('.')[:3])) - -__all__ = ('Munch', 'munchify', 'DefaultMunch', 'DefaultFactoryMunch', 'unmunchify') - - - -class Munch(dict): - """ A dictionary that provides attribute-style access. - - >>> b = Munch() - >>> b.hello = 'world' - >>> b.hello - 'world' - >>> b['hello'] += "!" - >>> b.hello - 'world!' - >>> b.foo = Munch(lol=True) - >>> b.foo.lol - True - >>> b.foo is b['foo'] - True - - A Munch is a subclass of dict; it supports all the methods a dict does... - - >>> sorted(b.keys()) - ['foo', 'hello'] - - Including update()... - - >>> b.update({ 'ponies': 'are pretty!' }, hello=42) - >>> print (repr(b)) - Munch({'ponies': 'are pretty!', 'foo': Munch({'lol': True}), 'hello': 42}) - - As well as iteration... - - >>> sorted([ (k,b[k]) for k in b ]) - [('foo', Munch({'lol': True})), ('hello', 42), ('ponies', 'are pretty!')] - - And "splats". - - >>> "The {knights} who say {ni}!".format(**Munch(knights='lolcats', ni='can haz')) - 'The lolcats who say can haz!' - - See unmunchify/Munch.toDict, munchify/Munch.fromDict for notes about conversion. - """ - def __init__(self, *args, **kwargs): # pylint: disable=super-init-not-called - self.update(*args, **kwargs) - - # only called if k not found in normal places - def __getattr__(self, k): - """ Gets key if it exists, otherwise throws AttributeError. - - nb. __getattr__ is only called if key is not found in normal places. - - >>> b = Munch(bar='baz', lol={}) - >>> b.foo - Traceback (most recent call last): - ... - AttributeError: foo - - >>> b.bar - 'baz' - >>> getattr(b, 'bar') - 'baz' - >>> b['bar'] - 'baz' - - >>> b.lol is b['lol'] - True - >>> b.lol is getattr(b, 'lol') - True - """ - try: - # Throws exception if not in prototype chain - return object.__getattribute__(self, k) - except AttributeError: - try: - return self[k] - except KeyError: - raise AttributeError(k) - - def __setattr__(self, k, v): - """ Sets attribute k if it exists, otherwise sets key k. A KeyError - raised by set-item (only likely if you subclass Munch) will - propagate as an AttributeError instead. - - >>> b = Munch(foo='bar', this_is='useful when subclassing') - >>> hasattr(b.values, '__call__') - True - >>> b.values = 'uh oh' - >>> b.values - 'uh oh' - >>> b['values'] - Traceback (most recent call last): - ... - KeyError: 'values' - """ - try: - # Throws exception if not in prototype chain - object.__getattribute__(self, k) - except AttributeError: - try: - self[k] = v - except: - raise AttributeError(k) - else: - object.__setattr__(self, k, v) - - def __delattr__(self, k): - """ Deletes attribute k if it exists, otherwise deletes key k. A KeyError - raised by deleting the key--such as when the key is missing--will - propagate as an AttributeError instead. - - >>> b = Munch(lol=42) - >>> del b.lol - >>> b.lol - Traceback (most recent call last): - ... - AttributeError: lol - """ - try: - # Throws exception if not in prototype chain - object.__getattribute__(self, k) - except AttributeError: - try: - del self[k] - except KeyError: - raise AttributeError(k) - else: - object.__delattr__(self, k) - - def toDict(self): - """ Recursively converts a munch back into a dictionary. - - >>> b = Munch(foo=Munch(lol=True), hello=42, ponies='are pretty!') - >>> sorted(b.toDict().items()) - [('foo', {'lol': True}), ('hello', 42), ('ponies', 'are pretty!')] - - See unmunchify for more info. - """ - return unmunchify(self) - - @property - def __dict__(self): - return self.toDict() - - def __repr__(self): - """ Invertible* string-form of a Munch. - - >>> b = Munch(foo=Munch(lol=True), hello=42, ponies='are pretty!') - >>> print (repr(b)) - Munch({'ponies': 'are pretty!', 'foo': Munch({'lol': True}), 'hello': 42}) - >>> eval(repr(b)) - Munch({'ponies': 'are pretty!', 'foo': Munch({'lol': True}), 'hello': 42}) - - >>> with_spaces = Munch({1: 2, 'a b': 9, 'c': Munch({'simple': 5})}) - >>> print (repr(with_spaces)) - Munch({'a b': 9, 1: 2, 'c': Munch({'simple': 5})}) - >>> eval(repr(with_spaces)) - Munch({'a b': 9, 1: 2, 'c': Munch({'simple': 5})}) - - (*) Invertible so long as collection contents are each repr-invertible. - """ - return '{0}({1})'.format(self.__class__.__name__, dict.__repr__(self)) - - def __dir__(self): - return list(iterkeys(self)) - - def __getstate__(self): - """ Implement a serializable interface used for pickling. - - See https://docs.python.org/3.6/library/pickle.html. - """ - return {k: v for k, v in self.items()} - - def __setstate__(self, state): - """ Implement a serializable interface used for pickling. - - See https://docs.python.org/3.6/library/pickle.html. - """ - self.clear() - self.update(state) - - __members__ = __dir__ # for python2.x compatibility - - @classmethod - def fromDict(cls, d): - """ Recursively transforms a dictionary into a Munch via copy. - - >>> b = Munch.fromDict({'urmom': {'sez': {'what': 'what'}}}) - >>> b.urmom.sez.what - 'what' - - See munchify for more info. - """ - return munchify(d, cls) - - def copy(self): - return type(self).fromDict(self) - - def update(self, *args, **kwargs): - """ - Override built-in method to call custom __setitem__ method that may - be defined in subclasses. - """ - for k, v in iteritems(dict(*args, **kwargs)): - self[k] = v - - def get(self, k, d=None): - """ - D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None. - """ - if k not in self: - return d - return self[k] - - def setdefault(self, k, d=None): - """ - D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in D - """ - if k not in self: - self[k] = d - return self[k] - - -class AutoMunch(Munch): - def __setattr__(self, k, v): - """ Works the same as Munch.__setattr__ but if you supply - a dictionary as value it will convert it to another Munch. - """ - if isinstance(v, Mapping) and not isinstance(v, (AutoMunch, Munch)): - v = munchify(v, AutoMunch) - super(AutoMunch, self).__setattr__(k, v) - - -class DefaultMunch(Munch): - """ - A Munch that returns a user-specified value for missing keys. - """ - - def __init__(self, *args, **kwargs): - """ Construct a new DefaultMunch. Like collections.defaultdict, the - first argument is the default value; subsequent arguments are the - same as those for dict. - """ - # Mimic collections.defaultdict constructor - if args: - default = args[0] - args = args[1:] - else: - default = None - super(DefaultMunch, self).__init__(*args, **kwargs) - self.__default__ = default - - def __getattr__(self, k): - """ Gets key if it exists, otherwise returns the default value.""" - try: - return super(DefaultMunch, self).__getattr__(k) - except AttributeError: - return self.__default__ - - def __setattr__(self, k, v): - if k == '__default__': - object.__setattr__(self, k, v) - else: - super(DefaultMunch, self).__setattr__(k, v) - - def __getitem__(self, k): - """ Gets key if it exists, otherwise returns the default value.""" - try: - return super(DefaultMunch, self).__getitem__(k) - except KeyError: - return self.__default__ - - def __getstate__(self): - """ Implement a serializable interface used for pickling. - - See https://docs.python.org/3.6/library/pickle.html. - """ - return (self.__default__, {k: v for k, v in self.items()}) - - def __setstate__(self, state): - """ Implement a serializable interface used for pickling. - - See https://docs.python.org/3.6/library/pickle.html. - """ - self.clear() - default, state_dict = state - self.update(state_dict) - self.__default__ = default - - @classmethod - def fromDict(cls, d, default=None): - # pylint: disable=arguments-differ - return munchify(d, factory=lambda d_: cls(default, d_)) - - def copy(self): - return type(self).fromDict(self, default=self.__default__) - - def __repr__(self): - return '{0}({1!r}, {2})'.format( - type(self).__name__, self.__undefined__, dict.__repr__(self)) - - -class DefaultFactoryMunch(Munch): - """ A Munch that calls a user-specified function to generate values for - missing keys like collections.defaultdict. - - >>> b = DefaultFactoryMunch(list, {'hello': 'world!'}) - >>> b.hello - 'world!' - >>> b.foo - [] - >>> b.bar.append('hello') - >>> b.bar - ['hello'] - """ - - def __init__(self, default_factory, *args, **kwargs): - super(DefaultFactoryMunch, self).__init__(*args, **kwargs) - self.default_factory = default_factory - - @classmethod - def fromDict(cls, d, default_factory): - # pylint: disable=arguments-differ - return munchify(d, factory=lambda d_: cls(default_factory, d_)) - - def copy(self): - return type(self).fromDict(self, default_factory=self.default_factory) - - def __repr__(self): - factory = self.default_factory.__name__ - return '{0}({1}, {2})'.format( - type(self).__name__, factory, dict.__repr__(self)) - - def __setattr__(self, k, v): - if k == 'default_factory': - object.__setattr__(self, k, v) - else: - super(DefaultFactoryMunch, self).__setattr__(k, v) - - def __missing__(self, k): - self[k] = self.default_factory() - return self[k] - - -# While we could convert abstract types like Mapping or Iterable, I think -# munchify is more likely to "do what you mean" if it is conservative about -# casting (ex: isinstance(str,Iterable) == True ). -# -# Should you disagree, it is not difficult to duplicate this function with -# more aggressive coercion to suit your own purposes. - -def munchify(x, factory=Munch): - """ Recursively transforms a dictionary into a Munch via copy. - - >>> b = munchify({'urmom': {'sez': {'what': 'what'}}}) - >>> b.urmom.sez.what - 'what' - - munchify can handle intermediary dicts, lists and tuples (as well as - their subclasses), but ymmv on custom datatypes. - - >>> b = munchify({ 'lol': ('cats', {'hah':'i win again'}), - ... 'hello': [{'french':'salut', 'german':'hallo'}] }) - >>> b.hello[0].french - 'salut' - >>> b.lol[1].hah - 'i win again' - - nb. As dicts are not hashable, they cannot be nested in sets/frozensets. - """ - # Munchify x, using `seen` to track object cycles - seen = dict() - - def munchify_cycles(obj): - # If we've already begun munchifying obj, just return the already-created munchified obj - try: - return seen[id(obj)] - except KeyError: - pass - - # Otherwise, first partly munchify obj (but without descending into any lists or dicts) and save that - seen[id(obj)] = partial = pre_munchify(obj) - # Then finish munchifying lists and dicts inside obj (reusing munchified obj if cycles are encountered) - return post_munchify(partial, obj) - - def pre_munchify(obj): - # Here we return a skeleton of munchified obj, which is enough to save for later (in case - # we need to break cycles) but it needs to filled out in post_munchify - if isinstance(obj, Mapping): - return factory({}) - elif isinstance(obj, list): - return type(obj)() - elif isinstance(obj, tuple): - type_factory = getattr(obj, "_make", type(obj)) - return type_factory(munchify_cycles(item) for item in obj) - else: - return obj - - def post_munchify(partial, obj): - # Here we finish munchifying the parts of obj that were deferred by pre_munchify because they - # might be involved in a cycle - if isinstance(obj, Mapping): - partial.update((k, munchify_cycles(obj[k])) for k in iterkeys(obj)) - elif isinstance(obj, list): - partial.extend(munchify_cycles(item) for item in obj) - elif isinstance(obj, tuple): - for (item_partial, item) in zip(partial, obj): - post_munchify(item_partial, item) - - return partial - - return munchify_cycles(x) - - -def unmunchify(x): - """ Recursively converts a Munch into a dictionary. - - >>> b = Munch(foo=Munch(lol=True), hello=42, ponies='are pretty!') - >>> sorted(unmunchify(b).items()) - [('foo', {'lol': True}), ('hello', 42), ('ponies', 'are pretty!')] - - unmunchify will handle intermediary dicts, lists and tuples (as well as - their subclasses), but ymmv on custom datatypes. - - >>> b = Munch(foo=['bar', Munch(lol=True)], hello=42, - ... ponies=('are pretty!', Munch(lies='are trouble!'))) - >>> sorted(unmunchify(b).items()) #doctest: +NORMALIZE_WHITESPACE - [('foo', ['bar', {'lol': True}]), ('hello', 42), ('ponies', ('are pretty!', {'lies': 'are trouble!'}))] - - nb. As dicts are not hashable, they cannot be nested in sets/frozensets. - """ - - # Munchify x, using `seen` to track object cycles - seen = dict() - - def unmunchify_cycles(obj): - # If we've already begun unmunchifying obj, just return the already-created unmunchified obj - try: - return seen[id(obj)] - except KeyError: - pass - - # Otherwise, first partly unmunchify obj (but without descending into any lists or dicts) and save that - seen[id(obj)] = partial = pre_unmunchify(obj) - # Then finish unmunchifying lists and dicts inside obj (reusing unmunchified obj if cycles are encountered) - return post_unmunchify(partial, obj) - - def pre_unmunchify(obj): - # Here we return a skeleton of unmunchified obj, which is enough to save for later (in case - # we need to break cycles) but it needs to filled out in post_unmunchify - if isinstance(obj, Mapping): - return dict() - elif isinstance(obj, list): - return type(obj)() - elif isinstance(obj, tuple): - type_factory = getattr(obj, "_make", type(obj)) - return type_factory(unmunchify_cycles(item) for item in obj) - else: - return obj - - def post_unmunchify(partial, obj): - # Here we finish unmunchifying the parts of obj that were deferred by pre_unmunchify because they - # might be involved in a cycle - if isinstance(obj, Mapping): - partial.update((k, unmunchify_cycles(obj[k])) for k in iterkeys(obj)) - elif isinstance(obj, list): - partial.extend(unmunchify_cycles(v) for v in obj) - elif isinstance(obj, tuple): - for (value_partial, value) in zip(partial, obj): - post_unmunchify(value_partial, value) - - return partial - - return unmunchify_cycles(x) - - -# Serialization - -try: - try: - import json - except ImportError: - import simplejson as json - - def toJSON(self, **options): - """ Serializes this Munch to JSON. Accepts the same keyword options as `json.dumps()`. - - >>> b = Munch(foo=Munch(lol=True), hello=42, ponies='are pretty!') - >>> json.dumps(b) == b.toJSON() - True - """ - return json.dumps(self, **options) - - def fromJSON(cls, stream, *args, **kwargs): - """ Deserializes JSON to Munch or any of its subclasses. - """ - factory = lambda d: cls(*(args + (d,)), **kwargs) - return munchify(json.loads(stream), factory=factory) - - Munch.toJSON = toJSON - Munch.fromJSON = classmethod(fromJSON) - -except ImportError: - pass - - diff --git a/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 9df2d787..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/__pycache__/python3_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/__pycache__/python3_compat.cpython-312.pyc deleted file mode 100644 index 543bf856..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/__pycache__/python3_compat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/python3_compat.py b/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/python3_compat.py deleted file mode 100644 index 4f30702f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/_vendor/munch/python3_compat.py +++ /dev/null @@ -1,6 +0,0 @@ -from six import u, iteritems, iterkeys # pylint: disable=unused-import -try: - from collections.abc import Mapping # pylint: disable=unused-import -except ImportError: - # Legacy Python - from collections import Mapping # pylint: disable=unused-import diff --git a/.venv/lib/python3.12/site-packages/fiona/collection.py b/.venv/lib/python3.12/site-packages/fiona/collection.py deleted file mode 100644 index 3258b2a8..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/collection.py +++ /dev/null @@ -1,800 +0,0 @@ -"""Collections provide file-like access to feature data.""" - -from contextlib import ExitStack -import logging -import os -import warnings -from collections import OrderedDict - -from fiona import compat, vfs -from fiona.ogrext import Iterator, ItemsIterator, KeysIterator -from fiona.ogrext import Session, WritingSession -from fiona.ogrext import buffer_to_virtual_file, remove_virtual_file, GEOMETRY_TYPES -from fiona.errors import ( - DriverError, - DriverSupportError, - GDALVersionError, - SchemaError, - UnsupportedGeometryTypeError, - UnsupportedOperation, -) -from fiona.logutils import FieldSkipLogFilter -from fiona.crs import CRS -from fiona._env import get_gdal_release_name, get_gdal_version_tuple -from fiona.env import env_ctx_if_needed -from fiona.errors import FionaDeprecationWarning -from fiona.drvsupport import ( - driver_from_extension, - supported_drivers, - driver_mode_mingdal, - _driver_converts_field_type_silently_to_str, - _driver_supports_field, -) -from fiona.path import Path, vsi_path, parse_path - - -_GDAL_VERSION_TUPLE = get_gdal_version_tuple() -_GDAL_RELEASE_NAME = get_gdal_release_name() - -log = logging.getLogger(__name__) - - -class Collection: - - """A file-like interface to features of a vector dataset - - Python text file objects are iterators over lines of a file. Fiona - Collections are similar iterators (not lists!) over features - represented as GeoJSON-like mappings. - """ - - def __init__( - self, - path, - mode="r", - driver=None, - schema=None, - crs=None, - encoding=None, - layer=None, - vsi=None, - archive=None, - enabled_drivers=None, - crs_wkt=None, - ignore_fields=None, - ignore_geometry=False, - include_fields=None, - wkt_version=None, - allow_unsupported_drivers=False, - **kwargs - ): - - """The required ``path`` is the absolute or relative path to - a file, such as '/data/test_uk.shp'. In ``mode`` 'r', data can - be read only. In ``mode`` 'a', data can be appended to a file. - In ``mode`` 'w', data overwrites the existing contents of - a file. - - In ``mode`` 'w', an OGR ``driver`` name and a ``schema`` are - required. A Proj4 ``crs`` string is recommended. If both ``crs`` - and ``crs_wkt`` keyword arguments are passed, the latter will - trump the former. - - In 'w' mode, kwargs will be mapped to OGR layer creation - options. - - """ - self._closed = True - - if not isinstance(path, (str, Path)): - raise TypeError("invalid path: %r" % path) - if not isinstance(mode, str) or mode not in ("r", "w", "a"): - raise TypeError("invalid mode: %r" % mode) - if driver and not isinstance(driver, str): - raise TypeError("invalid driver: %r" % driver) - if schema and not hasattr(schema, "get"): - raise TypeError("invalid schema: %r" % schema) - - # Rasterio's CRS is compatible with Fiona. This class - # constructor only requires that the crs value have a to_wkt() - # method. - if ( - crs - and not isinstance(crs, compat.DICT_TYPES + (str, CRS)) - and not (hasattr(crs, "to_wkt") and callable(crs.to_wkt)) - ): - raise TypeError("invalid crs: %r" % crs) - - if crs_wkt and not isinstance(crs_wkt, str): - raise TypeError("invalid crs_wkt: %r" % crs_wkt) - if encoding and not isinstance(encoding, str): - raise TypeError("invalid encoding: %r" % encoding) - if layer and not isinstance(layer, (str, int)): - raise TypeError("invalid name: %r" % layer) - if vsi: - if not isinstance(vsi, str) or not vfs.valid_vsi(vsi): - raise TypeError("invalid vsi: %r" % vsi) - if archive and not isinstance(archive, str): - raise TypeError("invalid archive: %r" % archive) - if ignore_fields is not None and include_fields is not None: - raise ValueError("Cannot specify both 'ignore_fields' and 'include_fields'") - - if mode == "w" and driver is None: - driver = driver_from_extension(path) - - # Check GDAL version against drivers - if ( - driver in driver_mode_mingdal[mode] - and get_gdal_version_tuple() < driver_mode_mingdal[mode][driver] - ): - min_gdal_version = ".".join( - list(map(str, driver_mode_mingdal[mode][driver])) - ) - - raise DriverError( - "{driver} driver requires at least GDAL {min_gdal_version} for mode '{mode}', " - "Fiona was compiled against: {gdal}".format( - driver=driver, - mode=mode, - min_gdal_version=min_gdal_version, - gdal=get_gdal_release_name(), - ) - ) - - self.session = None - self.iterator = None - self._len = 0 - self._bounds = None - self._driver = None - self._schema = None - self._crs = None - self._crs_wkt = None - self.enabled_drivers = enabled_drivers - self.include_fields = include_fields - self.ignore_fields = ignore_fields - self.ignore_geometry = bool(ignore_geometry) - self._allow_unsupported_drivers = allow_unsupported_drivers - self._env = None - self._closed = True - - # Check GDAL version against drivers - if ( - driver in driver_mode_mingdal[mode] - and get_gdal_version_tuple() < driver_mode_mingdal[mode][driver] - ): - min_gdal_version = ".".join( - list(map(str, driver_mode_mingdal[mode][driver])) - ) - - raise DriverError( - "{driver} driver requires at least GDAL {min_gdal_version} for mode '{mode}', " - "Fiona was compiled against: {gdal}".format( - driver=driver, - mode=mode, - min_gdal_version=min_gdal_version, - gdal=get_gdal_release_name(), - ) - ) - - if vsi: - self.path = vfs.vsi_path(path, vsi, archive) - path = parse_path(self.path) - else: - path = parse_path(path) - self.path = vsi_path(path) - - if mode == "w": - if layer and not isinstance(layer, str): - raise ValueError("in 'w' mode, layer names must be strings") - if driver == "GeoJSON": - if layer is not None: - raise ValueError("the GeoJSON format does not have layers") - self.name = "OgrGeoJSON" - # TODO: raise ValueError as above for other single-layer formats. - else: - self.name = layer or os.path.basename(os.path.splitext(path.path)[0]) - else: - if layer in (0, None): - self.name = 0 - else: - self.name = layer or os.path.basename(os.path.splitext(path)[0]) - - self.mode = mode - - if self.mode == "w": - if driver == "Shapefile": - driver = "ESRI Shapefile" - if not driver: - raise DriverError("no driver") - if not allow_unsupported_drivers: - if driver not in supported_drivers: - raise DriverError("unsupported driver: %r" % driver) - if self.mode not in supported_drivers[driver]: - raise DriverError("unsupported mode: %r" % self.mode) - self._driver = driver - - if not schema: - raise SchemaError("no schema") - if "properties" in schema: - # Make an ordered dict of schema properties. - this_schema = schema.copy() - this_schema["properties"] = OrderedDict(schema["properties"]) - schema = this_schema - else: - schema["properties"] = OrderedDict() - if "geometry" not in schema: - schema["geometry"] = None - self._schema = schema - - self._check_schema_driver_support() - - if crs_wkt or crs: - self._crs_wkt = CRS.from_user_input(crs_wkt or crs).to_wkt( - version=wkt_version - ) - - self._driver = driver - kwargs.update(encoding=encoding) - self.encoding = encoding - - try: - if self.mode == "r": - self.session = Session() - self.session.start(self, **kwargs) - elif self.mode in ("a", "w"): - self.session = WritingSession() - self.session.start(self, **kwargs) - except OSError: - self.session = None - raise - - if self.session is not None: - self.guard_driver_mode() - - if self.mode in ("a", "w"): - self._valid_geom_types = _get_valid_geom_types(self.schema, self.driver) - - self.field_skip_log_filter = FieldSkipLogFilter() - self._env = ExitStack() - self._closed = False - - def __repr__(self): - return "<{} Collection '{}', mode '{}' at {}>".format( - self.closed and "closed" or "open", - self.path + ":" + str(self.name), - self.mode, - hex(id(self)), - ) - - def guard_driver_mode(self): - if not self._allow_unsupported_drivers: - driver = self.session.get_driver() - if driver not in supported_drivers: - raise DriverError("unsupported driver: %r" % driver) - if self.mode not in supported_drivers[driver]: - raise DriverError("unsupported mode: %r" % self.mode) - - @property - def driver(self): - """Returns the name of the proper OGR driver.""" - if not self._driver and self.mode in ("a", "r") and self.session: - self._driver = self.session.get_driver() - return self._driver - - @property - def schema(self): - """Returns a mapping describing the data schema. - - The mapping has 'geometry' and 'properties' items. The former is a - string such as 'Point' and the latter is an ordered mapping that - follows the order of fields in the data file. - """ - if not self._schema and self.mode in ("a", "r") and self.session: - self._schema = self.session.get_schema() - return self._schema - - @property - def crs(self): - """The coordinate reference system (CRS) of the Collection.""" - if self._crs is None and self.session: - self._crs = self.session.get_crs() - return self._crs - - @property - def crs_wkt(self): - """Returns a WKT string.""" - if self._crs_wkt is None and self.session: - self._crs_wkt = self.session.get_crs_wkt() - return self._crs_wkt - - def tags(self, ns=None): - """Returns a dict containing copies of the dataset or layers's - tags. Tags are pairs of key and value strings. Tags belong to - namespaces. The standard namespaces are: default (None) and - 'IMAGE_STRUCTURE'. Applications can create their own additional - namespaces. - - Parameters - ---------- - ns: str, optional - Can be used to select a namespace other than the default. - - Returns - ------- - dict - """ - if _GDAL_VERSION_TUPLE.major < 2: - raise GDALVersionError( - "tags requires GDAL 2+, fiona was compiled " - "against: {}".format(_GDAL_RELEASE_NAME) - ) - if self.session: - return self.session.tags(ns=ns) - return None - - def get_tag_item(self, key, ns=None): - """Returns tag item value - - Parameters - ---------- - key: str - The key for the metadata item to fetch. - ns: str, optional - Used to select a namespace other than the default. - - Returns - ------- - str - """ - if _GDAL_VERSION_TUPLE.major < 2: - raise GDALVersionError( - "get_tag_item requires GDAL 2+, fiona was compiled " - "against: {}".format(_GDAL_RELEASE_NAME) - ) - if self.session: - return self.session.get_tag_item(key=key, ns=ns) - return None - - def update_tags(self, tags, ns=None): - """Writes a dict containing the dataset or layers's tags. - Tags are pairs of key and value strings. Tags belong to - namespaces. The standard namespaces are: default (None) and - 'IMAGE_STRUCTURE'. Applications can create their own additional - namespaces. - - Parameters - ---------- - tags: dict - The dict of metadata items to set. - ns: str, optional - Used to select a namespace other than the default. - - Returns - ------- - int - """ - if _GDAL_VERSION_TUPLE.major < 2: - raise GDALVersionError( - "update_tags requires GDAL 2+, fiona was compiled " - "against: {}".format(_GDAL_RELEASE_NAME) - ) - if not isinstance(self.session, WritingSession): - raise UnsupportedOperation("Unable to update tags as not in writing mode.") - return self.session.update_tags(tags, ns=ns) - - def update_tag_item(self, key, tag, ns=None): - """Updates the tag item value - - Parameters - ---------- - key: str - The key for the metadata item to set. - tag: str - The value of the metadata item to set. - ns: str, optional - Used to select a namespace other than the default. - - Returns - ------- - int - """ - if _GDAL_VERSION_TUPLE.major < 2: - raise GDALVersionError( - "update_tag_item requires GDAL 2+, fiona was compiled " - "against: {}".format(_GDAL_RELEASE_NAME) - ) - if not isinstance(self.session, WritingSession): - raise UnsupportedOperation("Unable to update tag as not in writing mode.") - return self.session.update_tag_item(key=key, tag=tag, ns=ns) - - @property - def meta(self): - """Returns a mapping with the driver, schema, crs, and additional - properties.""" - return { - "driver": self.driver, - "schema": self.schema, - "crs": self.crs, - "crs_wkt": self.crs_wkt, - } - - profile = meta - - def filter(self, *args, **kwds): - """Returns an iterator over records, but filtered by a test for - spatial intersection with the provided ``bbox``, a (minx, miny, - maxx, maxy) tuple or a geometry ``mask``. An attribute filter can - be set using an SQL ``where`` clause, which uses the `OGR SQL dialect - `__. - - Positional arguments ``stop`` or ``start, stop[, step]`` allows - iteration to skip over items or stop at a specific item. - - Note: spatial filtering using ``mask`` may be inaccurate and returning - all features overlapping the envelope of ``mask``. - - """ - if self.closed: - raise ValueError("I/O operation on closed collection") - elif self.mode != "r": - raise OSError("collection not open for reading") - if args: - s = slice(*args) - start = s.start - stop = s.stop - step = s.step - else: - start = stop = step = None - bbox = kwds.get("bbox") - mask = kwds.get("mask") - if bbox and mask: - raise ValueError("mask and bbox can not be set together") - where = kwds.get("where") - self.iterator = Iterator(self, start, stop, step, bbox, mask, where) - return self.iterator - - def items(self, *args, **kwds): - """Returns an iterator over FID, record pairs, optionally - filtered by a test for spatial intersection with the provided - ``bbox``, a (minx, miny, maxx, maxy) tuple or a geometry - ``mask``. An attribute filter can be set using an SQL ``where`` - clause, which uses the `OGR SQL dialect - `__. - - Positional arguments ``stop`` or ``start, stop[, step]`` allows - iteration to skip over items or stop at a specific item. - - Note: spatial filtering using ``mask`` may be inaccurate and returning - all features overlapping the envelope of ``mask``. - - """ - if self.closed: - raise ValueError("I/O operation on closed collection") - elif self.mode != "r": - raise OSError("collection not open for reading") - if args: - s = slice(*args) - start = s.start - stop = s.stop - step = s.step - else: - start = stop = step = None - bbox = kwds.get("bbox") - mask = kwds.get("mask") - if bbox and mask: - raise ValueError("mask and bbox can not be set together") - where = kwds.get("where") - self.iterator = ItemsIterator(self, start, stop, step, bbox, mask, where) - return self.iterator - - def keys(self, *args, **kwds): - """Returns an iterator over FIDs, optionally - filtered by a test for spatial intersection with the provided - ``bbox``, a (minx, miny, maxx, maxy) tuple or a geometry - ``mask``. An attribute filter can be set using an SQL ``where`` - clause, which uses the `OGR SQL dialect - `__. - - Positional arguments ``stop`` or ``start, stop[, step]`` allows - iteration to skip over items or stop at a specific item. - - Note: spatial filtering using ``mask`` may be inaccurate and returning - all features overlapping the envelope of ``mask``. - """ - if self.closed: - raise ValueError("I/O operation on closed collection") - elif self.mode != "r": - raise OSError("collection not open for reading") - if args: - s = slice(*args) - start = s.start - stop = s.stop - step = s.step - else: - start = stop = step = None - bbox = kwds.get("bbox") - mask = kwds.get("mask") - if bbox and mask: - raise ValueError("mask and bbox can not be set together") - where = kwds.get("where") - self.iterator = KeysIterator(self, start, stop, step, bbox, mask, where) - return self.iterator - - def __contains__(self, fid): - return self.session.has_feature(fid) - - values = filter - - def __iter__(self): - """Returns an iterator over records.""" - return self.filter() - - def __next__(self): - """Returns next record from iterator.""" - warnings.warn( - "Collection.__next__() is buggy and will be removed in " - "Fiona 2.0. Switch to `next(iter(collection))`.", - FionaDeprecationWarning, - stacklevel=2, - ) - if not self.iterator: - iter(self) - return next(self.iterator) - - next = __next__ - - def __getitem__(self, item): - return self.session.__getitem__(item) - - def get(self, item): - return self.session.get(item) - - def writerecords(self, records): - """Stages multiple records for writing to disk.""" - if self.closed: - raise ValueError("I/O operation on closed collection") - if self.mode not in ("a", "w"): - raise OSError("collection not open for writing") - self.session.writerecs(records, self) - self._len = self.session.get_length() - self._bounds = None - - def write(self, record): - """Stages a record for writing to disk. - - Note: Each call of this method will start and commit a - unique transaction with the data source. - """ - self.writerecords([record]) - - def validate_record(self, record): - """Compares the record to the collection's schema. - - Returns ``True`` if the record matches, else ``False``. - """ - # Currently we only compare keys of properties, not the types of - # values. - return set(record["properties"].keys()) == set( - self.schema["properties"].keys() - ) and self.validate_record_geometry(record) - - def validate_record_geometry(self, record): - """Compares the record's geometry to the collection's schema. - - Returns ``True`` if the record matches, else ``False``. - """ - # Shapefiles welcome mixes of line/multis and polygon/multis. - # OGR reports these mixed files as type "Polygon" or "LineString" - # but will return either these or their multi counterparts when - # reading features. - if ( - self.driver == "ESRI Shapefile" - and "Point" not in record["geometry"]["type"] - ): - return record["geometry"]["type"].lstrip("Multi") == self.schema[ - "geometry" - ].lstrip("3D ").lstrip("Multi") - else: - return record["geometry"]["type"] == self.schema["geometry"].lstrip("3D ") - - def __len__(self): - if self._len <= 0 and self.session is not None: - self._len = self.session.get_length() - if self._len < 0: - # Raise TypeError when we don't know the length so that Python - # will treat Collection as a generator - raise TypeError("Layer does not support counting") - return self._len - - @property - def bounds(self): - """Returns (minx, miny, maxx, maxy).""" - if self._bounds is None and self.session is not None: - self._bounds = self.session.get_extent() - return self._bounds - - def _check_schema_driver_support(self): - """Check support for the schema against the driver - - See GH#572 for discussion. - """ - gdal_version_major = _GDAL_VERSION_TUPLE.major - - for field in self._schema["properties"].values(): - field_type = field.split(":")[0] - - if not _driver_supports_field(self.driver, field_type): - if ( - self.driver == "GPKG" - and gdal_version_major < 2 - and field_type == "datetime" - ): - raise DriverSupportError( - "GDAL 1.x GPKG driver does not support datetime fields" - ) - else: - raise DriverSupportError( - "{driver} does not support {field_type} " - "fields".format(driver=self.driver, field_type=field_type) - ) - elif ( - field_type - in { - "time", - "datetime", - "date", - } - and _driver_converts_field_type_silently_to_str(self.driver, field_type) - ): - if ( - self._driver == "GeoJSON" - and gdal_version_major < 2 - and field_type in {"datetime", "date"} - ): - warnings.warn( - "GeoJSON driver in GDAL 1.x silently converts {} to string" - " in non-standard format".format(field_type) - ) - else: - warnings.warn( - "{driver} driver silently converts {field_type} " - "to string".format(driver=self.driver, field_type=field_type) - ) - - def flush(self): - """Flush the buffer.""" - if self.session is not None: - self.session.sync(self) - new_len = self.session.get_length() - self._len = new_len > self._len and new_len or self._len - self._bounds = None - - def close(self): - """In append or write mode, flushes data to disk, then ends access.""" - if not self._closed: - if self.session is not None and self.session.isactive(): - if self.mode in ("a", "w"): - self.flush() - log.debug("Flushed buffer") - self.session.stop() - log.debug("Stopped session") - self.session = None - self.iterator = None - if self._env: - self._env.close() - self._env = None - self._closed = True - - @property - def closed(self): - """``False`` if data can be accessed, otherwise ``True``.""" - return self._closed - - def __enter__(self): - self._env.enter_context(env_ctx_if_needed()) - logging.getLogger("fiona.ogrext").addFilter(self.field_skip_log_filter) - return self - - def __exit__(self, type, value, traceback): - logging.getLogger("fiona.ogrext").removeFilter(self.field_skip_log_filter) - self.close() - - def __del__(self): - # Note: you can't count on this being called. Call close() explicitly - # or use the context manager protocol ("with"). - if not self._closed: - self.close() - - -ALL_GEOMETRY_TYPES = { - geom_type - for geom_type in GEOMETRY_TYPES.values() - if "3D " not in geom_type and geom_type != "None" -} -ALL_GEOMETRY_TYPES.add("None") - - -def _get_valid_geom_types(schema, driver): - """Returns a set of geometry types the schema will accept""" - schema_geom_type = schema["geometry"] - if isinstance(schema_geom_type, str) or schema_geom_type is None: - schema_geom_type = (schema_geom_type,) - valid_types = set() - for geom_type in schema_geom_type: - geom_type = str(geom_type).lstrip("3D ") - if geom_type == "Unknown" or geom_type == "Any": - valid_types.update(ALL_GEOMETRY_TYPES) - else: - if geom_type not in ALL_GEOMETRY_TYPES: - raise UnsupportedGeometryTypeError(geom_type) - valid_types.add(geom_type) - - # shapefiles don't differentiate between single/multi geometries, except points - if driver == "ESRI Shapefile" and "Point" not in valid_types: - for geom_type in list(valid_types): - if not geom_type.startswith("Multi"): - valid_types.add("Multi" + geom_type) - - return valid_types - - -def get_filetype(bytesbuf): - """Detect compression type of bytesbuf. - - ZIP only. TODO: add others relevant to GDAL/OGR.""" - if bytesbuf[:4].startswith(b"PK\x03\x04"): - return "zip" - else: - return "" - - -class BytesCollection(Collection): - """BytesCollection takes a buffer of bytes and maps that to - a virtual file that can then be opened by fiona. - """ - - def __init__(self, bytesbuf, **kwds): - """Takes buffer of bytes whose contents is something we'd like - to open with Fiona and maps it to a virtual file. - - """ - self._closed = True - - if not isinstance(bytesbuf, bytes): - raise ValueError("input buffer must be bytes") - - # Hold a reference to the buffer, as bad things will happen if - # it is garbage collected while in use. - self.bytesbuf = bytesbuf - - # Map the buffer to a file. If the buffer contains a zipfile - # we take extra steps in naming the buffer and in opening - # it. If the requested driver is for GeoJSON, we append an an - # appropriate extension to ensure the driver reads it. - filetype = get_filetype(self.bytesbuf) - ext = "" - if filetype == "zip": - ext = ".zip" - elif kwds.get("driver") == "GeoJSON": - ext = ".json" - self.virtual_file = buffer_to_virtual_file(self.bytesbuf, ext=ext) - - # Instantiate the parent class. - super().__init__(self.virtual_file, vsi=filetype, **kwds) - self._closed = False - - def close(self): - """Removes the virtual file associated with the class.""" - super().close() - if self.virtual_file: - remove_virtual_file(self.virtual_file) - self.virtual_file = None - self.bytesbuf = None - - def __repr__(self): - return "<{} BytesCollection '{}', mode '{}' at {}>".format( - self.closed and "closed" or "open", - self.path + ":" + str(self.name), - self.mode, - hex(id(self)), - ) diff --git a/.venv/lib/python3.12/site-packages/fiona/compat.py b/.venv/lib/python3.12/site-packages/fiona/compat.py deleted file mode 100644 index 79f67cef..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/compat.py +++ /dev/null @@ -1,12 +0,0 @@ -from collections import UserDict -from collections.abc import Mapping - -DICT_TYPES = (dict, Mapping, UserDict) - - -def strencode(instr, encoding="utf-8"): - try: - instr = instr.encode(encoding) - except (UnicodeDecodeError, AttributeError): - pass - return instr diff --git a/.venv/lib/python3.12/site-packages/fiona/crs.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/fiona/crs.cpython-312-x86_64-linux-gnu.so deleted file mode 100755 index 85e51794..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/crs.cpython-312-x86_64-linux-gnu.so and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/crs.pxd b/.venv/lib/python3.12/site-packages/fiona/crs.pxd deleted file mode 100644 index 8c61a23a..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/crs.pxd +++ /dev/null @@ -1,11 +0,0 @@ -include "gdal.pxi" - - -cdef class CRS: - cdef OGRSpatialReferenceH _osr - cdef object _data - cdef object _epsg - cdef object _wkt - - -cdef void osr_set_traditional_axis_mapping_strategy(OGRSpatialReferenceH hSrs) diff --git a/.venv/lib/python3.12/site-packages/fiona/crs.py b/.venv/lib/python3.12/site-packages/fiona/crs.py deleted file mode 100644 index 27bf8ca4..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/crs.py +++ /dev/null @@ -1,185 +0,0 @@ -"""Coordinate reference systems and functions - -PROJ is the law of this land: https://proj.org/. But whereas PROJ -coordinate reference systems are described by strings of parameters such as - - +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs - -here we use mappings: - - {'proj': 'longlat', 'ellps': 'WGS84', 'datum': 'WGS84', 'no_defs': True} -""" - -from six import string_types - - -def to_string(crs): - """Turn a parameter mapping into a more conventional PROJ.4 string. - - Mapping keys are tested against the ``all_proj_keys`` list. Values of - ``True`` are omitted, leaving the key bare: {'no_defs': True} -> "+no_defs" - and items where the value is otherwise not a str, int, or float are - omitted. - """ - items = [] - for k, v in sorted(filter( - lambda x: x[0] in all_proj_keys and x[1] is not False and ( - isinstance(x[1], (bool, int, float)) or - isinstance(x[1], string_types)), - crs.items())): - items.append( - "+" + "=".join( - map(str, filter( - lambda y: (y or y == 0) and y is not True, (k, v))))) - return " ".join(items) - - -def from_string(prjs): - """Turn a PROJ.4 string into a mapping of parameters. - - Bare parameters like "+no_defs" are given a value of ``True``. All keys - are checked against the ``all_proj_keys`` list. - """ - parts = [o.lstrip('+') for o in prjs.strip().split()] - - def parse(v): - try: - return int(v) - except ValueError: - pass - try: - return float(v) - except ValueError: - return v - items = map( - lambda kv: len(kv) == 2 and (kv[0], parse(kv[1])) or (kv[0], True), - (p.split('=') for p in parts)) - return dict((k, v) for k, v in items if k in all_proj_keys) - - -def from_epsg(code): - """Given an integer code, returns an EPSG-like mapping. - - Note: the input code is not validated against an EPSG database. - """ - if int(code) <= 0: - raise ValueError("EPSG codes are positive integers") - return {'init': "epsg:%s" % code, 'no_defs': True} - - -# Below is the big list of PROJ4 parameters from -# http://trac.osgeo.org/proj/wiki/GenParms. -# It is parsed into a list of parameter keys ``all_proj_keys``. - -_param_data = """ -+a Semimajor radius of the ellipsoid axis -+alpha ? Used with Oblique Mercator and possibly a few others -+axis Axis orientation (new in 4.8.0) -+b Semiminor radius of the ellipsoid axis -+datum Datum name (see `proj -ld`) -+ellps Ellipsoid name (see `proj -le`) -+init Initialize from a named CRS -+k Scaling factor (old name) -+k_0 Scaling factor (new name) -+lat_0 Latitude of origin -+lat_1 Latitude of first standard parallel -+lat_2 Latitude of second standard parallel -+lat_ts Latitude of true scale -+lon_0 Central meridian -+lonc ? Longitude used with Oblique Mercator and possibly a few others -+lon_wrap Center longitude to use for wrapping (see below) -+nadgrids Filename of NTv2 grid file to use for datum transforms (see below) -+no_defs Don't use the /usr/share/proj/proj_def.dat defaults file -+over Allow longitude output outside -180 to 180 range, disables wrapping (see below) -+pm Alternate prime meridian (typically a city name, see below) -+proj Projection name (see `proj -l`) -+south Denotes southern hemisphere UTM zone -+to_meter Multiplier to convert map units to 1.0m -+towgs84 3 or 7 term datum transform parameters (see below) -+units meters, US survey feet, etc. -+vto_meter vertical conversion to meters. -+vunits vertical units. -+x_0 False easting -+y_0 False northing -+zone UTM zone -+a Semimajor radius of the ellipsoid axis -+alpha ? Used with Oblique Mercator and possibly a few others -+azi -+b Semiminor radius of the ellipsoid axis -+belgium -+beta -+czech -+e Eccentricity of the ellipsoid = sqrt(1 - b^2/a^2) = sqrt( f*(2-f) ) -+ellps Ellipsoid name (see `proj -le`) -+es Eccentricity of the ellipsoid squared -+f Flattening of the ellipsoid (often presented as an inverse, e.g. 1/298) -+gamma -+geoc -+guam -+h -+k Scaling factor (old name) -+K -+k_0 Scaling factor (new name) -+lat_0 Latitude of origin -+lat_1 Latitude of first standard parallel -+lat_2 Latitude of second standard parallel -+lat_b -+lat_t -+lat_ts Latitude of true scale -+lon_0 Central meridian -+lon_1 -+lon_2 -+lonc ? Longitude used with Oblique Mercator and possibly a few others -+lsat -+m -+M -+n -+no_cut -+no_off -+no_rot -+ns -+o_alpha -+o_lat_1 -+o_lat_2 -+o_lat_c -+o_lat_p -+o_lon_1 -+o_lon_2 -+o_lon_c -+o_lon_p -+o_proj -+over -+p -+path -+proj Projection name (see `proj -l`) -+q -+R -+R_a -+R_A Compute radius such that the area of the sphere is the same as the area of the ellipsoid -+rf Reciprocal of the ellipsoid flattening term (e.g. 298) -+R_g -+R_h -+R_lat_a -+R_lat_g -+rot -+R_V -+s -+south Denotes southern hemisphere UTM zone -+sym -+t -+theta -+tilt -+to_meter Multiplier to convert map units to 1.0m -+units meters, US survey feet, etc. -+vopt -+W -+westo -+x_0 False easting -+y_0 False northing -+zone UTM zone -+wktext Marker -""" - -_lines = filter(lambda x: len(x) > 1, _param_data.split("\n")) -all_proj_keys = list( - set(line.split()[0].lstrip("+").strip() for line in _lines)) + ['no_mayo'] diff --git a/.venv/lib/python3.12/site-packages/fiona/drvsupport.py b/.venv/lib/python3.12/site-packages/fiona/drvsupport.py deleted file mode 100644 index e5f56749..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/drvsupport.py +++ /dev/null @@ -1,414 +0,0 @@ -import os - -from fiona.env import Env -from fiona._env import get_gdal_version_tuple - - -_GDAL_VERSION = get_gdal_version_tuple() - -# Here is the list of available drivers as (name, modes) tuples. Currently, -# we only expose the defaults (excepting FileGDB). We also don't expose -# the CSV or GeoJSON drivers. Use Python's csv and json modules instead. -# Might still exclude a few more of these after making a pass through the -# entries for each at https://gdal.org/drivers/vector/index.html to screen -# out the multi-layer formats. - -supported_drivers = dict( - [ - # OGR Vector Formats - # Format Name Code Creation Georeferencing Compiled by default - # Aeronav FAA files AeronavFAA No Yes Yes - ("AeronavFAA", "r"), - # ESRI ArcObjects ArcObjects No Yes No, needs ESRI ArcObjects - # Arc/Info Binary Coverage AVCBin No Yes Yes - # multi-layer - # ("AVCBin", "r"), - # Arc/Info .E00 (ASCII) Coverage AVCE00 No Yes Yes - # multi-layer - # ("AVCE00", "r"), - # Arc/Info Generate ARCGEN No No Yes - ("ARCGEN", "r"), - # Atlas BNA BNA Yes No Yes - ("BNA", "rw"), - # AutoCAD DWG DWG No No No - # AutoCAD DXF DXF Yes No Yes - ("DXF", "rw"), - # Comma Separated Value (.csv) CSV Yes No Yes - ("CSV", "raw"), - # CouchDB / GeoCouch CouchDB Yes Yes No, needs libcurl - # DODS/OPeNDAP DODS No Yes No, needs libdap - # EDIGEO EDIGEO No Yes Yes - # multi-layer? Hard to tell from the OGR docs - # ("EDIGEO", "r"), - # ElasticSearch ElasticSearch Yes (write-only) - No, needs libcurl - # ESRI FileGDB FileGDB Yes Yes No, needs FileGDB API library - # multi-layer - ("FileGDB", "raw"), - ("OpenFileGDB", "raw"), - # ESRI Personal GeoDatabase PGeo No Yes No, needs ODBC library - # ESRI ArcSDE SDE No Yes No, needs ESRI SDE - # ESRIJSON ESRIJSON No Yes Yes - ("ESRIJSON", "r"), - # ESRI Shapefile ESRI Shapefile Yes Yes Yes - ("ESRI Shapefile", "raw"), - # FMEObjects Gateway FMEObjects Gateway No Yes No, needs FME - ("FlatGeobuf", "raw"), - # GeoJSON GeoJSON Yes Yes Yes - ("GeoJSON", "raw"), - # GeoJSONSeq GeoJSON sequences Yes Yes Yes - ("GeoJSONSeq", "raw"), - # Géoconcept Export Geoconcept Yes Yes Yes - # multi-layers - # ("Geoconcept", "raw"), - # Geomedia .mdb Geomedia No No No, needs ODBC library - # GeoPackage GPKG Yes Yes No, needs libsqlite3 - ("GPKG", "raw"), - # GeoRSS GeoRSS Yes Yes Yes (read support needs libexpat) - # Google Fusion Tables GFT Yes Yes No, needs libcurl - # GML GML Yes Yes Yes (read support needs Xerces or libexpat) - ("GML", "rw"), - # GMT GMT Yes Yes Yes - ("GMT", "rw"), - # GMT renamed to OGR_GMT for GDAL 2.x - ("OGR_GMT", "rw"), - # GPSBabel GPSBabel Yes Yes Yes (needs GPSBabel and GPX driver) - # GPX GPX Yes Yes Yes (read support needs libexpat) - ("GPX", "rw"), - # GRASS GRASS No Yes No, needs libgrass - # GPSTrackMaker (.gtm, .gtz) GPSTrackMaker Yes Yes Yes - # ("GPSTrackMaker", "rw"), - # Hydrographic Transfer Format HTF No Yes Yes - # TODO: Fiona is not ready for multi-layer formats: ("HTF", "r"), - # Idrisi Vector (.VCT) Idrisi No Yes Yes - ("Idrisi", "r"), - # Informix DataBlade IDB Yes Yes No, needs Informix DataBlade - # INTERLIS "Interlis 1" and "Interlis 2" Yes Yes No, needs Xerces (INTERLIS model reading needs ili2c.jar) - # INGRES INGRES Yes No No, needs INGRESS - # KML KML Yes Yes Yes (read support needs libexpat) - # LIBKML LIBKML Yes Yes No, needs libkml - # Mapinfo File MapInfo File Yes Yes Yes - ("MapInfo File", "raw"), - # Microstation DGN DGN Yes No Yes - ("DGN", "raw"), - # Access MDB (PGeo and Geomedia capable) MDB No Yes No, needs JDK/JRE - # Memory Memory Yes Yes Yes - # MySQL MySQL No Yes No, needs MySQL library - # NAS - ALKIS NAS No Yes No, needs Xerces - # Oracle Spatial OCI Yes Yes No, needs OCI library - # ODBC ODBC No Yes No, needs ODBC library - # MS SQL Spatial MSSQLSpatial Yes Yes No, needs ODBC library - # Open Document Spreadsheet ODS Yes No No, needs libexpat - # OGDI Vectors (VPF, VMAP, DCW) OGDI No Yes No, needs OGDI library - # OpenAir OpenAir No Yes Yes - # multi-layer - # ("OpenAir", "r"), - # (Geo)Parquet - ("Parquet", "raw"), - # PCI Geomatics Database File PCIDSK No No Yes, using internal PCIDSK SDK (from GDAL 1.7.0) - ("PCIDSK", "raw"), - # PDS PDS No Yes Yes - ("PDS", "r"), - # PDS renamed to OGR_PDS for GDAL 2.x - ("OGR_PDS", "r"), - # PGDump PostgreSQL SQL dump Yes Yes Yes - # PostgreSQL/PostGIS PostgreSQL/PostGIS Yes Yes No, needs PostgreSQL client library (libpq) - # EPIInfo .REC REC No No Yes - # S-57 (ENC) S57 No Yes Yes - # multi-layer - ("S57", "r"), - # SDTS SDTS No Yes Yes - # multi-layer - # ("SDTS", "r"), - # SEG-P1 / UKOOA P1/90 SEGUKOOA No Yes Yes - # multi-layers - # ("SEGUKOOA", "r"), - # SEG-Y SEGY No No Yes - ("SEGY", "r"), - # Norwegian SOSI Standard SOSI No Yes No, needs FYBA library - # SQLite/SpatiaLite SQLite Yes Yes No, needs libsqlite3 or libspatialite - ("SQLite", "raw"), - # SUA SUA No Yes Yes - ("SUA", "r"), - # SVG SVG No Yes No, needs libexpat - # TopoJSON TopoJSON No Yes Yes - ("TopoJSON", "r"), - # UK .NTF UK. NTF No Yes Yes - # multi-layer - # ("UK. NTF", "r"), - # U.S. Census TIGER/Line TIGER No Yes Yes - # multi-layer - # ("TIGER", "r"), - # VFK data VFK No Yes Yes - # multi-layer - # ("VFK", "r"), - # VRT - Virtual Datasource VRT No Yes Yes - # multi-layer - # ("VRT", "r"), - # OGC WFS (Web Feature Service) WFS Yes Yes No, needs libcurl - # MS Excel format XLS No No No, needs libfreexl - # Office Open XML spreadsheet XLSX Yes No No, needs libexpat - # X-Plane/Flighgear aeronautical data XPLANE No Yes Yes - # multi-layer - # ("XPLANE", "r") - ] -) - -# Minimal gdal version for different modes -driver_mode_mingdal = { - "r": {"GPKG": (1, 11, 0), "GeoJSONSeq": (2, 4, 0), "FlatGeobuf": (3, 1, 0)}, - "w": { - "GPKG": (1, 11, 0), - "PCIDSK": (2, 0, 0), - "GeoJSONSeq": (2, 4, 0), - "FlatGeobuf": (3, 1, 3), - "OpenFileGDB": (3, 6, 0), - }, - "a": { - "GPKG": (1, 11, 0), - "PCIDSK": (2, 0, 0), - "GeoJSON": (2, 1, 0), - "GeoJSONSeq": (3, 6, 0), - "MapInfo File": (2, 0, 0), - "FlatGeobuf": (3, 5, 1), - "OpenFileGDB": (3, 6, 0), - }, -} - - -def _driver_supports_mode(driver, mode): - """ Returns True if driver supports mode, False otherwise - - Note: this function is not part of Fiona's public API. - """ - if driver not in supported_drivers: - return False - if mode not in supported_drivers[driver]: - return False - if driver in driver_mode_mingdal[mode]: - if _GDAL_VERSION < driver_mode_mingdal[mode][driver]: - return False - return True - - -# Removes drivers in the supported_drivers dictionary that the -# machine's installation of OGR due to how it is compiled. -# OGR may not have optional libraries compiled or installed. -def _filter_supported_drivers(): - global supported_drivers - - with Env() as gdalenv: - ogrdrv_names = gdalenv.drivers().keys() - supported_drivers_copy = supported_drivers.copy() - for drv in supported_drivers.keys(): - if drv not in ogrdrv_names: - del supported_drivers_copy[drv] - - supported_drivers = supported_drivers_copy - - -_filter_supported_drivers() - - -def vector_driver_extensions(): - """ - Returns - ------- - dict: - Map of extensions to the driver. - """ - from fiona.meta import extensions # prevent circular import - - extension_to_driver = {} - for drv, modes in supported_drivers.items(): - # update extensions based on driver suppport - for extension in extensions(drv) or (): - if "w" in modes: - extension_to_driver[extension] = extension_to_driver.get(extension, drv) - return extension_to_driver - - -def driver_from_extension(path): - """ - Attempt to auto-detect driver based on the extension. - - Parameters - ---------- - path: str or pathlike object - The path to the dataset to write with. - - Returns - ------- - str: - The name of the driver for the extension. - """ - try: - # in case the path is a file handle - # or a partsed path - path = path.name - except AttributeError: - pass - - driver_extensions = vector_driver_extensions() - - try: - return driver_extensions[os.path.splitext(path)[-1].lstrip(".").lower()] - except KeyError: - raise ValueError("Unable to detect driver. Please specify driver.") - - -# driver_converts_to_str contains field type, driver combinations that -# are silently converted to string None: field type is always converted -# to str (2, 0, 0): starting from gdal 2.0 field type is not converted -# to string -_driver_converts_to_str = { - 'time': { - 'CSV': None, - 'PCIDSK': None, - 'GeoJSON': (2, 0, 0), - 'GPKG': None, - 'GMT': None, - 'OGR_GMT': None - }, - 'datetime': { - 'CSV': None, - 'PCIDSK': None, - 'GeoJSON': (2, 0, 0), - 'GML': (3, 1, 0), - }, - 'date': { - 'CSV': None, - 'PCIDSK': None, - 'GeoJSON': (2, 0, 0), - 'GMT': None, - 'OGR_GMT': None, - 'GML': (3, 1, 0), - } -} - - -def _driver_converts_field_type_silently_to_str(driver, field_type): - """ Returns True if the driver converts the field_type silently to str, False otherwise - - Note: this function is not part of Fiona's public API. - """ - if field_type in _driver_converts_to_str and driver in _driver_converts_to_str[field_type]: - if _driver_converts_to_str[field_type][driver] is None: - return True - elif _GDAL_VERSION < _driver_converts_to_str[field_type][driver]: - return True - return False - - -# None: field type is never supported, (2, 0, 0) field type is supported starting with gdal 2.0 -_driver_field_type_unsupported = { - "time": { - "ESRI Shapefile": None, - "GPKG": (2, 0, 0), - "GPX": None, - "GPSTrackMaker": None, - "GML": (3, 1, 0), - "DGN": None, - "BNA": None, - "DXF": None, - "PCIDSK": (2, 1, 0), - "FileGDB": (3, 5, 0), - "FlatGeobuf": None, - "OpenFileGDB": None, - }, - 'datetime': { - 'ESRI Shapefile': None, - 'GPKG': (2, 0, 0), - 'DGN': None, - 'BNA': None, - 'DXF': None, - 'PCIDSK': (2, 1, 0) - }, - "date": { - "GPX": None, - "GPSTrackMaker": None, - "DGN": None, - "BNA": None, - "DXF": None, - "PCIDSK": (2, 1, 0), - "FileGDB": (3, 5, 0), - "FlatGeobuf": None, - "OpenFileGDB": None, - }, -} - - -def _driver_supports_field(driver, field_type): - """ Returns True if the driver supports the field_type, False otherwise - - Note: this function is not part of Fiona's public API. - """ - if field_type in _driver_field_type_unsupported and driver in _driver_field_type_unsupported[field_type]: - if _driver_field_type_unsupported[field_type][driver] is None: - return False - elif _GDAL_VERSION < _driver_field_type_unsupported[field_type][driver]: - return False - - return True - - -# None: field type never supports timezones, (2, 0, 0): field type supports timezones with GDAL 2.0.0 -_drivers_not_supporting_timezones = { - 'datetime': { - 'MapInfo File': None, - 'GPKG': (3, 1, 0), - 'GPSTrackMaker': (3, 1, 1), - 'FileGDB': None, - 'SQLite': (2, 4, 0) - }, - "time": { - "MapInfo File": None, - "GPKG": None, - "GPSTrackMaker": None, - "GeoJSON": None, - "GeoJSONSeq": None, - "GML": None, - "CSV": None, - "GMT": None, - "OGR_GMT": None, - "SQLite": None, - }, -} - - -def _driver_supports_timezones(driver, field_type): - """ Returns True if the driver supports timezones for field_type, False otherwise - - Note: this function is not part of Fiona's public API. - """ - if field_type in _drivers_not_supporting_timezones and driver in _drivers_not_supporting_timezones[field_type]: - if _drivers_not_supporting_timezones[field_type][driver] is None: - return False - elif _GDAL_VERSION < _drivers_not_supporting_timezones[field_type][driver]: - return False - return True - - -# None: driver never supports timezones, (2, 0, 0): driver supports timezones with GDAL 2.0.0 -_drivers_not_supporting_milliseconds = { - "GPSTrackMaker": None, - "FileGDB": None, - "OpenFileGDB": None, -} - - -def _driver_supports_milliseconds(driver): - """ Returns True if the driver supports milliseconds, False otherwise - - Note: this function is not part of Fiona's public API. - """ - # GDAL 2.0 introduced support for milliseconds - if _GDAL_VERSION.major < 2: - return False - - if driver in _drivers_not_supporting_milliseconds: - if _drivers_not_supporting_milliseconds[driver] is None: - return False - elif _drivers_not_supporting_milliseconds[driver] < _GDAL_VERSION: - return False - - return True diff --git a/.venv/lib/python3.12/site-packages/fiona/enums.py b/.venv/lib/python3.12/site-packages/fiona/enums.py deleted file mode 100644 index fab2584f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/enums.py +++ /dev/null @@ -1,31 +0,0 @@ -"""Enumerations.""" - -from enum import Enum - - -class WktVersion(Enum): - """ - .. versionadded:: 1.9.0 - - Supported CRS WKT string versions. - """ - - #: WKT Version 2 from 2015 - WKT2_2015 = "WKT2_2015" - #: Alias for latest WKT Version 2 - WKT2 = "WKT2" - #: WKT Version 2 from 2019 - WKT2_2019 = "WKT2_2018" - #: WKT Version 1 GDAL Style - WKT1_GDAL = "WKT1_GDAL" - #: Alias for WKT Version 1 GDAL Style - WKT1 = "WKT1" - #: WKT Version 1 ESRI Style - WKT1_ESRI = "WKT1_ESRI" - - @classmethod - def _missing_(cls, value): - if value == "WKT2_2019": - # WKT2_2019 alias added in GDAL 3.2, use WKT2_2018 for compatibility - return WktVersion.WKT2_2019 - raise ValueError(f"Invalid value for WktVersion: {value}") diff --git a/.venv/lib/python3.12/site-packages/fiona/env.py b/.venv/lib/python3.12/site-packages/fiona/env.py deleted file mode 100644 index f8f7ed63..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/env.py +++ /dev/null @@ -1,696 +0,0 @@ -"""Fiona's GDAL/AWS environment""" - -from functools import wraps, total_ordering -from inspect import getfullargspec -import logging -import os -import re -import threading -import warnings - -import attr - -from fiona._env import ( - GDALDataFinder, - GDALEnv, - PROJDataFinder, - calc_gdal_version_num, - get_gdal_config, - get_gdal_release_name, - get_gdal_version_num, - set_gdal_config, - set_proj_data_search_path, -) -from fiona.errors import EnvError, FionaDeprecationWarning, GDALVersionError -from fiona.session import Session, DummySession - - -class ThreadEnv(threading.local): - def __init__(self): - self._env = None # Initialises in each thread - - # When the outermost 'fiona.Env()' executes '__enter__' it - # probes the GDAL environment to see if any of the supplied - # config options already exist, the assumption being that they - # were set with 'osgeo.gdal.SetConfigOption()' or possibly - # 'fiona.env.set_gdal_config()'. The discovered options are - # reinstated when the outermost Fiona environment exits. - # Without this check any environment options that are present in - # the GDAL environment and are also passed to 'fiona.Env()' - # will be unset when 'fiona.Env()' tears down, regardless of - # their value. For example: - # - # from osgeo import gdal import fiona - # - # gdal.SetConfigOption('key', 'value') - # with fiona.Env(key='something'): - # pass - # - # The config option 'key' would be unset when 'Env()' exits. - # A more comprehensive solution would also leverage - # https://trac.osgeo.org/gdal/changeset/37273 but this gets - # Fiona + older versions of GDAL halfway there. One major - # assumption is that environment variables are not set directly - # with 'osgeo.gdal.SetConfigOption()' OR - # 'fiona.env.set_gdal_config()' inside of a 'fiona.Env()'. - self._discovered_options = None - - -local = ThreadEnv() - -log = logging.getLogger(__name__) - - -class Env: - """Abstraction for GDAL and AWS configuration - - The GDAL library is stateful: it has a registry of format drivers, - an error stack, and dozens of configuration options. - - Fiona's approach to working with GDAL is to wrap all the state - up using a Python context manager (see PEP 343, - https://www.python.org/dev/peps/pep-0343/). When the context is - entered GDAL drivers are registered, error handlers are - configured, and configuration options are set. When the context - is exited, drivers are removed from the registry and other - configurations are removed. - - Example: - - with fiona.Env(GDAL_CACHEMAX=512) as env: - # All drivers are registered, GDAL's raster block cache - # size is set to 512MB. - # Commence processing... - ... - # End of processing. - - # At this point, configuration options are set to their - # previous (possible unset) values. - - A boto3 session or boto3 session constructor arguments - `aws_access_key_id`, `aws_secret_access_key`, `aws_session_token` - may be passed to Env's constructor. In the latter case, a session - will be created as soon as needed. AWS credentials are configured - for GDAL as needed. - """ - - @classmethod - def default_options(cls): - """Default configuration options - - Parameters - ---------- - None - - Returns - ------- - dict - - """ - return { - "CHECK_WITH_INVERT_PROJ": True, - "GTIFF_IMPLICIT_JPEG_OVR": False, - "FIONA_ENV": True, - } - - def __init__( - self, - session=None, - aws_unsigned=False, - profile_name=None, - session_class=Session.aws_or_dummy, - **options - ): - """Create a new GDAL/AWS environment. - Note: this class is a context manager. GDAL isn't configured - until the context is entered via `with fiona.Env():` - - Parameters - ---------- - session : optional - A Session object. - aws_unsigned : bool, optional - Do not sign cloud requests. - profile_name : str, optional - A shared credentials profile name, as per boto3. - session_class : Session, optional - A sub-class of Session. - **options : optional - A mapping of GDAL configuration options, e.g., - `CPL_DEBUG=True, CHECK_WITH_INVERT_PROJ=False`. - - Returns - ------- - Env - - Notes - ----- - We raise EnvError if the GDAL config options - AWS_ACCESS_KEY_ID or AWS_SECRET_ACCESS_KEY are given. AWS - credentials are handled exclusively by boto3. - - Examples - -------- - >>> with Env(CPL_DEBUG=True, CPL_CURL_VERBOSE=True): - ... with fiona.open("zip+https://example.com/a.zip") as col: - ... print(col.profile) - - For access to secured cloud resources, a Fiona Session or a - foreign session object may be passed to the constructor. - - >>> import boto3 - >>> from fiona.session import AWSSession - >>> boto3_session = boto3.Session(...) - >>> with Env(AWSSession(boto3_session)): - ... with fiona.open("zip+s3://example/a.zip") as col: - ... print(col.profile - - """ - aws_access_key_id = options.pop("aws_access_key_id", None) - # Warn deprecation in 1.9, remove in 2.0. - if aws_access_key_id: - warnings.warn( - "Passing abstract session keyword arguments is deprecated. " - "Pass a Fiona AWSSession object instead.", - FionaDeprecationWarning, - ) - - aws_secret_access_key = options.pop("aws_secret_access_key", None) - aws_session_token = options.pop("aws_session_token", None) - region_name = options.pop("region_name", None) - - if not {"AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"}.isdisjoint(options): - raise EnvError( - "GDAL's AWS config options can not be directly set. " - "AWS credentials are handled exclusively by boto3." - ) - - if session: - # Passing a session via keyword argument is the canonical - # way to configure access to secured cloud resources. - # Warn deprecation in 1.9, remove in 2.0. - if not isinstance(session, Session): - warnings.warn( - "Passing a boto3 session is deprecated. Pass a Fiona AWSSession object instead.", - FionaDeprecationWarning, - ) - session = Session.aws_or_dummy(session=session) - - self.session = session - - elif aws_access_key_id or profile_name or aws_unsigned: - self.session = Session.aws_or_dummy( - aws_access_key_id=aws_access_key_id, - aws_secret_access_key=aws_secret_access_key, - aws_session_token=aws_session_token, - region_name=region_name, - profile_name=profile_name, - aws_unsigned=aws_unsigned, - ) - - elif {"AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"}.issubset(os.environ.keys()): - self.session = Session.from_environ() - - else: - self.session = DummySession() - - self.options = options.copy() - self.context_options = {} - - @classmethod - def from_defaults(cls, *args, **kwargs): - """Create an environment with default config options - - Parameters - ---------- - args : optional - Positional arguments for Env() - kwargs : optional - Keyword arguments for Env() - - Returns - ------- - Env - - Notes - ----- - The items in kwargs will be overlaid on the default values. - - """ - options = Env.default_options() - options.update(**kwargs) - return Env(*args, **options) - - def credentialize(self): - """Get credentials and configure GDAL - - Note well: this method is a no-op if the GDAL environment - already has credentials, unless session is not None. - - Returns - ------- - None - - """ - cred_opts = self.session.get_credential_options() - self.options.update(**cred_opts) - setenv(**cred_opts) - - def drivers(self): - """Return a mapping of registered drivers.""" - return local._env.drivers() - - def _dump_open_datasets(self): - """Writes descriptions of open datasets to stderr - - For debugging and testing purposes. - """ - return local._env._dump_open_datasets() - - def __enter__(self): - if local._env is None: - self._has_parent_env = False - - # See note directly above where _discovered_options is globally - # defined. This MUST happen before calling 'defenv()'. - local._discovered_options = {} - # Don't want to reinstate the "RASTERIO_ENV" option. - probe_env = {k for k in self.options.keys() if k != "RASTERIO_ENV"} - for key in probe_env: - val = get_gdal_config(key, normalize=False) - if val is not None: - local._discovered_options[key] = val - - defenv(**self.options) - self.context_options = {} - else: - self._has_parent_env = True - self.context_options = getenv() - setenv(**self.options) - - self.credentialize() - return self - - def __exit__(self, exc_type=None, exc_val=None, exc_tb=None): - delenv() - if self._has_parent_env: - defenv() - setenv(**self.context_options) - else: - # See note directly above where _discovered_options is globally - # defined. - while local._discovered_options: - key, val = local._discovered_options.popitem() - set_gdal_config(key, val, normalize=False) - - local._discovered_options = None - - -def defenv(**options): - """Create a default environment if necessary.""" - if not local._env: - local._env = GDALEnv() - local._env.update_config_options(**options) - - local._env.start() - - -def getenv(): - """Get a mapping of current options.""" - if not local._env: - raise EnvError("No GDAL environment exists") - else: - return local._env.options.copy() - - -def hasenv(): - return bool(local._env) - - -def setenv(**options): - """Set options in the existing environment.""" - if not local._env: - raise EnvError("No GDAL environment exists") - else: - local._env.update_config_options(**options) - - -def hascreds(): - warnings.warn("Please use Env.session.hascreds() instead", FionaDeprecationWarning) - return local._env is not None and all( - key in local._env.get_config_options() - for key in ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"] - ) - - -def delenv(): - """Delete options in the existing environment.""" - if not local._env: - raise EnvError("No GDAL environment exists") - else: - local._env.clear_config_options() - - local._env.stop() - local._env = None - - -class NullContextManager: - def __init__(self): - pass - - def __enter__(self): - return self - - def __exit__(self, *args): - pass - - -def env_ctx_if_needed(): - """Return an Env if one does not exist - - Returns - ------- - Env or a do-nothing context manager - - """ - if local._env: - return NullContextManager() - else: - return Env.from_defaults() - - -def ensure_env(f): - """A decorator that ensures an env exists before a function - calls any GDAL C functions. - - Parameters - ---------- - f : function - A function. - - Returns - ------- - A function wrapper. - - Notes - ----- - If there is already an existing environment, the wrapper does - nothing and immediately calls f with the given arguments. - - """ - - @wraps(f) - def wrapper(*args, **kwargs): - if local._env: - return f(*args, **kwargs) - else: - with Env.from_defaults(): - return f(*args, **kwargs) - - return wrapper - - -def ensure_env_with_credentials(f): - """Ensures a config environment exists and has credentials. - - Parameters - ---------- - f : function - A function. - - Returns - ------- - A function wrapper. - - Notes - ----- - The function wrapper checks the first argument of f and - credentializes the environment if the first argument is a URI with - scheme "s3". - - If there is already an existing environment, the wrapper does - nothing and immediately calls f with the given arguments. - - """ - - @wraps(f) - def wrapper(*args, **kwds): - if local._env: - env_ctor = Env - else: - env_ctor = Env.from_defaults - - fp_arg = kwds.get("fp", None) or args[0] - - if isinstance(fp_arg, str): - session_cls = Session.cls_from_path(fp_arg) - - if local._env and session_cls.hascreds(getenv()): - session_cls = DummySession - - session = session_cls() - - else: - session = DummySession() - - with env_ctor(session=session): - return f(*args, **kwds) - - return wrapper - - -@attr.s(slots=True) -@total_ordering -class GDALVersion: - """Convenience class for obtaining GDAL major and minor version - components and comparing between versions. This is highly - simplistic and assumes a very normal numbering scheme for versions - and ignores everything except the major and minor components. - - """ - - major = attr.ib(default=0, validator=attr.validators.instance_of(int)) - minor = attr.ib(default=0, validator=attr.validators.instance_of(int)) - - def __eq__(self, other): - return (self.major, self.minor) == tuple(other.major, other.minor) - - def __lt__(self, other): - return (self.major, self.minor) < tuple(other.major, other.minor) - - def __repr__(self): - return f"GDALVersion(major={self.major}, minor={self.minor})" - - def __str__(self): - return f"{self.major}.{self.minor}" - - @classmethod - def parse(cls, input): - """ - Parses input tuple or string to GDALVersion. If input is a GDALVersion - instance, it is returned. - - Parameters - ---------- - input: tuple of (major, minor), string, or instance of GDALVersion - - Returns - ------- - GDALVersion instance - - """ - if isinstance(input, cls): - return input - if isinstance(input, tuple): - return cls(*input) - elif isinstance(input, str): - # Extract major and minor version components. - # alpha, beta, rc suffixes ignored - match = re.search(r"^\d+\.\d+", input) - if not match: - raise ValueError( - "value does not appear to be a valid GDAL version " - "number: {}".format(input) - ) - major, minor = (int(c) for c in match.group().split(".")) - return cls(major=major, minor=minor) - - raise TypeError("GDALVersion can only be parsed from a string or tuple") - - @classmethod - def runtime(cls): - """Return GDALVersion of current GDAL runtime""" - return cls.parse(get_gdal_release_name()) - - def at_least(self, other): - other = self.__class__.parse(other) - return self >= other - - -def require_gdal_version( - version, param=None, values=None, is_max_version=False, reason="" -): - """A decorator that ensures the called function or parameters are supported - by the runtime version of GDAL. Raises GDALVersionError if conditions - are not met. - - Examples: - \b - @require_gdal_version('2.2') - def some_func(): - - calling `some_func` with a runtime version of GDAL that is < 2.2 raises a - GDALVersionErorr. - - \b - @require_gdal_version('2.2', param='foo') - def some_func(foo='bar'): - - calling `some_func` with parameter `foo` of any value on GDAL < 2.2 raises - a GDALVersionError. - - \b - @require_gdal_version('2.2', param='foo', values=('bar',)) - def some_func(foo=None): - - calling `some_func` with parameter `foo` and value `bar` on GDAL < 2.2 - raises a GDALVersionError. - - - Parameters - ------------ - version: tuple, string, or GDALVersion - param: string (optional, default: None) - If `values` are absent, then all use of this parameter with a value - other than default value requires at least GDAL `version`. - values: tuple, list, or set (optional, default: None) - contains values that require at least GDAL `version`. `param` - is required for `values`. - is_max_version: bool (optional, default: False) - if `True` indicates that the version provided is the maximum version - allowed, instead of requiring at least that version. - reason: string (optional: default: '') - custom error message presented to user in addition to message about - GDAL version. Use this to provide an explanation of what changed - if necessary context to the user. - - Returns - --------- - wrapped function - - """ - if values is not None: - if param is None: - raise ValueError("require_gdal_version: param must be provided with values") - - if not isinstance(values, (tuple, list, set)): - raise ValueError( - "require_gdal_version: values must be a tuple, list, or set" - ) - - version = GDALVersion.parse(version) - runtime = GDALVersion.runtime() - inequality = ">=" if runtime < version else "<=" - reason = f"\n{reason}" if reason else reason - - def decorator(f): - @wraps(f) - def wrapper(*args, **kwds): - if (runtime < version and not is_max_version) or ( - is_max_version and runtime > version - ): - - if param is None: - raise GDALVersionError( - "GDAL version must be {} {}{}".format( - inequality, str(version), reason - ) - ) - - # normalize args and kwds to dict - argspec = getfullargspec(f) - full_kwds = kwds.copy() - - if argspec.args: - full_kwds.update(dict(zip(argspec.args[: len(args)], args))) - - if argspec.defaults: - defaults = dict( - zip(reversed(argspec.args), reversed(argspec.defaults)) - ) - else: - defaults = {} - - if param in full_kwds: - if values is None: - if param not in defaults or ( - full_kwds[param] != defaults[param] - ): - raise GDALVersionError( - 'usage of parameter "{}" requires ' - "GDAL {} {}{}".format( - param, inequality, version, reason - ) - ) - - elif full_kwds[param] in values: - raise GDALVersionError( - 'parameter "{}={}" requires ' - "GDAL {} {}{}".format( - param, full_kwds[param], inequality, version, reason - ) - ) - - return f(*args, **kwds) - - return wrapper - - return decorator - - -# Patch the environment if needed, such as in the installed wheel case. - -if "GDAL_DATA" not in os.environ: - - path = GDALDataFinder().search_wheel() - - if path: - log.debug("GDAL data found in package: path=%r.", path) - set_gdal_config("GDAL_DATA", path) - - # See https://github.com/mapbox/rasterio/issues/1631. - elif GDALDataFinder().find_file("header.dxf"): - log.debug("GDAL data files are available at built-in paths.") - - else: - path = GDALDataFinder().search() - - if path: - set_gdal_config("GDAL_DATA", path) - log.debug("GDAL data found in other locations: path=%r.", path) - -if 'PROJ_DATA' in os.environ: - # PROJ 9.1+ - path = os.environ["PROJ_DATA"] - set_proj_data_search_path(path) - -elif "PROJ_LIB" in os.environ: - # PROJ < 9.1 - path = os.environ["PROJ_LIB"] - set_proj_data_search_path(path) - -elif PROJDataFinder().search_wheel(): - path = PROJDataFinder().search_wheel() - log.debug("PROJ data found in package: path=%r.", path) - set_proj_data_search_path(path) - -# See https://github.com/mapbox/rasterio/issues/1631. -elif PROJDataFinder().has_data(): - log.debug("PROJ data files are available at built-in paths.") - -else: - path = PROJDataFinder().search() - - if path: - log.debug("PROJ data found in other locations: path=%r.", path) - set_proj_data_search_path(path) diff --git a/.venv/lib/python3.12/site-packages/fiona/errors.py b/.venv/lib/python3.12/site-packages/fiona/errors.py deleted file mode 100644 index d1383962..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/errors.py +++ /dev/null @@ -1,83 +0,0 @@ -# Errors. - - -class FionaError(Exception): - """Base Fiona error""" - - -class FionaValueError(FionaError, ValueError): - """Fiona-specific value errors""" - - -class AttributeFilterError(FionaValueError): - """Error processing SQL WHERE clause with the dataset.""" - - -class DriverError(FionaValueError): - """Encapsulates unsupported driver and driver mode errors.""" - - -class SchemaError(FionaValueError): - """When a schema mapping has no properties or no geometry.""" - - -class CRSError(FionaValueError): - """When a crs mapping has neither init or proj items.""" - - -class UnsupportedOperation(FionaError): - """Raised when reading from a file opened in 'w' mode""" - - -class DataIOError(OSError): - """IO errors involving driver registration or availability.""" - - -class DriverIOError(OSError): - """A format specific driver error.""" - - -class DriverSupportError(DriverIOError): - """Driver does not support schema""" - - -class DatasetDeleteError(OSError): - """Failure to delete a dataset""" - - -class FieldNameEncodeError(UnicodeEncodeError): - """Failure to encode a field name.""" - - -class UnsupportedGeometryTypeError(KeyError): - """When a OGR geometry type isn't supported by Fiona.""" - - -class GeometryTypeValidationError(FionaValueError): - """Tried to write a geometry type not specified in the schema""" - - -class TransactionError(RuntimeError): - """Failure relating to GDAL transactions""" - - -class EnvError(FionaError): - """Environment Errors""" - - -class GDALVersionError(FionaError): - """Raised if the runtime version of GDAL does not meet the required - version of GDAL. - """ - - -class TransformError(FionaError): - """Raised if a coordinate transformation fails.""" - - -class FionaDeprecationWarning(DeprecationWarning): - """A warning about deprecation of Fiona features""" - - -class FeatureWarning(UserWarning): - """A warning about serialization of a feature""" diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__init__.py b/.venv/lib/python3.12/site-packages/fiona/fio/__init__.py deleted file mode 100644 index c23008d7..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/__init__.py +++ /dev/null @@ -1,19 +0,0 @@ -"""Fiona's command line interface""" - -from functools import wraps - - -def with_context_env(f): - """Pops the Fiona Env from the passed context and executes the - wrapped func in the context of that obj. - - Click's pass_context decorator must precede this decorator, or else - there will be no context in the wrapper args. - """ - @wraps(f) - def wrapper(*args, **kwds): - ctx = args[0] - env = ctx.obj.pop('env') - with env: - return f(*args, **kwds) - return wrapper diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 9dc02c42..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/bounds.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/bounds.cpython-312.pyc deleted file mode 100644 index 72918045..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/bounds.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/calc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/calc.cpython-312.pyc deleted file mode 100644 index f7bf9a40..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/calc.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/cat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/cat.cpython-312.pyc deleted file mode 100644 index a1cc0328..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/cat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/collect.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/collect.cpython-312.pyc deleted file mode 100644 index 90df85c4..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/collect.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/distrib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/distrib.cpython-312.pyc deleted file mode 100644 index 7e89eaa9..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/distrib.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/dump.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/dump.cpython-312.pyc deleted file mode 100644 index e904f1c4..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/dump.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/env.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/env.cpython-312.pyc deleted file mode 100644 index edae8451..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/env.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/filter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/filter.cpython-312.pyc deleted file mode 100644 index c06d9a74..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/filter.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/helpers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/helpers.cpython-312.pyc deleted file mode 100644 index 00ea690f..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/helpers.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/info.cpython-312.pyc deleted file mode 100644 index dafe1f2c..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/info.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/insp.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/insp.cpython-312.pyc deleted file mode 100644 index 7afb8f32..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/insp.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/load.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/load.cpython-312.pyc deleted file mode 100644 index 7be1d49b..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/load.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/ls.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/ls.cpython-312.pyc deleted file mode 100644 index bb29e38d..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/ls.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/main.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/main.cpython-312.pyc deleted file mode 100644 index 42635c42..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/main.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/options.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/options.cpython-312.pyc deleted file mode 100644 index fdb25370..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/options.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/rm.cpython-312.pyc b/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/rm.cpython-312.pyc deleted file mode 100644 index 628fc76c..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/fio/__pycache__/rm.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/bounds.py b/.venv/lib/python3.12/site-packages/fiona/fio/bounds.py deleted file mode 100644 index 571346e2..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/bounds.py +++ /dev/null @@ -1,89 +0,0 @@ -"""$ fio bounds""" - -import json - -import click -from cligj import precision_opt, use_rs_opt - -import fiona -from fiona.fio.helpers import obj_gen -from fiona.fio import with_context_env -from fiona.model import ObjectEncoder - - -@click.command(short_help="Print the extent of GeoJSON objects") -@precision_opt -@click.option('--explode/--no-explode', default=False, - help="Explode collections into features (default: no).") -@click.option('--with-id/--without-id', default=False, - help="Print GeoJSON ids and bounding boxes together " - "(default: without).") -@click.option('--with-obj/--without-obj', default=False, - help="Print GeoJSON objects and bounding boxes together " - "(default: without).") -@use_rs_opt -@click.pass_context -@with_context_env -def bounds(ctx, precision, explode, with_id, with_obj, use_rs): - """Print the bounding boxes of GeoJSON objects read from stdin. - - Optionally explode collections and print the bounds of their - features. - - To print identifiers for input objects along with their bounds - as a {id: identifier, bbox: bounds} JSON object, use --with-id. - - To print the input objects themselves along with their bounds - as GeoJSON object, use --with-obj. This has the effect of updating - input objects with {id: identifier, bbox: bounds}. - - """ - stdin = click.get_text_stream('stdin') - source = obj_gen(stdin) - - for i, obj in enumerate(source): - obj_id = obj.get("id", "collection:" + str(i)) - xs = [] - ys = [] - features = obj.get("features") or [obj] - - for j, feat in enumerate(features): - feat_id = feat.get("id", "feature:" + str(i)) - w, s, e, n = fiona.bounds(feat) - - if precision > 0: - w, s, e, n = (round(v, precision) for v in (w, s, e, n)) - if explode: - - if with_id: - rec = {"parent": obj_id, "id": feat_id, "bbox": (w, s, e, n)} - elif with_obj: - feat.update(parent=obj_id, bbox=(w, s, e, n)) - rec = feat - else: - rec = (w, s, e, n) - - if use_rs: - click.echo('\x1e', nl=False) - - click.echo(json.dumps(rec, cls=ObjectEncoder)) - - else: - xs.extend([w, e]) - ys.extend([s, n]) - - if not explode: - w, s, e, n = (min(xs), min(ys), max(xs), max(ys)) - - if with_id: - rec = {"id": obj_id, "bbox": (w, s, e, n)} - elif with_obj: - obj.update(id=obj_id, bbox=(w, s, e, n)) - rec = obj - else: - rec = (w, s, e, n) - - if use_rs: - click.echo("\x1e", nl=False) - - click.echo(json.dumps(rec, cls=ObjectEncoder)) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/calc.py b/.venv/lib/python3.12/site-packages/fiona/fio/calc.py deleted file mode 100644 index cb407e30..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/calc.py +++ /dev/null @@ -1,63 +0,0 @@ -import json - -import click -from cligj import use_rs_opt - -from .helpers import obj_gen, eval_feature_expression -from fiona.fio import with_context_env -from fiona.model import ObjectEncoder - - -@click.command(short_help="Calculate GeoJSON property by Python expression") -@click.argument('property_name') -@click.argument('expression') -@click.option('--overwrite', is_flag=True, default=False, - help="Overwrite properties, default: False") -@use_rs_opt -@click.pass_context -@with_context_env -def calc(ctx, property_name, expression, overwrite, use_rs): - """ - Create a new property on GeoJSON features using the specified expression. - - \b - The expression is evaluated in a restricted namespace containing: - - sum, pow, min, max and the imported math module - - shape (optional, imported from shapely.geometry if available) - - bool, int, str, len, float type conversions - - f (the feature to be evaluated, - allows item access via javascript-style dot notation using munch) - - The expression will be evaluated for each feature and its - return value will be added to the properties - as the specified property_name. Existing properties will not - be overwritten by default (an Exception is raised). - - Example - - \b - $ fio cat data.shp | fio calc sumAB "f.properties.A + f.properties.B" - - """ - stdin = click.get_text_stream('stdin') - source = obj_gen(stdin) - - for i, obj in enumerate(source): - features = obj.get("features") or [obj] - - for j, feat in enumerate(features): - - if not overwrite and property_name in feat["properties"]: - raise click.UsageError( - "{} already exists in properties; " - "rename or use --overwrite".format(property_name) - ) - - feat["properties"][property_name] = eval_feature_expression( - feat, expression - ) - - if use_rs: - click.echo("\x1e", nl=False) - - click.echo(json.dumps(feat, cls=ObjectEncoder)) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/cat.py b/.venv/lib/python3.12/site-packages/fiona/fio/cat.py deleted file mode 100644 index ace1548c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/cat.py +++ /dev/null @@ -1,139 +0,0 @@ -"""fio-cat""" - -import json -import warnings - -import click -import cligj - -import fiona -from fiona.transform import transform_geom -from fiona.model import Feature, ObjectEncoder -from fiona.fio import options, with_context_env -from fiona.fio.helpers import recursive_round -from fiona.errors import AttributeFilterError - -warnings.simplefilter("default") - - -# Cat command -@click.command(short_help="Concatenate and print the features of datasets") -@click.argument("files", nargs=-1, required=True, metavar="INPUTS...") -@click.option( - "--layer", - default=None, - multiple=True, - callback=options.cb_multilayer, - help="Input layer(s), specified as 'fileindex:layer` " - "For example, '1:foo,2:bar' will concatenate layer foo " - "from file 1 and layer bar from file 2", -) -@cligj.precision_opt -@cligj.indent_opt -@cligj.compact_opt -@click.option( - "--ignore-errors/--no-ignore-errors", - default=False, - help="log errors but do not stop serialization.", -) -@options.dst_crs_opt -@cligj.use_rs_opt -@click.option( - "--bbox", - default=None, - metavar="w,s,e,n", - help="filter for features intersecting a bounding box", -) -@click.option( - "--where", - default=None, - help="attribute filter using SQL where clause", -) -@click.option( - "--cut-at-antimeridian", - is_flag=True, - default=False, - help="Optionally cut geometries at the anti-meridian. To be used only for a geographic destination CRS.", -) -@click.option('--where', default=None, - help="attribute filter using SQL where clause") -@options.open_opt -@click.pass_context -@with_context_env -def cat( - ctx, - files, - precision, - indent, - compact, - ignore_errors, - dst_crs, - use_rs, - bbox, - where, - cut_at_antimeridian, - layer, - open_options, -): - """ - Concatenate and print the features of input datasets as a sequence of - GeoJSON features. - - When working with a multi-layer dataset the first layer is used by default. - Use the '--layer' option to select a different layer. - - """ - dump_kwds = {"sort_keys": True} - if indent: - dump_kwds["indent"] = indent - if compact: - dump_kwds["separators"] = (",", ":") - - # Validate file idexes provided in --layer option - # (can't pass the files to option callback) - if layer: - options.validate_multilayer_file_index(files, layer) - - # first layer is the default - for i in range(1, len(files) + 1): - if str(i) not in layer.keys(): - layer[str(i)] = [0] - - try: - if bbox: - try: - bbox = tuple(map(float, bbox.split(","))) - except ValueError: - bbox = json.loads(bbox) - - for i, path in enumerate(files, 1): - for lyr in layer[str(i)]: - with fiona.open(path, layer=lyr, **open_options) as src: - for i, feat in src.items(bbox=bbox, where=where): - geom = feat.geometry - - if dst_crs: - geom = transform_geom( - src.crs, - dst_crs, - geom, - antimeridian_cutting=cut_at_antimeridian, - ) - - if precision >= 0: - geom = recursive_round(geom, precision) - - feat = Feature( - id=feat.id, - properties=feat.properties, - geometry=geom, - bbox=fiona.bounds(geom), - ) - - if use_rs: - click.echo("\x1e", nl=False) - - click.echo(json.dumps(feat, cls=ObjectEncoder, **dump_kwds)) - - except AttributeFilterError as e: - raise click.BadParameter("'where' clause is invalid: " + str(e)) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/collect.py b/.venv/lib/python3.12/site-packages/fiona/fio/collect.py deleted file mode 100644 index 9fbd0709..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/collect.py +++ /dev/null @@ -1,245 +0,0 @@ -"""fio-collect""" - -from functools import partial -import json -import logging - -import click -import cligj - -from fiona.fio import helpers, options, with_context_env -from fiona.model import Geometry, ObjectEncoder -from fiona.transform import transform_geom - - -@click.command(short_help="Collect a sequence of features.") -@cligj.precision_opt -@cligj.indent_opt -@cligj.compact_opt -@click.option( - "--record-buffered/--no-record-buffered", - default=False, - help="Economical buffering of writes at record, not collection " - "(default), level.", -) -@click.option( - "--ignore-errors/--no-ignore-errors", - default=False, - help="log errors but do not stop serialization.", -) -@options.src_crs_opt -@click.option( - "--with-ld-context/--without-ld-context", - default=False, - help="add a JSON-LD context to JSON output.", -) -@click.option( - "--add-ld-context-item", - multiple=True, - help="map a term to a URI and add it to the output's JSON LD " "context.", -) -@click.option( - "--parse/--no-parse", - default=True, - help="load and dump the geojson feature (default is True)", -) -@click.pass_context -@with_context_env -def collect( - ctx, - precision, - indent, - compact, - record_buffered, - ignore_errors, - src_crs, - with_ld_context, - add_ld_context_item, - parse, -): - """Make a GeoJSON feature collection from a sequence of GeoJSON - features and print it.""" - logger = logging.getLogger(__name__) - stdin = click.get_text_stream("stdin") - sink = click.get_text_stream("stdout") - - dump_kwds = {"sort_keys": True} - if indent: - dump_kwds["indent"] = indent - if compact: - dump_kwds["separators"] = (",", ":") - item_sep = compact and "," or ", " - - if src_crs: - if not parse: - raise click.UsageError("Can't specify --src-crs with --no-parse") - transformer = partial( - transform_geom, - src_crs, - "EPSG:4326", - antimeridian_cutting=True, - precision=precision, - ) - else: - - def transformer(x): - return x - - first_line = next(stdin) - - # If parsing geojson - if parse: - # If input is RS-delimited JSON sequence. - if first_line.startswith("\x1e"): - - def feature_text_gen(): - buffer = first_line.strip("\x1e") - for line in stdin: - if line.startswith("\x1e"): - if buffer: - feat = json.loads(buffer) - feat["geometry"] = transformer( - Geometry.from_dict(**feat["geometry"]) - ) - yield json.dumps(feat, cls=ObjectEncoder, **dump_kwds) - buffer = line.strip("\x1e") - else: - buffer += line - else: - feat = json.loads(buffer) - feat["geometry"] = transformer( - Geometry.from_dict(**feat["geometry"]) - ) - yield json.dumps(feat, cls=ObjectEncoder, **dump_kwds) - - else: - - def feature_text_gen(): - feat = json.loads(first_line) - feat["geometry"] = transformer(Geometry.from_dict(**feat["geometry"])) - yield json.dumps(feat, cls=ObjectEncoder, **dump_kwds) - - for line in stdin: - feat = json.loads(line) - feat["geometry"] = transformer( - Geometry.from_dict(**feat["geometry"]) - ) - yield json.dumps(feat, cls=ObjectEncoder, **dump_kwds) - - # If *not* parsing geojson - else: - # If input is RS-delimited JSON sequence. - if first_line.startswith("\x1e"): - - def feature_text_gen(): - buffer = first_line.strip("\x1e") - for line in stdin: - if line.startswith("\x1e"): - if buffer: - yield buffer - buffer = line.strip("\x1e") - else: - buffer += line - else: - yield buffer - - else: - - def feature_text_gen(): - yield first_line - yield from stdin - - source = feature_text_gen() - - if record_buffered: - # Buffer GeoJSON data at the feature level for smaller - # memory footprint. - indented = bool(indent) - rec_indent = "\n" + " " * (2 * (indent or 0)) - - collection = {"type": "FeatureCollection", "features": []} - if with_ld_context: - collection["@context"] = helpers.make_ld_context(add_ld_context_item) - - head, tail = json.dumps(collection, cls=ObjectEncoder, **dump_kwds).split("[]") - - sink.write(head) - sink.write("[") - - # Try the first record. - try: - i, first = 0, next(source) - if with_ld_context: - first = helpers.id_record(first) - if indented: - sink.write(rec_indent) - sink.write(first.replace("\n", rec_indent)) - except StopIteration: - pass - except Exception as exc: - # Ignoring errors is *not* the default. - if ignore_errors: - logger.error( - "failed to serialize file record %d (%s), " "continuing", i, exc - ) - else: - # Log error and close up the GeoJSON, leaving it - # more or less valid no matter what happens above. - logger.critical( - "failed to serialize file record %d (%s), " "quiting", i, exc - ) - sink.write("]") - sink.write(tail) - if indented: - sink.write("\n") - raise - - # Because trailing commas aren't valid in JSON arrays - # we'll write the item separator before each of the - # remaining features. - for i, rec in enumerate(source, 1): - try: - if with_ld_context: - rec = helpers.id_record(rec) - if indented: - sink.write(rec_indent) - sink.write(item_sep) - sink.write(rec.replace("\n", rec_indent)) - except Exception as exc: - if ignore_errors: - logger.error( - "failed to serialize file record %d (%s), " "continuing", - i, - exc, - ) - else: - logger.critical( - "failed to serialize file record %d (%s), " "quiting", - i, - exc, - ) - sink.write("]") - sink.write(tail) - if indented: - sink.write("\n") - raise - - # Close up the GeoJSON after writing all features. - sink.write("]") - sink.write(tail) - if indented: - sink.write("\n") - - else: - # Buffer GeoJSON data at the collection level. The default. - collection = {"type": "FeatureCollection", "features": []} - if with_ld_context: - collection["@context"] = helpers.make_ld_context(add_ld_context_item) - - head, tail = json.dumps(collection, cls=ObjectEncoder, **dump_kwds).split("[]") - sink.write(head) - sink.write("[") - sink.write(",".join(source)) - sink.write("]") - sink.write(tail) - sink.write("\n") diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/distrib.py b/.venv/lib/python3.12/site-packages/fiona/fio/distrib.py deleted file mode 100644 index 46267b5c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/distrib.py +++ /dev/null @@ -1,35 +0,0 @@ -"""$ fio distrib""" - -import json - -import click -import cligj - -from fiona.fio import helpers, with_context_env -from fiona.model import ObjectEncoder - - -@click.command() -@cligj.use_rs_opt -@click.pass_context -@with_context_env -def distrib(ctx, use_rs): - """Distribute features from a collection. - - Print the features of GeoJSON objects read from stdin. - - """ - stdin = click.get_text_stream('stdin') - source = helpers.obj_gen(stdin) - - for i, obj in enumerate(source): - obj_id = obj.get("id", "collection:" + str(i)) - features = obj.get("features") or [obj] - for j, feat in enumerate(features): - if obj.get("type") == "FeatureCollection": - feat["parent"] = obj_id - feat_id = feat.get("id", "feature:" + str(i)) - feat["id"] = feat_id - if use_rs: - click.echo("\x1e", nl=False) - click.echo(json.dumps(feat, cls=ObjectEncoder)) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/dump.py b/.venv/lib/python3.12/site-packages/fiona/fio/dump.py deleted file mode 100644 index 9cbcca17..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/dump.py +++ /dev/null @@ -1,198 +0,0 @@ -"""fio-dump""" - -from functools import partial -import json -import logging - -import click -import cligj - -import fiona -from fiona.fio import helpers, options, with_context_env -from fiona.model import Feature, ObjectEncoder -from fiona.transform import transform_geom - - -@click.command(short_help="Dump a dataset to GeoJSON.") -@click.argument('input', required=True) -@click.option('--layer', metavar="INDEX|NAME", callback=options.cb_layer, - help="Print information about a specific layer. The first " - "layer is used by default. Layers use zero-based " - "numbering when accessed by index.") -@click.option('--encoding', help="Specify encoding of the input file.") -@cligj.precision_opt -@cligj.indent_opt -@cligj.compact_opt -@click.option('--record-buffered/--no-record-buffered', default=False, - help="Economical buffering of writes at record, not collection " - "(default), level.") -@click.option('--ignore-errors/--no-ignore-errors', default=False, - help="log errors but do not stop serialization.") -@click.option('--with-ld-context/--without-ld-context', default=False, - help="add a JSON-LD context to JSON output.") -@click.option('--add-ld-context-item', multiple=True, - help="map a term to a URI and add it to the output's JSON LD " - "context.") -@options.open_opt -@click.pass_context -@with_context_env -def dump( - ctx, - input, - encoding, - precision, - indent, - compact, - record_buffered, - ignore_errors, - with_ld_context, - add_ld_context_item, - layer, - open_options, -): - - """Dump a dataset either as a GeoJSON feature collection (the default) - or a sequence of GeoJSON features.""" - - logger = logging.getLogger(__name__) - sink = click.get_text_stream('stdout') - - dump_kwds = {'sort_keys': True} - if indent: - dump_kwds['indent'] = indent - if compact: - dump_kwds['separators'] = (',', ':') - item_sep = compact and ',' or ', ' - - if encoding: - open_options["encoding"] = encoding - if layer: - open_options["layer"] = layer - - def transformer(crs, feat): - tg = partial( - transform_geom, - crs, - "EPSG:4326", - antimeridian_cutting=True, - precision=precision, - ) - return Feature( - id=feat.id, properties=feat.properties, geometry=tg(feat.geometry) - ) - - with fiona.open(input, **open_options) as source: - meta = source.meta - meta["fields"] = dict(source.schema["properties"].items()) - - if record_buffered: - # Buffer GeoJSON data at the feature level for smaller - # memory footprint. - indented = bool(indent) - rec_indent = "\n" + " " * (2 * (indent or 0)) - - collection = { - "type": "FeatureCollection", - "fiona:schema": meta["schema"], - "fiona:crs": meta["crs"], - "features": [], - } - if with_ld_context: - collection["@context"] = helpers.make_ld_context(add_ld_context_item) - - head, tail = json.dumps(collection, **dump_kwds).split("[]") - - sink.write(head) - sink.write("[") - - itr = iter(source) - - # Try the first record. - try: - i, first = 0, next(itr) - first = transformer(first) - if with_ld_context: - first = helpers.id_record(first) - if indented: - sink.write(rec_indent) - sink.write( - json.dumps(first, cls=ObjectEncoder, **dump_kwds).replace( - "\n", rec_indent - ) - ) - except StopIteration: - pass - except Exception as exc: - # Ignoring errors is *not* the default. - if ignore_errors: - logger.error( - "failed to serialize file record %d (%s), " "continuing", i, exc - ) - else: - # Log error and close up the GeoJSON, leaving it - # more or less valid no matter what happens above. - logger.critical( - "failed to serialize file record %d (%s), " "quiting", i, exc - ) - sink.write("]") - sink.write(tail) - if indented: - sink.write("\n") - raise - - # Because trailing commas aren't valid in JSON arrays - # we'll write the item separator before each of the - # remaining features. - for i, rec in enumerate(itr, 1): - rec = transformer(rec) - try: - if with_ld_context: - rec = helpers.id_record(rec) - if indented: - sink.write(rec_indent) - sink.write(item_sep) - sink.write( - json.dumps(rec, cls=ObjectEncoder, **dump_kwds).replace( - "\n", rec_indent - ) - ) - except Exception as exc: - if ignore_errors: - logger.error( - "failed to serialize file record %d (%s), " - "continuing", - i, exc) - else: - logger.critical( - "failed to serialize file record %d (%s), " - "quiting", - i, exc) - sink.write("]") - sink.write(tail) - if indented: - sink.write("\n") - raise - - # Close up the GeoJSON after writing all features. - sink.write("]") - sink.write(tail) - if indented: - sink.write("\n") - - else: - # Buffer GeoJSON data at the collection level. The default. - collection = { - "type": "FeatureCollection", - "fiona:schema": meta["schema"], - "fiona:crs": meta["crs"].to_string(), - } - if with_ld_context: - collection["@context"] = helpers.make_ld_context(add_ld_context_item) - collection["features"] = [ - helpers.id_record(transformer(rec)) for rec in source - ] - else: - collection["features"] = [ - transformer(source.crs, rec) for rec in source - ] - json.dump(collection, sink, cls=ObjectEncoder, **dump_kwds) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/env.py b/.venv/lib/python3.12/site-packages/fiona/fio/env.py deleted file mode 100644 index 95cc1b0d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/env.py +++ /dev/null @@ -1,38 +0,0 @@ -"""$ fio env""" - -import json -import os - -import click - -import fiona -from fiona._env import GDALDataFinder, PROJDataFinder - - -@click.command(short_help="Print information about the fio environment.") -@click.option('--formats', 'key', flag_value='formats', default=True, - help="Enumerate the available formats.") -@click.option('--credentials', 'key', flag_value='credentials', default=False, - help="Print credentials.") -@click.option('--gdal-data', 'key', flag_value='gdal_data', default=False, - help="Print GDAL data path.") -@click.option('--proj-data', 'key', flag_value='proj_data', default=False, - help="Print PROJ data path.") -@click.pass_context -def env(ctx, key): - """Print information about the Fiona environment: available - formats, etc. - """ - stdout = click.get_text_stream('stdout') - with ctx.obj['env'] as env: - if key == 'formats': - for k, v in sorted(fiona.supported_drivers.items()): - modes = ', '.join("'" + m + "'" for m in v) - stdout.write(f"{k} (modes {modes})\n") - stdout.write('\n') - elif key == 'credentials': - click.echo(json.dumps(env.session.credentials)) - elif key == 'gdal_data': - click.echo(os.environ.get('GDAL_DATA') or GDALDataFinder().search()) - elif key == 'proj_data': - click.echo(os.environ.get('PROJ_DATA', os.environ.get('PROJ_LIB')) or PROJDataFinder().search()) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/filter.py b/.venv/lib/python3.12/site-packages/fiona/fio/filter.py deleted file mode 100644 index 5e7e7180..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/filter.py +++ /dev/null @@ -1,54 +0,0 @@ -"""$ fio filter""" - -import json -import logging - -import click -from cligj import use_rs_opt - -from fiona.fio.helpers import obj_gen, eval_feature_expression -from fiona.fio import with_context_env - - -logger = logging.getLogger(__name__) - - -@click.command() -@click.argument('filter_expression') -@use_rs_opt -@click.pass_context -@with_context_env -def filter(ctx, filter_expression, use_rs): - """ - Filter GeoJSON features by python expression. - - Features are read from stdin. - - The expression is evaluated in a restricted namespace containing: - - sum, pow, min, max and the imported math module - - shape (optional, imported from shapely.geometry if available) - - bool, int, str, len, float type conversions - - f (the feature to be evaluated, - allows item access via javascript-style dot notation using munch) - - The expression will be evaluated for each feature and, if true, - the feature will be included in the output. For example: - - \b - $ fio cat data.shp \\ - | fio filter "f.properties.area > 1000.0" \\ - | fio collect > large_polygons.geojson - - """ - stdin = click.get_text_stream('stdin') - source = obj_gen(stdin) - - for i, obj in enumerate(source): - features = obj.get("features") or [obj] - for j, feat in enumerate(features): - if not eval_feature_expression(feat, filter_expression): - continue - - if use_rs: - click.echo("\x1e", nl=False) - click.echo(json.dumps(feat)) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/helpers.py b/.venv/lib/python3.12/site-packages/fiona/fio/helpers.py deleted file mode 100644 index 95829f36..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/helpers.py +++ /dev/null @@ -1,134 +0,0 @@ -"""Helper objects needed by multiple CLI commands. - -""" - -from functools import partial -import json -import math -import warnings - -from fiona.model import Geometry, to_dict -from fiona._vendor.munch import munchify - - -warnings.simplefilter("default") - - -def obj_gen(lines, object_hook=None): - """Return a generator of JSON objects loaded from ``lines``.""" - first_line = next(lines) - if first_line.startswith("\x1e"): - - def gen(): - buffer = first_line.strip("\x1e") - for line in lines: - if line.startswith("\x1e"): - if buffer: - yield json.loads(buffer, object_hook=object_hook) - buffer = line.strip("\x1e") - else: - buffer += line - else: - yield json.loads(buffer, object_hook=object_hook) - - else: - - def gen(): - yield json.loads(first_line, object_hook=object_hook) - for line in lines: - yield json.loads(line, object_hook=object_hook) - - return gen() - - -def nullable(val, cast): - if val is None: - return None - else: - return cast(val) - - -def eval_feature_expression(feature, expression): - safe_dict = {"f": munchify(to_dict(feature))} - safe_dict.update( - { - "sum": sum, - "pow": pow, - "min": min, - "max": max, - "math": math, - "bool": bool, - "int": partial(nullable, int), - "str": partial(nullable, str), - "float": partial(nullable, float), - "len": partial(nullable, len), - } - ) - try: - from shapely.geometry import shape - - safe_dict["shape"] = shape - except ImportError: - pass - return eval(expression, {"__builtins__": None}, safe_dict) - - -def make_ld_context(context_items): - """Returns a JSON-LD Context object. - - See https://json-ld.org/spec/latest/json-ld/.""" - ctx = { - "@context": { - "geojson": "http://ld.geojson.org/vocab#", - "Feature": "geojson:Feature", - "FeatureCollection": "geojson:FeatureCollection", - "GeometryCollection": "geojson:GeometryCollection", - "LineString": "geojson:LineString", - "MultiLineString": "geojson:MultiLineString", - "MultiPoint": "geojson:MultiPoint", - "MultiPolygon": "geojson:MultiPolygon", - "Point": "geojson:Point", - "Polygon": "geojson:Polygon", - "bbox": {"@container": "@list", "@id": "geojson:bbox"}, - "coordinates": "geojson:coordinates", - "datetime": "http://www.w3.org/2006/time#inXSDDateTime", - "description": "http://purl.org/dc/terms/description", - "features": {"@container": "@set", "@id": "geojson:features"}, - "geometry": "geojson:geometry", - "id": "@id", - "properties": "geojson:properties", - "start": "http://www.w3.org/2006/time#hasBeginning", - "stop": "http://www.w3.org/2006/time#hasEnding", - "title": "http://purl.org/dc/terms/title", - "type": "@type", - "when": "geojson:when", - } - } - for item in context_items or []: - t, uri = item.split("=") - ctx[t.strip()] = uri.strip() - return ctx - - -def id_record(rec): - """Converts a record's id to a blank node id and returns the record.""" - rec["id"] = "_:f%s" % rec["id"] - return rec - - -def recursive_round(obj, precision): - """Recursively round coordinates.""" - if precision < 0: - return obj - if getattr(obj, "geometries", None): - return Geometry( - geometries=[recursive_round(part, precision) for part in obj.geometries] - ) - elif getattr(obj, "coordinates", None): - return Geometry( - coordinates=[recursive_round(part, precision) for part in obj.coordinates] - ) - if isinstance(obj, (int, float)): - return round(obj, precision) - else: - return [recursive_round(part, precision) for part in obj] diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/info.py b/.venv/lib/python3.12/site-packages/fiona/fio/info.py deleted file mode 100644 index 907dbcac..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/info.py +++ /dev/null @@ -1,78 +0,0 @@ -"""$ fio info""" - - -import logging -import json - -import click -from cligj import indent_opt - -import fiona -import fiona.crs -from fiona.errors import DriverError -from fiona.fio import options, with_context_env - -logger = logging.getLogger(__name__) - - -@click.command() -# One or more files. -@click.argument('input', required=True) -@click.option('--layer', metavar="INDEX|NAME", callback=options.cb_layer, - help="Print information about a specific layer. The first " - "layer is used by default. Layers use zero-based " - "numbering when accessed by index.") -@indent_opt -# Options to pick out a single metadata item and print it as -# a string. -@click.option('--count', 'meta_member', flag_value='count', - help="Print the count of features.") -@click.option('-f', '--format', '--driver', 'meta_member', flag_value='driver', - help="Print the format driver.") -@click.option('--crs', 'meta_member', flag_value='crs', - help="Print the CRS as a PROJ.4 string.") -@click.option('--bounds', 'meta_member', flag_value='bounds', - help="Print the boundary coordinates " - "(left, bottom, right, top).") -@click.option('--name', 'meta_member', flag_value='name', - help="Print the datasource's name.") -@options.open_opt -@click.pass_context -@with_context_env -def info(ctx, input, indent, meta_member, layer, open_options): - """ - Print information about a dataset. - - When working with a multi-layer dataset the first layer is used by default. - Use the '--layer' option to select a different layer. - - """ - with fiona.open(input, layer=layer, **open_options) as src: - info = src.meta - info.update(name=src.name) - - try: - info.update(bounds=src.bounds) - except DriverError: - info.update(bounds=None) - logger.debug( - "Setting 'bounds' to None - driver was not able to calculate bounds" - ) - - try: - info.update(count=len(src)) - except TypeError: - info.update(count=None) - logger.debug( - "Setting 'count' to None/null - layer does not support counting" - ) - - info["crs"] = src.crs.to_string() - - if meta_member: - if isinstance(info[meta_member], (list, tuple)): - click.echo(" ".join(map(str, info[meta_member]))) - else: - click.echo(info[meta_member]) - else: - click.echo(json.dumps(info, indent=indent)) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/insp.py b/.venv/lib/python3.12/site-packages/fiona/fio/insp.py deleted file mode 100644 index 2494144f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/insp.py +++ /dev/null @@ -1,43 +0,0 @@ -"""$ fio insp""" - - -import code -import sys - -import click - -import fiona -from fiona.fio import options, with_context_env - - -@click.command(short_help="Open a dataset and start an interpreter.") -@click.argument("src_path", required=True) -@click.option( - "--ipython", "interpreter", flag_value="ipython", help="Use IPython as interpreter." -) -@options.open_opt -@click.pass_context -@with_context_env -def insp(ctx, src_path, interpreter, open_options): - """Open a collection within an interactive interpreter.""" - banner = ( - "Fiona %s Interactive Inspector (Python %s)\n" - 'Type "src.schema", "next(src)", or "help(src)" ' - "for more information." - % (fiona.__version__, ".".join(map(str, sys.version_info[:3]))) - ) - - with fiona.open(src_path, **open_options) as src: - scope = locals() - if not interpreter: - code.interact(banner, local=scope) - elif interpreter == "ipython": - import IPython - - IPython.InteractiveShell.banner1 = banner - IPython.start_ipython(argv=[], user_ns=scope) - else: - raise click.ClickException( - "Interpreter {} is unsupported or missing " - "dependencies".format(interpreter) - ) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/load.py b/.venv/lib/python3.12/site-packages/fiona/fio/load.py deleted file mode 100644 index 3bb8c48c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/load.py +++ /dev/null @@ -1,112 +0,0 @@ -"""$ fio load""" - -from functools import partial - -import click -import cligj - -import fiona -from fiona.fio import options, with_context_env -from fiona.model import Feature, Geometry -from fiona.schema import FIELD_TYPES_MAP_REV -from fiona.transform import transform_geom - - -@click.command(short_help="Load GeoJSON to a dataset in another format.") -@click.argument("output", required=True) -@click.option("-f", "--format", "--driver", "driver", help="Output format driver name.") -@options.src_crs_opt -@click.option( - "--dst-crs", - "--dst_crs", - help="Destination CRS. Defaults to --src-crs when not given.", -) -@cligj.features_in_arg -@click.option( - "--layer", - metavar="INDEX|NAME", - callback=options.cb_layer, - help="Load features into specified layer. Layers use " - "zero-based numbering when accessed by index.", -) -@options.creation_opt -@options.open_opt -@click.option("--append", is_flag=True, help="Open destination layer in append mode.") -@click.pass_context -@with_context_env -def load( - ctx, - output, - driver, - src_crs, - dst_crs, - features, - layer, - creation_options, - open_options, - append, -): - """Load features from JSON to a file in another format. - - The input is a GeoJSON feature collection or optionally a sequence of - GeoJSON feature objects. - - """ - dst_crs = dst_crs or src_crs - - if src_crs and dst_crs and src_crs != dst_crs: - transformer = partial( - transform_geom, src_crs, dst_crs, antimeridian_cutting=True - ) - else: - - def transformer(x): - return Geometry.from_dict(**x) - - def feature_gen(): - """Convert stream of JSON to features. - - Yields - ------ - Feature - - """ - try: - for feat in features: - feat["geometry"] = transformer(Geometry.from_dict(**feat["geometry"])) - yield Feature.from_dict(**feat) - except TypeError: - raise click.ClickException("Invalid input.") - - source = feature_gen() - - # Use schema of first feature as a template. - # TODO: schema specified on command line? - try: - first = next(source) - except TypeError: - raise click.ClickException("Invalid input.") - - # print(first, first.geometry) - schema = {"geometry": first.geometry.type} - schema["properties"] = { - k: FIELD_TYPES_MAP_REV.get(type(v)) or "str" - for k, v in first.properties.items() - } - - if append: - opener = fiona.open(output, "a", layer=layer, **open_options) - else: - opener = fiona.open( - output, - "w", - driver=driver, - crs=dst_crs, - schema=schema, - layer=layer, - **creation_options - ) - - with opener as dst: - dst.write(first) - dst.writerecords(source) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/ls.py b/.venv/lib/python3.12/site-packages/fiona/fio/ls.py deleted file mode 100644 index 14af7b75..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/ls.py +++ /dev/null @@ -1,24 +0,0 @@ -"""$ fiona ls""" - - -import json - -import click -from cligj import indent_opt - -import fiona -from fiona.fio import options, with_context_env - - -@click.command() -@click.argument('input', required=True) -@indent_opt -@options.open_opt -@click.pass_context -@with_context_env -def ls(ctx, input, indent, open_options): - """ - List layers in a datasource. - """ - result = fiona.listlayers(input, **open_options) - click.echo(json.dumps(result, indent=indent)) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/main.py b/.venv/lib/python3.12/site-packages/fiona/fio/main.py deleted file mode 100644 index 8f6a6c76..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/main.py +++ /dev/null @@ -1,73 +0,0 @@ -""" -Main click group for the CLI. Needs to be isolated for entry-point loading. -""" - - -import itertools -import logging -import sys - -import click -from click_plugins import with_plugins -from cligj import verbose_opt, quiet_opt - -if sys.version_info < (3, 10): - from importlib_metadata import entry_points -else: - from importlib.metadata import entry_points - -import fiona -from fiona import __version__ as fio_version -from fiona.session import AWSSession, DummySession - - -def configure_logging(verbosity): - log_level = max(10, 30 - 10 * verbosity) - logging.basicConfig(stream=sys.stderr, level=log_level) - - -@with_plugins( - itertools.chain( - entry_points(group="fiona.fio_commands"), - entry_points(group="fiona.fio_plugins"), - ) -) -@click.group() -@verbose_opt -@quiet_opt -@click.option( - "--aws-profile", - help="Select a profile from the AWS credentials file") -@click.option( - "--aws-no-sign-requests", - is_flag=True, - help="Make requests anonymously") -@click.option( - "--aws-requester-pays", - is_flag=True, - help="Requester pays data transfer costs") -@click.version_option(fio_version) -@click.version_option(fiona.__gdal_version__, '--gdal-version', - prog_name='GDAL') -@click.version_option(sys.version, '--python-version', prog_name='Python') -@click.pass_context -def main_group( - ctx, verbose, quiet, aws_profile, aws_no_sign_requests, - aws_requester_pays): - """Fiona command line interface. - """ - verbosity = verbose - quiet - configure_logging(verbosity) - ctx.obj = {} - ctx.obj["verbosity"] = verbosity - ctx.obj["aws_profile"] = aws_profile - envopts = {"CPL_DEBUG": (verbosity > 2)} - if aws_profile or aws_no_sign_requests: - session = AWSSession( - profile_name=aws_profile, - aws_unsigned=aws_no_sign_requests, - requester_pays=aws_requester_pays, - ) - else: - session = DummySession() - ctx.obj["env"] = fiona.Env(session=session, **envopts) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/options.py b/.venv/lib/python3.12/site-packages/fiona/fio/options.py deleted file mode 100644 index 9753b2f2..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/options.py +++ /dev/null @@ -1,96 +0,0 @@ -"""Common commandline options for `fio`""" - - -from collections import defaultdict - -import click - - -src_crs_opt = click.option('--src-crs', '--src_crs', help="Source CRS.") -dst_crs_opt = click.option('--dst-crs', '--dst_crs', help="Destination CRS.") - - -def cb_layer(ctx, param, value): - """Let --layer be a name or index.""" - if value is None or not value.isdigit(): - return value - else: - return int(value) - - -def cb_multilayer(ctx, param, value): - """ - Transform layer options from strings ("1:a,1:b", "2:a,2:c,2:z") to - { - '1': ['a', 'b'], - '2': ['a', 'c', 'z'] - } - """ - out = defaultdict(list) - for raw in value: - for v in raw.split(','): - ds, name = v.split(':') - out[ds].append(name) - return out - - -def cb_key_val(ctx, param, value): - """ - click callback to validate `--opt KEY1=VAL1 --opt KEY2=VAL2` and collect - in a dictionary like the one below, which is what the CLI function receives. - If no value or `None` is received then an empty dictionary is returned. - - { - 'KEY1': 'VAL1', - 'KEY2': 'VAL2' - } - - Note: `==VAL` breaks this as `str.split('=', 1)` is used. - - """ - if not value: - return {} - else: - out = {} - for pair in value: - if "=" not in pair: - raise click.BadParameter( - f"Invalid syntax for KEY=VAL arg: {pair}" - ) - else: - k, v = pair.split("=", 1) - k = k.lower() - v = v.lower() - out[k] = None if v.lower() in ["none", "null", "nil", "nada"] else v - return out - - -def validate_multilayer_file_index(files, layerdict): - """ - Ensure file indexes provided in the --layer option are valid - """ - for key in layerdict.keys(): - if key not in [str(k) for k in range(1, len(files) + 1)]: - layer = key + ":" + layerdict[key][0] - raise click.BadParameter(f"Layer {layer} does not exist") - - -creation_opt = click.option( - "--co", - "--profile", - "creation_options", - metavar="NAME=VALUE", - multiple=True, - callback=cb_key_val, - help="Driver specific creation options. See the documentation for the selected output driver for more information.", -) - - -open_opt = click.option( - "--oo", - "open_options", - metavar="NAME=VALUE", - multiple=True, - callback=cb_key_val, - help="Driver specific open options. See the documentation for the selected output driver for more information.", -) diff --git a/.venv/lib/python3.12/site-packages/fiona/fio/rm.py b/.venv/lib/python3.12/site-packages/fiona/fio/rm.py deleted file mode 100644 index df1b815e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/fio/rm.py +++ /dev/null @@ -1,30 +0,0 @@ -import click -import logging - -import fiona -from fiona.fio import with_context_env - - -logger = logging.getLogger(__name__) - - -@click.command(help="Remove a datasource or an individual layer.") -@click.argument("input", required=True) -@click.option("--layer", type=str, default=None, required=False, help="Name of layer to remove.") -@click.option("--yes", is_flag=True) -@click.pass_context -@with_context_env -def rm(ctx, input, layer, yes): - if layer is None: - kind = "datasource" - else: - kind = "layer" - - if not yes: - click.confirm(f"The {kind} will be removed. Are you sure?", abort=True) - - try: - fiona.remove(input, layer=layer) - except Exception: - logger.exception(f"Failed to remove {kind}.") - raise click.Abort() diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal.pxi b/.venv/lib/python3.12/site-packages/fiona/gdal.pxi deleted file mode 100644 index 2559e4ed..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal.pxi +++ /dev/null @@ -1,741 +0,0 @@ -# GDAL API definitions. - -from libc.stdio cimport FILE - -cdef extern from "gdal_version.h": - int GDAL_COMPUTE_VERSION(int maj, int min, int rev) - - -cdef extern from "cpl_conv.h": - void * CPLMalloc (size_t) - void CPLFree (void *ptr) - void CPLSetThreadLocalConfigOption (char *key, char *val) - const char *CPLGetConfigOption (char *, char *) - void CPLSetConfigOption(const char* key, const char* val) - int CPLCheckForFile(char *, char **) - const char *CPLFindFile(const char *pszClass, const char *pszBasename) - - -cdef extern from "cpl_string.h": - char ** CSLAddNameValue (char **list, const char *name, const char *value) - char ** CSLSetNameValue (char **list, const char *name, const char *value) - void CSLDestroy (char **list) - char ** CSLAddString(char **list, const char *string) - int CSLCount(char **papszStrList) - char **CSLDuplicate(char **papszStrList) - int CSLFindName(char **papszStrList, const char *pszName) - int CSLFetchBoolean(char **papszStrList, const char *pszName, int default) - const char *CSLFetchNameValue(char **papszStrList, const char *pszName) - char **CSLMerge(char **first, char **second) - -cdef extern from "sys/stat.h" nogil: - struct stat: - int st_mode - - -cdef extern from "cpl_error.h" nogil: - - ctypedef enum CPLErr: - CE_None - CE_Debug - CE_Warning - CE_Failure - CE_Fatal - - # CPLErrorNum eludes me at the moment, I'm calling it 'int' - # for now. - ctypedef void (*CPLErrorHandler)(CPLErr, int, const char*) - - void CPLErrorReset() - int CPLGetLastErrorNo() - const char* CPLGetLastErrorMsg() - CPLErr CPLGetLastErrorType() - void CPLPushErrorHandler(CPLErrorHandler handler) - void CPLPopErrorHandler() - - -cdef extern from "cpl_vsi.h" nogil: - - ctypedef int vsi_l_offset - ctypedef FILE VSILFILE - ctypedef stat VSIStatBufL - - unsigned char *VSIGetMemFileBuffer(const char *path, - vsi_l_offset *data_len, - int take_ownership) - VSILFILE *VSIFileFromMemBuffer(const char *path, void *data, - vsi_l_offset data_len, int take_ownership) - VSILFILE* VSIFOpenL(const char *path, const char *mode) - int VSIFCloseL(VSILFILE *fp) - int VSIUnlink(const char *path) - - int VSIFFlushL(VSILFILE *fp) - size_t VSIFReadL(void *buffer, size_t nSize, size_t nCount, VSILFILE *fp) - char** VSIReadDir(const char* pszPath) - int VSIFSeekL(VSILFILE *fp, vsi_l_offset nOffset, int nWhence) - vsi_l_offset VSIFTellL(VSILFILE *fp) - int VSIFTruncateL(VSILFILE *fp, vsi_l_offset nNewSize) - size_t VSIFWriteL(void *buffer, size_t nSize, size_t nCount, VSILFILE *fp) - - int VSIMkdir(const char *path, long mode) - int VSIRmdir(const char *path) - int VSIStatL(const char *pszFilename, VSIStatBufL *psStatBuf) - int VSI_ISDIR(int mode) - - -cdef extern from "ogr_srs_api.h" nogil: - - ctypedef int OGRErr - ctypedef void * OGRCoordinateTransformationH - ctypedef void * OGRSpatialReferenceH - - OGRCoordinateTransformationH OCTNewCoordinateTransformation( - OGRSpatialReferenceH source, - OGRSpatialReferenceH dest) - void OCTDestroyCoordinateTransformation( - OGRCoordinateTransformationH source) - int OCTTransform(OGRCoordinateTransformationH ct, int nCount, double *x, - double *y, double *z) - int OSRAutoIdentifyEPSG(OGRSpatialReferenceH srs) - void OSRCleanup() - OGRSpatialReferenceH OSRClone(OGRSpatialReferenceH srs) - int OSRExportToProj4(OGRSpatialReferenceH srs, char **params) - int OSRExportToWkt(OGRSpatialReferenceH srs, char **params) - const char *OSRGetAuthorityName(OGRSpatialReferenceH srs, const char *key) - const char *OSRGetAuthorityCode(OGRSpatialReferenceH srs, const char *key) - int OSRImportFromEPSG(OGRSpatialReferenceH srs, int code) - int OSRImportFromProj4(OGRSpatialReferenceH srs, const char *proj) - int OSRImportFromWkt(OGRSpatialReferenceH srs, char **wkt) - int OSRIsGeographic(OGRSpatialReferenceH srs) - int OSRIsProjected(OGRSpatialReferenceH srs) - int OSRIsSame(OGRSpatialReferenceH srs1, OGRSpatialReferenceH srs2) - OGRSpatialReferenceH OSRNewSpatialReference(const char *wkt) - void OSRRelease(OGRSpatialReferenceH srs) - int OSRSetFromUserInput(OGRSpatialReferenceH srs, const char *input) - double OSRGetLinearUnits(OGRSpatialReferenceH srs, char **ppszName) - double OSRGetAngularUnits(OGRSpatialReferenceH srs, char **ppszName) - int OSREPSGTreatsAsLatLong(OGRSpatialReferenceH srs) - int OSREPSGTreatsAsNorthingEasting(OGRSpatialReferenceH srs) - OGRSpatialReferenceH *OSRFindMatches(OGRSpatialReferenceH srs, char **options, int *entries, int **matchConfidence) - void OSRFreeSRSArray(OGRSpatialReferenceH *srs) - ctypedef enum OSRAxisMappingStrategy: - OAMS_TRADITIONAL_GIS_ORDER - - const char* OSRGetName(OGRSpatialReferenceH hSRS) - void OSRSetAxisMappingStrategy(OGRSpatialReferenceH hSRS, OSRAxisMappingStrategy) - void OSRSetPROJSearchPaths(const char *const *papszPaths) - char ** OSRGetPROJSearchPaths() - OGRErr OSRExportToWktEx(OGRSpatialReferenceH, char ** ppszResult, - const char* const* papszOptions) - OGRErr OSRExportToPROJJSON(OGRSpatialReferenceH hSRS, - char ** ppszReturn, - const char* const* papszOptions) - - -cdef extern from "ogr_core.h" nogil: - - ctypedef int OGRErr - char *OGRGeometryTypeToName(int type) - - ctypedef enum OGRwkbGeometryType: - wkbUnknown - wkbPoint - wkbLineString - wkbPolygon - wkbMultiPoint - wkbMultiLineString - wkbMultiPolygon - wkbGeometryCollection - wkbCircularString - wkbCompoundCurve - wkbCurvePolygon - wkbMultiCurve - wkbMultiSurface - wkbCurve - wkbSurface - wkbPolyhedralSurface - wkbTIN - wkbTriangle - wkbNone - wkbLinearRing - wkbCircularStringZ - wkbCompoundCurveZ - wkbCurvePolygonZ - wkbMultiCurveZ - wkbMultiSurfaceZ - wkbCurveZ - wkbSurfaceZ - wkbPolyhedralSurfaceZ - wkbTINZ - wkbTriangleZ - wkbPointM - wkbLineStringM - wkbPolygonM - wkbMultiPointM - wkbMultiLineStringM - wkbMultiPolygonM - wkbGeometryCollectionM - wkbCircularStringM - wkbCompoundCurveM - wkbCurvePolygonM - wkbMultiCurveM - wkbMultiSurfaceM - wkbCurveM - wkbSurfaceM - wkbPolyhedralSurfaceM - wkbTINM - wkbTriangleM - wkbPointZM - wkbLineStringZM - wkbPolygonZM - wkbMultiPointZM - wkbMultiLineStringZM - wkbMultiPolygonZM - wkbGeometryCollectionZM - wkbCircularStringZM - wkbCompoundCurveZM - wkbCurvePolygonZM - wkbMultiCurveZM - wkbMultiSurfaceZM - wkbCurveZM - wkbSurfaceZM - wkbPolyhedralSurfaceZM - wkbTINZM - wkbTriangleZM - wkbPoint25D - wkbLineString25D - wkbPolygon25D - wkbMultiPoint25D - wkbMultiLineString25D - wkbMultiPolygon25D - wkbGeometryCollection25D - - ctypedef enum OGRFieldType: - OFTInteger - OFTIntegerList - OFTReal - OFTRealList - OFTString - OFTStringList - OFTWideString - OFTWideStringList - OFTBinary - OFTDate - OFTTime - OFTDateTime - OFTInteger64 - OFTInteger64List - OFTMaxType - - ctypedef int OGRFieldSubType - cdef int OFSTNone = 0 - cdef int OFSTBoolean = 1 - cdef int OFSTInt16 = 2 - cdef int OFSTFloat32 = 3 - cdef int OFSTMaxSubType = 3 - - ctypedef struct OGREnvelope: - double MinX - double MaxX - double MinY - double MaxY - - char * OGRGeometryTypeToName(int) - - - char * ODsCCreateLayer = "CreateLayer" - char * ODsCDeleteLayer = "DeleteLayer" - char * ODsCTransactions = "Transactions" - - -cdef extern from "gdal.h" nogil: - - ctypedef void * GDALMajorObjectH - ctypedef void * GDALDatasetH - ctypedef void * GDALRasterBandH - ctypedef void * GDALDriverH - ctypedef void * GDALColorTableH - ctypedef void * GDALRasterAttributeTableH - ctypedef void * GDALAsyncReaderH - - ctypedef long long GSpacing - ctypedef unsigned long long GIntBig - - ctypedef enum GDALDataType: - GDT_Unknown - GDT_Byte - GDT_UInt16 - GDT_Int16 - GDT_UInt32 - GDT_Int32 - GDT_Float32 - GDT_Float64 - GDT_CInt16 - GDT_CInt32 - GDT_CFloat32 - GDT_CFloat64 - GDT_TypeCount - - ctypedef enum GDALAccess: - GA_ReadOnly - GA_Update - - ctypedef enum GDALRWFlag: - GF_Read - GF_Write - - ctypedef enum GDALRIOResampleAlg: - GRIORA_NearestNeighbour - GRIORA_Bilinear - GRIORA_Cubic, - GRIORA_CubicSpline - GRIORA_Lanczos - GRIORA_Average - GRIORA_Mode - GRIORA_Gauss - - ctypedef enum GDALColorInterp: - GCI_Undefined - GCI_GrayIndex - GCI_PaletteIndex - GCI_RedBand - GCI_GreenBand - GCI_BlueBand - GCI_AlphaBand - GCI_HueBand - GCI_SaturationBand - GCI_LightnessBand - GCI_CyanBand - GCI_YCbCr_YBand - GCI_YCbCr_CbBand - GCI_YCbCr_CrBand - GCI_Max - - ctypedef struct GDALColorEntry: - short c1 - short c2 - short c3 - short c4 - - ctypedef struct GDAL_GCP: - char *pszId - char *pszInfo - double dfGCPPixel - double dfGCPLine - double dfGCPX - double dfGCPY - double dfGCPZ - - void GDALAllRegister() - void GDALDestroyDriverManager() - int GDALGetDriverCount() - GDALDriverH GDALGetDriver(int i) - const char *GDALGetDriverShortName(GDALDriverH driver) - const char *GDALGetDriverLongName(GDALDriverH driver) - const char* GDALGetDescription(GDALMajorObjectH obj) - void GDALSetDescription(GDALMajorObjectH obj, const char *text) - GDALDriverH GDALGetDriverByName(const char *name) - GDALDatasetH GDALOpen(const char *filename, GDALAccess access) # except -1 - GDALDatasetH GDALOpenShared(const char *filename, GDALAccess access) # except -1 - void GDALFlushCache(GDALDatasetH hds) - void GDALClose(GDALDatasetH hds) - GDALDriverH GDALGetDatasetDriver(GDALDatasetH hds) - int GDALGetGeoTransform(GDALDatasetH hds, double *transform) - const char *GDALGetProjectionRef(GDALDatasetH hds) - int GDALGetRasterXSize(GDALDatasetH hds) - int GDALGetRasterYSize(GDALDatasetH hds) - int GDALGetRasterCount(GDALDatasetH hds) - GDALRasterBandH GDALGetRasterBand(GDALDatasetH hds, int num) - GDALRasterBandH GDALGetOverview(GDALRasterBandH hband, int num) - int GDALGetRasterBandXSize(GDALRasterBandH hband) - int GDALGetRasterBandYSize(GDALRasterBandH hband) - const char *GDALGetRasterUnitType(GDALRasterBandH hband) - CPLErr GDALSetRasterUnitType(GDALRasterBandH hband, const char *val) - int GDALSetGeoTransform(GDALDatasetH hds, double *transform) - int GDALSetProjection(GDALDatasetH hds, const char *wkt) - void GDALGetBlockSize(GDALRasterBandH , int *xsize, int *ysize) - int GDALGetRasterDataType(GDALRasterBandH band) - double GDALGetRasterNoDataValue(GDALRasterBandH band, int *success) - int GDALSetRasterNoDataValue(GDALRasterBandH band, double value) - int GDALDatasetRasterIO(GDALRasterBandH band, int, int xoff, int yoff, - int xsize, int ysize, void *buffer, int width, - int height, int, int count, int *bmap, int poff, - int loff, int boff) - int GDALRasterIO(GDALRasterBandH band, int, int xoff, int yoff, int xsize, - int ysize, void *buffer, int width, int height, int, - int poff, int loff) - int GDALFillRaster(GDALRasterBandH band, double rvalue, double ivalue) - GDALDatasetH GDALCreate(GDALDriverH driver, const char *path, int width, - int height, int nbands, GDALDataType dtype, - const char **options) - GDALDatasetH GDALCreateCopy(GDALDriverH driver, const char *path, - GDALDatasetH hds, int strict, char **options, - void *progress_func, void *progress_data) - char** GDALGetMetadata(GDALMajorObjectH obj, const char *pszDomain) - int GDALSetMetadata(GDALMajorObjectH obj, char **papszMD, - const char *pszDomain) - const char* GDALGetMetadataItem(GDALMajorObjectH obj, const char *pszName, const char *pszDomain) - int GDALSetMetadataItem(GDALMajorObjectH obj, const char *pszName, - const char *pszValue, const char *pszDomain) - const GDALColorEntry *GDALGetColorEntry(GDALColorTableH table, int) - void GDALSetColorEntry(GDALColorTableH table, int i, - const GDALColorEntry *poEntry) - int GDALSetRasterColorTable(GDALRasterBandH band, GDALColorTableH table) - GDALColorTableH GDALGetRasterColorTable(GDALRasterBandH band) - GDALColorTableH GDALCreateColorTable(int) - void GDALDestroyColorTable(GDALColorTableH table) - int GDALGetColorEntryCount(GDALColorTableH table) - int GDALGetRasterColorInterpretation(GDALRasterBandH band) - int GDALSetRasterColorInterpretation(GDALRasterBandH band, GDALColorInterp) - int GDALGetMaskFlags(GDALRasterBandH band) - int GDALCreateDatasetMaskBand(GDALDatasetH hds, int flags) - void *GDALGetMaskBand(GDALRasterBandH band) - int GDALCreateMaskBand(GDALDatasetH hds, int flags) - int GDALGetOverviewCount(GDALRasterBandH band) - int GDALBuildOverviews(GDALDatasetH hds, const char *resampling, - int nOverviews, int *overviews, int nBands, - int *bands, void *progress_func, - void *progress_data) - int GDALCheckVersion(int nVersionMajor, int nVersionMinor, - const char *pszCallingComponentName) - const char* GDALVersionInfo(const char *pszRequest) - CPLErr GDALSetGCPs(GDALDatasetH hDS, int nGCPCount, const GDAL_GCP *pasGCPList, - const char *pszGCPProjection) - const GDAL_GCP *GDALGetGCPs(GDALDatasetH hDS) - int GDALGetGCPCount(GDALDatasetH hDS) - const char *GDALGetGCPProjection(GDALDatasetH hDS) - int GDALGetCacheMax() - void GDALSetCacheMax(int nBytes) - GIntBig GDALGetCacheMax64() - void GDALSetCacheMax64(GIntBig nBytes) - CPLErr GDALDeleteDataset(GDALDriverH, const char *) - char** GDALGetFileList(GDALDatasetH hDS) - CPLErr GDALCopyDatasetFiles (GDALDriverH hDriver, const char * pszNewName, const char * pszOldName) - - void * GDALOpenEx(const char * pszFilename, - unsigned int nOpenFlags, - const char *const *papszAllowedDrivers, - const char *const *papszOpenOptions, - const char *const *papszSiblingFiles - ) - int GDAL_OF_UPDATE - int GDAL_OF_READONLY - int GDAL_OF_VECTOR - int GDAL_OF_VERBOSE_ERROR - int GDALDatasetGetLayerCount(void * hds) - void * GDALDatasetGetLayer(void * hDS, int iLayer) - void * GDALDatasetGetLayerByName(void * hDS, char * pszName) - void GDALClose(void * hDS) - void * GDALCreate(void * hDriver, - const char * pszFilename, - int nXSize, - int nYSize, - int nBands, - GDALDataType eBandType, - char ** papszOptions) - void * GDALDatasetCreateLayer(void * hDS, - const char * pszName, - void * hSpatialRef, - int eType, - char ** papszOptions) - int GDALDatasetDeleteLayer(void * hDS, int iLayer) - void GDALFlushCache(void * hDS) - char * GDALGetDriverShortName(void * hDriver) - OGRErr GDALDatasetStartTransaction (void * hDataset, int bForce) - OGRErr GDALDatasetCommitTransaction (void * hDataset) - OGRErr GDALDatasetRollbackTransaction (void * hDataset) - int GDALDatasetTestCapability (void * hDataset, char *) - - -cdef extern from "ogr_api.h" nogil: - - ctypedef void * OGRLayerH - ctypedef void * OGRDataSourceH - ctypedef void * OGRSFDriverH - ctypedef void * OGRFieldDefnH - ctypedef void * OGRFeatureDefnH - ctypedef void * OGRFeatureH - ctypedef void * OGRGeometryH - - ctypedef struct OGREnvelope: - double MinX - double MaxX - double MinY - double MaxY - - void OGRRegisterAll() - void OGRCleanupAll() - int OGRGetDriverCount() - - char *OGR_Dr_GetName(OGRSFDriverH driver) - OGRDataSourceH OGR_Dr_CreateDataSource(OGRSFDriverH driver, - const char *path, char **options) - int OGR_Dr_DeleteDataSource(OGRSFDriverH driver, const char *path) - int OGR_DS_DeleteLayer(OGRDataSourceH datasource, int n) - OGRLayerH OGR_DS_CreateLayer(OGRDataSourceH datasource, const char *name, - OGRSpatialReferenceH crs, int geomType, - char **options) - OGRLayerH OGR_DS_ExecuteSQL(OGRDataSourceH, const char *name, - OGRGeometryH filter, const char *dialext) - void OGR_DS_Destroy(OGRDataSourceH datasource) - OGRSFDriverH OGR_DS_GetDriver(OGRLayerH layer_defn) - OGRLayerH OGR_DS_GetLayerByName(OGRDataSourceH datasource, - const char *name) - int OGR_DS_GetLayerCount(OGRDataSourceH datasource) - OGRLayerH OGR_DS_GetLayer(OGRDataSourceH datasource, int n) - void OGR_DS_ReleaseResultSet(OGRDataSourceH datasource, OGRLayerH results) - int OGR_DS_SyncToDisk(OGRDataSourceH datasource) - OGRFeatureH OGR_F_Create(OGRFeatureDefnH featuredefn) - void OGR_F_Destroy(OGRFeatureH feature) - long OGR_F_GetFID(OGRFeatureH feature) - int OGR_F_IsFieldSet(OGRFeatureH feature, int n) - int OGR_F_GetFieldAsDateTime(OGRFeatureH feature, int n, int *y, int *m, - int *d, int *h, int *m, int *s, int *z) - double OGR_F_GetFieldAsDouble(OGRFeatureH feature, int n) - int OGR_F_GetFieldAsInteger(OGRFeatureH feature, int n) - const char *OGR_F_GetFieldAsString(OGRFeatureH feature, int n) - char **OGR_F_GetFieldAsStringList( OGRFeatureH feature, int n) - int OGR_F_GetFieldCount(OGRFeatureH feature) - OGRFieldDefnH OGR_F_GetFieldDefnRef(OGRFeatureH feature, int n) - int OGR_F_GetFieldIndex(OGRFeatureH feature, const char *name) - OGRGeometryH OGR_F_GetGeometryRef(OGRFeatureH feature) - void OGR_F_SetFieldDateTime(OGRFeatureH feature, int n, int y, int m, - int d, int hh, int mm, int ss, int tz) - void OGR_F_SetFieldDouble(OGRFeatureH feature, int n, double value) - void OGR_F_SetFieldInteger(OGRFeatureH feature, int n, int value) - void OGR_F_SetFieldString(OGRFeatureH feature, int n, const char *value) - int OGR_F_SetGeometryDirectly(OGRFeatureH feature, OGRGeometryH geometry) - OGRFeatureDefnH OGR_FD_Create(const char *name) - int OGR_FD_GetFieldCount(OGRFeatureDefnH featuredefn) - OGRFieldDefnH OGR_FD_GetFieldDefn(OGRFeatureDefnH featuredefn, int n) - int OGR_FD_GetGeomType(OGRFeatureDefnH featuredefn) - const char *OGR_FD_GetName(OGRFeatureDefnH featuredefn) - OGRFieldDefnH OGR_Fld_Create(const char *name, int fieldtype) - void OGR_Fld_Destroy(OGRFieldDefnH) - char *OGR_Fld_GetNameRef(OGRFieldDefnH) - int OGR_Fld_GetPrecision(OGRFieldDefnH) - int OGR_Fld_GetType(OGRFieldDefnH) - int OGR_Fld_GetWidth(OGRFieldDefnH) - void OGR_Fld_Set(OGRFieldDefnH, const char *name, int fieldtype, int width, - int precision, int justification) - void OGR_Fld_SetPrecision(OGRFieldDefnH, int n) - void OGR_Fld_SetWidth(OGRFieldDefnH, int n) - OGRErr OGR_G_AddGeometryDirectly(OGRGeometryH geometry, OGRGeometryH part) - OGRErr OGR_G_RemoveGeometry(OGRGeometryH geometry, int i, int delete) - void OGR_G_AddPoint(OGRGeometryH geometry, double x, double y, double z) - void OGR_G_AddPoint_2D(OGRGeometryH geometry, double x, double y) - void OGR_G_CloseRings(OGRGeometryH geometry) - OGRGeometryH OGR_G_CreateGeometry(int wkbtypecode) - OGRGeometryH OGR_G_CreateGeometryFromJson(const char *json) - void OGR_G_DestroyGeometry(OGRGeometryH geometry) - char *OGR_G_ExportToJson(OGRGeometryH geometry) - OGRErr OGR_G_ExportToWkb(OGRGeometryH geometry, int endianness, char *buffer) - int OGR_G_GetCoordinateDimension(OGRGeometryH geometry) - int OGR_G_GetGeometryCount(OGRGeometryH geometry) - const char *OGR_G_GetGeometryName(OGRGeometryH geometry) - int OGR_G_GetGeometryType(OGRGeometryH geometry) - OGRGeometryH OGR_G_GetGeometryRef(OGRGeometryH geometry, int n) - int OGR_G_GetPointCount(OGRGeometryH geometry) - double OGR_G_GetX(OGRGeometryH geometry, int n) - double OGR_G_GetY(OGRGeometryH geometry, int n) - double OGR_G_GetZ(OGRGeometryH geometry, int n) - OGRErr OGR_G_ImportFromWkb(OGRGeometryH geometry, unsigned char *bytes, - int nbytes) - int OGR_G_WkbSize(OGRGeometryH geometry) - OGRErr OGR_L_CreateFeature(OGRLayerH layer, OGRFeatureH feature) - int OGR_L_CreateField(OGRLayerH layer, OGRFieldDefnH, int flexible) - OGRErr OGR_L_GetExtent(OGRLayerH layer, void *extent, int force) - OGRFeatureH OGR_L_GetFeature(OGRLayerH layer, int n) - int OGR_L_GetFeatureCount(OGRLayerH layer, int m) - OGRFeatureDefnH OGR_L_GetLayerDefn(OGRLayerH layer) - const char *OGR_L_GetName(OGRLayerH layer) - OGRFeatureH OGR_L_GetNextFeature(OGRLayerH layer) - OGRGeometryH OGR_L_GetSpatialFilter(OGRLayerH layer) - OGRSpatialReferenceH OGR_L_GetSpatialRef(OGRLayerH layer) - void OGR_L_ResetReading(OGRLayerH layer) - void OGR_L_SetSpatialFilter(OGRLayerH layer, OGRGeometryH geometry) - void OGR_L_SetSpatialFilterRect(OGRLayerH layer, double minx, double miny, - double maxx, double maxy) - int OGR_L_TestCapability(OGRLayerH layer, const char *name) - OGRSFDriverH OGRGetDriverByName(const char *) - OGRSFDriverH OGRGetDriver(int i) - OGRDataSourceH OGROpen(const char *path, int mode, void *x) - OGRDataSourceH OGROpenShared(const char *path, int mode, void *x) - int OGRReleaseDataSource(OGRDataSourceH datasource) - const char * OGR_Dr_GetName (void *driver) - int OGR_Dr_TestCapability (void *driver, const char *) - void * OGR_F_Create (void *featuredefn) - void OGR_F_Destroy (void *feature) - long OGR_F_GetFID (void *feature) - int OGR_F_IsFieldSet (void *feature, int n) - int OGR_F_GetFieldAsDateTimeEx (void *feature, int n, int *y, int *m, int *d, int *h, int *m, float *s, int *z) - double OGR_F_GetFieldAsDouble (void *feature, int n) - int OGR_F_GetFieldAsInteger (void *feature, int n) - char * OGR_F_GetFieldAsString (void *feature, int n) - unsigned char * OGR_F_GetFieldAsBinary(void *feature, int n, int *s) - int OGR_F_GetFieldCount (void *feature) - void * OGR_F_GetFieldDefnRef (void *feature, int n) - int OGR_F_GetFieldIndex (void *feature, char *name) - void * OGR_F_GetGeometryRef (void *feature) - void * OGR_F_StealGeometry (void *feature) - void OGR_F_SetFieldDateTimeEx (void *feature, int n, int y, int m, int d, int hh, int mm, float ss, int tz) - void OGR_F_SetFieldDouble (void *feature, int n, double value) - void OGR_F_SetFieldInteger (void *feature, int n, int value) - void OGR_F_SetFieldString (void *feature, int n, char *value) - void OGR_F_SetFieldBinary (void *feature, int n, int l, unsigned char *value) - void OGR_F_SetFieldNull (void *feature, int n) # new in GDAL 2.2 - int OGR_F_SetGeometryDirectly (void *feature, void *geometry) - void * OGR_FD_Create (char *name) - int OGR_FD_GetFieldCount (void *featuredefn) - void * OGR_FD_GetFieldDefn (void *featuredefn, int n) - int OGR_FD_GetGeomType (void *featuredefn) - char * OGR_FD_GetName (void *featuredefn) - OGRFieldSubType OGR_Fld_GetSubType(void *fielddefn) - void OGR_Fld_SetSubType(void *fielddefn, OGRFieldSubType subtype) - void * OGR_G_ForceToMultiPolygon (void *geometry) - void * OGR_G_ForceToPolygon (void *geometry) - void * OGR_G_Clone(void *geometry) - void * OGR_G_GetLinearGeometry (void *hGeom, double dfMaxAngleStepSizeDegrees, char **papszOptions) - OGRErr OGR_L_SetIgnoredFields (void *layer, const char **papszFields) - OGRErr OGR_L_SetAttributeFilter(void *layer, const char*) - OGRErr OGR_L_SetNextByIndex (void *layer, long nIndex) - long long OGR_F_GetFieldAsInteger64 (void *feature, int n) - void OGR_F_SetFieldInteger64 (void *feature, int n, long long value) - int OGR_F_IsFieldNull(void *feature, int n) - - -cdef extern from "gdalwarper.h" nogil: - - ctypedef enum GDALResampleAlg: - GRA_NearestNeighbour - GRA_Bilinear - GRA_Cubic - GRA_CubicSpline - GRA_Lanczos - GRA_Average - GRA_Mode - - ctypedef int (*GDALMaskFunc)( - void *pMaskFuncArg, int nBandCount, int eType, int nXOff, int nYOff, - int nXSize, int nYSize, unsigned char **papabyImageData, - int bMaskIsFloat, void *pMask) - - ctypedef int (*GDALTransformerFunc)( - void *pTransformerArg, int bDstToSrc, int nPointCount, double *x, - double *y, double *z, int *panSuccess) - - ctypedef struct GDALWarpOptions: - char **papszWarpOptions - double dfWarpMemoryLimit - GDALResampleAlg eResampleAlg - GDALDataType eWorkingDataType - GDALDatasetH hSrcDS - GDALDatasetH hDstDS - # 0 for all bands - int nBandCount - # List of source band indexes - int *panSrcBands - # List of destination band indexes - int *panDstBands - # The source band so use as an alpha (transparency) value, 0=disabled - int nSrcAlphaBand - # The dest. band so use as an alpha (transparency) value, 0=disabled - int nDstAlphaBand - # The "nodata" value real component for each input band, if NULL there isn't one */ - double *padfSrcNoDataReal - # The "nodata" value imaginary component - may be NULL even if real component is provided. */ - double *padfSrcNoDataImag - # The "nodata" value real component for each output band, if NULL there isn't one */ - double *padfDstNoDataReal - # The "nodata" value imaginary component - may be NULL even if real component is provided. */ - double *padfDstNoDataImag - # GDALProgressFunc() compatible progress reporting function, or NULL if there isn't one. */ - void *pfnProgress - # Callback argument to be passed to pfnProgress. */ - void *pProgressArg - # Type of spatial point transformer function */ - GDALTransformerFunc pfnTransformer - # Handle to image transformer setup structure */ - void *pTransformerArg - GDALMaskFunc *papfnSrcPerBandValidityMaskFunc - void **papSrcPerBandValidityMaskFuncArg - GDALMaskFunc pfnSrcValidityMaskFunc - void *pSrcValidityMaskFuncArg - GDALMaskFunc pfnSrcDensityMaskFunc - void *pSrcDensityMaskFuncArg - GDALMaskFunc pfnDstDensityMaskFunc - void *pDstDensityMaskFuncArg - GDALMaskFunc pfnDstValidityMaskFunc - void *pDstValidityMaskFuncArg - int (*pfnPreWarpChunkProcessor)(void *pKern, void *pArg) - void *pPreWarpProcessorArg - int (*pfnPostWarpChunkProcessor)(void *pKern, void *pArg) - void *pPostWarpProcessorArg - # Optional OGRPolygonH for a masking cutline. */ - OGRGeometryH hCutline - # Optional blending distance to apply across cutline in pixels, default is 0 - double dfCutlineBlendDist - - GDALWarpOptions *GDALCreateWarpOptions() - void GDALDestroyWarpOptions(GDALWarpOptions *options) - - GDALDatasetH GDALAutoCreateWarpedVRT( - GDALDatasetH hSrcDS, const char *pszSrcWKT, const char *pszDstWKT, - GDALResampleAlg eResampleAlg, double dfMaxError, - const GDALWarpOptions *psOptionsIn) - - GDALDatasetH GDALCreateWarpedVRT( - GDALDatasetH hSrcDS, int nPixels, int nLines, - double *padfGeoTransform, const GDALWarpOptions *psOptionsIn) - - -cdef extern from "gdal_alg.h" nogil: - - int GDALPolygonize(GDALRasterBandH band, GDALRasterBandH mask_band, - OGRLayerH layer, int fidx, char **options, - void *progress_func, void *progress_data) - int GDALFPolygonize(GDALRasterBandH band, GDALRasterBandH mask_band, - OGRLayerH layer, int fidx, char **options, - void *progress_func, void *progress_data) - int GDALSieveFilter(GDALRasterBandH src_band, GDALRasterBandH mask_band, - GDALRasterBandH dst_band, int size, int connectivity, - char **options, void *progress_func, - void *progress_data) - int GDALRasterizeGeometries(GDALDatasetH hds, int band_count, - int *dst_bands, int geom_count, - OGRGeometryH *geometries, - GDALTransformerFunc transform_func, - void *transform, double *pixel_values, - char **options, void *progress_func, - void *progress_data) - void *GDALCreateGenImgProjTransformer(GDALDatasetH src_hds, - const char *pszSrcWKT, GDALDatasetH dst_hds, - const char *pszDstWKT, - int bGCPUseOK, double dfGCPErrorThreshold, - int nOrder) - void *GDALCreateGenImgProjTransformer2(GDALDatasetH src_hds, GDALDatasetH dst_hds, char **options) - void *GDALCreateGenImgProjTransformer3( - const char *pszSrcWKT, const double *padfSrcGeoTransform, - const char *pszDstWKT, const double *padfDstGeoTransform) - void GDALSetGenImgProjTransformerDstGeoTransform(void *hTransformArg, double *padfGeoTransform) - int GDALGenImgProjTransform(void *pTransformArg, int bDstToSrc, - int nPointCount, double *x, double *y, - double *z, int *panSuccess) - void GDALDestroyGenImgProjTransformer(void *) - void *GDALCreateApproxTransformer(GDALTransformerFunc pfnRawTransformer, - void *pRawTransformerArg, - double dfMaxError) - int GDALApproxTransform(void *pTransformArg, int bDstToSrc, int npoints, - double *x, double *y, double *z, int *panSuccess) - void GDALDestroyApproxTransformer(void *) - void GDALApproxTransformerOwnsSubtransformer(void *, int) - int GDALFillNodata(GDALRasterBandH dst_band, GDALRasterBandH mask_band, - double max_search_distance, int deprecated, - int smoothing_iterations, char **options, - void *progress_func, void *progress_data) - int GDALChecksumImage(GDALRasterBandH band, int xoff, int yoff, int width, - int height) - int GDALSuggestedWarpOutput2( - GDALDatasetH hSrcDS, GDALTransformerFunc pfnRawTransformer, - void * pTransformArg, double * padfGeoTransformOut, int * pnPixels, - int * pnLines, double * padfExtent, int nOptions) diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/GDALLogoBW.svg b/.venv/lib/python3.12/site-packages/fiona/gdal_data/GDALLogoBW.svg deleted file mode 100644 index 4ac8f6a6..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/GDALLogoBW.svg +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/GDALLogoColor.svg b/.venv/lib/python3.12/site-packages/fiona/gdal_data/GDALLogoColor.svg deleted file mode 100644 index da311ad8..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/GDALLogoColor.svg +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/GDALLogoGS.svg b/.venv/lib/python3.12/site-packages/fiona/gdal_data/GDALLogoGS.svg deleted file mode 100644 index de00b72a..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/GDALLogoGS.svg +++ /dev/null @@ -1,126 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/LICENSE.TXT b/.venv/lib/python3.12/site-packages/fiona/gdal_data/LICENSE.TXT deleted file mode 100644 index cd24b533..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/LICENSE.TXT +++ /dev/null @@ -1,467 +0,0 @@ - -GDAL/OGR Licensing -================== - -This file attempts to include all licenses that apply within the GDAL/OGR -source tree, in particular any that are supposed to be exposed to the end user -for credit requirements for instance. The contents of this file can be -displayed from GDAL commandline utilities using the --license commandline -switch. - - -GDAL/OGR General ----------------- - -In general GDAL/OGR is licensed under an MIT style license with the -following terms: - -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. - - -port/cpl_float.cpp ------------------- - -Copyright (c) 2002, Industrial Light & Magic, a division of Lucas -Digital Ltd. LLC - -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 Industrial Light & Magic 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. - - -frmts/hdf4/hdf-eos/* --------------------- - - Copyright (C) 1996 Hughes and Applied Research Corporation - - Permission to use, modify, and distribute this software and its documentation - for any purpose 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. - - -frmts/pcraster/libcsf ---------------------- - -Copyright (c) 1997-2003, Utrecht University -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 Utrecht University 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. - -frmts/grib/degrib/* -------------------- - -The degrib and g2clib source code are modified versions of code produced -by NOAA NWS and are in the public domain subject to the following -restrictions: - -http://www.weather.gov/im/softa.htm - -DISCLAIMER The United States Government makes no warranty, expressed or -implied, as to the usefulness of the software and documentation for any -purpose. The U.S. Government, its instrumentalities, officers, employees, -and agents assumes no responsibility (1) for the use of the software and -documentation listed below, or (2) to provide technical support to users. - -http://www.weather.gov/disclaimer.php - - The information on government servers are in the public domain, unless -specifically annotated otherwise, and may be used freely by the public so -long as you do not 1) claim it is your own (e.g. by claiming copyright for -NWS information -- see below), 2) use it in a manner that implies an -endorsement or affiliation with NOAA/NWS, or 3) modify it in content and -then present it as official government material. You also cannot present -information of your own in a way that makes it appear to be official -government information.. - - The user assumes the entire risk related to its use of this data. NWS is -providing this data "as is," and NWS disclaims any and all warranties, -whether express or implied, including (without limitation) any implied -warranties of merchantability or fitness for a particular purpose. In no -event will NWS be liable to you or to any third party for any direct, -indirect, incidental, consequential, special or exemplary damages or lost -profit resulting from any use or misuse of this data. - - As required by 17 U.S.C. 403, third parties producing copyrighted works -consisting predominantly of the material appearing in NWS Web pages must -provide notice with such work(s) identifying the NWS material incorporated -and stating that such material is not subject to copyright protection. - -port/cpl_minizip* ------------------ - -This is version 2005-Feb-10 of the Info-ZIP copyright and license. -The definitive version of this document should be available at -ftp://ftp.info-zip.org/pub/infozip/license.html indefinitely. - - -Copyright (c) 1990-2005 Info-ZIP. All rights reserved. - -For the purposes of this copyright and license, "Info-ZIP" is defined as -the following set of individuals: - - Mark Adler, John Bush, Karl Davis, Harald Denker, Jean-Michel Dubois, - Jean-loup Gailly, Hunter Goatley, Ed Gordon, Ian Gorman, Chris Herborth, - Dirk Haase, Greg Hartwig, Robert Heath, Jonathan Hudson, Paul Kienitz, - David Kirschbaum, Johnny Lee, Onno van der Linden, Igor Mandrichenko, - Steve P. Miller, Sergio Monesi, Keith Owens, George Petrov, Greg Roelofs, - Kai Uwe Rommel, Steve Salisbury, Dave Smith, Steven M. Schweda, - Christian Spieler, Cosmin Truta, Antoine Verheijen, Paul von Behren, - Rich Wales, Mike White - -This software is provided "as is," without warranty of any kind, express -or implied. In no event shall Info-ZIP or its contributors be held liable -for any direct, indirect, incidental, special or consequential damages -arising out of the use of or inability to use this software. - -Permission is granted to anyone to use this software for any purpose, -including commercial applications, and to alter it and redistribute it -freely, subject to the following restrictions: - - 1. Redistributions of source code must retain the above copyright notice, - definition, disclaimer, and this list of conditions. - - 2. Redistributions in binary form (compiled executables) must reproduce - the above copyright notice, definition, disclaimer, and this list of - conditions in documentation and/or other materials provided with the - distribution. The sole exception to this condition is redistribution - of a standard UnZipSFX binary (including SFXWiz) as part of a - self-extracting archive; that is permitted without inclusion of this - license, as long as the normal SFX banner has not been removed from - the binary or disabled. - - 3. Altered versions--including, but not limited to, ports to new operating - systems, existing ports with new graphical interfaces, and dynamic, - shared, or static library versions--must be plainly marked as such - and must not be misrepresented as being the original source. Such - altered versions also must not be misrepresented as being Info-ZIP - releases--including, but not limited to, labeling of the altered - versions with the names "Info-ZIP" (or any variation thereof, including, - but not limited to, different capitalizations), "Pocket UnZip," "WiZ" - or "MacZip" without the explicit permission of Info-ZIP. Such altered - versions are further prohibited from misrepresentative use of the - Zip-Bugs or Info-ZIP e-mail addresses or of the Info-ZIP URL(s). - - 4. Info-ZIP retains the right to use the names "Info-ZIP," "Zip," "UnZip," - "UnZipSFX," "WiZ," "Pocket UnZip," "Pocket Zip," and "MacZip" for its - own source and binary releases. - - -ogr/ogrsf_frmts/dxf/intronurbs.cpp ----------------------------------- - -This code is derived from the code associated with the book "An Introduction -to NURBS" by David F. Rogers. More information on the book and the code is -available at: - - http://www.nar-associates.com/nurbs/ - - -Copyright (c) 2009, David F. Rogers -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 the David F. Rogers 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. - -alg/thinplatespline.cpp ------------------------ - -IEEE754 log() code derived from: -@(#)e_log.c 1.3 95/01/18 - -Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. - -Developed at SunSoft, a Sun Microsystems, Inc. business. -Permission to use, copy, modify, and distribute this -software is freely granted, provided that this notice -is preserved. - - -alg/libqhull ------------- - -Only applies when GDAL is compiled with internal qhull support - - - Qhull, Copyright (c) 1993-2012 - - C.B. Barber - Arlington, MA - - and - - The National Science and Technology Research Center for - Computation and Visualization of Geometric Structures - (The Geometry Center) - University of Minnesota - - email: qhull@qhull.org - -This software includes Qhull from C.B. Barber and The Geometry Center. -Qhull is copyrighted as noted above. Qhull is free software and may -be obtained via http from www.qhull.org. It may be freely copied, modified, -and redistributed under the following conditions: - -1. All copyright notices must remain intact in all files. - -2. A copy of this text file must be distributed along with any copies - of Qhull that you redistribute; this includes copies that you have - modified, or copies of programs or other software products that - include Qhull. - -3. If you modify Qhull, you must include a notice giving the - name of the person performing the modification, the date of - modification, and the reason for such modification. - -4. When distributing modified versions of Qhull, or other software - products that include Qhull, you must provide notice that the original - source code may be obtained as noted above. - -5. There is no warranty or other guarantee of fitness for Qhull, it is - provided solely "as is". Bug reports or fixes may be sent to - qhull_bug@qhull.org; the authors may or may not act on them as - they desire. - -frmts/pdf/pdfdataset.cpp (method PDFiumRenderPageBitmap()) ----------------------------------------------------------- - -Copyright 2014 PDFium Authors. 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 Google 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. - -frmts/mrf/* (apply when MRF driver included in build) ------------------------------------------------------- - -Copyright (c) 2002-2012, California Institute of Technology. -All rights reserved. Based on Government Sponsored Research under contracts NAS7-1407 and/or NAS7-03001. - -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 California Institute of Technology (Caltech), its operating division the Jet Propulsion Laboratory (JPL), - the National Aeronautics and Space Administration (NASA), 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 CALIFORNIA INSTITUTE OF TECHNOLOGY 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. - -~~~~~~~~ - -Copyright 2014-2015 Esri -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. - -cmake/modules/3.* (backported CMake find modules) -------------------------------------------------- - -CMake - Cross Platform Makefile Generator -Copyright 2000-2022 Kitware, Inc. 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: - -* 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 Kitware, Inc. nor the names of 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. - -ogr/ogrsf_frmts/flatgeobuf --------------------------- - -FlatGeobuf -++++++++++ - -ISC License - -Copyright (c) 2018, Bjorn Harrtell - -Permission to use, copy, modify, and/or 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. - -Flatbush -++++++++ - -ISC License - -Copyright (c) 2018, Vladimir Agafonkin - -Permission to use, copy, modify, and/or 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. - -ogr/ogrsf_frmts/flatgeobuf/flatbuffers --------------------------------------- - -Copyright 2021 Google Inc. All rights reserved. - -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/python3.12/site-packages/fiona/gdal_data/bag_template.xml b/.venv/lib/python3.12/site-packages/fiona/gdal_data/bag_template.xml deleted file mode 100644 index 9f592883..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/bag_template.xml +++ /dev/null @@ -1,201 +0,0 @@ - - - - eng - - - - - ${INDIVIDUAL_NAME:unknown} - - - ${ORGANISATION_NAME:unknown} - - - ${POSITION_NAME:unknown} - - - ${CONTACT_ROLE:author} - - - - - ${DATE} - - - ${METADATA_STANDARD_NAME:ISO 19139} - - - ${METADATA_STANDARD_VERSION:1.1.0} - - - - - 2 - - - - - row - - - ${HEIGHT} - - - ${RESY} - - - - - - - column - - - ${WIDTH} - - - ${RESX} - - - - - point - - - 1 - - - 0 - - - - ${CORNER_POINTS} - - - - center - - - - - - - - - ${HORIZ_WKT} - - - WKT - - - - - - - - - - - ${VERT_WKT:VERT_CS["unknown", VERT_DATUM["unknown", 2000]]} - - - WKT - - - - - - - - ${XML_IDENTIFICATION_CITATION:} - - ${ABSTRACT:} - - - grid - - - - - ${RES} - - - - - eng - - - elevation - - - - - - - ${WEST_LONGITUDE} - - - ${EAST_LONGITUDE} - - - ${SOUTH_LATITUDE} - - - ${NORTH_LATITUDE} - - - - - - - ${VERTICAL_UNCERT_CODE:unknown} - - - - - - - - - dataset - - - - - - - - - ${PROCESS_STEP_DESCRIPTION} - - - ${DATETIME} - - - - - - - - - - - ${RESTRICTION_CODE:otherRestrictions} - - - ${RESTRICTION_OTHER_CONSTRAINTS:unknown} - - - - - - - ${CLASSIFICATION:unclassified} - - - ${SECURITY_USER_NOTE:none} - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/cubewerx_extra.wkt b/.venv/lib/python3.12/site-packages/fiona/gdal_data/cubewerx_extra.wkt deleted file mode 100644 index f29a5ca5..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/cubewerx_extra.wkt +++ /dev/null @@ -1,48 +0,0 @@ -# -# This file derived from the public_coordsys.txt file distributed with -# CubeSTOR by CubeWerx (http://www.cubewerx.com) -# -# OGC-defined "AUTO" codes -# http://www.digitalearth.gov/wmt/auto.html -# -# Hmm, not really much point to including these as they require extra -# substitutions. See the importFromWMSAUTO() if you need these. -# -#42001,PROJCS["WGS 84 / Auto UTM%s",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["central_meridian","%.16g"],PARAMETER["latitude_of_origin",0],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing","%.16g"],UNIT["Meter",1],AUTHORITY["EPSG","42001"]] -#42002,PROJCS["WGS 84 / Auto Tr. Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["central_meridian","%.16g"],PARAMETER["latitude_of_origin",0],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing","%.16g"],UNIT["Meter",1],AUTHORITY["EPSG","42002"]] -#42003,PROJCS["WGS 84 / Auto Orthographic",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Orthographic"],PARAMETER["central_meridian","%.16g"],PARAMETER["latitude_of_origin","%.16g"],UNIT["Meter",1],AUTHORITY["EPSG","42003"]] -#42004,PROJCS["WGS 84 / Auto Equirectangular",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Equirectangular"],PARAMETER["central_meridian",0],PARAMETER["latitude_of_origin",0],PARAMETER["standard_parallel_1","%.16g"],UNIT["Meter",1],AUTHORITY["EPSG","42004"]] -# -# OGC-defined extended codes (41000--41999) -# see http://www.digitalearth.gov/wmt/auto.html -# -41001,PROJCS["WGS84 / Simple Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","41001"]] -# -# CubeWerx-defined extended codes (42100--42199) -# -42101,PROJCS["WGS 84 / LCC Canada",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["central_meridian",-95.0],PARAMETER["latitude_of_origin",0],PARAMETER["standard_parallel_1",49.0],PARAMETER["standard_parallel_2",77.0],PARAMETER["false_easting",0.0],PARAMETER["false_northing",-8000000.0],UNIT["Meter",1],AUTHORITY["EPSG","42101"]] -#EPSG:42102,"PROJCS[\"NAD83 / BC Albers\",GEOGCS[\"NAD83\",DATUM[\"North_American_Datum_1983\",SPHEROID[\"GRS_1980\",6378137,298.257222101]],PRIMEM[\"Greenwich\",0],UNIT[\"Decimal_Degree\",0.0174532925199433]],PROJECTION[\"Albers_conic_equal_area\"],PARAMETER[\"central_meridian\",-126.0],PARAMETER[\"latitude_of_origin\",45],PARAMETER[\"standard_parallel_1\",50.0],PARAMETER[\"standard_parallel_2\",58.5],PARAMETER[\"false_easting\",1000000.0],PARAMETER[\"false_northing\",0],UNIT[\"Meter\",1]]" -42103,PROJCS["WGS 84 / LCC USA",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1978",6378135,298.26]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["central_meridian",-100.0],PARAMETER["latitude_of_origin",0],PARAMETER["standard_parallel_1",33.0],PARAMETER["standard_parallel_2",45.0],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],UNIT["Meter",1],AUTHORITY["EPSG","42103"]] -42104,PROJCS["NAD83 / MTM zone 8 Quebec",GEOGCS["GRS80",DATUM["GRS_1980",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-73.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",304800],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","42104"]] -42105,PROJCS["WGS84 / Merc NorthAm",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-96],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","42105"]] -42106,PROJCS["WGS84 / Lambert Azim Mozambique",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["Sphere_radius_6370997_m",6370997,0]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Lambert_Azimuthal_equal_area"],PARAMETER["latitude_of_origin",5],PARAMETER["central_meridian",20],PARAMETER["standard_parallel_1",5],PARAMETER["standard_parallel_2",5],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","42106"]] -# -# CubeWerx-customer definitions (42300--42399) -# -42301,PROJCS["NAD27 / Polar Stereographic / CM=-98",GEOGCS["NAD27",DATUM["North_American_Datum_1927",SPHEROID["Clarke 1866",6378206.4,294.978698213901]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Stereographic"],PARAMETER["latitude_of_origin",90],PARAMETER["central_meridian",-98.0],PARAMETER["standard_parallel_1",90],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","42301"]] -42302,PROJCS["JapanOrtho.09 09",GEOGCS["Lon/Lat.Tokyo Datum",DATUM["Tokyo Datum",SPHEROID["anon",6377397.155,299.15281310608]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["Central_Meridian",139.833333333333],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Latitude_of_Origin",36],PARAMETER["Scale_Factor",0.9999],UNIT["Meter",1],AUTHORITY["EPSG","42302"]] -42303,PROJCS["NAD83 / Albers NorthAm",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Albers_conic_equal_area"],PARAMETER["central_meridian",-96.0],PARAMETER["latitude_of_origin",23],PARAMETER["standard_parallel_1",29.5],PARAMETER["standard_parallel_2",45.5],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","42303"]] -42304,PROJCS["NAD83 / NRCan LCC Canada",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["central_meridian",-95.0],PARAMETER["latitude_of_origin",49.0],PARAMETER["standard_parallel_1",49.0],PARAMETER["standard_parallel_2",77.0],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],UNIT["Meter",1],AUTHORITY["EPSG","42304"]] -42305,PROJCS["France_II",GEOGCS["GCS_NTF_Paris",DATUM["Nouvelle_Triangulation_Francaise",SPHEROID["Clarke_1880_IGN",6378249.2,293.46602]],PRIMEM["Paris",2.337229166666667],UNIT["degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",2200000],PARAMETER["Central_Meridian",0],PARAMETER["Standard_Parallel_1",45.898918964419],PARAMETER["Standard_Parallel_2",47.696014502038],PARAMETER["Latitude_Of_Origin",46.8],UNIT["Meter",1],AUTHORITY["EPSG","42305"]] -42306,PROJCS["NAD83/QC_LCC",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["central_meridian",-68.5],PARAMETER["latitude_of_origin",44],PARAMETER["standard_parallel_1",46],PARAMETER["standard_parallel_2",60],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],UNIT["Meter",1],AUTHORITY["EPSG","42306"]] -42307,PROJCS["NAD83 / Texas Central - feet",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",31.8833333333333],PARAMETER["standard_parallel_2",30.1166666666667],PARAMETER["latitude_of_origin",29.6666666666667],PARAMETER["central_meridian",-100.333333333333],PARAMETER["false_easting",2296583.33333333333333],PARAMETER["false_northing",9842500],UNIT["US_Foot",0.30480060960121924],AUTHORITY["EPSG","42307"]] -42308,PROJCS["NAD27 / California Albers",GEOGCS["NAD27",DATUM["North_American_Datum_1927",SPHEROID["Clarke 1866",6378206.4,294.978698213901]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Albers_conic_equal_area"],PARAMETER["central_meridian",-120.0],PARAMETER["latitude_of_origin",0],PARAMETER["standard_parallel_1",34],PARAMETER["standard_parallel_2",40.5],PARAMETER["false_easting",0],PARAMETER["false_northing",-4000000],UNIT["Meter",1],AUTHORITY["EPSG","42308"]] -42309,PROJCS["NAD 83 / LCC Canada AVHRR-2",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["central_meridian",-95.0],PARAMETER["latitude_of_origin",0],PARAMETER["standard_parallel_1",49.0],PARAMETER["standard_parallel_2",77.0],PARAMETER["false_easting",0.0],PARAMETER["false_northing",0.0],UNIT["Meter",1],AUTHORITY["EPSG","42309"]] -42310,PROJCS["WGS84+GRS80 / Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["GRS 1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],AUTHORITY["EPSG","42310"]] -42311,PROJCS["NAD83 / LCC Statcan",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Decimal_Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["central_meridian",-91.866667],PARAMETER["latitude_of_origin",63.390675],PARAMETER["standard_parallel_1",49],PARAMETER["standard_parallel_2",77],PARAMETER["false_easting",6200000],PARAMETER["false_northing",3000000],UNIT["Meter",1],AUTHORITY["EPSG","42311"]] -# -# BC-Forestry/NFIS code -# -100001,GEOGCS["NAD83 / NFIS Seconds",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Decimal_Second",4.84813681109536e-06],AUTHORITY["EPSG","100001"]] -100002,PROJCS["NAD83 / Austin",GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",31.8833333333333],PARAMETER["standard_parallel_2",30.1166666666667],PARAMETER["latitude_of_origin",29.6666666666667],PARAMETER["central_meridian",-100.333333333333],PARAMETER["false_easting",2296583.333333],PARAMETER["false_northing",9842500.0000000],UNIT["Meter",1],AUTHORITY["EPSG","100002"]] -900913,PROJCS["Google Maps Global Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]],PROJECTION["Mercator_2SP"],PARAMETER["standard_parallel_1",0],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["Meter",1],EXTENSION["PROJ4","+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs"]] diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/default.rsc b/.venv/lib/python3.12/site-packages/fiona/gdal_data/default.rsc deleted file mode 100644 index 2fb03e82..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/gdal_data/default.rsc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ecw_cs.wkt b/.venv/lib/python3.12/site-packages/fiona/gdal_data/ecw_cs.wkt deleted file mode 100644 index 70560a44..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ecw_cs.wkt +++ /dev/null @@ -1,1452 +0,0 @@ -AB_10TM,PROJCS["AB_10TM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-114.9999999999725],PARAMETER["scale_factor",0.9992],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -ACRESLC,PROJCS["ACRESLC",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-18.00000000235031],PARAMETER["standard_parallel_2",-35.99999999897103],PARAMETER["latitude_of_origin",-26.99999999779589],PARAMETER["central_meridian",131.999999998137],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -AEAFRICA,LOCAL_CS["AEAFRICA - (unsupported)"] -AERUSS,LOCAL_CS["AERUSS - (unsupported)"] -ALALASK2,PROJCS["ALALASK2",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",65],PARAMETER["standard_parallel_2",55],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",-153],PARAMETER["false_easting",0],PARAMETER["false_northing",-4943910.68]] -ALALASK3,PROJCS["ALALASK3",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",65],PARAMETER["standard_parallel_2",55],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",-153],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -ALALASKA,PROJCS["ALALASKA",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",65],PARAMETER["standard_parallel_2",55],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",-150],PARAMETER["false_easting",0],PARAMETER["false_northing",-4943910.68]] -ALAUS,PROJCS["ALAUS",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",-10],PARAMETER["standard_parallel_2",-39.99999999999994],PARAMETER["latitude_of_center",-29.99999999999995],PARAMETER["longitude_of_center",135],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALBC,PROJCS["ALBC",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",58.5],PARAMETER["standard_parallel_2",50],PARAMETER["latitude_of_center",45],PARAMETER["longitude_of_center",-126],PARAMETER["false_easting",1000000],PARAMETER["false_northing",0]] -ALBERING,PROJCS["ALBERING",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",60],PARAMETER["standard_parallel_2",70],PARAMETER["latitude_of_center",60],PARAMETER["longitude_of_center",170],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALCAM,PROJCS["ALCAM",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",30],PARAMETER["standard_parallel_2",10],PARAMETER["latitude_of_center",20],PARAMETER["longitude_of_center",-69.99999999999994],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALCANADA,PROJCS["ALCANADA",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",66],PARAMETER["standard_parallel_2",41],PARAMETER["latitude_of_center",55],PARAMETER["longitude_of_center",-89.99999999999994],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALCHI,PROJCS["ALCHI",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",45],PARAMETER["standard_parallel_2",20],PARAMETER["latitude_of_center",35],PARAMETER["longitude_of_center",110],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALCOLOMB,PROJCS["ALCOLOMB",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",1],PARAMETER["standard_parallel_2",5],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",-72.99999999999994],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALDLGAL,PROJCS["ALDLGAL",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",55.00000000000679],PARAMETER["standard_parallel_2",64.99999999998198],PARAMETER["latitude_of_center",49.99999999999055],PARAMETER["longitude_of_center",-153.9999999999846],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -ALDLGHAW,PROJCS["ALDLGHAW",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",8.00000000002599],PARAMETER["standard_parallel_2",18.00000000000118],PARAMETER["latitude_of_center",3.000000000009746],PARAMETER["longitude_of_center",-156.9999999999944],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -ALDLGUSA,PROJCS["ALDLGUSA",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",29.5],PARAMETER["standard_parallel_2",45.5],PARAMETER["latitude_of_center",23],PARAMETER["longitude_of_center",-95.99999999999996],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -ALEUR,PROJCS["ALEUR",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",70],PARAMETER["standard_parallel_2",35],PARAMETER["latitude_of_center",50],PARAMETER["longitude_of_center",12],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALEURO,PROJCS["ALEURO",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",40],PARAMETER["standard_parallel_2",60],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",12],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -ALFAR,PROJCS["ALFAR",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",30],PARAMETER["standard_parallel_2",10],PARAMETER["latitude_of_center",20],PARAMETER["longitude_of_center",80],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALFGDL,PROJCS["ALFGDL",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",24.00000000122388],PARAMETER["standard_parallel_2",31.50000000124825],PARAMETER["latitude_of_center",24.00000000122388],PARAMETER["longitude_of_center",-84.00000000141881],PARAMETER["false_easting",400000],PARAMETER["false_northing",0]] -ALFLA_GRS80,PROJCS["ALFLA_GRS80",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",24.00000000122388],PARAMETER["standard_parallel_2",31.50000000124825],PARAMETER["latitude_of_center",24.00000000122388],PARAMETER["longitude_of_center",-84.00000000141881],PARAMETER["false_easting",400000],PARAMETER["false_northing",0]] -ALFLA_N27,PROJCS["ALFLA_N27",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",24.00000000122388],PARAMETER["standard_parallel_2",31.50000000124825],PARAMETER["latitude_of_center",24.00000000122388],PARAMETER["longitude_of_center",-84.00000000141881],PARAMETER["false_easting",400000],PARAMETER["false_northing",0]] -ALGMEXIC,PROJCS["ALGMEXIC",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",28],PARAMETER["standard_parallel_2",22],PARAMETER["latitude_of_center",25],PARAMETER["longitude_of_center",-89.99999999999994],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALGULFFT,PROJCS["ALGULFFT",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",31],PARAMETER["standard_parallel_2",27],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",-89.99999999999994],PARAMETER["false_easting",3500000],PARAMETER["false_northing",-7624216.25],UNIT["unnamed",0.3048006096]] -ALGULFMT,PROJCS["ALGULFMT",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",45.5],PARAMETER["standard_parallel_2",29.5],PARAMETER["latitude_of_center",23],PARAMETER["longitude_of_center",-89.99999999999994],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALMALIN,PROJCS["ALMALIN",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",30],PARAMETER["standard_parallel_2",0.008333299999997507],PARAMETER["latitude_of_center",15],PARAMETER["longitude_of_center",120],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALMEA2,PROJCS["ALMEA2",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",25.0000003],PARAMETER["standard_parallel_2",-24.99999999999997],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",20],PARAMETER["false_easting",5000000],PARAMETER["false_northing",5000000]] -ALMENA,PROJCS["ALMENA",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",35],PARAMETER["standard_parallel_2",1],PARAMETER["latitude_of_center",18],PARAMETER["longitude_of_center",20],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALNEVADA,PROJCS["ALNEVADA",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",36.00000000000237],PARAMETER["standard_parallel_2",41.0000000000186],PARAMETER["latitude_of_center",38.50000000001049],PARAMETER["longitude_of_center",-116.999999999979],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -ALNSEA,PROJCS["ALNSEA",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",53],PARAMETER["standard_parallel_2",61],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",0],PARAMETER["false_easting",1000000],PARAMETER["false_northing",0]] -ALRUSS,PROJCS["ALRUSS",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",38],PARAMETER["standard_parallel_2",62],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",96],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -ALSAF,PROJCS["ALSAF",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",-0.9999999999999829],PARAMETER["standard_parallel_2",-31],PARAMETER["latitude_of_center",-15.99999999999996],PARAMETER["longitude_of_center",20],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALSAM,PROJCS["ALSAM",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",-0.9999999999999829],PARAMETER["standard_parallel_2",-54.99999999999998],PARAMETER["latitude_of_center",-27.99999999999998],PARAMETER["longitude_of_center",-69.99999999999994],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALTEALE,PROJCS["ALTEALE",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",34],PARAMETER["standard_parallel_2",40.49999999999996],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",-120],PARAMETER["false_easting",0],PARAMETER["false_northing",-4000000]] -ALTX_TCMS_AEA,PROJCS["ALTX_TCMS_AEA",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",27.49999999997475],PARAMETER["standard_parallel_2",34.99999999999911],PARAMETER["latitude_of_center",18.00000000000118],PARAMETER["longitude_of_center",-99.9999999999811],PARAMETER["false_easting",1500000],PARAMETER["false_northing",6000000]] -ALUSA_FT,PROJCS["ALUSA_FT",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",29.5],PARAMETER["standard_parallel_2",45.5],PARAMETER["latitude_of_center",23],PARAMETER["longitude_of_center",-95.99999999999996],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["unnamed",0.3048006096]] -ALVENEZ,PROJCS["ALVENEZ",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",10],PARAMETER["standard_parallel_2",4],PARAMETER["latitude_of_center",7],PARAMETER["longitude_of_center",-65.99999999999996],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -ALWAUST,PROJCS["ALWAUST",PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["standard_parallel_1",-17.4752127514901],PARAMETER["standard_parallel_2",-31.51267873219527],PARAMETER["latitude_of_center",-29.99999999999995],PARAMETER["longitude_of_center",120.8940947726037],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -BCNAMER,LOCAL_CS["BCNAMER - (unsupported)"] -BCSAMER,LOCAL_CS["BCSAMER - (unsupported)"] -BCSPHERE,LOCAL_CS["BCSPHERE - (unsupported)"] -BONNEPOR,LOCAL_CS["BONNEPOR - (unsupported)"] -BORNEOMT,LOCAL_CS["BORNEOMT - (unsupported)"] -CAISRAEL,PROJCS["CAISRAEL",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",31.7340969],PARAMETER["central_meridian",35.2120806],PARAMETER["false_easting",170251.555],PARAMETER["false_northing",1126867.91]] -CAISRMOD,PROJCS["CAISRMOD",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",31.7340969],PARAMETER["central_meridian",35.2120806],PARAMETER["false_easting",1170251.55],PARAMETER["false_northing",1126867.91]] -CAPAL,PROJCS["CAPAL",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",31.7340969],PARAMETER["central_meridian",35.2120806],PARAMETER["false_easting",170251.555],PARAMETER["false_northing",126867.91]] -CAQATAR,PROJCS["CAQATAR",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",25.3823611],PARAMETER["central_meridian",50.7613889],PARAMETER["false_easting",100000],PARAMETER["false_northing",100000]] -CAQATMOD,PROJCS["CAQATMOD",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",25.3823611],PARAMETER["central_meridian",50.7613889],PARAMETER["false_easting",100000],PARAMETER["false_northing",1100000]] -CASNGPOR,PROJCS["CASNGPOR",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",1.2876466],PARAMETER["central_meridian",103.8530022],PARAMETER["false_easting",30000],PARAMETER["false_northing",30000]] -CATOBAGO,PROJCS["CATOBAGO",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",11.2521786],PARAMETER["central_meridian",-60.6860088],PARAMETER["false_easting",187500],PARAMETER["false_northing",180000],UNIT["unnamed",0.201166195]] -CATRINID,PROJCS["CATRINID",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",10.4416666],PARAMETER["central_meridian",-61.33333329999998],PARAMETER["false_easting",430000],PARAMETER["false_northing",325000],UNIT["unnamed",0.201166195]] -CAVANUA,PROJCS["CAVANUA",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",-16.24999999999996],PARAMETER["central_meridian",179.3333333],PARAMETER["false_easting",12513.32],PARAMETER["false_northing",16628.88],UNIT["unnamed",0.201166195]] -CAVITI,PROJCS["CAVITI",PROJECTION["Cassini_Soldner"],PARAMETER["latitude_of_origin",-17.99999999999998],PARAMETER["central_meridian",178],PARAMETER["false_easting",5440],PARAMETER["false_northing",7040],UNIT["unnamed",0.201166195]] -CE42BUL,LOCAL_CS["CE42BUL - (unsupported)"] -CEAUST,LOCAL_CS["CEAUST - (unsupported)"] -CEBLACK,LOCAL_CS["CEBLACK - (unsupported)"] -CECARP1,LOCAL_CS["CECARP1 - (unsupported)"] -CECASP,LOCAL_CS["CECASP - (unsupported)"] -CECASPAN,LOCAL_CS["CECASPAN - (unsupported)"] -CECISWMC,LOCAL_CS["CECISWMC - (unsupported)"] -CEEUR1,LOCAL_CS["CEEUR1 - (unsupported)"] -CEEUROPE,LOCAL_CS["CEEUROPE - (unsupported)"] -CERUSS,LOCAL_CS["CERUSS - (unsupported)"] -CERUSS1,LOCAL_CS["CERUSS1 - (unsupported)"] -CERUSS2,LOCAL_CS["CERUSS2 - (unsupported)"] -CEYUGO,LOCAL_CS["CEYUGO - (unsupported)"] -DUTCHNEW,LOCAL_CS["DUTCHNEW - (unsupported)"] -DUTCHOLD,LOCAL_CS["DUTCHOLD - (unsupported)"] -EGSA87,PROJCS["EGSA87",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",23.99999882666041],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -FLSPHERE,LOCAL_CS["FLSPHERE - (unsupported)"] -GALCC,PROJCS["GALCC",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-18.00000000235031],PARAMETER["standard_parallel_2",-35.99999999897103],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",134.0000000015812],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -HGRS87,PROJCS["HGRS87",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",23.99999882666041],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -IDTM,PROJCS["IDTM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.99999999999996],PARAMETER["central_meridian",-114],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",100000]] -JAPAN19_01,PROJCS["JAPAN19_01",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",33],PARAMETER["central_meridian",129.5000000000002],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_02,PROJCS["JAPAN19_02",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",33],PARAMETER["central_meridian",131],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_03,PROJCS["JAPAN19_03",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36],PARAMETER["central_meridian",132.1666666666665],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_04,PROJCS["JAPAN19_04",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",33],PARAMETER["central_meridian",133.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_05,PROJCS["JAPAN19_05",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.99999999897103],PARAMETER["central_meridian",134.3333333329101],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_06,PROJCS["JAPAN19_06",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.99999999897103],PARAMETER["central_meridian",136],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_07,PROJCS["JAPAN19_07",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36],PARAMETER["central_meridian",137.1666666666667],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_08,PROJCS["JAPAN19_08",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36],PARAMETER["central_meridian",138.5000000000002],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_09,PROJCS["JAPAN19_09",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.99999999897103],PARAMETER["central_meridian",139.8333333333004],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_10,PROJCS["JAPAN19_10",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40],PARAMETER["central_meridian",140.8333333333334],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_11,PROJCS["JAPAN19_11",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",44],PARAMETER["central_meridian",140.25],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_12,PROJCS["JAPAN19_12",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",44],PARAMETER["central_meridian",142.2499999999997],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_13,PROJCS["JAPAN19_13",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",44],PARAMETER["central_meridian",144.25],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_14,PROJCS["JAPAN19_14",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",142],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_15,PROJCS["JAPAN19_15",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",127.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_16,PROJCS["JAPAN19_16",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",124],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_17,PROJCS["JAPAN19_17",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",131],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_18,PROJCS["JAPAN19_18",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",20],PARAMETER["central_meridian",136],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -JAPAN19_19,PROJCS["JAPAN19_19",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",154],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -KOREA_25,PROJCS["KOREA_25",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.00000000241528],PARAMETER["central_meridian",125.00289027778],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",500000]] -KOREA_27,PROJCS["KOREA_27",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.00000000241528],PARAMETER["central_meridian",127.0028902777799],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",500000]] -KOREA_29,PROJCS["KOREA_29",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.00000000241528],PARAMETER["central_meridian",129.00289027778],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",500000]] -KOREA_31,PROJCS["KOREA_31",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.00000000241528],PARAMETER["central_meridian",131.00289027778],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",500000]] -KOREA_JJ,PROJCS["KOREA_JJ",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.00000000241528],PARAMETER["central_meridian",127.0028902777799],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",550000]] -L2AFRICA,PROJCS["L2AFRICA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",20.00000000006498],PARAMETER["standard_parallel_2",-10.00000000003249],PARAMETER["latitude_of_origin",-25.00000000008122],PARAMETER["central_meridian",20.00000000006498],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2ALASKA,PROJCS["L2ALASKA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",60.00000000019492],PARAMETER["standard_parallel_2",70.00000000022742],PARAMETER["latitude_of_origin",65.00000000021116],PARAMETER["central_meridian",-150.0000000004873],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2ALS10F,PROJCS["L2ALS10F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",51.83333333617553],PARAMETER["standard_parallel_2",53.8333333338902],PARAMETER["latitude_of_origin",51.00000002766766],PARAMETER["central_meridian",-176.0000000280737],PARAMETER["false_easting",3000000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2ALS10M,PROJCS["L2ALS10M",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",51.83333333617553],PARAMETER["standard_parallel_2",53.8333333338902],PARAMETER["latitude_of_origin",51.00000002766766],PARAMETER["central_meridian",-176.0000000280737],PARAMETER["false_easting",1000000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2ALSK10F83,PROJCS["L2ALSK10F83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",51.82355506655649],PARAMETER["standard_parallel_2",53.82317782885884],PARAMETER["latitude_of_origin",50.9903789776676],PARAMETER["central_meridian",-175.9667980405784],PARAMETER["false_easting",3280833.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2ANT1,PROJCS["L2ANT1",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-82.50000000599761],PARAMETER["standard_parallel_2",-81.49999997849238],PARAMETER["latitude_of_origin",-83.49999997620704],PARAMETER["central_meridian",-105.0000000232594],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2ANTDRI,PROJCS["L2ANTDRI",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-79.33333486606217],PARAMETER["standard_parallel_2",-76.6666632368084],PARAMETER["latitude_of_origin",-79.99999990858666],PARAMETER["central_meridian",159.9999998171733],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2ARKNF83,PROJCS["L2ARKNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.23333329670535],PARAMETER["standard_parallel_2",34.93333331251476],PARAMETER["latitude_of_origin",34.33333328455248],PARAMETER["central_meridian",-92.00000000946621],PARAMETER["false_easting",1312333.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2ARKSF83,PROJCS["L2ARKSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.76666670810897],PARAMETER["standard_parallel_2",33.30000000492102],PARAMETER["latitude_of_origin",32.66666672483252],PARAMETER["central_meridian",-92.00000000946621],PARAMETER["false_easting",1312333.333],PARAMETER["false_northing",1312333.333],UNIT["US Foot",0.30480061]] -L2AUST,PROJCS["L2AUST",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-30.00000000009746],PARAMETER["standard_parallel_2",-20.00000000006498],PARAMETER["latitude_of_origin",-25.00000000008122],PARAMETER["central_meridian",135.0000000004386],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2CAL1F83,PROJCS["L2CAL1F83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.66666668590062],PARAMETER["standard_parallel_2",40.0000000115891],PARAMETER["latitude_of_origin",39.33333330748703],PARAMETER["central_meridian",-121.9999999751862],PARAMETER["false_easting",6561666.665],PARAMETER["false_northing",1640416.666],UNIT["US Foot",0.30480061]] -L2CAL1M,PROJCS["L2CAL1M",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.0000000115891],PARAMETER["standard_parallel_2",41.66666668590062],PARAMETER["latitude_of_origin",39.33333330748703],PARAMETER["central_meridian",-121.9999999751862],PARAMETER["false_easting",2000000],PARAMETER["false_northing",500000],UNIT["unnamed",1]] -L2CAL2F83,PROJCS["L2CAL2F83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.83333329259175],PARAMETER["standard_parallel_2",38.33333327998181],PARAMETER["latitude_of_origin",37.66666669047129],PARAMETER["central_meridian",-121.9999999751862],PARAMETER["false_easting",6561666.665],PARAMETER["false_northing",1640416.666],UNIT["US Foot",0.30480061]] -L2CAL2M,PROJCS["L2CAL2M",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.33333333727759],PARAMETER["standard_parallel_2",39.83333334988753],PARAMETER["latitude_of_origin",37.66666669047129],PARAMETER["central_meridian",-121.9999999751862],PARAMETER["false_easting",2000000],PARAMETER["false_northing",500000],UNIT["unnamed",1]] -L2CAL3F83,PROJCS["L2CAL3F83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.43333332283937],PARAMETER["standard_parallel_2",37.06666671980479],PARAMETER["latitude_of_origin",36.50000000126449],PARAMETER["central_meridian",-120.500000019872],PARAMETER["false_easting",6561666.665],PARAMETER["false_northing",1640416.666],UNIT["US Foot",0.30480061]] -L2CAL3M,PROJCS["L2CAL3M",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.066666662509],PARAMETER["standard_parallel_2",38.43333332283937],PARAMETER["latitude_of_origin",36.50000000126449],PARAMETER["central_meridian",-120.500000019872],PARAMETER["false_easting",2000000],PARAMETER["false_northing",500000],UNIT["unnamed",1]] -L2CAL4F83,PROJCS["L2CAL4F83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.24999997892158],PARAMETER["standard_parallel_2",36.00000001615977],PARAMETER["latitude_of_origin",35.3333333120577],PARAMETER["central_meridian",-119.0000000072621],PARAMETER["false_easting",6561666.665],PARAMETER["false_northing",1640416.666],UNIT["US Foot",0.30480061]] -L2CAL4M,PROJCS["L2CAL4M",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.00000001615977],PARAMETER["standard_parallel_2",37.24999997892158],PARAMETER["latitude_of_origin",35.3333333120577],PARAMETER["central_meridian",-119.0000000072621],PARAMETER["false_easting",2000000],PARAMETER["false_northing",500000],UNIT["unnamed",1]] -L2CAL5F83,PROJCS["L2CAL5F83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.46666672163305],PARAMETER["standard_parallel_2",34.03333332786711],PARAMETER["latitude_of_origin",33.49999997604461],PARAMETER["central_meridian",-117.9999999797569],PARAMETER["false_easting",6561666.665],PARAMETER["false_northing",1640416.666],UNIT["US Foot",0.30480061]] -L2CAL5M,PROJCS["L2CAL5M",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.46666672163305],PARAMETER["standard_parallel_2",34.03333332786711],PARAMETER["latitude_of_origin",33.49999997604461],PARAMETER["central_meridian",-117.9999999797569],PARAMETER["false_easting",2000000],PARAMETER["false_northing",500000]] -L2CAL6F83,PROJCS["L2CAL6F83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",33.88333332087654],PARAMETER["standard_parallel_2",32.78333330780953],PARAMETER["latitude_of_origin",32.16666668243202],PARAMETER["central_meridian",-116.2499999745946],PARAMETER["false_easting",6561666.665],PARAMETER["false_northing",1640416.666],UNIT["US Foot",0.30480061]] -L2CAL6M,PROJCS["L2CAL6M",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32.78333330780953],PARAMETER["standard_parallel_2",33.88333332087654],PARAMETER["latitude_of_origin",32.16666668243202],PARAMETER["central_meridian",-116.2499999745946],PARAMETER["false_easting",2000000],PARAMETER["false_northing",500000],UNIT["unnamed",1]] -L2CAMER,PROJCS["L2CAMER",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",10.00000000003249],PARAMETER["standard_parallel_2",30.00000000009746],PARAMETER["latitude_of_origin",20.00000000006498],PARAMETER["central_meridian",-90.00000000029239],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2CAN2K,PROJCS["L2CAN2K",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",76.99999999795831],PARAMETER["standard_parallel_2",49.0000000013051],PARAMETER["latitude_of_origin",63.00000000249651],PARAMETER["central_meridian",-91.99999999800704],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2CANADA,PROJCS["L2CANADA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",50.00000000016244],PARAMETER["standard_parallel_2",60.00000000019492],PARAMETER["latitude_of_origin",55.00000000017868],PARAMETER["central_meridian",-100.0000000003249],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2COLCF83,PROJCS["L2COLCF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.45000000001032],PARAMETER["standard_parallel_2",39.75000000001454],PARAMETER["latitude_of_origin",37.83333333332256],PARAMETER["central_meridian",-105.499999999999],PARAMETER["false_easting",3000000],PARAMETER["false_northing",999999.9998],UNIT["US Foot",0.30480061]] -L2COLCM,PROJCS["L2COLCM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.44999997755038],PARAMETER["standard_parallel_2",39.75000001903675],PARAMETER["latitude_of_origin",37.83333335217286],PARAMETER["central_meridian",-105.5000000083642],PARAMETER["false_easting",914401.8289],PARAMETER["false_northing",304800.6096],UNIT["unnamed",1]] -L2COLNF83,PROJCS["L2COLNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.71666666664291],PARAMETER["standard_parallel_2",40.78333333333213],PARAMETER["latitude_of_origin",39.33333333332743],PARAMETER["central_meridian",-105.499999999999],PARAMETER["false_easting",3000000],PARAMETER["false_northing",999999.9998],UNIT["US Foot",0.30480061]] -L2COLNM,PROJCS["L2COLNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.71666665231896],PARAMETER["standard_parallel_2",40.78333335596397],PARAMETER["latitude_of_origin",39.33333330748703],PARAMETER["central_meridian",-105.5000000083642],PARAMETER["false_easting",914401.8289],PARAMETER["false_northing",304800.6096],UNIT["unnamed",1]] -L2COLSF83,PROJCS["L2COLSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.43333332283937],PARAMETER["standard_parallel_2",37.23333332421058],PARAMETER["latitude_of_origin",36.66666666296607],PARAMETER["central_meridian",-105.5000000083642],PARAMETER["false_easting",3000000],PARAMETER["false_northing",999999.9998],UNIT["US Foot",0.30480061]] -L2COLSM,PROJCS["L2COLSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.23333332421058],PARAMETER["standard_parallel_2",38.43333332283937],PARAMETER["latitude_of_origin",36.66666666296607],PARAMETER["central_meridian",-105.5000000083642],PARAMETER["false_easting",914401.8289],PARAMETER["false_northing",304800.6096],UNIT["unnamed",1]] -L2CONNF83,PROJCS["L2CONNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.86666671431998],PARAMETER["standard_parallel_2",41.20000001021791],PARAMETER["latitude_of_origin",40.83333332009697],PARAMETER["central_meridian",-72.75000000997663],PARAMETER["false_easting",1000000.001],PARAMETER["false_northing",499999.9999],UNIT["US Foot",0.30480061]] -L2EUROPE,PROJCS["L2EUROPE",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.00000000012995],PARAMETER["standard_parallel_2",60.00000000019492],PARAMETER["latitude_of_origin",50.00000000016244],PARAMETER["central_meridian",20.00000000006498],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2FLANF83,PROJCS["L2FLANF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",30.75000000067286],PARAMETER["standard_parallel_2",29.58333331146606],PARAMETER["latitude_of_origin",28.99999999551055],PARAMETER["central_meridian",-84.50000000371226],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2FLANM,PROJCS["L2FLANM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",29.58333331146606],PARAMETER["standard_parallel_2",30.75000000067286],PARAMETER["latitude_of_origin",28.99999999551055],PARAMETER["central_meridian",-84.50000000371226],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2IOWNF83,LOCAL_CS["L2IOWNF83 - (unsupported)"] -L2IOWNM,PROJCS["L2IOWNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.06666668544356],PARAMETER["standard_parallel_2",43.26666668407236],PARAMETER["latitude_of_origin",41.50000002419905],PARAMETER["central_meridian",-93.50000002207615],PARAMETER["false_easting",1500000],PARAMETER["false_northing",1000000],UNIT["unnamed",1]] -L2IOWSF83,LOCAL_CS["L2IOWSF83 - (unsupported)"] -L2IOWSM,PROJCS["L2IOWSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.6166666942624],PARAMETER["standard_parallel_2",41.78333332617341],PARAMETER["latitude_of_origin",40.0000000115891],PARAMETER["central_meridian",-93.50000002207615],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2KANNF83,PROJCS["L2KANNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.78333332845875],PARAMETER["standard_parallel_2",38.71666668210951],PARAMETER["latitude_of_origin",38.3260985419027],PARAMETER["central_meridian",-98.4814182215737],PARAMETER["false_easting",1312333.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2KANSF27,PROJCS["L2KANSF27",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.26666669092835],PARAMETER["standard_parallel_2",38.56666667511895],PARAMETER["latitude_of_origin",36.66666666296607],PARAMETER["central_meridian",-98.49999998771493],PARAMETER["false_easting",2000000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2KANSF83,PROJCS["L2KANSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.25963976464153],PARAMETER["standard_parallel_2",38.55939452289581],PARAMETER["latitude_of_origin",36.65975295313957],PARAMETER["central_meridian",-98.4814182215737],PARAMETER["false_easting",1312333.333],PARAMETER["false_northing",1312333.333],UNIT["US Foot",0.30480061]] -L2KANSM,PROJCS["L2KANSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.26666669092835],PARAMETER["standard_parallel_2",38.56666667511895],PARAMETER["latitude_of_origin",36.66666666296607],PARAMETER["central_meridian",-98.49999998771493],PARAMETER["false_easting",400000],PARAMETER["false_northing",400000],UNIT["unnamed",1]] -L2KYF83,PROJCS["L2KYF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.6666666666395],PARAMETER["standard_parallel_2",37.08333333332012],PARAMETER["latitude_of_origin",36.33333333331768],PARAMETER["central_meridian",-85.7499999999921],PARAMETER["false_easting",4921250],PARAMETER["false_northing",3280833.333],UNIT["US Foot",0.30480061]] -L2KYNFT83,PROJCS["L2KYNFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.96666666669451],PARAMETER["standard_parallel_2",38.96666666664047],PARAMETER["latitude_of_origin",37.50000000000723],PARAMETER["central_meridian",-84.24999999998722],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2KYSFT83,PROJCS["L2KYSFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.73333333331897],PARAMETER["standard_parallel_2",37.93333333332288],PARAMETER["latitude_of_origin",36.33333333331768],PARAMETER["central_meridian",-85.7499999999921],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",1640416.666],UNIT["US Foot",0.30480061]] -L2KYSM,PROJCS["L2KYSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.73333333910585],PARAMETER["standard_parallel_2",37.93333333773465],PARAMETER["latitude_of_origin",36.33333333956292],PARAMETER["central_meridian",-85.75000002376986],PARAMETER["false_easting",500000],PARAMETER["false_northing",500000],UNIT["unnamed",1]] -L2LANFT83,PROJCS["L2LANFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32.66666672483252],PARAMETER["standard_parallel_2",31.16666671222257],PARAMETER["latitude_of_origin",30.49424625135023],PARAMETER["central_meridian",-92.49999999457094],PARAMETER["false_easting",3280833.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2LAOFT83,PROJCS["L2LAOFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",26.16666668928801],PARAMETER["standard_parallel_2",27.83333330630376],PARAMETER["latitude_of_origin",25.4951894888338],PARAMETER["central_meridian",-91.33333330536414],PARAMETER["false_easting",3280833.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2LASFT83,PROJCS["L2LASFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",30.69999997924407],PARAMETER["standard_parallel_2",29.30000000949169],PARAMETER["latitude_of_origin",28.49999999894667],PARAMETER["central_meridian",-91.33333330536414],PARAMETER["false_easting",3280833.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2MARYF83,PROJCS["L2MARYF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.30000002785559],PARAMETER["standard_parallel_2",39.4500000050556],PARAMETER["latitude_of_origin",37.66666666669354],PARAMETER["central_meridian",-76.99999999795831],PARAMETER["false_easting",1312333.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2MARYM,PROJCS["L2MARYM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.30000002785559],PARAMETER["standard_parallel_2",39.4500000050556],PARAMETER["latitude_of_origin",37.66666669047129],PARAMETER["central_meridian",-76.99999999795831],PARAMETER["false_easting",400000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2MASIF27,PROJCS["L2MASIF27",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.2833333],PARAMETER["standard_parallel_2",41.4833333],PARAMETER["latitude_of_origin",41],PARAMETER["central_meridian",-70.49999999999996],PARAMETER["false_easting",800000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2MASIF83,PROJCS["L2MASIF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.48333331219226],PARAMETER["standard_parallel_2",41.28333328377291],PARAMETER["latitude_of_origin",40.99226545263474],PARAMETER["central_meridian",-70.5000000197096],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2MASMF83,PROJCS["L2MASMF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.71666670732941],PARAMETER["standard_parallel_2",42.68333331082107],PARAMETER["latitude_of_origin",41.0000000000186],PARAMETER["central_meridian",-71.49999998991905],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",2460625],UNIT["US Foot",0.30480061]] -L2MASMM,PROJCS["L2MASMM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.71666665003362],PARAMETER["standard_parallel_2",42.68333331082107],PARAMETER["latitude_of_origin",40.99999998179855],PARAMETER["central_meridian",-71.49999998991905],PARAMETER["false_easting",200000],PARAMETER["false_northing",750000],UNIT["unnamed",1]] -L2MICCF83,PROJCS["L2MICCF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.18333332343101],PARAMETER["standard_parallel_2",45.69999999075196],PARAMETER["latitude_of_origin",43.30849844728642],PARAMETER["central_meridian",-84.33333328471491],PARAMETER["false_easting",19685000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2MICCM,PROJCS["L2MICCM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.18333332343101],PARAMETER["standard_parallel_2",45.69999999075196],PARAMETER["latitude_of_origin",43.31666664820536],PARAMETER["central_meridian",-84.36666665143269],PARAMETER["false_easting",6000000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2MICNF83,PROJCS["L2MICNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.48333330762161],PARAMETER["standard_parallel_2",47.08333330579333],PARAMETER["latitude_of_origin",44.77488176554888],PARAMETER["central_meridian",-86.99999998653165],PARAMETER["false_easting",26246666.66],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2MICNM,PROJCS["L2MICNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.48333330762161],PARAMETER["standard_parallel_2",47.08333330579333],PARAMETER["latitude_of_origin",44.7833333513933],PARAMETER["central_meridian",-86.99999998653165],PARAMETER["false_easting",8000000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2MICSF83,PROJCS["L2MICSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.09999999486556],PARAMETER["standard_parallel_2",43.66666668361529],PARAMETER["latitude_of_origin",41.49217112888638],PARAMETER["central_meridian",-84.33333328471491],PARAMETER["false_easting",13123333.33],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2MICSM,PROJCS["L2MICSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.09999999486556],PARAMETER["standard_parallel_2",43.66666668361529],PARAMETER["latitude_of_origin",41.50000002419905],PARAMETER["central_meridian",-84.36666665143269],PARAMETER["false_easting",4000000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2MINCF83,PROJCS["L2MINCF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.61666671719695],PARAMETER["standard_parallel_2",47.04999999637133],PARAMETER["latitude_of_origin",44.99151086264789],PARAMETER["central_meridian",-94.24999999973323],PARAMETER["false_easting",2624666.666],PARAMETER["false_northing",328083.3333],UNIT["US Foot",0.30480061]] -L2MINCM,PROJCS["L2MINCM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.61666665990117],PARAMETER["standard_parallel_2",47.04999999637133],PARAMETER["latitude_of_origin",44.99999997722788],PARAMETER["central_meridian",-94.24999999973323],PARAMETER["false_easting",800000],PARAMETER["false_northing",100000],UNIT["unnamed",1]] -L2MINNF83,PROJCS["L2MINNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",47.03333328436455],PARAMETER["standard_parallel_2",48.63333328253628],PARAMETER["latitude_of_origin",46.49122789140281],PARAMETER["central_meridian",-93.10000002253321],PARAMETER["false_easting",2624666.666],PARAMETER["false_northing",328083.3333],UNIT["US Foot",0.30480061]] -L2MINNM,PROJCS["L2MINNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",47.03333334166033],PARAMETER["standard_parallel_2",48.63333333983206],PARAMETER["latitude_of_origin",46.49999998983782],PARAMETER["central_meridian",-93.10000002253321],PARAMETER["false_easting",800000],PARAMETER["false_northing",100000],UNIT["unnamed",1]] -L2MINSF83,PROJCS["L2MINSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",43.78333332388808],PARAMETER["standard_parallel_2",45.21666666666077],PARAMETER["latitude_of_origin",43.0000000000251],PARAMETER["central_meridian",-94.00000000718087],PARAMETER["false_easting",2624666.666],PARAMETER["false_northing",328083.3333],UNIT["US Foot",0.30480061]] -L2MINSM,PROJCS["L2MINSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",43.78333332388808],PARAMETER["standard_parallel_2",45.21666666035824],PARAMETER["latitude_of_origin",42.99999997951321],PARAMETER["central_meridian",-94.00000000718087],PARAMETER["false_easting",800000],PARAMETER["false_northing",100000],UNIT["unnamed",1]] -L2MON2,PROJCS["L2MON2",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.99999508186673],PARAMETER["standard_parallel_2",49.99999851047217],PARAMETER["latitude_of_origin",45.99999679616945],PARAMETER["central_meridian",104],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2MTF83,PROJCS["L2MTF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",48.99999997265721],PARAMETER["standard_parallel_2",44.99999997722788],PARAMETER["latitude_of_origin",44.24165234827042],PARAMETER["central_meridian",-109.5000000037935],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2NCAFT83,PROJCS["L2NCAFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.33333328455248],PARAMETER["standard_parallel_2",36.16666667786134],PARAMETER["latitude_of_origin",33.7500051825129],PARAMETER["central_meridian",-78.99999999567299],PARAMETER["false_easting",2000000.002],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2NCAM,PROJCS["L2NCAM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.33333334184825],PARAMETER["standard_parallel_2",36.16666667786134],PARAMETER["latitude_of_origin",33.75000002589275],PARAMETER["central_meridian",-78.99999999567299],PARAMETER["false_easting",609601.22],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2NDNFT83,PROJCS["L2NDNFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",48.73333332539385],PARAMETER["standard_parallel_2",47.43333328390748],PARAMETER["latitude_of_origin",47.00000719421077],PARAMETER["central_meridian",-100.4999999854296],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2NDSFT83,PROJCS["L2NDSFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46.18333332114568],PARAMETER["standard_parallel_2",47.48333330533627],PARAMETER["latitude_of_origin",45.66667699457027],PARAMETER["central_meridian",-100.4999999854296],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2NDSM,PROJCS["L2NDSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46.18333332114568],PARAMETER["standard_parallel_2",47.48333330533627],PARAMETER["latitude_of_origin",45.66666668132996],PARAMETER["central_meridian",-100.4999999854296],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2NEBF83,PROJCS["L2NEBF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.99999997951321],PARAMETER["standard_parallel_2",40.0000000115891],PARAMETER["latitude_of_origin",39.83000612667543],PARAMETER["central_meridian",-100.0000000003249],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2NEWYF83,PROJCS["L2NEWYF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.66666671569118],PARAMETER["standard_parallel_2",41.03333329122055],PARAMETER["latitude_of_origin",40.16667618439008],PARAMETER["central_meridian",-73.99999997273844],PARAMETER["false_easting",984249.9998],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2NEWYLIF,PROJCS["L2NEWYLIF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.6666667],PARAMETER["standard_parallel_2",41.0333333],PARAMETER["latitude_of_origin",40.5],PARAMETER["central_meridian",-73.99999999999993],PARAMETER["false_easting",2000000],PARAMETER["false_northing",100000],UNIT["US Foot",0.30480061]] -L2NEWYM,PROJCS["L2NEWYM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.6666666583954],PARAMETER["standard_parallel_2",41.03333334851633],PARAMETER["latitude_of_origin",40.16666667329068],PARAMETER["central_meridian",-73.99999997273844],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2NOAMER,PROJCS["L2NOAMER",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.00000000011371],PARAMETER["standard_parallel_2",55.00000000017868],PARAMETER["latitude_of_origin",45.00000000014619],PARAMETER["central_meridian",-100.0000000003249],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2NSW1,PROJCS["L2NSW1",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-30],PARAMETER["standard_parallel_2",-36],PARAMETER["latitude_of_origin",-36],PARAMETER["central_meridian",147],PARAMETER["false_easting",700000],PARAMETER["false_northing",8200000]] -L2NSW2,PROJCS["L2NSW2",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-32.66666666666664],PARAMETER["standard_parallel_2",-35.33333333333334],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["false_easting",1000000],PARAMETER["false_northing",10000000]] -L2OHINF83,PROJCS["L2OHINF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.43333332055404],PARAMETER["standard_parallel_2",41.69999999532262],PARAMETER["latitude_of_origin",39.66667310531327],PARAMETER["central_meridian",-82.50000000599761],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2OHINM,PROJCS["L2OHINM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.43333332055404],PARAMETER["standard_parallel_2",41.69999999532262],PARAMETER["latitude_of_origin",39.66666668818596],PARAMETER["central_meridian",-82.50000000599761],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2OHISF83,PROJCS["L2OHISF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.73333327952474],PARAMETER["standard_parallel_2",40.03333332101111],PARAMETER["latitude_of_origin",38.00000585804395],PARAMETER["central_meridian",-82.50000000599761],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2OHISM,PROJCS["L2OHISM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.73333333682052],PARAMETER["standard_parallel_2",40.03333332101111],PARAMETER["latitude_of_origin",38.00000001387444],PARAMETER["central_meridian",-82.50000000599761],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2OKLNF83,PROJCS["L2OKLNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.76666670582364],PARAMETER["standard_parallel_2",35.56666670719483],PARAMETER["latitude_of_origin",35.00000537445783],PARAMETER["central_meridian",-98.00000000261021],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2OKLSF83,PROJCS["L2OKLSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.23333332649591],PARAMETER["standard_parallel_2",33.93333328500954],PARAMETER["latitude_of_origin",33.33333509051219],PARAMETER["central_meridian",-98.00000000261021],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2ORENF83,PROJCS["L2ORENF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.33333327312581],PARAMETER["standard_parallel_2",46.0000000047331],PARAMETER["latitude_of_origin",43.66667671037671],PARAMETER["central_meridian",-120.500000019872],PARAMETER["false_easting",8202083.332],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2ORENM,PROJCS["L2ORENM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.33333333042158],PARAMETER["standard_parallel_2",46.0000000047331],PARAMETER["latitude_of_origin",43.66666668361529],PARAMETER["central_meridian",-120.500000019872],PARAMETER["false_easting",2500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2ORESF83,PROJCS["L2ORESF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.33333327541114],PARAMETER["standard_parallel_2",44.00000000701844],PARAMETER["latitude_of_origin",41.66667636888736],PARAMETER["central_meridian",-120.500000019872],PARAMETER["false_easting",4921249.999],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2ORESM,PROJCS["L2ORESM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.33333333270692],PARAMETER["standard_parallel_2",44.00000000701844],PARAMETER["latitude_of_origin",41.66666668590062],PARAMETER["central_meridian",-120.500000019872],PARAMETER["false_easting",1500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2PANFT83,PROJCS["L2PANFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.88333328422998],PARAMETER["standard_parallel_2",41.94999998787499],PARAMETER["latitude_of_origin",40.16667280393909],PARAMETER["central_meridian",-77.74999997561541],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2PANM,PROJCS["L2PANM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.88333334152576],PARAMETER["standard_parallel_2",41.94999998787499],PARAMETER["latitude_of_origin",40.16666667329068],PARAMETER["central_meridian",-77.74999997561541],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2PASFT83,PROJCS["L2PASFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.93333327815354],PARAMETER["standard_parallel_2",40.80000001067497],PARAMETER["latitude_of_origin",39.33333938083966],PARAMETER["central_meridian",-77.74999997561541],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2PASM,PROJCS["L2PASM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.93333333544932],PARAMETER["standard_parallel_2",40.96666667237655],PARAMETER["latitude_of_origin",39.33333330748703],PARAMETER["central_meridian",-77.74999997561541],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2PRVF83,PROJCS["L2PRVF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",18.43333328839693],PARAMETER["standard_parallel_2",18.033333288854],PARAMETER["latitude_of_origin",17.83333572415316],PARAMETER["central_meridian",-66.4333332908447],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",656166.6665],UNIT["US Foot",0.30480061]] -L2PRVIM,PROJCS["L2PRVIM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",18.03333334614978],PARAMETER["standard_parallel_2",18.43333334569271],PARAMETER["latitude_of_origin",17.83333331773042],PARAMETER["central_meridian",-66.43333334814049],PARAMETER["false_easting",200000],PARAMETER["false_northing",200000],UNIT["unnamed",1]] -L2SAUST,PROJCS["L2SAUST",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-27.99999999999998],PARAMETER["standard_parallel_2",-36],PARAMETER["latitude_of_origin",-31.99999999999997],PARAMETER["central_meridian",134.9999999999997],PARAMETER["false_easting",1000000],PARAMETER["false_northing",2000000]] -L2SCFT83,PROJCS["L2SCFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32.50000499056798],PARAMETER["standard_parallel_2",34.83333836898157],PARAMETER["latitude_of_origin",31.83333490601491],PARAMETER["central_meridian",-80.99999999338766],PARAMETER["false_easting",1999996],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2SCM,PROJCS["L2SCM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32.50000000583516],PARAMETER["standard_parallel_2",34.83333332695297],PARAMETER["latitude_of_origin",31.83333335902886],PARAMETER["central_meridian",-80.99999999338766],PARAMETER["false_easting",609600],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2SDNFT83,PROJCS["L2SDNFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.41666671856815],PARAMETER["standard_parallel_2",45.68333327874517],PARAMETER["latitude_of_origin",43.83334004892307],PARAMETER["central_meridian",-100.0000000003249],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2SDNM,PROJCS["L2SDNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.41666666127237],PARAMETER["standard_parallel_2",45.68333333604095],PARAMETER["latitude_of_origin",43.83333334531687],PARAMETER["central_meridian",-100.0000000003249],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2SDSFT83,PROJCS["L2SDSFT83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.83333331781164],PARAMETER["standard_parallel_2",44.40000000656137],PARAMETER["latitude_of_origin",42.33333952065111],PARAMETER["central_meridian",-100.333333323728],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2SDSM,PROJCS["L2SDSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.83333331781164],PARAMETER["standard_parallel_2",44.40000000656137],PARAMETER["latitude_of_origin",42.33333333270692],PARAMETER["central_meridian",-100.333333323728],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2SOAMER,PROJCS["L2SOAMER",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",0],PARAMETER["standard_parallel_2",-30.00000000009746],PARAMETER["latitude_of_origin",-15.00000000004873],PARAMETER["central_meridian",-60.00000000019492],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2TENNF27,PROJCS["L2TENNF27",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.24999998120691],PARAMETER["standard_parallel_2",36.41666672770949],PARAMETER["latitude_of_origin",34.66666666525141],PARAMETER["central_meridian",-86.00000001632222],PARAMETER["false_easting",2000000],PARAMETER["false_northing",100000],UNIT["US Foot",0.30480061]] -L2TENNF83,PROJCS["L2TENNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.24999998120691],PARAMETER["standard_parallel_2",36.41666672770949],PARAMETER["latitude_of_origin",34.33333826928529],PARAMETER["central_meridian",-86.00000001632222],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2TENNM,PROJCS["L2TENNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.24999998120691],PARAMETER["standard_parallel_2",36.41666667041371],PARAMETER["latitude_of_origin",34.33333334184825],PARAMETER["central_meridian",-86.00000001632222],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2TXCF83,PROJCS["L2TXCF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",31.88333332316187],PARAMETER["standard_parallel_2",30.11666672058434],PARAMETER["latitude_of_origin",29.66666664231684],PARAMETER["central_meridian",-100.333333323728],PARAMETER["false_easting",2296583.333],PARAMETER["false_northing",9842499.998],UNIT["US Foot",0.30480061]] -L2TXNCF83,PROJCS["L2TXNCF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",33.96666670902311],PARAMETER["standard_parallel_2",32.13333331571423],PARAMETER["latitude_of_origin",31.66666698380619],PARAMETER["central_meridian",-98.49999998771493],PARAMETER["false_easting",1968500],PARAMETER["false_northing",6561666.665],UNIT["US Foot",0.30480061]] -L2TXNF27,PROJCS["L2TXNF27",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.6500000105404],PARAMETER["standard_parallel_2",36.18333333257235],PARAMETER["latitude_of_origin",34.00000001844511],PARAMETER["central_meridian",-101.5000000129348],PARAMETER["false_easting",2000000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2TXNF83,PROJCS["L2TXNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.6500000105404],PARAMETER["standard_parallel_2",36.18333327527657],PARAMETER["latitude_of_origin",34.00000001844511],PARAMETER["central_meridian",-101.5000000129348],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",3280833.333],UNIT["US Foot",0.30480061]] -L2TXNM,PROJCS["L2TXNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.6500000105404],PARAMETER["standard_parallel_2",36.18333333257235],PARAMETER["latitude_of_origin",34.00000001844511],PARAMETER["central_meridian",-101.5000000129348],PARAMETER["false_easting",200000],PARAMETER["false_northing",1000000],UNIT["unnamed",1]] -L2TXSCF83,PROJCS["L2TXSCF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",30.28333332499014],PARAMETER["standard_parallel_2",28.38333331283726],PARAMETER["latitude_of_origin",27.83333330630376],PARAMETER["central_meridian",-98.99999997281965],PARAMETER["false_easting",1968500],PARAMETER["false_northing",13123333.33],UNIT["US Foot",0.30480061]] -L2TXSF83,PROJCS["L2TXSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",27.83333330630376],PARAMETER["standard_parallel_2",26.16666668928801],PARAMETER["latitude_of_origin",25.66666670418329],PARAMETER["central_meridian",-98.49999998771493],PARAMETER["false_easting",984249.9998],PARAMETER["false_northing",16404166.66],UNIT["US Foot",0.30480061]] -L2TX_SHACK_FT,PROJCS["L2TX_SHACK_FT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",27.41600000001344],PARAMETER["standard_parallel_2",34.91599999998051],PARAMETER["latitude_of_origin",31.15999999997518],PARAMETER["central_meridian",-99.9999999999811],PARAMETER["false_easting",3000000],PARAMETER["false_northing",3000000],UNIT["US Foot",0.30480061]] -L2TX_TCMS_LC,PROJCS["L2TX_TCMS_LC",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",27.49999999997475],PARAMETER["standard_parallel_2",34.99999999999911],PARAMETER["latitude_of_origin",18.00000000000118],PARAMETER["central_meridian",-99.9999999999811],PARAMETER["false_easting",1500000],PARAMETER["false_northing",5000000]] -L2TX_TSMS,PROJCS["L2TX_TSMS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",27.41600000001344],PARAMETER["standard_parallel_2",34.91599999998051],PARAMETER["latitude_of_origin",31.15999999997518],PARAMETER["central_meridian",-99.9999999999811],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -L2USA48,PROJCS["L2USA48",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",33.00000000239903],PARAMETER["standard_parallel_2",45.00000000014619],PARAMETER["latitude_of_origin",23.00000000236655],PARAMETER["central_meridian",-95.99999999916595],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -L2UTHCF83,PROJCS["L2UTHCF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.01666669609066],PARAMETER["standard_parallel_2",40.6500000036844],PARAMETER["latitude_of_origin",38.33333299350291],PARAMETER["central_meridian",-111.5000000015082],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",6561666.665],UNIT["US Foot",0.30480061]] -L2UTHCM,PROJCS["L2UTHCM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.01666663879488],PARAMETER["standard_parallel_2",40.6500000036844],PARAMETER["latitude_of_origin",38.33333333727759],PARAMETER["central_meridian",-111.5000000015082],PARAMETER["false_easting",500000],PARAMETER["false_northing",2000000],UNIT["unnamed",1]] -L2UTHNF83,PROJCS["L2UTHNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.71666667982419],PARAMETER["standard_parallel_2",41.78333332617341],PARAMETER["latitude_of_origin",40.33333327769648],PARAMETER["central_meridian",-111.5000000015082],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",3280833.333],UNIT["US Foot",0.30480061]] -L2UTHNM,PROJCS["L2UTHNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.71666667982419],PARAMETER["standard_parallel_2",41.78333332617341],PARAMETER["latitude_of_origin",40.33333333499225],PARAMETER["central_meridian",-111.5000000015082],PARAMETER["false_easting",500000],PARAMETER["false_northing",1000000],UNIT["unnamed",1]] -L2UTHSF83,PROJCS["L2UTHSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.21666672679535],PARAMETER["standard_parallel_2",38.34999999198859],PARAMETER["latitude_of_origin",36.66666672026184],PARAMETER["central_meridian",-111.5000000015082],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",9842499.998],UNIT["US Foot",0.30480061]] -L2UTHSM,PROJCS["L2UTHSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.21666666949957],PARAMETER["standard_parallel_2",38.34999999198859],PARAMETER["latitude_of_origin",36.66666666296607],PARAMETER["central_meridian",-111.5000000015082],PARAMETER["false_easting",500000],PARAMETER["false_northing",3000000],UNIT["unnamed",1]] -L2VIRNF83,PROJCS["L2VIRNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.03333332329644],PARAMETER["standard_parallel_2",39.20000001250324],PARAMETER["latitude_of_origin",37.66666669047129],PARAMETER["central_meridian",-78.50000001056827],PARAMETER["false_easting",11482916.66],PARAMETER["false_northing",6561666.665],UNIT["US Foot",0.30480061]] -L2VIRNM,PROJCS["L2VIRNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.03333332329644],PARAMETER["standard_parallel_2",39.20000001250324],PARAMETER["latitude_of_origin",37.66666669047129],PARAMETER["central_meridian",-78.50000001056827],PARAMETER["false_easting",3500000],PARAMETER["false_northing",2000000],UNIT["unnamed",1]] -L2VIRSF83,PROJCS["L2VIRSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.76666670582364],PARAMETER["standard_parallel_2",37.96666670445244],PARAMETER["latitude_of_origin",36.33333328226714],PARAMETER["central_meridian",-78.50000001056827],PARAMETER["false_easting",11482916.66],PARAMETER["false_northing",3280833.333],UNIT["US Foot",0.30480061]] -L2VIRSM,PROJCS["L2VIRSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.76666664852786],PARAMETER["standard_parallel_2",37.96666664715666],PARAMETER["latitude_of_origin",36.33333333956292],PARAMETER["central_meridian",-78.50000001056827],PARAMETER["false_easting",3500000],PARAMETER["false_northing",1000000],UNIT["unnamed",1]] -L2WA_WGS84,PROJCS["L2WA_WGS84",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-83.49999997620704],PARAMETER["standard_parallel_2",-81.49999997849238],PARAMETER["latitude_of_origin",-82.50000000599761],PARAMETER["central_meridian",-105.0000000232594],PARAMETER["false_easting",343122.675],PARAMETER["false_northing",203866.49]] -L2WISCF83,PROJCS["L2WISCF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.2499999995708],PARAMETER["standard_parallel_2",45.50000001962838],PARAMETER["latitude_of_origin",43.83333328802108],PARAMETER["central_meridian",-90.00000001175154],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2WISCM,PROJCS["L2WISCM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.2499999995708],PARAMETER["standard_parallel_2",45.50000001962838],PARAMETER["latitude_of_origin",43.83333334531687],PARAMETER["central_meridian",-90.00000001175154],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2WISNF83,PROJCS["L2WISNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.56666669576817],PARAMETER["standard_parallel_2",46.76666669439697],PARAMETER["latitude_of_origin",45.16666669622524],PARAMETER["central_meridian",-90.00000001175154],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2WISNM,PROJCS["L2WISNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.56666663847238],PARAMETER["standard_parallel_2",46.76666669439697],PARAMETER["latitude_of_origin",45.16666663892946],PARAMETER["central_meridian",-90.00000001175154],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2WISSF83,PROJCS["L2WISSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.73333327495407],PARAMETER["standard_parallel_2",44.06666668315822],PARAMETER["latitude_of_origin",42.00000000930377],PARAMETER["central_meridian",-90.00000001175154],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2WISSM,PROJCS["L2WISSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.73333333224986],PARAMETER["standard_parallel_2",44.06666668315822],PARAMETER["latitude_of_origin",42.00000000930377],PARAMETER["central_meridian",-90.00000001175154],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2WSHNF83,PROJCS["L2WSHNF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",47.50000001734305],PARAMETER["standard_parallel_2",48.73333332539385],PARAMETER["latitude_of_origin",46.99999997494255],PARAMETER["central_meridian",-120.8333332859794],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2WSHNM,PROJCS["L2WSHNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",47.50000001734305],PARAMETER["standard_parallel_2",48.73333332539385],PARAMETER["latitude_of_origin",46.99999997494255],PARAMETER["central_meridian",-120.8333333432752],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2WSHSF83,PROJCS["L2WSHSF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.83333328573575],PARAMETER["standard_parallel_2",47.33333329834569],PARAMETER["latitude_of_origin",45.33333301415213],PARAMETER["central_meridian",-120.500000019872],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2WSHSM,PROJCS["L2WSHSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.83333334303153],PARAMETER["standard_parallel_2",47.33333335564147],PARAMETER["latitude_of_origin",45.3333333579268],PARAMETER["central_meridian",-120.500000019872],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2WVANF83,PROJCS["L2WVANF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.99999998408389],PARAMETER["standard_parallel_2",40.25000000414146],PARAMETER["latitude_of_origin",38.49999999897916],PARAMETER["central_meridian",-79.4999999807777],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2WVANM,PROJCS["L2WVANM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.99999998408389],PARAMETER["standard_parallel_2",40.25000000414146],PARAMETER["latitude_of_origin",38.49999999897916],PARAMETER["central_meridian",-79.4999999807777],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2WVASF83,PROJCS["L2WVASF83",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.48333331676294],PARAMETER["standard_parallel_2",38.88333328651532],PARAMETER["latitude_of_origin",36.99999998636922],PARAMETER["central_meridian",-80.99999999338766],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -L2WVASM,PROJCS["L2WVASM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.48333331676294],PARAMETER["standard_parallel_2",38.8833333438111],PARAMETER["latitude_of_origin",36.99999998636922],PARAMETER["central_meridian",-80.99999999338766],PARAMETER["false_easting",600000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -L2_MEX_INEGI,PROJCS["L2_MEX_INEGI",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",17.49999999999956],PARAMETER["standard_parallel_2",29.49999999998125],PARAMETER["latitude_of_origin",23.50000000001905],PARAMETER["central_meridian",-101.9999999999876],PARAMETER["false_easting",2500000],PARAMETER["false_northing",0]] -L2_PLSA,PROJCS["L2_PLSA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-27.99999999999998],PARAMETER["standard_parallel_2",-36],PARAMETER["latitude_of_origin",-31.99999999999997],PARAMETER["central_meridian",134.9999999999997],PARAMETER["false_easting",1000000],PARAMETER["false_northing",2000000]] -LABORDE,LOCAL_CS["LABORDE - (unsupported)"] -LAMCAN,PROJCS["LAMCAN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",49],PARAMETER["standard_parallel_2",77],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-91.9999935923389],PARAMETER["false_easting",500000],PARAMETER["false_northing",500000]] -LAMSAFRI,PROJCS["LAMSAFRI",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-3.999999995429332],PARAMETER["standard_parallel_2",-31.00000010781677],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",24.99999982819388],PARAMETER["false_easting",500000],PARAMETER["false_northing",500000]] -LE00N16E,PROJCS["LE00N16E",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",16],PARAMETER["false_easting",5000000],PARAMETER["false_northing",5000000]] -LE13S127,PROJCS["LE13S127",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",-12.99999999999995],PARAMETER["longitude_of_center",127],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LE20S60W,PROJCS["LE20S60W",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",-19.99999999999994],PARAMETER["longitude_of_center",-59.99999999999994],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LE35S135,PROJCS["LE35S135",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",-34.99999999999997],PARAMETER["longitude_of_center",135],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LEAFRICA,PROJCS["LEAFRICA",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",20],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LEAMERIC,PROJCS["LEAMERIC",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",-89.99999999999994],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LEFRAN,PROJCS["LEFRAN",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",47],PARAMETER["longitude_of_center",2],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LEGLOBE,PROJCS["LEGLOBE",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",-39.5],PARAMETER["longitude_of_center",-55.99999999999996],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LELUSAK0,PROJCS["LELUSAK0",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",28.3333333],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LELUSAKA,PROJCS["LELUSAKA",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",-15.43333329999995],PARAMETER["longitude_of_center",28.3333333],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LEMONG,PROJCS["LEMONG",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",47],PARAMETER["longitude_of_center",105],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LENAFRIC,PROJCS["LENAFRIC",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",1.25],PARAMETER["longitude_of_center",20],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LENSEA,PROJCS["LENSEA",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",60],PARAMETER["longitude_of_center",1],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LERUSSIA,PROJCS["LERUSSIA",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",60.99999999905226],PARAMETER["longitude_of_center",124.0000000015487],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LESAMER,PROJCS["LESAMER",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",-21.99999999999996],PARAMETER["longitude_of_center",-55.99999999999996],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LESEASIA,PROJCS["LESEASIA",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",20.00000000006498],PARAMETER["longitude_of_center",105.0000000003411],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LESOAMER,PROJCS["LESOAMER",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",-60.00000000019492],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LESUR554,PROJCS["LESUR554",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",5],PARAMETER["longitude_of_center",-54],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LEUSA0,PROJCS["LEUSA0",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",44.99999980534054],PARAMETER["longitude_of_center",-100.0000027505223],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LEWEURO,PROJCS["LEWEURO",PROJECTION["Lambert_Azimuthal_Equal_Area"],PARAMETER["latitude_of_center",50],PARAMETER["longitude_of_center",2],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM1ADEN,PROJCS["LM1ADEN",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",15],PARAMETER["central_meridian",45],PARAMETER["scale_factor",0.999365678],PARAMETER["false_easting",1500000],PARAMETER["false_northing",1000000]] -LM1AFNDX,PROJCS["LM1AFNDX",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",10],PARAMETER["central_meridian",30],PARAMETER["scale_factor",0.99],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM1ALGND,PROJCS["LM1ALGND",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",36],PARAMETER["central_meridian",2.7],PARAMETER["scale_factor",0.999625544],PARAMETER["false_easting",500000],PARAMETER["false_northing",300000]] -LM1ALGSD,PROJCS["LM1ALGSD",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",33.3],PARAMETER["central_meridian",2.7],PARAMETER["scale_factor",0.999625769],PARAMETER["false_easting",500000],PARAMETER["false_northing",300000]] -LM1BANG,PROJCS["LM1BANG",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",90],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",2743185.69],PARAMETER["false_northing",914395.23]] -LM1BLSEA,PROJCS["LM1BLSEA",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",45],PARAMETER["central_meridian",35],PARAMETER["scale_factor",1],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM1BURMA,PROJCS["LM1BURMA",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",19],PARAMETER["central_meridian",100],PARAMETER["scale_factor",0.9987864],PARAMETER["false_easting",914398.8],PARAMETER["false_northing",2743196.4]] -LM1CARIB,PROJCS["LM1CARIB",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",22.35],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.999936],PARAMETER["false_easting",500000],PARAMETER["false_northing",280296]] -LM1CAUC,PROJCS["LM1CAUC",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",39.5],PARAMETER["central_meridian",45],PARAMETER["scale_factor",0.998461538],PARAMETER["false_easting",2155500],PARAMETER["false_northing",675000]] -LM1COLC,PROJCS["LM1COLC",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",7],PARAMETER["central_meridian",-73.49999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM1CORSE,PROJCS["LM1CORSE",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",42.165],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.99994471],PARAMETER["false_easting",600000],PARAMETER["false_northing",200000]] -LM1FRA1D,PROJCS["LM1FRA1D",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",49.5],PARAMETER["central_meridian",2.337229166666664],PARAMETER["scale_factor",0.999877341],PARAMETER["false_easting",600000],PARAMETER["false_northing",1200000]] -LM1FRA1G,PROJCS["LM1FRA1G",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",49.5],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.999877341],PARAMETER["false_easting",600000],PARAMETER["false_northing",1200000]] -LM1FRA2D,PROJCS["LM1FRA2D",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",46.8],PARAMETER["central_meridian",2.337229166666664],PARAMETER["scale_factor",0.99987742],PARAMETER["false_easting",600000],PARAMETER["false_northing",2200000]] -LM1FRA2G,PROJCS["LM1FRA2G",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",46.8],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.99987742],PARAMETER["false_easting",600000],PARAMETER["false_northing",2200000]] -LM1FRA3D,PROJCS["LM1FRA3D",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",44.1],PARAMETER["central_meridian",2.337229166666664],PARAMETER["scale_factor",0.999877499],PARAMETER["false_easting",600000],PARAMETER["false_northing",3200000]] -LM1FRA3G,PROJCS["LM1FRA3G",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",44.1],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.999877499],PARAMETER["false_easting",600000],PARAMETER["false_northing",3200000]] -LM1FRA4D,PROJCS["LM1FRA4D",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",42.165],PARAMETER["central_meridian",2.337229166666664],PARAMETER["scale_factor",0.99994471],PARAMETER["false_easting",234.36],PARAMETER["false_northing",4185861.37]] -LM1FRA4G,PROJCS["LM1FRA4G",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",42.165],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.99994471],PARAMETER["false_easting",234.36],PARAMETER["false_northing",4185861.37]] -LM1FRAND,PROJCS["LM1FRAND",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",49.5],PARAMETER["central_meridian",7.7372083],PARAMETER["scale_factor",0.99950908],PARAMETER["false_easting",500000],PARAMETER["false_northing",300000]] -LM1FRE1D,PROJCS["LM1FRE1D",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",49.5],PARAMETER["central_meridian",2.337229166666664],PARAMETER["scale_factor",0.999877341],PARAMETER["false_easting",600000],PARAMETER["false_northing",200000]] -LM1FRE1G,PROJCS["LM1FRE1G",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",49.5],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.999877341],PARAMETER["false_easting",600000],PARAMETER["false_northing",200000]] -LM1FRE2D,PROJCS["LM1FRE2D",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",46.8],PARAMETER["central_meridian",2.337229166666664],PARAMETER["scale_factor",0.99987742],PARAMETER["false_easting",600000],PARAMETER["false_northing",200000]] -LM1FRE2G,PROJCS["LM1FRE2G",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",46.8],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.99987742],PARAMETER["false_easting",600000],PARAMETER["false_northing",200000]] -LM1FRE3D,PROJCS["LM1FRE3D",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",44.1],PARAMETER["central_meridian",2.337229166666664],PARAMETER["scale_factor",0.999877499],PARAMETER["false_easting",600000],PARAMETER["false_northing",200000]] -LM1FRE3G,PROJCS["LM1FRE3G",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",44.1],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.999877499],PARAMETER["false_easting",600000],PARAMETER["false_northing",200000]] -LM1FRE4D,PROJCS["LM1FRE4D",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",42.165],PARAMETER["central_meridian",2.337229166666664],PARAMETER["scale_factor",0.99994471],PARAMETER["false_easting",234.36],PARAMETER["false_northing",185861.37]] -LM1FRE4G,PROJCS["LM1FRE4G",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",42.165],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.99994471],PARAMETER["false_easting",234.36],PARAMETER["false_northing",185861.37]] -LM1GREN1,PROJCS["LM1GREN1",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",67.5],PARAMETER["central_meridian",-51.99999999999996],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",250000]] -LM1GRNOR,PROJCS["LM1GRNOR",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",78.75],PARAMETER["central_meridian",-58.99999999999997],PARAMETER["scale_factor",0.997],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM1GRSUD,PROJCS["LM1GRSUD",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",66.5],PARAMETER["central_meridian",-58.99999999999997],PARAMETER["scale_factor",0.997],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM1IND1,PROJCS["LM1IND1",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",32.5],PARAMETER["central_meridian",68],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",2743196.4],PARAMETER["false_northing",914398.8]] -LM1IND4A,PROJCS["LM1IND4A",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",12],PARAMETER["central_meridian",80],PARAMETER["scale_factor",0.9987864],PARAMETER["false_easting",3000000],PARAMETER["false_northing",1000000]] -LM1IRAN,PROJCS["LM1IRAN",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",32.5],PARAMETER["central_meridian",45],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",1500000],PARAMETER["false_northing",1166200]] -LM1IRAQ,PROJCS["LM1IRAQ",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",32.5],PARAMETER["central_meridian",45],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",1500000],PARAMETER["false_northing",1166200]] -LM1JAFT,PROJCS["LM1JAFT",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",18],PARAMETER["central_meridian",-76.99999999999994],PARAMETER["scale_factor",1],PARAMETER["false_easting",550000],PARAMETER["false_northing",400000],UNIT["unnamed",0.304799472]] -LM1JAMTR,PROJCS["LM1JAMTR",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",18],PARAMETER["central_meridian",-76.99999999999994],PARAMETER["scale_factor",1],PARAMETER["false_easting",250000],PARAMETER["false_northing",150000]] -LM1KANG,PROJCS["LM1KANG",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",110],PARAMETER["scale_factor",0.997],PARAMETER["false_easting",3900000],PARAMETER["false_northing",900000]] -LM1LEVD,PROJCS["LM1LEVD",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",34.65],PARAMETER["central_meridian",37.35],PARAMETER["scale_factor",0.9996256],PARAMETER["false_easting",300000],PARAMETER["false_northing",300000]] -LM1LEVG,PROJCS["LM1LEVG",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",34.65],PARAMETER["central_meridian",37.35],PARAMETER["scale_factor",0.9996256],PARAMETER["false_easting",300000],PARAMETER["false_northing",300000]] -LM1LIBS,PROJCS["LM1LIBS",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",23],PARAMETER["central_meridian",18],PARAMETER["scale_factor",0.99907],PARAMETER["false_easting",800000],PARAMETER["false_northing",600000]] -LM1LIBYA,PROJCS["LM1LIBYA",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",18],PARAMETER["scale_factor",0.99938949],PARAMETER["false_easting",1000000],PARAMETER["false_northing",550000]] -LM1MORND,PROJCS["LM1MORND",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",33.3],PARAMETER["central_meridian",-5.399999999999953],PARAMETER["scale_factor",0.999625769],PARAMETER["false_easting",500000],PARAMETER["false_northing",300000]] -LM1MORSD,PROJCS["LM1MORSD",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",29.7],PARAMETER["central_meridian",-5.399999999999953],PARAMETER["scale_factor",0.999615596],PARAMETER["false_easting",500000],PARAMETER["false_northing",300000]] -LM1NEP1,PROJCS["LM1NEP1",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",32.5],PARAMETER["central_meridian",68],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",3000000],PARAMETER["false_northing",1000000],UNIT["unnamed",0.9143988]] -LM1NEP2A,PROJCS["LM1NEP2A",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",74],PARAMETER["scale_factor",1],PARAMETER["false_easting",3000000],PARAMETER["false_northing",1000000],UNIT["unnamed",0.9143988]] -LM1NEP2B,PROJCS["LM1NEP2B",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",90],PARAMETER["scale_factor",1],PARAMETER["false_easting",3000000],PARAMETER["false_northing",1000000],UNIT["unnamed",0.9143988]] -LM1NPG,PROJCS["LM1NPG",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",-7.999999999999978],PARAMETER["central_meridian",150],PARAMETER["scale_factor",0.9997],PARAMETER["false_easting",300000],PARAMETER["false_northing",100000]] -LM1PA2B,PROJCS["LM1PA2B",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",90],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",2743196.4],PARAMETER["false_northing",914398.8]] -LM1PA2BY,PROJCS["LM1PA2BY",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",90],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",3000000],PARAMETER["false_northing",1000000],UNIT["unnamed",0.9143988]] -LM1PAK1,PROJCS["LM1PAK1",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",32.5],PARAMETER["central_meridian",68],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",2743196.4],PARAMETER["false_northing",914398.8]] -LM1PAK1Y,PROJCS["LM1PAK1Y",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",32.5],PARAMETER["central_meridian",68],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",3000000],PARAMETER["false_northing",1000000],UNIT["unnamed",0.9143988]] -LM1PAK2,PROJCS["LM1PAK2",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",74],PARAMETER["scale_factor",0.9987864077],PARAMETER["false_easting",2743196.4],PARAMETER["false_northing",914398.8]] -LM1PAK2Y,PROJCS["LM1PAK2Y",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",26],PARAMETER["central_meridian",74],PARAMETER["scale_factor",0.998786408],PARAMETER["false_easting",3000000],PARAMETER["false_northing",1000000],UNIT["unnamed",0.9143988]] -LM1PB1D,PROJCS["LM1PB1D",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",49.5],PARAMETER["central_meridian",2.3372083],PARAMETER["scale_factor",0.999877341],PARAMETER["false_easting",600000],PARAMETER["false_northing",1200000]] -LM1PB1G,PROJCS["LM1PB1G",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",49.5],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.999877341],PARAMETER["false_easting",600000],PARAMETER["false_northing",1200000]] -LM1POL,PROJCS["LM1POL",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",52],PARAMETER["central_meridian",19],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",500000]] -LM1ROM,PROJCS["LM1ROM",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",44.7916667],PARAMETER["central_meridian",9.000000000000002],PARAMETER["scale_factor",1],PARAMETER["false_easting",2000000],PARAMETER["false_northing",2000000]] -LM1SHAB,PROJCS["LM1SHAB",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",15.4],PARAMETER["central_meridian",47.0355556],PARAMETER["scale_factor",1],PARAMETER["false_easting",1704346.3],PARAMETER["false_northing",8718549.7]] -LM1SPAIN,PROJCS["LM1SPAIN",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",40],PARAMETER["central_meridian",-3.687373899999992],PARAMETER["scale_factor",0.9988085293],PARAMETER["false_easting",600000],PARAMETER["false_northing",600000]] -LM1SPANM,PROJCS["LM1SPANM",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",40],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.998808529],PARAMETER["false_easting",600000],PARAMETER["false_northing",600000]] -LM1SYRSD,PROJCS["LM1SYRSD",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",33.3],PARAMETER["central_meridian",36],PARAMETER["scale_factor",0.999625769],PARAMETER["false_easting",500000],PARAMETER["false_northing",300000]] -LM1SYRSG,PROJCS["LM1SYRSG",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",33.3],PARAMETER["central_meridian",36],PARAMETER["scale_factor",0.999625769],PARAMETER["false_easting",500000],PARAMETER["false_northing",300000]] -LM1TUNND,PROJCS["LM1TUNND",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",36],PARAMETER["central_meridian",9.899999999999995],PARAMETER["scale_factor",0.999625544],PARAMETER["false_easting",500000],PARAMETER["false_northing",300000]] -LM1TUNSD,PROJCS["LM1TUNSD",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",33.3],PARAMETER["central_meridian",9.899999999999995],PARAMETER["scale_factor",0.999625769],PARAMETER["false_easting",500000],PARAMETER["false_northing",300000]] -LM1TURK,PROJCS["LM1TURK",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",40],PARAMETER["central_meridian",27.4],PARAMETER["scale_factor",1],PARAMETER["false_easting",2000000],PARAMETER["false_northing",2000000]] -LM1USSR,PROJCS["LM1USSR",PROJECTION["Lambert_Conformal_Conic_1SP"],PARAMETER["latitude_of_origin",44],PARAMETER["central_meridian",38],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2AF113,PROJCS["LM2AF113",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",21],PARAMETER["latitude_of_origin",12.5482083],PARAMETER["central_meridian",9.000000000000002],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2AF114,PROJCS["LM2AF114",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",21],PARAMETER["latitude_of_origin",12.5482083],PARAMETER["central_meridian",27],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2AF72,PROJCS["LM2AF72",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32],PARAMETER["standard_parallel_2",64],PARAMETER["latitude_of_origin",48.8942353],PARAMETER["central_meridian",-8.999999999999959],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2AF92,PROJCS["LM2AF92",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",21],PARAMETER["latitude_of_origin",12.5482083],PARAMETER["central_meridian",-8.999999999999959],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2AF93,PROJCS["LM2AF93",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",21],PARAMETER["latitude_of_origin",12.5482083],PARAMETER["central_meridian",9.000000000000002],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2AF94,PROJCS["LM2AF94",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",21],PARAMETER["latitude_of_origin",12.5482083],PARAMETER["central_meridian",27],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2AF95,PROJCS["LM2AF95",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",21],PARAMETER["latitude_of_origin",12.5482083],PARAMETER["central_meridian",45],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2AFE,PROJCS["LM2AFE",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40],PARAMETER["standard_parallel_2",-10],PARAMETER["latitude_of_origin",15.5397257],PARAMETER["central_meridian",100],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2AFSH,PROJCS["LM2AFSH",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-10],PARAMETER["standard_parallel_2",-29.99999999999995],PARAMETER["latitude_of_origin",-20.10980229999997],PARAMETER["central_meridian",30],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2ALG,PROJCS["LM2ALG",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",22],PARAMETER["standard_parallel_2",34],PARAMETER["latitude_of_origin",28.0571556],PARAMETER["central_meridian",0],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2ANT1,PROJCS["LM2ANT1",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-82.50000000599761],PARAMETER["standard_parallel_2",-81.49999997849238],PARAMETER["latitude_of_origin",-83.49999997620704],PARAMETER["central_meridian",-105.0000000232594],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2ARAB,PROJCS["LM2ARAB",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",33],PARAMETER["standard_parallel_2",17],PARAMETER["latitude_of_origin",25.0895279],PARAMETER["central_meridian",47],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2ARAB2,LOCAL_CS["LM2ARAB2 - (unsupported)"] -LM2AREA1,PROJCS["LM2AREA1",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40],PARAMETER["standard_parallel_2",24],PARAMETER["latitude_of_origin",32.1197536],PARAMETER["central_meridian",117],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM2AREA2,PROJCS["LM2AREA2",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",24],PARAMETER["standard_parallel_2",4],PARAMETER["latitude_of_origin",14.0752451],PARAMETER["central_meridian",110],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM2AREA3,PROJCS["LM2AREA3",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",-15.99999999999996],PARAMETER["latitude_of_origin",-6.031738599999985],PARAMETER["central_meridian",115],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM2ARKNF,PROJCS["LM2ARKNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.2333333],PARAMETER["standard_parallel_2",34.9333333],PARAMETER["latitude_of_origin",35.5842285],PARAMETER["central_meridian",-91.99999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",455289.01],UNIT["US Foot",0.30480061]] -LM2ARKNM,PROJCS["LM2ARKNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.2333333],PARAMETER["standard_parallel_2",34.9333333],PARAMETER["latitude_of_origin",35.5842283],PARAMETER["central_meridian",-91.99999999999997],PARAMETER["false_easting",400000],PARAMETER["false_northing",138776.13]] -LM2ARKSF,PROJCS["LM2ARKSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.7666667],PARAMETER["standard_parallel_2",33.3],PARAMETER["latitude_of_origin",34.0344096],PARAMETER["central_meridian",-91.99999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",497685.06],UNIT["US Foot",0.30480061]] -LM2ARKSM,PROJCS["LM2ARKSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.7666667],PARAMETER["standard_parallel_2",33.3],PARAMETER["latitude_of_origin",34.0344094],PARAMETER["central_meridian",-91.99999999999997],PARAMETER["false_easting",400000],PARAMETER["false_northing",551699.26]] -LM2ASEAN,PROJCS["LM2ASEAN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",8],PARAMETER["standard_parallel_2",22],PARAMETER["latitude_of_origin",15.0393768],PARAMETER["central_meridian",110],PARAMETER["false_easting",5000000],PARAMETER["false_northing",5000000]] -LM2ASIA,PROJCS["LM2ASIA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",65],PARAMETER["standard_parallel_2",37],PARAMETER["latitude_of_origin",51.7530074],PARAMETER["central_meridian",100],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2AUST,PROJCS["LM2AUST",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-10],PARAMETER["standard_parallel_2",-39.99999999999994],PARAMETER["latitude_of_origin",-25.32172549999997],PARAMETER["central_meridian",140],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2AZERB,PROJCS["LM2AZERB",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39],PARAMETER["standard_parallel_2",41],PARAMETER["latitude_of_origin",40.0024798],PARAMETER["central_meridian",48],PARAMETER["false_easting",5000000],PARAMETER["false_northing",5000000]] -LM2BAREN,PROJCS["LM2BAREN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",70],PARAMETER["standard_parallel_2",80],PARAMETER["latitude_of_origin",75.2834933],PARAMETER["central_meridian",20],PARAMETER["false_easting",2000000],PARAMETER["false_northing",1000000]] -LM2BELG,PROJCS["LM2BELG",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",51.1666667],PARAMETER["standard_parallel_2",49.8333333],PARAMETER["latitude_of_origin",50.5015857],PARAMETER["central_meridian",4.3569397],PARAMETER["false_easting",150000],PARAMETER["false_northing",132159.2]] -LM2BELG72,PROJCS["LM2BELG72",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",51.16666723333334],PARAMETER["standard_parallel_2",49.8333339],PARAMETER["latitude_of_origin",90],PARAMETER["central_meridian",4.367486666666665],PARAMETER["false_easting",150000.013],PARAMETER["false_northing",5400088.438]] -LM2BKSEA,PROJCS["LM2BKSEA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45],PARAMETER["standard_parallel_2",41],PARAMETER["latitude_of_origin",43.0110159],PARAMETER["central_meridian",35],PARAMETER["false_easting",2000000],PARAMETER["false_northing",1000000]] -LM2BLACK,PROJCS["LM2BLACK",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37],PARAMETER["standard_parallel_2",65],PARAMETER["latitude_of_origin",51.7530393],PARAMETER["central_meridian",39],PARAMETER["false_easting",5000000],PARAMETER["false_northing",5000000]] -LM2BLCKS,PROJCS["LM2BLCKS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42],PARAMETER["standard_parallel_2",44],PARAMETER["latitude_of_origin",43.0027521],PARAMETER["central_meridian",36],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM2BLKSE,PROJCS["LM2BLKSE",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.3333333],PARAMETER["standard_parallel_2",46.6666667],PARAMETER["latitude_of_origin",44.020285],PARAMETER["central_meridian",35],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2BNOR,PROJCS["LM2BNOR",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",69],PARAMETER["standard_parallel_2",60],PARAMETER["latitude_of_origin",64.6256029],PARAMETER["central_meridian",11.5],PARAMETER["false_easting",0],PARAMETER["false_northing",13960.37]] -LM2BOF,PROJCS["LM2BOF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36],PARAMETER["standard_parallel_2",52.8],PARAMETER["latitude_of_origin",44.6069094],PARAMETER["central_meridian",4.499999999999997],PARAMETER["false_easting",200000],PARAMETER["false_northing",0]] -LM2BURMA,PROJCS["LM2BURMA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",11.5],PARAMETER["standard_parallel_2",24],PARAMETER["latitude_of_origin",17.7874284],PARAMETER["central_meridian",96],PARAMETER["false_easting",2000000],PARAMETER["false_northing",3004117.66]] -LM2CAL1F,PROJCS["LM2CAL1F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.6666667],PARAMETER["standard_parallel_2",40],PARAMETER["latitude_of_origin",40.8351064],PARAMETER["central_meridian",-122],PARAMETER["false_easting",2000000],PARAMETER["false_northing",547077.92],UNIT["US Foot",0.30480061]] -LM2CAL2F,PROJCS["LM2CAL2F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.8333333],PARAMETER["standard_parallel_2",38.3333333],PARAMETER["latitude_of_origin",39.0846842],PARAMETER["central_meridian",-122],PARAMETER["false_easting",2000000],PARAMETER["false_northing",516417.19],UNIT["US Foot",0.30480061]] -LM2CAL3F,PROJCS["LM2CAL3F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.4333333],PARAMETER["standard_parallel_2",37.0666667],PARAMETER["latitude_of_origin",37.7510696],PARAMETER["central_meridian",-120.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",455516.16],UNIT["US Foot",0.30480061]] -LM2CAL4F,PROJCS["LM2CAL4F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.25],PARAMETER["standard_parallel_2",36],PARAMETER["latitude_of_origin",36.6258595],PARAMETER["central_meridian",-119],PARAMETER["false_easting",2000000],PARAMETER["false_northing",470526.84],UNIT["US Foot",0.30480061]] -LM2CAL4M,PROJCS["LM2CAL4M",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.25],PARAMETER["standard_parallel_2",36],PARAMETER["latitude_of_origin",36.6258593],PARAMETER["central_meridian",-119],PARAMETER["false_easting",2000000],PARAMETER["false_northing",643420.49]] -LM2CAL5F,PROJCS["LM2CAL5F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.4666667],PARAMETER["standard_parallel_2",34.0333333],PARAMETER["latitude_of_origin",34.7510555],PARAMETER["central_meridian",-118],PARAMETER["false_easting",2000000],PARAMETER["false_northing",455278.16],UNIT["US Foot",0.30480061]] -LM2CAL5M,PROJCS["LM2CAL5M",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.4666667],PARAMETER["standard_parallel_2",34.0333333],PARAMETER["latitude_of_origin",34.7510553],PARAMETER["central_meridian",-118],PARAMETER["false_easting",2000000],PARAMETER["false_northing",638773.03]] -LM2CAL6F,PROJCS["LM2CAL6F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",33.8833333],PARAMETER["standard_parallel_2",32.7833333],PARAMETER["latitude_of_origin",33.3339231],PARAMETER["central_meridian",-116.25],PARAMETER["false_easting",2000000],PARAMETER["false_northing",424696.28],UNIT["US Foot",0.30480061]] -LM2CAL7F,PROJCS["LM2CAL7F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.4166667],PARAMETER["standard_parallel_2",33.8666667],PARAMETER["latitude_of_origin",34.1418186],PARAMETER["central_meridian",-118.3333333],PARAMETER["false_easting",4186692.58],PARAMETER["false_northing",4164014.63],UNIT["US Foot",0.30480061]] -LM2CAMER,PROJCS["LM2CAMER",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",25],PARAMETER["standard_parallel_2",5],PARAMETER["latitude_of_origin",15.0808559],PARAMETER["central_meridian",-89.99999999999994],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2CAN,PROJCS["LM2CAN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",77],PARAMETER["standard_parallel_2",49],PARAMETER["latitude_of_origin",64.2621819],PARAMETER["central_meridian",-99.99999999999996],PARAMETER["false_easting",2500000],PARAMETER["false_northing",2500000]] -LM2CAN60,PROJCS["LM2CAN60",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",77],PARAMETER["standard_parallel_2",49],PARAMETER["latitude_of_origin",64.2621819],PARAMETER["central_meridian",-59.99999999999994],PARAMETER["false_easting",2500000],PARAMETER["false_northing",2500000]] -LM2CAN78,PROJCS["LM2CAN78",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",64.26218189999996],PARAMETER["standard_parallel_2",77],PARAMETER["latitude_of_origin",49.00000000000002],PARAMETER["central_meridian",-77.99999999999997],PARAMETER["false_easting",0],PARAMETER["false_northing",8250000]] -LM2CBRAZ,PROJCS["LM2CBRAZ",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-4.999999999999972],PARAMETER["standard_parallel_2",-18.99999999999996],PARAMETER["latitude_of_origin",-12.03125459999998],PARAMETER["central_meridian",-54.99999999999998],PARAMETER["false_easting",0],PARAMETER["false_northing",-3431.9]] -LM2CEGYP,PROJCS["LM2CEGYP",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",29.25],PARAMETER["standard_parallel_2",31.75],PARAMETER["latitude_of_origin",30.5027312],PARAMETER["central_meridian",29.5],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2CFRAN,PROJCS["LM2CFRAN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45],PARAMETER["standard_parallel_2",49],PARAMETER["latitude_of_origin",47.012648],PARAMETER["central_meridian",0],PARAMETER["false_easting",0],PARAMETER["false_northing",1405.23]] -LM2CHBON,PROJCS["LM2CHBON",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38],PARAMETER["standard_parallel_2",41],PARAMETER["latitude_of_origin",39.5054838],PARAMETER["central_meridian",121],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2CHECS,PROJCS["LM2CHECS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",27],PARAMETER["standard_parallel_2",31],PARAMETER["latitude_of_origin",29.0065858],PARAMETER["central_meridian",123.5],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2CHEOF,PROJCS["LM2CHEOF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",25],PARAMETER["standard_parallel_2",37],PARAMETER["latitude_of_origin",31.0645115],PARAMETER["central_meridian",122.5],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2CHIN,PROJCS["LM2CHIN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35],PARAMETER["standard_parallel_2",20],PARAMETER["latitude_of_origin",27.5876688],PARAMETER["central_meridian",105],PARAMETER["false_easting",2500000],PARAMETER["false_northing",2509632.22]] -LM2CHINA,PROJCS["LM2CHINA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35],PARAMETER["standard_parallel_2",-4.999999999999972],PARAMETER["latitude_of_origin",15.3356381],PARAMETER["central_meridian",125],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2CHRUS,PROJCS["LM2CHRUS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",74],PARAMETER["standard_parallel_2",42],PARAMETER["latitude_of_origin",59.3395467],PARAMETER["central_meridian",130],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2CHYS,PROJCS["LM2CHYS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",33],PARAMETER["standard_parallel_2",36],PARAMETER["latitude_of_origin",34.5045819],PARAMETER["central_meridian",122],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2CM693,PROJCS["LM2CM693",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",77],PARAMETER["standard_parallel_2",49],PARAMETER["latitude_of_origin",64.2621819],PARAMETER["central_meridian",-69.49999999220437],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2COLCF,PROJCS["LM2COLCF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.75],PARAMETER["standard_parallel_2",38.45],PARAMETER["latitude_of_origin",39.1010152],PARAMETER["central_meridian",-105.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",461675.32],UNIT["US Foot",0.30480061]] -LM2COLNF,PROJCS["LM2COLNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.7166667],PARAMETER["standard_parallel_2",40.7833333],PARAMETER["latitude_of_origin",40.2507116],PARAMETER["central_meridian",-105.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",334169.85],UNIT["US Foot",0.30480061]] -LM2COLSF,PROJCS["LM2COLSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.4333333],PARAMETER["standard_parallel_2",37.2333333],PARAMETER["latitude_of_origin",37.8341604],PARAMETER["central_meridian",-105.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",425097.72],UNIT["US Foot",0.30480061]] -LM2COLUM,PROJCS["LM2COLUM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",6.6666667],PARAMETER["standard_parallel_2",1.3333333],PARAMETER["latitude_of_origin",4.001486399999998],PARAMETER["central_meridian",-72.99999999999994],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2COMAN,PROJCS["LM2COMAN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",19],PARAMETER["standard_parallel_2",25],PARAMETER["latitude_of_origin",22.0108377],PARAMETER["central_meridian",56],PARAMETER["false_easting",0],PARAMETER["false_northing",1198.34]] -LM2CONNF,PROJCS["LM2CONNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.8666667],PARAMETER["standard_parallel_2",41.2],PARAMETER["latitude_of_origin",41.533624],PARAMETER["central_meridian",-72.74999999999994],PARAMETER["false_easting",600000],PARAMETER["false_northing",255156.68],UNIT["US Foot",0.30480061]] -LM2CONNM,PROJCS["LM2CONNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.8666667],PARAMETER["standard_parallel_2",41.2],PARAMETER["latitude_of_origin",41.5336239],PARAMETER["central_meridian",-72.74999999999994],PARAMETER["false_easting",304800.61],PARAMETER["false_northing",230173.41]] -LM2CSPN,PROJCS["LM2CSPN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38],PARAMETER["standard_parallel_2",42.5],PARAMETER["latitude_of_origin",40.2626746],PARAMETER["central_meridian",-2.999999999999949],PARAMETER["false_easting",0],PARAMETER["false_northing",29145.17]] -LM2EE,PROJCS["LM2EE",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36],PARAMETER["standard_parallel_2",43],PARAMETER["latitude_of_origin",39.5299114],PARAMETER["central_meridian",66],PARAMETER["false_easting",2000000],PARAMETER["false_northing",1502329.69]] -LM2EGYPT,PROJCS["LM2EGYPT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",23.6666667],PARAMETER["standard_parallel_2",30.6666667],PARAMETER["latitude_of_origin",27.1853739],PARAMETER["central_meridian",31],PARAMETER["false_easting",620681.47],PARAMETER["false_northing",559230.78]] -LM2EUNDX,PROJCS["LM2EUNDX",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",52],PARAMETER["standard_parallel_2",36],PARAMETER["latitude_of_origin",44.1848032],PARAMETER["central_meridian",12],PARAMETER["false_easting",3000000],PARAMETER["false_northing",2000000]] -LM2EURO,PROJCS["LM2EURO",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37],PARAMETER["standard_parallel_2",65],PARAMETER["latitude_of_origin",51.7530393],PARAMETER["central_meridian",28],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2FKLDS,PROJCS["LM2FKLDS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-34.99999999999997],PARAMETER["standard_parallel_2",-54.99999999999998],PARAMETER["latitude_of_origin",-45.30145409999996],PARAMETER["central_meridian",-49.99999999999994],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2FLANF,PROJCS["LM2FLANF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",30.75],PARAMETER["standard_parallel_2",29.5833333],PARAMETER["latitude_of_origin",30.1672537],PARAMETER["central_meridian",-84.49999999999996],PARAMETER["false_easting",2000000],PARAMETER["false_northing",424481.59],UNIT["US Foot",0.30480061]] -LM2FRANC,PROJCS["LM2FRANC",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.89891888888889],PARAMETER["standard_parallel_2",47.69601444444444],PARAMETER["latitude_of_origin",46.80000000000000],PARAMETER["central_meridian",2.337229169999754],PARAMETER["false_easting",600000],PARAMETER["false_northing",2200000]] -LM2GULF,PROJCS["LM2GULF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",31],PARAMETER["standard_parallel_2",27],PARAMETER["latitude_of_origin",29.0065873],PARAMETER["central_meridian",-89.99999999999994],PARAMETER["false_easting",3500000],PARAMETER["false_northing",2551152.36],UNIT["US Foot",0.30480061]] -LM2H6,PROJCS["LM2H6",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",25.3333333],PARAMETER["standard_parallel_2",30.6666667],PARAMETER["latitude_of_origin",28.0112409],PARAMETER["central_meridian",47],PARAMETER["false_easting",0],PARAMETER["false_northing",1244.39]] -LM2IND76,PROJCS["LM2IND76",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32],PARAMETER["standard_parallel_2",64],PARAMETER["latitude_of_origin",48.8939963],PARAMETER["central_meridian",63],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2IND77,PROJCS["LM2IND77",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32],PARAMETER["standard_parallel_2",64],PARAMETER["latitude_of_origin",48.8939963],PARAMETER["central_meridian",81],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2IND78,PROJCS["LM2IND78",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32],PARAMETER["standard_parallel_2",64],PARAMETER["latitude_of_origin",48.8939963],PARAMETER["central_meridian",98.99999999999997],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2IND96,PROJCS["LM2IND96",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",21],PARAMETER["latitude_of_origin",12.548179],PARAMETER["central_meridian",63],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2IND97,PROJCS["LM2IND97",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",21],PARAMETER["latitude_of_origin",12.548179],PARAMETER["central_meridian",81],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2IND98,PROJCS["LM2IND98",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",4],PARAMETER["standard_parallel_2",21],PARAMETER["latitude_of_origin",12.548179],PARAMETER["central_meridian",98.99999999999997],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2INDIA,PROJCS["LM2INDIA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",25],PARAMETER["standard_parallel_2",1],PARAMETER["latitude_of_origin",13.1008489],PARAMETER["central_meridian",60],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2IOWNF,PROJCS["LM2IOWNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",43.2666667],PARAMETER["standard_parallel_2",42.0666667],PARAMETER["latitude_of_origin",42.6676461],PARAMETER["central_meridian",-93.49999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",425511.73],UNIT["US Foot",0.30480061]] -LM2IOWSF,PROJCS["LM2IOWSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.7833333],PARAMETER["standard_parallel_2",40.6166667],PARAMETER["latitude_of_origin",41.2008799],PARAMETER["central_meridian",-93.49999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",437511.38],UNIT["US Foot",0.30480061]] -LM2IRAN,PROJCS["LM2IRAN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",26],PARAMETER["standard_parallel_2",37],PARAMETER["latitude_of_origin",31.5552453],PARAMETER["central_meridian",54],PARAMETER["false_easting",2000000],PARAMETER["false_northing",2000000]] -LM2JEBCO,PROJCS["LM2JEBCO",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",60],PARAMETER["standard_parallel_2",62.1666667],PARAMETER["latitude_of_origin",61.0895556],PARAMETER["central_meridian",97],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2JUNGB,PROJCS["LM2JUNGB",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44],PARAMETER["standard_parallel_2",48],PARAMETER["latitude_of_origin",46.0122162],PARAMETER["central_meridian",86.99999999999997],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2KALIM,PROJCS["LM2KALIM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",1.3333333],PARAMETER["standard_parallel_2",6.6666667],PARAMETER["latitude_of_origin",4.0014861],PARAMETER["central_meridian",117],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000164.14]] -LM2KANNF,PROJCS["LM2KANNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.7833333],PARAMETER["standard_parallel_2",38.7166667],PARAMETER["latitude_of_origin",39.2506871],PARAMETER["central_meridian",-97.99999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",334102.73],UNIT["US Foot",0.30480061]] -LM2KANNM,PROJCS["LM2KANNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.7833333],PARAMETER["standard_parallel_2",38.7166667],PARAMETER["latitude_of_origin",39.2506869],PARAMETER["central_meridian",-97.99999999999997],PARAMETER["false_easting",400000],PARAMETER["false_northing",101836.74]] -LM2KYNFT,PROJCS["LM2KYNFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.9666667],PARAMETER["standard_parallel_2",38.9666667],PARAMETER["latitude_of_origin",38.4672541],PARAMETER["central_meridian",-84.24999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",352230.83],UNIT["US Foot",0.30480061]] -LM2KYNM,PROJCS["LM2KYNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.9666667],PARAMETER["standard_parallel_2",37.9666667],PARAMETER["latitude_of_origin",38.467254],PARAMETER["central_meridian",-84.24999999999994],PARAMETER["false_easting",500000],PARAMETER["false_northing",107362.48]] -LM2KYSFT,PROJCS["LM2KYSFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.7333333],PARAMETER["standard_parallel_2",37.9333333],PARAMETER["latitude_of_origin",37.3341458],PARAMETER["central_meridian",-85.74999999999996],PARAMETER["false_easting",2000000],PARAMETER["false_northing",364374.61],UNIT["US Foot",0.30480061]] -LM2LANDS,PROJCS["LM2LANDS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37],PARAMETER["standard_parallel_2",65],PARAMETER["latitude_of_origin",51.7530393],PARAMETER["central_meridian",30],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2LANFT,PROJCS["LM2LANFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",31.1666667],PARAMETER["standard_parallel_2",32.6666667],PARAMETER["latitude_of_origin",31.9177058],PARAMETER["central_meridian",-92.49999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",455060.71],UNIT["US Foot",0.30480061]] -LM2LANM,PROJCS["LM2LANM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32.6666667],PARAMETER["standard_parallel_2",31.1666667],PARAMETER["latitude_of_origin",31.9177056],PARAMETER["central_meridian",-92.49999999999994],PARAMETER["false_easting",1000000],PARAMETER["false_northing",157187.89]] -LM2LAOFT,PROJCS["LM2LAOFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",26.1666667],PARAMETER["standard_parallel_2",27.8333333],PARAMETER["latitude_of_origin",27.0010515],PARAMETER["central_meridian",-91.33333329999992],PARAMETER["false_easting",2000000],PARAMETER["false_northing",485012.86],UNIT["US Foot",0.30480061]] -LM2LASFT,PROJCS["LM2LASFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",29.3],PARAMETER["standard_parallel_2",30.7],PARAMETER["latitude_of_origin",30.0008397],PARAMETER["central_meridian",-91.33333329999992],PARAMETER["false_easting",2000000],PARAMETER["false_northing",485164],UNIT["US Foot",0.30480061]] -LM2LASM,PROJCS["LM2LASM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",30.7],PARAMETER["standard_parallel_2",29.3],PARAMETER["latitude_of_origin",30.0008395],PARAMETER["central_meridian",-91.33333329999992],PARAMETER["false_easting",1000000],PARAMETER["false_northing",166359.47]] -LM2MARYF,PROJCS["LM2MARYF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.3],PARAMETER["standard_parallel_2",39.45],PARAMETER["latitude_of_origin",38.8757881],PARAMETER["central_meridian",-76.99999999999994],PARAMETER["false_easting",800000],PARAMETER["false_northing",379638.15],UNIT["US Foot",0.30480061]] -LM2MASIM,PROJCS["LM2MASIM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.4833333],PARAMETER["standard_parallel_2",41.2833333],PARAMETER["latitude_of_origin",41.3833594],PARAMETER["central_meridian",-70.49999999999996],PARAMETER["false_easting",500000],PARAMETER["false_northing",42575.23]] -LM2MASMF,PROJCS["LM2MASMF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.7166667],PARAMETER["standard_parallel_2",42.6833333],PARAMETER["latitude_of_origin",42.2006254],PARAMETER["central_meridian",-71.49999999999996],PARAMETER["false_easting",600000],PARAMETER["false_northing",437502.72],UNIT["US Foot",0.30480061]] -LM2ME,PROJCS["LM2ME",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36],PARAMETER["standard_parallel_2",20],PARAMETER["latitude_of_origin",28.102018],PARAMETER["central_meridian",50],PARAMETER["false_easting",3000000],PARAMETER["false_northing",2011195.53]] -LM2ME1,PROJCS["LM2ME1",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35],PARAMETER["standard_parallel_2",15],PARAMETER["latitude_of_origin",25.1405776],PARAMETER["central_meridian",50],PARAMETER["false_easting",3000000],PARAMETER["false_northing",2011195.53]] -LM2MEDIT,PROJCS["LM2MEDIT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.5],PARAMETER["standard_parallel_2",32.5],PARAMETER["latitude_of_origin",37.5569977],PARAMETER["central_meridian",15],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2MICCF,PROJCS["LM2MICCF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.1833333],PARAMETER["standard_parallel_2",45.7],PARAMETER["latitude_of_origin",44.943359],PARAMETER["central_meridian",-84.33333329999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",593030.52],UNIT["US Foot",0.30480061]] -LM2MICNF,PROJCS["LM2MICNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.4833333],PARAMETER["standard_parallel_2",47.0833333],PARAMETER["latitude_of_origin",46.2853059],PARAMETER["central_meridian",-86.99999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",547682.99],UNIT["US Foot",0.30480061]] -LM2MICSF,PROJCS["LM2MICSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.1],PARAMETER["standard_parallel_2",43.6666667],PARAMETER["latitude_of_origin",42.8850154],PARAMETER["central_meridian",-84.33333329999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",504729.43],UNIT["US Foot",0.30480061]] -LM2MINCF,PROJCS["LM2MINCF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.6166667],PARAMETER["standard_parallel_2",47.05],PARAMETER["latitude_of_origin",46.334919],PARAMETER["central_meridian",-94.24999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",486777.48],UNIT["US Foot",0.30480061]] -LM2MINNF,PROJCS["LM2MINNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",47.0333333],PARAMETER["standard_parallel_2",48.6333333],PARAMETER["latitude_of_origin",47.8354144],PARAMETER["central_meridian",-93.09999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",487078.53],UNIT["US Foot",0.30480061]] -LM2MINSF,PROJCS["LM2MINSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",43.7833333],PARAMETER["standard_parallel_2",45.2166667],PARAMETER["latitude_of_origin",44.5014886],PARAMETER["central_meridian",-93.99999999999993],PARAMETER["false_easting",2000000],PARAMETER["false_northing",547343.48],UNIT["US Foot",0.30480061]] -LM2MOCFT,PROJCS["LM2MOCFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46.45],PARAMETER["standard_parallel_2",47.8833333],PARAMETER["latitude_of_origin",47.1682986],PARAMETER["central_meridian",-109.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",486866.43],UNIT["US Foot",0.30480061]] -LM2MON,PROJCS["LM2MON",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",48],PARAMETER["standard_parallel_2",44],PARAMETER["latitude_of_origin",46.0122162],PARAMETER["central_meridian",104],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2MONFT,PROJCS["LM2MONFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",47.85],PARAMETER["standard_parallel_2",48.7166667],PARAMETER["latitude_of_origin",48.2839534],PARAMETER["central_meridian",-109.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",468377.04],UNIT["US Foot",0.30480061]] -LM2MOSFT,PROJCS["LM2MOSFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.8666667],PARAMETER["standard_parallel_2",46.4],PARAMETER["latitude_of_origin",45.6351048],PARAMETER["central_meridian",-109.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",596169.89],UNIT["US Foot",0.30480061]] -LM2MTCFT,PROJCS["LM2MTCFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",47.8833333],PARAMETER["standard_parallel_2",46.45],PARAMETER["latitude_of_origin",47.1682986],PARAMETER["central_meridian",-109.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",486866.43],UNIT["US Foot",0.30480061]] -LM2MTM,PROJCS["LM2MTM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",49],PARAMETER["standard_parallel_2",45],PARAMETER["latitude_of_origin",47.0126454],PARAMETER["central_meridian",-109.5],PARAMETER["false_easting",600000],PARAMETER["false_northing",306982.36]] -LM2MTNFT,PROJCS["LM2MTNFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",48.7166667],PARAMETER["standard_parallel_2",47.85],PARAMETER["latitude_of_origin",48.2839534],PARAMETER["central_meridian",-109.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",468377.04],UNIT["US Foot",0.30480061]] -LM2MTSFT,PROJCS["LM2MTSFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46.4],PARAMETER["standard_parallel_2",44.8666667],PARAMETER["latitude_of_origin",45.6351048],PARAMETER["central_meridian",-109.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",596169.89],UNIT["US Foot",0.30480061]] -LM2NBRUN,PROJCS["LM2NBRUN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45],PARAMETER["standard_parallel_2",33],PARAMETER["latitude_of_origin",39.0867598],PARAMETER["central_meridian",-66.5],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2NBSEA,PROJCS["LM2NBSEA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.3333333],PARAMETER["standard_parallel_2",46.6666667],PARAMETER["latitude_of_origin",44.0202838],PARAMETER["central_meridian",38],PARAMETER["false_easting",5000000],PARAMETER["false_northing",5000000]] -LM2NCAFT,PROJCS["LM2NCAFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",34.3333333],PARAMETER["standard_parallel_2",36.1666667],PARAMETER["latitude_of_origin",35.2517589],PARAMETER["central_meridian",-78.99999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",546538.78],UNIT["US Foot",0.30480061]] -LM2NDNFT,PROJCS["LM2NDNFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",47.4333333],PARAMETER["standard_parallel_2",48.7333333],PARAMETER["latitude_of_origin",48.084719],PARAMETER["central_meridian",-100.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",395667.3],UNIT["US Foot",0.30480061]] -LM2NDNM,PROJCS["LM2NDNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",48.7333333],PARAMETER["standard_parallel_2",47.4333333],PARAMETER["latitude_of_origin",48.0847188],PARAMETER["central_meridian",-100.5],PARAMETER["false_easting",600000],PARAMETER["false_northing",120599.98]] -LM2NDSFT,PROJCS["LM2NDSFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46.1833333],PARAMETER["standard_parallel_2",47.4833333],PARAMETER["latitude_of_origin",46.8346604],PARAMETER["central_meridian",-100.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",425949.37],UNIT["US Foot",0.30480061]] -LM2NEBM,PROJCS["LM2NEBM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",43],PARAMETER["standard_parallel_2",40],PARAMETER["latitude_of_origin",41.5058803],PARAMETER["central_meridian",-99.99999999999996],PARAMETER["false_easting",500000],PARAMETER["false_northing",185694.92]] -LM2NEBNF,PROJCS["LM2NEBNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",41.85],PARAMETER["standard_parallel_2",42.8166667],PARAMETER["latitude_of_origin",42.3339616],PARAMETER["central_meridian",-99.99999999999996],PARAMETER["false_easting",2000000],PARAMETER["false_northing",364631.59],UNIT["US Foot",0.30480061]] -LM2NEBSF,PROJCS["LM2NEBSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.2833333],PARAMETER["standard_parallel_2",41.7166667],PARAMETER["latitude_of_origin",41.001319],PARAMETER["central_meridian",-99.49999999999993],PARAMETER["false_easting",2000000],PARAMETER["false_northing",486220.86],UNIT["US Foot",0.30480061]] -LM2NEPAL,PROJCS["LM2NEPAL",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",30],PARAMETER["standard_parallel_2",27],PARAMETER["latitude_of_origin",28.5036278],PARAMETER["central_meridian",84],PARAMETER["false_easting",2000000],PARAMETER["false_northing",10000000]] -LM2NFA,PROJCS["LM2NFA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",43],PARAMETER["standard_parallel_2",49],PARAMETER["latitude_of_origin",46.0275217],PARAMETER["central_meridian",-45.99999999999996],PARAMETER["false_easting",500000],PARAMETER["false_northing",500000]] -LM2NFB,PROJCS["LM2NFB",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",43],PARAMETER["standard_parallel_2",49],PARAMETER["latitude_of_origin",46.0275217],PARAMETER["central_meridian",-51],PARAMETER["false_easting",500000],PARAMETER["false_northing",500000]] -LM2NHEM,PROJCS["LM2NHEM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",60],PARAMETER["standard_parallel_2",30],PARAMETER["latitude_of_origin",45.6982614],PARAMETER["central_meridian",20],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2NSEA,PROJCS["LM2NSEA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",58.8333333],PARAMETER["standard_parallel_2",54.1666667],PARAMETER["latitude_of_origin",56.52417129999998],PARAMETER["central_meridian",0],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2NSW1,PROJCS["LM2NSW1",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-30],PARAMETER["standard_parallel_2",-36],PARAMETER["latitude_of_origin",-36],PARAMETER["central_meridian",147],PARAMETER["false_easting",700000],PARAMETER["false_northing",8200000]] -LM2NSW2,PROJCS["LM2NSW2",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-32.66666666666664],PARAMETER["standard_parallel_2",-35.33333333333334],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["false_easting",1000000],PARAMETER["false_northing",10000000]] -LM2NZN,PROJCS["LM2NZN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-33.33333329999995],PARAMETER["standard_parallel_2",-38.66666669999996],PARAMETER["latitude_of_origin",-36.01531539999996],PARAMETER["central_meridian",175],PARAMETER["false_easting",0],PARAMETER["false_northing",-1697.5]] -LM2NZS,PROJCS["LM2NZS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-41.3333333],PARAMETER["standard_parallel_2",-46.66666669999994],PARAMETER["latitude_of_origin",-44.02028839999996],PARAMETER["central_meridian",171],PARAMETER["false_easting",0],PARAMETER["false_northing",-2251.83]] -LM2OHINF,PROJCS["LM2OHINF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.4333333],PARAMETER["standard_parallel_2",41.7],PARAMETER["latitude_of_origin",41.0676991],PARAMETER["central_meridian",-82.49999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",510419.83],UNIT["US Foot",0.30480061]] -LM2OHISF,PROJCS["LM2OHISF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.7333333],PARAMETER["standard_parallel_2",40.0333333],PARAMETER["latitude_of_origin",39.3843587],PARAMETER["central_meridian",-82.49999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",504195.18],UNIT["US Foot",0.30480061]] -LM2OKLNF,PROJCS["LM2OKLNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.5666667],PARAMETER["standard_parallel_2",36.7666667],PARAMETER["latitude_of_origin",36.1674458],PARAMETER["central_meridian",-97.99999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",424960.05],UNIT["US Foot",0.30480061]] -LM2OKLNM,PROJCS["LM2OKLNM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.7666667],PARAMETER["standard_parallel_2",35.5666667],PARAMETER["latitude_of_origin",36.1674456],PARAMETER["central_meridian",-97.99999999999997],PARAMETER["false_easting",600000],PARAMETER["false_northing",129531.44]] -LM2OKLSF,PROJCS["LM2OKLSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",33.9333333],PARAMETER["standard_parallel_2",35.2333333],PARAMETER["latitude_of_origin",34.5841963],PARAMETER["central_meridian",-97.99999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",455201.85],UNIT["US Foot",0.30480061]] -LM2OKLSM,PROJCS["LM2OKLSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",35.2333333],PARAMETER["standard_parallel_2",33.9333333],PARAMETER["latitude_of_origin",34.5841961],PARAMETER["central_meridian",-97.99999999999997],PARAMETER["false_easting",600000],PARAMETER["false_northing",138749.82]] -LM2ONH25,PROJCS["LM2ONH25",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",25.3333333],PARAMETER["standard_parallel_2",30.6666667],PARAMETER["latitude_of_origin",28.0112409],PARAMETER["central_meridian",-78.99999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",2889214.55]] -LM2ORENF,PROJCS["LM2ORENF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.3333333],PARAMETER["standard_parallel_2",46],PARAMETER["latitude_of_origin",45.1687263],PARAMETER["central_meridian",-120.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",547601.51],UNIT["US Foot",0.30480061]] -LM2ORESF,PROJCS["LM2ORESF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.3333333],PARAMETER["standard_parallel_2",44],PARAMETER["latitude_of_origin",43.1685891],PARAMETER["central_meridian",-120.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",547357.21],UNIT["US Foot",0.30480061]] -LM2OSTER,PROJCS["LM2OSTER",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46],PARAMETER["standard_parallel_2",49],PARAMETER["latitude_of_origin",47.5072345],PARAMETER["central_meridian",14],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2PAK,PROJCS["LM2PAK",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",27.49999998290061],PARAMETER["standard_parallel_2",26.00000002758644],PARAMETER["latitude_of_origin",28.99999999551055],PARAMETER["central_meridian",63.00000001395566],PARAMETER["false_easting",500000],PARAMETER["false_northing",1000000]] -LM2PANFT,PROJCS["LM2PANFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.8833333],PARAMETER["standard_parallel_2",41.95],PARAMETER["latitude_of_origin",41.4174077],PARAMETER["central_meridian",-77.74999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",455699.08],UNIT["US Foot",0.30480061]] -LM2PASFT,PROJCS["LM2PASFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.9333333],PARAMETER["standard_parallel_2",40.8],PARAMETER["latitude_of_origin",40.3671383],PARAMETER["central_meridian",-77.74999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",376593.83],UNIT["US Foot",0.30480061]] -LM2PRMB,PROJCS["LM2PRMB",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",24],PARAMETER["standard_parallel_2",18],PARAMETER["latitude_of_origin",21.0102961],PARAMETER["central_meridian",114],PARAMETER["false_easting",500000],PARAMETER["false_northing",501138.4]] -LM2PRV1F,PROJCS["LM2PRV1F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",18.4333333],PARAMETER["standard_parallel_2",18.0333333],PARAMETER["latitude_of_origin",18.2333726],PARAMETER["central_meridian",-66.43333329999994],PARAMETER["false_easting",500000],PARAMETER["false_northing",145256.89],UNIT["US Foot",0.30480061]] -LM2PRV2F,PROJCS["LM2PRV2F",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",18.4333333],PARAMETER["standard_parallel_2",18.0333333],PARAMETER["latitude_of_origin",18.2333726],PARAMETER["central_meridian",-66.43333329999994],PARAMETER["false_easting",500000],PARAMETER["false_northing",245256.89],UNIT["US Foot",0.30480061]] -LM2RUSS,PROJCS["LM2RUSS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",66],PARAMETER["standard_parallel_2",44],PARAMETER["latitude_of_origin",55.5285841],PARAMETER["central_meridian",96],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2RUSS1,PROJCS["LM2RUSS1",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",54.6666667],PARAMETER["standard_parallel_2",49.3333333],PARAMETER["latitude_of_origin",52.0268006],PARAMETER["central_meridian",116],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2RUSS2,PROJCS["LM2RUSS2",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",54.6666667],PARAMETER["standard_parallel_2",49.3333333],PARAMETER["latitude_of_origin",52.0268006],PARAMETER["central_meridian",96],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2RUSS3,PROJCS["LM2RUSS3",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46.6666667],PARAMETER["standard_parallel_2",41.3333333],PARAMETER["latitude_of_origin",44.0202838],PARAMETER["central_meridian",107],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2RUSS4,PROJCS["LM2RUSS4",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46.6666667],PARAMETER["standard_parallel_2",41.3333333],PARAMETER["latitude_of_origin",44.0202838],PARAMETER["central_meridian",123],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2RUSS5,PROJCS["LM2RUSS5",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",46.6666667],PARAMETER["standard_parallel_2",41.3333333],PARAMETER["latitude_of_origin",44.0202838],PARAMETER["central_meridian",91],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2RUSS6,PROJCS["LM2RUSS6",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",64],PARAMETER["standard_parallel_2",32],PARAMETER["latitude_of_origin",48.8940765],PARAMETER["central_meridian",56],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM2SCHIN,PROJCS["LM2SCHIN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",18],PARAMETER["standard_parallel_2",24],PARAMETER["latitude_of_origin",21.0102961],PARAMETER["central_meridian",114],PARAMETER["false_easting",500000],PARAMETER["false_northing",501138.4]] -LM2SCHNS,PROJCS["LM2SCHNS",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",10],PARAMETER["standard_parallel_2",18],PARAMETER["latitude_of_origin",14.0119194],PARAMETER["central_meridian",115],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2SCNFT,PROJCS["LM2SCNFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",33.7666667],PARAMETER["standard_parallel_2",34.9666667],PARAMETER["latitude_of_origin",34.3673961],PARAMETER["central_meridian",-81],PARAMETER["false_easting",2000000],PARAMETER["false_northing",497599.34],UNIT["US Foot",0.30480061]] -LM2SCSFT,PROJCS["LM2SCSFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32.3333333],PARAMETER["standard_parallel_2",33.6666667],PARAMETER["latitude_of_origin",33.0008557],PARAMETER["central_meridian",-81],PARAMETER["false_easting",2000000],PARAMETER["false_northing",424761.1],UNIT["US Foot",0.30480061]] -LM2SDNFT,PROJCS["LM2SDNFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.4166667],PARAMETER["standard_parallel_2",45.6833333],PARAMETER["latitude_of_origin",45.0511848],PARAMETER["central_meridian",-99.99999999999996],PARAMETER["false_easting",2000000],PARAMETER["false_northing",443993.06],UNIT["US Foot",0.30480061]] -LM2SDSFT,PROJCS["LM2SDSFT",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.8333333],PARAMETER["standard_parallel_2",44.4],PARAMETER["latitude_of_origin",43.6183918],PARAMETER["central_meridian",-100.3333333],PARAMETER["false_easting",2000000],PARAMETER["false_northing",468361.68],UNIT["US Foot",0.30480061]] -LM2SEYCH,PROJCS["LM2SEYCH",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-1.999999999999966],PARAMETER["standard_parallel_2",-10.99999999999998],PARAMETER["latitude_of_origin",-6.50690739999996],PARAMETER["central_meridian",51],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -LM2SHAW,PROJCS["LM2SHAW",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",7],PARAMETER["standard_parallel_2",10],PARAMETER["latitude_of_origin",8.501003999999996],PARAMETER["central_meridian",106],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM2SYRIA,PROJCS["LM2SYRIA",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",17],PARAMETER["standard_parallel_2",33],PARAMETER["latitude_of_origin",25.0895049],PARAMETER["central_meridian",48],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2TAIW,PROJCS["LM2TAIW",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",22.25],PARAMETER["standard_parallel_2",24.75],PARAMETER["latitude_of_origin",23.5020212],PARAMETER["central_meridian",120.5],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2TARIM,PROJCS["LM2TARIM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.5],PARAMETER["standard_parallel_2",41.6666667],PARAMETER["latitude_of_origin",39.0993748],PARAMETER["central_meridian",84],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2TIBET,PROJCS["LM2TIBET",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",31.99999999781213],PARAMETER["standard_parallel_2",24.99999982819388],PARAMETER["latitude_of_origin",45.00000000014619],PARAMETER["central_meridian",84.999999988817],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2TIMAN,PROJCS["LM2TIMAN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",65.6666667],PARAMETER["standard_parallel_2",68.3333333],PARAMETER["latitude_of_origin",67.0122484],PARAMETER["central_meridian",56.5],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM2TURK,PROJCS["LM2TURK",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.6666667],PARAMETER["standard_parallel_2",43.3333333],PARAMETER["latitude_of_origin",42.0047273],PARAMETER["central_meridian",28.9809583],PARAMETER["false_easting",0],PARAMETER["false_northing",524.95]] -LM2TURKG,PROJCS["LM2TURKG",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40],PARAMETER["standard_parallel_2",38],PARAMETER["latitude_of_origin",39.0023944],PARAMETER["central_meridian",35],PARAMETER["false_easting",1000000],PARAMETER["false_northing",0]] -LM2TURKY,PROJCS["LM2TURKY",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42],PARAMETER["standard_parallel_2",36],PARAMETER["latitude_of_origin",39.0215807],PARAMETER["central_meridian",35],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1003455.28]] -LM2TXCF,PROJCS["LM2TXCF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",30.1166667],PARAMETER["standard_parallel_2",31.8833333],PARAMETER["latitude_of_origin",31.0013911],PARAMETER["central_meridian",-100.3333333],PARAMETER["false_easting",2000000],PARAMETER["false_northing",485417.56],UNIT["US Foot",0.30480061]] -LM2TXCM,PROJCS["LM2TXCM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",31.8833333],PARAMETER["standard_parallel_2",30.1166667],PARAMETER["latitude_of_origin",31.0013908],PARAMETER["central_meridian",-100.3333333],PARAMETER["false_easting",700000],PARAMETER["false_northing",3147960.78]] -LM2TXNCF,PROJCS["LM2TXNCF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",32.1333333],PARAMETER["standard_parallel_2",33.9666667],PARAMETER["latitude_of_origin",33.0516209],PARAMETER["central_meridian",-97.49999999999996],PARAMETER["false_easting",2000000],PARAMETER["false_northing",503845.05],UNIT["US Foot",0.30480061]] -LM2TXNCM,PROJCS["LM2TXNCM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",33.9666667],PARAMETER["standard_parallel_2",32.1333333],PARAMETER["latitude_of_origin",33.0516206],PARAMETER["central_meridian",-98.49999999999994],PARAMETER["false_easting",600000],PARAMETER["false_northing",2153577.14]] -LM2TXSCF,PROJCS["LM2TXSCF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",28.3833333],PARAMETER["standard_parallel_2",30.2833333],PARAMETER["latitude_of_origin",29.3348392],PARAMETER["central_meridian",-98.99999999999997],PARAMETER["false_easting",2000000],PARAMETER["false_northing",545930.94],UNIT["US Foot",0.30480061]] -LM2TXSCM,PROJCS["LM2TXSCM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",30.2833333],PARAMETER["standard_parallel_2",28.3833333],PARAMETER["latitude_of_origin",29.3348388],PARAMETER["central_meridian",-98.99999999999997],PARAMETER["false_easting",600000],PARAMETER["false_northing",4166406.43]] -LM2TXSF,PROJCS["LM2TXSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",26.1666667],PARAMETER["standard_parallel_2",27.8333333],PARAMETER["latitude_of_origin",27.0010515],PARAMETER["central_meridian",-98.49999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",485012.86],UNIT["US Foot",0.30480061]] -LM2TXSM,PROJCS["LM2TXSM",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",27.8333333],PARAMETER["standard_parallel_2",26.1666667],PARAMETER["latitude_of_origin",27.0010513],PARAMETER["central_meridian",-98.49999999999994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5147838.39]] -LM2UKN,PROJCS["LM2UKN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",52],PARAMETER["standard_parallel_2",57],PARAMETER["latitude_of_origin",54.5257722],PARAMETER["central_meridian",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2USSR,PROJCS["LM2USSR",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",74],PARAMETER["standard_parallel_2",42],PARAMETER["latitude_of_origin",59.3395467],PARAMETER["central_meridian",105],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -LM2USSR1,PROJCS["LM2USSR1",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.5],PARAMETER["standard_parallel_2",51.5],PARAMETER["latitude_of_origin",48.5300074],PARAMETER["central_meridian",52],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -LM2USSR2,PROJCS["LM2USSR2",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36],PARAMETER["standard_parallel_2",44],PARAMETER["latitude_of_origin",40.039788],PARAMETER["central_meridian",63],PARAMETER["false_easting",2000000],PARAMETER["false_northing",2000000]] -LM2UTHCF,PROJCS["LM2UTHCF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39.0166667],PARAMETER["standard_parallel_2",40.65],PARAMETER["latitude_of_origin",39.8349778],PARAMETER["central_meridian",-111.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",546937.88],UNIT["US Foot",0.30480061]] -LM2UTHNF,PROJCS["LM2UTHNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",40.7166667],PARAMETER["standard_parallel_2",41.7833333],PARAMETER["latitude_of_origin",41.2507368],PARAMETER["central_meridian",-111.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",334237.62],UNIT["US Foot",0.30480061]] -LM2UTHSF,PROJCS["LM2UTHSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.2166667],PARAMETER["standard_parallel_2",38.35],PARAMETER["latitude_of_origin",37.7840698],PARAMETER["central_meridian",-111.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",406857.45],UNIT["US Foot",0.30480061]] -LM2VEN,PROJCS["LM2VEN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",7],PARAMETER["standard_parallel_2",13],PARAMETER["latitude_of_origin",10.0047415],PARAMETER["central_meridian",-65.99999999999996],PARAMETER["false_easting",1111539.44],PARAMETER["false_northing",536590.41]] -LM2VENCN,PROJCS["LM2VENCN",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",3],PARAMETER["standard_parallel_2",9.000000000000002],PARAMETER["latitude_of_origin",6.002827699999997],PARAMETER["central_meridian",-65.99999999999996],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1664090.82]] -LM2VENPC,PROJCS["LM2VENPC",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",12],PARAMETER["standard_parallel_2",6],PARAMETER["latitude_of_origin",9.0042597],PARAMETER["central_meridian",-69.99999999999994],PARAMETER["false_easting",1444072.44],PARAMETER["false_northing",1440169.11]] -LM2VIET,PROJCS["LM2VIET",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",9.000000000000002],PARAMETER["standard_parallel_2",7],PARAMETER["latitude_of_origin",8.000419599999997],PARAMETER["central_meridian",108],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2VIRNF,PROJCS["LM2VIRNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",38.0333333],PARAMETER["standard_parallel_2",39.2],PARAMETER["latitude_of_origin",38.6174705],PARAMETER["central_meridian",-78.49999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",346244.54],UNIT["US Foot",0.30480061]] -LM2VIRSF,PROJCS["LM2VIRSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",36.7666667],PARAMETER["standard_parallel_2",37.9666667],PARAMETER["latitude_of_origin",37.3674801],PARAMETER["central_meridian",-78.49999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",376513.28],UNIT["US Foot",0.30480061]] -LM2WAUST,PROJCS["LM2WAUST",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-32.65859432245691],PARAMETER["standard_parallel_2",-35.35149595957179],PARAMETER["latitude_of_origin",-25.32172549999997],PARAMETER["central_meridian",120.8940947726037],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -LM2WISCF,PROJCS["LM2WISCF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44.25],PARAMETER["standard_parallel_2",45.5],PARAMETER["latitude_of_origin",44.8761469],PARAMETER["central_meridian",-89.99999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",380166.49],UNIT["US Foot",0.30480061]] -LM2WISNF,PROJCS["LM2WISNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.5666667],PARAMETER["standard_parallel_2",46.7666667],PARAMETER["latitude_of_origin",46.1677717],PARAMETER["central_meridian",-89.99999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",365046.6],UNIT["US Foot",0.30480061]] -LM2WISSF,PROJCS["LM2WISSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",42.7333333],PARAMETER["standard_parallel_2",44.0666667],PARAMETER["latitude_of_origin",43.4012402],PARAMETER["central_meridian",-89.99999999999994],PARAMETER["false_easting",2000000],PARAMETER["false_northing",510702.31],UNIT["US Foot",0.30480061]] -LM2WSHNF,PROJCS["LM2WSHNF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",47.5],PARAMETER["standard_parallel_2",48.7333333],PARAMETER["latitude_of_origin",48.1179153],PARAMETER["central_meridian",-120.8333333],PARAMETER["false_easting",2000000],PARAMETER["false_northing",407781.44],UNIT["US Foot",0.30480061]] -LM2WSHSF,PROJCS["LM2WSHSF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.8333333],PARAMETER["standard_parallel_2",47.3333333],PARAMETER["latitude_of_origin",46.585085],PARAMETER["central_meridian",-120.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",456465.91],UNIT["US Foot",0.30480061]] -LM2WVANF,PROJCS["LM2WVANF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",39],PARAMETER["standard_parallel_2",40.25],PARAMETER["latitude_of_origin",39.6259561],PARAMETER["central_meridian",-79.5],PARAMETER["false_easting",2000000],PARAMETER["false_northing",410097.76],UNIT["US Foot",0.30480061]] -LM2WVASF,PROJCS["LM2WVASF",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",37.4833333],PARAMETER["standard_parallel_2",38.8833333],PARAMETER["latitude_of_origin",38.1844732],PARAMETER["central_meridian",-81],PARAMETER["false_easting",2000000],PARAMETER["false_northing",431297.77],UNIT["US Foot",0.30480061]] -LM2_WA_WGS84,PROJCS["LM2_WA_WGS84",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",-83.49999997620704],PARAMETER["standard_parallel_2",-81.49999997849238],PARAMETER["latitude_of_origin",-82.50000000599761],PARAMETER["central_meridian",-105.0000000232594],PARAMETER["false_easting",343122.675],PARAMETER["false_northing",203866.49]] -LMFRAN93,PROJCS["LMFRAN93",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",44],PARAMETER["standard_parallel_2",49],PARAMETER["latitude_of_origin",46.5],PARAMETER["central_meridian",3],PARAMETER["false_easting",700000],PARAMETER["false_northing",6600000],UNIT["unnamed",1]] -LOCAL,LOCAL_CS["LOCAL - (unsupported)"] -LOE7330,PROJCS["LOE7330",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.99999999900352],PARAMETER["standard_parallel_2",48.99999999557553],PARAMETER["latitude_of_origin",47.50000000000002],PARAMETER["central_meridian",13],PARAMETER["false_easting",300000],PARAMETER["false_northing",200000]] -LOE7332,PROJCS["LOE7332",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.99999999900352],PARAMETER["standard_parallel_2",48.99999999557553],PARAMETER["latitude_of_origin",47.50000000000002],PARAMETER["central_meridian",13.33333333333331],PARAMETER["false_easting",400000],PARAMETER["false_northing",400000]] -LOE8032,PROJCS["LOE8032",PROJECTION["Lambert_Conformal_Conic_2SP"],PARAMETER["standard_parallel_1",45.99999999900352],PARAMETER["standard_parallel_2",48.99999999557553],PARAMETER["latitude_of_origin",47.99999999999998],PARAMETER["central_meridian",13.33333333333331],PARAMETER["false_easting",400000],PARAMETER["false_northing",400000]] -MALAYA,LOCAL_CS["MALAYA - (unsupported)"] -MALRSOE,LOCAL_CS["MALRSOE - (unsupported)"] -MALRSOW,LOCAL_CS["MALRSOW - (unsupported)"] -MGA48,PROJCS["MGA48",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",105],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA49,PROJCS["MGA49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",111],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA50,PROJCS["MGA50",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",117],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA51,PROJCS["MGA51",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA52,PROJCS["MGA52",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",129],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA53,PROJCS["MGA53",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",135],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA54,PROJCS["MGA54",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",141],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA55,PROJCS["MGA55",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA56,PROJCS["MGA56",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",153],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA57,PROJCS["MGA57",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",159],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MGA58,PROJCS["MGA58",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",165],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -MICH_GEOREF,LOCAL_CS["MICH_GEOREF - (unsupported)"] -MPCALIF,LOCAL_CS["MPCALIF - (unsupported)"] -MR1630N,PROJCS["MR1630N",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",16.5],PARAMETER["central_meridian",39.6666667],PARAMETER["scale_factor",0.9590787188081463],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -MR21N,PROJCS["MR21N",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",21],PARAMETER["central_meridian",40],PARAMETER["scale_factor",0.933982001373389],PARAMETER["false_easting",100000],PARAMETER["false_northing",800000]] -MR36N,PROJCS["MR36N",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",36],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.8099581558643186],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MR38N,PROJCS["MR38N",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",38],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.7890166629883195],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MR43N,PROJCS["MR43N",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",43],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.7324998104788255],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MR65N,PROJCS["MR65N",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",65],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.4237899569845271],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MR7S,PROJCS["MR7S",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",-6.999999999999995],PARAMETER["central_meridian",115],PARAMETER["scale_factor",0.9925953501989099],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MRAFRICA,PROJCS["MRAFRICA",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MRANS,PROJCS["MRANS",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MRBLACKS,PROJCS["MRBLACKS",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",34],PARAMETER["scale_factor",1],PARAMETER["false_easting",2000000],PARAMETER["false_northing",0]] -MRCAMER,PROJCS["MRCAMER",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MRCARIB,PROJCS["MRCARIB",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",19],PARAMETER["central_meridian",-79.99999999999994],PARAMETER["scale_factor",0.9458579352767946],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MRCONGO,PROJCS["MRCONGO",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",-4.999999999999972],PARAMETER["central_meridian",11],PARAMETER["scale_factor",0.9962204409159013],PARAMETER["false_easting",200000],PARAMETER["false_northing",1051440.8]] -MREV,PROJCS["MREV",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",90],PARAMETER["scale_factor",1],PARAMETER["false_easting",20000000],PARAMETER["false_northing",0]] -MRGOM,PROJCS["MRGOM",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",25],PARAMETER["central_meridian",-89.99999999999994],PARAMETER["scale_factor",0.9068561129815975],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -MRINDO,PROJCS["MRINDO",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0.5386389000000007],PARAMETER["central_meridian",101.4418306],PARAMETER["scale_factor",0.9999561056335834],PARAMETER["false_easting",400000],PARAMETER["false_northing",100000]] -MRINDON,PROJCS["MRINDON",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0.539165300000001],PARAMETER["central_meridian",101.4417703],PARAMETER["scale_factor",0.9999560198000614],PARAMETER["false_easting",400000],PARAMETER["false_northing",100000]] -MRLCC,PROJCS["MRLCC",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",365392607.481532],PARAMETER["central_meridian",109.9999999888982],PARAMETER["scale_factor",0.997],PARAMETER["false_easting",3900000],PARAMETER["false_northing",900000]] -MRMALAY,PROJCS["MRMALAY",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",4.85],PARAMETER["central_meridian",109],PARAMETER["scale_factor",0.9964432276572127],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -MRNAM,PROJCS["MRNAM",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",15],PARAMETER["central_meridian",108],PARAMETER["scale_factor",0.9661424762736215],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -MRNEIEZ,PROJCS["MRNEIEZ",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",110],PARAMETER["scale_factor",0.997],PARAMETER["false_easting",3900000],PARAMETER["false_northing",900000]] -MRNEWFND,PROJCS["MRNEWFND",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",46],PARAMETER["central_meridian",-45.5],PARAMETER["scale_factor",0.6958780751155514],PARAMETER["false_easting",500000],PARAMETER["false_northing",1000000]] -MRNSEA,PROJCS["MRNSEA",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",57.8129472],PARAMETER["central_meridian",-1.999999999999966],PARAMETER["scale_factor",0.5339721600128644],PARAMETER["false_easting",2000000],PARAMETER["false_northing",0]] -MRNWL10D,PROJCS["MRNWL10D",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",20000000],PARAMETER["false_northing",10000000]] -MRVENZ,PROJCS["MRVENZ",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-64.99999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",3500000],PARAMETER["false_northing",0]] -MRVIET,PROJCS["MRVIET",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",18],PARAMETER["central_meridian",106],PARAMETER["scale_factor",0.9513606030407835],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -MRWORLD,PROJCS["MRWORLD",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",20000000],PARAMETER["false_northing",0]] -MRWORLD1,PROJCS["MRWORLD1",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",10000000],PARAMETER["false_northing",0]] -MRWORLD2,PROJCS["MRWORLD2",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -MRWSOUTH,PROJCS["MRWSOUTH",PROJECTION["Mercator_1SP"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",20000000],PARAMETER["false_northing",20000000]] -MSAFRICA,LOCAL_CS["MSAFRICA - (unsupported)"] -MW180E,LOCAL_CS["MW180E - (unsupported)"] -MW90EAST,LOCAL_CS["MW90EAST - (unsupported)"] -MW90WEST,LOCAL_CS["MW90WEST - (unsupported)"] -MWSPHERE,LOCAL_CS["MWSPHERE - (unsupported)"] -NTM51,PROJCS["NTM51",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -NTM52,PROJCS["NTM52",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",129],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -NTM53,PROJCS["NTM53",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",135],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -NTM54,PROJCS["NTM54",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",141],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -NTM55,PROJCS["NTM55",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -NTM56,PROJCS["NTM56",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",153],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -NUTM01,PROJCS["NUTM01",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-177],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM01_FT,PROJCS["NUTM01_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-177.0000000000003],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM02,PROJCS["NUTM02",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-171],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM02_FT,PROJCS["NUTM02_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-171.0000000000003],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM03,PROJCS["NUTM03",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-165],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM03_FT,PROJCS["NUTM03_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-165.0000000000003],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM04,PROJCS["NUTM04",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-159],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM04_FT,PROJCS["NUTM04_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-159.0000000000003],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM05,PROJCS["NUTM05",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-153],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM05_FT,PROJCS["NUTM05_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-153.0000000000003],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM06,PROJCS["NUTM06",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM06_FT,PROJCS["NUTM06_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-147.0000000000003],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM07,PROJCS["NUTM07",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-141],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM07_FT,PROJCS["NUTM07_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-141.0000000000003],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM08,PROJCS["NUTM08",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-135],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM08_FT,PROJCS["NUTM08_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-135.0000000000003],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM09,PROJCS["NUTM09",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-129],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM09_FT,PROJCS["NUTM09_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-129.0000000000003],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM10,PROJCS["NUTM10",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM10_FT,PROJCS["NUTM10_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-123.0000000000002],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM11,PROJCS["NUTM11",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-117],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM11_FT,PROJCS["NUTM11_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-117.0000000000002],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM12,PROJCS["NUTM12",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-111],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM12_FT,PROJCS["NUTM12_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-111.0000000000002],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM13,PROJCS["NUTM13",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-105],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM13_FT,PROJCS["NUTM13_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-105.0000000000002],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM14,PROJCS["NUTM14",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-99],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM14_FT,PROJCS["NUTM14_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-99.0000000000002],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM15,PROJCS["NUTM15",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-93],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM15_FT,PROJCS["NUTM15_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-92.99999999999996],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM16,PROJCS["NUTM16",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-87],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM16_FT,PROJCS["NUTM16_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-86.99999999999994],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM17,PROJCS["NUTM17",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM17_FT,PROJCS["NUTM17_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM18,PROJCS["NUTM18",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-75],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM18_FT,PROJCS["NUTM18_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-75.00000000000016],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM19,PROJCS["NUTM19",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-69],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM19_FT,PROJCS["NUTM19_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-69.00000000000013],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM20,PROJCS["NUTM20",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-63],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM20_FT,PROJCS["NUTM20_FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-63.00000000000013],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["unnamed",0.30480060966]] -NUTM21,PROJCS["NUTM21",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-57],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM22,PROJCS["NUTM22",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-51],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM23,PROJCS["NUTM23",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-45],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM24,PROJCS["NUTM24",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-39],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM25,PROJCS["NUTM25",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-33],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM26,PROJCS["NUTM26",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-27],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM27,PROJCS["NUTM27",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-21],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM28,PROJCS["NUTM28",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-15],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM29,PROJCS["NUTM29",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM30,PROJCS["NUTM30",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM31,PROJCS["NUTM31",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM32,PROJCS["NUTM32",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM33,PROJCS["NUTM33",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM34,PROJCS["NUTM34",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",21],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM35,PROJCS["NUTM35",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",27],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM36,PROJCS["NUTM36",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",33],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM37,PROJCS["NUTM37",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",39],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM38,PROJCS["NUTM38",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",45],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM39,PROJCS["NUTM39",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",51],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM40,PROJCS["NUTM40",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",57],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM41,PROJCS["NUTM41",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",63],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM42,PROJCS["NUTM42",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",69],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM43,PROJCS["NUTM43",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",75],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM44,PROJCS["NUTM44",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM45,PROJCS["NUTM45",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",87],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM46,PROJCS["NUTM46",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",93],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM47,PROJCS["NUTM47",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",99],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM48,PROJCS["NUTM48",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",105],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM49,PROJCS["NUTM49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",111],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM50,PROJCS["NUTM50",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",117],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM51,PROJCS["NUTM51",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM52,PROJCS["NUTM52",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",129],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM53,PROJCS["NUTM53",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",135],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM54,PROJCS["NUTM54",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",141],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM55,PROJCS["NUTM55",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM56,PROJCS["NUTM56",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",153],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM57,PROJCS["NUTM57",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",159],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM58,PROJCS["NUTM58",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",165],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM59,PROJCS["NUTM59",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",171],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NUTM60,PROJCS["NUTM60",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",177],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]] -NZAMUR49,PROJCS["NZAMUR49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-42.68911658055557],PARAMETER["central_meridian",173.0101333888891],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZBLUF49,PROJCS["NZBLUF49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-46.60000961111109],PARAMETER["central_meridian",168.342872],PARAMETER["scale_factor",1],PARAMETER["false_easting",300002.66],PARAMETER["false_northing",699999.58],UNIT["unnamed",1]] -NZBULL49,PROJCS["NZBULL49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.81080286111109],PARAMETER["central_meridian",171.5812600611113],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZBYPL49,PROJCS["NZBYPL49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-37.76124981111111],PARAMETER["central_meridian",176.4661972499998],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZCOLL49,PROJCS["NZCOLL49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-40.7147590611111],PARAMETER["central_meridian",172.6720465],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZGAWL49,PROJCS["NZGAWL49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-43.74871156111108],PARAMETER["central_meridian",171.3607484694444],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZGREY49,PROJCS["NZGREY49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-42.33369428055552],PARAMETER["central_meridian",171.5497713111112],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZHAWK49,PROJCS["NZHAWK49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-39.65092931111111],PARAMETER["central_meridian",176.6736805305557],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZHOKI49,PROJCS["NZHOKI49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-42.88632236111108],PARAMETER["central_meridian",170.9799934999998],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZJACK49,PROJCS["NZJACK49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-43.97780288888887],PARAMETER["central_meridian",168.606267],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZKARA49,PROJCS["NZKARA49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.28991153055556],PARAMETER["central_meridian",172.1090281888886],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZLIND49,PROJCS["NZLIND49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-44.73526796944446],PARAMETER["central_meridian",169.4677550805554],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZMARL49,PROJCS["NZMARL49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.54448666944445],PARAMETER["central_meridian",173.8020741111113],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZMG,LOCAL_CS["NZMG - (unsupported)"] -NZMTED49,PROJCS["NZMTED49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-36.87986528055556],PARAMETER["central_meridian",174.764339361111],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZMTNI49,PROJCS["NZMTNI49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-45.13290258055557],PARAMETER["central_meridian",168.3986411888889],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZMTPL49,PROJCS["NZMTPL49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-43.59063758055553],PARAMETER["central_meridian",172.7271935805556],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZMTYO49,PROJCS["NZMTYO49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-45.56372616944442],PARAMETER["central_meridian",167.7388617805554],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZNELS49,PROJCS["NZNELS49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.27454471944445],PARAMETER["central_meridian",173.2993168111111],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZNTAI49,PROJCS["NZNTAI49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-45.8615133611111],PARAMETER["central_meridian",170.2825891111109],PARAMETER["scale_factor",0.99996],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZOBSE49,PROJCS["NZOBSE49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-45.81619661111111],PARAMETER["central_meridian",170.6285951694446],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZOKAR49,PROJCS["NZOKAR49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-43.11012813888885],PARAMETER["central_meridian",170.2609258305558],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZPOVE49,PROJCS["NZPOVE49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-38.62470278055553],PARAMETER["central_meridian",177.8856362805553],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZTARA49,PROJCS["NZTARA49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-39.13575831111109],PARAMETER["central_meridian",174.2280117500001],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZTIMA49,PROJCS["NZTIMA49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-44.40222036111108],PARAMETER["central_meridian",171.0572508305555],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZTM,PROJCS["NZTM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",173],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1600000],PARAMETER["false_northing",10000000]] -NZTUHI49,PROJCS["NZTUHI49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-39.51247038888886],PARAMETER["central_meridian",175.6400368111111],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZWAIR49,PROJCS["NZWAIR49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-40.9255326388889],PARAMETER["central_meridian",175.6473496694445],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZWANG49,PROJCS["NZWANG49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-40.24194713888888],PARAMETER["central_meridian",175.4880996111111],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -NZWELL49,PROJCS["NZWELL49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.30131963888891],PARAMETER["central_meridian",174.7766231111108],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",700000],UNIT["unnamed",1]] -OG45N45E,LOCAL_CS["OG45N45E - (unsupported)"] -OG55N80E,LOCAL_CS["OG55N80E - (unsupported)"] -OGEQU90W,LOCAL_CS["OGEQU90W - (unsupported)"] -OGNPOLE,LOCAL_CS["OGNPOLE - (unsupported)"] -OMALSK1F,LOCAL_CS["OMALSK1F - (unsupported)"] -OMALSK1M,LOCAL_CS["OMALSK1M - (unsupported)"] -OSASIA,LOCAL_CS["OSASIA - (unsupported)"] -OSNAMER,LOCAL_CS["OSNAMER - (unsupported)"] -OSSYRIA,LOCAL_CS["OSSYRIA - (unsupported)"] -PCALASKA,LOCAL_CS["PCALASKA - (unsupported)"] -PCALBERT,LOCAL_CS["PCALBERT - (unsupported)"] -PCG94,PROJCS["PCG94",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",115.8166666666661],PARAMETER["scale_factor",0.99999906],PARAMETER["false_easting",50000],PARAMETER["false_northing",3800000]] -PCNSLOPE,LOCAL_CS["PCNSLOPE - (unsupported)"] -PCNWT,LOCAL_CS["PCNWT - (unsupported)"] -PCTRUSFT,LOCAL_CS["PCTRUSFT - (unsupported)"] -PCWORLD,LOCAL_CS["PCWORLD - (unsupported)"] -PSCANADA,LOCAL_CS["PSCANADA - (unsupported)"] -PSFALK,LOCAL_CS["PSFALK - (unsupported)"] -PSGREEN,LOCAL_CS["PSGREEN - (unsupported)"] -PSN150W,LOCAL_CS["PSN150W - (unsupported)"] -PSNORTH,LOCAL_CS["PSNORTH - (unsupported)"] -PSNORWAY,LOCAL_CS["PSNORWAY - (unsupported)"] -PSNTH000,LOCAL_CS["PSNTH000 - (unsupported)"] -PSNTH045,LOCAL_CS["PSNTH045 - (unsupported)"] -PSNTH180,LOCAL_CS["PSNTH180 - (unsupported)"] -PSSOUTH,LOCAL_CS["PSSOUTH - (unsupported)"] -PSSTH000,LOCAL_CS["PSSTH000 - (unsupported)"] -PS_WGS84,LOCAL_CS["PS_WGS84 - (unsupported)"] -PUW1992,PROJCS["PUW1992",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",19],PARAMETER["scale_factor",0.9993],PARAMETER["false_easting",500000],PARAMETER["false_northing",-5300000]] -PUWG1992,PROJCS["PUWG1992",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",19],PARAMETER["scale_factor",0.9993],PARAMETER["false_easting",500000],PARAMETER["false_northing",-5300000]] -QC_MTM05,PROJCS["QC_MTM05",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-64.49999999999996],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",304800],PARAMETER["false_northing",0]] -QC_MTM06,PROJCS["QC_MTM06",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-67.49999999999996],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",304800],PARAMETER["false_northing",0]] -QC_MTM07,PROJCS["QC_MTM07",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-70.49999999999996],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",304800],PARAMETER["false_northing",0]] -QC_MTM08,PROJCS["QC_MTM08",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-73.49999999999997],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",304800],PARAMETER["false_northing",0]] -QC_MTM09,PROJCS["QC_MTM09",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-76.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",304800],PARAMETER["false_northing",0]] -QC_MTM10,PROJCS["QC_MTM10",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-79.5],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",304800],PARAMETER["false_northing",0]] -RO90E,LOCAL_CS["RO90E - (unsupported)"] -RO90W,LOCAL_CS["RO90W - (unsupported)"] -ROBINSON,LOCAL_CS["ROBINSON - (unsupported)"] -ROS4270,LOCAL_CS["ROS4270 - (unsupported)"] -RPBRA,LOCAL_CS["RPBRA - (unsupported)"] -RPMON,LOCAL_CS["RPMON - (unsupported)"] -RPNAM,LOCAL_CS["RPNAM - (unsupported)"] -RPSIB,LOCAL_CS["RPSIB - (unsupported)"] -RPUSSR,LOCAL_CS["RPUSSR - (unsupported)"] -S34JFRX,LOCAL_CS["S34JFRX - (unsupported)"] -S34SRX,LOCAL_CS["S34SRX - (unsupported)"] -S45BRX,LOCAL_CS["S45BRX - (unsupported)"] -SNSPHERE,LOCAL_CS["SNSPHERE - (unsupported)"] -SNWORLD,LOCAL_CS["SNWORLD - (unsupported)"] -STME24,PROJCS["STME24",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",24],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",5000000],PARAMETER["false_northing",10000000]] -STMLO11,LOCAL_CS["STMLO11 - (unsupported)"] -STMLO13,LOCAL_CS["STMLO13 - (unsupported)"] -STMLO15,LOCAL_CS["STMLO15 - (unsupported)"] -STMLO17,LOCAL_CS["STMLO17 - (unsupported)"] -STMLO19,LOCAL_CS["STMLO19 - (unsupported)"] -STMLO21,LOCAL_CS["STMLO21 - (unsupported)"] -STMLO23,LOCAL_CS["STMLO23 - (unsupported)"] -STMLO25,LOCAL_CS["STMLO25 - (unsupported)"] -STMLO25F,LOCAL_CS["STMLO25F - (unsupported)"] -STMLO27,LOCAL_CS["STMLO27 - (unsupported)"] -STMLO27F,LOCAL_CS["STMLO27F - (unsupported)"] -STMLO29,LOCAL_CS["STMLO29 - (unsupported)"] -STMLO31,LOCAL_CS["STMLO31 - (unsupported)"] -STMLO33,LOCAL_CS["STMLO33 - (unsupported)"] -STMLO35,LOCAL_CS["STMLO35 - (unsupported)"] -STMLO37,LOCAL_CS["STMLO37 - (unsupported)"] -STMLO39,LOCAL_CS["STMLO39 - (unsupported)"] -STMLO41,LOCAL_CS["STMLO41 - (unsupported)"] -STMLO43,LOCAL_CS["STMLO43 - (unsupported)"] -STMLO9,LOCAL_CS["STMLO9 - (unsupported)"] -SUTM01,PROJCS["SUTM01",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-177],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM02,PROJCS["SUTM02",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-171],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM03,PROJCS["SUTM03",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-165],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM04,PROJCS["SUTM04",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-159],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM05,PROJCS["SUTM05",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-153],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM06,PROJCS["SUTM06",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM07,PROJCS["SUTM07",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-141],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM08,PROJCS["SUTM08",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-135],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM09,PROJCS["SUTM09",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-129],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM10,PROJCS["SUTM10",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM11,PROJCS["SUTM11",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-117],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM12,PROJCS["SUTM12",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-111],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM13,PROJCS["SUTM13",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-105],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM14,PROJCS["SUTM14",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-99],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM15,PROJCS["SUTM15",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-93],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM16,PROJCS["SUTM16",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-87],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM17,PROJCS["SUTM17",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM18,PROJCS["SUTM18",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-75],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM19,PROJCS["SUTM19",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-69],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM20,PROJCS["SUTM20",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-63],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM21,PROJCS["SUTM21",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-57],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM22,PROJCS["SUTM22",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-51],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM23,PROJCS["SUTM23",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-45],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM24,PROJCS["SUTM24",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-39],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM25,PROJCS["SUTM25",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-33],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM26,PROJCS["SUTM26",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-27],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM27,PROJCS["SUTM27",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-21],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM28,PROJCS["SUTM28",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-15],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM29,PROJCS["SUTM29",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM30,PROJCS["SUTM30",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM31,PROJCS["SUTM31",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM32,PROJCS["SUTM32",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM33,PROJCS["SUTM33",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM34,PROJCS["SUTM34",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",21],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM35,PROJCS["SUTM35",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",27],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM36,PROJCS["SUTM36",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",33],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM37,PROJCS["SUTM37",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",39],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM38,PROJCS["SUTM38",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",45],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM39,PROJCS["SUTM39",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",51],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM40,PROJCS["SUTM40",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",57],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM41,PROJCS["SUTM41",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",63],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM42,PROJCS["SUTM42",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",69],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM43,PROJCS["SUTM43",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",75],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM44,PROJCS["SUTM44",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM45,PROJCS["SUTM45",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",87],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM46,PROJCS["SUTM46",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",93],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM47,PROJCS["SUTM47",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",99],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM48,PROJCS["SUTM48",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",105],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM49,PROJCS["SUTM49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",111],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM50,PROJCS["SUTM50",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",117],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM51,PROJCS["SUTM51",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM52,PROJCS["SUTM52",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",129],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM53,PROJCS["SUTM53",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",135],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM54,PROJCS["SUTM54",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",141],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM55,PROJCS["SUTM55",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM56,PROJCS["SUTM56",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",153],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM57,PROJCS["SUTM57",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",159],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM58,PROJCS["SUTM58",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",165],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM59,PROJCS["SUTM59",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",171],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SUTM60,PROJCS["SUTM60",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",177],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000],UNIT["Meter",1]] -SWISSNEW,LOCAL_CS["SWISSNEW - (unsupported)"] -SWISSOLD,LOCAL_CS["SWISSOLD - (unsupported)"] -TAIWAN,PROJCS["TAIWAN",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",120.9995190069077],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",250000],PARAMETER["false_northing",0]] -TM103_30,PROJCS["TM103_30",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",103.5],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TM16E,PROJCS["TM16E",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",16],PARAMETER["scale_factor",0.95],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TM36,PROJCS["TM36",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",36],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TM36E,PROJCS["TM36E",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",36],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TM42E,PROJCS["TM42E",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",42],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TM54E,PROJCS["TM54E",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",54],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TM54WCM,PROJCS["TM54WCM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-54],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TM6W,PROJCS["TM6W",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-5.999999999999955],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMAFRICA,PROJCS["TMAFRICA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15],PARAMETER["scale_factor",0.99],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMAFT15,PROJCS["TMAFT15",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-92.99999999999996],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.5],PARAMETER["false_northing",0],UNIT["unnamed",0.304800641]] -TMAFT16,PROJCS["TMAFT16",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-86.99999999999994],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.5],PARAMETER["false_northing",0],UNIT["unnamed",0.304800641]] -TMAFT17,PROJCS["TMAFT17",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.5],PARAMETER["false_northing",0],UNIT["unnamed",0.304800641]] -TMALABEF,PROJCS["TMALABEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.5],PARAMETER["central_meridian",-85.83333329999994],PARAMETER["scale_factor",0.99996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALABEF83,PROJCS["TMALABEF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.50000000812049],PARAMETER["central_meridian",-85.83333329732486],PARAMETER["scale_factor",0.99996],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALABEM,PROJCS["TMALABEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.50000000812049],PARAMETER["central_meridian",-85.83333335462063],PARAMETER["scale_factor",0.99996],PARAMETER["false_easting",200000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMALABWF,PROJCS["TMALABWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30],PARAMETER["central_meridian",-87.49999999999996],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALABWF83,PROJCS["TMALABWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.00000002301578],PARAMETER["central_meridian",-87.49999997163637],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALABWM,PROJCS["TMALABWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30],PARAMETER["central_meridian",-87.49999999999996],PARAMETER["scale_factor",0.9999333333],PARAMETER["false_easting",600000],PARAMETER["false_northing",0]] -TMALSK2F,PROJCS["TMALSK2F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-142],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK2F83,PROJCS["TMALSK2F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",53.99999999559177],PARAMETER["central_meridian",-142.0000000096286],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK2M,PROJCS["TMALSK2M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-142],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMALSK3F,PROJCS["TMALSK3F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-146],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK3F83,PROJCS["TMALSK3F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",53.99999999559177],PARAMETER["central_meridian",-146.000000005058],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK3M,PROJCS["TMALSK3M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-146],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMALSK4F,PROJCS["TMALSK4F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-150],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK4F83,PROJCS["TMALSK4F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",53.99999999559177],PARAMETER["central_meridian",-150.0000000004873],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK4M,PROJCS["TMALSK4M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-150],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMALSK5F,PROJCS["TMALSK5F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-154],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK5F83,PROJCS["TMALSK5F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",53.99999999559177],PARAMETER["central_meridian",-153.9999999959166],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK5M,PROJCS["TMALSK5M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-154],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMALSK6F,PROJCS["TMALSK6F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-158],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK6F83,PROJCS["TMALSK6F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",53.99999999559177],PARAMETER["central_meridian",-157.999999991346],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK6M,PROJCS["TMALSK6M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-158],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMALSK7F,PROJCS["TMALSK7F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-162],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK7F83,PROJCS["TMALSK7F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",53.99999999559177],PARAMETER["central_meridian",-161.9999999867753],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK7M,PROJCS["TMALSK7M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-162],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMALSK8F,PROJCS["TMALSK8F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-166],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK8F83,PROJCS["TMALSK8F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",53.99999999559177],PARAMETER["central_meridian",-165.9999999822046],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK8M,PROJCS["TMALSK8M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-166],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMALSK9F,PROJCS["TMALSK9F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-170],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK9F83,PROJCS["TMALSK9F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",53.99999999559177],PARAMETER["central_meridian",-169.999999977634],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMALSK9M,PROJCS["TMALSK9M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",54],PARAMETER["central_meridian",-170],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMAMG48,PROJCS["TMAMG48",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",105],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG49,PROJCS["TMAMG49",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",111],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG50,PROJCS["TMAMG50",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",117],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG51,PROJCS["TMAMG51",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",123],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG52,PROJCS["TMAMG52",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",129],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG53,PROJCS["TMAMG53",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",135],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG54,PROJCS["TMAMG54",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",141],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG55,PROJCS["TMAMG55",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG56,PROJCS["TMAMG56",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",153],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG57,PROJCS["TMAMG57",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",159],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMAMG58,PROJCS["TMAMG58",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",165],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMARG1,PROJCS["TMARG1",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-89.99999999999994],PARAMETER["central_meridian",-71.99999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",1500000],PARAMETER["false_northing",0]] -TMARG2,PROJCS["TMARG2",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-89.99999999999994],PARAMETER["central_meridian",-68.99999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",2500000],PARAMETER["false_northing",0]] -TMARG3,PROJCS["TMARG3",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-89.99999999999994],PARAMETER["central_meridian",-65.99999999999996],PARAMETER["scale_factor",1],PARAMETER["false_easting",3500000],PARAMETER["false_northing",0]] -TMARG4,PROJCS["TMARG4",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-89.99999999999994],PARAMETER["central_meridian",-62.99999999999995],PARAMETER["scale_factor",1],PARAMETER["false_easting",4500000],PARAMETER["false_northing",0]] -TMARG5,PROJCS["TMARG5",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-89.99999999999994],PARAMETER["central_meridian",-59.99999999999994],PARAMETER["scale_factor",1],PARAMETER["false_easting",5500000],PARAMETER["false_northing",0]] -TMARG54,PROJCS["TMARG54",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-71.99999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",7500000],PARAMETER["false_northing",10002288.2999]] -TMARG57,PROJCS["TMARG57",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-68.99999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",6500000],PARAMETER["false_northing",10002288.2999]] -TMARG6,PROJCS["TMARG6",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-89.99999999999994],PARAMETER["central_meridian",-56.99999999999994],PARAMETER["scale_factor",1],PARAMETER["false_easting",6500000],PARAMETER["false_northing",0]] -TMARG60,PROJCS["TMARG60",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-65.99999999999996],PARAMETER["scale_factor",1],PARAMETER["false_easting",5500000],PARAMETER["false_northing",10002288.2999]] -TMARG63,PROJCS["TMARG63",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-62.99999999999995],PARAMETER["scale_factor",1],PARAMETER["false_easting",4500000],PARAMETER["false_northing",10002288.2999]] -TMARG66,PROJCS["TMARG66",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-59.99999999999994],PARAMETER["scale_factor",1],PARAMETER["false_easting",3500000],PARAMETER["false_northing",10002288.2999]] -TMARG69,PROJCS["TMARG69",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-56.99999999999994],PARAMETER["scale_factor",1],PARAMETER["false_easting",2500000],PARAMETER["false_northing",10002288.2999]] -TMARG7,PROJCS["TMARG7",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-89.99999999999994],PARAMETER["central_meridian",-54],PARAMETER["scale_factor",1],PARAMETER["false_easting",7500000],PARAMETER["false_northing",0]] -TMARG72,PROJCS["TMARG72",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-54],PARAMETER["scale_factor",1],PARAMETER["false_easting",1500000],PARAMETER["false_northing",10002288.2999]] -TMARG8,PROJCS["TMARG8",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-68.99999999999997],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",2500000],PARAMETER["false_northing",10000000]] -TMARG9,PROJCS["TMARG9",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-56.99999999999994],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",2500000],PARAMETER["false_northing",10000000]] -TMARIZCF,PROJCS["TMARIZCF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-111.9166667],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMARIZCF83,PROJCS["TMARIZCF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-111.9166667],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",700000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMARIZEF,PROJCS["TMARIZEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-110.1666667],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMARIZEF83,PROJCS["TMARIZEF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-110.1666667],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",700000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMARIZWF,PROJCS["TMARIZWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-113.75],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMARIZWF83,PROJCS["TMARIZWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-113.75],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",700000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMARUBA,PROJCS["TMARUBA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",12.5200894],PARAMETER["central_meridian",-69.99294669999993],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",10000],PARAMETER["false_northing",15000]] -TMAUSC,PROJCS["TMAUSC",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",13.3333333],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMAUSE,PROJCS["TMAUSE",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",16.3333333],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMAUSW,PROJCS["TMAUSW",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",10.3333333],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMAUSYD1,PROJCS["TMAUSYD1",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-34],PARAMETER["central_meridian",116],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",0.914391796]] -TMAUSYD2,PROJCS["TMAUSYD2",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-34],PARAMETER["central_meridian",121],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",0.914391796]] -TMAUSYD3,PROJCS["TMAUSYD3",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-34],PARAMETER["central_meridian",126],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",0.914391796]] -TMAUSYD4,PROJCS["TMAUSYD4",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-34],PARAMETER["central_meridian",131],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",0.914391796]] -TMAUSYD5,PROJCS["TMAUSYD5",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-34],PARAMETER["central_meridian",136],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",0.914391796]] -TMAUSYD6,PROJCS["TMAUSYD6",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-34],PARAMETER["central_meridian",141],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",0.914391796]] -TMAUSYD7,PROJCS["TMAUSYD7",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-34],PARAMETER["central_meridian",146],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",0.914391796]] -TMAUSYD8,PROJCS["TMAUSYD8",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-34],PARAMETER["central_meridian",151],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",0.914391796]] -TMBAHR,PROJCS["TMBAHR",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",51],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMBOAG1R,PROJCS["TMBOAG1R",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-3.452333299999991],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1500000],PARAMETER["false_northing",0]] -TMBOAG2R,PROJCS["TMBOAG2R",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",2.547666699999998],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",2520000],PARAMETER["false_northing",0]] -TMBOAGA1,PROJCS["TMBOAGA1",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9.000000000000002],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1500000],PARAMETER["false_northing",0]] -TMBOAGA2,PROJCS["TMBOAGA2",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",2520000],PARAMETER["false_northing",0]] -TMBOGEQ,PROJCS["TMBOGEQ",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-74.08091659999998],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMBOH,PROJCS["TMBOH",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",117],PARAMETER["scale_factor",1],PARAMETER["false_easting",20500000],PARAMETER["false_northing",0]] -TMBOL1,PROJCS["TMBOL1",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-65.99999999999996],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMBONAIR,PROJCS["TMBONAIR",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",12.1797141],PARAMETER["central_meridian",-68.25184439999994],PARAMETER["scale_factor",1],PARAMETER["false_easting",23000],PARAMETER["false_northing",20980.49]] -TMBUCHAN,PROJCS["TMBUCHAN",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMBURMA,PROJCS["TMBURMA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",96],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMCM116,PROJCS["TMCM116",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",116],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMCM126,PROJCS["TMCM126",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",126],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMCM133E,PROJCS["TMCM133E",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",133],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMCM157E,PROJCS["TMCM157E",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",157],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMCOLB,PROJCS["TMCOLB",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4.5990472],PARAMETER["central_meridian",-74.08091669999996],PARAMETER["scale_factor",1],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -TMCOLE,PROJCS["TMCOLE",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4.5990472],PARAMETER["central_meridian",-68.08091669999996],PARAMETER["scale_factor",1],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -TMCOLEC,PROJCS["TMCOLEC",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4.5990472],PARAMETER["central_meridian",-71.08091669999996],PARAMETER["scale_factor",1],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -TMCOLW,PROJCS["TMCOLW",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4.5990472],PARAMETER["central_meridian",-77.08091669999996],PARAMETER["scale_factor",1],PARAMETER["false_easting",1000000],PARAMETER["false_northing",1000000]] -TMCONGO,PROJCS["TMCONGO",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",11],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMCORONA,PROJCS["TMCORONA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",33.76446202777643],PARAMETER["central_meridian",-117.4745428888658],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMDELWRF,PROJCS["TMDELWRF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38],PARAMETER["central_meridian",-75.41666669999995],PARAMETER["scale_factor",0.999995],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMDELWRF83,PROJCS["TMDELWRF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.00000001387444],PARAMETER["central_meridian",-75.41666671179337],PARAMETER["scale_factor",0.999995],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMDELWRM,PROJCS["TMDELWRM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.00000001387444],PARAMETER["central_meridian",-75.41666665449759],PARAMETER["scale_factor",0.999995],PARAMETER["false_easting",200000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMEG24P,PROJCS["TMEG24P",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",34.5],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",0]] -TMEGEPTU,PROJCS["TMEGEPTU",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",11],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMEGMFBP,PROJCS["TMEGMFBP",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",34.5],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",0]] -TMEGSA87,PROJCS["TMEGSA87",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",23.99999882666041],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMEGYPTB,PROJCS["TMEGYPTB",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30],PARAMETER["central_meridian",35],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",1100000]] -TMEGYPTG,PROJCS["TMEGYPTG",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30],PARAMETER["central_meridian",35],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",1100000]] -TMEGYPTP,PROJCS["TMEGYPTP",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30],PARAMETER["central_meridian",27],PARAMETER["scale_factor",1],PARAMETER["false_easting",700000],PARAMETER["false_northing",200000]] -TMEGYPTR,PROJCS["TMEGYPTR",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30],PARAMETER["central_meridian",31],PARAMETER["scale_factor",1],PARAMETER["false_easting",615000],PARAMETER["false_northing",810000]] -TMEGYPTS,PROJCS["TMEGYPTS",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30],PARAMETER["central_meridian",27],PARAMETER["scale_factor",1],PARAMETER["false_easting",700000],PARAMETER["false_northing",1200000]] -TMEGYPTW,PROJCS["TMEGYPTW",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",28],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMETHIOP,PROJCS["TMETHIOP",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",40],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMFIN0,PROJCS["TMFIN0",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",17.99999625520633],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMFIN1,PROJCS["TMFIN1",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",20.99999754093336],PARAMETER["scale_factor",1],PARAMETER["false_easting",1500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMFIN2,PROJCS["TMFIN2",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",23.99999882666041],PARAMETER["scale_factor",1],PARAMETER["false_easting",2500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMFIN3,PROJCS["TMFIN3",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",27.00000011238744],PARAMETER["scale_factor",1],PARAMETER["false_easting",3500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMFIN4,PROJCS["TMFIN4",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",29.99999566853653],PARAMETER["scale_factor",1],PARAMETER["false_easting",4500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMFIN5,PROJCS["TMFIN5",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",32.99999695426357],PARAMETER["scale_factor",1],PARAMETER["false_easting",5500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMFLRAEF,PROJCS["TMFLRAEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",24.3333333],PARAMETER["central_meridian",-81],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMFLRAEF83,PROJCS["TMFLRAEF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",24.33333329597914],PARAMETER["central_meridian",-80.99999999338766],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMFLRAEM,PROJCS["TMFLRAEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",24.33333335327492],PARAMETER["central_meridian",-80.99999999338766],PARAMETER["scale_factor",0.99994118],PARAMETER["false_easting",200000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMFLRAWF,PROJCS["TMFLRAWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",24.3333333],PARAMETER["central_meridian",-81.99999999999997],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMFLRAWF83,PROJCS["TMFLRAWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",24.3333333],PARAMETER["central_meridian",-82.00000002089288],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMFLRAWM,PROJCS["TMFLRAWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",24.33333335327492],PARAMETER["central_meridian",-82.00000002089288],PARAMETER["scale_factor",0.99994118],PARAMETER["false_easting",200000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMGCWEG2,PROJCS["TMGCWEG2",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-90.64999999999993],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",1640416.67],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMGEOREF,PROJCS["TMGEOREF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30],PARAMETER["central_meridian",-82.16666669999994],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMGEOREF83,PROJCS["TMGEOREF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.00000002301578],PARAMETER["central_meridian",-82.16666668259445],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMGEOREM,PROJCS["TMGEOREM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.00000002301578],PARAMETER["central_meridian",-82.16666668259445],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",200000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMGEORWF,PROJCS["TMGEORWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30],PARAMETER["central_meridian",-84.16666669999995],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMGEORWF83,PROJCS["TMGEORWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.00000002301578],PARAMETER["central_meridian",-84.16666668030912],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",2296583.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMGEORWM,PROJCS["TMGEORWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.00000002301578],PARAMETER["central_meridian",-84.16666668030912],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",700000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMGER1,PROJCS["TMGER1",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",1],PARAMETER["false_easting",1500000],PARAMETER["false_northing",0]] -TMGER2,PROJCS["TMGER2",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",6],PARAMETER["scale_factor",1],PARAMETER["false_easting",2500000],PARAMETER["false_northing",0]] -TMGER3,PROJCS["TMGER3",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",9.000000000000002],PARAMETER["scale_factor",1],PARAMETER["false_easting",3500000],PARAMETER["false_northing",0]] -TMGER4,PROJCS["TMGER4",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",12],PARAMETER["scale_factor",1],PARAMETER["false_easting",4500000],PARAMETER["false_northing",0]] -TMGER5,PROJCS["TMGER5",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15],PARAMETER["scale_factor",1],PARAMETER["false_easting",5500000],PARAMETER["false_northing",0]] -TMGHANA,PROJCS["TMGHANA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4.666666599999998],PARAMETER["central_meridian",-0.9999999999999829],PARAMETER["scale_factor",0.99975],PARAMETER["false_easting",274319.51],PARAMETER["false_northing",0]] -TMGHANAF,PROJCS["TMGHANAF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4.6666667],PARAMETER["central_meridian",-0.9999999999999829],PARAMETER["scale_factor",0.99975],PARAMETER["false_easting",900000],PARAMETER["false_northing",0],UNIT["unnamed",0.304799472]] -TMGHANAY,PROJCS["TMGHANAY",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4.6666667],PARAMETER["central_meridian",-0.9999999999999829],PARAMETER["scale_factor",0.99975],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["unnamed",0.91439841462]] -TMGK20E,PROJCS["TMGK20E",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",120],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN05,PROJCS["TMGKN05",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",27],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN06,PROJCS["TMGKN06",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",33],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN07,PROJCS["TMGKN07",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",39],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN10,PROJCS["TMGKN10",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",57],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN11,PROJCS["TMGKN11",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",63],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN12,PROJCS["TMGKN12",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",69],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN13,PROJCS["TMGKN13",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",75],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN14,PROJCS["TMGKN14",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",81],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN15,PROJCS["TMGKN15",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",86.99999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN16,PROJCS["TMGKN16",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",93],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN17,PROJCS["TMGKN17",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",98.99999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN18,PROJCS["TMGKN18",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",105],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN19,PROJCS["TMGKN19",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",111],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN20,PROJCS["TMGKN20",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",117],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN20W,PROJCS["TMGKN20W",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",117],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN21,PROJCS["TMGKN21",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",123],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN21W,PROJCS["TMGKN21W",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",123],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN22,PROJCS["TMGKN22",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",129],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN23,PROJCS["TMGKN23",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",135],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN8,PROJCS["TMGKN8",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",45],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMGKN9,PROJCS["TMGKN9",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",51],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMHAWI1F,PROJCS["TMHAWI1F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",18.8333333],PARAMETER["central_meridian",-155.5],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI1F83,PROJCS["TMHAWI1F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",18.83333328793987],PARAMETER["central_meridian",-155.5000000085266],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI1M,PROJCS["TMHAWI1M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",18.83333334523564],PARAMETER["central_meridian",-155.5000000085266],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMHAWI2F,PROJCS["TMHAWI2F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",20.3333333],PARAMETER["central_meridian",-156.6666666],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI2F83,PROJCS["TMHAWI2F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",20.33333330054981],PARAMETER["central_meridian",-156.6666665831418],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI2M,PROJCS["TMHAWI2M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",20.33333335784559],PARAMETER["central_meridian",-156.6666666404376],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMHAWI3F,PROJCS["TMHAWI3F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",21.1666666],PARAMETER["central_meridian",-158],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI3F83,PROJCS["TMHAWI3F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",21.16666660905768],PARAMETER["central_meridian",-157.999999991346],PARAMETER["scale_factor",1],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI3M,PROJCS["TMHAWI3M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",21.16666666635346],PARAMETER["central_meridian",-157.999999991346],PARAMETER["scale_factor",0.99999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMHAWI4F,PROJCS["TMHAWI4F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",21.8333333],PARAMETER["central_meridian",-159.5],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI4F83,PROJCS["TMHAWI4F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",21.83333331315976],PARAMETER["central_meridian",-159.5000000039559],PARAMETER["scale_factor",1],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI4M,PROJCS["TMHAWI4M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",21.83333331315976],PARAMETER["central_meridian",-159.5000000039559],PARAMETER["scale_factor",0.99999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMHAWI5F,PROJCS["TMHAWI5F",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",21.6666667],PARAMETER["central_meridian",-160.1666667],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI5F83,PROJCS["TMHAWI5F83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",21.66666670875396],PARAMETER["central_meridian",-160.166666708058],PARAMETER["scale_factor",1],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMHAWI5M,PROJCS["TMHAWI5M",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",21.66666665145818],PARAMETER["central_meridian",-160.1666666507622],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMHK80,PROJCS["TMHK80",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",22.31213277122482],PARAMETER["central_meridian",114.1785550046161],PARAMETER["scale_factor",1],PARAMETER["false_easting",836694.05],PARAMETER["false_northing",819069.8]] -TMHNT170,PROJCS["TMHNT170",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-44],PARAMETER["central_meridian",170],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",500000],UNIT["unnamed",0.914398415]] -TMI,PROJCS["TMI",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31.68438845381803],PARAMETER["central_meridian",35.20449790765302],PARAMETER["scale_factor",1.0000067],PARAMETER["false_easting",219529.584],PARAMETER["false_northing",626907.39]] -TMIDACFT,PROJCS["TMIDACFT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.6666667],PARAMETER["central_meridian",-114],PARAMETER["scale_factor",0.999947368],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMIDACFT83,PROJCS["TMIDACFT83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.66666668590062],PARAMETER["central_meridian",-113.9999999843275],PARAMETER["scale_factor",0.999947368],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMIDACM,PROJCS["TMIDACM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.66666668590062],PARAMETER["central_meridian",-113.9999999843275],PARAMETER["scale_factor",0.99994737],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMIDAEFT,PROJCS["TMIDAEFT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.6666667],PARAMETER["central_meridian",-112.1666667],PARAMETER["scale_factor",0.999947368],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMIDAEFT83,PROJCS["TMIDAEFT83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.66666668590062],PARAMETER["central_meridian",-112.1666667056102],PARAMETER["scale_factor",0.999947368],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMIDAEM,PROJCS["TMIDAEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.66666668590062],PARAMETER["central_meridian",-112.1666666483144],PARAMETER["scale_factor",0.99994737],PARAMETER["false_easting",200000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMIDAWFT,PROJCS["TMIDAWFT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.6666667],PARAMETER["central_meridian",-115.75],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMIDAWFT83,PROJCS["TMIDAWFT83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.66666668590062],PARAMETER["central_meridian",-115.7499999894899],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",2624666.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMIDAWM,PROJCS["TMIDAWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.66666668590062],PARAMETER["central_meridian",-115.7499999894899],PARAMETER["scale_factor",0.99993333],PARAMETER["false_easting",800000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMILLEFT,PROJCS["TMILLEFT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36.6666667],PARAMETER["central_meridian",-88.3333333],PARAMETER["scale_factor",0.999975],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMILLEFT83,PROJCS["TMILLEFT83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36.66666672026184],PARAMETER["central_meridian",-88.33333328014425],PARAMETER["scale_factor",0.999975],PARAMETER["false_easting",984249.9998],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMILLEM,PROJCS["TMILLEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36.66666666296607],PARAMETER["central_meridian",-88.33333333744002],PARAMETER["scale_factor",0.999975],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMILLWFT,PROJCS["TMILLWFT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36.6666667],PARAMETER["central_meridian",-90.16666669999996],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMILLWFT83,PROJCS["TMILLWFT83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36.66666672026184],PARAMETER["central_meridian",-90.16666667345312],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",2296583.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMILLWM,PROJCS["TMILLWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36.66666666296607],PARAMETER["central_meridian",-90.16666667345312],PARAMETER["scale_factor",0.99994118],PARAMETER["false_easting",700000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMIND114,PROJCS["TMIND114",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",114],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMINDEFT,PROJCS["TMINDEFT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",37.5],PARAMETER["central_meridian",-85.66666669999996],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMINDEFT83,PROJCS["TMINDEFT83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",37.49999997147393],PARAMETER["central_meridian",-85.66666669291907],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",820208.3332],PARAMETER["false_northing",328083.3333],UNIT["US Foot",0.30480061]] -TMINDEM,PROJCS["TMINDEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",37.49999997147393],PARAMETER["central_meridian",-85.66666669291907],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",100000],PARAMETER["false_northing",250000],UNIT["unnamed",1]] -TMINDWFT,PROJCS["TMINDWFT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",37.5],PARAMETER["central_meridian",-87.08333329999992],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMINDWFT83,PROJCS["TMINDWFT83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",37.49999997147393],PARAMETER["central_meridian",-87.08333331738244],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",820208.3332],PARAMETER["false_northing",2952749.999],UNIT["US Foot",0.30480061]] -TMINDWM,PROJCS["TMINDWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",37.49999997147393],PARAMETER["central_meridian",-87.08333331738244],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",900000],PARAMETER["false_northing",250000],UNIT["unnamed",1]] -TMIRAQ,PROJCS["TMIRAQ",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",29.0262683],PARAMETER["central_meridian",46.5],PARAMETER["scale_factor",0.9994],PARAMETER["false_easting",800000],PARAMETER["false_northing",0]] -TMIRAQC,PROJCS["TMIRAQC",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",43],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMISG541,PROJCS["TMISG541",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",139],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5000000]] -TMISG542,PROJCS["TMISG542",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",141],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5000000]] -TMISG543,PROJCS["TMISG543",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",143],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5000000]] -TMISG551,PROJCS["TMISG551",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",145],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5000000]] -TMISG552,PROJCS["TMISG552",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5000000]] -TMISG553,PROJCS["TMISG553",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",149],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5000000]] -TMISG561,PROJCS["TMISG561",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",151],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5000000]] -TMISG562,PROJCS["TMISG562",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",153],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5000000]] -TMISG563,PROJCS["TMISG563",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",155],PARAMETER["scale_factor",0.99994],PARAMETER["false_easting",300000],PARAMETER["false_northing",5000000]] -TMISRAEL,PROJCS["TMISRAEL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.20451694444443],PARAMETER["central_meridian",57.29616339480504],PARAMETER["scale_factor",529.584],PARAMETER["false_easting",219],PARAMETER["false_northing",626907.39]] -TMJORDAN,PROJCS["TMJORDAN",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31.7340969],PARAMETER["central_meridian",35.2120806],PARAMETER["scale_factor",1],PARAMETER["false_easting",170251.56],PARAMETER["false_northing",126867.91]] -TMKOREA,PROJCS["TMKOREA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",127],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMMAINEF,PROJCS["TMMAINEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",43.8333333],PARAMETER["central_meridian",-68.49999999999994],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMAINEF83,PROJCS["TMMAINEF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",43.66988819611419],PARAMETER["central_meridian",-68.50000002199494],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",984249.9998],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMAINEM,PROJCS["TMMAINEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",43.66666666666665],PARAMETER["central_meridian",-68.49999999999994],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMMAINWF,PROJCS["TMMAINWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",42.8333333],PARAMETER["central_meridian",-70.16666669999996],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMAINWF83,PROJCS["TMMAINWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",42.83333331781164],PARAMETER["central_meridian",-70.16666669630645],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",2952749.999],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMAINWM,PROJCS["TMMAINWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",42.83333331781164],PARAMETER["central_meridian",-70.16666663901067],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",900000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMMCBO4,PROJCS["TMMCBO4",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",10.6449092],PARAMETER["central_meridian",-71.60515809999998],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMMICHCF,PROJCS["TMMICHCF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.5],PARAMETER["central_meridian",-85.74999999999996],PARAMETER["scale_factor",0.999909091],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",0.304788967]] -TMMICHEF,PROJCS["TMMICHEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.5],PARAMETER["central_meridian",-83.66666669999994],PARAMETER["scale_factor",0.999942857],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",0.304788967]] -TMMICHWF,PROJCS["TMMICHWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.5],PARAMETER["central_meridian",-88.74999999999996],PARAMETER["scale_factor",0.999909091],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",0.304788967]] -TMMISOCF,PROJCS["TMMISOCF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.8333333],PARAMETER["central_meridian",-92.49999999999994],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISOCF83,PROJCS["TMMISOCF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.83333329716242],PARAMETER["central_meridian",-92.49999999457094],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISOCM,PROJCS["TMMISOCM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.8333333544582],PARAMETER["central_meridian",-92.49999999457094],PARAMETER["scale_factor",0.99993333],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMMISOEF,PROJCS["TMMISOEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.8333333],PARAMETER["central_meridian",-90.5],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISOEF83,PROJCS["TMMISOEF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.83333329716242],PARAMETER["central_meridian",-90.49999999685626],PARAMETER["scale_factor",0.999933333],PARAMETER["false_easting",820208.3332],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISOEM,PROJCS["TMMISOEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",35.8333333544582],PARAMETER["central_meridian",-90.49999999685626],PARAMETER["scale_factor",0.99993333],PARAMETER["false_easting",250000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMMISOWF,PROJCS["TMMISOWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36.1666667],PARAMETER["central_meridian",-94.49999999999996],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISOWF83,PROJCS["TMMISOWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36.16666667786134],PARAMETER["central_meridian",-94.49999999228559],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",2788708.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISOWM,PROJCS["TMMISOWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",36.16666667786134],PARAMETER["central_meridian",-94.49999999228559],PARAMETER["scale_factor",0.99994118],PARAMETER["false_easting",850000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMMISSEF,PROJCS["TMMISSEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",29.6666667],PARAMETER["central_meridian",-88.83333329999995],PARAMETER["scale_factor",0.99996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISSEF83,PROJCS["TMMISSEF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",29.49999998061527],PARAMETER["central_meridian",-88.83333332254475],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",984249.9998],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISSEM,PROJCS["TMMISSEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",29.5],PARAMETER["central_meridian",-88.83333329999995],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",300000],PARAMETER["false_northing",0]] -TMMISSWF,PROJCS["TMMISSWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.5],PARAMETER["central_meridian",-90.33333329999995],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISSWF83,PROJCS["TMMISSWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",29.49999998061527],PARAMETER["central_meridian",-90.33333327785891],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",2296583.333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMMISSWM,PROJCS["TMMISSWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",29.5],PARAMETER["central_meridian",-90.33333329999995],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",700000],PARAMETER["false_northing",0]] -TMMON087,PROJCS["TMMON087",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",86.99999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",15500000],PARAMETER["false_northing",0]] -TMMON093,PROJCS["TMMON093",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",93],PARAMETER["scale_factor",1],PARAMETER["false_easting",16500000],PARAMETER["false_northing",0]] -TMMON099,PROJCS["TMMON099",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",98.99999999999997],PARAMETER["scale_factor",1],PARAMETER["false_easting",17500000],PARAMETER["false_northing",0]] -TMMON105,PROJCS["TMMON105",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",105],PARAMETER["scale_factor",1],PARAMETER["false_easting",18500000],PARAMETER["false_northing",0]] -TMMON111,PROJCS["TMMON111",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",111],PARAMETER["scale_factor",1],PARAMETER["false_easting",19500000],PARAMETER["false_northing",0]] -TMMON117,PROJCS["TMMON117",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",117],PARAMETER["scale_factor",1],PARAMETER["false_easting",20500000],PARAMETER["false_northing",0]] -TMMRD,PROJCS["TMMRD",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMNAMIBIAM13,PROJCS["TMNAMIBIAM13",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-21.99999997486133],PARAMETER["central_meridian",12.99999995649744],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMNAMIBIAM17,PROJCS["TMNAMIBIAM17",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-21.99999997486133],PARAMETER["central_meridian",16.99999995192677],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMNAMIBIAM19,PROJCS["TMNAMIBIAM19",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-21.99999997486133],PARAMETER["central_meridian",18.99999994964144],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMNEVACF,PROJCS["TMNEVACF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",34.75],PARAMETER["central_meridian",-116.6666667],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEVACF83,PROJCS["TMNEVACF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",34.74999999610218],PARAMETER["central_meridian",-116.6666666861443],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",19685000],UNIT["US Foot",0.30480061]] -TMNEVACM,PROJCS["TMNEVACM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",34.75],PARAMETER["central_meridian",-116.6666667],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",6000000]] -TMNEVAEF,PROJCS["TMNEVAEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",34.75],PARAMETER["central_meridian",-115.5833333],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEVAEF83,PROJCS["TMNEVAEF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",34.74999999610218],PARAMETER["central_meridian",-115.5833333277883],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",656166.6665],PARAMETER["false_northing",26246666.66],UNIT["US Foot",0.30480061]] -TMNEVAEM,PROJCS["TMNEVAEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",34.75],PARAMETER["central_meridian",-115.5833333],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",200000],PARAMETER["false_northing",8000000]] -TMNEVAWF,PROJCS["TMNEVAWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",34.75],PARAMETER["central_meridian",-118.5833333],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEVAWF83,PROJCS["TMNEVAWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",34.74999999610218],PARAMETER["central_meridian",-118.5833332957124],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",2624666.666],PARAMETER["false_northing",13123333.33],UNIT["US Foot",0.30480061]] -TMNEVAWM,PROJCS["TMNEVAWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",34.75],PARAMETER["central_meridian",-118.5833333],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",800000],PARAMETER["false_northing",4000000]] -TMNEWHFT,PROJCS["TMNEWHFT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",42.5],PARAMETER["central_meridian",-71.66666669999998],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWHFT83,PROJCS["TMNEWHFT83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",42.4999999944085],PARAMETER["central_meridian",-71.6666667089164],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",984249.9998],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWHM,PROJCS["TMNEWHM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",42.4999999944085],PARAMETER["central_meridian",-71.66666665162062],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",300000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMNEWJFT,PROJCS["TMNEWJFT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.8333333],PARAMETER["central_meridian",-74.66666669999998],PARAMETER["scale_factor",0.999975],PARAMETER["false_easting",2000000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWJFT83,PROJCS["TMNEWJFT83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.83333332238231],PARAMETER["central_meridian",-74.49999999999996],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",492124.9999],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWJM,PROJCS["TMNEWJM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.83333332238231],PARAMETER["central_meridian",-74.50000001513894],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",150000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMNEWMCF,PROJCS["TMNEWMCF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-106.25],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWMCF83,PROJCS["TMNEWMCF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.99999999322522],PARAMETER["central_meridian",-106.2499999860212],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWMCM,PROJCS["TMNEWMCM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.99999999322522],PARAMETER["central_meridian",-106.2499999860212],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMNEWMEF,PROJCS["TMNEWMEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-104.3333333],PARAMETER["scale_factor",0.999909091],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWMEF83,PROJCS["TMNEWMEF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.99999999322522],PARAMETER["central_meridian",-104.3333333191573],PARAMETER["scale_factor",0.999909091],PARAMETER["false_easting",541337.4999],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWMEM,PROJCS["TMNEWMEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-104.3333333],PARAMETER["scale_factor",0.999909091],PARAMETER["false_easting",165000],PARAMETER["false_northing",0]] -TMNEWMWF,PROJCS["TMNEWMWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",31],PARAMETER["central_meridian",-107.8333333],PARAMETER["scale_factor",0.999916667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWMWF83,PROJCS["TMNEWMWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.99999999322522],PARAMETER["central_meridian",-107.8333332721862],PARAMETER["scale_factor",0.999916667],PARAMETER["false_easting",2723091.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWMWM,PROJCS["TMNEWMWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",30.99999999322522],PARAMETER["central_meridian",-107.833333329482],PARAMETER["scale_factor",0.999916667],PARAMETER["false_easting",830000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMNEWYCF,PROJCS["TMNEWYCF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40],PARAMETER["central_meridian",-76.58333329999996],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWYCF83,PROJCS["TMNEWYCF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.0000000115891],PARAMETER["central_meridian",-76.5833332864086],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",820208.3332],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWYCM,PROJCS["TMNEWYCM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.0000000115891],PARAMETER["central_meridian",-76.5833333437044],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",250000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMNEWYEF,PROJCS["TMNEWYEF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40],PARAMETER["central_meridian",-74.33333329999998],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWYEF83,PROJCS["TMNEWYEF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.83333332238231],PARAMETER["central_meridian",-74.4999999979502],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",492124.9999],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWYEM,PROJCS["TMNEWYEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",38.83333332238231],PARAMETER["central_meridian",-74.50000001513894],PARAMETER["scale_factor",0.999966667],PARAMETER["false_easting",150000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMNEWYWF,PROJCS["TMNEWYWF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40],PARAMETER["central_meridian",-78.58333329999994],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWYWF83,PROJCS["TMNEWYWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.0000000115891],PARAMETER["central_meridian",-78.58333328412327],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",1148291.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMNEWYWM,PROJCS["TMNEWYWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.0000000115891],PARAMETER["central_meridian",-78.58333334141905],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",350000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMNIGE,PROJCS["TMNIGE",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4],PARAMETER["central_meridian",12.5],PARAMETER["scale_factor",0.99975],PARAMETER["false_easting",1110369.7],PARAMETER["false_northing",0]] -TMNIGM,PROJCS["TMNIGM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4],PARAMETER["central_meridian",8.499999999999998],PARAMETER["scale_factor",0.99975],PARAMETER["false_easting",670553.98],PARAMETER["false_northing",0]] -TMNIGW,PROJCS["TMNIGW",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",4],PARAMETER["central_meridian",4.499999999999997],PARAMETER["scale_factor",0.99975],PARAMETER["false_easting",230738.26],PARAMETER["false_northing",0]] -TMNORAND,PROJCS["TMNORAND",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-79.5],PARAMETER["scale_factor",0.999861],PARAMETER["false_easting",304800],PARAMETER["false_northing",0]] -TMNSEA,PROJCS["TMNSEA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMNYEMEN,PROJCS["TMNYEMEN",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",42],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMNZAMUR,PROJCS["TMNZAMUR",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-42.68888888888888],PARAMETER["central_meridian",173.01],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZBLUF,PROJCS["TMNZBLUF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-46.60000000000002],PARAMETER["central_meridian",168.342777777778],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZBULL,PROJCS["TMNZBULL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.81055555555552],PARAMETER["central_meridian",171.5811111111108],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZBYPL,PROJCS["TMNZBYPL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-37.76111111111108],PARAMETER["central_meridian",176.4661111111112],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZCOLL,PROJCS["TMNZCOLL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-40.71472222222221],PARAMETER["central_meridian",172.6719444444446],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZGAWL,PROJCS["TMNZGAWL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-43.74861111111112],PARAMETER["central_meridian",171.3605555555558],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZGREY,PROJCS["TMNZGREY",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-42.33361111111111],PARAMETER["central_meridian",171.5497222222221],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZHAWK,PROJCS["TMNZHAWK",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-39.65083333333333],PARAMETER["central_meridian",176.6736111111113],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZHOKI,PROJCS["TMNZHOKI",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-42.88611111111113],PARAMETER["central_meridian",170.979722222222],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZJACK,PROJCS["TMNZJACK",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-43.97777777777775],PARAMETER["central_meridian",168.6061111111109],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZKARA,PROJCS["TMNZKARA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.28972222222218],PARAMETER["central_meridian",172.1088888888891],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZLIND,PROJCS["TMNZLIND",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-44.73499999999998],PARAMETER["central_meridian",169.4675],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZMARL,PROJCS["TMNZMARL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.54444444444444],PARAMETER["central_meridian",173.8019444444443],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZMTED,PROJCS["TMNZMTED",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-36.87972222222223],PARAMETER["central_meridian",174.7641666666668],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZMTNI,PROJCS["TMNZMTNI",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-45.13277777777778],PARAMETER["central_meridian",168.3986111111113],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZMTPL,PROJCS["TMNZMTPL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-43.59055555555558],PARAMETER["central_meridian",172.7269444444442],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZMTYO,PROJCS["TMNZMTYO",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-45.56361111111111],PARAMETER["central_meridian",167.7386111111109],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZNELS,PROJCS["TMNZNELS",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.27444444444441],PARAMETER["central_meridian",173.2991666666666],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZNI,PROJCS["TMNZNI",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-38.99999999999996],PARAMETER["central_meridian",175.5],PARAMETER["scale_factor",1],PARAMETER["false_easting",300000],PARAMETER["false_northing",400000],UNIT["unnamed",0.914398415]] -TMNZNTAI,PROJCS["TMNZNTAI",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-45.86138888888888],PARAMETER["central_meridian",170.2824999999997],PARAMETER["scale_factor",0.99996],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZOBSE,PROJCS["TMNZOBSE",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-45.81611111111108],PARAMETER["central_meridian",170.6283333333334],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZOKAR,PROJCS["TMNZOKAR",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-43.11000000000002],PARAMETER["central_meridian",170.2608333333334],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZPOVE,PROJCS["TMNZPOVE",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-38.62444444444446],PARAMETER["central_meridian",177.8855555555558],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZSI,PROJCS["TMNZSI",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-44],PARAMETER["central_meridian",171.5],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",500000],UNIT["unnamed",0.914398415]] -TMNZTARA,PROJCS["TMNZTARA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-39.13555555555555],PARAMETER["central_meridian",174.2277777777776],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZTIMA,PROJCS["TMNZTIMA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-44.40194444444444],PARAMETER["central_meridian",171.0572222222222],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZTUHI,PROJCS["TMNZTUHI",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-39.51222222222219],PARAMETER["central_meridian",175.64],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZWAIR,PROJCS["TMNZWAIR",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-40.92527777777774],PARAMETER["central_meridian",175.6472222222223],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZWANG,PROJCS["TMNZWANG",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-40.24194444444444],PARAMETER["central_meridian",175.4880555555555],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMNZWELL,PROJCS["TMNZWELL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-41.30111111111108],PARAMETER["central_meridian",174.7763888888886],PARAMETER["scale_factor",1],PARAMETER["false_easting",400000],PARAMETER["false_northing",800000],UNIT["unnamed",1]] -TMOGADEN,PROJCS["TMOGADEN",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",43],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMOMAN,PROJCS["TMOMAN",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",54],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMOSGB,PROJCS["TMOSGB",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",49],PARAMETER["central_meridian",-1.999999999999966],PARAMETER["scale_factor",0.999601272],PARAMETER["false_easting",400000],PARAMETER["false_northing",-100000]] -TMOSIRL,PROJCS["TMOSIRL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",53.5],PARAMETER["central_meridian",-7.999999999999978],PARAMETER["scale_factor",1.000035],PARAMETER["false_easting",200000],PARAMETER["false_northing",250000]] -TMPARAG1,PROJCS["TMPARAG1",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-62.99999999999995],PARAMETER["scale_factor",1],PARAMETER["false_easting",4500000],PARAMETER["false_northing",10002288.3]] -TMPARAG2,PROJCS["TMPARAG2",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-59.99999999999994],PARAMETER["scale_factor",1],PARAMETER["false_easting",5500000],PARAMETER["false_northing",10002288.3]] -TMPARAG3,PROJCS["TMPARAG3",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-56.99999999999994],PARAMETER["scale_factor",1],PARAMETER["false_easting",6500000],PARAMETER["false_northing",10002288.3]] -TMPARAG4,PROJCS["TMPARAG4",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-54],PARAMETER["scale_factor",1],PARAMETER["false_easting",7500000],PARAMETER["false_northing",10002288.3]] -TMPERUBE,PROJCS["TMPERUBE",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-4.670833299999996],PARAMETER["central_meridian",-81.33497219999994],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMPERUC,PROJCS["TMPERUC",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-9.49999999999998],PARAMETER["central_meridian",-75.99999999999996],PARAMETER["scale_factor",0.99933],PARAMETER["false_easting",720000],PARAMETER["false_northing",1039979.16]] -TMPERUE,PROJCS["TMPERUE",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-9.49999999999998],PARAMETER["central_meridian",-70.49999999999996],PARAMETER["scale_factor",0.9995299],PARAMETER["false_easting",1324000],PARAMETER["false_northing",1040084.56]] -TMPERUW,PROJCS["TMPERUW",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-5.999999999999955],PARAMETER["central_meridian",-80.49999999999996],PARAMETER["scale_factor",0.9998301],PARAMETER["false_easting",222000],PARAMETER["false_northing",1426834.74]] -TMPHIL1,PROJCS["TMPHIL1",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",117],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMPHIL2,PROJCS["TMPHIL2",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",119],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMPHIL3,PROJCS["TMPHIL3",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",121],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMPHIL4,PROJCS["TMPHIL4",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",123],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMPHIL5,PROJCS["TMPHIL5",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",125],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMPHIL6,PROJCS["TMPHIL6",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",127],PARAMETER["scale_factor",0.99995],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMPNG55S,PROJCS["TMPNG55S",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",147],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMPOLAND,PROJCS["TMPOLAND",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",18],PARAMETER["scale_factor",0.999923],PARAMETER["false_easting",6500000],PARAMETER["false_northing",0]] -TMPORT,PROJCS["TMPORT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",39.66666666666666],PARAMETER["central_meridian",-8.13190611111111],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",300000]] -TMPORTL,PROJCS["TMPORTL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",39.66666666666666],PARAMETER["central_meridian",1],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",300000]] -TMPORT_SHG73,PROJCS["TMPORT_SHG73",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",39.66666666666666],PARAMETER["central_meridian",-8.13190611111111],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMQATAR,PROJCS["TMQATAR",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",24.45],PARAMETER["central_meridian",51.2166666],PARAMETER["scale_factor",1],PARAMETER["false_easting",200000],PARAMETER["false_northing",300000]] -TMRHODIF,PROJCS["TMRHODIF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.0833333],PARAMETER["central_meridian",-71.49999999999996],PARAMETER["scale_factor",0.9999938],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMRHODIF83,PROJCS["TMRHODIF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.08333331264934],PARAMETER["central_meridian",-71.49999998991905],PARAMETER["scale_factor",0.99999375],PARAMETER["false_easting",328083.3333],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMRHODIM,PROJCS["TMRHODIM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",41.0833333],PARAMETER["central_meridian",-71.49999999999996],PARAMETER["scale_factor",0.99999375],PARAMETER["false_easting",100000],PARAMETER["false_northing",0]] -TMRT90,PROJCS["TMRT90",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15.80827799022624],PARAMETER["scale_factor",1],PARAMETER["false_easting",1500000],PARAMETER["false_northing",0]] -TMS114E,PROJCS["TMS114E",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",114],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMS116E,PROJCS["TMS116E",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",116],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMSAM19S,PROJCS["TMSAM19S",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-69.00000000709966],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMSAM20S,PROJCS["TMSAM20S",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",-19.99999998860582],PARAMETER["central_meridian",-59.99999998873577],PARAMETER["scale_factor",1],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMSAMER,PROJCS["TMSAMER",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-59.99999999999994],PARAMETER["scale_factor",0.99],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMSAMERA,PROJCS["TMSAMERA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-54],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -TMSHABWA,PROJCS["TMSHABWA",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",45],PARAMETER["scale_factor",1],PARAMETER["false_easting",8500000],PARAMETER["false_northing",0]] -TMSHK167,PROJCS["TMSHK167",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",167],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMSHLCNS,PROJCS["TMSHLCNS",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMSHLHOL,PROJCS["TMSHLHOL",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",5],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMSHLYEM,PROJCS["TMSHLYEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",42],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMSLO,PROJCS["TMSLO",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",500000],PARAMETER["false_northing",-5000000]] -TMSUDAN,PROJCS["TMSUDAN",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",30],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMSURNAM,PROJCS["TMSURNAM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-54],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMSVIET,PROJCS["TMSVIET",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",106],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMSVNM,PROJCS["TMSVNM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",106],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMTIBU,PROJCS["TMTIBU",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",8.3847502],PARAMETER["central_meridian",-72.42263859999996],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",500000]] -TMTRUCST,PROJCS["TMTRUCST",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",55],PARAMETER["scale_factor",1],PARAMETER["false_easting",1200000],PARAMETER["false_northing",0]] -TMTUNIS,PROJCS["TMTUNIS",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",11],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMTURK,PROJCS["TMTURK",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",33],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMTYRRE,PROJCS["TMTYRRE",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",14],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMTYRRW,PROJCS["TMTYRRW",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",11],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMUNZ170,PROJCS["TMUNZ170",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",170],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMVERMTF,PROJCS["TMVERMTF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",42.5],PARAMETER["central_meridian",-72.5],PARAMETER["scale_factor",0.999964286],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMVERMTF83,PROJCS["TMVERMTF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",42.4999999944085],PARAMETER["central_meridian",-72.50000001742427],PARAMETER["scale_factor",0.999964286],PARAMETER["false_easting",1640416.666],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMVERMTM,PROJCS["TMVERMTM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",42.4999999944085],PARAMETER["central_meridian",-72.50000001742427],PARAMETER["scale_factor",0.999964286],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["unnamed",1]] -TMVICMAP,PROJCS["TMVICMAP",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",145],PARAMETER["scale_factor",1],PARAMETER["false_easting",500000],PARAMETER["false_northing",10000000]] -TMVIETS,PROJCS["TMVIETS",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",106],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMWTOECF83,LOCAL_CS["TMWTOECF83 - (unsupported)"] -TMWYO1FT,PROJCS["TMWYO1FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.6666667],PARAMETER["central_meridian",-105.1666667],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMWYO2FT,PROJCS["TMWYO2FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.6666667],PARAMETER["central_meridian",-107.3333333],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMWYO3FT,PROJCS["TMWYO3FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.6666667],PARAMETER["central_meridian",-108.75],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMWYO4FT,PROJCS["TMWYO4FT",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.6666667],PARAMETER["central_meridian",-110.0833333],PARAMETER["scale_factor",0.999941177],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMWYOE83,LOCAL_CS["TMWYOE83 - (unsupported)"] -TMWYOECM,PROJCS["TMWYOECM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.5],PARAMETER["central_meridian",-107.3333333],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",400000],PARAMETER["false_northing",100000]] -TMWYOEM,PROJCS["TMWYOEM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.5],PARAMETER["central_meridian",-105.1666667],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",200000],PARAMETER["false_northing",0]] -TMWYOWCF83,PROJCS["TMWYOWCF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.49999999669383],PARAMETER["central_meridian",-108.7500000261364],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",1968500],PARAMETER["false_northing",0],UNIT["US Foot",0.30480061]] -TMWYOWCM,PROJCS["TMWYOWCM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.5],PARAMETER["central_meridian",-108.75],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",600000],PARAMETER["false_northing",0]] -TMWYOWF83,PROJCS["TMWYOWF83",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.49999999669383],PARAMETER["central_meridian",-110.083333319749],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",2624666.666],PARAMETER["false_northing",328083.3333],UNIT["US Foot",0.30480061]] -TMWYOWM,PROJCS["TMWYOWM",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",40.49999999669383],PARAMETER["central_meridian",-110.083333319749],PARAMETER["scale_factor",0.9999375],PARAMETER["false_easting",800000],PARAMETER["false_northing",100000],UNIT["unnamed",1]] -TMYEMEN,PROJCS["TMYEMEN",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",42],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0]] -TMYUG5,PROJCS["TMYUG5",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15],PARAMETER["scale_factor",1],PARAMETER["false_easting",5500000],PARAMETER["false_northing",0]] -TMYUG5SF,PROJCS["TMYUG5SF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",15],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",5500000],PARAMETER["false_northing",0]] -TMYUG6,PROJCS["TMYUG6",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",18],PARAMETER["scale_factor",1],PARAMETER["false_easting",6500000],PARAMETER["false_northing",0]] -TMYUG6SF,PROJCS["TMYUG6SF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",18],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",6500000],PARAMETER["false_northing",0]] -TMYUG7,PROJCS["TMYUG7",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",21],PARAMETER["scale_factor",1],PARAMETER["false_easting",7500000],PARAMETER["false_northing",0]] -TMYUG7SF,PROJCS["TMYUG7SF",PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",21],PARAMETER["scale_factor",0.9999],PARAMETER["false_easting",7500000],PARAMETER["false_northing",0]] -VG120E,PROJCS["VG120E",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",120],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG120W,PROJCS["VG120W",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",-120],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG150E,PROJCS["VG150E",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",150],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG150W,PROJCS["VG150W",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",-150],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG180E,PROJCS["VG180E",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",180],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG30E,PROJCS["VG30E",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",30],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG30W,PROJCS["VG30W",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",-29.99999999999995],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG60E,PROJCS["VG60E",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",60],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG60W,PROJCS["VG60W",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",-59.99999999999994],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG90E,PROJCS["VG90E",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",90],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG90EAST,PROJCS["VG90EAST",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",90],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG90W,PROJCS["VG90W",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",-89.99999999999994],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VG90WEST,PROJCS["VG90WEST",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",-89.99999999999994],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VGSPHERE,PROJCS["VGSPHERE",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",0],PARAMETER["false_easting",0],PARAMETER["false_northing",0]] -VGWORLD,PROJCS["VGWORLD",PROJECTION["VanDerGrinten"],PARAMETER["central_meridian",0],PARAMETER["false_easting",20000000],PARAMETER["false_northing",20000000]] -W3SPHERE,LOCAL_CS["W3SPHERE - (unsupported)"] -ACCRA,GEOGCS["ACCRA",DATUM["ACCRA",SPHEROID["WAROFFFT",20926201,296]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -ADINDAN,GEOGCS["ADINDAN",DATUM["ADINDAN",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -AGD66,GEOGCS["AUSTRALIAN GEODETIC",DATUM["AGD66",SPHEROID["ANS",6378160,298.25]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -AGD66NTV,GEOGCS["AUSTRALIAN GEODETIC",DATUM["AGD66NTV",SPHEROID["ANS",6378160,298.25]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -AGD84,GEOGCS["AUSTRALIAN GEODETIC",DATUM["AGD84",SPHEROID["ANS",6378160,298.25]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -AINABD70,GEOGCS["AIN EL ABD (1970)",DATUM["AINABD70",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -ARATU,GEOGCS["ARATU",DATUM["ARATU",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -ARC1950,GEOGCS["NEW ARC 1950",DATUM["ARC1950",SPHEROID["CLA80RSA",6378249.145,293.4663077]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -ARC1960,GEOGCS["NEW ARC 1960",DATUM["ARC1960",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -BAHRAIN,GEOGCS["BAHRAIN (AIN EL ABD)",DATUM["BAHRAIN",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -BATAVIA,GEOGCS["BATAVIA(JAKARTA)",DATUM["BATAVIA",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -BEDUARAM,GEOGCS["BEDUARAM",DATUM["BEDUARAM",SPHEROID["CLA80IGN",6378249.2,293.4660213]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -BEIJING,GEOGCS["BEIJING 1954",DATUM["BEIJING",SPHEROID["KRAS1940",6378245,298.3]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -BELG50,GEOGCS["BELGIUM 1950",DATUM["BELG50",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -BERNNEW,GEOGCS["BERN",DATUM["BERNNEW",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -BOGOTA,GEOGCS["BOGOTA",DATUM["BOGOTA",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -CAMACUPA,GEOGCS["CAMACUPA",DATUM["CAMACUPA",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -CAPE,GEOGCS["CAPE DATUM",DATUM["CAPE",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -CARTHAGE,GEOGCS["CARTHAGE",DATUM["CARTHAGE",SPHEROID["CLA80IGN",6378249.2,293.4660213]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -CHUA,GEOGCS["CHUA ASTRONOMIC",DATUM["CHUA",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -CLRK1866,GEOGCS["NORTH AMERICAN 1927",DATUM["CLRK1866",SPHEROID["CLA66MTR",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -CMPOINCH,GEOGCS["CAMPO INCHAUSPE",DATUM["CMPOINCH",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -CORRALEG,GEOGCS["CORREGO ALEGRE",DATUM["CORRALEG",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -DEIR,GEOGCS["DEIR EZ ZOR",DATUM["DEIR",SPHEROID["CLA80IGN",6378249.2,293.4660213]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -ED50,GEOGCS["EUROPEAN DATUM 1950",DATUM["ED50",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -ED50EGYT,GEOGCS["EUROPEAN DATUM 1950",DATUM["ED50EGYT",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -ED50SVAL,GEOGCS["ED50 (SVALBARD)",DATUM["ED50SVAL",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -EDMCE75,GEOGCS["EUROPEAN [ED(MCE)75]",DATUM["EDMCE75",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -EGSA87,GEOGCS["GREEK DATUM (1989)",DATUM["EGSA87",SPHEROID["GRS80",6378137,298.2572236]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -EGYPT07,GEOGCS["EGYPT 1907",DATUM["EGYPT07",SPHEROID["HELM1906",6378200,298.3]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -EGYPT24,GEOGCS["NEW EGYPT 1930",DATUM["EGYPT24",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -EVVIETNM,GEOGCS["EVEREST-VIETNAM",DATUM["EVVIETNM",SPHEROID["EV37ADJ",6377276.345,300.8017]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -FAHUD,GEOGCS["FAHUD",DATUM["FAHUD",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -FINKKJ,GEOGCS["FINKKJ (Finland)",DATUM["FINKKJ",SPHEROID["HAYF1910",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -GDA94,GEOGCS["GEOCENTRIC DATUM of AUSTRALIA",DATUM["GDA94",SPHEROID["GRS80",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -GEM6,GEOGCS["GEM6",DATUM["GEM6",SPHEROID[,6378144,298.257]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -HGRS87,GEOGCS["GREEK DATUM (1989)",DATUM["HGRS87",SPHEROID["GRS80",6378137,298.2572236]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -HK80,GEOGCS["HONG KONG 1980",DATUM["HK80",SPHEROID["HAYF1910",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -IND74,GEOGCS["INDONESIAN 1974",DATUM["IND74",SPHEROID["INDNAT",6378160,298.247]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -INDIAN54,GEOGCS["INDIAN 1954",DATUM["INDIAN54",SPHEROID["EV37ADJ",6377276.345,300.8017]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -INDIAN60,GEOGCS["INDIAN 1960",DATUM["INDIAN60",SPHEROID["EVERST1830",6377276.345,300.8017]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -INDIAN75,GEOGCS["INDIAN 1975",DATUM["INDIAN75",SPHEROID["EV37ADJ",6377276.345,300.8017]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -ISRLURIM,GEOGCS["ISRAEL URIM",DATUM["ISRLURIM",SPHEROID["CLA80BEN",6378300.79,293.4663696]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -JA1875,GEOGCS["JAMAICA 1875",DATUM["JA1875",SPHEROID["CLA80IFT",20926202,293.4663077]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -JAD69,GEOGCS["JAMAICA 1969",DATUM["JAD69",SPHEROID["CLA66MTR",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -KKJ,GEOGCS["KKJ (Finland)",DATUM["KKJ",SPHEROID["HAYF1910",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -KALIANPR,GEOGCS["KALIANPUR",DATUM["KALIANPR",SPHEROID["EVINDMTR",6377301.243,300.8017255]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -KARBALA,GEOGCS["KARBALA",DATUM["KARBALA",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -KERTAU,GEOGCS["KERTAU",DATUM["KERTAU",SPHEROID["EVMODMAL",6377304.063,300.8017]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -KOC,GEOGCS["KUWAIT OIL COMPANY",DATUM["KOC",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -KOREA,GEOGCS["KOREA TM",DATUM["KOREA",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -LACANOA,GEOGCS["LA CANOA",DATUM["LACANOA",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -LEIGON,GEOGCS["LEIGON",DATUM["LEIGON",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -LISBOA,GEOGCS["LISBOA (LISBON)",DATUM["LISBOA",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -LISBON,GEOGCS["LISBON (LISBOA)",DATUM["LISBON",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -LISBONBESSEL,GEOGCS["LISBON (LISBOA)BESSEL",DATUM["LISBONBESSEL",SPHEROID["BESSELPORT",6377397.155,297.15281285]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -LUZON11,GEOGCS["LUZON 1911",DATUM["LUZON11",SPHEROID["CLA66MTR",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MAHE71,GEOGCS["MAHE 1971",DATUM["MAHE71",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MAKASSAR,GEOGCS["MAKASSAR",DATUM["MAKASSAR",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MALONG79,GEOGCS["MALONGO 1979",DATUM["MALONG79",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MALONG90,GEOGCS["MALONGO 1990",DATUM["MALONG90",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MANOKA,GEOGCS["MANOKA",DATUM["MANOKA",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MELRICA,GEOGCS["MELRICA (PORTUGAL)",DATUM["MELRICA",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MGIBESS,GEOGCS["MGIBESS",DATUM["MGIBESS",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MINAA,GEOGCS["MINAA",DATUM["MINAA",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MONTEMAR,GEOGCS["MONTE MARIO",DATUM["MONTEMAR",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -MONTROME,GEOGCS["MONTE MARIO",DATUM["MONTROME",SPHEROID["INT24",6378388,297]],PRIMEM["Rome",12.45233333333333],UNIT["degree",0.0174532925199433]] -MPORO,GEOGCS["M'PORALOKO",DATUM["MPORO",SPHEROID["CLA80IGN",6378249.2,293.4660213]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NAD27,GEOGCS["NAD27",DATUM["North_American_Datum_1927",SPHEROID["Clarke 1866",6378206.4,294.978698213898,AUTHORITY["EPSG","7008"]],TOWGS84[-3,142,183,0,0,0,0],AUTHORITY["EPSG","6267"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AXIS["Lat",NORTH],AXIS["Long",EAST],AUTHORITY["EPSG","4267"]] -NAD27A74,GEOGCS["NORTH AMERICAN 1927 (Adjusted 1974)",DATUM["NAD27A74",SPHEROID["CLA66MTR",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NAD27A76,GEOGCS["NORTH AMERICAN 1927 (Adjusted 1976)",DATUM["NAD27A76",SPHEROID["CLA66MTR",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NAD27AFT,GEOGCS["NORTH AMERICAN 1927",DATUM["NAD27AFT",SPHEROID["CLA66AFT",20925832.16,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NAD27MOD,GEOGCS["NORTH AMERICAN 1927",DATUM["NAD27MOD",SPHEROID["CLA66MOD",20926631.53,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NAD27MTR,GEOGCS["NORTH AMERICAN 1927",DATUM["NAD27MTR",SPHEROID["CLA66MTR",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NAD83,GEOGCS["NAD83",DATUM["North_American_Datum_1983",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6269"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AXIS["Lat",NORTH],AXIS["Long",EAST],AUTHORITY["EPSG","4269"]] -NAHRWAN,GEOGCS["NAHRWAN 1967",DATUM["NAHRWAN",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NAMIBIA,GEOGCS["NAMIBIA",DATUM["NAMIBIA",SPHEROID["BESS1841",6377483.865,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NTF,GEOGCS["N.T.F.",DATUM["NTF",SPHEROID["CLA80IGN",6378249.2,293.4660213],TOWGS84[-168,-60,320,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NTFPARG,GEOGCS["N.T.F",DATUM["NTFPARG",SPHEROID["CLA80IGN",6378249.2,293.4660213],TOWGS84[-168,-60,320,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NTFPARIS,GEOGCS["N.T.F",DATUM["NTFPARIS",SPHEROID["CLA80IGN",6378249.2,293.4660213],TOWGS84[-168,-60,320,0,0,0,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NWL9D,GEOGCS["NWL-9D",DATUM["NWL9D",SPHEROID["NWL9D",6378145,298.25]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NZGD49,GEOGCS["NEW ZEALAND 1949",DATUM["NZGD49",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -NZGD2000,GEOGCS["NEW ZEALAND 2000",DATUM["NZGD2000",SPHEROID["GRS80",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -OSGB36,GEOGCS["ORDNANCE SURVEY 1936",DATUM["OSGB36",SPHEROID["AIRY",6377563.396,299.3249646]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -OSGB70,GEOGCS["OSGB 1970 (SN)",DATUM["OSGB70",SPHEROID["AIRY",6377563.396,299.3249646]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -OSSN80,GEOGCS["OS (SN) 1980",DATUM["OSSN80",SPHEROID["AIRY",6377563.396,299.3249646]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -PADANG,GEOGCS["PADANG 1884",DATUM["PADANG",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -PALEST23,GEOGCS["PALESTINE 1923",DATUM["PALEST23",SPHEROID["CLA80BEN",6378300.79,293.4663696]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -PLESSIS,GEOGCS["FRANCE 1822",DATUM["PLESSIS",SPHEROID["PLES1822",6376523,308.64]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -POTSDAM,GEOGCS["POTSDAM",DATUM["POTSDAM",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -PRS92,GEOGCS["PHILIPPINES REFERENCE SYSTEM 1992",DATUM["PRS92",SPHEROID["CLA66MTR",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -PSAD56,GEOGCS["PSAD 1956",DATUM["PSAD56",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -PTNOIRE,GEOGCS["POINT NOIRE (ASTRO)",DATUM["PTNOIRE",SPHEROID["CLA80IGN",6378249.2,293.4660213]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -PULKOVO,GEOGCS["PULKOVO 1942",DATUM["PULKOVO",SPHEROID["KRAS1940",6378245,298.3]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -QATAR,GEOGCS["QATAR",DATUM["QATAR",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -QATAR51,GEOGCS["QATAR GRID 1948",DATUM["QATAR51",SPHEROID["HELM1906",6378200,298.3]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -QORNOQ,GEOGCS["QORNOQ",DATUM["QORNOQ",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -RD,GEOGCS["RIJKDRIEHOEKSMETING",DATUM["RD",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -RGF93,GEOGCS["RESEAU GEODESIQUE FRANCAIS 1993",DATUM["RESEAU GEODESIQUE FRANCAIS 1993",SPHEROID["IAG GRS 1980",6378137.0000,298.2572221010000,AUTHORITY["IGNF","ELG037"]],TOWGS84[0.0000,0.0000,0.0000,0,0,0,0],AUTHORITY["IGNF","REG024"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","RGF93G"]] -SAD69,GEOGCS["SOUTH AMERICAN 1969",DATUM["SAD69",SPHEROID["INT67",6378160,298.25]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -SECLV,GEOGCS["QASCO",DATUM["SECLV",SPHEROID["ANS",6378160,298.25]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -SLOVENIA,GEOGCS["SLOVENIAN DATUM",DATUM["SLOVENIA",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -SPHERE,GEOGCS["NOT SPECIFIED",DATUM["SPHERE",SPHEROID["SPHERE",6371000,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -SPHERE2,GEOGCS["NOT SPECIFIED",DATUM["SPHERE2",SPHEROID["SPHERE",6370997,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -SUDAN,GEOGCS["SUDAN DATUM",DATUM["SUDAN",SPHEROID["CLA80IGN",6378249.2,293.4660213]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -TANANAR,GEOGCS["TANANARIVE 1925",DATUM["TANANAR",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -TANANPAR,GEOGCS["TANANARIVE 1925",DATUM["TANANPAR",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -TIMBALAI,GEOGCS["TIMBALAI",DATUM["TIMBALAI",SPHEROID["EVERST67",6377298.556,300.8017]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -TIMBALFT,GEOGCS["TIMBALAI",DATUM["TIMBALFT",SPHEROID["EVIMPFT",20922931.8,300.8017]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -TM65,GEOGCS["TM65",DATUM["TM65",SPHEROID["AIRYMOD",6377340.189,299.3249646]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -TM75,GEOGCS["TM75",DATUM["TM75",SPHEROID["AIRYMOD",6377340.189,299.3249646]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -TOKYO,GEOGCS["TOKYO",DATUM["TOKYO",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -TRUCIAL,GEOGCS["TRUCIAL COAST 1948",DATUM["TRUCIAL",SPHEROID["HELM1906",6378200,298.3]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USAIRMOD,GEOGCS["NOT SPECIFIED",DATUM["USAIRMOD",SPHEROID["AIRYMOD",6377340.189,299.3249646]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USAIRY,GEOGCS["NOT SPECIFIED",DATUM["USAIRY",SPHEROID["AIRY",6377563.396,299.3249646]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USANS,GEOGCS["NOT SPECIFIED",DATUM["USANS",SPHEROID["ANS",6378160,298.25]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USBESMOD,GEOGCS["NOT SPECIFIED",DATUM["USBESMOD",SPHEROID["BESSMOD",6377492.018,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USBESS,GEOGCS["NOT SPECIFIED",DATUM["USBESS",SPHEROID["BESS1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USC58MTR,GEOGCS["NOT SPECIFIED",DATUM["USC58MTR",SPHEROID["CLA58MTR",6378293.645,294.2606764]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USC66AFT,GEOGCS["NOT SPECIFIED",DATUM["USC66AFT",SPHEROID["CLA66AFT",20925832.16,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USC66MTR,GEOGCS["NOT SPECIFIED",DATUM["USC66MTR",SPHEROID["CLA66MTR",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USC80IGN,GEOGCS["NOT SPECIFIED",DATUM["USC80IGN",SPHEROID["CLA80IGN",6378249.2,293.4660213]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USC80MOD,GEOGCS["NOT SPECIFIED",DATUM["USC80MOD",SPHEROID["CLA80MOD",6378249.145,293.465]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USC80RSA,GEOGCS["NOT SPECIFIED",DATUM["USC80RSA",SPHEROID["CLA80RSA",6378249.145,293.4663077]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USEV37AD,GEOGCS["NOT SPECIFIED",DATUM["USEV37AD",SPHEROID["EV37ADJ",6377276.345,300.8017]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USEV67,GEOGCS["NOT SPECIFIED",DATUM["USEV67",SPHEROID["EVERST67",6377298.556,300.8017]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USGRS67,GEOGCS["NOT SPECIFIED",DATUM["USGRS67",SPHEROID["GRS67",6378160,298.2471674]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USGRS80,GEOGCS["NOT SPECIFIED",DATUM["USGRS80",SPHEROID["GRS80",6378137,298.2572221]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USHAYF10,GEOGCS["NOT SPECIFIED",DATUM["USHAYF10",SPHEROID["HAYF1910",6378388,296.9592625]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USHELM,GEOGCS["NOT SPECIFIED",DATUM["USHELM",SPHEROID["HELM1906",6378200,298.3]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USINT24,GEOGCS["NOT SPECIFIED",DATUM["USINT24",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USINT67,GEOGCS["NOT SPECIFIED",DATUM["USINT67",SPHEROID["INT67",6378160,298.25]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USKRAS40,GEOGCS["NOT SPECIFIED",DATUM["USKRAS40",SPHEROID["KRAS1940",6378245,298.3]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USNWL10D,GEOGCS["NOT SPECIFIED",DATUM["USNWL10D",SPHEROID["NWL10D",6378135,298.26]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USNWL9D,GEOGCS["NOT SPECIFIED",DATUM["USNWL9D",SPHEROID["NWL9D",6378145,298.25]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -USSPHERE,GEOGCS["NOT SPECIFIED",DATUM["USSPHERE",SPHEROID["SPHERE",6371000,0]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -WGS72BE,GEOGCS["BROADCAST EPHEMERIS",DATUM["WGS72BE",SPHEROID["NWL10D",6378135,298.26]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -WGS72DOD,GEOGCS["WGS 72 (DoD)",DATUM["WGS72DOD",SPHEROID["NWL10D",6378135,298.26]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -WGS84,GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AXIS["Lat",NORTH],AXIS["Long",EAST],AUTHORITY["EPSG","4326"]] -XIAN80,GEOGCS["XIAN 1980",DATUM["XIAN80",SPHEROID["GRS80",6378137,298.2572221]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -YEMHSL,GEOGCS["YEMEN HSL (LOCAL)",DATUM["YEMHSL",SPHEROID["INT24",6378388,297]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -YOFF2000,GEOGCS["YOFF2000",DATUM["YOFF2000",SPHEROID["CLA80IGN",6378249.2,293.4660213]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -VENUS,GEOGCS["VENUS MGN",DATUM["VENUS",SPHEROID["VENUS",6051920,1]],PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433]] -PLESSIS,GEOGCS["ANCIENNE TRIANGULATION DES INGENIEURS",DATUM["ANCIENNE TRIANGULATION DES INGENIEURS GEOGRAPHES",SPHEROID["PLESSIS 1817",6376523.0000,308.6400000000000,AUTHORITY["IGNF","ELG017"]],TOWGS84[1127.0000,22.0000,57.0000,0,0,0,0],AUTHORITY["IGNF","REG008"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","ATIGEO"]] -CSG67,GEOGCS["GUYANE CSG67",DATUM["CSG 1967",SPHEROID["International-Hayford 1909",6378388.0000,297.0000000000000,AUTHORITY["IGNF","ELG001"]],TOWGS84[-193.0660,236.9930,105.4470,0.4814,-0.8074,0.1276,1.564900],AUTHORITY["IGNF","REG407"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","CSG67GEO"]] -ED50FRA,GEOGCS["ED50 FRANCE",DATUM["ED50 FRANCE",SPHEROID["International-Hayford 1909",6378388.0000,297.0000000000000,AUTHORITY["IGNF","ELG001"]],TOWGS84[-84.0000,-97.0000,-117.0000,0,0,0,0],AUTHORITY["IGNF","REG101"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","ED50G"]] -GUAD48,GEOGCS["GUADELOUPE STE ANNE",DATUM["GUADELOUPE STE ANNE",SPHEROID["International-Hayford 1909",6378388.0000,297.0000000000000,AUTHORITY["IGNF","ELG001"]],TOWGS84[-472.2900,-5.6300,-304.1200,0.4362,-0.8374,0.2563,1.898400],AUTHORITY["IGNF","REG425"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","GUAD48GEO"]] -STMART,GEOGCS["GUADELOUPE FORT MARIGOT",DATUM["GUADELOUPE FORT MARIGOT",SPHEROID["International-Hayford 1909",6378388.0000,297.0000000000000,AUTHORITY["IGNF","ELG001"]],TOWGS84[136.5960,248.1480,-429.7890,0,0,0,0],AUTHORITY["IGNF","REG426"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","GUADFM49GEO"]] -IGN72,GEOGCS["IGN 1972 GRANDE-TERRE / ILE DES PINS",DATUM["IGN72 GRANDE-TERRE / ILE DES PINS",SPHEROID["International-Hayford 1909",6378388.0000,297.0000000000000,AUTHORITY["IGNF","ELG001"]],TOWGS84[-11.6400,-348.6000,291.6800,0,0,0,0],AUTHORITY["IGNF","REG548"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","IGN72GEO"]] -MART38,GEOGCS["MARTINIQUE FORT-DESAIX",DATUM["MARTINIQUE FOT-DESAIX",SPHEROID["International-Hayford 1909",6378388.0000,297.0000000000000,AUTHORITY["IGNF","ELG001"]],TOWGS84[126.9260,547.9390,130.4090,-2.7867,5.1612,-0.8584,13.822650],AUTHORITY["IGNF","REG424"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","MART38GEO"]] -MCBN50,GEOGCS["MAYOTTE COMBANI",DATUM["Combani",SPHEROID["International-Hayford 1909",6378388.0000,297.0000000000000,AUTHORITY["IGNF","ELG001"]],TOWGS84[-599.9280,-275.5520,-195.6650,-0.0835,-0.4715,0.0602,49.281400],AUTHORITY["IGNF","REG318"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","MAYO50GEO"]] -REUN47,GEOGCS["REUNION 1947",DATUM["REUNION-PITON-DES-NEIGES",SPHEROID["International-Hayford 1909",6378388.0000,297.0000000000000,AUTHORITY["IGNF","ELG001"]],TOWGS84[789.5240,-626.4860,-89.9040,0.6006,76.7946,-10.5788,-32.324100],AUTHORITY["IGNF","REG317"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","REUN47GEO"]] -RGFG95,GEOGCS["RESEAU GEODESIQUE FRANCAIS DE GUYANE 1995",DATUM["RESEAU GEODESIQUE FRANCAIS DE GUYANE 1995",SPHEROID["IAG GRS 1980",6378137.0000,298.2572221010000,AUTHORITY["IGNF","ELG037"]],TOWGS84[0.0000,0.0000,0.0000,0,0,0,0],AUTHORITY["IGNF","REG486"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","RGFG95GEO"]] -RGM04,GEOGCS["RGM04 (RESEAU GEODESIQUE DE MAYOTTE 2004)",DATUM["RGM04 (RESEAU GEODESIQUE DE MAYOTTE 2004)",SPHEROID["IAG GRS 1980",6378137.0000,298.2572221010000,AUTHORITY["IGNF","ELG037"]],TOWGS84[0.0000,0.0000,0.0000,0,0,0,0],AUTHORITY["IGNF","REG702"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","RGM04GEO"]] -RGNC,GEOGCS["RESEAU GEODESIQUE DE NOUVELLE-CALEDONIE",DATUM["RESEAU GEODESIQUE DE NOUVELLE-CALEDONIE (RGNC 1991)",SPHEROID["IAG GRS 1980",6378137.0000,298.2572221010000,AUTHORITY["IGNF","ELG037"]],TOWGS84[0.0000,0.0000,0.0000,0,0,0,0],AUTHORITY["IGNF","REG547"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","RGNCGEO"]] -RGPF,GEOGCS["RGPF (RESEAU GEODESIQUE DE POLYNESIE FRANCAISE)",DATUM["RGPF (RESEAU GEODESIQUE DE POLYNESIE FRANCAISE)",SPHEROID["IAG GRS 1980",6378137.0000,298.2572221010000,AUTHORITY["IGNF","ELG037"]],TOWGS84[0.0000,0.0000,0.0000,0,0,0,0],AUTHORITY["IGNF","REG032"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","RGPFGEO"]] -RGR92,GEOGCS["RESEAU GEODESIQUE DE LA REUNION 1992",DATUM["RESEAU GEODESIQUE DE LA REUNION 1992 (RGR92)",SPHEROID["IAG GRS 1980",6378137.0000,298.2572221010000,AUTHORITY["IGNF","ELG037"]],TOWGS84[0.0000,0.0000,0.0000,0,0,0,0],AUTHORITY["IGNF","REG700"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","RGR92GEO"]] -RGSPM06,GEOGCS["SAINT-PIERRE-ET-MIQUELON (2006)",DATUM["ST PIERRE ET MIQUELON 2006",SPHEROID["IAG GRS 1980",6378137.0000,298.2572221010000,AUTHORITY["IGNF","ELG037"]],TOWGS84[0.0000,0.0000,0.0000,0,0,0,0],AUTHORITY["IGNF","REG706"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","RGSPM06GEO"]] -RGTAAF07,GEOGCS["RESEAU GEODESIQUE DES TAAF (2007)",DATUM["RESEAU GEODESIQUE DES TERRES AUSTRALES ET ANTARCTIQUES FRANCAISES 2007",SPHEROID["IAG GRS 1980",6378137.0000,298.2572221010000,AUTHORITY["IGNF","ELG037"]],TOWGS84[0.0000,0.0000,0.0000,0,0,0,0],AUTHORITY["IGNF","REG036"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","RGTAAF07"]]',' -RRAF,GEOGCS["RESEAU DE REFERENCE DES ANTILLES FRANCAISES (1988-1991)",DATUM["RESEAU DE REFERENCE DES ANTILLES FRANCAISES (1988-1991)",SPHEROID["IAG GRS 1980",6378137.0000,298.2572221010000,AUTHORITY["IGNF","ELG037"]],TOWGS84[0.0000,0.0000,0.0000,0,0,0,0],AUTHORITY["IGNF","REG495"]],PRIMEM["Greenwich",0.000000000,AUTHORITY["IGNF","LGO01"]],UNIT["degree",0.01745329251994330],AXIS["Longitude",EAST],AXIS["Latitude",NORTH],AUTHORITY["IGNF","WGS84RRAFGEO"]] -GEOPORTALANF,PROJCS["GEOPORTAIL - ANTILLES FRANCAISES",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9002"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",15.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALANF"]] -GEOPORTALASP,PROJCS["GEOPORTAIL - AMSTERDAM ET SAINT-PAUL",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9012"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",-38.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALASP"]] -GEOPORTALCRZ,PROJCS["GEOPORTAIL - CROZET",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9011"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",-46.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALCRZ"]] -GEOPORTALFXX,PROJCS["GEOPORTAIL - FRANCE METROPOLITAINE",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9001"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",46.500000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALFXX"]] -GEOPORTALGUF,PROJCS["GEOPORTAIL - GUYANE",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9003"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",4.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALGUF"]] -GEOPORTALKER,PROJCS["GEOPORTAIL - KERGUELEN",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9010"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",-49.500000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALKER"]] -GEOPORTALMYT,PROJCS["GEOPORTAIL - MAYOTTE",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9005"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",-12.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALMYT"]] -GEOPORTALNCL,PROJCS["GEOPORTAIL - NOUVELLE-CALEDONIE",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9007"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",-22.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALNCL"]] -GEOPORTALPYF,PROJCS["GEOPORTAIL - POLYNESIE FRANCAISE",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9009"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",-15.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALPYF"]] -GEOPORTALREU,PROJCS["GEOPORTAIL - REUNION ET DEPENDANCES",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9004"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",-21.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALREU"]] -GEOPORTALSPM,PROJCS["GEOPORTAIL - SAINT-PIERRE ET MIQUELON",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9006"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",47.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALSPM"]] -GEOPORTALWLF,PROJCS["GEOPORTAIL - WALLIS ET FUTUNA",PROJECTION["Equirectangular",AUTHORITY["IGNF","PRC9008"]],PARAMETER["latitude_of_origin",0.000000000],PARAMETER["central_meridian",0.000000000],PARAMETER["standard_parallel_1",-14.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","GEOPORTALWLF"]] -MILLER,PROJCS["GEOPORTAIL - MONDE",PROJECTION["Miller_Cylindrical",AUTHORITY["IGNF","PRC9901"]],PARAMETER["central_meridian",0.000000000],PARAMETER["false_easting",0.000],PARAMETER["false_northing",0.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","MILLER"]] -GLABREUN,PROJCS["REUNION GAUSS LABORDE",PROJECTION["Gauss_Schreiber_Transverse_Mercator",AUTHORITY["IGNF","PRC0508"]],PARAMETER["latitude_of_origin",-21.116666667],PARAMETER["central_meridian",55.533333333],PARAMETER["scale_factor",1.00000000],PARAMETER["false_easting",160000.000],PARAMETER["false_northing",50000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","REUN47GAUSSL"]] -LAMBERTNC,PROJCS["LAMBERT NOUVELLE CALEDONIE",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC0149"]],PARAMETER["latitude_of_origin",-21.500000000],PARAMETER["central_meridian",166.000000000],PARAMETER["standard_parallel_1",-20.666666667],PARAMETER["standard_parallel_2",-22.333333333],PARAMETER["false_easting",400000.000],PARAMETER["false_northing",300000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGNCLAM"]] -LMCC42Z1,PROJCS["Projection conique conforme Zone 1",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC8142"]],PARAMETER["latitude_of_origin",42.000000000],PARAMETER["central_meridian",3.000000000],PARAMETER["standard_parallel_1",41.250000000],PARAMETER["standard_parallel_2",42.750000000],PARAMETER["false_easting",1700000.000],PARAMETER["false_northing",1200000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGF93CC42"]] -LMCC43Z2,PROJCS["Projection conique conforme Zone 2",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC8143"]],PARAMETER["latitude_of_origin",43.000000000],PARAMETER["central_meridian",3.000000000],PARAMETER["standard_parallel_1",42.250000000],PARAMETER["standard_parallel_2",43.750000000],PARAMETER["false_easting",1700000.000],PARAMETER["false_northing",2200000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGF93CC43"]] -LMCC44Z3,PROJCS["Projection conique conforme Zone 3",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC8144"]],PARAMETER["latitude_of_origin",44.000000000],PARAMETER["central_meridian",3.000000000],PARAMETER["standard_parallel_1",43.250000000],PARAMETER["standard_parallel_2",44.750000000],PARAMETER["false_easting",1700000.000],PARAMETER["false_northing",3200000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGF93CC44"]] -LMCC45Z4,PROJCS["Projection conique conforme Zone 4",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC8145"]],PARAMETER["latitude_of_origin",45.000000000],PARAMETER["central_meridian",3.000000000],PARAMETER["standard_parallel_1",44.250000000],PARAMETER["standard_parallel_2",45.750000000],PARAMETER["false_easting",1700000.000],PARAMETER["false_northing",4200000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGF93CC45"]] -LMCC46Z5,PROJCS["Projection conique conforme Zone 5",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC8146"]],PARAMETER["latitude_of_origin",46.000000000],PARAMETER["central_meridian",3.000000000],PARAMETER["standard_parallel_1",45.250000000],PARAMETER["standard_parallel_2",46.750000000],PARAMETER["false_easting",1700000.000],PARAMETER["false_northing",5200000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGF93CC46"]] -LMCC47Z6,PROJCS["Projection conique conforme Zone 6",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC8147"]],PARAMETER["latitude_of_origin",47.000000000],PARAMETER["central_meridian",3.000000000],PARAMETER["standard_parallel_1",46.250000000],PARAMETER["standard_parallel_2",47.750000000],PARAMETER["false_easting",1700000.000],PARAMETER["false_northing",6200000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGF93CC47"]] -LMCC48Z7,PROJCS["Projection conique conforme Zone 7",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC8148"]],PARAMETER["latitude_of_origin",48.000000000],PARAMETER["central_meridian",3.000000000],PARAMETER["standard_parallel_1",47.250000000],PARAMETER["standard_parallel_2",48.750000000],PARAMETER["false_easting",1700000.000],PARAMETER["false_northing",7200000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGF93CC48"]] -LMCC49Z8,PROJCS["Projection conique conforme Zone 8",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC8149"]],PARAMETER["latitude_of_origin",49.000000000],PARAMETER["central_meridian",3.000000000],PARAMETER["standard_parallel_1",48.250000000],PARAMETER["standard_parallel_2",49.750000000],PARAMETER["false_easting",1700000.000],PARAMETER["false_northing",8200000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGF93CC49"]] -LMCC50Z9,PROJCS["Projection conique conforme Zone 9",PROJECTION["Lambert_Conformal_Conic_2SP",AUTHORITY["IGNF","PRC8150"]],PARAMETER["latitude_of_origin",50.000000000],PARAMETER["central_meridian",3.000000000],PARAMETER["standard_parallel_1",49.250000000],PARAMETER["standard_parallel_2",50.750000000],PARAMETER["false_easting",1700000.000],PARAMETER["false_northing",9200000.000],UNIT["metre",1],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["IGNF","RGF93CC50"]] -ETRS89,GEOGCS["ETRS89",DATUM["European_Terrestrial_Reference_System_1989",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6258"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.01745329251994328,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4258"]] diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/eedaconf.json b/.venv/lib/python3.12/site-packages/fiona/gdal_data/eedaconf.json deleted file mode 100644 index c2ac3ddd..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/eedaconf.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "##example_collection/example_subcollection": { - "fields": [ - { - "name": "a_int_field", - "type": "int" - }, - { - "name": "a_int64_field", - "type": "int64" - }, - { - "name": "a_int64_field", - "type": "int64" - }, - { - "name": "a_real_field", - "type": "double" - } - ], - "add_other_properties_field": true - } -} diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/epsg.wkt b/.venv/lib/python3.12/site-packages/fiona/gdal_data/epsg.wkt deleted file mode 100644 index 64898f46..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/epsg.wkt +++ /dev/null @@ -1 +0,0 @@ -include cubewerx_extra.wkt diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/esri_StatePlane_extra.wkt b/.venv/lib/python3.12/site-packages/fiona/gdal_data/esri_StatePlane_extra.wkt deleted file mode 100644 index edbfa83c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/esri_StatePlane_extra.wkt +++ /dev/null @@ -1,631 +0,0 @@ -1010,PROJCS["NAD_1983_HARN_StatePlane_Alabama_East_FIPS_0101",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-85.83333333333333],PARAMETER["Scale_Factor",0.99996],PARAMETER["Latitude_Of_Origin",30.5],UNIT["Meter",1]] -1011,PROJCS["NAD_1983_StatePlane_Alabama_East_FIPS_0101",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-85.83333333333333],PARAMETER["Scale_Factor",0.99996],PARAMETER["Latitude_Of_Origin",30.5],UNIT["Meter",1]] -1012,PROJCS["NAD_1983_StatePlane_Alabama_East_FIPS_0101_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-85.83333333333333],PARAMETER["Scale_Factor",0.99996],PARAMETER["Latitude_Of_Origin",30.5],UNIT["Foot_US",0.304800609601219241]] -1014,PROJCS["NAD_1927_StatePlane_Alabama_East_FIPS_0101",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-85.83333333333333],PARAMETER["Scale_Factor",0.99996],PARAMETER["Latitude_Of_Origin",30.5],UNIT["Foot_US",0.304800609601219241]] -1020,PROJCS["NAD_1983_HARN_StatePlane_Alabama_West_FIPS_0102",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-87.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",30],UNIT["Meter",1]] -1021,PROJCS["NAD_1983_StatePlane_Alabama_West_FIPS_0102",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-87.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",30],UNIT["Meter",1]] -1022,PROJCS["NAD_1983_StatePlane_Alabama_West_FIPS_0102_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-87.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",30],UNIT["Foot_US",0.304800609601219241]] -1024,PROJCS["NAD_1927_StatePlane_Alabama_West_FIPS_0102",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-87.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",30],UNIT["Foot_US",0.304800609601219241]] -2010,PROJCS["NAD_1983_HARN_StatePlane_Arizona_East_FIPS_0201",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",213360],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-110.1666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -2011,PROJCS["NAD_1983_StatePlane_Arizona_East_FIPS_0201",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",213360],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-110.1666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -2012,PROJCS["NAD_1983_StatePlane_Arizona_East_FIPS_0201_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",699998.5999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-110.1666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -2013,PROJCS["NAD_1983_HARN_StatePlane_Arizona_East_FIPS_0201_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-110.1666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot",0.3048]] -2014,PROJCS["NAD_1927_StatePlane_Arizona_East_FIPS_0201",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-110.1666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -2015,PROJCS["NAD_1983_HARN_StatePlane_Arizona_East_FIPS_0201_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-110.1666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot",0.3048]] -2016,PROJCS["NAD_1983_StatePlane_Arizona_East_FIPS_0201_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-110.1666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot",0.3048]] -2020,PROJCS["NAD_1983_HARN_StatePlane_Arizona_Central_FIPS_0202",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",213360],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-111.9166666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -2021,PROJCS["NAD_1983_StatePlane_Arizona_Central_FIPS_0202",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",213360],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-111.9166666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -2022,PROJCS["NAD_1983_StatePlane_Arizona_Central_FIPS_0202_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",699998.5999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-111.9166666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -2023,PROJCS["NAD_1983_HARN_StatePlane_Arizona_Central_FIPS_0202_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-111.9166666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot",0.3048]] -2024,PROJCS["NAD_1927_StatePlane_Arizona_Central_FIPS_0202",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-111.9166666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -2025,PROJCS["NAD_1983_HARN_StatePlane_Arizona_Central_FIPS_0202_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-111.9166666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot",0.3048]] -2026,PROJCS["NAD_1983_StatePlane_Arizona_Central_FIPS_0202_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-111.9166666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot",0.3048]] -2030,PROJCS["NAD_1983_HARN_StatePlane_Arizona_West_FIPS_0203",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",213360],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-113.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -2031,PROJCS["NAD_1983_StatePlane_Arizona_West_FIPS_0203",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",213360],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-113.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -2032,PROJCS["NAD_1983_StatePlane_Arizona_West_FIPS_0203_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",699998.5999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-113.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -2033,PROJCS["NAD_1983_HARN_StatePlane_Arizona_West_FIPS_0203_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-113.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot",0.3048]] -2034,PROJCS["NAD_1927_StatePlane_Arizona_West_FIPS_0203",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-113.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -2035,PROJCS["NAD_1983_HARN_StatePlane_Arizona_West_FIPS_0203_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-113.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot",0.3048]] -2036,PROJCS["NAD_1983_StatePlane_Arizona_West_FIPS_0203_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-113.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot",0.3048]] -3010,PROJCS["NAD_1983_HARN_StatePlane_Arkansas_North_FIPS_0301",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-92.0],PARAMETER["Standard_Parallel_1",34.93333333333333],PARAMETER["Standard_Parallel_2",36.23333333333333],PARAMETER["Latitude_Of_Origin",34.33333333333334],UNIT["Meter",1.0]] -3011,PROJCS["NAD_1983_StatePlane_Arkansas_North_FIPS_0301",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92],PARAMETER["Standard_Parallel_1",34.93333333333333],PARAMETER["Standard_Parallel_2",36.23333333333333],PARAMETER["Latitude_Of_Origin",34.33333333333334],UNIT["Meter",1]] -3012,PROJCS["NAD_1983_StatePlane_Arkansas_North_FIPS_0301_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92],PARAMETER["Standard_Parallel_1",34.93333333333333],PARAMETER["Standard_Parallel_2",36.23333333333333],PARAMETER["Latitude_Of_Origin",34.33333333333334],UNIT["Foot_US",0.304800609601219241]] -3013,PROJCS["NAD_1983_HARN_StatePlane_Arkansas_North_FIPS_0301_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-92.0],PARAMETER["Standard_Parallel_1",34.93333333333333],PARAMETER["Standard_Parallel_2",36.23333333333333],PARAMETER["Latitude_Of_Origin",34.33333333333334],UNIT["Foot_US",0.3048006096012192]] -3014,PROJCS["NAD_1927_StatePlane_Arkansas_North_FIPS_0301",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92],PARAMETER["Standard_Parallel_1",34.93333333333333],PARAMETER["Standard_Parallel_2",36.23333333333333],PARAMETER["Latitude_Of_Origin",34.33333333333334],UNIT["Foot_US",0.304800609601219241]] -3020,PROJCS["NAD_1983_HARN_StatePlane_Arkansas_South_FIPS_0302",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",400000.0],PARAMETER["Central_Meridian",-92.0],PARAMETER["Standard_Parallel_1",33.3],PARAMETER["Standard_Parallel_2",34.76666666666667],PARAMETER["Latitude_Of_Origin",32.66666666666666],UNIT["Meter",1.0]] -3021,PROJCS["NAD_1983_StatePlane_Arkansas_South_FIPS_0302",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",400000],PARAMETER["Central_Meridian",-92],PARAMETER["Standard_Parallel_1",33.3],PARAMETER["Standard_Parallel_2",34.76666666666667],PARAMETER["Latitude_Of_Origin",32.66666666666666],UNIT["Meter",1]] -3022,PROJCS["NAD_1983_StatePlane_Arkansas_South_FIPS_0302_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",1312333.333333333],PARAMETER["Central_Meridian",-92],PARAMETER["Standard_Parallel_1",33.3],PARAMETER["Standard_Parallel_2",34.76666666666667],PARAMETER["Latitude_Of_Origin",32.66666666666666],UNIT["Foot_US",0.304800609601219241]] -3023,PROJCS["NAD_1983_HARN_StatePlane_Arkansas_South_FIPS_0302_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",1312333.333333333],PARAMETER["Central_Meridian",-92.0],PARAMETER["Standard_Parallel_1",33.3],PARAMETER["Standard_Parallel_2",34.76666666666667],PARAMETER["Latitude_Of_Origin",32.66666666666666],UNIT["Foot_US",0.3048006096012192]] -3024,PROJCS["NAD_1927_StatePlane_Arkansas_South_FIPS_0302",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92],PARAMETER["Standard_Parallel_1",33.3],PARAMETER["Standard_Parallel_2",34.76666666666667],PARAMETER["Latitude_Of_Origin",32.66666666666666],UNIT["Foot_US",0.304800609601219241]] -4010,PROJCS["NAD_1983_HARN_StatePlane_California_I_FIPS_0401",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-122],PARAMETER["Standard_Parallel_1",40],PARAMETER["Standard_Parallel_2",41.66666666666666],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Meter",1]] -4011,PROJCS["NAD_1983_StatePlane_California_I_FIPS_0401",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-122],PARAMETER["Standard_Parallel_1",40],PARAMETER["Standard_Parallel_2",41.66666666666666],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Meter",1]] -4012,PROJCS["NAD_1983_StatePlane_California_I_FIPS_0401_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-122],PARAMETER["Standard_Parallel_1",40],PARAMETER["Standard_Parallel_2",41.66666666666666],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.304800609601219241]] -4013,PROJCS["NAD_1983_HARN_StatePlane_California_I_FIPS_0401_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-122.0],PARAMETER["Standard_Parallel_1",40.0],PARAMETER["Standard_Parallel_2",41.66666666666666],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.3048006096012192]] -4014,PROJCS["NAD_1927_StatePlane_California_I_FIPS_0401",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-122],PARAMETER["Standard_Parallel_1",40],PARAMETER["Standard_Parallel_2",41.66666666666666],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.304800609601219241]] -4020,PROJCS["NAD_1983_HARN_StatePlane_California_II_FIPS_0402",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-122],PARAMETER["Standard_Parallel_1",38.33333333333334],PARAMETER["Standard_Parallel_2",39.83333333333334],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Meter",1]] -4021,PROJCS["NAD_1983_StatePlane_California_II_FIPS_0402",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-122],PARAMETER["Standard_Parallel_1",38.33333333333334],PARAMETER["Standard_Parallel_2",39.83333333333334],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Meter",1]] -4022,PROJCS["NAD_1983_StatePlane_California_II_FIPS_0402_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-122],PARAMETER["Standard_Parallel_1",38.33333333333334],PARAMETER["Standard_Parallel_2",39.83333333333334],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Foot_US",0.304800609601219241]] -4023,PROJCS["NAD_1983_HARN_StatePlane_California_II_FIPS_0402_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-122.0],PARAMETER["Standard_Parallel_1",38.33333333333334],PARAMETER["Standard_Parallel_2",39.83333333333334],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Foot_US",0.3048006096012192]] -4024,PROJCS["NAD_1927_StatePlane_California_II_FIPS_0402",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-122],PARAMETER["Standard_Parallel_1",38.33333333333334],PARAMETER["Standard_Parallel_2",39.83333333333334],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Foot_US",0.304800609601219241]] -4030,PROJCS["NAD_1983_HARN_StatePlane_California_III_FIPS_0403",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",37.06666666666667],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.5],UNIT["Meter",1]] -4031,PROJCS["NAD_1983_StatePlane_California_III_FIPS_0403",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",37.06666666666667],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.5],UNIT["Meter",1]] -4032,PROJCS["NAD_1983_StatePlane_California_III_FIPS_0403_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",37.06666666666667],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.5],UNIT["Foot_US",0.304800609601219241]] -4033,PROJCS["NAD_1983_HARN_StatePlane_California_III_FIPS_0403_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",37.06666666666667],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.5],UNIT["Foot_US",0.3048006096012192]] -4034,PROJCS["NAD_1927_StatePlane_California_III_FIPS_0403",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",37.06666666666667],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.5],UNIT["Foot_US",0.304800609601219241]] -4040,PROJCS["NAD_1983_HARN_StatePlane_California_IV_FIPS_0404",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-119],PARAMETER["Standard_Parallel_1",36],PARAMETER["Standard_Parallel_2",37.25],PARAMETER["Latitude_Of_Origin",35.33333333333334],UNIT["Meter",1]] -4041,PROJCS["NAD_1983_StatePlane_California_IV_FIPS_0404",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-119],PARAMETER["Standard_Parallel_1",36],PARAMETER["Standard_Parallel_2",37.25],PARAMETER["Latitude_Of_Origin",35.33333333333334],UNIT["Meter",1]] -4042,PROJCS["NAD_1983_StatePlane_California_IV_FIPS_0404_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-119],PARAMETER["Standard_Parallel_1",36],PARAMETER["Standard_Parallel_2",37.25],PARAMETER["Latitude_Of_Origin",35.33333333333334],UNIT["Foot_US",0.304800609601219241]] -4043,PROJCS["NAD_1983_HARN_StatePlane_California_IV_FIPS_0404_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-119.0],PARAMETER["Standard_Parallel_1",36.0],PARAMETER["Standard_Parallel_2",37.25],PARAMETER["Latitude_Of_Origin",35.33333333333334],UNIT["Foot_US",0.3048006096012192]] -4044,PROJCS["NAD_1927_StatePlane_California_IV_FIPS_0404",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-119],PARAMETER["Standard_Parallel_1",36],PARAMETER["Standard_Parallel_2",37.25],PARAMETER["Latitude_Of_Origin",35.33333333333334],UNIT["Foot_US",0.304800609601219241]] -4050,PROJCS["NAD_1983_HARN_StatePlane_California_V_FIPS_0405",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-118],PARAMETER["Standard_Parallel_1",34.03333333333333],PARAMETER["Standard_Parallel_2",35.46666666666667],PARAMETER["Latitude_Of_Origin",33.5],UNIT["Meter",1]] -4051,PROJCS["NAD_1983_StatePlane_California_V_FIPS_0405",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-118],PARAMETER["Standard_Parallel_1",34.03333333333333],PARAMETER["Standard_Parallel_2",35.46666666666667],PARAMETER["Latitude_Of_Origin",33.5],UNIT["Meter",1]] -4052,PROJCS["NAD_1983_StatePlane_California_V_FIPS_0405_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-118],PARAMETER["Standard_Parallel_1",34.03333333333333],PARAMETER["Standard_Parallel_2",35.46666666666667],PARAMETER["Latitude_Of_Origin",33.5],UNIT["Foot_US",0.304800609601219241]] -4053,PROJCS["NAD_1983_HARN_StatePlane_California_V_FIPS_0405_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-118.0],PARAMETER["Standard_Parallel_1",34.03333333333333],PARAMETER["Standard_Parallel_2",35.46666666666667],PARAMETER["Latitude_Of_Origin",33.5],UNIT["Foot_US",0.3048006096012192]] -4054,PROJCS["NAD_1927_StatePlane_California_V_FIPS_0405",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-118],PARAMETER["Standard_Parallel_1",34.03333333333333],PARAMETER["Standard_Parallel_2",35.46666666666667],PARAMETER["Latitude_Of_Origin",33.5],UNIT["Foot_US",0.304800609601219241]] -4060,PROJCS["NAD_1983_HARN_StatePlane_California_VI_FIPS_0406",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-116.25],PARAMETER["Standard_Parallel_1",32.78333333333333],PARAMETER["Standard_Parallel_2",33.88333333333333],PARAMETER["Latitude_Of_Origin",32.16666666666666],UNIT["Meter",1]] -4061,PROJCS["NAD_1983_StatePlane_California_VI_FIPS_0406",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-116.25],PARAMETER["Standard_Parallel_1",32.78333333333333],PARAMETER["Standard_Parallel_2",33.88333333333333],PARAMETER["Latitude_Of_Origin",32.16666666666666],UNIT["Meter",1]] -4062,PROJCS["NAD_1983_StatePlane_California_VI_FIPS_0406_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-116.25],PARAMETER["Standard_Parallel_1",32.78333333333333],PARAMETER["Standard_Parallel_2",33.88333333333333],PARAMETER["Latitude_Of_Origin",32.16666666666666],UNIT["Foot_US",0.304800609601219241]] -4063,PROJCS["NAD_1983_HARN_StatePlane_California_VI_FIPS_0406_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6561666.666666666],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-116.25],PARAMETER["Standard_Parallel_1",32.78333333333333],PARAMETER["Standard_Parallel_2",33.88333333333333],PARAMETER["Latitude_Of_Origin",32.16666666666666],UNIT["Foot_US",0.3048006096012192]] -4064,PROJCS["NAD_1927_StatePlane_California_VI_FIPS_0406",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-116.25],PARAMETER["Standard_Parallel_1",32.78333333333333],PARAMETER["Standard_Parallel_2",33.88333333333333],PARAMETER["Latitude_Of_Origin",32.16666666666666],UNIT["Foot_US",0.304800609601219241]] -4074,PROJCS["NAD_1927_StatePlane_California_VII_FIPS_0407",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4186692.58],PARAMETER["False_Northing",4160926.74],PARAMETER["Central_Meridian",-118.3333333333333],PARAMETER["Standard_Parallel_1",33.86666666666667],PARAMETER["Standard_Parallel_2",34.41666666666666],PARAMETER["Latitude_Of_Origin",34.13333333333333],UNIT["Foot_US",0.304800609601219241]] -5010,PROJCS["NAD_1983_HARN_StatePlane_Colorado_North_FIPS_0501",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",914401.8289],PARAMETER["False_Northing",304800.6096],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",39.71666666666667],PARAMETER["Standard_Parallel_2",40.78333333333333],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Meter",1]] -5011,PROJCS["NAD_1983_StatePlane_Colorado_North_FIPS_0501",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",914401.8289],PARAMETER["False_Northing",304800.6096],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",39.71666666666667],PARAMETER["Standard_Parallel_2",40.78333333333333],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Meter",1]] -5012,PROJCS["NAD_1983_StatePlane_Colorado_North_FIPS_0501_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3000000.000316083],PARAMETER["False_Northing",999999.999996],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",39.71666666666667],PARAMETER["Standard_Parallel_2",40.78333333333333],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.304800609601219241]] -5013,PROJCS["NAD_1983_HARN_StatePlane_Colorado_North_FIPS_0501_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3000000.000316083],PARAMETER["False_Northing",999999.999996],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",39.71666666666667],PARAMETER["Standard_Parallel_2",40.78333333333333],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.3048006096012192]] -5014,PROJCS["NAD_1927_StatePlane_Colorado_North_FIPS_0501",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",39.71666666666667],PARAMETER["Standard_Parallel_2",40.78333333333333],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.304800609601219241]] -5020,PROJCS["NAD_1983_HARN_StatePlane_Colorado_Central_FIPS_0502",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",914401.8289],PARAMETER["False_Northing",304800.6096],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",38.45],PARAMETER["Standard_Parallel_2",39.75],PARAMETER["Latitude_Of_Origin",37.83333333333334],UNIT["Meter",1]] -5021,PROJCS["NAD_1983_StatePlane_Colorado_Central_FIPS_0502",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",914401.8289],PARAMETER["False_Northing",304800.6096],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",38.45],PARAMETER["Standard_Parallel_2",39.75],PARAMETER["Latitude_Of_Origin",37.83333333333334],UNIT["Meter",1]] -5022,PROJCS["NAD_1983_StatePlane_Colorado_Central_FIPS_0502_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3000000.000316083],PARAMETER["False_Northing",999999.999996],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",38.45],PARAMETER["Standard_Parallel_2",39.75],PARAMETER["Latitude_Of_Origin",37.83333333333334],UNIT["Foot_US",0.304800609601219241]] -5023,PROJCS["NAD_1983_HARN_StatePlane_Colorado_Central_FIPS_0502_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3000000.000316083],PARAMETER["False_Northing",999999.999996],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",38.45],PARAMETER["Standard_Parallel_2",39.75],PARAMETER["Latitude_Of_Origin",37.83333333333334],UNIT["Foot_US",0.3048006096012192]] -5024,PROJCS["NAD_1927_StatePlane_Colorado_Central_FIPS_0502",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",38.45],PARAMETER["Standard_Parallel_2",39.75],PARAMETER["Latitude_Of_Origin",37.83333333333334],UNIT["Foot_US",0.304800609601219241]] -5030,PROJCS["NAD_1983_HARN_StatePlane_Colorado_South_FIPS_0503",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",914401.8289],PARAMETER["False_Northing",304800.6096],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",37.23333333333333],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -5031,PROJCS["NAD_1983_StatePlane_Colorado_South_FIPS_0503",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",914401.8289],PARAMETER["False_Northing",304800.6096],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",37.23333333333333],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -5032,PROJCS["NAD_1983_StatePlane_Colorado_South_FIPS_0503_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3000000.000316083],PARAMETER["False_Northing",999999.999996],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",37.23333333333333],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -5033,PROJCS["NAD_1983_HARN_StatePlane_Colorado_South_FIPS_0503_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3000000.000316083],PARAMETER["False_Northing",999999.999996],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",37.23333333333333],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.3048006096012192]] -5034,PROJCS["NAD_1927_StatePlane_Colorado_South_FIPS_0503",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-105.5],PARAMETER["Standard_Parallel_1",37.23333333333333],PARAMETER["Standard_Parallel_2",38.43333333333333],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -6000,PROJCS["NAD_1983_HARN_StatePlane_Connecticut_FIPS_0600",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",304800.6096],PARAMETER["False_Northing",152400.3048],PARAMETER["Central_Meridian",-72.75],PARAMETER["Standard_Parallel_1",41.2],PARAMETER["Standard_Parallel_2",41.86666666666667],PARAMETER["Latitude_Of_Origin",40.83333333333334],UNIT["Meter",1]] -6001,PROJCS["NAD_1983_StatePlane_Connecticut_FIPS_0600",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",304800.6096],PARAMETER["False_Northing",152400.3048],PARAMETER["Central_Meridian",-72.75],PARAMETER["Standard_Parallel_1",41.2],PARAMETER["Standard_Parallel_2",41.86666666666667],PARAMETER["Latitude_Of_Origin",40.83333333333334],UNIT["Meter",1]] -6002,PROJCS["NAD_1983_StatePlane_Connecticut_FIPS_0600_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",999999.999996],PARAMETER["False_Northing",499999.999998],PARAMETER["Central_Meridian",-72.75],PARAMETER["Standard_Parallel_1",41.2],PARAMETER["Standard_Parallel_2",41.86666666666667],PARAMETER["Latitude_Of_Origin",40.83333333333334],UNIT["Foot_US",0.304800609601219241]] -6003,PROJCS["NAD_1983_HARN_StatePlane_Connecticut_FIPS_0600_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",999999.999996],PARAMETER["False_Northing",499999.999998],PARAMETER["Central_Meridian",-72.75],PARAMETER["Standard_Parallel_1",41.2],PARAMETER["Standard_Parallel_2",41.86666666666667],PARAMETER["Latitude_Of_Origin",40.83333333333334],UNIT["Foot_US",0.3048006096012192]] -6004,PROJCS["NAD_1927_StatePlane_Connecticut_FIPS_0600",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-72.75],PARAMETER["Standard_Parallel_1",41.2],PARAMETER["Standard_Parallel_2",41.86666666666667],PARAMETER["Latitude_Of_Origin",40.83333333333334],UNIT["Foot_US",0.304800609601219241]] -7000,PROJCS["NAD_1983_HARN_StatePlane_Delaware_FIPS_0700",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-75.41666666666667],PARAMETER["Scale_Factor",0.999995],PARAMETER["Latitude_Of_Origin",38],UNIT["Meter",1]] -7001,PROJCS["NAD_1983_StatePlane_Delaware_FIPS_0700",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-75.41666666666667],PARAMETER["Scale_Factor",0.999995],PARAMETER["Latitude_Of_Origin",38],UNIT["Meter",1]] -7002,PROJCS["NAD_1983_StatePlane_Delaware_FIPS_0700_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-75.41666666666667],PARAMETER["Scale_Factor",0.999995],PARAMETER["Latitude_Of_Origin",38],UNIT["Foot_US",0.304800609601219241]] -7003,PROJCS["NAD_1983_HARN_StatePlane_Delaware_FIPS_0700_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-75.41666666666667],PARAMETER["Scale_Factor",0.999995],PARAMETER["Latitude_Of_Origin",38.0],UNIT["Foot_US",0.3048006096012192]] -7004,PROJCS["NAD_1927_StatePlane_Delaware_FIPS_0700",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-75.41666666666667],PARAMETER["Scale_Factor",0.999995],PARAMETER["Latitude_Of_Origin",38],UNIT["Foot_US",0.304800609601219241]] -9010,PROJCS["NAD_1983_HARN_StatePlane_Florida_East_FIPS_0901",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Meter",1]] -9011,PROJCS["NAD_1983_StatePlane_Florida_East_FIPS_0901",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Meter",1]] -9012,PROJCS["NAD_1983_StatePlane_Florida_East_FIPS_0901_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Foot_US",0.304800609601219241]] -9013,PROJCS["NAD_1983_HARN_StatePlane_Florida_East_FIPS_0901_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-81.0],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Foot_US",0.3048006096012192]] -9014,PROJCS["NAD_1927_StatePlane_Florida_East_FIPS_0901",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Foot_US",0.304800609601219241]] -9020,PROJCS["NAD_1983_HARN_StatePlane_Florida_West_FIPS_0902",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Meter",1]] -9021,PROJCS["NAD_1983_StatePlane_Florida_West_FIPS_0902",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Meter",1]] -9022,PROJCS["NAD_1983_StatePlane_Florida_West_FIPS_0902_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Foot_US",0.304800609601219241]] -9023,PROJCS["NAD_1983_HARN_StatePlane_Florida_West_FIPS_0902_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-82.0],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Foot_US",0.3048006096012192]] -9024,PROJCS["NAD_1927_StatePlane_Florida_West_FIPS_0902",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",24.33333333333333],UNIT["Foot_US",0.304800609601219241]] -9030,PROJCS["NAD_1983_HARN_StatePlane_Florida_North_FIPS_0903",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.5],PARAMETER["Standard_Parallel_1",29.58333333333333],PARAMETER["Standard_Parallel_2",30.75],PARAMETER["Latitude_Of_Origin",29],UNIT["Meter",1]] -9031,PROJCS["NAD_1983_StatePlane_Florida_North_FIPS_0903",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.5],PARAMETER["Standard_Parallel_1",29.58333333333333],PARAMETER["Standard_Parallel_2",30.75],PARAMETER["Latitude_Of_Origin",29],UNIT["Meter",1]] -9032,PROJCS["NAD_1983_StatePlane_Florida_North_FIPS_0903_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.5],PARAMETER["Standard_Parallel_1",29.58333333333333],PARAMETER["Standard_Parallel_2",30.75],PARAMETER["Latitude_Of_Origin",29],UNIT["Foot_US",0.304800609601219241]] -9033,PROJCS["NAD_1983_HARN_StatePlane_Florida_North_FIPS_0903_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.5],PARAMETER["Standard_Parallel_1",29.58333333333333],PARAMETER["Standard_Parallel_2",30.75],PARAMETER["Latitude_Of_Origin",29.0],UNIT["Foot_US",0.3048006096012192]] -9034,PROJCS["NAD_1927_StatePlane_Florida_North_FIPS_0903",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.5],PARAMETER["Standard_Parallel_1",29.58333333333333],PARAMETER["Standard_Parallel_2",30.75],PARAMETER["Latitude_Of_Origin",29],UNIT["Foot_US",0.304800609601219241]] -10010,PROJCS["NAD_1983_HARN_StatePlane_Georgia_East_FIPS_1001",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30],UNIT["Meter",1]] -10011,PROJCS["NAD_1983_StatePlane_Georgia_East_FIPS_1001",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30],UNIT["Meter",1]] -10012,PROJCS["NAD_1983_StatePlane_Georgia_East_FIPS_1001_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30],UNIT["Foot_US",0.304800609601219241]] -10013,PROJCS["NAD_1983_HARN_StatePlane_Georgia_East_FIPS_1001_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-82.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30.0],UNIT["Foot_US",0.3048006096012192]] -10014,PROJCS["NAD_1927_StatePlane_Georgia_East_FIPS_1001",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30],UNIT["Foot_US",0.304800609601219241]] -10020,PROJCS["NAD_1983_HARN_StatePlane_Georgia_West_FIPS_1002",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30],UNIT["Meter",1]] -10021,PROJCS["NAD_1983_StatePlane_Georgia_West_FIPS_1002",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30],UNIT["Meter",1]] -10022,PROJCS["NAD_1983_StatePlane_Georgia_West_FIPS_1002_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2296583.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30],UNIT["Foot_US",0.304800609601219241]] -10023,PROJCS["NAD_1983_HARN_StatePlane_Georgia_West_FIPS_1002_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2296583.333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30.0],UNIT["Foot_US",0.3048006096012192]] -10024,PROJCS["NAD_1927_StatePlane_Georgia_West_FIPS_1002",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.16666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",30],UNIT["Foot_US",0.304800609601219241]] -11010,PROJCS["NAD_1983_HARN_StatePlane_Idaho_East_FIPS_1101",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-112.1666666666667],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Meter",1]] -11011,PROJCS["NAD_1983_StatePlane_Idaho_East_FIPS_1101",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-112.1666666666667],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Meter",1]] -11012,PROJCS["NAD_1983_StatePlane_Idaho_East_FIPS_1101_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-112.1666666666667],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.304800609601219241]] -11013,PROJCS["NAD_1983_HARN_StatePlane_Idaho_East_FIPS_1101_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-112.1666666666667],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.3048006096012192]] -11014,PROJCS["NAD_1927_StatePlane_Idaho_East_FIPS_1101",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-112.1666666666667],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.304800609601219241]] -11020,PROJCS["NAD_1983_HARN_StatePlane_Idaho_Central_FIPS_1102",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-114],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Meter",1]] -11021,PROJCS["NAD_1983_StatePlane_Idaho_Central_FIPS_1102",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-114],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Meter",1]] -11022,PROJCS["NAD_1983_StatePlane_Idaho_Central_FIPS_1102_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-114],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.304800609601219241]] -11023,PROJCS["NAD_1983_HARN_StatePlane_Idaho_Central_FIPS_1102_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-114.0],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.3048006096012192]] -11024,PROJCS["NAD_1927_StatePlane_Idaho_Central_FIPS_1102",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-114],PARAMETER["Scale_Factor",0.9999473684210526],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.304800609601219241]] -11030,PROJCS["NAD_1983_HARN_StatePlane_Idaho_West_FIPS_1103",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-115.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Meter",1]] -11031,PROJCS["NAD_1983_StatePlane_Idaho_West_FIPS_1103",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-115.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Meter",1]] -11032,PROJCS["NAD_1983_StatePlane_Idaho_West_FIPS_1103_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-115.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.304800609601219241]] -11033,PROJCS["NAD_1983_HARN_StatePlane_Idaho_West_FIPS_1103_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-115.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.3048006096012192]] -11034,PROJCS["NAD_1927_StatePlane_Idaho_West_FIPS_1103",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-115.75],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.304800609601219241]] -12010,PROJCS["NAD_1983_HARN_StatePlane_Illinois_East_FIPS_1201",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-88.33333333333333],PARAMETER["Scale_Factor",0.9999749999999999],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -12011,PROJCS["NAD_1983_StatePlane_Illinois_East_FIPS_1201",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-88.33333333333333],PARAMETER["Scale_Factor",0.9999749999999999],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -12012,PROJCS["NAD_1983_StatePlane_Illinois_East_FIPS_1201_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",984249.9999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-88.33333333333333],PARAMETER["Scale_Factor",0.9999749999999999],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -12013,PROJCS["NAD_1983_HARN_StatePlane_Illinois_East_FIPS_1201_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",984250.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-88.33333333333333],PARAMETER["Scale_Factor",0.999975],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.3048006096012192]] -12014,PROJCS["NAD_1927_StatePlane_Illinois_East_FIPS_1201",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-88.33333333333333],PARAMETER["Scale_Factor",0.9999749999999999],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -12020,PROJCS["NAD_1983_HARN_StatePlane_Illinois_West_FIPS_1202",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.16666666666667],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -12021,PROJCS["NAD_1983_StatePlane_Illinois_West_FIPS_1202",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.16666666666667],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -12022,PROJCS["NAD_1983_StatePlane_Illinois_West_FIPS_1202_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2296583.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.16666666666667],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -12023,PROJCS["NAD_1983_HARN_StatePlane_Illinois_West_FIPS_1202_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2296583.333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-90.16666666666667],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.3048006096012192]] -12024,PROJCS["NAD_1927_StatePlane_Illinois_West_FIPS_1202",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.16666666666667],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -13010,PROJCS["NAD_1983_HARN_StatePlane_Indiana_East_FIPS_1301",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",100000],PARAMETER["False_Northing",250000],PARAMETER["Central_Meridian",-85.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Meter",1]] -13011,PROJCS["NAD_1983_StatePlane_Indiana_East_FIPS_1301",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",100000],PARAMETER["False_Northing",250000],PARAMETER["Central_Meridian",-85.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Meter",1]] -13012,PROJCS["NAD_1983_StatePlane_Indiana_East_FIPS_1301_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",328083.3333333333],PARAMETER["False_Northing",820208.3333333333],PARAMETER["Central_Meridian",-85.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Foot_US",0.304800609601219241]] -13013,PROJCS["NAD_1983_HARN_StatePlane_Indiana_East_FIPS_1301_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",328083.3333333333],PARAMETER["False_Northing",820208.3333333333],PARAMETER["Central_Meridian",-85.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Foot_US",0.3048006096012192]] -13014,PROJCS["NAD_1927_StatePlane_Indiana_East_FIPS_1301",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-85.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Foot_US",0.304800609601219241]] -13020,PROJCS["NAD_1983_HARN_StatePlane_Indiana_West_FIPS_1302",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",900000],PARAMETER["False_Northing",250000],PARAMETER["Central_Meridian",-87.08333333333333],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Meter",1]] -13021,PROJCS["NAD_1983_StatePlane_Indiana_West_FIPS_1302",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",900000],PARAMETER["False_Northing",250000],PARAMETER["Central_Meridian",-87.08333333333333],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Meter",1]] -13022,PROJCS["NAD_1983_StatePlane_Indiana_West_FIPS_1302_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2952750],PARAMETER["False_Northing",820208.3333333333],PARAMETER["Central_Meridian",-87.08333333333333],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Foot_US",0.304800609601219241]] -13023,PROJCS["NAD_1983_HARN_StatePlane_Indiana_West_FIPS_1302_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2952750.0],PARAMETER["False_Northing",820208.3333333333],PARAMETER["Central_Meridian",-87.08333333333333],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Foot_US",0.3048006096012192]] -13024,PROJCS["NAD_1927_StatePlane_Indiana_West_FIPS_1302",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-87.08333333333333],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Foot_US",0.304800609601219241]] -14010,PROJCS["NAD_1983_HARN_StatePlane_Iowa_North_FIPS_1401",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1500000.0],PARAMETER["False_Northing",1000000.0],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",42.06666666666667],PARAMETER["Standard_Parallel_2",43.26666666666667],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Meter",1.0]] -14011,PROJCS["NAD_1983_StatePlane_Iowa_North_FIPS_1401",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1500000],PARAMETER["False_Northing",1000000],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",42.06666666666667],PARAMETER["Standard_Parallel_2",43.26666666666667],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Meter",1]] -14012,PROJCS["NAD_1983_StatePlane_Iowa_North_FIPS_1401_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4921249.999999999],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",42.06666666666667],PARAMETER["Standard_Parallel_2",43.26666666666667],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Foot_US",0.304800609601219241]] -14013,PROJCS["NAD_1983_HARN_StatePlane_Iowa_North_FIPS_1401_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4921250.0],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",42.06666666666667],PARAMETER["Standard_Parallel_2",43.26666666666667],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Foot_US",0.3048006096012192]] -14014,PROJCS["NAD_1927_StatePlane_Iowa_North_FIPS_1401",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",42.06666666666667],PARAMETER["Standard_Parallel_2",43.26666666666667],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Foot_US",0.304800609601219241]] -14020,PROJCS["NAD_1983_HARN_StatePlane_Iowa_South_FIPS_1402",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",40.61666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40.0],UNIT["Meter",1.0]] -14021,PROJCS["NAD_1983_StatePlane_Iowa_South_FIPS_1402",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",40.61666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40],UNIT["Meter",1]] -14022,PROJCS["NAD_1983_StatePlane_Iowa_South_FIPS_1402_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",40.61666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40],UNIT["Foot_US",0.304800609601219241]] -14023,PROJCS["NAD_1983_HARN_StatePlane_Iowa_South_FIPS_1402_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",40.61666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40.0],UNIT["Foot_US",0.3048006096012192]] -14024,PROJCS["NAD_1927_StatePlane_Iowa_South_FIPS_1402",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-93.5],PARAMETER["Standard_Parallel_1",40.61666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40],UNIT["Foot_US",0.304800609601219241]] -15010,PROJCS["NAD_1983_HARN_StatePlane_Kansas_North_FIPS_1501",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",38.71666666666667],PARAMETER["Standard_Parallel_2",39.78333333333333],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Meter",1]] -15011,PROJCS["NAD_1983_StatePlane_Kansas_North_FIPS_1501",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",38.71666666666667],PARAMETER["Standard_Parallel_2",39.78333333333333],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Meter",1]] -15012,PROJCS["NAD_1983_StatePlane_Kansas_North_FIPS_1501_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",38.71666666666667],PARAMETER["Standard_Parallel_2",39.78333333333333],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Foot_US",0.304800609601219241]] -15013,PROJCS["NAD_1983_HARN_StatePlane_Kansas_North_FIPS_1501_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-98.0],PARAMETER["Standard_Parallel_1",38.71666666666667],PARAMETER["Standard_Parallel_2",39.78333333333333],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Foot_US",0.3048006096012192]] -15014,PROJCS["NAD_1927_StatePlane_Kansas_North_FIPS_1501",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",38.71666666666667],PARAMETER["Standard_Parallel_2",39.78333333333333],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Foot_US",0.304800609601219241]] -15020,PROJCS["NAD_1983_HARN_StatePlane_Kansas_South_FIPS_1502",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",400000],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",37.26666666666667],PARAMETER["Standard_Parallel_2",38.56666666666667],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -15021,PROJCS["NAD_1983_StatePlane_Kansas_South_FIPS_1502",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",400000],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",37.26666666666667],PARAMETER["Standard_Parallel_2",38.56666666666667],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -15022,PROJCS["NAD_1983_StatePlane_Kansas_South_FIPS_1502_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",1312333.333333333],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",37.26666666666667],PARAMETER["Standard_Parallel_2",38.56666666666667],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -15023,PROJCS["NAD_1983_HARN_StatePlane_Kansas_South_FIPS_1502_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",1312333.333333333],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",37.26666666666667],PARAMETER["Standard_Parallel_2",38.56666666666667],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.3048006096012192]] -15024,PROJCS["NAD_1927_StatePlane_Kansas_South_FIPS_1502",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",37.26666666666667],PARAMETER["Standard_Parallel_2",38.56666666666667],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -16000,PROJCS["NAD_1983_HARN_StatePlane_Kentucky_FIPS_1600",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1500000.0],PARAMETER["False_Northing",1000000.0],PARAMETER["Central_Meridian",-85.75],PARAMETER["Standard_Parallel_1",37.08333333333334],PARAMETER["Standard_Parallel_2",38.66666666666666],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Meter",1.0]] -16001,PROJCS["NAD_1983_StatePlane_Kentucky_FIPS_1600",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1500000.0],PARAMETER["False_Northing",1000000.0],PARAMETER["Central_Meridian",-85.75],PARAMETER["Standard_Parallel_1",37.08333333333334],PARAMETER["Standard_Parallel_2",38.66666666666666],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Meter",1.0]] -16002,PROJCS["NAD_1983_StatePlane_Kentucky_FIPS_1600_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4921250.0],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-85.75],PARAMETER["Standard_Parallel_1",37.08333333333334],PARAMETER["Standard_Parallel_2",38.66666666666666],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Foot_US",0.3048006096012192]] -16003,PROJCS["NAD_1983_HARN_StatePlane_Kentucky_FIPS_1600_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4921250.0],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-85.75],PARAMETER["Standard_Parallel_1",37.08333333333334],PARAMETER["Standard_Parallel_2",38.66666666666666],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Foot_US",0.3048006096012192]] -16010,PROJCS["NAD_1983_HARN_StatePlane_Kentucky_North_FIPS_1601",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.25],PARAMETER["Standard_Parallel_1",37.96666666666667],PARAMETER["Standard_Parallel_2",38.96666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Meter",1]] -16011,PROJCS["NAD_1983_StatePlane_Kentucky_North_FIPS_1601",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.25],PARAMETER["Standard_Parallel_1",37.96666666666667],PARAMETER["Standard_Parallel_2",38.96666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Meter",1]] -16012,PROJCS["NAD_1983_StatePlane_Kentucky_North_FIPS_1601_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.25],PARAMETER["Standard_Parallel_1",37.96666666666667],PARAMETER["Standard_Parallel_2",38.96666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Foot_US",0.304800609601219241]] -16013,PROJCS["NAD_1983_HARN_StatePlane_Kentucky_North_FIPS_1601_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.25],PARAMETER["Standard_Parallel_1",37.96666666666667],PARAMETER["Standard_Parallel_2",38.96666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Foot_US",0.3048006096012192]] -16014,PROJCS["NAD_1927_StatePlane_Kentucky_North_FIPS_1601",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.25],PARAMETER["Standard_Parallel_1",37.96666666666667],PARAMETER["Standard_Parallel_2",38.96666666666667],PARAMETER["Latitude_Of_Origin",37.5],UNIT["Foot_US",0.304800609601219241]] -16020,PROJCS["NAD_1983_HARN_StatePlane_Kentucky_South_FIPS_1602",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-85.75],PARAMETER["Standard_Parallel_1",36.73333333333333],PARAMETER["Standard_Parallel_2",37.93333333333333],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Meter",1]] -16021,PROJCS["NAD_1983_StatePlane_Kentucky_South_FIPS_1602",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",500000],PARAMETER["Central_Meridian",-85.75],PARAMETER["Standard_Parallel_1",36.73333333333333],PARAMETER["Standard_Parallel_2",37.93333333333333],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Meter",1]] -16022,PROJCS["NAD_1983_StatePlane_Kentucky_South_FIPS_1602_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-85.75],PARAMETER["Standard_Parallel_1",36.73333333333333],PARAMETER["Standard_Parallel_2",37.93333333333333],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Foot_US",0.304800609601219241]] -16023,PROJCS["NAD_1983_HARN_StatePlane_Kentucky_South_FIPS_1602_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",1640416.666666667],PARAMETER["Central_Meridian",-85.75],PARAMETER["Standard_Parallel_1",36.73333333333333],PARAMETER["Standard_Parallel_2",37.93333333333333],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Foot_US",0.3048006096012192]] -16024,PROJCS["NAD_1927_StatePlane_Kentucky_South_FIPS_1602",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-85.75],PARAMETER["Standard_Parallel_1",36.73333333333333],PARAMETER["Standard_Parallel_2",37.93333333333333],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Foot_US",0.304800609601219241]] -17010,PROJCS["NAD_1983_HARN_StatePlane_Louisiana_North_FIPS_1701",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92.5],PARAMETER["Standard_Parallel_1",31.16666666666667],PARAMETER["Standard_Parallel_2",32.66666666666666],PARAMETER["Latitude_Of_Origin",30.5],UNIT["Meter",1]] -17011,PROJCS["NAD_1983_StatePlane_Louisiana_North_FIPS_1701",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92.5],PARAMETER["Standard_Parallel_1",31.16666666666667],PARAMETER["Standard_Parallel_2",32.66666666666666],PARAMETER["Latitude_Of_Origin",30.5],UNIT["Meter",1]] -17012,PROJCS["NAD_1983_StatePlane_Louisiana_North_FIPS_1701_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3280833.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92.5],PARAMETER["Standard_Parallel_1",31.16666666666667],PARAMETER["Standard_Parallel_2",32.66666666666666],PARAMETER["Latitude_Of_Origin",30.5],UNIT["Foot_US",0.304800609601219241]] -17013,PROJCS["NAD_1983_HARN_StatePlane_Louisiana_North_FIPS_1701_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3280833.333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-92.5],PARAMETER["Standard_Parallel_1",31.16666666666667],PARAMETER["Standard_Parallel_2",32.66666666666666],PARAMETER["Latitude_Of_Origin",30.5],UNIT["Foot_US",0.3048006096012192]] -17014,PROJCS["NAD_1927_StatePlane_Louisiana_North_FIPS_1701",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92.5],PARAMETER["Standard_Parallel_1",31.16666666666667],PARAMETER["Standard_Parallel_2",32.66666666666666],PARAMETER["Latitude_Of_Origin",30.66666666666667],UNIT["Foot_US",0.304800609601219241]] -17020,PROJCS["NAD_1983_HARN_StatePlane_Louisiana_South_FIPS_1702",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-91.33333333333333],PARAMETER["Standard_Parallel_1",29.3],PARAMETER["Standard_Parallel_2",30.7],PARAMETER["Latitude_Of_Origin",28.5],UNIT["Meter",1]] -17021,PROJCS["NAD_1983_StatePlane_Louisiana_South_FIPS_1702",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-91.33333333333333],PARAMETER["Standard_Parallel_1",29.3],PARAMETER["Standard_Parallel_2",30.7],PARAMETER["Latitude_Of_Origin",28.5],UNIT["Meter",1]] -17022,PROJCS["NAD_1983_StatePlane_Louisiana_South_FIPS_1702_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3280833.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-91.33333333333333],PARAMETER["Standard_Parallel_1",29.3],PARAMETER["Standard_Parallel_2",30.7],PARAMETER["Latitude_Of_Origin",28.5],UNIT["Foot_US",0.304800609601219241]] -17023,PROJCS["NAD_1983_HARN_StatePlane_Louisiana_South_FIPS_1702_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3280833.333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-91.33333333333333],PARAMETER["Standard_Parallel_1",29.3],PARAMETER["Standard_Parallel_2",30.7],PARAMETER["Latitude_Of_Origin",28.5],UNIT["Foot_US",0.3048006096012192]] -17024,PROJCS["NAD_1927_StatePlane_Louisiana_South_FIPS_1702",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-91.33333333333333],PARAMETER["Standard_Parallel_1",29.3],PARAMETER["Standard_Parallel_2",30.7],PARAMETER["Latitude_Of_Origin",28.66666666666667],UNIT["Foot_US",0.304800609601219241]] -17031,PROJCS["NAD_1983_StatePlane_Louisiana_Offshore_FIPS_1703",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1000000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-91.33333333333333],PARAMETER["Standard_Parallel_1",26.16666666666667],PARAMETER["Standard_Parallel_2",27.83333333333333],PARAMETER["Latitude_Of_Origin",25.5],UNIT["Meter",1.0]] -17032,PROJCS["NAD_1983_StatePlane_Louisiana_Offshore_FIPS_1703_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3280833.333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-91.33333333333333],PARAMETER["Standard_Parallel_1",26.16666666666667],PARAMETER["Standard_Parallel_2",27.83333333333333],PARAMETER["Latitude_Of_Origin",25.5],UNIT["Foot_US",0.3048006096012192]] -17034,PROJCS["NAD_1927_StatePlane_Louisiana_Offshore_FIPS_1703",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-91.33333333333333],PARAMETER["Standard_Parallel_1",26.16666666666667],PARAMETER["Standard_Parallel_2",27.83333333333333],PARAMETER["Latitude_Of_Origin",25.66666666666667],UNIT["Foot_US",0.3048006096012192]] -18010,PROJCS["NAD_1983_HARN_StatePlane_Maine_East_FIPS_1801",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-68.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Meter",1]] -18011,PROJCS["NAD_1983_StatePlane_Maine_East_FIPS_1801",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-68.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Meter",1]] -18012,PROJCS["NAD_1983_StatePlane_Maine_East_FIPS_1801_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",984249.9999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-68.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Foot_US",0.304800609601219241]] -18014,PROJCS["NAD_1927_StatePlane_Maine_East_FIPS_1801",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-68.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Foot_US",0.304800609601219241]] -18020,PROJCS["NAD_1983_HARN_StatePlane_Maine_West_FIPS_1802",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",900000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-70.16666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",42.83333333333334],UNIT["Meter",1]] -18021,PROJCS["NAD_1983_StatePlane_Maine_West_FIPS_1802",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",900000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-70.16666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",42.83333333333334],UNIT["Meter",1]] -18022,PROJCS["NAD_1983_StatePlane_Maine_West_FIPS_1802_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2952750],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-70.16666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",42.83333333333334],UNIT["Foot_US",0.304800609601219241]] -18024,PROJCS["NAD_1927_StatePlane_Maine_West_FIPS_1802",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-70.16666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",42.83333333333334],UNIT["Foot_US",0.304800609601219241]] -19000,PROJCS["NAD_1983_HARN_StatePlane_Maryland_FIPS_1900",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77],PARAMETER["Standard_Parallel_1",38.3],PARAMETER["Standard_Parallel_2",39.45],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Meter",1]] -19001,PROJCS["NAD_1983_StatePlane_Maryland_FIPS_1900",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77],PARAMETER["Standard_Parallel_1",38.3],PARAMETER["Standard_Parallel_2",39.45],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Meter",1]] -19002,PROJCS["NAD_1983_StatePlane_Maryland_FIPS_1900_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77],PARAMETER["Standard_Parallel_1",38.3],PARAMETER["Standard_Parallel_2",39.45],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Foot_US",0.304800609601219241]] -19003,PROJCS["NAD_1983_HARN_StatePlane_Maryland_FIPS_1900_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-77.0],PARAMETER["Standard_Parallel_1",38.3],PARAMETER["Standard_Parallel_2",39.45],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Foot_US",0.3048006096012192]] -19004,PROJCS["NAD_1927_StatePlane_Maryland_FIPS_1900",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77],PARAMETER["Standard_Parallel_1",38.3],PARAMETER["Standard_Parallel_2",39.45],PARAMETER["Latitude_Of_Origin",37.83333333333334],UNIT["Foot_US",0.304800609601219241]] -20010,PROJCS["NAD_1983_HARN_StatePlane_Massachusetts_Mainland_FIPS_2001",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",750000],PARAMETER["Central_Meridian",-71.5],PARAMETER["Standard_Parallel_1",41.71666666666667],PARAMETER["Standard_Parallel_2",42.68333333333333],PARAMETER["Latitude_Of_Origin",41],UNIT["Meter",1]] -20011,PROJCS["NAD_1983_StatePlane_Massachusetts_Mainland_FIPS_2001",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",750000],PARAMETER["Central_Meridian",-71.5],PARAMETER["Standard_Parallel_1",41.71666666666667],PARAMETER["Standard_Parallel_2",42.68333333333333],PARAMETER["Latitude_Of_Origin",41],UNIT["Meter",1]] -20012,PROJCS["NAD_1983_StatePlane_Massachusetts_Mainland_FIPS_2001_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",2460625],PARAMETER["Central_Meridian",-71.5],PARAMETER["Standard_Parallel_1",41.71666666666667],PARAMETER["Standard_Parallel_2",42.68333333333333],PARAMETER["Latitude_Of_Origin",41],UNIT["Foot_US",0.304800609601219241]] -20013,PROJCS["NAD_1983_HARN_StatePlane_Massachusetts_Mainland_FIPS_2001_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",2460625.0],PARAMETER["Central_Meridian",-71.5],PARAMETER["Standard_Parallel_1",41.71666666666667],PARAMETER["Standard_Parallel_2",42.68333333333333],PARAMETER["Latitude_Of_Origin",41.0],UNIT["Foot_US",0.3048006096012192]] -20014,PROJCS["NAD_1927_StatePlane_Massachusetts_Mainland_FIPS_2001",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-71.5],PARAMETER["Standard_Parallel_1",41.71666666666667],PARAMETER["Standard_Parallel_2",42.68333333333333],PARAMETER["Latitude_Of_Origin",41],UNIT["Foot_US",0.304800609601219241]] -20020,PROJCS["NAD_1983_HARN_StatePlane_Massachusetts_Island_FIPS_2002",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-70.5],PARAMETER["Standard_Parallel_1",41.28333333333333],PARAMETER["Standard_Parallel_2",41.48333333333333],PARAMETER["Latitude_Of_Origin",41],UNIT["Meter",1]] -20021,PROJCS["NAD_1983_StatePlane_Massachusetts_Island_FIPS_2002",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-70.5],PARAMETER["Standard_Parallel_1",41.28333333333333],PARAMETER["Standard_Parallel_2",41.48333333333333],PARAMETER["Latitude_Of_Origin",41],UNIT["Meter",1]] -20022,PROJCS["NAD_1983_StatePlane_Massachusetts_Island_FIPS_2002_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-70.5],PARAMETER["Standard_Parallel_1",41.28333333333333],PARAMETER["Standard_Parallel_2",41.48333333333333],PARAMETER["Latitude_Of_Origin",41],UNIT["Foot_US",0.304800609601219241]] -20023,PROJCS["NAD_1983_HARN_StatePlane_Massachusetts_Island_FIPS_2002_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-70.5],PARAMETER["Standard_Parallel_1",41.28333333333333],PARAMETER["Standard_Parallel_2",41.48333333333333],PARAMETER["Latitude_Of_Origin",41.0],UNIT["Foot_US",0.3048006096012192]] -20024,PROJCS["NAD_1927_StatePlane_Massachusetts_Island_FIPS_2002",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-70.5],PARAMETER["Standard_Parallel_1",41.28333333333333],PARAMETER["Standard_Parallel_2",41.48333333333333],PARAMETER["Latitude_Of_Origin",41],UNIT["Foot_US",0.304800609601219241]] -21110,PROJCS["NAD_1983_HARN_StatePlane_Michigan_North_FIPS_2111",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",8000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-87],PARAMETER["Standard_Parallel_1",45.48333333333333],PARAMETER["Standard_Parallel_2",47.08333333333334],PARAMETER["Latitude_Of_Origin",44.78333333333333],UNIT["Meter",1]] -21111,PROJCS["NAD_1983_StatePlane_Michigan_North_FIPS_2111",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",8000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-87],PARAMETER["Standard_Parallel_1",45.48333333333333],PARAMETER["Standard_Parallel_2",47.08333333333334],PARAMETER["Latitude_Of_Origin",44.78333333333333],UNIT["Meter",1]] -21112,PROJCS["NAD_1983_StatePlane_Michigan_North_FIPS_2111_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",26246666.66666666],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-87],PARAMETER["Standard_Parallel_1",45.48333333333333],PARAMETER["Standard_Parallel_2",47.08333333333334],PARAMETER["Latitude_Of_Origin",44.78333333333333],UNIT["Foot_US",0.304800609601219241]] -21113,PROJCS["NAD_1983_HARN_StatePlane_Michigan_North_FIPS_2111_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",26246719.16010498],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-87.0],PARAMETER["Standard_Parallel_1",45.48333333333333],PARAMETER["Standard_Parallel_2",47.08333333333334],PARAMETER["Latitude_Of_Origin",44.78333333333333],UNIT["Foot",0.3048]] -21114,PROJCS["NAD_1927_StatePlane_Michigan_North_FIPS_2111",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-87],PARAMETER["Standard_Parallel_1",45.48333333333333],PARAMETER["Standard_Parallel_2",47.08333333333334],PARAMETER["Latitude_Of_Origin",44.78333333333333],UNIT["Foot_US",0.304800609601219241]] -21115,PROJCS["NAD_1983_HARN_StatePlane_Michigan_North_FIPS_2111_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",26246719.16010498],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-87.0],PARAMETER["Standard_Parallel_1",45.48333333333333],PARAMETER["Standard_Parallel_2",47.08333333333334],PARAMETER["Latitude_Of_Origin",44.78333333333333],UNIT["Foot",0.3048]] -21116,PROJCS["NAD_1983_StatePlane_Michigan_North_FIPS_2111_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",26246719.16010498],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-87.0],PARAMETER["Standard_Parallel_1",45.48333333333333],PARAMETER["Standard_Parallel_2",47.08333333333334],PARAMETER["Latitude_Of_Origin",44.78333333333333],UNIT["Foot",0.3048]] -21120,PROJCS["NAD_1983_HARN_StatePlane_Michigan_Central_FIPS_2112",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",44.18333333333333],PARAMETER["Standard_Parallel_2",45.7],PARAMETER["Latitude_Of_Origin",43.31666666666667],UNIT["Meter",1]] -21121,PROJCS["NAD_1983_StatePlane_Michigan_Central_FIPS_2112",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",6000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",44.18333333333333],PARAMETER["Standard_Parallel_2",45.7],PARAMETER["Latitude_Of_Origin",43.31666666666667],UNIT["Meter",1]] -21122,PROJCS["NAD_1983_StatePlane_Michigan_Central_FIPS_2112_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",19685000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",44.18333333333333],PARAMETER["Standard_Parallel_2",45.7],PARAMETER["Latitude_Of_Origin",43.31666666666667],UNIT["Foot_US",0.304800609601219241]] -21123,PROJCS["NAD_1983_HARN_StatePlane_Michigan_Central_FIPS_2112_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",19685039.37007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",44.18333333333333],PARAMETER["Standard_Parallel_2",45.7],PARAMETER["Latitude_Of_Origin",43.31666666666667],UNIT["Foot",0.3048]] -21124,PROJCS["NAD_1927_StatePlane_Michigan_Central_FIPS_2112",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.33333333333333],PARAMETER["Standard_Parallel_1",44.18333333333333],PARAMETER["Standard_Parallel_2",45.7],PARAMETER["Latitude_Of_Origin",43.31666666666667],UNIT["Foot_US",0.304800609601219241]] -21125,PROJCS["NAD_1983_HARN_StatePlane_Michigan_Central_FIPS_2112_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",19685039.37007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",44.18333333333333],PARAMETER["Standard_Parallel_2",45.7],PARAMETER["Latitude_Of_Origin",43.31666666666667],UNIT["Foot",0.3048]] -21126,PROJCS["NAD_1983_StatePlane_Michigan_Central_FIPS_2112_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",19685039.37007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",44.18333333333333],PARAMETER["Standard_Parallel_2",45.7],PARAMETER["Latitude_Of_Origin",43.31666666666667],UNIT["Foot",0.3048]] -21130,PROJCS["NAD_1983_HARN_StatePlane_Michigan_South_FIPS_2113",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",42.1],PARAMETER["Standard_Parallel_2",43.66666666666666],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Meter",1]] -21131,PROJCS["NAD_1983_StatePlane_Michigan_South_FIPS_2113",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",42.1],PARAMETER["Standard_Parallel_2",43.66666666666666],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Meter",1]] -21132,PROJCS["NAD_1983_StatePlane_Michigan_South_FIPS_2113_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",13123333.33333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",42.1],PARAMETER["Standard_Parallel_2",43.66666666666666],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Foot_US",0.304800609601219241]] -21133,PROJCS["NAD_1983_HARN_StatePlane_Michigan_South_FIPS_2113_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",13123359.58005249],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",42.1],PARAMETER["Standard_Parallel_2",43.66666666666666],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Foot",0.3048]] -21134,PROJCS["NAD_1927_StatePlane_Michigan_South_FIPS_2113",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-84.33333333333333],PARAMETER["Standard_Parallel_1",42.1],PARAMETER["Standard_Parallel_2",43.66666666666666],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Foot_US",0.304800609601219241]] -21135,PROJCS["NAD_1983_HARN_StatePlane_Michigan_South_FIPS_2113_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",13123359.58005249],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",42.1],PARAMETER["Standard_Parallel_2",43.66666666666666],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Foot",0.3048]] -21136,PROJCS["NAD_1983_StatePlane_Michigan_South_FIPS_2113_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",13123359.58005249],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-84.36666666666666],PARAMETER["Standard_Parallel_1",42.1],PARAMETER["Standard_Parallel_2",43.66666666666666],PARAMETER["Latitude_Of_Origin",41.5],UNIT["Foot",0.3048]] -22010,PROJCS["NAD_1983_HARN_StatePlane_Minnesota_North_FIPS_2201",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",800000.0],PARAMETER["False_Northing",100000.0],PARAMETER["Central_Meridian",-93.1],PARAMETER["Standard_Parallel_1",47.03333333333333],PARAMETER["Standard_Parallel_2",48.63333333333333],PARAMETER["Latitude_Of_Origin",46.5],UNIT["Meter",1.0]] -22011,PROJCS["NAD_1983_StatePlane_Minnesota_North_FIPS_2201",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-93.09999999999999],PARAMETER["Standard_Parallel_1",47.03333333333333],PARAMETER["Standard_Parallel_2",48.63333333333333],PARAMETER["Latitude_Of_Origin",46.5],UNIT["Meter",1]] -22012,PROJCS["NAD_1983_StatePlane_Minnesota_North_FIPS_2201_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-93.09999999999999],PARAMETER["Standard_Parallel_1",47.03333333333333],PARAMETER["Standard_Parallel_2",48.63333333333333],PARAMETER["Latitude_Of_Origin",46.5],UNIT["Foot_US",0.304800609601219241]] -22013,PROJCS["NAD_1983_HARN_StatePlane_Minnesota_North_FIPS_2201_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-93.1],PARAMETER["Standard_Parallel_1",47.03333333333333],PARAMETER["Standard_Parallel_2",48.63333333333333],PARAMETER["Latitude_Of_Origin",46.5],UNIT["Foot_US",0.3048006096012192]] -22014,PROJCS["NAD_1927_StatePlane_Minnesota_North_FIPS_2201",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-93.09999999999999],PARAMETER["Standard_Parallel_1",47.03333333333333],PARAMETER["Standard_Parallel_2",48.63333333333333],PARAMETER["Latitude_Of_Origin",46.5],UNIT["Foot_US",0.304800609601219241]] -22020,PROJCS["NAD_1983_HARN_StatePlane_Minnesota_Central_FIPS_2202",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",800000.0],PARAMETER["False_Northing",100000.0],PARAMETER["Central_Meridian",-94.25],PARAMETER["Standard_Parallel_1",45.61666666666667],PARAMETER["Standard_Parallel_2",47.05],PARAMETER["Latitude_Of_Origin",45.0],UNIT["Meter",1.0]] -22021,PROJCS["NAD_1983_StatePlane_Minnesota_Central_FIPS_2202",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-94.25],PARAMETER["Standard_Parallel_1",45.61666666666667],PARAMETER["Standard_Parallel_2",47.05],PARAMETER["Latitude_Of_Origin",45],UNIT["Meter",1]] -22022,PROJCS["NAD_1983_StatePlane_Minnesota_Central_FIPS_2202_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-94.25],PARAMETER["Standard_Parallel_1",45.61666666666667],PARAMETER["Standard_Parallel_2",47.05],PARAMETER["Latitude_Of_Origin",45],UNIT["Foot_US",0.304800609601219241]] -22023,PROJCS["NAD_1983_HARN_StatePlane_Minnesota_Central_FIPS_2202_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-94.25],PARAMETER["Standard_Parallel_1",45.61666666666667],PARAMETER["Standard_Parallel_2",47.05],PARAMETER["Latitude_Of_Origin",45.0],UNIT["Foot_US",0.3048006096012192]] -22024,PROJCS["NAD_1927_StatePlane_Minnesota_Central_FIPS_2202",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-94.25],PARAMETER["Standard_Parallel_1",45.61666666666667],PARAMETER["Standard_Parallel_2",47.05],PARAMETER["Latitude_Of_Origin",45],UNIT["Foot_US",0.304800609601219241]] -22030,PROJCS["NAD_1983_HARN_StatePlane_Minnesota_South_FIPS_2203",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",800000.0],PARAMETER["False_Northing",100000.0],PARAMETER["Central_Meridian",-94.0],PARAMETER["Standard_Parallel_1",43.78333333333333],PARAMETER["Standard_Parallel_2",45.21666666666667],PARAMETER["Latitude_Of_Origin",43.0],UNIT["Meter",1.0]] -22031,PROJCS["NAD_1983_StatePlane_Minnesota_South_FIPS_2203",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-94],PARAMETER["Standard_Parallel_1",43.78333333333333],PARAMETER["Standard_Parallel_2",45.21666666666667],PARAMETER["Latitude_Of_Origin",43],UNIT["Meter",1]] -22032,PROJCS["NAD_1983_StatePlane_Minnesota_South_FIPS_2203_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-94],PARAMETER["Standard_Parallel_1",43.78333333333333],PARAMETER["Standard_Parallel_2",45.21666666666667],PARAMETER["Latitude_Of_Origin",43],UNIT["Foot_US",0.304800609601219241]] -22033,PROJCS["NAD_1983_HARN_StatePlane_Minnesota_South_FIPS_2203_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-94.0],PARAMETER["Standard_Parallel_1",43.78333333333333],PARAMETER["Standard_Parallel_2",45.21666666666667],PARAMETER["Latitude_Of_Origin",43.0],UNIT["Foot_US",0.3048006096012192]] -22034,PROJCS["NAD_1927_StatePlane_Minnesota_South_FIPS_2203",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-94],PARAMETER["Standard_Parallel_1",43.78333333333333],PARAMETER["Standard_Parallel_2",45.21666666666667],PARAMETER["Latitude_Of_Origin",43],UNIT["Foot_US",0.304800609601219241]] -23010,PROJCS["NAD_1983_HARN_StatePlane_Mississippi_East_FIPS_2301",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-88.83333333333333],PARAMETER["Scale_Factor",0.99995],PARAMETER["Latitude_Of_Origin",29.5],UNIT["Meter",1]] -23011,PROJCS["NAD_1983_StatePlane_Mississippi_East_FIPS_2301",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-88.83333333333333],PARAMETER["Scale_Factor",0.99995],PARAMETER["Latitude_Of_Origin",29.5],UNIT["Meter",1]] -23012,PROJCS["NAD_1983_StatePlane_Mississippi_East_FIPS_2301_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",984249.9999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-88.83333333333333],PARAMETER["Scale_Factor",0.99995],PARAMETER["Latitude_Of_Origin",29.5],UNIT["Foot_US",0.304800609601219241]] -23013,PROJCS["NAD_1983_HARN_StatePlane_Mississippi_East_FIPS_2301_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",984250.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-88.83333333333333],PARAMETER["Scale_Factor",0.99995],PARAMETER["Latitude_Of_Origin",29.5],UNIT["Foot_US",0.3048006096012192]] -23014,PROJCS["NAD_1927_StatePlane_Mississippi_East_FIPS_2301",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-88.83333333333333],PARAMETER["Scale_Factor",0.99996],PARAMETER["Latitude_Of_Origin",29.66666666666667],UNIT["Foot_US",0.304800609601219241]] -23020,PROJCS["NAD_1983_HARN_StatePlane_Mississippi_West_FIPS_2302",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.33333333333333],PARAMETER["Scale_Factor",0.99995],PARAMETER["Latitude_Of_Origin",29.5],UNIT["Meter",1]] -23021,PROJCS["NAD_1983_StatePlane_Mississippi_West_FIPS_2302",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.33333333333333],PARAMETER["Scale_Factor",0.99995],PARAMETER["Latitude_Of_Origin",29.5],UNIT["Meter",1]] -23022,PROJCS["NAD_1983_StatePlane_Mississippi_West_FIPS_2302_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2296583.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.33333333333333],PARAMETER["Scale_Factor",0.99995],PARAMETER["Latitude_Of_Origin",29.5],UNIT["Foot_US",0.304800609601219241]] -23023,PROJCS["NAD_1983_HARN_StatePlane_Mississippi_West_FIPS_2302_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2296583.333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-90.33333333333333],PARAMETER["Scale_Factor",0.99995],PARAMETER["Latitude_Of_Origin",29.5],UNIT["Foot_US",0.3048006096012192]] -23024,PROJCS["NAD_1927_StatePlane_Mississippi_West_FIPS_2302",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.33333333333333],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",30.5],UNIT["Foot_US",0.304800609601219241]] -24010,PROJCS["NAD_1983_HARN_StatePlane_Missouri_East_FIPS_2401",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",250000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-90.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",35.83333333333334],UNIT["Meter",1.0]] -24011,PROJCS["NAD_1983_StatePlane_Missouri_East_FIPS_2401",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",250000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",35.83333333333334],UNIT["Meter",1]] -24012,PROJCS["NAD_1983_StatePlane_Missouri_East_FIPS_2401_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",820208.3333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",35.83333333333334],UNIT["Foot_US",0.304800609601219241]] -24014,PROJCS["NAD_1927_StatePlane_Missouri_East_FIPS_2401",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",35.83333333333334],UNIT["Foot_US",0.304800609601219241]] -24020,PROJCS["NAD_1983_HARN_StatePlane_Missouri_Central_FIPS_2402",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-92.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",35.83333333333334],UNIT["Meter",1.0]] -24021,PROJCS["NAD_1983_StatePlane_Missouri_Central_FIPS_2402",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",35.83333333333334],UNIT["Meter",1]] -24022,PROJCS["NAD_1983_StatePlane_Missouri_Central_FIPS_2402_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",35.83333333333334],UNIT["Foot_US",0.304800609601219241]] -24024,PROJCS["NAD_1927_StatePlane_Missouri_Central_FIPS_2402",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-92.5],PARAMETER["Scale_Factor",0.9999333333333333],PARAMETER["Latitude_Of_Origin",35.83333333333334],UNIT["Foot_US",0.304800609601219241]] -24030,PROJCS["NAD_1983_HARN_StatePlane_Missouri_West_FIPS_2403",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",850000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-94.5],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.16666666666666],UNIT["Meter",1.0]] -24031,PROJCS["NAD_1983_StatePlane_Missouri_West_FIPS_2403",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",850000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-94.5],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.16666666666666],UNIT["Meter",1]] -24032,PROJCS["NAD_1983_StatePlane_Missouri_West_FIPS_2403_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2788708.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-94.5],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.16666666666666],UNIT["Foot_US",0.304800609601219241]] -24034,PROJCS["NAD_1927_StatePlane_Missouri_West_FIPS_2403",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-94.5],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",36.16666666666666],UNIT["Foot_US",0.304800609601219241]] -25000,PROJCS["NAD_1983_HARN_StatePlane_Montana_FIPS_2500",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-109.5],PARAMETER["Standard_Parallel_1",45],PARAMETER["Standard_Parallel_2",49],PARAMETER["Latitude_Of_Origin",44.25],UNIT["Meter",1]] -25001,PROJCS["NAD_1983_StatePlane_Montana_FIPS_2500",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-109.5],PARAMETER["Standard_Parallel_1",45],PARAMETER["Standard_Parallel_2",49],PARAMETER["Latitude_Of_Origin",44.25],UNIT["Meter",1]] -25002,PROJCS["NAD_1983_StatePlane_Montana_FIPS_2500_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-109.5],PARAMETER["Standard_Parallel_1",45],PARAMETER["Standard_Parallel_2",49],PARAMETER["Latitude_Of_Origin",44.25],UNIT["Foot_US",0.304800609601219241]] -25003,PROJCS["NAD_1983_HARN_StatePlane_Montana_FIPS_2500_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968503.937007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-109.5],PARAMETER["Standard_Parallel_1",45.0],PARAMETER["Standard_Parallel_2",49.0],PARAMETER["Latitude_Of_Origin",44.25],UNIT["Foot",0.3048]] -25005,PROJCS["NAD_1983_HARN_StatePlane_Montana_FIPS_2500_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968503.937007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-109.5],PARAMETER["Standard_Parallel_1",45.0],PARAMETER["Standard_Parallel_2",49.0],PARAMETER["Latitude_Of_Origin",44.25],UNIT["Foot",0.3048]] -25006,PROJCS["NAD_1983_StatePlane_Montana_FIPS_2500_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968503.937007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-109.5],PARAMETER["Standard_Parallel_1",45.0],PARAMETER["Standard_Parallel_2",49.0],PARAMETER["Latitude_Of_Origin",44.25],UNIT["Foot",0.3048]] -25014,PROJCS["NAD_1927_StatePlane_Montana_North_FIPS_2501",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-109.5],PARAMETER["Standard_Parallel_1",47.85],PARAMETER["Standard_Parallel_2",48.71666666666667],PARAMETER["Latitude_Of_Origin",47],UNIT["Foot_US",0.304800609601219241]] -25024,PROJCS["NAD_1927_StatePlane_Montana_Central_FIPS_2502",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-109.5],PARAMETER["Standard_Parallel_1",46.45],PARAMETER["Standard_Parallel_2",47.88333333333333],PARAMETER["Latitude_Of_Origin",45.83333333333334],UNIT["Foot_US",0.304800609601219241]] -25034,PROJCS["NAD_1927_StatePlane_Montana_South_FIPS_2503",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-109.5],PARAMETER["Standard_Parallel_1",44.86666666666667],PARAMETER["Standard_Parallel_2",46.4],PARAMETER["Latitude_Of_Origin",44],UNIT["Foot_US",0.304800609601219241]] -26000,PROJCS["NAD_1983_HARN_StatePlane_Nebraska_FIPS_2600",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100],PARAMETER["Standard_Parallel_1",40],PARAMETER["Standard_Parallel_2",43],PARAMETER["Latitude_Of_Origin",39.83333333333334],UNIT["Meter",1]] -26001,PROJCS["NAD_1983_StatePlane_Nebraska_FIPS_2600",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100],PARAMETER["Standard_Parallel_1",40],PARAMETER["Standard_Parallel_2",43],PARAMETER["Latitude_Of_Origin",39.83333333333334],UNIT["Meter",1]] -26002,PROJCS["NAD_1983_StatePlane_Nebraska_FIPS_2600_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100],PARAMETER["Standard_Parallel_1",40],PARAMETER["Standard_Parallel_2",43],PARAMETER["Latitude_Of_Origin",39.83333333333334],UNIT["Foot_US",0.304800609601219241]] -26014,PROJCS["NAD_1927_StatePlane_Nebraska_North_FIPS_2601",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100],PARAMETER["Standard_Parallel_1",41.85],PARAMETER["Standard_Parallel_2",42.81666666666667],PARAMETER["Latitude_Of_Origin",41.33333333333334],UNIT["Foot_US",0.304800609601219241]] -26024,PROJCS["NAD_1927_StatePlane_Nebraska_South_FIPS_2602",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-99.5],PARAMETER["Standard_Parallel_1",40.28333333333333],PARAMETER["Standard_Parallel_2",41.71666666666667],PARAMETER["Latitude_Of_Origin",39.66666666666666],UNIT["Foot_US",0.304800609601219241]] -27010,PROJCS["NAD_1983_HARN_StatePlane_Nevada_East_FIPS_2701",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",8000000],PARAMETER["Central_Meridian",-115.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Meter",1]] -27011,PROJCS["NAD_1983_StatePlane_Nevada_East_FIPS_2701",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",8000000],PARAMETER["Central_Meridian",-115.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Meter",1]] -27012,PROJCS["NAD_1983_StatePlane_Nevada_East_FIPS_2701_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",26246666.66666666],PARAMETER["Central_Meridian",-115.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Foot_US",0.304800609601219241]] -27013,PROJCS["NAD_1983_HARN_StatePlane_Nevada_East_FIPS_2701_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",26246666.66666666],PARAMETER["Central_Meridian",-115.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Foot_US",0.3048006096012192]] -27014,PROJCS["NAD_1927_StatePlane_Nevada_East_FIPS_2701",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-115.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Foot_US",0.304800609601219241]] -27020,PROJCS["NAD_1983_HARN_StatePlane_Nevada_Central_FIPS_2702",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",6000000],PARAMETER["Central_Meridian",-116.6666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Meter",1]] -27021,PROJCS["NAD_1983_StatePlane_Nevada_Central_FIPS_2702",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",6000000],PARAMETER["Central_Meridian",-116.6666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Meter",1]] -27022,PROJCS["NAD_1983_StatePlane_Nevada_Central_FIPS_2702_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",19685000],PARAMETER["Central_Meridian",-116.6666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Foot_US",0.304800609601219241]] -27023,PROJCS["NAD_1983_HARN_StatePlane_Nevada_Central_FIPS_2702_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",19685000.0],PARAMETER["Central_Meridian",-116.6666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Foot_US",0.3048006096012192]] -27024,PROJCS["NAD_1927_StatePlane_Nevada_Central_FIPS_2702",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-116.6666666666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Foot_US",0.304800609601219241]] -27030,PROJCS["NAD_1983_HARN_StatePlane_Nevada_West_FIPS_2703",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",4000000],PARAMETER["Central_Meridian",-118.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Meter",1]] -27031,PROJCS["NAD_1983_StatePlane_Nevada_West_FIPS_2703",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",4000000],PARAMETER["Central_Meridian",-118.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Meter",1]] -27032,PROJCS["NAD_1983_StatePlane_Nevada_West_FIPS_2703_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",13123333.33333333],PARAMETER["Central_Meridian",-118.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Foot_US",0.304800609601219241]] -27033,PROJCS["NAD_1983_HARN_StatePlane_Nevada_West_FIPS_2703_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",13123333.33333333],PARAMETER["Central_Meridian",-118.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Foot_US",0.3048006096012192]] -27034,PROJCS["NAD_1927_StatePlane_Nevada_West_FIPS_2703",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-118.5833333333333],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",34.75],UNIT["Foot_US",0.304800609601219241]] -28000,PROJCS["NAD_1983_HARN_StatePlane_New_Hampshire_FIPS_2800",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-71.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",42.5],UNIT["Meter",1]] -28001,PROJCS["NAD_1983_StatePlane_New_Hampshire_FIPS_2800",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-71.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",42.5],UNIT["Meter",1]] -28002,PROJCS["NAD_1983_StatePlane_New_Hampshire_FIPS_2800_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",984249.9999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-71.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",42.5],UNIT["Foot_US",0.304800609601219241]] -28003,PROJCS["NAD_1983_HARN_StatePlane_New_Hampshire_FIPS_2800_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",984250.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-71.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",42.5],UNIT["Foot_US",0.3048006096012192]] -28004,PROJCS["NAD_1927_StatePlane_New_Hampshire_FIPS_2800",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-71.66666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",42.5],UNIT["Foot_US",0.304800609601219241]] -29000,PROJCS["NAD_1983_HARN_StatePlane_New_Jersey_FIPS_2900",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",150000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",38.83333333333334],UNIT["Meter",1]] -29001,PROJCS["NAD_1983_StatePlane_New_Jersey_FIPS_2900",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",150000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",38.83333333333334],UNIT["Meter",1]] -29002,PROJCS["NAD_1983_StatePlane_New_Jersey_FIPS_2900_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",492124.9999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",38.83333333333334],UNIT["Foot_US",0.304800609601219241]] -29003,PROJCS["NAD_1983_HARN_StatePlane_New_Jersey_FIPS_2900_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",492125.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-74.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",38.83333333333334],UNIT["Foot_US",0.3048006096012192]] -29004,PROJCS["NAD_1927_StatePlane_New_Jersey_FIPS_2900",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74.66666666666667],PARAMETER["Scale_Factor",0.9999749999999999],PARAMETER["Latitude_Of_Origin",38.83333333333334],UNIT["Foot_US",0.304800609601219241]] -30010,PROJCS["NAD_1983_HARN_StatePlane_New_Mexico_East_FIPS_3001",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",165000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-104.3333333333333],PARAMETER["Scale_Factor",0.9999090909090909],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -30011,PROJCS["NAD_1983_StatePlane_New_Mexico_East_FIPS_3001",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",165000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-104.3333333333333],PARAMETER["Scale_Factor",0.9999090909090909],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -30012,PROJCS["NAD_1983_StatePlane_New_Mexico_East_FIPS_3001_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",541337.4999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-104.3333333333333],PARAMETER["Scale_Factor",0.9999090909090909],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -30013,PROJCS["NAD_1983_HARN_StatePlane_New_Mexico_East_FIPS_3001_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",541337.5],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-104.3333333333333],PARAMETER["Scale_Factor",0.9999090909090909],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot_US",0.3048006096012192]] -30014,PROJCS["NAD_1927_StatePlane_New_Mexico_East_FIPS_3001",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-104.3333333333333],PARAMETER["Scale_Factor",0.9999090909090909],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -30020,PROJCS["NAD_1983_HARN_StatePlane_New_Mexico_Central_FIPS_3002",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-106.25],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -30021,PROJCS["NAD_1983_StatePlane_New_Mexico_Central_FIPS_3002",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-106.25],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -30022,PROJCS["NAD_1983_StatePlane_New_Mexico_Central_FIPS_3002_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-106.25],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -30023,PROJCS["NAD_1983_HARN_StatePlane_New_Mexico_Central_FIPS_3002_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-106.25],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot_US",0.3048006096012192]] -30024,PROJCS["NAD_1927_StatePlane_New_Mexico_Central_FIPS_3002",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-106.25],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -30030,PROJCS["NAD_1983_HARN_StatePlane_New_Mexico_West_FIPS_3003",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",830000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-107.8333333333333],PARAMETER["Scale_Factor",0.9999166666666667],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -30031,PROJCS["NAD_1983_StatePlane_New_Mexico_West_FIPS_3003",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",830000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-107.8333333333333],PARAMETER["Scale_Factor",0.9999166666666667],PARAMETER["Latitude_Of_Origin",31],UNIT["Meter",1]] -30032,PROJCS["NAD_1983_StatePlane_New_Mexico_West_FIPS_3003_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2723091.666666666],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-107.8333333333333],PARAMETER["Scale_Factor",0.9999166666666667],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -30033,PROJCS["NAD_1983_HARN_StatePlane_New_Mexico_West_FIPS_3003_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2723091.666666666],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-107.8333333333333],PARAMETER["Scale_Factor",0.9999166666666667],PARAMETER["Latitude_Of_Origin",31.0],UNIT["Foot_US",0.3048006096012192]] -30034,PROJCS["NAD_1927_StatePlane_New_Mexico_West_FIPS_3003",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-107.8333333333333],PARAMETER["Scale_Factor",0.9999166666666667],PARAMETER["Latitude_Of_Origin",31],UNIT["Foot_US",0.304800609601219241]] -31010,PROJCS["NAD_1983_HARN_StatePlane_New_York_East_FIPS_3101",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",150000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",38.83333333333334],UNIT["Meter",1]] -31011,PROJCS["NAD_1983_StatePlane_New_York_East_FIPS_3101",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",150000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",38.83333333333334],UNIT["Meter",1]] -31012,PROJCS["NAD_1983_StatePlane_New_York_East_FIPS_3101_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",492124.9999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",38.83333333333334],UNIT["Foot_US",0.304800609601219241]] -31013,PROJCS["NAD_1983_HARN_StatePlane_New_York_East_FIPS_3101_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",492125.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-74.5],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",38.83333333333334],UNIT["Foot_US",0.3048006096012192]] -31014,PROJCS["NAD_1927_StatePlane_New_York_East_FIPS_3101",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74.33333333333333],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",40],UNIT["Foot_US",0.304800609601219241]] -31020,PROJCS["NAD_1983_HARN_StatePlane_New_York_Central_FIPS_3102",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",250000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-76.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40],UNIT["Meter",1]] -31021,PROJCS["NAD_1983_StatePlane_New_York_Central_FIPS_3102",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",250000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-76.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40],UNIT["Meter",1]] -31022,PROJCS["NAD_1983_StatePlane_New_York_Central_FIPS_3102_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",820208.3333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-76.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40],UNIT["Foot_US",0.304800609601219241]] -31023,PROJCS["NAD_1983_HARN_StatePlane_New_York_Central_FIPS_3102_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",820208.3333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-76.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.0],UNIT["Foot_US",0.3048006096012192]] -31024,PROJCS["NAD_1927_StatePlane_New_York_Central_FIPS_3102",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-76.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40],UNIT["Foot_US",0.304800609601219241]] -31030,PROJCS["NAD_1983_HARN_StatePlane_New_York_West_FIPS_3103",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",350000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-78.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40],UNIT["Meter",1]] -31031,PROJCS["NAD_1983_StatePlane_New_York_West_FIPS_3103",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",350000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-78.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40],UNIT["Meter",1]] -31032,PROJCS["NAD_1983_StatePlane_New_York_West_FIPS_3103_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1148291.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-78.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40],UNIT["Foot_US",0.304800609601219241]] -31033,PROJCS["NAD_1983_HARN_StatePlane_New_York_West_FIPS_3103_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1148291.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-78.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.0],UNIT["Foot_US",0.3048006096012192]] -31034,PROJCS["NAD_1927_StatePlane_New_York_West_FIPS_3103",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-78.58333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40],UNIT["Foot_US",0.304800609601219241]] -31040,PROJCS["NAD_1983_HARN_StatePlane_New_York_Long_Island_FIPS_3104",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74],PARAMETER["Standard_Parallel_1",40.66666666666666],PARAMETER["Standard_Parallel_2",41.03333333333333],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Meter",1]] -31041,PROJCS["NAD_1983_StatePlane_New_York_Long_Island_FIPS_3104",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74],PARAMETER["Standard_Parallel_1",40.66666666666666],PARAMETER["Standard_Parallel_2",41.03333333333333],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Meter",1]] -31042,PROJCS["NAD_1983_StatePlane_New_York_Long_Island_FIPS_3104_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",984249.9999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-74],PARAMETER["Standard_Parallel_1",40.66666666666666],PARAMETER["Standard_Parallel_2",41.03333333333333],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Foot_US",0.304800609601219241]] -31043,PROJCS["NAD_1983_HARN_StatePlane_New_York_Long_Island_FIPS_3104_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",984250.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-74.0],PARAMETER["Standard_Parallel_1",40.66666666666666],PARAMETER["Standard_Parallel_2",41.03333333333333],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Foot_US",0.3048006096012192]] -31044,PROJCS["NAD_1927_StatePlane_New_York_Long_Island_FIPS_3104",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-74],PARAMETER["Standard_Parallel_1",40.66666666666666],PARAMETER["Standard_Parallel_2",41.03333333333333],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Foot_US",0.304800609601219241]] -32000,PROJCS["NAD_1983_HARN_StatePlane_North_Carolina_FIPS_3200",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",609601.2192024384],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-79.0],PARAMETER["Standard_Parallel_1",34.33333333333334],PARAMETER["Standard_Parallel_2",36.16666666666666],PARAMETER["Latitude_Of_Origin",33.75],UNIT["Meter",1.0]] -32001,PROJCS["NAD_1983_StatePlane_North_Carolina_FIPS_3200",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",609601.22],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-79],PARAMETER["Standard_Parallel_1",34.33333333333334],PARAMETER["Standard_Parallel_2",36.16666666666666],PARAMETER["Latitude_Of_Origin",33.75],UNIT["Meter",1]] -32002,PROJCS["NAD_1983_StatePlane_North_Carolina_FIPS_3200_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000.002616666],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-79],PARAMETER["Standard_Parallel_1",34.33333333333334],PARAMETER["Standard_Parallel_2",36.16666666666666],PARAMETER["Latitude_Of_Origin",33.75],UNIT["Foot_US",0.304800609601219241]] -32003,PROJCS["NAD_1983_HARN_StatePlane_North_Carolina_FIPS_3200_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-79.0],PARAMETER["Standard_Parallel_1",34.33333333333334],PARAMETER["Standard_Parallel_2",36.16666666666666],PARAMETER["Latitude_Of_Origin",33.75],UNIT["Foot_US",0.3048006096012192]] -32004,PROJCS["NAD_1927_StatePlane_North_Carolina_FIPS_3200",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-79],PARAMETER["Standard_Parallel_1",34.33333333333334],PARAMETER["Standard_Parallel_2",36.16666666666666],PARAMETER["Latitude_Of_Origin",33.75],UNIT["Foot_US",0.304800609601219241]] -33010,PROJCS["NAD_1983_HARN_StatePlane_North_Dakota_North_FIPS_3301",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",47.43333333333333],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47],UNIT["Meter",1]] -33011,PROJCS["NAD_1983_StatePlane_North_Dakota_North_FIPS_3301",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",47.43333333333333],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47],UNIT["Meter",1]] -33012,PROJCS["NAD_1983_StatePlane_North_Dakota_North_FIPS_3301_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",47.43333333333333],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47],UNIT["Foot_US",0.304800609601219241]] -33013,PROJCS["NAD_1983_HARN_StatePlane_North_Dakota_North_FIPS_3301_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968503.937007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",47.43333333333333],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47.0],UNIT["Foot",0.3048]] -33014,PROJCS["NAD_1927_StatePlane_North_Dakota_North_FIPS_3301",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",47.43333333333333],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47],UNIT["Foot_US",0.304800609601219241]] -33015,PROJCS["NAD_1983_HARN_StatePlane_North_Dakota_North_FIPS_3301_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968503.937007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",47.43333333333333],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47.0],UNIT["Foot",0.3048]] -33016,PROJCS["NAD_1983_StatePlane_North_Dakota_North_FIPS_3301_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968503.937007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",47.43333333333333],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47.0],UNIT["Foot",0.3048]] -33020,PROJCS["NAD_1983_HARN_StatePlane_North_Dakota_South_FIPS_3302",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",46.18333333333333],PARAMETER["Standard_Parallel_2",47.48333333333333],PARAMETER["Latitude_Of_Origin",45.66666666666666],UNIT["Meter",1]] -33021,PROJCS["NAD_1983_StatePlane_North_Dakota_South_FIPS_3302",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",46.18333333333333],PARAMETER["Standard_Parallel_2",47.48333333333333],PARAMETER["Latitude_Of_Origin",45.66666666666666],UNIT["Meter",1]] -33022,PROJCS["NAD_1983_StatePlane_North_Dakota_South_FIPS_3302_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",46.18333333333333],PARAMETER["Standard_Parallel_2",47.48333333333333],PARAMETER["Latitude_Of_Origin",45.66666666666666],UNIT["Foot_US",0.304800609601219241]] -33023,PROJCS["NAD_1983_HARN_StatePlane_North_Dakota_South_FIPS_3302_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968503.937007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",46.18333333333333],PARAMETER["Standard_Parallel_2",47.48333333333333],PARAMETER["Latitude_Of_Origin",45.66666666666666],UNIT["Foot",0.3048]] -33024,PROJCS["NAD_1927_StatePlane_North_Dakota_South_FIPS_3302",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",46.18333333333333],PARAMETER["Standard_Parallel_2",47.48333333333333],PARAMETER["Latitude_Of_Origin",45.66666666666666],UNIT["Foot_US",0.304800609601219241]] -33025,PROJCS["NAD_1983_HARN_StatePlane_North_Dakota_South_FIPS_3302_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968503.937007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",46.18333333333333],PARAMETER["Standard_Parallel_2",47.48333333333333],PARAMETER["Latitude_Of_Origin",45.66666666666666],UNIT["Foot",0.3048]] -33026,PROJCS["NAD_1983_StatePlane_North_Dakota_South_FIPS_3302_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968503.937007874],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-100.5],PARAMETER["Standard_Parallel_1",46.18333333333333],PARAMETER["Standard_Parallel_2",47.48333333333333],PARAMETER["Latitude_Of_Origin",45.66666666666666],UNIT["Foot",0.3048]] -34004,PROJCS["NAD_1927_StatePlane_Vermont_FIPS_3400",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-72.5],PARAMETER["Scale_Factor",0.9999642857142857],PARAMETER["Latitude_Of_Origin",42.5],UNIT["Foot_US",0.304800609601219241]] -34010,PROJCS["NAD_1983_HARN_StatePlane_Ohio_North_FIPS_3401",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",40.43333333333333],PARAMETER["Standard_Parallel_2",41.7],PARAMETER["Latitude_Of_Origin",39.66666666666666],UNIT["Meter",1]] -34011,PROJCS["NAD_1983_StatePlane_Ohio_North_FIPS_3401",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",40.43333333333333],PARAMETER["Standard_Parallel_2",41.7],PARAMETER["Latitude_Of_Origin",39.66666666666666],UNIT["Meter",1]] -34012,PROJCS["NAD_1983_StatePlane_Ohio_North_FIPS_3401_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",40.43333333333333],PARAMETER["Standard_Parallel_2",41.7],PARAMETER["Latitude_Of_Origin",39.66666666666666],UNIT["Foot_US",0.304800609601219241]] -34013,PROJCS["NAD_1983_HARN_StatePlane_Ohio_North_FIPS_3401_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",40.43333333333333],PARAMETER["Standard_Parallel_2",41.7],PARAMETER["Latitude_Of_Origin",39.66666666666666],UNIT["Foot_US",0.3048006096012192]] -34014,PROJCS["NAD_1927_StatePlane_Ohio_North_FIPS_3401",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",40.43333333333333],PARAMETER["Standard_Parallel_2",41.7],PARAMETER["Latitude_Of_Origin",39.66666666666666],UNIT["Foot_US",0.304800609601219241]] -34020,PROJCS["NAD_1983_HARN_StatePlane_Ohio_South_FIPS_3402",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",38.73333333333333],PARAMETER["Standard_Parallel_2",40.03333333333333],PARAMETER["Latitude_Of_Origin",38],UNIT["Meter",1]] -34021,PROJCS["NAD_1983_StatePlane_Ohio_South_FIPS_3402",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",38.73333333333333],PARAMETER["Standard_Parallel_2",40.03333333333333],PARAMETER["Latitude_Of_Origin",38],UNIT["Meter",1]] -34022,PROJCS["NAD_1983_StatePlane_Ohio_South_FIPS_3402_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",38.73333333333333],PARAMETER["Standard_Parallel_2",40.03333333333333],PARAMETER["Latitude_Of_Origin",38],UNIT["Foot_US",0.304800609601219241]] -34023,PROJCS["NAD_1983_HARN_StatePlane_Ohio_South_FIPS_3402_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",38.73333333333333],PARAMETER["Standard_Parallel_2",40.03333333333333],PARAMETER["Latitude_Of_Origin",38.0],UNIT["Foot_US",0.3048006096012192]] -34024,PROJCS["NAD_1927_StatePlane_Ohio_South_FIPS_3402",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-82.5],PARAMETER["Standard_Parallel_1",38.73333333333333],PARAMETER["Standard_Parallel_2",40.03333333333333],PARAMETER["Latitude_Of_Origin",38],UNIT["Foot_US",0.304800609601219241]] -35010,PROJCS["NAD_1983_HARN_StatePlane_Oklahoma_North_FIPS_3501",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",35.56666666666667],PARAMETER["Standard_Parallel_2",36.76666666666667],PARAMETER["Latitude_Of_Origin",35],UNIT["Meter",1]] -35011,PROJCS["NAD_1983_StatePlane_Oklahoma_North_FIPS_3501",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",35.56666666666667],PARAMETER["Standard_Parallel_2",36.76666666666667],PARAMETER["Latitude_Of_Origin",35],UNIT["Meter",1]] -35012,PROJCS["NAD_1983_StatePlane_Oklahoma_North_FIPS_3501_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",35.56666666666667],PARAMETER["Standard_Parallel_2",36.76666666666667],PARAMETER["Latitude_Of_Origin",35],UNIT["Foot_US",0.304800609601219241]] -35013,PROJCS["NAD_1983_HARN_StatePlane_Oklahoma_North_FIPS_3501_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-98.0],PARAMETER["Standard_Parallel_1",35.56666666666667],PARAMETER["Standard_Parallel_2",36.76666666666667],PARAMETER["Latitude_Of_Origin",35.0],UNIT["Foot_US",0.3048006096012192]] -35014,PROJCS["NAD_1927_StatePlane_Oklahoma_North_FIPS_3501",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",35.56666666666667],PARAMETER["Standard_Parallel_2",36.76666666666667],PARAMETER["Latitude_Of_Origin",35],UNIT["Foot_US",0.304800609601219241]] -35020,PROJCS["NAD_1983_HARN_StatePlane_Oklahoma_South_FIPS_3502",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",33.93333333333333],PARAMETER["Standard_Parallel_2",35.23333333333333],PARAMETER["Latitude_Of_Origin",33.33333333333334],UNIT["Meter",1]] -35021,PROJCS["NAD_1983_StatePlane_Oklahoma_South_FIPS_3502",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",33.93333333333333],PARAMETER["Standard_Parallel_2",35.23333333333333],PARAMETER["Latitude_Of_Origin",33.33333333333334],UNIT["Meter",1]] -35022,PROJCS["NAD_1983_StatePlane_Oklahoma_South_FIPS_3502_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",33.93333333333333],PARAMETER["Standard_Parallel_2",35.23333333333333],PARAMETER["Latitude_Of_Origin",33.33333333333334],UNIT["Foot_US",0.304800609601219241]] -35023,PROJCS["NAD_1983_HARN_StatePlane_Oklahoma_South_FIPS_3502_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-98.0],PARAMETER["Standard_Parallel_1",33.93333333333333],PARAMETER["Standard_Parallel_2",35.23333333333333],PARAMETER["Latitude_Of_Origin",33.33333333333334],UNIT["Foot_US",0.3048006096012192]] -35024,PROJCS["NAD_1927_StatePlane_Oklahoma_South_FIPS_3502",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98],PARAMETER["Standard_Parallel_1",33.93333333333333],PARAMETER["Standard_Parallel_2",35.23333333333333],PARAMETER["Latitude_Of_Origin",33.33333333333334],UNIT["Foot_US",0.304800609601219241]] -36010,PROJCS["NAD_1983_HARN_StatePlane_Oregon_North_FIPS_3601",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",44.33333333333334],PARAMETER["Standard_Parallel_2",46],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Meter",1]] -36011,PROJCS["NAD_1983_StatePlane_Oregon_North_FIPS_3601",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",44.33333333333334],PARAMETER["Standard_Parallel_2",46],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Meter",1]] -36012,PROJCS["NAD_1983_StatePlane_Oregon_North_FIPS_3601_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",8202083.333333332],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",44.33333333333334],PARAMETER["Standard_Parallel_2",46],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Foot_US",0.304800609601219241]] -36013,PROJCS["NAD_1983_HARN_StatePlane_Oregon_North_FIPS_3601_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",8202099.737532808],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",44.33333333333334],PARAMETER["Standard_Parallel_2",46.0],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Foot",0.3048]] -36014,PROJCS["NAD_1927_StatePlane_Oregon_North_FIPS_3601",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",44.33333333333334],PARAMETER["Standard_Parallel_2",46],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Foot_US",0.304800609601219241]] -36015,PROJCS["NAD_1983_HARN_StatePlane_Oregon_North_FIPS_3601_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",8202099.737532808],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",44.33333333333334],PARAMETER["Standard_Parallel_2",46.0],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Foot",0.3048]] -36016,PROJCS["NAD_1983_StatePlane_Oregon_North_FIPS_3601_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",8202099.737532808],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",44.33333333333334],PARAMETER["Standard_Parallel_2",46.0],PARAMETER["Latitude_Of_Origin",43.66666666666666],UNIT["Foot",0.3048]] -36020,PROJCS["NAD_1983_HARN_StatePlane_Oregon_South_FIPS_3602",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",42.33333333333334],PARAMETER["Standard_Parallel_2",44],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Meter",1]] -36021,PROJCS["NAD_1983_StatePlane_Oregon_South_FIPS_3602",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",42.33333333333334],PARAMETER["Standard_Parallel_2",44],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Meter",1]] -36022,PROJCS["NAD_1983_StatePlane_Oregon_South_FIPS_3602_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4921249.999999999],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",42.33333333333334],PARAMETER["Standard_Parallel_2",44],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.304800609601219241]] -36023,PROJCS["NAD_1983_HARN_StatePlane_Oregon_South_FIPS_3602_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4921259.842519685],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",42.33333333333334],PARAMETER["Standard_Parallel_2",44.0],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot",0.3048]] -36024,PROJCS["NAD_1927_StatePlane_Oregon_South_FIPS_3602",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",42.33333333333334],PARAMETER["Standard_Parallel_2",44],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot_US",0.304800609601219241]] -36025,PROJCS["NAD_1983_HARN_StatePlane_Oregon_South_FIPS_3602_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4921259.842519685],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",42.33333333333334],PARAMETER["Standard_Parallel_2",44.0],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot",0.3048]] -36026,PROJCS["NAD_1983_StatePlane_Oregon_South_FIPS_3602_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",4921259.842519685],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",42.33333333333334],PARAMETER["Standard_Parallel_2",44.0],PARAMETER["Latitude_Of_Origin",41.66666666666666],UNIT["Foot",0.3048]] -37010,PROJCS["NAD_1983_HARN_StatePlane_Pennsylvania_North_FIPS_3701",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",40.88333333333333],PARAMETER["Standard_Parallel_2",41.95],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Meter",1.0]] -37011,PROJCS["NAD_1983_StatePlane_Pennsylvania_North_FIPS_3701",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",40.88333333333333],PARAMETER["Standard_Parallel_2",41.95],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Meter",1]] -37012,PROJCS["NAD_1983_StatePlane_Pennsylvania_North_FIPS_3701_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",40.88333333333333],PARAMETER["Standard_Parallel_2",41.95],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Foot_US",0.304800609601219241]] -37013,PROJCS["NAD_1983_HARN_StatePlane_Pennsylvania_North_FIPS_3701_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",40.88333333333333],PARAMETER["Standard_Parallel_2",41.95],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Foot_US",0.3048006096012192]] -37014,PROJCS["NAD_1927_StatePlane_Pennsylvania_North_FIPS_3701",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",40.88333333333333],PARAMETER["Standard_Parallel_2",41.95],PARAMETER["Latitude_Of_Origin",40.16666666666666],UNIT["Foot_US",0.304800609601219241]] -37020,PROJCS["NAD_1983_HARN_StatePlane_Pennsylvania_South_FIPS_3702",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",39.93333333333333],PARAMETER["Standard_Parallel_2",40.96666666666667],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Meter",1.0]] -37021,PROJCS["NAD_1983_StatePlane_Pennsylvania_South_FIPS_3702",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",39.93333333333333],PARAMETER["Standard_Parallel_2",40.96666666666667],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Meter",1]] -37022,PROJCS["NAD_1983_StatePlane_Pennsylvania_South_FIPS_3702_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",39.93333333333333],PARAMETER["Standard_Parallel_2",40.96666666666667],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.304800609601219241]] -37023,PROJCS["NAD_1983_HARN_StatePlane_Pennsylvania_South_FIPS_3702_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",39.93333333333333],PARAMETER["Standard_Parallel_2",40.96666666666667],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.3048006096012192]] -37024,PROJCS["NAD_1927_StatePlane_Pennsylvania_South_FIPS_3702",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-77.75],PARAMETER["Standard_Parallel_1",39.93333333333333],PARAMETER["Standard_Parallel_2",40.96666666666667],PARAMETER["Latitude_Of_Origin",39.33333333333334],UNIT["Foot_US",0.304800609601219241]] -38000,PROJCS["NAD_1983_HARN_StatePlane_Rhode_Island_FIPS_3800",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",100000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-71.5],PARAMETER["Scale_Factor",0.99999375],PARAMETER["Latitude_Of_Origin",41.08333333333334],UNIT["Meter",1]] -38001,PROJCS["NAD_1983_StatePlane_Rhode_Island_FIPS_3800",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",100000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-71.5],PARAMETER["Scale_Factor",0.99999375],PARAMETER["Latitude_Of_Origin",41.08333333333334],UNIT["Meter",1]] -38002,PROJCS["NAD_1983_StatePlane_Rhode_Island_FIPS_3800_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",328083.3333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-71.5],PARAMETER["Scale_Factor",0.99999375],PARAMETER["Latitude_Of_Origin",41.08333333333334],UNIT["Foot_US",0.304800609601219241]] -38003,PROJCS["NAD_1983_HARN_StatePlane_Rhode_Island_FIPS_3800_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",328083.3333333333],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-71.5],PARAMETER["Scale_Factor",0.99999375],PARAMETER["Latitude_Of_Origin",41.08333333333334],UNIT["Foot_US",0.3048006096012192]] -38004,PROJCS["NAD_1927_StatePlane_Rhode_Island_FIPS_3800",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-71.5],PARAMETER["Scale_Factor",0.99999375],PARAMETER["Latitude_Of_Origin",41.08333333333334],UNIT["Foot_US",0.304800609601219241]] -39000,PROJCS["NAD_1983_HARN_StatePlane_South_Carolina_FIPS_3900",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",609600.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-81.0],PARAMETER["Standard_Parallel_1",32.5],PARAMETER["Standard_Parallel_2",34.83333333333334],PARAMETER["Latitude_Of_Origin",31.83333333333333],UNIT["Meter",1.0]] -39001,PROJCS["NAD_1983_StatePlane_South_Carolina_FIPS_3900",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",609600],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Standard_Parallel_1",32.5],PARAMETER["Standard_Parallel_2",34.83333333333334],PARAMETER["Latitude_Of_Origin",31.83333333333333],UNIT["Meter",1]] -39002,PROJCS["NAD_1983_StatePlane_South_Carolina_FIPS_3900_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1999996],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Standard_Parallel_1",32.5],PARAMETER["Standard_Parallel_2",34.83333333333334],PARAMETER["Latitude_Of_Origin",31.83333333333333],UNIT["Foot_US",0.304800609601219241]] -39003,PROJCS["NAD_1983_HARN_StatePlane_South_Carolina_FIPS_3900_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-81.0],PARAMETER["Standard_Parallel_1",32.5],PARAMETER["Standard_Parallel_2",34.83333333333334],PARAMETER["Latitude_Of_Origin",31.83333333333333],UNIT["Foot",0.3048]] -39005,PROJCS["NAD_1983_HARN_StatePlane_South_Carolina_FIPS_3900_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-81.0],PARAMETER["Standard_Parallel_1",32.5],PARAMETER["Standard_Parallel_2",34.83333333333334],PARAMETER["Latitude_Of_Origin",31.83333333333333],UNIT["Foot",0.3048]] -39006,PROJCS["NAD_1983_StatePlane_South_Carolina_FIPS_3900_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-81.0],PARAMETER["Standard_Parallel_1",32.5],PARAMETER["Standard_Parallel_2",34.83333333333334],PARAMETER["Latitude_Of_Origin",31.83333333333333],UNIT["Foot",0.3048]] -39014,PROJCS["NAD_1927_StatePlane_South_Carolina_North_FIPS_3901",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Standard_Parallel_1",33.76666666666667],PARAMETER["Standard_Parallel_2",34.96666666666667],PARAMETER["Latitude_Of_Origin",33],UNIT["Foot_US",0.304800609601219241]] -39024,PROJCS["NAD_1927_StatePlane_South_Carolina_South_FIPS_3902",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Standard_Parallel_1",32.33333333333334],PARAMETER["Standard_Parallel_2",33.66666666666666],PARAMETER["Latitude_Of_Origin",31.83333333333333],UNIT["Foot_US",0.304800609601219241]] -40010,PROJCS["NAD_1983_HARN_StatePlane_South_Dakota_North_FIPS_4001",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100],PARAMETER["Standard_Parallel_1",44.41666666666666],PARAMETER["Standard_Parallel_2",45.68333333333333],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Meter",1]] -40011,PROJCS["NAD_1983_StatePlane_South_Dakota_North_FIPS_4001",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100],PARAMETER["Standard_Parallel_1",44.41666666666666],PARAMETER["Standard_Parallel_2",45.68333333333333],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Meter",1]] -40012,PROJCS["NAD_1983_StatePlane_South_Dakota_North_FIPS_4001_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100],PARAMETER["Standard_Parallel_1",44.41666666666666],PARAMETER["Standard_Parallel_2",45.68333333333333],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Foot_US",0.304800609601219241]] -40013,PROJCS["NAD_1983_HARN_StatePlane_South_Dakota_North_FIPS_4001_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-100.0],PARAMETER["Standard_Parallel_1",44.41666666666666],PARAMETER["Standard_Parallel_2",45.68333333333333],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Foot_US",0.3048006096012192]] -40014,PROJCS["NAD_1927_StatePlane_South_Dakota_North_FIPS_4001",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100],PARAMETER["Standard_Parallel_1",44.41666666666666],PARAMETER["Standard_Parallel_2",45.68333333333333],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Foot_US",0.304800609601219241]] -40020,PROJCS["NAD_1983_HARN_StatePlane_South_Dakota_South_FIPS_4002",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",42.83333333333334],PARAMETER["Standard_Parallel_2",44.4],PARAMETER["Latitude_Of_Origin",42.33333333333334],UNIT["Meter",1]] -40021,PROJCS["NAD_1983_StatePlane_South_Dakota_South_FIPS_4002",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",42.83333333333334],PARAMETER["Standard_Parallel_2",44.4],PARAMETER["Latitude_Of_Origin",42.33333333333334],UNIT["Meter",1]] -40022,PROJCS["NAD_1983_StatePlane_South_Dakota_South_FIPS_4002_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",42.83333333333334],PARAMETER["Standard_Parallel_2",44.4],PARAMETER["Latitude_Of_Origin",42.33333333333334],UNIT["Foot_US",0.304800609601219241]] -40023,PROJCS["NAD_1983_HARN_StatePlane_South_Dakota_South_FIPS_4002_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",42.83333333333334],PARAMETER["Standard_Parallel_2",44.4],PARAMETER["Latitude_Of_Origin",42.33333333333334],UNIT["Foot_US",0.3048006096012192]] -40024,PROJCS["NAD_1927_StatePlane_South_Dakota_South_FIPS_4002",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",42.83333333333334],PARAMETER["Standard_Parallel_2",44.4],PARAMETER["Latitude_Of_Origin",42.33333333333334],UNIT["Foot_US",0.304800609601219241]] -41000,PROJCS["NAD_1983_HARN_StatePlane_Tennessee_FIPS_4100",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-86],PARAMETER["Standard_Parallel_1",35.25],PARAMETER["Standard_Parallel_2",36.41666666666666],PARAMETER["Latitude_Of_Origin",34.33333333333334],UNIT["Meter",1]] -41001,PROJCS["NAD_1983_StatePlane_Tennessee_FIPS_4100",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-86],PARAMETER["Standard_Parallel_1",35.25],PARAMETER["Standard_Parallel_2",36.41666666666666],PARAMETER["Latitude_Of_Origin",34.33333333333334],UNIT["Meter",1]] -41002,PROJCS["NAD_1983_StatePlane_Tennessee_FIPS_4100_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-86],PARAMETER["Standard_Parallel_1",35.25],PARAMETER["Standard_Parallel_2",36.41666666666666],PARAMETER["Latitude_Of_Origin",34.33333333333334],UNIT["Foot_US",0.304800609601219241]] -41003,PROJCS["NAD_1983_HARN_StatePlane_Tennessee_FIPS_4100_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-86.0],PARAMETER["Standard_Parallel_1",35.25],PARAMETER["Standard_Parallel_2",36.41666666666666],PARAMETER["Latitude_Of_Origin",34.33333333333334],UNIT["Foot_US",0.3048006096012192]] -41004,PROJCS["NAD_1927_StatePlane_Tennessee_FIPS_4100",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-86],PARAMETER["Standard_Parallel_1",35.25],PARAMETER["Standard_Parallel_2",36.41666666666666],PARAMETER["Latitude_Of_Origin",34.66666666666666],UNIT["Foot_US",0.304800609601219241]] -42010,PROJCS["NAD_1983_HARN_StatePlane_Texas_North_FIPS_4201",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",1000000],PARAMETER["Central_Meridian",-101.5],PARAMETER["Standard_Parallel_1",34.65],PARAMETER["Standard_Parallel_2",36.18333333333333],PARAMETER["Latitude_Of_Origin",34],UNIT["Meter",1]] -42011,PROJCS["NAD_1983_StatePlane_Texas_North_FIPS_4201",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",1000000],PARAMETER["Central_Meridian",-101.5],PARAMETER["Standard_Parallel_1",34.65],PARAMETER["Standard_Parallel_2",36.18333333333333],PARAMETER["Latitude_Of_Origin",34],UNIT["Meter",1]] -42012,PROJCS["NAD_1983_StatePlane_Texas_North_FIPS_4201_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-101.5],PARAMETER["Standard_Parallel_1",34.65],PARAMETER["Standard_Parallel_2",36.18333333333333],PARAMETER["Latitude_Of_Origin",34],UNIT["Foot_US",0.304800609601219241]] -42013,PROJCS["NAD_1983_HARN_StatePlane_Texas_North_FIPS_4201_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-101.5],PARAMETER["Standard_Parallel_1",34.65],PARAMETER["Standard_Parallel_2",36.18333333333333],PARAMETER["Latitude_Of_Origin",34.0],UNIT["Foot_US",0.3048006096012192]] -42014,PROJCS["NAD_1927_StatePlane_Texas_North_FIPS_4201",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-101.5],PARAMETER["Standard_Parallel_1",34.65],PARAMETER["Standard_Parallel_2",36.18333333333333],PARAMETER["Latitude_Of_Origin",34],UNIT["Foot_US",0.304800609601219241]] -42020,PROJCS["NAD_1983_HARN_StatePlane_Texas_North_Central_FIPS_4202",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",2000000],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",32.13333333333333],PARAMETER["Standard_Parallel_2",33.96666666666667],PARAMETER["Latitude_Of_Origin",31.66666666666667],UNIT["Meter",1]] -42021,PROJCS["NAD_1983_StatePlane_Texas_North_Central_FIPS_4202",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",2000000],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",32.13333333333333],PARAMETER["Standard_Parallel_2",33.96666666666667],PARAMETER["Latitude_Of_Origin",31.66666666666667],UNIT["Meter",1]] -42022,PROJCS["NAD_1983_StatePlane_Texas_North_Central_FIPS_4202_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",6561666.666666666],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",32.13333333333333],PARAMETER["Standard_Parallel_2",33.96666666666667],PARAMETER["Latitude_Of_Origin",31.66666666666667],UNIT["Foot_US",0.304800609601219241]] -42023,PROJCS["NAD_1983_HARN_StatePlane_Texas_North_Central_FIPS_4202_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",6561666.666666666],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",32.13333333333333],PARAMETER["Standard_Parallel_2",33.96666666666667],PARAMETER["Latitude_Of_Origin",31.66666666666667],UNIT["Foot_US",0.3048006096012192]] -42024,PROJCS["NAD_1927_StatePlane_Texas_North_Central_FIPS_4202",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-97.5],PARAMETER["Standard_Parallel_1",32.13333333333333],PARAMETER["Standard_Parallel_2",33.96666666666667],PARAMETER["Latitude_Of_Origin",31.66666666666667],UNIT["Foot_US",0.304800609601219241]] -42030,PROJCS["NAD_1983_HARN_StatePlane_Texas_Central_FIPS_4203",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",700000],PARAMETER["False_Northing",3000000],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",30.11666666666667],PARAMETER["Standard_Parallel_2",31.88333333333333],PARAMETER["Latitude_Of_Origin",29.66666666666667],UNIT["Meter",1]] -42031,PROJCS["NAD_1983_StatePlane_Texas_Central_FIPS_4203",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",700000],PARAMETER["False_Northing",3000000],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",30.11666666666667],PARAMETER["Standard_Parallel_2",31.88333333333333],PARAMETER["Latitude_Of_Origin",29.66666666666667],UNIT["Meter",1]] -42032,PROJCS["NAD_1983_StatePlane_Texas_Central_FIPS_4203_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2296583.333333333],PARAMETER["False_Northing",9842499.999999998],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",30.11666666666667],PARAMETER["Standard_Parallel_2",31.88333333333333],PARAMETER["Latitude_Of_Origin",29.66666666666667],UNIT["Foot_US",0.304800609601219241]] -42033,PROJCS["NAD_1983_HARN_StatePlane_Texas_Central_FIPS_4203_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2296583.333333333],PARAMETER["False_Northing",9842500.0],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",30.11666666666667],PARAMETER["Standard_Parallel_2",31.88333333333333],PARAMETER["Latitude_Of_Origin",29.66666666666667],UNIT["Foot_US",0.3048006096012192]] -42034,PROJCS["NAD_1927_StatePlane_Texas_Central_FIPS_4203",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-100.3333333333333],PARAMETER["Standard_Parallel_1",30.11666666666667],PARAMETER["Standard_Parallel_2",31.88333333333333],PARAMETER["Latitude_Of_Origin",29.66666666666667],UNIT["Foot_US",0.304800609601219241]] -42040,PROJCS["NAD_1983_HARN_StatePlane_Texas_South_Central_FIPS_4204",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",4000000],PARAMETER["Central_Meridian",-99],PARAMETER["Standard_Parallel_1",28.38333333333333],PARAMETER["Standard_Parallel_2",30.28333333333333],PARAMETER["Latitude_Of_Origin",27.83333333333333],UNIT["Meter",1]] -42041,PROJCS["NAD_1983_StatePlane_Texas_South_Central_FIPS_4204",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",4000000],PARAMETER["Central_Meridian",-99],PARAMETER["Standard_Parallel_1",28.38333333333333],PARAMETER["Standard_Parallel_2",30.28333333333333],PARAMETER["Latitude_Of_Origin",27.83333333333333],UNIT["Meter",1]] -42042,PROJCS["NAD_1983_StatePlane_Texas_South_Central_FIPS_4204_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",13123333.33333333],PARAMETER["Central_Meridian",-99],PARAMETER["Standard_Parallel_1",28.38333333333333],PARAMETER["Standard_Parallel_2",30.28333333333333],PARAMETER["Latitude_Of_Origin",27.83333333333333],UNIT["Foot_US",0.304800609601219241]] -42043,PROJCS["NAD_1983_HARN_StatePlane_Texas_South_Central_FIPS_4204_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",13123333.33333333],PARAMETER["Central_Meridian",-99.0],PARAMETER["Standard_Parallel_1",28.38333333333333],PARAMETER["Standard_Parallel_2",30.28333333333333],PARAMETER["Latitude_Of_Origin",27.83333333333333],UNIT["Foot_US",0.3048006096012192]] -42044,PROJCS["NAD_1927_StatePlane_Texas_South_Central_FIPS_4204",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-99],PARAMETER["Standard_Parallel_1",28.38333333333333],PARAMETER["Standard_Parallel_2",30.28333333333333],PARAMETER["Latitude_Of_Origin",27.83333333333333],UNIT["Foot_US",0.304800609601219241]] -42050,PROJCS["NAD_1983_HARN_StatePlane_Texas_South_FIPS_4205",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",5000000],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",26.16666666666667],PARAMETER["Standard_Parallel_2",27.83333333333333],PARAMETER["Latitude_Of_Origin",25.66666666666667],UNIT["Meter",1]] -42051,PROJCS["NAD_1983_StatePlane_Texas_South_FIPS_4205",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",300000],PARAMETER["False_Northing",5000000],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",26.16666666666667],PARAMETER["Standard_Parallel_2",27.83333333333333],PARAMETER["Latitude_Of_Origin",25.66666666666667],UNIT["Meter",1]] -42052,PROJCS["NAD_1983_StatePlane_Texas_South_FIPS_4205_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",984249.9999999999],PARAMETER["False_Northing",16404166.66666666],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",26.16666666666667],PARAMETER["Standard_Parallel_2",27.83333333333333],PARAMETER["Latitude_Of_Origin",25.66666666666667],UNIT["Foot_US",0.304800609601219241]] -42053,PROJCS["NAD_1983_HARN_StatePlane_Texas_South_FIPS_4205_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",984250.0],PARAMETER["False_Northing",16404166.66666666],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",26.16666666666667],PARAMETER["Standard_Parallel_2",27.83333333333333],PARAMETER["Latitude_Of_Origin",25.66666666666667],UNIT["Foot_US",0.3048006096012192]] -42054,PROJCS["NAD_1927_StatePlane_Texas_South_FIPS_4205",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-98.5],PARAMETER["Standard_Parallel_1",26.16666666666667],PARAMETER["Standard_Parallel_2",27.83333333333333],PARAMETER["Latitude_Of_Origin",25.66666666666667],UNIT["Foot_US",0.304800609601219241]] -43010,PROJCS["NAD_1983_HARN_StatePlane_Utah_North_FIPS_4301",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",1000000],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",40.71666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40.33333333333334],UNIT["Meter",1]] -43011,PROJCS["NAD_1983_StatePlane_Utah_North_FIPS_4301",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",1000000],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",40.71666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40.33333333333334],UNIT["Meter",1]] -43012,PROJCS["NAD_1983_StatePlane_Utah_North_FIPS_4301_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",40.71666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40.33333333333334],UNIT["Foot_US",0.304800609601219241]] -43013,PROJCS["NAD_1983_HARN_StatePlane_Utah_North_FIPS_4301_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",40.71666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40.33333333333334],UNIT["Foot_US",0.3048006096012192]] -43014,PROJCS["NAD_1927_StatePlane_Utah_North_FIPS_4301",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",40.71666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40.33333333333334],UNIT["Foot_US",0.304800609601219241]] -43015,PROJCS["NAD_1983_HARN_StatePlane_Utah_North_FIPS_4301_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640419.947506561],PARAMETER["False_Northing",3280839.895013123],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",40.71666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40.33333333333334],UNIT["Foot",0.3048]] -43016,PROJCS["NAD_1983_StatePlane_Utah_North_FIPS_4301_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640419.947506561],PARAMETER["False_Northing",3280839.895013123],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",40.71666666666667],PARAMETER["Standard_Parallel_2",41.78333333333333],PARAMETER["Latitude_Of_Origin",40.33333333333334],UNIT["Foot",0.3048]] -43020,PROJCS["NAD_1983_HARN_StatePlane_Utah_Central_FIPS_4302",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",2000000],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",39.01666666666667],PARAMETER["Standard_Parallel_2",40.65],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Meter",1]] -43021,PROJCS["NAD_1983_StatePlane_Utah_Central_FIPS_4302",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",2000000],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",39.01666666666667],PARAMETER["Standard_Parallel_2",40.65],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Meter",1]] -43022,PROJCS["NAD_1983_StatePlane_Utah_Central_FIPS_4302_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",6561666.666666666],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",39.01666666666667],PARAMETER["Standard_Parallel_2",40.65],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Foot_US",0.304800609601219241]] -43023,PROJCS["NAD_1983_HARN_StatePlane_Utah_Central_FIPS_4302_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",6561666.666666666],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",39.01666666666667],PARAMETER["Standard_Parallel_2",40.65],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Foot_US",0.3048006096012192]] -43024,PROJCS["NAD_1927_StatePlane_Utah_Central_FIPS_4302",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",39.01666666666667],PARAMETER["Standard_Parallel_2",40.65],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Foot_US",0.304800609601219241]] -43025,PROJCS["NAD_1983_HARN_StatePlane_Utah_Central_FIPS_4302_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640419.947506561],PARAMETER["False_Northing",6561679.790026246],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",39.01666666666667],PARAMETER["Standard_Parallel_2",40.65],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Foot",0.3048]] -43026,PROJCS["NAD_1983_StatePlane_Utah_Central_FIPS_4302_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640419.947506561],PARAMETER["False_Northing",6561679.790026246],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",39.01666666666667],PARAMETER["Standard_Parallel_2",40.65],PARAMETER["Latitude_Of_Origin",38.33333333333334],UNIT["Foot",0.3048]] -43030,PROJCS["NAD_1983_HARN_StatePlane_Utah_South_FIPS_4303",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",3000000],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",37.21666666666667],PARAMETER["Standard_Parallel_2",38.35],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -43031,PROJCS["NAD_1983_StatePlane_Utah_South_FIPS_4303",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",3000000],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",37.21666666666667],PARAMETER["Standard_Parallel_2",38.35],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Meter",1]] -43032,PROJCS["NAD_1983_StatePlane_Utah_South_FIPS_4303_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",9842499.999999998],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",37.21666666666667],PARAMETER["Standard_Parallel_2",38.35],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -43033,PROJCS["NAD_1983_HARN_StatePlane_Utah_South_FIPS_4303_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",9842500.0],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",37.21666666666667],PARAMETER["Standard_Parallel_2",38.35],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.3048006096012192]] -43034,PROJCS["NAD_1927_StatePlane_Utah_South_FIPS_4303",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",37.21666666666667],PARAMETER["Standard_Parallel_2",38.35],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot_US",0.304800609601219241]] -43035,PROJCS["NAD_1983_HARN_StatePlane_Utah_South_FIPS_4303_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640419.947506561],PARAMETER["False_Northing",9842519.685039369],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",37.21666666666667],PARAMETER["Standard_Parallel_2",38.35],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot",0.3048]] -43036,PROJCS["NAD_1983_StatePlane_Utah_South_FIPS_4303_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640419.947506561],PARAMETER["False_Northing",9842519.685039369],PARAMETER["Central_Meridian",-111.5],PARAMETER["Standard_Parallel_1",37.21666666666667],PARAMETER["Standard_Parallel_2",38.35],PARAMETER["Latitude_Of_Origin",36.66666666666666],UNIT["Foot",0.3048]] -44000,PROJCS["NAD_1983_HARN_StatePlane_Vermont_FIPS_4400",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-72.5],PARAMETER["Scale_Factor",0.9999642857142857],PARAMETER["Latitude_Of_Origin",42.5],UNIT["Meter",1]] -44001,PROJCS["NAD_1983_StatePlane_Vermont_FIPS_4400",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-72.5],PARAMETER["Scale_Factor",0.9999642857142857],PARAMETER["Latitude_Of_Origin",42.5],UNIT["Meter",1]] -44002,PROJCS["NAD_1983_StatePlane_Vermont_FIPS_4400_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-72.5],PARAMETER["Scale_Factor",0.9999642857142857],PARAMETER["Latitude_Of_Origin",42.5],UNIT["Foot_US",0.304800609601219241]] -45010,PROJCS["NAD_1983_HARN_StatePlane_Virginia_North_FIPS_4501",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3500000],PARAMETER["False_Northing",2000000],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",38.03333333333333],PARAMETER["Standard_Parallel_2",39.2],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Meter",1]] -45011,PROJCS["NAD_1983_StatePlane_Virginia_North_FIPS_4501",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3500000],PARAMETER["False_Northing",2000000],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",38.03333333333333],PARAMETER["Standard_Parallel_2",39.2],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Meter",1]] -45012,PROJCS["NAD_1983_StatePlane_Virginia_North_FIPS_4501_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",11482916.66666666],PARAMETER["False_Northing",6561666.666666666],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",38.03333333333333],PARAMETER["Standard_Parallel_2",39.2],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Foot_US",0.304800609601219241]] -45013,PROJCS["NAD_1983_HARN_StatePlane_Virginia_North_FIPS_4501_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",11482916.66666666],PARAMETER["False_Northing",6561666.666666666],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",38.03333333333333],PARAMETER["Standard_Parallel_2",39.2],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Foot_US",0.3048006096012192]] -45014,PROJCS["NAD_1927_StatePlane_Virginia_North_FIPS_4501",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",38.03333333333333],PARAMETER["Standard_Parallel_2",39.2],PARAMETER["Latitude_Of_Origin",37.66666666666666],UNIT["Foot_US",0.304800609601219241]] -45020,PROJCS["NAD_1983_HARN_StatePlane_Virginia_South_FIPS_4502",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3500000],PARAMETER["False_Northing",1000000],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",36.76666666666667],PARAMETER["Standard_Parallel_2",37.96666666666667],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Meter",1]] -45021,PROJCS["NAD_1983_StatePlane_Virginia_South_FIPS_4502",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3500000],PARAMETER["False_Northing",1000000],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",36.76666666666667],PARAMETER["Standard_Parallel_2",37.96666666666667],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Meter",1]] -45022,PROJCS["NAD_1983_StatePlane_Virginia_South_FIPS_4502_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",11482916.66666666],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",36.76666666666667],PARAMETER["Standard_Parallel_2",37.96666666666667],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Foot_US",0.304800609601219241]] -45023,PROJCS["NAD_1983_HARN_StatePlane_Virginia_South_FIPS_4502_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",11482916.66666666],PARAMETER["False_Northing",3280833.333333333],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",36.76666666666667],PARAMETER["Standard_Parallel_2",37.96666666666667],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Foot_US",0.3048006096012192]] -45024,PROJCS["NAD_1927_StatePlane_Virginia_South_FIPS_4502",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-78.5],PARAMETER["Standard_Parallel_1",36.76666666666667],PARAMETER["Standard_Parallel_2",37.96666666666667],PARAMETER["Latitude_Of_Origin",36.33333333333334],UNIT["Foot_US",0.304800609601219241]] -46010,PROJCS["NAD_1983_HARN_StatePlane_Washington_North_FIPS_4601",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.8333333333333],PARAMETER["Standard_Parallel_1",47.5],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47],UNIT["Meter",1]] -46011,PROJCS["NAD_1983_StatePlane_Washington_North_FIPS_4601",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.8333333333333],PARAMETER["Standard_Parallel_1",47.5],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47],UNIT["Meter",1]] -46012,PROJCS["NAD_1983_StatePlane_Washington_North_FIPS_4601_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.8333333333333],PARAMETER["Standard_Parallel_1",47.5],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47],UNIT["Foot_US",0.304800609601219241]] -46013,PROJCS["NAD_1983_HARN_StatePlane_Washington_North_FIPS_4601_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.8333333333333],PARAMETER["Standard_Parallel_1",47.5],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47.0],UNIT["Foot_US",0.3048006096012192]] -46014,PROJCS["NAD_1927_StatePlane_Washington_North_FIPS_4601",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.8333333333333],PARAMETER["Standard_Parallel_1",47.5],PARAMETER["Standard_Parallel_2",48.73333333333333],PARAMETER["Latitude_Of_Origin",47],UNIT["Foot_US",0.304800609601219241]] -46020,PROJCS["NAD_1983_HARN_StatePlane_Washington_South_FIPS_4602",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",45.83333333333334],PARAMETER["Standard_Parallel_2",47.33333333333334],PARAMETER["Latitude_Of_Origin",45.33333333333334],UNIT["Meter",1]] -46021,PROJCS["NAD_1983_StatePlane_Washington_South_FIPS_4602",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",45.83333333333334],PARAMETER["Standard_Parallel_2",47.33333333333334],PARAMETER["Latitude_Of_Origin",45.33333333333334],UNIT["Meter",1]] -46022,PROJCS["NAD_1983_StatePlane_Washington_South_FIPS_4602_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",45.83333333333334],PARAMETER["Standard_Parallel_2",47.33333333333334],PARAMETER["Latitude_Of_Origin",45.33333333333334],UNIT["Foot_US",0.304800609601219241]] -46023,PROJCS["NAD_1983_HARN_StatePlane_Washington_South_FIPS_4602_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",45.83333333333334],PARAMETER["Standard_Parallel_2",47.33333333333334],PARAMETER["Latitude_Of_Origin",45.33333333333334],UNIT["Foot_US",0.3048006096012192]] -46024,PROJCS["NAD_1927_StatePlane_Washington_South_FIPS_4602",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",45.83333333333334],PARAMETER["Standard_Parallel_2",47.33333333333334],PARAMETER["Latitude_Of_Origin",45.33333333333334],UNIT["Foot_US",0.304800609601219241]] -47010,PROJCS["NAD_1983_HARN_StatePlane_West_Virginia_North_FIPS_4701",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-79.5],PARAMETER["Standard_Parallel_1",39],PARAMETER["Standard_Parallel_2",40.25],PARAMETER["Latitude_Of_Origin",38.5],UNIT["Meter",1]] -47011,PROJCS["NAD_1983_StatePlane_West_Virginia_North_FIPS_4701",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-79.5],PARAMETER["Standard_Parallel_1",39],PARAMETER["Standard_Parallel_2",40.25],PARAMETER["Latitude_Of_Origin",38.5],UNIT["Meter",1]] -47012,PROJCS["NAD_1983_StatePlane_West_Virginia_North_FIPS_4701_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-79.5],PARAMETER["Standard_Parallel_1",39],PARAMETER["Standard_Parallel_2",40.25],PARAMETER["Latitude_Of_Origin",38.5],UNIT["Foot_US",0.304800609601219241]] -47014,PROJCS["NAD_1927_StatePlane_West_Virginia_North_FIPS_4701",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-79.5],PARAMETER["Standard_Parallel_1",39],PARAMETER["Standard_Parallel_2",40.25],PARAMETER["Latitude_Of_Origin",38.5],UNIT["Foot_US",0.304800609601219241]] -47020,PROJCS["NAD_1983_HARN_StatePlane_West_Virginia_South_FIPS_4702",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Standard_Parallel_1",37.48333333333333],PARAMETER["Standard_Parallel_2",38.88333333333333],PARAMETER["Latitude_Of_Origin",37],UNIT["Meter",1]] -47021,PROJCS["NAD_1983_StatePlane_West_Virginia_South_FIPS_4702",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Standard_Parallel_1",37.48333333333333],PARAMETER["Standard_Parallel_2",38.88333333333333],PARAMETER["Latitude_Of_Origin",37],UNIT["Meter",1]] -47022,PROJCS["NAD_1983_StatePlane_West_Virginia_South_FIPS_4702_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Standard_Parallel_1",37.48333333333333],PARAMETER["Standard_Parallel_2",38.88333333333333],PARAMETER["Latitude_Of_Origin",37],UNIT["Foot_US",0.304800609601219241]] -47024,PROJCS["NAD_1927_StatePlane_West_Virginia_South_FIPS_4702",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-81],PARAMETER["Standard_Parallel_1",37.48333333333333],PARAMETER["Standard_Parallel_2",38.88333333333333],PARAMETER["Latitude_Of_Origin",37],UNIT["Foot_US",0.304800609601219241]] -48010,PROJCS["NAD_1983_HARN_StatePlane_Wisconsin_North_FIPS_4801",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",45.56666666666667],PARAMETER["Standard_Parallel_2",46.76666666666667],PARAMETER["Latitude_Of_Origin",45.16666666666666],UNIT["Meter",1]] -48011,PROJCS["NAD_1983_StatePlane_Wisconsin_North_FIPS_4801",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",45.56666666666667],PARAMETER["Standard_Parallel_2",46.76666666666667],PARAMETER["Latitude_Of_Origin",45.16666666666666],UNIT["Meter",1]] -48012,PROJCS["NAD_1983_StatePlane_Wisconsin_North_FIPS_4801_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",45.56666666666667],PARAMETER["Standard_Parallel_2",46.76666666666667],PARAMETER["Latitude_Of_Origin",45.16666666666666],UNIT["Foot_US",0.304800609601219241]] -48013,PROJCS["NAD_1983_HARN_StatePlane_Wisconsin_North_FIPS_4801_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-90.0],PARAMETER["Standard_Parallel_1",45.56666666666667],PARAMETER["Standard_Parallel_2",46.76666666666667],PARAMETER["Latitude_Of_Origin",45.16666666666666],UNIT["Foot_US",0.3048006096012192]] -48014,PROJCS["NAD_1927_StatePlane_Wisconsin_North_FIPS_4801",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",45.56666666666667],PARAMETER["Standard_Parallel_2",46.76666666666667],PARAMETER["Latitude_Of_Origin",45.16666666666666],UNIT["Foot_US",0.304800609601219241]] -48020,PROJCS["NAD_1983_HARN_StatePlane_Wisconsin_Central_FIPS_4802",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",44.25],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Meter",1]] -48021,PROJCS["NAD_1983_StatePlane_Wisconsin_Central_FIPS_4802",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",44.25],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Meter",1]] -48022,PROJCS["NAD_1983_StatePlane_Wisconsin_Central_FIPS_4802_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",44.25],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Foot_US",0.304800609601219241]] -48023,PROJCS["NAD_1983_HARN_StatePlane_Wisconsin_Central_FIPS_4802_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-90.0],PARAMETER["Standard_Parallel_1",44.25],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Foot_US",0.3048006096012192]] -48024,PROJCS["NAD_1927_StatePlane_Wisconsin_Central_FIPS_4802",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",44.25],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",43.83333333333334],UNIT["Foot_US",0.304800609601219241]] -48030,PROJCS["NAD_1983_HARN_StatePlane_Wisconsin_South_FIPS_4803",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",42.73333333333333],PARAMETER["Standard_Parallel_2",44.06666666666667],PARAMETER["Latitude_Of_Origin",42],UNIT["Meter",1]] -48031,PROJCS["NAD_1983_StatePlane_Wisconsin_South_FIPS_4803",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",42.73333333333333],PARAMETER["Standard_Parallel_2",44.06666666666667],PARAMETER["Latitude_Of_Origin",42],UNIT["Meter",1]] -48032,PROJCS["NAD_1983_StatePlane_Wisconsin_South_FIPS_4803_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",42.73333333333333],PARAMETER["Standard_Parallel_2",44.06666666666667],PARAMETER["Latitude_Of_Origin",42],UNIT["Foot_US",0.304800609601219241]] -48033,PROJCS["NAD_1983_HARN_StatePlane_Wisconsin_South_FIPS_4803_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-90.0],PARAMETER["Standard_Parallel_1",42.73333333333333],PARAMETER["Standard_Parallel_2",44.06666666666667],PARAMETER["Latitude_Of_Origin",42.0],UNIT["Foot_US",0.3048006096012192]] -48034,PROJCS["NAD_1927_StatePlane_Wisconsin_South_FIPS_4803",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",2000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-90],PARAMETER["Standard_Parallel_1",42.73333333333333],PARAMETER["Standard_Parallel_2",44.06666666666667],PARAMETER["Latitude_Of_Origin",42],UNIT["Foot_US",0.304800609601219241]] -49010,PROJCS["NAD_1983_HARN_StatePlane_Wyoming_East_FIPS_4901",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-105.1666666666667],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Meter",1]] -49011,PROJCS["NAD_1983_StatePlane_Wyoming_East_FIPS_4901",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-105.1666666666667],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Meter",1]] -49012,PROJCS["NAD_1983_StatePlane_Wyoming_East_FIPS_4901_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-105.1666666666667],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Foot_US",0.304800609601219241]] -49013,PROJCS["NAD_1983_HARN_StatePlane_Wyoming_East_FIPS_4901_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-105.1666666666667],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Foot_US",0.3048006096012192]] -49014,PROJCS["NAD_1927_StatePlane_Wyoming_East_FIPS_4901",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-105.1666666666667],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",40.66666666666666],UNIT["Foot_US",0.304800609601219241]] -49020,PROJCS["NAD_1983_HARN_StatePlane_Wyoming_East_Central_FIPS_4902",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-107.3333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Meter",1]] -49021,PROJCS["NAD_1983_StatePlane_Wyoming_East_Central_FIPS_4902",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",400000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-107.3333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Meter",1]] -49022,PROJCS["NAD_1983_StatePlane_Wyoming_East_Central_FIPS_4902_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-107.3333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Foot_US",0.304800609601219241]] -49023,PROJCS["NAD_1983_HARN_StatePlane_Wyoming_East_Central_FIPS_4902_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1312333.333333333],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-107.3333333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Foot_US",0.3048006096012192]] -49024,PROJCS["NAD_1927_StatePlane_Wyoming_East_Central_FIPS_4902",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-107.3333333333333],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",40.66666666666666],UNIT["Foot_US",0.304800609601219241]] -49030,PROJCS["NAD_1983_HARN_StatePlane_Wyoming_West_Central_FIPS_4903",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-108.75],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Meter",1]] -49031,PROJCS["NAD_1983_StatePlane_Wyoming_West_Central_FIPS_4903",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-108.75],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Meter",1]] -49032,PROJCS["NAD_1983_StatePlane_Wyoming_West_Central_FIPS_4903_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1968500],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-108.75],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Foot_US",0.304800609601219241]] -49033,PROJCS["NAD_1983_HARN_StatePlane_Wyoming_West_Central_FIPS_4903_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1968500.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-108.75],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Foot_US",0.3048006096012192]] -49034,PROJCS["NAD_1927_StatePlane_Wyoming_West_Central_FIPS_4903",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-108.75],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",40.66666666666666],UNIT["Foot_US",0.304800609601219241]] -49040,PROJCS["NAD_1983_HARN_StatePlane_Wyoming_West_FIPS_4904",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-110.0833333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Meter",1]] -49041,PROJCS["NAD_1983_StatePlane_Wyoming_West_FIPS_4904",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",800000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-110.0833333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Meter",1]] -49042,PROJCS["NAD_1983_StatePlane_Wyoming_West_FIPS_4904_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-110.0833333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Foot_US",0.304800609601219241]] -49043,PROJCS["NAD_1983_HARN_StatePlane_Wyoming_West_FIPS_4904_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",2624666.666666666],PARAMETER["False_Northing",328083.3333333333],PARAMETER["Central_Meridian",-110.0833333333333],PARAMETER["Scale_Factor",0.9999375],PARAMETER["Latitude_Of_Origin",40.5],UNIT["Foot_US",0.3048006096012192]] -49044,PROJCS["NAD_1927_StatePlane_Wyoming_West_FIPS_4904",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-110.0833333333333],PARAMETER["Scale_Factor",0.9999411764705882],PARAMETER["Latitude_Of_Origin",40.66666666666666],UNIT["Foot_US",0.304800609601219241]] -50011,PROJCS["NAD_1983_StatePlane_Alaska_1_FIPS_5001",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],PARAMETER["False_Easting",5000000],PARAMETER["False_Northing",-5000000],PARAMETER["Scale_Factor",0.9999],PARAMETER["Azimuth",-36.86989764583333],PARAMETER["Longitude_Of_Center",-133.6666666666667],PARAMETER["Latitude_Of_Center",57],UNIT["Meter",1]] -50012,PROJCS["NAD_1983_StatePlane_Alaska_1_FIPS_5001_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],PARAMETER["False_Easting",16404166.66666666],PARAMETER["False_Northing",-16404166.66666666],PARAMETER["Scale_Factor",0.9999],PARAMETER["Azimuth",-36.86989764583333],PARAMETER["Longitude_Of_Center",-133.6666666666667],PARAMETER["Latitude_Of_Center",57],UNIT["Foot_US",0.304800609601219241]] -50014,PROJCS["NAD_1927_StatePlane_Alaska_1_FIPS_5001",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Hotine_Oblique_Mercator_Azimuth_Natural_Origin"],PARAMETER["False_Easting",16404166.666667],PARAMETER["False_Northing",-16404166.666667],PARAMETER["Scale_Factor",0.9999],PARAMETER["Azimuth",-36.86989764583333],PARAMETER["Longitude_Of_Center",-133.6666666666667],PARAMETER["Latitude_Of_Center",57],UNIT["Foot_US",0.304800609601219241]] -50021,PROJCS["NAD_1983_StatePlane_Alaska_2_FIPS_5002",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-142],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Meter",1]] -50022,PROJCS["NAD_1983_StatePlane_Alaska_2_FIPS_5002_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-142],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50024,PROJCS["NAD_1927_StatePlane_Alaska_2_FIPS_5002",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-142],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50031,PROJCS["NAD_1983_StatePlane_Alaska_3_FIPS_5003",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-146],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Meter",1]] -50032,PROJCS["NAD_1983_StatePlane_Alaska_3_FIPS_5003_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-146],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50034,PROJCS["NAD_1927_StatePlane_Alaska_3_FIPS_5003",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-146],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50041,PROJCS["NAD_1983_StatePlane_Alaska_4_FIPS_5004",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-150],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Meter",1]] -50042,PROJCS["NAD_1983_StatePlane_Alaska_4_FIPS_5004_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-150],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50044,PROJCS["NAD_1927_StatePlane_Alaska_4_FIPS_5004",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-150],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50051,PROJCS["NAD_1983_StatePlane_Alaska_5_FIPS_5005",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-154],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Meter",1]] -50052,PROJCS["NAD_1983_StatePlane_Alaska_5_FIPS_5005_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-154],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50054,PROJCS["NAD_1927_StatePlane_Alaska_5_FIPS_5005",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-154],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50061,PROJCS["NAD_1983_StatePlane_Alaska_6_FIPS_5006",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-158],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Meter",1]] -50062,PROJCS["NAD_1983_StatePlane_Alaska_6_FIPS_5006_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-158],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50064,PROJCS["NAD_1927_StatePlane_Alaska_6_FIPS_5006",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-158],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50071,PROJCS["NAD_1983_StatePlane_Alaska_7_FIPS_5007",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-162],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Meter",1]] -50072,PROJCS["NAD_1983_StatePlane_Alaska_7_FIPS_5007_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-162],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50074,PROJCS["NAD_1927_StatePlane_Alaska_7_FIPS_5007",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",700000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-162],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50081,PROJCS["NAD_1983_StatePlane_Alaska_8_FIPS_5008",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-166],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Meter",1]] -50082,PROJCS["NAD_1983_StatePlane_Alaska_8_FIPS_5008_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-166],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50084,PROJCS["NAD_1927_StatePlane_Alaska_8_FIPS_5008",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-166],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50091,PROJCS["NAD_1983_StatePlane_Alaska_9_FIPS_5009",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-170],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Meter",1]] -50092,PROJCS["NAD_1983_StatePlane_Alaska_9_FIPS_5009_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-170],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50094,PROJCS["NAD_1927_StatePlane_Alaska_9_FIPS_5009",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",600000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-170],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",54],UNIT["Foot_US",0.304800609601219241]] -50101,PROJCS["NAD_1983_StatePlane_Alaska_10_FIPS_5010",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-176],PARAMETER["Standard_Parallel_1",51.83333333333334],PARAMETER["Standard_Parallel_2",53.83333333333334],PARAMETER["Latitude_Of_Origin",51],UNIT["Meter",1]] -50102,PROJCS["NAD_1983_StatePlane_Alaska_10_FIPS_5010_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3280833.333333333],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-176],PARAMETER["Standard_Parallel_1",51.83333333333334],PARAMETER["Standard_Parallel_2",53.83333333333334],PARAMETER["Latitude_Of_Origin",51],UNIT["Foot_US",0.304800609601219241]] -50104,PROJCS["NAD_1927_StatePlane_Alaska_10_FIPS_5010",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",3000000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-176],PARAMETER["Standard_Parallel_1",51.83333333333334],PARAMETER["Standard_Parallel_2",53.83333333333334],PARAMETER["Latitude_Of_Origin",51],UNIT["Foot_US",0.304800609601219241]] -51010,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_1_FIPS_5101",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-155.5],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",18.83333333333333],UNIT["Meter",1]] -51011,PROJCS["NAD_1983_StatePlane_Hawaii_1_FIPS_5101",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-155.5],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",18.83333333333333],UNIT["Meter",1]] -51012,PROJCS["NAD_1983_StatePlane_Hawaii_1_FIPS_5101_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-155.5],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",18.83333333333333],UNIT["Foot_US",0.304800609601219241]] -51013,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_1_FIPS_5101_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-155.5],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",18.83333333333333],UNIT["Foot_US",0.3048006096012192]] -51014,PROJCS["Old_Hawaiian_StatePlane_Hawaii_1_FIPS_5101",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-155.5],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",18.83333333333333],UNIT["Foot_US",0.304800609601219241]] -51020,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_2_FIPS_5102",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-156.6666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",20.33333333333333],UNIT["Meter",1]] -51021,PROJCS["NAD_1983_StatePlane_Hawaii_2_FIPS_5102",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-156.6666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",20.33333333333333],UNIT["Meter",1]] -51022,PROJCS["NAD_1983_StatePlane_Hawaii_2_FIPS_5102_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-156.6666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",20.33333333333333],UNIT["Foot_US",0.304800609601219241]] -51023,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_2_FIPS_5102_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-156.6666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",20.33333333333333],UNIT["Foot_US",0.3048006096012192]] -51024,PROJCS["Old_Hawaiian_StatePlane_Hawaii_2_FIPS_5102",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-156.6666666666667],PARAMETER["Scale_Factor",0.9999666666666667],PARAMETER["Latitude_Of_Origin",20.33333333333333],UNIT["Foot_US",0.304800609601219241]] -51030,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_3_FIPS_5103",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-158],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.16666666666667],UNIT["Meter",1]] -51031,PROJCS["NAD_1983_StatePlane_Hawaii_3_FIPS_5103",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-158],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.16666666666667],UNIT["Meter",1]] -51032,PROJCS["NAD_1983_StatePlane_Hawaii_3_FIPS_5103_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-158],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.16666666666667],UNIT["Foot_US",0.304800609601219241]] -51033,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_3_FIPS_5103_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-158.0],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.16666666666667],UNIT["Foot_US",0.3048006096012192]] -51034,PROJCS["Old_Hawaiian_StatePlane_Hawaii_3_FIPS_5103",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-158],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.16666666666667],UNIT["Foot_US",0.304800609601219241]] -51040,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_4_FIPS_5104",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-159.5],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.83333333333333],UNIT["Meter",1]] -51041,PROJCS["NAD_1983_StatePlane_Hawaii_4_FIPS_5104",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-159.5],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.83333333333333],UNIT["Meter",1]] -51042,PROJCS["NAD_1983_StatePlane_Hawaii_4_FIPS_5104_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-159.5],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.83333333333333],UNIT["Foot_US",0.304800609601219241]] -51043,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_4_FIPS_5104_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-159.5],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.83333333333333],UNIT["Foot_US",0.3048006096012192]] -51044,PROJCS["Old_Hawaiian_StatePlane_Hawaii_4_FIPS_5104",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-159.5],PARAMETER["Scale_Factor",0.99999],PARAMETER["Latitude_Of_Origin",21.83333333333333],UNIT["Foot_US",0.304800609601219241]] -51050,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_5_FIPS_5105",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-160.1666666666667],PARAMETER["Scale_Factor",1],PARAMETER["Latitude_Of_Origin",21.66666666666667],UNIT["Meter",1]] -51051,PROJCS["NAD_1983_StatePlane_Hawaii_5_FIPS_5105",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-160.1666666666667],PARAMETER["Scale_Factor",1],PARAMETER["Latitude_Of_Origin",21.66666666666667],UNIT["Meter",1]] -51052,PROJCS["NAD_1983_StatePlane_Hawaii_5_FIPS_5105_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-160.1666666666667],PARAMETER["Scale_Factor",1],PARAMETER["Latitude_Of_Origin",21.66666666666667],UNIT["Foot_US",0.304800609601219241]] -51053,PROJCS["NAD_1983_HARN_StatePlane_Hawaii_5_FIPS_5105_Feet",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",1640416.666666667],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-160.1666666666667],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",21.66666666666667],UNIT["Foot_US",0.3048006096012192]] -51054,PROJCS["Old_Hawaiian_StatePlane_Hawaii_5_FIPS_5105",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-160.1666666666667],PARAMETER["Scale_Factor",1],PARAMETER["Latitude_Of_Origin",21.66666666666667],UNIT["Foot_US",0.304800609601219241]] -52000,PROJCS["NAD_1983_HARN_StatePlane_Puerto_Rico_Virgin_Islands_FIPS_5200",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",200000],PARAMETER["Central_Meridian",-66.43333333333334],PARAMETER["Standard_Parallel_1",18.03333333333333],PARAMETER["Standard_Parallel_2",18.43333333333333],PARAMETER["Latitude_Of_Origin",17.83333333333333],UNIT["Meter",1]] -52001,PROJCS["NAD_1983_StatePlane_Puerto_Rico_Virgin_Islands_FIPS_5200",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",200000],PARAMETER["False_Northing",200000],PARAMETER["Central_Meridian",-66.43333333333334],PARAMETER["Standard_Parallel_1",18.03333333333333],PARAMETER["Standard_Parallel_2",18.43333333333333],PARAMETER["Latitude_Of_Origin",17.83333333333333],UNIT["Meter",1]] -52002,PROJCS["NAD_1983_StatePlane_Puerto_Rico_Virgin_Islands_FIPS_5200_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",656166.6666666665],PARAMETER["False_Northing",656166.6666666665],PARAMETER["Central_Meridian",-66.43333333333334],PARAMETER["Standard_Parallel_1",18.03333333333333],PARAMETER["Standard_Parallel_2",18.43333333333333],PARAMETER["Latitude_Of_Origin",17.83333333333333],UNIT["Foot_US",0.3048006096012192]] -52014,PROJCS["NAD_1927_StatePlane_Puerto_Rico_FIPS_5201",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-66.43333333333334],PARAMETER["Standard_Parallel_1",18.03333333333333],PARAMETER["Standard_Parallel_2",18.43333333333333],PARAMETER["Latitude_Of_Origin",17.83333333333333],UNIT["Foot_US",0.304800609601219241]] -52020,PROJCS["Puerto_Rico_StatePlane_Virgin_Islands_St_Croix_FIPS_5202",GEOGCS["GCS_Puerto_Rico",DATUM["D_Puerto_Rico",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-66.43333333333334],PARAMETER["Standard_Parallel_1",18.03333333333333],PARAMETER["Standard_Parallel_2",18.43333333333333],PARAMETER["Latitude_Of_Origin",17.83333333333333],UNIT["Foot_US",0.304800609601219241]] -52024,PROJCS["Puerto_Rico_StatePlane_Virgin_Islands_St_Croix_FIPS_5202",GEOGCS["GCS_Puerto_Rico",DATUM["D_Puerto_Rico",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",100000],PARAMETER["Central_Meridian",-66.43333333333334],PARAMETER["Standard_Parallel_1",18.03333333333333],PARAMETER["Standard_Parallel_2",18.43333333333333],PARAMETER["Latitude_Of_Origin",17.83333333333333],UNIT["Foot_US",0.304800609601219241]] -54000,PROJCS["NAD_1983_StatePlane_Guam_FIPS_5400",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Polyconic"],PARAMETER["False_Easting",50000],PARAMETER["False_Northing",50000],PARAMETER["Central_Meridian",144.7487507055556],PARAMETER["Latitude_Of_Origin",13.47246635277778],UNIT["Meter",1]] -54001,PROJCS["NAD_1983_StatePlane_Guam_FIPS_5400",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Polyconic"],PARAMETER["False_Easting",50000],PARAMETER["False_Northing",50000],PARAMETER["Central_Meridian",144.7487507055556],PARAMETER["Latitude_Of_Origin",13.47246635277778],UNIT["Meter",1]] -54002,PROJCS["NAD_1983_StatePlane_Guam_FIPS_5400_Feet",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Polyconic"],PARAMETER["False_Easting",164041.6666666666],PARAMETER["False_Northing",164041.6666666666],PARAMETER["Central_Meridian",144.7487507055556],PARAMETER["Latitude_Of_Origin",13.47246635277778],UNIT["Foot_US",0.304800609601219241]] -54004,PROJCS["NAD_1927_StatePlane_Guam_FIPS_5400",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.0174532925199432955]],PROJECTION["Polyconic"],PARAMETER["False_Easting",164041.6666666667],PARAMETER["False_Northing",164041.6666666667],PARAMETER["Central_Meridian",144.7487507055556],PARAMETER["Latitude_Of_Origin",13.47246635277778],UNIT["Foot_US",0.304800609601219241]] -102964,PROJCS["NAD_1927_Alaska_Albers_Feet",GEOGCS["GCS_North_American_1927",DATUM["D_North_American_1927",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Albers"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-154.0],PARAMETER["Standard_Parallel_1",55.0],PARAMETER["Standard_Parallel_2",65.0],PARAMETER["Latitude_Of_Origin",50.0],UNIT["Foot_US",0.3048006096012192]] -102991,PROJCS["NAD_1983_Oregon_Statewide_Lambert",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",43.0],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",41.75],UNIT["Meter",1.0]] -102993,PROJCS["NAD_1983_HARN_Oregon_Statewide_Lambert",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",400000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",43.0],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",41.75],UNIT["Meter",1.0]] -102994,PROJCS["NAD_1983_HARN_Oregon_Statewide_Lambert_Feet_Intl",GEOGCS["GCS_North_American_1983_HARN",DATUM["D_North_American_1983_HARN",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312335.958005249],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",43.0],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",41.75],UNIT["Foot",0.3048]] -102996,PROJCS["NAD_1983_Oregon_Statewide_Lambert_Feet_Intl",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",1312335.958005249],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",-120.5],PARAMETER["Standard_Parallel_1",43.0],PARAMETER["Standard_Parallel_2",45.5],PARAMETER["Latitude_Of_Origin",41.75],UNIT["Foot",0.3048]] diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gdalicon.png b/.venv/lib/python3.12/site-packages/fiona/gdal_data/gdalicon.png deleted file mode 100644 index 8e7731d8..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gdalicon.png and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gdalmdiminfo_output.schema.json b/.venv/lib/python3.12/site-packages/fiona/gdal_data/gdalmdiminfo_output.schema.json deleted file mode 100644 index d2fa75da..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gdalmdiminfo_output.schema.json +++ /dev/null @@ -1,321 +0,0 @@ -{ - "$id": "https://gdal.org/gdalmdiminfo_output.schema.json", - "$schema": "http://json-schema.org/draft-07/schema#", - "description": "Validate the output of the gdalmdiminfo utility", - - "anyOf": [ - { - "$ref": "#/definitions/group" - }, - { - "$ref": "#/definitions/array" - } - ], - - "definitions": { - - "array": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "array" - ] - }, - "datatype": { - "$ref": "#/definitions/datatype" - }, - "dimensions": { - "$ref": "#/definitions/dimensions" - }, - "dimension_size": { - "type": "array", - "items": { - "type": "number" - } - }, - "block_size": { - "type": "array", - "items": { - "type": "number" - } - }, - "attributes": { - "$ref": "#/definitions/attributes" - }, - "srs": { - "$ref": "#/definitions/srs" - }, - "nodata_value": { - "$ref": "#/definitions/value" - }, - "scale": { - "type": "number" - }, - "offset": { - "type": "number" - }, - "values": { - "$ref": "#/definitions/value" - }, - "unit": { - "type": "string" - }, - "structural_info": { - "$ref": "#/definitions/structural_info" - } - }, - "additionalProperties": false - }, - - "arrays": { - "type": "object", - "properties": {}, - "additionalProperties": { - "$ref": "#/definitions/array" - } - }, - - "attribute": { - "anyOf": [ - { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "attribute" - ] - }, - "datatype": { - "$ref": "#/definitions/datatype" - }, - "value": { - "$ref": "#/definitions/value" - } - }, - "additionalProperties": false - }, - { - "$ref": "#/definitions/value" - } - ] - }, - - "attributes": { - "anyOf": [ - { - "type": "object", - "properties": {}, - "additionalProperties": { - "$ref": "#/definitions/attribute" - } - }, - { - "type": "array", - "items": { - "$ref": "#/definitions/attribute" - } - } - ] - }, - - "compound_datatype": { - "type": "object", - "properties": - { - "name": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "components": { - "type": "array", - "items": { - "type": "object", - "properties": - { - "name": { - "type": "string" - }, - "offset": { - "type": "integer" - }, - "type": { - "$ref": "#/definitions/datatype" - } - }, - "additionalProperties": false - } - } - }, - "additionalProperties": false - }, - - "datatype": { - "anyOf": [ - { - "type": "string", - "enum": [ - "String", - "Byte", - "Int16", - "UInt16", - "Int32", - "UInt32", - "Float32", - "Float64", - "CInt16", - "CInt32", - "CFloat32", - "CFloat64" - ] - }, - { - "$ref": "#/definitions/compound_datatype" - } - ] - }, - - "dimension": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "full_name": { - "type": "string" - }, - "size": { - "type": "integer" - }, - "type": { - "type": "string" - }, - "direction": { - "type": "string" - }, - "indexing_variable": { - "type": "string" - } - }, - "additionalProperties": false - }, - - "dimensions": { - "type": "array", - "items": { - "anyOf": [ - { - "$ref": "#/definitions/dimension" - }, - { - "description": "Full qualified name of a dimension", - "type": "string" - } - ] - } - }, - - "group": { - "type": "object", - "properties": { - "driver": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string", - "enum": [ - "group" - ] - }, - "dimensions": { - "$ref": "#/definitions/dimensions" - }, - "arrays": { - "$ref": "#/definitions/arrays" - }, - "attributes": { - "$ref": "#/definitions/attributes" - }, - "groups": { - "$ref": "#/definitions/groups" - }, - "structural_info": { - "$ref": "#/definitions/structural_info" - } - }, - "additionalProperties": false - }, - - "groups": { - "anyOf": [ - { - "type": "object", - "properties": {}, - "additionalProperties": { - "$ref": "#/definitions/group" - } - }, - { - "type": "array", - "items": { - "$ref": "#/definitions/group" - } - } - ] - }, - - "srs": { - "type": "object", - "properties": { - "wkt": { - "type": "string" - }, - "data_axis_to_srs_axis_mapping": { - "type": "array", - "items": { - "type": "integer" - } - } - }, - "additionalProperties": false - }, - - "structural_info": { - "type": "object", - "properties": {}, - "additionalProperties": { - "type": "string" - } - }, - - "value": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "object" - }, - { - "type": "array" - } - ] - } - } -} diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gdalvrt.xsd b/.venv/lib/python3.12/site-packages/fiona/gdal_data/gdalvrt.xsd deleted file mode 100644 index 661e1d4d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gdalvrt.xsd +++ /dev/null @@ -1,608 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gml_registry.xml b/.venv/lib/python3.12/site-packages/fiona/gdal_data/gml_registry.xml deleted file mode 100644 index 831a32d3..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gml_registry.xml +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gmlasconf.xml b/.venv/lib/python3.12/site-packages/fiona/gdal_data/gmlasconf.xml deleted file mode 100644 index 029dade3..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gmlasconf.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - - true - - - - - true - false - - - false - - false - - false - false - false - true - false - - false - true - - - 60 - - true - - true - - - 10 - - - - - - - - swe:values - - - - - - - ifSWENamespaceFoundInTopElement - true - true - - - - - - - - - - - gwml2w:GW_GeologyLog/om:result - - gwml2w:GW_GeologyLogCoverage - - - - - - 10 - - 1048576 - - - - true - RawContent - 1 - false - - - true - - - - true - - - - - - gml:boundedBy - gml32:boundedBy - gml:priorityLocation - gml32:priorityLocation - gml32:descriptionReference/@owns - @xlink:show - @xlink:type - @xlink:role - @xlink:arcrole - @xlink:actuate - @gml:remoteSchema - @gml32:remoteSchema - swe:Quantity/swe:extension - swe:Quantity/@referenceFrame - swe:Quantity/@axisID - swe:Quantity/@updatable - swe:Quantity/@optional - swe:Quantity/@id - swe:Quantity/swe:identifier - - swe:Quantity/swe:label - swe:Quantity/swe:nilValues - swe:Quantity/swe:constraint - swe:Quantity/swe:quality - - - - - 2 - - NATIVE - OGC_URL - WFS2_FEATURECOLLECTION - - http://schemas.opengis.net/wfs/2.0/wfs.xsd - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gmlasconf.xsd b/.venv/lib/python3.12/site-packages/fiona/gdal_data/gmlasconf.xsd deleted file mode 100644 index 35c180e4..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gmlasconf.xsd +++ /dev/null @@ -1,1066 +0,0 @@ - - - - - - - Configuration of GMLAS driver. - - - - - - - - - Whether downloading remote schemas is allowed. Default is true. - - - - - - - Describe working of schema cache. - - - - - - - - Name of the cache directory. If not specified, this - defaults to $HOME/.gdal/gmlas_xsd_cache. - Ignored if 'enabled' is not true. - - - - - - - - Whether the cache is enabled. Default is true. - - - - - - - - - - Describe option that affect the Xerces schema parser. - - - - - - - - Whether to enable full schema constraint checking, including checking - which may be time-consuming or memory intensive. Currently, - particle unique attribution constraint checking and particle - derivation restriction checking are controlled by this option. - Defaults to true. - - - - - - - Whether to allow multiple schemas with the same namespace - to be imported. - Defaults to false. - - - - - - - - - - - Describe if and how validation of the document against the - schema is done. - - - - - - - - Whether a validation error should prevent dataset - opening. - Ignored if 'enabled' is not true. - Default is false. - - - - - - - - Whether validation is enabled. Default is false. - - - - - - - - - Whether the _ogr_layers_metadata, _ogr_fields_metadata and - _ogr_layer_relationships layers that show how OGR layers and - fields are built from the schemas should be exposed as - available layers. - Default is false. - - - - - - - - Tunable rules that affect how layers and fields are built from - the schema. - - - - - - - - - Whether a 'ogr_pkid' attribute should always be generated, - even if the underlying XML element has a required attribute - of type ID. Turning it to true can be useful if the - uniqueness of such attributes is not trused. - Default is false. - - - - - - - - Whether to remove any OGR layer without any feature, during the - initial scan pass. - Default is false. - - - - - - - - Whether to remove any unused OGR field, during the - initial scan pass. - Default is false. - - - - - - - - Whether OGR array types (StringList, IntegerList, - Integer64List and RealList) can be used to store - repeated values of the corresponding base types. - Default is true. - - - - - - - - Whether xsi:nil="true" should be mapped from/to the OGR - null field state (new in GDAL 2.2). If set to false, then - a XXX_nil field will be added when necessary. If set to true, - then unset and null states are used (but this is not very - convenient when converting to SQL databases where both states - are equivalent). - Default is false. - - - - - - - - Settings specific to documents that import the GML namespace. - - - - - - - - Whether the XML description of a GML geometry should - be stored in a string attribute (whose name is the - element name suffixed by _xml). This is in addition - to storing the geometry as a OGR geometry. - Default is false. - - - - - - - Whether, when dealing with schemas that import the - GML namespace, and that at least one of them has - elements that derive from gml:_Feature or - gml:AbstractFeatureonly, only such elements should be - instantiated as OGR layers, during the first pass that - iterates over top level elements of the imported - schemas. - Note: for technical reasons, other elements may end - up being exposed as OGR layers, but this setting - is a first way of limiting the number of OGR layers. - Default is true. - - - - - - - - - - - Maximum size of layer and field identifiers. If identifiers - are naturally bigger than the limit, a logic truncates - them while ensuring their unicity. - When absent, unlimited size. - - - - - - - - - - - - - Whether layer and field names should be consider equal in a - case insensitive way. This is important for conversion to - Postgres when identifiers are laundered in lower case - Default is true. - - - - - - - - Whether layer and field names should be laundered like the - OGR PostgreSQL driver does by default, ie identifiers put - in lower cases and a few special characters( single quote, - dash, sharp) replaced by underscore. This can help to post- - process the _ogr_layer_relationships layers more easily or, - for write support. - Note: this laundering is safe for other backends as well. - Default is true. - - - - - - - - - - - Maximum number of fields in an element considered - for flattening. - Default is 10. - - - - - - - - XPath of element that will be considered for flattening - even if it has more than MaximumNumberOfFields fields, - or if it is referenced several times by other elements. - Note: other constraints might make it impossible to - flatten it, for example if it has repeated elements. - - - - - - - XPath of element that will NOT be considered for flattening - even if it has less or MaximumNumberOfFields fields. - - - - - - - - - - - Configuration of special processing for elements in - the http://www.opengis.net/swe/2.0 namespace. - - - - - - - - If and how SWE processing is enabled. - Default is ifSWENamespaceFoundInTopElement. - - - - - - - - If the http://www.opengis.net/swe/2.0 - namespace is found, SWE special - processing will be enabled. - - - - - - - - - - - - If swe:DataRecord must be parsed. Default is true. - - - - - - - If swe:DataArray and swe:DataStream must be parsed. - Default is true. - - - - - - - - - - - - - - - - Constraints to specify the types of children of elements of - type xs:anyType. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Rules regarding resolution of xlink:href attributes - - - - - - - - - Timeout in seconds for resolving a HTTP resource. - Default: no timeout or value of GDAL_HTTP_TIMEOUT - configuration option. - - - - - - - - Maximum allowed time for resolving all XLinks in a single - document. - Default: none - - - - - - - - Maximum file size allowed. - Default: 1 MB. - - - - - - - - - - - Name and port of proxy server (server:port syntax) - Default: none or value of GDAL_HTTP_PROXY - configuration option. - - - - - - - - User name and password to use for proxy server - (username:password syntax) - Default: none or value of GDAL_HTTP_PROXYUSERPW - configuration option. - - - - - - - - Proxy authentication method: one of Basic, NTLM, Digest - or Any. - Default: none or value of GDAL_PROXY_AUTH - configuration option. - - - - - - - - Name of the cache directory for resolved documents. - If not specified, this defaults to $HOME/.gdal/gmlas_xlink_resolution_cache. - The cache is only used if enabled in DefaultResolution or - particular URLSpecificResolution rules. - - - - - - - - Default rules that apply for all URLs that are not referenced - by a dedicated URLSpecificResolution rule. - - - - - - - - - Whether downloading remote resources is allowed. - If false, only locally cached resources will be used. - Default is true. - - - - - - - - Resolution mode. Must be XMLRawContent currently - - - - - - - - The content, provided it is of text - nature, is set in a field suffixed with - _raw - - - - - - - - - - - Resolution depth. Must be 1 currently. - - - - - - - - - - - - - - Whether resolved documents should be cached. - Default is false. - - - - - - - - - - Whether default XLink resolution is enabled. - Default is false. - - - - - - - - - - - Particular rule that apply for all URLs starting with - a precise prefix. Setting at least one URLSpecificResolution will cause - a compulsory initial scan of the whole file to be done so - as to identify which xlink:href fields use which URL, so as - to create the relevant OGR fields. - - - - - - - - - URL prefix. All URLs starting with this string will - match this rule. - - - - - - - - Custom HTTP header to send in the GET request. - - - - - - - - HTTP header name - - - - - - - HTTP header value - - - - - - - - - - - Whether downloading remote resources is allowed. - If false, only locally cached resources will be used. - Default is true. - - - - - - - - Resolution mode. - Default is RawContent. - - - - - - - - The content, provided it is of text - nature, is set in a field suffixed with - _rawcontent - - - - - - - The content, assumed to be XML, will be - parsed and fields specified with Field - created. - - - - - - - - - - - Resolution depth. Must be 1 currently. - - - - - - - - - - - - - - Whether resolved documents should be cached. - Default is false. - - - - - - - - Field to create from parsed XML content. Only used - if ResolutionMode = FieldsFromXPath - - - - - - - - Field name - - - - - - - Field type - - - - - - - - - - - - - - - - XPath from the root of the resolved document - from which to extract the value of the field. - Only a restricted subset of the full XPath 1.0 - syntax is supported, namely the abbreviated syntax - with the '//' and '@' axis specifiers. - Valid XPath are for example: - - [ns1:]foo/[ns2:]bar: matches a bar element as a - direct child of a foo element, foo being at any - nesting level in the compared XPath. - - [ns1:foo]/@[ns2:]baz: matches a baz attribute of a - foo element, foo being at any nesting level in - the compared XPath - - [ns1:]foo//[ns2:]bar: matches a bar element as a - direct or indirect child of a foo element, - foo being at any nesting level in the compared - XPath. - - /[ns1:]foo/[ns2:]bar: matches a bar element as a - direct child of a foo element, foo being at the - root level. - - - - - - - - - - - - - - - - Whether xlink:href pointing to internal resources should be - resolved, so as to establish cross-layer relationships. - This options requires to keep in-memory xlink:href values - as well as feature ids, which in the case of really large - documents with many features and/or many cross-references - could consume a lot of RAM. - Default is true. - - - - - - - - - - - - Define elements and attributes that will be ignored when - building OGR layer and field definitions. - - - - - - - - Emit a warning each time an element or attribute is - found in the document parsed, but ignored because - of the ignored XPath defined. - Default is true. - - - - - - - - A XPath against which elements and attributes found - during schema analysis will be compared. If the - XPath of the element/attribute of the schema - matches this XPath, it will be ignored. - Only a restricted subset of the full XPath 1.0 - syntax is supported, namely the abbreviated syntax - with the '//' and '@' axis specifiers. - Valid XPath are for example: - - [ns1:]foo/[ns2:]bar: matches a bar element as a - direct child of a foo element, foo being at any - nesting level in the compared XPath. - - [ns1:foo]/@[ns2:]baz: matches a baz attribute of a - foo element, foo being at any nesting level in - the compared XPath - - [ns1:]foo//[ns2:]bar: matches a bar element as a - direct or indirect child of a foo element, - foo being at any nesting level in the compared - XPath. - - /[ns1:]foo/[ns2:]bar: matches a bar element as a - direct child of a foo element, foo being at the - root level. - - - - - - - - - Emit a warning each time an element or attribute is - found in the document parsed, but ignored because - of the ignored XPath defined. - Override the global setting of the - WarnIfIgnoredXPathFoundInDocInstance element - Default is true. - - - - - - - - - - - - - - Configuration of GMLAS writer - - - - - - - - - Number of spaces used to indent each level of nesting in - XML output. - Default is 2. - - - - - - - - - - - - - Comment to add at top of output XML file. - - - - - - - - Line format. - Default is platform dependant (CR-LF on Windows, LF otherwise) - - - - - - - - Platform dependant (CR-LF on Windows, LF otherwise) - - - - - - - Windows end-of-line style : CR-LF - - - - - - - Unix end-of-line style: LF - - - - - - - - - - - Format to use for srsName attributes on geometries. - Default is OGC_URL. - - - - - - - -srsName will be in the form AUTHORITY_NAME:AUTHORITY_CODE - - - - - - -srsName will be in the form urn:ogc:def:crs:AUTHORITY_NAME::AUTHORITY_CODE - - - - - - -ssrsName will be in the form http://www.opengis.net/def/crs/AUTHORITY_NAME/0/AUTHORITY_CODE - - - - - - - - - - - How to wrap features in a collection. - Default is WFS2_FEATURECOLLECTION - - - - - - - -Use wfs:FeatureCollection / wfs:member wrapping - - - - - - -Use ogr_gmlas:FeatureCollection / ogr_gmlas:featureMember wrapping - - - - - - - - - - - User-specified XML dateTime value for timestamp to use in - wfs:FeatureCollection attribute. - Only valid for WRAPPING=WFS2_FEATURECOLLECTION. - Default is current date-time. - - - - - - - - Path or URL to OGC WFS 2.0 schema. - Only valid for WRAPPING=WFS2_FEATURECOLLECTION. - Default is http://schemas.opengis.net/wfs/2.0/wfs.xsd. - - - - - - - - - - - - - - - - - - - - - - Define optional namespaces prefix/uri tuples with - which to interpret the XPath elements defined - afterwards. - This allows the user to define different rules when - different namespaces in different XML instances map - to the same prefix. E.g documents referencing - different GML versions may use "gml" as - a prefix for "http://www.opengis.net/gml" or - "http://www.opengis.net/gml/3.2", but it might be - desirable to have different exclusion rules. - When comparing the XPath exclusion rules and the - XPath of the elements/attributes of the parsed - documents, and when the namespace of the XPath - exclusion rule has been defined, the URI will be - used as the unambiguous key. Otherwise prefix - matching will be used. - - - - - - - Define a namespaces prefix/uri tuple with - which to interpret the XPath elements - defined afterwards. - - - - - - - Namespace prefix. - - - - - Namespace URI. - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_center.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_center.csv deleted file mode 100644 index be37edd4..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_center.csv +++ /dev/null @@ -1,251 +0,0 @@ -code,name -0,"WMO Secretariat" -1,"Melbourne" -2,"Melbourne" -3,"Melbourne" -4,"Moscow" -5,"Moscow" -6,"Moscow" -7,"US-NCEP" -8,"US-NWSTG" -9,"US-Other" -10,"Cairo" -11,"Cairo" -12,"Dakar" -13,"Dakar" -14,"Nairobi" -15,"Nairobi" -16,"Casablanca" -17,"Tunis" -18,"Tunis Casablanca" -19,"Tunis Casablanca" -20,"Las Palmas" -21,"Algiers" -22,"ACMAD" -23,"Mozambique" -24,"Pretoria" -25,"La Réunion" -26,"Khabarovsk" -27,"Khabarovsk" -28,"New Delhi" -29,"New Delhi" -30,"Novosibirsk" -31,"Novosibirsk" -32,"Tashkent" -33,"Jeddah" -34,"Tokyo" -35,"Tokyo" -36,"Bangkok" -37,"Ulan Bator" -38,"Beijing" -39,"Beijing" -40,"Seoul" -41,"Buenos Aires" -42,"Buenos Aires" -43,"Brasilia" -44,"Brasilia" -45,"Santiago" -46,"Brazilian Space Agency" -47,"Colombia" -48,"Ecuador" -49,"Peru" -50,"Venezuela" -51,"Miami" -52,"Miami-NHC" -53,"Montreal" -54,"Montreal" -55,"San Francisco" -56,"ARINC Centre" -57,"US-Air Force Weather" -58,"US-Fleet Meteorology and Oceanography" -59,"US-FSL" -60,"US-NCAR" -61,"US-Service ARGOS" -62,"US-Naval Oceanographic Office" -64,"Honolulu" -65,"Darwin" -66,"Darwin" -67,"Melbourne" -69,"Wellington" -70,"Wellington" -71,"Nadi" -72,"Singapore" -73,"Malaysia" -74,"UK-Met-Exeter" -75,"UK-Met-Exeter" -76,"Moscow" -78,"Offenbach" -79,"Offenbach" -80,"Rome" -81,"Rome" -82,"Norrköping" -83,"Norrköping" -84,"Toulouse" -85,"Toulouse" -86,"Helsinki" -87,"Belgrade" -88,"Oslo" -89,"Prague" -90,"Episkopi" -91,"Ankara" -92,"Frankfurt/Main" -93,"London" -94,"Copenhagen" -95,"Rota" -96,"Athens" -97,"ESA-European Space Agency" -98,"ECMWF" -99,"DeBilt" -100,"Brazzaville" -101,"Abidjan" -102,"Libyan Arab Jamahiriya" -103,"Madagascar" -104,"Mauritius" -105,"Niger" -106,"Seychelles" -107,"Uganda" -108,"Tanzania" -109,"Zimbabwe" -110,"Hong-Kong, China" -111,"Afghanistan" -112,"Bahrain" -113,"Bangladesh" -114,"Bhutan" -115,"Cambodia" -116,"Democratic People's Republic of Korea" -117,"Islamic Republic of Iran" -118,"Iraq" -119,"Kazakhstan" -120,"Kuwait" -121,"Kyrgyz Republic" -122,"Lao People's Democratic Republic" -123,"Macao, China" -124,"Maldives" -125,"Myanmar" -126,"Nepal" -127,"Oman" -128,"Pakistan" -129,"Qatar" -130,"Republic of Yemen" -131,"Sri Lanka" -132,"Tajikistan" -133,"Turkmenistan" -134,"United Arab Emirates" -135,"Uzbekistan" -136,"Socialist Republic of Viet Nam" -140,"Bolivia" -141,"Guyana" -142,"Paraguay" -143,"Suriname" -144,"Uruguay" -145,"French Guyana" -146,"Brazilian Navy Hydrographic Centre" -150,"Antigua and Barbuda" -151,"Bahamas" -152,"Barbados" -153,"Belize" -154,"British Caribbean Territories" -155,"San Jose" -156,"Cuba" -157,"Dominica" -158,"Dominican Republic" -159,"El Salvador" -160,"US-NESDIS" -161,"US-OAR" -162,"Guatemala" -163,"Haiti" -164,"Honduras" -165,"Jamaica" -166,"Mexico" -167,"Netherlands Antilles and Aruba" -168,"Nicaragua" -169,"Panama" -170,"Saint Lucia NMC" -171,"Trinidad and Tobago" -172,"French Departments" -190,"Cook Islands" -191,"French Polynesia" -192,"Tonga" -193,"Vanuatu" -194,"Brunei" -195,"Indonesia" -196,"Kiribati" -197,"Federated States of Micronesia" -198,"New Caledonia" -199,"Niue" -200,"Papua New Guinea" -201,"Philippines" -202,"Samoa" -203,"Solomon Islands" -210,"Frascati (ESA/ESRIN)" -211,"Lanion" -212,"Lisboa" -213,"Reykiavik" -214,"Madrid" -215,"Zürich" -216,"Service ARGOS Toulouse" -217,"Bratislava" -218,"Budapest" -219,"Ljubljana" -220,"Warsaw" -221,"Zagreb" -222,"Albania" -223,"Armenia" -224,"Austria" -225,"Azerbaijan" -226,"Belarus" -227,"Belgium" -228,"Bosnia and Herzegovina" -229,"Bulgaria" -230,"Cyprus" -231,"Estonia" -232,"Georgia" -233,"Dublin" -234,"Israel" -235,"Jordan" -236,"Latvia" -237,"Lebanon" -238,"Lithuania" -239,"Luxembourg" -240,"Malta" -241,"Monaco" -242,"Romania" -243,"Syrian Arab Republic" -244,"The former Yugoslav Republic of Macedonia" -245,"Ukraine" -246,"Republic of Moldova" -254,"EUMETSAT Operation Centre" -256,"Angola" -257,"Benin" -258,"Botswana" -259,"Burkina Faso" -260,"Burundi" -261,"Cameroon" -262,"Cape Verde" -263,"Central African republic" -264,"Chad" -265,"Comoros" -266,"Democratic Republic of the Congo" -267,"Djibouti" -268,"Eritrea" -269,"Ethiopia" -270,"Gabon" -271,"Gambia" -272,"Ghana" -273,"Guinea" -274,"Guinea Bissau" -275,"Lesotho" -276,"Liberia" -277,"Malawi" -278,"Mali" -279,"Mauritania" -280,"Namibia" -281,"Nigeria" -282,"Rwanda" -283,"Sao Tome and Principe" -284,"Sierra Leone" -285,"Somalia" -286,"Sudan" -287,"Swaziland" -288,"Togo" -289,"Zambia" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_process.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_process.csv deleted file mode 100644 index 6d1aed1d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_process.csv +++ /dev/null @@ -1,102 +0,0 @@ -center_code,process_code,name -7,2,"Ultra Violet Index Model" -7,3,"NCEP/ARL Transport and Dispersion Model" -7,4,"NCEP/ARL Smoke Model" -7,5,"Satellite Derived Precipitation and temperatures, from IR" -7,6,"NCEP/ARL Dust Model" -7,10,"Global Wind-Wave Forecast Model" -7,11,"Global Multi-Grid Wave Model (Static Grids)" -7,12,"Probabilistic Storm Surge" -7,19,"Limited-area Fine Mesh (LFM) analysis" -7,25,"Snow Cover Analysis" -7,30,"Forecaster generated field" -7,31,"Value added post processed field" -7,39,"Nested Grid forecast Model (NGM)" -7,42,"Global Optimum Interpolation Analysis (GOI) from GFS model" -7,43,"Global Optimum Interpolation Analysis (GOI) from 'Final' run" -7,44,"Sea Surface Temperature Analysis" -7,45,"Coastal Ocean Circulation Model" -7,46,"HYCOM - Global" -7,47,"HYCOM - North Pacific basin" -7,48,"HYCOM - North Atlantic basin" -7,49,"Ozone Analysis from TIROS Observations" -7,52,"Ozone Analysis from Nimbus 7 Observations" -7,53,"LFM-Fourth Order Forecast Model" -7,64,"Regional Optimum Interpolation Analysis (ROI)" -7,68,"80 wave triangular, 18-layer Spectral model from GFS model" -7,69,"80 wave triangular, 18 layer Spectral model from 'Medium Range Forecast' run" -7,70,"Quasi-Lagrangian Hurricane Model (QLM)" -7,73,"Fog Forecast model - Ocean Prod. Center" -7,74,"Gulf of Mexico Wind/Wave" -7,75,"Gulf of Alaska Wind/Wave" -7,76,"Bias corrected Medium Range Forecast" -7,77,"126 wave triangular, 28 layer Spectral model from GFS model" -7,78,"126 wave triangular, 28 layer Spectral model from 'Medium Range Forecast' run" -7,79,"Backup from the previous run" -7,80,"62 wave triangular, 28 layer Spectral model from 'Medium Range Forecast' run" -7,81,"Analysis from GFS (Global Forecast System)" -7,82,"Analysis from GDAS (Global Data Assimilation System)" -7,84,"MESO ETA Model (currently 12 km)" -7,86,"RUC Model from FSL (isentropic; scale: 60km at 40N)" -7,87,"CAC Ensemble Forecasts from Spectral (ENSMB)" -7,88,"NOAA Wave Watch III (NWW3) Ocean Wave Model" -7,89,"Non-hydrostatic Meso Model (NMM) Currently 8 km)" -7,90,"62 wave triangular, 28 layer spectral model extension of the 'Medium Range Forecast' run" -7,91,"62 wave triangular, 28 layer spectral model extension of the GFS model" -7,92,"62 wave triangular, 28 layer spectral model run from the 'Medium Range Forecast' final analysis" -7,93,"62 wave triangular, 28 layer spectral model run from the T62 GDAS analysis of the 'Medium Range Forecast' run" -7,94,"T170/L42 Global Spectral Model from MRF run" -7,95,"T126/L42 Global Spectral Model from MRF run" -7,96,"Global Forecast System Model" -7,98,"Climate Forecast System Model" -7,100,"RUC Surface Analysis (scale: 60km at 40N)" -7,101,"RUC Surface Analysis (scale: 40km at 40N)" -7,105,"RUC Model from FSL (isentropic; scale: 20km at 40N)" -7,107,"Global Ensemble Forecast System (GEFS)" -7,108,"LAMP" -7,109,"RTMA (Real Time Mesoscale Analysis)" -7,110,"NAM Model - 15km version" -7,111,"NAM model, generic resolution" -7,112,"WRF-NMM (Nondydrostatic Mesoscale Model) model, generic resolution" -7,113,"Products from NCEP SREF processing" -7,114,"NAEFS Products from joined NCEP, CMC global ensembles" -7,115,"Downscaled GFS from NAM eXtension" -7,116,"WRF-EM (Eulerian Mass-core) model, generic resolution " -7,120,"Ice Concentration Analysis" -7,121,"Western North Atlantic Regional Wave Model" -7,122,"Alaska Waters Regional Wave Model" -7,123,"North Atlantic Hurricane Wave Model" -7,124,"Eastern North Pacific Regional Wave Model" -7,125,"North Pacific Hurricane Wave Model" -7,126,"Sea Ice Forecast Model" -7,127,"Lake Ice Forecast Model" -7,128,"Global Ocean Forecast Model" -7,129,"Global Ocean Data Analysis System (GODAS)" -7,130,"Merge of fields from the RUC, NAM, and Spectral Model" -7,131,"Great Lakes Wave Model" -7,140,"North American Regional Reanalysis (NARR)" -7,141,"Land Data Assimilation and Forecast System" -7,150,"NWS River Forecast System (NWSRFS)" -7,151,"NWS Flash Flood Guidance System (NWSFFGS)" -7,152,"WSR-88D Stage II Precipitation Analysis" -7,153,"WSR-88D Stage III Precipitation Analysis" -7,180,"Quantitative Precipitation Forecast" -7,181,"River Forecast Center Quantitative Precipitation Forecast mosaic" -7,182,"River Forecast Center Quantitative Precipitation estimate mosaic" -7,183,"NDFD product generated by NCEP/HPC" -7,184,"Climatological Calibrated Precipiation Analysis - CCPA" -7,190,"National Convective Weather Diagnostic" -7,191,"Current Icing Potential automated product" -7,192,"Analysis product from NCEP/AWC" -7,193,"Forecast product from NCEP/AWC" -7,195,"Climate Data Assimilation System 2 (CDAS2)" -7,196,"Climate Data Assimilation System 2 (CDAS2)" -7,197,"Climate Data Assimilation System (CDAS)" -7,198,"Climate Data Assimilation System (CDAS)" -7,199,"Climate Forecast System Reanalysis (CFSR)" -7,200,"CPC Manual Forecast Product" -7,201,"CPC Automated Product" -7,210,"EPA Air Quality Forecast" -7,211,"EPA Air Quality Forecast" -7,215,"SPC Manual Forecast Product" -7,220,"NCEP/OPC automated product" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_subcenter.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_subcenter.csv deleted file mode 100644 index af8cf6f8..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_subcenter.csv +++ /dev/null @@ -1,63 +0,0 @@ -center_code,subcenter_code,name -7,1,"NCEP Re-Analysis Project" -7,2,"NCEP Ensemble Products" -7,3,"NCEP Central Operations" -7,4,"Environmental Modeling Center" -7,5,"Hydrometeorological Prediction Center" -7,6,"Ocean Prediction Center" -7,7,"Climate Prediction Center" -7,8,"Aviation Weather Center" -7,9,"Storm Prediction Center" -7,10,"Tropical Prediction Center" -7,11,"Techniques Development Laboratory" -7,12,"NESDIS Office of Research and Applications" -7,13,"FAA" -7,14,"Meteorological Development Laboratory (MDL)" -7,15,"North American Regional Reanalysis (NARR) Project" -7,16,"Space Environment Center" -8,0,"National Digital Forecast Database" -161,1,"Great Lakes Environmental Research Laboratory" -161,2,"Forecast Systems Laboratory" -74,1,"Shanwick Oceanic Area Control Centre" -74,2,"Fucino" -74,3,"Gatineau" -74,4,"Maspalomas" -74,5,"ESA ERS Central Facility" -74,6,"Prince Albert" -74,7,"West Freugh" -74,13,"Tromso" -74,21,"Agenzia Spaziale Italiana (Italy)" -74,22,"Centre National de la Recherche Scientifique (France)" -74,23,"GeoForschungsZentrum (Germany)" -74,24,"Geodetic Observatory Pecny (Czech Republic)" -74,25,"Institut d'Estudis Espacials de Catalunya (Spain)" -74,26,"Swiss Federal Office of Topography" -74,27,"Nordic Commission of Geodesy (Norway)" -74,28,"Nordic Commission of Geodesy (Sweden)" -74,29,"Institute de Geodesie National (France)" -74,30,"Bundesamt für Kartographie und Geodäsie (Germany)" -74,31,"Institute of Engineering Satellite Surveying and Geodesy (U.K.)" -254,10,"Tromso (Norway)" -254,10,"Maspalomas (Spain)" -254,30,"Kangerlussuaq (Greenland)" -254,40,"Edmonton (Canada)" -254,50,"Bedford (Canada)" -254,60,"Gander (Canada)" -254,70,"Monterey (USA)" -254,80,"Wallops Island (USA)" -254,90,"Gilmor Creek (USA)" -254,100,"Athens (Greece)" -98,231,"CNRM, Meteo France Climate Centre (HIRETYCS)" -98,232,"MPI, Max Planck Institute Climate Centre (HIRETYCS)" -98,233,"UKMO Climate Centre (HIRETYCS)" -98,234,"ECMWF (DEMETER)" -98,235,"INGV-CNR (Bologna, Italy)(DEMETER)" -98,236,"LODYC (Paris, France)(DEMETER)" -98,237,"DMI (Copenhagen, Denmark)(DEMETER)" -98,238,"INM (Madrid, Spain)(DEMETER)" -98,239,"CERFACS (Toulouse, France)(DEMETER)" -98,240,"ECMWF (PROVOST)" -98,241,"Meteo France (PROVOST)" -98,242,"EDF (PROVOST)" -98,243,"UKMO (PROVOST)" -98,244,"Biometeorology group, University of Veterinary Medicine, Vienna (ELDAS)" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_0.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_0.csv deleted file mode 100644 index 5a948615..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_0.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"TMP","Temperature","K","UC_K2F" -1,"VTMP","Virtual temperature","K","UC_K2F" -2,"POT","Potential temperature","K","UC_K2F" -3,"EPOT","Pseudo-adiabatic potential temperature","K","UC_K2F" -4,"TMAX","Maximum temperature","K","UC_K2F" -5,"TMIN","Minimum temperature","K","UC_K2F" -6,"DPT","Dew point temperature","K","UC_K2F" -7,"DEPR","Dew point depression","K","UC_NONE" -8,"LAPR","Lapse rate","K/m","UC_NONE" -9,"TMPA","Temperature anomaly","K","UC_K2F" -10,"LHTFL","Latent heat net flux","W/(m^2)","UC_NONE" -11,"SHTFL","Sensible heat net flux","W/(m^2)","UC_NONE" -12,"HEATX","Heat index","K","UC_K2F" -13,"WCF","Wind chill factor","K","UC_K2F" -14,"MINDPD","Minimum dew point depression","K","UC_K2F" -15,"VPTMP","Virtual potential temperature","K","UC_K2F" -16,"SNOHF","Snow phase change heat flux","W/m^2","UC_NONE" -17,"SKINT","Skin temperature","K","UC_K2F" -18,"SNOT","Snow Temperature (top of snow)","K","UC_K2F" -19,"TTCHT","Turbulent Transfer Coefficient for Heat","Numeric","UC_NONE" -20,"TDCHT","Turbulent Diffusion Coefficient for Heat","m^2/s","UC_NONE" -21,"APTMP","Apparent Temperature","K","UC_K2F" -22,"TTSWR","Temperature Tendency due to Short-Wave Radiation","K/s","UC_NONE" -23,"TTLWR","Temperature Tendency due to Long-Wave Radiation","K/s","UC_NONE" -24,"TTSWRCS","Temperature Tendency due to Short-Wave Radiation, Clear Sky","K/s","UC_NONE" -25,"TTLWRCS","Temperature Tendency due to Long-Wave Radiation, Clear Sky","K/s","UC_NONE" -26,"TTPARM","Temperature Tendency due to parameterizations","K/s","UC_NONE" -27,"WETBT","Wet Bulb Temperature","K","UC_K2F" -28,"UCTMP","Unbalanced Component of Temperature","K","UC_K2F" -29,"TMPADV","Temperature Advection","K/s","UC_NONE" -30,"","Latent heat net flux due to evaporation","W m-2","UC_NONE" -31,"","Latent heat net flux due to sublimation","W m-2","UC_NONE" -32,"","Wet-bulb potential temperature","K","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_1.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_1.csv deleted file mode 100644 index 8ff551bf..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_1.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"SPFH","Specific humidity","kg/kg","UC_NONE" -1,"RH","Relative humidity","%","UC_NONE" -2,"MIXR","Humidity mixing ratio","kg/kg","UC_NONE" -3,"PWAT","Precipitable water","kg/(m^2)","UC_NONE" -4,"VAPP","Vapor pressure","Pa","UC_NONE" -5,"SATD","Saturation deficit","Pa","UC_NONE" -6,"EVP","Evaporation","kg/(m^2)","UC_InchWater" -7,"PRATE","Precipitation rate","kg/(m^2 s)","UC_NONE" -8,"APCP","Total precipitation","kg/(m^2)","UC_InchWater" -9,"NCPCP","Large scale precipitation","kg/(m^2)","UC_NONE" -10,"ACPCP","Convective precipitation","kg/(m^2)","UC_NONE" -11,"SNOD","Snow depth","m","UC_M2Inch" -12,"SRWEQ","Snowfall rate water equivalent","kg/(m^2 s)","UC_NONE" -13,"WEASD","Water equivalent of accumulated snow depth","kg/(m^2)","UC_NONE" -14,"SNOC","Convective snow","kg/(m^2)","UC_NONE" -15,"SNOL","Large scale snow","kg/(m^2)","UC_NONE" -16,"SNOM","Snow melt","kg/(m^2)","UC_NONE" -17,"SNOAG","Snow age","day","UC_NONE" -18,"ABSH","Absolute humidity","kg/(m^3)","UC_NONE" -19,"PTYPE","Precipitation type","0=Reserved; 1=Rain; 2=Thunderstorm; 3=Freezing rain; 4=Mixed/ice; 5=Snow; 6=Wet snow; 7=Mixture of rain and snow; 8=Ice pellets; 9=Graupel; 10=Hail; 11=Drizzle; 12=Freezing drizzle; 13-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -20,"ILIQW","Integrated liquid water","kg/(m^2)","UC_NONE" -21,"TCOND","Condensate","kg/kg","UC_NONE" -22,"CLWMR","Cloud mixing ratio","kg/kg","UC_NONE" -23,"ICMR","Ice water mixing ratio","kg/kg","UC_NONE" -24,"RWMR","Rain mixing ratio","kg/kg","UC_NONE" -25,"SNMR","Snow mixing ratio","kg/kg","UC_NONE" -26,"MCONV","Horizontal moisture convergence","kg/(kg s)","UC_NONE" -27,"MAXRH","Maximum relative humidity","%","UC_NONE" -28,"MAXAH","Maximum absolute humidity","kg/(m^3)","UC_NONE" -29,"ASNOW","Total snowfall","m","UC_M2Inch" -30,"PWCAT","Precipitable water category","0-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -31,"HAIL","Hail","m","UC_NONE" -32,"GRLE","Graupel (snow pellets)","kg/kg","UC_NONE" -33,"CRAIN","Categorical rain","0=No; 1=Yes; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -34,"CFRZR","Categorical freezing rain","0=No; 1=Yes; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -35,"CICEP","Categorical ice pellets","0=No; 1=Yes; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -36,"CSNOW","Categorical snow","0=No; 1=Yes; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -37,"CPRAT","Convective precipitation rate","kg/(m^2*s)","UC_NONE" -38,"MCONV","Horizontal moisture divergence","kg/(kg*s)","UC_NONE" -39,"CPOFP","Percent frozen precipitation","%","UC_NONE" -40,"PEVAP","Potential evaporation","kg/m^2","UC_NONE" -41,"PEVPR","Potential evaporation rate","W/m^2","UC_NONE" -42,"SNOWC","Snow cover","%","UC_NONE" -43,"FRAIN","Rain fraction of total cloud water","-","UC_NONE" -44,"RIME","Rime factor","-","UC_NONE" -45,"TCOLR","Total column integrated rain","kg/m^2","UC_NONE" -46,"TCOLS","Total column integrated snow","kg/m^2","UC_NONE" -47,"LSWP","Large scale water precipitation","kg/m^2","UC_NONE" -48,"CWP","Convective water precipitation","kg/m^2","UC_NONE" -49,"TWATP","Total water precipitation","kg/m^2","UC_NONE" -50,"TSNOWP","Total snow precipitation","kg/m^2","UC_NONE" -51,"TCWAT","Total column water","kg/m^2","UC_NONE" -52,"TPRATE","Total precipitation rate","kg/(m^2*s)","UC_NONE" -53,"TSRWE","Total snowfall rate water equivalent","kg/(m^2*s)","UC_NONE" -54,"LSPRATE","Large scale precipitation rate","kg/(m^2*s)","UC_NONE" -55,"CSRWE","Convective snowfall rate water equivalent","kg/(m^2*s)","UC_NONE" -56,"LSSRWE","Large scale snowfall rate water equivalent","kg/(m^2*s)","UC_NONE" -57,"TSRATE","Total snowfall rate","m/s","UC_NONE" -58,"CSRATE","Convective snowfall rate","m/s","UC_NONE" -59,"LSSRWE","Large scale snowfall rate","m/s","UC_NONE" -60,"SDWE","Snow depth water equivalent","kg/m^2","UC_NONE" -61,"SDEN","Snow density","kg/m^3","UC_NONE" -62,"SEVAP","Snow evaporation","kg/m^2","UC_NONE" -63,"","Reserved","-","UC_NONE" -64,"TCIWV","Total column integrated water vapour","kg/m^2","UC_NONE" -65,"RPRATE","Rain precipitation rate","kg/(m^2*s)","UC_NONE" -66,"SPRATE","Snow precipitation rate","kg/(m^2*s)","UC_NONE" -67,"FPRATE","Freezing rain precipitation rate","kg/(m^2*s)","UC_NONE" -68,"IPRATE","Ice pellets precipitation rate","kg/(m^2*s)","UC_NONE" -69,"TCOLW","Total Column Integrate Cloud Water","kg/m^2","UC_NONE" -70,"TCOLI","Total Column Integrate Cloud Ice","kg/m^2","UC_NONE" -71,"HAILMXR","Hail Mixing Ratio","kg/kg","UC_NONE" -72,"TCOLH","Total Column Integrate Hail","kg/m^2","UC_NONE" -73,"HAILPR","Hail Prepitation Rate","kg/(m^2*s)","UC_NONE" -74,"TCOLG","Total Column Integrate Graupel","kg/m^2","UC_NONE" -75,"GPRATE","Graupel (Snow Pellets) Prepitation Rate","kg/(m^2*s)","UC_NONE" -76,"CRRATE","Convective Rain Rate","kg/(m^2*s)","UC_NONE" -77,"LSRRATE","Large Scale Rain Rate","kg/(m^2*s)","UC_NONE" -78,"TCOLWA","Total Column Integrate Water (All components including precipitation)","kg/m^2","UC_NONE" -79,"EVARATE","Evaporation Rate","kg/(m^2*s)","UC_NONE" -80,"TOTCON","Total Condensate","kg/kg","UC_NONE" -81,"TCICON","Total Column-Integrate Condensate","kg/m^2","UC_NONE" -82,"CIMIXR","Cloud Ice Mixing Ratio","kg/kg","UC_NONE" -83,"SCLLWC","Specific Cloud Liquid Water Content","kg/kg","UC_NONE" -84,"SCLIWC","Specific Cloud Ice Water Content","kg/kg","UC_NONE" -85,"SRAINW","Specific Rain Water Content","kg/kg","UC_NONE" -86,"SSNOWW","Specific Snow Water Content","kg/kg","UC_NONE" -87,"SPRATE","Stratiform Precipitation Rate","kg/(m^2*s)","UC_NONE" -88,"CATCP","Categorical Convective Precipitation","0=No; 1=Yes; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -89,"","Reserved","-","UC_NONE" -90,"TKMFLX","Total Kinematic Moisture Flux","kg/kg(m/s)","UC_NONE" -91,"UKMFLX","U-component (zonal) Kinematic Moisture Flux","kg/kg(m/s)","UC_NONE" -92,"VKMFLX","V-component (meridional) Kinematic Moisture Flux","kg/kg(m/s)","UC_NONE" -93,"RHWATER","Relative Humidity With Respect to Water","%","UC_NONE" -94,"RHICE","Relative Humidity With Respect to Ice","%","UC_NONE" -95,"FZPRATE","Freezing or Frozen Precipitation Rate","kg/(m^2*s)","UC_NONE" -96,"MASSDR","Mass Density of Rain","kg/m^3","UC_NONE" -97,"MASSDS","Mass Density of Snow","kg/m^3","UC_NONE" -98,"MASSDG","Mass Density of Graupel","kg/m^3","UC_NONE" -99,"MASSDH","Mass Density of Hail","kg/m^3","UC_NONE" -100,"SPNCR","Specific Number Concentration of Rain","kg^-1","UC_NONE" -101,"SPNCS","Specific Number Concentration of Snow","kg^-1","UC_NONE" -102,"SPNCG","Specific Number Concentration of Graupel","kg^-1","UC_NONE" -103,"SPNCH","Specific Number Concentration of Hail","kg^-1","UC_NONE" -104,"NUMDR","Number Density of Rain","m^-3","UC_NONE" -105,"NUMDS","Number Density of Snow","m^-3","UC_NONE" -106,"NUMDG","Number Density of Graupel","m^-3","UC_NONE" -107,"NUMDH","Number Density of Hail","m^-3","UC_NONE" -108,"SHTPRM","Specific Humidity Tendency due to Parameterizations","kg/kg(s)","UC_NONE" -109,"MDLWHVA","Mass Density of Liquid Water Coating on Hail Expressed as Mass of Liquid Water per Unit Volume of Air","kg/m^3","UC_NONE" -110,"SMLWHMA","Specific Mass of Liquid Water Coating on Hail Expressed as Mass of Liquid Water per Unit Mass of Moist Air","kg/kg","UC_NONE" -111,"MMLWHDA","Mass Mixing Ratio of Liquid Water Coating on Hail Expressed as Mass of Liquid Water per Unit Mass of Dry Air","kg/kg","UC_NONE" -112,"MDLWGVA","Mass Density of Liquid Water Coating on Graupel Expressed as Mass of Liquid Water per Unit Volume of Air","kg/m^3","UC_NONE" -113,"SMLWGMA","Specific Mass of Liquid Water Coating on Graupel Expressed as Mass of Liquid Water per Unit Mass of Moist Air","kg/kg","UC_NONE" -114,"MMLWGDA","Mass Mixing Ratio of Liquid Water Coating on Graupel Expressed as Mass of Liquid Water per Unit Mass of Dry Air","kg/kg","UC_NONE" -115,"MDLWSVA","Mass Density of Liquid Water Coating on Snow Expressed as Mass of Liquid Water per Unit Volume of Air","kg/m^3","UC_NONE" -116,"SMLWSMA","Specific Mass of Liquid Water Coating on Snow Expressed as Mass of Liquid Water per Unit Mass of Moist Air","kg/kg","UC_NONE" -117,"MMLWSDA","Mass Mixing Ratio of Liquid Water Coating on Snow Expressed as Mass of Liquid Water per Unit Mass of Dry Air","kg/kg","UC_NONE" -118,"UNCSH","Unbalanced Component of Specific Humidity","kg/kg","UC_NONE" -119,"UCSCLW","Unbalanced Component of Specific Cloud Liquid Water content","kg/kg","UC_NONE" -120,"UCSCIW","Unbalanced Component of Specific Cloud Ice Water content","kg/kg","UC_NONE" -121,"FSNOWC","Fraction of Snow Cover","Proportion","UC_NONE" -122,"","Precipitation intensity index","0=No precipitation occurrence; 1=Light precipitation; 2=Moderate precipitation; 3=Heavy precipitation; 4-254=Reserved; 255=Missing","UC_NONE" -123,"","Dominant precipitation type","0=Reserved; 1=Rain; 2=Thunderstorm; 3=Freezing rain; 4=Mixed/ice; 5=Snow; 6=Wet snow; 7=Mixture of rain and snow; 8=Ice pellets; 9=Graupel; 10=Hail; 11=Drizzle; 12=Freezing drizzle; 13-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -124,"","Presence of showers","0=No; 1=Yes; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -125,"","Presence of blowing snow","0=No; 1=Yes; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -126,"","Presence of blizzard","0=No; 1=Yes; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -127,"","Ice pellets (non-water equivalent) precipitation rate","m/s","UC_NONE" -128,"","Total solid precipitation rate","kg m-2 s-1","UC_NONE" -129,"","Effective radius of cloud water","m","UC_NONE" -130,"","Effective radius of rain","m","UC_NONE" -131,"","Effective radius of cloud ice","m","UC_NONE" -132,"","Effective radius of snow","m","UC_NONE" -133,"","Effective radius of graupel","m","UC_NONE" -134,"","Effective radius of hail","m","UC_NONE" -135,"","Effective radius of subgrid liquid clouds","m","UC_NONE" -136,"","Effective radius of subgrid ice clouds","m","UC_NONE" -137,"","Effective aspect ratio of rain","-","UC_NONE" -138,"","Effective aspect ratio of cloud ice","-","UC_NONE" -139,"","Effective aspect ratio of snow","-","UC_NONE" -140,"","Effective aspect ratio of graupel","-","UC_NONE" -141,"","Effective aspect ratio of hail","-","UC_NONE" -142,"","Effective aspect ratio of subgrid ice clouds","-","UC_NONE" -143,"","Potential evaporation rate","kg m–2 s–1","UC_NONE" -144,"","Specific rain water content (convective)","kg kg-1","UC_NONE" -145,"","Specific snow water content (convective)","kg kg-1","UC_NONE" -146,"","Cloud ice precipitation rate","kg m-2 s-1","UC_NONE" -147,"","Character of precipitation","0=None; 1=Showers; 2=Intermittent; 3=Continuous; 4-254=Reserved; 255=Missing","UC_NONE" -148,"","Snow evaporation rate","kg m-2 s-1","UC_NONE" -149,"","Cloud water mixing ratio","kg kg-1","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_13.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_13.csv deleted file mode 100644 index d4ec0e45..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_13.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"AEROT","Aerosol type","0=Aerosol not present; 1=Aerosol present; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -1,"","Reserved","","UC_NONE" -2,"","Reserved","","UC_NONE" -3,"","Reserved","","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_14.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_14.csv deleted file mode 100644 index 805ca156..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_14.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"TOZNE","Total ozone","Dobson","UC_NONE" -1,"O3MR","Ozone mixing ratio","kg/kg","UC_NONE" -2,"TCIOZ","Total column integrated ozone","Dobson","UC_NONE" -3,"","Reserved","","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_15.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_15.csv deleted file mode 100644 index 93faa6c0..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_15.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"BSWID","Base spectrum width","m/s","UC_NONE" -1,"BREF","Base reflectivity","dB","UC_NONE" -2,"BRVEL","Base radial velocity","m/s","UC_NONE" -3,"VERIL","Vertically-integrated liquid","kg/m","UC_NONE" -4,"LMAXBR","Layer maximum base reflectivity","dB","UC_NONE" -5,"PREC","Precipitation","kg/(m^2)","UC_NONE" -6,"RDSP1","Radar spectra (1)","-","UC_NONE" -7,"RDSP2","Radar spectra (2)","-","UC_NONE" -8,"RDSP3","Radar spectra (3)","-","UC_NONE" -9,"RFCD","Reflectivity of Cloud Droplets","dB","UC_NONE" -10,"RFCI","Reflectivity of Cloud Ice","dB","UC_NONE" -11,"RFSNOW","Reflectivity of Snow","dB","UC_NONE" -12,"RFRAIN","Reflectivity of Rain","dB","UC_NONE" -13,"RFGRPL","Reflectivity of Graupel","dB","UC_NONE" -14,"RFHAIL","Reflectivity of Hail","dB","UC_NONE" -15,"HSR","Hybrid Scan Reflectivity","dB","UC_NONE" -16,"HSRHT","Hybrid Scan Reflectivity Height","m","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_16.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_16.csv deleted file mode 100644 index 6d46c06e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_16.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"REFZR","Equivalent radar reflectivity for rain","mm^6/m^3","UC_NONE" -1,"REFZI","Equivalent radar reflectivity for snow","mm^6/m^3","UC_NONE" -2,"REFZC","Equivalent radar reflectivity for parameterized convection","mm^6/m^3","UC_NONE" -3,"RETOP","Echo Top","m","UC_NONE" -4,"REFD","Reflectivity","dB","UC_NONE" -5,"REFC","Composity reflectivity","dB","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_17.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_17.csv deleted file mode 100644 index 500b9d32..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_17.csv +++ /dev/null @@ -1,10 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"LTNGSD","Lightning Strike Density","m^2/s","UC_NONE" -1,"LTPINX","Lightning Potential Index (LPI) (see Note)","J/kg","UC_NONE" -2,"","Cloud-to-ground Lightning flash density","km-2 day-1","UC_NONE" -3,"","Cloud-to-cloud Lightning flash density","km-2 day-1","UC_NONE" -4,"","Total Lightning flash density","km-2 day-1","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_18.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_18.csv deleted file mode 100644 index 9a9fd8b7..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_18.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"ACCES","Air concentration of Caesium 137","Bq/(m^3)","UC_NONE" -1,"ACIOD","Air concentration of Iodine 131","Bq/(m^3)","UC_NONE" -2,"ACRADP","Air concentration of radioactive pollutant","Bq/(m^3)","UC_NONE" -3,"GDCES","Ground deposition of Caesium 137","Bq/(m^2)","UC_NONE" -4,"GDIOD","Ground deposition of Iodine 131","Bq/(m^2)","UC_NONE" -5,"GDRADP","Ground deposition of radioactive pollutant","Bq/(m^2)","UC_NONE" -6,"TIACCP","Time-integrated air concentration of caesium pollutant","(Bq s)/(m^3)","UC_NONE" -7,"TIACIP","Time-integrated air concentration of iodine pollutant","(Bq s)/(m^3)","UC_NONE" -8,"TIACRP","Time-integrated air concentration of radioactive pollutant","(Bq s)/(m^3)","UC_NONE" -9,"","Reserved","-","UC_NONE" -10,"AIRCON","Air Concentration","Bq/(m^3)","UC_NONE" -11,"WETDEP","Wet Deposition","Bq/(m^2)","UC_NONE" -12,"DRYDEP","Dry Deposition","Bq/(m^2)","UC_NONE" -13,"TOTLWD","Total Deposition (Wet + Dry)","Bq/(m^2)","UC_NONE" -14,"SACON","Specific Activity Concentration","Bq/kg","UC_NONE" -15,"MAXACON","Maximum of Air Concentration in Layer","Bq/(m^3)","UC_NONE" -16,"HMXACON","Height of Maximum of Air Concentration","m","UC_NONE" -17,"CIAIRC","Column-Integrated Air Concentration","Bq/(m^2)","UC_NONE" -18,"CAACL","Column-Averaged Air Concentration in Layer","Bq/(m^3)","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_19.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_19.csv deleted file mode 100644 index 93d1442a..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_19.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"VIS","Visibility","m","UC_M2StatuteMile" -1,"ALBDO","Albedo","%","UC_NONE" -2,"TSTM","Thunderstorm probability","%","UC_NONE" -3,"MIXHT","Mixed layer depth","m","UC_NONE" -4,"VOLASH","Volcanic ash","0=Not present; 1=Present; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -5,"ICIT","Icing top","m","UC_NONE" -6,"ICIB","Icing base","m","UC_NONE" -7,"ICI","Icing","0=None; 1=Light; 2=Moderate; 3=Severe; 4=Trace; 5=Heavy; 6-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -8,"TURBT","Turbulance top","m","UC_NONE" -9,"TURBB","Turbulence base","m","UC_NONE" -10,"TURB","Turbulance","0=None (smooth); 1=Light; 2=Moderate; 3=Severe; 4=Extreme; 5-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -11,"TKE","Turbulent kinetic energy","J/kg","UC_NONE" -12,"PBLREG","Planetary boundary layer regime","0=Reserved; 1=Stable; 2=Mechanically driven turbulence; 3=Forced convection; 4=Free convection; 5-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -13,"CONTI","Contrail intensity","0=Contrail not present; 1=Contrail present; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -14,"CONTET","Contrail engine type","0=Low bypass; 1=High bypass; 2=Non-bypass; 3-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -15,"CONTT","Contrail top","m","UC_NONE" -16,"CONTB","Contrail base","m","UC_NONE" -17,"MXSALB","Maximum snow albedo","%","UC_NONE" -18,"SNFALB","Snow free albedo","%","UC_NONE" -19,"SALBD","Snow albedo","%","UC_NONE" -20,"ICIP","Icing","%","UC_NONE" -21,"CTP","In-Cloud Turbulence","%","UC_NONE" -22,"CAT","Clear Air Turbulence","%","UC_NONE" -23,"SLDP","Supercooled Large Droplet Probability","%","UC_NONE" -24,"CONTKE","Convective Turbulent Kinetic Energy","J/kg","UC_NONE" -25,"WIWW","Weather Interpretation ww (WMO)","=(see FM 94 BUFR/FM 95 CREX Code table 0 20 003 - Present weather)","UC_NONE" -26,"CONVO","Convective Outlook","0=No risk area; 1=Reserved; 2=General thunderstorm risk area; 3=Reserved; 4=Slight risk area; 5=Reserved; 6=Moderate risk area; 7=Reserved; 8=High risk area; 9-10=Reserved; 11=Dry thunderstorm (dry lightning) risk area; 12-13=Reserved; 14=Critical risk area; 15-17=Reserved; 18=Extremely critical risk area; 19-254=Reserved; 255=Missing","UC_NONE" -27,"ICESC","Icing Scenario","0=None; 1=General; 2=Convective; 3=Stratiform; 4=Freezing; 5-191=Reserved; 192-254=Reserved for local use; 255=Missing value","UC_NONE" -28,"MWTURB","Mountain Wave Turbulence (Eddy Dissipation Rate)","m^(2/3)/s","UC_NONE" -29,"CATEDR","Clear Air Turbulence (CAT) (Eddy Dissipation Rate)","m^(2/3)/s","UC_NONE" -30,"EDPARM","Eddy Dissipation Parameter","m^(2/3)/s","UC_NONE" -31,"MXEDPRM","Maximum of Eddy Dissipation Parameter in Layer","m^(2/3)/s","UC_NONE" -32,"HIFREL","Highest Freezing Level","m","UC_NONE" -33,"VISLFOG","Visibility Through Liquid Fog","m","UC_NONE" -34,"VISIFOG","Visibility Through Ice Fog","m","UC_NONE" -35,"VISBSN","Visibility Through Blowing Snow","m","UC_NONE" -36,"","Presence of snow squalls","0=No; 1=Yes; 2-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -37,"","Icing severity","0=None; 1=Trace; 2=Light; 3=Moderate; 4=Severe; 5-254=Reserved; 255=Missing value","UC_NONE" -38,"","Sky transparency index","0=Worst; 1=Very poor; 2=Poor; 3=Average; 4=Good; 5=Excellent; 6-190=Reserved; 191=Unknown; 192-254=Reserved for local use; 255=Missing","UC_NONE" -39,"","Seeing index","0=Worst; 1=Very poor; 2=Poor; 3=Average; 4=Good; 5=Excellent; 6-190=Reserved; 191=Unknown; 192-254=Reserved for local use; 255=Missing","UC_NONE" -40,"","Snow level","m","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_190.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_190.csv deleted file mode 100644 index 64af1177..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_190.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Arbitrary text string","CCITTIA5","UC_NONE" -1,"","Reserved","","UC_NONE" -2,"","Reserved","","UC_NONE" -3,"","Reserved","","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_191.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_191.csv deleted file mode 100644 index 82d3483f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_191.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"TSEC","Seconds prior to initial reference time (defined in Section 1)","s","UC_NONE" -1,"GEOLAT","Geographical Latitude","deg N","UC_NONE" -2,"GEOLON","Geographical Longitude","deg E","UC_NONE" -3,"DSLOBS","Days Since Last Observation","d","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_2.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_2.csv deleted file mode 100644 index c0946940..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_2.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"WDIR","Wind direction (from which blowing)","deg true","UC_NONE" -1,"WIND","Wind speed","m/s","UC_MS2Knots" -2,"UGRD","u-component of wind","m/s","UC_NONE" -3,"VGRD","v-component of wind","m/s","UC_NONE" -4,"STRM","Stream function","(m^2)/s","UC_NONE" -5,"VPOT","Velocity potential","(m^2)/s","UC_NONE" -6,"MNTSF","Montgomery stream function","(m^2)/(s^2)","UC_NONE" -7,"SGCVV","Sigma coordinate vertical velocity","1/s","UC_NONE" -8,"VVEL","Vertical velocity (pressure)","Pa/s","UC_NONE" -9,"DZDT","Vertical velocity (geometric)","m/s","UC_NONE" -10,"ABSV","Absolute vorticity","1/s","UC_NONE" -11,"ABSD","Absolute divergence","1/s","UC_NONE" -12,"RELV","Relative vorticity","1/s","UC_NONE" -13,"RELD","Relative divergence","1/s","UC_NONE" -14,"PVORT","Potential vorticity","K(m^2)/(kg s)","UC_NONE" -15,"VUCSH","Vertical u-component shear","1/s","UC_NONE" -16,"VVCSH","Vertical v-component shear","1/s","UC_NONE" -17,"UFLX","Momentum flux; u component","N/(m^2)","UC_NONE" -18,"VFLX","Momentum flux; v component","N/(m^2)","UC_NONE" -19,"WMIXE","Wind mixing energy","J","UC_NONE" -20,"BLYDP","Boundary layer dissipation","W/(m^2)","UC_NONE" -21,"MAXGUST","Maximum wind speed","m/s","UC_NONE" -22,"GUST","Wind speed (gust)","m/s","UC_MS2Knots" -23,"UGUST","u-component of wind (gust)","m/s","UC_NONE" -24,"VGUST","v-component of wind (gust)","m/s","UC_NONE" -25,"VWSH","Vertical speed shear","1/s","UC_NONE" -26,"MFLX","Horizontal momentum flux","N/(m^2)","UC_NONE" -27,"USTM","U-component storm motion","m/s","UC_NONE" -28,"VSTM","V-component storm motion","m/s","UC_NONE" -29,"CD","Drag coefficient","-","UC_NONE" -30,"FRICV","Frictional velocity","m/s","UC_NONE" -31,"TDCMOM","Turbulent Diffusion Coefficient for Momentum","(m^2)/s","UC_NONE" -32,"ETACVV","Eta Coordinate Vertical Velocity","1/s","UC_NONE" -33,"WINDF","Wind Fetch","m","UC_NONE" -34,"NWIND","Normal Wind Component","m/s","UC_NONE" -35,"TWIND","Tangential Wind Component","m/s","UC_NONE" -36,"AFRWE","Amplitude Function for Rossby Wave Envelope for Meridional Wind","m/s","UC_NONE" -37,"NTSS","Northward Turbulent Surface Stress","1/(m^2)","UC_NONE" -38,"ETSS","Eastward Turbulent Surface Stress","1/(m^2)","UC_NONE" -39,"EWTPARM","Eastward Wind Tendency Due to Parameterizations","m/(s^2)","UC_NONE" -40,"NWTPARM","Northward Wind Tendency Due to Parameterizations","m/(s^2)","UC_NONE" -41,"UGWIND","U-Component of Geostrophic Wind","m/s","UC_NONE" -42,"VGWIND","V-Component of Geostrophic Wind","m/s","UC_NONE" -43,"GEOWD","Geostrophic Wind Direction","deg true","UC_NONE" -44,"GEOWS","Geostrophic Wind Speed","m/s","UC_NONE" -45,"UNDIV","Unbalanced Component of Divergence","1/s","UC_NONE" -46,"VORTADV","Vorticity Advection","1/(s^2)","UC_NONE" -47,"","Surface roughness for heat","m","UC_NONE" -48,"","Surface roughness for moisture","m","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_20.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_20.csv deleted file mode 100644 index c35b8cb7..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_20.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"MASSDEN","Mass Density (Concentration)","kg/(m^3)","UC_NONE" -1,"COLMD","Column-Integrated Mass Density","kg/(m^2)","UC_NONE" -2,"MASSMR","Mass Mixing Ratio (Mass Fraction in Air)","kg/kg","UC_NONE" -3,"AEMFLX","Atmosphere Emission Mass Flux","kg/(m^2*s)","UC_NONE" -4,"ANPMFLX","Atmosphere Net Production Mass Flux","kg/(m^2*s)","UC_NONE" -5,"ANPEMFLX","Atmosphere Net Production and Emission Mass Flux","kg/(m^2*s)","UC_NONE" -6,"SDDMFLX","Surface Dry Deposition Mass Flux","kg/(m^2*s)","UC_NONE" -7,"SWDMFLX","Surface Wet Deposition Mass Flux","kg/(m^2*s)","UC_NONE" -8,"AREMFLX","Atmosphere Re-Emission Mass Flux","kg/(m^2*s)","UC_NONE" -9,"WLSMFLX","Wet Deposition by Large-Scale Precipitation Mass Flux","kg/(m^2*s)","UC_NONE" -10,"WDCPMFLX","Wet Deposition by Convective Precipitation Mass Flux","kg/(m^2*s)","UC_NONE" -11,"SEDMFLX","Sedimentation Mass Flux","kg/(m^2*s)","UC_NONE" -12,"DDMFLX","Dry Deposition Mass Flux","kg/(m^2*s)","UC_NONE" -13,"TRANHH","Transfer From Hydrophobic to Hydrophilic","kg(kg*s)","UC_NONE" -14,"TRSDS","Transfer From SO2 (Sulphur Dioxide) to SO4 (Sulphate)","kg(kg*s)","UC_NONE" -15,"DDVEL","Dry deposition velocity","m/s","UC_NONE" -16,"MSSRDRYA","Mass mixing ratio with respect to dry air","kg/kg","UC_NONE" -17,"MSSRWETA","Mass mixing ratio with respect to wet air","kg/kg","UC_NONE" -18,"","Reserved","-","UC_NONE" -19,"","Reserved","-","UC_NONE" -20,"","Reserved","-","UC_NONE" -21,"","Reserved","-","UC_NONE" -22,"","Reserved","-","UC_NONE" -23,"","Reserved","-","UC_NONE" -24,"","Reserved","-","UC_NONE" -25,"","Reserved","-","UC_NONE" -26,"","Reserved","-","UC_NONE" -27,"","Reserved","-","UC_NONE" -28,"","Reserved","-","UC_NONE" -29,"","Reserved","-","UC_NONE" -30,"","Reserved","-","UC_NONE" -31,"","Reserved","-","UC_NONE" -32,"","Reserved","-","UC_NONE" -33,"","Reserved","-","UC_NONE" -34,"","Reserved","-","UC_NONE" -35,"","Reserved","-","UC_NONE" -36,"","Reserved","-","UC_NONE" -37,"","Reserved","-","UC_NONE" -38,"","Reserved","-","UC_NONE" -39,"","Reserved","-","UC_NONE" -40,"","Reserved","-","UC_NONE" -41,"","Reserved","-","UC_NONE" -42,"","Reserved","-","UC_NONE" -43,"","Reserved","-","UC_NONE" -44,"","Reserved","-","UC_NONE" -45,"","Reserved","-","UC_NONE" -46,"","Reserved","-","UC_NONE" -47,"","Reserved","-","UC_NONE" -48,"","Reserved","-","UC_NONE" -49,"","Reserved","-","UC_NONE" -50,"AIA","Amount in Atmosphere","mol","UC_NONE" -51,"CONAIR","Concentration in Air","mol/(m^3)","UC_NONE" -52,"VMXR","Volume Mixing Ratio (Fraction in Air)","mol/mol","UC_NONE" -53,"CGPRC","Chemical Gross Production Rate of Concentration","mol/(m^3*s)","UC_NONE" -54,"CGDRC","Chemical Gross Destruction Rate of Concentration","mol/(m^3*s)","UC_NONE" -55,"SFLUX","Surface Flux","mol/(m^2*s)","UC_NONE" -56,"COAIA","Changes of Amount in Atmosphere","mol/s","UC_NONE" -57,"TYABA","Total Yearly Average Burden of the Atmosphere","mol","UC_NONE" -58,"TYAAL","Total Yearly Average Atmospheric Loss","mol/s","UC_NONE" -59,"ANCON","Aerosol Number Concentration","1/(m^3)","UC_NONE" -60,"ASNCON","Aerosol Specific Number Concentration","1/kg","UC_NONE" -61,"MXMASSD","Maximum of Mass Density","kg(/m^3)","UC_NONE" -62,"HGTMD","Height of Mass Density","m","UC_NONE" -63,"CAVEMDL","Column-Averaged Mass Density in Layer","kg/(m^3)","UC_NONE" -64,"MOLRDRYA","Mole fraction with respect to dry air","mol/mol","UC_NONE" -65,"MOLRWETA","Mole fraction with respect to dry air","mol/mol","UC_NONE" -66,"CINCLDSP","Column-integrated in-cloud scavenging rate by precipitation","kg/(m^2 s)","UC_NONE" -67,"CBLCLDSP","Column-integrated below-cloud scavenging rate by precipitation","kg/(m^2 s)","UC_NONE" -68,"CIRELREP","Column-integrated release rate from evaporating precipitation","kg/(m^2 s)","UC_NONE" -69,"CINCSLSP","Column-integrated in-cloud scavenging rate by large-scale precipitation","kg/(m^2 s)","UC_NONE" -70,"CBECSLSP","Column-integrated below-cloud scavenging rate by large-scale precipitation","kg/(m^2 s)","UC_NONE" -71,"CRERELSP","Column-integrated release rate from evaporating large-scale precipitation","kg/(m^2 s)-","UC_NONE" -72,"CINCSRCP","Column-integrated in-cloud scavenging rate by convective precipitation","kg/(m^2 s)","UC_NONE" -73,"CBLCSRCP","Column-integrated below-cloud scavenging rate by convective precipitation","kg/(m^2 s)","UC_NONE" -74,"CIRERECP","Column-integrated release rate from evaporating convective precipitation","kg/(m^2 s)","UC_NONE" -75,"WFIREFLX","Wildfire flux","kg/(m^2 s)","UC_NONE" -76,"","Emission rate","kg kg-1 s-1","UC_NONE" -77,"","Surface emission flux","kg m-2 s-1","UC_NONE" -78,"","Reserved","-","UC_NONE" -79,"","Reserved","-","UC_NONE" -80,"","Reserved","-","UC_NONE" -81,"","Reserved","-","UC_NONE" -82,"","Reserved","-","UC_NONE" -83,"","Reserved","-","UC_NONE" -84,"","Reserved","-","UC_NONE" -85,"","Reserved","-","UC_NONE" -86,"","Reserved","-","UC_NONE" -87,"","Reserved","-","UC_NONE" -88,"","Reserved","-","UC_NONE" -89,"","Reserved","-","UC_NONE" -90,"","Reserved","-","UC_NONE" -91,"","Reserved","-","UC_NONE" -92,"","Reserved","-","UC_NONE" -93,"","Reserved","-","UC_NONE" -94,"","Reserved","-","UC_NONE" -95,"","Reserved","-","UC_NONE" -96,"","Reserved","-","UC_NONE" -97,"","Reserved","-","UC_NONE" -98,"","Reserved","-","UC_NONE" -99,"","Reserved","-","UC_NONE" -100,"SADEN","Surface Area Density (Aerosol)","1/m","UC_NONE" -101,"ATMTK","Vertical Visual Range","m","UC_NONE" -102,"AOTK","Atmosphere Optical Thickness","Numeric","UC_NONE" -103,"SSALBK","Single Scattering Albedo","Numeric","UC_NONE" -104,"ASYSFK","Asymmetry Factor","Numeric","UC_NONE" -105,"AECOEF","Aerosol Extinction Coefficient","1/m","UC_NONE" -106,"AACOEF","Aerosol Absorption Coefficient","1/m","UC_NONE" -107,"ALBSAT","Aerosol Lidar Backscatter from Satellite","1/(m*sr)","UC_NONE" -108,"ALBGRD","Aerosol Lidar Backscatter from the Ground","1/(m*sr)","UC_NONE" -109,"ALESAT","Aerosol Lidar Extinction from Satellite","1/m","UC_NONE" -110,"ALEGRD","Aerosol Lidar Extinction from the Ground","1/m","UC_NONE" -111,"ANGSTEXP","Angstrom Exponent","Numeric","UC_NONE" -112,"SCTAOTK","Scattering Aerosol Optical Thickness","Numeric","UC_NONE" -113,"","Reserved","-","UC_NONE" -114,"","Reserved","-","UC_NONE" -115,"","Reserved","-","UC_NONE" -116,"","Reserved","-","UC_NONE" -117,"","Reserved","-","UC_NONE" -118,"","Reserved","-","UC_NONE" -119,"","Reserved","-","UC_NONE" -120,"","Reserved","-","UC_NONE" -121,"","Reserved","-","UC_NONE" -122,"","Reserved","-","UC_NONE" -123,"","Reserved","-","UC_NONE" -124,"","Reserved","-","UC_NONE" -125,"","Reserved","-","UC_NONE" -126,"","Reserved","-","UC_NONE" -127,"","Reserved","-","UC_NONE" -128,"","Reserved","-","UC_NONE" -129,"","Reserved","-","UC_NONE" -130,"","Reserved","-","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_3.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_3.csv deleted file mode 100644 index dc5582f2..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_3.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"PRES","Pressure","Pa","UC_NONE" -1,"PRMSL","Pressure reduced to MSL","Pa","UC_NONE" -2,"PTEND","Pressure tendency","Pa/s","UC_NONE" -3,"ICAHT","ICAO Standard Atmosphere Reference Height","m","UC_NONE" -4,"GP","Geopotential","(m^2)/(s^2)","UC_NONE" -5,"HGT","Geopotential height","gpm","UC_NONE" -6,"DIST","Geometric height","m","UC_M2Feet" -7,"HSTDV","Standard deviation of height","m","UC_NONE" -8,"PRESA","Pressure anomaly","Pa","UC_NONE" -9,"GPA","Geopotential height anomaly","gpm","UC_NONE" -10,"DEN","Density","kg/(m^3)","UC_NONE" -11,"ALTS","Altimeter setting","Pa","UC_NONE" -12,"THICK","Thickness","m","UC_NONE" -13,"PRESALT","Pressure altitude","m","UC_NONE" -14,"DENALT","Density altitude","m","UC_NONE" -15,"5WAVH","5-wave geopotential height","gpm","UC_NONE" -16,"U-GWD","Zonal flux of gravity wave stress","N/(m^2)","UC_NONE" -17,"V-GWD","Meridional flux of gravity wave stress","N/(m^2)","UC_NONE" -18,"HPBL","Planetary boundary layer height","m","UC_NONE" -19,"5WAVA","5-wave geopotential height anomaly","gpm","UC_NONE" -20,"SDSGSO","Standard deviation of sub-grid scale orography","m","UC_NONE" -21,"AOSGSO","Angle of sub-gridscale orography","rad","UC_NONE" -22,"SSGSO","Slope of sub-gridscale orography","Numeric","UC_NONE" -23,"GSGSO","Gravity wave dissipation","W/m^2","UC_NONE" -24,"ASGSO","Anisotrophy of sub-gridscale orography","Numeric","UC_NONE" -25,"NLPRES","Natural Logarithm of Pressure in Pa","Numeric","UC_NONE" -26,"EXPRES","Exner Pressure","Numeric","UC_NONE" -27,"UMFLX","Updraught Mass Flux","kg/(m^2*s)","UC_NONE" -28,"DMFLX","Downdraught Mass Flux","kg/(m^2*s)","UC_NONE" -29,"UDRATE","Updraught Detrainment Rate","kg/(m^3*s)","UC_NONE" -30,"DDRATE","Downdraught Detrainment Rate","kg/(m^3*s)","UC_NONE" -31,"UCLSPRS","Unbalanced Component of Logarithm of Surface Pressure","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_4.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_4.csv deleted file mode 100644 index acc58665..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_4.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"NSWRS","Net short-wave radiation flux (surface)","W/(m^2)","UC_NONE" -1,"NSWRT","Net short-wave radiation flux (top of atmosphere)","W/(m^2)","UC_NONE" -2,"SWAVR","Short wave radiation flux","W/(m^2)","UC_NONE" -3,"GRAD","Global radiation flux","W/(m^2)","UC_NONE" -4,"BRTMP","Brightness temperature","K","UC_NONE" -5,"LWRAD","Radiance (with respect to wave number)","W/(m sr)","UC_NONE" -6,"SWRAD","Radiance (with respect to wave length)","W/(m^3 sr)","UC_NONE" -7,"DSWRF","Downward short-wave radiation flux","W/(m^2)","UC_NONE" -8,"USWRF","Upward short-wave radiation flux","W/(m^2)","UC_NONE" -9,"NSWRF","Net short wave radiation flux","W/(m^2)","UC_NONE" -10,"PHOTAR","Photosynthetically active radiation","W/(m^2)","UC_NONE" -11,"NSWRFCS","Net short-wave radiation flux; clear sky","W/(m^2)","UC_NONE" -12,"DWUVR","Downward UV radiation","W/(m^2)","UC_NONE" -13,"DSWRFLX","Direct Short Wave Radiation Flux","W/(m^2)","UC_NONE" -14,"DIFSWRF","Diffuse Short Wave Radiation Flux","W/(m^2)","UC_NONE" -15,"","Upward UV radiation emitted / reflected from the Earth surface","W m-2","UC_NONE" -16,"","Reserved","-","UC_NONE" -17,"","Reserved","-","UC_NONE" -18,"","Reserved","-","UC_NONE" -19,"","Reserved","-","UC_NONE" -20,"","Reserved","-","UC_NONE" -21,"","Reserved","-","UC_NONE" -22,"","Reserved","-","UC_NONE" -23,"","Reserved","-","UC_NONE" -24,"","Reserved","-","UC_NONE" -25,"","Reserved","-","UC_NONE" -26,"","Reserved","-","UC_NONE" -27,"","Reserved","-","UC_NONE" -28,"","Reserved","-","UC_NONE" -29,"","Reserved","-","UC_NONE" -30,"","Reserved","-","UC_NONE" -31,"","Reserved","-","UC_NONE" -32,"","Reserved","-","UC_NONE" -33,"","Reserved","-","UC_NONE" -34,"","Reserved","-","UC_NONE" -35,"","Reserved","-","UC_NONE" -36,"","Reserved","-","UC_NONE" -37,"","Reserved","-","UC_NONE" -38,"","Reserved","-","UC_NONE" -39,"","Reserved","-","UC_NONE" -40,"","Reserved","-","UC_NONE" -41,"","Reserved","-","UC_NONE" -42,"","Reserved","-","UC_NONE" -43,"","Reserved","-","UC_NONE" -44,"","Reserved","-","UC_NONE" -45,"","Reserved","-","UC_NONE" -46,"","Reserved","-","UC_NONE" -47,"","Reserved","-","UC_NONE" -48,"","Reserved","-","UC_NONE" -49,"","Reserved","-","UC_NONE" -50,"UVIUCS","UV index (under clear sky)","Numeric","UC_NONE" -51,"UVI","UV index","W/(m^2)","UC_UVIndex" -52,"DSWRFCS","Downward Short-Wave Radiation Flux, Clear Sky","W/(m^2)","UC_NONE" -53,"USWRFCS","Upward Short-Wave Radiation Flux, Clear Sky","W/(m^2)","UC_NONE" -54,"","Direct normal short-wave radiation flux","W m-2","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_5.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_5.csv deleted file mode 100644 index e0067069..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_5.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"NLWRS","Net long wave radiation flux (surface)","W/(m^2)","UC_NONE" -1,"NLWRT","Net long wave radiation flux (top of atmosphere)","W/(m^2)","UC_NONE" -2,"LWAVR","Long wave radiation flux","W/(m^2)","UC_NONE" -3,"DLWRF","Downward long-wave radiation flux","W/(m^2)","UC_NONE" -4,"ULWRF","Upward long-wave radiation flux","W/(m^2)","UC_NONE" -5,"NLWRF","Net long wave radiation flux","W/(m^2)","UC_NONE" -6,"NLWRCS","Net long-wave radiation flux; clear sky","W/(m^2)","UC_NONE" -7,"BRTEMP","Brightness Temperature","K","UC_K2F" -8,"DLWRFCS","Downward Long-Wave Radiation Flux, Clear Sky","W/(m^2)","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_6.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_6.csv deleted file mode 100644 index c41c9788..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_6.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"CICE","Cloud Ice","kg/(m^2)","UC_NONE" -1,"TCDC","Total cloud cover","%","UC_NONE" -2,"CDCON","Convective cloud cover","%","UC_NONE" -3,"LCDC","Low cloud cover","%","UC_NONE" -4,"MCDC","Medium cloud cover","%","UC_NONE" -5,"HCDC","High cloud cover","%","UC_NONE" -6,"CWAT","Cloud water","kg/(m^2)","UC_NONE" -7,"CDCA","Cloud amount","%","UC_NONE" -8,"CDCT","Cloud type","0=Clear; 1=Cumulonimbus; 2=Stratus; 3=Stratocumulus; 4=Cumulus; 5=Altostratus; 6=Nimbostratus; 7=Altocumulus; 8=Cirrostratus; 9=Cirrocumulus; 10=Cirrus; 11=Cumulonimbus - ground-based fog beneath the lowest layer; 12=Stratus - ground-based fog beneath the lowest layer; 13=Stratocumulus - ground-based fog beneath the lowest layer; 14=Cumulus - ground-based fog beneath the lowest layer; 15=Altostratus - ground-based fog beneath the lowest layer; 16=Nimbostratus - ground-based fog beneath the lowest layer; 17=Altocumulus - ground-based fog beneath the lowest layer; 18=Cirrostratus - ground-based fog beneath the lowest layer; 19=Cirrocumulus - ground-based fog beneath the lowest layer; 20=Cirrus - ground-based fog beneath the lowest layer; 21-190=Reserved; 191=Unknown; 192-254=Reserved for local use; 255=Missing","UC_NONE" -9,"TMAXT","Thunderstorm maximum tops","m","UC_NONE" -10,"THUNC","Thunderstorm coverage","0=None; 1=Isolated (1-2%); 2=Few (3-5%); 3=Scattered (6-45%); 4=Numerous (> 45%); 5-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -11,"CDCB","Cloud base","m","UC_M2Feet" -12,"CDCT","Cloud top","m","UC_M2Feet" -13,"CEIL","Ceiling","m","UC_M2Feet" -14,"CDLYR","Non-convective cloud cover","%","UC_NONE" -15,"CWORK","Cloud work function","J/kg","UC_NONE" -16,"CUEFI","Convective cloud efficiency","-","UC_NONE" -17,"TCOND","Total condensate","kg/kg","UC_NONE" -18,"TCOLW","Total column-integrated cloud water","kg/(m^2)","UC_NONE" -19,"TCOLI","Total column-integrated cloud ice","kg/(m^2)","UC_NONE" -20,"TCOLC","Total column-integrated condensate","kg/(m^2)","UC_NONE" -21,"FICE","Ice fraction of total condensate","-","UC_NONE" -22,"CDCC","Cloud cover","%","UC_NONE" -23,"CDCIMR","Cloud ice mixing ratio","kg/kg","UC_NONE" -24,"SUNS","Sunshine","Numeric","UC_NONE" -25,"CBHE","Horizontal extent of cumulonimbus (CB)","%","UC_NONE" -26,"HCONCB","Height of Convective Cloud Base","m","UC_NONE" -27,"HCONCT","Height of Convective Cloud Top","m","UC_NONE" -28,"NCONCD","Number Concentration of Cloud Droplets","1/kg","UC_NONE" -29,"NCCICE","Number Concentration of Cloud Ice","1/kg","UC_NONE" -30,"NDENCD","Number Density of Cloud Droplets","1/(m^3)","UC_NONE" -31,"NDCICE","Number Density of Cloud Ice","1/(m^3)","UC_NONE" -32,"FRACCC","Fraction of Cloud Cover","Numeric","UC_NONE" -33,"SUNSD","SunShine Duration","s","UC_NONE" -34,"SLWTC","Surface Long Wave Effective Total Cloudiness","Numeric","UC_NONE" -35,"SSWTC","Surface Short Wave Effective Total Cloudiness","Numeric","UC_NONE" -36,"FSTRPC","Fraction of Stratiform Precipitation Cover","Proportion","UC_NONE" -37,"FCONPC","Fraction of Convective Precipitation Cover","Proportion","UC_NONE" -38,"MASSDCD","Mass Density of Cloud Droplets","kg/(m^3)","UC_NONE" -39,"MASSDCI","Mass Density of Cloud Ice","kg/(m^3)","UC_NONE" -40,"MDCCWD","Mass Density of Convective Cloud Water Droplets","kg/(m^3)","UC_NONE" -41,"","Reserved","-","UC_NONE" -42,"","Reserved","-","UC_NONE" -43,"","Reserved","-","UC_NONE" -44,"","Reserved","-","UC_NONE" -45,"","Reserved","-","UC_NONE" -46,"","Reserved","-","UC_NONE" -47,"VFRCWD","Volume Fraction of Cloud Water Droplets","Numeric","UC_NONE" -48,"VFRCICE","Volume Fraction of Cloud Ice Particles","Numeric","UC_NONE" -49,"VFRCIW","Volume Fraction of Cloud (Ice and/or Water)","Numeric","UC_NONE" -50,"","Fog","%","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_7.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_7.csv deleted file mode 100644 index 316ff509..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_0_7.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"PLI","Parcel lifted index (to 500 hPa)","K","UC_NONE" -1,"BLI","Best lifted index (to 500 hPa)","K","UC_NONE" -2,"KX","K index","K","UC_NONE" -3,"KOX","KO index","K","UC_NONE" -4,"TOTALX","Total totals index","K","UC_NONE" -5,"SX","Sweat index","numeric","UC_NONE" -6,"CAPE","Convective available potential energy","J/kg","UC_NONE" -7,"CIN","Convective inhibition","J/kg","UC_NONE" -8,"HLCY","Storm relative helicity","J/kg","UC_NONE" -9,"EHLX","Energy helicity index","numeric","UC_NONE" -10,"LFTX","Surface lifted index","K","UC_NONE" -11,"4LFTX","Best (4-layer) lifted index","K","UC_NONE" -12,"RI","Richardson number","-","UC_NONE" -13,"SHWINX","Showalter Index","K","UC_NONE" -14,"","Reserved","-","UC_NONE" -15,"UPHL","Updraft Helicity","m^2/s^2","UC_NONE" -16,"BLKRN","Bulk Richardson Number","-","UC_NONE" -17,"GRDRN","Gradient Richardson Number","-","UC_NONE" -18,"FLXRN","Flux Richardson Number","-","UC_NONE" -19,"CONAPES","Convective Available Potential Energy Shear","m^2/s^2","UC_NONE" -20,"","Thunderstorm intensity index","0=No thunderstorm occurence; 1=Weak thunderstorm; 2=Moderate thunderstorm; 3=Severe thunderstorm; 4-254=Reserved; 255=Missing","UC_NONE" -21,"-","Reserved","-","UC_NONE" -22,"-","Reserved","-","UC_NONE" -23,"-","Reserved","-","UC_NONE" -24,"-","Reserved","-","UC_NONE" -25,"-","Reserved","-","UC_NONE" -26,"-","Reserved","-","UC_NONE" -27,"-","Reserved","-","UC_NONE" -28,"-","Reserved","-","UC_NONE" -29,"-","Reserved","-","UC_NONE" -30,"-","Reserved","-","UC_NONE" -31,"-","Reserved","-","UC_NONE" -32,"-","Reserved","-","UC_NONE" -33,"-","Reserved","-","UC_NONE" -34,"-","Reserved","-","UC_NONE" -35,"-","Reserved","-","UC_NONE" -36,"-","Reserved","-","UC_NONE" -37,"-","Reserved","-","UC_NONE" -38,"-","Reserved","-","UC_NONE" -39,"-","Reserved","-","UC_NONE" -40,"-","Reserved","-","UC_NONE" -41,"-","Reserved","-","UC_NONE" -42,"-","Reserved","-","UC_NONE" -43,"-","Reserved","-","UC_NONE" -44,"-","Reserved","-","UC_NONE" -45,"-","Reserved","-","UC_NONE" -46,"-","Reserved","-","UC_NONE" -47,"-","Reserved","-","UC_NONE" -48,"-","Reserved","-","UC_NONE" -49,"-","Reserved","-","UC_NONE" -50,"-","Reserved","-","UC_NONE" -51,"-","Reserved","-","UC_NONE" -52,"-","Reserved","-","UC_NONE" -53,"-","Reserved","-","UC_NONE" -54,"-","Reserved","-","UC_NONE" -55,"-","Reserved","-","UC_NONE" -56,"-","Reserved","-","UC_NONE" -57,"-","Reserved","-","UC_NONE" -58,"-","Reserved","-","UC_NONE" -59,"-","Reserved","-","UC_NONE" -60,"-","Reserved","-","UC_NONE" -61,"-","Reserved","-","UC_NONE" -62,"-","Reserved","-","UC_NONE" -63,"-","Reserved","-","UC_NONE" -64,"-","Reserved","-","UC_NONE" -65,"-","Reserved","-","UC_NONE" -66,"-","Reserved","-","UC_NONE" -67,"-","Reserved","-","UC_NONE" -68,"-","Reserved","-","UC_NONE" -69,"-","Reserved","-","UC_NONE" -70,"-","Reserved","-","UC_NONE" -71,"-","Reserved","-","UC_NONE" -72,"-","Reserved","-","UC_NONE" -73,"-","Reserved","-","UC_NONE" -74,"-","Reserved","-","UC_NONE" -75,"-","Reserved","-","UC_NONE" -76,"-","Reserved","-","UC_NONE" -77,"-","Reserved","-","UC_NONE" -78,"-","Reserved","-","UC_NONE" -79,"-","Reserved","-","UC_NONE" -80,"-","Reserved","-","UC_NONE" -81,"-","Reserved","-","UC_NONE" -82,"-","Reserved","-","UC_NONE" -83,"-","Reserved","-","UC_NONE" -84,"-","Reserved","-","UC_NONE" -85,"-","Reserved","-","UC_NONE" -86,"-","Reserved","-","UC_NONE" -87,"-","Reserved","-","UC_NONE" -88,"-","Reserved","-","UC_NONE" -89,"-","Reserved","-","UC_NONE" -90,"-","Reserved","-","UC_NONE" -91,"-","Reserved","-","UC_NONE" -92,"-","Reserved","-","UC_NONE" -93,"-","Reserved","-","UC_NONE" -94,"-","Reserved","-","UC_NONE" -95,"-","Reserved","-","UC_NONE" -96,"-","Reserved","-","UC_NONE" -97,"-","Reserved","-","UC_NONE" -98,"-","Reserved","-","UC_NONE" -99,"-","Reserved","-","UC_NONE" -100,"-","Reserved","-","UC_NONE" -101,"-","Reserved","-","UC_NONE" -102,"-","Reserved","-","UC_NONE" -103,"-","Reserved","-","UC_NONE" -104,"-","Reserved","-","UC_NONE" -105,"-","Reserved","-","UC_NONE" -106,"-","Reserved","-","UC_NONE" -107,"-","Reserved","-","UC_NONE" -108,"-","Reserved","-","UC_NONE" -109,"-","Reserved","-","UC_NONE" -110,"-","Reserved","-","UC_NONE" -111,"-","Reserved","-","UC_NONE" -112,"-","Reserved","-","UC_NONE" -113,"-","Reserved","-","UC_NONE" -114,"-","Reserved","-","UC_NONE" -115,"-","Reserved","-","UC_NONE" -116,"-","Reserved","-","UC_NONE" -117,"-","Reserved","-","UC_NONE" -118,"-","Reserved","-","UC_NONE" -119,"-","Reserved","-","UC_NONE" -120,"-","Reserved","-","UC_NONE" -121,"-","Reserved","-","UC_NONE" -122,"-","Reserved","-","UC_NONE" -123,"-","Reserved","-","UC_NONE" -124,"-","Reserved","-","UC_NONE" -125,"-","Reserved","-","UC_NONE" -126,"-","Reserved","-","UC_NONE" -127,"-","Reserved","-","UC_NONE" -128,"-","Reserved","-","UC_NONE" -129,"-","Reserved","-","UC_NONE" -130,"-","Reserved","-","UC_NONE" -131,"-","Reserved","-","UC_NONE" -132,"-","Reserved","-","UC_NONE" -133,"-","Reserved","-","UC_NONE" -134,"-","Reserved","-","UC_NONE" -135,"-","Reserved","-","UC_NONE" -136,"-","Reserved","-","UC_NONE" -137,"-","Reserved","-","UC_NONE" -138,"-","Reserved","-","UC_NONE" -139,"-","Reserved","-","UC_NONE" -140,"-","Reserved","-","UC_NONE" -141,"-","Reserved","-","UC_NONE" -142,"-","Reserved","-","UC_NONE" -143,"-","Reserved","-","UC_NONE" -144,"-","Reserved","-","UC_NONE" -145,"-","Reserved","-","UC_NONE" -146,"-","Reserved","-","UC_NONE" -147,"-","Reserved","-","UC_NONE" -148,"-","Reserved","-","UC_NONE" -149,"-","Reserved","-","UC_NONE" -150,"-","Reserved","-","UC_NONE" -151,"-","Reserved","-","UC_NONE" -152,"-","Reserved","-","UC_NONE" -153,"-","Reserved","-","UC_NONE" -154,"-","Reserved","-","UC_NONE" -155,"-","Reserved","-","UC_NONE" -156,"-","Reserved","-","UC_NONE" -157,"-","Reserved","-","UC_NONE" -158,"-","Reserved","-","UC_NONE" -159,"-","Reserved","-","UC_NONE" -160,"-","Reserved","-","UC_NONE" -161,"-","Reserved","-","UC_NONE" -162,"-","Reserved","-","UC_NONE" -163,"-","Reserved","-","UC_NONE" -164,"-","Reserved","-","UC_NONE" -165,"-","Reserved","-","UC_NONE" -166,"-","Reserved","-","UC_NONE" -167,"-","Reserved","-","UC_NONE" -168,"-","Reserved","-","UC_NONE" -169,"-","Reserved","-","UC_NONE" -170,"-","Reserved","-","UC_NONE" -171,"-","Reserved","-","UC_NONE" -172,"-","Reserved","-","UC_NONE" -173,"-","Reserved","-","UC_NONE" -174,"-","Reserved","-","UC_NONE" -175,"-","Reserved","-","UC_NONE" -176,"-","Reserved","-","UC_NONE" -177,"-","Reserved","-","UC_NONE" -178,"-","Reserved","-","UC_NONE" -179,"-","Reserved","-","UC_NONE" -180,"-","Reserved","-","UC_NONE" -181,"-","Reserved","-","UC_NONE" -182,"-","Reserved","-","UC_NONE" -183,"-","Reserved","-","UC_NONE" -184,"-","Reserved","-","UC_NONE" -185,"-","Reserved","-","UC_NONE" -186,"-","Reserved","-","UC_NONE" -187,"-","Reserved","-","UC_NONE" -188,"-","Reserved","-","UC_NONE" -189,"-","Reserved","-","UC_NONE" -190,"-","Reserved","-","UC_NONE" -191,"-","Reserved","-","UC_NONE" -192,"LFTX","Surface Lifted Index","K","UC_NONE" -193,"4LFTX","Best (4 layer) Lifted Index","K","UC_NONE" -194,"RI","Richardson Number","Numeric","UC_NONE" -195,"CWDI","Convective Weather Detection Index","-","UC_NONE" -196,"UVI","Ultra Violet Index","W/m^2","UC_NONE" -197,"UPHL","Updraft Helicity","m^2/s^2","UC_NONE" -198,"LAI","Leaf Area Index","Numeric","UC_NONE" -199,"MXUPHL","Hourly Maximum of Updraft Helicity over Layer 2km to 5 km AGL","m^2/s^2","UC_NONE" -200,"MNUPHL","Hourly Minimum of Updraft Helicity","m^2/s^2","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_0.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_0.csv deleted file mode 100644 index 449bbed3..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_0.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"WVSP1","Wave spectra (1)","-","UC_NONE" -1,"WVSP2","Wave spectra (2)","-","UC_NONE" -2,"WVSP3","Wave spectra (3)","-","UC_NONE" -3,"HTSGW","Significant height of combined wind waves and swell","m","UC_M2Feet" -4,"WVDIR","Direction of wind waves","Degree true","UC_NONE" -5,"WVHGT","Significant height of wind waves","m","UC_M2Feet" -6,"WVPER","Mean period of wind waves","s","UC_NONE" -7,"SWDIR","Direction of swell waves","Degree true","UC_NONE" -8,"SWELL","Significant height of swell waves","m","UC_NONE" -9,"SWPER","Mean period of swell waves","s","UC_NONE" -10,"DIRPW","Primary wave direction","Degree true","UC_NONE" -11,"PERPW","Primary wave mean period","s","UC_NONE" -12,"DIRSW","Secondary wave direction","Degree true","UC_NONE" -13,"PERSW","Secondary wave mean period","s","UC_NONE" -14,"WWSDIR","Direction of Combined Wind Waves and Swell","Degree true","UC_NONE" -15,"MWSPER","Mean Period of Combined Wind Waves and Swell","s","UC_NONE" -16,"CDWW","Coefficient of Drag With Waves","-","UC_NONE" -17,"FRICV","Friction Velocity","m/s","UC_NONE" -18,"WSTR","Wave Stress","N/(m^2)","UC_NONE" -19,"NWSTR","Normalised Waves Stress","-","UC_NONE" -20,"MSSW","Mean Square Slope of Waves","-","UC_NONE" -21,"USSD","U-component Surface Stokes Drift","m/s","UC_NONE" -22,"VSSD","V-component Surface Stokes Drift","m/s","UC_NONE" -23,"PMAXWH","Period of Maximum Individual Wave Height","s","UC_NONE" -24,"MAXWH","Maximum Individual Wave Height","m","UC_NONE" -25,"IMWF","Inverse Mean Wave Frequency","s","UC_NONE" -26,"IMFWW","Inverse Mean Frequency of The Wind Waves","s","UC_NONE" -27,"IMFTSW","Inverse Mean Frequency of The Total Swell","s","UC_NONE" -28,"MZWPER","Mean Zero-Crossing Wave Period","s","UC_NONE" -29,"MZPWW","Mean Zero-Crossing Period of The Wind Waves","s","UC_NONE" -30,"MZPTSW","Mean Zero-Crossing Period of The Total Swell","s","UC_NONE" -31,"WDIRW","Wave Directional Width","-","UC_NONE" -32,"DIRWWW","Directional Width of The Wind Waves","-","UC_NONE" -33,"DIRWTS","Directional Width of The Total Swell","-","UC_NONE" -34,"PWPER","Peak Wave Period","s","UC_NONE" -35,"PPERWW","Peak Period of The Wind Waves","s","UC_NONE" -36,"PPERTS","Peak Period of The Total Swell","s","UC_NONE" -37,"ALTWH","Altimeter Wave Height","m","UC_NONE" -38,"ALCWH","Altimeter Corrected Wave Height","m","UC_NONE" -39,"ALRRC","Altimeter Range Relative Correction","-","UC_NONE" -40,"MNWSOW","10 Metre Neutral Wind Speed Over Waves","m/s","UC_NONE" -41,"MWDIRW","10 Metre Wind Direction Over Waves","Degree true","UC_NONE" -42,"WESP","Wave Energy Spectrum","s/((m^2)*rad)","UC_NONE" -43,"KSSEW","Kurtosis of The Sea Surface Elevation Due to Waves","-","UC_NONE" -44,"BENINX","Benjamin-Feir Index","-","UC_NONE" -45,"SPFTR","Spectral Peakedness Factor","1/s","UC_NONE" -46,"","Peak wave direction","deg","UC_NONE" -47,"","Significant wave height of first swell partition","m","UC_NONE" -48,"","Significant wave height of second swell partition","m","UC_NONE" -49,"","Significant wave height of third swell partition","m","UC_NONE" -50,"","Mean wave period of first swell partition","s","UC_NONE" -51,"","Mean wave period of second swell partition","s","UC_NONE" -52,"","Mean wave period of third swell partition","s","UC_NONE" -53,"","Mean wave direction of first swell partition","deg","UC_NONE" -54,"","Mean wave direction of second swell partition","deg","UC_NONE" -55,"","Mean wave direction of third swell partition","deg","UC_NONE" -56,"","Wave directional width of first swell partition","-","UC_NONE" -57,"","Wave directional width of second swell partition","-","UC_NONE" -58,"","Wave directional width of third swell partition","-","UC_NONE" -59,"","Wave frequency width of first swell partition","-","UC_NONE" -60,"","Wave frequency width of second swell partition","-","UC_NONE" -61,"","Wave frequency width of third swell partition","-","UC_NONE" -62,"","Wave frequency width","-","UC_NONE" -63,"","Frequency width of wind waves","-","UC_NONE" -64,"","Frequency width of total swell","-","UC_NONE" -65,"","Peak wave period of first swell partition","s","UC_NONE" -66,"","Peak wave period of second swell partition","s","UC_NONE" -67,"","Peak wave period of third swell partition","s","UC_NONE" -68,"","Peak wave direction of first swell partition","degree true","UC_NONE" -69,"","Peak wave direction of second swell partition","degree true","UC_NONE" -70,"","Peak wave direction of third swell partition","degree true","UC_NONE" -71,"","Peak direction of wind waves","degree true","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_1.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_1.csv deleted file mode 100644 index 8c668ba7..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_1.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"DIRC","Current direction","Degree true","UC_NONE" -1,"SPC","Current speed","m/s","UC_NONE" -2,"UOGRD","u-component of current","m/s","UC_NONE" -3,"VOGRD","v-component of current","m/s","UC_NONE" -4,"RIPCOP","Rip Current Occurrence Probability","%","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_191.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_191.csv deleted file mode 100644 index ca46c67a..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_191.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"TSEC","Seconds prior to initial reference time (defined in Section 1)","s","UC_NONE" -1,"MOSF","Meridonal Overturning Stream Function","m^3/s","UC_NONE" -2,"","Reserved","-","UC_NONE" -3,"DSLOBS","Days Since Last Observation","d","UC_NONE" -4,"","Barotropic stream function","m3 s-1","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_2.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_2.csv deleted file mode 100644 index d2da5f8f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_2.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"ICEC","Ice cover","Proportion","UC_NONE" -1,"ICETK","Ice thinkness","m","UC_NONE" -2,"DICED","Direction of ice drift","Degree true","UC_NONE" -3,"SICED","Speed of ice drift","m/s","UC_NONE" -4,"UICE","u-component of ice drift","m/s","UC_NONE" -5,"VICE","v-component of ice drift","m/s","UC_NONE" -6,"ICEG","Ice growth rate","m/s","UC_NONE" -7,"ICED","Ice divergence","1/s","UC_NONE" -8,"ICET","Ice temperature","K","UC_NONE" -9,"ICEPRS","Module of Ice Internal Pressure","Pa*m","UC_NONE" -10,"ZVCICEP","Zonal Vector Component of Vertically Integrated Ice Internal Pressure","Pa*m","UC_NONE" -11,"MVCICEP","Meridional Vector Component of Vertically Integrated Ice Internal Pressure","Pa*m","UC_NONE" -12,"CICES","Compressive Ice Strength","N/m","UC_NONE" -13,"","Snow temperature (over sea ice)","K","UC_NONE" -14,"","Albedo","Numeric","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_3.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_3.csv deleted file mode 100644 index f94223aa..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_3.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"WTMP","Water temperature","K","UC_NONE" -1,"DSLM","Deviation of sea level from mean","m","UC_NONE" -2,"CH","Heat Exchange Coefficient","","UC_NONE" -3,"","Practical salinity","Numeric","UC_NONE" -4,"","Downward heat flux","W m-2","UC_NONE" -5,"","Eastward surface stress","N m-2","UC_NONE" -6,"","Northward surface stress","N m-2","UC_NONE" -7,"","x-component surface stress","N m-2","UC_NONE" -8,"","y-component surface stress","N m-2","UC_NONE" -9,"","Thermosteric change in sea surface height","m","UC_NONE" -10,"","Halosteric change in sea surface height","m","UC_NONE" -11,"","Steric change in sea surface height","m","UC_NONE" -12,"","Sea salt flux","kg m-2 s-1","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_4.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_4.csv deleted file mode 100644 index 9c0d83df..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_10_4.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"MTHD","Main thermocline depth","m","UC_NONE" -1,"MTHA","Main thermocline anomaly","m","UC_NONE" -2,"TTHDP","Transient thermocline depth","m","UC_NONE" -3,"SALTY","Salinity","kg/kg","UC_NONE" -4,"OVHD","Ocean Vertical Heat Diffusivity","m^2/s","UC_NONE" -5,"OVSD","Ocean Vertical Salt Diffusivity","m^2/s","UC_NONE" -6,"OVMD","Ocean Vertical Momentum Diffusivity","m^2/s","UC_NONE" -7,"BATHY","Bathymetry","m","UC_NONE" -8,"","Reserved","-","UC_NONE" -9,"","Reserved","-","UC_NONE" -10,"","Reserved","-","UC_NONE" -11,"SFSALP","Shape Factor With Respect To Salinity Profile","","UC_NONE" -12,"SFTMPP","Shape Factor With Respect To Temperature Profile In Thermocline","","UC_NONE" -13,"ACWSRD","Attenuation Coefficient Of Water With Respect to Solar Radiation","1/m","UC_NONE" -14,"WDEPTH","Water Depth","m","UC_NONE" -15,"WTMPSS","Water Temperature","K","UC_NONE" -16,"","Water density (rho)","kg m-3","UC_NONE" -17,"","Water density anomaly (sigma)","kg m-3","UC_NONE" -18,"","Water potential temperature (theta)","K","UC_NONE" -19,"","Water potential density (rho theta)","kg m-3","UC_NONE" -20,"","Water potential density anomaly (sigma theta)","kg m-3","UC_NONE" -21,"","Practical salinity","Numeric","UC_NONE" -22,"","Water column-integrated heat content","J m-2","UC_NONE" -23,"","Eastward water velocity","m s-1","UC_NONE" -24,"","Northward water velocity","m s-1","UC_NONE" -25,"","x-component water velocity","m s-1","UC_NONE" -26,"","y-component water velocity","m s-1","UC_NONE" -27,"","Upward water velocity","m s-1","UC_NONE" -28,"","Vertical eddy diffusivity","m2 s-1","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_1_0.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_1_0.csv deleted file mode 100644 index d72d8b3f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_1_0.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"FFLDG","Flash flood guidance","kg/(m^2)","UC_NONE" -1,"FFLDRO","Flash flood runoff","kg/(m^2)","UC_NONE" -2,"RSSC","Remotely sensed snow cover","0-49=Reserved; 50=No-snow/no-cloud; 51-99=Reserved; 100=Clouds; 101-249=Reserved; 250=Snow; 251-254=Reserved for local use; 255=Missing","UC_NONE" -3,"ESCT","Elevation of snow covered terrain","0-90=Elevation in increments of 100 m; 91-253=Reserved; 254=Clouds; 255=Missing","UC_NONE" -4,"SWEPON","Snow water equivalent percent of normal","%","UC_NONE" -5,"BGRUN","Baseflow-groundwater runoff","kg/(m^2)","UC_NONE" -6,"SSRUN","Storm surface runoff","kg/(m^2)","UC_NONE" -7,"","Discharge from rivers or streams","m3/s","UC_NONE" -8,"","Groundwater upper storage","kg m-2","UC_NONE" -9,"","Groundwater lower storage","kg m-2","UC_NONE" -10,"","Side flow into river channel","m3 s-1 m-1","UC_NONE" -11,"","River storage of water","m3","UC_NONE" -12,"","Floodplain storage of water","m3","UC_NONE" -13,"","Depth of water on soil surface","kg m-2","UC_NONE" -14,"","Upstream accumulated precipitation","kg m-2","UC_NONE" -15,"","Upstream accumulated snow melt","kg m-2","UC_NONE" -16,"","Percolation rate","kg m-2 s-1","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_1_1.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_1_1.csv deleted file mode 100644 index fa44b37d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_1_1.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"CPPOP","Conditional percent precipitation amount fractile for an overall period","kg/(m^2)","UC_NONE" -1,"PPOSP","Percent precipitation in a sub-period of an overall period","%","UC_NONE" -2,"PoP","Probability of 0.01 inch of precipitation","%","UC_NONE" -3,"","Reserved","","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_1_2.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_1_2.csv deleted file mode 100644 index b079b6c5..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_1_2.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Water depth","m","UC_NONE" -1,"","Water temperature","K","UC_NONE" -2,"","Water fraction","Proportion","UC_NONE" -3,"","Sediment thickness","m","UC_NONE" -4,"","Sediment temperature","K","UC_NONE" -5,"","Ice thickness","m","UC_NONE" -6,"","Ice temperature","K","UC_NONE" -7,"","Ice cover","Proportion","UC_NONE" -8,"","Land cover (0 = water, 1 = land)","Proportion","UC_NONE" -9,"","Shape factor with respect to salinity profile","-","UC_NONE" -10,"","Shape factor with respect to temperature profile in thermocline","-","UC_NONE" -11,"","Attenuation coefficient of water with respect to solar radiation","/m","UC_NONE" -12,"","Salinity","kg/kg","UC_NONE" -13,"","Cross-sectional area of flow in channel","m2","UC_NONE" -14,"","Snow temperature","K","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_20_0.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_20_0.csv deleted file mode 100644 index a16458a4..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_20_0.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Universal thermal climate index","K","UC_NONE" -1,"","Mean radiant temperature","K","UC_NONE" -2,"","Wet-bulb globe temperature","K","UC_NONE" -3,"","Reserved","","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_20_1.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_20_1.csv deleted file mode 100644 index c298bbcb..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_20_1.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Malaria cases","Fraction","UC_NONE" -1,"","Malaria circumsporozoite protein rate","Fraction","UC_NONE" -2,"","Plasmodium falciparum entomological inoculation rate","Bites per day per person","UC_NONE" -3,"","Human bite rate by anopheles vectors ","Bites per day per person","UC_NONE" -4,"","Malaria immunity ","Fraction","UC_NONE" -5,"","Falciparum parasite rates ","Fraction","UC_NONE" -6,"","Detectable falciparum parasite ratio (after day 10)","Fraction","UC_NONE" -7,"","Anopheles vector to host ratio","Fraction","UC_NONE" -8,"","Anopheles vector number","Number m-2","UC_NONE" -9,"","Fraction of malarial vector reproductive habitat","Fraction","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_20_2.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_20_2.csv deleted file mode 100644 index 754f5df5..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_20_2.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Population density","Person m-2","UC_NONE" -1,"","Reserved","","UC_NONE" -2,"","Reserved","","UC_NONE" -3,"","Reserved","","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_0.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_0.csv deleted file mode 100644 index be9331b6..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_0.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"LAND","Land cover (1=land; 2=sea)","Proportion","UC_NONE" -1,"SFCR","Surface roughness","m","UC_NONE" -2,"TSOIL","Soil temperature","K","UC_NONE" -3,"SOILM","Soil moisture content","kg/(m^2)","UC_NONE" -4,"VEG","Vegetation","%","UC_NONE" -5,"WATR","Water runoff","kg/(m^2)","UC_NONE" -6,"EVAPT","Evapotranspiration","1/(kg^2 s)","UC_NONE" -7,"MTERH","Model terrain height","m","UC_NONE" -8,"LANDU","Land use","0=Reserved; 1=Urban land; 2=Agriculture; 3=Range land; 4=Deciduous forest; 5=Coniferous forest; 6=Forest/wetland; 7=Water; 8=Wetlands; 9=Desert; 10=Tundra; 11=Ice; 12=Tropical forest; 13=Savannah; 14-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -9,"SOILW","Volumetric soil moisture content","Proportion","UC_NONE" -10,"GFLUX","Ground heat flux","W/(m^2)","UC_NONE" -11,"MSTAV","Moisture availability","%","UC_NONE" -12,"SFEXC","Exchange coefficient","(kg/(m^3))(m/s)","UC_NONE" -13,"CNWAT","Plant canopy surface water","kg/(m^2)","UC_NONE" -14,"BMIXL","Blackadar's mixing length scale","m","UC_NONE" -15,"CCOND","Canopy conductance","m/s","UC_NONE" -16,"RSMIN","Minimal stomatal resistance","s/m","UC_NONE" -17,"WILT","Wilting point","Proportion","UC_NONE" -18,"RCS","Solar parameter in canopy conductance","Proportion","UC_NONE" -19,"RCT","Temperature parameter in canopy conductance","Proportion","UC_NONE" -20,"RCSOL","Soil moisture parameter in canopy conductance","Proportion","UC_NONE" -21,"RCQ","Humidity parameter in canopy conductance","Proportion","UC_NONE" -22,"SOILM","Soil moisture","kg/m^3","UC_NONE" -23,"CISOILW","Column-integrated soil water","kg/m^2","UC_NONE" -24,"HFLUX","Heat flux","W/m^2","UC_NONE" -25,"VSOILM","Volumetric soil moisture","m^3/m^3","UC_NONE" -26,"WILT","Wilting point","kg/m^3","UC_NONE" -27,"VWILTM","Volumetric wilting moisture","m^3/m^3","UC_NONE" -28,"LEAINX","Leaf Area Index","Numeric","UC_NONE" -29,"EVGFC","Evergreen Forest Cover","Proportion","UC_NONE" -30,"DECFC","Deciduous Forest Cover","Proportion","UC_NONE" -31,"NDVINX","Normalized Differential Vegetation Index (NDVI)","Numeric","UC_NONE" -32,"RDVEG","Root Depth of Vegetation","m","UC_NONE" -33,"WROD","Water Runoff and Drainage","kg/(m^2)","UC_NONE" -34,"SFCWRO","Surface Water Runoff","kg/(m^2)","UC_NONE" -35,"TCLASS","Tile Class","0=Reserved; 1=Evergreen broadleaved forest; 2=Deciduous broadleaved closed forest; 3=Deciduous broadleaved open forest; 4=Evergreen needle-leaf forest; 5=Deciduous needle-leaf forest; 6=Mixed leaf trees; 7=Freshwater flooded trees; 8=Saline water flooded trees; 9=Mosaic tree/natural vegetation; 10=Burnt tree cover; 11=Evergreen shrubs closed-open; 12=Deciduous shrubs closed-open; 13=Herbaceous vegetation closed-open; 14=Sparse herbaceous or grass; 15=Flooded shrubs or herbaceous; 16=Cultivated and managed areas; 17=Mosaic crop/tree/natural vegetation; 18=Mosaic crop/shrub/grass; 19=Bare areas; 20=Water; 21=Snow and ice; 22=Artificial surface; 23=Ocean; 24=Irrigated croplands; 25=Rainfed croplands; 26=Mosaic cropland (50-70%) - vegetation (20-50%); 27=Mosaic vegetation (50-70%) - cropland (20-50%); 28=Closed broadleaved evergreen forest; 29=Closed needle-leaved evergreen forest; 30=Open needle-leaved deciduous forest; 31=Mixed broadleaved and needle-leaved forest; 32=Mosaic shrubland (50-70%) - grassland (20-50%); 33=Mosaic grassland (50-70%) - shrubland (20-50%); 34=Closed to open shrubland; 35=Sparse vegetation; 36=Closed to open forest regularly flooded; 37=Closed forest or shrubland permanently flooded; 38=Closed to open grassland regularly flooded; 39=Undefined; 40-32767=Reserved; 32768-=Reserved for local use","UC_NONE" -36,"TFRCT","Tile Fraction","Proportion","UC_NONE" -37,"TPERCT","Tile Percentage","%","UC_NONE" -38,"SOILVIC","Soil Volumetric Ice Content (Water Equivalent) ","m^3/m^3","UC_NONE" -39,"","Evapotranspiration rate","kg m-2 s-1","UC_NONE" -40,"","Potential evapotranspiration rate","kg m-2 s-1","UC_NONE" -41,"","Snow melt rate","kg m-2 s-1","UC_NONE" -42,"","Water runoff and drainage rate","kg m-2 s-1","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_3.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_3.csv deleted file mode 100644 index 8151181a..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_3.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"SOTYP","Soil type","0=Reserved; 1=Sand; 2=Loamy sand; 3=Sandy loam; 4=Silt loam; 5=Organic (redefined); 6=Sandy clay loam; 7=Silt clay loam; 8=Clay loam; 9=Sandy clay; 10=Silty clay; 11=Clay; 12-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -1,"UPLST","Upper layer soil temperature","K","UC_NONE" -2,"UPLSM","Upper layer soil moisture","kg/(m^3)","UC_NONE" -3,"LOWLSM","Lower layer soil moisture","kg/(m^3)","UC_NONE" -4,"BOTLST","Bottom layer soil temperature","K","UC_NONE" -5,"SOILL","Liquid volumetric soil moisture (non-frozen)","Proportion","UC_NONE" -6,"RLYRS","Number of soil layers in root zone","Numeric","UC_NONE" -7,"SMREF","Transpiration stress-onset (soil moisture)","Proportion","UC_NONE" -8,"SMDRY","Direct evaporation cease (soil moisture)","Proportion","UC_NONE" -9,"POROS","Soil porosity","Proportion","UC_NONE" -10,"LIQVSM","Liquid volumetric soil moisture (non-frozen)","m^3/m^3","UC_NONE" -11,"VOLTSO","Volumetric transpiration stress-onset (soil moisture)","m^3/m^3","UC_NONE" -12,"TRANSO","Transpiration stress-onset (soil moisture)","kg/m^3","UC_NONE" -13,"VOLDEC","Volumetric direct evaporation cease (soil moisture)","m^3/m^3","UC_NONE" -14,"DIREC","Direct evaporation cease (soil moisture)","kg/m^3","UC_NONE" -15,"SOILP","Soil porosity","m^3/m^3","UC_NONE" -16,"VSOSM","Volumetric saturation of soil moisture","m^3/m^3","UC_NONE" -17,"SATOSM","Saturation of soil moisture","kg/m^3","UC_NONE" -18,"SOILTMP","Soil Temperature","K","UC_NONE" -19,"SOILMOI","Soil Moisture","kg/(m^3)","UC_NONE" -20,"CISOILM","Column-Integrated Soil Moisture","kg/(m^2)","UC_NONE" -21,"SOILICE","Soil Ice","kg/(m^3)","UC_NONE" -22,"CISICE","Column-Integrated Soil Ice","kg/(m^2)","UC_NONE" -23,"LWSNWP","Liquid Water in Snow Pack","kg/(m^2)","UC_NONE" -24,"FRSTINX","Frost Index","kg/day","UC_NONE" -25,"SNWDEB","Snow Depth at Elevation Bands","kg/(m^2)","UC_NONE" -26,"SHFLX","Soil Heat Flux","W/(m^2)","UC_NONE" -27,"SOILDEP","Soil Depth","m","UC_NONE" -28,"","Snow temperature","K","UC_NONE" -29,"","Ice temperature","K","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_4.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_4.csv deleted file mode 100644 index 21cb4e06..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_4.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Fire outlook","0=No risk area; 1=Reserved; 2=General thunderstorm risk area; 3=Reserved; 4=Slight risk area; 5=Reserved; 6=Moderate risk area; 7=Reserved; 8=High risk area; 9-10=Reserved; 11=Dry thunderstorm (dry lightning) risk area; 12-13=Reserved; 14=Critical risk area; 15-17=Reserved; 18=Extremely critical risk area; 19-254=Reserved; 255=Missing","UC_NONE" -1,"","Fire outlook due to dry thunderstorm","0=No risk area; 1=Reserved; 2=General thunderstorm risk area; 3=Reserved; 4=Slight risk area; 5=Reserved; 6=Moderate risk area; 7=Reserved; 8=High risk area; 9-10=Reserved; 11=Dry thunderstorm (dry lightning) risk area; 12-13=Reserved; 14=Critical risk area; 15-17=Reserved; 18=Extremely critical risk area; 19-254=Reserved; 255=Missing","UC_NONE" -2,"","Haines index","Numeric","UC_NONE" -3,"","Fire burned area","%","UC_NONE" -4,"","Fosberg index","Numeric","UC_NONE" -5,"","Forest Fire Weather Index (as defined by the Canadian Forest Service)","Numeric","UC_NONE" -6,"","Fine Fuel Moisture Code (as defined by the Canadian Forest Service)","Numeric","UC_NONE" -7,"","Duff Moisture Code (as defined by the Canadian Forest Service)","Numeric","UC_NONE" -8,"","Drought Code (as defined by the Canadian Forest Service)","Numeric","UC_NONE" -9,"","Initial Fire Spread Index (as defined by the Canadian Forest Service)","Numeric","UC_NONE" -10,"","Fire Buildup Index (as defined by the Canadian Forest Service)","Numeric","UC_NONE" -11,"","Fire Daily Severity Rating (as defined by the Canadian Forest Service)","Numeric","UC_NONE" -12,"","Keetch-Byram drought index","Numeric","UC_NONE" -13,"","Drought factor (as defined by the Australian forest service )","Numeric","UC_NONE" -14,"","Rate of spread (as defined by the Australian forest service )","m/s","UC_NONE" -15,"","Fire danger index (as defined by the Australian forest service )","Numeric","UC_NONE" -16,"","Spread component (as defined by the US Forest Service National Fire Danger Rating System)","Numeric","UC_NONE" -17,"","Burning index (as defined by the US Forest Service National Fire Danger Rating System)","Numeric","UC_NONE" -18,"","Ignition component (as defined by the US Forest Service National Fire Danger Rating System)","%","UC_NONE" -19,"","Energy release component (as defined by the US Forest Service National Fire Danger Rating System)","Joule/m2","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_5.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_5.csv deleted file mode 100644 index 04ba2261..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_2_5.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Glacier cover","Proportion","UC_NONE" -1,"","Glacier temperature","K","UC_NONE" -2,"","Reserved","","UC_NONE" -3,"","Reserved","","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_0.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_0.csv deleted file mode 100644 index 3787d276..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_0.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"SRAD","Scaled radiance","Numeric","UC_NONE" -1,"SALBEDO","Scaled albedo","Numeric","UC_NONE" -2,"SBTMP","Scaled brightness temperature","Numeric","UC_NONE" -3,"SPWAT","Scaled precipitable water","Numeric","UC_NONE" -4,"SLFTI","Scaled lifted index","Numeric","UC_NONE" -5,"SCTPRES","Scaled cloud top pressure","Numeric","UC_NONE" -6,"SSTMP","Scaled skin temperature","Numeric","UC_NONE" -7,"CLOUDM","Cloud mask","0=Clear over water; 1=Clear over land; 2=Cloud; 3=No data; 4-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -8,"PIXST","Pixel scene type","0=No scene identified; 1=Green needle-leafed forest; 2=Green broad-leafed forest; 3=Deciduous needle-leafed forest; 4=Deciduous broad-leafed forest; 5=Deciduous mixed forest; 6=Closed shrub-land; 7=Open shrub-land; 8=Woody savannah; 9=Savannah; 10=Grassland; 11=Permanent wetland; 12=Cropland; 13=Urban; 14=Vegetation/crops; 15=Permanent snow/ice; 16=Barren desert; 17=Water bodies; 18=Tundra; 19=Warm liquid water cloud; 20=Supercooled liquid water cloud; 21=Mixed-phase cloud; 22=Optically thin ice cloud; 23=Optically thick ice cloud; 24=Multilayered cloud; 25-96=Reserved; 97=Snow/ice on land; 98=Snow/ice on water; 99=Sun-glint; 100=General cloud; 101=Low cloud/fog/stratus; 102=Low cloud/stratocumulus; 103=Low cloud/unknown type; 104=Medium cloud/nimbostratus; 105=Medium cloud/altostratus; 106=Medium cloud/unknown type; 107=High cloud/cumulus; 108=High cloud/cirrus; 109=High cloud/unknown; 110=Unknown cloud type; 111=Single layer water cloud; 112=Single layer ice cloud; 113-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -9,"FIREDI","Fire detection indicator","0=No fire detected; 1=Possible fire detected; 2=Probable fire detected; 3=Missing","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_1.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_1.csv deleted file mode 100644 index 0870d5a0..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_1.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"ESTP","Estimated precipitation","kg/(m^2)","UC_NONE" -1,"IRRATE","Instantaneous rain rate","kg/(m^2*s)","UC_NONE" -2,"CTOPH","Cloud top height","kg/(m^2*s)","UC_NONE" -3,"CTOPHQI","Cloud top height quality indicator","0=Nominal cloud top height quality; 1=Fog in segment; 2=Poor quality height estimation; 3=Fog in segment and poor quality height estimation; 4-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -4,"ESTUGRD","Estimated u component of wind","m/s","UC_NONE" -5,"ESTVGRD","Estimated v component of wind","m/s","UC_NONE" -6,"NPIXU","Number of pixels used","Numeric","UC_NONE" -7,"SOLZA","Solar zenith angle","Degree","UC_NONE" -8,"RAZA","Relative azimuth angle","Degree","UC_NONE" -9,"RFL06","Reflectance in 0.6 micron channel","%","UC_NONE" -10,"RFL08","Reflectance in 0.8 micron channel","%","UC_NONE" -11,"RFL16","Reflectance in 1.6 micron channel","%","UC_NONE" -12,"RFL39","Reflectance in 3.9 micron channel","%","UC_NONE" -13,"ATMDIV","Atmospheric divergence","1/s","UC_NONE" -14,"CBTMP","Cloudy Brightness Temperature","K","UC_NONE" -15,"CSBTMP","Clear Sky Brightness Temperature","K","UC_NONE" -16,"CLDRAD","Cloudy Radiance (with respect to wave number)","W/(m*sr)","UC_NONE" -17,"CSKYRAD","Clear Sky Radiance (with respect to wave number)","W/(m*sr)","UC_NONE" -18,"","Reserved","-","UC_NONE" -19,"WINDS","Wind Speed","m/s","UC_NONE" -20,"AOT06","Aerosol Optical Thickness at 0.635 µm","","UC_NONE" -21,"AOT08","Aerosol Optical Thickness at 0.810 µm","","UC_NONE" -22,"AOT16","Aerosol Optical Thickness at 1.640 µm","","UC_NONE" -23,"ANGCOE","Angstrom Coefficient","","UC_NONE" -24,"","Reserved","-","UC_NONE" -25,"","Reserved","-","UC_NONE" -26,"","Reserved","-","UC_NONE" -27,"BRFLF","Bidirectional Reflecance Factor","Numeric","UC_NONE" -28,"SPBRT","Brightness Temperature","K","UC_NONE" -29,"SRAD","Scaled Radiance","Numeric","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Correlation coefficient between MPE rain-rates for the co-located IR data and the microwave data rain-rates","Numeric","UC_NONE" -99,"","Standard deviation between MPE rain-rates for the co-located IR data and the microwave data rain-rates","kg m-2 s-1","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_2.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_2.csv deleted file mode 100644 index 321c8d49..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_2.csv +++ /dev/null @@ -1,28 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Clear sky probability","%","UC_NONE" -1,"","Cloud top temperature","K","UC_NONE" -2,"","Cloud top pressure","Pa","UC_NONE" -3,"","Cloud type","0=No scene identified; 1=Green needle-leafed forest; 2=Green broad-leafed forest; 3=Deciduous needle-leafed forest; 4=Deciduous broad-leafed forest; 5=Deciduous mixed forest; 6=Closed shrub-land; 7=Open shrub-land; 8=Woody savannah; 9=Savannah; 10=Grassland; 11=Permanent wetland; 12=Cropland; 13=Urban; 14=Vegetation/crops; 15=Permanent snow/ice; 16=Barren desert; 17=Water bodies; 18=Tundra; 19=Warm liquid water cloud; 20=Supercooled liquid water cloud; 21=Mixed-phase cloud; 22=Optically thin ice cloud; 23=Optically thick ice cloud; 24=Multilayered cloud; 25-96=Reserved; 97=Snow/ice on land; 98=Snow/ice on water; 99=Sun-glint; 100=General cloud; 101=Low cloud/fog/stratus; 102=Low cloud/stratocumulus; 103=Low cloud/unknown type; 104=Medium cloud/nimbostratus; 105=Medium cloud/altostratus; 106=Medium cloud/unknown type; 107=High cloud/cumulus; 108=High cloud/cirrus; 109=High cloud/unknown; 110=Unknown cloud type; 111=Single layer water cloud; 112=Single layer ice cloud; 113-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -4,"","Cloud phase","0=No scene identified; 1=Green needle-leafed forest; 2=Green broad-leafed forest; 3=Deciduous needle-leafed forest; 4=Deciduous broad-leafed forest; 5=Deciduous mixed forest; 6=Closed shrub-land; 7=Open shrub-land; 8=Woody savannah; 9=Savannah; 10=Grassland; 11=Permanent wetland; 12=Cropland; 13=Urban; 14=Vegetation/crops; 15=Permanent snow/ice; 16=Barren desert; 17=Water bodies; 18=Tundra; 19=Warm liquid water cloud; 20=Supercooled liquid water cloud; 21=Mixed-phase cloud; 22=Optically thin ice cloud; 23=Optically thick ice cloud; 24=Multilayered cloud; 25-96=Reserved; 97=Snow/ice on land; 98=Snow/ice on water; 99=Sun-glint; 100=General cloud; 101=Low cloud/fog/stratus; 102=Low cloud/stratocumulus; 103=Low cloud/unknown type; 104=Medium cloud/nimbostratus; 105=Medium cloud/altostratus; 106=Medium cloud/unknown type; 107=High cloud/cumulus; 108=High cloud/cirrus; 109=High cloud/unknown; 110=Unknown cloud type; 111=Single layer water cloud; 112=Single layer ice cloud; 113-191=Reserved; 192-254=Reserved for local use; 255=Missing","UC_NONE" -5,"","Cloud optical depth","Numeric","UC_NONE" -6,"","Cloud particle effective radius","m","UC_NONE" -7,"","Cloud liquid water path","kg m-2","UC_NONE" -8,"","Cloud ice water path","kg m-2","UC_NONE" -9,"","Cloud albedo","Numeric","UC_NONE" -10,"","Cloud emissivity","Numeric","UC_NONE" -11,"","Effective absorption optical depth ratio","Numeric","UC_NONE" -30,"","Measurement cost","Numeric","UC_NONE" -31,"","Upper layer cloud optical depth","Numeric","UC_NONE" -32,"","Upper layer cloud top pressure","Pa","UC_NONE" -33,"","Upper layer cloud effective radius","m","UC_NONE" -34,"","Error in upper layer cloud optical depth","Numeric","UC_NONE" -35,"","Error in upper layer cloud top pressure","Pa","UC_NONE" -36,"","Error in upper layer cloud effective radius","m","UC_NONE" -37,"","Lower layer cloud optical depth","Numeric","UC_NONE" -38,"","Lower layer cloud top pressure","Pa","UC_NONE" -39,"","Error in lower layer cloud optical depth","Numeric","UC_NONE" -40,"","Error in lower layer cloud top pressure","Pa","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_3.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_3.csv deleted file mode 100644 index 267f96f7..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_3.csv +++ /dev/null @@ -1,8 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Probability of encountering marginal visual flight rule conditions","%","UC_NONE" -1,"","Probability of encountering low instrument flight rule conditions","%","UC_NONE" -2,"","Probability of encountering instrument flight rule conditions","%","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_4.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_4.csv deleted file mode 100644 index bff9ec1d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_4.csv +++ /dev/null @@ -1,14 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Volcanic ash probability","%","UC_NONE" -1,"","Volcanic ash cloud top temperature","K","UC_NONE" -2,"","Volcanic ash cloud top pressure","Pa","UC_NONE" -3,"","Volcanic ash cloud top height","m","UC_NONE" -4,"","Volcanic ash cloud emissivity","Numeric","UC_NONE" -5,"","Volcanic ash effective absorption optical depth ratio","Numeric","UC_NONE" -6,"","Volcanic ash cloud optical depth","Numeric","UC_NONE" -7,"","Volcanic ash column density","kg m-2","UC_NONE" -8,"","Volcanic ash particle effective radius","m","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_5.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_5.csv deleted file mode 100644 index 60580b5a..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_5.csv +++ /dev/null @@ -1,11 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Interface sea-surface temperature","K","UC_NONE" -1,"","Skin sea-surface temperature","K","UC_NONE" -2,"","Sub-skin sea-surface temperature","K","UC_NONE" -3,"","Foundation sea-surface temperature","K","UC_NONE" -4,"","Estimated bias between sea-surface temperature and standard","K","UC_NONE" -5,"","Estimated standard deviation between sea surface temperature and standard","K","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_6.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_6.csv deleted file mode 100644 index 87d51c9f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_3_6.csv +++ /dev/null @@ -1,11 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Global solar irradiance","W m-2","UC_NONE" -1,"","Global solar exposure","J m-2","UC_NONE" -2,"","Direct solar irradiance","W m-2","UC_NONE" -3,"","Direct solar exposure","J m-2","UC_NONE" -4,"","Diffuse solar irradiance","W m-2","UC_NONE" -5,"","Diffuse solar exposure","J m-2","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_0.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_0.csv deleted file mode 100644 index 0c107ef9..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_0.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Temperature","K","UC_NONE" -1,"","Electron temperature","K","UC_NONE" -2,"","Proton temperature","K","UC_NONE" -3,"","Ion temperature","K","UC_NONE" -4,"","Parallel temperature","K","UC_NONE" -5,"","Perpendicular temperature","K","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_1.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_1.csv deleted file mode 100644 index 40ebfc2b..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_1.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Velocity magnitude (speed)","m s-1","UC_NONE" -1,"","1st vector component of velocity (coordinate system dependent)","m s-1","UC_NONE" -2,"","2nd vector component of velocity (coordinate system dependent)","m s-1","UC_NONE" -3,"","3rd vector component of velocity (coordinate system dependent)","m s-1","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_10.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_10.csv deleted file mode 100644 index 73b77dac..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_10.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Scintillation index (sigma phi)","rad","UC_NONE" -1,"","Scintillation index S4","Numeric","UC_NONE" -2,"","Rate of Change of TEC Index (ROTI)","TECU/min","UC_NONE" -3,"","Disturbance Ionosphere Index Spatial Gradient (DIXSG)","Numeric","UC_NONE" -4,"","Along Arc TEC Rate (AATR)","TECU/min","UC_NONE" -5,"","Kp","Numeric","UC_NONE" -6,"","Equatorial disturbance storm time index (Dst)","nT","UC_NONE" -7,"","Auroral Electrojet (AE)","nT","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_2.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_2.csv deleted file mode 100644 index ec94d0b9..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_2.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Particle number density","m-3","UC_NONE" -1,"","Electron density","m-3","UC_NONE" -2,"","Proton density","m-3","UC_NONE" -3,"","Ion density","m-3","UC_NONE" -4,"","Vertical total electron content","TECU","UC_NONE" -5,"","HF absorption frequency","Hz","UC_NONE" -6,"","HF absorption","dB","UC_NONE" -7,"","Spread F","m","UC_NONE" -8,"","h'F","m","UC_NONE" -9,"","Critical frequency","Hz","UC_NONE" -10,"","Maximal usable frequency (MUF)","Hz","UC_NONE" -11,"","Peak height (hm)","m","UC_NONE" -12,"","Peak density (Nm)","m-3","UC_NONE" -13,"","Equivalent slab thickness (tau)","km","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_3.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_3.csv deleted file mode 100644 index 62ccc258..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_3.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Magnetic field magnitude","T","UC_NONE" -1,"","1st vector component of magnetic field","T","UC_NONE" -2,"","2nd vector component of magnetic field","T","UC_NONE" -3,"","3rd vector component of magnetic field","T","UC_NONE" -4,"","Electric field magnitude","V m-1","UC_NONE" -5,"","1st vector component of electric field","V m-1","UC_NONE" -6,"","2nd vector component of electric field","V m-1","UC_NONE" -7,"","3rd vector component of electric field","V m-1","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_4.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_4.csv deleted file mode 100644 index 025349b1..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_4.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Proton flux (differential)","(m2 s sr eV)-1","UC_NONE" -1,"","Proton flux (integral)","(m2 s sr )-1","UC_NONE" -2,"","Electron flux (differential)","(m2 s sr eV)-1","UC_NONE" -3,"","Electron flux (integral)","(m2 s sr)-1","UC_NONE" -4,"","Heavy ion flux (differential)","(m2 s sr eV/nuc)-1","UC_NONE" -5,"","Heavy ion flux (integral)","(m2 s sr)-1","UC_NONE" -6,"","Cosmic ray neutron flux","/h","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_5.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_5.csv deleted file mode 100644 index 97c3d06f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_5.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Amplitude","dB","UC_NONE" -1,"","Phase","rad","UC_NONE" -2,"","Frequency","Hz","UC_NONE" -3,"","Wave length","m","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_6.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_6.csv deleted file mode 100644 index 635c454f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_6.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Integrated solar irradiance","W m-2","UC_NONE" -1,"","Solar X-ray flux (XRS long)","W m-2","UC_NONE" -2,"","Solar X-ray flux (XRS short)","W m-2","UC_NONE" -3,"","Solar EUV irradiance","W m-2","UC_NONE" -4,"","Solar spectral irradiance ","W m-2 nm-1","UC_NONE" -5,"","F10.7","W m-2 Hz-1","UC_NONE" -6,"","Solar radio emissions","W m-2 Hz-1","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_7.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_7.csv deleted file mode 100644 index 30946037..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_7.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Limb intensity","J m-2 s-1","UC_NONE" -1,"","Disk intensity","J m-2 s-1","UC_NONE" -2,"","Disk intensity day","J m-2 s-1","UC_NONE" -3,"","Disk intensity night","J m-2 s-1","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_8.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_8.csv deleted file mode 100644 index 5ab9be8d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_8.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","X-ray radiance","W sr-1 m-2","UC_NONE" -1,"","EUV radiance","W sr-1 m-2","UC_NONE" -2,"","H-alpha radiance","W sr-1 m-2","UC_NONE" -3,"","White light radiance","W sr-1 m-2","UC_NONE" -4,"","CaII-K radiance","W sr-1 m-2","UC_NONE" -5,"","White light coronagraph radiance","W sr-1 m-2","UC_NONE" -6,"","Heliospheric radiance","W sr-1 m-2","UC_NONE" -7,"","Thematic mask","Numeric","UC_NONE" -8,"","Solar induced chlorophyll fluorescence","W m-2 sr-1 m-1","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_9.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_9.csv deleted file mode 100644 index 09af25a7..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_4_9.csv +++ /dev/null @@ -1,261 +0,0 @@ -"subcat","short_name","name","unit","unit_conv" --4,"######################################################################################################","#","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#","#" --1,"######################################################################################################","#","#","#" -0,"","Pedersen conductivity","S m-1","UC_NONE" -1,"","Hall conductivity","S m-1","UC_NONE" -2,"","Parallel conductivity","S m-1","UC_NONE" -3,"","Reserved","","UC_NONE" -4,"","Reserved","","UC_NONE" -5,"","Reserved","","UC_NONE" -6,"","Reserved","","UC_NONE" -7,"","Reserved","","UC_NONE" -8,"","Reserved","","UC_NONE" -9,"","Reserved","","UC_NONE" -10,"","Reserved","","UC_NONE" -11,"","Reserved","","UC_NONE" -12,"","Reserved","","UC_NONE" -13,"","Reserved","","UC_NONE" -14,"","Reserved","","UC_NONE" -15,"","Reserved","","UC_NONE" -16,"","Reserved","","UC_NONE" -17,"","Reserved","","UC_NONE" -18,"","Reserved","","UC_NONE" -19,"","Reserved","","UC_NONE" -20,"","Reserved","","UC_NONE" -21,"","Reserved","","UC_NONE" -22,"","Reserved","","UC_NONE" -23,"","Reserved","","UC_NONE" -24,"","Reserved","","UC_NONE" -25,"","Reserved","","UC_NONE" -26,"","Reserved","","UC_NONE" -27,"","Reserved","","UC_NONE" -28,"","Reserved","","UC_NONE" -29,"","Reserved","","UC_NONE" -30,"","Reserved","","UC_NONE" -31,"","Reserved","","UC_NONE" -32,"","Reserved","","UC_NONE" -33,"","Reserved","","UC_NONE" -34,"","Reserved","","UC_NONE" -35,"","Reserved","","UC_NONE" -36,"","Reserved","","UC_NONE" -37,"","Reserved","","UC_NONE" -38,"","Reserved","","UC_NONE" -39,"","Reserved","","UC_NONE" -40,"","Reserved","","UC_NONE" -41,"","Reserved","","UC_NONE" -42,"","Reserved","","UC_NONE" -43,"","Reserved","","UC_NONE" -44,"","Reserved","","UC_NONE" -45,"","Reserved","","UC_NONE" -46,"","Reserved","","UC_NONE" -47,"","Reserved","","UC_NONE" -48,"","Reserved","","UC_NONE" -49,"","Reserved","","UC_NONE" -50,"","Reserved","","UC_NONE" -51,"","Reserved","","UC_NONE" -52,"","Reserved","","UC_NONE" -53,"","Reserved","","UC_NONE" -54,"","Reserved","","UC_NONE" -55,"","Reserved","","UC_NONE" -56,"","Reserved","","UC_NONE" -57,"","Reserved","","UC_NONE" -58,"","Reserved","","UC_NONE" -59,"","Reserved","","UC_NONE" -60,"","Reserved","","UC_NONE" -61,"","Reserved","","UC_NONE" -62,"","Reserved","","UC_NONE" -63,"","Reserved","","UC_NONE" -64,"","Reserved","","UC_NONE" -65,"","Reserved","","UC_NONE" -66,"","Reserved","","UC_NONE" -67,"","Reserved","","UC_NONE" -68,"","Reserved","","UC_NONE" -69,"","Reserved","","UC_NONE" -70,"","Reserved","","UC_NONE" -71,"","Reserved","","UC_NONE" -72,"","Reserved","","UC_NONE" -73,"","Reserved","","UC_NONE" -74,"","Reserved","","UC_NONE" -75,"","Reserved","","UC_NONE" -76,"","Reserved","","UC_NONE" -77,"","Reserved","","UC_NONE" -78,"","Reserved","","UC_NONE" -79,"","Reserved","","UC_NONE" -80,"","Reserved","","UC_NONE" -81,"","Reserved","","UC_NONE" -82,"","Reserved","","UC_NONE" -83,"","Reserved","","UC_NONE" -84,"","Reserved","","UC_NONE" -85,"","Reserved","","UC_NONE" -86,"","Reserved","","UC_NONE" -87,"","Reserved","","UC_NONE" -88,"","Reserved","","UC_NONE" -89,"","Reserved","","UC_NONE" -90,"","Reserved","","UC_NONE" -91,"","Reserved","","UC_NONE" -92,"","Reserved","","UC_NONE" -93,"","Reserved","","UC_NONE" -94,"","Reserved","","UC_NONE" -95,"","Reserved","","UC_NONE" -96,"","Reserved","","UC_NONE" -97,"","Reserved","","UC_NONE" -98,"","Reserved","","UC_NONE" -99,"","Reserved","","UC_NONE" -100,"","Reserved","","UC_NONE" -101,"","Reserved","","UC_NONE" -102,"","Reserved","","UC_NONE" -103,"","Reserved","","UC_NONE" -104,"","Reserved","","UC_NONE" -105,"","Reserved","","UC_NONE" -106,"","Reserved","","UC_NONE" -107,"","Reserved","","UC_NONE" -108,"","Reserved","","UC_NONE" -109,"","Reserved","","UC_NONE" -110,"","Reserved","","UC_NONE" -111,"","Reserved","","UC_NONE" -112,"","Reserved","","UC_NONE" -113,"","Reserved","","UC_NONE" -114,"","Reserved","","UC_NONE" -115,"","Reserved","","UC_NONE" -116,"","Reserved","","UC_NONE" -117,"","Reserved","","UC_NONE" -118,"","Reserved","","UC_NONE" -119,"","Reserved","","UC_NONE" -120,"","Reserved","","UC_NONE" -121,"","Reserved","","UC_NONE" -122,"","Reserved","","UC_NONE" -123,"","Reserved","","UC_NONE" -124,"","Reserved","","UC_NONE" -125,"","Reserved","","UC_NONE" -126,"","Reserved","","UC_NONE" -127,"","Reserved","","UC_NONE" -128,"","Reserved","","UC_NONE" -129,"","Reserved","","UC_NONE" -130,"","Reserved","","UC_NONE" -131,"","Reserved","","UC_NONE" -132,"","Reserved","","UC_NONE" -133,"","Reserved","","UC_NONE" -134,"","Reserved","","UC_NONE" -135,"","Reserved","","UC_NONE" -136,"","Reserved","","UC_NONE" -137,"","Reserved","","UC_NONE" -138,"","Reserved","","UC_NONE" -139,"","Reserved","","UC_NONE" -140,"","Reserved","","UC_NONE" -141,"","Reserved","","UC_NONE" -142,"","Reserved","","UC_NONE" -143,"","Reserved","","UC_NONE" -144,"","Reserved","","UC_NONE" -145,"","Reserved","","UC_NONE" -146,"","Reserved","","UC_NONE" -147,"","Reserved","","UC_NONE" -148,"","Reserved","","UC_NONE" -149,"","Reserved","","UC_NONE" -150,"","Reserved","","UC_NONE" -151,"","Reserved","","UC_NONE" -152,"","Reserved","","UC_NONE" -153,"","Reserved","","UC_NONE" -154,"","Reserved","","UC_NONE" -155,"","Reserved","","UC_NONE" -156,"","Reserved","","UC_NONE" -157,"","Reserved","","UC_NONE" -158,"","Reserved","","UC_NONE" -159,"","Reserved","","UC_NONE" -160,"","Reserved","","UC_NONE" -161,"","Reserved","","UC_NONE" -162,"","Reserved","","UC_NONE" -163,"","Reserved","","UC_NONE" -164,"","Reserved","","UC_NONE" -165,"","Reserved","","UC_NONE" -166,"","Reserved","","UC_NONE" -167,"","Reserved","","UC_NONE" -168,"","Reserved","","UC_NONE" -169,"","Reserved","","UC_NONE" -170,"","Reserved","","UC_NONE" -171,"","Reserved","","UC_NONE" -172,"","Reserved","","UC_NONE" -173,"","Reserved","","UC_NONE" -174,"","Reserved","","UC_NONE" -175,"","Reserved","","UC_NONE" -176,"","Reserved","","UC_NONE" -177,"","Reserved","","UC_NONE" -178,"","Reserved","","UC_NONE" -179,"","Reserved","","UC_NONE" -180,"","Reserved","","UC_NONE" -181,"","Reserved","","UC_NONE" -182,"","Reserved","","UC_NONE" -183,"","Reserved","","UC_NONE" -184,"","Reserved","","UC_NONE" -185,"","Reserved","","UC_NONE" -186,"","Reserved","","UC_NONE" -187,"","Reserved","","UC_NONE" -188,"","Reserved","","UC_NONE" -189,"","Reserved","","UC_NONE" -190,"","Reserved","","UC_NONE" -191,"","Reserved","","UC_NONE" -192,"","Reserved for local use","","UC_NONE" -193,"","Reserved for local use","","UC_NONE" -194,"","Reserved for local use","","UC_NONE" -195,"","Reserved for local use","","UC_NONE" -196,"","Reserved for local use","","UC_NONE" -197,"","Reserved for local use","","UC_NONE" -198,"","Reserved for local use","","UC_NONE" -199,"","Reserved for local use","","UC_NONE" -200,"","Reserved for local use","","UC_NONE" -201,"","Reserved for local use","","UC_NONE" -202,"","Reserved for local use","","UC_NONE" -203,"","Reserved for local use","","UC_NONE" -204,"","Reserved for local use","","UC_NONE" -205,"","Reserved for local use","","UC_NONE" -206,"","Reserved for local use","","UC_NONE" -207,"","Reserved for local use","","UC_NONE" -208,"","Reserved for local use","","UC_NONE" -209,"","Reserved for local use","","UC_NONE" -210,"","Reserved for local use","","UC_NONE" -211,"","Reserved for local use","","UC_NONE" -212,"","Reserved for local use","","UC_NONE" -213,"","Reserved for local use","","UC_NONE" -214,"","Reserved for local use","","UC_NONE" -215,"","Reserved for local use","","UC_NONE" -216,"","Reserved for local use","","UC_NONE" -217,"","Reserved for local use","","UC_NONE" -218,"","Reserved for local use","","UC_NONE" -219,"","Reserved for local use","","UC_NONE" -220,"","Reserved for local use","","UC_NONE" -221,"","Reserved for local use","","UC_NONE" -222,"","Reserved for local use","","UC_NONE" -223,"","Reserved for local use","","UC_NONE" -224,"","Reserved for local use","","UC_NONE" -225,"","Reserved for local use","","UC_NONE" -226,"","Reserved for local use","","UC_NONE" -227,"","Reserved for local use","","UC_NONE" -228,"","Reserved for local use","","UC_NONE" -229,"","Reserved for local use","","UC_NONE" -230,"","Reserved for local use","","UC_NONE" -231,"","Reserved for local use","","UC_NONE" -232,"","Reserved for local use","","UC_NONE" -233,"","Reserved for local use","","UC_NONE" -234,"","Reserved for local use","","UC_NONE" -235,"","Reserved for local use","","UC_NONE" -236,"","Reserved for local use","","UC_NONE" -237,"","Reserved for local use","","UC_NONE" -238,"","Reserved for local use","","UC_NONE" -239,"","Reserved for local use","","UC_NONE" -240,"","Reserved for local use","","UC_NONE" -241,"","Reserved for local use","","UC_NONE" -242,"","Reserved for local use","","UC_NONE" -243,"","Reserved for local use","","UC_NONE" -244,"","Reserved for local use","","UC_NONE" -245,"","Reserved for local use","","UC_NONE" -246,"","Reserved for local use","","UC_NONE" -247,"","Reserved for local use","","UC_NONE" -248,"","Reserved for local use","","UC_NONE" -249,"","Reserved for local use","","UC_NONE" -250,"","Reserved for local use","","UC_NONE" -251,"","Reserved for local use","","UC_NONE" -252,"","Reserved for local use","","UC_NONE" -253,"","Reserved for local use","","UC_NONE" -254,"","Reserved for local use","","UC_NONE" -255,"","Missing","","UC_NONE" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_Canada.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_Canada.csv deleted file mode 100644 index 741b7694..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_Canada.csv +++ /dev/null @@ -1,5 +0,0 @@ -prod,cat,subcat,short_name,name,unit,unit_conv -0,4,192,"DSWRF_SFC_0","Downward incident solar flux","W/m^2",UC_NONE -0,4,193,"USWRF_SFC_0","Upward short wave radiative flux","W/m^2",UC_NONE -0,5,192,"DLWRF_SFC_0","Downward Long Wave Radiative Flux","W/m^2",UC_NONE -0,5,193,"ULWRF_0","Outgoing Long Wave Radiative Flux","W/m^2",UC_NONE diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_HPC.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_HPC.csv deleted file mode 100644 index 1c146001..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_HPC.csv +++ /dev/null @@ -1,2 +0,0 @@ -prod,cat,subcat,short_name,name,unit,unit_conv -0,1,192,"HPC-Wx","HPC Code","-",UC_NONE diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_MRMS.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_MRMS.csv deleted file mode 100644 index ff92a003..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_MRMS.csv +++ /dev/null @@ -1,175 +0,0 @@ -prod,cat,subcat,short_name,name,unit,unit_conv -209,2,0,"NLDN_CG_001min_AvgDensity","CG Average Lightning Density 1-min - NLDN","flashes/km^2/min",UC_NONE -209,2,1,"NLDN_CG_005min_AvgDensity","CG Average Lightning Density 5-min - NLDN","flashes/km^2/min",UC_NONE -209,2,2,"NLDN_CG_015min_AvgDensity","CG Average Lightning Density 15-min - NLDN","flashes/km^2/min",UC_NONE -209,2,3,"NLDN_CG_030min_AvgDensity","CG Average Lightning Density 30-min - NLDN","flashes/km^2/min",UC_NONE -209,2,4,"LightningProbabilityNext30min","Lightning Probability 0-30 minutes - NLDN","%",UC_NONE -209,2,5,"LightningProbabilityNext30minGrid","Lightning Probability 0-30 minutes - NLDN","%",UC_NONE -209,2,6,"LightningProbabilityNext60minGrid","Lightning Probability 0-30 minutes - NLDN","%",UC_NONE -209,2,7,"LightningJumpGrid","Rapid lightning increases and decreases ","non-dim",UC_NONE -209,2,8,"LightningJumpGrid_Max_005min","Rapid lightning increases and decreases over 5-minutes ","non-dim",UC_NONE -209,3,0,"MergedAzShear0to2kmAGL","Azimuth Shear 0-2km AGL","0.001/s",UC_NONE -209,3,1,"MergedAzShear3to6kmAGL","Azimuth Shear 3-6km AGL","0.001/s",UC_NONE -209,3,2,"RotationTrack30min","Rotation Track 0-2km AGL 30-min","0.001/s",UC_NONE -209,3,3,"RotationTrack60min","Rotation Track 0-2km AGL 60-min","0.001/s",UC_NONE -209,3,4,"RotationTrack120min","Rotation Track 0-2km AGL 120-min","0.001/s",UC_NONE -209,3,5,"RotationTrack240min","Rotation Track 0-2km AGL 240-min","0.001/s",UC_NONE -209,3,6,"RotationTrack360min","Rotation Track 0-2km AGL 360-min","0.001/s",UC_NONE -209,3,7,"RotationTrack1440min","Rotation Track 0-2km AGL 1440-min","0.001/s",UC_NONE -209,3,14,"RotationTrackML30min","Rotation Track 3-6km AGL 30-min","0.001/s",UC_NONE -209,3,15,"RotationTrackML60min","Rotation Track 3-6km AGL 60-min","0.001/s",UC_NONE -209,3,16,"RotationTrackML120min","Rotation Track 3-6km AGL 120-min","0.001/s",UC_NONE -209,3,17,"RotationTrackML240min","Rotation Track 3-6km AGL 240-min","0.001/s",UC_NONE -209,3,18,"RotationTrackML360min","Rotation Track 3-6km AGL 360-min","0.001/s",UC_NONE -209,3,19,"RotationTrackML1440min","Rotation Track 3-6km AGL 1440-min","0.001/s",UC_NONE -209,3,26,"SHI","Severe Hail Index","index",UC_NONE -209,3,27,"POSH","Prob of Severe Hail","%",UC_NONE -209,3,28,"MESH","Maximum Estimated Size of Hail (MESH)","mm",UC_NONE -209,3,29,"MESHMax30min","MESH Hail Swath 30-min","mm",UC_NONE -209,3,30,"MESHMax60min","MESH Hail Swath 60-min","mm",UC_NONE -209,3,31,"MESHMax120min","MESH Hail Swath 120-min","mm",UC_NONE -209,3,32,"MESHMax240min","MESH Hail Swath 240-min","mm",UC_NONE -209,3,33,"MESHMax360min","MESH Hail Swath 360-min","mm",UC_NONE -209,3,34,"MESHMax1440min","MESH Hail Swath 1440-min","mm",UC_NONE -209,3,37,"VIL_Max_120min","VIL Swath 120-min","kg/m^2",UC_NONE -209,3,40,"VIL_Max_1440min","VIL Swath 1440-min","kg/m^2",UC_NONE -209,3,41,"VIL","Vertically Integrated Liquid","kg/m^2",UC_NONE -209,3,42,"VIL_Density","Vertically Integrated Liquid Density","g/m^3",UC_NONE -209,3,43,"VII","Vertically Integrated Ice","kg/m^2",UC_NONE -209,3,44,"EchoTop_18","Echo Top - 18 dBZ","km MSL",UC_NONE -209,3,45,"EchoTop_30","Echo Top - 30 dBZ","km MSL",UC_NONE -209,3,46,"EchoTop_50","Echo Top - 50 dBZ","km MSL",UC_NONE -209,3,47,"EchoTop_60","Echo Top - 60 dBZ","km MSL",UC_NONE -209,3,48,"H50AboveM20C","Thickness [50 dBZ top - (-20C)]","km",UC_NONE -209,3,49,"H50Above0C","Thickness [50 dBZ top - 0C]","km",UC_NONE -209,3,50,"H60AboveM20C","Thickness [60 dBZ top - (-20C)]","km",UC_NONE -209,3,51,"H60Above0C","Thickness [60 dBZ top - 0C]","km",UC_NONE -209,3,52,"Reflectivity_0C","Isothermal Reflectivity at 0C","dBZ",UC_NONE -209,3,53,"Reflectivity_-5C","Isothermal Reflectivity at -5C","dBZ",UC_NONE -209,3,54,"Reflectivity_-10C","Isothermal Reflectivity at -10C","dBZ",UC_NONE -209,3,55,"Reflectivity_-15C","Isothermal Reflectivity at -15C","dBZ",UC_NONE -209,3,56,"Reflectivity_-20C","Isothermal Reflectivity at -20C","dBZ",UC_NONE -209,3,57,"ReflectivityAtLowestAltitude","ReflectivityAtLowestAltitude","dBZ",UC_NONE -209,3,58,"MergedReflectivityAtLowestAltitude","Non Quality Controlled Reflectivity At Lowest Altitude","dBZ",UC_NONE -209,4,0,"IRband4","Infrared (E/W blend)","K",UC_NONE -209,4,1,"Visible","Visible (E/W blend)","non-dim",UC_NONE -209,4,2,"WaterVapor","Water Vapor (E/W blend)","K",UC_NONE -209,4,3,"CloudCover","Cloud Cover","K",UC_NONE -209,6,0,"PrecipFlag","Surface Precipitation Type","flag",UC_NONE -209,6,1,"PrecipRate","Radar Precipitation Rate","mm/hr",UC_NONE -209,6,2,"RadarOnly_QPE_01H","Radar precipitation accumulation 1-hour","mm",UC_NONE -209,6,3,"RadarOnly_QPE_03H","Radar precipitation accumulation 3-hour","mm",UC_NONE -209,6,4,"RadarOnly_QPE_06H","Radar precipitation accumulation 6-hour","mm",UC_NONE -209,6,5,"RadarOnly_QPE_12H","Radar precipitation accumulation 12-hour","mm",UC_NONE -209,6,6,"RadarOnly_QPE_24H","Radar precipitation accumulation 24-hour","mm",UC_NONE -209,6,7,"RadarOnly_QPE_48H","Radar precipitation accumulation 48-hour","mm",UC_NONE -209,6,8,"RadarOnly_QPE_72H","Radar precipitation accumulation 72-hour","mm",UC_NONE -209,6,9,"GaugeCorrQPE01H","Local Gauge Bias Corrected Radar Precipitation Accumulation 1-hour","mm",UC_NONE -209,6,10,"GaugeCorrQPE03H","Local Gauge Bias Corrected Radar Precipitation Accumulation 3-hour","mm",UC_NONE -209,6,11,"GaugeCorrQPE06H","Local Gauge Bias Corrected Radar Precipitation Accumulation 6-hour","mm",UC_NONE -209,6,12,"GaugeCorrQPE12H","Local Gauge Bias Corrected Radar Precipitation Accumulation 12-hour","mm",UC_NONE -209,6,13,"GaugeCorrQPE24H","Local Gauge Bias Corrected Radar Precipitation Accumulation 24-hour","mm",UC_NONE -209,6,14,"GaugeCorrQPE48H","Local Gauge Bias Corrected Radar Precipitation Accumulation 48-hour","mm",UC_NONE -209,6,15,"GaugeCorrQPE72H","Local Gauge Bias Corrected Radar Precipitation Accumulation 72-hour","mm",UC_NONE -209,6,16,"GaugeOnlyQPE01H","Gauge Only Precipitation Accumulation 1-hour","mm",UC_NONE -209,6,17,"GaugeOnlyQPE03H","Gauge Only Precipitation Accumulation 3-hour","mm",UC_NONE -209,6,18,"GaugeOnlyQPE06H","Gauge Only Precipitation Accumulation 6-hour","mm",UC_NONE -209,6,19,"GaugeOnlyQPE12H","Gauge Only Precipitation Accumulation 12-hour","mm",UC_NONE -209,6,20,"GaugeOnlyQPE24H","Gauge Only Precipitation Accumulation 24-hour","mm",UC_NONE -209,6,21,"GaugeOnlyQPE48H","Gauge Only Precipitation Accumulation 48-hour","mm",UC_NONE -209,6,22,"GaugeOnlyQPE72H","Gauge Only Precipitation Accumulation 72-hour","mm",UC_NONE -209,6,23,"MountainMapperQPE01H","Mountain Mapper Precipitation Accumulation 1-hour","mm",UC_NONE -209,6,24,"MountainMapperQPE03H","Mountain Mapper Precipitation Accumulation 3-hour","mm",UC_NONE -209,6,25,"MountainMapperQPE06H","Mountain Mapper Precipitation Accumulation 6-hour","mm",UC_NONE -209,6,26,"MountainMapperQPE12H","Mountain Mapper Precipitation Accumulation 12-hour","mm",UC_NONE -209,6,27,"MountainMapperQPE24H","Mountain Mapper Precipitation Accumulation 24-hour","mm",UC_NONE -209,6,28,"MountainMapperQPE48H","Mountain Mapper Precipitation Accumulation 48-hour","mm",UC_NONE -209,6,29,"MountainMapperQPE72H","Mountain Mapper Precipitation Accumulation 72-hour","mm",UC_NONE -209,6,30,"MultiSensor_QPE_01H_Pass1","Multi-sensor accumulation 1-hour (1-hour latency)","mm",UC_NONE -209,6,31,"MultiSensor_QPE_03H_Pass1","Multi-sensor accumulation 3-hour (1-hour latency)","mm",UC_NONE -209,6,32,"MultiSensor_QPE_06H_Pass1","Multi-sensor accumulation 6-hour (1-hour latency)","mm",UC_NONE -209,6,33,"MultiSensor_QPE_12H_Pass1","Multi-sensor accumulation 12-hour (1-hour latency)","mm",UC_NONE -209,6,34,"MultiSensor_QPE_24H_Pass1","Multi-sensor accumulation 24-hour (1-hour latency)","mm",UC_NONE -209,6,35,"MultiSensor_QPE_48H_Pass1","Multi-sensor accumulation 48-hour (1-hour latency)","mm",UC_NONE -209,6,36,"MultiSensor_QPE_72H_Pass1","Multi-sensor accumulation 72-hour (1-hour latency)","mm",UC_NONE -209,6,37,"MultiSensor_QPE_01H_Pass2","Multi-sensor accumulation 1-hour (2-hour latency)","mm",UC_NONE -209,6,38,"MultiSensor_QPE_03H_Pass2","Multi-sensor accumulation 3-hour (2-hour latency)","mm",UC_NONE -209,6,39,"MultiSensor_QPE_06H_Pass2","Multi-sensor accumulation 6-hour (2-hour latency)","mm",UC_NONE -209,6,40,"MultiSensor_QPE_12H_Pass2","Multi-sensor accumulation 12-hour (2-hour latency)","mm",UC_NONE -209,6,41,"MultiSensor_QPE_24H_Pass2","Multi-sensor accumulation 24-hour (2-hour latency)","mm",UC_NONE -209,6,42,"MultiSensor_QPE_48H_Pass2","Multi-sensor accumulation 48-hour (2-hour latency)","mm",UC_NONE -209,6,43,"MultiSensor_QPE_72H_Pass2","Multi-sensor accumulation 72-hour (2-hour latency)","mm",UC_NONE -209,6,44,"SyntheticPrecipRateID","Method IDs for blended single and dual-pol derived precip rates ","flag",UC_NONE -209,6,45,"RadarOnly_QPE_15M","Radar precipitation accumulation 15-minute","mm",UC_NONE -209,7,0,"Model_SurfaceTemp","Model Surface temperature","C",UC_NONE -209,7,1,"Model_WetBulbTemp","Model Surface wet bulb temperature","C",UC_NONE -209,7,2,"WarmRainProbability","Probability of warm rain","%",UC_NONE -209,7,3,"Model_0degC_Height","Model Freezing Level Height","m MSL",UC_NONE -209,7,4,"BrightBandTopHeight","Brightband Top Height","m AGL",UC_NONE -209,7,5,"BrightBandBottomHeight","Brightband Bottom Height","m AGL",UC_NONE -209,8,0,"RadarQualityIndex","Radar Quality Index","non-dim",UC_NONE -209,8,1,"GaugeInflIndex_01H_Pass1","Gauge Influence Index for 1-hour QPE (1-hour latency)","non-dim",UC_NONE -209,8,2,"GaugeInflIndex_03H_Pass1","Gauge Influence Index for 3-hour QPE (1-hour latency)","non-dim",UC_NONE -209,8,3,"GaugeInflIndex_06H_Pass1","Gauge Influence Index for 6-hour QPE (1-hour latency)","non-dim",UC_NONE -209,8,4,"GaugeInflIndex_12H_Pass1","Gauge Influence Index for 12-hour QPE (1-hour latency)","non-dim",UC_NONE -209,8,5,"GaugeInflIndex_24H_Pass1","Gauge Influence Index for 24-hour QPE (1-hour latency)","non-dim",UC_NONE -209,8,6,"GaugeInflIndex_48H_Pass1","Gauge Influence Index for 48-hour QPE (1-hour latency)","non-dim",UC_NONE -209,8,7,"GaugeInflIndex_72H_Pass1","Gauge Influence Index for 72-hour QPE (1-hour latency)","non-dim",UC_NONE -209,8,8,"SeamlessHSR","Seamless Hybrid Scan Reflectivity with VPR correction","dBZ",UC_NONE -209,8,9,"SeamlessHSRHeight","Height of Seamless Hybrid Scan Reflectivity","km AGL",UC_NONE -209,8,10,"RadarAccumulationQualityIndex_01H","Radar 1-hour QPE Accumulation Quality","non-dim",UC_NONE -209,8,11,"RadarAccumulationQualityIndex_03H","Radar 3-hour QPE Accumulation Quality","non-dim",UC_NONE -209,8,12,"RadarAccumulationQualityIndex_06H","Radar 6-hour QPE Accumulation Quality","non-dim",UC_NONE -209,8,13,"RadarAccumulationQualityIndex_12H","Radar 12-hour QPE Accumulation Quality","non-dim",UC_NONE -209,8,14,"RadarAccumulationQualityIndex_24H","Radar 24-hour QPE Accumulation Quality","non-dim",UC_NONE -209,8,15,"RadarAccumulationQualityIndex_48H","Radar 48-hour QPE Accumulation Quality","non-dim",UC_NONE -209,8,16,"RadarAccumulationQualityIndex_72H","Radar 72-hour QPE Accumulation Quality","non-dim",UC_NONE -209,8,17,"GaugeInflIndex_01H_Pass2","Gauge Influence Index for 1-hour QPE (2-hour latency)","non-dim",UC_NONE -209,8,18,"GaugeInflIndex_03H_Pass2","Gauge Influence Index for 3-hour QPE (2-hour latency)","non-dim",UC_NONE -209,8,19,"GaugeInflIndex_06H_Pass2","Gauge Influence Index for 6-hour QPE (2-hour latency)","non-dim",UC_NONE -209,8,20,"GaugeInflIndex_12H_Pass2","Gauge Influence Index for 12-hour QPE (2-hour latency)","non-dim",UC_NONE -209,8,21,"GaugeInflIndex_24H_Pass2","Gauge Influence Index for 24-hour QPE (2-hour latency)","non-dim",UC_NONE -209,8,22,"GaugeInflIndex_48H_Pass2","Gauge Influence Index for 48-hour QPE (2-hour latency)","non-dim",UC_NONE -209,8,23,"GaugeInflIndex_72H_Pass2","Gauge Influence Index for 72-hour QPE (2-hour latency)","non-dim",UC_NONE -209,9,0,"MergedReflectivityQC","3D Reflectivty Mosaic - 33 CAPPIS (500-19000m)","dBZ",UC_NONE -209,9,1,"CONUSPlusMergedReflectivityQC","All Radar 3D Reflectivity Mosaic - 33 CAPPIS (500-19000m)","dBZ",UC_NONE -209,9,3,"MergedRhoHV,5-min","33 levels (one file per level)","-99",UC_NONE -209,9,4,"MergedZdr,5-min","33 levels (one file per level)","-99",UC_NONE -209,10,0,"MergedReflectivityQCComposite","Composite Reflectivity Mosaic (optimal method)","dBZ",UC_NONE -209,10,1,"HeightCompositeReflectivity","Height of Composite Reflectivity Mosaic (optimal method)","m MSL",UC_NONE -209,10,2,"LowLevelCompositeReflectivity","Low-Level Composite Reflectivity Mosaic (0-4km)","dBZ",UC_NONE -209,10,3,"HeightLowLevelCompositeReflectivity","Height of Low-Level Composite Reflectivity Mosaic (0-4km)","m MSL",UC_NONE -209,10,4,"LayerCompositeReflectivity_Low","Layer Composite Reflectivity Mosaic 0-24kft (low altitude)","dBZ",UC_NONE -209,10,5,"LayerCompositeReflectivity_High","Layer Composite Reflectivity Mosaic 24-60 kft (highest altitude)","dBZ",UC_NONE -209,10,6,"LayerCompositeReflectivity_Super","Layer Composite Reflectivity Mosaic 33-60 kft (super high altitude)","dBZ",UC_NONE -209,10,7,"CREF_1HR_MAX","Composite Reflectivity Hourly Maximum","dBZ",UC_NONE -209,10,8,"ReflectivityMaxAboveM10C","Maximum Reflectivity at -10 deg C height and above","dBZ",UC_NONE -209,10,9,"LayerCompositeReflectivity_ANC","Layer Composite Reflectivity Mosaic (2-4.5km) (for ANC)","dBZ",UC_NONE -209,10,10,"BREF_1HR_MAX","Base Reflectivity Hourly Maximum","dBZ",UC_NONE -209,11,0,"MergedBaseReflectivityQC","Base Reflectivity Mosaic (optimal method)","dBZ",UC_NONE -209,11,1,"MergedReflectivityComposite","Raw Composite Reflectivity Mosaic (max ref)","dBZ",UC_NONE -209,11,2,"MergedReflectivityQComposite","Composite Reflectivity Mosaic (max ref)","dBZ",UC_NONE -209,11,3,"MergedBaseReflectivity","Raw Base Reflectivity Mosaic (optimal method)","dBZ",UC_NONE -209,12,0,"FLASH_CREST_MAXUNITSTREAMFLOW","FLASH QPE-CREST Unit Streamflow","m^3/s/km^2",UC_NONE -209,12,1,"FLASH_CREST_MAXSTREAMFLOW","FLASH QPE-CREST Streamflow","m^3/s",UC_NONE -209,12,2,"FLASH_CREST_MAXSOILSAT","FLASH QPE-CREST Soil Saturation","%",UC_NONE -209,12,4,"FLASH_SAC_MAXUNITSTREAMFLOW","FLASH QPE-SAC Unit Streamflow","m^3/s/km^2",UC_NONE -209,12,5,"FLASH_SAC_MAXSTREAMFLOW","FLASH QPE-SAC Streamflow","m^3/s",UC_NONE -209,12,6,"FLASH_SAC_MAXSOILSAT","FLASH QPE-SAC Soil Saturation","%",UC_NONE -209,12,14,"FLASH_QPE_ARI30M","FLASH QPE Average Recurrence Interval 30-min","years",UC_NONE -209,12,15,"FLASH_QPE_ARI01H","FLASH QPE Average Recurrence Interval 01H","years",UC_NONE -209,12,16,"FLASH_QPE_ARI03H","FLASH QPE Average Recurrence Interval 03H","years",UC_NONE -209,12,17,"FLASH_QPE_ARI06H","FLASH QPE Average Recurrence Interval 06H","years",UC_NONE -209,12,18,"FLASH_QPE_ARI12H","FLASH QPE Average Recurrence Interval 12H","years",UC_NONE -209,12,19,"FLASH_QPE_ARI24H","FLASH QPE Average Recurrence Interval 24H","years",UC_NONE -209,12,20,"FLASH_QPE_ARIMAX","FLASH QPE Average Recurrence Interval Maximum","years",UC_NONE -209,12,26,"FLASH_QPE_FFG01H","FLASH QPE-to-FFG Ratio 01H","non-dim",UC_NONE -209,12,27,"FLASH_QPE_FFG03H","FLASH QPE-to-FFG Ratio 03H","non-dim",UC_NONE -209,12,28,"FLASH_QPE_FFG06H","FLASH QPE-to-FFG Ratio 06H","non-dim",UC_NONE -209,12,29,"FLASH_QPE_FFGMAX","FLASH QPE-to-FFG Ratio Maximum","non-dim",UC_NONE -209,12,39,"FLASH_HP_MAXUNITSTREAMFLOW","FLASH QPE-Hydrophobic Unit Streamflow","m^3/s/km^2",UC_NONE -209,12,40,"FLASH_HP_MAXSTREAMFLOW","FLASH QPE-Hydrophobic Streamflow","m^3/s",UC_NONE -209,13,0,"ANC_ConvectiveLikelihood","Likelihood of convection over the next 01H","non-dim",UC_NONE -209,13,1,"ANC_FinalForecast","01H reflectivity forecast","dBZ",UC_NONE -209,14,0,"LVL3_HREET","Level III High Resolution Enhanced Echo Top mosaic","kft",UC_NONE -209,14,1,"LVL3_HighResVIL","Level III High Resouion VIL mosaic","kg/m^2",UC_NONE diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_NCEP.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_NCEP.csv deleted file mode 100644 index 27a76aa2..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_NCEP.csv +++ /dev/null @@ -1,401 +0,0 @@ -prod,cat,subcat,short_name,name,unit,unit_conv -0,0,192,"SNOHF","Snow Phase Change Heat Flux","W/(m^2)",UC_NONE -0,0,193,"TTRAD","Temperature tendency by all radiation","K/s",UC_NONE -0,0,194,"REV","Relative Error Variance","-",UC_NONE -0,0,195,"LRGHR","Large Scale Condensate Heating rate","K/s",UC_NONE -0,0,196,"CNVHR","Deep Convective Heating rate","K/s",UC_NONE -0,0,197,"THFLX","Total Downward Heat Flux at Surface","W/(m^2)",UC_NONE -0,0,198,"TTDIA","Temperature Tendency By All Physics","K/s",UC_NONE -0,0,199,"TTPHY","Temperature Tendency By Non-radiation Physics","K/s",UC_NONE -0,0,200,"TSD1D","Standard Dev. of IR Temp. over 1x1 deg. area","K",UC_NONE -0,0,201,"SHAHR","Shallow Cnvective Heating rate","K/s",UC_NONE -0,0,202,"VDFHR","Vertical Diffusion Heating rate","K/s",UC_NONE -0,0,203,"THZ0","Potential temperature at top of viscus sublayer","K",UC_NONE -0,0,204,"TCHP","Tropical Cyclone Heat Potential","J/(m^2*K)",UC_NONE -0,1,192,"CRAIN","Categorical Rain","0=no; 1=yes",UC_NONE -0,1,193,"CFRZR","Categorical Freezing Rain","0=no; 1=yes",UC_NONE -0,1,194,"CICEP","Categorical Ice Pellets","0=no; 1=yes",UC_NONE -0,1,195,"CSNOW","Categorical Snow","0=no; 1=yes",UC_NONE -0,1,196,"CPRAT","Convective Precipitation Rate","kg/(m^2*s)",UC_NONE -0,1,197,"MCONV","Horizontal Moisture Divergence","kg/(kg*s)",UC_NONE -0,1,198,"MINRH","Minimum Relative Humidity","%",UC_NONE -0,1,199,"PEVAP","Potential Evaporation","kg/(m^2)",UC_NONE -0,1,200,"PEVPR","Potential Evaporation Rate","W/(m^2)",UC_NONE -0,1,201,"SNOWC","Snow Cover","%",UC_NONE -0,1,202,"FRAIN","Rain Fraction of Total Liquid Water","-",UC_NONE -0,1,203,"RIME","Rime Factor","-",UC_NONE -0,1,204,"TCOLR","Total Column Integrated Rain","kg/(m^2)",UC_NONE -0,1,205,"TCOLS","Total Column Integrated Snow","kg/(m^2)",UC_NONE -0,1,206,"TIPD","Total Icing Potential Diagnostic","-",UC_NONE -0,1,207,"NCIP","Number concentration for ice particles","-",UC_NONE -0,1,208,"SNOT","Snow temperature","K",UC_NONE -0,1,209,"TCLSW","Total column-integrated supercooled liquid water","kg/(m^2)",UC_NONE -0,1,210,"TCOLM","Total column-integrated melting ice","kg/(m^2)",UC_NONE -0,1,211,"EMNP","Evaporation - Precipitation","cm/day",UC_NONE -0,1,212,"SBSNO","Sublimination (evaporation from snow)","W/(m^2)",UC_NONE -0,1,213,"CNVMR","Deep Convective Moistening Rate","kg/(kg*s)",UC_NONE -0,1,214,"SHAMR","Shallow Convective Moistening Rate","kg/(kg*s)",UC_NONE -0,1,215,"VDFMR","Vertical Diffusion Moistening Rate","kg/(kg*s)",UC_NONE -0,1,216,"CONDP","Condensation Pressure of Parcali Lifted From Indicate Surface","Pa",UC_NONE -0,1,217,"LRGMR","Large scale moistening rate","kg/(kg/s)",UC_NONE -0,1,218,"QZ0","Specific humidity at top of viscous sublayer","kg/kg",UC_NONE -0,1,219,"QMAX","Maximum specific humidity at 2m","kg/kg",UC_NONE -0,1,220,"QMIN","Minimum specific humidity at 2m","kg/kg",UC_NONE -0,1,221,"ARAIN","Liquid precipitation (rainfall)","kg/(m^2)",UC_NONE -0,1,222,"SNOWT","Snow temperature, depth-avg","K",UC_NONE -0,1,223,"APCPN","Total precipitation (nearest grid point)","kg/(m^2)",UC_NONE -0,1,224,"ACPCPN","Convective precipitation (nearest grid point)","kg/(m^2)",UC_NONE -0,1,225,"FRZR","Freezing rain","kg/(m^2)",UC_NONE -0,1,226,"Wx","Weather String","-",UC_NONE -0,1,227,"FROZR","Frozen Rain","kg/(m^2)",UC_NONE -0,1,228,"FICEAC","Flat Ice Accumulation (FRAM)","kg/(m^2)",UC_NONE -0,1,229,"LICEAC","Line Ice Accumulation (FRAM)","kg/(m^2)",UC_NONE -0,1,230,"SLACC","Sleet Accumulation","kg/(m^2)",UC_NONE -0,1,231,"PPINDX","Precipitation Potential Index","%",UC_NONE -0,1,232,"PROBCIP","Probability Cloud Ice Present","%",UC_NONE -0,1,233,"SNOWLR","Snow Liquid ratio","kg/kg",UC_NONE -0,1,241,"TSNOW","Total Snow","kg/(m^2)",UC_NONE -0,1,242,"RHPW","Relative Humidity with Respect to Precipitable Water","%",UC_NONE -0,2,192,"VWSH","Vertical speed sheer","1/s",UC_NONE -0,2,193,"MFLX","Horizontal Momentum Flux","N/(m^2)",UC_NONE -0,2,194,"USTM","U-Component Storm Motion","m/s",UC_NONE -0,2,195,"VSTM","V-Component Storm Motion","m/s",UC_NONE -0,2,196,"CD","Drag Coefficient","-",UC_NONE -0,2,197,"FRICV","Frictional Velocity","m/s",UC_NONE -0,2,198,"LAUV","Latitude of U Wind Component of Velocity","deg",UC_NONE -0,2,199,"LOUV","Longitude of U Wind Component of Velocity","deg",UC_NONE -0,2,200,"LAVV","Latitude of V Wind Component of Velocity","deg",UC_NONE -0,2,201,"LOVV","Longitude of V Wind Component of Velocity","deg",UC_NONE -0,2,202,"LAPP","Latitude of Presure Point","deg",UC_NONE -0,2,203,"LOPP","Longitude of Presure Point","deg",UC_NONE -0,2,204,"VEDH","Vertical Eddy Diffusivity Heat exchange","m^2/s",UC_NONE -0,2,205,"COVMZ","Covariance between Meridional and Zonal Components of the wind","m^2/s^2",UC_NONE -0,2,206,"COVTZ","Covariance between Temperature and Zonal Components of the wind","K*m/s",UC_NONE -0,2,207,"COVTM","Covariance between Temperature and Meridional Components of the wind","K*m/s",UC_NONE -0,2,208,"VDFUA","Vertical Diffusion Zonal Acceleration","m/s^2",UC_NONE -0,2,209,"VDFVA","Vertical Diffusion Meridional Acceleration","m/s^2",UC_NONE -0,2,210,"GWDU","Gravity wave drag zonal acceleration","m/s^2",UC_NONE -0,2,211,"GWDV","Gravity wave drag meridional acceleration","m/s^2",UC_NONE -0,2,212,"CNVU","Convective zonal momentum mixing acceleration","m/s^2",UC_NONE -0,2,213,"CNVV","Convective meridional momentum mixing acceleration","m/s^2",UC_NONE -0,2,214,"WTEND","Tendency of vertical velocity","m/s^2",UC_NONE -0,2,215,"OMGALF","Omega (Dp/Dt) divide by density","K",UC_NONE -0,2,216,"CNGWDU","Convective Gravity wave drag zonal acceleration","m/s^2",UC_NONE -0,2,217,"CNGWDV","Convective Gravity wave drag meridional acceleration","m/s^2",UC_NONE -0,2,218,"LMV","Velocity point model surface","-",UC_NONE -0,2,219,"PVMWW","Potential vorticity (mass-weighted)","1/(s/m)",UC_NONE -0,2,220,"MAXUVV","Hourly Maximum of Downward Vertical Velocity in the lowest 400hPa","m/s",UC_NONE -0,2,221,"MAXDVV","Hourly Maximum of Downward Vertical Velocity","m/s",UC_NONE -0,2,222,"MAXUW","U Component of Hourly Maximum 10m Wind Speed","m/s",UC_NONE -0,2,223,"MAXVW","V Component of Hourly Maximum 10m Wind Speed","m/s",UC_NONE -0,2,224,"VRATE","Ventilation Rate","m^2/s",UC_NONE -0,2,225,"TRWSPD","Transport Wind Speed","m/s",UC_NONE -0,2,226,"TRWDIR","Transport Wind Direction","deg",UC_NONE -0,2,227,"TOA10","Earliest Reasonable Arrival Time (10% exceedance)","s",UC_NONE -0,2,228,"TOA50","Most Likely Arrival Time (50% exceedance)","s",UC_NONE -0,2,229,"TOD50","Most Likely Departure Time (50% exceedance)","s",UC_NONE -0,2,230,"TOD90","Latest Reasonable Departure Time (90% exceedance)","s",UC_NONE -0,3,192,"MSLET","MSLP (Eta model reduction)","Pa",UC_NONE -0,3,193,"5WAVH","5-Wave Geopotential Height","gpm",UC_NONE -0,3,194,"U-GWD","Zonal Flux of Gravity Wave Stress","N/(m^2)",UC_NONE -0,3,195,"V-GWD","Meridional Flux of Gravity Wave Stress","N/(m^2)",UC_NONE -0,3,196,"HPBL","Planetary Boundary Layer Height","m",UC_NONE -0,3,197,"5WAVA","5-Wave Geopotential Height Anomaly","gpm",UC_NONE -0,3,198,"MSLMA","MSLP (MAPS System Reduction)","Pa",UC_NONE -0,3,199,"TSLSA","3-hr pressure tendency (Std. Atmos. Reduction)","Pa/s",UC_NONE -0,3,200,"PLPL","Pressure of level from which parcel was lifted","Pa",UC_NONE -0,3,201,"LPSX","X-gradiant of Log Pressure","1/m",UC_NONE -0,3,202,"LPSY","Y-gradiant of Log Pressure","1/m",UC_NONE -0,3,203,"HGTX","X-gradiant of Height","1/m",UC_NONE -0,3,204,"HGTY","Y-gradiant of Height","1/m",UC_NONE -0,3,205,"LAYTH","Layer Thickness","m",UC_NONE -0,3,206,"NLGSP","Natural Log of Surface Pressure","ln(kPa)",UC_NONE -0,3,207,"CNVUMF","Convective updraft mass flux","kg/m^2/s",UC_NONE -0,3,208,"CNVDMF","Convective downdraft mass flux","kg/m^2/s",UC_NONE -0,3,209,"CNVDEMF","Convective detrainment mass flux","kg/m^2/s",UC_NONE -0,3,210,"LMH","Mass point model surface","-",UC_NONE -0,3,211,"HGTN","Geopotential height (nearest grid point)","gpm",UC_NONE -0,3,212,"PRESN","Pressure (nearest grid point)","Pa",UC_NONE -0,3,213,"ORCONV","Orographic Convexity","",UC_NONE -0,3,214,"ORASW","Orographic Asymmetry, W Component","",UC_NONE -0,3,215,"ORASS","Orographic Asymmetry, S Component","",UC_NONE -0,3,216,"ORASSW","Orographic Asymmetry, SW Component","",UC_NONE -0,3,217,"ORASNW","Orographic Asymmetry, NW Component","",UC_NONE -0,3,218,"ORLSW","Orographic Length Scale, W Component","",UC_NONE -0,3,219,"ORLSS","Orographic Length Scale, S Component","",UC_NONE -0,3,220,"ORLSSW","Orographic Length Scale, SW Component","",UC_NONE -0,3,221,"ORLSNW","Orographic Length Scale, NW Component","",UC_NONE -0,4,192,"DSWRF","Downward Short-Wave Rad. Flux","W/(m^2)",UC_NONE -0,4,193,"USWRF","Upward Short-Wave Rad. Flux","W/(m^2)",UC_NONE -0,4,194,"DUVB","UV-B downward solar flux","W/(m^2)",UC_NONE -0,4,195,"CDUVB","Clear sky UV-B downward solar flux","W/(m^2)",UC_NONE -0,4,196,"CSDSF","Clear sky Downward Solar Flux","W/(m^2)",UC_NONE -0,4,197,"SWHR","Solar Radiative Heating Rate","K/s",UC_NONE -0,4,198,"CSUSF","Clear Sky Upward Solar Flux","W/(m^2)",UC_NONE -0,4,199,"CFNSF","Cloud Forcing Net Solar Flux","W/(m^2)",UC_NONE -0,4,200,"VBDSF","Visible Beam Downward Solar Flux","W/(m^2)",UC_NONE -0,4,201,"VDDSF","Visible Diffuse Downward Solar Flux","W/(m^2)",UC_NONE -0,4,202,"NBDSF","Near IR Beam Downward Solar Flux","W/(m^2)",UC_NONE -0,4,203,"NDDSF","Near IR Diffuse Downward Solar Flux","W/(m^2)",UC_NONE -0,4,204,"DTRF","Downward Total radiation Flux","W/(m^2)",UC_NONE -0,4,205,"UTRF","Upward Total radiation Flux","W/(m^2)",UC_NONE -0,5,192,"DLWRF","Downward Long-Wave Rad. Flux","W/(m^2)",UC_NONE -0,5,193,"ULWRF","Upward Long-Wave Rad. Flux","W/(m^2)",UC_NONE -0,5,194,"LWHR","Long-Wave Radiative Heating Rate","K/s",UC_NONE -0,5,195,"CSULF","Clear Sky Upward Long Wave Flux","W/(m^2)",UC_NONE -0,5,196,"CSDLF","Clear Sky Downward Long Wave Flux","W/(m^2)",UC_NONE -0,5,197,"CFNLF","Cloud Forcing Net Long Wave Flux","W/(m^2)",UC_NONE -0,6,192,"CDLYR","Non-Convective Cloud Cover","%",UC_NONE -0,6,193,"CWORK","Cloud Work Function","J/kg",UC_NONE -0,6,194,"CUEFI","Convective Cloud Efficiency","-",UC_NONE -0,6,195,"TCOND","Total Condensate","kg/kg",UC_NONE -0,6,196,"TCOLW","Total Column-Integrated Cloud Water","kg/(m^2)",UC_NONE -0,6,197,"TCOLI","Total Column-Integrated Cloud Ice","kg/(m^2)",UC_NONE -0,6,198,"TCOLC","Total Column-Integrated Condensate","kg/(m^2)",UC_NONE -0,6,199,"FICE","Ice fraction of total condensate","-",UC_NONE -0,6,200,"MFLUX","Convective Cloud Mass Flux","Pa/s",UC_NONE -0,6,201,"SUNSD","SunShine duration","s",UC_NONE -0,7,192,"LFTX","Surface Lifted Index","K",UC_NONE -0,7,193,"4LFTX","Best (4 layer) Lifted Index","K",UC_NONE -0,7,194,"RI","Richardson Number","-",UC_NONE -0,7,195,"CWDI","Convective Weather Detection Index","-",UC_NONE -0,7,196,"UVI","Ultra Violet Index","W/(m^2)",UC_UVIndex -0,7,197,"UPHL","Updraft Helicity","m^2/s^2",UC_NONE -0,7,198,"LAI","Leaf area index","-",UC_NONE -0,7,199,"MXUPHL","Hourly Maximum of Updraft Helicity over Layer 2km to 5 km AGL","m^2/s^2",UC_NONE -0,7,200,"MNUPHL","Hourly Minimum of Updraft Helicity","m^2/s^2",UC_NONE -0,7,201,"BNEGLAY","Bourgoiun Negative Energy Layer (surface to freezing level)","J/kg",UC_NONE -0,7,202,"BPOSELAY","Bourgoiun Positive Energy Layer (2k ft AGL to 400 hPa)","J/kg",UC_NONE -0,13,192,"PMTC","Particulate matter (coarse)","10^-6g/m^3",UC_NONE -0,13,193,"PMTF","Particulate matter (fine)","10^-6g/m^3",UC_NONE -0,13,194,"LPMTF","Particulate matter (fine)","log10(10^-6g/m^3)",UC_LOG10 -0,13,195,"LIPMF","Integrated column particulate matter (fine)","log10(10^-6g/m^3)",UC_LOG10 -0,14,192,"O3MR","Ozone Mixing Ratio","kg/kg",UC_NONE -0,14,193,"OZCON","Ozone Concentration","PPB",UC_NONE -0,14,194,"OZCAT","Categorical Ozone Concentration","-",UC_NONE -0,14,195,"VDFOZ","Ozone Vertical Diffusion","kg/kg/s",UC_NONE -0,14,196,"POZ","Ozone Production","kg/kg/s",UC_NONE -0,14,197,"TOZ","Ozone Tendency","kg/kg/s",UC_NONE -0,14,198,"POZT","Ozone Production from Temperature Term","kg/kg/s",UC_NONE -0,14,199,"POZO","Ozone Production from Column Ozone Term","kg/kg/s",UC_NONE -0,14,200,"OZMAX1","Ozone Daily Max from 1-hour Average","ppbV",UC_NONE -0,14,201,"OZMAX8","Ozone Daily Max from 8-hour Average","ppbV",UC_NONE -0,14,202,"PDMAX1","PM 2.5 Daily Max from 1-hour Average","(10^-6g/(m^3)",UC_NONE -0,14,203,"PDMAX24","PM 2.5 Daily Max from 24-hour Average","(10^-6g/(m^3)",UC_NONE -0,16,192,"REFZR","Derived radar reflectivity backscatter from rain","mm^6/m^3",UC_NONE -0,16,193,"REFZI","Derived radar reflectivity backscatter from ice","mm^6/m^3",UC_NONE -0,16,194,"REFZC","Derived radar reflectivity backscatter from parameterized convection","mm^6/m^3",UC_NONE -0,16,195,"REFD","Derived radar reflectivity","dB",UC_NONE -0,16,196,"REFC","Maximum / Composite radar reflectivity","dB",UC_NONE -0,16,197,"RETOP","Radar Echo Top (18.3 DBZ)","m",UC_NONE -0,16,198,"MAXREF","Hourly Maximum of Simulated Reflectivity at 1 km AGL","dB",UC_NONE -0,17,192,"LTNG","Lightning","-",UC_NONE -0,19,192,"MXSALB","Maximum Snow Albedo","%",UC_NONE -0,19,193,"SNFALB","Snow-Free Albedo","%",UC_NONE -0,19,194,"SRCONO","Slight risk convective outlook","categorical",UC_NONE -0,19,195,"MRCONO","Moderate risk convective outlook","categorical",UC_NONE -0,19,196,"HRCONO","High risk convective outlook","categorical",UC_NONE -0,19,197,"TORPROB","Tornado probability","%",UC_NONE -0,19,198,"HAILPROB","Hail probability","%",UC_NONE -0,19,199,"WINDPROB","Wind probability","%",UC_NONE -0,19,200,"STORPROB","Significant Tornado probability","%",UC_NONE -0,19,201,"SHAILPRO","Significant Hail probability","%",UC_NONE -0,19,202,"SWINDPRO","Significant Wind probability","%",UC_NONE -0,19,203,"TSTMC","Categorical Thunderstorm","0=no; 1=yes",UC_NONE -0,19,204,"MIXLY","Number of mixed layers next to surface","integer",UC_NONE -0,19,205,"FLGHT","Flight Category","-",UC_NONE -0,19,206,"CICEL","Confidence Ceiling","-",UC_NONE -0,19,207,"CIVIS","Confidence Visibility","-",UC_NONE -0,19,208,"CIFLT","Confidence Flight Category","-",UC_NONE -0,19,209,"LAVNI","Low Level aviation interest","-",UC_NONE -0,19,210,"HAVNI","High Level aviation interest","-",UC_NONE -0,19,211,"SBSALB","Visible; Black Sky Albedo","%",UC_NONE -0,19,212,"SWSALB","Visible; White Sky Albedo","%",UC_NONE -0,19,213,"NBSALB","Near IR; Black Sky Albedo","%",UC_NONE -0,19,214,"NWSALB","Near IR; White Sky Albedo","%",UC_NONE -0,19,215,"PRSVR","Total Probability of Severe Thunderstorms (Days 2,3)","%",UC_NONE -0,19,216,"PRSIGSVR","Total Probability of Extreme Severe Thunderstorms (Days 2,3)","%",UC_NONE -0,19,217,"SIPD","Supercooled Large Droplet Icing","0=None; 1=Light; 2=Moderate; 3=Severe; 4=Trace; 5=Heavy; 255=missing",UC_NONE -0,19,218,"EPSR","Radiative emissivity","",UC_NONE -0,19,219,"TPFI","Turbulence potential forecast index","-",UC_NONE -0,19,220,"SVRTS","Categorical Severe Thunderstorm","0=No; 1=Yes; 2-3=Reserved; 4=Low; 5=Reserved; 6=Medium; 7=Reserved; 8=High; 255=missing",UC_NONE -0,19,221,"PROCON","Probability of Convection","%",UC_NONE -0,19,222,"CONVP","Convection Potential","0=No; 1=Yes; 2-3=Reserved; 4=Low; 5=Reserved; 6=Medium; 7=Reserved; 8=High; 255=missing",UC_NONE -0,19,223,"","Reserved","-",UC_NONE -0,19,224,"","Reserved","-",UC_NONE -0,19,225,"","Reserved","-",UC_NONE -0,19,226,"","Reserved","-",UC_NONE -0,19,227,"","Reserved","-",UC_NONE -0,19,228,"","Reserved","-",UC_NONE -0,19,229,"","Reserved","-",UC_NONE -0,19,230,"","Reserved","-",UC_NONE -0,19,231,"","Reserved","-",UC_NONE -0,19,232,"VAFTD","Volcanic Ash Forecast Transport and Dispersion","log10(kg/m^3)",UC_NONE -0,19,233,"ICPRB","Icing probability","-",UC_NONE -0,19,234,"ICSEV","Icing severity","-",UC_NONE -0,19,235,"JFWPRB","Joint Fire Weather Probability","%",UC_NONE -0,19,236,"SNOWLVL","Snow Level","m",UC_NONE -0,19,237,"DRYTPROB","Dry Thunderstorm Probability","%",UC_NONE -0,191,192,"NLAT","Latitude (-90 to 90)","deg",UC_NONE -0,191,193,"ELON","East Longitude (0 to 360)","deg",UC_NONE -0,191,194,"TSEC","Seconds prior to initial reference time","s",UC_NONE -0,191,195,"MLYNO","Model Layer number (From bottom up)","",UC_NONE -0,191,196,"NLATN","Latitude (nearest neighbor) (-90 to 90)","deg",UC_NONE -0,191,197,"ELONN","East longitude (nearest neighbor) (0 to 360)","deg",UC_NONE -0,192,1,"COVZM","Covariance between zonal and meridonial components of the wind","m^2/s^2",UC_NONE -0,192,2,"COVTZ","Covariance between zonal component of the wind and temperature","K*m/s",UC_NONE -0,192,3,"COVTM","Covariance between meridonial component of the wind and temperature","K*m/s",UC_NONE -0,192,4,"COVTW","Covariance between temperature and vertical component of the wind","K*m/s",UC_NONE -0,192,5,"COVZZ","Covariance between zonal and zonal components of the wind","m^2/s^2",UC_NONE -0,192,6,"COVMM","Covariance between meridonial and meridonial components of the wind","m^2/s^2",UC_NONE -0,192,7,"COVQZ","Covariance between specific humidity and zonal components of the wind","kg/kg*m/s",UC_NONE -0,192,8,"COVQM","Covariance between specific humidity and meridonial components of the wind","kg/kg*m/s",UC_NONE -0,192,9,"COVTVV","Covariance between temperature and vertical components of the wind","K*Pa/s",UC_NONE -0,192,10,"COVQVV","Covariance between specific humidity and vertical components of the wind","kg/kg*Pa/s",UC_NONE -0,192,11,"COVPSPS","Covariance between surface pressure and surface pressure","Pa*Pa",UC_NONE -0,192,12,"COVQQ","Covariance between specific humidity and specific humidity","kg/kg*kg/kg",UC_NONE -0,192,13,"COVVVVV","Covariance between vertical and vertical components of the wind","Pa^2/s^2",UC_NONE -0,192,14,"COVTT","Covariance between temperature and temperature","K*K",UC_NONE -1,0,192,"BGRUN","Baseflow-Groundwater Runoff","kg/(m^2)",UC_NONE -1,0,193,"SSRUN","Storm Surface Runoff","kg/(m^2)",UC_NONE -1,1,192,"CPOZP","Probability of Freezing Precipitation","%",UC_NONE -1,1,193,"CPOFP","Probability of Frozen Precipitation","%",UC_NONE -1,1,194,"PPFFG","Probability of precipitation exceeding flash flood guidance values","%",UC_NONE -1,1,195,"CWR","Probability of Wetting Rain; exceeding in 0.1 inch in a given time period","%",UC_NONE -2,0,192,"SOILW","Volumetric Soil Moisture Content","Fraction",UC_NONE -2,0,193,"GFLUX","Ground Heat Flux","W/(m^2)",UC_NONE -2,0,194,"MSTAV","Moisture Availability","%",UC_NONE -2,0,195,"SFEXC","Exchange Coefficient","(kg/(m^3))(m/s)",UC_NONE -2,0,196,"CNWAT","Plant Canopy Surface Water","kg/(m^2)",UC_NONE -2,0,197,"BMIXL","Blackadar's Mixing Length Scale","m",UC_NONE -2,0,198,"VGTYP","Vegetation Type","0..13",UC_NONE -2,0,199,"CCOND","Canopy Conductance","m/s",UC_NONE -2,0,200,"RSMIN","Minimal Stomatal Resistance","s/m",UC_NONE -2,0,201,"WILT","Wilting Point","Fraction",UC_NONE -2,0,202,"RCS","Solar parameter in canopy conductance","Fraction",UC_NONE -2,0,203,"RCT","Temperature parameter in canopy conductance","Fraction",UC_NONE -2,0,204,"RCQ","Humidity parameter in canopy conductance","Fraction",UC_NONE -2,0,205,"RCSOL","Soil moisture parameter in canopy conductance","Fraction",UC_NONE -2,0,206,"RDRIP","Rate of water dropping from canopy to ground","unknown",UC_NONE -2,0,207,"ICWAT","Ice-free water surface","%",UC_NONE -2,0,208,"AKHS","Surface exchange coefficients for T and Q divided by delta z","m/s",UC_NONE -2,0,209,"AKMS","Surface exchange coefficients for U and V divided by delta z","m/s",UC_NONE -2,0,210,"VEGT","Vegetation canopy temperature","K",UC_NONE -2,0,211,"SSTOR","Surface water storage","K g/m^2",UC_NONE -2,0,212,"LSOIL","Liquid soil moisture content (non-frozen)","K g/m^2",UC_NONE -2,0,213,"EWATR","Open water evaporation (standing water)","W/m^2",UC_NONE -2,0,214,"GWREC","Groundwater recharge","kg/m^2",UC_NONE -2,0,215,"QREC","Flood plain recharge","kg/m^2",UC_NONE -2,0,216,"SFCRH","Roughness length for heat","m",UC_NONE -2,0,217,"NDVI","Normalized difference vegetation index","-",UC_NONE -2,0,218,"LANDN","Land-sea coverage (nearest neighbor)","0=sea; 1=land",UC_NONE -2,0,219,"AMIXL","Asymptotic mixing length scale","m",UC_NONE -2,0,220,"WVINC","Water vapor added by precip assimilation","kg/m^2",UC_NONE -2,0,221,"WCINC","Water condensate added by precip assimilation","kg/m^2",UC_NONE -2,0,222,"WVCONV","Water vapor flux convergence (vertical int)","kg/m^2",UC_NONE -2,0,223,"WCCONV","Water condensate flux convergence (vertical int)","kg/m^2",UC_NONE -2,0,224,"WVUFLX","Water vapor zonal flux (vertical int)","kg/m^2",UC_NONE -2,0,225,"WVVFLX","Water vapor meridional flux (vertical int)","kg/m^2",UC_NONE -2,0,226,"WCUFLX","Water condensate zonal flux (vertical int)","kg/m^2",UC_NONE -2,0,227,"WCVFLX","Water condensate meridional flux (vertical int)","kg/m^2",UC_NONE -2,0,228,"ACOND","Aerodynamic conductance","m/s",UC_NONE -2,0,229,"EVCW","Canopy water evaporation","W/(m^2)",UC_NONE -2,0,230,"TRANS","Transpiration","W/(m^2)",UC_NONE -2,1,192,"CANL","Cold Advisory for Newborn Livestock","0=none; 2=slight; 4=mild; 6=moderate; 8=severe; 10=extreme",UC_NONE -2,3,192,"SOILL","Liquid Volumetric Soil Moisture (non Frozen)","Proportion",UC_NONE -2,3,193,"RLYRS","Number of Soil Layers in Root Zone","-",UC_NONE -2,3,194,"SLTYP","Surface Slope Type","Index",UC_NONE -2,3,195,"SMREF","Transpiration Stress-onset (soil moisture)","Proportion",UC_NONE -2,3,196,"SMDRY","Direct Evaporation Cease (soil moisture)","Proportion",UC_NONE -2,3,197,"POROS","Soil Porosity","Proportion",UC_NONE -2,3,198,"EVBS","Direct evaporation from bare soil","W/m^2",UC_NONE -2,3,199,"LSPA","Land Surface Precipitation Accumulation","kg/m^2",UC_NONE -2,3,200,"BARET","Bare soil surface skin temperature","K",UC_NONE -2,3,201,"AVSFT","Average surface skin temperature","K",UC_NONE -2,3,202,"RADT","Effective radiative skin temperature","K",UC_NONE -2,3,203,"FLDCP","Field Capacity","fraction",UC_NONE -3,1,192,"USCT","Scatterometer Estimated U Wind","m/s",UC_NONE -3,1,193,"VSCT","Scatterometer Estimated V Wind","m/s",UC_NONE -3,1,194,"SWQI","Scatterometer Wind Quality","",UC_NONE -3,192,0,"SBT122","Simulated Brightness Temperature for GOES 12, Channel 2","K",UC_NONE -3,192,1,"SBT123","Simulated Brightness Temperature for GOES 12, Channel 3","K",UC_NONE -3,192,2,"SBT124","Simulated Brightness Temperature for GOES 12, Channel 4","K",UC_NONE -3,192,3,"SBT125","Simulated Brightness Temperature for GOES 12, Channel 5","K",UC_NONE -3,192,4,"SBC123","Simulated Brightness Counts for GOES 12, Channel 3","numeric",UC_NONE -3,192,5,"SBC124","Simulated Brightness Counts for GOES 12, Channel 4","numeric",UC_NONE -3,192,6,"SBT112","Simulated Brightness Temperature for GOES 11, Channel 2","K",UC_NONE -3,192,7,"SBT113","Simulated Brightness Temperature for GOES 11, Channel 3","K",UC_NONE -3,192,8,"SBT114","Simulated Brightness Temperature for GOES 11, Channel 4","K",UC_NONE -3,192,9,"SBT115","Simulated Brightness Temperature for GOES 11, Channel 5","K",UC_NONE -3,192,10,"AMSRE9","Simulated Brightness Temperature for AMSRE on Aqua, Channel 9","K",UC_NONE -3,192,11,"AMSRE10","Simulated Brightness Temperature for AMSRE on Aqua, Channel 10","K",UC_NONE -3,192,12,"AMSRE11","Simulated Brightness Temperature for AMSRE on Aqua, Channel 11","K",UC_NONE -3,192,13,"AMSRE12","Simulated Brightness Temperature for AMSRE on Aqua, Channel 12","K",UC_NONE -3,192,14,"SRFA161","Simulated Reflectance Factor for ABI GOES-16, Band-1","",UC_NONE -3,192,15,"SRFA162","Simulated Reflectance Factor for ABI GOES-16, Band-2","",UC_NONE -3,192,16,"SRFA163","Simulated Reflectance Factor for ABI GOES-16, Band-3","",UC_NONE -3,192,17,"SRFA164","Simulated Reflectance Factor for ABI GOES-16, Band-4","",UC_NONE -3,192,18,"SRFA165","Simulated Reflectance Factor for ABI GOES-16, Band-5","",UC_NONE -3,192,19,"SRFA166","Simulated Reflectance Factor for ABI GOES-16, Band-6","",UC_NONE -3,192,20,"SBTA167","Simulated Brightness Temperature for ABI GOES-16, Band-7","K",UC_NONE -3,192,21,"SBTA168","Simulated Brightness Temperature for ABI GOES-16, Band-8","K",UC_NONE -3,192,22,"SBTA169","Simulated Brightness Temperature for ABI GOES-16, Band-9","K",UC_NONE -3,192,23,"SBTA1610","Simulated Brightness Temperature for ABI GOES-16, Band-10","K",UC_NONE -3,192,24,"SBTA1611","Simulated Brightness Temperature for ABI GOES-16, Band-11","K",UC_NONE -3,192,25,"SBTA1612","Simulated Brightness Temperature for ABI GOES-16, Band-12","K",UC_NONE -3,192,26,"SBTA1613","Simulated Brightness Temperature for ABI GOES-16, Band-13","K",UC_NONE -3,192,27,"SBTA1614","Simulated Brightness Temperature for ABI GOES-16, Band-14","K",UC_NONE -3,192,28,"SBTA1615","Simulated Brightness Temperature for ABI GOES-16, Band-15","K",UC_NONE -3,192,29,"SBTA1616","Simulated Brightness Temperature for ABI GOES-16, Band-16","K",UC_NONE -3,192,30,"SRFA171","Simulated Reflectance Factor for ABI GOES-17, Band-1","",UC_NONE -3,192,31,"SRFA172","Simulated Reflectance Factor for ABI GOES-17, Band-2","",UC_NONE -3,192,32,"SRFA173","Simulated Reflectance Factor for ABI GOES-17, Band-3","",UC_NONE -3,192,33,"SRFA174","Simulated Reflectance Factor for ABI GOES-17, Band-4","",UC_NONE -3,192,34,"SRFA175","Simulated Reflectance Factor for ABI GOES-17, Band-5","",UC_NONE -3,192,35,"SRFA176","Simulated Reflectance Factor for ABI GOES-17, Band-6","",UC_NONE -3,192,36,"SBTA177","Simulated Brightness Temperature for ABI GOES-17, Band-7","K",UC_NONE -3,192,37,"SBTA178","Simulated Brightness Temperature for ABI GOES-17, Band-8","K",UC_NONE -3,192,38,"SBTA179","Simulated Brightness Temperature for ABI GOES-17, Band-9","K",UC_NONE -3,192,39,"SBTA1710","Simulated Brightness Temperature for ABI GOES-17, Band-10","K",UC_NONE -3,192,40,"SBTA1711","Simulated Brightness Temperature for ABI GOES-17, Band-11","K",UC_NONE -3,192,41,"SBTA1712","Simulated Brightness Temperature for ABI GOES-17, Band-12","K",UC_NONE -3,192,42,"SBTA1713","Simulated Brightness Temperature for ABI GOES-17, Band-13","K",UC_NONE -3,192,43,"SBTA1714","Simulated Brightness Temperature for ABI GOES-17, Band-14","K",UC_NONE -3,192,44,"SBTA1715","Simulated Brightness Temperature for ABI GOES-17, Band-15","K",UC_NONE -3,192,45,"SBTA1716","Simulated Brightness Temperature for ABI GOES-17, Band-16","K",UC_NONE -10,0,192,"WSTP","Wave Steepness","0",UC_NONE -10,0,193,"WLENG","Wave Length","0",UC_NONE -10,1,192,"OMLU","Ocean Mixed Layer U Velocity","m/s",UC_NONE -10,1,193,"OMLV","Ocean Mixed Layer V Velocity","m/s",UC_NONE -10,1,194,"UBARO","Barotropic U Velocity","m/s",UC_NONE -10,1,195,"VBARO","Barotropic V Velocity","m/s",UC_NONE -10,3,192,"SURGE","Hurricane Storm Surge","m",UC_M2Feet -10,3,193,"ETSRG","Extra Tropical Storm Surge","m",UC_M2Feet -10,3,194,"ELEV","Ocean Surface Elevation Relative to Geoid","m",UC_NONE -10,3,195,"SSHG","Sea Surface Height Relative to Geoid","m",UC_NONE -10,3,196,"P2OMLT","Ocean Mixed Layer Potential Density (Reference 2000m)","kg/(m^3)",UC_NONE -10,3,197,"AOHFLX","Net Air-Ocean Heat Flux","W/(m^2)",UC_NONE -10,3,198,"ASHFL","Assimilative Heat Flux","W/(m^2)",UC_NONE -10,3,199,"SSTT","Surface Temperature Trend","degree/day",UC_NONE -10,3,200,"SSST","Surface Salinity Trend","psu/day",UC_NONE -10,3,201,"KENG","Kinetic Energy","J/kg",UC_NONE -10,3,202,"SLTFL","Salt Flux","kg/(m^2*s)",UC_NONE -10,3,203,"LCH","Heat Exchange Coefficient","",UC_NONE -10,3,242,"TCSRG20","20% Tropical Cyclone Storm Surge Exceedance","m",UC_M2Feet -10,3,243,"TCSRG30","30% Tropical Cyclone Storm Surge Exceedance","m",UC_M2Feet -10,3,244,"TCSRG40","40% Tropical Cyclone Storm Surge Exceedance","m",UC_M2Feet -10,3,245,"TCSRG50","50% Tropical Cyclone Storm Surge Exceedance","m",UC_M2Feet -10,3,246,"TCSRG60","60% Tropical Cyclone Storm Surge Exceedance","m",UC_M2Feet -10,3,247,"TCSRG70","70% Tropical Cyclone Storm Surge Exceedance","m",UC_M2Feet -10,3,248,"TCSRG80","80% Tropical Cyclone Storm Surge Exceedance","m",UC_M2Feet -10,3,249,"TCSRG90","90% Tropical Cyclone Storm Surge Exceedance","m",UC_M2Feet -10,3,250,"ETCWL","Extra Tropical Storm Surge Combined Surge and Tide","m",UC_M2Feet -10,3,251,"TIDE","Tide","m",UC_M2Feet -10,3,252,"EROSNP","Erosion Occurrence Probability","%",UC_NONE -10,3,253,"OWASHP","Overwash Occurrence Probability","%",UC_NONE -10,4,192,"WTMPC","3-D Temperature","deg C",UC_NONE -10,4,193,"SALIN","3-D Salinity","",UC_NONE -10,4,194,"BKENG","Barotropic Kinetic Energy","J/kg",UC_NONE -10,4,195,"DBSS","Geometric Depth Below Sea Surface","m",UC_NONE -10,4,196,"INTFD","Interface Depths","m",UC_NONE -10,4,197,"OHC","Ocean Heat Content","J/m^2",UC_NONE diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_NDFD.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_NDFD.csv deleted file mode 100644 index f59b2d0c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_NDFD.csv +++ /dev/null @@ -1,38 +0,0 @@ -prod,cat,subcat,short_name,name,unit,unit_conv -0,0,193,"ApparentT","Apparent Temperature","K",UC_K2F -0,0,205,"WBGT","Wet Bulb Globe Temperature","K",UC_K2F -0,1,192,"Wx","Weather string","-",UC_NONE -0,1,193,"PPI","Precipitation Potential Index","%",UC_NONE -0,1,227,"IceAccum","Ice Accumulation","kg/m^2",UC_InchWater -0,10,8,"PoP12","Prob of 0.01 In. of Precip","%",UC_NONE -0,13,194,"smokes","Surface level smoke from fires","log10(10^-6g/m^3)",UC_LOG10 -0,13,195,"smokec","Average vertical column smoke from fires","log10(10^-6g/m^3)",UC_LOG10 -0,14,192,"O3MR","Ozone Mixing Ratio","kg/kg",UC_NONE -0,14,193,"OZCON","Ozone Concentration","PPB",UC_NONE -0,14,200,"OZMAX1","Ozone Daily Max from 1-hour Average","ppbV",UC_NONE -0,14,201,"OZMAX8","Ozone Daily Max from 8-hour Average","ppbV",UC_NONE -0,19,194,"ConvOutlook","Convective Hazard Outlook","0=none; 2=tstm; 4=slight; 6=moderate; 8=high",UC_NONE -0,19,197,"TornadoProb","Tornado Probability","%",UC_NONE -0,19,198,"HailProb","Hail Probability","%",UC_NONE -0,19,199,"WindProb","Damaging Thunderstorm Wind Probability","%",UC_NONE -0,19,200,"XtrmTornProb","Extreme Tornado Probability","%",UC_NONE -0,19,201,"XtrmHailProb","Extreme Hail Probability","%",UC_NONE -0,19,202,"XtrmWindProb","Extreme Thunderstorm Wind Probability","%",UC_NONE -0,19,215,"TotalSvrProb","Total Probability of Severe Thunderstorms","%",UC_NONE -0,19,216,"TotalXtrmProb","Total Probability of Extreme Severe Thunderstorms","%",UC_NONE -0,19,217,"WWA","Watch Warning Advisory","-",UC_NONE -0,19,235,"TCWind","Tropical Cyclone Wind Threat","0=none; 4=low; 6=moderate; 8=high; 10=extreme",UC_NONE -0,19,236,"TCSurge","Tropical Cyclone Storm Surge Threat","0=none; 4=low; 6=moderate; 8=high; 10=extreme",UC_NONE -0,19,238,"TCRain","Tropical Cyclone Flooding Rain Threat","0=none; 4=low; 6=moderate; 8=high; 10=extreme",UC_NONE -0,19,239,"TCTornado","Tropical Cyclone Tornado Threat","0=none; 4=low; 6=moderate; 8=high; 10=extreme",UC_NONE -0,19,246,"SNOWLVL","Snow Level","m",UC_M2Feet -0,19,203,"TotalSvrProb","Total Probability of Severe Thunderstorms","%",UC_NONE -0,19,204,"TotalXtrmProb","Total Probability of Extreme Severe Thunderstorms","%",UC_NONE -0,192,192,"FireWx","Critical Fire Weather","%",UC_NONE -0,192,194,"DryLightning","Dry Lightning","%",UC_NONE -2,1,192,"CANL","Cold Advisory for Newborn Livestock","0=none; 2=slight; 4=mild; 6=moderate; 8=severe; 10=extreme",UC_NONE -10,3,192,"Surge","Hurricane Storm Surge","m",UC_M2Feet -10,3,193,"ETSurge","Extra Tropical Storm Surge","m",UC_M2Feet -10,3,250,"StormTide","Storm Surge and Tide","m",UC_M2Feet -10,3,251,"Tide","Tide","m",UC_M2Feet -0,1,198,"MinRH","Minimum Relative Humidity","%",UC_NONE diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_index.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_index.csv deleted file mode 100644 index c96caa9e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_2_local_index.csv +++ /dev/null @@ -1,7 +0,0 @@ -center_code,subcenter_code,filename -7,5,grib2_table_4_2_local_HPC.csv -7,,grib2_table_4_2_local_NCEP.csv -8,0,grib2_table_4_2_local_NDFD.csv -8,65535,grib2_table_4_2_local_NDFD.csv -54,,grib2_table_4_2_local_Canada.csv -161,,grib2_table_4_2_local_MRMS.csv diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_5.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_5.csv deleted file mode 100644 index acc6972b..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_4_5.csv +++ /dev/null @@ -1,261 +0,0 @@ -"code","short_name","name","unit" --4,"######################################################################################################","#","#" --3,"DO NOT MODIFY THIS FILE. It is generated by frmts/grib/degrib/merge_degrib_and_wmo_tables.py","#","#" --2,"from tables at version https://github.com/wmo-im/GRIB2/commit/a3711da874bc936639c4e4f26fa91c4b02659e61","#","#" --1,"######################################################################################################","#","#" -0,"RESERVED","Reserved","-" -1,"SFC","Ground or water surface","-" -2,"CBL","Cloud base level","-" -3,"CTL","Level of cloud tops","-" -4,"0DEG","Level of 0 degree C isotherm","-" -5,"ADCL","Level of adiabatic condensation lifted from the surface","-" -6,"MWSL","Maximum wind level","-" -7,"TRO","Tropopause","-" -8,"NTAT","Nominal top of atmosphere","-" -9,"SEAB","Sea bottom","-" -10,"EATM","Entire Atmosphere","-" -11,"CB","Cumulonimbus Base","m" -12,"CT","Cumulonimbus Top","m" -13,"unknown","Lowest level where vertically integrated cloud cover exceeds the specified percentage (cloud base for a given percentage cloud cover)","%" -14,"LFC","Level of free convection","-" -15,"CCL","Convection condensation level","-" -16,"LNB","Level of neutral buoyancy or equilibrium","-" -17,"","Departure level of the most unstable parcel of air (MUDL)","-" -18,"","Departure level of a mixed layer parcel of air with specified layer depth","Pa" -19,"","Reserved","-" -20,"TMPL","Isothermal level","K" -21,"","Lowest level where mass density exceeds the specified value (base for a given threshold of mass density)","kg m-3" -22,"","Highest level where mass density exceeds the specified value (top for a given threshold of mass density)","kg m-3" -23,"","Lowest level where air concentration exceeds the specified value (base for a given threshold of air concentration)","Bq m-3" -24,"","Highest level where air concentration exceeds the specified value (top for a given threshold of air concentration)","Bq m-3" -25,"","Highest level where radar reflectivity exceeds the specified value (echo top for a given threshold of reflectivity)","dBZ" -26,"","Convective cloud layer base","m" -27,"","Convective cloud layer top","m" -28,"","Reserved","-" -29,"","Reserved","-" -30,"","Specified radius from the center of the Sun","m" -31,"","Solar photosphere","-" -32,"","Ionospheric D-region level","-" -33,"","Ionospheric E-region level","-" -34,"","Ionospheric F1-region level","-" -35,"","Ionospheric F2-region level","-" -36,"","Reserved","-" -37,"","Reserved","-" -38,"","Reserved","-" -39,"","Reserved","-" -40,"","Reserved","-" -41,"","Reserved","-" -42,"","Reserved","-" -43,"","Reserved","-" -44,"","Reserved","-" -45,"","Reserved","-" -46,"","Reserved","-" -47,"","Reserved","-" -48,"","Reserved","-" -49,"","Reserved","-" -50,"","Reserved","-" -51,"","Reserved","-" -52,"","Reserved","-" -53,"","Reserved","-" -54,"","Reserved","-" -55,"","Reserved","-" -56,"","Reserved","-" -57,"","Reserved","-" -58,"","Reserved","-" -59,"","Reserved","-" -60,"","Reserved","-" -61,"","Reserved","-" -62,"","Reserved","-" -63,"","Reserved","-" -64,"","Reserved","-" -65,"","Reserved","-" -66,"","Reserved","-" -67,"","Reserved","-" -68,"","Reserved","-" -69,"","Reserved","-" -70,"","Reserved","-" -71,"","Reserved","-" -72,"","Reserved","-" -73,"","Reserved","-" -74,"","Reserved","-" -75,"","Reserved","-" -76,"","Reserved","-" -77,"","Reserved","-" -78,"","Reserved","-" -79,"","Reserved","-" -80,"","Reserved","-" -81,"","Reserved","-" -82,"","Reserved","-" -83,"","Reserved","-" -84,"","Reserved","-" -85,"","Reserved","-" -86,"","Reserved","-" -87,"","Reserved","-" -88,"","Reserved","-" -89,"","Reserved","-" -90,"","Reserved","-" -91,"","Reserved","-" -92,"","Reserved","-" -93,"","Reserved","-" -94,"","Reserved","-" -95,"","Reserved","-" -96,"","Reserved","-" -97,"","Reserved","-" -98,"","Reserved","-" -99,"","Reserved","-" -100,"ISBL","Isobaric surface","Pa" -101,"MSL","Mean sea level","-" -102,"GPML","Specific altitude above mean sea level","m" -103,"HTGL","Specified height level above ground","m" -104,"SIGL","Sigma level","'sigma' value" -105,"HYBL","Hybrid level","-" -106,"DBLL","Depth below land surface","m" -107,"THEL","Isentropic (theta) level","K" -108,"SPDL","Level at specified pressure difference from ground to level","Pa" -109,"PVL","Potential vorticity surface","(K m^2)/(kg s)" -110,"RESERVED","Reserved","-" -111,"EtaL","Eta* level","-" -112,"RESERVED","Reserved","-" -113,"","Logarithmic hybrid level","-" -114,"SNOWLVL","Snow Level","m" -115,"","Sigma height level","-" -116,"","Reserved","-" -117,"unknown","Mixed layer depth","m" -118,"","Hybrid height level","-" -119,"","Hybrid pressure level","-" -120,"","Reserved","-" -121,"","Reserved","-" -122,"","Reserved","-" -123,"","Reserved","-" -124,"","Reserved","-" -125,"","Reserved","-" -126,"","Reserved","-" -127,"","Reserved","-" -128,"","Reserved","-" -129,"","Reserved","-" -130,"","Reserved","-" -131,"","Reserved","-" -132,"","Reserved","-" -133,"","Reserved","-" -134,"","Reserved","-" -135,"","Reserved","-" -136,"","Reserved","-" -137,"","Reserved","-" -138,"","Reserved","-" -139,"","Reserved","-" -140,"","Reserved","-" -141,"","Reserved","-" -142,"","Reserved","-" -143,"","Reserved","-" -144,"","Reserved","-" -145,"","Reserved","-" -146,"","Reserved","-" -147,"","Reserved","-" -148,"","Reserved","-" -149,"","Reserved","-" -150,"GVHC","Generalized Vertical Height Coordinate","-" -151,"","Soil level","Numeric" -152,"","Sea-ice level","Numeric" -153,"","Reserved","-" -154,"","Reserved","-" -155,"","Reserved","-" -156,"","Reserved","-" -157,"","Reserved","-" -158,"","Reserved","-" -159,"","Reserved","-" -160,"DBSL","Depth below sea level","m" -161,"","Depth below water surface","m" -162,"","Lake or river bottom","-" -163,"","Bottom of sediment layer","-" -164,"","Bottom of thermally active sediment layer","-" -165,"","Bottom of sediment layer penetrated by thermal wave","-" -166,"","Mixing layer","-" -167,"","Bottom of root zone","-" -168,"","Ocean model level","Numeric" -169,"","Ocean level defined by water density (sigma-theta) difference from near-surface to level","kg m-3" -170,"","Ocean level defined by water potential temperature difference from near-surface to level","K" -171,"","Ocean level defined by vertical eddy diffusivity difference from near-surface to level","m2 s-1" -172,"","Reserved","-" -173,"","Reserved","-" -174,"","Top surface of ice on sea, lake or river","-" -175,"","Top surface of ice, under snow cover, on sea, lake or river","-" -176,"","Bottom surface (underside) ice on sea, lake or river","-" -177,"","Deep soil (of indefinite depth)","-" -178,"","Reserved","-" -179,"","Top surface of glacier ice and inland ice","-" -180,"","Deep inland or glacier ice (of indefinite depth)","-" -181,"","Grid tile land fraction as a model surface","-" -182,"","Grid tile water fraction as a model surface","-" -183,"","Grid tile ice fraction on sea, lake or river as a model surface","-" -184,"","Grid tile glacier ice and inland ice fraction as a model surface","-" -185,"","Reserved","-" -186,"","Reserved","-" -187,"","Reserved","-" -188,"","Reserved","-" -189,"","Reserved","-" -190,"","Reserved","-" -191,"","Reserved","-" -192,"RESERVED","Reserved Local use","-" -193,"","Reserved for local use","-" -194,"","Reserved for local use","-" -195,"","Reserved for local use","-" -196,"","Reserved for local use","-" -197,"","Reserved for local use","-" -198,"","Reserved for local use","-" -199,"","Reserved for local use","-" -200,"EATM","Entire atmosphere (considered as a single layer)","-" -201,"EOCN","Entire ocean (considered as a single layer)","-" -202,"","Reserved for local use","-" -203,"","Reserved for local use","-" -204,"HTFL","Highest tropospheric freezing level","-" -205,"","Reserved for local use","-" -206,"GCBL","Grid scale cloud bottom level","-" -207,"GCTL","Grid scale cloud top level","-" -208,"","Reserved for local use","-" -209,"BCBL","Boundary layer cloud bottom level","-" -210,"BCTL","Boundary layer cloud top level","-" -211,"BCY","Boundary layer cloud level","-" -212,"LCBL","Low cloud bottom level","-" -213,"LCTL","Low cloud top level","-" -214,"LCY","Low cloud level","-" -215,"CEIL","Cloud ceiling","-" -216,"","Reserved for local use","-" -217,"","Reserved for local use","-" -218,"","Reserved for local use","-" -219,"","Reserved for local use","-" -220,"","Reserved for local use","-" -221,"","Reserved for local use","-" -222,"MCBL","Middle cloud bottom level","-" -223,"MCTL","Middle cloud top level","-" -224,"MCY","Middle cloud level","-" -225,"","Reserved for local use","-" -226,"","Reserved for local use","-" -227,"","Reserved for local use","-" -228,"","Reserved for local use","-" -229,"","Reserved for local use","-" -230,"","Reserved for local use","-" -231,"","Reserved for local use","-" -232,"HCBL","High cloud bottom level","-" -233,"HCTL","High cloud top level","-" -234,"HCY","High cloud level","-" -235,"OITL","Ocean Isotherm Level (1/10 deg C)","-" -236,"OLYR","Layer between two depths below ocean surface","-" -237,"OBML","Bottom of Ocean Mixed Layer (m)","-" -238,"OBIL","Bottom of Ocean Isothermal Layer (m)","-" -239,"","Reserved for local use","-" -240,"","Reserved for local use","-" -241,"","Reserved for local use","-" -242,"CCBL","Convective cloud bottom level","-" -243,"CCTL","Convective cloud top level","-" -244,"CCY","Convective cloud level","-" -245,"LLTW","Lowest level of the wet bulb zero","-" -246,"MTHE","Maximum equivalent potential temperature level","-" -247,"EHLT","Equilibrium level","-" -248,"SCBL","Shallow convective cloud bottom level","-" -249,"SCTL","Shallow convective cloud top level","-" -250,"","Reserved for local use","-" -251,"DCBL","Deep convective cloud bottom level","-" -252,"DCTL","Deep convective cloud top level","-" -253,"LBLSW","Lowest bottom level of supercooled liquid water layer","-" -254,"HTLSW","Highest top level of supercooled liquid water layer","-" -255,"MISSING","Missing","-" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_versions.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_versions.csv deleted file mode 100644 index 3d36a828..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/grib2_table_versions.csv +++ /dev/null @@ -1,3 +0,0 @@ -component,version -wmo,v28.1 -degrib,2.25 diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gt_datum.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/gt_datum.csv deleted file mode 100644 index 9109176b..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gt_datum.csv +++ /dev/null @@ -1,229 +0,0 @@ -CODE,NAME,ELLIPSOID,DELTAX,SIGMAX,DELTAY,SIGMAY,DELTAZ,SIGMAZ,NORTH,SOUTH,WEST,EAST,ROTX,ROTY,ROTZ,SCALE -ADI-M,"ADINDAN, Mean",CD,-166,5,-15,5,204,3,-5,31,15,55 -ADI-A,"ADINDAN, Ethiopia",CD,-165,3,-11,3,206,3,-3,25,26,50 -ADI-B,"ADINDAN, Sudan",CD,-161,3,-14,5,205,3,-3,31,15,45 -ADI-C,"ADINDAN, Mali",CD,-123,25,-20,25,220,25,3,31,-20,11 -ADI-D,"ADINDAN, Senegal",CD,-128,25,-18,25,224,25,5,23,-24,-5 -ADI-E,"ADINDAN, Burkina Faso",CD,-118,25,-14,25,218,25,4,22,-12,8 -ADI-F,"ADINDAN, Cameroon",CD,-134,25,-2,25,210,25,-4,19,3,23 -AFG,"AFGOOYE, Somalia",KA,-43,25,-163,25,45,25,-8,19,35,60 -AIA,"ANTIGUA ISLAND ASTRO 1943",CD,-270,25,13,25,62,25,16,20,-65,-61 -AIN-A,"AIN EL ABD 1970, Bahrain",IN,-150,25,-250,25,-1,25,24,28,49,53 -AIN-B,"AIN EL ABD 1970, Saudi Arabia",IN,-143,10,-236,10,7,10,8,38,28,62 -AMA,"AMERICAN SAMOA 1962",CC,-115,25,118,25,426,25,-19,-9,-174,-165 -ANO,"ANNA 1 ASTRO 1965, Cocos Is.",AN,-491,25,-22,25,435,25,-14,-10,94,99 -ARF-M,"ARC 1950, Mean",CD,-143,20,-90,33,-294,20,-36,10,4,42 -ARF-A,"ARC 1950, Botswana",CD,-138,3,-105,5,-289,3,-33,-13,13,36 -ARF-B,"ARC 1950, Lesotho",CD,-125,3,-108,3,-295,8,-36,-23,21,35 -ARF-C,"ARC 1950, Malawi",CD,-161,9,-73,24,-317,8,-21,-3,26,42 -ARF-D,"ARC 1950, Swaziland",CD,-134,15,-105,15,-295,15,-33,-20,25,40 -ARF-E,"ARC 1950, Zaire",CD,-169,25,-19,25,-278,25,-21,10,4,38 -ARF-F,"ARC 1950, Zambia",CD,-147,21,-74,21,-283,27,-24,-1,15,40 -ARF-G,"ARC 1950, Zimbabwe",CD,-142,5,-96,8,-293,11,-29,-9,19,39 -ARF-H,"ARC 1950, Burundi",CD,-153,20,-5,20,-292,20,-11,4,21,37 -ARS-M,"ARC 1960, Kenya & Tanzania",CD,-160,20,-6,20,-302,20,-18,8,23,47 -ARS-A,"ARC 1960, Kenya",CD,-157,4,-2,3,-299,3,-11,8,28,47 -ARS-B,"ARC 1960, Tanzania",CD,-175,6,-23,9,-303,10,-18,5,23,47 -ASC,"ASCENSION ISLAND 1958",IN,-205,25,107,25,53,25,-9,-6,-16,-13 -ASM,"MONTSERRAT ISLAND ASTRO 1958",CD,174,25,359,25,365,25,15,18,-64,-61 -ASQ,"ASTRO STATION 1952, Marcus Is.",IN,124,25,-234,25,-25,25,22,26,152,156 -ATF,"ASTRO BEACON E 1945, Iwo Jima",IN,145,25,75,25,-272,25,22,26,140,144 -AUA,"AUSTRALIAN GEODETIC 1966",AN,-133,3,-48,3,148,3,-46,-4,109,161 -AUG,"AUSTRALIAN GEODETIC 1984",AN,-134,2,-48,2,149,2,-46,-4,109,161 -BAT,"DJAKARTA, INDONESIA",BR,-377,3,681,3,-50,3,-16,11,89,146 -BID,"BISSAU, Guinea-Bissau",IN,-173,25,253,25,27,25,5,19,-23,-7 -BER,"BERMUDA 1957, Bermuda Islands",CC,-73,20,213,20,296,20,31,34,-66,-63 -BOO,"BOGOTA OBSERVATORY, Colombia",IN,307,6,304,5,-318,6,-10,16,-85,-61 -BUR,"BUKIT RIMPAH, Banka & Belitung",BR,-384,-1,664,-1,-48,-1,-6,0,103,110 -CAC,"CAPE CANAVERAL, Fla & Bahamas",CC,-2,3,151,3,181,3,15,38,-94,-58 -CAI,"CAMPO INCHAUSPE 1969, Arg.",IN,-148,5,136,5,90,5,-62,-20,-76,-47 -CAO,"CANTON ASTRO 1966, Phoenix Is.",IN,298,15,-304,15,-375,15,-13,3,-180,-165 -CAP,"CAPE, South Africa",CD,-136,3,-108,6,-292,6,-43,-15,10,40 -CAZ,"CAMP AREA ASTRO, Camp McMurdo",IN,-104,-1,-129,-1,239,-1,-85,-70,135,180 -CCD,"S-JTSK, Czech Republic",BR,589,4,76,2,480,3,43,56,6,28 -CGE,"CARTHAGE, Tunisia",CD,-263,6,6,9,431,8,24,43,2,18 -CHI,"CHATHAM ISLAND ASTRO 1971, NZ",IN,175,15,-38,15,113,15,-46,-42,-180,-174 -CHU,"CHUA ASTRO, Paraguay",IN,-134,6,229,9,-29,5,-33,-14,-69,-49 -COA,"CORREGO ALEGRE, Brazil",IN,-206,5,172,3,-6,5,-39,9,-80,-29 -DAL,"DABOLA, Guinea",CD,-83,15,37,15,124,15,1,19,-18,-4 -DID,"DECEPTION ISLAND",CD,260,20,12,20,-147,20,-65,-62,-62,-58 -DOB,"GUX 1 ASTRO, Guadalcanal Is.",IN,252,25,-209,25,-751,25,-12,-8,158,163 -EAS,"EASTER ISLAND 1967",IN,211,25,147,25,111,25,-29,-26,-111,-108 -ENW,"WAKE-ENIWETOK 1960",HO,102,3,52,3,-38,3,1,16,159,175 -EST,"ESTONIA, 1937",BR,374,2,150,3,588,3,52,65,16,34 -EUR-M,"EUROPEAN 1950, Mean (3 Param)",IN,-87,3,-98,8,-121,5,30,80,5,33 -EUR-A,"EUROPEAN 1950, Western Europe",IN,-87,3,-96,3,-120,3,30,78,-15,25 -EUR-B,"EUROPEAN 1950, Greece",IN,-84,25,-95,25,-130,25,30,48,14,34 -EUR-C,"EUROPEAN 1950, Norway & Finland",IN,-87,3,-95,5,-120,3,52,80,-2,38 -EUR-D,"EUROPEAN 1950, Portugal & Spain",IN,-84,5,-107,6,-120,3,30,49,-15,10 -EUR-E,"EUROPEAN 1950, Cyprus",IN,-104,15,-101,15,-140,15,33,37,31,36 -EUR-F,"EUROPEAN 1950, Egypt",IN,-130,6,-117,8,-151,8,16,38,19,42 -EUR-G,"EUROPEAN 1950, England, Channel",IN,-86,3,-96,3,-120,3,48,62,-10,3 -EUR-H,"EUROPEAN 1950, Iran",IN,-117,9,-132,12,-164,11,19,47,37,69 -EUR-I,"EUROPEAN 1950, Sardinia(Italy)",IN,-97,25,-103,25,-120,25,37,43,6,12 -EUR-J,"EUROPEAN 1950, Sicily(Italy)",IN,-97,20,-88,20,-135,20,35,40,10,17 -EUR-K,"EUROPEAN 1950, England, Ireland",IN,-86,3,-96,3,-120,3,48,62,-12,3 -EUR-L,"EUROPEAN 1950, Malta",IN,-107,25,-88,25,-149,25,34,38,12,16 -EUR-S,"EUROPEAN 1950, Iraq, Israel",IN,-103,-1,-106,-1,-141,-1,20,48,24,60 -EUR-T,"EUROPEAN 1950, Tunisia",IN,-112,25,-77,25,-145,25,24,43,2,18 -EUS,"EUROPEAN 1979",IN,-86,3,-98,3,-119,3,30,80,-15,24 -FAH,"OMAN",CD,-346,3,-1,3,224,9,10,32,46,65 -FLO,"OBSERVATORIO MET. 1939, Flores",IN,-425,20,-169,20,81,20,38,41,-33,-30 -FOT,"FORT THOMAS 1955, Leeward Is.",CD,-7,25,215,25,225,25,16,19,-64,-61 -GAA,"GAN 1970, Rep. of Maldives",IN,-133,25,-321,25,50,25,-2,9,71,75 -GEO,"GEODETIC DATUM 1949, NZ",IN,84,5,-22,3,209,5,-48,-33,165,180 -GIZ,"DOS 1968, Gizo Island",IN,230,25,-199,25,-752,25,-10,-7,155,158 -GRA,"GRACIOSA BASE SW 1948, Azores",IN,-104,3,167,3,-38,3,37,41,-30,-26 -GUA,"GUAM 1963",CC,-100,3,-248,3,259,3,12,15,143,146 -GSE,"GUNUNG SEGARA, Indonesia",BR,-403,-1,684,-1,41,-1,-6,9,106,121 -HEN,"HERAT NORTH, Afghanistan",IN,-333,-1,-222,-1,114,-1,23,44,55,81 -HER,"HERMANNSKOGEL, old Yugoslavia",BR,682,-1,-203,-1,480,-1,35,52,7,29 -HIT,"PROVISIONAL SOUTH CHILEAN 1963",IN,16,25,196,25,93,25,-64,-25,-83,-60 -HJO,"HJORSEY 1955, Iceland",IN,-73,3,46,3,-86,6,61,69,-27,-11 -HKD,"HONG KONG 1963",IN,-156,25,-271,25,-189,25,21,24,112,116 -HTN,"HU-TZU-SHAN, Taiwan",IN,-637,15,-549,15,-203,15,20,28,117,124 -IBE,"BELLEVUE (IGN), Efate Is.",IN,-127,20,-769,20,472,20,-20,-16,167,171 -IDN,"INDONESIAN 1974",ID,-24,25,-15,25,5,25,-16,11,89,146 -IND-B,"INDIAN, Bangladesh",EA,282,10,726,8,254,12,15,33,80,100 -IND-I,"INDIAN, India & Nepal",EC,295,12,736,10,257,15,2,44,62,105 -IND-P,"INDIAN, Pakistan",EF,283,-1,682,-1,231,-1,17,44,55,81 -INF-A,"INDIAN 1954, Thailand",EA,217,15,823,6,299,12,0,27,91,111 -ING-A,"INDIAN 1960, Vietnam 16N",EA,198,25,881,25,317,25,2,30,101,115 -ING-B,"INDIAN 1960, Con Son Island",EA,182,25,915,25,344,25,6,11,104,109 -INH-A,"INDIAN 1975, Thailand",EA,209,12,818,10,290,12,0,27,91,111 -INH-A1,"INDIAN 1975, Thailand",EA,210,3,814,2,289,3,0,27,91,111 -IRL,"IRELAND 1965",AM,506,3,-122,3,611,3,50,57,-12,-4 -ISG,"ISTS 061 ASTRO 1968, S Georgia",IN,-794,25,119,25,-298,25,-56,-52,-38,-34 -IST,"ISTS 073 ASTRO 1969, Diego Garc",IN,208,25,-435,25,-229,25,-10,-4,69,75 -JOH,"JOHNSTON ISLAND 1961",IN,189,25,-79,25,-202,25,15,19,-171,-168 -KAN,"KANDAWALA, Sri Lanka",EA,-97,20,787,20,86,20,4,12,77,85 -KEG,"KERGUELEN ISLAND 1949",IN,145,25,-187,25,103,25,-52,-47,65,74 -KEA,"KERTAU 1948, W Malaysia & Sing.",EE,-11,10,851,8,5,6,-5,12,94,112 -KUS,"KUSAIE ASTRO 1951, Caroline Is.",IN,647,25,1777,25,-1124,25,-1,12,134,167 -LCF,"L.C. 5 ASTRO 1961, Cayman Brac",CC,42,25,124,25,147,25,18,21,-83,-78 -LEH,"LEIGON, Ghana",CD,-130,2,29,3,364,2,-1,17,-9,7 -LIB,"LIBERIA 1964",CD,-90,15,40,15,88,15,-1,14,-17,-1 -LUZ-A,"LUZON, Philippines",CC,-133,8,-77,11,-51,9,3,23,115,128 -LUZ-B,"LUZON, Mindanao Island",CC,-133,25,-79,25,-72,25,4,12,120,128 -MAS,"MASSAWA, Ethiopia",BR,639,25,405,25,60,25,7,25,37,53 -MER,"MERCHICH, Morocco",CD,31,5,146,3,47,3,22,42,-19,5 -MID,"MIDWAY ASTRO 1961, Midway Is.",IN,403,25,-81,25,277,25,25,30,-180,-169 -MIK,"MAHE 1971, Mahe Is.",CD,41,25,-220,25,-134,25,-6,-3,54,57 -MIN-A,"MINNA, Cameroon",CD,-81,25,-84,25,115,25,-4,19,3,23 -MIN-B,"MINNA, Nigeria",CD,-92,3,-93,6,122,5,-1,21,-4,20 -MOD,"ROME 1940, Sardinia",IN,-225,25,-65,25,9,25,37,43,6,12 -MPO,"M'PORALOKO, Gabon",CD,-74,25,-130,25,42,25,-10,8,3,20 -MVS,"VITI LEVU 1916, Viti Levu Is.",CD,51,25,391,25,-36,25,-20,-16,176,180 -NAH-A,"NAHRWAN, Masirah Island (Oman)",CD,-247,25,-148,25,369,25,19,22,57,60 -NAH-B,"NAHRWAN, United Arab Emirates",CD,-249,25,-156,25,381,25,17,32,45,62 -NAH-C,"NAHRWAN, Saudi Arabia",CD,-243,20,-192,20,477,20,8,38,28,62 -NAP,"NAPARIMA, Trinidad & Tobago",IN,-10,15,375,15,165,15,8,13,-64,-59 -NAR-A,"NORTH AMERICAN 1983, Alaska",RF,0,2,0,2,0,2,48,78,-175,-135 -NAR-B,"NORTH AMERICAN 1983, Canada",RF,0,2,0,2,0,2,36,90,-150,-50 -NAR-C,"NORTH AMERICAN 1983, CONUS",RF,0,2,0,2,0,2,15,60,-135,-60 -NAR-D,"NORTH AMERICAN 1983, Mexico",RF,0,2,0,2,0,2,11,35,-122,-72 -NAR-E,"NORTH AMERICAN 1983, Aleutian",RF,-2,5,0,2,4,5,51,74,-180,180 -NAR-H,"NORTH AMERICAN 1983, Hawaii",RF,1,2,1,2,-1,2,17,24,-164,-153 -NAS-A,"NORTH AMERICAN 1927, Eastern US",CC,-9,5,161,5,179,8,18,55,-102,-60 -NAS-B,"NORTH AMERICAN 1927, Western US",CC,-8,5,159,3,175,3,19,55,-132,-87 -NAS-C,"NORTH AMERICAN 1927, CONUS",CC,-8,5,160,5,176,6,15,60,-135,-60 -NAS-D,"NORTH AMERICAN 1927, Alaska",CC,-5,5,135,9,172,5,47,78,-175,-130 -NAS-E,"NORTH AMERICAN 1927, Canada",CC,-10,15,158,11,187,6,36,90,-150,-50 -NAS-F,"NORTH AMERICAN 1927, Alberta/BC",CC,-7,8,162,8,188,6,43,65,-145,-105 -NAS-G,"NORTH AMERICAN 1927, E. Canada",CC,-22,6,160,6,190,3,38,68,-85,-45 -NAS-H,"NORTH AMERICAN 1927, Man/Ont",CC,-9,9,157,5,184,5,36,63,-108,-69 -NAS-I,"NORTH AMERICAN 1927, NW Terr.",CC,4,5,159,5,188,3,43,90,-144,-55 -NAS-J,"NORTH AMERICAN 1927, Yukon",CC,-7,5,139,8,181,3,53,75,-147,-117 -NAS-L,"NORTH AMERICAN 1927, Mexico",CC,-12,8,130,6,190,6,10,38,-122,-80 -NAS-N,"NORTH AMERICAN 1927, C. America",CC,0,8,125,3,194,5,3,25,-98,-77 -NAS-O,"NORTH AMERICAN 1927, Canal Zone",CC,0,20,125,20,201,20,3,15,-86,-74 -NAS-P,"NORTH AMERICAN 1927, Caribbean",CC,-3,3,142,9,183,12,8,29,-87,-58 -NAS-Q,"NORTH AMERICAN 1927, Bahamas",CC,-4,5,154,3,178,5,19,29,-83,-71 -NAS-R,"NORTH AMERICAN 1927, San Salv.",CC,1,25,140,25,165,25,23,26,-75,-74 -NAS-T,"NORTH AMERICAN 1927, Cuba",CC,-9,25,152,25,178,25,18,25,-87,-72 -NAS-U,"NORTH AMERICAN 1927, Greenland",CC,11,25,114,25,195,25,74,81,-74,-56 -NAS-V,"NORTH AMERICAN 1927, Aleutian E",CC,-2,6,152,8,149,10,50,58,-180,-161 -NAS-W,"NORTH AMERICAN 1927, Aleutian W",CC,2,10,204,10,105,10,50,58,169,180 -NSD,"NORTH SAHARA 1959, Algeria",CD,-186,25,-93,25,310,25,13,43,-15,18 -OEG,"OLD EGYPTIAN 1907",HE,-130,3,110,6,-13,8,16,38,19,42 -OGB-M,"ORDNANCE GB 1936, Mean (3 Para)",AA,375,10,-111,10,431,15,44,66,-14,7 -OGB-A,"ORDNANCE GB 1936, England",AA,371,5,-112,5,434,6,44,61,-12,7 -OGB-B,"ORDNANCE GB 1936, Eng., Wales",AA,371,10,-111,10,434,15,44,61,-12,7 -OGB-C,"ORDNANCE GB 1936, Scotland",AA,384,10,-111,10,425,10,49,66,-14,4 -OGB-D,"ORDNANCE GB 1936, Wales",AA,370,20,-108,20,434,20,46,59,-11,3 -OHA-M,"OLD HAWAIIAN (CC), Mean",CC,61,25,-285,20,-181,20,17,24,-164,-153 -OHA-A,"OLD HAWAIIAN (CC), Hawaii",CC,89,25,-279,25,-183,25,17,22,-158,-153 -OHA-B,"OLD HAWAIIAN (CC), Kauai",CC,45,20,-290,20,-172,20,20,24,-161,-158 -OHA-C,"OLD HAWAIIAN (CC), Maui",CC,65,25,-290,25,-190,25,19,23,-158,-154 -OHA-D,"OLD HAWAIIAN (CC), Oahu",CC,58,10,-283,6,-182,6,20,23,-160,-156 -OHI-M,"OLD HAWAIIAN (IN), Mean",IN,201,25,-228,20,-346,20,17,24,-164,-153 -OHI-A,"OLD HAWAIIAN (IN), Hawaii",IN,229,25,-222,25,-348,25,17,22,-158,-153 -OHI-B,"OLD HAWAIIAN (IN), Kauai",IN,185,20,-233,20,-337,20,20,24,-161,-158 -OHI-C,"OLD HAWAIIAN (IN), Maui",IN,205,25,-233,25,-355,25,19,23,-158,-154 -OHI-D,"OLD HAWAIIAN (IN), Oahu",IN,198,10,-226,6,-347,6,20,23,-160,-156 -PHA,"AYABELLE LIGHTHOUSE, Djibouti",CD,-79,25,-129,25,145,25,5,20,36,49 -PIT,"PITCAIRN ASTRO 1967",IN,185,25,165,25,42,25,-27,-21,-134,-119 -PLN,"PICO DE LAS NIEVES, Canary Is.",IN,-307,25,-92,25,127,25,26,31,-20,-12 -POS,"PORTO SANTO 1936, Madeira Is.",IN,-499,25,-249,25,314,25,31,35,-18,-15 -PRP-A,"PROV. S AMERICAN 1956, Bolivia",IN,-270,5,188,11,-388,14,-28,-4,-75,-51 -PRP-B,"PROV. S AMERICAN 1956, N Chile",IN,-270,25,183,25,-390,25,-45,-12,-83,-60 -PRP-C,"PROV. S AMERICAN 1956, S Chile",IN,-305,20,243,20,-442,20,-64,-20,-83,-60 -PRP-D,"PROV. S AMERICAN 1956, Colombia",IN,-282,15,169,15,-371,15,-10,16,-85,-61 -PRP-E,"PROV. S AMERICAN 1956, Ecuador",IN,-278,3,171,5,-367,3,-11,7,-85,-70 -PRP-F,"PROV. S AMERICAN 1956, Guyana",IN,-298,6,159,14,-369,5,-4,14,-67,-51 -PRP-G,"PROV. S AMERICAN 1956, Peru",IN,-279,6,175,8,-379,12,-24,5,-87,-63 -PRP-H,"PROV. S AMERICAN 1956, Venez",IN,-295,9,173,14,-371,15,-5,18,-79,-54 -PRP-M,"PROV. S AMERICAN 1956, Mean",IN,-288,17,175,27,-376,27,-64,18,-87,-51 -PTB,"POINT 58, Burkina Faso & Niger",CD,-106,25,-129,25,165,25,0,10,-15,25 -PTN,"POINT NOIRE 1948, Congo",CD,-148,25,51,25,-291,25,-11,10,5,25 -PUK,"PULKOVO 1942, Russia",KA,28,-1,-130,-1,-95,-1,36,89,-180,180 -PUR,"PUERTO RICO & Virgin Is.",CC,11,3,72,3,-101,3,16,20,-69,-63 -QAT,"QATAR NATIONAL",IN,-128,20,-283,20,22,20,19,32,45,57 -QUO,"QORNOQ, South Greenland",IN,164,25,138,25,-189,32,57,85,-77,-7 -REU,"REUNION, Mascarene Is.",IN,94,25,-948,25,-1262,25,-27,-12,47,65 -SAE,"SANTO (DOS) 1965",IN,170,25,42,25,84,25,-20,-11,163,172 -SAO,"SAO BRAZ, Santa Maria Is.",IN,-203,25,141,25,53,25,35,39,-27,-23 -SAP,"SAPPER HILL 1943, E Falkland Is",IN,-355,1,21,1,72,1,-54,-50,-61,-56 -SAN-M,"SOUTH AMERICAN 1969, Mean",SA,-57,15,1,6,-41,9,-65,-50,-90,-25 -SAN-A,"SOUTH AMERICAN 1969, Argentina",SA,-62,5,-1,5,-37,5,-62,-20,-76,-47 -SAN-B,"SOUTH AMERICAN 1969, Bolivia",SA,-61,15,2,15,-48,15,-28,-4,-75,-51 -SAN-C,"SOUTH AMERICAN 1969, Brazil",SA,-60,3,-2,5,-41,5,-39,9,-80,-29 -SAN-D,"SOUTH AMERICAN 1969, Chile",SA,-75,15,-1,8,-44,11,-64,-12,-83,-60 -SAN-E,"SOUTH AMERICAN 1969, Colombia",SA,-44,6,6,6,-36,5,-10,16,-85,-61 -SAN-F,"SOUTH AMERICAN 1969, Ecuador",SA,-48,3,3,3,-44,3,-11,7,-85,-70 -SAN-G,"SOUTH AMERICAN 1969, Guyana",SA,-53,9,3,5,-47,5,-4,14,-67,-51 -SAN-H,"SOUTH AMERICAN 1969, Paraguay",SA,-61,15,2,15,-33,15,-33,-14,-69,-49 -SAN-I,"SOUTH AMERICAN 1969, Peru",SA,-58,5,0,5,-44,5,-24,5,-87,-63 -SAN-J,"SOUTH AMERICAN 1969, Baltra",SA,-47,25,26,25,-42,25,-2,1,-92,-89 -SAN-K,"SOUTH AMERICAN 1969, Trinidad",SA,-45,25,12,25,-33,25,4,17,-68,-55 -SAN-L,"SOUTH AMERICAN 1969, Venezuela",SA,-45,3,8,6,-33,3,-5,18,-79,-54 -SCK,"SCHWARZECK, Namibia",BN,616,20,97,20,-251,20,-35,-11,5,31 -SGM,"SELVAGEM GRANDE 1938, Salvage Is,"I,N -28,9 2,5 -12,4 25,6,0 2,28,32,-18,-14 -SHB,"ASTRO DOS 71/4, St. Helena Is.",IN,-320,25,550,25,-494,25,-18,-14,-7,-4 -SOA,"SOUTH ASIA, Singapore",FA,7,25,-10,25,-26,25,0,3,102,106 -SPK-A,"S-42 (PULKOVO 1942), Hungary",KA,28,2,-121,2,-77,2,40,54,11,29 -SPK-B,"S-42 (PULKOVO 1942), Poland",KA,23,4,-124,2,-82,4,43,60,8,30 -SPK-C,"S-42 (PK42) Former Czechoslov.",KA,26,3,-121,3,-78,2,42,57,6,28 -SPK-D,"S-42 (PULKOVO 1942), Latvia",KA,24,2,-124,2,-82,2,50,64,15,34 -SPK-E,"S-42 (PK 1942), Kazakhstan",KA,15,25,-130,25,-84,25,35,62,41,93 -SPK-F,"S-42 (PULKOVO 1942), Albania",KA,24,3,-130,3,-92,3,34,48,14,26 -SPK-G,"S-42 (PULKOVO 1942), Romania",KA,28,3,-121,5,-77,3,38,54,15,35 -SRL,"SIERRA LEONE 1960",CD,-88,15,4,15,101,15,1,16,-19,-4 -TAN,"TANANARIVE OBSERVATORY 1925",IN,-189,-1,-242,-1,-91,-1,-34,-8,40,53 -TDC,"TRISTAN ASTRO 1968",IN,-632,25,438,25,-609,25,-39,-36,-14,-11 -TIL,"TIMBALAI 1948, Brunei & E Malay",EB,-679,10,669,10,-48,12,-5,15,101,125 -TOY-A,"TOKYO, Japan",BR,-148,8,507,5,685,8,19,51,119,156 -TOY-B,"TOKYO, South Korea",BR,-146,8,507,5,687,8,27,45,120,139 -TOY-B1,"TOKYO, South Korea",BR,-147,2,506,2,687,2,27,45,120,139 -TOY-C,"TOKYO, Okinawa",BR,-158,20,507,5,676,20,19,31,119,134 -TOY-M,"TOKYO, Mean",BR,-148,20,507,5,685,20,23,53,120,155 -TRN,"ASTRO TERN ISLAND (FRIG) 1961",IN,114,25,-116,25,-333,25,22,26,-168,-164 -VOI,"VOIROL 1874, Algeria",CD,-73,-1,-247,-1,227,-1,13,43,-15,18 -VOR,"VOIROL 1960, Algeria",CD,-123,25,-206,25,219,25,13,43,-15,18 -WAK,"WAKE ISLAND ASTRO 1952",IN,276,25,-57,25,149,25,17,21,164,168 -YAC,"YACARE, Uruguay",IN,-155,-1,171,-1,37,-1,-40,-25,-65,-47 -ZAN,"ZANDERIJ, Suriname",IN,-265,5,120,5,-358,8,-10,20,-76,-47 -KGS,"KOREAN GEO DATUM 1995, S Korea",WE,0,1,0,1,0,1,27,45,120,139 -SIR,"SIRGAS, South America",RF,0,1,0,1,0,1,-65,-50,-90,-25 -EUR-7,"EUROPEAN 1950, Mean (7 Param)",IN,-102,,-102,,-129,,,,,0.413,-0.184,0.385,0.0000024664 -OGB-7,"ORDNANCE GB 1936, Mean (7 Para)",AA,446,,-99,,544,,,,,,-0.945,-0.261,-0.435,-0.0000208927 diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gt_ellips.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/gt_ellips.csv deleted file mode 100644 index 2dd3b3a1..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/gt_ellips.csv +++ /dev/null @@ -1,24 +0,0 @@ -NAME,CODE,A,B,RF -Airy 1830 ,AA,6377563.396,6356256.9090,299.324964600 -Modified Airy ,AM,6377340.189,6356034.4480,299.324964600 -Australian National ,AN,6378160.000,6356774.7190,298.250000000 -Bessel 1841(Namibia) ,BN,6377483.865,6356165.3830,299.152812800 -Bessel 1841 ,BR,6377397.155,6356078.9630,299.152812800 -Clarke 1866 ,CC,6378206.400,6356583.8000,294.978698200 -Clarke 1880 ,CD,6378249.145,6356514.8700,293.465000000 -Everest (India 1830) ,EA,6377276.345,6356075.4130,300.801700000 -Everest (E. Malasia, Brunei) ,EB,6377298.556,6356097.5500,300.801700000 -Everest 1956 (India) ,EC,6377301.243,6356100.2280,300.801700000 -Everest 1969 (West Malasia) ,ED,6377295.664,6356094.6680,300.801700000 -Everest 1948(W.Mals. & Sing.) ,EE,6377304.063,6356103.0390,300.801700000 -Everest (Pakistan) ,EF,6377309.613,6356109.5710,300.801700000 -Mod. Fischer 1960(South Asia) ,FA,6378155.000,6356773.3200,298.300000000 -Helmert 1906 ,HE,6378200.000,6356818.1700,298.300000000 -Hough 1960 ,HO,6378270.000,6356794.3430,297.000000000 -Indonesian 1974 ,ID,6378160.000,6356774.5040,298.247000000 -International 1924 ,IN,6378388.000,6356911.9460,297.000000000 -Krassovsky 1940 ,KA,6378245.000,6356863.0190,298.300000000 -GRS 80 ,RF,6378137.000,6356752.3141,298.257222101 -South American 1969 ,SA,6378160.000,6356774.7190,298.250000000 -WGS 72 ,WD,6378135.000,6356750.5200,298.260000000 -WGS 84 ,WE,6378137.000,6356752.3142,298.257223563 diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/header.dxf b/.venv/lib/python3.12/site-packages/fiona/gdal_data/header.dxf deleted file mode 100644 index 3cf13f49..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/header.dxf +++ /dev/null @@ -1,1124 +0,0 @@ - 0 -SECTION - 2 -HEADER - 9 -$ACADVER - 1 -AC1018 - 9 -$ACADMAINTVER - 70 - 0 - 9 -$DWGCODEPAGE - 3 -ANSI_1252 - 9 -$EXTMIN - 10 -30.0 - 20 -49.75 - 30 -0.0 - 9 -$EXTMAX - 10 -130.5 - 20 -163.1318914119703 - 30 -0.0 - 9 -$LIMMIN - 10 -0.0 - 20 -0.0 - 9 -$LIMMAX - 10 -12.0 - 20 -9.0 - 9 -$ORTHOMODE - 70 - 0 - 9 -$REGENMODE - 70 - 1 - 9 -$FILLMODE - 70 - 1 - 9 -$QTEXTMODE - 70 - 0 - 9 -$MIRRTEXT - 70 - 1 - 9 -$LTSCALE - 40 -1.0 - 9 -$ATTMODE - 70 - 1 - 9 -$TEXTSIZE - 40 -0.2 - 9 -$TRACEWID - 40 -0.05 - 9 -$TEXTSTYLE - 7 -Standard - 9 -$CLAYER - 8 -0 - 9 -$CELTYPE - 6 -ByLayer - 9 -$CECOLOR - 62 - 256 - 9 -$CELTSCALE - 40 -1.0 - 9 -$DISPSILH - 70 - 0 - 9 -$LUNITS - 70 - 2 - 9 -$LUPREC - 70 - 4 - 9 -$SKETCHINC - 40 -0.1 - 9 -$FILLETRAD - 40 -0.5 - 9 -$AUNITS - 70 - 0 - 9 -$AUPREC - 70 - 0 - 9 -$MENU - 1 -. - 9 -$ELEVATION - 40 -0.0 - 9 -$PELEVATION - 40 -0.0 - 9 -$THICKNESS - 40 -0.0 - 9 -$LIMCHECK - 70 - 0 - 9 -$CHAMFERA - 40 -0.5 - 9 -$CHAMFERB - 40 -0.5 - 9 -$CHAMFERC - 40 -1.0 - 9 -$CHAMFERD - 40 -0.0 - 9 -$SKPOLY - 70 - 0 - 9 -$ANGBASE - 50 -0.0 - 9 -$ANGDIR - 70 - 0 - 9 -$PDMODE - 70 - 0 - 9 -$PDSIZE - 40 -0.0 - 9 -$PLINEWID - 40 -0.0 - 9 -$SPLFRAME - 70 - 0 - 9 -$SPLINETYPE - 70 - 6 - 9 -$SPLINESEGS - 70 - 8 - 9 -$HANDSEED - 5 -44 - 9 -$SURFTAB1 - 70 - 6 - 9 -$SURFTAB2 - 70 - 6 - 9 -$SURFTYPE - 70 - 6 - 9 -$SURFU - 70 - 6 - 9 -$SURFV - 70 - 6 - 9 -$UCSBASE - 2 - - 9 -$UCSNAME - 2 - - 9 -$UCSORG - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$UCSXDIR - 10 -1.0 - 20 -0.0 - 30 -0.0 - 9 -$UCSYDIR - 10 -0.0 - 20 -1.0 - 30 -0.0 - 9 -$UCSORTHOREF - 2 - - 9 -$UCSORTHOVIEW - 70 - 0 - 9 -$UCSORGTOP - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$UCSORGBOTTOM - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$UCSORGLEFT - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$UCSORGRIGHT - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$UCSORGFRONT - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$UCSORGBACK - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$PUCSBASE - 2 - - 9 -$PUCSNAME - 2 - - 9 -$PUCSORG - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$PUCSXDIR - 10 -1.0 - 20 -0.0 - 30 -0.0 - 9 -$PUCSYDIR - 10 -0.0 - 20 -1.0 - 30 -0.0 - 9 -$PUCSORTHOREF - 2 - - 9 -$PUCSORTHOVIEW - 70 - 0 - 9 -$PUCSORGTOP - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$PUCSORGBOTTOM - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$PUCSORGLEFT - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$PUCSORGRIGHT - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$PUCSORGFRONT - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$PUCSORGBACK - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$WORLDVIEW - 70 - 1 - 9 -$SHADEDGE - 70 - 3 - 9 -$SHADEDIF - 70 - 70 - 9 -$TILEMODE - 70 - 1 - 9 -$MAXACTVP - 70 - 64 - 9 -$PINSBASE - 10 -0.0 - 20 -0.0 - 30 -0.0 - 9 -$PLIMCHECK - 70 - 0 - 9 -$PEXTMIN - 10 -1.000000000000000E+20 - 20 -1.000000000000000E+20 - 30 -1.000000000000000E+20 - 9 -$PEXTMAX - 10 --1.000000000000000E+20 - 20 --1.000000000000000E+20 - 30 --1.000000000000000E+20 - 9 -$PLIMMIN - 10 -0.0 - 20 -0.0 - 9 -$PLIMMAX - 10 -12.0 - 20 -9.0 - 9 -$UNITMODE - 70 - 0 - 9 -$VISRETAIN - 70 - 1 - 9 -$PLINEGEN - 70 - 0 - 9 -$PSLTSCALE - 70 - 1 - 9 -$TREEDEPTH - 70 - 3020 - 9 -$CMLSTYLE - 2 -Standard - 9 -$CMLJUST - 70 - 0 - 9 -$CMLSCALE - 40 -1.0 - 9 -$PROXYGRAPHICS - 70 - 1 - 9 -$MEASUREMENT - 70 - 0 - 9 -$CELWEIGHT -370 - -1 - 9 -$ENDCAPS -280 - 0 - 9 -$JOINSTYLE -280 - 0 - 9 -$LWDISPLAY -290 - 0 - 9 -$INSUNITS - 70 - 1 - 9 -$HYPERLINKBASE - 1 - - 9 -$STYLESHEET - 1 - - 9 -$XEDIT -290 - 1 - 9 -$CEPSNTYPE -380 - 0 - 9 -$PSTYLEMODE -290 - 1 - 9 -$EXTNAMES -290 - 1 - 9 -$PSVPSCALE - 40 -0.0 - 9 -$OLESTARTUP -290 - 0 - 9 -$SORTENTS -280 - 127 - 9 -$INDEXCTL -280 - 0 - 9 -$HIDETEXT -280 - 1 - 9 -$XCLIPFRAME -290 - 0 - 9 -$HALOGAP -280 - 0 - 9 -$OBSCOLOR - 70 - 257 - 9 -$OBSLTYPE -280 - 0 - 9 -$INTERSECTIONDISPLAY -280 - 0 - 9 -$INTERSECTIONCOLOR - 70 - 257 - 9 -$DIMASSOC -280 - 2 - 9 -$PROJECTNAME - 1 - - 0 -ENDSEC - 0 -SECTION - 2 -CLASSES - 0 -CLASS - 1 -ACDBDICTIONARYWDFLT - 2 -AcDbDictionaryWithDefault - 3 -ObjectDBX Classes - 90 - 0 - 91 - 4 -280 - 0 -281 - 0 - 0 -ENDSEC - 0 -SECTION - 2 -TABLES - 0 -TABLE - 2 -VPORT - 5 -8 -330 -0 -100 -AcDbSymbolTable - 70 - 1 - 0 -VPORT - 5 -29 -330 -8 -100 -AcDbSymbolTableRecord -100 -AcDbViewportTableRecord - 2 -*Active - 70 - 0 - 10 -0.0 - 20 -0.0 - 11 -1.0 - 21 -1.0 - 12 -80.25 - 22 -106.4409457059851 - 13 -0.0 - 23 -0.0 - 14 -0.5 - 24 -0.5 - 15 -0.5 - 25 -0.5 - 16 -0.0 - 26 -0.0 - 36 -1.0 - 17 -0.0 - 27 -0.0 - 37 -0.0 - 40 -113.3818914119703 - 41 -0.8863849310366128 - 42 -50.0 - 43 -0.0 - 44 -0.0 - 50 -0.0 - 51 -0.0 - 71 - 0 - 72 - 1000 - 73 - 1 - 74 - 3 - 75 - 0 - 76 - 0 - 77 - 0 - 78 - 0 -281 - 0 - 65 - 1 -110 -0.0 -120 -0.0 -130 -0.0 -111 -1.0 -121 -0.0 -131 -0.0 -112 -0.0 -122 -1.0 -132 -0.0 - 79 - 0 -146 -0.0 - 0 -ENDTAB - 0 -TABLE - 2 -LTYPE - 5 -5 -330 -0 -100 -AcDbSymbolTable - 70 - 1 - 0 -LTYPE - 5 -14 -330 -5 -100 -AcDbSymbolTableRecord -100 -AcDbLinetypeTableRecord - 2 -ByBlock - 70 - 0 - 3 - - 72 - 65 - 73 - 0 - 40 -0.0 - 0 -LTYPE - 5 -15 -330 -5 -100 -AcDbSymbolTableRecord -100 -AcDbLinetypeTableRecord - 2 -ByLayer - 70 - 0 - 3 - - 72 - 65 - 73 - 0 - 40 -0.0 - 0 -LTYPE - 5 -16 -330 -5 -100 -AcDbSymbolTableRecord -100 -AcDbLinetypeTableRecord - 2 -Continuous - 70 - 0 - 3 -Solid line - 72 - 65 - 73 - 0 - 40 -0.0 - 0 -ENDTAB - 0 -TABLE - 2 -LAYER - 5 -2 -330 -0 -100 -AcDbSymbolTable - 70 - 1 - 0 -LAYER - 5 -10 -330 -2 -100 -AcDbSymbolTableRecord -100 -AcDbLayerTableRecord - 2 -0 - 70 - 0 - 62 - 7 - 6 -Continuous -370 - -3 -390 -F - 0 -ENDTAB - 0 -TABLE - 2 -STYLE - 5 -3 -330 -0 -100 -AcDbSymbolTable - 70 - 1 - 0 -STYLE - 5 -11 -330 -3 -100 -AcDbSymbolTableRecord -100 -AcDbTextStyleTableRecord - 2 -Standard - 70 - 0 - 40 -0.0 - 41 -1.0 - 50 -0.0 - 71 - 0 - 42 -0.2 - 3 -txt - 4 - - 0 -ENDTAB - 0 -TABLE - 2 -VIEW - 5 -6 -330 -0 -100 -AcDbSymbolTable - 70 - 0 - 0 -ENDTAB - 0 -TABLE - 2 -UCS - 5 -7 -330 -0 -100 -AcDbSymbolTable - 70 - 0 - 0 -ENDTAB - 0 -TABLE - 2 -APPID - 5 -9 -330 -0 -100 -AcDbSymbolTable - 70 - 1 - 0 -APPID - 5 -12 -330 -9 -100 -AcDbSymbolTableRecord -100 -AcDbRegAppTableRecord - 2 -ACAD - 70 - 0 - 0 -ENDTAB - 0 -TABLE - 2 -DIMSTYLE - 5 -A -330 -0 -100 -AcDbSymbolTable - 70 - 1 -100 -AcDbDimStyleTable - 0 -DIMSTYLE -105 -27 -330 -A -100 -AcDbSymbolTableRecord -100 -AcDbDimStyleTableRecord - 2 -Standard - 70 - 0 -340 -11 - 0 -ENDTAB - 0 -TABLE - 2 -BLOCK_RECORD - 5 -1 -330 -0 -100 -AcDbSymbolTable - 70 - 1 - 0 -BLOCK_RECORD - 5 -1F -330 -1 -100 -AcDbSymbolTableRecord -100 -AcDbBlockTableRecord - 2 -*Model_Space -340 -22 - 0 -BLOCK_RECORD - 5 -1B -330 -1 -100 -AcDbSymbolTableRecord -100 -AcDbBlockTableRecord - 2 -*Paper_Space -340 -1E - 0 -ENDTAB - 0 -ENDSEC - 0 -SECTION - 2 -BLOCKS - 0 -BLOCK - 5 -20 -330 -1F -100 -AcDbEntity - 8 -0 -100 -AcDbBlockBegin - 2 -*Model_Space - 70 - 0 - 10 -0.0 - 20 -0.0 - 30 -0.0 - 3 -*Model_Space - 1 - - 0 -ENDBLK - 5 -21 -330 -1F -100 -AcDbEntity - 8 -0 -100 -AcDbBlockEnd - 0 -BLOCK - 5 -1C -330 -1B -100 -AcDbEntity - 67 - 1 - 8 -0 -100 -AcDbBlockBegin - 2 -*Paper_Space - 70 - 0 - 10 -0.0 - 20 -0.0 - 30 -0.0 - 3 -*Paper_Space - 1 - - 0 -ENDBLK - 5 -1D -330 -1B -100 -AcDbEntity - 67 - 1 - 8 -0 -100 -AcDbBlockEnd - 0 -ENDSEC - 0 -SECTION - 2 -ENTITIES diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_BasicPropertyUnit.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_BasicPropertyUnit.gfs deleted file mode 100644 index 43e0f474..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_BasicPropertyUnit.gfs +++ /dev/null @@ -1,57 +0,0 @@ - - - BasicPropertyUnit - BasicPropertyUnit - None - - inspireId_localId - inspireId|Identifier|localId - String - - - inspireId_namespace - inspireId|Identifier|namespace - String - - - nationalCadastralReference - nationalCadastralReference - String - - - areaValue - areaValue - Real - - - areaValue_uom - areaValue@uom - String - - - validFrom - validFrom - String - - - validTo - validTo - String - - - beginLifespanVersion - beginLifespanVersion - String - - - endLifespanVersion - endLifespanVersion - String - - - administrativeUnit_href - administrativeUnit@href - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_CadastralBoundary.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_CadastralBoundary.gfs deleted file mode 100644 index 6b271308..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_CadastralBoundary.gfs +++ /dev/null @@ -1,60 +0,0 @@ - - - CadastralBoundary - CadastralBoundary - - geometry - LineString - - - beginLifespanVersion - beginLifespanVersion - String - - - endLifespanVersion - endLifespanVersion - String - - - - - estimatedAccuracy - estimatedAccuracy - Real - - - estimatedAccuracy_uom - estimatedAccuracy@uom - String - - - - inspireId_localId - inspireId|Identifier|localId - String - - - inspireId_namespace - inspireId|Identifier|namespace - String - - - - validFrom - validFrom - String - - - validTo - validTo - String - - - - parcel_href - parcel@href - StringList - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_CadastralParcel.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_CadastralParcel.gfs deleted file mode 100644 index 129b0e2c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_CadastralParcel.gfs +++ /dev/null @@ -1,81 +0,0 @@ - - - CadastralParcel - CadastralParcel - - geometry - geometry - MultiPolygon - - - referencePoint - referencePoint - Point - - - areaValue - areaValue - Real - - - areaValue_uom - areaValue@uom - String - - - beginLifespanVersion - beginLifespanVersion - String - - - endLifespanVersion - endLifespanVersion - String - - - inspireId_localId - inspireId|Identifier|localId - String - - - inspireId_namespace - inspireId|Identifier|namespace - String - - - label - label - String - - - nationalCadastralReference - nationalCadastralReference - String - - - validFrom - validFrom - String - - - validTo - validTo - String - - - basicPropertyUnit_href - basicPropertyUnit@href - StringList - - - administrativeUnit_href - administrativeUnit@href - String - - - zoning_href - zoning@href - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_CadastralZoning.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_CadastralZoning.gfs deleted file mode 100644 index e564dff6..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/inspire_cp_CadastralZoning.gfs +++ /dev/null @@ -1,161 +0,0 @@ - - - CadastralZoning - CadastralZoning - - - geometry - geometry - MultiPolygon - - - referencePoint - referencePoint - Point - - - - beginLifespanVersion - beginLifespanVersion - String - - - endLifespanVersion - endLifespanVersion - String - - - - estimatedAccuracy - estimatedAccuracy - Real - - - estimatedAccuracy_uom - estimatedAccuracy@uom - String - - - - inspireId_localId - inspireId|Identifier|localId - String - - - inspireId_namespace - inspireId|Identifier|namespace - String - - - - label - label - String - - - - level - level - String - - - - levelName - levelName|LocalisedCharacterString - StringList - - - levelName_locale - levelName|LocalisedCharacterString@locale - StringList - - - - - - name_language - name|GeographicalName|language - StringList - - - name_nativeness - name|GeographicalName|nativeness - StringList - - - name_nameStatus - name|GeographicalName|nameStatus - StringList - - - name_pronunciation - name|GeographicalName|pronunciation - StringList - - - name_spelling_text - name|GeographicalName|spelling|SpellingOfName|text - StringList - - - name_spelling_script - name|GeographicalName|spelling|SpellingOfName|script - StringList - - - - nationalCadastalZoningReference - nationalCadastalZoningReference - String - - - - originalMapScaleDenominator - originalMapScaleDenominator - Integer - - - - validFrom - validFrom - String - - - validTo - validTo - String - - - - upperLevelUnit_href - upperLevelUnit@href - String - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_AdmArea.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_AdmArea.gfs deleted file mode 100644 index 00ff3055..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_AdmArea.gfs +++ /dev/null @@ -1,59 +0,0 @@ - - - AdmArea - AdmArea - urn:ogc:def:crs:EPSG::6668 - area - Polygon - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - admCode - admCode - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_AdmBdry.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_AdmBdry.gfs deleted file mode 100644 index fda59185..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_AdmBdry.gfs +++ /dev/null @@ -1,49 +0,0 @@ - - - AdmBdry - AdmBdry - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_AdmPt.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_AdmPt.gfs deleted file mode 100644 index 13717e08..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_AdmPt.gfs +++ /dev/null @@ -1,59 +0,0 @@ - - - AdmPt - AdmPt - urn:ogc:def:crs:EPSG::6668 - pos - Point - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - admCode - admCode - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_BldA.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_BldA.gfs deleted file mode 100644 index fac24332..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_BldA.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - BldA - BldA - urn:ogc:def:crs:EPSG::6668 - area - Polygon - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_BldL.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_BldL.gfs deleted file mode 100644 index 5b8f9ce0..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_BldL.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - BldL - BldL - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_Cntr.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_Cntr.gfs deleted file mode 100644 index a06ee674..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_Cntr.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - Cntr - Cntr - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - alti - alti - Real - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_CommBdry.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_CommBdry.gfs deleted file mode 100644 index ac865f51..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_CommBdry.gfs +++ /dev/null @@ -1,49 +0,0 @@ - - - CommBdry - CommBdry - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_CommPt.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_CommPt.gfs deleted file mode 100644 index 425b587e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_CommPt.gfs +++ /dev/null @@ -1,59 +0,0 @@ - - - CommPt - CommPt - urn:ogc:def:crs:EPSG::6668 - pos - Point - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - admCode - admCode - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_Cstline.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_Cstline.gfs deleted file mode 100644 index 4cca3f2e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_Cstline.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - Cstline - Cstline - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_ElevPt.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_ElevPt.gfs deleted file mode 100644 index 970fbe60..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_ElevPt.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - ElevPt - ElevPt - urn:ogc:def:crs:EPSG::6668 - pos - Point - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - alti - alti - Real - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_GCP.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_GCP.gfs deleted file mode 100644 index a3cf4ef9..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_GCP.gfs +++ /dev/null @@ -1,94 +0,0 @@ - - - GCP - GCP - urn:ogc:def:crs:EPSG::6668 - pos - Point - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - advNo - advNo - String - - - orgName - orgName - String - - - type - type - String - - - gcpClass - gcpClass - String - - - gcpCode - gcpCode - String - - - name - name - String - - - B - B - Real - - - L - L - Real - - - alti - alti - Real - - - altiAcc - altiAcc - Integer - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_LeveeEdge.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_LeveeEdge.gfs deleted file mode 100644 index 7263fa17..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_LeveeEdge.gfs +++ /dev/null @@ -1,49 +0,0 @@ - - - LeveeEdge - LeveeEdge - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RailCL.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RailCL.gfs deleted file mode 100644 index e1ec0708..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RailCL.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - RailCL - RailCL - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdASL.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdASL.gfs deleted file mode 100644 index 1b413d36..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdASL.gfs +++ /dev/null @@ -1,44 +0,0 @@ - - - RdASL - RdASL - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdArea.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdArea.gfs deleted file mode 100644 index 9c242b39..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdArea.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - RdArea - RdArea - urn:ogc:def:crs:EPSG::6668 - area - Polygon - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - name - name - String - - - admOffice - admOffice - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdCompt.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdCompt.gfs deleted file mode 100644 index 4af814db..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdCompt.gfs +++ /dev/null @@ -1,59 +0,0 @@ - - - RdCompt - RdCompt - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - admOffice - admOffice - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdEdg.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdEdg.gfs deleted file mode 100644 index b43a96c4..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdEdg.gfs +++ /dev/null @@ -1,59 +0,0 @@ - - - RdEdg - RdEdg - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - admOffice - admOffice - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdMgtBdry.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdMgtBdry.gfs deleted file mode 100644 index de5eaf4b..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdMgtBdry.gfs +++ /dev/null @@ -1,49 +0,0 @@ - - - RdMgtBdry - RdMgtBdry - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdSgmtA.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdSgmtA.gfs deleted file mode 100644 index fbde9b97..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RdSgmtA.gfs +++ /dev/null @@ -1,59 +0,0 @@ - - - RdSgmtA - RdSgmtA - urn:ogc:def:crs:EPSG::6668 - area - Polygon - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - admOffice - admOffice - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RvrMgtBdry.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RvrMgtBdry.gfs deleted file mode 100644 index 1b25ef77..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_RvrMgtBdry.gfs +++ /dev/null @@ -1,49 +0,0 @@ - - - RvrMgtBdry - RvrMgtBdry - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_SBAPt.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_SBAPt.gfs deleted file mode 100644 index c3963009..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_SBAPt.gfs +++ /dev/null @@ -1,49 +0,0 @@ - - - SBAPt - SBAPt - urn:ogc:def:crs:EPSG::6668 - pos - Point - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - sbaNo - sbaNo - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_SBArea.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_SBArea.gfs deleted file mode 100644 index 5f351f0a..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_SBArea.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - SBArea - SBArea - urn:ogc:def:crs:EPSG::6668 - area - Polygon - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - sbaNo - sbaNo - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_SBBdry.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_SBBdry.gfs deleted file mode 100644 index ba24e530..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_SBBdry.gfs +++ /dev/null @@ -1,44 +0,0 @@ - - - SBBdry - SBBdry - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WA.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WA.gfs deleted file mode 100644 index 9c442330..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WA.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - WA - WA - urn:ogc:def:crs:EPSG::6668 - area - Polygon - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WL.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WL.gfs deleted file mode 100644 index f57fa5a6..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WL.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - WL - WL - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WStrA.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WStrA.gfs deleted file mode 100644 index 9e3ecb21..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WStrA.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - WStrA - WStrA - urn:ogc:def:crs:EPSG::6668 - area - Polygon - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WStrL.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WStrL.gfs deleted file mode 100644 index a5c09dae..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/jpfgdgml_WStrL.gfs +++ /dev/null @@ -1,54 +0,0 @@ - - - WStrL - WStrL - urn:ogc:def:crs:EPSG::6668 - loc - LineString - - fid - fid - String - - - lfSpanFr - lfSpanFr|timePosition - String - - - lfSpanTo - lfSpanTo|timePosition - String - - - devDate - devDate|timePosition - String - - - orgGILvl - orgGILvl - String - - - orgMDId - orgMDId - String - - - vis - vis - String - - - type - type - String - - - name - name - String - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/netcdf_config.xsd b/.venv/lib/python3.12/site-packages/fiona/gdal_data/netcdf_config.xsd deleted file mode 100644 index 5d6acc2a..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/netcdf_config.xsd +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - Define a layer creation option that applies to all layers. - - - - - Define a global attribute that must be written (or removed) and applies to all layers. - - - - - Define the characteristics of an OGR field / netCDF variable that applies to all layers (that actually uses it) - - - - - Define layer specific settings for layer creaetion options, fields and attributes. - - - - - - - - - - - - - - - - Value to set as attribute, or empty string - to delete an existing attribute - - - - - - - - - - - - - - - - - - Define an attribute that must be written (or removed) from a OGR field / netCDF variable. - - - - - OGR field name. - - - netCDF variable name. When both name - and netcdf_name are set, the OGR field {name} will be written as the - netCDF {netcdf_name} variable. When netcdf_name is set, but name is none, - then the Field definition will match an implicitly created netCDF variable, - such as x/lon, y/lat, z, ... - - - - - Name of the main dimension against which the variable must be indexed. - If not set, the record dimension will be used. Only useful when using - a layer with FeatureType!=Point. - - - - - - - - - Define a layer creation option. Overrides or appended to - existing global layer creation options. - - - - - Define a global attribute that must be written (or removed). - Overrides or appended to existing global attributes. - - - - - Define the characteristics of an OGR field / netCDF variable - (that must exist as an explicit OGR field, or an implicitly created netCDF variable). - Supersedes global Field definition. - - - - - OGR layer name. - - - netCDF group name. - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/nitf_spec.xml b/.venv/lib/python3.12/site-packages/fiona/gdal_data/nitf_spec.xml deleted file mode 100644 index f029aaff..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/nitf_spec.xml +++ /dev/null @@ -1,2711 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/nitf_spec.xsd b/.venv/lib/python3.12/site-packages/fiona/gdal_data/nitf_spec.xsd deleted file mode 100644 index 611ac94e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/nitf_spec.xsd +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ogrvrt.xsd b/.venv/lib/python3.12/site-packages/fiona/gdal_data/ogrvrt.xsd deleted file mode 100644 index 90749922..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ogrvrt.xsd +++ /dev/null @@ -1,541 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Required element - - - - - Optional element - - - - - SrcLayer or(eclusive) SrcSQL are required elements - - - - - - - - - - - - - - - - Use GeometryField.GeometryType for multi-geometry field support. - - - - - Use GeometryField.SRS for multi-geometry field support. - - - - - May be repeated - - - - - May be repeated - - - - - Use GeometryField.SrcRegion for multi-geometry field support. - - - - - Default to FALSE. - - - - - - Use GeometryField.ExtentXMin, etc... for multi-geometry field support. - - - - - - - - - - - - - - - - - - - - - - - - - - - User-facing name of the FID column. - - - - - - - - - - - - - - - - - - - - - Default to FALSE. - - - - - - Default to FALSE. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defaults to the value of "name" if not specified. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Defaults to Direct. - - - - - Name of the geometry field - - - - - Only used if encoding = "PointFromColumns" - - - - - Only used if encoding = "PointFromColumns" - - - - - Only used if encoding = "PointFromColumns" - - - - - Only used if encoding = "PointFromColumns" - - - - - Only used if encoding = "PointFromColumns". Defaults to TRUE. - - - - - Only used if no Field element is found at the OGRVRTLayer level - - - - - - - - - - - - - - - - - - - - - - - Used if encoding = "WKT", "WKB" or "Shape" to find - the attribute field of the source layer. - Used also in multiple geometry fields scenario to retrieve the - source geometry field matching the target VRT geometry field. - - - - - - - - - - - - Defaults to FALSE. - - - - - - - - - A valid WKT for a POLYGON - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - May be repeated - - - - - May be repeated - - - - - May be repeated - - - - - - Use GeometryField.GeometryType for multi-geometry field support. - - - - - Use GeometryField.SRS for multi-geometry field support. - - - - - Defaults to Union if no Field or GeometryField element is specified. - - - - - May be repeated - - - - - May be repeated - - - - - Defaults to FALSE. - - - - - Name of fields in which to place the name of the source layer of each feature. - - - - - - Use GeometryField.ExtentXMin, etc. for multi-geometry field support. - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/osmconf.ini b/.venv/lib/python3.12/site-packages/fiona/gdal_data/osmconf.ini deleted file mode 100644 index 91e5ebc9..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/osmconf.ini +++ /dev/null @@ -1,127 +0,0 @@ -# -# Configuration file for OSM import -# - -# put here the name of keys, or key=value, for ways that are assumed to be polygons if they are closed -# see http://wiki.openstreetmap.org/wiki/Map_Features -closed_ways_are_polygons=aeroway,amenity,boundary,building,craft,geological,historic,landuse,leisure,military,natural,office,place,shop,sport,tourism,highway=platform,public_transport=platform - -# Uncomment to avoid laundering of keys ( ':' turned into '_' ) -#attribute_name_laundering=no - -# Some tags, set on ways and when building multipolygons, multilinestrings or other_relations, -# are normally filtered out early, independent of the 'ignore' configuration below. -# Uncomment to disable early filtering. The 'ignore' lines below remain active. -#report_all_tags=yes - -# uncomment to report all nodes, including the ones without any (significant) tag -#report_all_nodes=yes - -# uncomment to report all ways, including the ones without any (significant) tag -#report_all_ways=yes - -[points] -# common attributes -osm_id=yes -osm_version=no -osm_timestamp=no -osm_uid=no -osm_user=no -osm_changeset=no - -# keys to report as OGR fields -attributes=name,barrier,highway,ref,address,is_in,place,man_made -# keys that, alone, are not significant enough to report a node as a OGR point -unsignificant=created_by,converted_by,source,time,ele,attribution -# keys that should NOT be reported in the "other_tags" field -ignore=created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME -# uncomment to avoid creation of "other_tags" field -#other_tags=no -# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive -#all_tags=yes - -[lines] -# common attributes -osm_id=yes -osm_version=no -osm_timestamp=no -osm_uid=no -osm_user=no -osm_changeset=no - -# keys to report as OGR fields -attributes=name,highway,waterway,aerialway,barrier,man_made,railway - -# type of attribute 'foo' can be changed with something like -#foo_type=Integer/Real/String/DateTime - -# keys that should NOT be reported in the "other_tags" field -ignore=created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME -# uncomment to avoid creation of "other_tags" field -#other_tags=no -# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive -#all_tags=yes - -#computed_attributes must appear before the keywords _type and _sql -computed_attributes=z_order -z_order_type=Integer -# Formula based on https://github.com/openstreetmap/osm2pgsql/blob/master/style.lua#L13 -# [foo] is substituted by value of tag foo. When substitution is not wished, the [ character can be escaped with \[ in literals -# Note for GDAL developers: if we change the below formula, make sure to edit ogrosmlayer.cpp since it has a hardcoded optimization for this very precise formula -z_order_sql="SELECT (CASE [highway] WHEN 'minor' THEN 3 WHEN 'road' THEN 3 WHEN 'unclassified' THEN 3 WHEN 'residential' THEN 3 WHEN 'tertiary_link' THEN 4 WHEN 'tertiary' THEN 4 WHEN 'secondary_link' THEN 6 WHEN 'secondary' THEN 6 WHEN 'primary_link' THEN 7 WHEN 'primary' THEN 7 WHEN 'trunk_link' THEN 8 WHEN 'trunk' THEN 8 WHEN 'motorway_link' THEN 9 WHEN 'motorway' THEN 9 ELSE 0 END) + (CASE WHEN [bridge] IN ('yes', 'true', '1') THEN 10 ELSE 0 END) + (CASE WHEN [tunnel] IN ('yes', 'true', '1') THEN -10 ELSE 0 END) + (CASE WHEN [railway] IS NOT NULL THEN 5 ELSE 0 END) + (CASE WHEN [layer] IS NOT NULL THEN 10 * CAST([layer] AS INTEGER) ELSE 0 END)" - -[multipolygons] -# common attributes -# note: for multipolygons, osm_id=yes instantiates a osm_id field for the id of relations -# and a osm_way_id field for the id of closed ways. Both fields are exclusively set. -osm_id=yes -osm_version=no -osm_timestamp=no -osm_uid=no -osm_user=no -osm_changeset=no - -# keys to report as OGR fields -attributes=name,type,aeroway,amenity,admin_level,barrier,boundary,building,craft,geological,historic,land_area,landuse,leisure,man_made,military,natural,office,place,shop,sport,tourism -# keys that should NOT be reported in the "other_tags" field -ignore=area,created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME -# uncomment to avoid creation of "other_tags" field -#other_tags=no -# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive -#all_tags=yes - -[multilinestrings] -# common attributes -osm_id=yes -osm_version=no -osm_timestamp=no -osm_uid=no -osm_user=no -osm_changeset=no - -# keys to report as OGR fields -attributes=name,type -# keys that should NOT be reported in the "other_tags" field -ignore=area,created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME -# uncomment to avoid creation of "other_tags" field -#other_tags=no -# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive -#all_tags=yes - -[other_relations] -# common attributes -osm_id=yes -osm_version=no -osm_timestamp=no -osm_uid=no -osm_user=no -osm_changeset=no - -# keys to report as OGR fields -attributes=name,type -# keys that should NOT be reported in the "other_tags" field -ignore=area,created_by,converted_by,source,time,ele,note,todo,openGeoDB:,fixme,FIXME -# uncomment to avoid creation of "other_tags" field -#other_tags=no -# uncomment to create "all_tags" field. "all_tags" and "other_tags" are exclusive -#all_tags=yes diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ozi_datum.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/ozi_datum.csv deleted file mode 100644 index 13676d16..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ozi_datum.csv +++ /dev/null @@ -1,131 +0,0 @@ -NAME,EPSG_DATUM_CODE,ELLIPSOID_CODE,DELTAX,DELTAY,DELTAZ -# -# Note : We have permission from Des Newman on behalf of OziExplorer to use this list. -# See : http://trac.osgeo.org/gdal/ticket/3929#comment:2 -# Note 2: EPSG_DATUM_CODE is used in priority to retrieve ellipsoid and datum shift values -# from the CSV files imported from EPSG database, that are more up-to-date. It -# overrides the values found in this file and from ozi_ellips.csv. See #3929 for more details. -# -Adindan,4201,5,-162,-12,206 # Africa - Eritrea, Ethiopia and Sudan -Afgooye,4205,15,-43,-163,45 # Somalia -Ain el Abd 1970,4204,14,-150,-251,-2 # Asia - Middle East - Bahrain, Kuwait and Saudi Arabia -Anna 1 Astro 1965,4708,2,-491,-22,435 # Cocos (Keeling) Islands -Arc 1950,4209,5,-143,-90,-294 # Africa - Botswana, Malawi, Zambia, Zimbabwe -Arc 1960,4210,5,-160,-8,-300 # Africa - Kenya, Tanzania and Uganda -Ascension Island 1958,4712,14,-207,107,52 # St Helena - Ascension Island -Astro B4 Sorol Atoll,4707,14,114,-116,-333 # USA - Hawaii - Tern Island and Sorel Atoll -Astro Beacon 1945,4709,14,145,75,-272 # Japan - Iwo Jima -Astro DOS 71/4,4710,14,-320,550,-494 # St Helena - St Helena Island -Astronomic Stn 1952,4711,14,124,-234,-25 # Japan - Minamitori-shima (Marcus Island) -Australian Geodetic 1966,4202,2,-133,-48,148 # Australasia - Australia and PNG - AGD66 -Australian Geodetic 1984,4203,2,-134,-48,149 # Australia - AGD84 -Australian Geocentric 1994 (GDA94),4283,11,0,0,0 # Australia - GDA94 -Austrian,4312,3,594,84,471 # MGI - Europe, Austria and former Yugoslavia -Bellevue (IGN),4714,14,-127,-769,472 # Vanuatu - southern islands -Bermuda 1957,4216,4,-73,213,296 # Bermuda -Bogota Observatory,4218,14,307,304,-318 # Colombia -Campo Inchauspe,4221,14,-148,136,90 # Argentina -Canton Astro 1966,4716,14,298,-304,-375 # Kiribati - Phoenix Islands -Cape,4222,5,-136,-108,-292 # Africa - Botswana and South Africa -Cape Canaveral,4717,4,-2,150,181 # North America - Bahamas and USA - Florida -Carthage,4223,5,-263,6,431 # Tunisia -CH-1903,4149,3,674,15,405 # Europe - Liechtenstein and Switzerland -Chatham 1971,4672,14,175,-38,113 # New Zealand - Chatham Islands -Chua Astro,4224,14,-134,229,-29 # South America - Brazil ; N Paraguay -Corrego Alegre,4225,14,-206,172,-6 # Brazil - Corrego Alegre -Djakarta (Batavia),4211,3,-377,681,-50 # Indonesia - Java -DOS 1968,,14,230,-199,-752 # Solomon Islands - Gizo Island : EPSG:4718 + EPSG:15805 (gcs.csv uses EPSG:15807) -Easter Island 1967,4719,14,211,147,111 # Chile - Easter Island -Egypt,,14,-130,-117,-151 # Egypt - EPSG code is 4199, but transformation parameters are missing in gcs.csv -European 1950,4230,14,-87,-98,-121 # Europe -European 1950 (Mean France),,14,-87,-96,-120 # Europe -France -European 1950 (Spain and Portugal),,14,-84,-107,-120 # Europe - Spain and Portugal -European 1979,4668,14,-86,-98,-119 # Europe - west -Finland Hayford,4123,14,-78,-231,-97 # Finland (KKJ) -Gandajika Base,4233,14,-133,-321,50 # Maldives -Geodetic Datum 1949,4272,14,84,-22,209 # New Zealand (NZGD49) -GGRS 87,4121,11,-199.87,74.79,246.62 # Greece -Guam 1963,4675,4,-100,-248,259 # Guam -GUX 1 Astro,4718,14,252,-209,-751 # Solomon Islands - Guadalcanal Island -Hartebeeshoek94,4148,20,0,0,0 # South Africa -Hermannskogel,3906,3,653,-212,449 # Boznia and Herzegovina; Croatia; FYR Macedonia; Montenegro; Serbia; Slovenia (MGI 1901) -Hjorsey 1955,4658,14,-73,46,-86 # Iceland -Hong Kong 1963,4739,14,-156,-271,-189 # China - Hong Kong -Hu-Tzu-Shan,4236,14,-634,-549,-201 # Taiwan -Indian Bangladesh,4682,6,289,734,257 # Bangladesh (Gulshan 303) -Indian Thailand,4240,6,214,836,303 # Thailand -Israeli,4281,23,-235,-85,264 # Asia - Middle East - Israel, Jordan and Palestine Territory (Palestine 1923) -Ireland 1965,4299,1,506,-122,611 # Europe - Ireland (Republic and Ulster) -ISTS 073 Astro 1969,4724,14,208,-435,-229 # British Indian Ocean Territory - Diego Garcia -Johnston Island,4725,14,191,-77,-204 # Johnston Island -Kandawala,4244,6,-97,787,86 # Sri Lanka -Kerguelen Island,4698,14,145,-187,103 # French Southern Territories - Kerguelen -Kertau 1948,4245,7,-11,851,5 # Asia - Malaysia (west) and Singapore -L.C. 5 Astro,4726,4,42,124,147 # Cayman Islands - Little Cayman and Cayman Brac -Liberia 1964,4251,5,-90,40,88 # Liberia -Luzon Mindanao,,4,-133,-79,-72 # Philippines - Mindanao (EPSG:4253 + EPSG:1162 Coordinate Transformation) -Luzon Philippines,4253,4,-133,-77,-51 # Philippines - excluding Mindanao -Mahe 1971,4256,5,41,-220,-134 # Seychelles -Marco Astro,4616,14,-289,-124,60 # Portugal - Selvagens islands (Madeira) -Massawa,4262,3,639,405,60 # Eritrea -Merchich,4261,5,31,146,47 # Morocco -Midway Astro 1961,4727,14,912,-58,1227 # Midway Islands - Sand and Eastern Islands -Minna,4263,5,-92,-93,122 # Nigeria -NAD27 Alaska,,4,-5,135,172 # Alaska (EPSG:4269 + EPSG:1176 Coordinate Transformation) -NAD27 Bahamas,,4,-4,154,178 # Bahamas (EPSG:4269 + EPSG:1177 Coordinate Transformation) -NAD27 Canada,,4,-10,158,187 # Canada (EPSG:4269 + EPSG:1172 Coordinate Transformation) -NAD27 Canal Zone,,4,0,125,201 # Panama (EPSG:4269 + EPSG:1184 Coordinate Transformation) -NAD27 Caribbean,,4,-7,152,178 # Caribbean -NAD27 Central,,4,0,125,194 # Central America (EPSG:4269 + EPSG:1171 Coordinate Transformation) -NAD27 CONUS,,4,-8,160,176 # Continental US (EPSG:4269 + EPSG:1173 Coordinate Transformation) -NAD27 Cuba,,4,-9,152,178 # Cuba (EPSG:4269 + EPSG:1185 Coordinate Transformation) -NAD27 Greenland,,4,11,114,195 # Greenland - Hayes Peninsula (EPSG:4269 + EPSG:1186 Coordinate Transformation) -NAD27 Mexico,,4,-12,130,190 # Mexico (EPSG:4269 + EPSG:1187 Coordinate Transformation) -NAD27 San Salvador,,4,1,140,165 # San Salvador (EPSG:4269 + EPSG:1178 Coordinate Transformation) -NAD83,4269,11,0,0,0 # North America -Nahrwn Masirah Ilnd,,5,-247,-148,369 # Oman - Masirah Island (EPSG:4270 + EPSG:1189) -Nahrwn Saudi Arbia,,5,-231,-196,482 # Saudi Arabia (EPSG:4270 + EPSG:1190) -Nahrwn United Arab,,5,-249,-156,381 # United Arab Emirates (UAE) (EPSG:4270 + EPSG:1191) -Naparima BWI,4271,14,-2,374,172 # Trinidad and Tobago - Tobago -NGO1948,4273,27,315,-217,528 # Norway -NTF France,4275,24,-168,-60,320 # France -Norsk,4817,27,278,93,474 # Norway (NGO 1948) -NZGD1949,4272,14,84,-22,209 # New Zealand -NZGD2000,4167,20,0,0,0 # New Zealand -Observatorio 1966,4182,14,-425,-169,81 # Portugal - western Azores -Old Egyptian,4229,12,-130,110,-13 # Egypt (1907) -Old Hawaiian,4135,4,61,-285,-181 # USA - Hawaii -Oman,4232,5,-346,-1,224 # Oman -Ord Srvy Grt Britn,4277,0,375,-111,431 # UK - Great Britain; Isle of Man -Pico De Las Nieves,4728,14,-307,-92,127 # Spain - Canary Islands -Pitcairn Astro 1967,4729,14,185,165,42 # Pitcairn Island -Potsdam Rauenberg DHDN,4314,3,606,23,413 # Germany -Prov So Amrican 1956,4248,14,-288,175,-376 # South America - PSAD56 -Prov So Chilean 1963,4254,14,16,196,93 # South America - Tierra del Fuego -Puerto Rico,4139,4,11,72,-101 # Caribbean - Puerto Rico and the Virgin Islands -Pulkovo 1942 (1),4284,15,28,-130,-95 # Europe - FSU -Pulkovo 1942 (2),4284,15,28,-130,-95 # Europe - FSU -Qatar National,4285,14,-128,-283,22 # Qatar -Qornoq,4287,14,164,138,-189 # Greenland -Reunion,4626,14,94,-948,-1262 # France - Reunion Island -Rijksdriehoeksmeting,4289,3,593,26,478 # Netherlands -Rome 1940,4806,14,-225,-65,9 # Italy - including San Marino and Vatican -RT 90,4124,3,498,-36,568 # Sweden -S42,4179,15,28,-121,-77 # Europe - eastern - S-42 -Santo (DOS),4730,14,170,42,84 # Vanuatu - northern islands -Sao Braz,4184,14,-203,141,53 # Portugal - eastern Azores -Sapper Hill 1943,4292,14,-355,16,74 # Falkland Islands -Schwarzeck,4293,21,616,97,-251 # Namibia -South American 1969,4291,16,-57,1,-41 # South America - SAD69 -South Asia,,8,7,-10,-26 # Singapore (unknown EPSG code) -Southeast Base,4615,14,-499,-249,314 # Porto Santo and Madeira Islands -Southwest Base,4183,14,-104,167,-38 # Faial, Graciosa, Pico, Sao Jorge and Terceira -Timbalai 1948,4298,6,-689,691,-46 # Asia - Brunei and East Malaysia -Tokyo,4301,3,-128,481,664 # Asia - Japan and Korea -Tristan Astro 1968,4734,14,-632,438,-609 # St Helena - Tristan da Cunha -Viti Levu 1916,4731,5,51,391,-36 # Fiji - Viti Levu -Wake-Eniwetok 1960,4732,13,101,52,-39 # Marshall Islands - Eniwetok, Kwajalein and Wake islands -WGS 72,4322,19,0,0,5 # World -WGS 84,4326,20,0,0,0 # World -Yacare,4309,14,-155,171,37 # Uruguay -Zanderij,4311,14,-265,120,-358 # Suriname diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ozi_ellips.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/ozi_ellips.csv deleted file mode 100644 index 071e39e5..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ozi_ellips.csv +++ /dev/null @@ -1,35 +0,0 @@ -ELLIPSOID_CODE,NAME,A,INVF -# -# Note : We have permission from Des Newman on behalf of OziExplorer to use this list. -# See : http://trac.osgeo.org/gdal/ticket/3929#comment:2 -# -0,Airy 1830,6377563.396,299.3249646 -1,Modified Airy,6377340.189,299.3249646 -2,Australian National,6378160.0,298.25 -3,Bessel 1841,6377397.155,299.1528128 -4,Clarke 1866,6378206.4,294.9786982 -5,Clarke 1880,6378249.145,293.465 -6,Everest (India 1830),6377276.345,300.8017 -7,Everest (1948),6377304.063,300.8017 -8,Modified Fischer 1960,6378155.0,298.3 -9,Everest (Pakistan),6377309.613,300.8017 -10,Indonesian 1974,6378160.0,298.247 -11,GRS 80,6378137.0,298.257222101 -12,Helmert 1906,6378200.0,298.3 -13,Hough 1960,6378270.0,297.0 -14,International 1924,6378388.0,297.0 -15,Krassovsky 1940,6378245.0,298.3 -16,South American 1969,6378160.0,298.25 -17,Everest (Malaysia 1969),6377295.664,300.8017 -18,Everest (Sabah Sarawak),6377298.556,300.8017 -19,WGS 72,6378135.0,298.26 -20,WGS 84,6378137.0,298.257223563 -21,Bessel 1841 (Namibia),6377483.865,299.1528128 -22,Everest (India 1956),6377301.243,300.8017 -23,Clarke 1880 Palestine,6378300.789,293.466 -24,Clarke 1880 IGN,6378249.2,293.466021 -25,Hayford 1909,6378388.0,296.959263 -26,Clarke 1858,6378350.87,294.26 -27,Bessel 1841 (Norway),6377492.0176,299.1528 -28,Plessis 1817 (France),6376523.0,308.6409971 -29,Hayford 1924,6378388.0,297.0 diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/pci_datum.txt b/.venv/lib/python3.12/site-packages/fiona/gdal_data/pci_datum.txt deleted file mode 100644 index faed0f5b..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/pci_datum.txt +++ /dev/null @@ -1,463 +0,0 @@ -! -! By email on December 2nd, 2010: -! -! I, Louis Burry, on behalf of PCI Geomatics agree to allow the ellips.txt -! and datum.txt file to be distributed under the GDAL open source license. -! -! Louis Burry -! VP Technology & Delivery -! PCI Geomatics -! -! NOTE: The range of "D900" to "D998" is set aside for -! the use of local customer development. -! -! And the range of "D-90" to "D-98" is set aside for -! the use of local customer development. -! -"DoD World Geodetic System 1984, DMA TR 8350.2" -"4 JUL 1997, Third Printing, Includes 3 JAN 2000 Updates" -"D-01","NAD27 (USA, NADCON)","E000","Conterminous U.S.","conus.los","conus.las" -"D-02","NAD83 (USA, NADCON)","E008","Conterminous U.S.","conus.los","conus.las" -"D-03","NAD27 (Canada, NTv1)","E000","Canada","grid.dac" -"D-04","NAD83 (Canada, NTv1)","E008","Canada","grid.dac" -"D-07","NAD27 (USA, NADCON)","E000","Alaska","alaska.los","alaska.las" -"D-08","NAD83 (USA, NADCON)","E008","Alaska","alaska.los","alaska.las" -"D-09","NAD27 (USA, NADCON)","E000","St. George","stgeorge.los","stgeorge.las" -"D-10","NAD83 (USA, NADCON)","E008","St. George","stgeorge.los","stgeorge.las" -"D-11","NAD27 (USA, NADCON)","E000","St. Lawrence","stlrnc.los","stlrnc.las" -"D-12","NAD83 (USA, NADCON)","E008","St. Lawrence","stlrnc.los","stlrnc.las" -"D-13","NAD27 (USA, NADCON)","E000","St. Paul","stpaul.los","stpaul.las" -"D-14","NAD83 (USA, NADCON)","E008","St. Paul","stpaul.los","stpaul.las" -"D-15","Old Hawaiian (USA, NADCON)","E000","Hawaii","hawaii.los","hawaii.las" -"D-16","NAD83 (USA, NADCON)","E008","Hawaii","hawaii.los","hawaii.las" -"D-17","NAD27 (USA, NADCON)","E000","Puerto Rico Virgin Islands","prvi.los","prvi.las" -"D-18","NAD83 (USA, NADCON)","E008","Puerto Rico Virgin Islands","prvi.los","prvi.las" -!"D-19","AGD66 (NTv2)","E014","Australia","A66 National (13.09.01).gsb" -!"D-20","AGD84 (NTv2)","E014","Australia","National 84 (02.07.01).gsb" -!"D-21","GDA94 (from AGD66, NTv2)","E008","Australia","A66 National (13.09.01).gsb" -!"D-22","GDA94 (from AGD84, NTv2)","E008","Australia","National 84 (02.07.01).gsb" -!"D-23","NZGD49 (NTv2)","E004","New Zealand","nzgd2kgrid0005.gsb" -!"D-24","NZGD2000 (NTv2)","E008","New Zealand","nzgd2kgrid0005.gsb" -!"D-66","NAD27 (NTv2)","E000","Quebec","na27scrs.gsb" -!"D-67","NAD83 (SCRS) (NTv2)","E008","Quebec","na27scrs.gsb" -!"D-68","NAD27 (NTv2)","E000","Quebec","na27na83.gsb" -!"D-69","NAD83 (NTv2)","E008","Quebec","na27na83.gsb" -!"D-70","NAD27 (CGQ77) (NTv2)","E000","Quebec","cq77scrs.gsb" -!"D-71","NAD83 (SCRS) (NTv2)","E008","Quebec","cq77scrs.gsb" -!"D-72","NAD27 (CGQ77) (NTv2)","E000","Quebec","cq77na83.gsb" -!"D-73","NAD83 (NTv2)","E008","Quebec","cq77na83.gsb" -!"D-74","NAD83 (NTv2)","E008","Quebec","na83scrs.gsb" -!"D-75","NAD83 (SCRS) (NTv2)","E008","Quebec","na83scrs.gsb" -!"D-76","NAD27 (NTv2)","E000","Saskatchewan","sk27-98.gsb" -!"D-77","NAD83 (CSRS98) (NTv2)","E008","Saskatchewan","sk27-98.gsb" -!"D-78","NAD83 (NTv2)","E008","Saskatchewan","sk83-98.gsb" -!"D-79","NAD83 (CSRS98) (NTv2)","E008","Saskatchewan","sk83-98.gsb" -!"D-80","ATS77 (NTv2)","E910","Nova Scotia","ns778301.gsb" -!"D-81","NAD83 (CSRS98) (NTv2)","E008","Nova Scotia","ns778301.gsb" -!"D-82","ATS77 (NTv2)","E910","Prince Edward Island","pe7783v2.gsb" -!"D-83","NAD83 (CSRS98) (NTv2)","E008","Prince Edward Island","pe7783v2.gsb" -!"D-84","ATS77 (NTv2)","E910","New Brunswick","nb7783v2.gsb" -!"D-85","NAD83 (CSRS98) (NTv2)","E008","New Brunswick","nb7783v2.gsb" -!"D-86","NAD27 (NTv2)","E000","Canada","ntv2_0.gsb" -!"D-87","NAD83 (NTv2)","E008","Canada","ntv2_0.gsb" -!"D-88","NAD27 (1976) (NTv2)","E000","Ontario","may76v20.gsb" -!"D-89","NAD83 (NTv2)","E008","Ontario","may76v20.gsb" -"D800","Normal Sphere","E019",0,0,0,"",0,0,0,0 -"D000","WGS 1984","E012",0,0,0,"Global Definition",0,0,0,0 -"D001","WGS 1972","E005",0,0,0,"Global Definition",3,3,3,1 -"D002","Adindan","E001",-166,-15,204,"MEAN FOR Ethiopia, Sudan",5,5,3,22 -"D003","Adindan","E001",-118,-14,218,"Burkina Faso",25,25,25,1 -"D004","Adindan","E001",-134,-2,210,"Cameroon",25,25,25,1 -"D005","Adindan","E001",-165,-11,206,"Ethiopia",3,3,3,8 -"D006","Adindan","E001",-123,-20,220,"Mali",25,25,25,1 -"D007","Adindan","E001",-128,-18,224,"Senegal",25,25,25,2 -"D008","Adindan","E001",-161,-14,205,"Sudan",3,5,3,14 -"D009","Afgooye","E015",-43,-163,45,"Somalia",25,25,25,1 -"D010","Ain el Abd 1970","E004",-150,-250,-1,"Bahrain",25,25,25,2 -"D011","Ain el Abd 1970","E004",-143,-236,7,"Saudi Arabia",10,10,10,9 -"D012","Anna 1 Astro 1965","E014",-491,-22,435,"Cocos Islands",25,25,25,1 -"D013","Antigua Island Astro 1943","E001",-270,13,62,"Antigua (Leeward Islands)",25,25,25,1 -"D014","Arc 1950","E001",-143,-90,-294,"MEAN Solution",20,33,20,41 -"D015","Arc 1950","E001",-138,-105,-289,"Botswana",3,5,3,9 -"D016","Arc 1950","E001",-153,-5,-292,"Burundi",20,20,20,3 -"D017","Arc 1950","E001",-125,-108,-295,"Lesotho",3,3,8,5 -"D018","Arc 1950","E001",-161,-73,-317,"Malawi",9,24,8,6 -"D019","Arc 1950","E001",-134,-105,-295,"Swaziland",15,15,15,4 -"D020","Arc 1950","E001",-169,-19,-278,"Zaire",25,25,25,2 -"D021","Arc 1950","E001",-147,-74,-283,"Zambia",21,21,27,5 -"D022","Arc 1950","E001",-142,-96,-293,"Zimbabwe",5,8,11,10 -"D023","Arc 1960","E001",-160,-6,-302,"MEAN FOR Kenya, Tanzania",20,20,20,25 -"D024","Ascension Island 1958","E004",-205,107,53,"Ascension Island",25,25,25,2 -"D025","Astro Beacon E 1945","E004",145,75,-272,"Iwo Jima",25,25,25,1 -"D026","Astro DOS 71/4","E004",-320,550,-494,"St Helena Island",25,25,25,1 -"D027","Astro Tern Island (FRIG) 1961","E004",114,-116,-333,"Tern Island",25,25,25,1 -"D028","Astronomical Station 1952","E004",124,-234,-25,"Marcus Island",25,25,25,1 -"D029","Australian Geodetic 1966","E014",-133,-48,148,"Australia & Tasmania",3,3,3,105 -"D030","Australian Geodetic 1984","E014",-134,-48,149,"Australia & Tasmania",2,2,2,90 -"D031","Ayabelle Lighthouse","E001",-79,-129,145,"Djibouti",25,25,25,1 -"D032","Bellevue (IGN)","E004",-127,-769,472,"Efate & Erromango Islands",20,20,20,3 -"D033","Bermuda 1957","E000",-73,213,296,"Bermuda",20,20,20,3 -"D034","Bissau","E004",-173,253,27,"Guinea-Bissau",25,25,25,2 -"D035","Bogota Observatory","E004",307,304,-318,"Colombia",6,5,6,7 -"D036","Bukit Rimpah","E002",-384,664,-48,"Indonesia (Bangka & Belitung Islands)",-1,-1,-1,0 -"D037","Camp Area Astro","E004",-104,-129,239,"Antarctica (McMurdo Camp Area)",-1,-1,-1,0 -"D038","Campo Inchauspe 1969","E004",-148,136,90,"Argentina",5,5,5,20 -"D039","Canton Astro 1966","E004",298,-304,-375,"Phoenix Islands",15,15,15,4 -"D040","Cape (Superceded by D517)","E001",-136,-108,-292,"South Africa",3,6,6,5 -"D041","Cape Canaveral","E000",-2,151,181,"MEAN FOR Florida,Bahamas",3,3,3,19 -"D042","Carthage","E001",-263,6,431,"Tunisia",6,9,8,5 -"D043","Chatham Island Astro 1971","E004",175,-38,113,"New Zealand (Chatham Island)",15,15,15,4 -"D044","Chua Astro","E004",-134,229,-29,"Paraguay",6,9,5,6 -"D045","Corrego Alegre","E004",-206,172,-6,"Brazil",5,3,5,17 -"D046","Dabola","E001",-83,37,124,"Guinea",15,15,15,4 -"D047","Djakarta (Batavia)","E002",-377,681,-50,"Indonesia (Sumatra)",3,3,3,5 -"D048","DOS 1968","E004",230,-199,-752,"New Georgia Islands (Gizo Island)",25,25,25,1 -"D049","Easter Island 1967","E004",211,147,111,"Easter Island",25,25,25,1 -"D050","European 1950","E004",-87,-98,-121,"MEAN FOR Europe,",3,8,5,85 -"D051","European 1950","E004",-87,-96,-120,"MEAN FOR Western Europe,",3,3,3,52 -"D052","European 1950","E004",-103,-106,-141,"MEAN FOR Iraq, Israel, Jordan, Lebanon",-1,-1,-1,0 -"D053","European 1950","E004",-104,-101,-140,"Cyprus",15,15,15,4 -"D054","European 1950","E004",-130,-117,-151,"Egypt",6,8,8,14 -"D055","European 1950","E004",-86,-96,-120,"MEAN FOR England, Channel Islands, Ireland",3,3,3,40 -"D056","European 1950","E004",-87,-95,-120,"Finland, Norway",3,5,3,20 -"D057","European 1950","E004",-84,-95,-130,"Greece",25,25,25,2 -"D058","European 1950","E004",-117,-132,-164,"Iran",9,12,11,27 -"D059","European 1950","E004",-97,-103,-120,"Italy (Sardinia)",25,25,25,2 -"D060","European 1950","E004",-97,-88,-135,"Italy (Sicily)",20,20,20,3 -"D061","European 1950","E004",-107,-88,-149,"Malta",25,25,25,1 -"D062","European 1950","E004",-84,-107,-120,"Portugal, Spain",5,6,3,18 -"D063","European 1979","E004",-86,-98,-119,"MEAN Solution",3,3,3,22 -"D064","Fort Thomas 1955","E001",-7,215,225,"Nevis, St. Kitts (Leeward Islands)",25,25,25,2 -"D065","Gan 1970","E004",-133,-321,50,"Republic of Maldives",25,25,25,1 -"D066","Geodetic Datum 1949","E004",84,-22,209,"New Zealand",5,3,5,14 -"D067","Graciosa Base SW 1948","E004",-104,167,-38,"Azores (Faial,Graciosa,Pico)",3,3,3,5 -"D068","Guam 1963","E000",-100,-248,259,"Guam",3,3,3,5 -"D069","Gunung Segara","E002",-403,684,41,"Indonesia (Kalimantan)",-1,-1,-1,0 -"D070","GUX 1 Astro","E004",252,-209,-751,"Guadalcanal Island",25,25,25,1 -"D071","Herat North","E004",-333,-222,114,"Afghanistan",-1,-1,-1,0 -"D072","Hjorsey 1955","E004",-73,46,-86,"Iceland",3,3,6,6 -"D073","Hong Kong 1963","E004",-156,-271,-189,"Hong Kong",25,25,25,2 -"D074","Hu-Tzu-Shan","E004",-637,-549,-203,"Taiwan",15,15,15,4 -"D075","Indian","E006",282,726,254,"Bangladesh",10,8,12,6 -"D076","Indian","E901",295,736,257,"India, Nepal",12,10,15,7 -"D077","Indian 1954","E006",217,823,299,"Thailand",15,6,12,11 -"D078","Indian 1975 (Cycle 1)","E006",210,814,289,"Thailand",3,2,3,62 -"D079","Ireland 1965","E011",506,-122,611,"Ireland",3,3,3,7 -"D080","ISTS 061 Astro 1968","E004",-794,119,-298,"South Georgia Islands",25,25,25,1 -"D081","ISTS 073 Astro 1969","E004",208,-435,-229,"Diego Garcia",25,25,25,2 -"D082","Johnston Island 1961","E004",189,-79,-202,"Johnston Island",25,25,25,1 -"D083","Kandawala","E006",-97,787,86,"Sri Lanka",20,20,20,3 -"D084","Kerguelen Island 1949","E004",145,-187,103,"Kerguelen Island",25,25,25,1 -"D085","Kertau 1948","E010",-11,851,5,"West Malaysia & Singapore",10,8,6,6 -"D086","Kusaie Astro 1951","E004",647,1777,-1124,"Caroline Islands",25,25,25,1 -"D087","L. C. 5 Astro 1961","E000",42,124,147,"Cayman Brac Island",25,25,25,1 -"D088","Leigon","E001",-130,29,364,"Ghana",2,3,2,8 -"D089","Liberia 1964","E001",-90,40,88,"Liberia",15,15,15,4 -"D090","Luzon","E000",-133,-77,-51,"Philippines (Excluding Mindanao)",8,11,9,6 -"D091","Luzon","E000",-133,-79,-72,"Philippines (Mindanao)",25,25,25,1 -"D092","Mahe 1971","E001",41,-220,-134,"Mahe Island",25,25,25,1 -"D093","Massawa","E002",639,405,60,"Ethiopia (Eritrea)",25,25,25,1 -"D094","Merchich","E001",31,146,47,"Morocco",5,3,3,9 -"D095","Midway Astro 1961","E004",912,-58,1227,"Midway Islands",25,25,25,1 -"D096","Minna","E001",-81,-84,115,"Cameroon",25,25,25,2 -"D097","Minna","E001",-92,-93,122,"Nigeria",3,6,5,6 -"D098","Montserrat Island Astro 1958","E001",174,359,365,"Montserrat (Leeward Islands)",25,25,25,1 -"D099","M'Poraloko","E001",-74,-130,42,"Gabon",25,25,25,1 -"D100","Nahrwan","E001",-247,-148,369,"Oman (Masirah Island)",25,25,25,2 -"D101","Nahrwan","E001",-243,-192,477,"Saudi Arabia",20,20,20,3 -"D102","Nahrwan","E001",-249,-156,381,"United Arab Emirates",25,25,25,2 -"D103","Naparima BWI","E004",-10,375,165,"Trinidad & Tobago",15,15,15,4 -"D104","North American 1927","E000",-3,142,183,"MEAN FOR Caribbean",3,9,12,15 -"D105","North American 1927","E000",0,125,194,"MEAN FOR Central America",8,3,5,19 -"D106","North American 1927","E000",-10,158,187,"MEAN FOR Canada",15,11,6,112 -"D107","North American 1927","E000",-8,160,176,"MEAN FOR CONUS",5,5,6,405 -"D108","North American 1927","E000",-9,161,179,"MEAN FOR CONUS (East of Mississippi River)",5,5,8,129 -"D109","North American 1927","E000",-8,159,175,"MEAN FOR CONUS (West of Mississippi River)",5,3,3,276 -"D110","North American 1927","E000",-5,135,172,"Alaska",5,9,5,47 -"D111","North American 1927","E000",-4,154,178,"Bahamas (Except San Salvador Island)",5,3,5,11 -"D112","North American 1927","E000",1,140,165,"Bahamas (San Salvador Island)",25,25,25,1 -"D113","North American 1927","E000",-7,162,188,"Canada (Alberta, British Columbia)",8,8,6,25 -"D114","North American 1927","E000",-9,157,184,"Canada (Manitoba, Ontario)",9,5,5,25 -"D115","North American 1927","E000",-22,160,190,"Canada (Atlantic Provinces)",6,6,3,37 -"D116","North American 1927","E000",4,159,188,"Canada (Northwest Territories, Saskatchewan)",5,5,3,17 -"D117","North American 1927","E000",-7,139,181,"Canada (Yukon)",5,8,3,8 -"D118","North American 1927","E000",0,125,201,"Canal Zone",20,20,20,3 -"D119","North American 1927","E000",-9,152,178,"Cuba",25,25,25,1 -"D120","North American 1927","E000",11,114,195,"Greenland (Hayes Peninsula)",25,25,25,2 -"D121","North American 1927","E000",-12,130,190,"Mexico",8,6,6,22 -"D122","North American 1983","E008",0,0,0,"Alaska, Canada, CONUS, Central America, Mexico",2,2,2,354 -"D123","Observatorio Metereo. 1939","E004",-425,-169,81,"Azores (Corvo & Flores Islands)",20,20,20,3 -"D124","Old Egyptian 1907","E904",-130,110,-13,"Egypt",3,6,8,14 -"D125","Old Hawaiian (Clarke 1866)","E000",61,-285,-181,"MEAN FOR Hawaii, Kauai, Maui, Oahu",25,20,20,15 -"D126","Old Hawaiian (Clarke 1866)","E000",89,-279,-183,"Hawaii",25,25,25,2 -"D127","Old Hawaiian (Clarke 1866)","E000",45,-290,-172,"Kauai",20,20,20,3 -"D128","Old Hawaiian (Clarke 1866)","E000",65,-290,-190,"Maui",25,25,25,2 -"D129","Old Hawaiian (Clarke 1866)","E000",58,-283,-182,"Oahu",10,6,6,8 -"D130","Oman","E001",-346,-1,224,"Oman",3,3,9,7 -"D131","Ord. Survey G. Britain 1936","E009",375,-111,431,"MEAN Solution",10,10,15,38 -"D132","Ord. Survey G. Britain 1936","E009",371,-112,434,"England",5,5,6,21 -"D133","Ord. Survey G. Britain 1936","E009",371,-111,434,"England, Isle of Man, Wales",10,10,15,25 -"D134","Ord. Survey G. Britain 1936","E009",384,-111,425,"Scotland, Shetland Islands",10,10,10,13 -"D135","Ord. Survey G. Britain 1936","E009",370,-108,434,"Wales",20,20,20,3 -"D136","Pico de las Nieves","E004",-307,-92,127,"Canary Islands",25,25,25,1 -"D137","Pitcairn Astro 1967","E004",185,165,42,"Pitcairn Island",25,25,25,1 -"D138","Point 58","E001",-106,-129,165,"MEAN FOR Burkina Faso & Niger",25,25,25,2 -"D139","Pointe Noire 1948","E001",-148,51,-291,"Congo",25,25,25,1 -"D140","Porto Santo 1936","E004",-499,-249,314,"Porto Santo, Madeira Islands",25,25,25,2 -"D141","Provisional S. American 1956","E004",-288,175,-376,"MEAN Solution",17,27,27,63 -"D142","Provisional S. American 1956","E004",-270,188,-388,"Bolivia",5,11,14,5 -"D143","Provisional S. American 1956","E004",-270,183,-390,"Chile (Northern, Near 19dS)",25,25,25,1 -"D144","Provisional S. American 1956","E004",-305,243,-442,"Chile (Southern, Near 43dS)",20,20,20,3 -"D145","Provisional S. American 1956","E004",-282,169,-371,"Colombia",15,15,15,4 -"D146","Provisional S. American 1956","E004",-278,171,-367,"Ecuador",3,5,3,11 -"D147","Provisional S. American 1956","E004",-298,159,-369,"Guyana",6,14,5,9 -"D148","Provisional S. American 1956","E004",-279,175,-379,"Peru",6,8,12,6 -"D149","Provisional S. American 1956","E004",-295,173,-371,"Venezuela",9,14,15,24 -"D150","Provisional S. Chilean 1963","E004",16,196,93,"Chile (South, Near 53dS) (Hito XVIII)",25,25,25,2 -"D151","Puerto Rico","E000",11,72,-101,"Puerto Rico, Virgin Islands",3,3,3,11 -"D152","Qatar National","E004",-128,-283,22,"Qatar",20,20,20,3 -"D153","Qornoq","E004",164,138,-189,"Greenland (South)",25,25,32,2 -"D154","Reunion","E004",94,-948,-1262,"Mascarene Islands",25,25,25,1 -"D155","Rome 1940","E004",-225,-65,9,"Italy (Sardinia)",25,25,25,1 -"D156","Santo (DOS) 1965","E004",170,42,84,"Espirito Santo Island",25,25,25,1 -"D157","Sao Braz","E004",-203,141,53,"Azores (Sao Miguel, Santa Maria Islands)",25,25,25,2 -"D158","Sapper Hill 1943","E004",-355,21,72,"East Falkland Island",1,1,1,5 -"D159","Schwarzeck","E900",616,97,-251,"Namibia",20,20,20,3 -"D160","Selvagem Grande 1938","E004",-289,-124,60,"Salvage Islands",25,25,25,1 -"D161","SGS 85","E905",3,9,-9,"Soviet Geodetic System 1985",10,10,10,1 -"D162","South American 1969","E907",-57,1,-41,"MEAN Solution,",15,6,9,84 -"D163","South American 1969","E907",-62,-1,-37,"Argentina",5,5,5,10 -"D164","South American 1969","E907",-61,2,-48,"Bolivia",15,15,15,4 -"D165","South American 1969 (old)","E907",-60,-2,-41,"Brazil",3,5,5,22 -"D166","South American 1969","E907",-75,-1,-44,"Chile",15,8,11,9 -"D167","South American 1969","E907",-44,6,-36,"Colombia",6,6,5,7 -"D168","South American 1969","E907",-48,3,-44,"Ecuador",3,3,3,11 -"D169","South American 1969","E907",-47,26,-42,"Ecuador (Baltra, Galapagos)",25,25,25,1 -"D170","South American 1969","E907",-53,3,-47,"Guyana",9,5,5,5 -"D171","South American 1969","E907",-61,2,-33,"Paraguay",15,15,15,4 -"D172","South American 1969","E907",-58,0,-44,"Peru",5,5,5,6 -"D173","South American 1969","E907",-45,12,-33,"Trinidad & Tobago",25,25,25,1 -"D174","South American 1969","E907",-45,8,-33,"Venezuela",3,6,3,5 -"D175","South Asia","E013",7,-10,-26,"Singapore",25,25,25,1 -"D176","Tananarive Observatory 1925","E004",-189,-242,-91,"Madagascar",-1,-1,-1,0 -"D177","Timbalai 1948","E903",-679,669,-48,"Brunei, East Malaysia (Sabah, Sarawak)",10,10,12,8 -"D178","Tokyo","E002",-148,507,685,"MEAN FOR Japan, Korea, Okinawa",20,5,20,31 -"D179","Tokyo","E002",-148,507,685,"Japan",8,5,8,16 -"D180","Tokyo (Cycle 1)","E002",-147,506,687,"South Korea",2,2,2,29 -"D181","Tokyo","E002",-158,507,676,"Okinawa",20,5,20,3 -"D182","Tristan Astro 1968","E004",-632,438,-609,"Tristan da Cunha",25,25,25,1 -"D183","Viti Levu 1916","E001",51,391,-36,"Fiji (Viti Levu Island)",25,25,25,1 -"D184","Wake-Eniwetok 1960","E016",102,52,-38,"Marshall Islands",3,3,3,10 -"D185","Wake Island Astro 1952","E004",276,-57,149,"Wake Atoll",25,25,25,2 -"D186","WGS 1972","E005",0,0,0,"Global Definition",3,3,3,1 -"D187","Yacare","E004",-155,171,37,"Uruguay",-1,-1,-1,0 -"D188","Zanderij","E004",-265,120,-358,"Suriname",5,5,8,5 -"D189","American Samoa 1962","E000",-115,118,426,"American Samoa Is",25,25,25,2 -"D190","Arc 1960","E001",-157,-2,-299,"Kenya",4,3,3,24 -"D191","Arc 1960","E001",-175,-23,-303,"Tanzania",6,9,10,12 -"D192","Coordinate System 1937 of Estonia","E002",374,150,588,"Estonia",2,2,3,19 -"D193","Deception Island","E001",260,12,-147,"Deception Is., Antarctica",20,20,20,3 -"D194","European 1950","E004",-112,-77,-145,"Tunisia",25,25,25,4 -"D195","Hermannskogel","E002",682,-203,480,"Yugoslavia (Pre 1990)",-1,-1,-1,0 -"D196","Indian","E201",283,682,231,"Pakistan",-1,-1,-1,0 -"D197","Indian 1960","E006",198,881,317,"Vietnam (near 16dN)",25,25,25,2 -"D198","Indian 1960","E006",182,915,344,"Con Son Island (Vietnam)",25,25,25,1 -"D199","Indonesian 1974","E200",-24,-15,5,"Indonesia",25,25,25,1 -"D200","North American 1927","E000",-2,152,149,"Aleutian Is (E of 180dW)",6,8,10,6 -"D201","North American 1927","E000",2,204,105,"Aleutian Is (W of 180dW)",10,8,10,5 -"D202","North Sahara 1959","E001",-186,-93,310,"Algeria",25,25,25,3 -"D203","Pulkovo 1942","E015",28,-130,-95,"Russia",-1,-1,-1,0 -"D204","S-42 (Pulkovo 1942)","E015",28,-121,-77,"Hungary",2,2,2,5 -"D205","S-42 (Pulkovo 1942)","E015",23,-124,-82,"Poland",4,2,4,11 -"D206","S-42 (Pulkovo 1942)","E015",26,-121,-78,"Czechoslovakia (Prior 1 Jan 1993)",3,3,2,6 -"D207","S-42 (Pulkovo 1942)","E015",24,-124,-82,"Latvia",2,2,2,5 -"D208","S-42 (Pulkovo 1942)","E015",15,-130,-84,"Kazakhstan",25,25,25,2 -"D209","S-42 (Pulkovo 1942)","E015",24,-130,-92,"Albania",3,3,3,7 -"D210","S-42 (Pulkovo 1942)","E015",28,-121,-77,"Romania",3,5,3,4 -"D211","S-JTSK","E002",589,76,480,"Czechoslovakia (1 Jan 1993 on)",4,2,3,6 -"D212","Sierra Leone 1960","E001",-88,4,101,"Sierra Leone",15,15,15,8 -"D213","Voirol 1874","E001",-73,-247,227,"Tunisia, Algeria",-1,-1,-1,0 -"D214","Voirol 1960","E001",-123,-206,219,"Algeria",25,25,25,2 -"D215","Indian 1975 (Cycle 0)","E006",209,818,290,"Thailand",12,10,12,6 -"D216","Korean Geodetic System 1995","E012",0,0,0,"South Korea",1,1,1,29 -"D217","Tokyo (Cycle 0)","E002",-146,507,687,"South Korea",8,5,8,12 -"D218","South American Geocentric Reference System (SIRGAS)","E008",0,0,0,"South America",1,1,1,66 -"D219","Old Hawaiian (Int 1924)","E004",201,-228,-346,"MEAN FOR Hawaii, Kauai, Maui, Oahu",25,20,20,15 -"D220","Old Hawaiian (Int 1924)","E004",229,-222,-348,"Hawaii",25,25,25,2 -"D221","Old Hawaiian (Int 1924)","E004",185,-233,-337,"Kauai",20,20,20,3 -"D222","Old Hawaiian (Int 1924)","E004",205,-233,-355,"Maui",25,25,25,2 -"D223","Old Hawaiian (Int 1924)","E004",198,-226,-347,"Oahu",10,6,6,8 -"D333","Tokyo Datum (Japan By Law)","E333",-147.54,507.26,680.47,"Japan",0,0,0,0 -"D334","Japanese Geodetic Datum 2000 (JGD2000)","E008",0.0,0.0,0.0,"Japan",0,0,0,0 -"D340","WGS 1972BE","E005",0,0,1.9,"Global Definition",3,3,3,1,-0,-0,-0.814,-0.38 -"D350","GRS 1980","E008",0.0,0.0,0.0,"Global Definition",0,0,0,0,0.0,0.0,0.0,1.0 -"D360","Pulkovo 1942","E015",27,-135,-84.5,"Russia",-1,-1,-1,0,-0.0,-0.0,-0.554,-0.2263 -"D400","Greece 1987","E008",-199.695,74.815,246.045,"Greece",0,0,0,0 -"D401","RT90 (Superceded by D403)","E002",-424,80,-613,"Sweden",0,0,0,0,-4.40,1.99,-5.18,1.0 -"D402","Indian 1960","E209",198,881,317,"India",0,0,0,0 -"D403","RT90 (Supercedes D401)","E002",414.1055246174,41.3265500042,603.0582474221,"Sweden",0,0,0,0,0.8551163377,-2.1413174055,7.0227298286,1.0 -"D450","ETRS89 (European Terrestrial Reference System 1989)","E008",0.0,0.0,0.0,"Europe",0,0,0,0 -"D500","Deutsches Hauptdreiecksnetz (DHDN), Potsdam (Rauenburg)","E002",580.0,80.9,395.3,"Germany",0,0,0,0,0.35,-0.10,3.58,1.00001112 -"D501","MGI (Militar-Geographische Institut) (Hermannskogel)","E002",575.0,93.0,466.0,"Austria",0,0,0,0,-5.1,-1.6,-5.2,1.0000025 -"D502","CH1903 (Superceded by D514)","E002",660.08,13.55,369.34,"Switzerland",0,0,0,0,0.805,0.578,0.952,1.00000566 -"D503","Belgian 72","E004",-99.059,53.322,-112.486,"Belgium",0,0,0,0,-0.419,0.830,-1.885,0.999999 -"D504","NTF (Nouvelle Triangulation Francaise)","E202",-166.817,-59.821,318.753,"France",0,0,0,0 -"D505","South American 1969 (new)","E907",-66.87,4.37,-38.52,"Brazil",0.43,0.44,0.40,0 -"D506","Rijksdriehoeks Datum","E002",565.04,49.91,465.84,"Netherlands",0,0,0,0,0.4094,-0.3597,1.8685,1.0000040772 -"D507","KKJ (Kartastokoordinaattijarjestelma)","E004",93.477,103.453,123.431,"Finland",0,0,0,0,4.801,0.345,-1.376,0.999998503 -"D508","Aratu (Brasil)","E004",-158,315,-148,"Brazil",2,3,2,0 -"D509","Hungarian Datum 1972 (HD-72)","E203",56.0,-75.77,-15.31,"Hungary",0,0,0,0,-0.37,-0.20,-0.21,1.00000101 -"D510","NZGD 1949 (7 terms)","E004",59.47,-5.04,187.44,"New Zealand",0,0,0,0,-0.47,0.10,-1.024,0.9999954007 -"D511","NZGD 1949 (3 terms)","E004",54.4,-20.1,183.1,"New Zealand",0,0,0,0 -"D512","NZGD 2000 (7 terms)","E008",0.0,0.0,0.0,"New Zealand",0,0,0,0,0.0,0.0,0.0,1.0 -"D513","NGO 1948","E206", 278.2932, 93.0497, 474.4745,"Norway",0,0,0,0, -7.8885, -0.0499, 6.6098, 6.2050 -"D514","CH1903+ (Supercedes D502)","E002",674.374,15.056,405.346,"Switzerland",0,0,0,0 -"D515","SL datum 95","E006",-2.0553,763.5581,87.6682,"Sri Lanka",0,0,0,0,-0.198003,-1.706361,-3.466120,-0.0315 -"D516","SL datum 1999","E006",-0.2933,766.9499,87.7131,"Sri Lanka",0,0,0,0,-0.1957040,-1.6950677,-3.4730161,-0.0393 -"D517","Cape (Supercedes D040)","E205",-134.73,-110.92,-292.66,"South Africa",0,0,0,0 -"D518","Hartebeesthoek94","E012",0,0,0,"South Africa",0,0,0,0 -"D519","Abidjan 1987","E001",-124.76,53,466.79,"C\uffffte d'Ivoire",0,0,0,0 -"D520","Accra","E204",-199,32,322,"Ghana",0,0,0,0 -"D521","Azores Central 1948","E004",-104,167,-38,"Azores",0,0,0,0 -"D522","Azores Oriental 1940","E004",-203,141,53,"Azores",0,0,0,0 -"D523","Azores Occidental 1939","E004",-422.651,-172.995,84.02,"Azores",0,0,0,0 -"D524","Barbados 1938","E001",31.95,300.99,419.19,"Barbados",0,0,0,0 -"D525","Camacupa","E001",-50.9,-347.6,-231,"Angola",0,0,0,0 -"D526","Chos Malal 1914","E004",5.5,176.7,141.4,"Argentina",0,0,0,0 -"D527","Conakry 1905","E202",-23.0,259.0,-9.0,"Guinea",0,0,0,0 -"D528","Dealul Piscului 1933","E004",103.25,-100.40,-307.19,"Romania",0,0,0,0 -"D529","Dealul Piscului 1970","E015",44.107,-116.147,-54.648,"Romania",0,0,0,0 -"D530","Deir ez Zor","E202",-190.421,8.532,238.69,"Syria",0,0,0,0 -"D531","Dominica 1945","E001",725,685,536,"Dominica",0,0,0,0 -"D532","Kalianpur 1937","E209",214,804,268,"India",0,0,0,0 -"D533","Kalianpur 1962","E210",275.57,676.78,229.6,"Pakistan",0,0,0,0 -"D534","Kalianpur 1975","E216",295,736,257,"India",0,0,0,0 -"D535","SWEREF99","E008",0.0,0.0,0.0,"Sweden",0,0,0,0 -"D536","GDA94 (Geocentric Datum of Australia 1994)","E008",0.0,0.0,0.0,"Australia",0,0,0,0 -"D537","ETRF89 (European Terrestrial Reference Frame 1989)","E012",0.0,0.0,0.0,"Europe",0,0,0,0 -"D538","Bermuda 2000","E012",0.0,0.0,0.0,"Bermuda",0,0,0,0 -"D539","Samboja","E002",-404.78,-685.68,-45.47,"Indonesia",0,0,0,0 -"D540","Australian Antarctic 1998","E008",0.0,0.0,0.0,"Australian Antarctic Territory",0,0,0,0 -"D541","Everest (India and Nepal)","E226",295,736,257,"India",0,0,0,0 -"D542","Korea Datum 1985","E002",-323,309,653,"South Korea",0,0,0,0 -"D543","Israel","E008",-48,55,52,"Israel",0,0,0,0 -"D544","Lao National Datum 1997","E015",46.012,-127.108,-38.131,"Laos",0,0,0,0 -"D545","Hong Kong 1980 Datum","E004",-162.619,-276.959,-161.764,"Hong Kong",0,0,0,0,-0.067753,2.243649,1.158827,-1.094246 -"D546","HITO XVIII","E004",18.38,192.45,96.82,"Argentina",0,0,0,0,-0.056,0.142,0.200,-0.0013 -"D547","GDM 2000MRSO","E008",1.69276,-1.92994,2.07108,"West Malaysia",0,0,0,0,0.03515,-0.02858,-0.00617,0.24859 -"D548","GDM 2000BRSO","E008",-1.04278,-0.30902,0.57544,"East Malaysia",0,0,0,0,0.01102,-0.03471,0.02865,-0.01934 -"D549","Gulshan 303","E209",283.729,735.942,261.143,"Bangladesh",0,0,0,0 -"D551","CHTRF95 (Swiss Terrestrial Reference Frame 1995)","E008",0.0,0.0,0.0,"Switzerland",0,0,0,0 -"D600","D-PAF (Orbits)","E600",0.082,-0.502,-0.224,"Satellite Orbits",0,0,0,0,0.30444,0.04424,0.00609,0.9999999937 -"D601","Test Data Set 1","E601",0.071,-0.509,-0.166,"Test 1",0,0,0,0,0.0179,-0.0005,0.0067,0.999999983 -"D602","Test Data Set 2","E602",580.0,80.9,399.8,"Test 2",0,0,0,0,0.35,0.1,3.026,1.0000113470025 -"D700","MODIS","E700",0,0,0,"Global Definition",0,0,0,0 -"D701","NAD83 (USA, NADCON)","E008","Alabama","alhpgn.los","alhpgn.las" -"D702","NAD83 HARN (USA, NADCON)","E008","Alabama","alhpgn.los","alhpgn.las" -"D703","NAD83 (USA, NADCON)","E008","Arkansas","arhpgn.los","arhpgn.las" -"D704","NAD83 HARN (USA, NADCON)","E008","Arkansas","arhpgn.los","arhpgn.las" -"D705","NAD83 (USA, NADCON)","E008","Arizona","azhpgn.los","azhpgn.las" -"D706","NAD83 HARN (USA, NADCON)","E008","Arizona","azhpgn.los","azhpgn.las" -"D707","NAD83 (USA, NADCON)","E008","California (North of 37dN)","cnhpgn.los","cnhpgn.las" -"D708","NAD83 HARN (USA, NADCON)","E008","California (North of 37dN)","cnhpgn.los","cnhpgn.las" -"D709","NAD83 (USA, NADCON)","E008","California (South of 37dN)","cshpgn.los","cshpgn.las" -"D710","NAD83 HARN (USA, NADCON)","E008","California (South of 37dN)","cshpgn.los","cshpgn.las" -"D711","NAD83 (USA, NADCON)","E008","Colorado","cohpgn.los","cohpgn.las" -"D712","NAD83 HARN (USA, NADCON)","E008","Colorado","cohpgn.los","cohpgn.las" -"D713","NAD83 (USA, NADCON)","E008","Florida","flhpgn.los","flhpgn.las" -"D714","NAD83 HARN (USA, NADCON)","E008","Florida","flhpgn.los","flhpgn.las" -"D715","NAD83 (USA, NADCON)","E008","Georgia","gahpgn.los","gahpgn.las" -"D716","NAD83 HARN (USA, NADCON)","E008","Georgia","gahpgn.los","gahpgn.las" -"D717","Guam 1963 (USA, NADCON)","E000","Guam","guhpgn.los","guhpgn.las" -"D718","NAD83 HARN (USA, NADCON)","E008","Guam","guhpgn.los","guhpgn.las" -"D719","NAD83 (USA, NADCON)","E008","Hawaii","hihpgn.los","hihpgn.las" -"D720","NAD83 HARN (USA, NADCON)","E008","Hawaii","hihpgn.los","hihpgn.las" -"D721","NAD83 (USA, NADCON)","E008","Idaho-Montana (East of 113dW)","emhpgn.los","emhpgn.las" -"D722","NAD83 HARN (USA, NADCON)","E008","Idaho-Montana (East of 113dW)","emhpgn.los","emhpgn.las" -"D723","NAD83 (USA, NADCON)","E008","Idaho-Montana (West of 113dW)","wmhpgn.los","wmhpgn.las" -"D724","NAD83 HARN (USA, NADCON)","E008","Idaho-Montana (West of 113dW)","wmhpgn.los","wmhpgn.las" -"D725","NAD83 (USA, NADCON)","E008","Iowa","iahpgn.los","iahpgn.las" -"D726","NAD83 HARN (USA, NADCON)","E008","Iowa","iahpgn.los","iahpgn.las" -"D727","NAD83 (USA, NADCON)","E008","Illinois","ilhpgn.los","ilhpgn.las" -"D728","NAD83 HARN (USA, NADCON)","E008","Illinois","ilhpgn.los","ilhpgn.las" -"D729","NAD83 (USA, NADCON)","E008","Indiana","inhpgn.los","inhpgn.las" -"D730","NAD83 HARN (USA, NADCON)","E008","Indiana","inhpgn.los","inhpgn.las" -"D731","NAD83 (USA, NADCON)","E008","Kansas","kshpgn.los","kshpgn.las" -"D732","NAD83 HARN (USA, NADCON)","E008","Kansas","kshpgn.los","kshpgn.las" -"D733","NAD83 (USA, NADCON)","E008","Kentucky","kyhpgn.los","kyhpgn.las" -"D734","NAD83 HARN (USA, NADCON)","E008","Kentucky","kyhpgn.los","kyhpgn.las" -"D735","NAD83 (USA, NADCON)","E008","Louisiana","lahpgn.los","lahpgn.las" -"D736","NAD83 HARN (USA, NADCON)","E008","Louisiana","lahpgn.los","lahpgn.las" -"D737","NAD83 (USA, NADCON)","E008","Maryland-Delaware","mdhpgn.los","mdhpgn.las" -"D738","NAD83 HARN (USA, NADCON)","E008","Maryland-Delaware","mdhpgn.los","mdhpgn.las" -"D739","NAD83 (USA, NADCON)","E008","Maine","mehpgn.los","mehpgn.las" -"D740","NAD83 HARN (USA, NADCON)","E008","Maine","mehpgn.los","mehpgn.las" -"D741","NAD83 (USA, NADCON)","E008","Michigan","mihpgn.los","mihpgn.las" -"D742","NAD83 HARN (USA, NADCON)","E008","Michigan","mihpgn.los","mihpgn.las" -"D743","NAD83 (USA, NADCON)","E008","Minnesota","mnhpgn.los","mnhpgn.las" -"D744","NAD83 HARN (USA, NADCON)","E008","Minnesota","mnhpgn.los","mnhpgn.las" -"D745","NAD83 (USA, NADCON)","E008","Mississippi","mshpgn.los","mshpgn.las" -"D746","NAD83 HARN (USA, NADCON)","E008","Mississippi","mshpgn.los","mshpgn.las" -"D747","NAD83 (USA, NADCON)","E008","Missouri","mohpgn.los","mohpgn.las" -"D748","NAD83 HARN (USA, NADCON)","E008","Missouri","mohpgn.los","mohpgn.las" -"D749","NAD83 (USA, NADCON)","E008","Nebraska","nbhpgn.los","nbhpgn.las" -"D750","NAD83 HARN (USA, NADCON)","E008","Nebraska","nbhpgn.los","nbhpgn.las" -"D751","NAD83 (USA, NADCON)","E008","Nevada","nvhpgn.los","nvhpgn.las" -"D752","NAD83 HARN (USA, NADCON)","E008","Nevada","nvhpgn.los","nvhpgn.las" -"D753","NAD83 (USA, NADCON)","E008","New England (CT,MA,NH,RI,VT)","nehpgn.los","nehpgn.las" -"D754","NAD83 HARN (USA, NADCON)","E008","New England (CT,MA,NH,RI,VT)","nehpgn.los","nehpgn.las" -"D755","NAD83 (USA, NADCON)","E008","New Jersey","njhpgn.los","njhpgn.las" -"D756","NAD83 HARN (USA, NADCON)","E008","New Jersey","njhpgn.los","njhpgn.las" -"D757","NAD83 (USA, NADCON)","E008","New Mexico","nmhpgn.los","nmhpgn.las" -"D758","NAD83 HARN (USA, NADCON)","E008","New Mexico","nmhpgn.los","nmhpgn.las" -"D759","NAD83 (USA, NADCON)","E008","New York","nyhpgn.los","nyhpgn.las" -"D760","NAD83 HARN (USA, NADCON)","E008","New York","nyhpgn.los","nyhpgn.las" -"D761","NAD83 (USA, NADCON)","E008","North Carolina","nchpgn.los","nchpgn.las" -"D762","NAD83 HARN (USA, NADCON)","E008","North Carolina","nchpgn.los","nchpgn.las" -"D763","NAD83 (USA, NADCON)","E008","North Dakota","ndhpgn.los","ndhpgn.las" -"D764","NAD83 HARN (USA, NADCON)","E008","North Dakota","ndhpgn.los","ndhpgn.las" -"D765","NAD83 (USA, NADCON)","E008","Ohio","ohhpgn.los","ohhpgn.las" -"D766","NAD83 HARN (USA, NADCON)","E008","Ohio","ohhpgn.los","ohhpgn.las" -"D767","NAD83 (USA, NADCON)","E008","Oklahoma","okhpgn.los","okhpgn.las" -"D768","NAD83 HARN (USA, NADCON)","E008","Oklahoma","okhpgn.los","okhpgn.las" -"D769","NAD83 (USA, NADCON)","E008","Pennsylvania","pahpgn.los","pahpgn.las" -"D770","NAD83 HARN (USA, NADCON)","E008","Pennsylvania","pahpgn.los","pahpgn.las" -"D771","NAD83 (USA, NADCON)","E008","Puerto Rico-Virgin Is","pvhpgn.los","pvhpgn.las" -"D772","NAD83 HARN (USA, NADCON)","E008","Puerto Rico-Virgin Is","pvhpgn.los","pvhpgn.las" -"D773","American Samoa 1962 (USA, NADCON)","E000","Samoa (Eastern Islands)","eshpgn.los","eshpgn.las" -"D774","NAD83 HARN (USA, NADCON)","E008","Samoa (Eastern Islands)","eshpgn.los","eshpgn.las" -"D775","American Samoa 1962 (USA, NADCON)","E000","Samoa (Western Islands)","wshpgn.los","wshpgn.las" -"D776","NAD83 HARN (USA, NADCON)","E008","Samoa (Western Islands)","wshpgn.los","wshpgn.las" -"D777","NAD83 (USA, NADCON)","E008","South Carolina","schpgn.los","schpgn.las" -"D778","NAD83 HARN (USA, NADCON)","E008","South Carolina","schpgn.los","schpgn.las" -"D779","NAD83 (USA, NADCON)","E008","South Dakota","sdhpgn.los","sdhpgn.las" -"D780","NAD83 HARN (USA, NADCON)","E008","South Dakota","sdhpgn.los","sdhpgn.las" -"D781","NAD83 (USA, NADCON)","E008","Tennessee","tnhpgn.los","tnhpgn.las" -"D782","NAD83 HARN (USA, NADCON)","E008","Tennessee","tnhpgn.los","tnhpgn.las" -"D783","NAD83 (USA, NADCON)","E008","Texas (East of 100dW)","ethpgn.los","ethpgn.las" -"D784","NAD83 HARN (USA, NADCON)","E008","Texas (East of 100dW)","ethpgn.los","ethpgn.las" -"D785","NAD83 (USA, NADCON)","E008","Texas (West of 100dW)","wthpgn.los","wthpgn.las" -"D786","NAD83 HARN (USA, NADCON)","E008","Texas (West of 100dW)","wthpgn.los","wthpgn.las" -"D787","NAD83 (USA, NADCON)","E008","Utah","uthpgn.los","uthpgn.las" -"D788","NAD83 HARN (USA, NADCON)","E008","Utah","uthpgn.los","uthpgn.las" -"D789","NAD83 (USA, NADCON)","E008","Virginia","vahpgn.los","vahpgn.las" -"D790","NAD83 HARN (USA, NADCON)","E008","Virginia","vahpgn.los","vahpgn.las" -"D791","NAD83 (USA, NADCON)","E008","Washington-Oregon","wohpgn.los","wohpgn.las" -"D792","NAD83 HARN (USA, NADCON)","E008","Washington-Oregon","wohpgn.los","wohpgn.las" -"D793","NAD83 (USA, NADCON)","E008","West Virginia","wvhpgn.los","wvhpgn.las" -"D794","NAD83 HARN (USA, NADCON)","E008","West Virginia","wvhpgn.los","wvhpgn.las" -"D795","NAD83 (USA, NADCON)","E008","Wisconsin","wihpgn.los","wihpgn.las" -"D796","NAD83 HARN (USA, NADCON)","E008","Wisconsin","wihpgn.los","wihpgn.las" -"D797","NAD83 (USA, NADCON)","E008","Wyoming","wyhpgn.los","wyhpgn.las" -"D798","NAD83 HARN (USA, NADCON)","E008","Wyoming","wyhpgn.los","wyhpgn.las" -"D886", "Reseau Geodesique Francais 1993", "E899",-752,-358,-179,"Taiwan",0,0,0,0,-0.0000011698,0.0000018398,0.0000009822,0.00002329 -"D887", "Reseau National Belge 1972", "E899",-752,-358,-179,"Taiwan",0,0,0,0,-0.0000011698,0.0000018398,0.0000009822,0.00002329 -"D888","Lebanon Stereographic","E012",154.2668777,107.2190767,-263.01161212,"Lebanon",0,0,0,0,0.310716,0.218736,0.191232,0.99999913 -"D889","Lebanon Lambert","E202",190.9999,133.32473,-232.8391,"Lebanon",0,0,0,0,0.307836,0.216756,0.189036,0.9995341 -"D890","Luxembourg (LUREF)","E004",-192.986,13.673,-39.309,"Luxembourg",0,0,0,0,0.409900,2.933200,-2.688100,1.00000043 -"D891","Datum 73","E004",-223.237,110.193,36.649,"Portugal",0,0,0,0 -"D892","Datum Lisboa","E004",-304.046,-60.576,103.640,"Portugal",0,0,0,0 -"D893","PDO Survey Datum 1993","E001",-180.624,-225.516,173.919,"Oman",0,0,0,0,0.80970,1.89755,-8.33604,16.71006 -"D894", "WGS 1984 semi-major","E020",0,0,0,"WGS 1984 Auxiliary Sphere semi-major axis",0,0,0,0 -"D898","TWD97","E008",0,0,0,"Taiwan",0,0,0,0,0.0,0.0,0.0,0.0 -"D899","TWD67","E899",-752,-358,-179,"Taiwan",0,0,0,0,-0.0000011698,0.0000018398,0.0000009822,0.00002329 diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/pci_ellips.txt b/.venv/lib/python3.12/site-packages/fiona/gdal_data/pci_ellips.txt deleted file mode 100644 index 74b063ae..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/pci_ellips.txt +++ /dev/null @@ -1,76 +0,0 @@ -! -! By email on December 2nd, 2010: -! -! I, Louis Burry, on behalf of PCI Geomatics agree to allow the ellips.txt -! and datum.txt file to be distributed under the GDAL open source license. -! -! Louis Burry -! VP Technology & Delivery -! PCI Geomatics -! -! -! NOTE: The range of "E908" to "E998" is set aside for -! the use of local customer development. -! -"E009","Airy 1830",6377563.396,6356256.91 -"E011","Modified Airy",6377340.189,6356034.448 -"E910","ATS77",6378135.0,6356750.304922 -"E014","Australian National 1965",6378160.,6356774.719 -"E002","Bessel 1841",6377397.155,6356078.96284 -"E900","Bessel 1841 (Namibia)",6377483.865,6356165.382966 -"E333","Bessel 1841 (Japan By Law)",6377397.155,6356078.963 -"E000","Clarke 1866",6378206.4,6356583.8 -"E001","Clarke 1880 (RGS)",6378249.145,6356514.86955 -"E202","Clarke 1880 (IGN, France)",6378249.2,6356515.0 -"E006","Everest (India 1830)",6377276.3452,6356075.4133 -"E010","Everest (W. Malaysia and Singapore 1948)",6377304.063,6356103.039 -"E901","Everest (India 1956)",6377301.243,6356100.228368 -"E902","Everest (W. Malaysia 1969)",6377295.664,6356094.667915 -"E903","Everest (E. Malaysia and Brunei)",6377298.556,6356097.550301 -"E201","Everest (Pakistan)",6377309.613,6356108.570542 -"E017","Fischer 1960",6378166.,6356784.283666 -"E013","Modified Fischer 1960",6378155.,6356773.3205 -"E018","Fischer 1968",6378150.,6356768.337303 -"E008","GRS 1980",6378137.,6356752.31414 -"E904","Helmert 1906",6378200.,6356818.169628 -"E016","Hough 1960",6378270.,6356794.343479 -"E200","Indonesian 1974",6378160.,6356774.504086 -"E004","International 1924",6378388.,6356911.94613 -"E203","IUGG 67",6378160.,6356774.516090714 -"E015","Krassovsky 1940",6378245.,6356863.0188 -"E700","MODIS (Sphere from WGS84)",6371007.181,6371007.181 -"E003","New International 1967",6378157.5,6356772.2 -"E019","Normal Sphere",6370997.,6370997. -"E905","SGS 85",6378136.,6356751.301569 -"E907","South American 1969",6378160.,6356774.719 -"E906","WGS 60",6378165.,6356783.286959 -"E007","WGS 66",6378145.,6356759.769356 -"E005","WGS 72",6378135.,6356750.519915 -"E012","WGS 84",6378137.,6356752.314245 -"E600","D-PAF (Orbits)",6378144.0,6356759.0 -"E601","Test Data Set 1",6378144.0,6356759.0 -"E602","Test Data Set 2",6377397.2,6356079.0 -"E204","War Office",6378300.583,6356752.270 -"E205","Clarke 1880 Arc",6378249.145,6356514.966 -"E206","Bessel Modified",6377492.018,6356173.5087 -"E207","Clarke 1858",6378293.639,6356617.98149 -"E208","Clarke 1880",6378249.138,6356514.95942 -"E209","Everest (1937 Adjustment)",6377276.345,6356075.413 -"E210","Everest (1962 Definition)",6377301.243,6356100.23 -"E211","Everest Modified",6377304.063,6356103.039 -"E212","Modified Everest 1969",6377295.664,6356094.668 -"E213","Everest (1967 Definition)",6377298.556,6356097.550 -"E214","Clarke 1880 (Benoit)",6378300.79,6356566.43 -"E215","Clarke 1880 (SGA)",6378249.2,6356515.0 -"E216","Everest (1975 Definition)",6377299.151,6356098.1451 -"E217","GEM 10C",6378137,6356752.31414 -"E218","OSU 86F",6378136.2,6356751.516672 -"E219","OSU 91A",6378136.3,6356751.6163367 -"E220","Sphere",6371000,6371000 -"E221","Struve 1860",6378297,6356655.847 -"E222","Walbeck",6376896,6355834.847 -"E223","Plessis 1817",6376523,6355862.933 -"E224","Xian 1980",6378140.0,6356755.288 -"E225","EMEP Sphere",6370000,6370000 -"E226","Everest (India and Nepal)",6377301.243,6356100.228368 -"E899","GRS 1967 Modified",6378160.,6356774.719195306 diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/pdfcomposition.xsd b/.venv/lib/python3.12/site-packages/fiona/gdal_data/pdfcomposition.xsd deleted file mode 100644 index 5d1bf92d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/pdfcomposition.xsd +++ /dev/null @@ -1,721 +0,0 @@ - - - - - - Root element defining a composition of one or several pages. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Define the outline / bookmarks of the document, typically the - structure of pages. But bookmarks may also point to particular - elements in a page. - Recursive list of OutlineItem. - - - - - - - - - An OutlineItem may be final or a parent of child OutlineItem. - If the OutlineItem has children, the open attribute controls whether - the children list must be folded or not. - An OutlineItem may have zero, one or several acssociated actions. - - - - - - - - - - - - - - User visible name of the outline item. - - - - - Whether children outline items should be unfolded. - - - - - - - - - Abstract action element type - - - - - - Abstract action element - - - - - - Goto a destination page. - The x1, y1, x2, y2 attributes - may also be defined to zoom-in on a particular area of the page. - - - - - - - - - - - - - - - - - Turn all layers on or off. - Later SetAllLayersStateAction/SetLayerStateAction might change this state. - - - - - - - - - - - - - Turn a specific layer on off. - Later SetAllLayersStateAction/SetLayerStateAction might change this state. - - - - - - - - - - - - - - Execute a Javascript action. - See https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/js_api_reference.pdf - The script must be put as the content of the element. - - - - - - - - - - - - - - - - - - - - The XMP payload must be serialized in a XML-escaped way - - - - - - - - Hierarchical definition of layers ("Optional Content Group" in PDF parlance) - Common to all pages, but their visibility in the layer tree can - be controlled with the displayOnlyOnVisiblePages attribute. - - - - - - - Whether to list, in the layer tree, layers that are referenced - by at at least one currently visible page(s). - Default is false, that is the layers are always listed. - - - - - - - Define a Layer ("Optional Content Group" in PDF parlance) - - - - - - - Arbitrary id, unique to the layer. Will be cross-referenced by - IfLayerOnType#layerId to define conditional visibility. - - - - - User visible name - - - - - - Arbitrary id defining a group of mutually exclusive layers. - Layers referencing to the same #mutuallyExclusiveGroupId value - will be mutually exclusive. - - - - - - - - - - - - - - - Arbitrary id, unique to the page. Required if the page must - be referenced by a OutlineItem. - - - - - - - - - - - - - - - - - - - - - - CRS WKT string, or EPSG:XXXX code. - - - - - Define the viewport where georeferenced coordinates are - available. - If not specified, the extent of BoundingPolygon will be used instead. - If none of BoundingBox and BoundingPolygon are specified, - the whole PDF page will be assumed to be georeferenced. - - - - - Define a polygon / neatline in PDF units into which the - Measure tool will display coordinates. - If not specified, BoundingBox will be used instead. - If none of BoundingBox and BoundingPolygon are specified, - the whole PDF page will be assumed to be georeferenced. - - - - - Those points define the mapping from PDF coordinates to - georeferenced coordinates. At least 4 of them must be - provided. They do not need to form a rectangle neither in - PDF coordinate space nor in georeferenced coordinate space. - However if the georeferenced area is referenced to by content, - they must be evaluated to a geotransform, without rotation - or shearing. - - - - - - ID that can be referred to to automatically place content. - The georeferencing area ca be referenced to, only if the - control points define an affine geotransform, without rotation - or shearing, from PDF coordinate space to georeferenced - coordinate space. - - - - - ISO-32000 extension format is the georeferencing format - recognized by the Measure / Geographic location tool of Acrobat reader. - - - - - OGC Best Practice format is the georeferencing format - recognized by the Terrago Toolbar. - It seems that within a PDF file, - there should be only georeferenced areas encoded with the - OGC Best Practice so that the Terrago Toolbar accepts to - read them. - - - - - - - - - - Defines the data axis to SRS axis mapping. List of - comma-separated axis number (starting at 1). - Used to interpret the GeoX and GeoY attribute meaning. - If not specified, the traditional GIS order is assumed. - - - - - - - - - x2 must be > x1 and y2 > y1 - - - - - - - - - - - - - X value of the control point expressed in the SRS - - - - - Y value of the control point expressed in the SRS - - - - - - - Sequence of raster, vector, labels, content from other PDF document, - or conditionalized content of any of the above types. - The content is drawn in the order it is mentioned, that is the - first mentioned item is drawn first, and the last mentioned item - is drawn last. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Insert the content stream of the (first page of the) PDF, together with - its resources, without any extra rasterization. - Optional content groups or georeferencing potentially found in the - PDF to insert are ignored. - The dimensions of the inserted PDF are assumed to be the same - as the PDF where it is inserted. - - - - - - - - - - Insert raster (or rasterized) content from a GDAL dataset. - - There are two modes: - - - one where the raster potential georeferencing is completely ignored, - and the image is put at the specified PDF coordinates. - I which case , x1, y1, x2, y2 are in PDF coordinate units and represent the - area where the image will be stretched. If not specified, - the whole PDF page is occupied. - x2 must be > x1 and y2 > y1. - - - another one, when the georeferencingId attribute is defined, and - reference a georeferenced area. In that case, the raster geotransform - will be used to correctly place it in the georeferenced area. - - - - - - - - GDAL dataset name - - - - - - - - - References a georeferenced area in the same page - through its Georeferencing#id - - - - - - - - - - Only applies when method=JPEG. - If not specified, if the source raster is a JPEG file, its - codestream will be used directly. Otherwise, the image will - be compressed with a quality of 75%. - - - - - Only applies when method=DEFALTE - - - - - - - - - - - - - - - - - - - - - - Insert vector content from a OGR dataset. - - There are two modes: - - The coordinates of the vector features must be in PDF coordinate units. - This is when the georeferencingId attributes is not set. - - - another one, when the georeferencingId attribute is defined, and - reference a georeferenced area. In that case, the vector georeferenced - coordinates will be used to correctly place it in the georeferenced area. - - Note: OGR Feature Style strings containing a LABEL tool will not work with - this element, to display labels use a VectorLabel element instead. - - - - - - - - OGR dataset name - - - - - OGR layer name - - - - - References a georeferenced area in the same page - through its Georeferencing#id - - - - - Whether objects should be drawn or not - - - - - Name of the attribute whose value is used to create a hyperlink - - - - - String overriding per-feature style - - - - - - - The LogicalStructure element should be put when the features - of the layer should be written in the logical structure of the - document, and thus visible in the "Model Tree" of Acrobat reader. - By default, all OGR fields are included. - - - - - - - Whether all fields should be excluded, but the one(s) - potentially mentioned in IncludeField. - - - - - Name of OGR field to include. - - - - - - - Whether all fields should be included, but the one(s) - potentially mentioned in ExcludeField. - - - - - Name of OGR field to exclude. - - - - - - - - Name of the layer that will appear in the PDF reader. - If not specified, this will be the OGR layer name. - - - - - Name of the OGR field whose value should be display for each - feature in feature tree of the PDF reader. - If not specified, this will "feature{FID}". - - - - - - - Insert text labels for features from a OGR dataset. - - The features must be associated with a OGR Feature Style string with - a LABEL tool. - Only LATIN-1 characters will be correctly output. - - There are two modes: - - The coordinates of the vector features must be in PDF coordinate units. - This is when the georeferencingId attributes is not set. - - - another one, when the georeferencingId attribute is defined, and - reference a georeferenced area. In that case, the vector georeferenced - coordinates will be used to correctly place it in the georeferenced area. - - - - - - - OGR dataset name - - - - - OGR layer name - - - - - References a georeferenced area in the same page - through its Georeferencing#id - - - - - String overriding per-feature style - - - - - - - - - - - - Blend mode as defined in PDF reference version 1.7 - page 520, Table 7.2 "Standard separable blend modes". - - - - - - - - - - - - - - - - - - - - - - - - - - - Conditionalize content display to the On status of a layer. - IfLayerOn elements can be nested. And in general, the nesting used - to define the layers should be used to define the conditional - content too, because toggling off a upper-level layer in Acrobat - does not change the state of its children. - - For example: - <Layer id="A" name="A"> - <Layer id="A.1" name="A.1""></Layer> - </Layer> - - <IfLayerOnType layerId="A"> - <IfLayerOnType layerId="A.1"> - .... - </IfLayerOnType> - </IfLayerOnType> - - - - - - Should reference a Layer#id attribute. - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/pds4_template.xml b/.venv/lib/python3.12/site-packages/fiona/gdal_data/pds4_template.xml deleted file mode 100644 index 91f674e5..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/pds4_template.xml +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - ${LOGICAL_IDENTIFIER} - 1.0 - ${TITLE} - 1.16.0.0 - Product_Observational - - - - - - - - ${INVESTIGATION_AREA_NAME} - Mission - - ${INVESTIGATION_AREA_LID_REFERENCE} - data_to_investigation - - - - - ${OBSERVING_SYSTEM_NAME} - Spacecraft - - - - ${TARGET} - ${TARGET_TYPE} - - urn:nasa:pds:context:target:${target_type}.${target} - data_to_target - - - - - - - image - display_settings_to_array - - - Sample - Left to Right - Line - Top to Bottom - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/plscenesconf.json b/.venv/lib/python3.12/site-packages/fiona/gdal_data/plscenesconf.json deleted file mode 100644 index 9258fbd6..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/plscenesconf.json +++ /dev/null @@ -1,1985 +0,0 @@ -{ - "v1_data": { - "PSOrthoTile": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "black_fill", - "type": "double" - }, - { - "name": "clear_confidence_percent", - "type": "double" - }, - { - "name": "clear_percent", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "cloud_percent", - "type": "double" - }, - { - "name": "columns", - "type": "int" - }, - { - "name": "epsg_code", - "type": "int" - }, - { - "name": "grid_cell", - "type": "string" - }, - { - "name": "ground_control", - "type": "boolean" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "heavy_haze_percent", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "light_haze_percent", - "type": "double" - }, - { - "name": "origin_x", - "type": "double" - }, - { - "name": "origin_y", - "type": "double" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "publishing_stage", - "type": "string" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "rows", - "type": "int" - }, - { - "name": "satellite_azimuth", - "type": "double" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "shadow_percent", - "type": "double" - }, - { - "name": "snow_ice_percent", - "type": "double" - }, - { - "name": "strip_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - }, - { - "name": "visible_confidence_percent", - "type": "double" - }, - { - "name": "visible_percent", - "type": "double" - } - ], - "assets": [ - "analytic", - "analytic_5b", - "analytic_5b_xml", - "analytic_dn", - "analytic_dn_xml", - "analytic_sr", - "analytic_xml", - "udm", - "udm2", - "visual", - "visual_xml" - ] - }, - "REOrthoTile": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "black_fill", - "type": "double" - }, - { - "name": "catalog_id", - "type": "string" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "columns", - "type": "int" - }, - { - "name": "epsg_code", - "type": "int" - }, - { - "name": "grid_cell", - "type": "string" - }, - { - "name": "ground_control", - "type": "boolean" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "origin_x", - "type": "double" - }, - { - "name": "origin_y", - "type": "double" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "rows", - "type": "int" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "strip_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "analytic", - "analytic_sr", - "analytic_xml", - "udm", - "visual", - "visual_xml" - ] - }, - "PSScene": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "clear_confidence_percent", - "type": "double" - }, - { - "name": "clear_percent", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "cloud_percent", - "type": "double" - }, - { - "name": "epsg_code", - "type": "int" - }, - { - "name": "ground_control", - "type": "boolean" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "heavy_haze_percent", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "light_haze_percent", - "type": "double" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "publishing_stage", - "type": "string" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "rows", - "type": "int" - }, - { - "name": "satellite_azimuth", - "type": "double" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "shadow_percent", - "type": "double" - }, - { - "name": "snow_ice_percent", - "type": "double" - }, - { - "name": "strip_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - }, - { - "name": "visible_confidence_percent", - "type": "double" - }, - { - "name": "visible_percent", - "type": "double" - } - ], - "assets": [ - "ortho_analytic_4b", - "ortho_analytic_8b", - "ortho_analytic_8b_sr", - "ortho_analytic_8b_xml", - "ortho_analytic_4b_sr", - "ortho_analytic_4b_xml", - "basic_analytic_4b", - "basic_analytic_8b", - "basic_analytic_8b_xml", - "basic_analytic_4b_rpc", - "basic_analytic_4b_xml", - "basic_udm2", - "ortho_udm2", - "ortho_visual" - ] - }, - "PSScene3Band": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "columns", - "type": "int" - }, - { - "name": "epsg_code", - "type": "int" - }, - { - "name": "ground_control", - "type": "boolean" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "origin_x", - "type": "double" - }, - { - "name": "origin_y", - "type": "double" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "publishing_stage", - "type": "string" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "rows", - "type": "int" - }, - { - "name": "satellite_azimuth", - "type": "double" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "strip_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "analytic", - "analytic_dn", - "analytic_dn_xml", - "analytic_xml", - "basic_analytic", - "basic_analytic_dn", - "basic_analytic_dn_rpc", - "basic_analytic_dn_xml", - "basic_analytic_rpc", - "basic_analytic_xml", - "basic_udm", - "basic_udm2", - "udm", - "udm2", - "visual", - "visual_xml" - ] - }, - "PSScene4Band": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "clear_confidence_percent", - "type": "int" - }, - { - "name": "clear_percent", - "type": "int" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "cloud_percent", - "type": "int" - }, - { - "name": "columns", - "type": "int" - }, - { - "name": "epsg_code", - "type": "int" - }, - { - "name": "ground_control", - "type": "boolean" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "heavy_haze_percent", - "type": "int" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "light_haze_percent", - "type": "int" - }, - { - "name": "origin_x", - "type": "double" - }, - { - "name": "origin_y", - "type": "double" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "publishing_stage", - "type": "string" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "rows", - "type": "int" - }, - { - "name": "satellite_azimuth", - "type": "double" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "shadow_percent", - "type": "int" - }, - { - "name": "snow_ice_percent", - "type": "int" - }, - { - "name": "strip_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - }, - { - "name": "visible_confidence_percent", - "type": "int" - }, - { - "name": "visible_percent", - "type": "int" - } - ], - "assets": [ - "analytic", - "analytic_dn", - "analytic_dn_xml", - "analytic_xml", - "basic_analytic", - "basic_analytic_dn", - "basic_analytic_dn_nitf", - "basic_analytic_dn_rpc", - "basic_analytic_dn_rpc_nitf", - "basic_analytic_dn_xml", - "basic_analytic_dn_xml_nitf", - "basic_analytic_nitf", - "basic_analytic_rpc", - "basic_analytic_rpc_nitf", - "basic_analytic_xml", - "basic_analytic_xml_nitf", - "basic_udm", - "basic_udm2", - "udm", - "udm2" - ] - }, - "REScene": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "black_fill", - "type": "double" - }, - { - "name": "catalog_id", - "type": "string" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "columns", - "type": "int" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "rows", - "type": "int" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "strip_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "basic_analytic_b1", - "basic_analytic_b1_nitf", - "basic_analytic_b2", - "basic_analytic_b2_nitf", - "basic_analytic_b3", - "basic_analytic_b3_nitf", - "basic_analytic_b4", - "basic_analytic_b4_nitf", - "basic_analytic_b5", - "basic_analytic_b5_nitf", - "basic_analytic_rpc", - "basic_analytic_sci", - "basic_analytic_xml", - "basic_analytic_xml_nitf", - "basic_udm", - "browse" - ] - }, - "Landsat8L1G": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "collection", - "type": "int" - }, - { - "name": "columns", - "type": "int" - }, - { - "name": "data_type", - "type": "string" - }, - { - "name": "epsg_code", - "type": "int" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "origin_x", - "type": "double" - }, - { - "name": "origin_y", - "type": "double" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "processed", - "type": "datetime" - }, - { - "name": "product_id", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "rows", - "type": "int" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - }, - { - "name": "wrs_path", - "type": "int" - }, - { - "name": "wrs_row", - "type": "int" - } - ], - "assets": [ - "analytic_b1", - "analytic_b2", - "analytic_b3", - "analytic_b4", - "analytic_b5", - "analytic_b6", - "analytic_b7", - "analytic_b8", - "analytic_b9", - "analytic_b10", - "analytic_b11", - "analytic_bqa", - "metadata_txt", - "visual" - ] - }, - "Sentinel2L1C": { - "fields": [ - { - "name": "abs_orbit_number", - "type": "int" - }, - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "black_fill", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "columns", - "type": "int" - }, - { - "name": "data_type", - "type": "string" - }, - { - "name": "datatake_id", - "type": "string" - }, - { - "name": "epsg_code", - "type": "int" - }, - { - "name": "granule_id", - "type": "string" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "mgrs_grid_id", - "type": "string" - }, - { - "name": "origin_x", - "type": "double" - }, - { - "name": "origin_y", - "type": "double" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "product_generation_time", - "type": "datetime" - }, - { - "name": "product_id", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "rel_orbit_number", - "type": "int" - }, - { - "name": "rows", - "type": "int" - }, - { - "name": "s2_processor_version", - "type": "string" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "analytic_b1", - "analytic_b2", - "analytic_b3", - "analytic_b4", - "analytic_b5", - "analytic_b6", - "analytic_b7", - "analytic_b8", - "analytic_b8a", - "analytic_b9", - "analytic_b10", - "analytic_b11", - "analytic_b12", - "metadata_aux", - "visual" - ] - }, - "SkySatScene": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "camera_id", - "type": "string" - }, - { - "name": "clear_confidence_percent", - "type": "int" - }, - { - "name": "clear_percent", - "type": "int" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "cloud_percent", - "type": "int" - }, - { - "name": "ground_control", - "type": "boolean" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "heavy_haze_percent", - "type": "int" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "light_haze_percent", - "type": "int" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "publishing_stage", - "type": "string" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "satellite_azimuth", - "type": "double" - }, - { - "name": "shadow_percent", - "type": "int" - }, - { - "name": "snow_ice_percent", - "type": "int" - }, - { - "name": "strip_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "view_angle", - "type": "double" - }, - { - "name": "visible_confidence_percent", - "type": "int" - }, - { - "name": "visible_percent", - "type": "int" - } - ], - "assets": [ - "basic_analytic", - "basic_analytic_dn", - "basic_analytic_dn_rpc", - "basic_analytic_rpc", - "basic_analytic_udm", - "basic_analytic_udm2", - "basic_l1a_panchromatic_dn", - "basic_l1a_panchromatic_dn_rpc", - "basic_panchromatic", - "basic_panchromatic_dn", - "basic_panchromatic_dn_rpc", - "basic_panchromatic_rpc", - "basic_panchromatic_udm2", - "ortho_analytic", - "ortho_analytic_sr", - "ortho_analytic_dn", - "ortho_analytic_udm", - "ortho_analytic_udm2", - "ortho_panchromatic", - "ortho_panchromatic_dn", - "ortho_panchromatic_udm", - "ortho_panchromatic_udm2", - "ortho_pansharpened", - "ortho_pansharpened_udm", - "ortho_pansharpened_udm2", - "ortho_visual" - ] - }, - "SkySatCollect": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "clear_confidence_percent", - "type": "int" - }, - { - "name": "clear_percent", - "type": "int" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "cloud_percent", - "type": "int" - }, - { - "name": "ground_control_ratio", - "type": "double" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "heavy_haze_percent", - "type": "int" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "light_haze_percent", - "type": "int" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "publishing_stage", - "type": "string" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "satellite_azimuth", - "type": "double" - }, - { - "name": "shadow_percent", - "type": "int" - }, - { - "name": "snow_ice_percent", - "type": "int" - }, - { - "name": "strip_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "view_angle", - "type": "double" - }, - { - "name": "visible_confidence_percent", - "type": "int" - }, - { - "name": "visible_percent", - "type": "int" - } - ], - "assets": [ - "basic_l1a_all_frames", - "ortho_analytic", - "ortho_analytic_sr", - "ortho_analytic_dn", - "ortho_analytic_udm", - "ortho_analytic_udm2", - "ortho_panchromatic", - "ortho_panchromatic_dn", - "ortho_panchromatic_udm", - "ortho_panchromatic_udm2", - "ortho_pansharpened", - "ortho_pansharpened_udm", - "ortho_pansharpened_udm2", - "ortho_visual" - ] - }, - "SkySatVideo": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "camera_id", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "publishing_stage", - "type": "string" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "satellite_azimuth", - "type": "double" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "strip_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "video_file", - "video_frames", - "video_metadata" - ] - }, - "Sentinel1": { - "fields": [ - { - "name": "abs_orbit_number", - "type": "int" - }, - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "antenna_look_direction", - "type": "string" - }, - { - "name": "black_fill", - "type": "double" - }, - { - "name": "clear_percent", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "cloud_percent", - "type": "double" - }, - { - "name": "columns", - "type": "int" - }, - { - "name": "datatake_id", - "type": "string" - }, - { - "name": "epsg_code", - "type": "int" - }, - { - "name": "granule_id", - "type": "string" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "incidence_far", - "type": "double" - }, - { - "name": "incidence_near", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "orbit_direction", - "type": "string" - }, - { - "name": "origin_x", - "type": "double" - }, - { - "name": "origin_y", - "type": "double" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "polarisation_channels", - "type": "string" - }, - { - "name": "polarisation_mode", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "rel_orbit_number", - "type": "int" - }, - { - "name": "rows", - "type": "int" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "sensor_mode", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "ortho_analytic_vh", - "ortho_analytic_vv" - ] - }, - "MOD09GA": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "black_fill", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "data_type", - "type": "string" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "product_generation_time", - "type": "datetime" - }, - { - "name": "product_version", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "sgrid_tile_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "analytic_gflags", - "analytic_granule_pnt", - "analytic_iobs_res", - "analytic_num_observations_1km", - "analytic_num_observations_500m", - "analytic_obscov_500m", - "analytic_orbit_pnt", - "analytic_q_scan", - "analytic_qc_500m", - "analytic_range", - "analytic_sensor_azimuth", - "analytic_sensor_zenith", - "analytic_solar_azimuth", - "analytic_solar_zenith", - "analytic_state_1km", - "analytic_sur_refl_b01", - "analytic_sur_refl_b02", - "analytic_sur_refl_b03", - "analytic_sur_refl_b04", - "analytic_sur_refl_b05", - "analytic_sur_refl_b06", - "analytic_sur_refl_b07" - ] - }, - "MYD09GA": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "black_fill", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "data_type", - "type": "string" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "product_generation_time", - "type": "datetime" - }, - { - "name": "product_version", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "sgrid_tile_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "analytic_gflags", - "analytic_granule_pnt", - "analytic_iobs_res", - "analytic_num_observations_1km", - "analytic_num_observations_500m", - "analytic_obscov_500m", - "analytic_orbit_pnt", - "analytic_q_scan", - "analytic_qc_500m", - "analytic_range", - "analytic_sensor_azimuth", - "analytic_sensor_zenith", - "analytic_solar_azimuth", - "analytic_solar_zenith", - "analytic_state_1km", - "analytic_sur_refl_b01", - "analytic_sur_refl_b02", - "analytic_sur_refl_b03", - "analytic_sur_refl_b04", - "analytic_sur_refl_b05", - "analytic_sur_refl_b06", - "analytic_sur_refl_b07" - ] - }, - "MOD09GQ": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "black_fill", - "type": "double" - }, - { - "name": "clear_percent", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "cloud_percent", - "type": "double" - }, - { - "name": "data_type", - "type": "string" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "product_generation_time", - "type": "datetime" - }, - { - "name": "product_version", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "sgrid_tile_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "analytic_granule_pnt", - "analytic_iobs_res", - "analytic_num_observations", - "analytic_obscov", - "analytic_orbit_pnt", - "analytic_qc_250m", - "analytic_sur_refl_b01", - "analytic_sur_refl_b02" - ] - }, - "MYD09GQ": { - "fields": [ - { - "name": "acquired", - "type": "datetime" - }, - { - "name": "anomalous_pixels", - "type": "double" - }, - { - "name": "black_fill", - "type": "double" - }, - { - "name": "clear_percent", - "type": "double" - }, - { - "name": "cloud_cover", - "type": "double" - }, - { - "name": "cloud_percent", - "type": "double" - }, - { - "name": "data_type", - "type": "string" - }, - { - "name": "gsd", - "type": "double" - }, - { - "name": "instrument", - "type": "string" - }, - { - "name": "item_type", - "type": "string" - }, - { - "name": "pixel_resolution", - "type": "double" - }, - { - "name": "product_generation_time", - "type": "datetime" - }, - { - "name": "product_version", - "type": "string" - }, - { - "name": "provider", - "type": "string" - }, - { - "name": "published", - "type": "datetime" - }, - { - "name": "quality_category", - "type": "string" - }, - { - "name": "satellite_id", - "type": "string" - }, - { - "name": "sgrid_tile_id", - "type": "string" - }, - { - "name": "sun_azimuth", - "type": "double" - }, - { - "name": "sun_elevation", - "type": "double" - }, - { - "name": "updated", - "type": "datetime" - }, - { - "name": "usable_data", - "type": "double" - }, - { - "name": "view_angle", - "type": "double" - } - ], - "assets": [ - "analytic_granule_pnt", - "analytic_iobs_res", - "analytic_num_observations", - "analytic_obscov", - "analytic_orbit_pnt", - "analytic_qc_250m", - "analytic_sur_refl_b01", - "analytic_sur_refl_b02" - ] - } - } -} diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_ob_v1.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_ob_v1.gfs deleted file mode 100644 index 3eb0468c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_ob_v1.gfs +++ /dev/null @@ -1,1455 +0,0 @@ - - - - Obce - Data|Obce|Obec - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice3 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - StatusKod - StatusKod - Integer - - - - OkresKod - Okres|Kod - Integer - - - - PouKod - Pou|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - VlajkaText - VlajkaText - String - 4000 - - - - VlajkaObrazek - VlajkaObrazek - Complex - - - - ZnakText - ZnakText - String - 4000 - - - - ZnakObrazek - ZnakObrazek - Complex - - - - CleneniSMRozsahKod - CleneniSMRozsahKod - Integer - - - - CleneniSMTypKod - CleneniSMTypKod - Integer - - - - NutsLau - NutsLau - String - 12 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - SpravniObvody - Data|SpravniObvody|SpravniObvod - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - SpravniMomcKod - SpravniMomcKod - Integer - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Mop - Data|Mop|Mop - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Momc - Data|Momc|Momc - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - MopKod - Mop|Kod - Integer - - - - ObecKod - Obec|Kod - Integer - - - - SpravniObvodKod - SpravniObvod|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - VlajkaText - VlajkaText - String - 4000 - - - - VlajkaObrazek - VlajkaObrazek - Complex - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - ZnakText - ZnakText - String - 4000 - - - - ZnakObrazek - ZnakObrazek - Complex - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - CastiObci - Data|CastiObci|CastObce - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - KatastralniUzemi - Data|KatastralniUzemi|KatastralniUzemi - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice2 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - ExistujeDigitalniMapa - ExistujeDigitalniMapa - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - RizeniId - RizeniId - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Zsj - Data|Zsj|Zsj - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - KatastralniUzemiKod - KatastralniUzemi|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - Vymera - Vymera - Integer - Integer64 - - - - CharakterZsjKod - CharakterZsjKod - Integer - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Ulice - Data|Ulice|Ulice - urn:ogc:def:crs:EPSG::5514 - - - DefinicniCara - Geometrie|DefinicniCara - MultiLineString - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - - Parcely - Data|Parcely|Parcela - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - Polygon - - - - OriginalniHraniceOmpv - Geometrie|OriginalniHraniceOmpv - MultiPolygon - - - - Id - Id - Integer - Integer64 - - - - Nespravny - Nespravny - String - 5 - - - - KmenoveCislo - KmenoveCislo - Integer - - - - PododdeleniCisla - PododdeleniCisla - Integer - - - - VymeraParcely - VymeraParcely - Integer - Integer64 - - - - ZpusobyVyuzitiPozemku - ZpusobyVyuzitiPozemku - Integer - - - - DruhCislovaniKod - DruhCislovaniKod - Integer - - - - DruhPozemkuKod - DruhPozemkuKod - Integer - - - - KatastralniUzemiKod - KatastralniUzemi|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - RizeniId - RizeniId - Integer - Integer64 - - - - BonitovanyDilVymera - BonitovaneDily|BonitovanyDil|Vymera - IntegerList - - - - BonitovanyDilBonitovanaJednotkaKod - BonitovaneDily|BonitovanyDil|BonitovanaJednotkaKod - IntegerList - - - - BonitovanyDilIdTranskace - BonitovaneDily|BonitovanyDil|IdTranskace - IntegerList - Integer64 - - - - BonitovanyDilRizeniId - BonitovaneDily|BonitovanyDil|RizeniId - IntegerList - Integer64 - - - - ZpusobOchranyKod - ZpusobyOchranyPozemku|ZpusobOchrany|Kod - IntegerList - - - - ZpusobOchranyTypOchranyKod - ZpusobyOchranyPozemku|ZpusobOchrany|TypOchranyKod - IntegerList - - - - ZpusobOchranyIdTransakce - ZpusobyOchranyPozemku|ZpusobOchrany|IdTransakce - IntegerList - - - - ZpusobOchranyRizeniId - ZpusobyOchranyPozemku|ZpusobOchrany|RizeniId - IntegerList - Integer64 - - - - - StavebniObjekty - Data|StavebniObjekty|StavebniObjekt - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - OriginalniHraniceOmpv - Geometrie|OriginalniHraniceOmpv - MultiPolygon - - - - Kod - Kod - Integer - - - - Nespravny - Nespravny - String - 5 - - - - CisloDomovni - CislaDomovni|CisloDomovni - IntegerList - - - - IdentifikacniParcelaId - IdentifikacniParcela|Id - Integer - Integer64 - - - - TypStavebnihoObjektuKod - TypStavebnihoObjektuKod - Integer - - - - ZpusobVyuzitiKod - ZpusobVyuzitiKod - Integer - - - - CastObceKod - CastObce|Kod - Integer - - - - MomcKod - Momc|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - IsknBudovaId - IsknBudovaId - Integer - Integer64 - - - - Dokonceni - Dokonceni - String - 19 - - - - DruhKonstrukceKod - DruhKonstrukceKod - Integer - - - - ObestavenyProstor - ObestavenyProstor - Integer - - - - PocetBytu - PocetBytu - Integer - - - - PocetPodlazi - PocetPodlazi - Integer - - - - PodlahovaPlocha - PodlahovaPlocha - Integer - - - - PripojeniKanalizaceKod - PripojeniKanalizaceKod - Integer - - - - PripojeniPlynKod - PripojeniPlynKod - Integer - - - - PripojeniVodovodKod - PripojeniVodovodKod - Integer - - - - VybaveniVytahemKod - VybaveniVytahemKod - Integer - - - - ZastavenaPlocha - ZastavenaPlocha - Integer - - - - ZpusobVytapeniKod - ZpusobVytapeniKod - Integer - - - - ZpusobOchranyKod - ZpusobyOchrany|ZpusobOchrany|Kod - IntegerList - - - - ZpusobOchranyTypOchranyKod - ZpusobyOchrany|ZpusobOchrany|TypOchranyKod - IntegerList - - - - ZpusobOchranyIdTransakce - ZpusobyOchrany|ZpusobOchrany|IdTransakce - IntegerList - - - - ZpusobOchranyRizeniId - ZpusobyOchrany|ZpusobOchrany|RizeniId - IntegerList - Integer64 - - - - DetailniTEAKod - DetailniTEA|DetailniTEA|Kod - IntegerList - - - - DetailniTEAPlatiOd - DetailniTEA|DetailniTEA|PlatiOd - StringList - 19 - - - - DetailniTEAGlobalniIdNavrhuZmeny - DetailniTEA|DetailniTEA|GlobalniIdNavrhuZmeny - IntegerList - Integer64 - - - - DetailniTEADruhKonstrukceKod - DetailniTEA|DetailniTEA|DruhKonstrukceKod - IntegerList - - - - DetailniTEAPocetBytu - DetailniTEA|DetailniTEA|PocetBytu - IntegerList - - - - DetailniTEAPocetPodlazi - DetailniTEA|DetailniTEA|PocetPodlazi - IntegerList - - - - DetailniTEAPripojeniKanalizaceKod - DetailniTEA|DetailniTEA|PripojeniKanalizaceKod - IntegerList - - - - DetailniTEAPripojeniPlynKod - DetailniTEA|DetailniTEA|PripojeniPlynKod - IntegerList - - - - DetailniTEAPripojeniVodovodKod - DetailniTEA|DetailniTEA|PripojeniVodovodKod - IntegerList - - - - DetailniTEAZpusobVytapeniKod - DetailniTEA|DetailniTEA|ZpusobVytapeniKod - IntegerList - - - - DetailniTEAAdresniMistoKod - DetailniTEA|DetailniTEA|AdresniMistoKod|Kod - IntegerList - - - - - AdresniMista - Data|AdresniMista|AdresniMisto - urn:ogc:def:crs:EPSG::5514 - - - AdresniBod - Geometrie|DefinicniBod|AdresniBod - Point - - - - Zachranka - Geometrie|DefinicniBod|Zachranka - Point - - - - Hasici - Geometrie|DefinicniBod|Hasici - Point - - - - Kod - Kod - Integer - - - - Nespravny - Nespravny - String - 5 - - - - CisloDomovni - CisloDomovni - Integer - - - - CisloOrientacni - CisloOrientacni - Integer - - - - CisloOrientacniPismeno - CisloOrientacniPismeno - String - 1 - - - - Psc - Psc - Integer - - - - StavebniObjektKod - StavebniObjekt|Kod - Integer - - - - UliceKod - Ulice|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - IsknBudovaId - IsknBudovaId - Integer - Integer64 - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_st_uvoh_v1.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_st_uvoh_v1.gfs deleted file mode 100644 index 1113438e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_st_uvoh_v1.gfs +++ /dev/null @@ -1,86 +0,0 @@ - - - - VolebniOkrsek - Data|VolebniOkrsek|VO - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Cislo - Cislo - Integer - - - - Nespravny - Nespravny - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - MomcKod - Momc|Kod - Integer - - - - Poznamka - Poznamka - String - 60 - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_st_v1.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_st_v1.gfs deleted file mode 100644 index 05c2daa7..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_st_v1.gfs +++ /dev/null @@ -1,1489 +0,0 @@ - - - - Staty - Data|Staty|Stat - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice5 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 2 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - RegionySoudrznosti - Data|RegionySoudrznosti|RegionSoudrznosti - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice5 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - StatKod - Stat|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 4 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Kraje - Data|Kraje|Kraj - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice5 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - StatKod - Stat|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 4 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Vusc - Data|Vusc|Vusc - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice5 - MultiPolygon - - - - Kod - Kod - Integer - 6 - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - RegionSoudrznostiKod - RegionSoudrznosti|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 5 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Okresy - Data|Okresy|Okres - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice4 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - KrajKod - Kraj|Kod - Integer - - - - VuscKod - Vusc|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 6 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Orp - Data|Orp|Orp - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice4 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - SpravniObecKod - SpravniObecKod - Integer - - - - VuscKod - Vusc|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Pou - Data|Pou|Pou - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice4 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - SpravniObecKod - SpravniObecKod - Integer - 6 - - - - OrpKod - Orp|Kod - Integer - 6 - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Obce - Data|Obce|Obec - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice3 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - StatusKod - StatusKod - Integer - - - - OkresKod - Okres|Kod - Integer - - - - PouKod - Pou|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - VlajkaText - VlajkaText - String - 4000 - - - - VlajkaObrazek - VlajkaObrazek - Complex - - - - ZnakText - ZnakText - String - 4000 - - - - ZnakObrazek - ZnakObrazek - Complex - - - - CleneniSMRozsahKod - CleneniSMRozsahKod - Integer - - - - CleneniSMTypKod - CleneniSMTypKod - Integer - - - - NutsLau - NutsLau - String - 12 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - SpravniObvody - Data|SpravniObvody|SpravniObvod - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - SpravniMomcKod - SpravniMomcKod - Integer - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Mop - Data|Mop|Mop - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Momc - Data|Momc|Momc - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - MopKod - Mop|Kod - Integer - - - - ObecKod - Obec|Kod - Integer - - - - SpravniObvodKod - SpravniObvod|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - VlajkaText - VlajkaText - String - 4000 - - - - VlajkaObrazek - VlajkaObrazek - Complex - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - ZnakText - ZnakText - String - 4000 - - - - ZnakObrazek - ZnakObrazek - Complex - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - CastiObci - Data|CastiObci|CastObce - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - KatastralniUzemi - Data|KatastralniUzemi|KatastralniUzemi - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice2 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - ExistujeDigitalniMapa - ExistujeDigitalniMapa - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - RizeniId - RizeniId - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Zsj - Data|Zsj|Zsj - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - KatastralniUzemiKod - KatastralniUzemi|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - Vymera - Vymera - Integer - Integer64 - - - - CharakterZsjKod - CharakterZsjKod - Integer - - - - DatumVzniku - DatumVzniku - String - 19 - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_v1.gfs b/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_v1.gfs deleted file mode 100644 index c88f65c5..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/ruian_vf_v1.gfs +++ /dev/null @@ -1,2126 +0,0 @@ - - - - Staty - Data|Staty|Stat - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice5 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 2 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - RegionySoudrznosti - Data|RegionySoudrznosti|RegionSoudrznosti - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice5 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - StatKod - Stat|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 4 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Kraje - Data|Kraje|Kraj - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice5 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - StatKod - Stat|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 4 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Vusc - Data|Vusc|Vusc - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice5 - MultiPolygon - - - - Kod - Kod - Integer - 6 - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - RegionSoudrznostiKod - RegionSoudrznosti|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 5 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Okresy - Data|Okresy|Okres - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice4 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - KrajKod - Kraj|Kod - Integer - - - - VuscKod - Vusc|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - NutsLau - NutsLau - String - 6 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Orp - Data|Orp|Orp - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice4 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - SpravniObecKod - SpravniObecKod - Integer - - - - VuscKod - Vusc|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Pou - Data|Pou|Pou - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice4 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - SpravniObecKod - SpravniObecKod - Integer - 6 - - - - OrpKod - Orp|Kod - Integer - 6 - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Obce - Data|Obce|Obec - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice3 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - StatusKod - StatusKod - Integer - - - - OkresKod - Okres|Kod - Integer - - - - PouKod - Pou|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - VlajkaText - VlajkaText - String - 4000 - - - - VlajkaObrazek - VlajkaObrazek - Complex - - - - ZnakText - ZnakText - String - 4000 - - - - ZnakObrazek - ZnakObrazek - Complex - - - - CleneniSMRozsahKod - CleneniSMRozsahKod - Integer - - - - CleneniSMTypKod - CleneniSMTypKod - Integer - - - - NutsLau - NutsLau - String - 12 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - SpravniObvody - Data|SpravniObvody|SpravniObvod - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - SpravniMomcKod - SpravniMomcKod - Integer - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Mop - Data|Mop|Mop - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 32 - - - - Nespravny - Nespravny - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Momc - Data|Momc|Momc - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - MopKod - Mop|Kod - Integer - - - - ObecKod - Obec|Kod - Integer - - - - SpravniObvodKod - SpravniObvod|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - VlajkaText - VlajkaText - String - 4000 - - - - VlajkaObrazek - VlajkaObrazek - Complex - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - ZnakText - ZnakText - String - 4000 - - - - ZnakObrazek - ZnakObrazek - Complex - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - CastiObci - Data|CastiObci|CastObce - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - KatastralniUzemi - Data|KatastralniUzemi|KatastralniUzemi - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - GeneralizovaneHranice - Geometrie|GeneralizovaneHranice2 - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - ExistujeDigitalniMapa - ExistujeDigitalniMapa - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - RizeniId - RizeniId - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Zsj - Data|Zsj|Zsj - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - MultiPoint - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - KatastralniUzemiKod - KatastralniUzemi|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - MluvnickeCharakteristikyPad2 - MluvnickeCharakteristiky|Pad2 - String - 48 - - - MluvnickeCharakteristikyPad3 - MluvnickeCharakteristiky|Pad3 - String - 48 - - - MluvnickeCharakteristikyPad4 - MluvnickeCharakteristiky|Pad4 - String - 48 - - - MluvnickeCharakteristikyPad6 - MluvnickeCharakteristiky|Pad6 - String - 48 - - - MluvnickeCharakteristikyPad7 - MluvnickeCharakteristiky|Pad7 - String - 48 - - - - Vymera - Vymera - Integer - Integer64 - - - - CharakterZsjKod - CharakterZsjKod - Integer - - - - DatumVzniku - DatumVzniku - String - 19 - - - - - Ulice - Data|Ulice|Ulice - urn:ogc:def:crs:EPSG::5514 - - - DefinicniCara - Geometrie|DefinicniCara - MultiLineString - - - - Kod - Kod - Integer - - - - Nazev - Nazev - String - 48 - - - - Nespravny - Nespravny - String - 5 - - - - ObecKod - Obec|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - - Parcely - Data|Parcely|Parcela - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - Polygon - - - - OriginalniHraniceOmpv - Geometrie|OriginalniHraniceOmpv - MultiPolygon - - - - Id - Id - Integer - Integer64 - - - - Nespravny - Nespravny - String - 5 - - - - KmenoveCislo - KmenoveCislo - Integer - - - - PododdeleniCisla - PododdeleniCisla - Integer - - - - VymeraParcely - VymeraParcely - Integer - Integer64 - - - - ZpusobyVyuzitiPozemku - ZpusobyVyuzitiPozemku - Integer - - - - DruhCislovaniKod - DruhCislovaniKod - Integer - - - - DruhPozemkuKod - DruhPozemkuKod - Integer - - - - KatastralniUzemiKod - KatastralniUzemi|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - RizeniId - RizeniId - Integer - Integer64 - - - - BonitovanyDilVymera - BonitovaneDily|BonitovanyDil|Vymera - IntegerList - - - - BonitovanyDilBonitovanaJednotkaKod - BonitovaneDily|BonitovanyDil|BonitovanaJednotkaKod - IntegerList - - - - BonitovanyDilIdTranskace - BonitovaneDily|BonitovanyDil|IdTranskace - IntegerList - Integer64 - - - - BonitovanyDilRizeniId - BonitovaneDily|BonitovanyDil|RizeniId - IntegerList - Integer64 - - - - ZpusobOchranyKod - ZpusobyOchranyPozemku|ZpusobOchrany|Kod - IntegerList - - - - ZpusobOchranyTypOchranyKod - ZpusobyOchranyPozemku|ZpusobOchrany|TypOchranyKod - IntegerList - - - - ZpusobOchranyIdTransakce - ZpusobyOchranyPozemku|ZpusobOchrany|IdTransakce - IntegerList - - - - ZpusobOchranyRizeniId - ZpusobyOchranyPozemku|ZpusobOchrany|RizeniId - IntegerList - Integer64 - - - - - StavebniObjekty - Data|StavebniObjekty|StavebniObjekt - urn:ogc:def:crs:EPSG::5514 - - - DefinicniBod - Geometrie|DefinicniBod - Point - - - - OriginalniHranice - Geometrie|OriginalniHranice - MultiPolygon - - - - OriginalniHraniceOmpv - Geometrie|OriginalniHraniceOmpv - MultiPolygon - - - - Kod - Kod - Integer - - - - Nespravny - Nespravny - String - 5 - - - - CisloDomovni - CislaDomovni|CisloDomovni - IntegerList - - - - IdentifikacniParcelaId - IdentifikacniParcela|Id - Integer - Integer64 - - - - TypStavebnihoObjektuKod - TypStavebnihoObjektuKod - Integer - - - - ZpusobVyuzitiKod - ZpusobVyuzitiKod - Integer - - - - CastObceKod - CastObce|Kod - Integer - - - - MomcKod - Momc|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - IsknBudovaId - IsknBudovaId - Integer - Integer64 - - - - Dokonceni - Dokonceni - String - 19 - - - - DruhKonstrukceKod - DruhKonstrukceKod - Integer - - - - ObestavenyProstor - ObestavenyProstor - Integer - - - - PocetBytu - PocetBytu - Integer - - - - PocetPodlazi - PocetPodlazi - Integer - - - - PodlahovaPlocha - PodlahovaPlocha - Integer - - - - PripojeniKanalizaceKod - PripojeniKanalizaceKod - Integer - - - - PripojeniPlynKod - PripojeniPlynKod - Integer - - - - PripojeniVodovodKod - PripojeniVodovodKod - Integer - - - - VybaveniVytahemKod - VybaveniVytahemKod - Integer - - - - ZastavenaPlocha - ZastavenaPlocha - Integer - - - - ZpusobVytapeniKod - ZpusobVytapeniKod - Integer - - - - ZpusobOchranyKod - ZpusobyOchrany|ZpusobOchrany|Kod - IntegerList - - - - ZpusobOchranyTypOchranyKod - ZpusobyOchrany|ZpusobOchrany|TypOchranyKod - IntegerList - - - - ZpusobOchranyIdTransakce - ZpusobyOchrany|ZpusobOchrany|IdTransakce - IntegerList - - - - ZpusobOchranyRizeniId - ZpusobyOchrany|ZpusobOchrany|RizeniId - IntegerList - Integer64 - - - - DetailniTEAKod - DetailniTEA|DetailniTEA|Kod - IntegerList - - - - DetailniTEAPlatiOd - DetailniTEA|DetailniTEA|PlatiOd - StringList - 19 - - - - DetailniTEAGlobalniIdNavrhuZmeny - DetailniTEA|DetailniTEA|GlobalniIdNavrhuZmeny - IntegerList - Integer64 - - - - DetailniTEADruhKonstrukceKod - DetailniTEA|DetailniTEA|DruhKonstrukceKod - IntegerList - - - - DetailniTEAPocetBytu - DetailniTEA|DetailniTEA|PocetBytu - IntegerList - - - - DetailniTEAPocetPodlazi - DetailniTEA|DetailniTEA|PocetPodlazi - IntegerList - - - - DetailniTEAPripojeniKanalizaceKod - DetailniTEA|DetailniTEA|PripojeniKanalizaceKod - IntegerList - - - - DetailniTEAPripojeniPlynKod - DetailniTEA|DetailniTEA|PripojeniPlynKod - IntegerList - - - - DetailniTEAPripojeniVodovodKod - DetailniTEA|DetailniTEA|PripojeniVodovodKod - IntegerList - - - - DetailniTEAZpusobVytapeniKod - DetailniTEA|DetailniTEA|ZpusobVytapeniKod - IntegerList - - - - DetailniTEAAdresniMistoKod - DetailniTEA|DetailniTEA|AdresniMistoKod|Kod - IntegerList - - - - - AdresniMista - Data|AdresniMista|AdresniMisto - urn:ogc:def:crs:EPSG::5514 - - - AdresniBod - Geometrie|DefinicniBod|AdresniBod - Point - - - - Zachranka - Geometrie|DefinicniBod|Zachranka - Point - - - - Hasici - Geometrie|DefinicniBod|Hasici - Point - - - - Kod - Kod - Integer - - - - Nespravny - Nespravny - String - 5 - - - - CisloDomovni - CisloDomovni - Integer - - - - CisloOrientacni - CisloOrientacni - Integer - - - - CisloOrientacniPismeno - CisloOrientacniPismeno - String - 1 - - - - Psc - Psc - Integer - - - - StavebniObjektKod - StavebniObjekt|Kod - Integer - - - - UliceKod - Ulice|Kod - Integer - - - - PlatiOd - PlatiOd - String - 19 - - - - PlatiDo - PlatiDo - String - 19 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - - GlobalniIdNavrhuZmeny - GlobalniIdNavrhuZmeny - Integer - Integer64 - - - - IsknBudovaId - IsknBudovaId - Integer - Integer64 - - - - - ZaniklePrvky - Data|ZaniklePrvky|ZaniklyPrvek - - - TypPrvkuKod - TypPrvkuKod - String - 2 - - - - PrvekId - PrvekId - Integer - Integer64 - - - - IdTransakce - IdTransakce - Integer - Integer64 - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57agencies.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57agencies.csv deleted file mode 100644 index b60016d3..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57agencies.csv +++ /dev/null @@ -1,249 +0,0 @@ -#AgencyID,Token,Code,AgencyName -1,AE,530,Ministry of Communications, United Arab Emirates -2,AR,1,Servicio de Hidrografia Naval, Argentina -3,AU,10,Hydrographic Service, Royal Australian Navy, Australia -4,BH,20,Hydrographic Section, Survey Directorate, Bahrain -5,BE,30,Antwerpse Zeediensten Hydrografie, Belgium -6,B1,31,Dienst der Kust Hydrografie, Belgium -7,BR,40,Diretoria de Hidrografia e Navegacao, Brazil -8,CA,50,Canadian Hydrographic Service, Canada -9,CL,60,Servicio Hidrogr fico y Oceanogr fico de la Armada, Chile -10,CN,70,Maritime Safety Administration, China -11,C1,71,Navigation Guarantee Department, China -12,C2,72,Hong Kong Hydrographic Service -13,HR,80,Drzavni Hidrografski Institut, Croatia -14,CU,90,Instituto Cubano de Hidrografia, Cuba -15,CY,100,Department of Lands & Surveys, Hydrographic Unit, Cyprus -16,DK,110,Kort-Og Matrikelstyrelsen, Denmark -17,D1,111,Farvandsvaesenet, Denmark -18,DO,120,Departamento Hidrografico, Marina de Guerra, Dominican Rep. -19,DZ,610,Service Hydrographique des forces navales, Algeria -20,EC,130,Instituto Oceanografico de la Armada, Ecuador -21,EG,140,Shobat al Misaha al Baharia, Egypt -22,FJ,150,Fiji Hydrographic Service, Fiji -23,FI,160,Merenkulkuhallitus, Merikarttaosasto, Finland -24,FR,170,Service Hydrographique et Oceanographique de la Marine, France -25,DE,180,Bundesamt fuer Seeschiffahrt und Hydrographie, Germany -26,GR,190,Hellenic Navy Hydrographic Service, Greece -27,GT,200,Departamento de Sistemas Hidraulicos, Guatemala -28,G1,201,Instituto Geogr fico Militar, Guatemala -29,IS,210,Sjomaelingar Islands, Iceland -30,IN,220,Naval Hydrographic Office, India -31,ID,230,Dinas Hidro-Oseanografi (Dishidros), Indonesia -32,IR,240,Ports and Shipping Organization, Iran -33,IT,250,Istituto Idrografico della Marina, Italy -34,JP,260,Japan Hydrographic Department, Japan -35,KR,270,Hydrographic Department of the DPRK, Korea (DPR of) -36,KP,280,Office of Hydrographic Affairs, Korea (Rep. of) -37,MY,290,Royal Malaysian Navy Hydrographic Department, Malaysia -38,MC,300,Departement des Travaux Publics et des Affaires Sociales, Monaco -39,NL,310,Dienst der Hydrografie Koninklijke Marine, Netherlands -40,NZ,320,Royal New Zealand Navy Hydrographic Office, New Zealand -41,NG,330,Nigerian Navy Hydrographic Office, Nigeria -42,NO,340,Norwegian Hydrographic Service, Norway -43,N1,341,Electronic Chart Centre, Norway -44,OM,350,National Hydrographic Organization, Oman -45,PK,360,Pakistan Hydrographic Department, Pakistan -46,PG,370,Department of Transport, Maritime Division, Papua New Guinea -47,PE,380,Direccion de Hidrografia y Navegacion de la Marina, Peru -48,PH,390,Coast & Geodetic Survey Dept., Philippines -49,PL,400,Biuro Hydrograficzne Marynarki Wojennej, Poland -50,PT,410,Instituto Hidrografico, Portugal -51,RU,420,Head Department of Navigation & Oceanography, Russian Federation -52,SG,430,Hydrographic Department, Singapore -53,ZA,440,South African Navy Hydrographic Office, South Afrika (Rep. of) -54,ES,450,Instituto Hidrogr fico de la Marina, Spain -55,LK,460,National Aquatic Resources Agency, Sri Lanka -56,SR,470,Ministry of Transports, Maritime Affairs, Suriname -57,SE,480,Sjoekarteavdelningen, Sweden -58,SY,490,General Directorate of Ports, Syria -59,TH,500,Krom Utoksastr, Thailand -60,TT,510,Trinidad & Tobago Hydrographic Unit, Trinidad & Tobago -61,TR,520,Seyir, Hidrografi ve Osinografi Dairesi Baskanligi, Turkey -62,GB,540,Hydrographic Office, UK -63,US,550,Office of Coast Survey, USA -64,U1,551,National Imagery and Mapping Agency, USA -65,U2,552,Naval Oceanography Command, USA -66,U3,553,US Army Corps of Engineers -67,UY,560,Servicio de Oceanografia, Hidrografia y Meteorologia de la Armada, Uruguay -68,VE,570,Direccion de Hidrografia y Navegacion, Venezuela -69,YU,580,Hydrographic Institute of the Navy, Yugoslavia -70,ZR,590,Direction de la Marine et des Voies Navigables, Zaire -71,AL,600,Sherbimi Hidrografik Shqiptar, Albania -72,AO,620,Not known, Angola -73,AG,630,Department of Marine Services and Merchant Shipping, Antigua and Barbuda -74,AW,640,Not known, Aruba -75,BS,650,Department of Lands and Surveys, Bahamas -76,BD,660,Department of Hydrography, Bangladesh -77,BB,670,Barbados Port Authority, Barbados -78,BZ,680,Not known, Belize -79,BJ,690,Direction Generale du Port Autonome de Cotonou, Benin -80,BO,700,Servicio de Hidrografia Naval, Bolivia -81,BN,710,Department of Marine, Brunei Darussalam -82,BG,720,Hidrografska Sluzhba Pri Ministerstvo Na Otbranata, Bulgaria -83,KH,730,Service de l'Hydraulique et des Voies Navigables, Cambodia -84,CM,740,Office National des Ports du Cameroun, Cameroon -85,CV,750,Direccao Geral da Marinha Mercante, Cape Verde -86,CO,760,Ministerio de Defensa Nacional, Armada Nacional, Direccion General Maritima, Colombia -87,KM,770,Not known, Comoros -88,CG,780,Direction du Port de Pointe-Noire, Congo -89,CK,790,Department of Trade Labour and Transport, Cook Islands -90,CR,800,Ministerio de Obras Publicas y Transportes, Costa Rica -91,CI,810,Direction G_n_rale du Port Autonome d'Abidjan, Cote-d'Ivoire -92,DJ,820,Ministere du Port et des Affaires Maritimes, Djibuti -93,DM,830,Not known, Dominica -94,SV,840,Instituto Geografico Nacional, El Salvador -95,GQ,850,Not known, Equatorial Guinea -96,ER,860,Port and Maritime Transport Authority, Eritrea -97,EE,870,Tuletorni - Huedrograafiatalitus, Estonia -98,ET,880,Ministry of Transport and Communications, Ethiopia -99,GA,890,Service de la Signalisation Maritime, Gabon -100,GM,900,Gambia Ports Authority, Gambia -101,GH,910,Ghana Ports and Harbours Authority, Ghana -102,GD,920,Grenada Ports Authority, Grenada -103,GN,930,Minist_re des Transports et Travaux Publics, Guinea -104,GW,940,Servicos da Marinha, Guinea-Bissau -105,GY,950,Transport and Harbours Department, Guyana -106,HT,960,Service Maritime et de Navigation d'Haiti, Haiti -107,HN,970,Departamento de Geologia e Hidrografia, Honduras -108,IQ,980,Marine Department, Iraq -109,IE,990,Department of the Marine, Ireland -110,IL,1000,Administration of Shipping and Ports, Israel -111,JM,1010,Harbour Master's Department, Jamaica -112,JO,1020,The Ports Corporation, Jordan -113,KE,1030,Survey of Kenya, Kenya -114,KI,1040,Ministry of Transport and Communications, Kiribati -115,KW,1050,Ministry of Communications, Kuwait -116,LV,1060,Latvijas Hidrografijas Dienests, Latvia -117,LB,1070,Service du Transport Maritime, Lebanon -118,LR,1080,Ministry of Lands, Mines and Energy, Liberia -119,LY,1090,Not known, Libyan Arab Jamahiriya -120,LT,1100,Klaipeda State Seaport Authority, Lithuania -121,MG,1110,Foiben-Taosarintanin'i Madagasikara, Madagascar -122,MW,1120,Hydrographic Survey Unit, Malawi -123,MV,1130,Department of Information and Broadcasting, Maldives -124,MT,1140,Malta Maritime Authority Ports Directorate, Malta -125,MH,1150,Ministry of Resources and Development, Marshall Islands -126,MR,1160,Ministere de la Defense Nationale, Mauritania -127,MU,1170,Ministry of Housing, Lands and Town and Country Planning, Mauritius -128,MX,1180,Direccion General de Oceanografia Naval, Mexiko -129,FM,1190,Not known, Micronesia (Federated State of) -130,MA,1200,Service Hydrographique et Oceanographique de la Marine Royale, Morocco -131,MZ,1210,Instituto Nacional de Hidrografia e Navegacao, Mozambique -132,MM,1220,Naval Hydrographic Office, Myanmar -133,NA,1230,Not known, Namibia -134,NR,1240,Nauru Phosphate Corporation, Nauru -135,NI,1250,Secretaria de Planificacion y Presupuesto de la Presidencia de la Republica, Instituto Nicaraguense de Estudios Territoriales, Nicaragua -136,PW,1260,Bureau of Domestic Affairs, Palau -137,PA,1270,Instituto Geografico Nacional, Panama -138,PY,1280,Direccion de Hidrografia y Navegacion, Paraguay -139,QA,1290,Ministry of Municipal Affairs and Agriculture, Qatar -140,RO,1300,Directia Hidrografica Maritima, Romania -141,KN,1310,St. Christopher Air and Sea Ports Authority, Hydrographic Service, Saint Kitts and Nevis -142,LC,1320,Ministry of Planning, Personnel Establishment and Training, Saint Lucia -143,VC,1330,Ministry of Communications and Works, Saint Vincent and Grenadines -144,WS,1340,Ministry of Transport, Marine and Shipping Division, Samoa -145,ST,1350,Not known, Sao Tombe and Principe -146,SA,1360,Military Survey Department, Hydrographic Section, Saudi Arabia -147,SN,1370,Ministere de l'Equipement, des Transports et de la Mer, Senegal -148,SC,1380,Hydrographic and Topographic Brigade, Seychelles -149,SL,1390,Department of Transport and Communications, Sierra Leone -150,SI,1400,Not known, Slovenia -151,SB,1410,Solomon Islands Hydrographic Unit, Solomon Islands -152,SO,1420,Somali Hydrographic Office, Marine Department, Ministry of Marine Transports and Ports, Somalia -153,SD,1430,Survey Department, Sudan -154,TZ,1440,Tanzania Harbours Authority, Tanzania -155,TG,1450,University of Benin, Togo -156,TK,1460,Not known, Tokelau -157,TN,1470,Service Hydrographique et Oceanographique, Armee de Mer, Ministere de la Defense Nationale, Tunisia -158,TV,1480,Ministry of Labour, Works and Communications, Tuvalu -159,UA,1490,National Agency of Marine Research and Technology, Ukraine -160,VU,1500,Vanuatu Hydrographic Unit, Vanuata -161,VN,1510,Not known, Vietnam -162,YE,1520,Ministry of Communications, Yemen Ports and Shipping Corporation, Yemen Ports Authority, Yemen -163,QM,1600,Antarctic Treaty Consultative Committee -164,QN,1610,International Radio Consultative Committee -165,QO,1620,Comite International Radio-Maritime -166,QP,1630,IHO Data Centre for Digital Bathymetry -167,QQ,1640,Digital Geographic Information Working Group -168,QR,1650,European Communities Commission -169,QS,1660,European Harbour Masters Association -170,QT,1670,Food and Agriculture Organization -171,QU,1680,Federation Internationale des Geometres -172,QV,1690,International Atomic Energy Agency -173,QW,1700,International Association of Geodesy -174,QX,1710,International Association of Institutes of Navigation -175,QY,1720,International Association of Lighthouse Authorities -176,QZ,1730,International Association of Ports and Harbours -177,XA,1740,International Cartographic Association -178,XB,1750,International Cable Protection Committee -179,XC,1760,International Chamber of Shipping -180,XD,1770,International Commission for the Scientific Exploration of the Mediterranean -181,XE,1780,International Council of Scientific Unions -182,XF,1790,International Electrotechnical Commission -183,XG,1800,International Geographical Union -184,AA,1810,International Hydrographic Organization -185,XH,1820,International Maritime Academy -186,XI,1830,International Maritime Organization -187,XJ,1840,International Maritime Satellite Organization -188,XK,1850,Intergovernmental Oceanographic Commission -189,XL,1860,International Organization for Standardization -190,XM,1870,International Society for Photogrammetry and Remote Sensing -191,XN,1880,International Telecommunication Union -192,XO,1890,International Union of Geodesy and Geophysics -193,XP,1900,International Union of Surveying and Mapping -194,XQ,1910,Oil Companies International Marine Forum -195,XR,1920,Pan American Institute of Geography and History -196,XS,1930,Radio Technical Commission for Maritime Services -197,XT,1940,Scientific Commission on Antarctic Research -198,XU,1950,The Hydrographic Society -199,XV,1960,World Meteorological Organization -200,XW,1970,United Nations, Office for Ocean Affairs and Law of the Sea -201,PM,2020,PRIMAR - European ENC Coordinating Centre -202,1A,6682,ARAMCO -203,1B,0,UKHO test and sample datasets -204,1C,7196,CARIS -205,1D,7453,Amt fuer Geoinformationswesen der Bundeswehr -206,1E,7710,TerraNautical Data, Inc. -207,1F,7967,Force Technology, Danish Maritime Institute -208,1G,7968,_sterreichische Donau-Technik-GmbH -209,1H,7969,Vituki Water Resources Research Centre Hungary -210,1I,7970,Navionics S.p.A. -211,1K,7972,Kingway Technology Co -212,1L,7973,Laser-Scan Ltd -213,1M,7974,Channel of Moscow -214,1N,7975,Nautical Data International, Inc. -215,1O,7976,Offshore Charts Ltd. -216,1P,7977,Port Of London -217,1Q,7978,Quality Positioning Services -218,1R,7979,Rijkswaterstaat -219,1S,7980,Austrian Supreme Shippig Authority -220,1T,7981,UKHO - private production -221,1U,7982,ENC Center, National Taiwan Ocean University -222,1V,7983,The Volga-Baltic State Territorial Department for Waterways Management and Navigation -223,1W,7984,Wasser- und Schiffahrtsverwaltung des Bundes - Wasser- und Schiffahrtsdirektion S_d-West -224,1X,7985,Noorderzon Software -225,2A,10794,Azienda Regionale Navigazione Interna (ARNI) -226,2C,11308,IIC Technologies -227,2I,12056,Innovative Navigation GmbH -228,2M,12060,MARIN (Maritime Research Institute Netherlands) -229,2P,12063,PLOVPUT Beograd -230,2R,12065,Port of Rotterdam -231,2S,12079,Ssangyong Information & Communications Corp. -232,2T,12093,Transas Marine -233,2W,12096,Austrian Waterways Authority -234,3R,16203,A.F.D.J. R.A. Galati -235,3S,16204,Science Applications International Corp. -236,4R,20315,MD Atlantic Technologies -237,3T,16205,Tresco Navigation Systems -238,5M,24422,Hydrographic Office of Sarawak Marine Department -239,5T,24455,TEC Asociados -240,6C,27756,Guoy Consultancy Sdn Bhd -241,7C,31868,SevenCs AG & Co KG -242,7R,32651,The Federal Service of Geodesy and Cartography of Russia -243,7S,32652,Centre Sevzapgeoinform (SZGI) -244,7T,32653,Terra Corp -245,8A,35466,HSA Systems Pty Ltd -246,9A,39578,CherSoft Ltd -247,9T,40877,Tresco Engineering bvba -248,0_,65534,unknown producer diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57attributes.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57attributes.csv deleted file mode 100644 index 3b2c04e3..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57attributes.csv +++ /dev/null @@ -1,484 +0,0 @@ -"Code","Attribute","Acronym","Attributetype","Class" -1,Agency responsible for production,AGENCY,A,F -2,Beacon shape,BCNSHP,E,F -3,Building shape,BUISHP,E,F -4,Buoy shape,BOYSHP,E,F -5,Buried depth,BURDEP,F,F -6,Call sign,CALSGN,S,F -7,Category of airport/airfield,CATAIR,L,F -8,Category of anchorage,CATACH,L,F -9,Category of bridge,CATBRG,L,F -10,Category of built-up area,CATBUA,E,F -11,Category of cable,CATCBL,E,F -12,Category of canal,CATCAN,E,F -13,Category of cardinal mark,CATCAM,E,F -14,Category of checkpoint,CATCHP,E,F -15,Category of coastline,CATCOA,E,F -16,Category of control point,CATCTR,E,F -17,Category of conveyor,CATCON,E,F -18,Category of coverage,CATCOV,E,F -19,Category of crane,CATCRN,E,F -20,Category of dam,CATDAM,E,F -21,Category of distance mark,CATDIS,E,F -22,Category of dock,CATDOC,E,F -23,Category of dumping ground,CATDPG,L,F -24,Category of fence/wall,CATFNC,E,F -25,Category of ferry,CATFRY,E,F -26,Category of fishing facility,CATFIF,E,F -27,Category of fog signal,CATFOG,E,F -28,Category of fortified structure,CATFOR,E,F -29,Category of gate,CATGAT,E,F -30,Category of harbour facility,CATHAF,L,F -31,Category of hulk,CATHLK,L,F -32,Category of ice,CATICE,E,F -33,Category of installation buoy,CATINB,E,F -34,Category of land region,CATLND,L,F -35,Category of landmark,CATLMK,L,F -36,Category of lateral mark,CATLAM,E,F -37,Category of light,CATLIT,L,F -38,Category of marine farm/culture,CATMFA,E,F -39,Category of military practice area,CATMPA,L,F -40,Category of mooring/warping facility,CATMOR,E,F -41,Category of navigation line,CATNAV,E,F -42,Category of obstruction,CATOBS,E,F -43,Category of offshore platform,CATOFP,L,F -44,Category of oil barrier,CATOLB,E,F -45,Category of pile,CATPLE,E,F -46,Category of pilot boarding place,CATPIL,E,F -47,Category of pipeline / pipe,CATPIP,L,F -48,Category of production area,CATPRA,E,F -49,Category of pylon,CATPYL,E,F -50,Category of quality of data,CATQUA,E,F -51,Category of radar station,CATRAS,E,F -52,Category of radar transponder beacon,CATRTB,E,F -53,Category of radio station,CATROS,L,F -54,Category of recommended track,CATTRK,E,F -55,Category of rescue station,CATRSC,L,F -56,Category of restricted area,CATREA,L,F -57,Category of road,CATROD,E,F -58,Category of runway,CATRUN,E,F -59,Category of sea area,CATSEA,E,F -60,Category of shoreline construction,CATSLC,E,F -61,"Category of signal station, traffic",CATSIT,L,F -62,"Category of signal station, warning",CATSIW,L,F -63,Category of silo/tank,CATSIL,E,F -64,Category of slope,CATSLO,E,F -65,Category of small craft facility,CATSCF,L,F -66,Category of special purpose mark,CATSPM,L,F -67,Category of Traffic Separation Scheme,CATTSS,E,F -68,Category of vegetation,CATVEG,L,F -69,Category of water turbulence,CATWAT,E,F -70,Category of weed/kelp,CATWED,E,F -71,Category of wreck,CATWRK,E,F -72,Category of zone of confidence data,CATZOC,E,F -73,Character spacing,$SPACE,E,$ -74,Character specification,$CHARS,A,$ -75,Colour,COLOUR,L,F -76,Colour pattern,COLPAT,L,F -77,Communication channel,COMCHA,A,F -78,Compass size,$CSIZE,F,$ -79,Compilation date,CPDATE,A,F -80,Compilation scale,CSCALE,I,F -81,Condition,CONDTN,E,F -82,"Conspicuous, Radar",CONRAD,E,F -83,"Conspicuous, visual",CONVIS,E,F -84,Current velocity,CURVEL,F,F -85,Date end,DATEND,A,F -86,Date start,DATSTA,A,F -87,Depth range value 1,DRVAL1,F,F -88,Depth range value 2,DRVAL2,F,F -89,Depth units,DUNITS,E,F -90,Elevation,ELEVAT,F,F -91,Estimated range of transmission,ESTRNG,F,F -92,Exhibition condition of light,EXCLIT,E,F -93,Exposition of sounding,EXPSOU,E,F -94,Function,FUNCTN,L,F -95,Height,HEIGHT,F,F -96,Height/length units,HUNITS,E,F -97,Horizontal accuracy,HORACC,F,F -98,Horizontal clearance,HORCLR,F,F -99,Horizontal length,HORLEN,F,F -100,Horizontal width,HORWID,F,F -101,Ice factor,ICEFAC,F,F -102,Information,INFORM,S,F -103,Jurisdiction,JRSDTN,E,F -104,Justification - horizontal,$JUSTH,E,$ -105,Justification - vertical,$JUSTV,E,$ -106,Lifting capacity,LIFCAP,F,F -107,Light characteristic,LITCHR,E,F -108,Light visibility,LITVIS,L,F -109,Marks navigational - System of,MARSYS,E,F -110,Multiplicity of lights,MLTYLT,I,F -111,Nationality,NATION,A,F -112,Nature of construction,NATCON,L,F -113,Nature of surface,NATSUR,L,F -114,Nature of surface - qualifying terms,NATQUA,L,F -115,Notice to Mariners date,NMDATE,A,F -116,Object name,OBJNAM,S,F -117,Orientation,ORIENT,F,F -118,Periodic date end,PEREND,A,F -119,Periodic date start,PERSTA,A,F -120,Pictorial representation,PICREP,S,F -121,Pilot district,PILDST,S,F -122,Producing country,PRCTRY,A,F -123,Product,PRODCT,L,F -124,Publication reference,PUBREF,S,F -125,Quality of sounding measurement,QUASOU,L,F -126,Radar wave length,RADWAL,A,F -127,Radius,RADIUS,F,F -128,Recording date,RECDAT,A,F -129,Recording indication,RECIND,A,F -130,Reference year for magnetic variation,RYRMGV,A,F -131,Restriction,RESTRN,L,F -132,Scale maximum,SCAMAX,I,F -133,Scale minimum,SCAMIN,I,F -134,Scale value one,SCVAL1,I,F -135,Scale value two,SCVAL2,I,F -136,Sector limit one,SECTR1,F,F -137,Sector limit two,SECTR2,F,F -138,Shift parameters,SHIPAM,A,F -139,Signal frequency,SIGFRQ,I,F -140,Signal generation,SIGGEN,E,F -141,Signal group,SIGGRP,A,F -142,Signal period,SIGPER,F,F -143,Signal sequence,SIGSEQ,A,F -144,Sounding accuracy,SOUACC,F,F -145,Sounding distance - maximum,SDISMX,I,F -146,Sounding distance - minimum,SDISMN,I,F -147,Source date,SORDAT,A,F -148,Source indication,SORIND,A,F -149,Status,STATUS,L,F -150,Survey authority,SURATH,S,F -151,Survey date - end,SUREND,A,F -152,Survey date - start,SURSTA,A,F -153,Survey type,SURTYP,L,F -154,Symbol scaling factor,$SCALE,F,$ -155,Symbolization code,$SCODE,A,$ -156,Technique of sounding measurement,TECSOU,L,F -157,Text string,$TXSTR,S,$ -158,Textual description,TXTDSC,S,F -159,Tidal stream - panel values,TS_TSP,A,F -160,"Tidal stream, current - time series values",TS_TSV,A,F -161,Tide - accuracy of water level,T_ACWL,E,F -162,Tide - high and low water values,T_HWLW,A,F -163,Tide - method of tidal prediction,T_MTOD,E,F -164,Tide - time and height differences,T_THDF,A,F -165,"Tide, current - time interval of values",T_TINT,I,F -166,Tide - time series values,T_TSVL,A,F -167,Tide - value of harmonic constituents,T_VAHC,A,F -168,Time end,TIMEND,A,F -169,Time start,TIMSTA,A,F -170,Tint,$TINTS,E,$ -171,Topmark/daymark shape,TOPSHP,E,F -172,Traffic flow,TRAFIC,E,F -173,Value of annual change in magnetic variation,VALACM,F,F -174,Value of depth contour,VALDCO,F,F -175,Value of local magnetic anomaly,VALLMA,F,F -176,Value of magnetic variation,VALMAG,F,F -177,Value of maximum range,VALMXR,F,F -178,Value of nominal range,VALNMR,F,F -179,Value of sounding,VALSOU,F,F -180,Vertical accuracy,VERACC,F,F -181,Vertical clearance,VERCLR,F,F -182,"Vertical clearance, closed",VERCCL,F,F -183,"Vertical clearance, open",VERCOP,F,F -184,"Vertical clearance, safe",VERCSA,F,F -185,Vertical datum,VERDAT,E,F -186,Vertical length,VERLEN,F,F -187,Water level effect,WATLEV,E,F -188,Category of Tidal stream,CAT_TS,E,F -189,Positional accuracy units,PUNITS,E,F -190,Object class definition,CLSDEF,S,F -191,Object class name,CLSNAM,S,F -192,Symbol instruction,SYMINS,S,F -300,Information in national language,NINFOM,S,N -301,Object name in national language,NOBJNM,S,N -302,Pilot district in national language,NPLDST,S,N -303,Text string in national language,$NTXST,S,N -304,Textual description in national language,NTXTDS,S,N -400,Horizontal datum,HORDAT,E,S -401,Positional Accuracy,POSACC,F,S -402,Quality of position,QUAPOS,E,S -0,"###Codes in the 17xxx range come from past s57attributes_iw.csv (Inland Waterways)",###,S,F -17000,Category of Anchorage area,catach,L,F -17001,Category of distance mark,catdis,E,F -17002,Category of signal station trafficcatsit,catsit,L,F -17003,Category of signal station warning,catsiw,L,F -17004,Restriction,restrn,L,F -17005,Vertical datum,verdat,E,F -17006,Category of bridge,catbrg,L,F -17007,Category of ferry,catfry,L,F -17008,Category of harbour facilities,cathaf,L,F -17009,"Marks navigational – System of",marsys,E,F -17050,Additional mark,addmrk,L,F -17051,Category of bank,catbnk,E,F -17052,Category of notice mark,catnmk,E,F -17055,Class of dangerous cargo,clsdng,E,F -17056,Direction of impact,dirimp,L,F -17057,Distance from bank,disbk1,F,F -17058,Distance from bank,disbk2,F,F -17059,"Distance of impact, upstream",disipu,F,F -17060,"Distance of impact, downstream",disipd,F,F -17061,Elevation 1,eleva1,F,F -17062,Elevation 2,eleva2,F,F -17063,Function of notice mark,fnctnm,E,F -17064,Waterway distance,wtwdis,F,F -17065,Bunker vessel,bunves,E,F -17066,Category of berth,catbrt,L,F -17067,Category of bunker,catbun,L,F -17068,Category of CEMT class,catccl,L,F -17069,Category of communication,catcom,L,F -17070,Category of harbour area,cathbr,L,F -17071,Category of refuse dump,catrfd,L,F -17072,Category of terminal,cattml,L,F -17073,Communication,comctn,S,F -17074,"Horizontal clearance, length",horcll,F,F -17075,"Horizontal clearance, width",horclw,F,F -17076,Transshipping goods,trshgd,L,F -17077,UN Location Code,unlocd,S,F -17112,Category of waterway mark,catwwm,E,F -0,"###Codes in the 20xxx and 22xxx range come from past s57attributes_aml.csv (Additional_Military_Layers)",###,S,F -20484,"Abandonment Date","databa","A","?" -20485,"Attenuation","attutn","F","?" -20486,"Beam of Vessel","vesbem","F","?" -20487,"Bearing","bearng","F","?" -20488,"Blind Zone","blndzn","A","?" -20489,"Breaker Type","brktyp","E","?" -20490,"Density","bulkdn","F","?" -20491,"Burial Mechanism","brmchm","E","?" -20492,"Burial Percentage","brpctg","I","?" -20493,"Burial Period","brperd","I","?" -20494,"Burial Probability","brprob","E","?" -20495,"Cardinal Point Orientation","orcard","E","?" -20496,"Category of administration area","catadm","E","?" -20497,"Category of airspace restriction","catasr","E","?" -20498,"Category of bedrock","N/A","N/A","?" -20499,"Bottom Feature Classification","catbot","E","?" -20500,"Category of coastguard station","catcgs","E","?" -20501,"Category of controlled airspace","catcas","E","?" -20502,"Fishing Activity","catfsh","E","?" -20503,"Type of Imagery","catimg","L","?" -20504,"Category of marine management area","catmma","E","?" -20505,"Category of maritime safety information","catmsi","E","?" -20506,"Category of military exercise airspace ","catmea","E","?" -20507,"Category of patrol area","catpat","E","?" -20508,"Category of reporting/radio calling-in point","catrep","E","?" -20509,"Category of regulated airspace","N/A","N/A","?" -20510,"Category of territorial sea baseline","catsbl","E","?" -20511,"Trafficability","cattrf","E","?" -20512,"Command System","comsys","S","?" -20515,"Controlled airspace class designation","caircd","E","?" -20516,"Controlling authority","authty","S","?" -20517,"Current Scour Dimensions","scrdim","A","?" -20518,"Dangerous Marine and Land Life","dgmrlf","L","?" -20519,"Date Sunk","datsnk","A","?" -20520,"Debris Field","debfld","A","?" -20521,"Depth of Activity","depact","F","?" -20522,"Depth of Layer","deplyr","F","?" -20523,"Distance from Small Bottom Object","discon","F","?" -20524,"Diver’s Thrust Test Depth","dttdep","E","?" -20525,"Diver’s Thrust Test Number","dttnum","I","?" -20526,"Diving Activity","divact","E","?" -20527,"Draught of Vessel","vesdgh","F","?" -20528,"Exit Usability","exitus","E","?" -20529,"Field Name","fldnam","S","?" -20530,"First Detection Year","datfir","A","?" -20531,"First Sensor","senfir","E","?" -20532,"First Source","sorfir","E","?" -20533,"Foliar Index","folinx","F","?" -20534,"Gas Content","gascon","I","?" -20535,"General Water Depth","gendep","I","?" -20536,"Gradient","gradnt","E","?" -20537,"Grain Size","grnsiz","F","?" -20538,"Inclination","incltn","F","?" -20539,"Internal Data Record Identification Number","N/A","N/A","?" -20540,"Last Detection Year","datlst","A","?" -20541,"Last Sensor","senlst","E","?" -20542,"Last Source","sorlst","E","?" -20543,"Lay Platform","layptm","E","?" -20544,"Lay Reference Number","layrfn","S","?" -20545,"Lay Time","laytim","A","?" -20546,"Layer Number","laynum","I","?" -20547,"Legal Status","legsta","S","?" -20548,"Length of Vessel","veslen","F","?" -20549,"Magnetic Anomaly Detector (MAD) Signature","madsig","E","?" -20550,"Magnetic Intensity","magint","I","?" -20551,"Mean Shear Strength","msstrg","F","?" -20552,"Migration Direction","migdir","I","?" -20553,"Migration Speed","migspd","F","?" -20554,"Milec Density","milden","E","?" -20555,"Mine Index Mine Case","mnimnc","E","?" -20556,"Mine Index Mine Type","mnimnt","L","?" -20557,"Mine Reference Number","minern","S","?" -20558,"Mine-Hunting Classification","mhclas","E","?" -20559,"Minehunting System","mnhsys","S","?" -20560,"Minesweeping System","mnssys","S","?" -20561,"Mission Classification","miscls","E","?" -20562,"Mission Comments","miscom","S","?" -20563,"Mission Date","misdat","A","?" -20564,"Mission Name","misnme","S","?" -20565,"MWDC Reference Number","mwdcrn","S","?" -20566,"Nature of Geological Layer","natsed","E","?" -20567,"Navigation System","navsys","S","?" -20568,"NOMBO Density","nomden","E","?" -20569,"Not Found","notfnd","S","?" -20570,"Number of Previous Observations","nmprob","I","?" -20571,"Operator","oprtor","S","?" -20572,"Orientation of Best Observation","orbobn","F","?" -20573,"Origin of Data","orgdat","E","?" -20574,"Originator","orgntr","S","?" -20575,"Porosity","porsty","I","?" -20576,"Quality of Beach Data","quabch","A","?" -20577,"Re-entered Date","datren","A","?" -20578,"Re-suspended Date","datres","A","?" -20579,"Reverberation","revebn","E","?" -20580,"Safety Zone","N/A","N/A","?" -20581,"Sample Retained","samret","S","?" -20582,"Seabed Coverage","sbdcov","I","?" -20583,"Ships Speed","shpspd","F","?" -20584,"Sonar Frequency","snrfrq","E","?" -20585,"Sonar Range Scale","snrrsc","F","?" -20586,"Sonar Reflectivity","snrflc","E","?" -20587,"Sonar Signal Strength","sonsig","E","?" -20588,"Sound Velocity","sndvel","F","?" -20589,"Sounding Datum","soudat","E","?" -20590,"Spudded Date","datspd","A","?" -20592,"Steepest Face Orientation","stfotn","F","?" -20593,"Strength According to Richter Scale","ricsca","I","?" -20594,"Strength of Magnetic Anomaly","magany","E","?" -20595,"Suitability for ACV Use","stbacv","E","?" -20596,"Surf Height","srfhgt","F","?" -20597,"Surf Zone","srfzne","I","?" -20598,"Survey Date and Time","surdat","A","?" -20599,"Suspension Date","datsus","A","?" -20600,"Swell Height","swlhgt","F","?" -20601,"Tidal Range","tdlrng","F","?" -20602,"Time of Year","timeyr","L","?" -20603,"Tonnage","tonage","I","?" -20604,"Towed Body Depth","twdbdp","F","?" -20605,"Type of military activity","milact","L","?" -20606,"Type of Tonnage","typton","E","?" -20607,"Type of Wreck","typewk","E","?" -20608,"Underwater Reference Mark","unwrfm","E","?" -20609,"Unique ID from a Navigational Product","N/A","N/A","?" -20610,"Water Clarity","watclr","F","?" -20611,"Wavelength","wavlen","F","?" -20612,"Weight Bearing Capability","wbrcap","I","?" -20613,"Width (left)","lftwid","F","?" -20614,"Width (right)","rgtwid","F","?" -20615,"Contour Type","hypcat","E","?" -20616,"Sounding Velocity","souvel","E","?" -20617,"Access Restriction","accres","S","?" -20618,"Approach","apprch","S","?" -20619,"Category of Beach","catbch","E","?" -20620,"Clearance Percentage","clperc","I","?" -20621,"Communications","commns","L","?" -20622,"Confidence Level","conlev","F","?" -20624,"Exit Description","extdes","S","?" -20625,"Industry","indtry","S","?" -20626,"Landing Conditions","lndcon","S","?" -20627,"Leisure Activity","lsract","S","?" -20628,"Logistics","logtcs","L","?" -20629,"Manoeuvring","manvrg","S","?" -20630,"Mine Threat Density","mntden","I","?" -20631,"Multiple Contacts","mulcon","I","?" -20632,"Navigational Description","navdes","S","?" -20633,"Navigational Difficulty","navdif","E","?" -20634,"Number of Remaining Mines","numrmn","I","?" -20635,"Pier Contact Details","pierod","S","?" -20636,"Pier Description","pierdn","S","?" -20637,"Prairies Density","prsden","I","?" -20638,"Probability for Remaining Mines","prbrmn","F","?" -20639,"Remaining Mines Likely, Maximum Number","rmnlmn","I","?" -20640,"Self Protection (Air)","sfptna","E","?" -20641,"Self Protection (Near Defence)","sptnnd","E","?" -20642,"Self Protection (Surface)","sfptns","E","?" -20643,"Sensor Coverage","sencov","S","?" -20644,"Simple Initial Threat","sminth","F","?" -20645,"Target Reference Weight","tgrfwt","E","?" -20646,"Tidal Type","tdltyp","E","?" -20647,"Type of Resource Location","typres","E","?" -20648,"Undetectable Mines Ratio","undmnr","F","?" -20649,"Undetectable Mines Ratio with Burial","umnrwb","F","?" -20650,"Undetectable Mines Ratio without Burial","umrwob","F","?" -20651,"Weapon Coverage","wpncov","S","?" -20652,"On Sonar","onsonr","E","?" -20653,"HF Bottom Loss","hfbmls","F","?" -20654,"LF Bottom Loss","lfbmls","F","?" -20655,"Detection Probability","dtprob","F","?" -20656,"Disposal Probability","dsprob","F","?" -20657,"Classification Probability","clprob","F","?" -20658,"Characteristic Detection Width (A)","cswidt","I","?" -20659,"Characteristic Detection Probability (B)","csprob","F","?" -20660,"Zone Colour","znecol","E","?" -20661,"Reverberation Frequency","revfqy","F","?" -20662,"Reverberation Grazing Angle","revgan","F","?" -20663,"International Defence Organisation (IDO) status","secido","E","?" -20664,"Protective Marking","secpmk","E","?" -20665,"Owner Authority","secown","S","?" -20666,"Caveat ","seccvt","S","?" -20667,"Species","spcies","S","?" -20668,"Swept date","swpdat","A","?" -20669,"Runway length","rwylen","I","?" -20670,"Active period","actper","S","?" -20671,"Maximum altitude","maxalt","I","?" -20672,"Minimum altitude","minalt","I","?" -20673,"Maximum Flight Level","maxftl","I","?" -20674,"Minimum Flight Level","minftl","I","?" -20675,"Bottom Vertical Safety Separation","bverss","I","?" -20676,"Minimum Safe Depth","mindep","I","?" -20677,"Interpolated line characteristic","linech","E","?" -20678,"Identification","identy","S","?" -20679,"Route Classification","rclass","E","?" -20680,"Population","popltn","I","?" -20681,"Surface Threat","surtht","E","?" -20682,"Heading-Up Bearing","upbear","F","?" -20683,"Heading-Down Bearing","dnbear","F","?" -20684,"Ice Concentration","icencn","I","?" -20685,"Danger height","dgrhgt","I","?" -20686,"Depth Restriction","depres","S","?" -20687,"Area Category","arecat","E","?" -20688,"Existence of Restricted Area","exzres","E","?" -20689,"Target Strength","tarstg","I","?" -20690,"Qualification of Radar Coverage","quarad","I","?" -20691,"Contact Details","condet","S","?" -20692,"Limit of Anchors and Chains","limanc","F","?" -20693,"CCM Index","ccmidx","I","?" -20694,"Military Load Classification","mlclas","E","?" -20695,"MGS Type","mgstyp","E","?" -20696,"Ice Attribute Concentration Total","iceact","E","?" -20697,"Ice Stage of Development","icesod","E","?" -20698,"Ice Advisory Code","iceadc","S","?" -20699,"Number of Icebergs in Area","icebnm","I","?" -20700,"Ice Line Category","icelnc","E","?" -20701,"Ice Polynya Type","icepty","E","?" -20702,"Ice Polynya Status","icepst","E","?" -20703,"Ice Lead Type","icelty","E","?" -20704,"Ice Lead Status","icelst","E","?" -20705,"Iceberg Size","icebsz","E","?" -20706,"Iceberg Shape","icebsh","E","?" -20707,"Icedrift or Iceberg Direction","icebdr","E","?" -20708,"Icedrift or Iceberg Speed","icebsp","F","?" -20709,"Maximum Ice Thickness","icemax","F","?" -20710,"Minimum Ice Thickness","icemin","F","?" -20711,"Ice Ridge Development","icerdv","E","?" -20712,"Land Ice","icelnd","E","?" -20713,"Sea Direction","seadir","E","?" -20714,"Traffic density","traden","S","?" -20715,"Type of shipping","typshp","L","?" -20716,"Ice Coverage Type","icecvt","E","?" -20718,"Status of Small Bottom Object","staobj","L","?" -20719,"ICAO code","icaocd","S","?" -20720,"textual description","txtdes","S","?" -20721,"Object Reference Number","objtrn","S","?" -20722,"Object Shape","objshp","S","?" -22484,"Category of completeness","catcnf","E","?" -22485,"Error Ellipse","errell","A","?" -22486,"Object classes","N/A","N/A","?" -22487,"Security classification","N/A","N/A","?" -22488,"Vertical Datum Shift Parameter","vershf","F","?" -22489,"Absolute Vertical Accuracy","elvacc","F","?" -22490,"Reflection Coefficient","reflco","F","?" -22491,"Copyright statement","cpyrit","S","?" -0,"###40000 comes from past s57attributes_iw.csv (Inland Waterways)",###,S,F -40000,Update message,updmsg,S,F diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57expectedinput.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57expectedinput.csv deleted file mode 100644 index e71249f3..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57expectedinput.csv +++ /dev/null @@ -1,1008 +0,0 @@ -"Code","ID","Meaning" -2,1,"stake, pole, perch, post" -2,2,whity -2,3,beacon tower -2,4,lattice beacon -2,5,pile beacon -2,6,cairn -2,7,buoyant beacon -3,5,high-rise building -3,6,pyramid -3,7,cylindrical -3,8,spherical -3,9,cubic -4,1,"conical (nun, ogival)" -4,2,can (cylindrical) -4,3,spherical -4,4,pillar -4,5,spar (spindle) -4,6,barrel (tun) -4,7,super-buoy -4,8,ice buoy -7,1,military aeroplane airport -7,2,civil aeroplane airport -7,3,military heliport -7,4,civil heliport -7,5,glider airfield -7,6,small planes airfield -7,8,emergency airfield -8,1,unrestricted anchorage -8,2,deep water anchorage -8,3,tanker anchorage -8,4,explosives anchorage -8,5,quarantine anchorage -8,6,sea-plane anchorage -8,7,small craft anchorage -8,8,small craft mooring area -8,9,anchorage for periods up to 24 hours -9,1,fixed bridge -9,2,opening bridge -9,3,swing bridge -9,4,lifting bridge -9,5,bascule bridge -9,6,pontoon bridge -9,7,draw bridge -9,8,transporter bridge -9,9,footbridge -9,10,viaduct -9,11,aqueduct -9,12,suspension bridge -10,1,urban area -10,2,settlement -10,3,village -10,4,town -10,5,city -10,6,holiday village -11,1,power line -11,3,transmission line -11,4,telephone -11,5,telegraph -11,6,mooring cable/chain -12,1,transportation -12,2,drainage -12,3,irrigation -13,1,north cardinal mark -13,2,east cardinal mark -13,3,south cardinal mark -13,4,west cardinal mark -14,1,custom -15,1,steep coast -15,2,flat coast -15,3,sandy shore -15,4,stony shore -15,5,shingly shore -15,6,glacier (seaward end) -15,7,mangrove -15,8,marshy shore -15,9,coral reef -15,10,ice coast -16,1,triangulation point -16,2,observation spot -16,3,fixed point -16,4,bench-mark -16,5,boundary mark -16,6,"horizontal control, main station" -16,7,"horizontal control, secondary station" -17,1,aerial cableway (telepheric) -17,2,belt conveyor -18,1,coverage available -18,2,no coverage available -19,2,container crane/gantry -19,3,sheerlegs -19,4,travelling crane -19,5,A-frame -20,1,weir -20,2,dam -20,3,flood barrage -21,1,distance mark not physically installed -21,2,"visible mark, pole" -21,3,"visible mark, board" -21,4,"visible mark, unknown shape" -22,1,tidal -22,2,non-tidal (wet dock) -23,2,chemical waste dumping ground -23,3,nuclear waste dumping ground -23,4,explosives dumping ground -23,5,spoil ground -23,6,vessel dumping ground -24,1,fence -24,3,hedge -24,4,wall -25,1,'free-moving' ferry -25,2,cable ferry -25,3,ice ferry -26,1,fishing stake -26,2,fish trap -26,3,fish weir -26,4,tunny net -27,1,explosive -27,2,diaphone -27,3,siren -27,4,nautophone -27,5,reed -27,6,tyfon -27,7,bell -27,8,whistle -27,9,gong -27,10,horn -28,1,castle -28,2,fort -28,3,battery -28,4,blockhouse -28,5,Martello tower -29,2,flood barrage gate -29,3,caisson -29,4,lock gate -29,5,dyke gate -30,1,RoRo-terminal -30,3,ferry terminal -30,4,fishing harbour -30,5,yacht harbour/marina -30,6,naval base -30,7,tanker terminal -30,8,passenger terminal -30,9,shipyard -30,10,container terminal -30,11,bulk terminal -31,1,floating restaurant -31,2,historic ship -31,3,museum -31,4,accomodation -31,5,floating breakwater -32,1,fast ice -32,5,glacier -32,8,polar ice -33,1,catenary anchor leg mooring (CALM) -33,2,single buoy mooring (SBM or SPM) -34,1,fen -34,2,marsh -34,3,moor/bog -34,4,heathland -34,5,mountain range -34,6,lowlands -34,7,canyon lands -34,8,paddy field -34,9,agricultural land -34,10,savanna/grassland -34,11,parkland -34,12,swamp -34,13,landslide -34,14,lava flow -34,15,salt pan -34,16,moraine -34,17,crater -34,18,cave -34,19,rock column or pinnacle -35,1,cairn -35,2,cemetery -35,3,chimney -35,4,dish aerial -35,5,flagstaff (flagpole) -35,6,flare stack -35,7,mast -35,8,windsock -35,9,monument -35,10,column (pillar) -35,11,memorial plaque -35,12,obelisk -35,13,statue -35,14,cross -35,15,dome -35,16,radar scanner -35,17,tower -35,18,windmill -35,19,windmotor -35,20,spire/minaret -36,1,port-hand lateral mark -36,2,starboard-hand lateral mark -36,3,preferred channel to starboard lateral mark -36,4,preferred channel to port lateral mark -37,1,directional function -37,4,leading light -37,5,aero light -37,6,air obstruction light -37,7,fog detector light -37,8,flood light -37,9,strip light -37,10,subsidiary light -37,11,spotlight -37,12,front -37,13,rear -37,14,lower -37,15,upper -37,16,moiré effect -37,17,emergency -37,18,bearing light -37,19,horizontally disposed -37,20,vertically disposed -38,1,crustaceans -38,2,oyster/mussels -38,3,fish -38,4,seaweed -39,2,torpedo exercise area -39,3,submarine exercise area -39,4,firing danger area -39,5,mine-laying practice area -39,6,small arms firing range -40,1,dolphin -40,2,deviation dolphin -40,3,bollard -40,4,tie-up wall -40,5,post or pile -40,6,chain/wire/cable -40,7,mooring buoy -41,1,clearing line -41,2,transit line -41,3,leading line bearing a recommended track -42,1,snag / stump -42,2,wellhead -42,3,diffuser -42,4,crib -42,5,fish haven -42,6,foul area -42,7,foul ground -42,8,ice boom -42,9,ground tackle -43,1,oil derrick / rig -43,2,production platform -43,3,observation / research platform -43,4,articulated loading platform (ALP) -43,5,single anchor leg mooring (SALM) -43,6,mooring tower -43,7,artificial island -43,8,"floating production, storage and off-loading vessel (FPSO)" -43,9,accomodation platform -43,10,"navigation, communication and control buoy (NCCB)" -44,1,oil retention (high pressure pipe) -44,2,floating oil barrier -45,1,stake -45,3,post -45,4,tripodal -46,1,boarding by pilot-cruising vessel -46,2,boarding by helicopter -46,3,pilot comes out from shore -47,2,outfall pipe -47,3,intake pipe -47,4,sewer -47,5,bubbler system -47,6,supply pipe -48,1,quarry -48,2,mine -48,3,stockpile -48,4,power station area -48,5,refinery area -48,6,timber yard -48,7,factory area -48,8,tank farm -48,9,wind farm -49,1,power transmission pylon/pole -49,2,telephone/telegraph pylon/pole -49,3,aerial cableway/sky pylon -49,4,bridge pylon/tower -49,5,bridge pier -50,1,data quality A -50,2,data quality B -50,3,data quality C -50,4,data quality D -50,5,data quality E -50,6,quality not evaluated -51,1,radar surveillance station -51,2,coast radar station -52,1,"ramark, radar beacon transmitting continuously" -52,2,"racon, radar transponder beacon" -52,3,leading racon/radar transponder beacon -53,1,circular (non-directional) marine or aero-marine radiobeacon -53,2,directional radiobeacon -53,3,rotating-pattern radiobeacon -53,4,Consol beacon -53,5,radio direction-finding station -53,6,coast radio station providing QTG service -53,7,aeronautical radiobeacon -53,8,Decca -53,9,Loran C -53,10,Differential GPS -53,11,Toran -53,12,Omega -53,13,Syledis -53,14,Chaika (Chayka) -54,1,based on a system of fixed marks -54,2,not based on a system of fixed marks -55,1,rescue station with lifeboat -55,2,rescue station with rocket -55,4,refuge for shipwrecked mariners -55,5,refuge for intertidal area walkers -55,6,lifeboat lying at a mooring -56,1,offshore safety zone -56,4,nature reserve -56,5,bird sanctuary -56,6,game preserve -56,7,seal sanctuary -56,8,degaussing range -56,9,military area -56,10,historic wreck area -56,12,navigational aid safety zone -56,14,minefield -56,18,swimming area -56,19,waiting area -56,20,research area -56,21,dredging area -56,22,fish sanctuary -56,23,ecological reserve -56,24,no wake area -56,25,swinging area -57,1,motorway -57,2,major road -57,3,minor road -57,4,track / path -57,5,major street -57,6,minor street -57,7,crossing -58,1,aeroplane -58,2,helicopter landing pad -59,2,gat -59,3,bank -59,4,deep -59,5,bay -59,6,trench -59,7,basin -59,8,mud flats -59,9,reef -59,10,ledge -59,11,canyon -59,12,narrows -59,13,shoal -59,14,knoll -59,15,ridge -59,16,seamount -59,17,pinnacle -59,18,abyssal plain -59,19,plateau -59,20,spur -59,21,shelf -59,22,trough -59,23,saddle -59,24,abyssal hills -59,25,apron -59,26,archipelagic apron -59,27,borderland -59,28,continental margin -59,29,continental rise -59,30,escarpment -59,31,fan -59,32,fracture zone -59,33,gap -59,34,guyot -59,35,hill -59,36,hole -59,37,levee -59,38,median valley -59,39,moat -59,40,mountains -59,41,peak -59,42,province -59,43,rise -59,44,seachannel -59,45,seamount chain -59,46,shelf edge -59,47,sill -59,48,slope -59,49,terrace -59,50,valley -59,51,canal -59,52,lake -59,53,river -60,1,breakwater -60,2,groyne (groin) -60,3,mole -60,4,pier ( jetty) -60,5,promenadepier -60,6,wharf (quay) -60,7,training wall -60,8,rip rap -60,9,revetment -60,10,sea wall -60,11,landing steps -60,12,ramp -60,13,slipway -60,14,fender -60,15,solid face wharf -60,16,open face wharf -61,1,port control -61,2,port entry and departure -61,3,International Port Traffic -61,4,berthing -61,5,dock -61,6,lock -61,7,flood barrage -61,8,bridge passage -61,9,dredging -62,1,danger -62,2,maritime obstruction -62,3,cable -62,4,military practice -62,5,distress -62,6,weather -62,7,storm -62,8,ice -62,9,time -62,10,tide -62,11,tidal stream -62,12,tide gauge -62,13,tide scale -62,14,diving -63,1,silo in general -63,2,tank in general -63,3,grain elevator -63,4,water tower -64,1,cutting -64,2,embankment -64,3,dune -64,4,hill -64,5,pingo -64,6,cliff -64,7,scree -65,1,visitor`s berth -65,2,nautical club -65,3,boat hoist -65,4,sailmaker -65,5,boatyard -65,6,public inn -65,7,restaurant -65,8,chandler -65,9,provisions -65,10,doctor -65,11,pharmacy -65,12,water tap -65,13,fuel station -65,14,electricity -65,15,bottle gas -65,16,showers -65,17,launderette -65,18,public toilets -65,19,post box -65,20,public telephone -65,21,refuse bin -65,22,car park -65,23,parking for boats and trailers -65,24,caravan site -65,25,camping site -65,26,sewerage pump-out station -65,27,emergency telephone -65,28,landing / launching place for boats -65,29,visitors mooring -65,30,scrubbing berth -65,31,picnic area -66,1,firing danger area mark -66,2,target mark -66,3,marker ship mark -66,4,degaussing range mark -66,5,barge mark -66,6,cable mark -66,7,spoil ground mark -66,8,outfall mark -66,9,ODAS (Ocean-Data-Acquisition-System) -66,10,recording mark -66,11,seaplane anchorage mark -66,12,recreation zone mark -66,13,private mark -66,14,mooring mark -66,15,LANBY (Large Automatic Navigational Buoy) -66,16,leading mark -66,17,measured distance mark -66,18,notice mark -66,19,TSS mark (Traffic Separation Scheme) -66,20,anchoring prohibited mark -66,21,berthing prohibited mark -66,22,overtaking prohibited mark -66,23,two-way traffic prohibited mark -66,24,'reduced wake' mark -66,25,speed limit mark -66,26,stop mark -66,27,general warning mark -66,28,'sound ship's siren' mark -66,29,restricted vertical clearence mark -66,30,maximum vessel's draught mark -66,31,restricted horizontal clearance mark -66,32,strong current warning mark -66,33,berthing permitted mark -66,34,overhead power cable mark -66,35,'channel edge gradient' mark -66,36,telephone mark -66,37,ferry crossing mark -66,39,pipline mark -66,40,anchorage mark -66,41,clearing mark -66,42,control mark -66,43,diving mark -66,44,refuge beacon -66,45,foul ground mark -66,46,yachting mark -66,47,heliport mark -66,48,GPS mark -66,49,seaplane landing mark -66,50,entry prohibited mark -66,51,work in progress mark -66,52,mark with unknown purpose -67,1,IMO - adopted -67,2,not IMO - adopted -68,1,grassland -68,3,bush -68,4,deciduous wood -68,5,coniferous wood -68,6,wood in general (inc mixed wood) -68,7,mangroves -68,10,mixed crops -68,11,reed -68,12,moos -68,13,tree in general -68,14,evergreen tree -68,15,coniferous tree -68,16,palm tree -68,17,nipa palm tree -68,18,casuarina tree -68,19,eucalypt tree -68,20,deciduous tree -68,21,mangrove tree -68,22,filao tree -69,1,breakers -69,2,eddies -69,3,overfalls -69,4,tide rips -69,5,bombora -70,1,kelp -70,2,sea weed -70,3,sea grass -70,4,saragasso -71,1,non-dangerous wreck -71,2,dangerous wreck -71,3,distributed remains of wreck -71,4,wreck showing mast/masts -71,5,wreck showing any portion of hull or superstructure -72,1,zone of confidence A1 -72,2,zone of confidence A2 -72,3,zone of confidence B -72,4,zone of confidence C -72,5,zone of confidence D -72,6,zone of confidence U (data not assessed) -73,1,expanded/condensed -73,2,standard -75,1,white -75,2,black -75,3,red -75,4,green -75,5,blue -75,6,yellow -75,7,grey -75,8,brown -75,9,amber -75,10,violet -75,11,orange -75,12,magenta -75,13,pink -76,1,horizontal stripes -76,2,vertical stripes -76,3,diagonal stripes -76,4,squared -76,5,stripes (direction unknown) -76,6,border stripes -81,1,under construction -81,2,ruined -81,3,under reclamation -81,4,wingless -81,5,planned construction -82,1,radar conspicuous -82,2,not radar conspicuous -82,3,radar conspicuous (has radar reflector) -83,1,visual conspicuous -83,2,not visual conspicuous -89,1,metres -89,2,fathoms and feet -89,3,feet -89,4,fathoms and fractions -92,1,light shown without change of character -92,2,daytime light -92,3,fog light -92,4,night light -93,1,within the range of depth of the surrounding depth area -93,2,shoaler than range of depth of the surrounding depth area -93,3,deeper than range of depth of the surrounding depth area -94,2,harbour-master's office -94,3,custom office -94,4,health office -94,5,hospital -94,6,post office -94,7,hotel -94,8,railway station -94,9,police station -94,10,water-police station -94,11,pilot office -94,12,pilot lookout -94,13,bank office -94,14,headquarters for district control -94,15,transit shed/warehouse -94,16,factory -94,17,power station -94,18,administrative -94,19,educational facility -94,20,church -94,21,chapel -94,22,temple -94,23,pagoda -94,24,shinto shrine -94,25,buddhist temple -94,26,mosque -94,27,marabout -94,28,lookout -94,29,communication -94,30,television -94,31,radio -94,32,radar -94,33,light support -94,34,microwave -94,35,cooling -94,36,observation -94,37,timeball -94,38,clock -94,39,control -94,40,airship mooring -94,41,stadium -94,42,bus station -96,1,metres -96,2,feet -103,1,international -103,2,national -103,3,national sub-division -104,1,centre justified -104,2,right justified -104,3,left justified -105,1,bottom justified -105,2,centre justified -105,3,top justified -107,1,fixed -107,2,flashing -107,3,long-flashing -107,4,quick-flashing -107,5,very quick-flashing -107,6,ultra quick-flashing -107,7,isophased -107,8,occulting -107,9,interrupted quick-flashing -107,10,interrupted very quick-flashing -107,11,interrupted ultra quick-flashing -107,12,morse -107,13,fixed / flash -107,14,flash / long-flash -107,15,occulting / flash -107,16,fixed / long-flash -107,17,occulting alternating -107,18,long-flash alternating -107,19,flash alternating -107,20,group alternating -107,25,quick-flash plus long-flash -107,26,very quick-flash plus long-flash -107,27,ultra quick-flash plus long-flash -107,28,alternating -107,29,fixed and alternating flashing -108,1,high intensity -108,2,low intensity -108,3,faint -108,4,intensified -108,5,unintensified -108,6,visibility deliberately restricted -108,7,obscured -108,8,partially obscured -109,1,IALA A -109,2,IALA B -109,9,no system -109,10,other sytem -112,1,masonry -112,2,concreted -112,3,loose boulders -112,4,hard surfaced -112,5,unsurfaced -112,6,wooden -112,7,metal -112,8,glass reinforced plastic (GRP) -112,9,painted -113,1,mud -113,2,clay -113,3,silt -113,4,sand -113,5,stone -113,6,gravel -113,7,pebbles -113,8,cobbles -113,9,rock -113,11,lava -113,14,coral -113,17,shells -113,18,boulder -114,1,fine -114,2,medium -114,3,coarse -114,4,broken -114,5,sticky -114,6,soft -114,7,stiff -114,8,volcanic -114,9,calcareous -114,10,hard -123,1,oil -123,2,gas -123,3,water -123,4,stone -123,5,coal -123,6,ore -123,7,chemicals -123,8,drinking water -123,9,milk -123,10,bauxite -123,11,coke -123,12,iron ingots -123,13,salt -123,14,sand -123,15,timber -123,16,sawdust / wood chips -123,17,scrap metal -123,18,liquified natural gas (LNG) -123,19,liquified petroleum gas (LPG) -123,20,wine -123,21,cement -123,22,grain -125,1,depth known -125,2,depth unknown -125,3,doubtful sounding -125,4,unreliable sounding -125,5,no bottom found at value shown -125,6,least depth known -125,7,"least depth unknown, safe clearance at value shown" -125,8,value reported (not surveyed) -125,9,value reported (not confirmed) -125,10,maintained depth -125,11,not reguraly maintained -131,1,anchoring prohibited -131,2,anchoring restricted -131,3,fishing prohibited -131,4,fishing restricted -131,5,trawling prohibited -131,6,trawling restricted -131,7,entry prohibited -131,8,entry restricted -131,9,dredging prohibited -131,10,dredging restricted -131,11,diving prohibited -131,12,diving restricted -131,13,no wake -131,14,area to be avoided -131,15,construction prohibited -140,1,automatically -140,2,by wave action -140,3,by hand -140,4,by wind -149,1,permanent -149,2,occasional -149,3,recommended -149,4,disused -149,5,periodically/intermittent -149,6,reserved -149,7,temporary -149,8,private -149,9,mandatory -149,11,extinguished -149,12,illuminated -149,13,historic -149,14,public -149,15,synchronized -149,16,watched -149,17,un-watched -149,18,existence doubtful -153,1,reconnaissance/sketch survey -153,2,controlled survey -153,4,examintion survey -153,5,passage survey -153,6,remotely sensed -156,1,found by echo-sounder -156,2,found by side scan sonar -156,3,found by multi-beam -156,4,found by diver -156,5,found by lead-line -156,6,swept by wire-drag -156,7,found by laser -156,8,swept by vertical acoustic system -156,9,found by electromagnetic sensor -156,10,photogrammetry -156,11,satelite imagery -156,12,found by levelling -156,13,swept by side-scan sonar -156,14,computer generated -161,1,better than 0.1m and 10 minutes -161,2,worse than 0.1m or 10 minutes -163,1,simplified harmonic method of tidal prediction -163,2,full harmonic method of tidal prediction -163,3,height and time difference non-harmonic method -170,1,darkest blue -170,2,medium blue -170,3,lightest blue -171,1,"cone, point up" -171,2,"cone, point down" -171,3,sphere -171,4,2 sphere -171,5,cylinder (can) -171,6,board -171,7,x-shape (St. Andrew's cross) -171,8,upright cross (St. George cross) -171,9,"cube, point up" -171,10,"2 cones, point to point" -171,11,"2 cones, base to base" -171,12,rhombus (diamond) -171,13,2 cones (points upward) -171,14,2 cones (points downward) -171,15,"besom, point up (broom or perch)" -171,16,"besom, point down (broom or perch)" -171,17,flag -171,18,sphere over rhombus -171,19,square -171,20,"rectangle, horizontal" -171,21,"rectangle, vertical" -171,22,"trapezium, up" -171,23,"trapezium, down" -171,24,"triangle, point up" -171,25,"triangle, point down" -171,26,circle -171,27,two upright crosses (one over the other) -171,28,T-shape -171,29,triangle pointing up over a circle -171,30,upright cross over a circle -171,31,rhombus over a circle -171,32,circle over a triangle pointing up -171,33,other shape (see INFORM) -172,1,inbound -172,2,outbound -172,3,one-way -172,4,two-way -185,1,Mean low water springs -185,2,Mean lower low water springs -185,3,Mean sea level -185,4,Lowest low water -185,5,Mean low water -185,6,Lowest low water springs -185,7,Approximate mean low water springs -185,8,Indian spring low water -185,9,Low water springs -185,10,Approximate lowest astronomical tide -185,11,Nearly lowest low water -185,12,Mean lower low water -185,13,Low water -185,14,Approximate mean low water -185,15,Approximate mean lower low water -185,16,Mean high water -185,17,Mean high water springs -185,18,High water -185,19,Approximate mean sea level -185,20,High water springs -185,21,Mean higher high water -185,22,Equinoctial spring low water -185,23,Lowest astronomical tide -185,24,Local datum -185,25,International Great Lakes Datum 1985 -185,26,Mean water level -185,27,Lower low water large tide -185,28,Higher high water lage tide -185,29,Nearly highest high water -187,1,partly submerged at high water -187,2,always dry -187,3,always under water/submerged -187,4,covers and uncovers -187,5,awash -187,6,subject to inundation or flooding -400,1,WGS 72 -400,2,WGS 84 -400,3,European 1950 -400,4,Potsdam Datum -400,5,Adindan -400,6,Afgooye -400,7,Ain el Abd 1970 -400,8,Anna 1 Astro 1965 -400,9,Antigua Island Astro 1943 -400,10,Arc 1950 -400,11,Arc 1960 -400,12,Ascension Island 1958 -400,13,"Astro beacon \"E\" 1945" -400,14,Astro DOS 71/4 -400,15,Astro Tern Island (FRIG) 1961 -400,16,Astronimical Station 1952 -400,17,Australian Geodetic 1966 -400,18,Australian Geodetic 1984 -400,19,Ayabelle Lighthouse -400,20,Bellevue (IGN) -400,21,Bermuda 1957 -400,22,Bissau -400,23,Bogota Observatory -400,24,Bukit Rimpah -400,25,Camp Area Astro -400,26,Campo Inchauspe 1969 -400,27,Canton Astro 1966 -400,28,Cape -400,29,Cape Canaveral -400,30,Carthage -400,31,Chatam Island Astro 1971 -400,32,Chua Astro -400,33,Corrego Alegre -400,34,Dabola -400,35,Djakarta (Batavia) -400,36,DOS 1968 -400,37,Easter Island 1967 -400,38,European 1979 -400,39,Fort Thomas 1955 -400,40,Gan 1970 -400,41,Geodetic Datum 1949 -400,42,Graciosa Base SW 1948 -400,43,Guam 1963 -400,44,Ganung Segara -400,45,GUX 1 Astro -400,46,Herat North -400,47,Hjorsey 1955 -400,48,Hong Kong 1963 -400,49,Hu-Tzu-Shan -400,50,Indian -400,51,Indian 1954 -400,52,Indian 1975 -400,53,Ireland 1965 -400,54,ISTS 061 Astro 1968 -400,55,ISTS 073 Astro 1969 -400,56,Johnston Island 1961 -400,57,Kandawala -400,58,Kerguelen Island 1949 -400,59,Kertau 1948 -400,60,Kusaie Astro 1951 -400,61, -400,62, -400,63, -400,64, -400,65, -400,66, -400,67, -400,68, -400,69, -400,70, -400,71, -400,72, -400,73, -400,74, -400,75, -400,76, -400,77, -400,78, -400,79, -400,80, -400,81, -400,82, -400,83, -400,84, -400,85, -400,86, -400,87, -400,88, -400,89, -400,90, -400,91, -400,92, -400,93, -400,94, -400,95, -400,96, -400,97, -400,98, -400,99,South Asia -400,100,Tananarive Observatory 1925 -402,1,surveyed -402,2,unsurveyed -402,3,inadequately surveyed -402,4,approximated -402,5,position doubtful -402,6,unreliable -402,7,reported (not surveyed) -402,8,reported (not confirmed) -402,9,estimated -402,10,precisely known -402,11,calculated diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57objectclasses.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57objectclasses.csv deleted file mode 100644 index ae3628fc..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/s57objectclasses.csv +++ /dev/null @@ -1,287 +0,0 @@ -"Code","ObjectClass","Acronym","Attribute_A","Attribute_B","Attribute_C","Class","Primitives" -1,Administration area (Named),ADMARE,JRSDTN;NATION;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -2,Airport / airfield,AIRARE,CATAIR;CONDTN;CONVIS;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -3,Anchor berth,ACHBRT,CATACH;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;RADIUS;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -4,Anchorage area,ACHARE,CATACH;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -5,"Beacon, cardinal",BCNCAR,BCNSHP;CATCAM;COLOUR;COLPAT;CONDTN;CONVIS;CONRAD;DATEND;DATSTA;ELEVAT;HEIGHT;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -6,"Beacon, isolated danger",BCNISD,BCNSHP;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;ELEVAT;HEIGHT;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -7,"Beacon, lateral",BCNLAT,BCNSHP;CATLAM;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;ELEVAT;HEIGHT;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -8,"Beacon, safe water",BCNSAW,BCNSHP;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;ELEVAT;HEIGHT;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -9,"Beacon, special purpose/general",BCNSPP,BCNSHP;CATSPM;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;ELEVAT;HEIGHT;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -10,Berth,BERTHS,DATEND;DATSTA;DRVAL1;NOBJNM;OBJNAM;PEREND;PERSTA;QUASOU;SOUACC;STATUS;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -11,Bridge,BRIDGE,CATBRG;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;HORACC;HORCLR;NATCON;NOBJNM;OBJNAM;VERACC;VERCCL;VERCLR;VERCOP;VERDAT;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -12,"Building, single",BUISGL,BUISHP;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;ELEVAT;FUNCTN;HEIGHT;NATCON;NOBJNM;OBJNAM;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -13,Built-up area,BUAARE,CATBUA;CONDTN;CONRAD;CONVIS;HEIGHT;NOBJNM;OBJNAM;VERACC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -14,"Buoy, cardinal",BOYCAR,BOYSHP;CATCAM;COLOUR;COLPAT;CONRAD;DATEND;DATSTA;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -15,"Buoy, installation",BOYINB,BOYSHP;CATINB;COLOUR;COLPAT;CONRAD;DATEND;DATSTA;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;PRODCT;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -16,"Buoy, isolated danger",BOYISD,BOYSHP;COLOUR;COLPAT;CONRAD;DATEND;DATSTA;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -17,"Buoy, lateral",BOYLAT,BOYSHP;CATLAM;COLOUR;COLPAT;CONRAD;DATEND;DATSTA;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -18,"Buoy, safe water",BOYSAW,BOYSHP;COLOUR;COLPAT;CONRAD;DATEND;DATSTA;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -19,"Buoy, special purpose/general",BOYSPP,BOYSHP;CATSPM;COLOUR;COLPAT;CONRAD;DATEND;DATSTA;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -20,Cable area,CBLARE,CATCBL;DATEND;DATSTA;NOBJNM;OBJNAM;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -21,"Cable, overhead",CBLOHD,CATCBL;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;ICEFAC;NOBJNM;OBJNAM;STATUS;VERACC;VERCLR;VERCSA;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -22,"Cable, submarine",CBLSUB,BURDEP;CATCBL;CONDTN;DATEND;DATSTA;DRVAL1;DRVAL2;NOBJNM;OBJNAM;STATUS;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -23,Canal,CANALS,CATCAN;CONDTN;DATEND;DATSTA;HORACC;HORCLR;HORWID;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -24,Canal bank,CANBNK,CONDTN;DATEND;DATSTA;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -25,Cargo transshipment area,CTSARE,DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -26,Causeway,CAUSWY,CONDTN;NATCON;NOBJNM;OBJNAM;STATUS;WATLEV;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -27,Caution area,CTNARE,DATEND;DATSTA;PEREND;PERSTA;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -28,Checkpoint,CHKPNT,CATCHP;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -29,Coastguard station,CGUSTA,DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -30,Coastline,COALNE,CATCOA;COLOUR;CONRAD;CONVIS;ELEVAT;NOBJNM;OBJNAM;VERACC;VERDAT;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -31,Contiguous zone,CONZNE,DATEND;DATSTA;NATION;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -32,Continental shelf area,COSARE,NATION;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -33,Control point,CTRPNT,CATCTR;DATEND;DATSTA;ELEVAT;NOBJNM;OBJNAM;VERACC;VERDAT;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -34,Conveyor,CONVYR,CATCON;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;HEIGHT;LIFCAP;NOBJNM;OBJNAM;PRODCT;STATUS;VERACC;VERCLR;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -35,Crane,CRANES,CATCRN;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;HEIGHT;LIFCAP;NOBJNM;OBJNAM;ORIENT;RADIUS;STATUS;VERACC;VERCLR;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -36,Current - non - gravitational,CURENT,CURVEL;DATEND;DATSTA;NOBJNM;OBJNAM;ORIENT;PEREND;PERSTA;,INFORM;NINFOM;SCAMAX;SCAMIN;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -37,Custom zone,CUSZNE,NATION;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -38,Dam,DAMCON,CATDAM;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;HEIGHT;NATCON;NOBJNM;OBJNAM;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -39,Daymark,DAYMAR,CATSPM;COLOUR;COLPAT;DATEND;DATSTA;ELEVAT;HEIGHT;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;TOPSHP;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -40,Deep water route centerline,DWRTCL,CATTRK;DATEND;DATSTA;DRVAL1;DRVAL2;NOBJNM;OBJNAM;ORIENT;QUASOU;SOUACC;STATUS;TECSOU;TRAFIC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -41,Deep water route part,DWRTPT,DATEND;DATSTA;DRVAL1;DRVAL2;NOBJNM;OBJNAM;ORIENT;QUASOU;SOUACC;STATUS;TECSOU;TRAFIC;VERDAT;RESTRN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -42,Depth area,DEPARE,DRVAL1;DRVAL2;QUASOU;SOUACC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -43,Depth contour,DEPCNT,VALDCO;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;hypcat;,G,Line; -44,Distance mark,DISMAR,CATDIS;DATEND;DATSTA;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -45,Dock area,DOCARE,CATDOC;CONDTN;DATEND;DATSTA;HORACC;HORCLR;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -46,Dredged area,DRGARE,DRVAL1;DRVAL2;NOBJNM;OBJNAM;QUASOU;RESTRN;SOUACC;TECSOU;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -47,Dry dock,DRYDOC,CONDTN;HORACC;HORCLR;HORLEN;HORWID;NOBJNM;OBJNAM;STATUS;DRVAL1;QUASOU;SOUACC;VERDAT;,INFORM;NINFOM;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -48,Dumping ground,DMPGRD,CATDPG;NOBJNM;OBJNAM;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -49,Dyke,DYKCON,CONDTN;CONRAD;DATEND;DATSTA;HEIGHT;NATCON;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -50,Exclusive Economic Zone,EXEZNE,NATION;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -51,Fairway,FAIRWY,DATEND;DATSTA;DRVAL1;NOBJNM;OBJNAM;ORIENT;QUASOU;RESTRN;SOUACC;STATUS;TRAFIC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -52,Fence/wall,FNCLNE,CATFNC;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;ELEVAT;HEIGHT;NATCON;NOBJNM;OBJNAM;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -53,Ferry route,FERYRT,CATFRY;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -54,Fishery zone,FSHZNE,NATION;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -55,Fishing facility,FSHFAC,CATFIF;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -56,Fishing ground,FSHGRD,NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -57,Floating dock,FLODOC,COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;DRVAL1;HORACC;HORCLR;HORLEN;HORWID;LIFCAP;NOBJNM;OBJNAM;STATUS;VERACC;VERLEN;VERDAT;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -58,Fog signal,FOGSIG,CATFOG;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;SIGFRQ;SIGGEN;SIGGRP;SIGPER;SIGSEQ;STATUS;VALMXR;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -59,Fortified structure,FORSTC,CATFOR;CONDTN;CONRAD;CONVIS;HEIGHT;NATCON;NOBJNM;OBJNAM;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -60,Free port area,FRPARE,NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -61,Gate,GATCON,CATGAT;CONDTN;DRVAL1;HORACC;HORCLR;NATCON;NOBJNM;OBJNAM;QUASOU;SOUACC;STATUS;VERACC;VERCLR;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -62,Gridiron,GRIDRN,HORACC;HORLEN;HORWID;NATCON;NOBJNM;OBJNAM;STATUS;VERACC;VERLEN;WATLEV;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -63,Harbour area (administrative),HRBARE,NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -64,Harbour facility,HRBFAC,CATHAF;CONDTN;DATEND;DATSTA;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -65,Hulk,HULKES,CATHLK;COLOUR;COLPAT;CONRAD;CONVIS;HORACC;HORLEN;HORWID;NOBJNM;OBJNAM;VERACC;VERLEN;CONDTN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -66,Ice area,ICEARE,CATICE;CONVIS;ELEVAT;HEIGHT;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -67,Incineration area,ICNARE,NOBJNM;OBJNAM;PEREND;PERSTA;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -68,Inshore traffic zone,ISTZNE,CATTSS;DATEND;DATSTA;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -69,Lake,LAKARE,ELEVAT;NOBJNM;OBJNAM;VERACC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -70,Lake shore,LAKSHR,NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -71,Land area,LNDARE,CONDTN;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -72,Land elevation,LNDELV,CONVIS;ELEVAT;NOBJNM;OBJNAM;VERACC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line; -73,Land region,LNDRGN,CATLND;NATQUA;NATSUR;NOBJNM;OBJNAM;WATLEV;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -74,Landmark,LNDMRK,CATLMK;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;ELEVAT;FUNCTN;HEIGHT;NATCON;NOBJNM;OBJNAM;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -75,Light,LIGHTS,CATLIT;COLOUR;DATEND;DATSTA;EXCLIT;HEIGHT;LITCHR;LITVIS;MARSYS;MLTYLT;NOBJNM;OBJNAM;ORIENT;PEREND;PERSTA;SECTR1;SECTR2;SIGGRP;SIGPER;SIGSEQ;STATUS;VERACC;VALNMR;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -76,Light float,LITFLT,COLOUR;COLPAT;CONRAD;CONVIS;DATEND;DATSTA;HORACC;HORLEN;HORWID;MARSYS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -77,Light vessel,LITVES,COLOUR;COLPAT;CONRAD;CONVIS;DATEND;DATSTA;HORACC;HORLEN;HORWID;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -78,Local magnetic anomaly,LOCMAG,NOBJNM;OBJNAM;VALLMA;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -79,Lock basin,LOKBSN,DATEND;DATSTA;HORACC;HORCLR;HORLEN;HORWID;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -80,Log pond,LOGPON,NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -81,Magnetic variation,MAGVAR,DATEND;DATSTA;RYRMGV;VALACM;VALMAG;,INFORM;NINFOM;SCAMAX;SCAMIN;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -82,Marine farm/culture,MARCUL,CATMFA;DATEND;DATSTA;EXPSOU;NOBJNM;OBJNAM;PEREND;PERSTA;QUASOU;RESTRN;SOUACC;STATUS;VALSOU;VERACC;VERDAT;VERLEN;WATLEV;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -83,Military practice area,MIPARE,CATMPA;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -84,Mooring/warping facility,MORFAC,BOYSHP;CATMOR;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;HEIGHT;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERDAT;VERLEN;WATLEV;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -85,Navigation line,NAVLNE,CATNAV;DATEND;DATSTA;ORIENT;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -86,Obstruction,OBSTRN,CATOBS;CONDTN;EXPSOU;HEIGHT;NATCON;NATQUA;NOBJNM;OBJNAM;PRODCT;QUASOU;SOUACC;STATUS;TECSOU;VALSOU;VERACC;VERDAT;VERLEN;WATLEV;NATSUR;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -87,Offshore platform,OFSPLF,CATOFP;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;HEIGHT;NATCON;NOBJNM;OBJNAM;PRODCT;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -88,Offshore production area,OSPARE,CATPRA;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;HEIGHT;NOBJNM;OBJNAM;PRODCT;RESTRN;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -89,Oil barrier,OILBAR,CATOLB;CONDTN;DATEND;DATSTA;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -90,Pile,PILPNT,CATPLE;COLOUR;COLPAT;CONDTN;CONVIS;DATEND;DATSTA;HEIGHT;NOBJNM;OBJNAM;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -91,Pilot boarding place,PILBOP,CATPIL;COMCHA;DATEND;DATSTA;NOBJNM;NPLDST;OBJNAM;PEREND;PERSTA;PILDST;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -92,Pipeline area,PIPARE,CONDTN;DATEND;DATSTA;NOBJNM;OBJNAM;PRODCT;RESTRN;STATUS;CATPIP;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -93,"Pipeline, overhead",PIPOHD,CATPIP;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;NOBJNM;OBJNAM;PRODCT;STATUS;VERACC;VERCLR;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -94,"Pipeline, submarine/on land",PIPSOL,BURDEP;CATPIP;CONDTN;DATEND;DATSTA;DRVAL1;DRVAL2;NOBJNM;OBJNAM;PRODCT;STATUS;VERACC;VERLEN;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line; -95,Pontoon,PONTON,CONDTN;CONRAD;CONVIS;DATEND;DATSTA;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -96,Precautionary area,PRCARE,DATEND;DATSTA;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -97,Production / storage area,PRDARE,CATPRA;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;ELEVAT;HEIGHT;NOBJNM;OBJNAM;PRODCT;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -98,Pylon/bridge support,PYLONS,CATPYL;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;HEIGHT;NATCON;NOBJNM;OBJNAM;VERACC;VERDAT;VERLEN;WATLEV;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -99,Radar line,RADLNE,NOBJNM;OBJNAM;ORIENT;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -100,Radar range,RADRNG,COMCHA;DATEND;DATSTA;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -101,Radar reflector,RADRFL,HEIGHT;STATUS;VERACC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -102,Radar station,RADSTA,CATRAS;DATEND;DATSTA;HEIGHT;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;VALMXR;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -103,Radar transponder beacon,RTPBCN,CATRTB;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;RADWAL;SECTR1;SECTR2;SIGGRP;SIGSEQ;STATUS;VALMXR;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -104,Radio calling-in point,RDOCAL,COMCHA;DATEND;DATSTA;NOBJNM;OBJNAM;ORIENT;PEREND;PERSTA;STATUS;TRAFIC;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line; -105,Radio station,RDOSTA,CALSGN;CATROS;COMCHA;DATEND;DATSTA;ESTRNG;NOBJNM;OBJNAM;ORIENT;PEREND;PERSTA;SIGFRQ;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -106,Railway,RAILWY,CONDTN;HEIGHT;NOBJNM;OBJNAM;STATUS;VERACC;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -107,Rapids,RAPIDS,NOBJNM;OBJNAM;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -108,Recommended route centerline,RCRTCL,CATTRK;DATEND;DATSTA;DRVAL1;DRVAL2;NOBJNM;OBJNAM;ORIENT;PEREND;PERSTA;QUASOU;SOUACC;STATUS;TECSOU;TRAFIC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -109,Recommended track,RECTRC,CATTRK;DATEND;DATSTA;DRVAL1;DRVAL2;NOBJNM;OBJNAM;ORIENT;PEREND;PERSTA;QUASOU;SOUACC;STATUS;TECSOU;TRAFIC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -110,Recommended Traffic Lane Part,RCTLPT,DATEND;DATSTA;ORIENT;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -111,Rescue station,RSCSTA,CATRSC;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;SCAMAX;SCAMIN;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -112,Restricted area,RESARE,CATREA;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -113,Retro-reflector,RETRFL,COLOUR;COLPAT;DATEND;DATSTA;HEIGHT;MARSYS;PEREND;PERSTA;STATUS;VERACC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -114,River,RIVERS,NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -115,River bank,RIVBNK,NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -116,Road,ROADWY,CATROD;CONDTN;NATCON;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -117,Runway,RUNWAY,CATRUN;CONDTN;CONVIS;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -118,Sand waves,SNDWAV,VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -119,Sea area / named water area,SEAARE,CATSEA;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -120,Sea-plane landing area,SPLARE,NOBJNM;OBJNAM;PEREND;PERSTA;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -121,Seabed area,SBDARE,COLOUR;NATQUA;NATSUR;WATLEV;OBJNAM;NOBJNM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -122,Shoreline Construction,SLCONS,CATSLC;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;HEIGHT;HORACC;HORCLR;HORLEN;HORWID;NATCON;NOBJNM;OBJNAM;STATUS;VERACC;VERDAT;VERLEN;WATLEV;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -123,"Signal station, traffic",SISTAT,CATSIT;COMCHA;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -124,"Signal station, warning",SISTAW,CATSIW;COMCHA;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -125,Silo / tank,SILTNK,BUISHP;CATSIL;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;ELEVAT;HEIGHT;NATCON;NOBJNM;OBJNAM;PRODCT;STATUS;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -126,Slope topline,SLOTOP,CATSLO;COLOUR;CONRAD;CONVIS;ELEVAT;NATCON;NATQUA;NATSUR;NOBJNM;OBJNAM;VERACC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -127,Sloping ground,SLOGRD,CATSLO;COLOUR;CONRAD;CONVIS;NATCON;NATQUA;NATSUR;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -128,Small craft facility,SMCFAC,CATSCF;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -129,Sounding,SOUNDG,EXPSOU;NOBJNM;OBJNAM;QUASOU;SOUACC;TECSOU;VERDAT;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -130,Spring,SPRING,NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -131,Square,SQUARE,CONDTN;NATCON;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -132,Straight territorial sea baseline,STSLNE,NATION;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -133,Submarine transit lane,SUBTLN,NOBJNM;OBJNAM;RESTRN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -134,Swept Area,SWPARE,DRVAL1;QUASOU;SOUACC;TECSOU;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -135,Territorial sea area,TESARE,NATION;RESTRN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -136,Tidal stream - harmonic prediction,TS_PRH,NOBJNM;OBJNAM;T_MTOD;T_VAHC;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -137,Tidal stream - non-harmonic prediction,TS_PNH,NOBJNM;OBJNAM;T_MTOD;T_THDF;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -138,Tidal stream panel data,TS_PAD,NOBJNM;OBJNAM;TS_TSP;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -139,Tidal stream - time series,TS_TIS,NOBJNM;OBJNAM;STATUS;TIMEND;TIMSTA;T_TINT;TS_TSV;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -140,Tide - harmonic prediction,T_HMON,NOBJNM;OBJNAM;T_ACWL;T_MTOD;T_VAHC;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -141,Tide - non-harmonic prediction,T_NHMN,NOBJNM;OBJNAM;T_ACWL;T_MTOD;T_THDF;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -142,Tidal stream - time series,T_TIMS,NOBJNM;OBJNAM;T_HWLW;T_TINT;T_TSVL;TIMEND;TIMSTA;STATUS;T_ACWL;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -143,Tideway,TIDEWY,NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area; -144,Top mark,TOPMAR,COLOUR;COLPAT;DATEND;DATSTA;HEIGHT;MARSYS;PEREND;PERSTA;STATUS;TOPSHP;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -145,Traffic Separation Line,TSELNE,CATTSS;DATEND;DATSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -146,Traffic Separation Scheme Boundary,TSSBND,CATTSS;DATEND;DATSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -147,Traffic Separation Scheme Crossing,TSSCRS,CATTSS;DATEND;DATSTA;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -148,Traffic Separation Scheme Lane part,TSSLPT,CATTSS;DATEND;DATSTA;ORIENT;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -149,Traffic Separation Scheme Roundabout,TSSRON,CATTSS;DATEND;DATSTA;RESTRN;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -150,Traffic Separation Zone,TSEZNE,CATTSS;DATEND;DATSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -151,Tunnel,TUNNEL,BURDEP;CONDTN;HORACC;HORCLR;NOBJNM;OBJNAM;STATUS;VERACC;VERCLR;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -152,Two-way route part,TWRTPT,CATTRK;DATEND;DATSTA;DRVAL1;DRVAL2;ORIENT;QUASOU;SOUACC;STATUS;TECSOU;TRAFIC;VERDAT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -153,Underwater rock / awash rock,UWTROC,EXPSOU;NATSUR;NATQUA;NOBJNM;OBJNAM;QUASOU;SOUACC;STATUS;TECSOU;VALSOU;VERDAT;WATLEV;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point; -154,Unsurveyed area,UNSARE,,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -155,Vegetation,VEGATN,CATVEG;CONVIS;ELEVAT;HEIGHT;NOBJNM;OBJNAM;VERACC;VERDAT;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -156,Water turbulence,WATTUR,CATWAT;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line;Area; -157,Waterfall,WATFAL,CONVIS;NOBJNM;OBJNAM;VERACC;VERLEN;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Line; -158,Weed/Kelp,WEDKLP,CATWED;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -159,Wreck,WRECKS,CATWRK;CONRAD;CONVIS;EXPSOU;HEIGHT;NOBJNM;OBJNAM;QUASOU;SOUACC;STATUS;TECSOU;VALSOU;VERACC;VERDAT;VERLEN;WATLEV;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -160,Tidal stream - flood/ebb,TS_FEB,CAT_TS;CURVEL;DATEND;DATSTA;NOBJNM;OBJNAM;ORIENT;PEREND;PERSTA;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Point;Area; -161,Archipelagix Sea Lane,ARCSLN,DATEND;DATSTA;NATION;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Area; -162,Archipelagix Sea Lane axis,ASLXIS,DATEND;DATSTA;NATION;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line; -163,New object,NEWOBJ,CLSDEF;CLSNAM;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;NATION;NOBJNM;OBJNAM;PEREND;PERSTA;RESTRN;STATUS;WATLEV;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;SYMINS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,G,Line;Area;Point; -300,Accuracy of data,M_ACCY,HORACC;POSACC;SOUACC;VERACC;,INFORM;NINFOM;NTXTDS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -301,Compilation scale of data,M_CSCL,CSCALE;,INFORM;NINFOM;NTXTDS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -302,Coverage,M_COVR,CATCOV;,INFORM;NINFOM;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -303,Horizontal datum of data,M_HDAT,HORDAT;,INFORM;NINFOM;NTXTDS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -304,Horizontal datum shift parameters,M_HOPA,HORDAT;SHIPAM;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -305,Nautical publication information,M_NPUB,,INFORM;NINFOM;NTXTDS;PICREP;PUBREF;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -306,Navigational system of marks,M_NSYS,MARSYS;ORIENT;,INFORM;NINFOM;NTXTDS;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -307,Production information,M_PROD,AGENCY;CPDATE;NATION;NMDATE;PRCTRY;,INFORM;NINFOM;NTXTDS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -308,Quality of data,M_QUAL,CATQUA;CATZOC;DRVAL1;DRVAL2;POSACC;SOUACC;SUREND;SURSTA;TECSOU;VERDAT;,INFORM;NINFOM;NTXTDS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -309,Sounding datum,M_SDAT,VERDAT;,INFORM;NINFOM;NTXTDS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -310,Survey reliability,M_SREL,QUAPOS;QUASOU;SCVAL1;SCVAL2;SDISMN;SDISMX;SURATH;SUREND;SURSTA;SURTYP;TECSOU;,INFORM;NINFOM;NTXTDS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -311,Units of measurement of data,M_UNIT,DUNITS;HUNITS;PUNITS;,INFORM;NINFOM;NTXTDS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -312,Vertical datum of data,M_VDAT,VERDAT;,INFORM;NINFOM;NTXTDS;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,M,Area; -400,Aggregation,C_AGGR,NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,C, -401,Association,C_ASSO,NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,C, -402,Stacked on/stacked under,C_STAC,,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,C, -500,Cartographic area,$AREAS,COLOUR;ORIENT;$SCODE;$TINTS;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,$, -501,Cartographic line,$LINES,$SCODE;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,$, -502,Cartographic symbol,$CSYMB,ORIENT;$SCALE;$SCODE;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,$, -503,Compass,$COMPS,$CSIZE;RYRMGV;VALACM;VALMAG;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,$, -504,Text,$TEXTS,$CHARS;COLOUR;$JUSTH;$JUSTV;$NTXST;$SPACE;$TXSTR;,INFORM;NINFOM;NTXTDS;PICREP;SCAMAX;SCAMIN;TXTDSC;,RECDAT;RECIND;SORDAT;SORIND;,$, -0,"###Codes in the 17xxx range come from past s57objectclasses_iw.csv (Inland Waterways)",,,,,, -17000,Anchor berth,achbrt,catach;clsdng;comctn;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;RADIUS;restrn;STATUS;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point;Area; -17001,Anchorage area,achare,catach;clsdng;comctn;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;restrn;STATUS;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point;Area; -17002,Canal bank,canbnk,catbnk;CONRAD;DATEND;DATSTA;NATSUR;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Line; -17003,Depth area,depare,DRVAL1;DRVAL2;eleva1;eleva2;wtwdis;QUASOU;SOUACC;verdat;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Line;Area; -17004,Distance mark,dismar,catdis;wtwdis;unlocd;DATEND;DATSTA;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17005,Restricted area,resare,CATREA;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;restrn;STATUS;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17006,River bank,rivbnk,catbnk;CONRAD;NATSUR;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Line; -17007,Signal station traffic,sistat,catsit;COMCHA;DATEND;DATSTA;dirimp;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17008,Signal station warning,sistaw,catsiw;COMCHA;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17009,Top Mark,topmar,COLOUR;COLPAT;HEIGHT;marsys;STATUS;TOPSHP;VERACC;verdat;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17010,Berth berths,berths,catbrt;clsdng;comctn;DATEND;DATSTA;DRVAL1;NOBJNM;OBJNAM;PEREND;PERSTA;QUASOU;SOUACC;STATUS;trshgd;verdat;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point;Line;Area; -17011,"Bridge","bridge",catbrg;comctn;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;HORACC;HORCLR;NATCON;NOBJNM;OBJNAM;TIMEND;TIMSTA;VERACC;VERCCL;VERCLR;VERCOP;verdat;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point;Line;Area; -17012,Cable overhead,cblohd,CATCBL;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;ICEFAC;NOBJNM;OBJNAM;STATUS;VERACC;VERCLR;VERCSA;verdat;,INFORM;NINFOM;NTXTDS;SCAMIN;TXTDSC;updmsg;RECDAT;RECIND;,SORDAT;SORIND;,G,Line; -17013,Ferry route,feryrt,catfry;comctn;DATEND;DATSTA;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;TIMEND;TIMSTA;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Line;Area; -17014,Harbour Area,hrbare,cathbr;comctn;NOBJNM;OBJNAM;STATUS;unlocd;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17015,Harbour Facilities,hrbfac,cathaf;CONDTN;DATEND;DATSTA;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;,INFORM;NINFOM;NTXTDS;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point;Area; -17016,Lock Basin,lokbsn,HORACC;horcll;horclw;HORLEN;HORWID;NOBJNM;OBJNAM;STATUS;TIMEND;TIMSTA;,INFORM;NINFOM;NTXTDS;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17017,Radio calling-in point,rdocal,catcom;comctn;COMCHA;DATEND;DATSTA;NOBJNM;OBJNAM;ORIENT;PEREND;PERSTA;STATUS;TRAFIC;dirimp;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point;Line; -17018,Navigational system of marks,m_nsys,marsys;ORIENT;,INFORM;NINFOM;NTXTDS;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17050,Notice mark,notmrk,catnmk;fnctnm;dirimp;disipd;disipu;disbk1;disbk2;addmrk;marsys;ORIENT;CONDTN;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17051,Waterway axis,wtwaxs,catccl;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Line; -17052,Waterway profile,wtwprf,wtwdis;HEIGHT;verdat;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point;Line; -17053,Bridge area,brgare,comctn;NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17054,Bunker station,bunsta,bunves;catbun;comctn;NOBJNM;OBJNAM;TIMEND;TIMSTA;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17055,Communication Area,comare,catcom;COMCHA;DATEND;DATSTA;NOBJNM;OBJNAM;STATUS;TIMEND;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17056,Harbour Basin,hrbbsn,HORACC;HORLEN;HORWID;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17057,Lock area,lokare,comctn;NOBJNM;OBJNAM;STATUS;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17058,Lock basin part,lkbspt,HORACC;horcll;horclw;HORLEN;HORWID;NOBJNM;OBJNAM;STATUS;TIMEND;TIMSTA;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17059,Port Area,prtare,comctn;NOBJNM;OBJNAM;STATUS;unlocd;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Area; -17060,Beacon water-way,bcnwtw,BCNSHP;catwwm;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;dirimp;ELEVAT;HEIGHT;marsys;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERACC;verdat;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17061,Buoy water-way,boywtw,BOYSHP;catwwm;COLOUR;COLPAT;CONDTN;CONRAD;CONVIS;DATEND;DATSTA;marsys;NATCON;NOBJNM;OBJNAM;PEREND;PERSTA;STATUS;VERLEN;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17062,Refuse dump,refdmp,catrfd;comctn;NOBJNM;OBJNAM;STATUS;TIMEND;TIMSTA;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17063,Route planning point,rtplpt,NOBJNM;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point; -17064,Terminal,termnl,cattml;comctn;NOBJNM;OBJNAM;STATUS;TIMEND;TIMSTA;trshgd;unlocd;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point;Area; -17065,Turning basin,trnbsn,HORCLR;NOBJNM;STATUS;OBJNAM;,INFORM;NINFOM;NTXTDS;PICREP;SCAMIN;TXTDSC;updmsg;,SORDAT;SORIND;,G,Point;Area; -0,"###Codes in the 20xxx and 21xxx range come from past s57objectclasses_aml.csv (Additional_Military_Layers)",,,,,, -20484,"ATS Route Centreline","atsctl","authty;linech;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","L" -20485,"Airspace Restriction","airres + catasr","authty;catasr;linech;maxalt;maxftl;minalt;minftl;NOBJNM;OBJNAM;HUNITS;VERDAT","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20486,"Area of Imagery Coverage","imgare","bearng;catimg;ELEVAT;HUNITS;orgntr;SUREND;VERDAT","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20487,"Beach Exit","bchext","ccmidx;exitus;gradnt;HORCLR;HORLEN;HORWID;HUNITS;VERCSA;wbrcap","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P;L" -20488,"Beach Profile","bchprf","bearng;gradnt;SUREND","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","L" -20489,"Beach Survey","bchare","accres;brktyp;ccmidx;dgmrlf;HORLEN;HORWID;HUNITS;quabch;orgntr;srfhgt;srfzne;stbacv;SUREND;SURSTA;swlhgt;tdlrng;tdltyp","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P A " -20490,"Bedrock area","bedare","N/A","N/A",,"G","A" -20491,"Bottom Feature","botmft + catbot","catbot;DUNITS;gradnt;HORLEN;HORWID;HUNITS;migspd;migdir;NOBJNM;OBJNAM;ORIENT;soudat;stfotn;VALSOU;VERLEN;WATLEV;wavlen","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P;L;A" -20492,"Centre Line","centre","N/A","N/A",,"G","L" -20494,"Contact History","histob","orgntr;surdat;SUREND","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -20495,"Controlled airspace","ctlasp + catcas","authty;catcas;caircd;linech;maxalt;maxftl;minalt;minftl;NOBJNM;OBJNAM;HUNITS;VERDAT","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","L;A" -20496,"Diving Location","divloc","depact;divact;DUNITS;OBJNAM;NOBJNM;timeyr;watclr","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P;A" -20497,"Drinking Water Location","watloc","N/A","N/A",,"G","P" -20498,"Drop Zone","drpzne","apprch;extdes;lndcon;OBJNAM;NOBJNM;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P;A" -20499,"Environmentally Sensitive Area","envare","authty;legsta;OBJNAM;NOBJNM;PEREND;PERSTA","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A;P" -20500,"Fishing Activity Area","fshare","catfsh;STATUS;timeyr","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20501,"Impact Scour","iscour","datfir;datlst;depwat;DUNITS;gendep;HORLEN;HORWID;HUNITS;NATQUA;NATSUR;NOBJNM;OBJNAM;orcard;ORIENT;QUASOU;senfir;senlst;sonsig;sorfir;sorlst;SOUACC;soudat;STATUS;TECSOU;VALSOU;VERLEN;WATLEV","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -20502,"Landing Area","lngare","apprch;extdes;lndcon;OBJNAM;NOBJNM;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20503,"Landing Place","lndplc","gradnt;STATUS;wbrcap","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -20504,"Landing Point","lndpnt","apprch;extdes;lndcon;OBJNAM;NOBJNM;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -20505,"Landing Site","lndste","apprch;extdes;lndcon;OBJNAM;NOBJNM;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20506,"Landing Strip","lndstp","apprch;extdes;lndcon;OBJNAM;NOBJNM;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20507,"Landing Zone","lndzne","apprch;extdes;lndcon;OBJNAM;NOBJNM;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20508,"Marine management area","marman + catmma","actper;authty;catmma;identy;linech;NOBJNM;OBJNAM;NATION;spcies;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20509,"Maritime Safety Information area","msiare","catmsi;condet;NATION;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20510,"MCM Area","mcmare","mhclas;milden;nomden","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20511,"Military exercise airspace","mexasp + catmea","actper;authty;catmea;linech;maxalt;maxftl;minalt;minftl;NOBJNM;OBJNAM;HUNITS;VERDAT","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20513,"Patrol area","patare + catpat","authty;catpat;identy;linech;NOBJNM;OBJNAM;NATION;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20514,"Q-Route Leg","qroute","actper;dnbear;lftwid;NATION;NOBJNM;OBJNAM;rclass;rgtwid;STATUS;TRAFIC;HUNITS;upbear","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","L" -20515,"Radio broadcast area","rdoare","NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20516,"Regulated airspace","regasp","N/A","N/A",,"G","A" -20517,"Geological Layer","sedlay","attutn;bulkdn;COLOUR;deplyr;dttdep;dttnum;DUNITS;gascon;grnsiz;hfbmls;laynum;lfbmls;mgstyp;reflco;migspd;migdir;msstrg;natsed;NATQUA;porsty;revebn;revfqy;revgan;samret;sndvel;snrflc;soudat;WATLEV;wbrcap","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P;A" -20518,"Seismic Activity Area","seiare","bearng;ricsca","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20519,"Sensor Anomaly","senanm","datfir;datlst;DUNITS;gendep;HUNITS;madsig;magany;magint;NOBJNM;OBJNAM;orcard;ORIENT;QUASOU;scrdim;senfir;senlst;sonsig;sorfir;sorlst;soudat;SOUACC;STATUS;TECSOU;VALSOU;WATLEV","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -20520,"Shelter Location","shlloc","OBJNAM;NOBJNM;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -20521,"Superficial Sediment Deposits","seddep","N/A","N/A",,"G","A" -20522,"Trafficability Area","trfare","cattrf","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20523,"Trawl Scours","twlscr","HUNITS;HORWID;ORIENT","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","L;A" -20524,"Turning point","turnpt","NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -20525,"Viewpoint","viewpt","bearng;discon;DUNITS;shpspd;snrfrq;snrrsc;twdbdp","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -20526,"Bottom Tactical Data Area","btdare","mntden;undmnr;umnrwb;umrwob","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20527,"Burial Probability Area","bprare","brmchm;brperd;brprob;tgrfwt","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20528,"Leisure Activity Area","lsrare","lsract;timeyr","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20529,"Performance Data Area","pfdare","clperc;clprob;csprob;cswidt;dsprob;dtprob","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20530,"Resource Location","resloc","typres;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P;A" -20531,"Risk Data Area","rkdare","conlev;numrmn;prbrmn;rmnlmn;sminth;znecol","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20532,"Navigation system (NAVAID)","navaid + CATROS","actper;CALSGN;CATROS;COMCHA;NOBJNM;OBJNAM;SIGFRQ","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -20533,"Internal Waters Area ","intwtr","linech;NATION;RESTRN;STATUS","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20534,"Sea Ice","seaice","iceact;icecvt;icesod;icemax;icemin;icerdv;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20535,"Ice Advisory Area","iceadv","iceadc;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20536,"Iceberg Area","brgare","icebnm;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20537,"Land Ice","lndice","icelnd;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20538,"Ice Line","icelin","icelnc;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","L" -20539,"Ice Route","icerte","NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","L" -20540,"Ice Polynya","icepol","icepst;icepty;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","A" -20541,"Ice Lead","icelea","icelty;icelst;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","L;A" -20542,"Iceberg","icebrg","icebsz;icebsh;icebdr;icebsp;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P;A" -20543,"Ice Movement","icemov","icebsp;icebdr;NOBJNM;OBJNAM","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P;A" -20544,"Traffic route","tfcrte","linech;NOBJNM;OBJNAM;PEREND;PERSTA;traden;TRAFIC;typshp","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","L" -20717,"User Defined","u_defd","txtdes","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P;L;A" -20718,"Small Bottom Object","smalbo","blndzn;brmchm;brpctg;COLOUR;comsys;datfir;datlst;depwat;DUNITS;gendep;HORLEN;HORWID;HUNITS;incltn;layptm;layrfn;laytim;madsig;magany;magint;minern;miscls;miscom;misdat;misnme;mnhsys;mnimnc;mnimnt;mnssys;mulcon;mwdcrn;NATCON;navsys;notfnd;nmprob;objtrn;objshp;onsonr;orbobn;orgdat;orgntr;ORIENT;QUASOU;scrdim;senfir;senlst;snrflc;soudat;stacon;surdat;SUREND;tarstg;TECSOU;unwrfm;VERLEN","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"G","P" -21484,"Completeness for the product specification","m_conf + catcnf","catcnf","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"M","A" -21485,"Security Classification Information","m_clas","","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"M","A" -21486,"Vertical Datum Shift Area","m_vers","vershf","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"M","P;A" -21487,"Defined Straight Lines","m_line","linech","AGENCY;CSCALE;elvacc;errell;HORACC;INFORM;NINFOM;NTXTDS;PICREP;POSACC;PRCTRY;PUBREF;RECDAT;QUAPOS;seccvt;secido;secown;secpmk;SORDAT;SORIND;TXTDSC;VERACC",,"M","N/A" diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/seed_2d.dgn b/.venv/lib/python3.12/site-packages/fiona/gdal_data/seed_2d.dgn deleted file mode 100644 index b99cad81..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/gdal_data/seed_2d.dgn and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/seed_3d.dgn b/.venv/lib/python3.12/site-packages/fiona/gdal_data/seed_3d.dgn deleted file mode 100644 index 9e11c938..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/gdal_data/seed_3d.dgn and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/stateplane.csv b/.venv/lib/python3.12/site-packages/fiona/gdal_data/stateplane.csv deleted file mode 100644 index 38089e71..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/stateplane.csv +++ /dev/null @@ -1,259 +0,0 @@ -"ID","STATE","ZONE","PROJ_METHOD","DATUM","USGS_CODE","EPSG_PCS_CODE" -101,ALABAMA,EAST,1,NAD83,101,26929 -102,ALABAMA,WEST,1,NAD83,102,26930 -201,ARIZONA,EAST,1,NAD83,201,26948 -202,ARIZONA,CENTRAL,1,NAD83,202,26949 -203,ARIZONA,WEST,1,NAD83,203,26950 -301,ARKANSAS,NORTH,2,NAD83,301,26951 -302,ARKANSAS,SOUTH,2,NAD83,302,26952 -401,CALIFORNIA,I,2,NAD83,401,26941 -402,CALIFORNIA,II,2,NAD83,402,26942 -403,CALIFORNIA,III,2,NAD83,403,26943 -404,CALIFORNIA,IV,2,NAD83,404,26944 -405,CALIFORNIA,V,2,NAD83,405,26945 -406,CALIFORNIA,VI,2,NAD83,406,26946 -501,COLORADO,NORTH,2,NAD83,501,26953 -502,COLORADO,CENTRAL,2,NAD83,502,26954 -503,COLORADO,SOUTH,2,NAD83,503,26955 -600,CONNECTICUT,,2,NAD83,600,26956 -700,DELAWARE,,1,NAD83,700,26957 -901,FLORIDA,EAST,1,NAD83,901,26958 -902,FLORIDA,WEST,1,NAD83,902,26959 -903,FLORIDA,NORTH,2,NAD83,903,26960 -1001,GEORGIA,EAST,1,NAD83,1001,26966 -1002,GEORGIA,WEST,1,NAD83,1002,26967 -1101,IDAHO,EAST,1,NAD83,1101,26968 -1102,IDAHO,CENTRAL,1,NAD83,1102,26969 -1103,IDAHO,WEST,1,NAD83,1103,26970 -1201,ILLINOIS,EAST,1,NAD83,1201,26971 -1202,ILLINOIS,WEST,1,NAD83,1202,26972 -1301,INDIANA,EAST,1,NAD83,1301,26973 -1302,INDIANA,WEST,1,NAD83,1302,26974 -1401,IOWA,NORTH,2,NAD83,1401,26975 -1402,IOWA,SOUTH,2,NAD83,1402,26976 -1501,KANSAS,NORTH,2,NAD83,1501,26977 -1502,KANSAS,SOUTH,2,NAD83,1502,26978 -1600,KENTUCKY,SINGLE ZONE,2,NAD83,1600,3088 -1601,KENTUCKY,NORTH,2,NAD83,1601,2205 -1602,KENTUCKY,SOUTH,2,NAD83,1602,26980 -1701,LOUISIANA,NORTH,2,NAD83,1701,26981 -1702,LOUISIANA,SOUTH,2,NAD83,1702,26982 -1703,LOUISIANA,OFFSHORE,2,NAD83,1703, -1801,MAINE,EAST,1,NAD83,1801,26983 -1802,MAINE,WEST,1,NAD83,1802,26984 -1900,MARYLAND,,2,NAD83,1900,26985 -2001,MASSACHUSETTS,MAINLAND,2,NAD83,2001,26986 -2002,MASSACHUSETTS,ISLAND,2,NAD83,2002,26987 -2111,MICHIGAN,NORTH,2,NAD83,2111,26988 -2112,MICHIGAN,CENTRAL,2,NAD83,2112,26989 -2113,MICHIGAN,SOUTH,2,NAD83,2113,26990 -2201,MINNESOTA,NORTH,2,NAD83,2201,26991 -2202,MINNESOTA,CENTRAL,2,NAD83,2202,26992 -2203,MINNESOTA,SOUTH,2,NAD83,2203,26993 -2301,MISSISSIPPI,EAST,1,NAD83,2301,26994 -2302,MISSISSIPPI,WEST,1,NAD83,2302,26995 -2401,MISSOURI,EAST,1,NAD83,2401,26996 -2402,MISSOURI,CENTRAL,1,NAD83,2402,26997 -2403,MISSOURI,WEST,1,NAD83,2403,26998 -2500,MONTANA,,2,NAD83,2500,32100 -2600,NEBRASKA,,2,NAD83,2600,32104 -2701,NEVADA,EAST,1,NAD83,2701,32107 -2702,NEVADA,CENTRAL,1,NAD83,2702,32108 -2703,NEVADA,WEST,1,NAD83,2703,32109 -2800,"NEW HAMPSHIRE",,1,NAD83,2800,32110 -2900,"NEW JERSEY",,1,NAD83,2900,32111 -3001,"NEW MEXICO",EAST,1,NAD83,3001,32112 -3002,"NEW MEXICO",CENTRAL,1,NAD83,3002,32113 -3003,"NEW MEXICO",WEST,1,NAD83,3003,32114 -3101,"NEW YORK",EAST,1,NAD83,3101,32115 -3102,"NEW YORK",CENTRAL,1,NAD83,3102,32116 -3103,"NEW YORK",WEST,1,NAD83,3103,32117 -3104,"NEW YORK","LONG ISLAND",2,NAD83,3104,32118 -3200,"NORTH CAROLINA",,2,NAD83,3200,32119 -3301,"NORTH DAKOTA",NORTH,2,NAD83,3301,32120 -3302,"NORTH DAKOTA",SOUTH,2,NAD83,3302,32121 -3401,OHIO,NORTH,2,NAD83,3401,32122 -3402,OHIO,SOUTH,2,NAD83,3402,32123 -3501,OKLAHOMA,NORTH,2,NAD83,3501,32124 -3502,OKLAHOMA,SOUTH,2,NAD83,3502,32125 -3601,OREGON,NORTH,2,NAD83,3601,32126 -3602,OREGON,SOUTH,2,NAD83,3602,32127 -3701,PENNSYLVANIA,NORTH,2,NAD83,3701,32128 -3702,PENNSYLVANIA,SOUTH,2,NAD83,3702,32129 -3800,"RHODE ISLAND",,1,NAD83,3800,32130 -3900,"SOUTH CAROLINA",,2,NAD83,3900,32133 -4001,"SOUTH DAKOTA",NORTH,2,NAD83,4001,32134 -4002,"SOUTH DAKOTA",SOUTH,2,NAD83,4002,32135 -4100,TENNESSEE,,2,NAD83,4100,32136 -4201,TEXAS,NORTH,2,NAD83,4201,32137 -4202,TEXAS,"NORTH CENTRAL",2,NAD83,4202,32138 -4203,TEXAS,CENTRAL,2,NAD83,4203,32139 -4204,TEXAS,"SOUTH CENTRAL",2,NAD83,4204,32140 -4205,TEXAS,SOUTH,2,NAD83,4205,32141 -4301,UTAH,NORTH,2,NAD83,4301,32142 -4302,UTAH,CENTRAL,2,NAD83,4302,32143 -4303,UTAH,SOUTH,2,NAD83,4303,32144 -4400,VERMONT,,1,NAD83,4400,32145 -4501,VIRGINIA,NORTH,2,NAD83,4501,32146 -4502,VIRGINIA,SOUTH,2,NAD83,4502,32147 -4601,WASHINGTON,NORTH,2,NAD83,4601,32148 -4602,WASHINGTON,SOUTH,2,NAD83,4602,32149 -4701,"WEST VIRGINIA",NORTH,2,NAD83,4701,32150 -4702,"WEST VIRGINIA",SOUTH,2,NAD83,4702,32151 -4801,WISCONSIN,NORTH,2,NAD83,4801,32152 -4802,WISCONSIN,CENTRAL,2,NAD83,4802,32153 -4803,WISCONSIN,SOUTH,2,NAD83,4803,32154 -4901,WYOMING,EAST,1,NAD83,4901,32155 -4902,WYOMING,"EAST CENTRAL",1,NAD83,4902,32156 -4903,WYOMING,"WEST CENTRAL",1,NAD83,4903,32157 -4904,WYOMING,WEST,1,NAD83,4904,32158 -5001,ALASKA,"ZONE NO. 1",4,NAD83,5001,26931 -5002,ALASKA,"ZONE NO. 2",1,NAD83,5002,26932 -5003,ALASKA,"ZONE NO. 3",1,NAD83,5003,26933 -5004,ALASKA,"ZONE NO. 4",1,NAD83,5004,26934 -5005,ALASKA,"ZONE NO. 5",1,NAD83,5005,26935 -5006,ALASKA,"ZONE NO. 6",1,NAD83,5006,26936 -5007,ALASKA,"ZONE NO. 7",1,NAD83,5007,26937 -5008,ALASKA,"ZONE NO. 8",1,NAD83,5008,26938 -5009,ALASKA,"ZONE NO. 9",1,NAD83,5009,26939 -5010,ALASKA,"ZONE NO. 10",2,NAD83,5010,26940 -5101,HAWAII,1,1,NAD83,5101,26961 -5102,HAWAII,2,1,NAD83,5102,26962 -5103,HAWAII,3,1,NAD83,5103,26963 -5104,HAWAII,4,1,NAD83,5104,26964 -5105,HAWAII,5,1,NAD83,5105,26965 -5200,"PUERTO RICO AND","VIRGIN ISLANDS",2,NAD83,5200,32161 -10101,ALABAMA,EAST,1,NAD27,101,26729 -10102,ALABAMA,WEST,1,NAD27,102,26730 -10201,ARIZONA,EAST,1,NAD27,201,26748 -10202,ARIZONA,CENTRAL,1,NAD27,202,26749 -10203,ARIZONA,WEST,1,NAD27,203,26750 -10301,ARKANSAS,NORTH,2,NAD27,301,26751 -10302,ARKANSAS,SOUTH,2,NAD27,302,26752 -10401,CALIFORNIA,I,2,NAD27,401,26741 -10402,CALIFORNIA,II,2,NAD27,402,26742 -10403,CALIFORNIA,III,2,NAD27,403,26743 -10404,CALIFORNIA,IV,2,NAD27,404,26744 -10405,CALIFORNIA,V,2,NAD27,405,26745 -10406,CALIFORNIA,VI,2,NAD27,406,26746 -10407,CALIFORNIA,VII,2,NAD27,407,26799 -10501,COLORADO,NORTH,2,NAD27,501,26753 -10502,COLORADO,CENTRAL,2,NAD27,502,26754 -10503,COLORADO,SOUTH,2,NAD27,503,26755 -10600,CONNECTICUT,,2,NAD27,600,26756 -10700,DELAWARE,,1,NAD27,700,26757 -10901,FLORIDA,EAST,1,NAD27,901,26758 -10902,FLORIDA,WEST,1,NAD27,902,26759 -10903,FLORIDA,NORTH,2,NAD27,903,26760 -11001,GEORGIA,EAST,1,NAD27,1001,26766 -11002,GEORGIA,WEST,1,NAD27,1002,26767 -11101,IDAHO,EAST,1,NAD27,1101,26768 -11102,IDAHO,CENTRAL,1,NAD27,1102,26769 -11103,IDAHO,WEST,1,NAD27,1103,26770 -11201,ILLINOIS,EAST,1,NAD27,1201,26771 -11202,ILLINOIS,WEST,1,NAD27,1202,26772 -11301,INDIANA,EAST,1,NAD27,1301,26773 -11302,INDIANA,WEST,1,NAD27,1302,26774 -11401,IOWA,NORTH,2,NAD27,1401,26775 -11402,IOWA,SOUTH,2,NAD27,1402,26776 -11501,KANSAS,NORTH,2,NAD27,1501,26777 -11502,KANSAS,SOUTH,2,NAD27,1502,26778 -11601,KENTUCKY,NORTH,2,NAD27,1601,26779 -11602,KENTUCKY,SOUTH,2,NAD27,1602,26780 -11701,LOUISIANA,NORTH,2,NAD27,1701,26781 -11702,LOUISIANA,SOUTH,2,NAD27,1702,26782 -11703,LOUISIANA,OFFSHORE,2,NAD27,1703, -11801,MAINE,EAST,1,NAD27,1801,26783 -11802,MAINE,WEST,1,NAD27,1802,26784 -11900,MARYLAND,,2,NAD27,1900,26785 -12001,MASSACHUSETTS,MAINLAND,2,NAD27,2001,26786 -12002,MASSACHUSETTS,ISLAND,2,NAD27,2002,26787 -12101,MICHIGAN,EAST,1,NAD27,2101,26801 -12102,MICHIGAN,"CENTRAL/M",1,NAD27,2102,26802 -12103,MICHIGAN,WEST,1,NAD27,2103,26803 -12111,MICHIGAN,NORTH,2,NAD27,2111,26811 -12112,MICHIGAN,"CENTRAL/L",2,NAD27,2112,26812 -12113,MICHIGAN,SOUTH,2,NAD27,2113,26813 -12201,MINNESOTA,NORTH,2,NAD27,2201,26791 -12202,MINNESOTA,CENTRAL,2,NAD27,2202,26792 -12203,MINNESOTA,SOUTH,2,NAD27,2203,26793 -12301,MISSISSIPPI,EAST,1,NAD27,2301,26794 -12302,MISSISSIPPI,WEST,1,NAD27,2302,26795 -12401,MISSOURI,EAST,1,NAD27,2401,26796 -12402,MISSOURI,CENTRAL,1,NAD27,2402,26797 -12403,MISSOURI,WEST,1,NAD27,2403,26798 -12501,MONTANA,NORTH,2,NAD27,2501,32001 -12502,MONTANA,CENTRAL,2,NAD27,2502,32002 -12503,MONTANA,SOUTH,2,NAD27,2503,32003 -12601,NEBRASKA,NORTH,2,NAD27,2601,32005 -12602,NEBRASKA,SOUTH,2,NAD27,2602,32006 -12701,NEVADA,EAST,1,NAD27,2701,32007 -12702,NEVADA,CENTRAL,1,NAD27,2702,32008 -12703,NEVADA,WEST,1,NAD27,2703,32009 -12800,"NEW HAMPSHIRE",,1,NAD27,2800,32010 -12900,"NEW JERSEY",,1,NAD27,2900,32011 -13001,"NEW MEXICO",EAST,1,NAD27,3001,32012 -13002,"NEW MEXICO",CENTRAL,1,NAD27,3002,32013 -13003,"NEW MEXICO",WEST,1,NAD27,3003,32014 -13101,"NEW YORK",EAST,1,NAD27,3101,32015 -13102,"NEW YORK",CENTRAL,1,NAD27,3102,32016 -13103,"NEW YORK",WEST,1,NAD27,3103,32017 -13104,"NEW YORK","LONG ISLAND",2,NAD27,3104,32018 -13200,"NORTH CAROLINA",,2,NAD27,3200,32019 -13301,"NORTH DAKOTA",NORTH,2,NAD27,3301,32020 -13302,"NORTH DAKOTA",SOUTH,2,NAD27,3302,32021 -13401,OHIO,NORTH,2,NAD27,3401,32022 -13402,OHIO,SOUTH,2,NAD27,3402,32023 -13501,OKLAHOMA,NORTH,2,NAD27,3501,32024 -13502,OKLAHOMA,SOUTH,2,NAD27,3502,32025 -13601,OREGON,NORTH,2,NAD27,3601,32026 -13602,OREGON,SOUTH,2,NAD27,3602,32027 -13701,PENNSYLVANIA,NORTH,2,NAD27,3701,32028 -13702,PENNSYLVANIA,SOUTH,2,NAD27,3702,32029 -13800,"RHODE ISLAND",,1,NAD27,3800,32030 -13901,"SOUTH CAROLINA",NORTH,2,NAD27,3901,32031 -13902,"SOUTH CAROLINA",SOUTH,2,NAD27,3902,32033 -14001,"SOUTH DAKOTA",NORTH,2,NAD27,4001,32034 -14002,"SOUTH DAKOTA",SOUTH,2,NAD27,4002,32035 -14100,TENNESSEE,,2,NAD27,4100,2204 -14201,TEXAS,NORTH,2,NAD27,4201,32037 -14202,TEXAS,"NORTH CENTRAL",2,NAD27,4202,32038 -14203,TEXAS,CENTRAL,2,NAD27,4203,32039 -14204,TEXAS,"SOUTH CENTRAL",2,NAD27,4204,32040 -14205,TEXAS,SOUTH,2,NAD27,4205,32041 -14301,UTAH,NORTH,2,NAD27,4301,32042 -14302,UTAH,CENTRAL,2,NAD27,4302,32043 -14303,UTAH,SOUTH,2,NAD27,4303,32044 -14400,VERMONT,,1,NAD27,4400,32045 -14501,VIRGINIA,NORTH,2,NAD27,4501,32046 -14502,VIRGINIA,SOUTH,2,NAD27,4502,32047 -14601,WASHINGTON,NORTH,2,NAD27,4601,32048 -14602,WASHINGTON,SOUTH,2,NAD27,4602,32049 -14701,"WEST VIRGINIA",NORTH,2,NAD27,4701,32050 -14702,"WEST VIRGINIA",SOUTH,2,NAD27,4702,32051 -14801,WISCONSIN,NORTH,2,NAD27,4801,32052 -14802,WISCONSIN,CENTRAL,2,NAD27,4802,32053 -14803,WISCONSIN,SOUTH,2,NAD27,4803,32054 -14901,WYOMING,EAST,1,NAD27,4901,32055 -14902,WYOMING,"EAST CENTRAL",1,NAD27,4902,32056 -14903,WYOMING,"WEST CENTRAL",1,NAD27,4903,32057 -14904,WYOMING,WEST,1,NAD27,4904,32058 -15001,ALASKA,"ZONE NO. 1",4,NAD27,5001,26731 -15002,ALASKA,"ZONE NO. 2",1,NAD27,5002,26732 -15003,ALASKA,"ZONE NO. 3",1,NAD27,5003,26733 -15004,ALASKA,"ZONE NO. 4",1,NAD27,5004,26734 -15005,ALASKA,"ZONE NO. 5",1,NAD27,5005,26735 -15006,ALASKA,"ZONE NO. 6",1,NAD27,5006,26736 -15007,ALASKA,"ZONE NO. 7",1,NAD27,5007,26737 -15008,ALASKA,"ZONE NO. 8",1,NAD27,5008,26738 -15009,ALASKA,"ZONE NO. 9",1,NAD27,5009,26739 -15010,ALASKA,"ZONE NO. 10",2,NAD27,5010,26740 -15101,HAWAII,1,1,NAD27,5101,3561 -15102,HAWAII,2,1,NAD27,5102,3562 -15103,HAWAII,3,1,NAD27,5103,3563 -15104,HAWAII,4,1,NAD27,5104,3564 -15105,HAWAII,5,1,NAD27,5105,3565 -15201,"PUERTO RICO AND VIRGIN ISLANDS",,2,NAD27,5201,3991 -15202,"VIRGIN ISLANDS","ST. CROIX",2,NAD27,5202,3992 -15300,"AMERICAN SAMOA",,2,NAD27,5300,2155 -15400,"GUAM ISLAND",,3,NAD27,5400, diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/template_tiles.mapml b/.venv/lib/python3.12/site-packages/fiona/gdal_data/template_tiles.mapml deleted file mode 100644 index 11366e15..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/template_tiles.mapml +++ /dev/null @@ -1,28 +0,0 @@ - - - states - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_LINZAntarticaMapTileGrid.json b/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_LINZAntarticaMapTileGrid.json deleted file mode 100644 index 9f217059..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_LINZAntarticaMapTileGrid.json +++ /dev/null @@ -1,190 +0,0 @@ -{ - "type": "TileMatrixSetType", - "title": "LINZ Antarctic Map Tile Grid (Ross Sea Region)", - "identifier": "LINZAntarticaMapTilegrid", - "supportedCRS": "http://www.opengis.net/def/crs/EPSG/0/5482", - "tileMatrix": [ - { - "type": "TileMatrixType", - "identifier": "0", - "scaleDenominator": 409600000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 1, - "matrixHeight": 1 - }, - { - "type": "TileMatrixType", - "identifier": "1", - "scaleDenominator": 204800000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 1, - "matrixHeight": 1 - }, - { - "type": "TileMatrixType", - "identifier": "2", - "scaleDenominator": 102400000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 2, - "matrixHeight": 2 - }, - { - "type": "TileMatrixType", - "identifier": "3", - "scaleDenominator": 51200000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 4, - "matrixHeight": 4 - }, - { - "type": "TileMatrixType", - "identifier": "4", - "scaleDenominator": 25600000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 7, - "matrixHeight": 7 - }, - { - "type": "TileMatrixType", - "identifier": "5", - "scaleDenominator": 12800000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 13, - "matrixHeight": 13 - }, - { - "type": "TileMatrixType", - "identifier": "6", - "scaleDenominator": 6400000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 26, - "matrixHeight": 26 - }, - { - "type": "TileMatrixType", - "identifier": "7", - "scaleDenominator": 3200000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 52, - "matrixHeight": 52 - }, - { - "type": "TileMatrixType", - "identifier": "8", - "scaleDenominator": 1600000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 104, - "matrixHeight": 104 - }, - { - "type": "TileMatrixType", - "identifier": "9", - "scaleDenominator": 800000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 207, - "matrixHeight": 207 - }, - { - "type": "TileMatrixType", - "identifier": "10", - "scaleDenominator": 400000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 413, - "matrixHeight": 413 - }, - { - "type": "TileMatrixType", - "identifier": "11", - "scaleDenominator": 200000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 826, - "matrixHeight": 826 - }, - { - "type": "TileMatrixType", - "identifier": "12", - "scaleDenominator": 100000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 1652, - "matrixHeight": 1652 - }, - { - "type": "TileMatrixType", - "identifier": "13", - "scaleDenominator": 50000, - "topLeftCorner": [ - 6918457.73, - -918457.73 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 3303, - "matrixHeight": 3303 - } - ] -} \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_MapML_APSTILE.json b/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_MapML_APSTILE.json deleted file mode 100644 index ec221e1f..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_MapML_APSTILE.json +++ /dev/null @@ -1,268 +0,0 @@ -{ - "type": "TileMatrixSetType", - "identifier": "APSTILE", - "title": "Alaska Polar Stereographic-based tiled coordinate reference system for the Arctic region.", - "supportedCRS": "http://www.opengis.net/def/crs/EPSG/0/5936", - "tileMatrix": [ - { - "matrixHeight": 1, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 1, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 852895761.9785715 - }, - { - "matrixHeight": 2, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 2, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 426447880.98928577 - }, - { - "matrixHeight": 4, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 4, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 213223940.49464288 - }, - { - "matrixHeight": 8, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 8, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 106611970.24732144 - }, - { - "matrixHeight": 16, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 16, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 53305985.12366072 - }, - { - "matrixHeight": 32, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 32, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 26652992.56183036 - }, - { - "matrixHeight": 64, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 64, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 13326496.28091518 - }, - { - "matrixHeight": 128, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 128, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 6663248.14045759 - }, - { - "matrixHeight": 256, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 256, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 3331624.070228795 - }, - { - "matrixHeight": 512, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 512, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 1665812.0351143975 - }, - { - "matrixHeight": 1024, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 1024, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 832906.0175571988 - }, - { - "matrixHeight": 2048, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 2048, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 416453.0087785994 - }, - { - "matrixHeight": 4096, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 4096, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 208226.5043892997 - }, - { - "matrixHeight": 8192, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 8192, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 104113.25219464985 - }, - { - "matrixHeight": 16384, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 16384, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 52056.62609732492 - }, - { - "matrixHeight": 32768, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 32768, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 26028.31304866246 - }, - { - "matrixHeight": 65536, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 65536, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 13014.15652433123 - }, - { - "matrixHeight": 131072, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 131072, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 6507.078262165615 - }, - { - "matrixHeight": 262144, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 262144, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 3253.5391310828077 - }, - { - "matrixHeight": 524288, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -28567784.109255, - 32567784.109255 - ], - "matrixWidth": 524288, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 1626.7695655414038 - } - ] -} diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_MapML_CBMTILE.json b/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_MapML_CBMTILE.json deleted file mode 100644 index 2a391211..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_MapML_CBMTILE.json +++ /dev/null @@ -1,346 +0,0 @@ -{ - "type": "TileMatrixSetType", - "identifier": "CBMTILE", - "title": "Lambert Conformal Conic-based tiled coordinate reference system for Canada.", - "supportedCRS": "http://www.opengis.net/def/crs/EPSG/0/3978", - "tileMatrix": [ - { - "matrixHeight": 5, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 5, - "identifier": "0", - "type": "TileMatrixType", - "scaleDenominator": 137016643.08090523 - }, - { - "matrixHeight": 9, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 9, - "identifier": "1", - "type": "TileMatrixType", - "scaleDenominator": 80320101.1163927317 - }, - { - "matrixHeight": 15, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 15, - "identifier": "2", - "type": "TileMatrixType", - "scaleDenominator": 47247118.3037604243 - }, - { - "matrixHeight": 25, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 25, - "identifier": "3", - "type": "TileMatrixType", - "scaleDenominator": 28348270.982256256 - }, - { - "matrixHeight": 42, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 42, - "identifier": "4", - "type": "TileMatrixType", - "scaleDenominator": 16536491.40631615 - }, - { - "matrixHeight": 73, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 73, - "identifier": "5", - "type": "TileMatrixType", - "scaleDenominator": 9449423.66075208597 - }, - { - "matrixHeight": 121, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 121, - "identifier": "6", - "type": "TileMatrixType", - "scaleDenominator": 5669654.1964512514 - }, - { - "matrixHeight": 208, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 208, - "identifier": "7", - "type": "TileMatrixType", - "scaleDenominator": 3307298.2812632299 - }, - { - "matrixHeight": 363, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 363, - "identifier": "8", - "type": "TileMatrixType", - "scaleDenominator": 1889884.73215041705 - }, - { - "matrixHeight": 605, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 605, - "identifier": "9", - "type": "TileMatrixType", - "scaleDenominator": 1133930.83929025033 - }, - { - "matrixHeight": 1036, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 1036, - "identifier": "10", - "type": "TileMatrixType", - "scaleDenominator": 661459.656252646004 - }, - { - "matrixHeight": 1727, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 1727, - "identifier": "11", - "type": "TileMatrixType", - "scaleDenominator": 396875.793751587567 - }, - { - "matrixHeight": 2900, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 2900, - "identifier": "12", - "type": "TileMatrixType", - "scaleDenominator": 236235.591518802132 - }, - { - "matrixHeight": 5000, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 5000, - "identifier": "13", - "type": "TileMatrixType", - "scaleDenominator": 137016.643080905225 - }, - { - "matrixHeight": 8530, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 8530, - "identifier": "14", - "type": "TileMatrixType", - "scaleDenominator": 80320.1011163927178 - }, - { - "matrixHeight": 14501, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 14501, - "identifier": "15", - "type": "TileMatrixType", - "scaleDenominator": 47247.1183037604278 - }, - { - "matrixHeight": 24167, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 24167, - "identifier": "16", - "type": "TileMatrixType", - "scaleDenominator": 28348.2709822562538 - }, - { - "matrixHeight": 41429, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 41429, - "identifier": "17", - "type": "TileMatrixType", - "scaleDenominator": 16536.4914063161486 - }, - { - "matrixHeight": 72500, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 72500, - "identifier": "18", - "type": "TileMatrixType", - "scaleDenominator": 9449.4236607520852 - }, - { - "matrixHeight": 120834, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 120834, - "identifier": "19", - "type": "TileMatrixType", - "scaleDenominator": 5669.65419645125075 - }, - { - "matrixHeight": 207143, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 207143, - "identifier": "20", - "type": "TileMatrixType", - "scaleDenominator": 3307.29828126322991 - }, - { - "matrixHeight": 362501, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 362501, - "identifier": "21", - "type": "TileMatrixType", - "scaleDenominator": 1889.88473215041699 - }, - { - "matrixHeight": 604167, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 604167, - "identifier": "22", - "type": "TileMatrixType", - "scaleDenominator": 1133.93083929025011 - }, - { - "matrixHeight": 1035715, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 1035715, - "identifier": "23", - "type": "TileMatrixType", - "scaleDenominator": 661.459656252645914 - }, - { - "matrixHeight": 1726191, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 1726191, - "identifier": "24", - "type": "TileMatrixType", - "scaleDenominator": 396.875793751587537 - }, - { - "matrixHeight": 2900001, - "tileHeight": 256, - "tileWidth": 256, - "topLeftCorner": [ - -34655800, - 39310000 - ], - "matrixWidth": 2900001, - "identifier": "25", - "type": "TileMatrixType", - "scaleDenominator": 236.235591518802124 - } - ] -} diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_NZTM2000.json b/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_NZTM2000.json deleted file mode 100644 index 779f9b72..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/tms_NZTM2000.json +++ /dev/null @@ -1,243 +0,0 @@ -{ - "type": "TileMatrixSetType", - "title": "LINZ NZTM2000 Map Tile Grid", - "abstract": "See https://www.linz.govt.nz/data/linz-data-service/guides-and-documentation/nztm2000-map-tile-service-schema", - "identifier": "NZTM2000", - "supportedCRS": "http://www.opengis.net/def/crs/EPSG/0/2193", - "boundingBox": - { - "type": "BoundingBoxType", - "crs": "http://www.opengis.net/def/crs/EPSG/0/2193", - "lowerCorner": [ - 3087000, - 274000 - ], - "upperCorner": [ - 7173000, - 3327000 - ] - }, - "tileMatrix": [ - { - "type": "TileMatrixType", - "identifier": "0", - "scaleDenominator": 32000000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 2, - "matrixHeight": 4 - }, - { - "type": "TileMatrixType", - "identifier": "1", - "scaleDenominator": 16000000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 4, - "matrixHeight": 8 - }, - { - "type": "TileMatrixType", - "identifier": "2", - "scaleDenominator": 8000000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 8, - "matrixHeight": 16 - }, - { - "type": "TileMatrixType", - "identifier": "3", - "scaleDenominator": 4000000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 16, - "matrixHeight": 32 - }, - { - "type": "TileMatrixType", - "identifier": "4", - "scaleDenominator": 2000000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 32, - "matrixHeight": 64 - }, - { - "type": "TileMatrixType", - "identifier": "5", - "scaleDenominator": 1000000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 64, - "matrixHeight": 128 - }, - { - "type": "TileMatrixType", - "identifier": "6", - "scaleDenominator": 500000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 128, - "matrixHeight": 256 - }, - { - "type": "TileMatrixType", - "identifier": "7", - "scaleDenominator": 250000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 256, - "matrixHeight": 512 - }, - { - "type": "TileMatrixType", - "identifier": "8", - "scaleDenominator": 100000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 640, - "matrixHeight": 1280 - }, - { - "type": "TileMatrixType", - "identifier": "9", - "scaleDenominator": 50000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 1280, - "matrixHeight": 2560 - }, - { - "type": "TileMatrixType", - "identifier": "10", - "scaleDenominator": 25000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 2560, - "matrixHeight": 5120 - }, - { - "type": "TileMatrixType", - "identifier": "11", - "scaleDenominator": 10000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 6400, - "matrixHeight": 12800 - }, - { - "type": "TileMatrixType", - "identifier": "12", - "scaleDenominator": 5000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 12800, - "matrixHeight": 25600 - }, - { - "type": "TileMatrixType", - "identifier": "13", - "scaleDenominator": 2500, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 25600, - "matrixHeight": 51200 - }, - { - "type": "TileMatrixType", - "identifier": "14", - "scaleDenominator": 1000, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 64000, - "matrixHeight": 128000 - }, - { - "type": "TileMatrixType", - "identifier": "15", - "scaleDenominator": 500, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 128000, - "matrixHeight": 256000 - }, - { - "type": "TileMatrixType", - "identifier": "16", - "scaleDenominator": 250, - "topLeftCorner": [ - 10000000, - -1000000 - ], - "tileWidth": 256, - "tileHeight": 256, - "matrixWidth": 256000, - "matrixHeight": 512000 - } - ] -} \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/trailer.dxf b/.venv/lib/python3.12/site-packages/fiona/gdal_data/trailer.dxf deleted file mode 100644 index 19ebd400..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/trailer.dxf +++ /dev/null @@ -1,434 +0,0 @@ - 0 -ENDSEC - 0 -SECTION - 2 -OBJECTS - 0 -DICTIONARY - 5 -C -330 -0 -100 -AcDbDictionary -281 - 1 - 3 -ACAD_GROUP -350 -D - 3 -ACAD_LAYOUT -350 -1A - 3 -ACAD_MLEADERSTYLE -350 -43 - 3 -ACAD_PLOTSETTINGS -350 -19 - 3 -ACAD_PLOTSTYLENAME -350 -E - 3 -ACAD_TABLESTYLE -350 -42 - 0 -DICTIONARY - 5 -D -102 -{ACAD_REACTORS -330 -C -102 -} -330 -C -100 -AcDbDictionary -281 - 1 - 0 -DICTIONARY - 5 -1A -102 -{ACAD_REACTORS -330 -C -102 -} -330 -C -100 -AcDbDictionary -281 - 1 - 3 -Layout1 -350 -1E - 3 -Model -350 -22 - 0 -DICTIONARY - 5 -43 -102 -{ACAD_REACTORS -330 -C -102 -} -330 -C -100 -AcDbDictionary -281 - 1 - 0 -DICTIONARY - 5 -19 -102 -{ACAD_REACTORS -330 -C -102 -} -330 -C -100 -AcDbDictionary -281 - 1 - 0 -ACDBDICTIONARYWDFLT - 5 -E -102 -{ACAD_REACTORS -330 -C -102 -} -330 -C -100 -AcDbDictionary -281 - 1 - 3 -Normal -350 -F -100 -AcDbDictionaryWithDefault -340 -F - 0 -DICTIONARY - 5 -42 -102 -{ACAD_REACTORS -330 -C -102 -} -330 -C -100 -AcDbDictionary -281 - 1 - 0 -LAYOUT - 5 -1E -102 -{ACAD_REACTORS -330 -1A -102 -} -330 -1A -100 -AcDbPlotSettings - 1 - - 2 -none_device - 4 - - 6 - - 40 -0.0 - 41 -0.0 - 42 -0.0 - 43 -0.0 - 44 -0.0 - 45 -0.0 - 46 -0.0 - 47 -0.0 - 48 -0.0 - 49 -0.0 -140 -0.0 -141 -0.0 -142 -1.0 -143 -1.0 - 70 - 688 - 72 - 0 - 73 - 0 - 74 - 5 - 7 - - 75 - 16 - 76 - 0 - 77 - 2 - 78 - 300 -147 -1.0 -148 -0.0 -149 -0.0 -100 -AcDbLayout - 1 -Layout1 - 70 - 1 - 71 - 1 - 10 -0.0 - 20 -0.0 - 11 -12.0 - 21 -9.0 - 12 -0.0 - 22 -0.0 - 32 -0.0 - 14 -1.000000000000000E+20 - 24 -1.000000000000000E+20 - 34 -1.000000000000000E+20 - 15 --1.000000000000000E+20 - 25 --1.000000000000000E+20 - 35 --1.000000000000000E+20 -146 -0.0 - 13 -0.0 - 23 -0.0 - 33 -0.0 - 16 -1.0 - 26 -0.0 - 36 -0.0 - 17 -0.0 - 27 -1.0 - 37 -0.0 - 76 - 0 -330 -1B - 0 -LAYOUT - 5 -22 -102 -{ACAD_REACTORS -330 -1A -102 -} -330 -1A -100 -AcDbPlotSettings - 1 - - 2 -none_device - 4 - - 6 - - 40 -0.0 - 41 -0.0 - 42 -0.0 - 43 -0.0 - 44 -0.0 - 45 -0.0 - 46 -0.0 - 47 -0.0 - 48 -0.0 - 49 -0.0 -140 -0.0 -141 -0.0 -142 -1.0 -143 -1.0 - 70 - 1712 - 72 - 0 - 73 - 0 - 74 - 0 - 7 - - 75 - 0 - 76 - 0 - 77 - 2 - 78 - 300 -147 -1.0 -148 -0.0 -149 -0.0 -100 -AcDbLayout - 1 -Model - 70 - 1 - 71 - 0 - 10 -0.0 - 20 -0.0 - 11 -12.0 - 21 -9.0 - 12 -0.0 - 22 -0.0 - 32 -0.0 - 14 -30.0 - 24 -49.75 - 34 -0.0 - 15 -130.5 - 25 -163.1318914119703 - 35 -0.0 -146 -0.0 - 13 -0.0 - 23 -0.0 - 33 -0.0 - 16 -1.0 - 26 -0.0 - 36 -0.0 - 17 -0.0 - 27 -1.0 - 37 -0.0 - 76 - 0 -330 -1F -331 -29 -0 -ACDBPLACEHOLDER - 5 -F -102 -{ACAD_REACTORS -330 -E -102 -} -330 -E - 0 -ENDSEC - 0 -EOF diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/vdv452.xml b/.venv/lib/python3.12/site-packages/fiona/gdal_data/vdv452.xml deleted file mode 100644 index d010fa0d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/vdv452.xml +++ /dev/null @@ -1,367 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/vdv452.xsd b/.venv/lib/python3.12/site-packages/fiona/gdal_data/vdv452.xsd deleted file mode 100644 index a42774bf..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/vdv452.xsd +++ /dev/null @@ -1,63 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/fiona/gdal_data/vicar.json b/.venv/lib/python3.12/site-packages/fiona/gdal_data/vicar.json deleted file mode 100644 index 2344a50e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/gdal_data/vicar.json +++ /dev/null @@ -1,164 +0,0 @@ -{ - "GDAL_AUTOTEST": - { - "size": 29, - "fields": [ - { - "name": "unsigned_char", - "type": "unsigned char" - }, - { - "name": "unsigned_short", - "type": "unsigned short" - }, - { - "name": "unsigned_int", - "type": "unsigned int" - }, - { - "name": "unsigned_int_hidden", - "type": "unsigned int", - "hidden": true - }, - { - "name": "short", - "type": "short" - }, - { - "name": "int", - "type": "int" - }, - { - "name": "float", - "type": "float" - }, - { - "name": "double", - "type": "double" - } - ] - }, - - "M94_HRSC": - { - "size": 68, - "documentation": "http://europlanet.dlr.de/Mars/PDS_PHOBOS_MAPS/DOCUMENT/HRSC_LABEL_HEADER.PDF", - "fields": [ - { - "name": "EphTime", - "type": "double" - }, - { - "name": "Exposure", - "type": "float" - }, - { - "name": "COT", - "type": "int" - }, - { - "name": "FEETemp", - "type": "int" - }, - { - "name": "FPMTemp", - "type": "int" - }, - { - "name": "OBTemp", - "type": "int" - }, - { - "name": "FERT", - "type": "int" - }, - { - "name": "LERT", - "type": "int" - }, - { - "name": "reserved1", - "type": "int", - "hidden": true - }, - { - "name": "CmpDataLen", - "type": "unsigned short" - }, - { - "name": "FrameCount", - "type": "unsigned short" - }, - { - "name": "Pischel", - "type": "unsigned short" - }, - { - "name": "ActPixel", - "type": "unsigned short" - }, - { - "name": "RSHits", - "type": "unsigned short" - }, - { - "name": "reserved2", - "type": "unsigned short", - "hidden": true - }, - { - "name": "DceInput", - "type": "unsigned char" - }, - { - "name": "DceOutput", - "type": "unsigned char" - }, - { - "name": "FrameErr1", - "type": "unsigned char" - }, - { - "name": "FrameErr2", - "type": "unsigned char" - }, - { - "name": "Gob1", - "type": "unsigned char" - }, - { - "name": "Gob2", - "type": "unsigned char" - }, - { - "name": "Gob3", - "type": "unsigned char" - }, - { - "name": "DSS", - "type": "unsigned char" - }, - { - "name": "DecmpErr1", - "type": "unsigned char" - }, - { - "name": "DecmpErr2", - "type": "unsigned char" - }, - { - "name": "DecmpErr3", - "type": "unsigned char" - }, - { - "name": "FillerFlag", - "type": "unsigned char" - }, - { - "name": "reserved3", - "type": "unsigned int", - "hidden": true - } - ] - } -} diff --git a/.venv/lib/python3.12/site-packages/fiona/inspector.py b/.venv/lib/python3.12/site-packages/fiona/inspector.py deleted file mode 100644 index a84d2307..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/inspector.py +++ /dev/null @@ -1,36 +0,0 @@ -import code -import logging -import sys - -import fiona - - -logging.basicConfig(stream=sys.stderr, level=logging.INFO) -logger = logging.getLogger('fiona.inspector') - - -def main(srcfile): - """Open a dataset in an iteractive session.""" - with fiona.drivers(): - with fiona.open(srcfile) as src: - code.interact( - 'Fiona %s Interactive Inspector (Python %s)\n' - 'Type "src.schema", "next(src)", or "help(src)" ' - "for more information." - % (fiona.__version__, ".".join(map(str, sys.version_info[:3]))), - local=locals(), - ) - - return 1 - - -if __name__ == '__main__': - import argparse - - parser = argparse.ArgumentParser( - prog="python -m fiona.inspector", - description="Open a data file and drop into an interactive interpreter", - ) - parser.add_argument("src", metavar="FILE", help="Input dataset file name") - args = parser.parse_args() - main(args.src) diff --git a/.venv/lib/python3.12/site-packages/fiona/io.py b/.venv/lib/python3.12/site-packages/fiona/io.py deleted file mode 100644 index 453f28cc..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/io.py +++ /dev/null @@ -1,222 +0,0 @@ -"""Classes capable of reading and writing collections -""" - -import logging - -from fiona.ogrext import MemoryFileBase, _listdir, _listlayers -from fiona.collection import Collection -from fiona.meta import supports_vsi -from fiona.errors import DriverError - -log = logging.getLogger(__name__) - - -class MemoryFile(MemoryFileBase): - """A BytesIO-like object, backed by an in-memory file. - - This allows formatted files to be read and written without I/O. - - A MemoryFile created with initial bytes becomes immutable. A - MemoryFile created without initial bytes may be written to using - either file-like or dataset interfaces. - - Parameters - ---------- - file_or_bytes : an open Python file, bytes, or None - If not None, the MemoryFile becomes immutable and read-only. - If None, it is write-only. - filename : str - An optional filename. The default is a UUID-based name. - ext : str - An optional file extension. Some format drivers require a - specific value. - - """ - def __init__(self, file_or_bytes=None, filename=None, ext=""): - if ext and not ext.startswith("."): - ext = "." + ext - super().__init__( - file_or_bytes=file_or_bytes, filename=filename, ext=ext) - - def open( - self, - mode=None, - driver=None, - schema=None, - crs=None, - encoding=None, - layer=None, - vfs=None, - enabled_drivers=None, - crs_wkt=None, - allow_unsupported_drivers=False, - **kwargs - ): - """Open the file and return a Fiona collection object. - - If data has already been written, the file is opened in 'r' - mode. Otherwise, the file is opened in 'w' mode. - - Parameters - ---------- - Note well that there is no `path` parameter: a `MemoryFile` - contains a single dataset and there is no need to specify a - path. - - Other parameters are optional and have the same semantics as the - parameters of `fiona.open()`. - """ - if self.closed: - raise OSError("I/O operation on closed file.") - - if ( - not allow_unsupported_drivers - and driver is not None - and not supports_vsi(driver) - ): - raise DriverError("Driver {} does not support virtual files.") - - if mode in ('r', 'a') and not self.exists(): - raise OSError("MemoryFile does not exist.") - if layer is None and mode == 'w' and self.exists(): - raise OSError("MemoryFile already exists.") - - if not self.exists() or mode == 'w': - if driver is not None: - self._ensure_extension(driver) - mode = 'w' - elif mode is None: - mode = 'r' - - return Collection( - self.name, - mode, - crs=crs, - driver=driver, - schema=schema, - encoding=encoding, - layer=layer, - enabled_drivers=enabled_drivers, - allow_unsupported_drivers=allow_unsupported_drivers, - crs_wkt=crs_wkt, - **kwargs - ) - - def listdir(self, path=None): - """List files in a directory. - - Parameters - ---------- - path : URI (str or pathlib.Path) - A dataset resource identifier. - - Returns - ------- - list - A list of filename strings. - - """ - if self.closed: - raise OSError("I/O operation on closed file.") - if path: - vsi_path = "{}/{}".format(self.name, path.lstrip("/")) - else: - vsi_path = f"{self.name}" - return _listdir(vsi_path) - - def listlayers(self, path=None): - """List layer names in their index order - - Parameters - ---------- - path : URI (str or pathlib.Path) - A dataset resource identifier. - - Returns - ------- - list - A list of layer name strings. - - """ - if self.closed: - raise OSError("I/O operation on closed file.") - if path: - vsi_path = "{}/{}".format(self.name, path.lstrip("/")) - else: - vsi_path = f"{self.name}" - return _listlayers(vsi_path) - - def __enter__(self): - return self - - def __exit__(self, *args, **kwargs): - self.close() - - -class ZipMemoryFile(MemoryFile): - """A read-only BytesIO-like object backed by an in-memory zip file. - - This allows a zip file containing formatted files to be read - without I/O. - - Parameters - ---------- - file_or_bytes : an open Python file, bytes, or None - If not None, the MemoryFile becomes immutable and read-only. If - None, it is write-only. - filename : str - An optional filename. The default is a UUID-based name. - ext : str - An optional file extension. Some format drivers require a - specific value. The default is ".zip". - """ - - def __init__(self, file_or_bytes=None, filename=None, ext=".zip"): - super().__init__(file_or_bytes, filename=filename, ext=ext) - self.name = f"/vsizip{self.name}" - - def open( - self, - path=None, - driver=None, - encoding=None, - layer=None, - enabled_drivers=None, - allow_unsupported_drivers=False, - **kwargs - ): - """Open a dataset within the zipped stream. - - Parameters - ---------- - path : str - Path to a dataset in the zip file, relative to the root of the - archive. - - Returns - ------- - A Fiona collection object - - """ - if path: - vsi_path = '/vsizip{0}/{1}'.format(self.name, path.lstrip('/')) - else: - vsi_path = '/vsizip{0}'.format(self.name) - - if self.closed: - raise OSError("I/O operation on closed file.") - if path: - vsi_path = "{}/{}".format(self.name, path.lstrip("/")) - else: - vsi_path = f"{self.name}" - - return Collection( - vsi_path, - "r", - driver=driver, - encoding=encoding, - layer=layer, - enabled_drivers=enabled_drivers, - allow_unsupported_drivers=allow_unsupported_drivers, - **kwargs - ) diff --git a/.venv/lib/python3.12/site-packages/fiona/logutils.py b/.venv/lib/python3.12/site-packages/fiona/logutils.py deleted file mode 100644 index 43e14352..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/logutils.py +++ /dev/null @@ -1,36 +0,0 @@ -"""Logging helper classes.""" - -import logging - - -class FieldSkipLogFilter(logging.Filter): - """Filter field skip log messges. - - At most, one message per field skipped per loop will be passed. - """ - - def __init__(self, name=''): - super().__init__(name) - self.seen_msgs = set() - - def filter(self, record): - """Pass record if not seen.""" - msg = record.getMessage() - if msg.startswith("Skipping field"): - retval = msg not in self.seen_msgs - self.seen_msgs.add(msg) - return retval - else: - return 1 - - -class LogFiltering: - def __init__(self, logger, filter): - self.logger = logger - self.filter = filter - - def __enter__(self): - self.logger.addFilter(self.filter) - - def __exit__(self, *args, **kwargs): - self.logger.removeFilter(self.filter) diff --git a/.venv/lib/python3.12/site-packages/fiona/meta.py b/.venv/lib/python3.12/site-packages/fiona/meta.py deleted file mode 100644 index d455c2b9..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/meta.py +++ /dev/null @@ -1,272 +0,0 @@ -import logging -import xml.etree.ElementTree as ET - -from fiona.env import require_gdal_version -from fiona.ogrext import _get_metadata_item - -log = logging.getLogger(__name__) - - -class MetadataItem: - # since GDAL 2.0 - CREATION_FIELD_DATA_TYPES = "DMD_CREATIONFIELDDATATYPES" - # since GDAL 2.3 - CREATION_FIELD_DATA_SUB_TYPES = "DMD_CREATIONFIELDDATASUBTYPES" - CREATION_OPTION_LIST = "DMD_CREATIONOPTIONLIST" - LAYER_CREATION_OPTION_LIST = "DS_LAYER_CREATIONOPTIONLIST" - # since GDAL 2.0 - DATASET_OPEN_OPTIONS = "DMD_OPENOPTIONLIST" - # since GDAL 2.0 - EXTENSIONS = "DMD_EXTENSIONS" - EXTENSION = "DMD_EXTENSION" - VIRTUAL_IO = "DCAP_VIRTUALIO" - # since GDAL 2.0 - NOT_NULL_FIELDS = "DCAP_NOTNULL_FIELDS" - # since gdal 2.3 - NOT_NULL_GEOMETRY_FIELDS = "DCAP_NOTNULL_GEOMFIELDS" - # since GDAL 3.2 - UNIQUE_FIELDS = "DCAP_UNIQUE_FIELDS" - # since GDAL 2.0 - DEFAULT_FIELDS = "DCAP_DEFAULT_FIELDS" - OPEN = "DCAP_OPEN" - CREATE = "DCAP_CREATE" - - -def _parse_options(xml): - """Convert metadata xml to dict""" - options = {} - if len(xml) > 0: - - root = ET.fromstring(xml) - for option in root.iter('Option'): - - option_name = option.attrib['name'] - opt = {} - opt.update((k, v) for k, v in option.attrib.items() if not k == 'name') - - values = [] - for value in option.iter('Value'): - values.append(value.text) - if len(values) > 0: - opt['values'] = values - - options[option_name] = opt - - return options - - -@require_gdal_version('2.0') -def dataset_creation_options(driver): - """ Returns dataset creation options for driver - - Parameters - ---------- - driver : str - - Returns - ------- - dict - Dataset creation options - - """ - - xml = _get_metadata_item(driver, MetadataItem.CREATION_OPTION_LIST) - - if xml is None: - return {} - - if len(xml) == 0: - return {} - - return _parse_options(xml) - - -@require_gdal_version('2.0') -def layer_creation_options(driver): - """ Returns layer creation options for driver - - Parameters - ---------- - driver : str - - Returns - ------- - dict - Layer creation options - - """ - xml = _get_metadata_item(driver, MetadataItem.LAYER_CREATION_OPTION_LIST) - - if xml is None: - return {} - - if len(xml) == 0: - return {} - - return _parse_options(xml) - - -@require_gdal_version('2.0') -def dataset_open_options(driver): - """ Returns dataset open options for driver - - Parameters - ---------- - driver : str - - Returns - ------- - dict - Dataset open options - - """ - xml = _get_metadata_item(driver, MetadataItem.DATASET_OPEN_OPTIONS) - - if xml is None: - return {} - - if len(xml) == 0: - return {} - - return _parse_options(xml) - - -@require_gdal_version('2.0') -def print_driver_options(driver): - """ Print driver options for dataset open, dataset creation, and layer creation. - - Parameters - ---------- - driver : str - - """ - - for option_type, options in [("Dataset Open Options", dataset_open_options(driver)), - ("Dataset Creation Options", dataset_creation_options(driver)), - ("Layer Creation Options", layer_creation_options(driver))]: - - print(f"{option_type}:") - if len(options) == 0: - print("\tNo options available.") - else: - for option_name in options: - print(f"\t{option_name}:") - if 'description' in options[option_name]: - print("\t\tDescription: {description}".format(description=options[option_name]['description'])) - if 'type' in options[option_name]: - print("\t\tType: {type}".format(type=options[option_name]['type'])) - if 'values' in options[option_name] and len(options[option_name]['values']) > 0: - print("\t\tAccepted values: {values}".format(values=",".join(options[option_name]['values']))) - for attr_text, attribute in [('Default value', 'default'), - ('Required', 'required'), - ('Alias', 'aliasOf'), - ('Min', 'min'), - ('Max', 'max'), - ('Max size', 'maxsize'), - ('Scope', 'scope'), - ('Alternative configuration option', 'alt_config_option')]: - if attribute in options[option_name]: - print("\t\t{attr_text}: {attribute}".format(attr_text=attr_text, - attribute=options[option_name][attribute])) - print("") - - -@require_gdal_version('2.0') -def extensions(driver): - """ Returns file extensions supported by driver - - Parameters - ---------- - driver : str - - Returns - ------- - list - List with file extensions or None if not specified by driver - - """ - - exts = _get_metadata_item(driver, MetadataItem.EXTENSIONS) - - if exts is None: - return None - - return [ext for ext in exts.split(" ") if len(ext) > 0] - - -def extension(driver): - """ Returns file extension of driver - - Parameters - ---------- - driver : str - - Returns - ------- - str - File extensions or None if not specified by driver - - """ - - return _get_metadata_item(driver, MetadataItem.EXTENSION) - - -@require_gdal_version('2.0') -def supports_vsi(driver): - """ Returns True if driver supports GDAL's VSI*L API - - Parameters - ---------- - driver : str - - Returns - ------- - bool - - """ - virutal_io = _get_metadata_item(driver, MetadataItem.VIRTUAL_IO) - return virutal_io is not None and virutal_io.upper() == "YES" - - -@require_gdal_version('2.0') -def supported_field_types(driver): - """ Returns supported field types - - Parameters - ---------- - driver : str - - Returns - ------- - list - List with supported field types or None if not specified by driver - - """ - field_types_str = _get_metadata_item(driver, MetadataItem.CREATION_FIELD_DATA_TYPES) - - if field_types_str is None: - return None - - return [field_type for field_type in field_types_str.split(" ") if len(field_type) > 0] - - -@require_gdal_version('2.3') -def supported_sub_field_types(driver): - """ Returns supported sub field types - - Parameters - ---------- - driver : str - - Returns - ------- - list - List with supported field types or None if not specified by driver - - """ - field_types_str = _get_metadata_item(driver, MetadataItem.CREATION_FIELD_DATA_SUB_TYPES) - - if field_types_str is None: - return None - - return [field_type for field_type in field_types_str.split(" ") if len(field_type) > 0] diff --git a/.venv/lib/python3.12/site-packages/fiona/model.py b/.venv/lib/python3.12/site-packages/fiona/model.py deleted file mode 100644 index b05848f7..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/model.py +++ /dev/null @@ -1,437 +0,0 @@ -"""Fiona data model""" - -from binascii import hexlify -from collections.abc import MutableMapping -from collections import OrderedDict -from enum import Enum -import itertools -from json import JSONEncoder -from warnings import warn - -from fiona.errors import FionaDeprecationWarning - - -class OGRGeometryType(Enum): - Unknown = 0 - Point = 1 - LineString = 2 - Polygon = 3 - MultiPoint = 4 - MultiLineString = 5 - MultiPolygon = 6 - GeometryCollection = 7 - CircularString = 8 - CompoundCurve = 9 - CurvePolygon = 10 - MultiCurve = 11 - MultiSurface = 12 - Curve = 13 - Surface = 14 - PolyhedralSurface = 15 - TIN = 16 - Triangle = 17 - NONE = 100 - LinearRing = 101 - CircularStringZ = 1008 - CompoundCurveZ = 1009 - CurvePolygonZ = 1010 - MultiCurveZ = 1011 - MultiSurfaceZ = 1012 - CurveZ = 1013 - SurfaceZ = 1014 - PolyhedralSurfaceZ = 1015 - TINZ = 1016 - TriangleZ = 1017 - PointM = 2001 - LineStringM = 2002 - PolygonM = 2003 - MultiPointM = 2004 - MultiLineStringM = 2005 - MultiPolygonM = 2006 - GeometryCollectionM = 2007 - CircularStringM = 2008 - CompoundCurveM = 2009 - CurvePolygonM = 2010 - MultiCurveM = 2011 - MultiSurfaceM = 2012 - CurveM = 2013 - SurfaceM = 2014 - PolyhedralSurfaceM = 2015 - TINM = 2016 - TriangleM = 2017 - PointZM = 3001 - LineStringZM = 3002 - PolygonZM = 3003 - MultiPointZM = 3004 - MultiLineStringZM = 3005 - MultiPolygonZM = 3006 - GeometryCollectionZM = 3007 - CircularStringZM = 3008 - CompoundCurveZM = 3009 - CurvePolygonZM = 3010 - MultiCurveZM = 3011 - MultiSurfaceZM = 3012 - CurveZM = 3013 - SurfaceZM = 3014 - PolyhedralSurfaceZM = 3015 - TINZM = 3016 - TriangleZM = 3017 - Point25D = 0x80000001 - LineString25D = 0x80000002 - Polygon25D = 0x80000003 - MultiPoint25D = 0x80000004 - MultiLineString25D = 0x80000005 - MultiPolygon25D = 0x80000006 - GeometryCollection25D = 0x80000007 - - -# Mapping of OGR integer geometry types to GeoJSON type names. -_GEO_TYPES = { - OGRGeometryType.Unknown.value: "Unknown", - OGRGeometryType.Point.value: "Point", - OGRGeometryType.LineString.value: "LineString", - OGRGeometryType.Polygon.value: "Polygon", - OGRGeometryType.MultiPoint.value: "MultiPoint", - OGRGeometryType.MultiLineString.value: "MultiLineString", - OGRGeometryType.MultiPolygon.value: "MultiPolygon", - OGRGeometryType.GeometryCollection.value: "GeometryCollection" -} - -GEOMETRY_TYPES = { - **_GEO_TYPES, - OGRGeometryType.NONE.value: "None", - OGRGeometryType.LinearRing.value: "LinearRing", - OGRGeometryType.Point25D.value: "3D Point", - OGRGeometryType.LineString25D.value: "3D LineString", - OGRGeometryType.Polygon25D.value: "3D Polygon", - OGRGeometryType.MultiPoint25D.value: "3D MultiPoint", - OGRGeometryType.MultiLineString25D.value: "3D MultiLineString", - OGRGeometryType.MultiPolygon25D.value: "3D MultiPolygon", - OGRGeometryType.GeometryCollection25D.value: "3D GeometryCollection", -} - - -class Object(MutableMapping): - """Base class for CRS, geometry, and feature objects - - In Fiona 2.0, the implementation of those objects will change. They - will no longer be dicts or derive from dict, and will lose some - features like mutability and default JSON serialization. - - Object will be used for these objects in Fiona 1.9. This class warns - about future deprecation of features. - """ - - _delegated_properties = [] - - def __init__(self, **kwds): - self._data = OrderedDict(**kwds) - - def _props(self): - return { - k: getattr(self._delegate, k) - for k in self._delegated_properties - if k is not None # getattr(self._delegate, k) is not None - } - - def __getitem__(self, item): - props = self._props() - props.update(**self._data) - return props[item] - - def __iter__(self): - props = self._props() - return itertools.chain(iter(props), iter(self._data)) - - def __len__(self): - props = self._props() - return len(props) + len(self._data) - - def __setitem__(self, key, value): - warn( - "instances of this class -- CRS, geometry, and feature objects -- will become immutable in fiona version 2.0", - FionaDeprecationWarning, - stacklevel=2, - ) - if key in self._delegated_properties: - setattr(self._delegate, key, value) - else: - self._data[key] = value - - def __delitem__(self, key): - warn( - "instances of this class -- CRS, geometry, and feature objects -- will become immutable in fiona version 2.0", - FionaDeprecationWarning, - stacklevel=2, - ) - if key in self._delegated_properties: - setattr(self._delegate, key, None) - else: - del self._data[key] - - def __eq__(self, other): - return dict(**self) == dict(**other) - - -class _Geometry: - def __init__(self, coordinates=None, type=None, geometries=None): - self.coordinates = coordinates - self.type = type - self.geometries = geometries - - -class Geometry(Object): - """A GeoJSON-like geometry - - Notes - ----- - Delegates coordinates and type properties to an instance of - _Geometry, which will become an extension class in Fiona 2.0. - - """ - - _delegated_properties = ["coordinates", "type", "geometries"] - - def __init__(self, coordinates=None, type=None, geometries=None, **data): - self._delegate = _Geometry( - coordinates=coordinates, type=type, geometries=geometries - ) - super().__init__(**data) - - @classmethod - def from_dict(cls, ob=None, **kwargs): - if ob is not None: - data = dict(getattr(ob, "__geo_interface__", ob)) - data.update(kwargs) - else: - data = kwargs - - if "geometries" in data and data["type"] == "GeometryCollection": - _ = data.pop("coordinates", None) - _ = data.pop("type", None) - return Geometry( - type="GeometryCollection", - geometries=[ - Geometry.from_dict(part) for part in data.pop("geometries") - ], - **data - ) - else: - _ = data.pop("geometries", None) - return Geometry( - type=data.pop("type", None), - coordinates=data.pop("coordinates", []), - **data - ) - - @property - def coordinates(self): - """The geometry's coordinates - - Returns - ------- - Sequence - - """ - return self._delegate.coordinates - - @property - def type(self): - """The geometry's type - - Returns - ------- - str - - """ - return self._delegate.type - - @property - def geometries(self): - """A collection's geometries. - - Returns - ------- - list - - """ - return self._delegate.geometries - - @property - def __geo_interface__(self): - return ObjectEncoder().default(self) - - -class _Feature: - def __init__(self, geometry=None, id=None, properties=None): - self.geometry = geometry - self.id = id - self.properties = properties - - -class Feature(Object): - """A GeoJSON-like feature - - Notes - ----- - Delegates geometry and properties to an instance of _Feature, which - will become an extension class in Fiona 2.0. - - """ - - _delegated_properties = ["geometry", "id", "properties"] - - def __init__(self, geometry=None, id=None, properties=None, **data): - if properties is None: - properties = Properties() - self._delegate = _Feature(geometry=geometry, id=id, properties=properties) - super().__init__(**data) - - @classmethod - def from_dict(cls, ob=None, **kwargs): - if ob is not None: - data = dict(getattr(ob, "__geo_interface__", ob)) - data.update(kwargs) - else: - data = kwargs - geom_data = data.pop("geometry", None) - - if isinstance(geom_data, Geometry): - geom = geom_data - else: - geom = Geometry.from_dict(geom_data) if geom_data is not None else None - - props_data = data.pop("properties", None) - - if isinstance(props_data, Properties): - props = props_data - else: - props = Properties(**props_data) if props_data is not None else None - - fid = data.pop("id", None) - return Feature(geometry=geom, id=fid, properties=props, **data) - - def __eq__(self, other): - return ( - self.geometry == other.geometry - and self.id == other.id - and self.properties == other.properties - ) - - @property - def geometry(self): - """The feature's geometry object - - Returns - ------- - Geometry - - """ - return self._delegate.geometry - - @property - def id(self): - """The feature's id - - Returns - ------ - object - - """ - return self._delegate.id - - @property - def properties(self): - """The feature's properties - - Returns - ------- - object - - """ - return self._delegate.properties - - @property - def type(self): - """The Feature's type - - Returns - ------- - str - - """ - return "Feature" - - @property - def __geo_interface__(self): - return ObjectEncoder().default(self) - - -class Properties(Object): - """A GeoJSON-like feature's properties""" - - def __init__(self, **kwds): - super().__init__(**kwds) - - @classmethod - def from_dict(cls, mapping=None, **kwargs): - if mapping: - return Properties(**mapping, **kwargs) - return Properties(**kwargs) - - -class ObjectEncoder(JSONEncoder): - """Encodes Geometry, Feature, and Properties.""" - - def default(self, o): - if isinstance(o, Object): - o_dict = {k: self.default(v) for k, v in o.items()} - if isinstance(o, Geometry): - if o.type == "GeometryCollection": - _ = o_dict.pop("coordinates", None) - else: - _ = o_dict.pop("geometries", None) - elif isinstance(o, Feature): - o_dict["type"] = "Feature" - return o_dict - elif isinstance(o, bytes): - return hexlify(o) - else: - return o - - -def decode_object(obj): - """A json.loads object_hook - - Parameters - ---------- - obj : dict - A decoded dict. - - Returns - ------- - Feature, Geometry, or dict - - """ - if isinstance(obj, Object): - return obj - else: - obj = obj.get("__geo_interface__", obj) - - _type = obj.get("type", None) - if (_type == "Feature") or "geometry" in obj: - return Feature.from_dict(obj) - elif _type in _GEO_TYPES.values(): - return Geometry.from_dict(obj) - else: - return obj - - -def to_dict(val): - """Converts an object to a dict""" - try: - obj = ObjectEncoder().default(val) - except TypeError: - return val - else: - return obj diff --git a/.venv/lib/python3.12/site-packages/fiona/ogrext.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/fiona/ogrext.cpython-312-x86_64-linux-gnu.so deleted file mode 100755 index c1cc907b..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/ogrext.cpython-312-x86_64-linux-gnu.so and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/ogrext1.pxd b/.venv/lib/python3.12/site-packages/fiona/ogrext1.pxd deleted file mode 100644 index b55493b0..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/ogrext1.pxd +++ /dev/null @@ -1,287 +0,0 @@ -# Copyright (c) 2007, Sean C. Gillies -# All rights reserved. -# See ../LICENSE.txt - -from libc.stdio cimport FILE - - -cdef extern from "gdal.h": - ctypedef void * GDALDriverH - ctypedef void * GDALMajorObjectH - - const char* GDALGetMetadataItem(GDALMajorObjectH obj, const char *pszName, const char *pszDomain) - char * GDALVersionInfo (char *pszRequest) - - -cdef extern from "gdal_version.h": - int GDAL_COMPUTE_VERSION(int maj, int min, int rev) - - -cdef extern from "cpl_conv.h": - void * CPLMalloc (size_t) - void CPLFree (void *ptr) - void CPLSetThreadLocalConfigOption (char *key, char *val) - void CPLSetConfigOption (char *key, char *val) - const char *CPLGetConfigOption (char *, char *) - int CPLCheckForFile(char *, char **) - - -cdef extern from "cpl_string.h": - char ** CSLAddNameValue (char **list, char *name, char *value) - char ** CSLSetNameValue (char **list, char *name, char *value) - void CSLDestroy (char **list) - char ** CSLAddString(char **list, const char *string) - int CSLCount(char **papszStrList) - - -cdef extern from "sys/stat.h" nogil: - struct stat: - int st_mode - - -cdef extern from "cpl_vsi.h" nogil: - - ctypedef int vsi_l_offset - ctypedef FILE VSILFILE - ctypedef stat VSIStatBufL - - unsigned char *VSIGetMemFileBuffer(const char *path, - vsi_l_offset *data_len, - int take_ownership) - VSILFILE *VSIFileFromMemBuffer(const char *path, void *data, - vsi_l_offset data_len, int take_ownership) - VSILFILE* VSIFOpenL(const char *path, const char *mode) - int VSIFCloseL(VSILFILE *fp) - int VSIUnlink(const char *path) - int VSIMkdir(const char *path, long mode) - int VSIRmdir(const char *path) - int VSIFFlushL(VSILFILE *fp) - size_t VSIFReadL(void *buffer, size_t nSize, size_t nCount, VSILFILE *fp) - char** VSIReadDir(const char* pszPath) - int VSIFSeekL(VSILFILE *fp, vsi_l_offset nOffset, int nWhence) - vsi_l_offset VSIFTellL(VSILFILE *fp) - int VSIFTruncateL(VSILFILE *fp, vsi_l_offset nNewSize) - size_t VSIFWriteL(void *buffer, size_t nSize, size_t nCount, VSILFILE *fp) - int VSIStatL(const char *pszFilename, VSIStatBufL *psStatBuf) - int VSI_ISDIR(int mode) - - -ctypedef int OGRErr -ctypedef struct OGREnvelope: - double MinX - double MaxX - double MinY - double MaxY - - -cdef extern from "ogr_core.h": - ctypedef enum OGRwkbGeometryType: - wkbUnknown - wkbPoint - wkbLineString - wkbPolygon - wkbMultiPoint - wkbMultiLineString - wkbMultiPolygon - wkbGeometryCollection - wkbCircularString - wkbCompoundCurve - wkbCurvePolygon - wkbMultiCurve - wkbMultiSurface - wkbCurve - wkbSurface - wkbPolyhedralSurface - wkbTIN - wkbTriangle - wkbNone - wkbLinearRing - wkbCircularStringZ - wkbCompoundCurveZ - wkbCurvePolygonZ - wkbMultiCurveZ - wkbMultiSurfaceZ - wkbCurveZ - wkbSurfaceZ - wkbPolyhedralSurfaceZ - wkbTINZ - wkbTriangleZ - wkbPointM - wkbLineStringM - wkbPolygonM - wkbMultiPointM - wkbMultiLineStringM - wkbMultiPolygonM - wkbGeometryCollectionM - wkbCircularStringM - wkbCompoundCurveM - wkbCurvePolygonM - wkbMultiCurveM - wkbMultiSurfaceM - wkbCurveM - wkbSurfaceM - wkbPolyhedralSurfaceM - wkbTINM - wkbTriangleM - wkbPointZM - wkbLineStringZM - wkbPolygonZM - wkbMultiPointZM - wkbMultiLineStringZM - wkbMultiPolygonZM - wkbGeometryCollectionZM - wkbCircularStringZM - wkbCompoundCurveZM - wkbCurvePolygonZM - wkbMultiCurveZM - wkbMultiSurfaceZM - wkbCurveZM - wkbSurfaceZM - wkbPolyhedralSurfaceZM - wkbTINZM - wkbTriangleZM - wkbPoint25D - wkbLineString25D - wkbPolygon25D - wkbMultiPoint25D - wkbMultiLineString25D - wkbMultiPolygon25D - wkbGeometryCollection25D - - ctypedef enum OGRFieldType: - OFTInteger - OFTIntegerList - OFTReal - OFTRealList - OFTString - OFTStringList - OFTWideString - OFTWideStringList - OFTBinary - OFTDate - OFTTime - OFTDateTime - OFTMaxType - - char * OGRGeometryTypeToName(int) - - char * ODsCCreateLayer = "CreateLayer" - char * ODsCDeleteLayer = "DeleteLayer" - -cdef extern from "ogr_srs_api.h": - - ctypedef void * OGRSpatialReferenceH - - void OSRCleanup () - OGRSpatialReferenceH OSRClone (OGRSpatialReferenceH srs) - int OSRFixup (OGRSpatialReferenceH srs) - int OSRExportToProj4 (OGRSpatialReferenceH srs, char **params) - int OSRExportToWkt (OGRSpatialReferenceH srs, char **params) - int OSRImportFromEPSG (OGRSpatialReferenceH, int code) - int OSRImportFromProj4 (OGRSpatialReferenceH srs, const char *proj) - int OSRSetFromUserInput (OGRSpatialReferenceH srs, const char *input) - int OSRAutoIdentifyEPSG (OGRSpatialReferenceH srs) - const char * OSRGetAuthorityName (OGRSpatialReferenceH srs, const char *key) - const char * OSRGetAuthorityCode (OGRSpatialReferenceH srs, const char *key) - OGRSpatialReferenceH OSRNewSpatialReference (char *wkt) - void OSRRelease (OGRSpatialReferenceH srs) - void * OCTNewCoordinateTransformation (OGRSpatialReferenceH source, OGRSpatialReferenceH dest) - void OCTDestroyCoordinateTransformation (void *source) - int OCTTransform (void *ct, int nCount, double *x, double *y, double *z) - -cdef extern from "ogr_api.h": - const char * OGR_Dr_GetName (void *driver) - void * OGR_Dr_CreateDataSource (void *driver, const char *path, char **options) - int OGR_Dr_DeleteDataSource (void *driver, char *) - void * OGR_Dr_Open (void *driver, const char *path, int bupdate) - int OGR_Dr_TestCapability (void *driver, const char *) - int OGR_DS_DeleteLayer (void *datasource, int n) - void * OGR_DS_CreateLayer (void *datasource, char *name, void *crs, int geomType, char **options) - void * OGR_DS_ExecuteSQL (void *datasource, char *name, void *filter, char *dialext) - void OGR_DS_Destroy (void *datasource) - void * OGR_DS_GetDriver (void *layer_defn) - void * OGR_DS_GetLayerByName (void *datasource, char *name) - int OGR_DS_GetLayerCount (void *datasource) - void * OGR_DS_GetLayer (void *datasource, int n) - void OGR_DS_ReleaseResultSet (void *datasource, void *results) - int OGR_DS_SyncToDisk (void *datasource) - int OGR_DS_TestCapability(void *datasource, char *capability) - void * OGR_F_Create (void *featuredefn) - void OGR_F_Destroy (void *feature) - long OGR_F_GetFID (void *feature) - int OGR_F_IsFieldSet (void *feature, int n) - int OGR_F_GetFieldAsDateTime (void *feature, int n, int *y, int *m, int *d, int *h, int *m, int *s, int *z) - double OGR_F_GetFieldAsDouble (void *feature, int n) - int OGR_F_GetFieldAsInteger (void *feature, int n) - char * OGR_F_GetFieldAsString (void *feature, int n) - unsigned char * OGR_F_GetFieldAsBinary(void *feature, int n, int *s) - int OGR_F_GetFieldCount (void *feature) - void * OGR_F_GetFieldDefnRef (void *feature, int n) - int OGR_F_GetFieldIndex (void *feature, char *name) - void * OGR_F_GetGeometryRef (void *feature) - void * OGR_F_StealGeometry (void *feature) - void OGR_F_SetFieldDateTime (void *feature, int n, int y, int m, int d, int hh, int mm, int ss, int tz) - void OGR_F_SetFieldDouble (void *feature, int n, double value) - void OGR_F_SetFieldInteger (void *feature, int n, int value) - void OGR_F_SetFieldString (void *feature, int n, char *value) - void OGR_F_SetFieldBinary (void *feature, int n, int l, unsigned char *value) - int OGR_F_SetGeometryDirectly (void *feature, void *geometry) - void * OGR_FD_Create (char *name) - int OGR_FD_GetFieldCount (void *featuredefn) - void * OGR_FD_GetFieldDefn (void *featuredefn, int n) - int OGR_FD_GetGeomType (void *featuredefn) - char * OGR_FD_GetName (void *featuredefn) - void * OGR_Fld_Create (char *name, OGRFieldType fieldtype) - void OGR_Fld_Destroy (void *fielddefn) - char * OGR_Fld_GetNameRef (void *fielddefn) - int OGR_Fld_GetPrecision (void *fielddefn) - int OGR_Fld_GetType (void *fielddefn) - int OGR_Fld_GetWidth (void *fielddefn) - void OGR_Fld_Set (void *fielddefn, char *name, int fieldtype, int width, int precision, int justification) - void OGR_Fld_SetPrecision (void *fielddefn, int n) - void OGR_Fld_SetWidth (void *fielddefn, int n) - OGRErr OGR_G_AddGeometryDirectly (void *geometry, void *part) - void OGR_G_AddPoint (void *geometry, double x, double y, double z) - void OGR_G_AddPoint_2D (void *geometry, double x, double y) - void OGR_G_CloseRings (void *geometry) - void * OGR_G_CreateGeometry (int wkbtypecode) - void OGR_G_DestroyGeometry (void *geometry) - unsigned char * OGR_G_ExportToJson (void *geometry) - void OGR_G_ExportToWkb (void *geometry, int endianness, char *buffer) - int OGR_G_GetCoordinateDimension (void *geometry) - int OGR_G_GetGeometryCount (void *geometry) - unsigned char * OGR_G_GetGeometryName (void *geometry) - int OGR_G_GetGeometryType (void *geometry) - void * OGR_G_GetGeometryRef (void *geometry, int n) - int OGR_G_GetPointCount (void *geometry) - double OGR_G_GetX (void *geometry, int n) - double OGR_G_GetY (void *geometry, int n) - double OGR_G_GetZ (void *geometry, int n) - OGRErr OGR_G_ImportFromWkb (void *geometry, unsigned char *bytes, int nbytes) - int OGR_G_WkbSize (void *geometry) - void * OGR_G_ForceToMultiPolygon (void *geometry) - void * OGR_G_ForceToPolygon (void *geometry) - void * OGR_G_Clone(void *geometry) - OGRErr OGR_L_CreateFeature (void *layer, void *feature) - OGRErr OGR_L_CreateField (void *layer, void *fielddefn, int flexible) - OGRErr OGR_L_GetExtent (void *layer, void *extent, int force) - void * OGR_L_GetFeature (void *layer, int n) - int OGR_L_GetFeatureCount (void *layer, int m) - void * OGR_L_GetLayerDefn (void *layer) - char * OGR_L_GetName (void *layer) - void * OGR_L_GetNextFeature (void *layer) - void * OGR_L_GetSpatialFilter (void *layer) - void * OGR_L_GetSpatialRef (void *layer) - void OGR_L_ResetReading (void *layer) - void OGR_L_SetSpatialFilter (void *layer, void *geometry) - void OGR_L_SetSpatialFilterRect ( - void *layer, double minx, double miny, double maxx, double maxy - ) - int OGR_L_TestCapability (void *layer, char *name) - void * OGRGetDriverByName (char *) - void * OGROpen (char *path, int mode, void *x) - void * OGROpenShared (char *path, int mode, void *x) - int OGRReleaseDataSource (void *datasource) - OGRErr OGR_L_SetIgnoredFields (void *layer, const char **papszFields) - OGRErr OGR_L_SetAttributeFilter(void *layer, const char*) - OGRErr OGR_L_SetNextByIndex (void *layer, long nIndex) diff --git a/.venv/lib/python3.12/site-packages/fiona/ogrext2.pxd b/.venv/lib/python3.12/site-packages/fiona/ogrext2.pxd deleted file mode 100644 index fe1b20ad..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/ogrext2.pxd +++ /dev/null @@ -1,337 +0,0 @@ -# Copyright (c) 2007, Sean C. Gillies -# All rights reserved. -# See ../LICENSE.txt - -from libc.stdio cimport FILE - - -cdef extern from "ogr_core.h": - - ctypedef int OGRErr - - ctypedef enum OGRwkbGeometryType: - wkbUnknown - wkbPoint - wkbLineString - wkbPolygon - wkbMultiPoint - wkbMultiLineString - wkbMultiPolygon - wkbGeometryCollection - wkbCircularString - wkbCompoundCurve - wkbCurvePolygon - wkbMultiCurve - wkbMultiSurface - wkbCurve - wkbSurface - wkbPolyhedralSurface - wkbTIN - wkbTriangle - wkbNone - wkbLinearRing - wkbCircularStringZ - wkbCompoundCurveZ - wkbCurvePolygonZ - wkbMultiCurveZ - wkbMultiSurfaceZ - wkbCurveZ - wkbSurfaceZ - wkbPolyhedralSurfaceZ - wkbTINZ - wkbTriangleZ - wkbPointM - wkbLineStringM - wkbPolygonM - wkbMultiPointM - wkbMultiLineStringM - wkbMultiPolygonM - wkbGeometryCollectionM - wkbCircularStringM - wkbCompoundCurveM - wkbCurvePolygonM - wkbMultiCurveM - wkbMultiSurfaceM - wkbCurveM - wkbSurfaceM - wkbPolyhedralSurfaceM - wkbTINM - wkbTriangleM - wkbPointZM - wkbLineStringZM - wkbPolygonZM - wkbMultiPointZM - wkbMultiLineStringZM - wkbMultiPolygonZM - wkbGeometryCollectionZM - wkbCircularStringZM - wkbCompoundCurveZM - wkbCurvePolygonZM - wkbMultiCurveZM - wkbMultiSurfaceZM - wkbCurveZM - wkbSurfaceZM - wkbPolyhedralSurfaceZM - wkbTINZM - wkbTriangleZM - wkbPoint25D - wkbLineString25D - wkbPolygon25D - wkbMultiPoint25D - wkbMultiLineString25D - wkbMultiPolygon25D - wkbGeometryCollection25D - - ctypedef enum OGRFieldType: - OFTInteger - OFTIntegerList - OFTReal - OFTRealList - OFTString - OFTStringList - OFTWideString - OFTWideStringList - OFTBinary - OFTDate - OFTTime - OFTDateTime - OFTInteger64 - OFTInteger64List - OFTMaxType - - ctypedef int OGRFieldSubType - cdef int OFSTNone = 0 - cdef int OFSTBoolean = 1 - cdef int OFSTInt16 = 2 - cdef int OFSTFloat32 = 3 - cdef int OFSTMaxSubType = 3 - - ctypedef struct OGREnvelope: - double MinX - double MaxX - double MinY - double MaxY - - char * OGRGeometryTypeToName(int) - - - char * ODsCCreateLayer = "CreateLayer" - char * ODsCDeleteLayer = "DeleteLayer" - char * ODsCTransactions = "Transactions" - - -cdef extern from "gdal.h": - ctypedef void * GDALDriverH - ctypedef void * GDALMajorObjectH - - char * GDALVersionInfo (char *pszRequest) - void * GDALGetDriverByName(const char * pszName) - void * GDALOpenEx(const char * pszFilename, - unsigned int nOpenFlags, - const char *const *papszAllowedDrivers, - const char *const *papszOpenOptions, - const char *const *papszSiblingFiles - ) - int GDAL_OF_UPDATE - int GDAL_OF_READONLY - int GDAL_OF_VECTOR - int GDAL_OF_VERBOSE_ERROR - int GDALDatasetGetLayerCount(void * hds) - void * GDALDatasetGetLayer(void * hDS, int iLayer) - void * GDALDatasetGetLayerByName(void * hDS, char * pszName) - void GDALClose(void * hDS) - void * GDALCreate(void * hDriver, - const char * pszFilename, - int nXSize, - int nYSize, - int nBands, - GDALDataType eBandType, - char ** papszOptions) - void * GDALDatasetCreateLayer(void * hDS, - const char * pszName, - void * hSpatialRef, - int eType, - char ** papszOptions) - int GDALDatasetDeleteLayer(void * hDS, int iLayer) - void GDALFlushCache(void * hDS) - char * GDALGetDriverShortName(void * hDriver) - char * GDALGetDatasetDriver (void * hDataset) - int GDALDeleteDataset(void * hDriver, const char * pszFilename) - OGRErr GDALDatasetStartTransaction (void * hDataset, int bForce) - OGRErr GDALDatasetCommitTransaction (void * hDataset) - OGRErr GDALDatasetRollbackTransaction (void * hDataset) - int GDALDatasetTestCapability (void * hDataset, char *) - const char* GDALGetMetadataItem(GDALMajorObjectH obj, const char *pszName, const char *pszDomain) - - ctypedef enum GDALDataType: - GDT_Unknown - GDT_Byte - GDT_UInt16 - GDT_Int16 - GDT_UInt32 - GDT_Int32 - GDT_Float32 - GDT_Float64 - GDT_CInt16 - GDT_CInt32 - GDT_CFloat32 - GDT_CFloat64 - GDT_TypeCount - -cdef extern from "gdal_version.h": - int GDAL_COMPUTE_VERSION(int maj, int min, int rev) - -cdef extern from "cpl_conv.h": - void * CPLMalloc (size_t) - void CPLFree (void *ptr) - void CPLSetThreadLocalConfigOption (char *key, char *val) - const char *CPLGetConfigOption (char *, char *) - int CPLCheckForFile(char *, char **) - - -cdef extern from "cpl_string.h": - char ** CSLAddNameValue (char **list, const char *name, const char *value) - char ** CSLSetNameValue (char **list, const char *name, const char *value) - void CSLDestroy (char **list) - char ** CSLAddString(char **list, const char *string) - int CSLCount(char **papszStrList) - - -cdef extern from "sys/stat.h" nogil: - struct stat: - int st_mode - - -cdef extern from "cpl_vsi.h" nogil: - - ctypedef int vsi_l_offset - ctypedef FILE VSILFILE - ctypedef stat VSIStatBufL - - unsigned char *VSIGetMemFileBuffer(const char *path, - vsi_l_offset *data_len, - int take_ownership) - VSILFILE *VSIFileFromMemBuffer(const char *path, void *data, - vsi_l_offset data_len, int take_ownership) - VSILFILE* VSIFOpenL(const char *path, const char *mode) - int VSIFCloseL(VSILFILE *fp) - int VSIUnlink(const char *path) - int VSIMkdir(const char *path, long mode) - int VSIRmdir(const char *path) - int VSIFFlushL(VSILFILE *fp) - size_t VSIFReadL(void *buffer, size_t nSize, size_t nCount, VSILFILE *fp) - char** VSIReadDir(const char* pszPath) - int VSIFSeekL(VSILFILE *fp, vsi_l_offset nOffset, int nWhence) - vsi_l_offset VSIFTellL(VSILFILE *fp) - int VSIFTruncateL(VSILFILE *fp, vsi_l_offset nNewSize) - size_t VSIFWriteL(void *buffer, size_t nSize, size_t nCount, VSILFILE *fp) - int VSIStatL(const char *pszFilename, VSIStatBufL *psStatBuf) - int VSI_ISDIR(int mode) - - -cdef extern from "ogr_srs_api.h": - - ctypedef void * OGRSpatialReferenceH - - void OSRCleanup () - OGRSpatialReferenceH OSRClone (OGRSpatialReferenceH srs) - int OSRFixup (OGRSpatialReferenceH srs) - int OSRExportToProj4 (OGRSpatialReferenceH srs, char **params) - int OSRExportToWkt (OGRSpatialReferenceH srs, char **params) - int OSRImportFromEPSG (OGRSpatialReferenceH, int code) - int OSRImportFromProj4 (OGRSpatialReferenceH srs, const char *proj) - int OSRSetFromUserInput (OGRSpatialReferenceH srs, const char *input) - int OSRAutoIdentifyEPSG (OGRSpatialReferenceH srs) - const char * OSRGetAuthorityName (OGRSpatialReferenceH srs, const char *key) - const char * OSRGetAuthorityCode (OGRSpatialReferenceH srs, const char *key) - OGRSpatialReferenceH OSRNewSpatialReference (char *wkt) - void OSRRelease (OGRSpatialReferenceH srs) - void * OCTNewCoordinateTransformation (OGRSpatialReferenceH source, OGRSpatialReferenceH dest) - void OCTDestroyCoordinateTransformation (void *source) - int OCTTransform (void *ct, int nCount, double *x, double *y, double *z) - -cdef extern from "ogr_api.h": - - const char * OGR_Dr_GetName (void *driver) - int OGR_Dr_TestCapability (void *driver, const char *) - void * OGR_F_Create (void *featuredefn) - void OGR_F_Destroy (void *feature) - long OGR_F_GetFID (void *feature) - int OGR_F_IsFieldSet (void *feature, int n) - int OGR_F_GetFieldAsDateTimeEx (void *feature, int n, int *y, int *m, int *d, int *h, int *m, float *s, int *z) - double OGR_F_GetFieldAsDouble (void *feature, int n) - int OGR_F_GetFieldAsInteger (void *feature, int n) - char * OGR_F_GetFieldAsString (void *feature, int n) - unsigned char * OGR_F_GetFieldAsBinary(void *feature, int n, int *s) - int OGR_F_GetFieldCount (void *feature) - void * OGR_F_GetFieldDefnRef (void *feature, int n) - int OGR_F_GetFieldIndex (void *feature, char *name) - void * OGR_F_GetGeometryRef (void *feature) - void * OGR_F_StealGeometry (void *feature) - void OGR_F_SetFieldDateTimeEx (void *feature, int n, int y, int m, int d, int hh, int mm, float ss, int tz) - void OGR_F_SetFieldDouble (void *feature, int n, double value) - void OGR_F_SetFieldInteger (void *feature, int n, int value) - void OGR_F_SetFieldString (void *feature, int n, char *value) - void OGR_F_SetFieldBinary (void *feature, int n, int l, unsigned char *value) - void OGR_F_SetFieldNull (void *feature, int n) # new in GDAL 2.2 - int OGR_F_SetGeometryDirectly (void *feature, void *geometry) - void * OGR_FD_Create (char *name) - int OGR_FD_GetFieldCount (void *featuredefn) - void * OGR_FD_GetFieldDefn (void *featuredefn, int n) - int OGR_FD_GetGeomType (void *featuredefn) - char * OGR_FD_GetName (void *featuredefn) - void * OGR_Fld_Create (char *name, OGRFieldType fieldtype) - void OGR_Fld_Destroy (void *fielddefn) - char * OGR_Fld_GetNameRef (void *fielddefn) - int OGR_Fld_GetPrecision (void *fielddefn) - int OGR_Fld_GetType (void *fielddefn) - int OGR_Fld_GetWidth (void *fielddefn) - void OGR_Fld_Set (void *fielddefn, char *name, int fieldtype, int width, int precision, int justification) - void OGR_Fld_SetPrecision (void *fielddefn, int n) - void OGR_Fld_SetWidth (void *fielddefn, int n) - OGRFieldSubType OGR_Fld_GetSubType(void *fielddefn) - void OGR_Fld_SetSubType(void *fielddefn, OGRFieldSubType subtype) - OGRErr OGR_G_AddGeometryDirectly (void *geometry, void *part) - void OGR_G_AddPoint (void *geometry, double x, double y, double z) - void OGR_G_AddPoint_2D (void *geometry, double x, double y) - void OGR_G_CloseRings (void *geometry) - void * OGR_G_CreateGeometry (int wkbtypecode) - void OGR_G_DestroyGeometry (void *geometry) - unsigned char * OGR_G_ExportToJson (void *geometry) - OGRErr OGR_G_ExportToWkb (void *geometry, int endianness, char *buffer) - int OGR_G_GetCoordinateDimension (void *geometry) - int OGR_G_GetGeometryCount (void *geometry) - unsigned char * OGR_G_GetGeometryName (void *geometry) - int OGR_G_GetGeometryType (void *geometry) - void * OGR_G_GetGeometryRef (void *geometry, int n) - int OGR_G_GetPointCount (void *geometry) - double OGR_G_GetX (void *geometry, int n) - double OGR_G_GetY (void *geometry, int n) - double OGR_G_GetZ (void *geometry, int n) - OGRErr OGR_G_ImportFromWkb (void *geometry, unsigned char *bytes, int nbytes) - int OGR_G_WkbSize (void *geometry) - void * OGR_G_ForceToMultiPolygon (void *geometry) - void * OGR_G_ForceToPolygon (void *geometry) - void * OGR_G_Clone(void *geometry) - OGRErr OGR_L_CreateFeature (void *layer, void *feature) - OGRErr OGR_L_CreateField (void *layer, void *fielddefn, int flexible) - OGRErr OGR_L_GetExtent (void *layer, void *extent, int force) - void * OGR_L_GetFeature (void *layer, int n) - int OGR_L_GetFeatureCount (void *layer, int m) - void * OGR_G_GetLinearGeometry (void *hGeom, double dfMaxAngleStepSizeDegrees, char **papszOptions) - void * OGR_L_GetLayerDefn (void *layer) - char * OGR_L_GetName (void *layer) - void * OGR_L_GetNextFeature (void *layer) - void * OGR_L_GetSpatialFilter (void *layer) - void * OGR_L_GetSpatialRef (void *layer) - void OGR_L_ResetReading (void *layer) - void OGR_L_SetSpatialFilter (void *layer, void *geometry) - void OGR_L_SetSpatialFilterRect ( - void *layer, double minx, double miny, double maxx, double maxy - ) - int OGR_L_TestCapability (void *layer, char *name) - OGRErr OGR_L_SetIgnoredFields (void *layer, const char **papszFields) - OGRErr OGR_L_SetAttributeFilter(void *layer, const char*) - OGRErr OGR_L_SetNextByIndex (void *layer, long nIndex) - long long OGR_F_GetFieldAsInteger64 (void *feature, int n) - void OGR_F_SetFieldInteger64 (void *feature, int n, long long value) diff --git a/.venv/lib/python3.12/site-packages/fiona/ogrext3.pxd b/.venv/lib/python3.12/site-packages/fiona/ogrext3.pxd deleted file mode 100644 index 2a445eb6..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/ogrext3.pxd +++ /dev/null @@ -1,339 +0,0 @@ -# Copyright (c) 2007, Sean C. Gillies -# All rights reserved. -# See ../LICENSE.txt - -from libc.stdio cimport FILE - - -cdef extern from "ogr_core.h": - - ctypedef int OGRErr - - ctypedef enum OGRwkbGeometryType: - wkbUnknown - wkbPoint - wkbLineString - wkbPolygon - wkbMultiPoint - wkbMultiLineString - wkbMultiPolygon - wkbGeometryCollection - wkbCircularString - wkbCompoundCurve - wkbCurvePolygon - wkbMultiCurve - wkbMultiSurface - wkbCurve - wkbSurface - wkbPolyhedralSurface - wkbTIN - wkbTriangle - wkbNone - wkbLinearRing - wkbCircularStringZ - wkbCompoundCurveZ - wkbCurvePolygonZ - wkbMultiCurveZ - wkbMultiSurfaceZ - wkbCurveZ - wkbSurfaceZ - wkbPolyhedralSurfaceZ - wkbTINZ - wkbTriangleZ - wkbPointM - wkbLineStringM - wkbPolygonM - wkbMultiPointM - wkbMultiLineStringM - wkbMultiPolygonM - wkbGeometryCollectionM - wkbCircularStringM - wkbCompoundCurveM - wkbCurvePolygonM - wkbMultiCurveM - wkbMultiSurfaceM - wkbCurveM - wkbSurfaceM - wkbPolyhedralSurfaceM - wkbTINM - wkbTriangleM - wkbPointZM - wkbLineStringZM - wkbPolygonZM - wkbMultiPointZM - wkbMultiLineStringZM - wkbMultiPolygonZM - wkbGeometryCollectionZM - wkbCircularStringZM - wkbCompoundCurveZM - wkbCurvePolygonZM - wkbMultiCurveZM - wkbMultiSurfaceZM - wkbCurveZM - wkbSurfaceZM - wkbPolyhedralSurfaceZM - wkbTINZM - wkbTriangleZM - wkbPoint25D - wkbLineString25D - wkbPolygon25D - wkbMultiPoint25D - wkbMultiLineString25D - wkbMultiPolygon25D - wkbGeometryCollection25D - - ctypedef enum OGRFieldType: - OFTInteger - OFTIntegerList - OFTReal - OFTRealList - OFTString - OFTStringList - OFTWideString - OFTWideStringList - OFTBinary - OFTDate - OFTTime - OFTDateTime - OFTInteger64 - OFTInteger64List - OFTMaxType - - ctypedef int OGRFieldSubType - cdef int OFSTNone = 0 - cdef int OFSTBoolean = 1 - cdef int OFSTInt16 = 2 - cdef int OFSTFloat32 = 3 - cdef int OFSTMaxSubType = 3 - - ctypedef struct OGREnvelope: - double MinX - double MaxX - double MinY - double MaxY - - char * OGRGeometryTypeToName(int) - - - char * ODsCCreateLayer = "CreateLayer" - char * ODsCDeleteLayer = "DeleteLayer" - char * ODsCTransactions = "Transactions" - - -cdef extern from "gdal.h": - ctypedef void * GDALDriverH - ctypedef void * GDALMajorObjectH - - char * GDALVersionInfo (char *pszRequest) - void * GDALGetDriverByName(const char * pszName) - void * GDALOpenEx(const char * pszFilename, - unsigned int nOpenFlags, - const char *const *papszAllowedDrivers, - const char *const *papszOpenOptions, - const char *const *papszSiblingFiles - ) - int GDAL_OF_UPDATE - int GDAL_OF_READONLY - int GDAL_OF_VECTOR - int GDAL_OF_VERBOSE_ERROR - int GDALDatasetGetLayerCount(void * hds) - void * GDALDatasetGetLayer(void * hDS, int iLayer) - void * GDALDatasetGetLayerByName(void * hDS, char * pszName) - void GDALClose(void * hDS) - void * GDALCreate(void * hDriver, - const char * pszFilename, - int nXSize, - int nYSize, - int nBands, - GDALDataType eBandType, - char ** papszOptions) - void * GDALDatasetCreateLayer(void * hDS, - const char * pszName, - void * hSpatialRef, - int eType, - char ** papszOptions) - int GDALDatasetDeleteLayer(void * hDS, int iLayer) - void GDALFlushCache(void * hDS) - char * GDALGetDriverShortName(void * hDriver) - char * GDALGetDatasetDriver (void * hDataset) - int GDALDeleteDataset(void * hDriver, const char * pszFilename) - OGRErr GDALDatasetStartTransaction (void * hDataset, int bForce) - OGRErr GDALDatasetCommitTransaction (void * hDataset) - OGRErr GDALDatasetRollbackTransaction (void * hDataset) - int GDALDatasetTestCapability (void * hDataset, char *) - const char* GDALGetMetadataItem(GDALMajorObjectH obj, const char *pszName, const char *pszDomain) - - ctypedef enum GDALDataType: - GDT_Unknown - GDT_Byte - GDT_UInt16 - GDT_Int16 - GDT_UInt32 - GDT_Int32 - GDT_Float32 - GDT_Float64 - GDT_CInt16 - GDT_CInt32 - GDT_CFloat32 - GDT_CFloat64 - GDT_TypeCount - - -cdef extern from "gdal_version.h": - int GDAL_COMPUTE_VERSION(int maj, int min, int rev) - - -cdef extern from "cpl_conv.h": - void * CPLMalloc (size_t) - void CPLFree (void *ptr) - void CPLSetThreadLocalConfigOption (char *key, char *val) - const char *CPLGetConfigOption (char *, char *) - int CPLCheckForFile(char *, char **) - - -cdef extern from "cpl_string.h": - char ** CSLAddNameValue (char **list, const char *name, const char *value) - char ** CSLSetNameValue (char **list, const char *name, const char *value) - void CSLDestroy (char **list) - char ** CSLAddString(char **list, const char *string) - int CSLCount(char **papszStrList) - - -cdef extern from "sys/stat.h" nogil: - struct stat: - int st_mode - - -cdef extern from "cpl_vsi.h" nogil: - - ctypedef int vsi_l_offset - ctypedef FILE VSILFILE - ctypedef stat VSIStatBufL - - unsigned char *VSIGetMemFileBuffer(const char *path, - vsi_l_offset *data_len, - int take_ownership) - VSILFILE *VSIFileFromMemBuffer(const char *path, void *data, - vsi_l_offset data_len, int take_ownership) - VSILFILE* VSIFOpenL(const char *path, const char *mode) - int VSIFCloseL(VSILFILE *fp) - int VSIUnlink(const char *path) - int VSIMkdir(const char *path, long mode) - int VSIRmdir(const char *path) - int VSIFFlushL(VSILFILE *fp) - size_t VSIFReadL(void *buffer, size_t nSize, size_t nCount, VSILFILE *fp) - char** VSIReadDir(const char* pszPath) - int VSIFSeekL(VSILFILE *fp, vsi_l_offset nOffset, int nWhence) - vsi_l_offset VSIFTellL(VSILFILE *fp) - int VSIFTruncateL(VSILFILE *fp, vsi_l_offset nNewSize) - size_t VSIFWriteL(void *buffer, size_t nSize, size_t nCount, VSILFILE *fp) - int VSIStatL(const char *pszFilename, VSIStatBufL *psStatBuf) - int VSI_ISDIR(int mode) - - -cdef extern from "ogr_srs_api.h": - - ctypedef void * OGRSpatialReferenceH - - void OSRCleanup () - OGRSpatialReferenceH OSRClone (OGRSpatialReferenceH srs) - int OSRExportToProj4 (OGRSpatialReferenceH srs, char **params) - int OSRExportToWkt (OGRSpatialReferenceH srs, char **params) - int OSRImportFromEPSG (OGRSpatialReferenceH, int code) - int OSRImportFromProj4 (OGRSpatialReferenceH srs, const char *proj) - int OSRSetFromUserInput (OGRSpatialReferenceH srs, const char *input) - int OSRAutoIdentifyEPSG (OGRSpatialReferenceH srs) - const char * OSRGetAuthorityName (OGRSpatialReferenceH srs, const char *key) - const char * OSRGetAuthorityCode (OGRSpatialReferenceH srs, const char *key) - OGRSpatialReferenceH OSRNewSpatialReference (char *wkt) - void OSRRelease (OGRSpatialReferenceH srs) - void * OCTNewCoordinateTransformation (OGRSpatialReferenceH source, OGRSpatialReferenceH dest) - void OCTDestroyCoordinateTransformation (void *source) - int OCTTransform (void *ct, int nCount, double *x, double *y, double *z) - void OSRGetPROJVersion (int *pnMajor, int *pnMinor, int *pnPatch) - - -cdef extern from "ogr_api.h": - - const char * OGR_Dr_GetName (void *driver) - int OGR_Dr_TestCapability (void *driver, const char *) - void * OGR_F_Create (void *featuredefn) - void OGR_F_Destroy (void *feature) - long OGR_F_GetFID (void *feature) - int OGR_F_IsFieldSet (void *feature, int n) - int OGR_F_GetFieldAsDateTimeEx (void *feature, int n, int *y, int *m, int *d, int *h, int *m, float *s, int *z) - double OGR_F_GetFieldAsDouble (void *feature, int n) - int OGR_F_GetFieldAsInteger (void *feature, int n) - char * OGR_F_GetFieldAsString (void *feature, int n) - unsigned char * OGR_F_GetFieldAsBinary(void *feature, int n, int *s) - int OGR_F_GetFieldCount (void *feature) - void * OGR_F_GetFieldDefnRef (void *feature, int n) - int OGR_F_GetFieldIndex (void *feature, char *name) - void * OGR_F_GetGeometryRef (void *feature) - void * OGR_F_StealGeometry (void *feature) - void OGR_F_SetFieldDateTimeEx (void *feature, int n, int y, int m, int d, int hh, int mm, float ss, int tz) - void OGR_F_SetFieldDouble (void *feature, int n, double value) - void OGR_F_SetFieldInteger (void *feature, int n, int value) - void OGR_F_SetFieldString (void *feature, int n, char *value) - void OGR_F_SetFieldBinary (void *feature, int n, int l, unsigned char *value) - void OGR_F_SetFieldNull (void *feature, int n) # new in GDAL 2.2 - int OGR_F_SetGeometryDirectly (void *feature, void *geometry) - void * OGR_FD_Create (char *name) - int OGR_FD_GetFieldCount (void *featuredefn) - void * OGR_FD_GetFieldDefn (void *featuredefn, int n) - int OGR_FD_GetGeomType (void *featuredefn) - char * OGR_FD_GetName (void *featuredefn) - void * OGR_Fld_Create (char *name, OGRFieldType fieldtype) - void OGR_Fld_Destroy (void *fielddefn) - char * OGR_Fld_GetNameRef (void *fielddefn) - int OGR_Fld_GetPrecision (void *fielddefn) - int OGR_Fld_GetType (void *fielddefn) - int OGR_Fld_GetWidth (void *fielddefn) - void OGR_Fld_Set (void *fielddefn, char *name, int fieldtype, int width, int precision, int justification) - void OGR_Fld_SetPrecision (void *fielddefn, int n) - void OGR_Fld_SetWidth (void *fielddefn, int n) - OGRFieldSubType OGR_Fld_GetSubType(void *fielddefn) - void OGR_Fld_SetSubType(void *fielddefn, OGRFieldSubType subtype) - OGRErr OGR_G_AddGeometryDirectly (void *geometry, void *part) - void OGR_G_AddPoint (void *geometry, double x, double y, double z) - void OGR_G_AddPoint_2D (void *geometry, double x, double y) - void OGR_G_CloseRings (void *geometry) - void * OGR_G_CreateGeometry (int wkbtypecode) - void OGR_G_DestroyGeometry (void *geometry) - unsigned char * OGR_G_ExportToJson (void *geometry) - OGRErr OGR_G_ExportToWkb (void *geometry, int endianness, char *buffer) - int OGR_G_GetGeometryCount (void *geometry) - unsigned char * OGR_G_GetGeometryName (void *geometry) - int OGR_G_GetGeometryType (void *geometry) - void * OGR_G_GetGeometryRef (void *geometry, int n) - int OGR_G_GetPointCount (void *geometry) - double OGR_G_GetX (void *geometry, int n) - double OGR_G_GetY (void *geometry, int n) - double OGR_G_GetZ (void *geometry, int n) - OGRErr OGR_G_ImportFromWkb (void *geometry, unsigned char *bytes, int nbytes) - int OGR_G_WkbSize (void *geometry) - void * OGR_G_ForceToMultiPolygon (void *geometry) - void * OGR_G_ForceToPolygon (void *geometry) - void * OGR_G_Clone(void *geometry) - OGRErr OGR_L_CreateFeature (void *layer, void *feature) - OGRErr OGR_L_CreateField (void *layer, void *fielddefn, int flexible) - OGRErr OGR_L_GetExtent (void *layer, void *extent, int force) - void * OGR_L_GetFeature (void *layer, int n) - int OGR_L_GetFeatureCount (void *layer, int m) - void * OGR_G_GetLinearGeometry (void *hGeom, double dfMaxAngleStepSizeDegrees, char **papszOptions) - void * OGR_L_GetLayerDefn (void *layer) - char * OGR_L_GetName (void *layer) - void * OGR_L_GetNextFeature (void *layer) - void * OGR_L_GetSpatialFilter (void *layer) - void * OGR_L_GetSpatialRef (void *layer) - void OGR_L_ResetReading (void *layer) - void OGR_L_SetSpatialFilter (void *layer, void *geometry) - void OGR_L_SetSpatialFilterRect ( - void *layer, double minx, double miny, double maxx, double maxy - ) - int OGR_L_TestCapability (void *layer, char *name) - OGRErr OGR_L_SetIgnoredFields (void *layer, const char **papszFields) - OGRErr OGR_L_SetAttributeFilter(void *layer, const char*) - OGRErr OGR_L_SetNextByIndex (void *layer, long nIndex) - long long OGR_F_GetFieldAsInteger64 (void *feature, int n) - void OGR_F_SetFieldInteger64 (void *feature, int n, long long value) diff --git a/.venv/lib/python3.12/site-packages/fiona/path.py b/.venv/lib/python3.12/site-packages/fiona/path.py deleted file mode 100644 index 09c05435..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/path.py +++ /dev/null @@ -1,192 +0,0 @@ -"""Dataset paths, identifiers, and filenames""" - -import re -import sys - -import attr - -from urllib.parse import urlparse - -# Supported URI schemes and their mapping to GDAL's VSI suffix. -# TODO: extend for other cloud plaforms. -SCHEMES = { - "ftp": "curl", - "gzip": "gzip", - "http": "curl", - "https": "curl", - "s3": "s3", - "tar": "tar", - "zip": "zip", - "file": "file", - "gs": "gs", - "oss": "oss", - "az": "az", -} - -CURLSCHEMES = {k for k, v in SCHEMES.items() if v == 'curl'} - -# TODO: extend for other cloud plaforms. -REMOTESCHEMES = { - k for k, v in SCHEMES.items() if v in ("curl", "s3", "gs", "oss", "az") -} - - -class Path: - """Base class for dataset paths""" - - -@attr.s(slots=True) -class ParsedPath(Path): - """Result of parsing a dataset URI/Path - - Attributes - ---------- - path : str - Parsed path. Includes the hostname and query string in the case - of a URI. - archive : str - Parsed archive path. - scheme : str - URI scheme such as "https" or "zip+s3". - """ - path = attr.ib() - archive = attr.ib() - scheme = attr.ib() - - @classmethod - def from_uri(cls, uri): - parts = urlparse(uri) - path = parts.path - scheme = parts.scheme or None - - if parts.query: - path += "?" + parts.query - - if parts.scheme and parts.netloc: - path = parts.netloc + path - - parts = path.split('!') - path = parts.pop() if parts else None - archive = parts.pop() if parts else None - return ParsedPath(path, archive, scheme) - - @property - def name(self): - """The parsed path's original URI""" - if not self.scheme: - return self.path - elif self.archive: - return f"{self.scheme}://{self.archive}!{self.path}" - else: - return f"{self.scheme}://{self.path}" - - @property - def is_remote(self): - """Test if the path is a remote, network URI""" - return self.scheme and self.scheme.split('+')[-1] in REMOTESCHEMES - - @property - def is_local(self): - """Test if the path is a local URI""" - return not self.scheme or (self.scheme and self.scheme.split('+')[-1] not in REMOTESCHEMES) - - -@attr.s(slots=True) -class UnparsedPath(Path): - """Encapsulates legacy GDAL filenames - - Attributes - ---------- - path : str - The legacy GDAL filename. - """ - path = attr.ib() - - @property - def name(self): - """The unparsed path's original path""" - return self.path - - -def parse_path(path): - """Parse a dataset's identifier or path into its parts - - Parameters - ---------- - path : str or path-like object - The path to be parsed. - - Returns - ------- - ParsedPath or UnparsedPath - - Notes - ----- - When legacy GDAL filenames are encountered, they will be returned - in a UnparsedPath. - """ - if isinstance(path, Path): - return path - - # Windows drive letters (e.g. "C:\") confuse `urlparse` as they look like - # URL schemes - elif sys.platform == "win32" and re.match("^[a-zA-Z]\\:", path): - return UnparsedPath(path) - - elif path.startswith('/vsi'): - return UnparsedPath(path) - - elif re.match("^[a-z0-9\\+]*://", path): - parts = urlparse(path) - - # if the scheme is not one of Rasterio's supported schemes, we - # return an UnparsedPath. - if parts.scheme and not all(p in SCHEMES for p in parts.scheme.split('+')): - return UnparsedPath(path) - - else: - return ParsedPath.from_uri(path) - - else: - return UnparsedPath(path) - - -def vsi_path(path): - """Convert a parsed path to a GDAL VSI path - - Parameters - ---------- - path : Path - A ParsedPath or UnparsedPath object. - - Returns - ------- - str - """ - if isinstance(path, UnparsedPath): - return path.path - - elif isinstance(path, ParsedPath): - - if not path.scheme: - return path.path - - else: - if path.scheme.split('+')[-1] in CURLSCHEMES: - suffix = '{}://'.format(path.scheme.split('+')[-1]) - else: - suffix = '' - - prefix = '/'.join(f'vsi{SCHEMES[p]}' for p in path.scheme.split('+') if p != 'file') - - if prefix: - if path.archive: - result = '/{}/{}{}/{}'.format(prefix, suffix, path.archive, path.path.lstrip('/')) - else: - result = f'/{prefix}/{suffix}{path.path}' - else: - result = path.path - return result - - else: - raise ValueError("path must be a ParsedPath or UnparsedPath object") diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/CH b/.venv/lib/python3.12/site-packages/fiona/proj_data/CH deleted file mode 100644 index 794d5b94..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/CH +++ /dev/null @@ -1,23 +0,0 @@ -# This init file provides definitions for CH1903 and CH1903/LV03 -# projections using the distortion grids developed by Swisstopo. -# See: https://shop.swisstopo.admin.ch/en/products/geo_software/GIS_info -# -# You'll need to download the grids separately and put in a directory -# scanned by libproj. Directories may be added to the scan list through -# the PROJ_LIB environment variable -# -# Note that an independent effort was made to derive an usable grid -# from the CH1903->CH1903+ grid initially available from the Swisstopo -# website. You can read about this other effort here: -# http://lists.maptools.org/pipermail/proj/2012-February/006093.html -# It may be of interest because the latter was by some reported as being -# more accurate than the former: -# http://lists.maptools.org/pipermail/proj/2012-February/006119.html -# -# This init file uses the official one -# - +origin=Swisstopo +lastupdate=2012-02-27 -# CH1903/LV03 -<1903_LV03> +proj=somerc +lat_0=46.95240555555556 +lon_0=7.439583333333333 +k_0=1 +x_0=600000 +y_0=200000 +ellps=bessel +units=m +nadgrids=CHENyx06_ETRS.gsb +no_defs -# CH1903 -<1903> +proj=longlat +ellps=bessel +nadgrids=CHENyx06_ETRS.gsb +no_defs <> diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/GL27 b/.venv/lib/python3.12/site-packages/fiona/proj_data/GL27 deleted file mode 100644 index 73fa9754..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/GL27 +++ /dev/null @@ -1,23 +0,0 @@ -# SCCSID @(#)GL27 1.1 93/08/25 GIE REL -# Great Lakes Grids - +lastupdate=1993-08-25 - # Lake Erie, Ontario and St. Lawrence River. - proj=omerc ellps=clrk66 k_0=0.9999 - lonc=78d00'W lat_0=44d00'N alpha=55d40' - x_0=-3950000 y_0=-3430000 - no_defs <> - # Lake Huron - proj=omerc ellps=clrk66 k_0=0.9999 - lonc=82d00'W lat_0=43d00'N alpha=350d37' - x_0=1200000 y_0=-3500000 - no_defs <> - # Lake Michigan - proj=omerc ellps=clrk66 k_0=0.9999 - lonc=87d00'W lat_0=44d00'N alpha=15d00' - x_0=-1000000 y_0=-4300000 - no_defs <> - # Lake Superior, Lake of the Woods - proj=omerc ellps=clrk66 k_0=0.9999 - lonc=88d50'0.256"W lat_0=47d12'21.554"N alpha=285d41'42.593" - x_0=9000000 y_0=-1600000 - no_defs <> diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/ITRF2000 b/.venv/lib/python3.12/site-packages/fiona/proj_data/ITRF2000 deleted file mode 100644 index 439d1970..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/ITRF2000 +++ /dev/null @@ -1,24 +0,0 @@ -# ITRF2000 params are in cm/year, PJ_helmert uses m/year - +version=1.0.0 +origin=ftp://itrf.ensg.ign.fr/pub/itrf/ITRF.TP +lastupdate=2017-07-25 - -# ITRF2000 -> ITRF2005 is only defined the opposite way, so we flip the sign on all -# parameters to get the opposite transformation. Parameters from http://itrf.ign.fr/ITRF_solutions/2005/tp_05-00.php - +proj=helmert +x=-0.0001 +y=0.0008 +z=0.0058 +s=-0.0004 +dx=0.0002 +dy=-0.0001 +dz=0.0018 +ds=-0.00008 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=0.0067 +y=0.0061 +z=-0.0185 +s=0.00155 +dy=-0.0006 +dz=-0.0014 +ds=0.00001 +drz=0.00002 +t_epoch=1997.0 +convention=position_vector - - +proj=helmert +x=0.0067 +y=0.0061 +z=-0.0185 +s=0.00155 +dy=-0.0006 +dz=-0.0014 +ds=0.00001 +drz=0.00002 +t_epoch=1997.0 +convention=position_vector - - +proj=helmert +x=0.0067 +y=0.0061 +z=-0.0185 +s=0.00155 +dy=-0.0006 +dz=-0.0014 +ds=0.00001 +drz=0.00002 +t_epoch=1997.0 +convention=position_vector - - +proj=helmert +x=0.0127 +y=0.0065 +z=-0.0209 +s=0.00195 +rx=-0.00039 +ry=0.00080 +rz=-0.00114 +dx=-0.0029 +dy=-0.0002 +dz=-0.0006 +ds=0.00001 +drx=-0.00011 +dry=-0.00019 +drz=0.00007 +t_epoch=1988.0 +convention=position_vector - - +proj=helmert +x=0.0147 +y=0.0135 +z=-0.0139 +s=0.00075 +rz=-0.00018 +dy=-0.0006 +dz=-0.0014 +ds=0.00001 +drz=0.00002 +t_epoch=1988.0 +convention=position_vector - - +proj=helmert +x=0.0267 +y=0.0275 +z=-0.0199 +s=0.00215 +rz=-0.00018 +dy=-0.0006 +dz=-0.0014 +ds=0.00001 +drz=0.00002 +t_epoch=1988.0 +convention=position_vector - - +proj=helmert +x=0.0247 +y=0.0235 +z=-0.0359 +s=0.00245 +rz=-0.00018 +dy=-0.0006 +dz=-0.0014 +ds=0.00001 +drz=0.00002 +t_epoch=1988.0 +convention=position_vector - - +proj=helmert +x=0.0297 +y=0.0475 +z=-0.0739 +s=0.00585 +rz=-0.00018 +dy=-0.0006 +dz=-0.0014 +ds=0.00001 +drz=0.00002 +t_epoch=1988.0 +convention=position_vector - - +proj=helmert +x=0.0247 +y=0.0115 +z=-0.0979 +s=0.00895 +rx=0.0001 +rz=-0.00018 +dy=-0.0006 +dz=-0.0014 +ds=0.00001 +drz=0.00002 +t_epoch=1988.0 +convention=position_vector diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/ITRF2008 b/.venv/lib/python3.12/site-packages/fiona/proj_data/ITRF2008 deleted file mode 100644 index bcb8561d..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/ITRF2008 +++ /dev/null @@ -1,94 +0,0 @@ -# ITRF2008 params are in mm/year, PJ_helmert uses m/year - +version=1.0.0 +origin=http://itrf.ign.fr/doc_ITRF/Transfo-ITRF2008_ITRFs.txt +lastupdate=2017-07-26 - - +proj=helmert +x=-0.002 +y=-0.0009 +z=-0.0047 +s=0.00094 +dx=0.0003 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=-0.0019 +y=-0.0017 +z=-0.0105 +s=0.00134 +dx=0.0001 +dy=0.0001 +dz=-0.0018 +ds=0.00008 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=0.0048 +y=0.0026 +z=-0.0332 +s=0.00292 +rz=0.00006 +dx=0.0001 +dy=-0.0005 +dz=-0.0032 +ds=0.00009 +drz=0.00002 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=0.0048 +y=0.0026 +z=-0.0332 +s=0.00292 +rz=0.00006 +dx=0.0001 +dy=-0.0005 +dz=-0.0032 +ds=0.00009 +drz=0.00002 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=0.0048 +y=0.0026 +z=-0.0332 +s=0.00292 +rz=0.00006 +dx=0.0001 +dy=-0.0005 +dz=-0.0032 +ds=0.00009 +drz=0.00002 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=-0.024 +y=0.0024 +z=-0.00386 +s=0.00341 +rx=-0.00171 +ry=-0.00148 +rz=-0.0003 +dx=-0.0028 +dy=-0.0001 +dz=-0.0024 +ds=0.00009 +drx=-0.00011 +dry=-0.00019 +drz=0.00007 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=0.0128 +y=0.0046 +z=-0.0412 +s=0.00221 +rz=0.00006 +dx=0.0001 +dy=-0.0005 +dz=-0.0032 +ds=0.00009 +drz=0.00002 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=0.0248 +y=0.0186 +z=-0.0472 +s=0.00361 +rz=0.00006 +dx=0.0001 +dy=-0.0005 +dz=-0.0032 +ds=0.00009 +drz=0.00002 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=0.0228 +y=0.0146 +z=-0.0632 +s=0.00391 +rz=0.00006 +dx=0.0001 +dy=-0.0005 +dz=-0.0032 +ds=0.00009 +drz=0.00002 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=0.0278 +y=0.0386 +z=-0.1012 +s=0.00731 +rz=0.00006 +dx=0.0001 +dy=-0.0005 +dz=-0.0032 +ds=0.00009 +drz=0.00002 +t_epoch=2000.0 +convention=position_vector - - +proj=helmert +x=0.0228 +y=0.0026 +z=-0.1252 +s=0.01041 +rz=0.00006 +dx=0.0001 +dy=-0.0005 +dz=-0.0032 +ds=0.00009 +drz=0.00002 +t_epoch=2000.0 +convention=position_vector - - -# ITRF2008 Plate Motion Model parameters -# -# As described in -# -# Altamimi, Z., L. Métivier, and X. Collilieux (2012), ITRF2008 plate motion model, -# J. Geophys. Res., 117, B07402, doi:10.1029/2011JB008930. - - - +proj=helmert +drx=-0.000190 +dry=-0.000442 +drz=0.000915 +convention=position_vector - - +proj=helmert +drx=-0.000252 +dry=-0.000302 +drz=0.000643 +convention=position_vector - - +proj=helmert +drx=0.001202 +dry=-0.000054 +drz=0.001485 +convention=position_vector - - +proj=helmert +drx=0.001504 +dry=0.001172 +drz=0.001228 +convention=position_vector - - +proj=helmert +drx=0.000049 +dry=-0.001088 +drz=0.000664 +convention=position_vector - - +proj=helmert +drx=-0.000083 +dry=0.000534 +drz=0.000750 +convention=position_vector - - +proj=helmert +drx=0.001232 +dry=0.000303 +drz=0.001540 +convention=position_vector - - +proj=helmert +drx=-0.000330 +dry=-0.001551 +drz=0.001625 +convention=position_vector - - +proj=helmert +drx=0.000035 +dry=-0.000662 +drz=-0.0001 +convention=position_vector - - +proj=helmert +drx=0.000095 +dry=-0.000598 +drz=0.000723 +convention=position_vector - - +proj=helmert +drx=-0.000411 +dry=0.001036 +drz=-0.002166 +convention=position_vector - - +proj=helmert +drx=-0.000243 +dry=-0.000311 +drz=-0.000154 +convention=position_vector - - +proj=helmert +drx=-0.000080 +dry=-0.000745 +drz=0.000897 +convention=position_vector - - +proj=helmert +drx=0.000047 +dry=-0.001 +drz=0.000975 +convention=position_vector - - -# Plate names suffixed by _T (for Translation) that includes the translation -# rates +dx=0.00041 +dy=0.00022 +dz=0.00041 given by Table 2 of the ITRF2008 plate motion model -# paper - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=-0.000190 +dry=-0.000442 +drz=0.000915 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=-0.000252 +dry=-0.000302 +drz=0.000643 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=0.001202 +dry=-0.000054 +drz=0.001485 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=0.001504 +dry=0.001172 +drz=0.001228 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=0.000049 +dry=-0.001088 +drz=0.000664 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=-0.000083 +dry=0.000534 +drz=0.000750 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=0.001232 +dry=0.000303 +drz=0.001540 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=-0.000330 +dry=-0.001551 +drz=0.001625 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=0.000035 +dry=-0.000662 +drz=-0.0001 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=0.000095 +dry=-0.000598 +drz=0.000723 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=-0.000411 +dry=0.001036 +drz=-0.002166 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=-0.000243 +dry=-0.000311 +drz=-0.000154 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=-0.000080 +dry=-0.000745 +drz=0.000897 +convention=position_vector - - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=0.000047 +dry=-0.001 +drz=0.000975 +convention=position_vector diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/ITRF2014 b/.venv/lib/python3.12/site-packages/fiona/proj_data/ITRF2014 deleted file mode 100644 index e16fb88c..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/ITRF2014 +++ /dev/null @@ -1,55 +0,0 @@ -# ITRF2014 params are in mm/year, PJ_helmert uses m/year - +version=1.0.0 +origin=http://itrf.ign.fr/doc_ITRF/Transfo-ITRF2014_ITRFs.txt +lastupdate=2017-07-26 - - +proj=helmert +x=0.0016 +y=0.0019 +z=0.0024 +s=-0.00002 +dz=-0.0001 +ds=0.00003 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0026 +y=0.001 +z=-0.0023 +s=0.00092 +dx=0.0003 +dz=-0.0001 +ds=0.00003 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0007 +y=0.0012 +z=-0.0261 +s=0.00212 +dx=0.0001 +dy=0.0001 +dz=-0.0019 +ds=0.00011 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0074 +y=-0.0005 +z=-0.0628 +d=0.0038 +rz=0.00026 +dx0.0001 +dy=-0.0005 +dz=-0.0033 +ds=0.00012 +drz=0.00002 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0074 +y=-0.0005 +z=-0.0628 +s=0.0038 +rz=0.00026 +dx=0.0001 +dy=-0.0005 +dz=-0.0033 +ds=0.00012 +drz=0.00002 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0074 +y=-0.0005 +z=-0.0628 +s=0.0038 +rz=0.00026 +dx=0.0001 +dy=-0.0005 +dz=-0.0033 +ds=0.00012 +drz=0.00002 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=-0.0504 +y=0.0033 +z=-0.0602 +s=0.00429 +rx=-0.00281 +ry=-0.00338 +rz=0.0004 +dx=-0.0028 +dy=-0.0001 +dz=-0.0025 +ds=0.00012 +drx=-0.00011 +dry=-0.00019 +drz=0.00007 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0154 +y=0.0015 +z=-0.0708 +s=0.00309 +rz=0.00026 +dx=0.0001 +dy=-0.0005 +dz=-0.0033 +ds=0.00012 +drz=0.00002 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0274 +y=0.0155 +z=-0.0768 +s=0.00449 +rz=0.00026 +dx=0.0001 +dy=-0.0005 +dz=-0.0033 +ds=0.00012 +drz=0.00002 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0254 +y=0.0115 +z=-0.0928 +s=0.00479 +rz=0.00026 +dx=0.0001 +dy=-0.0005 +dz=-0.0033 +ds=0.00012 +drz=0.00002 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0304 +y=0.0355 +z=-0.1308 +s=0.00819 +rz=0.00026 +dx=0.0001 +dy=-0.0005 +dz=-0.0033 +ds=0.00012 +drz=0.00002 +t_epoch=2010.0 +convention=position_vector - - +proj=helmert +x=0.0254 +y=-0.0005 +z=-0.1548 +s=0.01129 +rx=0.0001 +rz=0.00026 +dx=0.0001 +dy=-0.0005 +dz=-0.0033 +ds=0.00012 +drz=0.00002 +t_epoch=2010.0 +convention=position_vector - -# ITRF2014 Plate Motion Model parameters -# -# As described in -# -# Z. Altamimi et al, 2017, ITRF2014 plate motion model, -# doi: 10.1093/gji/ggx136 - - +proj=helmert +drx=-0.000248 +dry=-0.000324 +drz=0.000675 +convention=position_vector - - +proj=helmert +drx=0.001154 +dry=-0.000136 +drz=0.001444 +convention=position_vector - - +proj=helmert +drx=0.001510 +dry=0.001182 +drz=0.001215 +convention=position_vector - - +proj=helmert +drx=-0.000085 +dry=-0.000531 +drz=0.000770 +convention=position_vector - - +proj=helmert +drx=0.001154 +dry=-0.000005 +drz=0.001454 +convention=position_vector - - +proj=helmert +drx=-0.000333 +dry=-0.001544 +drz=0.001623 +convention=position_vector - - +proj=helmert +drx=0.000024 +dry=-0.000694 +drz=-0.000063 +convention=position_vector - - +proj=helmert +drx=0.000099 +dry=-0.000614 +drz=0.000733 +convention=position_vector - - +proj=helmert +drx=-0.000409 +dry=0.001047 +drz=-0.002169 +convention=position_vector - - +proj=helmert +drx=-0.000270 +dry=-0.000301 +drz=-0.000140 +convention=position_vector - - +proj=helmert +drx=-0.000121 +dry=-0.000794 +drz=0.000884 +convention=position_vector diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/deformation_model.schema.json b/.venv/lib/python3.12/site-packages/fiona/proj_data/deformation_model.schema.json deleted file mode 100644 index d7a6d162..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/deformation_model.schema.json +++ /dev/null @@ -1,582 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "description": "Schema for deformation models", - "type": "object", - "properties": { - "file_type": { - "type": "string", - "enum": [ - "deformation_model_master_file" - ], - "description": "File type. Always \"deformation_model_master_file\"" - }, - "format_version": { - "type": "string", - "enum": [ - "1.0" - ] - }, - "name": { - "type": "string", - "description": "A brief descriptive name of the deformation model" - }, - "version": { - "type": "string", - "description": "A string identifying the version of the deformation model. The format for specifying version will be defined by the agency responsible for the deformation model" - }, - "publication_date": { - "$ref": "#/definitions/datetime", - "description": "The date on which this version of the deformation model was published (or possibly the date on which it takes effect?)" - }, - "license": { - "type": "string", - "description": "License under which the model is published" - }, - "description": { - "type": "string", - "description": "A text description of the model" - }, - "authority": { - "type": "object", - "description": "Basic information about the agency responsible for the data set", - "properties": { - "name": { - "type": "string", - "description": "The name of the agency" - }, - "url": { - "type": "string", - "description": "The url of the agency website", - "format": "uri" - }, - "address": { - "type": "string", - "description": "The postal address of the agency" - }, - "email": { - "type": "string", - "description": "An email contact address for the agency", - "format": "email" - } - }, - "required": [ - "name" - ], - "additionalProperties": false - }, - "links": { - "type": "array", - "description": "Links to related information", - "items": { - "type": "object", - "properties": { - "href": { - "type": "string", - "description": "The URL holding the information", - "format": "uri" - }, - "rel": { - "type": "string", - "description": "The relationship to the dataset. Proposed relationships are:\n- \"about\": a web page for human consumption describing the model\n- \"source\": the authoritative source data from which the deformation model is built.\n- \"metadata\": ISO 19115 XML metadata regarding the deformation model." - }, - "type": { - "type": "string", - "description": "MIME type" - }, - "title": { - "type": "string", - "description": "Description of the link" - } - }, - "required": [ - "href" - ], - "additionalProperties": false - } - }, - "source_crs": { - "$ref": "#/definitions/crs", - "description": "The coordinate reference system to which the deformation model applies" - }, - "target_crs": { - "$ref": "#/definitions/crs", - "description": "For a time dependent coordinate transformation the coordinate reference system resulting from applying the deformation" - }, - "definition_crs": { - "$ref": "#/definitions/crs", - "description": "The coordinate reference system used to define the component spatial models. This proposal only supports using the same value for the source and definition coordinate reference system." - }, - "reference_epoch": { - "$ref": "#/definitions/datetime", - "description": "A nominal reference epoch of the deformation model. This is not necessarily used to calculate the deformation model - each component defines its own time function." - }, - "uncertainty_reference_epoch": { - "$ref": "#/definitions/datetime", - "description": "The uncertainties of the deformation model are calculated in terms of this epoch. This is described below in the Time functions section." - }, - "horizontal_offset_unit": { - "type": "string", - "enum": [ - "metre", - "degree" - ] - }, - "vertical_offset_unit": { - "type": "string", - "enum": [ - "metre" - ] - }, - "horizontal_uncertainty_type": { - "type": "string", - "enum": [ - "circular 95% confidence limit" - ] - }, - "horizontal_uncertainty_unit": { - "type": "string", - "enum": [ - "metre" - ] - }, - "vertical_uncertainty_type": { - "type": "string", - "enum": [ - "95% confidence limit" - ] - }, - "vertical_uncertainty_unit": { - "type": "string", - "enum": [ - "metre" - ] - }, - "horizontal_offset_method": { - "type": "string", - "description": "Defines how the horizontal offsets are applied to geographic coordinates", - "enum": [ - "addition", - "geocentric" - ] - }, - "extent": { - "$ref": "#/definitions/extent", - "description": "Defines the region within which the deformation model is defined. It cannot be calculated outside this region. The region is specified by a type and value. This proposal only supports using a bounding box as an array of [west,south,east,north] coordinate values" - }, - "time_extent": { - "type": "object", - "description": "Defines the range of times for which the model is valid, specified by a first and a last value. The deformation model is undefined for dates outside this range.", - "properties": { - "first": { - "$ref": "#/definitions/datetime" - }, - "last": { - "$ref": "#/definitions/datetime" - } - }, - "required": [ - "first", - "last" - ], - "additionalProperties": false - }, - "components": { - "type": "array", - "items": { - "$ref": "#/definitions/component" - } - } - }, - "required": [ - "file_type", - "format_version", - "source_crs", - "target_crs", - "definition_crs", - "extent", - "time_extent", - "components" - ], - "additionalProperties": false, - "definitions": { - "component": { - "type": "object", - "definition": "A component describes an aspect of the deformation, such as glacial isostatic adjustment, secular deformation, earthquakes, etc.", - "properties": { - "description": { - "type": "string", - "description": "A text description of this component of the model" - }, - "extent": { - "$ref": "#/definitions/extent", - "description": "The region within the component is defined. Outside this region the component evaluates to 0. The region is specified by a type and value. This proposal only supports using a bounding box as an array of [west,south,east,north] coordinate values" - }, - "displacement_type": { - "type": "string", - "description": "The displacement parameters defined by the model. The \"none\" option allows for a component which defines uncertainty with different grids to those defining displacement", - "enum": [ - "none", - "horizontal", - "vertical", - "3d" - ] - }, - "uncertainty_type": { - "type": "string", - "description": "The uncertainty parameters defined by the model", - "enum": [ - "none", - "horizontal", - "vertical", - "3d" - ] - }, - "horizontal_uncertainty": { - "type": "number", - "description": "The horizontal uncertainty to use if it is not defined explicitly in the spatial model" - }, - "vertical_uncertainty": { - "type": "number", - "description": "The vertical uncertainty to use if it is not defined explicitly in the spatial model" - }, - "spatial_model": { - "type": "object", - "description": "Defines the spatial model", - "properties": { - "type": { - "type": "string", - "description": "Specifies the type of the spatial model data file. Initially it is proposed that only GeoTIFF is supported", - "enum": [ - "GeoTIFF" - ] - }, - "interpolation_method": { - "type": "string", - "description": "Interpolation method", - "enum": [ - "bilinear", - "geocentric_bilinear" - ] - }, - "filename": { - "type": "string", - "description": "Specifies location of the spatial model GeoTIFF file relative to this JSON file" - }, - "md5_checksum": { - "type": "string", - "description": "A hex encoded MD5 checksum of the grid file that can be used to validate that it is the correct version of the file" - } - }, - "required": [ - "type", - "interpolation_method", - "filename" - ], - "additionalProperties": false - }, - "time_function": { - "$ref": "#/definitions/time_function" - } - }, - "required": [ - "description", - "extent", - "displacement_type", - "spatial_model", - "time_function" - ], - "additionalProperties": false - }, - "crs": { - "type": "string", - "pattern": "^[a-zA-Z]+:[a-zA-Z0-9]+$" - }, - "datetime": { - "type": "string", - "format": "date-time", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$" - }, - "extent": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "bbox" - ] - }, - "parameters": { - "type": "object", - "properties": { - "bbox": { - "type": "array", - "minItems": 4, - "maxItems": 4, - "items": { - "type": "number" - } - } - } - } - }, - "required": [ - "type", - "parameters" - ], - "additionalProperties": false - }, - "time_function": { - "description": "Function describing a multiplicative factor to apply to the spatial_model depending on the time", - "oneOf": [ - { - "$ref": "#/definitions/time_function_constant" - }, - { - "$ref": "#/definitions/time_function_velocity" - }, - { - "$ref": "#/definitions/time_function_step" - }, - { - "$ref": "#/definitions/time_function_reverse_step" - }, - { - "$ref": "#/definitions/time_function_piecewise" - }, - { - "$ref": "#/definitions/time_function_exponential" - } - ] - }, - "time_function_constant": { - "description": "The valuation of this function is 1 at any epoch", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "constant" - ] - }, - "parameters": { - "type": "object", - "properties": { - }, - "additionalProperties": false - } - }, - "required": [ - "type" - ], - "additionalProperties": false - }, - "time_function_velocity": { - "description": "The valuation of this function is 0 at reference_epoch, and proportional to the time difference to it at other times", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "velocity" - ] - }, - "parameters": { - "type": "object", - "properties": { - "reference_epoch": { - "$ref": "#/definitions/datetime" - } - }, - "required": [ - "reference_epoch" - ], - "additionalProperties": false - } - }, - "required": [ - "type", - "parameters" - ], - "additionalProperties": false - }, - "time_function_step": { - "description": "The valuation of this function is 0 before step_epoch, and 1 starting from it", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "step" - ] - }, - "parameters": { - "type": "object", - "properties": { - "step_epoch": { - "$ref": "#/definitions/datetime" - } - }, - "required": [ - "step_epoch" - ], - "additionalProperties": false - } - }, - "required": [ - "type", - "parameters" - ], - "additionalProperties": false - }, - "time_function_reverse_step": { - "description": "The valuation of this function is 1 before step_epoch, and 0 starting from it", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "reverse_step" - ] - }, - "parameters": { - "type": "object", - "properties": { - "step_epoch": { - "$ref": "#/definitions/datetime" - } - }, - "required": [ - "step_epoch" - ], - "additionalProperties": false - } - }, - "required": [ - "type", - "parameters" - ], - "additionalProperties": false - }, - "time_function_piecewise": { - "description": "Piecewise time function", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "piecewise" - ] - }, - "parameters": { - "type": "object", - "properties": { - "before_first": { - "type": "string", - "description": "Defines the behaviour of the function before the first defined epoch", - "enum": [ - "zero", - "constant", - "linear" - ] - }, - "after_last": { - "type": "string", - "description": "Defines the behaviour of the function after the last defined epoch", - "enum": [ - "zero", - "constant", - "linear" - ] - }, - "model": { - "type": "array", - "description": "A sorted array data points each defined by two elements, \"epoch\" defines the date/time of the data point, and \"scale_factor\" is the corresponding function value. The array is sorted in order of increasing epoch. Note: where the time function includes a step it is represented by two consecutive data points with the same epoch. The first defines the scale factor that applies before the epoch and the second the scale factor that applies after the epoch", - "items": { - "type": "object", - "properties": { - "epoch": { - "$ref": "#/definitions/datetime" - }, - "scale_factor": { - "type": "number" - } - }, - "required": [ - "epoch", - "scale_factor" - ], - "additionalProperties": false - }, - "minItems": 2 - } - }, - "required": [ - "before_first", - "after_last", - "model" - ], - "additionalProperties": false - } - }, - "required": [ - "type", - "parameters" - ], - "additionalProperties": false - }, - "time_function_exponential": { - "description": "The valuation of this function is an exponential function with a time-based relaxation constant", - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "exponential" - ] - }, - "parameters": { - "type": "object", - "properties": { - "reference_epoch": { - "$ref": "#/definitions/datetime", - "description": "The date/time at which the exponential decay starts" - }, - "end_epoch": { - "$ref": "#/definitions/datetime", - "description": "The date/time at which the exponential decay ends (optional)" - }, - "relaxation_constant": { - "type": "number", - "description": "Relaxation constant in years" - }, - "before_scale_factor": { - "type": "number", - "description": "The scale factor that applies before the reference epoch" - }, - "initial_scale_factor": { - "type": "number", - "description": "The initial scale factor" - }, - "final_scale_factor": { - "type": "number", - "description": "The scale factor the exponential function approaches" - } - }, - "required": [ - "reference_epoch", - "relaxation_constant", - "before_scale_factor", - "initial_scale_factor", - "final_scale_factor" - ], - "additionalProperties": false - } - }, - "required": [ - "type", - "parameters" - ], - "additionalProperties": false - } - } -} \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/nad.lst b/.venv/lib/python3.12/site-packages/fiona/proj_data/nad.lst deleted file mode 100644 index cc427722..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/nad.lst +++ /dev/null @@ -1,142 +0,0 @@ - Listing of State Plane North American Datum Zones - - NGS zone number - State and zone 1927 1983 - -Alabama east .................. 101 101 -Alabama west .................. 102 102 -Alaska zone no. 1 ............. 5001 5001 -Alaska zone no. 2 ............. 5002 5002 -Alaska zone no. 3 ............. 5003 5003 -Alaska zone no. 4 ............. 5004 5004 -Alaska zone no. 5 ............. 5005 5005 -Alaska zone no. 6 ............. 5006 5006 -Alaska zone no. 7 ............. 5007 5007 -Alaska zone no. 8 ............. 5008 5008 -Alaska zone no. 9 ............. 5009 5009 -Alaska zone no. 10 ............ 5010 5010 -American Samoa ................ 5300 -Arizona central ............... 202 202 -Arizona east .................. 201 201 -Arizona west .................. 203 203 -Arkansas north ................ 301 301 -Arkansas south ................ 302 302 -California I .................. 401 401 -California II ................. 402 402 -California III ................ 403 403 -California IV ................. 404 404 -California V .................. 405 405 -California VI ................. 406 406 -California VII ................ 407 -Colorado central .............. 502 502 -Colorado north ................ 501 501 -Colorado south ................ 503 503 -Connecticut ................... 600 600 -Delaware ...................... 700 700 -Florida east .................. 901 901 -Florida north ................. 903 903 -Florida west .................. 902 902 -Georgia east .................. 1001 1001 -Georgia west .................. 1002 1002 -Guam Island ................... 5400 -Hawaii 1 ...................... 5101 5101 -Hawaii 2 ...................... 5102 5102 -Hawaii 3 ...................... 5103 5103 -Hawaii 4 ...................... 5104 5104 -Hawaii 5 ...................... 5105 5105 -Idaho central ................. 1102 1102 -Idaho east .................... 1101 1101 -Idaho west .................... 1103 1103 -Illinois east ................. 1201 1201 -Illinois west ................. 1202 1202 -Indiana east .................. 1301 1301 -Indiana west .................. 1302 1302 -Iowa north .................... 1401 1401 -Iowa south .................... 1402 1402 -Kansas north .................. 1501 1501 -Kansas south .................. 1502 1502 -Kentucky north ................ 1601 1601 -Kentucky south ................ 1602 1602 -Louisiana north ............... 1701 1701 -Louisiana offshore ............ 1703 1703 -Louisiana south ............... 1702 1702 -Maine east .................... 1801 1801 -Maine west .................... 1802 1802 -Maryland ...................... 1900 1900 -Massachusetts island .......... 2002 2002 -Massachusetts mainland ........ 2001 2001 -Michigan central/l ............ 2112 2112 current -Michigan central/m ............ 2102 old -Michigan east ................. 2101 old -Michigan north ................ 2111 2111 current -Michigan south ................ 2113 2113 current -Michigan west ................. 2103 old -Minnesota central ............. 2202 2202 -Minnesota north ............... 2201 2201 -Minnesota south ............... 2203 2203 -Mississippi east .............. 2301 2301 -Mississippi west .............. 2302 2302 -Missouri central .............. 2402 2402 -Missouri east ................. 2401 2401 -Missouri west ................. 2403 2403 -Montana ....................... 2500 -Montana central ............... 2502 -Montana north ................. 2501 -Montana south ................. 2503 -Nebraska ...................... 2600 -Nebraska north ................ 2601 -Nebraska south ................ 2602 -Nevada central ................ 2702 2702 -Nevada east ................... 2701 2701 -Nevada west ................... 2703 2703 -New hampshire ................. 2800 2800 -New jersey .................... 2900 2900 -New mexico central ............ 3002 3002 -New mexico east ............... 3001 3001 -New mexico west ............... 3003 3003 -New york central .............. 3102 3102 -New york east ................. 3101 3101 -New york long island .......... 3104 3104 -New york west ................. 3103 3103 -North carolina ................ 3200 3200 -North dakota north ............ 3301 3301 -North dakota south ............ 3302 3302 -Ohio north .................... 3401 3401 -Ohio south .................... 3402 3402 -Oklahoma north ................ 3501 3501 -Oklahoma south ................ 3502 3502 -Oregon north .................. 3601 3601 -Oregon south .................. 3602 3602 -Pennsylvania north ............ 3701 3701 -Pennsylvania south ............ 3702 3702 -Puerto Rico, Virgin Islands ... 5201 5200 -Rhode Island .................. 3800 3800 -South Carolina ................ 3900 -South Carolina north .......... 3901 -South Carolina south .......... 3902 -South Dakota north ............ 4001 4001 -South Dakota south ............ 4002 4002 -Tennessee ..................... 4100 4100 -Texas central ................. 4203 4203 -Texas north ................... 4201 4201 -Texas north central ........... 4202 4202 -Texas south ................... 4205 4205 -Texas south central ........... 4204 4204 -Utah central .................. 4302 4302 -Utah north .................... 4301 4301 -Utah south .................... 4303 4303 -Vermont ....................... 4400 4400 -Virgin Islands, St. Croix ..... 5202 -Virginia north ................ 4501 4501 -Virginia south ................ 4502 4502 -Washington north .............. 4601 4601 -Washington south .............. 4602 4602 -West Virginia north ........... 4701 4701 -West Virginia south ........... 4702 4702 -Wisconsin central ............. 4802 4802 -Wisconsin north ............... 4801 4801 -Wisconsin south ............... 4803 4803 -Wyoming east .................. 4901 4901 -Wyoming east central .......... 4902 4902 -Wyoming west .................. 4904 4904 -Wyoming west central .......... 4903 4903 diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/nad27 b/.venv/lib/python3.12/site-packages/fiona/proj_data/nad27 deleted file mode 100644 index c5e43962..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/nad27 +++ /dev/null @@ -1,810 +0,0 @@ -# SCCSID @(#)nad27 4.1 92/12/20 GIE -# proj +init files for: -# -# State Plane Coordinate Systems, -# North American Datum 1927 - - +lastupdate=1992-12-20 -# 101: alabama east: nad27 -<101> proj=tmerc datum=NAD27 -lon_0=-85d50 lat_0=30d30 k=.99996 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 102: alabama west: nad27 -<102> proj=tmerc datum=NAD27 -lon_0=-87d30 lat_0=30 k=.9999333333333333 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5010: alaska zone no. 10: nad27 -<5010> proj=lcc datum=NAD27 -lon_0=-176 lat_1=53d50 lat_2=51d50 lat_0=51 -x_0=914401.8288036576 y_0=0 -no_defs <> - -# 5300: american samoa: nad27 -<5300> proj=lcc datum=NAD27 -lon_0=-170 lat_1=-14d16 lat_2=-14d16 lat_0=-14d16 -x_0=152400.3048006096 y_0=95169.31165862332 -no_defs <> - -# 201: arizona east: nad27 -<201> proj=tmerc datum=NAD27 -lon_0=-110d10 lat_0=31 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 202: arizona central: nad27 -<202> proj=tmerc datum=NAD27 -lon_0=-111d55 lat_0=31 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 203: arizona west: nad27 -<203> proj=tmerc datum=NAD27 -lon_0=-113d45 lat_0=31 k=.9999333333333333 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 301: arkansas north: nad27 -<301> proj=lcc datum=NAD27 -lon_0=-92 lat_1=36d14 lat_2=34d56 lat_0=34d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 302: arkansas south: nad27 -<302> proj=lcc datum=NAD27 -lon_0=-92 lat_1=34d46 lat_2=33d18 lat_0=32d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 401: california i: nad27 -<401> proj=lcc datum=NAD27 -lon_0=-122 lat_1=41d40 lat_2=40 lat_0=39d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 402: california ii: nad27 -<402> proj=lcc datum=NAD27 -lon_0=-122 lat_1=39d50 lat_2=38d20 lat_0=37d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 403: california iii: nad27 -<403> proj=lcc datum=NAD27 -lon_0=-120d30 lat_1=38d26 lat_2=37d4 lat_0=36d30 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 404: california iv: nad27 -<404> proj=lcc datum=NAD27 -lon_0=-119 lat_1=37d15 lat_2=36 lat_0=35d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 405: california v: nad27 -<405> proj=lcc datum=NAD27 -lon_0=-118 lat_1=35d28 lat_2=34d2 lat_0=33d30 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 406: california vi: nad27 -<406> proj=lcc datum=NAD27 -lon_0=-116d15 lat_1=33d53 lat_2=32d47 lat_0=32d10 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 407: california vii: nad27 -<407> proj=lcc datum=NAD27 -lon_0=-118d20 lat_1=34d25 lat_2=33d52 lat_0=34d8 -x_0=1276106.450596901 y_0=1268253.006858014 -no_defs <> - -# 501: colorado north: nad27 -<501> proj=lcc datum=NAD27 -lon_0=-105d30 lat_1=40d47 lat_2=39d43 lat_0=39d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 502: colorado central: nad27 -<502> proj=lcc datum=NAD27 -lon_0=-105d30 lat_1=39d45 lat_2=38d27 lat_0=37d50 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 503: colorado south: nad27 -<503> proj=lcc datum=NAD27 -lon_0=-105d30 lat_1=38d26 lat_2=37d14 lat_0=36d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 600: connecticut ---: nad27 -<600> proj=lcc datum=NAD27 -lon_0=-72d45 lat_1=41d52 lat_2=41d12 lat_0=40d50 -x_0=182880.3657607315 y_0=0 -no_defs <> - -# 700: delaware ---: nad27 -<700> proj=tmerc datum=NAD27 -lon_0=-75d25 lat_0=38 k=.999995 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 901: florida east: nad27 -<901> proj=tmerc datum=NAD27 -lon_0=-81 lat_0=24d20 k=.9999411764705882 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 902: florida west: nad27 -<902> proj=tmerc datum=NAD27 -lon_0=-82 lat_0=24d20 k=.9999411764705882 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 903: florida north: nad27 -<903> proj=lcc datum=NAD27 -lon_0=-84d30 lat_1=30d45 lat_2=29d35 lat_0=29 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1001: georgia east: nad27 -<1001> proj=tmerc datum=NAD27 -lon_0=-82d10 lat_0=30 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1002: georgia west: nad27 -<1002> proj=tmerc datum=NAD27 -lon_0=-84d10 lat_0=30 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5101: hawaii 1: nad27 -<5101> proj=tmerc datum=NAD27 -lon_0=-155d30 lat_0=18d50 k=.9999666666666667 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5102: hawaii 2: nad27 -<5102> proj=tmerc datum=NAD27 -lon_0=-156d40 lat_0=20d20 k=.9999666666666667 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5103: hawaii 3: nad27 -<5103> proj=tmerc datum=NAD27 -lon_0=-158 lat_0=21d10 k=.99999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5104: hawaii 4: nad27 -<5104> proj=tmerc datum=NAD27 -lon_0=-159d30 lat_0=21d50 k=.99999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5105: hawaii 5: nad27 -<5105> proj=tmerc datum=NAD27 -lon_0=-160d10 lat_0=21d40 k=1 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1101: idaho east: nad27 -<1101> proj=tmerc datum=NAD27 -lon_0=-112d10 lat_0=41d40 k=.9999473684210526 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1102: idaho central: nad27 -<1102> proj=tmerc datum=NAD27 -lon_0=-114 lat_0=41d40 k=.9999473684210526 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1103: idaho west: nad27 -<1103> proj=tmerc datum=NAD27 -lon_0=-115d45 lat_0=41d40 k=.9999333333333333 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1201: illinois east: nad27 -<1201> proj=tmerc datum=NAD27 -lon_0=-88d20 lat_0=36d40 k=.999975 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1202: illinois west: nad27 -<1202> proj=tmerc datum=NAD27 -lon_0=-90d10 lat_0=36d40 k=.9999411764705882 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1301: indiana east: nad27 -<1301> proj=tmerc datum=NAD27 -lon_0=-85d40 lat_0=37d30 k=.9999666666666667 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1302: indiana west: nad27 -<1302> proj=tmerc datum=NAD27 -lon_0=-87d5 lat_0=37d30 k=.9999666666666667 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1401: iowa north: nad27 -<1401> proj=lcc datum=NAD27 -lon_0=-93d30 lat_1=43d16 lat_2=42d4 lat_0=41d30 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1402: iowa south: nad27 -<1402> proj=lcc datum=NAD27 -lon_0=-93d30 lat_1=41d47 lat_2=40d37 lat_0=40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1501: kansas north: nad27 -<1501> proj=lcc datum=NAD27 -lon_0=-98 lat_1=39d47 lat_2=38d43 lat_0=38d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1502: kansas south: nad27 -<1502> proj=lcc datum=NAD27 -lon_0=-98d30 lat_1=38d34 lat_2=37d16 lat_0=36d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1601: kentucky north: nad27 -<1601> proj=lcc datum=NAD27 -lon_0=-84d15 lat_1=38d58 lat_2=37d58 lat_0=37d30 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1602: kentucky south: nad27 -<1602> proj=lcc datum=NAD27 -lon_0=-85d45 lat_1=37d56 lat_2=36d44 lat_0=36d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1701: louisiana north: nad27 -<1701> proj=lcc datum=NAD27 -lon_0=-92d30 lat_1=32d40 lat_2=31d10 lat_0=30d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1702: louisiana south: nad27 -<1702> proj=lcc datum=NAD27 -lon_0=-91d20 lat_1=30d42 lat_2=29d18 lat_0=28d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1703: louisiana offshore: nad27 -<1703> proj=lcc datum=NAD27 -lon_0=-91d20 lat_1=27d50 lat_2=26d10 lat_0=25d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 1801: maine east: nad27 -<1801> proj=tmerc datum=NAD27 -lon_0=-68d30 lat_0=43d50 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1802: maine west: nad27 -<1802> proj=tmerc datum=NAD27 -lon_0=-70d10 lat_0=42d50 k=.9999666666666667 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 1900: maryland ---: nad27 -<1900> proj=lcc datum=NAD27 -lon_0=-77 lat_1=39d27 lat_2=38d18 lat_0=37d50 -x_0=243840.4876809754 y_0=0 -no_defs <> - -# 2001: massachusetts mainland: nad27 -<2001> proj=lcc datum=NAD27 -lon_0=-71d30 lat_1=42d41 lat_2=41d43 lat_0=41 -x_0=182880.3657607315 y_0=0 -no_defs <> - -# 2002: massachusetts island: nad27 -<2002> proj=lcc datum=NAD27 -lon_0=-70d30 lat_1=41d29 lat_2=41d17 lat_0=41 -x_0=60960.12192024384 y_0=0 -no_defs <> - -# 2101: michigan east: nad27 -<2101> proj=tmerc datum=NAD27 -lon_0=-83d40 lat_0=41d30 k=.9999428571428571 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2102: michigan central/m: nad27 -<2102> proj=tmerc datum=NAD27 -lon_0=-85d45 lat_0=41d30 k=.9999090909090909 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2103: michigan west: nad27 -<2103> proj=tmerc datum=NAD27 -lon_0=-88d45 lat_0=41d30 k=.9999090909090909 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2111: michigan north: nad27 -<2111> proj=lcc a=6378450.047 es=.006768657997291094 -lon_0=-87 lat_1=47d5 lat_2=45d29 lat_0=44d47 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2112: michigan central/l: nad27 -<2112> proj=lcc a=6378450.047 es=.006768657997291094 -lon_0=-84d20 lat_1=45d42 lat_2=44d11 lat_0=43d19 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2113: michigan south: nad27 -<2113> proj=lcc a=6378450.047 es=.006768657997291094 -lon_0=-84d20 lat_1=43d40 lat_2=42d6 lat_0=41d30 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2201: minnesota north: nad27 -<2201> proj=lcc datum=NAD27 -lon_0=-93d6 lat_1=48d38 lat_2=47d2 lat_0=46d30 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2202: minnesota central: nad27 -<2202> proj=lcc datum=NAD27 -lon_0=-94d15 lat_1=47d3 lat_2=45d37 lat_0=45 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2203: minnesota south: nad27 -<2203> proj=lcc datum=NAD27 -lon_0=-94 lat_1=45d13 lat_2=43d47 lat_0=43 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2301: mississippi east: nad27 -<2301> proj=tmerc datum=NAD27 -lon_0=-88d50 lat_0=29d40 k=.99996 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2302: mississippi west: nad27 -<2302> proj=tmerc datum=NAD27 -lon_0=-90d20 lat_0=30d30 k=.9999411764705882 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2401: missouri east: nad27 -<2401> proj=tmerc datum=NAD27 -lon_0=-90d30 lat_0=35d50 k=.9999333333333333 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2402: missouri central: nad27 -<2402> proj=tmerc datum=NAD27 -lon_0=-92d30 lat_0=35d50 k=.9999333333333333 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2403: missouri west: nad27 -<2403> proj=tmerc datum=NAD27 -lon_0=-94d30 lat_0=36d10 k=.9999411764705882 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2501: montana north: nad27 -<2501> proj=lcc datum=NAD27 -lon_0=-109d30 lat_1=48d43 lat_2=47d51 lat_0=47 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2502: montana central: nad27 -<2502> proj=lcc datum=NAD27 -lon_0=-109d30 lat_1=47d53 lat_2=46d27 lat_0=45d50 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2503: montana south: nad27 -<2503> proj=lcc datum=NAD27 -lon_0=-109d30 lat_1=46d24 lat_2=44d52 lat_0=44 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2601: nebraska north: nad27 -<2601> proj=lcc datum=NAD27 -lon_0=-100 lat_1=42d49 lat_2=41d51 lat_0=41d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2602: nebraska south: nad27 -<2602> proj=lcc datum=NAD27 -lon_0=-99d30 lat_1=41d43 lat_2=40d17 lat_0=39d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 2701: nevada east: nad27 -<2701> proj=tmerc datum=NAD27 -lon_0=-115d35 lat_0=34d45 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2702: nevada central: nad27 -<2702> proj=tmerc datum=NAD27 -lon_0=-116d40 lat_0=34d45 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2703: nevada west: nad27 -<2703> proj=tmerc datum=NAD27 -lon_0=-118d35 lat_0=34d45 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2800: new hampshire ---: nad27 -<2800> proj=tmerc datum=NAD27 -lon_0=-71d40 lat_0=42d30 k=.9999666666666667 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 2900: new jersey ---: nad27 -<2900> proj=tmerc datum=NAD27 -lon_0=-74d40 lat_0=38d50 k=.999975 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3001: new mexico east: nad27 -<3001> proj=tmerc datum=NAD27 -lon_0=-104d20 lat_0=31 k=.9999090909090909 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 3002: new mexico central: nad27 -<3002> proj=tmerc datum=NAD27 -lon_0=-106d15 lat_0=31 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 3003: new mexico west: nad27 -<3003> proj=tmerc datum=NAD27 -lon_0=-107d50 lat_0=31 k=.9999166666666667 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 3101: new york east: nad27 -<3101> proj=tmerc datum=NAD27 -lon_0=-74d20 lat_0=40 k=.9999666666666667 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 3102: new york central: nad27 -<3102> proj=tmerc datum=NAD27 -lon_0=-76d35 lat_0=40 k=.9999375 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 3103: new york west: nad27 -<3103> proj=tmerc datum=NAD27 -lon_0=-78d35 lat_0=40 k=.9999375 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 3104: new york long island: nad27 -<3104> proj=lcc datum=NAD27 -lon_0=-74 lat_1=41d2 lat_2=40d40 lat_0=40d30 -x_0=609601.2192024384 y_0=30480.06096012192 -no_defs <> - -# 3200: north carolina ---: nad27 -<3200> proj=lcc datum=NAD27 -lon_0=-79 lat_1=36d10 lat_2=34d20 lat_0=33d45 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3301: north dakota north: nad27 -<3301> proj=lcc datum=NAD27 -lon_0=-100d30 lat_1=48d44 lat_2=47d26 lat_0=47 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3302: north dakota south: nad27 -<3302> proj=lcc datum=NAD27 -lon_0=-100d30 lat_1=47d29 lat_2=46d11 lat_0=45d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3401: ohio north: nad27 -<3401> proj=lcc datum=NAD27 -lon_0=-82d30 lat_1=41d42 lat_2=40d26 lat_0=39d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3402: ohio south: nad27 -<3402> proj=lcc datum=NAD27 -lon_0=-82d30 lat_1=40d2 lat_2=38d44 lat_0=38 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3501: oklahoma north: nad27 -<3501> proj=lcc datum=NAD27 -lon_0=-98 lat_1=36d46 lat_2=35d34 lat_0=35 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3502: oklahoma south: nad27 -<3502> proj=lcc datum=NAD27 -lon_0=-98 lat_1=35d14 lat_2=33d56 lat_0=33d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3601: oregon north: nad27 -<3601> proj=lcc datum=NAD27 -lon_0=-120d30 lat_1=46 lat_2=44d20 lat_0=43d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3602: oregon south: nad27 -<3602> proj=lcc datum=NAD27 -lon_0=-120d30 lat_1=44 lat_2=42d20 lat_0=41d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3701: pennsylvania north: nad27 -<3701> proj=lcc datum=NAD27 -lon_0=-77d45 lat_1=41d57 lat_2=40d53 lat_0=40d10 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3702: pennsylvania south: nad27 -<3702> proj=lcc datum=NAD27 -lon_0=-77d45 lat_1=40d58 lat_2=39d56 lat_0=39d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3800: rhode island ---: nad27 -<3800> proj=tmerc datum=NAD27 -lon_0=-71d30 lat_0=41d5 k=.99999375 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 3901: south carolina north: nad27 -<3901> proj=lcc datum=NAD27 -lon_0=-81 lat_1=34d58 lat_2=33d46 lat_0=33 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 3902: south carolina south: nad27 -<3902> proj=lcc datum=NAD27 -lon_0=-81 lat_1=33d40 lat_2=32d20 lat_0=31d50 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4001: south dakota north: nad27 -<4001> proj=lcc datum=NAD27 -lon_0=-100 lat_1=45d41 lat_2=44d25 lat_0=43d50 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4002: south dakota south: nad27 -<4002> proj=lcc datum=NAD27 -lon_0=-100d20 lat_1=44d24 lat_2=42d50 lat_0=42d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4100: tennessee ---: nad27 -<4100> proj=lcc datum=NAD27 -lon_0=-86 lat_1=36d25 lat_2=35d15 lat_0=34d40 -x_0=609601.2192024384 y_0=30480.06096012192 -no_defs <> - -# 4201: texas north: nad27 -<4201> proj=lcc datum=NAD27 -lon_0=-101d30 lat_1=36d11 lat_2=34d39 lat_0=34 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4202: texas north central: nad27 -<4202> proj=lcc datum=NAD27 -lon_0=-97d30 lat_1=33d58 lat_2=32d8 lat_0=31d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4203: texas central: nad27 -<4203> proj=lcc datum=NAD27 -lon_0=-100d20 lat_1=31d53 lat_2=30d7 lat_0=29d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4204: texas south central: nad27 -<4204> proj=lcc datum=NAD27 -lon_0=-99 lat_1=30d17 lat_2=28d23 lat_0=27d50 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4205: texas south: nad27 -<4205> proj=lcc datum=NAD27 -lon_0=-98d30 lat_1=27d50 lat_2=26d10 lat_0=25d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4301: utah north: nad27 -<4301> proj=lcc datum=NAD27 -lon_0=-111d30 lat_1=41d47 lat_2=40d43 lat_0=40d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4302: utah central: nad27 -<4302> proj=lcc datum=NAD27 -lon_0=-111d30 lat_1=40d39 lat_2=39d1 lat_0=38d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4303: utah south: nad27 -<4303> proj=lcc datum=NAD27 -lon_0=-111d30 lat_1=38d21 lat_2=37d13 lat_0=36d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4400: vermont ---: nad27 -<4400> proj=tmerc datum=NAD27 -lon_0=-72d30 lat_0=42d30 k=.9999642857142857 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 4501: virginia north: nad27 -<4501> proj=lcc datum=NAD27 -lon_0=-78d30 lat_1=39d12 lat_2=38d2 lat_0=37d40 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4502: virginia south: nad27 -<4502> proj=lcc datum=NAD27 -lon_0=-78d30 lat_1=37d58 lat_2=36d46 lat_0=36d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4601: washington north: nad27 -<4601> proj=lcc datum=NAD27 -lon_0=-120d50 lat_1=48d44 lat_2=47d30 lat_0=47 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4602: washington south: nad27 -<4602> proj=lcc datum=NAD27 -lon_0=-120d30 lat_1=47d20 lat_2=45d50 lat_0=45d20 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4701: west virginia north: nad27 -<4701> proj=lcc datum=NAD27 -lon_0=-79d30 lat_1=40d15 lat_2=39 lat_0=38d30 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4702: west virginia south: nad27 -<4702> proj=lcc datum=NAD27 -lon_0=-81 lat_1=38d53 lat_2=37d29 lat_0=37 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4801: wisconsin north: nad27 -<4801> proj=lcc datum=NAD27 -lon_0=-90 lat_1=46d46 lat_2=45d34 lat_0=45d10 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4802: wisconsin central: nad27 -<4802> proj=lcc datum=NAD27 -lon_0=-90 lat_1=45d30 lat_2=44d15 lat_0=43d50 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4803: wisconsin south: nad27 -<4803> proj=lcc datum=NAD27 -lon_0=-90 lat_1=44d4 lat_2=42d44 lat_0=42 -x_0=609601.2192024384 y_0=0 -no_defs <> - -# 4901: wyoming east: nad27 -<4901> proj=tmerc datum=NAD27 -lon_0=-105d10 lat_0=40d40 k=.9999411764705882 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 4902: wyoming east central: nad27 -<4902> proj=tmerc datum=NAD27 -lon_0=-107d20 lat_0=40d40 k=.9999411764705882 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 4903: wyoming west central: nad27 -<4903> proj=tmerc datum=NAD27 -lon_0=-108d45 lat_0=40d40 k=.9999411764705882 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 4904: wyoming west: nad27 -<4904> proj=tmerc datum=NAD27 -lon_0=-110d5 lat_0=40d40 k=.9999411764705882 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5001: alaska zone no. 1: nad27 -<5001> proj=omerc datum=NAD27 -k=.9999 lonc=-133d40 lat_0=57 alpha=-36d52'11.6315 -x_0=818585.5672270928 y_0=575219.2451072642 -no_defs <> - -# 5002: alaska zone no. 2: nad27 -<5002> proj=tmerc datum=NAD27 -lon_0=-142 lat_0=54 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5003: alaska zone no. 3: nad27 -<5003> proj=tmerc datum=NAD27 -lon_0=-146 lat_0=54 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5004: alaska zone no. 4: nad27 -<5004> proj=tmerc datum=NAD27 -lon_0=-150 lat_0=54 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5005: alaska zone no. 5: nad27 -<5005> proj=tmerc datum=NAD27 -lon_0=-154 lat_0=54 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5006: alaska zone no. 6: nad27 -<5006> proj=tmerc datum=NAD27 -lon_0=-158 lat_0=54 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5007: alaska zone no. 7: nad27 -<5007> proj=tmerc datum=NAD27 -lon_0=-162 lat_0=54 k=.9999 -x_0=213360.4267208534 y_0=0 -no_defs <> - -# 5008: alaska zone no. 8: nad27 -<5008> proj=tmerc datum=NAD27 -lon_0=-166 lat_0=54 k=.9999 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5009: alaska zone no. 9: nad27 -<5009> proj=tmerc datum=NAD27 -lon_0=-170 lat_0=54 k=.9999 -x_0=182880.3657607315 y_0=0 -no_defs <> - -# 5201: puerto rico and virgin islands: nad27 -<5201> proj=lcc datum=NAD27 -lon_0=-66d26 lat_1=18d26 lat_2=18d2 lat_0=17d50 -x_0=152400.3048006096 y_0=0 -no_defs <> - -# 5202: virgin islands st. croix: nad27 -<5202> proj=lcc datum=NAD27 -lon_0=-66d26 lat_1=18d26 lat_2=18d2 lat_0=17d50 -x_0=152400.3048006096 y_0=30480.06096012192 -no_defs <> - -# 5400: guam island: nad27 -<5400> proj=poly datum=NAD27 -x_0=50000 y_0=50000 lon_0=144d44'55.50254 lat_0=13d28'20.87887 -no_defs <> - diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/nad83 b/.venv/lib/python3.12/site-packages/fiona/proj_data/nad83 deleted file mode 100644 index 1b65f519..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/nad83 +++ /dev/null @@ -1,745 +0,0 @@ -# SCCSID @(#)nad83 4.1 92/12/20 GIE -# proj +init files for: -# -# State Plane Coordinate Systems, -# North American Datum 1983 - - +lastupdate=1992-12-20 -# 101: alabama east: nad83 -<101> proj=tmerc datum=NAD83 -lon_0=-85d50 lat_0=30d30 k=.99996 -x_0=200000 y_0=0 -no_defs <> - -# 102: alabama west: nad83 -<102> proj=tmerc datum=NAD83 -lon_0=-87d30 lat_0=30 k=.9999333333333333 -x_0=600000 y_0=0 -no_defs <> - -# 5010: alaska zone no. 10: nad83 -<5010> proj=lcc datum=NAD83 -lon_0=-176 lat_1=53d50 lat_2=51d50 lat_0=51 -x_0=1000000 y_0=0 -no_defs <> - -# 201: arizona east: nad83 -<201> proj=tmerc datum=NAD83 -lon_0=-110d10 lat_0=31 k=.9999 -x_0=213360 y_0=0 -no_defs <> - -# 202: arizona central: nad83 -<202> proj=tmerc datum=NAD83 -lon_0=-111d55 lat_0=31 k=.9999 -x_0=213360 y_0=0 -no_defs <> - -# 203: arizona west: nad83 -<203> proj=tmerc datum=NAD83 -lon_0=-113d45 lat_0=31 k=.9999333333333333 -x_0=213360 y_0=0 -no_defs <> - -# 301: arkansas north: nad83 -<301> proj=lcc datum=NAD83 -lon_0=-92 lat_1=36d14 lat_2=34d56 lat_0=34d20 -x_0=400000 y_0=0 -no_defs <> - -# 302: arkansas south: nad83 -<302> proj=lcc datum=NAD83 -lon_0=-92 lat_1=34d46 lat_2=33d18 lat_0=32d40 -x_0=400000 y_0=400000 -no_defs <> - -# 401: california i: nad83 -<401> proj=lcc datum=NAD83 -lon_0=-122 lat_1=41d40 lat_2=40 lat_0=39d20 -x_0=2000000 y_0=500000 -no_defs <> - -# 402: california ii: nad83 -<402> proj=lcc datum=NAD83 -lon_0=-122 lat_1=39d50 lat_2=38d20 lat_0=37d40 -x_0=2000000 y_0=500000 -no_defs <> - -# 403: california iii: nad83 -<403> proj=lcc datum=NAD83 -lon_0=-120d30 lat_1=38d26 lat_2=37d4 lat_0=36d30 -x_0=2000000 y_0=500000 -no_defs <> - -# 404: california iv: nad83 -<404> proj=lcc datum=NAD83 -lon_0=-119 lat_1=37d15 lat_2=36 lat_0=35d20 -x_0=2000000 y_0=500000 -no_defs <> - -# 405: california v: nad83 -<405> proj=lcc datum=NAD83 -lon_0=-118 lat_1=35d28 lat_2=34d2 lat_0=33d30 -x_0=2000000 y_0=500000 -no_defs <> - -# 406: california vi: nad83 -<406> proj=lcc datum=NAD83 -lon_0=-116d15 lat_1=33d53 lat_2=32d47 lat_0=32d10 -x_0=2000000 y_0=500000 -no_defs <> - -# 501: colorado north: nad83 -<501> proj=lcc datum=NAD83 -lon_0=-105d30 lat_1=40d47 lat_2=39d43 lat_0=39d20 -x_0=914401.8289 y_0=304800.6096 -no_defs <> - -# 502: colorado central: nad83 -<502> proj=lcc datum=NAD83 -lon_0=-105d30 lat_1=39d45 lat_2=38d27 lat_0=37d50 -x_0=914401.8289 y_0=304800.6096 -no_defs <> - -# 503: colorado south: nad83 -<503> proj=lcc datum=NAD83 -lon_0=-105d30 lat_1=38d26 lat_2=37d14 lat_0=36d40 -x_0=914401.8289 y_0=304800.6096 -no_defs <> - -# 600: connecticut ---: nad83 -<600> proj=lcc datum=NAD83 -lon_0=-72d45 lat_1=41d52 lat_2=41d12 lat_0=40d50 -x_0=304800.6096 y_0=152400.3048 -no_defs <> - -# 700: delaware ---: nad83 -<700> proj=tmerc datum=NAD83 -lon_0=-75d25 lat_0=38 k=.999995 -x_0=200000 y_0=0 -no_defs <> - -# 901: florida east: nad83 -<901> proj=tmerc datum=NAD83 -lon_0=-81 lat_0=24d20 k=.9999411764705882 -x_0=200000 y_0=0 -no_defs <> - -# 902: florida west: nad83 -<902> proj=tmerc datum=NAD83 -lon_0=-82 lat_0=24d20 k=.9999411764705882 -x_0=200000 y_0=0 -no_defs <> - -# 903: florida north: nad83 -<903> proj=lcc datum=NAD83 -lon_0=-84d30 lat_1=30d45 lat_2=29d35 lat_0=29 -x_0=600000 y_0=0 -no_defs <> - -# 1001: georgia east: nad83 -<1001> proj=tmerc datum=NAD83 -lon_0=-82d10 lat_0=30 k=.9999 -x_0=200000 y_0=0 -no_defs <> - -# 1002: georgia west: nad83 -<1002> proj=tmerc datum=NAD83 -lon_0=-84d10 lat_0=30 k=.9999 -x_0=700000 y_0=0 -no_defs <> - -# 5101: hawaii 1: nad83 -<5101> proj=tmerc datum=NAD83 -lon_0=-155d30 lat_0=18d50 k=.9999666666666667 -x_0=500000 y_0=0 -no_defs <> - -# 5102: hawaii 2: nad83 -<5102> proj=tmerc datum=NAD83 -lon_0=-156d40 lat_0=20d20 k=.9999666666666667 -x_0=500000 y_0=0 -no_defs <> - -# 5103: hawaii 3: nad83 -<5103> proj=tmerc datum=NAD83 -lon_0=-158 lat_0=21d10 k=.99999 -x_0=500000 y_0=0 -no_defs <> - -# 5104: hawaii 4: nad83 -<5104> proj=tmerc datum=NAD83 -lon_0=-159d30 lat_0=21d50 k=.99999 -x_0=500000 y_0=0 -no_defs <> - -# 5105: hawaii 5: nad83 -<5105> proj=tmerc datum=NAD83 -lon_0=-160d10 lat_0=21d40 k=1 -x_0=500000 y_0=0 -no_defs <> - -# 1101: idaho east: nad83 -<1101> proj=tmerc datum=NAD83 -lon_0=-112d10 lat_0=41d40 k=.9999473684210526 -x_0=200000 y_0=0 -no_defs <> - -# 1102: idaho central: nad83 -<1102> proj=tmerc datum=NAD83 -lon_0=-114 lat_0=41d40 k=.9999473684210526 -x_0=500000 y_0=0 -no_defs <> - -# 1103: idaho west: nad83 -<1103> proj=tmerc datum=NAD83 -lon_0=-115d45 lat_0=41d40 k=.9999333333333333 -x_0=800000 y_0=0 -no_defs <> - -# 1201: illinois east: nad83 -<1201> proj=tmerc datum=NAD83 -lon_0=-88d20 lat_0=36d40 k=.999975 -x_0=300000 y_0=0 -no_defs <> - -# 1202: illinois west: nad83 -<1202> proj=tmerc datum=NAD83 -lon_0=-90d10 lat_0=36d40 k=.9999411764705882 -x_0=700000 y_0=0 -no_defs <> - -# 1301: indiana east: nad83 -<1301> proj=tmerc datum=NAD83 -lon_0=-85d40 lat_0=37d30 k=.9999666666666667 -x_0=100000 y_0=250000 -no_defs <> - -# 1302: indiana west: nad83 -<1302> proj=tmerc datum=NAD83 -lon_0=-87d5 lat_0=37d30 k=.9999666666666667 -x_0=900000 y_0=250000 -no_defs <> - -# 1401: iowa north: nad83 -<1401> proj=lcc datum=NAD83 -lon_0=-93d30 lat_1=43d16 lat_2=42d4 lat_0=41d30 -x_0=1500000 y_0=1000000 -no_defs <> - -# 1402: iowa south: nad83 -<1402> proj=lcc datum=NAD83 -lon_0=-93d30 lat_1=41d47 lat_2=40d37 lat_0=40 -x_0=500000 y_0=0 -no_defs <> - -# 1501: kansas north: nad83 -<1501> proj=lcc datum=NAD83 -lon_0=-98 lat_1=39d47 lat_2=38d43 lat_0=38d20 -x_0=400000 y_0=0 -no_defs <> - -# 1502: kansas south: nad83 -<1502> proj=lcc datum=NAD83 -lon_0=-98d30 lat_1=38d34 lat_2=37d16 lat_0=36d40 -x_0=400000 y_0=400000 -no_defs <> - -# 1601: kentucky north: nad83 -<1601> proj=lcc datum=NAD83 -lon_0=-84d15 lat_1=38d58 lat_2=37d58 lat_0=37d30 -x_0=500000 y_0=0 -no_defs <> - -# 1602: kentucky south: nad83 -<1602> proj=lcc datum=NAD83 -lon_0=-85d45 lat_1=37d56 lat_2=36d44 lat_0=36d20 -x_0=500000 y_0=500000 -no_defs <> - -# 1701: louisiana north: nad83 -<1701> proj=lcc datum=NAD83 -lon_0=-92d30 lat_1=32d40 lat_2=31d10 lat_0=30d30 -x_0=1000000 y_0=0 -no_defs <> - -# 1702: louisiana south: nad83 -<1702> proj=lcc datum=NAD83 -lon_0=-91d20 lat_1=30d42 lat_2=29d18 lat_0=28d30 -x_0=1000000 y_0=0 -no_defs <> - -# 1703: louisiana offshore: nad83 -<1703> proj=lcc datum=NAD83 -lon_0=-91d20 lat_1=27d50 lat_2=26d10 lat_0=25d30 -x_0=1000000 y_0=0 -no_defs <> - -# 1801: maine east: nad83 -<1801> proj=tmerc datum=NAD83 -lon_0=-68d30 lat_0=43d40 k=.9999 -x_0=300000 y_0=0 -no_defs <> - -# 1802: maine west: nad83 -<1802> proj=tmerc datum=NAD83 -lon_0=-70d10 lat_0=42d50 k=.9999666666666667 -x_0=900000 y_0=0 -no_defs <> - -# 1900: maryland ---: nad83 -<1900> proj=lcc datum=NAD83 -lon_0=-77 lat_1=39d27 lat_2=38d18 lat_0=37d40 -x_0=400000 y_0=0 -no_defs <> - -# 2001: massachusetts mainland: nad83 -<2001> proj=lcc datum=NAD83 -lon_0=-71d30 lat_1=42d41 lat_2=41d43 lat_0=41 -x_0=200000 y_0=750000 -no_defs <> - -# 2002: massachusetts island: nad83 -<2002> proj=lcc datum=NAD83 -lon_0=-70d30 lat_1=41d29 lat_2=41d17 lat_0=41 -x_0=500000 y_0=0 -no_defs <> - -# 2111: michigan north: nad83 -<2111> proj=lcc datum=NAD83 -lon_0=-87 lat_1=47d5 lat_2=45d29 lat_0=44d47 -x_0=8000000 y_0=0 -no_defs <> - -# 2112: michigan central/l: nad83 -<2112> proj=lcc datum=NAD83 -lon_0=-84d22 lat_1=45d42 lat_2=44d11 lat_0=43d19 -x_0=6000000 y_0=0 -no_defs <> - -# 2113: michigan south: nad83 -<2113> proj=lcc datum=NAD83 -lon_0=-84d22 lat_1=43d40 lat_2=42d6 lat_0=41d30 -x_0=4000000 y_0=0 -no_defs <> - -# 2201: minnesota north: nad83 -<2201> proj=lcc datum=NAD83 -lon_0=-93d6 lat_1=48d38 lat_2=47d2 lat_0=46d30 -x_0=800000 y_0=100000 -no_defs <> - -# 2202: minnesota central: nad83 -<2202> proj=lcc datum=NAD83 -lon_0=-94d15 lat_1=47d3 lat_2=45d37 lat_0=45 -x_0=800000 y_0=100000 -no_defs <> - -# 2203: minnesota south: nad83 -<2203> proj=lcc datum=NAD83 -lon_0=-94 lat_1=45d13 lat_2=43d47 lat_0=43 -x_0=800000 y_0=100000 -no_defs <> - -# 2301: mississippi east: nad83 -<2301> proj=tmerc datum=NAD83 -lon_0=-88d50 lat_0=29d30 k=.99995 -x_0=300000 y_0=0 -no_defs <> - -# 2302: mississippi west: nad83 -<2302> proj=tmerc datum=NAD83 -lon_0=-90d20 lat_0=29d30 k=.99995 -x_0=700000 y_0=0 -no_defs <> - -# 2401: missouri east: nad83 -<2401> proj=tmerc datum=NAD83 -lon_0=-90d30 lat_0=35d50 k=.9999333333333333 -x_0=250000 y_0=0 -no_defs <> - -# 2402: missouri central: nad83 -<2402> proj=tmerc datum=NAD83 -lon_0=-92d30 lat_0=35d50 k=.9999333333333333 -x_0=500000 y_0=0 -no_defs <> - -# 2403: missouri west: nad83 -<2403> proj=tmerc datum=NAD83 -lon_0=-94d30 lat_0=36d10 k=.9999411764705882 -x_0=850000 y_0=0 -no_defs <> - -# 2500: montana: nad83 -<2500> proj=lcc datum=NAD83 -lon_0=-109d30 lat_1=49 lat_2=45 lat_0=44d15 -x_0=600000 y_0=0 -no_defs <> - -# 2600: nebraska: nad83 -<2600> proj=lcc datum=NAD83 -lon_0=-100 lat_1=43 lat_2=40 lat_0=39d50 -x_0=500000 y_0=0 -no_defs <> - -# 2701: nevada east: nad83 -<2701> proj=tmerc datum=NAD83 -lon_0=-115d35 lat_0=34d45 k=.9999 -x_0=200000 y_0=8000000 -no_defs <> - -# 2702: nevada central: nad83 -<2702> proj=tmerc datum=NAD83 -lon_0=-116d40 lat_0=34d45 k=.9999 -x_0=500000 y_0=6000000 -no_defs <> - -# 2703: nevada west: nad83 -<2703> proj=tmerc datum=NAD83 -lon_0=-118d35 lat_0=34d45 k=.9999 -x_0=800000 y_0=4000000 -no_defs <> - -# 2800: new hampshire ---: nad83 -<2800> proj=tmerc datum=NAD83 -lon_0=-71d40 lat_0=42d30 k=.9999666666666667 -x_0=300000 y_0=0 -no_defs <> - -# 2900: new jersey ---: nad83 -<2900> proj=tmerc datum=NAD83 -lon_0=-74d30 lat_0=38d50 k=.9999 -x_0=150000 y_0=0 -no_defs <> - -# 3001: new mexico east: nad83 -<3001> proj=tmerc datum=NAD83 -lon_0=-104d20 lat_0=31 k=.9999090909090909 -x_0=165000 y_0=0 -no_defs <> - -# 3002: new mexico central: nad83 -<3002> proj=tmerc datum=NAD83 -lon_0=-106d15 lat_0=31 k=.9999 -x_0=500000 y_0=0 -no_defs <> - -# 3003: new mexico west: nad83 -<3003> proj=tmerc datum=NAD83 -lon_0=-107d50 lat_0=31 k=.9999166666666667 -x_0=830000 y_0=0 -no_defs <> - -# 3101: new york east: nad83 -<3101> proj=tmerc datum=NAD83 -lon_0=-74d30 lat_0=38d50 k=.9999 -x_0=150000 y_0=0 -no_defs <> - -# 3102: new york central: nad83 -<3102> proj=tmerc datum=NAD83 -lon_0=-76d35 lat_0=40 k=.9999375 -x_0=250000 y_0=0 -no_defs <> - -# 3103: new york west: nad83 -<3103> proj=tmerc datum=NAD83 -lon_0=-78d35 lat_0=40 k=.9999375 -x_0=350000 y_0=0 -no_defs <> - -# 3104: new york long island: nad83 -<3104> proj=lcc datum=NAD83 -lon_0=-74 lat_1=41d2 lat_2=40d40 lat_0=40d10 -x_0=300000 y_0=0 -no_defs <> - -# 3200: north carolina ---: nad83 -<3200> proj=lcc datum=NAD83 -lon_0=-79 lat_1=36d10 lat_2=34d20 lat_0=33d45 -x_0=609601.22 y_0=0 -no_defs <> - -# 3301: north dakota north: nad83 -<3301> proj=lcc datum=NAD83 -lon_0=-100d30 lat_1=48d44 lat_2=47d26 lat_0=47 -x_0=600000 y_0=0 -no_defs <> - -# 3302: north dakota south: nad83 -<3302> proj=lcc datum=NAD83 -lon_0=-100d30 lat_1=47d29 lat_2=46d11 lat_0=45d40 -x_0=600000 y_0=0 -no_defs <> - -# 3401: ohio north: nad83 -<3401> proj=lcc datum=NAD83 -lon_0=-82d30 lat_1=41d42 lat_2=40d26 lat_0=39d40 -x_0=600000 y_0=0 -no_defs <> - -# 3402: ohio south: nad83 -<3402> proj=lcc datum=NAD83 -lon_0=-82d30 lat_1=40d2 lat_2=38d44 lat_0=38 -x_0=600000 y_0=0 -no_defs <> - -# 3501: oklahoma north: nad83 -<3501> proj=lcc datum=NAD83 -lon_0=-98 lat_1=36d46 lat_2=35d34 lat_0=35 -x_0=600000 y_0=0 -no_defs <> - -# 3502: oklahoma south: nad83 -<3502> proj=lcc datum=NAD83 -lon_0=-98 lat_1=35d14 lat_2=33d56 lat_0=33d20 -x_0=600000 y_0=0 -no_defs <> - -# 3601: oregon north: nad83 -<3601> proj=lcc datum=NAD83 -lon_0=-120d30 lat_1=46 lat_2=44d20 lat_0=43d40 -x_0=2500000 y_0=0 -no_defs <> - -# 3602: oregon south: nad83 -<3602> proj=lcc datum=NAD83 -lon_0=-120d30 lat_1=44 lat_2=42d20 lat_0=41d40 -x_0=1500000 y_0=0 -no_defs <> - -# 3701: pennsylvania north: nad83 -<3701> proj=lcc datum=NAD83 -lon_0=-77d45 lat_1=41d57 lat_2=40d53 lat_0=40d10 -x_0=600000 y_0=0 -no_defs <> - -# 3702: pennsylvania south: nad83 -<3702> proj=lcc datum=NAD83 -lon_0=-77d45 lat_1=40d58 lat_2=39d56 lat_0=39d20 -x_0=600000 y_0=0 -no_defs <> - -# 3800: rhode island ---: nad83 -<3800> proj=tmerc datum=NAD83 -lon_0=-71d30 lat_0=41d5 k=.99999375 -x_0=100000 y_0=0 -no_defs <> - -# 3900: south carolina: nad83 -<3900> proj=lcc datum=NAD83 -lon_0=-81 lat_1=34d50 lat_2=32d30 lat_0=31d50 -x_0=609600 y_0=0 -no_defs <> - -# 4001: south dakota north: nad83 -<4001> proj=lcc datum=NAD83 -lon_0=-100 lat_1=45d41 lat_2=44d25 lat_0=43d50 -x_0=600000 y_0=0 -no_defs <> - -# 4002: south dakota south: nad83 -<4002> proj=lcc datum=NAD83 -lon_0=-100d20 lat_1=44d24 lat_2=42d50 lat_0=42d20 -x_0=600000 y_0=0 -no_defs <> - -# 4100: tennessee ---: nad83 -<4100> proj=lcc datum=NAD83 -lon_0=-86 lat_1=36d25 lat_2=35d15 lat_0=34d20 -x_0=600000 y_0=0 -no_defs <> - -# 4201: texas north: nad83 -<4201> proj=lcc datum=NAD83 -lon_0=-101d30 lat_1=36d11 lat_2=34d39 lat_0=34 -x_0=200000 y_0=1000000 -no_defs <> - -# 4202: texas north central: nad83 -<4202> proj=lcc datum=NAD83 -lon_0=-98d30 lat_1=33d58 lat_2=32d8 lat_0=31d40 -x_0=600000 y_0=2000000 -no_defs <> - -# 4203: texas central: nad83 -<4203> proj=lcc datum=NAD83 -lon_0=-100d20 lat_1=31d53 lat_2=30d7 lat_0=29d40 -x_0=700000 y_0=3000000 -no_defs <> - -# 4204: texas south central: nad83 -<4204> proj=lcc datum=NAD83 -lon_0=-99 lat_1=30d17 lat_2=28d23 lat_0=27d50 -x_0=600000 y_0=4000000 -no_defs <> - -# 4205: texas south: nad83 -<4205> proj=lcc datum=NAD83 -lon_0=-98d30 lat_1=27d50 lat_2=26d10 lat_0=25d40 -x_0=300000 y_0=5000000 -no_defs <> - -# 4301: utah north: nad83 -<4301> proj=lcc datum=NAD83 -lon_0=-111d30 lat_1=41d47 lat_2=40d43 lat_0=40d20 -x_0=500000 y_0=1000000 -no_defs <> - -# 4302: utah central: nad83 -<4302> proj=lcc datum=NAD83 -lon_0=-111d30 lat_1=40d39 lat_2=39d1 lat_0=38d20 -x_0=500000 y_0=2000000 -no_defs <> - -# 4303: utah south: nad83 -<4303> proj=lcc datum=NAD83 -lon_0=-111d30 lat_1=38d21 lat_2=37d13 lat_0=36d40 -x_0=500000 y_0=3000000 -no_defs <> - -# 4400: vermont ---: nad83 -<4400> proj=tmerc datum=NAD83 -lon_0=-72d30 lat_0=42d30 k=.9999642857142857 -x_0=500000 y_0=0 -no_defs <> - -# 4501: virginia north: nad83 -<4501> proj=lcc datum=NAD83 -lon_0=-78d30 lat_1=39d12 lat_2=38d2 lat_0=37d40 -x_0=3500000 y_0=2000000 -no_defs <> - -# 4502: virginia south: nad83 -<4502> proj=lcc datum=NAD83 -lon_0=-78d30 lat_1=37d58 lat_2=36d46 lat_0=36d20 -x_0=3500000 y_0=1000000 -no_defs <> - -# 4601: washington north: nad83 -<4601> proj=lcc datum=NAD83 -lon_0=-120d50 lat_1=48d44 lat_2=47d30 lat_0=47 -x_0=500000 y_0=0 -no_defs <> - -# 4602: washington south: nad83 -<4602> proj=lcc datum=NAD83 -lon_0=-120d30 lat_1=47d20 lat_2=45d50 lat_0=45d20 -x_0=500000 y_0=0 -no_defs <> - -# 4701: west virginia north: nad83 -<4701> proj=lcc datum=NAD83 -lon_0=-79d30 lat_1=40d15 lat_2=39 lat_0=38d30 -x_0=600000 y_0=0 -no_defs <> - -# 4702: west virginia south: nad83 -<4702> proj=lcc datum=NAD83 -lon_0=-81 lat_1=38d53 lat_2=37d29 lat_0=37 -x_0=600000 y_0=0 -no_defs <> - -# 4801: wisconsin north: nad83 -<4801> proj=lcc datum=NAD83 -lon_0=-90 lat_1=46d46 lat_2=45d34 lat_0=45d10 -x_0=600000 y_0=0 -no_defs <> - -# 4802: wisconsin central: nad83 -<4802> proj=lcc datum=NAD83 -lon_0=-90 lat_1=45d30 lat_2=44d15 lat_0=43d50 -x_0=600000 y_0=0 -no_defs <> - -# 4803: wisconsin south: nad83 -<4803> proj=lcc datum=NAD83 -lon_0=-90 lat_1=44d4 lat_2=42d44 lat_0=42 -x_0=600000 y_0=0 -no_defs <> - -# 4901: wyoming east: nad83 -<4901> proj=tmerc datum=NAD83 -lon_0=-105d10 lat_0=40d30 k=.9999375 -x_0=200000 y_0=0 -no_defs <> - -# 4902: wyoming east central: nad83 -<4902> proj=tmerc datum=NAD83 -lon_0=-107d20 lat_0=40d30 k=.9999375 -x_0=400000 y_0=100000 -no_defs <> - -# 4903: wyoming west central: nad83 -<4903> proj=tmerc datum=NAD83 -lon_0=-108d45 lat_0=40d30 k=.9999375 -x_0=600000 y_0=0 -no_defs <> - -# 4904: wyoming west: nad83 -<4904> proj=tmerc datum=NAD83 -lon_0=-110d5 lat_0=40d30 k=.9999375 -x_0=800000 y_0=100000 -no_defs <> - -# 5001: alaska zone no. 1: nad83 -<5001> proj=omerc datum=NAD83 -k=.9999 lonc=-133d40 lat_0=57 alpha=-36d52'11.6315 -x_0=818676.7344011233 y_0=575097.6888751927 -no_defs <> - -# 5002: alaska zone no. 2: nad83 -<5002> proj=tmerc datum=NAD83 -lon_0=-142 lat_0=54 k=.9999 -x_0=500000 y_0=0 -no_defs <> - -# 5003: alaska zone no. 3: nad83 -<5003> proj=tmerc datum=NAD83 -lon_0=-146 lat_0=54 k=.9999 -x_0=500000 y_0=0 -no_defs <> - -# 5004: alaska zone no. 4: nad83 -<5004> proj=tmerc datum=NAD83 -lon_0=-150 lat_0=54 k=.9999 -x_0=500000 y_0=0 -no_defs <> - -# 5005: alaska zone no. 5: nad83 -<5005> proj=tmerc datum=NAD83 -lon_0=-154 lat_0=54 k=.9999 -x_0=500000 y_0=0 -no_defs <> - -# 5006: alaska zone no. 6: nad83 -<5006> proj=tmerc datum=NAD83 -lon_0=-158 lat_0=54 k=.9999 -x_0=500000 y_0=0 -no_defs <> - -# 5007: alaska zone no. 7: nad83 -<5007> proj=tmerc datum=NAD83 -lon_0=-162 lat_0=54 k=.9999 -x_0=500000 y_0=0 -no_defs <> - -# 5008: alaska zone no. 8: nad83 -<5008> proj=tmerc datum=NAD83 -lon_0=-166 lat_0=54 k=.9999 -x_0=500000 y_0=0 -no_defs <> - -# 5009: alaska zone no. 9: nad83 -<5009> proj=tmerc datum=NAD83 -lon_0=-170 lat_0=54 k=.9999 -x_0=500000 y_0=0 -no_defs <> - -# 5200: puerto rico and virgin islands: nad83 -<5200> proj=lcc datum=NAD83 -lon_0=-66d26 lat_1=18d26 lat_2=18d2 lat_0=17d50 -x_0=200000 y_0=200000 -no_defs <> - diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/other.extra b/.venv/lib/python3.12/site-packages/fiona/proj_data/other.extra deleted file mode 100644 index 4b5797e9..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/other.extra +++ /dev/null @@ -1,53 +0,0 @@ -## NAD83 / BC Albers (this has been superseded but is kept for compatibility) -<42102> +proj=aea +ellps=GRS80 +lat_0=45 +lon_0=-126.0 +lat_1=50.0 +lat_2=58.5 +x_0=1000000.0 +y_0=0 +datum=NAD83 +units=m no_defs <> - - -# -# OGC-defined extended codes (41000--41999) -# see http://www.digitalearth.gov/wmt/auto.html -# -# WGS84 / Simple Mercator -<41001> +proj=merc +lat_ts=0 +lon_0=0 +k=1.000000 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs no_defs <> -# -# CubeWerx-defined extended codes (42100--42199) -# -# WGS 84 / LCC Canada -<42101> +proj=lcc +lat_1=49 +lat_2=77 +lat_0=0 +lon_0=-95 +x_0=0 +y_0=-8000000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs no_defs <> -#EPSG:42102,"PROJCS[\"NAD83 / BC Albers\",GEOGCS[\"NAD83\",DATUM[\"North_American_Datum_1983\",SPHEROID[\"GRS_1980\",6378137,298.257222101]],PRIMEM[\"Greenwich\",0],UNIT[\"Decimal_Degree\",0.0174532925199433]],PROJECTION[\"Albers_conic_equal_area\"],PARAMETER[\"central_meridian\",-126.0],PARAMETER[\"latitude_of_origin\",45],PARAMETER[\"standard_parallel_1\",50.0],PARAMETER[\"standard_parallel_2\",58.5],PARAMETER[\"false_easting\",1000000.0],PARAMETER[\"false_northing\",0],UNIT[\"Meter\",1]]" -# WGS 84 / LCC USA -<42103> +proj=lcc +lat_1=33 +lat_2=45 +lat_0=0 +lon_0=-100 +x_0=0 +y_0=0 +ellps=WGS72 +datum=WGS84 +units=m +no_defs no_defs <> -# NAD83 / MTM zone 8 Québec -<42104> +proj=tmerc +lat_0=0 +lon_0=-73.5 +k=0.999900 +x_0=304800 +y_0=0 +ellps=GRS80 +units=m +no_defs no_defs <> -# WGS84 / Merc NorthAm -<42105> +proj=merc +lat_ts=0 +lon_0=-96 +k=1.000000 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs no_defs <> -# WGS84 / Lambert Azim Mozambique -<42106> +proj=laea +lat_0=5 +lon_0=20 +x_0=0 +y_0=0 +a=6370997 +b=6370997 +datum=WGS84 +units=m +no_defs no_defs <> -# -# CubeWerx-customer definitions (42300--42399) -# -# NAD27 / Polar Stereographic / CM=-98 -<42301> +proj=stere +lat_0=90 +lon_0=-98 +x_0=0 +y_0=0 +ellps=clrk66 +datum=NAD27 +units=m +no_defs no_defs <> -# JapanOrtho.09 09 -<42302> +proj=tmerc +lat_0=36 +lon_0=139.833333333333 +k=0.999900 +x_0=0 +y_0=0 +ellps=bessel +units=m +no_defs no_defs <> -# NAD83 / Albers NorthAm -<42303> +proj=aea +lat_1=29.5 +lat_2=45.5 +lat_0=23 +lon_0=-96 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <> -# NAD83 / NRCan LCC Canada -<42304> +proj=lcc +lat_1=49 +lat_2=77 +lat_0=49 +lon_0=-95 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <> -# France_II -<42305> +proj=lcc +lat_1=45.898918964419 +lat_2=47.696014502038 +lat_0=46.8 +lon_0=2.337229166666667 +x_0=600000 +y_0=2200000 +a=6378249.2 +b=6356514.999904194 +pm=2.337229166666667 +units=m +no_defs no_defs <> -# NAD83/QC_LCC -<42306> +proj=lcc +lat_1=46 +lat_2=60 +lat_0=44 +lon_0=-68.5 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <> -# NAD83 / Texas Central - feet -<42307> +proj=lcc +lat_1=31.8833333333333 +lat_2=30.1166666666667 +lat_0=29.6666666666667 +lon_0=-100.333333333333 +x_0=700000.0000000001 +y_0=3000000 +ellps=GRS80 +datum=NAD83 +to_meter=0.3048006096012192 +no_defs no_defs <> -# NAD27 / California Albers -<42308> +proj=aea +lat_1=34 +lat_2=40.5 +lat_0=0 +lon_0=-120 +x_0=0 +y_0=-4000000 +ellps=clrk66 +datum=NAD27 +units=m +no_defs no_defs <> -# NAD 83 / LCC Canada AVHRR-2 -<42309> +proj=lcc +lat_1=49 +lat_2=77 +lat_0=0 +lon_0=-95 +x_0=0 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <> -# WGS84+GRS80 / Mercator -<42310> +proj=merc +lat_ts=0 +lon_0=0 +k=1.000000 +x_0=0 +y_0=0 +ellps=GRS80 +datum=WGS84 +units=m +no_defs no_defs <> -# NAD83 / LCC Statcan -<42311> +proj=lcc +lat_1=49 +lat_2=77 +lat_0=63.390675 +lon_0=-91.86666700000001 +x_0=6200000 +y_0=3000000 +ellps=GRS80 +datum=NAD83 +units=m +no_defs no_defs <> -# -# Funny epsgish code for google mercator - you should really use EPSG:3857 -# -<900913> +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs <> diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/proj.db b/.venv/lib/python3.12/site-packages/fiona/proj_data/proj.db deleted file mode 100644 index 153ffa6f..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/proj_data/proj.db and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/proj.ini b/.venv/lib/python3.12/site-packages/fiona/proj_data/proj.ini deleted file mode 100644 index 2353adb8..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/proj.ini +++ /dev/null @@ -1,29 +0,0 @@ -[general] -; Lines starting by ; are commented lines. -; - -; Network capabilities disabled by default. -; Can be overridden with the PROJ_NETWORK=ON environment variable. -; network = on - -; Can be overridden with the PROJ_NETWORK_ENDPOINT environment variable. -cdn_endpoint = https://cdn.proj.org - -cache_enabled = on - -cache_size_MB = 300 - -cache_ttl_sec = 86400 - -; Filename of the Certificate Authority (CA) bundle. -; Can be overriden with the PROJ_CURL_CA_BUNDLE / CURL_CA_BUNDLE environment variable. -; (added in PROJ 9.0) -; ca_bundle_path = /path/to/cabundle.pem - -; Transverse Mercator (and UTM) default algorithm: auto, evenden_snyder or poder_engsager -; * evenden_snyder is the fastest, but less accurate far from central meridian -; * poder_engsager is slower, but more accurate far from central meridian -; * default will auto-select between the two above depending on the coordinate -; to transform and will use evenden_snyder if the error in doing so is below -; 0.1 mm (for an ellipsoid of the size of Earth) -tmerc_default_algo = poder_engsager diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/projjson.schema.json b/.venv/lib/python3.12/site-packages/fiona/proj_data/projjson.schema.json deleted file mode 100644 index 6ed97b7b..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/projjson.schema.json +++ /dev/null @@ -1,1002 +0,0 @@ -{ - "$id": "https://proj.org/schemas/v0.4/projjson.schema.json", - "$schema": "http://json-schema.org/draft-07/schema#", - "description": "Schema for PROJJSON (v0.4)", - "$comment": "This file exists both in data/ and in schemas/vXXX/. Keep both in sync. And if changing the value of $id, change PROJJSON_CURRENT_VERSION accordingly in io.cpp", - - "oneOf": [ - { "$ref": "#/definitions/crs" }, - { "$ref": "#/definitions/datum" }, - { "$ref": "#/definitions/datum_ensemble" }, - { "$ref": "#/definitions/ellipsoid" }, - { "$ref": "#/definitions/prime_meridian" }, - { "$ref": "#/definitions/single_operation" }, - { "$ref": "#/definitions/concatenated_operation" } - ], - - "definitions": { - - "abridged_transformation": { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["AbridgedTransformation"] }, - "name": { "type": "string" }, - "method": { "$ref": "#/definitions/method" }, - "parameters": { - "type": "array", - "items": { "$ref": "#/definitions/parameter_value" } - }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name", "method", "parameters" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - }, - - "axis": { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["Axis"] }, - "name": { "type": "string" }, - "abbreviation": { "type": "string" }, - "direction": { "type": "string", - "enum": [ "north", - "northNorthEast", - "northEast", - "eastNorthEast", - "east", - "eastSouthEast", - "southEast", - "southSouthEast", - "south", - "southSouthWest", - "southWest", - "westSouthWest", - "west", - "westNorthWest", - "northWest", - "northNorthWest", - "up", - "down", - "geocentricX", - "geocentricY", - "geocentricZ", - "columnPositive", - "columnNegative", - "rowPositive", - "rowNegative", - "displayRight", - "displayLeft", - "displayUp", - "displayDown", - "forward", - "aft", - "port", - "starboard", - "clockwise", - "counterClockwise", - "towards", - "awayFrom", - "future", - "past", - "unspecified" ] }, - "unit": { "$ref": "#/definitions/unit" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name", "abbreviation", "direction" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - }, - - "bbox": { - "type": "object", - "properties": { - "east_longitude": { "type": "number" }, - "west_longitude": { "type": "number" }, - "south_latitude": { "type": "number" }, - "north_latitude": { "type": "number" } - }, - "required" : [ "east_longitude", "west_longitude", - "south_latitude", "north_latitude" ], - "additionalProperties": false - }, - - "bound_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["BoundCRS"] }, - "name": { "type": "string" }, - "source_crs": { "$ref": "#/definitions/crs" }, - "target_crs": { "$ref": "#/definitions/crs" }, - "transformation": { "$ref": "#/definitions/abridged_transformation" }, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "source_crs", "target_crs", "transformation" ], - "additionalProperties": false - }, - - "compound_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["CompoundCRS"] }, - "name": { "type": "string" }, - "components": { - "type": "array", - "items": { "$ref": "#/definitions/crs" } - }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "components" ], - "additionalProperties": false - }, - - "concatenated_operation": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["ConcatenatedOperation"] }, - "name": { "type": "string" }, - "source_crs": { "$ref": "#/definitions/crs" }, - "target_crs": { "$ref": "#/definitions/crs" }, - "steps": { - "type": "array", - "items": { "$ref": "#/definitions/single_operation" } - }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "source_crs", "target_crs", "steps" ], - "additionalProperties": false - }, - - "conversion": { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["Conversion"] }, - "name": { "type": "string" }, - "method": { "$ref": "#/definitions/method" }, - "parameters": { - "type": "array", - "items": { "$ref": "#/definitions/parameter_value" } - }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name", "method" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - }, - - "coordinate_system": { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["CoordinateSystem"] }, - "name": { "type": "string" }, - "subtype": { "type": "string", - "enum": ["Cartesian", - "spherical", - "ellipsoidal", - "vertical", - "ordinal", - "parametric", - "TemporalDateTime", - "TemporalCount", - "TemporalMeasure"] }, - "axis": { - "type": "array", - "items": { "$ref": "#/definitions/axis" } - }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "subtype", "axis" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - }, - - "crs": { - "oneOf": [ - { "$ref": "#/definitions/bound_crs" }, - { "$ref": "#/definitions/compound_crs" }, - { "$ref": "#/definitions/derived_engineering_crs" }, - { "$ref": "#/definitions/derived_geodetic_crs" }, - { "$ref": "#/definitions/derived_parametric_crs" }, - { "$ref": "#/definitions/derived_projected_crs" }, - { "$ref": "#/definitions/derived_temporal_crs" }, - { "$ref": "#/definitions/derived_vertical_crs" }, - { "$ref": "#/definitions/engineering_crs" }, - { "$ref": "#/definitions/geodetic_crs" }, - { "$ref": "#/definitions/parametric_crs" }, - { "$ref": "#/definitions/projected_crs" }, - { "$ref": "#/definitions/temporal_crs" }, - { "$ref": "#/definitions/vertical_crs" } - ] - }, - - "datum": { - "oneOf": [ - { "$ref": "#/definitions/geodetic_reference_frame" }, - { "$ref": "#/definitions/vertical_reference_frame" }, - { "$ref": "#/definitions/dynamic_geodetic_reference_frame" }, - { "$ref": "#/definitions/dynamic_vertical_reference_frame" }, - { "$ref": "#/definitions/temporal_datum" }, - { "$ref": "#/definitions/parametric_datum" }, - { "$ref": "#/definitions/engineering_datum" } - ] - }, - - "datum_ensemble": { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["DatumEnsemble"] }, - "name": { "type": "string" }, - "members": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - } - }, - "ellipsoid": { "$ref": "#/definitions/ellipsoid" }, - "accuracy": { "type": "string" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name", "members", "accuracy" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - }, - - "derived_engineering_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", - "enum": ["DerivedEngineeringCRS"] }, - "name": { "type": "string" }, - "base_crs": { "$ref": "#/definitions/engineering_crs" }, - "conversion": { "$ref": "#/definitions/conversion" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "base_crs", "conversion", "coordinate_system" ], - "additionalProperties": false - }, - - "derived_geodetic_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", - "enum": ["DerivedGeodeticCRS", - "DerivedGeographicCRS"] }, - "name": { "type": "string" }, - "base_crs": { "$ref": "#/definitions/geodetic_crs" }, - "conversion": { "$ref": "#/definitions/conversion" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "base_crs", "conversion", "coordinate_system" ], - "additionalProperties": false - }, - - "derived_parametric_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", - "enum": ["DerivedParametricCRS"] }, - "name": { "type": "string" }, - "base_crs": { "$ref": "#/definitions/parametric_crs" }, - "conversion": { "$ref": "#/definitions/conversion" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "base_crs", "conversion", "coordinate_system" ], - "additionalProperties": false - }, - - "derived_projected_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", - "enum": ["DerivedProjectedCRS"] }, - "name": { "type": "string" }, - "base_crs": { "$ref": "#/definitions/projected_crs" }, - "conversion": { "$ref": "#/definitions/conversion" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "base_crs", "conversion", "coordinate_system" ], - "additionalProperties": false - }, - - "derived_temporal_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", - "enum": ["DerivedTemporalCRS"] }, - "name": { "type": "string" }, - "base_crs": { "$ref": "#/definitions/temporal_crs" }, - "conversion": { "$ref": "#/definitions/conversion" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "base_crs", "conversion", "coordinate_system" ], - "additionalProperties": false - }, - - "derived_vertical_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", - "enum": ["DerivedVerticalCRS"] }, - "name": { "type": "string" }, - "base_crs": { "$ref": "#/definitions/vertical_crs" }, - "conversion": { "$ref": "#/definitions/conversion" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "base_crs", "conversion", "coordinate_system" ], - "additionalProperties": false - }, - - "dynamic_geodetic_reference_frame": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/geodetic_reference_frame" }], - "properties": { - "type": { "type": "string", "enum": ["DynamicGeodeticReferenceFrame"] }, - "name": {}, - "anchor": {}, - "ellipsoid": {}, - "prime_meridian": {}, - "frame_reference_epoch": { "type": "number" }, - "deformation_model": { "type": "string" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "ellipsoid", "frame_reference_epoch" ], - "additionalProperties": false - }, - - "dynamic_vertical_reference_frame": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/vertical_reference_frame" }], - "properties": { - "type": { "type": "string", "enum": ["DynamicVerticalReferenceFrame"] }, - "name": {}, - "anchor": {}, - "frame_reference_epoch": { "type": "number" }, - "deformation_model": { "type": "string" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "frame_reference_epoch" ], - "additionalProperties": false - }, - - "ellipsoid": { - "type": "object", - "oneOf":[ - { - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["Ellipsoid"] }, - "name": { "type": "string" }, - "semi_major_axis": { "$ref": "#/definitions/value_in_metre_or_value_and_unit" }, - "semi_minor_axis": { "$ref": "#/definitions/value_in_metre_or_value_and_unit" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name", "semi_major_axis", "semi_minor_axis" ], - "additionalProperties": false - }, - { - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["Ellipsoid"] }, - "name": { "type": "string" }, - "semi_major_axis": { "$ref": "#/definitions/value_in_metre_or_value_and_unit" }, - "inverse_flattening": { "type": "number" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name", "semi_major_axis", "inverse_flattening" ], - "additionalProperties": false - }, - { - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["Ellipsoid"] }, - "name": { "type": "string" }, - "radius": { "$ref": "#/definitions/value_in_metre_or_value_and_unit" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name", "radius" ], - "additionalProperties": false - } - ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ] - }, - - "engineering_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["EngineeringCRS"] }, - "name": { "type": "string" }, - "datum": { "$ref": "#/definitions/engineering_datum" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "datum" ], - "additionalProperties": false - }, - - "engineering_datum": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["EngineeringDatum"] }, - "name": { "type": "string" }, - "anchor": { "type": "string" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name" ], - "additionalProperties": false - }, - - "geodetic_crs": { - "type": "object", - "properties": { - "type": { "type": "string", "enum": ["GeodeticCRS", "GeographicCRS"] }, - "name": { "type": "string" }, - "datum": { - "oneOf": [ - { "$ref": "#/definitions/geodetic_reference_frame" }, - { "$ref": "#/definitions/dynamic_geodetic_reference_frame" } - ] - }, - "datum_ensemble": { "$ref": "#/definitions/datum_ensemble" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name" ], - "description": "One and only one of datum and datum_ensemble must be provided", - "allOf": [ - { "$ref": "#/definitions/object_usage" }, - { "$ref": "#/definitions/one_and_only_one_of_datum_or_datum_ensemble" } - ], - "additionalProperties": false - }, - - "geodetic_reference_frame": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["GeodeticReferenceFrame"] }, - "name": { "type": "string" }, - "anchor": { "type": "string" }, - "ellipsoid": { "$ref": "#/definitions/ellipsoid" }, - "prime_meridian": { "$ref": "#/definitions/prime_meridian" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "ellipsoid" ], - "additionalProperties": false - }, - - "id": { - "type": "object", - "properties": { - "authority": { "type": "string" }, - "code": { - "oneOf": [ { "type": "string" }, { "type": "integer" } ] - }, - "version": { - "oneOf": [ { "type": "string" }, { "type": "number" } ] - }, - "authority_citation": { "type": "string" }, - "uri": { "type": "string" } - }, - "required" : [ "authority", "code" ], - "additionalProperties": false - }, - - "ids": { - "type": "array", - "items": { "$ref": "#/definitions/id" } - }, - - "method": { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["OperationMethod"]}, - "name": { "type": "string" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - }, - - "id_ids_mutually_exclusive": { - "not": { - "type": "object", - "required": [ "id", "ids" ] - } - }, - - "one_and_only_one_of_datum_or_datum_ensemble": { - "allOf": [ - { - "not": { - "type": "object", - "required": [ "datum", "datum_ensemble" ] - } - }, - { - "oneOf": [ - { "type": "object", "required": ["datum"] }, - { "type": "object", "required": ["datum_ensemble"] } - ] - } - ] - }, - - "object_usage": { - "anyOf": [ - { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "scope": { "type": "string" }, - "area": { "type": "string" }, - "bbox": { "$ref": "#/definitions/bbox" }, - "remarks": { "type": "string" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ] - }, - { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "usages": { "$ref": "#/definitions/usages" }, - "remarks": { "type": "string" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ] - } - ] - }, - - "parameter_value": { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["ParameterValue"] }, - "name": { "type": "string" }, - "value": { - "oneOf": [ - { "type": "string" }, - { "type": "number" } - ] - }, - "unit": { "$ref": "#/definitions/unit" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name", "value" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - }, - - "parametric_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["ParametricCRS"] }, - "name": { "type": "string" }, - "datum": { "$ref": "#/definitions/parametric_datum" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "datum" ], - "additionalProperties": false - }, - - "parametric_datum": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["ParametricDatum"] }, - "name": { "type": "string" }, - "anchor": { "type": "string" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name" ], - "additionalProperties": false - }, - - "prime_meridian": { - "type": "object", - "properties": { - "$schema" : { "type": "string" }, - "type": { "type": "string", "enum": ["PrimeMeridian"] }, - "name": { "type": "string" }, - "longitude": { "$ref": "#/definitions/value_in_degree_or_value_and_unit" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "name" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - }, - - "single_operation": { - "oneOf": [ - { "$ref": "#/definitions/conversion" }, - { "$ref": "#/definitions/transformation" } - ] - }, - - "projected_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", - "enum": ["ProjectedCRS"] }, - "name": { "type": "string" }, - "base_crs": { "$ref": "#/definitions/geodetic_crs" }, - "conversion": { "$ref": "#/definitions/conversion" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "base_crs", "conversion", "coordinate_system" ], - "additionalProperties": false - }, - - "temporal_crs": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["TemporalCRS"] }, - "name": { "type": "string" }, - "datum": { "$ref": "#/definitions/temporal_datum" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "datum" ], - "additionalProperties": false - }, - - "temporal_datum": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["TemporalDatum"] }, - "name": { "type": "string" }, - "calendar": { "type": "string" }, - "time_origin": { "type": "string" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "calendar" ], - "additionalProperties": false - }, - - "transformation": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["Transformation"] }, - "name": { "type": "string" }, - "source_crs": { "$ref": "#/definitions/crs" }, - "target_crs": { "$ref": "#/definitions/crs" }, - "interpolation_crs": { "$ref": "#/definitions/crs" }, - "method": { "$ref": "#/definitions/method" }, - "parameters": { - "type": "array", - "items": { "$ref": "#/definitions/parameter_value" } - }, - "accuracy": { "type": "string" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name", "source_crs", "target_crs", "method", "parameters" ], - "additionalProperties": false - }, - - "unit": { - "oneOf": [ - { - "type": "string", - "enum": ["metre", "degree", "unity"] - }, - { - "type": "object", - "properties": { - "type": { "type": "string", - "enum": ["LinearUnit", "AngularUnit", "ScaleUnit", - "TimeUnit", "ParametricUnit", "Unit"] }, - "name": { "type": "string" }, - "conversion_factor": { "type": "number" }, - "id": { "$ref": "#/definitions/id" }, - "ids": { "$ref": "#/definitions/ids" } - }, - "required" : [ "type", "name" ], - "allOf": [ - { "$ref": "#/definitions/id_ids_mutually_exclusive" } - ], - "additionalProperties": false - } - ] - }, - - "usages": { - "type": "array", - "items": { - "type": "object", - "properties": { - "scope": { "type": "string" }, - "area": { "type": "string" }, - "bbox": { "$ref": "#/definitions/bbox" } - }, - "additionalProperties": false - } - }, - - "value_and_unit": { - "type": "object", - "properties": { - "value": { "type": "number" }, - "unit": { "$ref": "#/definitions/unit" } - }, - "required" : [ "value", "unit" ], - "additionalProperties": false - }, - - "value_in_degree_or_value_and_unit": { - "oneOf": [ - { "type": "number" }, - { "$ref": "#/definitions/value_and_unit" } - ] - }, - - "value_in_metre_or_value_and_unit": { - "oneOf": [ - { "type": "number" }, - { "$ref": "#/definitions/value_and_unit" } - ] - }, - - "vertical_crs": { - "type": "object", - "properties": { - "type": { "type": "string", "enum": ["VerticalCRS"] }, - "name": { "type": "string" }, - "datum": { - "oneOf": [ - { "$ref": "#/definitions/vertical_reference_frame" }, - { "$ref": "#/definitions/dynamic_vertical_reference_frame" } - ] - }, - "datum_ensemble": { "$ref": "#/definitions/datum_ensemble" }, - "coordinate_system": { "$ref": "#/definitions/coordinate_system" }, - "geoid_model": { - "type": "object", - "properties": { - "name": { "type": "string" }, - "interpolation_crs": { "$ref": "#/definitions/crs" }, - "id": { "$ref": "#/definitions/id" } - }, - "required" : [ "name" ], - "additionalProperties": false - }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name"], - "description": "One and only one of datum and datum_ensemble must be provided", - "allOf": [ - { "$ref": "#/definitions/object_usage" }, - { "$ref": "#/definitions/one_and_only_one_of_datum_or_datum_ensemble" } - ], - "additionalProperties": false - }, - - "vertical_reference_frame": { - "type": "object", - "allOf": [{ "$ref": "#/definitions/object_usage" }], - "properties": { - "type": { "type": "string", "enum": ["VerticalReferenceFrame"] }, - "name": { "type": "string" }, - "anchor": { "type": "string" }, - "$schema" : {}, - "scope": {}, - "area": {}, - "bbox": {}, - "usages": {}, - "remarks": {}, - "id": {}, "ids": {} - }, - "required" : [ "name" ], - "additionalProperties": false - } - - } -} diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/triangulation.schema.json b/.venv/lib/python3.12/site-packages/fiona/proj_data/triangulation.schema.json deleted file mode 100644 index 8203f5d9..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/triangulation.schema.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-07/schema#", - "description": "Schema for triangulation based transformation", - "type": "object", - "properties": { - "file_type": { - "type": "string", - "enum": [ - "triangulation_file" - ], - "description": "File type. Always \"triangulation_file\"" - }, - "format_version": { - "type": "string", - "enum": [ - "1.0", "1.1" - ] - }, - "name": { - "type": "string", - "description": "A brief descriptive name of the triangulation" - }, - "version": { - "type": "string", - "description": "A string identifying the version of the triangulation. The format for specifying version will be defined by the agency responsible for the triangulation" - }, - "publication_date": { - "$ref": "#/definitions/datetime", - "description": "The date on which this version of the triangulation was published (or possibly the date on which it takes effect?)" - }, - "fallback_strategy": { - "type": "string", - "enum": [ - "none", - "nearest_side", - "nearest_centroid" - ] - }, - "license": { - "type": "string", - "description": "License under which the file is published" - }, - "description": { - "type": "string", - "description": "A text description of the file" - }, - "authority": { - "type": "object", - "description": "Basic information about the agency responsible for the data set", - "properties": { - "name": { - "type": "string", - "description": "The name of the agency" - }, - "url": { - "type": "string", - "description": "The url of the agency website", - "format": "uri" - }, - "address": { - "type": "string", - "description": "The postal address of the agency" - }, - "email": { - "type": "string", - "description": "An email contact address for the agency", - "format": "email" - } - }, - "required": [ - "name" - ], - "additionalProperties": false - }, - "links": { - "type": "array", - "description": "Links to related information", - "items": { - "type": "object", - "properties": { - "href": { - "type": "string", - "description": "The URL holding the information", - "format": "uri" - }, - "rel": { - "type": "string", - "description": "The relationship to the dataset. Proposed relationships are:\n- \"about\": a web page for human consumption describing the model\n- \"source\": the authoritative source data from which the triangulation is built.\n- \"metadata\": ISO 19115 XML metadata regarding the triangulation." - }, - "type": { - "type": "string", - "description": "MIME type" - }, - "title": { - "type": "string", - "description": "Description of the link" - } - }, - "required": [ - "href" - ], - "additionalProperties": false - } - }, - "extent": { - "$ref": "#/definitions/extent", - "description": "Defines the region within which the triangulation is defined. This should be a bounding box defined as an array of [west,south,east,north] coordinate values in a unspecified geographic CRS. This bounding box should be seen as approximate, given that triangulation may be defined with projected coordinates, and also because some triangulations may not cover the whole bounding box." - }, - "input_crs": { - "$ref": "#/definitions/crs", - "description": "String identifying the CRS of source coordinates in the vertices. Typically \"EPSG:XXXX\". If the transformation is for vertical component, this should be the code for a compound CRS (can be EPSG:XXXX+YYYY where XXXX is the code of the horizontal CRS and YYYY the code of the vertical CRS). For example, for the KKJ->ETRS89 transformation, this is EPSG:2393 (\"KKJ / Finland Uniform Coordinate System\"). The input coordinates are assumed to be passed in the \"normalized for visualisation\" / \"GIS friendly\" order, that is longitude, latitude for geographic coordinates and easting, northing for projected coordinates." - }, - "output_crs": { - "$ref": "#/definitions/crs", - "description": "String identifying the CRS of target coordinates in the vertices. Typically \"EPSG:XXXX\". If the transformation is for vertical component, this should be the code for a compound CRS (can be EPSG:XXXX+YYYY where XXXX is the code of the horizontal CRS and YYYY the code of the vertical CRS). For example, for the KKJ->ETRS89 transformation, this is EPSG:3067 (\"ETRS89 / TM35FIN(E,N)\"). The output coordinates will be returned in the \"normalized for visualisation\" / \"GIS friendly\" order, that is easting, that is longitude, latitude for geographic coordinates and easting, northing for projected coordinates." - }, - "transformed_components": { - "type": "array", - "description": "Specify which component of the coordinates are transformed. Either \"horizontal\", \"vertical\" or both", - "minItems": 1, - "maxItems": 2, - "items": { - "type": "string", - "enum": [ - "horizontal", - "vertical" - ] - } - }, - "vertices_columns": { - "type": "array", - "description": "Specify the name of the columns of the rows in the \"vertices\" array. There must be exactly as many elements in \"vertices_columns\" as in a row of \"vertices\". The following names have a special meaning: \"source_x\", \"source_y\", \"target_x\", \"target_y\", \"source_z\", \"target_z\" and \"offset_z\". \"source_x\" and \"source_y\" are compulsory. \"source_x\" is for the source longitude (in degree) or easting. \"source_y\" is for the source latitude (in degree) or northing. \"target_x\" and \"target_y\" are compulsory when \"horizontal\" is specified in \"transformed_components\". (\"source_z\" and \"target_z\") or \"offset_z\" are compulsory when \"vertical\" is specified in \"transformed_components\".", - "minItems": 3, - "items": { - "type": "string" - } - }, - "triangles_columns": { - "type": "array", - "description": "Specify the name of the columns of the rows in the \"triangles\" array. There must be exactly as many elements in \"triangles_columns\" as in a row of \"triangles\". The following names have a special meaning: \"idx_vertex1\", \"idx_vertex2\", \"idx_vertex3\". They are compulsory.", - "minItems": 3, - "items": { - "type": "string" - } - }, - "vertices": { - "type": "array", - "description": "an array whose items are themselves arrays with as many columns as described in \"vertices_columns\"", - "items": { - "type": "array" - } - }, - "triangles": { - "type": "array", - "description": "an array whose items are themselves arrays with as many columns as described in \"triangles_columns\". The value of the \"idx_vertexN\" columns must be indices (between 0 and len(\"vertices\"-1) of items of the \"vertices\" array", - "items": { - "type": "array" - } - } - }, - "required": [ - "file_type", - "format_version", - "transformed_components", - "vertices_columns", - "triangles_columns", - "vertices", - "triangles" - ], - "additionalProperties": false, - "definitions": { - "crs": { - "type": "string" - }, - "datetime": { - "type": "string", - "format": "date-time", - "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$" - }, - "extent": { - "type": "object", - "properties": { - "type": { - "type": "string", - "enum": [ - "bbox" - ] - }, - "name" : { - "type": "string", - "description": "Name of the extent (e.g. \"Finland - mainland south of 66°N\")" - }, - "parameters": { - "type": "object", - "properties": { - "bbox": { - "type": "array", - "minItems": 4, - "maxItems": 4, - "items": { - "type": "number" - } - } - } - } - }, - "required": [ - "type", - "parameters" - ], - "additionalProperties": false - } - } -} diff --git a/.venv/lib/python3.12/site-packages/fiona/proj_data/world b/.venv/lib/python3.12/site-packages/fiona/proj_data/world deleted file mode 100644 index 9119eed8..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/proj_data/world +++ /dev/null @@ -1,214 +0,0 @@ -# SCCSID @(#)world 1.2 95/08/05 GIE REL -# proj +init files for various non-U.S. coordinate systems. -# - +lastupdate=2016-12-12 - - # Swiss Coordinate System - +proj=somerc +lat_0=46d57'8.660"N +lon_0=7d26'22.500"E - +ellps=bessel +x_0=600000 +y_0=200000 - +k_0=1. no_defs <> - # Laborde grid for Madagascar - proj=labrd ellps=intl lon_0=46d26'13.95E lat_0=18d54S - azi=18d54 k_0=.9995 x_0=400000 y_0=800000 - no_defs <> - # New Zealand Map Grid (NZMG) - proj=nzmg # Projection unique to N.Z. so all factors fixed - no_defs <> -# Secondary grids DMA TM8358.1, p. 4.3 - # British West Indies - proj=tmerc ellps=clrk80 lon_0=62W - x_0=400000 k_0=0.9995 - no_defs <> - # Costa Rica Norte - proj=lcc ellps=clrk66 lat_1=10d28N lon_0=84d20W - x_0=500000 y_0=217820.522 k_0=0.99995696 - no_defs <> - # Costa Rica Sud - proj=lcc ellps=clrk66 lat_1=9dN lon_0=83d40W - x_0=500000 y_0=327987.436 k_0=0.99995696 - no_defs <> - # Cuba Norte - proj=lcc ellps=clrk66 lat_1=22d21N lon_0=81dW - x_0=500000 y_0=280296.016 k_0=0.99993602 - no_defs <> - # Cuba Sud - proj=lcc ellps=clrk66 lat_1=20d43'N lon_0=76d50'W - x_0=500000 y_0=229126.939 k_0=0.99994848 - no_defs <> - # Dominican Republic - proj=lcc ellps=clrk66 lat_1=18d49'N lon_0=71d30'W - x_0=500000 y_0=277063.657 k_0=0.99991102 - no_defs <> - # Egypt - proj=tmerc ellps=intl lon_0=25d30'E x_0=300000 k_0=0.99985 - no_defs <> - # Egypt - proj=tmerc ellps=intl lon_0=28d30'E x_0=300000 k_0=0.99985 - no_defs <> - # Egypt - proj=tmerc ellps=intl lon_0=31d30'E x_0=300000 k_0=0.99985 - no_defs <> - # Egypt - proj=tmerc ellps=intl lon_0=34d30'E x_0=300000 k_0=0.99985 - no_defs <> - # Egypt - proj=tmerc ellps=intl lon_0=37d30'E x_0=300000 k_0=0.99985 - no_defs <> - # El Salvador - proj=lcc ellps=clrk66 lat_1=13d47'N lon_0=89dW - x_0=500000 y_0=295809.184 k_0=0.99996704 - no_defs <> - # Guatemala Norte - proj=lcc ellps=clrk66 lat_1=16d49'N lon_0=90d20'W - x_0=500000 y_0=292209.579 k_0=0.99992226 - no_defs <> - # Guatemala Sud - proj=lcc ellps=clrk66 lat_1=14d54'N lon_0=90d20'W - x_0=500000 y_0=325992.681 k_0=0.99989906 - no_defs <> - # Haiti - proj=lcc ellps=clrk66 lat_1=18d49'N lon_0=71d30'W - x_0=500000 y_0=277063.657 k_0=0.99991102 - no_defs <> - # Honduras Norte - proj=lcc ellps=clrk66 lat_1=15d30'N lon_0=86d10'W - x_0=500000 y_0=296917.439 k_0=0.99993273 - no_defs <> - # Honduras Sud - proj=lcc ellps=clrk66 lat_1=13d47'N lon_0=87d10'W - x_0=500000 y_0=296215.903 k_0=0.99995140 - no_defs <> - # Levant - proj=lcc ellps=clrk66 lat_1=34d39'N lon_0=37d21'E - x_0=500000 y_0=300000 k_0=0.9996256 - no_defs <> - # Nicaragua Norte - proj=lcc ellps=clrk66 lat_1=13d52'N lon_0=85d30'W - x_0=500000 y_0=359891.816 k_0=0.99990314 - no_defs <> - # Nicaragua Sud - proj=lcc ellps=clrk66 lat_1=11d40'N lon_0=85d30'W - x_0=500000 y_0=288876.327 k_0=0.99992228 - no_defs <> - # Northwest Africa - proj=lcc ellps=clrk80 lat_1=34dN lon_0=0dE - x_0=1000000 y_0=500000 k_0=0.99908 - no_defs <> - # Palestine - proj=tmerc a=6378300.79 rf=293.488307656 - lat_0=31d44'2.749"N lon_0=35d12'43.490"E - x_0=170251.555 y_0=126867.909 k_0=1 - no_defs <> - # Panama - proj=lcc ellps=clrk66 lat_1=8d25'N lon_0=80dW - x_0=500000 y_0=294865.303 k_0=0.99989909 - no_defs <> -# other grids in DMA TM8358.1 - # British National Grid - proj=tmerc ellps=airy lat_0=49dN lon_0=2dW - k_0=0.9996012717 x_0=400000 y_0=-100000 - no_defs <> - # West Malaysian RSO Grid - proj=omerc a=6377295.66402 rf=300.8017 alpha=323d01'32.846" - no_uoff rot_conv lonc=102d15E lat_0=4dN k_0=0.99984 x_0=804670.240 y_0=0 - no_defs <> - # India Zone I - proj=lcc ellps=everest lon_0=68E lat_1=32d30'N - x_0=2743185.69 y_0=914395.23 k_0=.998786408 - no_defs <> - # India Zone IIA - proj=lcc ellps=everest lon_0=74E lat_1=26N - x_0=2743185.69 y_0=914395.23 k_0=.998786408 - no_defs <> - # India Zone IIB - proj=lcc ellps=everest lon_0=90E lat_1=26N - x_0=2743185.69 y_0=914395.23 k_0=.998786408 - no_defs <> - # India Zone IIIA - proj=lcc ellps=everest lon_0=80E lat_1=19N - x_0=2743185.69 y_0=914395.23 k_0=.998786408 - no_defs <> - # India Zone IIIB - proj=lcc ellps=everest lon_0=100E lat_1=19N - x_0=2743185.69 y_0=914395.23 k_0=.998786408 - no_defs <> - # India Zone IVA - proj=lcc ellps=everest lon_0=80E lat_1=12N - x_0=2743185.69 y_0=914395.23 k_0=.998786408 - no_defs <> - # India Zone IVB - proj=lcc ellps=everest lon_0=104E lat_1=12N - x_0=2743185.69 y_0=914395.23 k_0=.998786408 - no_defs <> - # Ceylon Belt - proj=tmerc ellps=everest lon_0=80d46'18.160"E lat_0=7d0'1.729"N - x_0=160933.56048 y_0=160933.56048 k_0=1. - no_defs <> - # Irish Transverse Mercator Grid - proj=tmerc ellps=mod_airy lat_0=53d30'N lon_0=8W - x_0=200000 y_0=250000 k_0=1.000035 - no_defs <> - # Netherlands East Indies Equatorial Zone - proj=merc ellps=bessel lon_0=110E - x_0=3900000 y_0=900000 k_0=0.997 - no_defs <> - # Nord Algerie Grid - proj=lcc ellps=clrk80 lon_0=2d42E lat_0=36N - x_0=500000 y_0=300000 k_0=0.999625544 - no_defs <> - # Nord Maroc Grid - proj=lcc ellps=clrk80 lon_0=5d24'W lat_0=33d18'N - x_0=500000 y_0=300000 k_0=0.999625769 - no_defs <> - # Nord Tunisie Grid - proj=lcc ellps=clrk80 lon_0=9d54E lat_0=36N - x_0=500000 y_0=300000 k_0=0.999625544 - no_defs <> - # Sud Algerie Grid - proj=lcc ellps=clrk80 lon_0=2d42E lat_0=33d18'N - x_0=500000 y_0=300000 k_0=0.999625769 - no_defs <> - # Sud Maroc Grid - proj=lcc ellps=clrk80 lon_0=5d24W lat_0=29d42'N - x_0=500000 y_0=300000 k_0=0.999615596 - no_defs <> - # Sud Tunisie Grid - proj=lcc ellps=clrk80 lon_0=9d54'E lat_0=33d18'N - x_0=500000 y_0=300000 k_0=0.999625769 - no_defs <> -# Gauss Krueger Grid for Germany -# -# The first figure of the easting is lon_0 divided by 3 -# ( 2 for 6d0E, 3 for 9d0E, 4 for 12d0E) -# For translations you have to remove this first figure -# and convert northings and eastings from km to meter . -# The other way round, divide by 1000 and add the figure. -# I made 3 entries for the officially used grids in Germany -# -# -# Und nochmal in deutsch : -# Die erste Ziffer des Rechtswerts beschreibt den Hauptmeridian -# und ist dessen Gradzahl geteilt durch 3. -# Zum Umrechnen in Grad muss daher die erste Ziffer des Rechtswertes -# entfernt werden und evt. von km auf Metern umgerechnet werden. -# Zur Umrechnung in Gauss Krueger Koordinaten entsprechend die -# Ziffer fuer den Hauptmeridian vor dem Rechtswert ergaenzen. -# Ich hab fuer alle drei in Deutschland ueblichen Hauptmeridiane -# jeweils einen Eintrag ergaenzt. -# -# -# added by Michael Goepel -# - # Gauss Krueger Grid for Germany - proj=tmerc ellps=bessel lon_0=6d0E lat_0=0 - x_0=500000 - no_defs<> - # Gauss Krueger Grid for Germany - proj=tmerc ellps=bessel lon_0=9d0E lat_0=0 - x_0=500000 - no_defs<> - # Gauss Krueger Grid for Germany - proj=tmerc ellps=bessel lon_0=12d0E lat_0=0 - x_0=500000 - no_defs<> - diff --git a/.venv/lib/python3.12/site-packages/fiona/rfc3339.py b/.venv/lib/python3.12/site-packages/fiona/rfc3339.py deleted file mode 100644 index 97228c1e..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/rfc3339.py +++ /dev/null @@ -1,138 +0,0 @@ -# Fiona's date and time is founded on RFC 3339. -# -# OGR knows 3 time "zones": GMT, "local time", amd "unknown". Fiona, when -# writing will convert times with a timezone offset to GMT (Z) and otherwise -# will write times with the unknown zone. - -import logging -import re - -log = logging.getLogger("Fiona") - - -# Fiona's 'date', 'time', and 'datetime' types are sub types of 'str'. - - -class FionaDateType(str): - """Dates without time.""" - - -class FionaTimeType(str): - """Times without dates.""" - - -class FionaDateTimeType(str): - """Dates and times.""" - - -pattern_date = re.compile(r"(\d\d\d\d)(-)?(\d\d)(-)?(\d\d)") -pattern_time = re.compile( - r"(\d\d)(:)?(\d\d)(:)?(\d\d)?(\.\d+)?(Z|([+-])?(\d\d)?(:)?(\d\d))?") -pattern_datetime = re.compile( - r"(\d\d\d\d)(-)?(\d\d)(-)?(\d\d)(T)?(\d\d)(:)?(\d\d)(:)?(\d\d)?(\.\d+)?(Z|([+-])?(\d\d)?(:)?(\d\d))?") - - -class group_accessor: - def __init__(self, m): - self.match = m - - def group(self, i): - try: - return self.match.group(i) or 0 - except IndexError: - return 0 - - -def parse_time(text): - """ Given a time, returns a datetime tuple - - Parameters - ---------- - text: string to be parsed - - Returns - ------- - (int, int , int, int, int, int, int, int): - datetime tuple: (year, month, day, hour, minute, second, microsecond, utcoffset in minutes or None) - - """ - match = re.search(pattern_time, text) - if match is None: - raise ValueError("Time data '%s' does not match pattern" % text) - g = group_accessor(match) - log.debug("Match groups: %s", match.groups()) - - if g.group(8) == '-': - tz = -1.0 * (int(g.group(9)) * 60 + int(g.group(11))) - elif g.group(8) == '+': - tz = int(g.group(9)) * 60 + int(g.group(11)) - else: - tz = None - - return (0, 0, 0, - int(g.group(1)), - int(g.group(3)), - int(g.group(5)), - int(1000000.0 * float(g.group(6))), - tz - ) - - -def parse_date(text): - """Given a date, returns a datetime tuple - - Parameters - ---------- - text: string to be parsed - - Returns - ------- - (int, int , int, int, int, int, int, int): - datetime tuple: (year, month, day, hour, minute, second, microsecond, utcoffset in minutes or None) - """ - match = re.search(pattern_date, text) - if match is None: - raise ValueError("Time data '%s' does not match pattern" % text) - g = group_accessor(match) - log.debug("Match groups: %s", match.groups()) - return ( - int(g.group(1)), - int(g.group(3)), - int(g.group(5)), - 0, 0, 0, 0, None) - - -def parse_datetime(text): - """Given a datetime, returns a datetime tuple - - Parameters - ---------- - text: string to be parsed - - Returns - ------- - (int, int , int, int, int, int, int, int): - datetime tuple: (year, month, day, hour, minute, second, microsecond, utcoffset in minutes or None) - """ - match = re.search(pattern_datetime, text) - if match is None: - raise ValueError("Time data '%s' does not match pattern" % text) - g = group_accessor(match) - log.debug("Match groups: %s", match.groups()) - - if g.group(14) == '-': - tz = -1.0 * (int(g.group(15)) * 60 + int(g.group(17))) - elif g.group(14) == '+': - tz = int(g.group(15)) * 60 + int(g.group(17)) - else: - tz = None - - return ( - int(g.group(1)), - int(g.group(3)), - int(g.group(5)), - int(g.group(7)), - int(g.group(9)), - int(g.group(11)), - int(1000000.0 * float(g.group(12))), - tz) diff --git a/.venv/lib/python3.12/site-packages/fiona/schema.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/fiona/schema.cpython-312-x86_64-linux-gnu.so deleted file mode 100755 index ff73ec19..00000000 Binary files a/.venv/lib/python3.12/site-packages/fiona/schema.cpython-312-x86_64-linux-gnu.so and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/fiona/session.py b/.venv/lib/python3.12/site-packages/fiona/session.py deleted file mode 100644 index 85b9b8d3..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/session.py +++ /dev/null @@ -1,651 +0,0 @@ -"""Abstraction for sessions in various clouds.""" - -import logging -import os -import warnings - -from fiona.path import parse_path, UnparsedPath - -log = logging.getLogger(__name__) - -try: - with warnings.catch_warnings(): - warnings.simplefilter("ignore") - import boto3 -except ImportError: - log.debug("Could not import boto3, continuing with reduced functionality.") - boto3 = None - - -class Session: - """Base for classes that configure access to secured resources. - - Attributes - ---------- - credentials : dict - Keys and values for session credentials. - - Notes - ----- - This class is not intended to be instantiated. - - """ - - @classmethod - def hascreds(cls, config): - """Determine if the given configuration has proper credentials - - Parameters - ---------- - cls : class - A Session class. - config : dict - GDAL configuration as a dict. - - Returns - ------- - bool - - """ - return NotImplemented - - def get_credential_options(self): - """Get credentials as GDAL configuration options - - Returns - ------- - dict - - """ - return NotImplemented - - @staticmethod - def from_foreign_session(session, cls=None): - """Create a session object matching the foreign `session`. - - Parameters - ---------- - session : obj - A foreign session object. - cls : Session class, optional - The class to return. - - Returns - ------- - Session - - """ - if not cls: - return DummySession() - else: - return cls(session) - - @staticmethod - def cls_from_path(path): - """Find the session class suited to the data at `path`. - - Parameters - ---------- - path : str - A dataset path or identifier. - - Returns - ------- - class - - """ - if not path: - return DummySession - - path = parse_path(path) - - if isinstance(path, UnparsedPath) or path.is_local: - return DummySession - - elif ( - path.scheme == "s3" or "amazonaws.com" in path.path - ) and "X-Amz-Signature" not in path.path: - if boto3 is not None: - return AWSSession - else: - log.info("boto3 not available, falling back to a DummySession.") - return DummySession - - elif path.scheme == "oss" or "aliyuncs.com" in path.path: - return OSSSession - - elif path.path.startswith("/vsiswift/"): - return SwiftSession - - elif path.scheme == "az": - return AzureSession - - # This factory can be extended to other cloud providers here. - # elif path.scheme == "cumulonimbus": # for example. - # return CumulonimbusSession(*args, **kwargs) - - else: - return DummySession - - @staticmethod - def from_path(path, *args, **kwargs): - """Create a session object suited to the data at `path`. - - Parameters - ---------- - path : str - A dataset path or identifier. - args : sequence - Positional arguments for the foreign session constructor. - kwargs : dict - Keyword arguments for the foreign session constructor. - - Returns - ------- - Session - - """ - return Session.cls_from_path(path)(*args, **kwargs) - - @staticmethod - def aws_or_dummy(*args, **kwargs): - """Create an AWSSession if boto3 is available, else DummySession - Parameters - ---------- - path : str - A dataset path or identifier. - args : sequence - Positional arguments for the foreign session constructor. - kwargs : dict - Keyword arguments for the foreign session constructor. - Returns - ------- - Session - """ - if boto3 is not None: - return AWSSession(*args, **kwargs) - else: - return DummySession(*args, **kwargs) - - @staticmethod - def from_environ(*args, **kwargs): - """Create a session object suited to the environment. - Parameters - ---------- - path : str - A dataset path or identifier. - args : sequence - Positional arguments for the foreign session constructor. - kwargs : dict - Keyword arguments for the foreign session constructor. - Returns - ------- - Session - """ - try: - session = Session.aws_or_dummy(*args, **kwargs) - session.credentials - except RuntimeError: - log.warning( - "Credentials in environment have expired. Creating a DummySession." - ) - session = DummySession(*args, **kwargs) - return session - - -class DummySession(Session): - """A dummy session. - - Attributes - ---------- - credentials : dict - The session credentials. - - """ - - def __init__(self, *args, **kwargs): - self._session = None - self.credentials = {} - - @classmethod - def hascreds(cls, config): - """Determine if the given configuration has proper credentials - - Parameters - ---------- - cls : class - A Session class. - config : dict - GDAL configuration as a dict. - - Returns - ------- - bool - - """ - return True - - def get_credential_options(self): - """Get credentials as GDAL configuration options - - Returns - ------- - dict - - """ - return {} - - -class AWSSession(Session): - """Configures access to secured resources stored in AWS S3. - """ - - def __init__( - self, - session=None, - aws_unsigned=False, - aws_access_key_id=None, - aws_secret_access_key=None, - aws_session_token=None, - region_name=None, - profile_name=None, - endpoint_url=None, - requester_pays=False, - ): - """Create a new AWS session - - Parameters - ---------- - session : optional - A boto3 session object. - aws_unsigned : bool, optional (default: False) - If True, requests will be unsigned. - aws_access_key_id : str, optional - An access key id, as per boto3. - aws_secret_access_key : str, optional - A secret access key, as per boto3. - aws_session_token : str, optional - A session token, as per boto3. - region_name : str, optional - A region name, as per boto3. - profile_name : str, optional - A shared credentials profile name, as per boto3. - endpoint_url: str, optional - An endpoint_url, as per GDAL's AWS_S3_ENPOINT - requester_pays : bool, optional - True if the requester agrees to pay transfer costs (default: - False) - - """ - if session: - self._session = session - else: - self._session = boto3.Session( - aws_access_key_id=aws_access_key_id, - aws_secret_access_key=aws_secret_access_key, - aws_session_token=aws_session_token, - region_name=region_name, - profile_name=profile_name) - - self.requester_pays = requester_pays - self.unsigned = bool(os.getenv("AWS_NO_SIGN_REQUEST", aws_unsigned)) - self.endpoint_url = endpoint_url - self._creds = ( - self._session.get_credentials() - if not self.unsigned and self._session - else None - ) - - @classmethod - def hascreds(cls, config): - """Determine if the given configuration has proper credentials - - Parameters - ---------- - cls : class - A Session class. - config : dict - GDAL configuration as a dict. - - Returns - ------- - bool - - """ - return {"AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"}.issubset(config.keys()) - - @property - def credentials(self): - """The session credentials as a dict""" - res = {} - if self._creds: # pragma: no branch - frozen_creds = self._creds.get_frozen_credentials() - if frozen_creds.access_key: # pragma: no branch - res["aws_access_key_id"] = frozen_creds.access_key - if frozen_creds.secret_key: # pragma: no branch - res["aws_secret_access_key"] = frozen_creds.secret_key - if frozen_creds.token: - res["aws_session_token"] = frozen_creds.token - if self._session.region_name: - res["aws_region"] = self._session.region_name - if self.requester_pays: - res["aws_request_payer"] = "requester" - if self.endpoint_url: - res["aws_s3_endpoint"] = self.endpoint_url - return res - - def get_credential_options(self): - """Get credentials as GDAL configuration options - - Returns - ------- - dict - - """ - if self.unsigned: - opts = {"AWS_NO_SIGN_REQUEST": "YES"} - if "aws_region" in self.credentials: - opts["AWS_REGION"] = self.credentials["aws_region"] - return opts - else: - return {k.upper(): v for k, v in self.credentials.items()} - - -class GSSession(Session): - """Configures access to secured resources stored in Google Cloud Storage - """ - def __init__(self, google_application_credentials=None): - """Create new Google Cloude Storage session - - Parameters - ---------- - google_application_credentials: string - Path to the google application credentials JSON file. - - """ - self._creds = {} - if google_application_credentials is not None: - self._creds['google_application_credentials'] = google_application_credentials - - @classmethod - def hascreds(cls, config): - """Determine if the given configuration has proper credentials - - Parameters - ---------- - cls : class - A Session class. - config : dict - GDAL configuration as a dict. - - Returns - ------- - bool - - """ - return 'GOOGLE_APPLICATION_CREDENTIALS' in config - - @property - def credentials(self): - """The session credentials as a dict""" - return self._creds - - def get_credential_options(self): - """Get credentials as GDAL configuration options - - Returns - ------- - dict - - """ - return {k.upper(): v for k, v in self.credentials.items()} - - -class OSSSession(Session): - """Configures access to secured resources stored in Alibaba Cloud OSS.""" - - def __init__( - self, oss_access_key_id=None, oss_secret_access_key=None, oss_endpoint=None - ): - """Create new Alibaba Cloud OSS session - - Parameters - ---------- - oss_access_key_id: string, optional (default: None) - An access key id - oss_secret_access_key: string, optional (default: None) - An secret access key - oss_endpoint: string, optional (default: None) - the region attached to the bucket - - """ - self._creds = { - "oss_access_key_id": oss_access_key_id, - "oss_secret_access_key": oss_secret_access_key, - "oss_endpoint": oss_endpoint, - } - - @classmethod - def hascreds(cls, config): - """Determine if the given configuration has proper credentials - - Parameters - ---------- - cls : class - A Session class. - config : dict - GDAL configuration as a dict. - - Returns - ------- - bool - - """ - return {"OSS_ACCESS_KEY_ID", "OSS_SECRET_ACCESS_KEY"}.issubset(config.keys()) - - @property - def credentials(self): - """The session credentials as a dict""" - return self._creds - - def get_credential_options(self): - """Get credentials as GDAL configuration options - - Returns - ------- - dict - - """ - return {k.upper(): v for k, v in self.credentials.items()} - - -class SwiftSession(Session): - """Configures access to secured resources stored in OpenStack Swift Object Storage.""" - - def __init__( - self, - session=None, - swift_storage_url=None, - swift_auth_token=None, - swift_auth_v1_url=None, - swift_user=None, - swift_key=None, - ): - """Create new OpenStack Swift Object Storage Session. - - Three methods are possible: - 1. Create session by the swiftclient library. - 2. The SWIFT_STORAGE_URL and SWIFT_AUTH_TOKEN (this method - is recommended by GDAL docs). - 3. The SWIFT_AUTH_V1_URL, SWIFT_USER and SWIFT_KEY (This - depends on the swiftclient library). - - Parameters - ---------- - session: optional - A swiftclient connection object - swift_storage_url: - the storage URL - swift_auth_token: - the value of the x-auth-token authorization token - swift_storage_url: string, optional - authentication URL - swift_user: string, optional - user name to authenticate as - swift_key: string, optional - key/password to authenticate with - - Examples - -------- - >>> import rasterio - >>> from rasterio.session import SwiftSession - >>> fp = '/vsiswift/bucket/key.tif' - >>> conn = Connection( - ... authurl='http://127.0.0.1:7777/auth/v1.0', - ... user='test:tester', - ... key='testing' - ... ) - >>> session = SwiftSession(conn) - >>> with rasterio.Env(session): - >>> with rasterio.open(fp) as src: - >>> print(src.profile) - - """ - if swift_storage_url and swift_auth_token: - self._creds = { - "swift_storage_url": swift_storage_url, - "swift_auth_token": swift_auth_token, - } - else: - from swiftclient.client import Connection - - if session: - self._session = session - else: - self._session = Connection( - authurl=swift_auth_v1_url, user=swift_user, key=swift_key - ) - self._creds = { - "swift_storage_url": self._session.get_auth()[0], - "swift_auth_token": self._session.get_auth()[1], - } - - @classmethod - def hascreds(cls, config): - """Determine if the given configuration has proper credentials - - Parameters - ---------- - cls : class - A Session class. - config : dict - GDAL configuration as a dict. - - Returns - ------- - bool - - """ - return {"SWIFT_STORAGE_URL", "SWIFT_AUTH_TOKEN"}.issubset(config.keys()) - - @property - def credentials(self): - """The session credentials as a dict""" - return self._creds - - def get_credential_options(self): - """Get credentials as GDAL configuration options - - Returns - ------- - dict - - """ - return {k.upper(): v for k, v in self.credentials.items()} - - -class AzureSession(Session): - """Configures access to secured resources stored in Microsoft Azure Blob Storage.""" - - def __init__( - self, - azure_storage_connection_string=None, - azure_storage_account=None, - azure_storage_access_key=None, - azure_unsigned=False, - ): - """Create new Microsoft Azure Blob Storage session - - Parameters - ---------- - azure_storage_connection_string: string - A connection string contains both an account name and a secret key. - azure_storage_account: string - An account name - azure_storage_access_key: string - A secret key - azure_unsigned : bool, optional (default: False) - If True, requests will be unsigned. - - """ - self.unsigned = bool(os.getenv("AZURE_NO_SIGN_REQUEST", azure_unsigned)) - self.storage_account = os.getenv("AZURE_STORAGE_ACCOUNT", azure_storage_account) - - if azure_storage_connection_string: - self._creds = { - "azure_storage_connection_string": azure_storage_connection_string - } - elif not self.unsigned: - self._creds = { - "azure_storage_account": self.storage_account, - "azure_storage_access_key": azure_storage_access_key, - } - else: - self._creds = {"azure_storage_account": self.storage_account} - - @classmethod - def hascreds(cls, config): - """Determine if the given configuration has proper credentials - - Parameters - ---------- - cls : class - A Session class. - config : dict - GDAL configuration as a dict. - - Returns - ------- - bool - - """ - return ( - "AZURE_STORAGE_CONNECTION_STRING" in config - or {"AZURE_STORAGE_ACCOUNT", "AZURE_STORAGE_ACCESS_KEY"}.issubset( - config.keys() - ) - or {"AZURE_STORAGE_ACCOUNT", "AZURE_NO_SIGN_REQUEST"}.issubset( - config.keys() - ) - ) - - @property - def credentials(self): - """The session credentials as a dict""" - return self._creds - - def get_credential_options(self): - """Get credentials as GDAL configuration options - - Returns - ------- - dict - - """ - if self.unsigned: - return { - "AZURE_NO_SIGN_REQUEST": "YES", - "AZURE_STORAGE_ACCOUNT": self.storage_account, - } - else: - return {k.upper(): v for k, v in self.credentials.items()} diff --git a/.venv/lib/python3.12/site-packages/fiona/transform.py b/.venv/lib/python3.12/site-packages/fiona/transform.py deleted file mode 100644 index 90a651e8..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/transform.py +++ /dev/null @@ -1,124 +0,0 @@ -"""Coordinate and geometry warping and reprojection""" - -from warnings import warn - -from fiona._transform import _transform, _transform_geom -from fiona.compat import DICT_TYPES -from fiona.errors import FionaDeprecationWarning -from fiona.model import decode_object, Geometry - - -def transform(src_crs, dst_crs, xs, ys): - """Transform coordinates from one reference system to another. - - Parameters - ---------- - src_crs: str or dict - A string like 'EPSG:4326' or a dict of proj4 parameters like - {'proj': 'lcc', 'lat_0': 18.0, 'lat_1': 18.0, 'lon_0': -77.0} - representing the coordinate reference system on the "source" - or "from" side of the transformation. - dst_crs: str or dict - A string or dict representing the coordinate reference system - on the "destination" or "to" side of the transformation. - xs: sequence of float - A list or tuple of x coordinate values. Must have the same - length as the ``ys`` parameter. - ys: sequence of float - A list or tuple of y coordinate values. Must have the same - length as the ``xs`` parameter. - - Returns - ------- - xp, yp: list of float - A pair of transformed coordinate sequences. The elements of - ``xp`` and ``yp`` correspond exactly to the elements of the - ``xs`` and ``ys`` input parameters. - - Examples - -------- - - >>> transform('EPSG:4326', 'EPSG:26953', [-105.0], [40.0]) - ([957097.0952383667], [378940.8419189212]) - - """ - # Function is implemented in the _transform C extension module. - return _transform(src_crs, dst_crs, xs, ys) - - -def transform_geom( - src_crs, - dst_crs, - geom, - antimeridian_cutting=False, - antimeridian_offset=10.0, - precision=-1, -): - """Transform a geometry obj from one reference system to another. - - Parameters - ---------- - src_crs: str or dict - A string like 'EPSG:4326' or a dict of proj4 parameters like - {'proj': 'lcc', 'lat_0': 18.0, 'lat_1': 18.0, 'lon_0': -77.0} - representing the coordinate reference system on the "source" - or "from" side of the transformation. - dst_crs: str or dict - A string or dict representing the coordinate reference system - on the "destination" or "to" side of the transformation. - geom: obj - A GeoJSON-like geometry object with 'type' and 'coordinates' - members or an iterable of GeoJSON-like geometry objects. - antimeridian_cutting: bool, optional - ``True`` to cut output geometries in two at the antimeridian, - the default is ``False`. - antimeridian_offset: float, optional - A distance in decimal degrees from the antimeridian, outside of - which geometries will not be cut. - precision: int, optional - Round geometry coordinates to this number of decimal places. - This parameter is deprecated and will be removed in 2.0. - - Returns - ------- - obj - A new GeoJSON-like geometry (or a list of GeoJSON-like geometries - if an iterable was given as input) with transformed coordinates. Note - that if the output is at the antimeridian, it may be cut and - of a different geometry ``type`` than the input, e.g., a - polygon input may result in multi-polygon output. - - Examples - -------- - - >>> transform_geom( - ... 'EPSG:4326', 'EPSG:26953', - ... {'type': 'Point', 'coordinates': [-105.0, 40.0]}) - {'type': 'Point', 'coordinates': (957097.0952383667, 378940.8419189212)} - - """ - if precision >= 0: - warn( - "The precision keyword argument is deprecated and will be removed in 2.0", - FionaDeprecationWarning, - ) - - # Function is implemented in the _transform C extension module. - if isinstance(geom, (Geometry,) + DICT_TYPES): - return _transform_geom( - src_crs, - dst_crs, - decode_object(geom), - antimeridian_cutting, - antimeridian_offset, - precision, - ) - else: - return _transform_geom( - src_crs, - dst_crs, - (decode_object(g) for g in geom), - antimeridian_cutting, - antimeridian_offset, - precision, - ) diff --git a/.venv/lib/python3.12/site-packages/fiona/vfs.py b/.venv/lib/python3.12/site-packages/fiona/vfs.py deleted file mode 100644 index b6f623f2..00000000 --- a/.venv/lib/python3.12/site-packages/fiona/vfs.py +++ /dev/null @@ -1,87 +0,0 @@ -"""Implementation of Apache VFS schemes and URLs.""" - -import sys -import re -from urllib.parse import urlparse - - -# Supported URI schemes and their mapping to GDAL's VSI suffix. -# TODO: extend for other cloud plaforms. -SCHEMES = { - 'ftp': 'curl', - 'gzip': 'gzip', - 'http': 'curl', - 'https': 'curl', - 's3': 's3', - 'tar': 'tar', - 'zip': 'zip', - 'gs': 'gs', -} - -CURLSCHEMES = {k for k, v in SCHEMES.items() if v == 'curl'} - -# TODO: extend for other cloud plaforms. -REMOTESCHEMES = {k for k, v in SCHEMES.items() if v in ('curl', 's3', 'gs')} - - -def valid_vsi(vsi): - """Ensures all parts of our vsi path are valid schemes.""" - return all(p in SCHEMES for p in vsi.split('+')) - - -def is_remote(scheme): - if scheme is None: - return False - return any(p in REMOTESCHEMES for p in scheme.split('+')) - - -def vsi_path(path, vsi=None, archive=None): - # If a VSI and archive file are specified, we convert the path to - # an OGR VSI path (see cpl_vsi.h). - if vsi: - prefix = '/'.join(f'vsi{SCHEMES[p]}' for p in vsi.split('+')) - if archive: - result = f'/{prefix}/{archive}{path}' - else: - result = f'/{prefix}/{path}' - else: - result = path - - return result - - -def parse_paths(uri, vfs=None): - """Parse a URI or Apache VFS URL into its parts - - Returns: tuple - (path, scheme, archive) - """ - archive = scheme = None - path = uri - # Windows drive letters (e.g. "C:\") confuse `urlparse` as they look like - # URL schemes - if sys.platform == "win32" and re.match("^[a-zA-Z]\\:", path): - return path, None, None - if vfs: - parts = urlparse(vfs) - scheme = parts.scheme - archive = parts.path - if parts.netloc and parts.netloc != 'localhost': - archive = parts.netloc + archive - else: - parts = urlparse(path) - scheme = parts.scheme - path = parts.path - if parts.netloc and parts.netloc != 'localhost': - if scheme.split("+")[-1] in CURLSCHEMES: - # We need to deal with cases such as zip+https://server.com/data.zip - path = "{}://{}{}".format(scheme.split("+")[-1], parts.netloc, path) - else: - path = parts.netloc + path - if scheme in SCHEMES: - parts = path.split('!') - path = parts.pop() if parts else None - archive = parts.pop() if parts else None - - scheme = None if not scheme else scheme - return path, scheme, archive diff --git a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/LICENSE.txt b/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/LICENSE.txt deleted file mode 100644 index 028603be..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/LICENSE.txt +++ /dev/null @@ -1,25 +0,0 @@ -Copyright (c) 2013-2022, GeoPandas developers. -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 GeoPandas 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/python3.12/site-packages/geopandas-0.14.1.dist-info/METADATA b/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/METADATA deleted file mode 100644 index 6122fe7a..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/METADATA +++ /dev/null @@ -1,38 +0,0 @@ -Metadata-Version: 2.1 -Name: geopandas -Version: 0.14.1 -Summary: Geographic pandas extensions -Author-email: Kelsey Jordahl -Maintainer: GeoPandas contributors -License: BSD 3-Clause -Project-URL: Home, https://geopandas.org -Project-URL: Repository, https://github.com/geopandas/geopandas -Keywords: GIS,cartography,pandas,shapely -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Science/Research -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Topic :: Scientific/Engineering :: GIS -Requires-Python: >=3.9 -Description-Content-Type: text/x-rst -License-File: LICENSE.txt -Requires-Dist: fiona >=1.8.21 -Requires-Dist: packaging -Requires-Dist: pandas >=1.4.0 -Requires-Dist: pyproj >=3.3.0 -Requires-Dist: shapely >=1.8.0 - -GeoPandas is a project to add support for geographic data to -`pandas`_ objects. - -The goal of GeoPandas is to make working with geospatial data in -python easier. It combines the capabilities of `pandas`_ and `shapely`_, -providing geospatial operations in pandas and a high-level interface -to multiple geometries to shapely. GeoPandas enables you to easily do -operations in python that would otherwise require a spatial database -such as PostGIS. - -.. _pandas: https://pandas.pydata.org -.. _shapely: https://shapely.readthedocs.io/en/latest/ diff --git a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/RECORD b/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/RECORD deleted file mode 100644 index 273e7039..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/RECORD +++ /dev/null @@ -1,161 +0,0 @@ -geopandas-0.14.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -geopandas-0.14.1.dist-info/LICENSE.txt,sha256=xg76FZN6WoKlonhqJr50UpNv_-x6hFck2wdA5UU1yOo,1498 -geopandas-0.14.1.dist-info/METADATA,sha256=lJSxtaFuzPFEy4I2DnP7wiAAOGCUDCv3H985uALE8Kg,1478 -geopandas-0.14.1.dist-info/RECORD,, -geopandas-0.14.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -geopandas-0.14.1.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92 -geopandas-0.14.1.dist-info/top_level.txt,sha256=L_hA4DbHsRJmcvNncFdVSeojIfuyaIX9f3dRJ2T0hQA,10 -geopandas/__init__.py,sha256=saPjMzMRWVFqLGV7REzY_JMvM7JtvJG4IU1CdAkf2_c,836 -geopandas/__pycache__/__init__.cpython-312.pyc,, -geopandas/__pycache__/_compat.cpython-312.pyc,, -geopandas/__pycache__/_config.cpython-312.pyc,, -geopandas/__pycache__/_decorator.cpython-312.pyc,, -geopandas/__pycache__/_vectorized.cpython-312.pyc,, -geopandas/__pycache__/_version.cpython-312.pyc,, -geopandas/__pycache__/array.cpython-312.pyc,, -geopandas/__pycache__/base.cpython-312.pyc,, -geopandas/__pycache__/conftest.cpython-312.pyc,, -geopandas/__pycache__/explore.cpython-312.pyc,, -geopandas/__pycache__/geodataframe.cpython-312.pyc,, -geopandas/__pycache__/geoseries.cpython-312.pyc,, -geopandas/__pycache__/plotting.cpython-312.pyc,, -geopandas/__pycache__/sindex.cpython-312.pyc,, -geopandas/__pycache__/testing.cpython-312.pyc,, -geopandas/_compat.py,sha256=-YONnZQa_JyCq6N8z-9LqgEVKAu6DLIRQcCdzlfvxuU,7867 -geopandas/_config.py,sha256=oSwGneKqPbJTsLpA1EbbBRA9wMvJzJeTBn_pTkn5v-s,4149 -geopandas/_decorator.py,sha256=_qnsgCkOpDpy3C1ZImwHKyUnn6Ku64fzsAx1ZIk2hZA,1957 -geopandas/_vectorized.py,sha256=aQUYVQwiR2xBtZuTfLUEQRL942gErMQCdIL0HxpJ9MM,40284 -geopandas/_version.py,sha256=DFOckUf28Yqef7cNlo-wz2qsfYg82VNOGaV6RNHV1-Q,498 -geopandas/array.py,sha256=l0Cr4GeUv6ogTSO15ErDaVqX6gcnaQMJ3v0Cg99ry3Q,51982 -geopandas/base.py,sha256=YVzUt7bVejGdUrOgfBFWjlFpIhac4nEvS_cu77nAUPU,157379 -geopandas/conftest.py,sha256=fReWMADxLIsUgXr9jf6CE0JevY-MmGQ4Jsda0IAXwsg,694 -geopandas/datasets/__init__.py,sha256=E8G8mrn_B7jHanuepG-AoWKtmf1sKJCrwd-8oJ0R7LY,1869 -geopandas/datasets/__pycache__/__init__.cpython-312.pyc,, -geopandas/datasets/__pycache__/naturalearth_creation.cpython-312.pyc,, -geopandas/datasets/naturalearth_cities/naturalearth_cities.README.html,sha256=PR9CjPGh_VmXHmxg6SBoZJNXNnZhwpa-PLQUCkRfN48,32111 -geopandas/datasets/naturalearth_cities/naturalearth_cities.VERSION.txt,sha256=8iq9Z3OrIyhpMhrUseR6wMkI_r9POivRDIBmFA90EmE,5 -geopandas/datasets/naturalearth_cities/naturalearth_cities.cpg,sha256=CfwxMHV0jOjq2WIintickZ1an_cZdO5yWgtIu4fZdaI,10 -geopandas/datasets/naturalearth_cities/naturalearth_cities.dbf,sha256=4UTi2xujnzUhk8cIcN33ReH673CZAWDxfVbu6khemjM,19749 -geopandas/datasets/naturalearth_cities/naturalearth_cities.prj,sha256=oConsdGYLIUW2DOY6Fo8ixrvFxPBPvTYTXveF0MMB8Q,145 -geopandas/datasets/naturalearth_cities/naturalearth_cities.shp,sha256=ueIPbdKJYoU3DQSfPgkVm2QxekEC-7wjkBcSRuizp9A,6904 -geopandas/datasets/naturalearth_cities/naturalearth_cities.shx,sha256=8XO82VXDajWpsZCuMVAZ_3-itI3arlOKbtLwTGCgilI,2044 -geopandas/datasets/naturalearth_creation.py,sha256=eQtOsfdibO5IZr2XEXDGU2XmvrKcam_6C3MT1V2h2L0,4559 -geopandas/datasets/naturalearth_lowres/naturalearth_lowres.cpg,sha256=CfwxMHV0jOjq2WIintickZ1an_cZdO5yWgtIu4fZdaI,10 -geopandas/datasets/naturalearth_lowres/naturalearth_lowres.dbf,sha256=XPvKohzl-teYq_LsZasNtZU4-buKNyc-9itqqBIUh_0,50285 -geopandas/datasets/naturalearth_lowres/naturalearth_lowres.prj,sha256=oConsdGYLIUW2DOY6Fo8ixrvFxPBPvTYTXveF0MMB8Q,145 -geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shp,sha256=H2ieYLNX4emHAtXZ93TpXnf8azJEh8rfV-uTF9UzzhI,180744 -geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shx,sha256=eTORfr1jbrgIIsG936Md11l8qeb4myHiMoPFlO1kgsU,1516 -geopandas/datasets/nybb_16a.zip,sha256=tKmPw7d75a9YZ23pVgwngrkCuD0djHkU3qjQ51F34qE,661032 -geopandas/explore.py,sha256=PIFOVadixGdQLY07iiT8bbouhjze6jBDThyRww7Au8E,36093 -geopandas/geodataframe.py,sha256=NnpT0Ot89iqLvRgz1NstJ7PvNwVLm7Mj6XksldJV7fk,96243 -geopandas/geoseries.py,sha256=9fNhpo9hAI4tG7yykyJjlt04St_JTOhwnLijCPr_iLs,47322 -geopandas/io/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -geopandas/io/__pycache__/__init__.cpython-312.pyc,, -geopandas/io/__pycache__/_pyarrow_hotfix.cpython-312.pyc,, -geopandas/io/__pycache__/arrow.cpython-312.pyc,, -geopandas/io/__pycache__/file.cpython-312.pyc,, -geopandas/io/__pycache__/sql.cpython-312.pyc,, -geopandas/io/_pyarrow_hotfix.py,sha256=de3Oo3NGHl85CRFluMMJr_7_8Gw8zuaDzY35zgrdFPU,2355 -geopandas/io/arrow.py,sha256=lKC3MnAgtg3QS587U6QZVbdn2RhTnmfdsXVOzvo6PyE,24246 -geopandas/io/file.py,sha256=6KMVUoqkcSsVH17ZVXubDzIBVjBk4YzqzDZ4ulWa55A,26503 -geopandas/io/sql.py,sha256=rZhRouzh4bAc9ynhMJ34IAwbJnRBQdMXYUWGJsjatnQ,15066 -geopandas/io/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -geopandas/io/tests/__pycache__/__init__.cpython-312.pyc,, -geopandas/io/tests/__pycache__/generate_legacy_storage_files.cpython-312.pyc,, -geopandas/io/tests/__pycache__/test_arrow.cpython-312.pyc,, -geopandas/io/tests/__pycache__/test_file.cpython-312.pyc,, -geopandas/io/tests/__pycache__/test_file_geom_types_drivers.cpython-312.pyc,, -geopandas/io/tests/__pycache__/test_infer_schema.cpython-312.pyc,, -geopandas/io/tests/__pycache__/test_pickle.cpython-312.pyc,, -geopandas/io/tests/__pycache__/test_sql.cpython-312.pyc,, -geopandas/io/tests/generate_legacy_storage_files.py,sha256=fbprk5Ia_mFw3KNa97qMbVMfv_XiW8IrRc9j6zKsf98,2744 -geopandas/io/tests/test_arrow.py,sha256=AXpR-571ziPUD4oV1FnCMr718ym5eshgGN5y6r7bZKw,30083 -geopandas/io/tests/test_file.py,sha256=Bf9mGkzSSi0zjWaDCJ1y2QRLr3bQFc1Le40ln2OxhAI,40960 -geopandas/io/tests/test_file_geom_types_drivers.py,sha256=fwiHMjfgsxEZ8lspKgaIo-jbHrQuTaS91rDg9RQ7dbk,8850 -geopandas/io/tests/test_infer_schema.py,sha256=Zpwf2rAcgmc4asrdhsJjyBCAmrkj3ZgI7NXTTyPrwYI,8499 -geopandas/io/tests/test_pickle.py,sha256=1Vr6iIPg6HMBvLvNkhjZF0sJnw0JKMBOk4-Nfcs66-A,3018 -geopandas/io/tests/test_sql.py,sha256=T3fZsZyKXyH-0KBSobQiQTVbWLApJP3zeB6c0AfWDc4,25085 -geopandas/plotting.py,sha256=X_d08FUlZ_aRulVirRggIpNW1Z20JfXaDnsGBj4uldo,34999 -geopandas/sindex.py,sha256=VL_X1I3D2rtuTn_cCO0d5pBAQGwEO7T5HI1BgvWCMGo,36317 -geopandas/testing.py,sha256=0Bx5ObdU894LHof8gBfcaw8dAMAK1J5xlksgsLOVMlQ,11263 -geopandas/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -geopandas/tests/__pycache__/__init__.cpython-312.pyc,, -geopandas/tests/__pycache__/test_api.cpython-312.pyc,, -geopandas/tests/__pycache__/test_array.cpython-312.pyc,, -geopandas/tests/__pycache__/test_compat.cpython-312.pyc,, -geopandas/tests/__pycache__/test_config.cpython-312.pyc,, -geopandas/tests/__pycache__/test_crs.cpython-312.pyc,, -geopandas/tests/__pycache__/test_datasets.cpython-312.pyc,, -geopandas/tests/__pycache__/test_decorator.cpython-312.pyc,, -geopandas/tests/__pycache__/test_dissolve.cpython-312.pyc,, -geopandas/tests/__pycache__/test_explore.cpython-312.pyc,, -geopandas/tests/__pycache__/test_extension_array.cpython-312.pyc,, -geopandas/tests/__pycache__/test_geocode.cpython-312.pyc,, -geopandas/tests/__pycache__/test_geodataframe.cpython-312.pyc,, -geopandas/tests/__pycache__/test_geom_methods.cpython-312.pyc,, -geopandas/tests/__pycache__/test_geoseries.cpython-312.pyc,, -geopandas/tests/__pycache__/test_merge.cpython-312.pyc,, -geopandas/tests/__pycache__/test_op_output_types.cpython-312.pyc,, -geopandas/tests/__pycache__/test_overlay.cpython-312.pyc,, -geopandas/tests/__pycache__/test_pandas_methods.cpython-312.pyc,, -geopandas/tests/__pycache__/test_plotting.cpython-312.pyc,, -geopandas/tests/__pycache__/test_show_versions.cpython-312.pyc,, -geopandas/tests/__pycache__/test_sindex.cpython-312.pyc,, -geopandas/tests/__pycache__/test_testing.cpython-312.pyc,, -geopandas/tests/__pycache__/test_types.cpython-312.pyc,, -geopandas/tests/__pycache__/util.cpython-312.pyc,, -geopandas/tests/data/null_geom.geojson,sha256=Xof4mv2lVaGx1D2dwShkFp1tAUmk8iK-EtQKaoatgGY,506 -geopandas/tests/test_api.py,sha256=hs89G8wStTWtfnJccYv7jMNiPFTV8mq0o6L7fcY7EbA,1010 -geopandas/tests/test_array.py,sha256=CsfhR-yPY3BGz9_ldlOQgURKFJVB-BdnkZy6iqA6bwY,28275 -geopandas/tests/test_compat.py,sha256=X2c7hrrJz-svTmJr1wkqJfcHxShE8tUHsHBup3qJMvc,923 -geopandas/tests/test_config.py,sha256=c19lPC70k1usUrpFdeRT2piNo3c8jJOY49pdQD67QcA,1204 -geopandas/tests/test_crs.py,sha256=twfdiFQlucq5wN-RACMuSY1Dy933_PSr22yVNUZLxtA,25332 -geopandas/tests/test_datasets.py,sha256=gHtrLbBKfwg0ndGdn3JuEgbiJ6G5qcvOhucJZpbKpYA,395 -geopandas/tests/test_decorator.py,sha256=n_F8jCXRbT0kXQ9saI8xmigPyMriyuxCHDoJnc_4tj8,1494 -geopandas/tests/test_dissolve.py,sha256=LbggQvNeY8R61NUlvEim3-7820Wz8V-ZBGUSj2S1h3g,11199 -geopandas/tests/test_explore.py,sha256=BZ_0cjNtuoojULMK6LUp3v2y4_5QVSfRdbbTBYtJEFY,34904 -geopandas/tests/test_extension_array.py,sha256=8l_-760oWqyp2EozXKnAkE8tKbOH6ecBuiLoUODmFz4,16297 -geopandas/tests/test_geocode.py,sha256=6eCWF5wl-6A9jbCV6GXpVU-PN2cA9PZT9y--f93OgZI,5297 -geopandas/tests/test_geodataframe.py,sha256=93PHq3p45oLvk66RssyJQjWwwERkRgCuhEq3D260Q0Y,53338 -geopandas/tests/test_geom_methods.py,sha256=KSOZ73eEVEwtIVqeR5rnNdRYLYXdlVcwEx1qzdCAoEk,72448 -geopandas/tests/test_geoseries.py,sha256=fEQpfftEKCez4TMAXPofE3XcM9rQSgSXFT9vSMmGQ7w,21265 -geopandas/tests/test_merge.py,sha256=fothB0t-NJNhmBUGI6TLim-WSs1upB82y_r0m3ckJIc,7549 -geopandas/tests/test_op_output_types.py,sha256=Tqgi_1ghPpk6XMpUI4JUPZ2x0BzSZ8T2RVF2mKytPes,13320 -geopandas/tests/test_overlay.py,sha256=MLl0-mN48PyHP-qEODv9DaShW9LsuVuUBJaqF8BGimE,29029 -geopandas/tests/test_pandas_methods.py,sha256=F9Q4MZQKCJ5GOnW8w8u1E3ib86cE-AR4PDdGlTcrgQU,26720 -geopandas/tests/test_plotting.py,sha256=5ZoF522vNm3mWFj0KpPG3X62RZFHVXYvO4rvKPN5CiU,73022 -geopandas/tests/test_show_versions.py,sha256=l8mOjlROhtCEQfCQViZXhjG_F6TSTSI8TtaJbhOW-o4,1171 -geopandas/tests/test_sindex.py,sha256=dfzrOnXDwjE5Yv7r_ONfsq33y85IATN9iPrrSccikEY,35750 -geopandas/tests/test_testing.py,sha256=JYdCwkPzzc6xtG6X_FABgoU79orf1_A24SeTlEhNAJA,5517 -geopandas/tests/test_types.py,sha256=DHZW8bRbt4j2bjsWVOircZVWsKunVSv22UW4dlsZjaM,2504 -geopandas/tests/util.py,sha256=YgOtywImnB-EAZ96qaFjj4QaR0XIqch3uiVDX32z0ug,4241 -geopandas/tools/__init__.py,sha256=oROF2vn3OHLDLaRJSV6aU1O0afCWCvc1JeL8z6Kcw4E,295 -geopandas/tools/__pycache__/__init__.cpython-312.pyc,, -geopandas/tools/__pycache__/_random.cpython-312.pyc,, -geopandas/tools/__pycache__/_show_versions.cpython-312.pyc,, -geopandas/tools/__pycache__/clip.cpython-312.pyc,, -geopandas/tools/__pycache__/geocoding.cpython-312.pyc,, -geopandas/tools/__pycache__/hilbert_curve.cpython-312.pyc,, -geopandas/tools/__pycache__/overlay.cpython-312.pyc,, -geopandas/tools/__pycache__/sjoin.cpython-312.pyc,, -geopandas/tools/__pycache__/util.cpython-312.pyc,, -geopandas/tools/_random.py,sha256=e31BOPduuHHQtvhw-Bb57E_BwNTJmEgJUol1baHmjvE,2534 -geopandas/tools/_show_versions.py,sha256=WndkMcqTLX25RAjKFRiNYwOeiUoWqNzxCMHvHU53s9A,3973 -geopandas/tools/clip.py,sha256=5PzJoDCQpwxOqfzq1mlZUSVs01ZzI5pseYZqh6iOxBU,8862 -geopandas/tools/geocoding.py,sha256=pSMYQAstIiwR-pQQKvpwIRSVwOjIR-LAihX5H_sgYfg,5647 -geopandas/tools/hilbert_curve.py,sha256=Ec2mjT1L3uugvByqZg8n8eD8Vt2P-AlfjAtdzopvW7Y,4773 -geopandas/tools/overlay.py,sha256=fKmtxcsuYZlKuhMkv8ptCIQ5FjfcIN4ia0PmK52xMOs,16327 -geopandas/tools/sjoin.py,sha256=xE5zZ4pgDpCtAsRQVMqtBeOsbGYeuy-njcIzewkMR2w,20149 -geopandas/tools/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -geopandas/tools/tests/__pycache__/__init__.cpython-312.pyc,, -geopandas/tools/tests/__pycache__/test_clip.cpython-312.pyc,, -geopandas/tools/tests/__pycache__/test_hilbert_curve.cpython-312.pyc,, -geopandas/tools/tests/__pycache__/test_random.cpython-312.pyc,, -geopandas/tools/tests/__pycache__/test_sjoin.cpython-312.pyc,, -geopandas/tools/tests/__pycache__/test_tools.cpython-312.pyc,, -geopandas/tools/tests/test_clip.py,sha256=52XIsntvqTbpFgz_TxNlLODtZ3lp3qzd75Br_agshSA,17173 -geopandas/tools/tests/test_hilbert_curve.py,sha256=1EwVymtkwXZEMm8FDZt7jBwhEKvftQ1SFOil4DsI5KU,2086 -geopandas/tools/tests/test_random.py,sha256=FrULxTsOe0o9u5XwwFrs20AzVRIMkKSkD0CvSrq1h1s,1923 -geopandas/tools/tests/test_sjoin.py,sha256=U2oq0jZIpCjO0W1K-f8ZGx-SvZ_XmORozfkECKws9CA,36700 -geopandas/tools/tests/test_tools.py,sha256=zFmiAHBNKbSsdSmKkRFCueW_Oysz_Rca8Dvvd9wsKPg,1483 -geopandas/tools/util.py,sha256=uz9uNGjocNJgaIGxZzfApz842hL7lFI3gr5e7lbC7ng,1465 diff --git a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/WHEEL deleted file mode 100644 index ba48cbcf..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.41.3) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/top_level.txt deleted file mode 100644 index d956e3b4..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas-0.14.1.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -geopandas diff --git a/.venv/lib/python3.12/site-packages/geopandas/__init__.py b/.venv/lib/python3.12/site-packages/geopandas/__init__.py index bbe1b445..42994e56 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/__init__.py +++ b/.venv/lib/python3.12/site-packages/geopandas/__init__.py @@ -5,6 +5,7 @@ from geopandas.geodataframe import GeoDataFrame from geopandas.array import points_from_xy from geopandas.io.file import _read_file as read_file +from geopandas.io.file import _list_layers as list_layers from geopandas.io.arrow import _read_parquet as read_parquet from geopandas.io.arrow import _read_feather as read_feather from geopandas.io.sql import _read_postgis as read_postgis diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/__init__.cpython-312.pyc index 94500d6c..5e8c0613 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_compat.cpython-312.pyc index 0a43d025..f81a2eec 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_config.cpython-312.pyc index 22c3fcf0..eb84e6d0 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_config.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_config.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_decorator.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_decorator.cpython-312.pyc index 36ec5505..af5f39dd 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_decorator.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_decorator.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_vectorized.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_vectorized.cpython-312.pyc deleted file mode 100644 index c4b4d503..00000000 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_vectorized.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_version.cpython-312.pyc index f40ec372..b787db32 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/_version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/array.cpython-312.pyc index b3471d61..b9424370 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/base.cpython-312.pyc index f55eeebe..3c2de004 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/conftest.cpython-312.pyc index 5062402c..57cb50a2 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/explore.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/explore.cpython-312.pyc index e2150b0c..7114c15d 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/explore.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/explore.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/geodataframe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/geodataframe.cpython-312.pyc index 995449ef..b455ba6e 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/geodataframe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/geodataframe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/geoseries.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/geoseries.cpython-312.pyc index 24c67c6c..dba29603 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/geoseries.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/geoseries.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/plotting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/plotting.cpython-312.pyc index 1ecf6ffd..d994e605 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/plotting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/plotting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/sindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/sindex.cpython-312.pyc index d11f15a2..afd74298 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/sindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/sindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/testing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/testing.cpython-312.pyc index 28d6ce3e..08552e84 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/__pycache__/testing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/__pycache__/testing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/_compat.py b/.venv/lib/python3.12/site-packages/geopandas/_compat.py index 66268c4f..3d582bdc 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/_compat.py +++ b/.venv/lib/python3.12/site-packages/geopandas/_compat.py @@ -1,15 +1,11 @@ -import contextlib -from packaging.version import Version import importlib -import os -import warnings +from packaging.version import Version -import numpy as np import pandas as pd + import shapely import shapely.geos - # ----------------------------------------------------------------------------- # pandas compat # ----------------------------------------------------------------------------- @@ -17,182 +13,20 @@ import shapely.geos PANDAS_GE_14 = Version(pd.__version__) >= Version("1.4.0rc0") PANDAS_GE_15 = Version(pd.__version__) >= Version("1.5.0") PANDAS_GE_20 = Version(pd.__version__) >= Version("2.0.0") +PANDAS_GE_202 = Version(pd.__version__) >= Version("2.0.2") PANDAS_GE_21 = Version(pd.__version__) >= Version("2.1.0") -PANDAS_GE_22 = Version(pd.__version__) >= Version("2.2.0.dev0") +PANDAS_GE_22 = Version(pd.__version__) >= Version("2.2.0") +PANDAS_GE_30 = Version(pd.__version__) >= Version("3.0.0.dev0") # ----------------------------------------------------------------------------- -# Shapely / PyGEOS compat +# Shapely / GEOS compat # ----------------------------------------------------------------------------- - -SHAPELY_GE_182 = Version(shapely.__version__) >= Version("1.8.2") -SHAPELY_GE_20 = Version(shapely.__version__) >= Version("2.0.0.dev0") -SHAPELY_G_20a1 = Version(shapely.__version__) > Version("2.0a1") +SHAPELY_GE_204 = Version(shapely.__version__) >= Version("2.0.4") GEOS_GE_390 = shapely.geos.geos_version >= (3, 9, 0) - - -HAS_PYGEOS = None -USE_PYGEOS = None -USE_SHAPELY_20 = None -PYGEOS_SHAPELY_COMPAT = None - -PYGEOS_GE_09 = None -PYGEOS_GE_010 = None - -INSTALL_PYGEOS_ERROR = "To use PyGEOS within GeoPandas, you need to install PyGEOS: \ -'conda install pygeos' or 'pip install pygeos'" - -try: - import pygeos - - # only automatically use pygeos if version is high enough - if Version(pygeos.__version__) >= Version("0.8"): - HAS_PYGEOS = True - PYGEOS_GE_09 = Version(pygeos.__version__) >= Version("0.9") - PYGEOS_GE_010 = Version(pygeos.__version__) >= Version("0.10") - else: - warnings.warn( - "The installed version of PyGEOS is too old ({0} installed, 0.8 required)," - " and thus GeoPandas will not use PyGEOS.".format(pygeos.__version__), - UserWarning, - stacklevel=2, - ) - HAS_PYGEOS = False -except ImportError: - HAS_PYGEOS = False - - -def set_use_pygeos(val=None): - """ - Set the global configuration on whether to use PyGEOS or not. - - The default is use PyGEOS if it is installed. This can be overridden - with an environment variable USE_PYGEOS (this is only checked at - first import, cannot be changed during interactive session). - - Alternatively, pass a value here to force a True/False value. - """ - global USE_PYGEOS - global USE_SHAPELY_20 - global PYGEOS_SHAPELY_COMPAT - - env_use_pygeos = os.getenv("USE_PYGEOS", None) - - if val is not None: - USE_PYGEOS = bool(val) - else: - if USE_PYGEOS is None: - if SHAPELY_GE_20: - USE_PYGEOS = False - else: - USE_PYGEOS = HAS_PYGEOS - - if env_use_pygeos is not None: - USE_PYGEOS = bool(int(env_use_pygeos)) - - # validate the pygeos version - if USE_PYGEOS: - try: - import pygeos - - # validate the pygeos version - if not Version(pygeos.__version__) >= Version("0.8"): - if SHAPELY_GE_20: - USE_PYGEOS = False - warnings.warn( - "The PyGEOS version is too old, and Shapely >= 2 is installed, " - "thus using Shapely by default and not PyGEOS.", - stacklevel=2, - ) - else: - raise ImportError( - "PyGEOS >= 0.8 is required, version {0} is installed".format( - pygeos.__version__ - ) - ) - - # Check whether Shapely and PyGEOS use the same GEOS version. - # Based on PyGEOS from_shapely implementation. - - from shapely.geos import geos_version_string as shapely_geos_version - from pygeos import geos_capi_version_string - - # shapely has something like: "3.6.2-CAPI-1.10.2 4d2925d6" - # pygeos has something like: "3.6.2-CAPI-1.10.2" - if not shapely_geos_version.startswith(geos_capi_version_string): - warnings.warn( - "The Shapely GEOS version ({}) is incompatible with the GEOS " - "version PyGEOS was compiled with ({}). Conversions between both " - "will be slow.".format( - shapely_geos_version, geos_capi_version_string - ), - stacklevel=2, - ) - PYGEOS_SHAPELY_COMPAT = False - else: - PYGEOS_SHAPELY_COMPAT = True - - except ImportError: - raise ImportError(INSTALL_PYGEOS_ERROR) - - if USE_PYGEOS: - warnings.warn( - "GeoPandas is set to use PyGEOS over Shapely. PyGEOS support is deprecated" - "and will be removed in GeoPandas 1.0, released in the Q1 of 2024. " - "Please migrate to Shapely 2.0 " - "(https://geopandas.org/en/stable/docs/user_guide/pygeos_to_shapely.html).", - DeprecationWarning, - stacklevel=6, - ) - - USE_SHAPELY_20 = (not USE_PYGEOS) and SHAPELY_GE_20 - - -set_use_pygeos() - - -# compat related to deprecation warnings introduced in Shapely 1.8 -# -> creating a numpy array from a list-like of Multi-part geometries, -# although doing the correct thing (not expanding in its parts), still raises -# the warning about iteration being deprecated -# This adds a context manager to explicitly ignore this warning - - -try: - from shapely.errors import ShapelyDeprecationWarning as shapely_warning -except ImportError: - shapely_warning = None - - -if shapely_warning is not None and not SHAPELY_GE_20: - - @contextlib.contextmanager - def ignore_shapely2_warnings(): - with warnings.catch_warnings(): - warnings.filterwarnings( - "ignore", "Iteration|The array interface|__len__", shapely_warning - ) - yield - -elif (Version(np.__version__) >= Version("1.21")) and not SHAPELY_GE_20: - - @contextlib.contextmanager - def ignore_shapely2_warnings(): - with warnings.catch_warnings(): - # warning from numpy for existing Shapely releases (this is fixed - # with Shapely 1.8) - warnings.filterwarnings( - "ignore", "An exception was ignored while fetching", DeprecationWarning - ) - yield - -else: - - @contextlib.contextmanager - def ignore_shapely2_warnings(): - yield +GEOS_GE_310 = shapely.geos.geos_version >= (3, 10, 0) def import_optional_dependency(name: str, extra: str = ""): @@ -232,20 +66,27 @@ def import_optional_dependency(name: str, extra: str = ""): return module -# ----------------------------------------------------------------------------- -# RTree compat -# ----------------------------------------------------------------------------- - -HAS_RTREE = None -RTREE_GE_094 = False -try: - import rtree # noqa: F401 - - HAS_RTREE = True -except ImportError: - HAS_RTREE = False - - # ----------------------------------------------------------------------------- # pyproj compat # ----------------------------------------------------------------------------- +try: + import pyproj # noqa: F401 + + HAS_PYPROJ = True + +except ImportError as err: + HAS_PYPROJ = False + pyproj_import_error = str(err) + + +def requires_pyproj(func): + def wrapper(*args, **kwargs): + if not HAS_PYPROJ: + raise ImportError( + f"The 'pyproj' package is required for {func.__name__} to work. " + "Install it and initialize the object with a CRS before using it." + f"\nImporting pyproj resulted in: {pyproj_import_error}" + ) + return func(*args, **kwargs) + + return wrapper diff --git a/.venv/lib/python3.12/site-packages/geopandas/_config.py b/.venv/lib/python3.12/site-packages/geopandas/_config.py index 6f29933a..d92882a7 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/_config.py +++ b/.venv/lib/python3.12/site-packages/geopandas/_config.py @@ -5,9 +5,10 @@ Based on https://github.com/topper-123/optioneer, but simplified (don't deal with nested options, deprecated options, ..), just the attribute-style dict like holding the options and giving a nice repr. """ -from collections import namedtuple -import textwrap +import textwrap +import warnings +from collections import namedtuple Option = namedtuple("Option", "key default_value doc validator callback") @@ -86,35 +87,12 @@ display_precision = Option( ) -def _validate_bool(value): - if not isinstance(value, bool): - raise TypeError("Expected bool value, got {0}".format(type(value))) - - -def _default_use_pygeos(): - import geopandas._compat as compat - - return compat.USE_PYGEOS - - -def _callback_use_pygeos(key, value): - assert key == "use_pygeos" - import geopandas._compat as compat - - compat.set_use_pygeos(value) - - -use_pygeos = Option( - key="use_pygeos", - default_value=_default_use_pygeos(), - doc=( - "Whether to use PyGEOS to speed up spatial operations. The default is True " - "if PyGEOS is installed, and follows the USE_PYGEOS environment variable " - "if set." - ), - validator=_validate_bool, - callback=_callback_use_pygeos, -) +def _warn_use_pygeos_deprecated(_value): + warnings.warn( + "pygeos support was removed in 1.0. " + "geopandas.use_pygeos is a no-op and will be removed in geopandas 1.1.", + stacklevel=3, + ) def _validate_io_engine(value): @@ -134,6 +112,17 @@ io_engine = Option( callback=None, ) +# TODO: deprecate this +use_pygeos = Option( + key="use_pygeos", + default_value=False, + doc=( + "Deprecated option previously used to enable PyGEOS. " + "It will be removed in GeoPandas 1.1." + ), + validator=_warn_use_pygeos_deprecated, + callback=None, +) options = Options( { diff --git a/.venv/lib/python3.12/site-packages/geopandas/_decorator.py b/.venv/lib/python3.12/site-packages/geopandas/_decorator.py index 6c263c75..dee8e17c 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/_decorator.py +++ b/.venv/lib/python3.12/site-packages/geopandas/_decorator.py @@ -1,7 +1,6 @@ from textwrap import dedent from typing import Callable, Union - # doc decorator function ported with modifications from Pandas # https://github.com/pandas-dev/pandas/blob/master/pandas/util/_decorators.py @@ -39,9 +38,11 @@ def doc(*docstrings: Union[str, Callable], **params) -> Callable: # formatting templates and concatenating docstring decorated.__doc__ = "".join( - component.format(**params) - if isinstance(component, str) - else dedent(component.__doc__ or "") + ( + component.format(**params) + if isinstance(component, str) + else dedent(component.__doc__ or "") + ) for component in docstring_components ) diff --git a/.venv/lib/python3.12/site-packages/geopandas/_vectorized.py b/.venv/lib/python3.12/site-packages/geopandas/_vectorized.py deleted file mode 100644 index 9f1a8b39..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas/_vectorized.py +++ /dev/null @@ -1,1309 +0,0 @@ -""" -Compatibility shim for the vectorized geometry operations. - -Uses PyGEOS if available/set, otherwise loops through Shapely geometries. - -""" -import warnings - -import numpy as np -import pandas as pd -import shapely -import shapely.geometry -import shapely.geos -import shapely.ops -import shapely.validation -import shapely.wkb -import shapely.wkt -from shapely.geometry.base import BaseGeometry - -from . import _compat as compat - -try: - import pygeos -except ImportError: - geos = None - - -_names = { - "MISSING": None, - "NAG": None, - "POINT": "Point", - "LINESTRING": "LineString", - "LINEARRING": "LinearRing", - "POLYGON": "Polygon", - "MULTIPOINT": "MultiPoint", - "MULTILINESTRING": "MultiLineString", - "MULTIPOLYGON": "MultiPolygon", - "GEOMETRYCOLLECTION": "GeometryCollection", -} - -if compat.USE_SHAPELY_20 or compat.USE_PYGEOS: - if compat.USE_SHAPELY_20: - type_mapping = {p.value: _names[p.name] for p in shapely.GeometryType} - else: - type_mapping = {p.value: _names[p.name] for p in pygeos.GeometryType} - geometry_type_ids = list(type_mapping.keys()) - geometry_type_values = np.array(list(type_mapping.values()), dtype=object) -else: - type_mapping, geometry_type_ids, geometry_type_values = None, None, None - - -def isna(value): - """ - Check if scalar value is NA-like (None, np.nan or pd.NA). - - Custom version that only works for scalars (returning True or False), - as `pd.isna` also works for array-like input returning a boolean array. - """ - if value is None: - return True - elif isinstance(value, float) and np.isnan(value): - return True - elif value is pd.NA: - return True - else: - return False - - -def _pygeos_to_shapely(geom): - if geom is None: - return None - - if compat.PYGEOS_SHAPELY_COMPAT: - # we can only use this compatible fast path for shapely < 2, because - # shapely 2+ doesn't expose clone - if not compat.SHAPELY_GE_20: - geom = shapely.geos.lgeos.GEOSGeom_clone(geom._ptr) - return shapely.geometry.base.geom_factory(geom) - - # fallback going through WKB - if pygeos.is_empty(geom) and pygeos.get_type_id(geom) == 0: - # empty point does not roundtrip through WKB - return shapely.wkt.loads("POINT EMPTY") - elif pygeos.get_type_id(geom) == 2: - # linearring does not roundtrip through WKB - return shapely.LinearRing(shapely.wkb.loads(pygeos.to_wkb(geom))) - else: - return shapely.wkb.loads(pygeos.to_wkb(geom)) - - -def _shapely_to_pygeos(geom): - if geom is None: - return None - - if compat.PYGEOS_SHAPELY_COMPAT: - return pygeos.from_shapely(geom) - - # fallback going through WKB - if geom.is_empty and geom.geom_type == "Point": - # empty point does not roundtrip through WKB - return pygeos.from_wkt("POINT EMPTY") - else: - return pygeos.from_wkb(geom.wkb) - - -def from_shapely(data): - """ - Convert a list or array of shapely objects to an object-dtype numpy - array of validated geometry elements. - - """ - # First try a fast path for pygeos if possible, but do this in a try-except - # block because pygeos.from_shapely only handles Shapely objects, while - # the rest of this function is more forgiving (also __geo_interface__). - if compat.USE_PYGEOS and compat.PYGEOS_SHAPELY_COMPAT: - if not isinstance(data, np.ndarray): - arr = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - arr[:] = data - else: - arr = data - try: - return pygeos.from_shapely(arr) - except TypeError: - pass - - out = [] - - for geom in data: - if compat.USE_PYGEOS and isinstance(geom, pygeos.Geometry): - out.append(geom) - elif isinstance(geom, BaseGeometry): - if compat.USE_PYGEOS: - out.append(_shapely_to_pygeos(geom)) - else: - out.append(geom) - elif hasattr(geom, "__geo_interface__"): - geom = shapely.geometry.shape(geom) - if compat.USE_PYGEOS: - out.append(_shapely_to_pygeos(geom)) - else: - out.append(geom) - elif isna(geom): - out.append(None) - else: - raise TypeError("Input must be valid geometry objects: {0}".format(geom)) - - if compat.USE_PYGEOS: - return np.array(out, dtype=object) - else: - # numpy can expand geometry collections into 2D arrays, use this - # two-step construction to avoid this - aout = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - aout[:] = out - return aout - - -def to_shapely(data): - if compat.USE_PYGEOS: - out = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - out[:] = [_pygeos_to_shapely(geom) for geom in data] - return out - else: - return data - - -def from_wkb(data): - """ - Convert a list or array of WKB objects to a np.ndarray[geoms]. - """ - if compat.USE_SHAPELY_20: - return shapely.from_wkb(data) - if compat.USE_PYGEOS: - return pygeos.from_wkb(data) - - out = [] - - for geom in data: - if not isna(geom) and len(geom): - geom = shapely.wkb.loads(geom, hex=isinstance(geom, str)) - else: - geom = None - out.append(geom) - - aout = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - aout[:] = out - return aout - - -def to_wkb(data, hex=False, **kwargs): - if compat.USE_SHAPELY_20: - return shapely.to_wkb(data, hex=hex, **kwargs) - elif compat.USE_PYGEOS: - return pygeos.to_wkb(data, hex=hex, **kwargs) - else: - if hex: - out = [geom.wkb_hex if geom is not None else None for geom in data] - else: - out = [geom.wkb if geom is not None else None for geom in data] - return np.array(out, dtype=object) - - -def from_wkt(data): - """ - Convert a list or array of WKT objects to a np.ndarray[geoms]. - """ - if compat.USE_SHAPELY_20: - return shapely.from_wkt(data) - if compat.USE_PYGEOS: - return pygeos.from_wkt(data) - - out = [] - - for geom in data: - if not isna(geom) and len(geom): - if isinstance(geom, bytes): - geom = geom.decode("utf-8") - geom = shapely.wkt.loads(geom) - else: - geom = None - out.append(geom) - - aout = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - aout[:] = out - return aout - - -def to_wkt(data, **kwargs): - if compat.USE_SHAPELY_20: - return shapely.to_wkt(data, **kwargs) - elif compat.USE_PYGEOS: - return pygeos.to_wkt(data, **kwargs) - else: - out = [geom.wkt if geom is not None else None for geom in data] - return np.array(out, dtype=object) - - -def _points_from_xy(x, y, z=None): - # helper method for shapely-based function - if not len(x) == len(y): - raise ValueError("x and y arrays must be equal length.") - if z is not None: - if not len(z) == len(x): - raise ValueError("z array must be same length as x and y.") - geom = [shapely.geometry.Point(i, j, k) for i, j, k in zip(x, y, z)] - else: - geom = [shapely.geometry.Point(i, j) for i, j in zip(x, y)] - return geom - - -def points_from_xy(x, y, z=None): - x = np.asarray(x, dtype="float64") - y = np.asarray(y, dtype="float64") - if z is not None: - z = np.asarray(z, dtype="float64") - - if compat.USE_SHAPELY_20: - return shapely.points(x, y, z) - elif compat.USE_PYGEOS: - return pygeos.points(x, y, z) - else: - out = _points_from_xy(x, y, z) - aout = np.empty(len(x), dtype=object) - with compat.ignore_shapely2_warnings(): - aout[:] = out - return aout - - -# ----------------------------------------------------------------------------- -# Helper methods for the vectorized operations -# ----------------------------------------------------------------------------- - - -def _binary_method(op, left, right, **kwargs): - # type: (str, np.array[geoms], [np.array[geoms]/BaseGeometry]) -> array-like - if isinstance(right, BaseGeometry): - right = from_shapely([right])[0] - return getattr(pygeos, op)(left, right, **kwargs) - - -def _binary_geo(op, left, right): - # type: (str, np.array[geoms], [np.array[geoms]/BaseGeometry]) -> np.array[geoms] - """Apply geometry-valued operation - - Supports: - - - difference - - symmetric_difference - - intersection - - union - - Parameters - ---------- - op: string - right: np.array[geoms] or single shapely BaseGeoemtry - """ - if isinstance(right, BaseGeometry): - # intersection can return empty GeometryCollections, and if the - # result are only those, numpy will coerce it to empty 2D array - data = np.empty(len(left), dtype=object) - with compat.ignore_shapely2_warnings(): - data[:] = [ - getattr(s, op)(right) if s is not None and right is not None else None - for s in left - ] - return data - elif isinstance(right, np.ndarray): - if len(left) != len(right): - msg = "Lengths of inputs do not match. Left: {0}, Right: {1}".format( - len(left), len(right) - ) - raise ValueError(msg) - data = np.empty(len(left), dtype=object) - with compat.ignore_shapely2_warnings(): - data[:] = [ - getattr(this_elem, op)(other_elem) - if this_elem is not None and other_elem is not None - else None - for this_elem, other_elem in zip(left, right) - ] - return data - else: - raise TypeError("Type not known: {0} vs {1}".format(type(left), type(right))) - - -def _binary_predicate(op, left, right, *args, **kwargs): - # type: (str, np.array[geoms], np.array[geoms]/BaseGeometry, args/kwargs) - # -> array[bool] - """Binary operation on np.array[geoms] that returns a boolean ndarray - - Supports: - - - contains - - disjoint - - intersects - - touches - - crosses - - within - - overlaps - - covers - - covered_by - - equals - - Parameters - ---------- - op: string - right: np.array[geoms] or single shapely BaseGeoemtry - """ - # empty geometries are handled by shapely (all give False except disjoint) - if isinstance(right, BaseGeometry): - data = [ - getattr(s, op)(right, *args, **kwargs) if s is not None else False - for s in left - ] - return np.array(data, dtype=bool) - elif isinstance(right, np.ndarray): - data = [ - getattr(this_elem, op)(other_elem, *args, **kwargs) - if not (this_elem is None or other_elem is None) - else False - for this_elem, other_elem in zip(left, right) - ] - return np.array(data, dtype=bool) - else: - raise TypeError("Type not known: {0} vs {1}".format(type(left), type(right))) - - -def _binary_op_float(op, left, right, *args, **kwargs): - # type: (str, np.array[geoms], np.array[geoms]/BaseGeometry, args/kwargs) - # -> array - """Binary operation on np.array[geoms] that returns a ndarray""" - # used for distance -> check for empty as we want to return np.nan instead 0.0 - # as shapely does currently (https://github.com/Toblerity/Shapely/issues/498) - if isinstance(right, BaseGeometry): - data = [ - getattr(s, op)(right, *args, **kwargs) - if not (s is None or s.is_empty or right.is_empty) - else np.nan - for s in left - ] - return np.array(data, dtype=float) - elif isinstance(right, np.ndarray): - if len(left) != len(right): - msg = "Lengths of inputs do not match. Left: {0}, Right: {1}".format( - len(left), len(right) - ) - raise ValueError(msg) - data = [ - getattr(this_elem, op)(other_elem, *args, **kwargs) - if not (this_elem is None or this_elem.is_empty) - | (other_elem is None or other_elem.is_empty) - else np.nan - for this_elem, other_elem in zip(left, right) - ] - return np.array(data, dtype=float) - else: - raise TypeError("Type not known: {0} vs {1}".format(type(left), type(right))) - - -def _binary_op(op, left, right, *args, **kwargs): - # type: (str, np.array[geoms], np.array[geoms]/BaseGeometry, args/kwargs) - # -> array - """Binary operation on np.array[geoms] that returns a ndarray""" - # pass empty to shapely (relate handles this correctly, project only - # for linestrings and points) - if op == "project": - null_value = np.nan - dtype = float - elif op == "relate": - null_value = None - dtype = object - else: - raise AssertionError("wrong op") - - if isinstance(right, BaseGeometry): - data = [ - getattr(s, op)(right, *args, **kwargs) if s is not None else null_value - for s in left - ] - return np.array(data, dtype=dtype) - elif isinstance(right, np.ndarray): - if len(left) != len(right): - msg = "Lengths of inputs do not match. Left: {0}, Right: {1}".format( - len(left), len(right) - ) - raise ValueError(msg) - data = [ - getattr(this_elem, op)(other_elem, *args, **kwargs) - if not (this_elem is None or other_elem is None) - else null_value - for this_elem, other_elem in zip(left, right) - ] - return np.array(data, dtype=dtype) - else: - raise TypeError("Type not known: {0} vs {1}".format(type(left), type(right))) - - -def _affinity_method(op, left, *args, **kwargs): - # type: (str, np.array[geoms], ...) -> np.array[geoms] - - # not all shapely.affinity methods can handle empty geometries: - # affine_transform itself works (as well as translate), but rotate, scale - # and skew fail (they try to unpack the bounds). - # Here: consistently returning empty geom for input empty geom - left = to_shapely(left) - out = [] - for geom in left: - if geom is None or geom.is_empty: - res = geom - else: - res = getattr(shapely.affinity, op)(geom, *args, **kwargs) - out.append(res) - data = np.empty(len(left), dtype=object) - with compat.ignore_shapely2_warnings(): - data[:] = out - return from_shapely(data) - - -# ----------------------------------------------------------------------------- -# Vectorized operations -# ----------------------------------------------------------------------------- - - -# -# Unary operations that return non-geometry (bool or float) -# - - -def _unary_op(op, left, null_value=False): - # type: (str, np.array[geoms], Any) -> np.array - """Unary operation that returns a Series""" - data = [getattr(geom, op, null_value) for geom in left] - return np.array(data, dtype=np.dtype(type(null_value))) - - -def is_valid(data): - if compat.USE_SHAPELY_20: - return shapely.is_valid(data) - elif compat.USE_PYGEOS: - return pygeos.is_valid(data) - else: - return _unary_op("is_valid", data, null_value=False) - - -def is_empty(data): - if compat.USE_SHAPELY_20: - return shapely.is_empty(data) - elif compat.USE_PYGEOS: - return pygeos.is_empty(data) - else: - return _unary_op("is_empty", data, null_value=False) - - -def is_simple(data): - if compat.USE_SHAPELY_20: - return shapely.is_simple(data) - elif compat.USE_PYGEOS: - return pygeos.is_simple(data) - else: - return _unary_op("is_simple", data, null_value=False) - - -def is_ring(data): - if "Polygon" in geom_type(data): - warnings.warn( - "is_ring currently returns True for Polygons, which is not correct. " - "This will be corrected to False in a future release.", - FutureWarning, - stacklevel=3, - ) - if compat.USE_PYGEOS: - return pygeos.is_ring(data) | pygeos.is_ring(pygeos.get_exterior_ring(data)) - else: - # for polygons operates on the exterior, so can't use _unary_op() - results = [] - for geom in data: - if geom is None: - results.append(False) - elif geom.geom_type == "Polygon": - results.append(geom.exterior.is_ring) - elif geom.geom_type in ["LineString", "LinearRing"]: - results.append(geom.is_ring) - else: - results.append(False) - return np.array(results, dtype=bool) - - -def is_closed(data): - if compat.USE_SHAPELY_20: - return shapely.is_closed(data) - elif compat.USE_PYGEOS: - return pygeos.is_closed(data) - else: - return _unary_op("is_closed", data, null_value=False) - - -def has_z(data): - if compat.USE_SHAPELY_20: - return shapely.has_z(data) - elif compat.USE_PYGEOS: - return pygeos.has_z(data) - else: - return _unary_op("has_z", data, null_value=False) - - -def geom_type(data): - if compat.USE_SHAPELY_20: - res = shapely.get_type_id(data) - return geometry_type_values[np.searchsorted(geometry_type_ids, res)] - elif compat.USE_PYGEOS: - res = pygeos.get_type_id(data) - return geometry_type_values[np.searchsorted(geometry_type_ids, res)] - else: - return _unary_op("geom_type", data, null_value=None) - - -def area(data): - if compat.USE_SHAPELY_20: - return shapely.area(data) - elif compat.USE_PYGEOS: - return pygeos.area(data) - else: - return _unary_op("area", data, null_value=np.nan) - - -def length(data): - if compat.USE_SHAPELY_20: - return shapely.length(data) - elif compat.USE_PYGEOS: - return pygeos.length(data) - else: - return _unary_op("length", data, null_value=np.nan) - - -# -# Unary operations that return new geometries -# - - -def _unary_geo(op, left, *args, **kwargs): - # type: (str, np.array[geoms]) -> np.array[geoms] - """Unary operation that returns new geometries""" - # ensure 1D output, see note above - data = np.empty(len(left), dtype=object) - with compat.ignore_shapely2_warnings(): - data[:] = [getattr(geom, op, None) for geom in left] - return data - - -def boundary(data): - if compat.USE_SHAPELY_20: - return shapely.boundary(data) - elif compat.USE_PYGEOS: - return pygeos.boundary(data) - else: - return _unary_geo("boundary", data) - - -def centroid(data): - if compat.USE_SHAPELY_20: - return shapely.centroid(data) - elif compat.USE_PYGEOS: - return pygeos.centroid(data) - else: - return _unary_geo("centroid", data) - - -def concave_hull(data, **kwargs): - if compat.USE_SHAPELY_20: - return shapely.concave_hull(data, **kwargs) - if compat.USE_PYGEOS and compat.SHAPELY_GE_20: - warnings.warn( - "PyGEOS does not support concave_hull, and Shapely >= 2 is installed, " - "thus using Shapely and not PyGEOS for calculating the concave_hull.", - stacklevel=4, - ) - return pygeos.from_shapely(shapely.concave_hull(to_shapely(data), **kwargs)) - else: - raise NotImplementedError( - f"shapely >= 2.0 is required, " - f"version {shapely.__version__} is installed" - ) - - -def convex_hull(data): - if compat.USE_SHAPELY_20: - return shapely.convex_hull(data) - elif compat.USE_PYGEOS: - return pygeos.convex_hull(data) - else: - return _unary_geo("convex_hull", data) - - -def delaunay_triangles(data, tolerance, only_edges): - if compat.USE_SHAPELY_20: - return shapely.delaunay_triangles(data, tolerance, only_edges) - elif compat.USE_PYGEOS: - return pygeos.delaunay_triangles(data, tolerance, only_edges) - else: - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -def envelope(data): - if compat.USE_SHAPELY_20: - return shapely.envelope(data) - elif compat.USE_PYGEOS: - return pygeos.envelope(data) - else: - return _unary_geo("envelope", data) - - -def minimum_rotated_rectangle(data): - if compat.USE_SHAPELY_20: - return shapely.oriented_envelope(data) - elif compat.USE_PYGEOS: - return pygeos.oriented_envelope(data) - else: - return _unary_geo("minimum_rotated_rectangle", data) - - -def exterior(data): - if compat.USE_SHAPELY_20: - return shapely.get_exterior_ring(data) - elif compat.USE_PYGEOS: - return pygeos.get_exterior_ring(data) - else: - return _unary_geo("exterior", data) - - -def extract_unique_points(data): - if compat.USE_SHAPELY_20: - return shapely.extract_unique_points(data) - elif compat.USE_PYGEOS: - return pygeos.extract_unique_points(data) - else: - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -def offset_curve(data, distance, quad_segs=8, join_style="round", mitre_limit=5.0): - if compat.USE_SHAPELY_20: - return shapely.offset_curve( - data, - distance=distance, - quad_segs=quad_segs, - join_style=join_style, - mitre_limit=mitre_limit, - ) - elif compat.USE_PYGEOS: - return pygeos.offset_curve(data, distance, quad_segs, join_style, mitre_limit) - else: - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -def interiors(data): - data = to_shapely(data) - has_non_poly = False - inner_rings = [] - for geom in data: - interior_ring_seq = getattr(geom, "interiors", None) - # polygon case - if interior_ring_seq is not None: - inner_rings.append(list(interior_ring_seq)) - # non-polygon case - else: - has_non_poly = True - inner_rings.append(None) - if has_non_poly: - warnings.warn( - "Only Polygon objects have interior rings. For other " - "geometry types, None is returned.", - stacklevel=2, - ) - data = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - data[:] = inner_rings - return data - - -def remove_repeated_points(data, tolerance=0.0): - if compat.USE_SHAPELY_20: - return shapely.remove_repeated_points(data, tolerance=tolerance) - if compat.USE_PYGEOS and compat.SHAPELY_GE_20: - warnings.warn( - "PyGEOS does not support remove_repeated_points, and Shapely >= 2 is " - "installed, thus using Shapely and not PyGEOS to remove repeated points.", - stacklevel=4, - ) - return pygeos.from_shapely( - shapely.remove_repeated_points(to_shapely(data), tolerance=tolerance) - ) - else: - raise NotImplementedError( - f"shapely >= 2.0 is required, " - f"version {shapely.__version__} is installed" - ) - - -def representative_point(data): - if compat.USE_PYGEOS: - return pygeos.point_on_surface(data) - else: - # method and not a property -> can't use _unary_geo - out = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - out[:] = [ - geom.representative_point() if geom is not None else None - for geom in data - ] - return out - - -def minimum_bounding_circle(data): - if compat.USE_SHAPELY_20: - return shapely.minimum_bounding_circle(data) - elif compat.USE_PYGEOS: - return pygeos.minimum_bounding_circle(data) - else: - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -def minimum_bounding_radius(data): - if compat.USE_SHAPELY_20: - return shapely.minimum_bounding_radius(data) - elif compat.USE_PYGEOS: - return pygeos.minimum_bounding_radius(data) - else: - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -def segmentize(data, max_segment_length): - if compat.USE_SHAPELY_20: - return shapely.segmentize(data, max_segment_length) - elif compat.USE_PYGEOS: - return pygeos.segmentize(data, max_segment_length) - else: - raise NotImplementedError( - "shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -# -# Binary predicates -# - - -def covers(data, other): - if compat.USE_SHAPELY_20: - return shapely.covers(data, other) - elif compat.USE_PYGEOS: - return _binary_method("covers", data, other) - else: - return _binary_predicate("covers", data, other) - - -def covered_by(data, other): - if compat.USE_SHAPELY_20: - return shapely.covered_by(data, other) - elif compat.USE_PYGEOS: - return _binary_method("covered_by", data, other) - else: - raise NotImplementedError( - "covered_by is only implemented for pygeos, not shapely" - ) - - -def contains(data, other): - if compat.USE_SHAPELY_20: - return shapely.contains(data, other) - elif compat.USE_PYGEOS: - return _binary_method("contains", data, other) - else: - return _binary_predicate("contains", data, other) - - -def crosses(data, other): - if compat.USE_SHAPELY_20: - return shapely.crosses(data, other) - elif compat.USE_PYGEOS: - return _binary_method("crosses", data, other) - else: - return _binary_predicate("crosses", data, other) - - -def disjoint(data, other): - if compat.USE_SHAPELY_20: - return shapely.disjoint(data, other) - elif compat.USE_PYGEOS: - return _binary_method("disjoint", data, other) - else: - return _binary_predicate("disjoint", data, other) - - -def equals(data, other): - if compat.USE_SHAPELY_20: - return shapely.equals(data, other) - elif compat.USE_PYGEOS: - return _binary_method("equals", data, other) - else: - return _binary_predicate("equals", data, other) - - -def intersects(data, other): - if compat.USE_SHAPELY_20: - return shapely.intersects(data, other) - elif compat.USE_PYGEOS: - return _binary_method("intersects", data, other) - else: - return _binary_predicate("intersects", data, other) - - -def overlaps(data, other): - if compat.USE_SHAPELY_20: - return shapely.overlaps(data, other) - elif compat.USE_PYGEOS: - return _binary_method("overlaps", data, other) - else: - return _binary_predicate("overlaps", data, other) - - -def touches(data, other): - if compat.USE_SHAPELY_20: - return shapely.touches(data, other) - elif compat.USE_PYGEOS: - return _binary_method("touches", data, other) - else: - return _binary_predicate("touches", data, other) - - -def within(data, other): - if compat.USE_SHAPELY_20: - return shapely.within(data, other) - elif compat.USE_PYGEOS: - return _binary_method("within", data, other) - else: - return _binary_predicate("within", data, other) - - -def equals_exact(data, other, tolerance): - if compat.USE_SHAPELY_20: - return shapely.equals_exact(data, other, tolerance=tolerance) - elif compat.USE_PYGEOS: - return _binary_method("equals_exact", data, other, tolerance=tolerance) - else: - return _binary_predicate("equals_exact", data, other, tolerance=tolerance) - - -# -# Binary operations that return new geometries -# - - -def clip_by_rect(data, xmin, ymin, xmax, ymax): - if compat.USE_PYGEOS: - return pygeos.clip_by_rect(data, xmin, ymin, xmax, ymax) - else: - clipped_geometries = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - clipped_geometries[:] = [ - shapely.ops.clip_by_rect(s, xmin, ymin, xmax, ymax) - if s is not None - else None - for s in data - ] - return clipped_geometries - - -def difference(data, other): - if compat.USE_SHAPELY_20: - return shapely.difference(data, other) - elif compat.USE_PYGEOS: - return _binary_method("difference", data, other) - else: - return _binary_geo("difference", data, other) - - -def intersection(data, other): - if compat.USE_SHAPELY_20: - return shapely.intersection(data, other) - elif compat.USE_PYGEOS: - return _binary_method("intersection", data, other) - else: - return _binary_geo("intersection", data, other) - - -def symmetric_difference(data, other): - if compat.USE_SHAPELY_20: - return shapely.symmetric_difference(data, other) - elif compat.USE_PYGEOS: - return _binary_method("symmetric_difference", data, other) - else: - return _binary_geo("symmetric_difference", data, other) - - -def union(data, other): - if compat.USE_SHAPELY_20: - return shapely.union(data, other) - elif compat.USE_PYGEOS: - return _binary_method("union", data, other) - else: - return _binary_geo("union", data, other) - - -def shortest_line(data, other): - if compat.USE_SHAPELY_20: - return shapely.shortest_line(data, other) - elif compat.USE_PYGEOS: - return _binary_method("shortest_line", data, other) - else: - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -# -# Other operations -# - - -def distance(data, other): - if compat.USE_SHAPELY_20: - return shapely.distance(data, other) - elif compat.USE_PYGEOS: - return _binary_method("distance", data, other) - else: - return _binary_op_float("distance", data, other) - - -def hausdorff_distance(data, other, densify=None, **kwargs): - if compat.USE_SHAPELY_20: - return shapely.hausdorff_distance(data, other, densify=densify, **kwargs) - elif compat.USE_PYGEOS: - return _binary_method( - "hausdorff_distance", data, other, densify=densify, **kwargs - ) - else: - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -def frechet_distance(data, other, densify=None, **kwargs): - if compat.USE_SHAPELY_20: - return shapely.frechet_distance(data, other, densify=densify, **kwargs) - elif compat.USE_PYGEOS: - return _binary_method( - "frechet_distance", data, other, densify=densify, **kwargs - ) - else: - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -def buffer(data, distance, resolution=16, **kwargs): - if compat.USE_SHAPELY_20: - if compat.SHAPELY_G_20a1: - return shapely.buffer(data, distance, quad_segs=resolution, **kwargs) - else: - # TODO: temporary keep this (so geopandas works with latest released - # shapely, currently alpha1) until shapely beta1 is out - return shapely.buffer(data, distance, quadsegs=resolution, **kwargs) - elif compat.USE_PYGEOS: - return pygeos.buffer(data, distance, quadsegs=resolution, **kwargs) - else: - out = np.empty(len(data), dtype=object) - if isinstance(distance, np.ndarray): - if len(distance) != len(data): - raise ValueError( - "Length of distance sequence does not match " - "length of the GeoSeries" - ) - - with compat.ignore_shapely2_warnings(): - out[:] = [ - geom.buffer(dist, resolution, **kwargs) - if geom is not None - else None - for geom, dist in zip(data, distance) - ] - return out - - with compat.ignore_shapely2_warnings(): - out[:] = [ - geom.buffer(distance, resolution, **kwargs) - if geom is not None - else None - for geom in data - ] - return out - - -def interpolate(data, distance, normalized=False): - if compat.USE_SHAPELY_20: - return shapely.line_interpolate_point(data, distance, normalized=normalized) - elif compat.USE_PYGEOS: - try: - return pygeos.line_interpolate_point(data, distance, normalized=normalized) - except TypeError: # support for pygeos<0.9 - return pygeos.line_interpolate_point(data, distance, normalize=normalized) - else: - out = np.empty(len(data), dtype=object) - if isinstance(distance, np.ndarray): - if len(distance) != len(data): - raise ValueError( - "Length of distance sequence does not match " - "length of the GeoSeries" - ) - with compat.ignore_shapely2_warnings(): - out[:] = [ - geom.interpolate(dist, normalized=normalized) - for geom, dist in zip(data, distance) - ] - return out - - with compat.ignore_shapely2_warnings(): - out[:] = [ - geom.interpolate(distance, normalized=normalized) for geom in data - ] - return out - - -def simplify(data, tolerance, preserve_topology=True): - if compat.USE_SHAPELY_20: - return shapely.simplify(data, tolerance, preserve_topology=preserve_topology) - elif compat.USE_PYGEOS: - # preserve_topology has different default as pygeos! - return pygeos.simplify(data, tolerance, preserve_topology=preserve_topology) - else: - # method and not a property -> can't use _unary_geo - out = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - out[:] = [ - geom.simplify(tolerance, preserve_topology=preserve_topology) - for geom in data - ] - return out - - -def _shapely_normalize(geom): - """ - Small helper function for now because it is not yet available in Shapely. - """ - from ctypes import c_int, c_void_p - - from shapely.geometry.base import geom_factory - from shapely.geos import lgeos - - lgeos._lgeos.GEOSNormalize_r.restype = c_int - lgeos._lgeos.GEOSNormalize_r.argtypes = [c_void_p, c_void_p] - - geom_cloned = lgeos.GEOSGeom_clone(geom._geom) - lgeos._lgeos.GEOSNormalize_r(lgeos.geos_handle, geom_cloned) - return geom_factory(geom_cloned) - - -def normalize(data): - if compat.USE_SHAPELY_20: - return shapely.normalize(data) - elif compat.USE_PYGEOS: - return pygeos.normalize(data) - else: - out = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - out[:] = [geom.normalize() if geom is not None else None for geom in data] - return out - - -def make_valid(data): - if compat.USE_SHAPELY_20: - return shapely.make_valid(data) - elif compat.USE_PYGEOS: - return pygeos.make_valid(data) - else: - out = np.empty(len(data), dtype=object) - with compat.ignore_shapely2_warnings(): - out[:] = [ - shapely.validation.make_valid(geom) if geom is not None else None - for geom in data - ] - return out - - -def reverse(data): - if compat.USE_SHAPELY_20: - return shapely.reverse(data) - elif compat.USE_PYGEOS: - return pygeos.reverse(data) - else: - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed" - ) - - -def project(data, other, normalized=False): - if compat.USE_SHAPELY_20: - return shapely.line_locate_point(data, other, normalized=normalized) - elif compat.USE_PYGEOS: - try: - return pygeos.line_locate_point(data, other, normalized=normalized) - except TypeError: # support for pygeos<0.9 - return pygeos.line_locate_point(data, other, normalize=normalized) - else: - return _binary_op("project", data, other, normalized=normalized) - - -def relate(data, other): - if compat.USE_SHAPELY_20: - return shapely.relate(data, other) - data = to_shapely(data) - if isinstance(other, np.ndarray): - other = to_shapely(other) - return _binary_op("relate", data, other) - - -def unary_union(data): - warning_msg = ( - "`unary_union` returned None due to all-None GeoSeries. In future, " - "`unary_union` will return 'GEOMETRYCOLLECTION EMPTY' instead." - ) - - if compat.USE_SHAPELY_20: - data = shapely.union_all(data) - if data is None or data.is_empty: # shapely 2.0a1 and 2.0 - warnings.warn( - warning_msg, - FutureWarning, - stacklevel=4, - ) - return None - else: - return data - elif compat.USE_PYGEOS: - result = _pygeos_to_shapely(pygeos.union_all(data)) - if result is None: - warnings.warn( - warning_msg, - FutureWarning, - stacklevel=4, - ) - return result - else: - data = [g for g in data if g is not None] - if data: - return shapely.ops.unary_union(data) - else: - warnings.warn( - warning_msg, - FutureWarning, - stacklevel=4, - ) - return None - - -# -# Coordinate related properties -# - - -def get_x(data): - if compat.USE_SHAPELY_20: - return shapely.get_x(data) - elif compat.USE_PYGEOS: - return pygeos.get_x(data) - else: - return _unary_op("x", data, null_value=np.nan) - - -def get_y(data): - if compat.USE_SHAPELY_20: - return shapely.get_y(data) - elif compat.USE_PYGEOS: - return pygeos.get_y(data) - else: - return _unary_op("y", data, null_value=np.nan) - - -def get_z(data): - if compat.USE_SHAPELY_20: - return shapely.get_z(data) - elif compat.USE_PYGEOS: - return pygeos.get_z(data) - else: - data = [geom.z if geom.has_z else np.nan for geom in data] - return np.array(data, dtype=np.dtype(float)) - - -def bounds(data): - if compat.USE_SHAPELY_20: - return shapely.bounds(data) - elif compat.USE_PYGEOS: - return pygeos.bounds(data) - # ensure that for empty arrays, the result has the correct shape - if len(data) == 0: - return np.empty((0, 4), dtype="float64") - # need to explicitly check for empty (in addition to missing) geometries, - # as those return an empty tuple, not resulting in a 2D array - bounds = np.array( - [ - geom.bounds - if not (geom is None or geom.is_empty) - else (np.nan, np.nan, np.nan, np.nan) - for geom in data - ] - ) - return bounds - - -# -# Coordinate transformation -# - - -def transform(data, func): - if compat.USE_SHAPELY_20 or compat.USE_PYGEOS: - if compat.USE_SHAPELY_20: - has_z = shapely.has_z(data) - from shapely import get_coordinates, set_coordinates - else: - has_z = pygeos.has_z(data) - from pygeos import get_coordinates, set_coordinates - - result = np.empty_like(data) - - coords = get_coordinates(data[~has_z], include_z=False) - new_coords_z = func(coords[:, 0], coords[:, 1]) - result[~has_z] = set_coordinates(data[~has_z].copy(), np.array(new_coords_z).T) - - coords_z = get_coordinates(data[has_z], include_z=True) - new_coords_z = func(coords_z[:, 0], coords_z[:, 1], coords_z[:, 2]) - result[has_z] = set_coordinates(data[has_z].copy(), np.array(new_coords_z).T) - - return result - else: - from shapely.ops import transform - - n = len(data) - result = np.empty(n, dtype=object) - for i in range(n): - geom = data[i] - if isna(geom): - result[i] = geom - else: - result[i] = transform(func, geom) - - return result diff --git a/.venv/lib/python3.12/site-packages/geopandas/_version.py b/.venv/lib/python3.12/site-packages/geopandas/_version.py index e09eb77e..bebd24bc 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/_version.py +++ b/.venv/lib/python3.12/site-packages/geopandas/_version.py @@ -8,11 +8,11 @@ import json version_json = ''' { - "date": "2023-11-11T10:29:16+0100", + "date": "2024-07-02T14:23:16+0200", "dirty": false, "error": null, - "full-revisionid": "9a9f0974db087ce303b94bfbeabc8ea136be0914", - "version": "0.14.1" + "full-revisionid": "747d66ee6fcf00b819c08f11ecded53736c4652b", + "version": "1.0.1" } ''' # END VERSION_JSON diff --git a/.venv/lib/python3.12/site-packages/geopandas/array.py b/.venv/lib/python3.12/site-packages/geopandas/array.py index 5e84d16a..32f338a7 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/array.py +++ b/.venv/lib/python3.12/site-packages/geopandas/array.py @@ -1,7 +1,7 @@ +import inspect import numbers import operator import warnings -import inspect from functools import lru_cache import numpy as np @@ -15,23 +15,35 @@ from pandas.api.extensions import ( import shapely import shapely.affinity import shapely.geometry -from shapely.geometry.base import BaseGeometry import shapely.ops import shapely.wkt -from pyproj import CRS, Transformer -from pyproj.aoi import AreaOfInterest -from pyproj.database import query_utm_crs_info +from shapely.geometry.base import BaseGeometry -try: - import pygeos -except ImportError: - geos = None +from ._compat import HAS_PYPROJ, requires_pyproj +from .sindex import SpatialIndex -from . import _compat as compat -from . import _vectorized as vectorized -from .sindex import _get_sindex_class +if HAS_PYPROJ: + from pyproj import Transformer -TransformerFromCRS = lru_cache(Transformer.from_crs) + TransformerFromCRS = lru_cache(Transformer.from_crs) + +_names = { + "MISSING": None, + "NAG": None, + "POINT": "Point", + "LINESTRING": "LineString", + "LINEARRING": "LinearRing", + "POLYGON": "Polygon", + "MULTIPOINT": "MultiPoint", + "MULTILINESTRING": "MultiLineString", + "MULTIPOLYGON": "MultiPolygon", + "GEOMETRYCOLLECTION": "GeometryCollection", +} + + +type_mapping = {p.value: _names[p.name] for p in shapely.GeometryType} +geometry_type_ids = list(type_mapping.keys()) +geometry_type_values = np.array(list(type_mapping.values()), dtype=object) class GeometryDtype(ExtensionDtype): @@ -104,40 +116,30 @@ def _crs_mismatch_warn(left, right, stacklevel=3): ) +def isna(value): + """ + Check if scalar value is NA-like (None, np.nan or pd.NA). + + Custom version that only works for scalars (returning True or False), + as `pd.isna` also works for array-like input returning a boolean array. + """ + if value is None: + return True + elif isinstance(value, float) and np.isnan(value): + return True + elif value is pd.NA: + return True + else: + return False + + # ----------------------------------------------------------------------------- # Constructors / converters to other formats # ----------------------------------------------------------------------------- -def _geom_to_shapely(geom): - """ - Convert internal representation (PyGEOS or Shapely) to external Shapely object. - """ - if compat.USE_SHAPELY_20: - return geom - elif not compat.USE_PYGEOS: - return geom - else: - return vectorized._pygeos_to_shapely(geom) - - -def _shapely_to_geom(geom): - """ - Convert external Shapely object to internal representation (PyGEOS or Shapely). - """ - if compat.USE_SHAPELY_20: - return geom - elif not compat.USE_PYGEOS: - return geom - else: - return vectorized._shapely_to_pygeos(geom) - - def _is_scalar_geometry(geom): - if compat.USE_PYGEOS: - return isinstance(geom, (pygeos.Geometry, BaseGeometry)) - else: - return isinstance(geom, BaseGeometry) + return isinstance(geom, BaseGeometry) def from_shapely(data, crs=None): @@ -156,7 +158,30 @@ def from_shapely(data, crs=None): such as an authority string (eg "EPSG:4326") or a WKT string. """ - return GeometryArray(vectorized.from_shapely(data), crs=crs) + if not isinstance(data, np.ndarray): + arr = np.empty(len(data), dtype=object) + arr[:] = data + else: + arr = data + + if not shapely.is_valid_input(arr).all(): + out = [] + + for geom in data: + if isinstance(geom, BaseGeometry): + out.append(geom) + elif hasattr(geom, "__geo_interface__"): + geom = shapely.geometry.shape(geom) + out.append(geom) + elif isna(geom): + out.append(None) + else: + raise TypeError( + "Input must be valid geometry objects: {0}".format(geom) + ) + arr = np.array(out, dtype=object) + + return GeometryArray(arr, crs=crs) def to_shapely(geoms): @@ -165,10 +190,10 @@ def to_shapely(geoms): """ if not isinstance(geoms, GeometryArray): raise ValueError("'geoms' must be a GeometryArray") - return vectorized.to_shapely(geoms._data) + return geoms._data -def from_wkb(data, crs=None): +def from_wkb(data, crs=None, on_invalid="raise"): """ Convert a list or array of WKB objects to a GeometryArray. @@ -180,9 +205,14 @@ def from_wkb(data, crs=None): Coordinate Reference System of the geometry objects. Can be anything accepted by :meth:`pyproj.CRS.from_user_input() `, such as an authority string (eg "EPSG:4326") or a WKT string. + on_invalid: {"raise", "warn", "ignore"}, default "raise" + - raise: an exception will be raised if a WKB input geometry is invalid. + - warn: a warning will be raised and invalid WKB geometries will be returned as + None. + - ignore: invalid WKB geometries will be returned as None without a warning. """ - return GeometryArray(vectorized.from_wkb(data), crs=crs) + return GeometryArray(shapely.from_wkb(data, on_invalid=on_invalid), crs=crs) def to_wkb(geoms, hex=False, **kwargs): @@ -191,10 +221,10 @@ def to_wkb(geoms, hex=False, **kwargs): """ if not isinstance(geoms, GeometryArray): raise ValueError("'geoms' must be a GeometryArray") - return vectorized.to_wkb(geoms._data, hex=hex, **kwargs) + return shapely.to_wkb(geoms, hex=hex, **kwargs) -def from_wkt(data, crs=None): +def from_wkt(data, crs=None, on_invalid="raise"): """ Convert a list or array of WKT objects to a GeometryArray. @@ -206,9 +236,14 @@ def from_wkt(data, crs=None): Coordinate Reference System of the geometry objects. Can be anything accepted by :meth:`pyproj.CRS.from_user_input() `, such as an authority string (eg "EPSG:4326") or a WKT string. + on_invalid : {"raise", "warn", "ignore"}, default "raise" + - raise: an exception will be raised if a WKT input geometry is invalid. + - warn: a warning will be raised and invalid WKT geometries will be + returned as ``None``. + - ignore: invalid WKT geometries will be returned as ``None`` without a warning. """ - return GeometryArray(vectorized.from_wkt(data), crs=crs) + return GeometryArray(shapely.from_wkt(data, on_invalid=on_invalid), crs=crs) def to_wkt(geoms, **kwargs): @@ -217,7 +252,7 @@ def to_wkt(geoms, **kwargs): """ if not isinstance(geoms, GeometryArray): raise ValueError("'geoms' must be a GeometryArray") - return vectorized.to_wkt(geoms._data, **kwargs) + return shapely.to_wkt(geoms, **kwargs) def points_from_xy(x, y, z=None, crs=None): @@ -263,7 +298,12 @@ def points_from_xy(x, y, z=None, crs=None): ------- output : GeometryArray """ - return GeometryArray(vectorized.points_from_xy(x, y, z), crs=crs) + x = np.asarray(x, dtype="float64") + y = np.asarray(y, dtype="float64") + if z is not None: + z = np.asarray(z, dtype="float64") + + return GeometryArray(shapely.points(x, y, z), crs=crs) class GeometryArray(ExtensionArray): @@ -294,26 +334,10 @@ class GeometryArray(ExtensionArray): self.crs = crs self._sindex = None - @property - def data(self): - warnings.warn( - "Accessing the underlying geometries through the `.data` attribute is " - "deprecated and will be removed in GeoPandas 1.0. You can use " - "`np.asarray(..)` or the `to_numpy()` method instead.\n" - "Note that if you are using PyGEOS and using this attribute to get an " - "array of PyGEOS geometries, those other methods will always return an " - "array of Shapely geometries. Accessing the underlying PyGEOS geometries " - "directly is deprecated, and you should migrate to use Shapely >= 2.0 " - "instead.", - DeprecationWarning, - stacklevel=2, - ) - return self._data - @property def sindex(self): if self._sindex is None: - self._sindex = _get_sindex_class()(self._data) + self._sindex = SpatialIndex(self._data) return self._sindex @property @@ -357,7 +381,21 @@ class GeometryArray(ExtensionArray): @crs.setter def crs(self, value): """Sets the value of the crs""" - self._crs = None if not value else CRS.from_user_input(value) + if HAS_PYPROJ: + from pyproj import CRS + + self._crs = None if not value else CRS.from_user_input(value) + else: + if value is not None: + warnings.warn( + "Cannot set the CRS, falling back to None. The CRS support requires" + " the 'pyproj' package, but it is not installed or does not import" + " correctly. The functions depending on CRS will raise an error or" + " may produce unexpected results.", + UserWarning, + stacklevel=2, + ) + self._crs = None def check_geographic_crs(self, stacklevel): """Check CRS and warn if the planar operation is done in a geographic CRS""" @@ -381,7 +419,7 @@ class GeometryArray(ExtensionArray): def __getitem__(self, idx): if isinstance(idx, numbers.Integral): - return _geom_to_shapely(self._data[idx]) + return self._data[idx] # array-like, slice # validate and convert IntegerArray/BooleanArray # to numpy array, pass-through non-array-like indexers @@ -402,8 +440,8 @@ class GeometryArray(ExtensionArray): if isinstance(key, numbers.Integral): raise ValueError("cannot set a single element with an array") self._data[key] = value._data - elif isinstance(value, BaseGeometry) or vectorized.isna(value): - if vectorized.isna(value): + elif isinstance(value, BaseGeometry) or isna(value): + if isna(value): # internally only use None as missing value indicator # but accept others value = None @@ -413,8 +451,7 @@ class GeometryArray(ExtensionArray): raise TypeError("should be valid geometry") if isinstance(key, (slice, list, np.ndarray)): value_array = np.empty(1, dtype=object) - with compat.ignore_shapely2_warnings(): - value_array[:] = [value] + value_array[:] = [value] self._data[key] = value_array else: self._data[key] = value @@ -435,17 +472,12 @@ class GeometryArray(ExtensionArray): # ) def __getstate__(self): - if compat.USE_SHAPELY_20: - return (shapely.to_wkb(self._data), self._crs) - elif compat.USE_PYGEOS: - return (pygeos.to_wkb(self._data), self._crs) - else: - return self.__dict__ + return (shapely.to_wkb(self._data), self._crs) def __setstate__(self, state): if not isinstance(state, dict): # pickle file saved with pygeos - geoms = vectorized.from_wkb(state[0]) + geoms = shapely.from_wkb(state[0]) self._crs = state[1] self._sindex = None # pygeos.STRtree could not be pickled yet self._data = geoms @@ -453,8 +485,6 @@ class GeometryArray(ExtensionArray): else: if "data" in state: state["_data"] = state.pop("data") - if compat.USE_PYGEOS: - state["_data"] = vectorized.from_shapely(state["_data"]) if "_crs" not in state: state["_crs"] = None self.__dict__.update(state) @@ -465,41 +495,64 @@ class GeometryArray(ExtensionArray): @property def is_valid(self): - return vectorized.is_valid(self._data) + return shapely.is_valid(self._data) + + def is_valid_reason(self): + return shapely.is_valid_reason(self._data) @property def is_empty(self): - return vectorized.is_empty(self._data) + return shapely.is_empty(self._data) @property def is_simple(self): - return vectorized.is_simple(self._data) + return shapely.is_simple(self._data) @property def is_ring(self): - return vectorized.is_ring(self._data) + return shapely.is_ring(self._data) @property def is_closed(self): - return vectorized.is_closed(self._data) + return shapely.is_closed(self._data) + + @property + def is_ccw(self): + return shapely.is_ccw(self._data) @property def has_z(self): - return vectorized.has_z(self._data) + return shapely.has_z(self._data) @property def geom_type(self): - return vectorized.geom_type(self._data) + res = shapely.get_type_id(self._data) + return geometry_type_values[np.searchsorted(geometry_type_ids, res)] @property def area(self): self.check_geographic_crs(stacklevel=5) - return vectorized.area(self._data) + return shapely.area(self._data) @property def length(self): self.check_geographic_crs(stacklevel=5) - return vectorized.length(self._data) + return shapely.length(self._data) + + def count_coordinates(self): + return shapely.get_num_coordinates(self._data) + + def count_geometries(self): + return shapely.get_num_geometries(self._data) + + def count_interior_rings(self): + return shapely.get_num_interior_rings(self._data) + + def get_precision(self): + return shapely.get_precision(self._data) + + def get_geometry(self, index): + return shapely.get_geometry(self._data, index=index) # # Unary operations that return new geometries @@ -507,45 +560,37 @@ class GeometryArray(ExtensionArray): @property def boundary(self): - return GeometryArray(vectorized.boundary(self._data), crs=self.crs) + return GeometryArray(shapely.boundary(self._data), crs=self.crs) @property def centroid(self): self.check_geographic_crs(stacklevel=5) - return GeometryArray(vectorized.centroid(self._data), crs=self.crs) + return GeometryArray(shapely.centroid(self._data), crs=self.crs) def concave_hull(self, ratio, allow_holes): - return vectorized.concave_hull(self._data, ratio=ratio, allow_holes=allow_holes) + return shapely.concave_hull(self._data, ratio=ratio, allow_holes=allow_holes) @property def convex_hull(self): - return GeometryArray(vectorized.convex_hull(self._data), crs=self.crs) - - def delaunay_triangles(self, tolerance, only_edges): - return GeometryArray( - vectorized.delaunay_triangles(self._data, tolerance, only_edges), - crs=self.crs, - ) + return GeometryArray(shapely.convex_hull(self._data), crs=self.crs) @property def envelope(self): - return GeometryArray(vectorized.envelope(self._data), crs=self.crs) + return GeometryArray(shapely.envelope(self._data), crs=self.crs) def minimum_rotated_rectangle(self): - return GeometryArray( - vectorized.minimum_rotated_rectangle(self._data), crs=self.crs - ) + return GeometryArray(shapely.oriented_envelope(self._data), crs=self.crs) @property def exterior(self): - return GeometryArray(vectorized.exterior(self._data), crs=self.crs) + return GeometryArray(shapely.get_exterior_ring(self._data), crs=self.crs) def extract_unique_points(self): - return GeometryArray(vectorized.extract_unique_points(self._data), crs=self.crs) + return GeometryArray(shapely.extract_unique_points(self._data), crs=self.crs) def offset_curve(self, distance, quad_segs=8, join_style="round", mitre_limit=5.0): return GeometryArray( - vectorized.offset_curve( + shapely.offset_curve( self._data, distance, quad_segs=quad_segs, @@ -558,37 +603,80 @@ class GeometryArray(ExtensionArray): @property def interiors(self): # no GeometryArray as result - return vectorized.interiors(self._data) + has_non_poly = False + inner_rings = [] + for geom in self._data: + interior_ring_seq = getattr(geom, "interiors", None) + # polygon case + if interior_ring_seq is not None: + inner_rings.append(list(interior_ring_seq)) + # non-polygon case + else: + has_non_poly = True + inner_rings.append(None) + if has_non_poly: + warnings.warn( + "Only Polygon objects have interior rings. For other " + "geometry types, None is returned.", + stacklevel=2, + ) + # need to allocate empty first in case of all empty lists in inner_rings + data = np.empty(len(inner_rings), dtype=object) + data[:] = inner_rings + return data def remove_repeated_points(self, tolerance=0.0): return GeometryArray( - vectorized.remove_repeated_points(self._data, tolerance=tolerance), + shapely.remove_repeated_points(self._data, tolerance=tolerance), crs=self.crs, ) def representative_point(self): - return GeometryArray(vectorized.representative_point(self._data), crs=self.crs) + return GeometryArray(shapely.point_on_surface(self._data), crs=self.crs) def minimum_bounding_circle(self): - return GeometryArray( - vectorized.minimum_bounding_circle(self._data), crs=self.crs - ) + return GeometryArray(shapely.minimum_bounding_circle(self._data), crs=self.crs) def minimum_bounding_radius(self): - return vectorized.minimum_bounding_radius(self._data) + return shapely.minimum_bounding_radius(self._data) + + def minimum_clearance(self): + return shapely.minimum_clearance(self._data) def normalize(self): - return GeometryArray(vectorized.normalize(self._data), crs=self.crs) + return GeometryArray(shapely.normalize(self._data), crs=self.crs) def make_valid(self): - return GeometryArray(vectorized.make_valid(self._data), crs=self.crs) + return GeometryArray(shapely.make_valid(self._data), crs=self.crs) def reverse(self): - return GeometryArray(vectorized.reverse(self._data), crs=self.crs) + return GeometryArray(shapely.reverse(self._data), crs=self.crs) def segmentize(self, max_segment_length): return GeometryArray( - vectorized.segmentize(self._data, max_segment_length), + shapely.segmentize(self._data, max_segment_length), + crs=self.crs, + ) + + def force_2d(self): + return GeometryArray(shapely.force_2d(self._data), crs=self.crs) + + def force_3d(self, z=0): + return GeometryArray(shapely.force_3d(self._data, z=z), crs=self.crs) + + def transform(self, transformation, include_z=False): + return GeometryArray( + shapely.transform(self._data, transformation, include_z), crs=self.crs + ) + + def line_merge(self, directed=False): + return GeometryArray( + shapely.line_merge(self._data, directed=directed), crs=self.crs + ) + + def set_precision(self, grid_size, mode="valid_output"): + return GeometryArray( + shapely.set_precision(self._data, grid_size=grid_size, mode=mode), crs=self.crs, ) @@ -608,7 +696,7 @@ class GeometryArray(ExtensionArray): _crs_mismatch_warn(left, right, stacklevel=7) right = right._data - return getattr(vectorized, op)(left._data, right, **kwargs) + return getattr(shapely, op)(left._data, right, **kwargs) def covers(self, other): return self._binary_method("covers", self, other) @@ -619,6 +707,9 @@ class GeometryArray(ExtensionArray): def contains(self, other): return self._binary_method("contains", self, other) + def contains_properly(self, other): + return self._binary_method("contains_properly", self, other) + def crosses(self, other): return self._binary_method("crosses", self, other) @@ -640,6 +731,10 @@ class GeometryArray(ExtensionArray): def within(self, other): return self._binary_method("within", self, other) + def dwithin(self, other, distance): + self.check_geographic_crs(stacklevel=6) + return self._binary_method("dwithin", self, other, distance=distance) + def geom_equals_exact(self, other, tolerance): return self._binary_method("equals_exact", self, other, tolerance=tolerance) @@ -658,7 +753,7 @@ class GeometryArray(ExtensionArray): def clip_by_rect(self, xmin, ymin, xmax, ymax): return GeometryArray( - vectorized.clip_by_rect(self._data, xmin, ymin, xmax, ymax), crs=self.crs + shapely.clip_by_rect(self._data, xmin, ymin, xmax, ymax), crs=self.crs ) def difference(self, other): @@ -684,6 +779,16 @@ class GeometryArray(ExtensionArray): self._binary_method("shortest_line", self, other), crs=self.crs ) + def snap(self, other, tolerance): + return GeometryArray( + self._binary_method("snap", self, other, tolerance=tolerance), crs=self.crs + ) + + def shared_paths(self, other): + return GeometryArray( + self._binary_method("shared_paths", self, other), crs=self.crs + ) + # # Other operations # @@ -704,63 +809,102 @@ class GeometryArray(ExtensionArray): if not (isinstance(distance, (int, float)) and distance == 0): self.check_geographic_crs(stacklevel=5) return GeometryArray( - vectorized.buffer(self._data, distance, resolution=resolution, **kwargs), + shapely.buffer(self._data, distance, quad_segs=resolution, **kwargs), crs=self.crs, ) def interpolate(self, distance, normalized=False): self.check_geographic_crs(stacklevel=5) return GeometryArray( - vectorized.interpolate(self._data, distance, normalized=normalized), + shapely.line_interpolate_point(self._data, distance, normalized=normalized), crs=self.crs, ) def simplify(self, tolerance, preserve_topology=True): return GeometryArray( - vectorized.simplify( + shapely.simplify( self._data, tolerance, preserve_topology=preserve_topology ), crs=self.crs, ) def project(self, other, normalized=False): - if isinstance(other, BaseGeometry): - other = _shapely_to_geom(other) - elif isinstance(other, GeometryArray): + if isinstance(other, GeometryArray): other = other._data - return vectorized.project(self._data, other, normalized=normalized) + return shapely.line_locate_point(self._data, other, normalized=normalized) def relate(self, other): if isinstance(other, GeometryArray): other = other._data - return vectorized.relate(self._data, other) + return shapely.relate(self._data, other) + + def relate_pattern(self, other, pattern): + if isinstance(other, GeometryArray): + other = other._data + return shapely.relate_pattern(self._data, other, pattern) # # Reduction operations that return a Shapely geometry # def unary_union(self): - return vectorized.unary_union(self._data) + warnings.warn( + "The 'unary_union' attribute is deprecated, " + "use the 'union_all' method instead.", + DeprecationWarning, + stacklevel=2, + ) + return self.union_all() + + def union_all(self, method="unary"): + if method == "coverage": + return shapely.coverage_union_all(self._data) + elif method == "unary": + return shapely.union_all(self._data) + else: + raise ValueError( + f"Method '{method}' not recognized. Use 'coverage' or 'unary'." + ) + + def intersection_all(self): + return shapely.intersection_all(self._data) # # Affinity operations # + @staticmethod + def _affinity_method(op, left, *args, **kwargs): + # not all shapely.affinity methods can handle empty geometries: + # affine_transform itself works (as well as translate), but rotate, scale + # and skew fail (they try to unpack the bounds). + # Here: consistently returning empty geom for input empty geom + out = [] + for geom in left: + if geom is None or geom.is_empty: + res = geom + else: + res = getattr(shapely.affinity, op)(geom, *args, **kwargs) + out.append(res) + data = np.empty(len(left), dtype=object) + data[:] = out + return data + def affine_transform(self, matrix): return GeometryArray( - vectorized._affinity_method("affine_transform", self._data, matrix), + self._affinity_method("affine_transform", self._data, matrix), crs=self.crs, ) def translate(self, xoff=0.0, yoff=0.0, zoff=0.0): return GeometryArray( - vectorized._affinity_method("translate", self._data, xoff, yoff, zoff), + self._affinity_method("translate", self._data, xoff, yoff, zoff), crs=self.crs, ) def rotate(self, angle, origin="center", use_radians=False): return GeometryArray( - vectorized._affinity_method( + self._affinity_method( "rotate", self._data, angle, origin=origin, use_radians=use_radians ), crs=self.crs, @@ -768,7 +912,7 @@ class GeometryArray(ExtensionArray): def scale(self, xfact=1.0, yfact=1.0, zfact=1.0, origin="center"): return GeometryArray( - vectorized._affinity_method( + self._affinity_method( "scale", self._data, xfact, yfact, zfact, origin=origin ), crs=self.crs, @@ -776,12 +920,13 @@ class GeometryArray(ExtensionArray): def skew(self, xs=0.0, ys=0.0, origin="center", use_radians=False): return GeometryArray( - vectorized._affinity_method( + self._affinity_method( "skew", self._data, xs, ys, origin=origin, use_radians=use_radians ), crs=self.crs, ) + @requires_pyproj def to_crs(self, crs=None, epsg=None): """Returns a ``GeometryArray`` with all geometries transformed to a new coordinate reference system. @@ -851,6 +996,8 @@ class GeometryArray(ExtensionArray): - Prime Meridian: Greenwich """ + from pyproj import CRS + if self.crs is None: raise ValueError( "Cannot transform naive geometries. " @@ -869,9 +1016,10 @@ class GeometryArray(ExtensionArray): transformer = TransformerFromCRS(self.crs, crs, always_xy=True) - new_data = vectorized.transform(self._data, transformer.transform) + new_data = transform(self._data, transformer.transform) return GeometryArray(new_data, crs=crs) + @requires_pyproj def estimate_utm_crs(self, datum_name="WGS 84"): """Returns the estimated UTM CRS based on the bounds of the dataset. @@ -910,6 +1058,9 @@ class GeometryArray(ExtensionArray): - Ellipsoid: WGS 84 - Prime Meridian: Greenwich """ + from pyproj import CRS + from pyproj.aoi import AreaOfInterest + from pyproj.database import query_utm_crs_info if not self.crs: raise RuntimeError("crs must be set to estimate UTM CRS.") @@ -963,10 +1114,10 @@ class GeometryArray(ExtensionArray): if empty.any(): nonempty = ~empty coords = np.full_like(nonempty, dtype=float, fill_value=np.nan) - coords[nonempty] = vectorized.get_x(self._data[nonempty]) + coords[nonempty] = shapely.get_x(self._data[nonempty]) return coords else: - return vectorized.get_x(self._data) + return shapely.get_x(self._data) else: message = "x attribute access only provided for Point geometries" raise ValueError(message) @@ -979,10 +1130,10 @@ class GeometryArray(ExtensionArray): if empty.any(): nonempty = ~empty coords = np.full_like(nonempty, dtype=float, fill_value=np.nan) - coords[nonempty] = vectorized.get_y(self._data[nonempty]) + coords[nonempty] = shapely.get_y(self._data[nonempty]) return coords else: - return vectorized.get_y(self._data) + return shapely.get_y(self._data) else: message = "y attribute access only provided for Point geometries" raise ValueError(message) @@ -995,17 +1146,17 @@ class GeometryArray(ExtensionArray): if empty.any(): nonempty = ~empty coords = np.full_like(nonempty, dtype=float, fill_value=np.nan) - coords[nonempty] = vectorized.get_z(self._data[nonempty]) + coords[nonempty] = shapely.get_z(self._data[nonempty]) return coords else: - return vectorized.get_z(self._data) + return shapely.get_z(self._data) else: message = "z attribute access only provided for Point geometries" raise ValueError(message) @property def bounds(self): - return vectorized.bounds(self._data) + return shapely.bounds(self._data) @property def total_bounds(self): @@ -1014,14 +1165,19 @@ class GeometryArray(ExtensionArray): # TODO with numpy >= 1.15, the 'initial' argument can be used return np.array([np.nan, np.nan, np.nan, np.nan]) b = self.bounds - return np.array( - ( - np.nanmin(b[:, 0]), # minx - np.nanmin(b[:, 1]), # miny - np.nanmax(b[:, 2]), # maxx - np.nanmax(b[:, 3]), # maxy + with warnings.catch_warnings(): + # if all rows are empty geometry / none, nan is expected + warnings.filterwarnings( + "ignore", r"All-NaN slice encountered", RuntimeWarning + ) + return np.array( + ( + np.nanmin(b[:, 0]), # minx + np.nanmin(b[:, 1]), # miny + np.nanmax(b[:, 2]), # maxx + np.nanmax(b[:, 3]), # maxy + ) ) - ) # ------------------------------------------------------------------------- # general array like compat @@ -1049,40 +1205,21 @@ class GeometryArray(ExtensionArray): if allow_fill: if fill_value is None or pd.isna(fill_value): fill_value = None - elif isinstance(fill_value, BaseGeometry): - fill_value = _shapely_to_geom(fill_value) elif not _is_scalar_geometry(fill_value): raise TypeError("provide geometry or None as fill value") result = take(self._data, indices, allow_fill=allow_fill, fill_value=fill_value) if allow_fill and fill_value is None: - result[pd.isna(result)] = None + result[~shapely.is_valid_input(result)] = None return GeometryArray(result, crs=self.crs) - def _fill(self, idx, value): - """ - Fill index locations with ``value``. - - ``value`` should be a BaseGeometry or a GeometryArray. - """ - if vectorized.isna(value): - value = [None] - elif _is_scalar_geometry(value): - value = [value] - elif isinstance(value, GeometryArray): - value = value[idx] - else: - raise TypeError( - "'value' parameter must be None, a scalar geometry, or a GeoSeries, " - f"but you passed a {type(value).__name__!r}" - ) - - value_arr = np.empty(len(value), dtype=object) - with compat.ignore_shapely2_warnings(): - value_arr[:] = _shapely_to_geom(value) - - self._data[idx] = value_arr - return self + # compat for pandas < 3.0 + def _pad_or_backfill( + self, method, limit=None, limit_area=None, copy=True, **kwargs + ): + return super()._pad_or_backfill( + method=method, limit=limit, limit_area=limit_area, copy=copy, **kwargs + ) def fillna(self, value=None, method=None, limit=None, copy=True): """ @@ -1101,12 +1238,7 @@ class GeometryArray(ExtensionArray): backfill / bfill: use NEXT valid observation to fill gap limit : int, default None - If method is specified, this is the maximum number of consecutive - NaN values to forward/backward fill. In other words, if there is - a gap with more than this number of consecutive NaNs, it will only - be partially filled. If method is not specified, this is the - maximum number of entries along the entire axis where NaNs will be - filled. + The maximum number of entries where NA values will be filled. copy : bool, default True Whether to make a copy of the data before filling. If False, then @@ -1124,7 +1256,30 @@ class GeometryArray(ExtensionArray): new_values = self.copy() else: new_values = self - return new_values._fill(mask, value) if mask.any() else new_values + + if not mask.any(): + return new_values + + if limit is not None and limit < len(self): + modify = mask.cumsum() > limit + if modify.any(): + mask[modify] = False + + if isna(value): + value = [None] + elif _is_scalar_geometry(value): + value = [value] + elif isinstance(value, GeometryArray): + value = value[mask] + else: + raise TypeError( + "'value' parameter must be None, a scalar geometry, or a GeoSeries, " + f"but you passed a {type(value).__name__!r}" + ) + value_arr = np.asarray(value, dtype=object) + + new_values._data[mask] = value_arr + return new_values def astype(self, dtype, copy=True): """ @@ -1159,18 +1314,19 @@ class GeometryArray(ExtensionArray): return pd.array(string_values, dtype=pd_dtype) return string_values.astype(dtype, copy=False) else: - return np.array(self, dtype=dtype, copy=copy) + # numpy 2.0 makes copy=False case strict (errors if cannot avoid the copy) + # -> in that case use `np.asarray` as backwards compatible alternative + # for `copy=None` (when requiring numpy 2+, this can be cleaned up) + if not copy: + return np.asarray(self, dtype=dtype) + else: + return np.array(self, dtype=dtype, copy=copy) def isna(self): """ Boolean NumPy array indicating if each value is missing """ - if compat.USE_SHAPELY_20: - return shapely.is_missing(self._data) - elif compat.USE_PYGEOS: - return pygeos.is_missing(self._data) - else: - return np.array([g is None for g in self._data], dtype="bool") + return shapely.is_missing(self._data) def value_counts( self, @@ -1284,6 +1440,29 @@ class GeometryArray(ExtensionArray): scalars = [scalars] return from_shapely(scalars) + @classmethod + def _from_sequence_of_strings(cls, strings, *, dtype=None, copy=False): + """ + Construct a new ExtensionArray from a sequence of strings. + + Parameters + ---------- + strings : Sequence + Each element will be an instance of the scalar type for this + array, ``cls.dtype.type``. + dtype : dtype, optional + Construct for this particular dtype. This should be a Dtype + compatible with the ExtensionArray. + copy : bool, default False + If True, copy the underlying data. + + Returns + ------- + ExtensionArray + """ + # GH 3099 + return from_wkt(strings) + def _values_for_factorize(self): # type: () -> Tuple[np.ndarray, Any] """Return an array and missing value suitable for factorization. @@ -1439,7 +1618,7 @@ class GeometryArray(ExtensionArray): # typically projected coordinates # (in case of unit meter: mm precision) precision = 3 - return lambda geom: shapely.wkt.dumps(geom, rounding_precision=precision) + return lambda geom: shapely.to_wkt(geom, rounding_precision=precision) return repr @classmethod @@ -1461,15 +1640,14 @@ class GeometryArray(ExtensionArray): def _reduce(self, name, skipna=True, **kwargs): # including the base class version here (that raises by default) # because this was not yet defined in pandas 0.23 - if name == "any" or name == "all": - # TODO(pygeos) + if name in ("any", "all"): return getattr(to_shapely(self), name)() raise TypeError( f"'{type(self).__name__}' with dtype {self.dtype} " f"does not support reduction '{name}'" ) - def __array__(self, dtype=None): + def __array__(self, dtype=None, copy=None): """ The numpy array interface. @@ -1477,7 +1655,9 @@ class GeometryArray(ExtensionArray): ------- values : numpy array """ - return to_shapely(self) + if copy and (dtype is None or dtype == np.dtype("object")): + return self._data.copy() + return self._data def _binop(self, other, op): def convert_values(param): @@ -1516,7 +1696,7 @@ class GeometryArray(ExtensionArray): """ Return for `item in self`. """ - if vectorized.isna(item): + if isna(item): if ( item is self.dtype.na_value or isinstance(item, self.dtype.type) @@ -1532,15 +1712,20 @@ def _get_common_crs(arr_seq): # mask out all None arrays with no crs (most likely auto generated by pandas # from concat with missing column) arr_seq = [ga for ga in arr_seq if not (ga.isna().all() and ga.crs is None)] + # determine unique crs without using a set, because CRS hash can be different + # for objects with the same CRS + unique_crs = [] + for arr in arr_seq: + if arr.crs not in unique_crs: + unique_crs.append(arr.crs) - crs_set = {arr.crs for arr in arr_seq} - crs_not_none = [crs for crs in crs_set if crs is not None] + crs_not_none = [crs for crs in unique_crs if crs is not None] names = [crs.name for crs in crs_not_none] if len(crs_not_none) == 0: return None if len(crs_not_none) == 1: - if len(crs_set) != 1: + if len(unique_crs) != 1: warnings.warn( "CRS not set for some of the concatenation inputs. " f"Setting output's CRS as {names[0]} " @@ -1553,3 +1738,23 @@ def _get_common_crs(arr_seq): f"Cannot determine common CRS for concatenation inputs, got {names}. " "Use `to_crs()` to transform geometries to the same CRS before merging." ) + + +def transform(data, func): + has_z = shapely.has_z(data) + + result = np.empty_like(data) + + coords = shapely.get_coordinates(data[~has_z], include_z=False) + new_coords_z = func(coords[:, 0], coords[:, 1]) + result[~has_z] = shapely.set_coordinates( + data[~has_z].copy(), np.array(new_coords_z).T + ) + + coords_z = shapely.get_coordinates(data[has_z], include_z=True) + new_coords_z = func(coords_z[:, 0], coords_z[:, 1], coords_z[:, 2]) + result[has_z] = shapely.set_coordinates( + data[has_z].copy(), np.array(new_coords_z).T + ) + + return result diff --git a/.venv/lib/python3.12/site-packages/geopandas/base.py b/.venv/lib/python3.12/site-packages/geopandas/base.py index 625633a7..5e2729e2 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/base.py +++ b/.venv/lib/python3.12/site-packages/geopandas/base.py @@ -1,10 +1,12 @@ -from warnings import warn import warnings +from warnings import warn import numpy as np import pandas as pd from pandas import DataFrame, Series -from shapely.geometry import box, MultiPoint + +import shapely +from shapely.geometry import MultiPoint, box from shapely.geometry.base import BaseGeometry from . import _compat as compat @@ -26,13 +28,24 @@ def is_geometry_type(data): def _delegate_binary_method(op, this, other, align, *args, **kwargs): # type: (str, GeoSeries, GeoSeries) -> GeoSeries/Series + if align is None: + align = True + maybe_warn = True + else: + maybe_warn = False this = this.geometry if isinstance(other, GeoPandasBase): if align and not this.index.equals(other.index): - warn( - "The indices of the two GeoSeries are different.", - stacklevel=4, - ) + if maybe_warn: + warn( + "The indices of the left and right GeoSeries' are not equal, and " + "therefore they will be aligned (reordering and/or introducing " + "missing values) before executing the operation. If this alignment " + "is the desired behaviour, you can silence this warning by passing " + "'align=True'. If you don't want alignment and protect yourself of " + "accidentally aligning, you can pass 'align=False'.", + stacklevel=4, + ) this, other = this.align(other.geometry) else: other = other.geometry @@ -48,12 +61,12 @@ def _delegate_binary_method(op, this, other, align, *args, **kwargs): return data, this.index -def _binary_geo(op, this, other, align): +def _binary_geo(op, this, other, align, *args, **kwargs): # type: (str, GeoSeries, GeoSeries) -> GeoSeries """Binary operation on GeoSeries objects that returns a GeoSeries""" from .geoseries import GeoSeries - geoms, index = _delegate_binary_method(op, this, other, align) + geoms, index = _delegate_binary_method(op, this, other, align, *args, **kwargs) return GeoSeries(geoms, index=index, crs=this.crs) @@ -76,13 +89,34 @@ def _delegate_property(op, this): return Series(data, index=this.index) -def _delegate_geo_method(op, this, *args, **kwargs): +def _delegate_geo_method(op, this, **kwargs): # type: (str, GeoSeries) -> GeoSeries """Unary operation that returns a GeoSeries""" + from .geodataframe import GeoDataFrame from .geoseries import GeoSeries + if isinstance(this, GeoSeries): + klass, var_name = "GeoSeries", "gs" + elif isinstance(this, GeoDataFrame): + klass, var_name = "GeoDataFrame", "gdf" + else: + klass, var_name = this.__class__.__name__, "this" + + for key, val in kwargs.items(): + if isinstance(val, pd.Series): + if not val.index.equals(this.index): + raise ValueError( + f"Index of the Series passed as '{key}' does not match index of " + f"the {klass}. If you want both Series to be aligned, align them " + f"before passing them to this method as " + f"`{var_name}, {key} = {var_name}.align({key})`. If " + f"you want to ignore the index, pass the underlying array as " + f"'{key}' using `{key}.values`." + ) + kwargs[key] = np.asarray(val) + a_this = GeometryArray(this.geometry.values) - data = getattr(a_this, op)(*args, **kwargs) + data = getattr(a_this, op)(**kwargs) return GeoSeries(data, index=this.index, crs=this.crs) @@ -106,11 +140,11 @@ class GeoPandasBase(object): ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 POLYGON ((10.00000 0.00000, 10.00000 5.00000, ... - 2 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 2.... - 3 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 4 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 POLYGON ((10 0, 10 5, 0 0, 10 0)) + 2 POLYGON ((0 0, 2 2, 2 0, 0 0)) + 3 LINESTRING (0 0, 1 1, 0 1) + 4 POINT (0 1) dtype: geometry >>> s.area @@ -226,12 +260,12 @@ GeometryCollection ... ] ... ) >>> s - 0 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 1 LINESTRING (10.00000 0.00000, 10.00000 5.00000... - 2 MULTILINESTRING ((0.00000 0.00000, 1.00000 0.0... - 3 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 4 POINT (0.00000 1.00000) - 5 GEOMETRYCOLLECTION (POINT (1.00000 0.00000), L... + 0 LINESTRING (0 0, 1 1, 0 1) + 1 LINESTRING (10 0, 10 5, 0 0) + 2 MULTILINESTRING ((0 0, 1 0), (-1 0, 1 0)) + 3 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 4 POINT (0 1) + 5 GEOMETRYCOLLECTION (POINT (1 0), LINESTRING (1... dtype: geometry >>> s.length @@ -280,10 +314,10 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 1.... - 2 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 2.... - 3 None + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 POLYGON ((0 0, 1 1, 1 0, 0 1, 0 0)) + 2 POLYGON ((0 0, 2 2, 2 0, 0 0)) + 3 None dtype: geometry >>> s.is_valid @@ -293,9 +327,52 @@ GeometryCollection 3 False dtype: bool + See also + -------- + GeoSeries.is_valid_reason : reason for invalidity """ return _delegate_property("is_valid", self) + def is_valid_reason(self): + """Returns a ``Series`` of strings with the reason for invalidity of + each geometry. + + Examples + -------- + + An example with one invalid polygon (a bowtie geometry crossing itself) + and one missing geometry: + + >>> from shapely.geometry import Polygon + >>> s = geopandas.GeoSeries( + ... [ + ... Polygon([(0, 0), (1, 1), (0, 1)]), + ... Polygon([(0,0), (1, 1), (1, 0), (0, 1)]), # bowtie geometry + ... Polygon([(0, 0), (2, 2), (2, 0)]), + ... None + ... ] + ... ) + >>> s + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 POLYGON ((0 0, 1 1, 1 0, 0 1, 0 0)) + 2 POLYGON ((0 0, 2 2, 2 0, 0 0)) + 3 None + dtype: geometry + + >>> s.is_valid_reason() + 0 Valid Geometry + 1 Self-intersection[0.5 0.5] + 2 Valid Geometry + 3 None + dtype: object + + See also + -------- + GeoSeries.is_valid : detect invalid geometries + GeoSeries.make_valid : fix invalid geometries + """ + return Series(self.geometry.values.is_valid_reason(), index=self.index) + @property def is_empty(self): """ @@ -311,10 +388,11 @@ GeometryCollection >>> d = {'geometry': [Point(), Point(2, 1), None]} >>> gdf = geopandas.GeoDataFrame(d, crs="EPSG:4326") >>> gdf - geometry - 0 POINT EMPTY - 1 POINT (2.00000 1.00000) - 2 None + geometry + 0 POINT EMPTY + 1 POINT (2 1) + 2 None + >>> gdf.is_empty 0 True 1 False @@ -327,6 +405,138 @@ GeometryCollection """ return _delegate_property("is_empty", self) + def count_coordinates(self): + """ + Returns a ``Series`` containing the count of the number of coordinate pairs + in each geometry. + + Examples + -------- + An example of a GeoDataFrame with two line strings, one point and one None + value: + + >>> from shapely.geometry import Polygon, LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... LineString([(0, 0), (1, 1), (1, -1), (0, 1)]), + ... LineString([(0, 0), (1, 1), (1, -1)]), + ... Point(0, 0), + ... Polygon([(10, 10), (10, 20), (20, 20), (20, 10), (10, 10)]), + ... None + ... ] + ... ) + >>> s + 0 LINESTRING (0 0, 1 1, 1 -1, 0 1) + 1 LINESTRING (0 0, 1 1, 1 -1) + 2 POINT (0 0) + 3 POLYGON ((10 10, 10 20, 20 20, 20 10, 10 10)) + 4 None + dtype: geometry + + >>> s.count_coordinates() + 0 4 + 1 3 + 2 1 + 3 5 + 4 0 + dtype: int32 + + See also + -------- + GeoSeries.get_coordinates : extract coordinates as a :class:`~pandas.DataFrame` + GoSeries.count_geometries : count the number of geometries in a collection + """ + return Series(self.geometry.values.count_coordinates(), index=self.index) + + def count_geometries(self): + """ + Returns a ``Series`` containing the count of geometries in each multi-part + geometry. + + For single-part geometry objects, this is always 1. For multi-part geometries, + like ``MultiPoint`` or ``MultiLineString``, it is the number of parts in the + geometry. For ``GeometryCollection``, it is the number of geometries direct + parts of the collection (the method does not recurse into collections within + collections). + + + Examples + -------- + >>> from shapely.geometry import Point, MultiPoint, LineString, MultiLineString + >>> s = geopandas.GeoSeries( + ... [ + ... MultiPoint([(0, 0), (1, 1), (1, -1), (0, 1)]), + ... MultiLineString([((0, 0), (1, 1)), ((-1, 0), (1, 0))]), + ... LineString([(0, 0), (1, 1), (1, -1)]), + ... Point(0, 0), + ... ] + ... ) + >>> s + 0 MULTIPOINT ((0 0), (1 1), (1 -1), (0 1)) + 1 MULTILINESTRING ((0 0, 1 1), (-1 0, 1 0)) + 2 LINESTRING (0 0, 1 1, 1 -1) + 3 POINT (0 0) + dtype: geometry + + >>> s.count_geometries() + 0 4 + 1 2 + 2 1 + 3 1 + dtype: int32 + + See also + -------- + GeoSeries.count_coordinates : count the number of coordinates in a geometry + GeoSeries.count_interior_rings : count the number of interior rings + """ + return Series(self.geometry.values.count_geometries(), index=self.index) + + def count_interior_rings(self): + """ + Returns a ``Series`` containing the count of the number of interior rings + in a polygonal geometry. + + For non-polygonal geometries, this is always 0. + + Examples + -------- + >>> from shapely.geometry import Polygon, Point + >>> s = geopandas.GeoSeries( + ... [ + ... Polygon( + ... [(0, 0), (0, 5), (5, 5), (5, 0)], + ... [[(1, 1), (1, 4), (4, 4), (4, 1)]], + ... ), + ... Polygon( + ... [(0, 0), (0, 5), (5, 5), (5, 0)], + ... [ + ... [(1, 1), (1, 2), (2, 2), (2, 1)], + ... [(3, 2), (3, 3), (4, 3), (4, 2)], + ... ], + ... ), + ... Point(0, 1), + ... ] + ... ) + >>> s + 0 POLYGON ((0 0, 0 5, 5 5, 5 0, 0 0), (1 1, 1 4,... + 1 POLYGON ((0 0, 0 5, 5 5, 5 0, 0 0), (1 1, 1 2,... + 2 POINT (0 1) + dtype: geometry + + >>> s.count_interior_rings() + 0 1 + 1 2 + 2 0 + dtype: int32 + + See also + -------- + GeoSeries.count_coordinates : count the number of coordinates in a geometry + GeoSeries.count_geometries : count the number of geometries in a collection + """ + return Series(self.geometry.values.count_interior_rings(), index=self.index) + @property def is_simple(self): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for @@ -344,8 +554,8 @@ GeometryCollection ... ] ... ) >>> s - 0 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... + 0 LINESTRING (0 0, 1 1, 1 -1, 0 1) + 1 LINESTRING (0 0, 1 1, 1 -1) dtype: geometry >>> s.is_simple @@ -376,9 +586,9 @@ GeometryCollection ... ] ... ) >>> s - 0 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 LINEARRING (0.00000 0.00000, 1.00000 1.00000, ... + 0 LINESTRING (0 0, 1 1, 1 -1) + 1 LINESTRING (0 0, 1 1, 1 -1, 0 0) + 2 LINEARRING (0 0, 1 1, 1 -1, 0 0) dtype: geometry >>> s.is_ring @@ -390,6 +600,81 @@ GeometryCollection """ return _delegate_property("is_ring", self) + @property + def is_ccw(self): + """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` + if a LineString or LinearRing is counterclockwise. + + Note that there are no checks on whether lines are actually + closed and not self-intersecting, while this is a requirement + for ``is_ccw``. The recommended usage of this property for + LineStrings is ``GeoSeries.is_ccw & GeoSeries.is_simple`` and for + LinearRings ``GeoSeries.is_ccw & GeoSeries.is_valid``. + + This property will return False for non-linear geometries and for + lines with fewer than 4 points (including the closing point). + + Examples + -------- + >>> from shapely.geometry import LineString, LinearRing, Point + >>> s = geopandas.GeoSeries( + ... [ + ... LinearRing([(0, 0), (0, 1), (1, 1), (0, 0)]), + ... LinearRing([(0, 0), (1, 1), (0, 1), (0, 0)]), + ... LineString([(0, 0), (1, 1), (0, 1)]), + ... Point(3, 3) + ... ] + ... ) + >>> s + 0 LINEARRING (0 0, 0 1, 1 1, 0 0) + 1 LINEARRING (0 0, 1 1, 0 1, 0 0) + 2 LINESTRING (0 0, 1 1, 0 1) + 3 POINT (3 3) + dtype: geometry + + >>> s.is_ccw + 0 False + 1 True + 2 False + 3 False + dtype: bool + """ + return _delegate_property("is_ccw", self) + + @property + def is_closed(self): + """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` + if a LineString's or LinearRing's first and last points are equal. + + Returns False for any other geometry type. + + Examples + -------- + >>> from shapely.geometry import LineString, Point, Polygon + >>> s = geopandas.GeoSeries( + ... [ + ... LineString([(0, 0), (1, 1), (0, 1), (0, 0)]), + ... LineString([(0, 0), (1, 1), (0, 1)]), + ... Polygon([(0, 0), (0, 1), (1, 1), (0, 0)]), + ... Point(3, 3) + ... ] + ... ) + >>> s + 0 LINESTRING (0 0, 1 1, 0 1, 0 0) + 1 LINESTRING (0 0, 1 1, 0 1) + 2 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 3 POINT (3 3) + dtype: geometry + + >>> s.is_closed + 0 True + 1 False + 2 False + 3 False + dtype: bool + """ + return _delegate_property("is_closed", self) + @property def has_z(self): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for @@ -410,8 +695,8 @@ GeometryCollection ... ] ... ) >>> s - 0 POINT (0.00000 1.00000) - 1 POINT Z (0.00000 1.00000 2.00000) + 0 POINT (0 1) + 1 POINT Z (0 1 2) dtype: geometry >>> s.has_z @@ -421,6 +706,112 @@ GeometryCollection """ return _delegate_property("has_z", self) + def get_precision(self): + """Returns a ``Series`` of the precision of each geometry. + + If a precision has not been previously set, it will be 0, indicating regular + double precision coordinates are in use. Otherwise, it will return the precision + grid size that was set on a geometry. + + Returns NaN for not-a-geometry values. + + Examples + -------- + >>> from shapely.geometry import Point + >>> s = geopandas.GeoSeries( + ... [ + ... Point(0, 1), + ... Point(0, 1, 2), + ... Point(0, 1.5, 2), + ... ] + ... ) + >>> s + 0 POINT (0 1) + 1 POINT Z (0 1 2) + 2 POINT Z (0 1.5 2) + dtype: geometry + + >>> s.get_precision() + 0 0.0 + 1 0.0 + 2 0.0 + dtype: float64 + + >>> s1 = s.set_precision(1) + >>> s1 + 0 POINT (0 1) + 1 POINT Z (0 1 2) + 2 POINT Z (0 2 2) + dtype: geometry + + >>> s1.get_precision() + 0 1.0 + 1 1.0 + 2 1.0 + dtype: float64 + + See also + -------- + GeoSeries.set_precision : set precision grid size + """ + return Series(self.geometry.values.get_precision(), index=self.index) + + def get_geometry(self, index): + """Returns the n-th geometry from a collection of geometries. + + Parameters + ---------- + index : int or array_like + Position of a geometry to be retrieved within its collection + + Returns + ------- + GeoSeries + + Notes + ----- + Simple geometries act as collections of length 1. Any out-of-range index value + returns None. + + Examples + -------- + >>> from shapely.geometry import Point, MultiPoint, GeometryCollection + >>> s = geopandas.GeoSeries( + ... [ + ... Point(0, 0), + ... MultiPoint([(0, 0), (1, 1), (0, 1), (1, 0)]), + ... GeometryCollection( + ... [MultiPoint([(0, 0), (1, 1), (0, 1), (1, 0)]), Point(0, 1)] + ... ), + ... ] + ... ) + >>> s + 0 POINT (0 0) + 1 MULTIPOINT ((0 0), (1 1), (0 1), (1 0)) + 2 GEOMETRYCOLLECTION (MULTIPOINT ((0 0), (1 1), ... + dtype: geometry + + >>> s.get_geometry(0) + 0 POINT (0 0) + 1 POINT (0 0) + 2 MULTIPOINT ((0 0), (1 1), (0 1), (1 0)) + dtype: geometry + + >>> s.get_geometry(1) + 0 None + 1 POINT (1 1) + 2 POINT (0 1) + dtype: geometry + + >>> s.get_geometry(-1) + 0 POINT (0 0) + 1 POINT (1 0) + 2 POINT (0 1) + dtype: geometry + + """ + return _delegate_geo_method("get_geometry", self, index=index) + # # Unary operations that return a GeoSeries # @@ -442,15 +833,15 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 POINT (0 0) dtype: geometry >>> s.boundary - 0 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 1 MULTIPOINT (0.00000 0.00000, 1.00000 0.00000) - 2 GEOMETRYCOLLECTION EMPTY + 0 LINESTRING (0 0, 1 1, 0 1, 0 0) + 1 MULTIPOINT ((0 0), (1 0)) + 2 GEOMETRYCOLLECTION EMPTY dtype: geometry See also @@ -479,15 +870,15 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 POINT (0 0) dtype: geometry >>> s.centroid 0 POINT (0.33333 0.66667) - 1 POINT (0.70711 0.50000) - 2 POINT (0.00000 0.00000) + 1 POINT (0.70711 0.5) + 2 POINT (0 0) dtype: geometry See also @@ -536,19 +927,19 @@ GeometryCollection ... crs=3857 ... ) >>> s - 0 POLYGON ((0.000 0.000, 1.000 1.000, 0.000 1.00... - 1 LINESTRING (0.000 0.000, 1.000 1.000, 1.000 0.... - 2 MULTIPOINT (0.000 0.000, 1.000 1.000, 0.000 1.... - 3 MULTIPOINT (0.000 0.000, 1.000 1.000) - 4 POINT (0.000 0.000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 MULTIPOINT ((0 0), (1 1), (0 1), (1 0), (0.5 0... + 3 MULTIPOINT ((0 0), (1 1)) + 4 POINT (0 0) dtype: geometry >>> s.concave_hull() - 0 POLYGON ((0.000 1.000, 1.000 1.000, 0.000 0.00... - 1 POLYGON ((0.000 0.000, 1.000 1.000, 1.000 0.00... - 2 POLYGON ((0.500 0.500, 0.000 1.000, 1.000 1.00... - 3 LINESTRING (0.000 0.000, 1.000 1.000) - 4 POINT (0.000 0.000) + 0 POLYGON ((0 1, 1 1, 0 0, 0 1)) + 1 POLYGON ((0 0, 1 1, 1 0, 0 0)) + 2 POLYGON ((0.5 0.5, 0 1, 1 1, 1 0, 0 0, 0.5 0.5)) + 3 LINESTRING (0 0, 1 1) + 4 POINT (0 0) dtype: geometry See also @@ -584,19 +975,19 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 MULTIPOINT (0.00000 0.00000, 1.00000 1.00000, ... - 3 MULTIPOINT (0.00000 0.00000, 1.00000 1.00000) - 4 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 MULTIPOINT ((0 0), (1 1), (0 1), (1 0), (0.5 0... + 3 MULTIPOINT ((0 0), (1 1)) + 4 POINT (0 0) dtype: geometry >>> s.convex_hull - 0 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 1.... - 1 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 1.... - 2 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 1.... - 3 LINESTRING (0.00000 0.00000, 1.00000 1.00000) - 4 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 1 POLYGON ((0 0, 1 1, 1 0, 0 0)) + 2 POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0)) + 3 LINESTRING (0 0, 1 1) + 4 POINT (0 0) dtype: geometry See also @@ -609,53 +1000,229 @@ GeometryCollection def delaunay_triangles(self, tolerance=0.0, only_edges=False): """Returns a ``GeoSeries`` consisting of objects representing - the computed Delaunay triangulation around the vertices of + the computed Delaunay triangulation between the vertices of an input geometry. - The output is a ``GeometryCollection`` containing polygons - (default) or linestrings (see only_edges). + All geometries within the GeoSeries are considered together within a single + Delaunay triangulation. The resulting geometries therefore do not map 1:1 + to input geometries. Note that each vertex of a geometry is considered a site + for the triangulation, so the triangles will be constructed between the vertices + of each geometry. - Returns an empty GeometryCollection if an input geometry - contains less than 3 vertices. + Notes + ----- + If you want to generate Delaunay triangles for each geometry separately, use + :func:`shapely.delaunay_triangles` instead. Parameters ---------- - tolerance : float | array-like, default 0.0 + tolerance : float, default 0.0 Snap input vertices together if their distance is less than this value. - only_edges : bool | array_like, (optional, default False) - If set to True, the triangulation will return a collection of - linestrings instead of polygons. + only_edges : bool (optional, default False) + If set to True, the triangulation will return linestrings instead of + polygons. Examples -------- - >>> from shapely import LineString, MultiPoint, Polygon + >>> from shapely import LineString, MultiPoint, Point, Polygon >>> s = geopandas.GeoSeries( ... [ - ... MultiPoint([(50, 30), (60, 30), (100, 100)]), - ... Polygon([(50, 30), (60, 30), (100, 100), (50, 30)]), - ... LineString([(50, 30), (60, 30), (100, 100)]), + ... Point(1, 1), + ... Point(2, 2), + ... Point(1, 3), + ... Point(0, 2), ... ] ... ) >>> s - 0 MULTIPOINT (50.000 30.000, 60.000 30.000, 100.... - 1 POLYGON ((50.000 30.000, 60.000 30.000, 100.00... - 2 LINESTRING (50.000 30.000, 60.000 30.000, 100.... + 0 POINT (1 1) + 1 POINT (2 2) + 2 POINT (1 3) + 3 POINT (0 2) dtype: geometry >>> s.delaunay_triangles() - 0 GEOMETRYCOLLECTION (POLYGON ((50.000 30.000, 6... - 1 GEOMETRYCOLLECTION (POLYGON ((50.000 30.000, 6... - 2 GEOMETRYCOLLECTION (POLYGON ((50.000 30.000, 6... + 0 POLYGON ((0 2, 1 1, 1 3, 0 2)) + 1 POLYGON ((1 3, 1 1, 2 2, 1 3)) dtype: geometry >>> s.delaunay_triangles(only_edges=True) - 0 MULTILINESTRING ((50.000 30.000, 100.000 100.0... - 1 MULTILINESTRING ((50.000 30.000, 100.000 100.0... - 2 MULTILINESTRING ((50.000 30.000, 100.000 100.0... + 0 LINESTRING (1 3, 2 2) + 1 LINESTRING (0 2, 1 3) + 2 LINESTRING (0 2, 1 1) + 3 LINESTRING (1 1, 2 2) + 4 LINESTRING (1 1, 1 3) dtype: geometry + + The method supports any geometry type but keep in mind that the underlying + algorithm is based on the vertices of the input geometries only and does not + consider edge segments between vertices. + + >>> s2 = geopandas.GeoSeries( + ... [ + ... Polygon([(0, 0), (1, 1), (0, 1)]), + ... LineString([(1, 0), (2, 1), (1, 2)]), + ... MultiPoint([(2, 3), (2, 0), (3, 1)]), + ... ] + ... ) + >>> s2 + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (1 0, 2 1, 1 2) + 2 MULTIPOINT ((2 3), (2 0), (3 1)) + dtype: geometry + + >>> s2.delaunay_triangles() + 0 POLYGON ((0 1, 0 0, 1 0, 0 1)) + 1 POLYGON ((0 1, 1 0, 1 1, 0 1)) + 2 POLYGON ((0 1, 1 1, 1 2, 0 1)) + 3 POLYGON ((1 2, 1 1, 2 1, 1 2)) + 4 POLYGON ((1 2, 2 1, 2 3, 1 2)) + 5 POLYGON ((2 3, 2 1, 3 1, 2 3)) + 6 POLYGON ((3 1, 2 1, 2 0, 3 1)) + 7 POLYGON ((2 0, 2 1, 1 1, 2 0)) + 8 POLYGON ((2 0, 1 1, 1 0, 2 0)) + dtype: geometry + + See also + -------- + GeoSeries.voronoi_polygons : Voronoi diagram around vertices """ - return _delegate_geo_method("delaunay_triangles", self, tolerance, only_edges) + from .geoseries import GeoSeries + + geometry_input = shapely.geometrycollections(self.geometry.values._data) + + delaunay = shapely.delaunay_triangles( + geometry_input, + tolerance=tolerance, + only_edges=only_edges, + ) + return GeoSeries(delaunay, crs=self.crs).explode(ignore_index=True) + + def voronoi_polygons(self, tolerance=0.0, extend_to=None, only_edges=False): + """Returns a ``GeoSeries`` consisting of objects representing + the computed Voronoi diagram around the vertices of an input geometry. + + All geometries within the GeoSeries are considered together within a single + Voronoi diagram. The resulting geometries therefore do not necessarily map 1:1 + to input geometries. Note that each vertex of a geometry is considered a site + for the Voronoi diagram, so the diagram will be constructed around the vertices + of each geometry. + + Notes + ----- + The order of polygons in the output currently does not correspond to the order + of input vertices. + + If you want to generate a Voronoi diagram for each geometry separately, use + :func:`shapely.voronoi_polygons` instead. + + Parameters + ---------- + tolerance : float, default 0.0 + Snap input vertices together if their distance is less than this value. + extend_to : shapely.Geometry, default None + If set, the Voronoi diagram will be extended to cover the + envelope of this geometry (unless this envelope is smaller than the input + geometry). + only_edges : bool (optional, default False) + If set to True, the diagram will return LineStrings instead + of Polygons. + + Examples + -------- + The most common use case is to generate polygons representing the Voronoi + diagram around a set of points: + + >>> from shapely import LineString, MultiPoint, Point, Polygon + >>> s = geopandas.GeoSeries( + ... [ + ... Point(1, 1), + ... Point(2, 2), + ... Point(1, 3), + ... Point(0, 2), + ... ] + ... ) + >>> s + 0 POINT (1 1) + 1 POINT (2 2) + 2 POINT (1 3) + 3 POINT (0 2) + dtype: geometry + + By default, you get back a GeoSeries of polygons: + + >>> s.voronoi_polygons() + 0 POLYGON ((-2 5, 1 2, -2 -1, -2 5)) + 1 POLYGON ((4 5, 1 2, -2 5, 4 5)) + 2 POLYGON ((-2 -1, 1 2, 4 -1, -2 -1)) + 3 POLYGON ((4 -1, 1 2, 4 5, 4 -1)) + dtype: geometry + + If you set only_edges to True, you get back LineStrings representing the + edges of the Voronoi diagram: + + >>> s.voronoi_polygons(only_edges=True) + 0 LINESTRING (-2 5, 1 2) + 1 LINESTRING (1 2, -2 -1) + 2 LINESTRING (4 5, 1 2) + 3 LINESTRING (1 2, 4 -1) + dtype: geometry + + You can also extend each diagram to a given geometry: + + >>> limit = Polygon([(-10, -10), (0, 15), (15, 15), (15, 0)]) + >>> s.voronoi_polygons(extend_to=limit) + 0 POLYGON ((-10 13, 1 2, -10 -9, -10 13)) + 1 POLYGON ((15 15, 15 -10, 13 -10, 1 2, 14 15, 1... + 2 POLYGON ((-10 -10, -10 -9, 1 2, 13 -10, -10 -10)) + 3 POLYGON ((-10 15, 14 15, 1 2, -10 13, -10 15)) + dtype: geometry + + The method supports any geometry type but keep in mind that the underlying + algorithm is based on the vertices of the input geometries only and does not + consider edge segments between vertices. + + >>> s2 = geopandas.GeoSeries( + ... [ + ... Polygon([(0, 0), (1, 1), (0, 1)]), + ... LineString([(1, 0), (2, 1), (1, 2)]), + ... MultiPoint([(2, 3), (2, 0), (3, 1)]), + ... ] + ... ) + >>> s2 + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (1 0, 2 1, 1 2) + 2 MULTIPOINT ((2 3), (2 0), (3 1)) + dtype: geometry + + >>> s2.voronoi_polygons() + 0 POLYGON ((1.5 1.5, 1.5 0.5, 0.5 0.5, 0.5 1.5, ... + 1 POLYGON ((1.5 0.5, 1.5 1.5, 2 2, 2.5 2, 2.5 0.... + 2 POLYGON ((-3 -3, -3 0.5, 0.5 0.5, 0.5 -3, -3 -3)) + 3 POLYGON ((0.5 -3, 0.5 0.5, 1.5 0.5, 1.5 -3, 0.... + 4 POLYGON ((-3 5, 0.5 1.5, 0.5 0.5, -3 0.5, -3 5)) + 5 POLYGON ((-3 6, -2 6, 2 2, 1.5 1.5, 0.5 1.5, -... + 6 POLYGON ((1.5 -3, 1.5 0.5, 2.5 0.5, 6 -3, 1.5 ... + 7 POLYGON ((6 6, 6 3.75, 2.5 2, 2 2, -2 6, 6 6)) + 8 POLYGON ((6 -3, 2.5 0.5, 2.5 2, 6 3.75, 6 -3)) + dtype: geometry + + See also + -------- + GeoSeries.delaunay_triangles : Delaunay triangulation around vertices + """ + from .geoseries import GeoSeries + + geometry_input = shapely.geometrycollections(self.geometry.values._data) + + voronoi = shapely.voronoi_polygons( + geometry_input, + tolerance=tolerance, + extend_to=extend_to, + only_edges=only_edges, + ) + + return GeoSeries(voronoi, crs=self.crs).explode(ignore_index=True) @property def envelope(self): @@ -679,17 +1246,17 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 MULTIPOINT (0.00000 0.00000, 1.00000 1.00000) - 3 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 MULTIPOINT ((0 0), (1 1)) + 3 POINT (0 0) dtype: geometry >>> s.envelope - 0 POLYGON ((0.00000 0.00000, 1.00000 0.00000, 1.... - 1 POLYGON ((0.00000 0.00000, 1.00000 0.00000, 1.... - 2 POLYGON ((0.00000 0.00000, 1.00000 0.00000, 1.... - 3 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0)) + 1 POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0)) + 2 POLYGON ((0 0, 1 0, 1 1, 0 1, 0 0)) + 3 POINT (0 0) dtype: geometry See also @@ -719,17 +1286,17 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 MULTIPOINT (0.00000 0.00000, 1.00000 1.00000) - 3 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 MULTIPOINT ((0 0), (1 1)) + 3 POINT (0 0) dtype: geometry >>> s.minimum_rotated_rectangle() - 0 POLYGON ((1.00000 1.00000, 0.50000 1.50000, -0... - 1 POLYGON ((0.00000 0.00000, 0.50000 -0.50000, 1... - 2 LINESTRING (0.00000 0.00000, 1.00000 1.00000) - 3 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0)) + 1 POLYGON ((1 1, 1 0, 0 0, 0 1, 1 1)) + 2 LINESTRING (0 0, 1 1) + 3 POINT (0 0) dtype: geometry See also @@ -758,15 +1325,15 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 POLYGON ((1.00000 0.00000, 2.00000 1.00000, 0.... - 2 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 POLYGON ((1 0, 2 1, 0 0, 1 0)) + 2 POINT (0 1) dtype: geometry >>> s.exterior - 0 LINEARRING (0.00000 0.00000, 1.00000 1.00000, ... - 1 LINEARRING (1.00000 0.00000, 2.00000 1.00000, ... - 2 None + 0 LINEARRING (0 0, 1 1, 0 1, 0 0) + 1 LINEARRING (1 0, 2 1, 0 0, 1 0) + 2 None dtype: geometry See also @@ -790,16 +1357,15 @@ GeometryCollection ... LineString([(0, 0), (0, 0), (1, 1), (1, 1)]), ... Polygon([(0, 0), (0, 0), (1, 1), (1, 1)]) ... ], - ... crs=3857 ... ) >>> s - 0 LINESTRING (0.000 0.000, 0.000 0.000, 1.000 1.... - 1 POLYGON ((0.000 0.000, 0.000 0.000, 1.000 1.00... + 0 LINESTRING (0 0, 0 0, 1 1, 1 1) + 1 POLYGON ((0 0, 0 0, 1 1, 1 1, 0 0)) dtype: geometry >>> s.extract_unique_points() - 0 MULTIPOINT (0.000 0.000, 1.000 1.000) - 1 MULTIPOINT (0.000 0.000, 1.000 1.000) + 0 MULTIPOINT ((0 0), (1 1)) + 1 MULTIPOINT ((0 0), (1 1)) dtype: geometry See also @@ -812,6 +1378,7 @@ GeometryCollection def offset_curve(self, distance, quad_segs=8, join_style="round", mitre_limit=5.0): """Returns a ``LineString`` or ``MultiLineString`` geometry at a distance from the object on its right or its left side. + Parameters ---------- distance : float | array-like @@ -843,17 +1410,17 @@ GeometryCollection ... crs=3857 ... ) >>> s - 0 LINESTRING (0.000 0.000, 0.000 1.000, 1.000 1.... + 0 LINESTRING (0 0, 0 1, 1 1) dtype: geometry >>> s.offset_curve(1) - 0 LINESTRING (-1.000 0.000, -1.000 1.000, -0.981... + 0 LINESTRING (-1 0, -1 1, -0.981 1.195, -0.924 1... dtype: geometry """ return _delegate_geo_method( "offset_curve", self, - distance, + distance=distance, quad_segs=quad_segs, join_style=join_style, mitre_limit=mitre_limit, @@ -885,8 +1452,8 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 0.00000 5.00000, 5.... - 1 POLYGON ((1.00000 0.00000, 2.00000 1.00000, 0.... + 0 POLYGON ((0 0, 0 5, 5 5, 5 0, 0 0), (1 1, 2 1,... + 1 POLYGON ((1 0, 2 1, 0 0, 1 0)) dtype: geometry >>> s.interiors @@ -925,20 +1492,108 @@ GeometryCollection ... LineString([(0, 0), (0, 0), (1, 0)]), ... Polygon([(0, 0), (0, 0.5), (0, 1), (0.5, 1), (0,0)]), ... ], - ... crs=3857 ... ) >>> s - 0 LINESTRING (0.000 0.000, 0.000 0.000, 1.000 0.... - 1 POLYGON ((0.000 0.000, 0.000 0.500, 0.000 1.00... + 0 LINESTRING (0 0, 0 0, 1 0) + 1 POLYGON ((0 0, 0 0.5, 0 1, 0.5 1, 0 0)) dtype: geometry >>> s.remove_repeated_points(tolerance=0.0) - 0 LINESTRING (0.000 0.000, 1.000 0.000) - 1 POLYGON ((0.000 0.000, 0.000 0.500, 0.000 1.00... + 0 LINESTRING (0 0, 1 0) + 1 POLYGON ((0 0, 0 0.5, 0 1, 0.5 1, 0 0)) dtype: geometry """ return _delegate_geo_method("remove_repeated_points", self, tolerance=tolerance) + def set_precision(self, grid_size, mode="valid_output"): + """Returns a ``GeoSeries`` with the precision set to a precision grid size. + + By default, geometries use double precision coordinates (``grid_size=0``). + + Coordinates will be rounded if a precision grid is less precise than the input + geometry. Duplicated vertices will be dropped from lines and polygons for grid + sizes greater than 0. Line and polygon geometries may collapse to empty + geometries if all vertices are closer together than ``grid_size``. Spikes or + sections in Polygons narrower than ``grid_size`` after rounding the vertices + will be removed, which can lead to MultiPolygons or empty geometries. Z values, + if present, will not be modified. + + Parameters + ---------- + grid_size : float + Precision grid size. If 0, will use double precision (will not modify + geometry if precision grid size was not previously set). If this value is + more precise than input geometry, the input geometry will not be modified. + mode : {'valid_output', 'pointwise', 'keep_collapsed'}, default 'valid_output' + This parameter determines the way a precision reduction is applied on the + geometry. There are three modes: + + * ``'valid_output'`` (default): The output is always valid. Collapsed + geometry elements (including both polygons and lines) are removed. + Duplicate vertices are removed. + * ``'pointwise'``: Precision reduction is performed pointwise. Output + geometry may be invalid due to collapse or self-intersection. Duplicate + vertices are not removed. + * ``'keep_collapsed'``: Like the default mode, except that collapsed linear + geometry elements are preserved. Collapsed polygonal input elements are + removed. Duplicate vertices are removed. + + Examples + -------- + + >>> from shapely import LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... Point(0.9, 0.9), + ... Point(0.9, 0.9, 0.9), + ... LineString([(0, 0), (0, 0.1), (0, 1), (1, 1)]), + ... LineString([(0, 0), (0, 0.1), (0.1, 0.1)]) + ... ], + ... ) + >>> s + 0 POINT (0.9 0.9) + 1 POINT Z (0.9 0.9 0.9) + 2 LINESTRING (0 0, 0 0.1, 0 1, 1 1) + 3 LINESTRING (0 0, 0 0.1, 0.1 0.1) + dtype: geometry + + >>> s.set_precision(1) + 0 POINT (1 1) + 1 POINT Z (1 1 0.9) + 2 LINESTRING (0 0, 0 1, 1 1) + 3 LINESTRING Z EMPTY + dtype: geometry + + >>> s.set_precision(1, mode="pointwise") + 0 POINT (1 1) + 1 POINT Z (1 1 0.9) + 2 LINESTRING (0 0, 0 0, 0 1, 1 1) + 3 LINESTRING (0 0, 0 0, 0 0) + dtype: geometry + + >>> s.set_precision(1, mode="keep_collapsed") + 0 POINT (1 1) + 1 POINT Z (1 1 0.9) + 2 LINESTRING (0 0, 0 1, 1 1) + 3 LINESTRING (0 0, 0 0) + dtype: geometry + + Notes + ----- + Subsequent operations will always be performed in the precision of the geometry + with higher precision (smaller ``grid_size``). That same precision will be + attached to the operation outputs. + + Input geometries should be geometrically valid; unexpected results may occur if + input geometries are not. You can check the validity with + :meth:`~GeoSeries.is_valid` and fix invalid geometries with + :meth:`~GeoSeries.make_valid` methods. + + """ + return _delegate_geo_method( + "set_precision", self, grid_size=grid_size, mode=mode + ) + def representative_point(self): """Returns a ``GeoSeries`` of (cheaply computed) points that are guaranteed to be within each geometry. @@ -955,15 +1610,15 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 POINT (0 0) dtype: geometry >>> s.representative_point() - 0 POINT (0.25000 0.50000) - 1 POINT (1.00000 1.00000) - 2 POINT (0.00000 0.00000) + 0 POINT (0.25 0.5) + 1 POINT (1 1) + 2 POINT (0 0) dtype: geometry See also @@ -988,15 +1643,15 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 POINT (0 0) dtype: geometry >>> s.minimum_bounding_circle() - 0 POLYGON ((1.20711 0.50000, 1.19352 0.36205, 1.... - 1 POLYGON ((1.20711 0.50000, 1.19352 0.36205, 1.... - 2 POINT (0.00000 0.00000) + 0 POLYGON ((1.20711 0.5, 1.19352 0.36205, 1.1532... + 1 POLYGON ((1.20711 0.5, 1.19352 0.36205, 1.1532... + 2 POINT (0 0) dtype: geometry See also @@ -1020,10 +1675,11 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 POINT (0 0) dtype: geometry + >>> s.minimum_bounding_radius() 0 0.707107 1 0.707107 @@ -1037,6 +1693,39 @@ GeometryCollection """ return Series(self.geometry.values.minimum_bounding_radius(), index=self.index) + def minimum_clearance(self): + """Returns a ``Series`` containing the minimum clearance distance, + which is the smallest distance by which a vertex of the geometry + could be moved to produce an invalid geometry. + + If no minimum clearance exists for a geometry (for example, + a single point, or an empty geometry), infinity is returned. + + Examples + -------- + + >>> from shapely.geometry import Polygon, LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... Polygon([(0, 0), (1, 1), (0, 1), (0, 0)]), + ... LineString([(0, 0), (1, 1), (3, 2)]), + ... Point(0, 0), + ... ] + ... ) + >>> s + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 3 2) + 2 POINT (0 0) + dtype: geometry + + >>> s.minimum_clearance() + 0 0.707107 + 1 1.414214 + 2 inf + dtype: float64 + """ + return Series(self.geometry.values.minimum_clearance(), index=self.index) + def normalize(self): """Returns a ``GeoSeries`` of normalized geometries to normal form (or canonical form). @@ -1055,18 +1744,17 @@ GeometryCollection ... LineString([(0, 0), (1, 1), (1, 0)]), ... Point(0, 0), ... ], - ... crs='EPSG:3857' ... ) >>> s - 0 POLYGON ((0.000 0.000, 1.000 1.000, 0.000 1.00... - 1 LINESTRING (0.000 0.000, 1.000 1.000, 1.000 0.... - 2 POINT (0.000 0.000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 POINT (0 0) dtype: geometry >>> s.normalize() - 0 POLYGON ((0.000 0.000, 0.000 1.000, 1.000 1.00... - 1 LINESTRING (0.000 0.000, 1.000 1.000, 1.000 0.... - 2 POINT (0.000 0.000) + 0 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 POINT (0 0) dtype: geometry """ return _delegate_geo_method("normalize", self) @@ -1094,18 +1782,17 @@ GeometryCollection ... Polygon([(0, 2), (0, 1), (2, 0), (0, 0), (0, 2)]), ... LineString([(0, 0), (1, 1), (1, 0)]), ... ], - ... crs='EPSG:3857', ... ) >>> s - 0 POLYGON ((0.000 0.000, 0.000 2.000, 1.000 1.00... - 1 POLYGON ((0.000 2.000, 0.000 1.000, 2.000 0.00... - 2 LINESTRING (0.000 0.000, 1.000 1.000, 1.000 0.... + 0 POLYGON ((0 0, 0 2, 1 1, 2 2, 2 0, 1 1, 0 0)) + 1 POLYGON ((0 2, 0 1, 2 0, 0 0, 0 2)) + 2 LINESTRING (0 0, 1 1, 1 0) dtype: geometry >>> s.make_valid() - 0 MULTIPOLYGON (((1.000 1.000, 0.000 0.000, 0.00... - 1 GEOMETRYCOLLECTION (POLYGON ((2.000 0.000, 0.0... - 2 LINESTRING (0.000 0.000, 1.000 1.000, 1.000 0.... + 0 MULTIPOLYGON (((1 1, 0 0, 0 2, 1 1)), ((2 0, 1... + 1 GEOMETRYCOLLECTION (POLYGON ((2 0, 0 0, 0 1, 2... + 2 LINESTRING (0 0, 1 1, 1 0) dtype: geometry """ return _delegate_geo_method("make_valid", self) @@ -1125,15 +1812,15 @@ GeometryCollection ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 1.00000 1.00000, ... - 2 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 1 1, 1 0) + 2 POINT (0 0) dtype: geometry >>> s.reverse() - 0 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 1.... - 1 LINESTRING (1.00000 0.00000, 1.00000 1.00000, ... - 2 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 1 LINESTRING (1 0, 1 1, 0 0) + 2 POINT (0 0) dtype: geometry See also @@ -1169,66 +1856,338 @@ GeometryCollection ... LineString([(0, 0), (0, 10)]), ... Polygon([(0, 0), (10, 0), (10, 10), (0, 10), (0, 0)]), ... ], - ... crs=3857 ... ) >>> s - 0 LINESTRING (0.000 0.000, 0.000 10.000) - 1 POLYGON ((0.000 0.000, 10.000 0.000, 10.000 10... + 0 LINESTRING (0 0, 0 10) + 1 POLYGON ((0 0, 10 0, 10 10, 0 10, 0 0)) dtype: geometry >>> s.segmentize(max_segment_length=5) - 0 LINESTRING (0.000 0.000, 0.000 5.000, 0.000 10... - 1 POLYGON ((0.000 0.000, 5.000 0.000, 10.000 0.0... + 0 LINESTRING (0 0, 0 5, 0 10) + 1 POLYGON ((0 0, 5 0, 10 0, 10 5, 10 10, 5 10, 0... dtype: geometry """ - return _delegate_geo_method("segmentize", self, max_segment_length) + return _delegate_geo_method( + "segmentize", self, max_segment_length=max_segment_length + ) + + def transform(self, transformation, include_z=False): + """Returns a ``GeoSeries`` with the transformation function + applied to the geometry coordinates. + + Parameters + ---------- + transformation : Callable + A function that transforms a (N, 2) or (N, 3) ndarray of float64 + to another (N,2) or (N, 3) ndarray of float64 + include_z : bool, default False + If True include the third dimension in the coordinates array that + is passed to the ``transformation`` function. If a geometry has no third + dimension, the z-coordinates passed to the function will be NaN. + + Returns + ------- + GeoSeries + + Examples + -------- + >>> from shapely import Point, Polygon + >>> s = geopandas.GeoSeries([Point(0, 0)]) + >>> s.transform(lambda x: x + 1) + 0 POINT (1 1) + dtype: geometry + + >>> s = geopandas.GeoSeries([Polygon([(0, 0), (1, 1), (0, 1)])]) + >>> s.transform(lambda x: x * [2, 3]) + 0 POLYGON ((0 0, 2 3, 0 3, 0 0)) + dtype: geometry + + By default the third dimension is ignored and you need explicitly include it: + + >>> s = geopandas.GeoSeries([Point(0, 0, 0)]) + >>> s.transform(lambda x: x + 1, include_z=True) + 0 POINT Z (1 1 1) + dtype: geometry + """ + return _delegate_geo_method( + "transform", self, transformation=transformation, include_z=include_z + ) + + def force_2d(self): + """Forces the dimensionality of a geometry to 2D. + + Removes the additional Z coordinate dimension from all geometries. + + Returns + ------- + GeoSeries + + Examples + -------- + >>> from shapely import Polygon, LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... Point(0.5, 2.5, 0), + ... LineString([(1, 1, 1), (0, 1, 3), (1, 0, 2)]), + ... Polygon([(0, 0, 0), (0, 10, 0), (10, 10, 0)]), + ... ], + ... ) + >>> s + 0 POINT Z (0.5 2.5 0) + 1 LINESTRING Z (1 1 1, 0 1 3, 1 0 2) + 2 POLYGON Z ((0 0 0, 0 10 0, 10 10 0, 0 0 0)) + dtype: geometry + + >>> s.force_2d() + 0 POINT (0.5 2.5) + 1 LINESTRING (1 1, 0 1, 1 0) + 2 POLYGON ((0 0, 0 10, 10 10, 0 0)) + dtype: geometry + """ + return _delegate_geo_method("force_2d", self) + + def force_3d(self, z=0): + """Forces the dimensionality of a geometry to 3D. + + 2D geometries will get the provided Z coordinate; 3D geometries + are unchanged (unless their Z coordinate is ``np.nan``). + + Note that for empty geometries, 3D is only supported since GEOS 3.9 and then + still only for simple geometries (non-collections). + + Parameters + ---------- + z : float | array_like (default 0) + Z coordinate to be assigned + + Returns + ------- + GeoSeries + + Examples + -------- + >>> from shapely import Polygon, LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... Point(1, 2), + ... Point(0.5, 2.5, 2), + ... LineString([(1, 1), (0, 1), (1, 0)]), + ... Polygon([(0, 0), (0, 10), (10, 10)]), + ... ], + ... ) + >>> s + 0 POINT (1 2) + 1 POINT Z (0.5 2.5 2) + 2 LINESTRING (1 1, 0 1, 1 0) + 3 POLYGON ((0 0, 0 10, 10 10, 0 0)) + dtype: geometry + + >>> s.force_3d() + 0 POINT Z (1 2 0) + 1 POINT Z (0.5 2.5 2) + 2 LINESTRING Z (1 1 0, 0 1 0, 1 0 0) + 3 POLYGON Z ((0 0 0, 0 10 0, 10 10 0, 0 0 0)) + dtype: geometry + + Z coordinate can be specified as scalar: + + >>> s.force_3d(4) + 0 POINT Z (1 2 4) + 1 POINT Z (0.5 2.5 2) + 2 LINESTRING Z (1 1 4, 0 1 4, 1 0 4) + 3 POLYGON Z ((0 0 4, 0 10 4, 10 10 4, 0 0 4)) + dtype: geometry + + Or as an array-like (one value per geometry): + + >>> s.force_3d(range(4)) + 0 POINT Z (1 2 0) + 1 POINT Z (0.5 2.5 2) + 2 LINESTRING Z (1 1 2, 0 1 2, 1 0 2) + 3 POLYGON Z ((0 0 3, 0 10 3, 10 10 3, 0 0 3)) + dtype: geometry + """ + return _delegate_geo_method("force_3d", self, z=z) + + def line_merge(self, directed=False): + """Returns (Multi)LineStrings formed by combining the lines in a + MultiLineString. + + Lines are joined together at their endpoints in case two lines are intersecting. + Lines are not joined when 3 or more lines are intersecting at the endpoints. + Line elements that cannot be joined are kept as is in the resulting + MultiLineString. + + The direction of each merged LineString will be that of the majority of the + LineStrings from which it was derived. Except if ``directed=True`` is specified, + then the operation will not change the order of points within lines and so only + lines which can be joined with no change in direction are merged. + + Non-linear geometeries result in an empty GeometryCollection. + + Parameters + ---------- + directed : bool, default False + Only combine lines if possible without changing point order. + Requires GEOS >= 3.11.0 + + Returns + ------- + GeoSeries + + Examples + -------- + >>> from shapely.geometry import MultiLineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... MultiLineString([[(0, 2), (0, 10)], [(0, 10), (5, 10)]]), + ... MultiLineString([[(0, 2), (0, 10)], [(0, 11), (5, 10)]]), + ... MultiLineString(), + ... MultiLineString([[(0, 0), (1, 0)], [(0, 0), (3, 0)]]), + ... Point(0, 0), + ... ] + ... ) + >>> s + 0 MULTILINESTRING ((0 2, 0 10), (0 10, 5 10)) + 1 MULTILINESTRING ((0 2, 0 10), (0 11, 5 10)) + 2 MULTILINESTRING EMPTY + 3 MULTILINESTRING ((0 0, 1 0), (0 0, 3 0)) + 4 POINT (0 0) + dtype: geometry + + >>> s.line_merge() + 0 LINESTRING (0 2, 0 10, 5 10) + 1 MULTILINESTRING ((0 2, 0 10), (0 11, 5 10)) + 2 GEOMETRYCOLLECTION EMPTY + 3 LINESTRING (1 0, 0 0, 3 0) + 4 GEOMETRYCOLLECTION EMPTY + dtype: geometry + + With ``directed=True``, you can avoid changing the order of points within lines + and merge only lines where no change of direction is required: + + >>> s.line_merge(directed=True) + 0 LINESTRING (0 2, 0 10, 5 10) + 1 MULTILINESTRING ((0 2, 0 10), (0 11, 5 10)) + 2 GEOMETRYCOLLECTION EMPTY + 3 MULTILINESTRING ((0 0, 1 0), (0 0, 3 0)) + 4 GEOMETRYCOLLECTION EMPTY + dtype: geometry + """ + return _delegate_geo_method("line_merge", self, directed=directed) # # Reduction operations that return a Shapely geometry # - @property - def cascaded_union(self): - """Deprecated: use `unary_union` instead""" - warn( - "The 'cascaded_union' attribute is deprecated, use 'unary_union' instead", - FutureWarning, - stacklevel=2, - ) - return self.geometry.values.unary_union() - @property def unary_union(self): """Returns a geometry containing the union of all geometries in the ``GeoSeries``. + The ``unary_union`` attribute is deprecated. Use :meth:`union_all` + instead. + Examples -------- >>> from shapely.geometry import box >>> s = geopandas.GeoSeries([box(0,0,1,1), box(0,0,2,2)]) >>> s - 0 POLYGON ((1.00000 0.00000, 1.00000 1.00000, 0.... - 1 POLYGON ((2.00000 0.00000, 2.00000 2.00000, 0.... + 0 POLYGON ((1 0, 1 1, 0 1, 0 0, 1 0)) + 1 POLYGON ((2 0, 2 2, 0 2, 0 0, 2 0)) dtype: geometry >>> union = s.unary_union >>> print(union) POLYGON ((0 1, 0 2, 2 2, 2 0, 1 0, 0 0, 0 1)) + + See also + -------- + GeoSeries.union_all """ - return self.geometry.values.unary_union() + + warn( + "The 'unary_union' attribute is deprecated, " + "use the 'union_all()' method instead.", + DeprecationWarning, + stacklevel=2, + ) + + return self.geometry.values.union_all() + + def union_all(self, method="unary"): + """Returns a geometry containing the union of all geometries in the + ``GeoSeries``. + + By default, the unary union algorithm is used. If the geometries are + non-overlapping (forming a coverage), GeoPandas can use a significantly faster + algorithm to perform the union using the ``method="coverage"`` option. + + Parameters + ---------- + method : str (default ``"unary"``) + The method to use for the union. Options are: + + * ``"unary"``: use the unary union algorithm. This option is the most robust + but can be slow for large numbers of geometries (default). + * ``"coverage"``: use the coverage union algorithm. This option is optimized + for non-overlapping polygons and can be significantly faster than the + unary union algorithm. However, it can produce invalid geometries if the + polygons overlap. + + Examples + -------- + + >>> from shapely.geometry import box + >>> s = geopandas.GeoSeries([box(0, 0, 1, 1), box(0, 0, 2, 2)]) + >>> s + 0 POLYGON ((1 0, 1 1, 0 1, 0 0, 1 0)) + 1 POLYGON ((2 0, 2 2, 0 2, 0 0, 2 0)) + dtype: geometry + + >>> s.union_all() + + """ + return self.geometry.values.union_all(method=method) + + def intersection_all(self): + """Returns a geometry containing the intersection of all geometries in + the ``GeoSeries``. + + This method ignores None values when other geometries are present. + If all elements of the GeoSeries are None, an empty GeometryCollection is + returned. + + Examples + -------- + + >>> from shapely.geometry import box + >>> s = geopandas.GeoSeries( + ... [box(0, 0, 2, 2), box(1, 1, 3, 3), box(0, 0, 1.5, 1.5)] + ... ) + >>> s + 0 POLYGON ((2 0, 2 2, 0 2, 0 0, 2 0)) + 1 POLYGON ((3 1, 3 3, 1 3, 1 1, 3 1)) + 2 POLYGON ((1.5 0, 1.5 1.5, 0 1.5, 0 0, 1.5 0)) + dtype: geometry + + >>> s.intersection_all() + + """ + return self.geometry.values.intersection_all() # # Binary operations that return a pandas Series # - def contains(self, other, align=True): + def contains(self, other, align=None): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for each aligned geometry that contains `other`. An object is said to contain `other` if at least one point of `other` lies in the interior and no points of `other` lie in the exterior of the object. - (Therefore, any given polygon does not contain its own boundary – there is not + (Therefore, any given polygon does not contain its own boundary - there is not any point that lies in the interior.) If either object is empty, this operation returns ``False``. @@ -1245,9 +2204,9 @@ GeometryCollection other : GeoSeries or geometric object The GeoSeries (elementwise) or geometric object to test if it is contained. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -1276,17 +2235,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 0.00000 2.00000) - 2 LINESTRING (0.00000 0.00000, 0.00000 1.00000) - 3 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 0 2) + 2 LINESTRING (0 0, 0 1) + 3 POINT (0 1) dtype: geometry >>> s2 - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 POLYGON ((0.00000 0.00000, 1.00000 2.00000, 0.... - 3 LINESTRING (0.00000 0.00000, 0.00000 2.00000) - 4 POINT (0.00000 1.00000) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 POLYGON ((0 0, 1 2, 0 2, 0 0)) + 3 LINESTRING (0 0, 0 2) + 4 POINT (0 1) dtype: geometry We can check if each geometry of GeoSeries contains a single @@ -1333,11 +2292,244 @@ GeometryCollection See also -------- + GeoSeries.contains_properly GeoSeries.within """ return _binary_op("contains", self, other, align) - def geom_equals(self, other, align=True): + def contains_properly(self, other, align=None): + """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for + each aligned geometry that is completely inside ``other``, with no common + boundary points. + + Geometry A contains geometry B properly if B intersects the interior of A but + not the boundary (or exterior). This means that a geometry A does not “contain + properly†itself, which contrasts with the :meth:`~GeoSeries.contains` method, + where common points on the boundary are allowed. + + The operation works on a 1-to-1 row-wise manner: + + .. image:: ../../../_static/binary_op-01.svg + :align: center + + Parameters + ---------- + other : GeoSeries or geometric object + The GeoSeries (elementwise) or geometric object to test if it + is contained. + align : bool | None (default None) + If True, automatically aligns GeoSeries based on their indices. + If False, the order of elements is preserved. None defaults to True. + + Returns + ------- + Series (bool) + + Examples + -------- + >>> from shapely.geometry import Polygon, LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... Polygon([(0, 0), (1, 1), (0, 1)]), + ... LineString([(0, 0), (0, 2)]), + ... LineString([(0, 0), (0, 1)]), + ... Point(0, 1), + ... ], + ... index=range(0, 4), + ... ) + >>> s2 = geopandas.GeoSeries( + ... [ + ... Polygon([(0, 0), (2, 2), (0, 2)]), + ... Polygon([(0, 0), (1, 2), (0, 2)]), + ... LineString([(0, 0), (0, 2)]), + ... Point(0, 1), + ... ], + ... index=range(1, 5), + ... ) + + >>> s + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 0 2) + 2 LINESTRING (0 0, 0 1) + 3 POINT (0 1) + dtype: geometry + + >>> s2 + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 POLYGON ((0 0, 1 2, 0 2, 0 0)) + 3 LINESTRING (0 0, 0 2) + 4 POINT (0 1) + dtype: geometry + + We can check if each geometry of GeoSeries contains a single + geometry: + + .. image:: ../../../_static/binary_op-03.svg + :align: center + + >>> point = Point(0, 1) + >>> s.contains_properly(point) + 0 False + 1 True + 2 False + 3 True + dtype: bool + + We can also check two GeoSeries against each other, row by row. + The GeoSeries above have different indices. We can either align both GeoSeries + based on index values and compare elements with the same index using + ``align=True`` or ignore index and compare elements based on their matching + order using ``align=False``: + + .. image:: ../../../_static/binary_op-02.svg + + >>> s2.contains_properly(s, align=True) + 0 False + 1 False + 2 False + 3 True + 4 False + dtype: bool + + >>> s2.contains_properly(s, align=False) + 1 False + 2 False + 3 False + 4 True + dtype: bool + + Compare it to the result of :meth:`~GeoSeries.contains`: + + >>> s2.contains(s, align=False) + 1 True + 2 False + 3 True + 4 True + dtype: bool + + Notes + ----- + This method works in a row-wise manner. It does not check if an element + of one GeoSeries ``contains_properly`` *any* element of the other one. + + See also + -------- + GeoSeries.contains + """ + return _binary_op("contains_properly", self, other, align) + + def dwithin(self, other, distance, align=None): + """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for + each aligned geometry that is within a set distance from ``other``. + + The operation works on a 1-to-1 row-wise manner: + + .. image:: ../../../_static/binary_op-01.svg + :align: center + + Parameters + ---------- + other : GeoSeries or geometric object + The GeoSeries (elementwise) or geometric object to test for + equality. + distance : float, np.array, pd.Series + Distance(s) to test if each geometry is within. A scalar distance will be + applied to all geometries. An array or Series will be applied elementwise. + If np.array or pd.Series are used then it must have same length as the + GeoSeries. + align : bool | None (default None) + If True, automatically aligns GeoSeries based on their indices. + If False, the order of elements is preserved. None defaults to True. + + Returns + ------- + Series (bool) + + Examples + -------- + >>> from shapely.geometry import Polygon, LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... Polygon([(0, 0), (1, 1), (0, 1)]), + ... LineString([(0, 0), (0, 2)]), + ... LineString([(0, 0), (0, 1)]), + ... Point(0, 1), + ... ], + ... index=range(0, 4), + ... ) + >>> s2 = geopandas.GeoSeries( + ... [ + ... Polygon([(1, 0), (4, 2), (2, 2)]), + ... Polygon([(2, 0), (3, 2), (2, 2)]), + ... LineString([(2, 0), (2, 2)]), + ... Point(1, 1), + ... ], + ... index=range(1, 5), + ... ) + + >>> s + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 LINESTRING (0 0, 0 2) + 2 LINESTRING (0 0, 0 1) + 3 POINT (0 1) + dtype: geometry + + >>> s2 + 1 POLYGON ((1 0, 4 2, 2 2, 1 0)) + 2 POLYGON ((2 0, 3 2, 2 2, 2 0)) + 3 LINESTRING (2 0, 2 2) + 4 POINT (1 1) + dtype: geometry + + We can check if each geometry of GeoSeries contains a single + geometry: + + .. image:: ../../../_static/binary_op-03.svg + :align: center + + >>> point = Point(0, 1) + >>> s2.dwithin(point, 1.8) + 1 True + 2 False + 3 False + 4 True + dtype: bool + + We can also check two GeoSeries against each other, row by row. + The GeoSeries above have different indices. We can either align both GeoSeries + based on index values and compare elements with the same index using + ``align=True`` or ignore index and compare elements based on their matching + order using ``align=False``: + + .. image:: ../../../_static/binary_op-02.svg + + >>> s.dwithin(s2, distance=1, align=True) + 0 False + 1 True + 2 False + 3 False + 4 False + dtype: bool + + >>> s.dwithin(s2, distance=1, align=False) + 0 True + 1 False + 2 False + 3 True + dtype: bool + + Notes + ----- + This method works in a row-wise manner. It does not check if an element + of one GeoSeries is within the set distance of *any* element of the other one. + + See also + -------- + GeoSeries.within + """ + return _binary_op("dwithin", self, other, distance=distance, align=align) + + def geom_equals(self, other, align=None): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for each aligned geometry equal to `other`. @@ -1355,9 +2547,9 @@ GeometryCollection other : GeoSeries or geometric object The GeoSeries (elementwise) or geometric object to test for equality. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -1385,17 +2577,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 1.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 0.00000 2.00000) - 3 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 1 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 0 2) + 3 POINT (0 1) dtype: geometry >>> s2 - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 POLYGON ((0.00000 0.00000, 1.00000 2.00000, 0.... - 3 POINT (0.00000 1.00000) - 4 LINESTRING (0.00000 0.00000, 0.00000 2.00000) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 POLYGON ((0 0, 1 2, 0 2, 0 0)) + 3 POINT (0 1) + 4 LINESTRING (0 0, 0 2) dtype: geometry We can check if each geometry of GeoSeries contains a single @@ -1447,7 +2639,7 @@ GeometryCollection """ return _binary_op("geom_equals", self, other, align) - def geom_almost_equals(self, other, decimal=6, align=True): + def geom_almost_equals(self, other, decimal=6, align=None): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` if each aligned geometry is approximately equal to `other`. @@ -1465,9 +2657,9 @@ GeometryCollection The GeoSeries (elementwise) or geometric object to compare to. decimal : int Decimal place precision used when testing for approximate equality. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -1483,11 +2675,10 @@ GeometryCollection ... Point(0, 1.001), ... ], ... ) - >>> s - 0 POINT (0.00000 1.10000) - 1 POINT (0.00000 1.01000) - 2 POINT (0.00000 1.00100) + 0 POINT (0 1.1) + 1 POINT (0 1.01) + 2 POINT (0 1.001) dtype: geometry @@ -1525,7 +2716,7 @@ GeometryCollection "geom_equals_exact", self, other, tolerance=tolerance, align=align ) - def geom_equals_exact(self, other, tolerance, align=True): + def geom_equals_exact(self, other, tolerance, align=None): """Return True for all geometries that equal aligned *other* to a given tolerance, else False. @@ -1540,9 +2731,9 @@ GeometryCollection The GeoSeries (elementwise) or geometric object to compare to. tolerance : float Decimal place precision used when testing for approximate equality. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -1558,11 +2749,10 @@ GeometryCollection ... Point(0, 1.2), ... ] ... ) - >>> s - 0 POINT (0.00000 1.10000) - 1 POINT (0.00000 1.00000) - 2 POINT (0.00000 1.20000) + 0 POINT (0 1.1) + 1 POINT (0 1) + 2 POINT (0 1.2) dtype: geometry @@ -1591,7 +2781,7 @@ GeometryCollection "geom_equals_exact", self, other, tolerance=tolerance, align=align ) - def crosses(self, other, align=True): + def crosses(self, other, align=None): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for each aligned geometry that cross `other`. @@ -1609,9 +2799,9 @@ GeometryCollection other : GeoSeries or geometric object The GeoSeries (elementwise) or geometric object to test if is crossed. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -1639,17 +2829,16 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 2 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 3 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 LINESTRING (0 0, 2 2) + 2 LINESTRING (2 0, 0 2) + 3 POINT (0 1) dtype: geometry - >>> s2 - 1 LINESTRING (1.00000 0.00000, 1.00000 3.00000) - 2 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 3 POINT (1.00000 1.00000) - 4 POINT (0.00000 1.00000) + 1 LINESTRING (1 0, 1 3) + 2 LINESTRING (2 0, 0 2) + 3 POINT (1 1) + 4 POINT (0 1) dtype: geometry We can check if each geometry of GeoSeries crosses a single @@ -1704,7 +2893,7 @@ GeometryCollection """ return _binary_op("crosses", self, other, align) - def disjoint(self, other, align=True): + def disjoint(self, other, align=None): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for each aligned geometry disjoint to `other`. @@ -1721,9 +2910,9 @@ GeometryCollection other : GeoSeries or geometric object The GeoSeries (elementwise) or geometric object to test if is disjoint. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -1750,17 +2939,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 2 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 3 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 LINESTRING (0 0, 2 2) + 2 LINESTRING (2 0, 0 2) + 3 POINT (0 1) dtype: geometry >>> s2 - 0 POLYGON ((-1.00000 0.00000, -1.00000 2.00000, ... - 1 LINESTRING (0.00000 0.00000, 0.00000 1.00000) - 2 POINT (1.00000 1.00000) - 3 POINT (0.00000 0.00000) + 0 POLYGON ((-1 0, -1 2, 0 -2, -1 0)) + 1 LINESTRING (0 0, 0 1) + 2 POINT (1 1) + 3 POINT (0 0) dtype: geometry We can check each geometry of GeoSeries to a single @@ -1805,7 +2994,7 @@ GeometryCollection """ return _binary_op("disjoint", self, other, align) - def intersects(self, other, align=True): + def intersects(self, other, align=None): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for each aligned geometry that intersects `other`. @@ -1822,9 +3011,9 @@ GeometryCollection other : GeoSeries or geometric object The GeoSeries (elementwise) or geometric object to test if is intersected. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -1852,17 +3041,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 2 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 3 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 LINESTRING (0 0, 2 2) + 2 LINESTRING (2 0, 0 2) + 3 POINT (0 1) dtype: geometry >>> s2 - 1 LINESTRING (1.00000 0.00000, 1.00000 3.00000) - 2 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 3 POINT (1.00000 1.00000) - 4 POINT (0.00000 1.00000) + 1 LINESTRING (1 0, 1 3) + 2 LINESTRING (2 0, 0 2) + 3 POINT (1 1) + 4 POINT (0 1) dtype: geometry We can check if each geometry of GeoSeries crosses a single @@ -1916,7 +3105,7 @@ GeometryCollection """ return _binary_op("intersects", self, other, align) - def overlaps(self, other, align=True): + def overlaps(self, other, align=None): """Returns True for all aligned geometries that overlap *other*, else False. Geometries overlaps if they have more than one but not all @@ -1934,9 +3123,9 @@ GeometryCollection other : GeoSeries or geometric object The GeoSeries (elementwise) or geometric object to test if overlaps. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -1964,17 +3153,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 3 MULTIPOINT (0.00000 0.00000, 0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 MULTIPOINT ((0 0), (0 1)) dtype: geometry >>> s2 - 1 POLYGON ((0.00000 0.00000, 2.00000 0.00000, 0.... - 2 LINESTRING (0.00000 1.00000, 1.00000 1.00000) - 3 LINESTRING (1.00000 1.00000, 3.00000 3.00000) - 4 POINT (0.00000 1.00000) + 1 POLYGON ((0 0, 2 0, 0 2, 0 0)) + 2 LINESTRING (0 1, 1 1) + 3 LINESTRING (1 1, 3 3) + 4 POINT (0 1) dtype: geometry We can check if each geometry of GeoSeries overlaps a single @@ -2027,7 +3216,7 @@ GeometryCollection """ return _binary_op("overlaps", self, other, align) - def touches(self, other, align=True): + def touches(self, other, align=None): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for each aligned geometry that touches `other`. @@ -2045,9 +3234,9 @@ GeometryCollection other : GeoSeries or geometric object The GeoSeries (elementwise) or geometric object to test if is touched. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -2075,17 +3264,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 3 MULTIPOINT (0.00000 0.00000, 0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 MULTIPOINT ((0 0), (0 1)) dtype: geometry >>> s2 - 1 POLYGON ((0.00000 0.00000, -2.00000 0.00000, 0... - 2 LINESTRING (0.00000 1.00000, 1.00000 1.00000) - 3 LINESTRING (1.00000 1.00000, 3.00000 0.00000) - 4 POINT (0.00000 1.00000) + 1 POLYGON ((0 0, -2 0, 0 -2, 0 0)) + 2 LINESTRING (0 1, 1 1) + 3 LINESTRING (1 1, 3 0) + 4 POINT (0 1) dtype: geometry We can check if each geometry of GeoSeries touches a single @@ -2139,7 +3328,7 @@ GeometryCollection """ return _binary_op("touches", self, other, align) - def within(self, other, align=True): + def within(self, other, align=None): """Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for each aligned geometry that is within `other`. @@ -2161,9 +3350,9 @@ GeometryCollection other : GeoSeries or geometric object The GeoSeries (elementwise) or geometric object to test if each geometry is within. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -2192,17 +3381,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 1.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 0.00000 2.00000) - 3 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 1 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 0 2) + 3 POINT (0 1) dtype: geometry >>> s2 - 1 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 0.00000 2.00000) - 3 LINESTRING (0.00000 0.00000, 0.00000 1.00000) - 4 POINT (0.00000 1.00000) + 1 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 2 LINESTRING (0 0, 0 2) + 3 LINESTRING (0 0, 0 1) + 4 POINT (0 1) dtype: geometry We can check if each geometry of GeoSeries is within a single @@ -2253,7 +3442,7 @@ GeometryCollection """ return _binary_op("within", self, other, align) - def covers(self, other, align=True): + def covers(self, other, align=None): """ Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for each aligned geometry that is entirely covering `other`. @@ -2275,9 +3464,9 @@ GeometryCollection ---------- other : Geoseries or geometric object The Geoseries (elementwise) or geometric object to check is being covered. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -2305,17 +3494,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 0.00000, 2.... - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 3 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 2 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 POINT (0 0) dtype: geometry >>> s2 - 1 POLYGON ((0.50000 0.50000, 1.50000 0.50000, 1.... - 2 POLYGON ((0.00000 0.00000, 2.00000 0.00000, 2.... - 3 LINESTRING (1.00000 1.00000, 1.50000 1.50000) - 4 POINT (0.00000 0.00000) + 1 POLYGON ((0.5 0.5, 1.5 0.5, 1.5 1.5, 0.5 1.5, ... + 2 POLYGON ((0 0, 2 0, 2 2, 0 2, 0 0)) + 3 LINESTRING (1 1, 1.5 1.5) + 4 POINT (0 0) dtype: geometry We can check if each geometry of GeoSeries covers a single @@ -2367,7 +3556,7 @@ GeometryCollection """ return _binary_op("covers", self, other, align) - def covered_by(self, other, align=True): + def covered_by(self, other, align=None): """ Returns a ``Series`` of ``dtype('bool')`` with value ``True`` for each aligned geometry that is entirely covered by `other`. @@ -2388,9 +3577,9 @@ GeometryCollection ---------- other : Geoseries or geometric object The Geoseries (elementwise) or geometric object to check is being covered. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -2418,17 +3607,18 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.50000 0.50000, 1.50000 0.50000, 1.... - 1 POLYGON ((0.00000 0.00000, 2.00000 0.00000, 2.... - 2 LINESTRING (1.00000 1.00000, 1.50000 1.50000) - 3 POINT (0.00000 0.00000) + 0 POLYGON ((0.5 0.5, 1.5 0.5, 1.5 1.5, 0.5 1.5, ... + 1 POLYGON ((0 0, 2 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (1 1, 1.5 1.5) + 3 POINT (0 0) dtype: geometry + >>> >>> s2 - 1 POLYGON ((0.00000 0.00000, 2.00000 0.00000, 2.... - 2 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 3 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 4 POINT (0.00000 0.00000) + 1 POLYGON ((0 0, 2 0, 2 2, 0 2, 0 0)) + 2 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 3 LINESTRING (0 0, 2 2) + 4 POINT (0 0) dtype: geometry We can check if each geometry of GeoSeries is covered by a single @@ -2480,7 +3670,7 @@ GeometryCollection """ return _binary_op("covered_by", self, other, align) - def distance(self, other, align=True): + def distance(self, other, align=None): """Returns a ``Series`` containing the distance to aligned `other`. The operation works on a 1-to-1 row-wise manner: @@ -2493,9 +3683,9 @@ GeometryCollection other : Geoseries or geometric object The Geoseries (elementwise) or geometric object to find the distance to. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns @@ -2524,17 +3714,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 0.00000, 1.... - 1 POLYGON ((0.00000 0.00000, -1.00000 0.00000, -... - 2 LINESTRING (1.00000 1.00000, 0.00000 0.00000) - 3 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 0, 1 1, 0 0)) + 1 POLYGON ((0 0, -1 0, -1 1, 0 0)) + 2 LINESTRING (1 1, 0 0) + 3 POINT (0 0) dtype: geometry >>> s2 - 1 POLYGON ((0.50000 0.50000, 1.50000 0.50000, 1.... - 2 POINT (3.00000 1.00000) - 3 LINESTRING (1.00000 0.00000, 2.00000 0.00000) - 4 POINT (0.00000 1.00000) + 1 POLYGON ((0.5 0.5, 1.5 0.5, 1.5 1.5, 0.5 1.5, ... + 2 POINT (3 1) + 3 LINESTRING (1 0, 2 0) + 4 POINT (0 1) dtype: geometry We can check the distance of each geometry of GeoSeries to a single @@ -2576,7 +3766,7 @@ GeometryCollection """ return _binary_op("distance", self, other, align) - def hausdorff_distance(self, other, align=True, densify=None): + def hausdorff_distance(self, other, align=None, densify=None): """Returns a ``Series`` containing the Hausdorff distance to aligned `other`. The Hausdorff distance is the largest distance consisting of any point in `self` @@ -2592,9 +3782,9 @@ GeometryCollection other : GeoSeries or geometric object The Geoseries (elementwise) or geometric object to find the distance to. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. densify : float (default None) A value between 0 and 1, that splits each subsegment of a line string into equal length segments, making the approximation less coarse. @@ -2629,17 +3819,17 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 0.00000, 1.... - 1 POLYGON ((0.00000 0.00000, -1.00000 0.00000, -... - 2 LINESTRING (1.00000 1.00000, 0.00000 0.00000) - 3 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 0, 1 1, 0 0)) + 1 POLYGON ((0 0, -1 0, -1 1, 0 0)) + 2 LINESTRING (1 1, 0 0) + 3 POINT (0 0) dtype: geometry >>> s2 - 1 POLYGON ((0.50000 0.50000, 1.50000 0.50000, 1.... - 2 POINT (3.00000 1.00000) - 3 LINESTRING (1.00000 0.00000, 2.00000 0.00000) - 4 POINT (0.00000 1.00000) + 1 POLYGON ((0.5 0.5, 1.5 0.5, 1.5 1.5, 0.5 1.5, ... + 2 POINT (3 1) + 3 LINESTRING (1 0, 2 0) + 4 POINT (0 1) dtype: geometry We can check the hausdorff distance of each geometry of GeoSeries @@ -2691,7 +3881,7 @@ GeometryCollection """ return _binary_op("hausdorff_distance", self, other, align, densify=densify) - def frechet_distance(self, other, align=True, densify=None): + def frechet_distance(self, other, align=None, densify=None): """Returns a ``Series`` containing the Frechet distance to aligned `other`. The Fréchet distance is a measure of similarity: it is the greatest distance @@ -2714,9 +3904,9 @@ GeometryCollection other : GeoSeries or geometric object The Geoseries (elementwise) or geometric object to find the distance to. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. densify : float (default None) A value between 0 and 1, that splits each subsegment of a line string into equal length segments, making the approximation less coarse. @@ -2748,17 +3938,19 @@ GeometryCollection ... ], ... index=range(1, 5), ... ) + >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 0.00000, 1.... - 1 POLYGON ((0.00000 0.00000, -1.00000 0.00000, -... - 2 LINESTRING (1.00000 1.00000, 0.00000 0.00000) - 3 POINT (0.00000 0.00000) + 0 POLYGON ((0 0, 1 0, 1 1, 0 0)) + 1 POLYGON ((0 0, -1 0, -1 1, 0 0)) + 2 LINESTRING (1 1, 0 0) + 3 POINT (0 0) dtype: geometry + >>> s2 - 1 POLYGON ((0.50000 0.50000, 1.50000 0.50000, 1.... - 2 POINT (3.00000 1.00000) - 3 LINESTRING (1.00000 0.00000, 2.00000 0.00000) - 4 POINT (0.00000 1.00000) + 1 POLYGON ((0.5 0.5, 1.5 0.5, 1.5 1.5, 0.5 1.5, ... + 2 POINT (3 1) + 3 LINESTRING (1 0, 2 0) + 4 POINT (0 1) dtype: geometry We can check the frechet distance of each geometry of GeoSeries @@ -2813,7 +4005,7 @@ GeometryCollection # Binary operations that return a GeoSeries # - def difference(self, other, align=True): + def difference(self, other, align=None): """Returns a ``GeoSeries`` of the points in each aligned geometry that are not in `other`. @@ -2830,9 +4022,9 @@ GeometryCollection other : Geoseries or geometric object The Geoseries (elementwise) or geometric object to find the difference to. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -2862,19 +4054,19 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 LINESTRING (2 0, 0 2) + 4 POINT (0 1) dtype: geometry >>> s2 - 1 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 2 LINESTRING (1.00000 0.00000, 1.00000 3.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (1.00000 1.00000) - 5 POINT (0.00000 1.00000) + 1 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 2 LINESTRING (1 0, 1 3) + 3 LINESTRING (2 0, 0 2) + 4 POINT (1 1) + 5 POINT (0 1) dtype: geometry We can do difference of each geometry and a single @@ -2884,11 +4076,11 @@ GeometryCollection :align: center >>> s.difference(Polygon([(0, 0), (1, 1), (0, 1)])) - 0 POLYGON ((0.00000 2.00000, 2.00000 2.00000, 1.... - 1 POLYGON ((0.00000 2.00000, 2.00000 2.00000, 1.... - 2 LINESTRING (1.00000 1.00000, 2.00000 2.00000) - 3 MULTILINESTRING ((2.00000 0.00000, 1.00000 1.0... - 4 POINT EMPTY + 0 POLYGON ((0 2, 2 2, 1 1, 0 1, 0 2)) + 1 POLYGON ((0 2, 2 2, 1 1, 0 1, 0 2)) + 2 LINESTRING (1 1, 2 2) + 3 MULTILINESTRING ((2 0, 1 1), (1 1, 0 2)) + 4 POINT EMPTY dtype: geometry We can also check two GeoSeries against each other, row by row. @@ -2900,20 +4092,20 @@ GeometryCollection .. image:: ../../../_static/binary_op-02.svg >>> s.difference(s2, align=True) - 0 None - 1 POLYGON ((0.00000 2.00000, 2.00000 2.00000, 1.... - 2 MULTILINESTRING ((0.00000 0.00000, 1.00000 1.0... - 3 LINESTRING Z EMPTY - 4 POINT (0.00000 1.00000) - 5 None + 0 None + 1 POLYGON ((0 2, 2 2, 1 1, 0 1, 0 2)) + 2 MULTILINESTRING ((0 0, 1 1), (1 1, 2 2)) + 3 LINESTRING EMPTY + 4 POINT (0 1) + 5 None dtype: geometry >>> s.difference(s2, align=False) - 0 POLYGON ((0.00000 2.00000, 2.00000 2.00000, 1.... - 1 POLYGON ((0.00000 0.00000, 0.00000 2.00000, 1.... - 2 MULTILINESTRING ((0.00000 0.00000, 1.00000 1.0... - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT EMPTY + 0 POLYGON ((0 2, 2 2, 1 1, 0 1, 0 2)) + 1 POLYGON ((0 0, 0 2, 1 2, 2 2, 1 1, 0 0)) + 2 MULTILINESTRING ((0 0, 1 1), (1 1, 2 2)) + 3 LINESTRING (2 0, 0 2) + 4 POINT EMPTY dtype: geometry See Also @@ -2924,7 +4116,7 @@ GeometryCollection """ return _binary_geo("difference", self, other, align) - def symmetric_difference(self, other, align=True): + def symmetric_difference(self, other, align=None): """Returns a ``GeoSeries`` of the symmetric difference of points in each aligned geometry with `other`. @@ -2945,9 +4137,9 @@ GeometryCollection other : Geoseries or geometric object The Geoseries (elementwise) or geometric object to find the symmetric difference to. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -2977,19 +4169,19 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 LINESTRING (2 0, 0 2) + 4 POINT (0 1) dtype: geometry >>> s2 - 1 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 2 LINESTRING (1.00000 0.00000, 1.00000 3.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (1.00000 1.00000) - 5 POINT (0.00000 1.00000) + 1 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 2 LINESTRING (1 0, 1 3) + 3 LINESTRING (2 0, 0 2) + 4 POINT (1 1) + 5 POINT (0 1) dtype: geometry We can do symmetric difference of each geometry and a single @@ -2999,11 +4191,11 @@ GeometryCollection :align: center >>> s.symmetric_difference(Polygon([(0, 0), (1, 1), (0, 1)])) - 0 POLYGON ((0.00000 2.00000, 2.00000 2.00000, 1.... - 1 POLYGON ((0.00000 2.00000, 2.00000 2.00000, 1.... - 2 GEOMETRYCOLLECTION (POLYGON ((0.00000 0.00000,... - 3 GEOMETRYCOLLECTION (POLYGON ((0.00000 0.00000,... - 4 POLYGON ((0.00000 1.00000, 1.00000 1.00000, 0.... + 0 POLYGON ((0 2, 2 2, 1 1, 0 1, 0 2)) + 1 POLYGON ((0 2, 2 2, 1 1, 0 1, 0 2)) + 2 GEOMETRYCOLLECTION (POLYGON ((0 0, 0 1, 1 1, 0... + 3 GEOMETRYCOLLECTION (POLYGON ((0 0, 0 1, 1 1, 0... + 4 POLYGON ((0 1, 1 1, 0 0, 0 1)) dtype: geometry We can also check two GeoSeries against each other, row by row. @@ -3016,18 +4208,18 @@ GeometryCollection >>> s.symmetric_difference(s2, align=True) 0 None - 1 POLYGON ((0.00000 2.00000, 2.00000 2.00000, 1.... - 2 MULTILINESTRING ((0.00000 0.00000, 1.00000 1.0... - 3 LINESTRING Z EMPTY - 4 MULTIPOINT (0.00000 1.00000, 1.00000 1.00000) + 1 POLYGON ((0 2, 2 2, 1 1, 0 1, 0 2)) + 2 MULTILINESTRING ((0 0, 1 1), (1 1, 2 2), (1 0,... + 3 LINESTRING EMPTY + 4 MULTIPOINT ((0 1), (1 1)) 5 None dtype: geometry >>> s.symmetric_difference(s2, align=False) - 0 POLYGON ((0.00000 2.00000, 2.00000 2.00000, 1.... - 1 GEOMETRYCOLLECTION (POLYGON ((0.00000 0.00000,... - 2 MULTILINESTRING ((0.00000 0.00000, 1.00000 1.0... - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) + 0 POLYGON ((0 2, 2 2, 1 1, 0 1, 0 2)) + 1 GEOMETRYCOLLECTION (POLYGON ((0 0, 0 2, 1 2, 2... + 2 MULTILINESTRING ((0 0, 1 1), (1 1, 2 2), (2 0,... + 3 LINESTRING (2 0, 0 2) 4 POINT EMPTY dtype: geometry @@ -3039,7 +4231,7 @@ GeometryCollection """ return _binary_geo("symmetric_difference", self, other, align) - def union(self, other, align=True): + def union(self, other, align=None): """Returns a ``GeoSeries`` of the union of points in each aligned geometry with `other`. @@ -3057,9 +4249,9 @@ GeometryCollection other : Geoseries or geometric object The Geoseries (elementwise) or geometric object to find the union with. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -3089,19 +4281,20 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 LINESTRING (2 0, 0 2) + 4 POINT (0 1) dtype: geometry + >>> >>> s2 - 1 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 2 LINESTRING (1.00000 0.00000, 1.00000 3.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (1.00000 1.00000) - 5 POINT (0.00000 1.00000) + 1 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 2 LINESTRING (1 0, 1 3) + 3 LINESTRING (2 0, 0 2) + 4 POINT (1 1) + 5 POINT (0 1) dtype: geometry We can do union of each geometry and a single @@ -3111,11 +4304,11 @@ GeometryCollection :align: center >>> s.union(Polygon([(0, 0), (1, 1), (0, 1)])) - 0 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 0.... - 2 GEOMETRYCOLLECTION (POLYGON ((0.00000 0.00000,... - 3 GEOMETRYCOLLECTION (POLYGON ((0.00000 0.00000,... - 4 POLYGON ((0.00000 1.00000, 1.00000 1.00000, 0.... + 0 POLYGON ((0 0, 0 1, 0 2, 2 2, 1 1, 0 0)) + 1 POLYGON ((0 0, 0 1, 0 2, 2 2, 1 1, 0 0)) + 2 GEOMETRYCOLLECTION (POLYGON ((0 0, 0 1, 1 1, 0... + 3 GEOMETRYCOLLECTION (POLYGON ((0 0, 0 1, 1 1, 0... + 4 POLYGON ((0 1, 1 1, 0 0, 0 1)) dtype: geometry We can also check two GeoSeries against each other, row by row. @@ -3128,19 +4321,19 @@ GeometryCollection >>> s.union(s2, align=True) 0 None - 1 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 0.... - 2 MULTILINESTRING ((0.00000 0.00000, 1.00000 1.0... - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 MULTIPOINT (0.00000 1.00000, 1.00000 1.00000) + 1 POLYGON ((0 0, 0 1, 0 2, 2 2, 1 1, 0 0)) + 2 MULTILINESTRING ((0 0, 1 1), (1 1, 2 2), (1 0,... + 3 LINESTRING (2 0, 0 2) + 4 MULTIPOINT ((0 1), (1 1)) 5 None dtype: geometry >>> s.union(s2, align=False) - 0 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 0.... - 1 GEOMETRYCOLLECTION (POLYGON ((0.00000 0.00000,... - 2 MULTILINESTRING ((0.00000 0.00000, 1.00000 1.0... - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 0 1, 0 2, 2 2, 1 1, 0 0)) + 1 GEOMETRYCOLLECTION (POLYGON ((0 0, 0 2, 1 2, 2... + 2 MULTILINESTRING ((0 0, 1 1), (1 1, 2 2), (2 0,... + 3 LINESTRING (2 0, 0 2) + 4 POINT (0 1) dtype: geometry @@ -3152,7 +4345,7 @@ GeometryCollection """ return _binary_geo("union", self, other, align) - def intersection(self, other, align=True): + def intersection(self, other, align=None): """Returns a ``GeoSeries`` of the intersection of points in each aligned geometry with `other`. @@ -3170,9 +4363,9 @@ GeometryCollection other : Geoseries or geometric object The Geoseries (elementwise) or geometric object to find the intersection with. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -3202,19 +4395,19 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 LINESTRING (2 0, 0 2) + 4 POINT (0 1) dtype: geometry >>> s2 - 1 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 2 LINESTRING (1.00000 0.00000, 1.00000 3.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (1.00000 1.00000) - 5 POINT (0.00000 1.00000) + 1 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 2 LINESTRING (1 0, 1 3) + 3 LINESTRING (2 0, 0 2) + 4 POINT (1 1) + 5 POINT (0 1) dtype: geometry We can also do intersection of each geometry and a single @@ -3224,11 +4417,11 @@ GeometryCollection :align: center >>> s.intersection(Polygon([(0, 0), (1, 1), (0, 1)])) - 0 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 1.... - 1 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 1.... - 2 LINESTRING (0.00000 0.00000, 1.00000 1.00000) - 3 POINT (1.00000 1.00000) - 4 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 1 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 2 LINESTRING (0 0, 1 1) + 3 POINT (1 1) + 4 POINT (0 1) dtype: geometry We can also check two GeoSeries against each other, row by row. @@ -3240,20 +4433,20 @@ GeometryCollection .. image:: ../../../_static/binary_op-02.svg >>> s.intersection(s2, align=True) - 0 None - 1 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 1.... - 2 POINT (1.00000 1.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT EMPTY - 5 None + 0 None + 1 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 2 POINT (1 1) + 3 LINESTRING (2 0, 0 2) + 4 POINT EMPTY + 5 None dtype: geometry >>> s.intersection(s2, align=False) - 0 POLYGON ((0.00000 0.00000, 0.00000 1.00000, 1.... - 1 LINESTRING (1.00000 1.00000, 1.00000 2.00000) - 2 POINT (1.00000 1.00000) - 3 POINT (1.00000 1.00000) - 4 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 1 LINESTRING (1 1, 1 2) + 2 POINT (1 1) + 3 POINT (1 1) + 4 POINT (0 1) dtype: geometry @@ -3306,22 +4499,22 @@ GeometryCollection ... LineString([(2, 0), (0, 2)]), ... Point(0, 1), ... ], - ... crs=3857, ... ) >>> bounds = (0, 0, 1, 1) >>> s - 0 POLYGON ((0.000 0.000, 2.000 2.000, 0.000 2.00... - 1 POLYGON ((0.000 0.000, 2.000 2.000, 0.000 2.00... - 2 LINESTRING (0.000 0.000, 2.000 2.000) - 3 LINESTRING (2.000 0.000, 0.000 2.000) - 4 POINT (0.000 1.000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 LINESTRING (2 0, 0 2) + 4 POINT (0 1) dtype: geometry + >>> s.clip_by_rect(*bounds) - 0 POLYGON ((0.000 0.000, 0.000 1.000, 1.000 1.00... - 1 POLYGON ((0.000 0.000, 0.000 1.000, 1.000 1.00... - 2 LINESTRING (0.000 0.000, 1.000 1.000) - 3 GEOMETRYCOLLECTION EMPTY - 4 GEOMETRYCOLLECTION EMPTY + 0 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 1 POLYGON ((0 0, 0 1, 1 1, 0 0)) + 2 LINESTRING (0 0, 1 1) + 3 GEOMETRYCOLLECTION EMPTY + 4 GEOMETRYCOLLECTION EMPTY dtype: geometry See also @@ -3334,7 +4527,7 @@ GeometryCollection clipped_geometry = geometry_array.clip_by_rect(xmin, ymin, xmax, ymax) return GeoSeries(clipped_geometry, index=self.index, crs=self.crs) - def shortest_line(self, other, align=True): + def shortest_line(self, other, align=None): """ Returns the shortest two-point line between two geometries. @@ -3348,16 +4541,16 @@ GeometryCollection The operation works on a 1-to-1 row-wise manner: .. image:: ../../../_static/binary_op-01.svg - :align: center + :align: center Parameters ---------- other : Geoseries or geometric object The Geoseries (elementwise) or geometric object to find the shortest line with. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -3374,14 +4567,13 @@ GeometryCollection ... LineString([(2, 0), (0, 2)]), ... Point(0, 1), ... ], - ... crs=5514 ... ) >>> s - 0 POLYGON ((0.000 0.000, 2.000 2.000, 0.000 2.00... - 1 POLYGON ((0.000 0.000, 2.000 2.000, 0.000 2.00... - 2 LINESTRING (0.000 0.000, 2.000 2.000) - 3 LINESTRING (2.000 0.000, 0.000 2.000) - 4 POINT (0.000 1.000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 LINESTRING (2 0, 0 2) + 4 POINT (0 1) dtype: geometry We can also do intersection of each geometry and a single @@ -3392,11 +4584,11 @@ GeometryCollection >>> p = Point(3, 3) >>> s.shortest_line(p) - 0 LINESTRING (2.000 2.000, 3.000 3.000) - 1 LINESTRING (2.000 2.000, 3.000 3.000) - 2 LINESTRING (2.000 2.000, 3.000 3.000) - 3 LINESTRING (1.000 1.000, 3.000 3.000) - 4 LINESTRING (0.000 1.000, 3.000 3.000) + 0 LINESTRING (2 2, 3 3) + 1 LINESTRING (2 2, 3 3) + 2 LINESTRING (2 2, 3 3) + 3 LINESTRING (1 1, 3 3) + 4 LINESTRING (0 1, 3 3) dtype: geometry We can also check two GeoSeries against each other, row by row. @@ -3416,27 +4608,228 @@ GeometryCollection ... Point(0, 1), ... ], ... index=range(1, 6), - ... crs=5514, ... ) + >>> s.shortest_line(s2, align=True) - 0 None - 1 LINESTRING (0.500 0.500, 0.500 0.500) - 2 LINESTRING (2.000 2.000, 3.000 1.000) - 3 LINESTRING (2.000 0.000, 2.000 0.000) - 4 LINESTRING (0.000 1.000, 10.000 15.000) - 5 None + 0 None + 1 LINESTRING (0.5 0.5, 0.5 0.5) + 2 LINESTRING (2 2, 3 1) + 3 LINESTRING (2 0, 2 0) + 4 LINESTRING (0 1, 10 15) + 5 None dtype: geometry + >>> >>> s.shortest_line(s2, align=False) - 0 LINESTRING (0.500 0.500, 0.500 0.500) - 1 LINESTRING (2.000 2.000, 3.000 1.000) - 2 LINESTRING (0.500 0.500, 1.000 0.000) - 3 LINESTRING (0.000 2.000, 10.000 15.000) - 4 LINESTRING (0.000 1.000, 0.000 1.000) + 0 LINESTRING (0.5 0.5, 0.5 0.5) + 1 LINESTRING (2 2, 3 1) + 2 LINESTRING (0.5 0.5, 1 0) + 3 LINESTRING (0 2, 10 15) + 4 LINESTRING (0 1, 0 1) dtype: geometry """ return _binary_geo("shortest_line", self, other, align) + def snap(self, other, tolerance, align=None): + """Snaps an input geometry to reference geometry's vertices. + + Vertices of the first geometry are snapped to vertices of the second. geometry, + returning a new geometry; the input geometries are not modified. The result + geometry is the input geometry with the vertices snapped. If no snapping occurs + then the input geometry is returned unchanged. The tolerance is used to control + where snapping is performed. + + Where possible, this operation tries to avoid creating invalid geometries; + however, it does not guarantee that output geometries will be valid. It is the + responsibility of the caller to check for and handle invalid geometries. + + Because too much snapping can result in invalid geometries being created, + heuristics are used to determine the number and location of snapped vertices + that are likely safe to snap. These heuristics may omit some potential snaps + that are otherwise within the tolerance. + + The operation works in a 1-to-1 row-wise manner: + + .. image:: ../../../_static/binary_op-01.svg + :align: center + + Parameters + ---------- + other : GeoSeries or geometric object + The Geoseries (elementwise) or geometric object to snap to. + tolerance : float or array like + Maximum distance between vertices that shall be snapped + align : bool | None (default None) + If True, automatically aligns GeoSeries based on their indices. + If False, the order of elements is preserved. None defaults to True. + + Returns + ------- + GeoSeries + + Examples + -------- + >>> from shapely import Polygon, LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... Point(0.5, 2.5), + ... LineString([(0.1, 0.1), (0.49, 0.51), (1.01, 0.89)]), + ... Polygon([(0, 0), (0, 10), (10, 10), (10, 0), (0, 0)]), + ... ], + ... ) + >>> s + 0 POINT (0.5 2.5) + 1 LINESTRING (0.1 0.1, 0.49 0.51, 1.01 0.89) + 2 POLYGON ((0 0, 0 10, 10 10, 10 0, 0 0)) + dtype: geometry + + >>> s2 = geopandas.GeoSeries( + ... [ + ... Point(0, 2), + ... LineString([(0, 0), (0.5, 0.5), (1.0, 1.0)]), + ... Point(8, 10), + ... ], + ... index=range(1, 4), + ... ) + >>> s2 + 1 POINT (0 2) + 2 LINESTRING (0 0, 0.5 0.5, 1 1) + 3 POINT (8 10) + dtype: geometry + + We can snap each geometry to a single shapely geometry: + + .. image:: ../../../_static/binary_op-03.svg + :align: center + + >>> s.snap(Point(0, 2), tolerance=1) + 0 POINT (0 2) + 1 LINESTRING (0.1 0.1, 0.49 0.51, 1.01 0.89) + 2 POLYGON ((0 0, 0 2, 0 10, 10 10, 10 0, 0 0)) + dtype: geometry + + We can also snap two GeoSeries to each other, row by row. + The GeoSeries above have different indices. We can either align both GeoSeries + based on index values and snap elements with the same index using + ``align=True`` or ignore index and snap elements based on their matching + order using ``align=False``: + + .. image:: ../../../_static/binary_op-02.svg + + >>> s.snap(s2, tolerance=1, align=True) + 0 None + 1 LINESTRING (0.1 0.1, 0.49 0.51, 1.01 0.89) + 2 POLYGON ((0.5 0.5, 1 1, 0 10, 10 10, 10 0, 0.5... + 3 None + dtype: geometry + + >>> s.snap(s2, tolerance=1, align=False) + 0 POINT (0 2) + 1 LINESTRING (0 0, 0.5 0.5, 1 1) + 2 POLYGON ((0 0, 0 10, 8 10, 10 10, 10 0, 0 0)) + dtype: geometry + """ + return _binary_geo("snap", self, other, align, tolerance=tolerance) + + def shared_paths(self, other, align=None): + """ + Returns the shared paths between two geometries. + + Geometries within the GeoSeries should be only (Multi)LineStrings or + LinearRings. A GeoSeries of GeometryCollections is returned with two elements + in each GeometryCollection. The first element is a MultiLineString containing + shared paths with the same direction for both inputs. The second element is a + MultiLineString containing shared paths with the opposite direction for the two + inputs. + + You can extract individual geometries of the resulting GeometryCollection using + the :meth:`GeoSeries.get_geometry` method. + + The operation works on a 1-to-1 row-wise manner: + + .. image:: ../../../_static/binary_op-01.svg + :align: center + + Parameters + ---------- + other : Geoseries or geometric object + The Geoseries (elementwise) or geometric object to find the shared paths + with. Has to contain only (Multi)LineString or LinearRing geometry types. + align : bool | None (default None) + If True, automatically aligns GeoSeries based on their indices. + If False, the order of elements is preserved. None defaults to True. + + Returns + ------- + GeoSeries + + Examples + -------- + >>> from shapely.geometry import LineString, MultiLineString + >>> s = geopandas.GeoSeries( + ... [ + ... LineString([(0, 0), (1, 0), (1, 1), (0, 1), (0, 0)]), + ... LineString([(1, 0), (2, 0), (2, 1), (1, 1), (1, 0)]), + ... MultiLineString([[(1, 0), (2, 0)], [(2, 1), (1, 1), (1, 0)]]), + ... ], + ... ) + >>> s + 0 LINESTRING (0 0, 1 0, 1 1, 0 1, 0 0) + 1 LINESTRING (1 0, 2 0, 2 1, 1 1, 1 0) + 2 MULTILINESTRING ((1 0, 2 0), (2 1, 1 1, 1 0)) + dtype: geometry + + We can find the shared paths between each geometry and a single shapely + geometry: + + .. image:: ../../../_static/binary_op-03.svg + :align: center + + >>> l = LineString([(1, 1), (0, 1)]) + >>> s.shared_paths(l) + 0 GEOMETRYCOLLECTION (MULTILINESTRING ((1 1, 0 1... + 1 GEOMETRYCOLLECTION (MULTILINESTRING EMPTY, MUL... + 2 GEOMETRYCOLLECTION (MULTILINESTRING EMPTY, MUL... + dtype: geometry + + We can also check two GeoSeries against each other, row by row. The GeoSeries + above have different indices than the one below. We can either align both + GeoSeries based on index values and compare elements with the same index using + ``align=True`` or ignore index and compare elements based on their matching + order using ``align=False``: + + .. image:: ../../../_static/binary_op-02.svg + + >>> s2 = geopandas.GeoSeries( + ... [ + ... LineString([(1, 1), (0, 1)]), + ... LineString([(0, 0), (1, 0), (1, 1), (0, 1), (0, 0)]), + ... LineString([(1, 0), (2, 0), (2, 1), (1, 1), (1, 0)]), + ... ], + ... index=[1, 2, 3] + ... ) + + >>> s.shared_paths(s2, align=True) + 0 None + 1 GEOMETRYCOLLECTION (MULTILINESTRING EMPTY, MUL... + 2 GEOMETRYCOLLECTION (MULTILINESTRING EMPTY, MUL... + 3 None + dtype: geometry + >>> + + >>> s.shared_paths(s2, align=False) + 0 GEOMETRYCOLLECTION (MULTILINESTRING ((1 1, 0 1... + 1 GEOMETRYCOLLECTION (MULTILINESTRING EMPTY, MUL... + 2 GEOMETRYCOLLECTION (MULTILINESTRING ((1 0, 2 0... + dtype: geometry + + See Also + -------- + GeoSeries.get_geometry + """ + + return _binary_geo("shared_paths", self, other, align) + # # Other operations # @@ -3465,10 +4858,10 @@ GeometryCollection >>> import pandas as pd >>> gdf = pd.concat([gdf, gdf.bounds], axis=1) >>> gdf - geometry minx miny maxx maxy - 0 POINT (2.00000 1.00000) 2.0 1.0 2.0 1.0 - 1 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 1.... 0.0 0.0 1.0 1.0 - 2 LINESTRING (0.00000 1.00000, 1.00000 2.00000) 0.0 1.0 1.0 2.0 + geometry minx miny maxx maxy + 0 POINT (2 1) 2.0 1.0 2.0 1.0 + 1 POLYGON ((0 0, 1 1, 1 0, 0 0)) 0.0 0.0 1.0 1.0 + 2 LINESTRING (0 1, 1 2) 0.0 1.0 1.0 2.0 """ bounds = GeometryArray(self.geometry.values).bounds return DataFrame( @@ -3498,10 +4891,9 @@ GeometryCollection def sindex(self): """Generate the spatial index - Creates R-tree spatial index based on ``pygeos.STRtree`` or - ``rtree.index.Index``. + Creates R-tree spatial index based on ``shapely.STRtree``. - Note that the spatial index may not be fully + Note that the spatial index may not be fully initialized until the first use. Examples @@ -3509,11 +4901,11 @@ GeometryCollection >>> from shapely.geometry import box >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(5), range(5))) >>> s - 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 1.00000) - 2 POINT (2.00000 2.00000) - 3 POINT (3.00000 3.00000) - 4 POINT (4.00000 4.00000) + 0 POINT (0 0) + 1 POINT (1 1) + 2 POINT (2 2) + 3 POINT (3 3) + 4 POINT (4 4) dtype: geometry Query the spatial index with a single geometry based on the bounding box: @@ -3531,8 +4923,8 @@ GeometryCollection >>> s2 = geopandas.GeoSeries([box(1, 1, 3, 3), box(4, 4, 5, 5)]) >>> s2 - 0 POLYGON ((3.00000 1.00000, 3.00000 3.00000, 1.... - 1 POLYGON ((5.00000 4.00000, 5.00000 5.00000, 4.... + 0 POLYGON ((3 1, 3 3, 1 3, 1 1, 3 1)) + 1 POLYGON ((5 4, 5 5, 4 5, 4 4, 5 4)) dtype: geometry >>> s.sindex.query(s2) @@ -3579,20 +4971,51 @@ GeometryCollection """ return self.geometry.values.has_sindex - def buffer(self, distance, resolution=16, **kwargs): + def buffer( + self, + distance, + resolution=16, + cap_style="round", + join_style="round", + mitre_limit=5.0, + single_sided=False, + **kwargs, + ): """Returns a ``GeoSeries`` of geometries representing all points within a given ``distance`` of each geometric object. - See http://shapely.readthedocs.io/en/latest/manual.html#object.buffer - for details. + Computes the buffer of a geometry for positive and negative buffer distance. + + The buffer of a geometry is defined as the Minkowski sum (or difference, for + negative distance) of the geometry with a circle with radius equal to the + absolute value of the buffer distance. + + The buffer operation always returns a polygonal result. The negative or + zero-distance buffer of lines and points is always empty. Parameters ---------- distance : float, np.array, pd.Series - The radius of the buffer. If np.array or pd.Series are used - then it must have same length as the GeoSeries. + The radius of the buffer in the Minkowski sum (or difference). If np.array + or pd.Series are used then it must have same length as the GeoSeries. resolution : int (optional, default 16) - The resolution of the buffer around each vertex. + The resolution of the buffer around each vertex. Specifies the number of + linear segments in a quarter circle in the approximation of circular arcs. + cap_style : {'round', 'square', 'flat'}, default 'round' + Specifies the shape of buffered line endings. ``'round'`` results in + circular line endings (see ``resolution``). Both ``'square'`` and ``'flat'`` + result in rectangular line endings, ``'flat'`` will end at the original + vertex, while ``'square'`` involves adding the buffer width. + join_style : {'round', 'mitre', 'bevel'}, default 'round' + Specifies the shape of buffered line midpoints. ``'round'`` results in + rounded shapes. ``'bevel'`` results in a beveled edge that touches the + original vertex. ``'mitre'`` results in a single vertex that is beveled + depending on the ``mitre_limit`` parameter. + mitre_limit : float, default 5.0 + Crops of ``'mitre'``-style joins if the point is displaced from the + buffered vertex by more than this limit. + single_sided : bool, default False + Only buffer at one side of the geometry. Examples -------- @@ -3605,42 +5028,41 @@ GeometryCollection ... ] ... ) >>> s - 0 POINT (0.00000 0.00000) - 1 LINESTRING (1.00000 -1.00000, 1.00000 0.00000,... - 2 POLYGON ((3.00000 -1.00000, 4.00000 0.00000, 3... + 0 POINT (0 0) + 1 LINESTRING (1 -1, 1 0, 2 0, 2 1) + 2 POLYGON ((3 -1, 4 0, 3 1, 3 -1)) dtype: geometry >>> s.buffer(0.2) - 0 POLYGON ((0.20000 0.00000, 0.19904 -0.01960, 0... - 1 POLYGON ((0.80000 0.00000, 0.80096 0.01960, 0.... - 2 POLYGON ((2.80000 -1.00000, 2.80000 1.00000, 2... + 0 POLYGON ((0.2 0, 0.19904 -0.0196, 0.19616 -0.0... + 1 POLYGON ((0.8 0, 0.80096 0.0196, 0.80384 0.039... + 2 POLYGON ((2.8 -1, 2.8 1, 2.80096 1.0196, 2.803... dtype: geometry - ``**kwargs`` accept further specification as ``join_style`` and ``cap_style``. - See the following illustration of different options. + ``Further specification as ``join_style`` and ``cap_style`` are shown in the + following illustration: .. plot:: _static/code/buffer.py """ - # TODO: update docstring based on pygeos after shapely 2.0 - if isinstance(distance, pd.Series): - if not self.index.equals(distance.index): - raise ValueError( - "Index values of distance sequence does " - "not match index values of the GeoSeries" - ) - distance = np.asarray(distance) - return _delegate_geo_method( - "buffer", self, distance, resolution=resolution, **kwargs + "buffer", + self, + distance=distance, + resolution=resolution, + cap_style=cap_style, + join_style=join_style, + mitre_limit=mitre_limit, + single_sided=single_sided, + **kwargs, ) - def simplify(self, *args, **kwargs): + def simplify(self, tolerance, preserve_topology=True): """Returns a ``GeoSeries`` containing a simplified representation of each geometry. The algorithm (Douglas-Peucker) recursively splits the original line - into smaller parts and connects these parts’ endpoints + into smaller parts and connects these parts' endpoints by a straight line. Then, it removes all points whose distance to the straight line is smaller than `tolerance`. It does not move any points and it always preserves endpoints of @@ -3674,18 +5096,20 @@ GeometryCollection ... [Point(0, 0).buffer(1), LineString([(0, 0), (1, 10), (0, 20)])] ... ) >>> s - 0 POLYGON ((1.00000 0.00000, 0.99518 -0.09802, 0... - 1 LINESTRING (0.00000 0.00000, 1.00000 10.00000,... + 0 POLYGON ((1 0, 0.99518 -0.09802, 0.98079 -0.19... + 1 LINESTRING (0 0, 1 10, 0 20) dtype: geometry >>> s.simplify(1) - 0 POLYGON ((1.00000 0.00000, 0.00000 -1.00000, -... - 1 LINESTRING (0.00000 0.00000, 0.00000 20.00000) + 0 POLYGON ((0 1, 0 -1, -1 0, 0 1)) + 1 LINESTRING (0 0, 0 20) dtype: geometry """ - return _delegate_geo_method("simplify", self, *args, **kwargs) + return _delegate_geo_method( + "simplify", self, tolerance=tolerance, preserve_topology=preserve_topology + ) - def relate(self, other, align=True): + def relate(self, other, align=None): """ Returns the DE-9IM intersection matrices for the geometries @@ -3699,9 +5123,9 @@ GeometryCollection other : BaseGeometry or GeoSeries The other geometry to computed the DE-9IM intersection matrices from. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -3733,19 +5157,19 @@ GeometryCollection ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 1 POLYGON ((0.00000 0.00000, 2.00000 2.00000, 0.... - 2 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (0.00000 1.00000) + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 LINESTRING (2 0, 0 2) + 4 POINT (0 1) dtype: geometry >>> s2 - 1 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 2 LINESTRING (1.00000 0.00000, 1.00000 3.00000) - 3 LINESTRING (2.00000 0.00000, 0.00000 2.00000) - 4 POINT (1.00000 1.00000) - 5 POINT (0.00000 1.00000) + 1 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 2 LINESTRING (1 0, 1 3) + 3 LINESTRING (2 0, 0 2) + 4 POINT (1 1) + 5 POINT (0 1) dtype: geometry We can relate each geometry and a single @@ -3790,7 +5214,119 @@ GeometryCollection """ return _binary_op("relate", self, other, align) - def project(self, other, normalized=False, align=True): + def relate_pattern(self, other, pattern, align=None): + """ + Returns True if the DE-9IM string code for the relationship between + the geometries satisfies the pattern, else False. + + This function compares the DE-9IM code string for two geometries + against a specified pattern. If the string matches the pattern then + ``True`` is returned, otherwise ``False``. The pattern specified can + be an exact match (``0``, ``1`` or ``2``), a boolean match + (uppercase ``T`` or ``F``), or a wildcard (``*``). For example, + the pattern for the ``within`` predicate is ``'T*F**F***'`` + + The operation works on a 1-to-1 row-wise manner: + + .. image:: ../../../_static/binary_op-01.svg + :align: center + + Parameters + ---------- + other : BaseGeometry or GeoSeries + The other geometry to be tested agains the pattern. + pattern : str + The DE-9IM pattern to test against. + align : bool | None (default None) + If True, automatically aligns GeoSeries based on their indices. + If False, the order of elements is preserved. None defaults to True. + + Returns + ------- + Series + + Examples + -------- + >>> from shapely.geometry import Polygon, LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... Polygon([(0, 0), (2, 2), (0, 2)]), + ... Polygon([(0, 0), (2, 2), (0, 2)]), + ... LineString([(0, 0), (2, 2)]), + ... LineString([(2, 0), (0, 2)]), + ... Point(0, 1), + ... ], + ... ) + >>> s2 = geopandas.GeoSeries( + ... [ + ... Polygon([(0, 0), (1, 1), (0, 1)]), + ... LineString([(1, 0), (1, 3)]), + ... LineString([(2, 0), (0, 2)]), + ... Point(1, 1), + ... Point(0, 1), + ... ], + ... index=range(1, 6), + ... ) + + >>> s + 0 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 1 POLYGON ((0 0, 2 2, 0 2, 0 0)) + 2 LINESTRING (0 0, 2 2) + 3 LINESTRING (2 0, 0 2) + 4 POINT (0 1) + dtype: geometry + + >>> s2 + 1 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 2 LINESTRING (1 0, 1 3) + 3 LINESTRING (2 0, 0 2) + 4 POINT (1 1) + 5 POINT (0 1) + dtype: geometry + + We can check the relate pattern of each geometry and a single + shapely geometry: + + .. image:: ../../../_static/binary_op-03.svg + :align: center + + >>> s.relate_pattern(Polygon([(0, 0), (1, 1), (0, 1)]), "2*T***F**") + 0 True + 1 True + 2 False + 3 False + 4 False + dtype: bool + + We can also check two GeoSeries against each other, row by row. + The GeoSeries above have different indices. We can either align both GeoSeries + based on index values and compare elements with the same index using + ``align=True`` or ignore index and compare elements based on their matching + order using ``align=False``: + + .. image:: ../../../_static/binary_op-02.svg + + >>> s.relate_pattern(s2, "TF******T", align=True) + 0 False + 1 False + 2 True + 3 True + 4 False + 5 False + dtype: bool + + >>> s.relate_pattern(s2, "TF******T", align=False) + 0 False + 1 True + 2 True + 3 True + 4 True + dtype: bool + + """ + return _binary_op("relate_pattern", self, other, pattern=pattern, align=align) + + def project(self, other, normalized=False, align=None): """ Return the distance along each geometry nearest to *other* @@ -3801,6 +5337,8 @@ GeometryCollection The project method is the inverse of interpolate. + In shapely, this is equal to ``line_locate_point``. + Parameters ---------- @@ -3809,9 +5347,9 @@ GeometryCollection normalized : boolean If normalized is True, return the distance normalized to the length of the object. - align : bool (default True) + align : bool | None (default None) If True, automatically aligns GeoSeries based on their indices. - If False, the order of elements is preserved. + If False, the order of elements is preserved. None defaults to True. Returns ------- @@ -3837,15 +5375,15 @@ GeometryCollection ... ) >>> s - 0 LINESTRING (0.00000 0.00000, 2.00000 0.00000, ... - 1 LINESTRING (0.00000 0.00000, 2.00000 2.00000) - 2 LINESTRING (2.00000 0.00000, 0.00000 2.00000) + 0 LINESTRING (0 0, 2 0, 0 2) + 1 LINESTRING (0 0, 2 2) + 2 LINESTRING (2 0, 0 2) dtype: geometry >>> s2 - 1 POINT (1.00000 0.00000) - 2 POINT (1.00000 0.00000) - 3 POINT (2.00000 1.00000) + 1 POINT (1 0) + 2 POINT (1 0) + 3 POINT (2 1) dtype: geometry We can project each geometry on a single @@ -3900,16 +5438,37 @@ GeometryCollection normalized : boolean If normalized is True, distance will be interpreted as a fraction of the geometric object's length. + + Examples + -------- + >>> from shapely.geometry import LineString, Point + >>> s = geopandas.GeoSeries( + ... [ + ... LineString([(0, 0), (2, 0), (0, 2)]), + ... LineString([(0, 0), (2, 2)]), + ... LineString([(2, 0), (0, 2)]), + ... ], + ... ) + >>> s + 0 LINESTRING (0 0, 2 0, 0 2) + 1 LINESTRING (0 0, 2 2) + 2 LINESTRING (2 0, 0 2) + dtype: geometry + + >>> s.interpolate(1) + 0 POINT (1 0) + 1 POINT (0.70711 0.70711) + 2 POINT (1.29289 0.70711) + dtype: geometry + + >>> s.interpolate([1, 2, 3]) + 0 POINT (1 0) + 1 POINT (1.41421 1.41421) + 2 POINT (0 2) + dtype: geometry """ - if isinstance(distance, pd.Series): - if not self.index.equals(distance.index): - raise ValueError( - "Index values of distance sequence does " - "not match index values of the GeoSeries" - ) - distance = np.asarray(distance) return _delegate_geo_method( - "interpolate", self, distance, normalized=normalized + "interpolate", self, distance=distance, normalized=normalized ) def affine_transform(self, matrix): @@ -3940,19 +5499,19 @@ GeometryCollection ... ] ... ) >>> s - 0 POINT (1.00000 1.00000) - 1 LINESTRING (1.00000 -1.00000, 1.00000 0.00000) - 2 POLYGON ((3.00000 -1.00000, 4.00000 0.00000, 3... + 0 POINT (1 1) + 1 LINESTRING (1 -1, 1 0) + 2 POLYGON ((3 -1, 4 0, 3 1, 3 -1)) dtype: geometry >>> s.affine_transform([2, 3, 2, 4, 5, 2]) - 0 POINT (10.00000 8.00000) - 1 LINESTRING (4.00000 0.00000, 7.00000 4.00000) - 2 POLYGON ((8.00000 4.00000, 13.00000 10.00000, ... + 0 POINT (10 8) + 1 LINESTRING (4 0, 7 4) + 2 POLYGON ((8 4, 13 10, 14 12, 8 4)) dtype: geometry """ # (E501 link is longer than max line length) - return _delegate_geo_method("affine_transform", self, matrix) + return _delegate_geo_method("affine_transform", self, matrix=matrix) def translate(self, xoff=0.0, yoff=0.0, zoff=0.0): """Returns a ``GeoSeries`` with translated geometries. @@ -3978,19 +5537,19 @@ GeometryCollection ... ] ... ) >>> s - 0 POINT (1.00000 1.00000) - 1 LINESTRING (1.00000 -1.00000, 1.00000 0.00000) - 2 POLYGON ((3.00000 -1.00000, 4.00000 0.00000, 3... + 0 POINT (1 1) + 1 LINESTRING (1 -1, 1 0) + 2 POLYGON ((3 -1, 4 0, 3 1, 3 -1)) dtype: geometry >>> s.translate(2, 3) - 0 POINT (3.00000 4.00000) - 1 LINESTRING (3.00000 2.00000, 3.00000 3.00000) - 2 POLYGON ((5.00000 2.00000, 6.00000 3.00000, 5.... + 0 POINT (3 4) + 1 LINESTRING (3 2, 3 3) + 2 POLYGON ((5 2, 6 3, 5 4, 5 2)) dtype: geometry """ # (E501 link is longer than max line length) - return _delegate_geo_method("translate", self, xoff, yoff, zoff) + return _delegate_geo_method("translate", self, xoff=xoff, yoff=yoff, zoff=zoff) def rotate(self, angle, origin="center", use_radians=False): """Returns a ``GeoSeries`` with rotated geometries. @@ -4022,26 +5581,26 @@ GeometryCollection ... ] ... ) >>> s - 0 POINT (1.00000 1.00000) - 1 LINESTRING (1.00000 -1.00000, 1.00000 0.00000) - 2 POLYGON ((3.00000 -1.00000, 4.00000 0.00000, 3... + 0 POINT (1 1) + 1 LINESTRING (1 -1, 1 0) + 2 POLYGON ((3 -1, 4 0, 3 1, 3 -1)) dtype: geometry >>> s.rotate(90) - 0 POINT (1.00000 1.00000) - 1 LINESTRING (1.50000 -0.50000, 0.50000 -0.50000) - 2 POLYGON ((4.50000 -0.50000, 3.50000 0.50000, 2... + 0 POINT (1 1) + 1 LINESTRING (1.5 -0.5, 0.5 -0.5) + 2 POLYGON ((4.5 -0.5, 3.5 0.5, 2.5 -0.5, 4.5 -0.5)) dtype: geometry >>> s.rotate(90, origin=(0, 0)) - 0 POINT (-1.00000 1.00000) - 1 LINESTRING (1.00000 1.00000, 0.00000 1.00000) - 2 POLYGON ((1.00000 3.00000, 0.00000 4.00000, -1... + 0 POINT (-1 1) + 1 LINESTRING (1 1, 0 1) + 2 POLYGON ((1 3, 0 4, -1 3, 1 3)) dtype: geometry """ return _delegate_geo_method( - "rotate", self, angle, origin=origin, use_radians=use_radians + "rotate", self, angle=angle, origin=origin, use_radians=use_radians ) def scale(self, xfact=1.0, yfact=1.0, zfact=1.0, origin="center"): @@ -4073,24 +5632,26 @@ GeometryCollection ... ] ... ) >>> s - 0 POINT (1.00000 1.00000) - 1 LINESTRING (1.00000 -1.00000, 1.00000 0.00000) - 2 POLYGON ((3.00000 -1.00000, 4.00000 0.00000, 3... + 0 POINT (1 1) + 1 LINESTRING (1 -1, 1 0) + 2 POLYGON ((3 -1, 4 0, 3 1, 3 -1)) dtype: geometry >>> s.scale(2, 3) - 0 POINT (1.00000 1.00000) - 1 LINESTRING (1.00000 -2.00000, 1.00000 1.00000) - 2 POLYGON ((2.50000 -3.00000, 4.50000 0.00000, 2... + 0 POINT (1 1) + 1 LINESTRING (1 -2, 1 1) + 2 POLYGON ((2.5 -3, 4.5 0, 2.5 3, 2.5 -3)) dtype: geometry >>> s.scale(2, 3, origin=(0, 0)) - 0 POINT (2.00000 3.00000) - 1 LINESTRING (2.00000 -3.00000, 2.00000 0.00000) - 2 POLYGON ((6.00000 -3.00000, 8.00000 0.00000, 6... + 0 POINT (2 3) + 1 LINESTRING (2 -3, 2 0) + 2 POLYGON ((6 -3, 8 0, 6 3, 6 -3)) dtype: geometry """ - return _delegate_geo_method("scale", self, xfact, yfact, zfact, origin=origin) + return _delegate_geo_method( + "scale", self, xfact=xfact, yfact=yfact, zfact=zfact, origin=origin + ) def skew(self, xs=0.0, ys=0.0, origin="center", use_radians=False): """Returns a ``GeoSeries`` with skewed geometries. @@ -4124,25 +5685,25 @@ GeometryCollection ... ] ... ) >>> s - 0 POINT (1.00000 1.00000) - 1 LINESTRING (1.00000 -1.00000, 1.00000 0.00000) - 2 POLYGON ((3.00000 -1.00000, 4.00000 0.00000, 3... + 0 POINT (1 1) + 1 LINESTRING (1 -1, 1 0) + 2 POLYGON ((3 -1, 4 0, 3 1, 3 -1)) dtype: geometry >>> s.skew(45, 30) - 0 POINT (1.00000 1.00000) - 1 LINESTRING (0.50000 -1.00000, 1.50000 0.00000) - 2 POLYGON ((2.00000 -1.28868, 4.00000 0.28868, 4... + 0 POINT (1 1) + 1 LINESTRING (0.5 -1, 1.5 0) + 2 POLYGON ((2 -1.28868, 4 0.28868, 4 0.71132, 2 ... dtype: geometry >>> s.skew(45, 30, origin=(0, 0)) - 0 POINT (2.00000 1.57735) - 1 LINESTRING (0.00000 -0.42265, 1.00000 0.57735) - 2 POLYGON ((2.00000 0.73205, 4.00000 2.30940, 4.... + 0 POINT (2 1.57735) + 1 LINESTRING (0 -0.42265, 1 0.57735) + 2 POLYGON ((2 0.73205, 4 2.3094, 4 2.73205, 2 0.... dtype: geometry """ return _delegate_geo_method( - "skew", self, xs, ys, origin=origin, use_radians=use_radians + "skew", self, xs=xs, ys=ys, origin=origin, use_radians=use_radians ) @property @@ -4162,21 +5723,21 @@ GeometryCollection ... [Point(0, 0), Point(1, 2), Point(3, 3), LineString([(0, 0), (3, 3)])] ... ) >>> s - 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 2.00000) - 2 POINT (3.00000 3.00000) - 3 LINESTRING (0.00000 0.00000, 3.00000 3.00000) + 0 POINT (0 0) + 1 POINT (1 2) + 2 POINT (3 3) + 3 LINESTRING (0 0, 3 3) dtype: geometry >>> s.cx[0:1, 0:1] - 0 POINT (0.00000 0.00000) - 3 LINESTRING (0.00000 0.00000, 3.00000 3.00000) + 0 POINT (0 0) + 3 LINESTRING (0 0, 3 3) dtype: geometry >>> s.cx[:, 1:] - 1 POINT (1.00000 2.00000) - 2 POINT (3.00000 3.00000) - 3 LINESTRING (0.00000 0.00000, 3.00000 3.00000) + 1 POINT (1 2) + 2 POINT (3 3) + 3 LINESTRING (0 0, 3 3) dtype: geometry """ @@ -4218,9 +5779,9 @@ GeometryCollection ... ] ... ) >>> s - 0 POINT (1.00000 1.00000) - 1 LINESTRING (1.00000 -1.00000, 1.00000 0.00000) - 2 POLYGON ((3.00000 -1.00000, 4.00000 0.00000, 3... + 0 POINT (1 1) + 1 LINESTRING (1 -1, 1 0) + 2 POLYGON ((3 -1, 4 0, 3 1, 3 -1)) dtype: geometry >>> s.get_coordinates() @@ -4253,26 +5814,9 @@ GeometryCollection 2 3.0 1.0 3 3.0 -1.0 """ - if compat.USE_SHAPELY_20: - import shapely - - coords, outer_idx = shapely.get_coordinates( - self.geometry.values._data, include_z=include_z, return_index=True - ) - elif compat.USE_PYGEOS: - import pygeos - - coords, outer_idx = pygeos.get_coordinates( - self.geometry.values._data, include_z=include_z, return_index=True - ) - - else: - import shapely - - raise NotImplementedError( - f"shapely >= 2.0 or PyGEOS are required, " - f"version {shapely.__version__} is installed." - ) + coords, outer_idx = shapely.get_coordinates( + self.geometry.values._data, include_z=include_z, return_index=True + ) column_names = ["x", "y"] if include_z: @@ -4374,8 +5918,8 @@ GeometryCollection ... ) >>> s.sample_points(size=10) # doctest: +SKIP - 0 MULTIPOINT (0.04783 -0.04244, 0.24196 -0.09052... - 1 MULTIPOINT (3.00672 -0.52390, 3.01776 0.30065,... + 0 MULTIPOINT ((0.1045 -0.10294), (0.35249 -0.264... + 1 MULTIPOINT ((3.03261 -0.43069), (3.10068 0.114... Name: sampled_points, dtype: geometry """ # noqa: E501 from .geoseries import GeoSeries @@ -4411,15 +5955,165 @@ GeometryCollection ) sample_function = getattr(pointpats.random, method) result = self.geometry.apply( - lambda x: points_from_xy( - *sample_function(x, size=size, **kwargs).T - ).unary_union() - if not (x.is_empty or x is None or "Polygon" not in x.geom_type) - else MultiPoint(), + lambda x: ( + points_from_xy( + *sample_function(x, size=size, **kwargs).T + ).union_all() + if not (x.is_empty or x is None or "Polygon" not in x.geom_type) + else MultiPoint() + ), ) return GeoSeries(result, name="sampled_points", crs=self.crs, index=self.index) + def build_area(self, node=True): + """Creates an areal geometry formed by the constituent linework. + + Builds areas from the GeoSeries that contain linework which represents the edges + of a planar graph. Any geometry type may be provided as input; only the + constituent lines and rings will be used to create the output polygons. All + geometries within the GeoSeries are considered together and the resulting + polygons therefore do not map 1:1 to input geometries. + + This function converts inner rings into holes. To turn inner rings into polygons + as well, use polygonize. + + Unless you know that the input GeoSeries represents a planar graph with a clean + topology (e.g. there is a node on both lines where they intersect), it is + recommended to use ``node=True`` which performs noding prior to building areal + geometry. Using ``node=False`` will provide performance benefits but may result + in incorrect polygons if the input is not of the proper topology. + + If the input linework crosses, this function may produce invalid polygons. Use + :meth:`GeoSeries.make_valid` to ensure valid geometries. + + Parameters + ---------- + node : bool, default True + Perform noding prior to building the areas, by default True. + + Returns + ------- + GeoSeries + GeoSeries with polygons + + Examples + -------- + >>> from shapely.geometry import LineString, Polygon + >>> s = geopandas.GeoSeries([ + ... LineString([(18, 4), (4, 2), (2, 9)]), + ... LineString([(18, 4), (16, 16)]), + ... LineString([(16, 16), (8, 19), (8, 12), (2, 9)]), + ... LineString([(8, 6), (12, 13), (15, 8)]), + ... LineString([(8, 6), (15, 8)]), + ... LineString([(0, 0), (0, 3), (3, 3), (3, 0), (0, 0)]), + ... Polygon([(1, 1), (2, 2), (1, 2), (1, 1)]), + ... ]) + >>> s.build_area() + 0 POLYGON ((0 3, 3 3, 3 0, 0 0, 0 3), (1 1, 2 2,... + 1 POLYGON ((4 2, 2 9, 8 12, 8 19, 16 16, 18 4, 4... + Name: polygons, dtype: geometry + + """ + from .geoseries import GeoSeries + + if node: + geometry_input = self.geometry.union_all() + else: + geometry_input = shapely.geometrycollections(self.geometry.values._data) + + polygons = shapely.build_area(geometry_input) + return GeoSeries(polygons, crs=self.crs, name="polygons").explode( + ignore_index=True + ) + + def polygonize(self, node=True, full=False): + """Creates polygons formed from the linework of a GeoSeries. + + Polygonizes the GeoSeries that contain linework which represents the + edges of a planar graph. Any geometry type may be provided as input; only the + constituent lines and rings will be used to create the output polygons. + + Lines or rings that when combined do not completely close a polygon will be + ignored. Duplicate segments are ignored. + + Unless you know that the input GeoSeries represents a planar graph with a clean + topology (e.g. there is a node on both lines where they intersect), it is + recommended to use ``node=True`` which performs noding prior to polygonization. + Using ``node=False`` will provide performance benefits but may result in + incorrect polygons if the input is not of the proper topology. + + When ``full=True``, the return value is a 4-tuple containing output polygons, + along with lines which could not be converted to polygons. The return value + consists of 4 elements or varying lenghts: + + - GeoSeries of the valid polygons (same as with ``full=False``) + - GeoSeries of cut edges: edges connected on both ends but not part of + polygonal output + - GeoSeries of dangles: edges connected on one end but not part of polygonal + output + - GeoSeries of invalid rings: polygons that are formed but are not valid + (bowties, etc) + + Parameters + ---------- + node : bool, default True + Perform noding prior to polygonization, by default True. + full : bool, default False + Return the full output composed of a tuple of GeoSeries, by default False. + + Returns + ------- + GeoSeries | tuple(GeoSeries, GeoSeries, GeoSeries, GeoSeries) + GeoSeries with the polygons or a tuple of four GeoSeries as + ``(polygons, cuts, dangles, invalid)`` + + Examples + -------- + >>> from shapely.geometry import LineString + >>> s = geopandas.GeoSeries([ + ... LineString([(0, 0), (1, 1)]), + ... LineString([(0, 0), (0, 1), (1, 1), (1, 0), (0, 0)]), + ... LineString([(0.5, 0.2), (0.5, 0.8)]), + ... ]) + >>> s.polygonize() + 0 POLYGON ((0 0, 0.5 0.5, 1 1, 1 0, 0 0)) + 1 POLYGON ((0.5 0.5, 0 0, 0 1, 1 1, 0.5 0.5)) + Name: polygons, dtype: geometry + + >>> polygons, cuts, dangles, invalid = s.polygonize(full=True) + + """ + from .geoseries import GeoSeries + + if node: + geometry_input = [self.geometry.union_all()] + else: + geometry_input = self.geometry.values + + if full: + polygons, cuts, dangles, invalid = shapely.polygonize_full(geometry_input) + + cuts = GeoSeries(cuts, crs=self.crs, name="cut_edges").explode( + ignore_index=True + ) + dangles = GeoSeries(dangles, crs=self.crs, name="dangles").explode( + ignore_index=True + ) + invalid = GeoSeries(invalid, crs=self.crs, name="invalid_rings").explode( + ignore_index=True + ) + polygons = GeoSeries(polygons, crs=self.crs, name="polygons").explode( + ignore_index=True + ) + + return (polygons, cuts, dangles, invalid) + + polygons = shapely.polygonize(geometry_input) + return GeoSeries(polygons, crs=self.crs, name="polygons").explode( + ignore_index=True + ) + def _get_index_for_parts(orig_idx, outer_idx, ignore_index, index_parts): """Helper to handle index when geometries get exploded to parts. @@ -4467,7 +6161,7 @@ def _get_index_for_parts(orig_idx, outer_idx, ignore_index, index_parts): index_arrays.append(inner_index) index = pd.MultiIndex.from_arrays( - index_arrays, names=orig_idx.names + [None] + index_arrays, names=list(orig_idx.names) + [None] ) else: diff --git a/.venv/lib/python3.12/site-packages/geopandas/conftest.py b/.venv/lib/python3.12/site-packages/geopandas/conftest.py index 3ab031ca..5b0a97a3 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/conftest.py +++ b/.venv/lib/python3.12/site-packages/geopandas/conftest.py @@ -1,27 +1,47 @@ -import pytest +import os.path + import geopandas +import pytest +from geopandas.tests.util import _NATURALEARTH_CITIES, _NATURALEARTH_LOWRES, _NYBB + @pytest.fixture(autouse=True) def add_geopandas(doctest_namespace): doctest_namespace["geopandas"] = geopandas -def pytest_configure(config): - config.addinivalue_line( - "markers", - "skip_no_sindex: skips the tests if there is no spatial index backend", - ) +# Datasets used in our tests -try: - geopandas.sindex._get_sindex_class() - has_sindex_backend = True -except ImportError: - has_sindex_backend = False +@pytest.fixture(scope="session") +def naturalearth_lowres() -> str: + # skip if data missing, unless on github actions + if os.path.isfile(_NATURALEARTH_LOWRES) or os.getenv("GITHUB_ACTIONS"): + return _NATURALEARTH_LOWRES + else: + pytest.skip("Naturalearth lowres dataset not found") -def pytest_runtest_setup(item): - skip_no_sindex = any(mark for mark in item.iter_markers(name="skip_no_sindex")) - if skip_no_sindex and not has_sindex_backend: - pytest.skip("Skipped because there is no spatial index backend available") +@pytest.fixture(scope="session") +def naturalearth_cities() -> str: + # skip if data missing, unless on github actions + if os.path.isfile(_NATURALEARTH_CITIES) or os.getenv("GITHUB_ACTIONS"): + return _NATURALEARTH_CITIES + else: + pytest.skip("Naturalearth cities dataset not found") + + +@pytest.fixture(scope="session") +def nybb_filename() -> str: + # skip if data missing, unless on github actions + if os.path.isfile(_NYBB[len("zip://") :]) or os.getenv("GITHUB_ACTIONS"): + return _NYBB + else: + pytest.skip("NYBB dataset not found") + + +@pytest.fixture(scope="class") +def _setup_class_nybb_filename(nybb_filename, request): + """Attach nybb_filename class attribute for unittest style setup_method""" + request.cls.nybb_filename = nybb_filename diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/__init__.py b/.venv/lib/python3.12/site-packages/geopandas/datasets/__init__.py index bed996ad..c0c03050 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/datasets/__init__.py +++ b/.venv/lib/python3.12/site-packages/geopandas/datasets/__init__.py @@ -1,59 +1,25 @@ -import os - -from warnings import warn - -__all__ = ["available", "get_path"] - -_module_path = os.path.dirname(__file__) -_available_dir = [p for p in next(os.walk(_module_path))[1] if not p.startswith("__")] -_available_zip = {"nybb": "nybb_16a.zip"} -available = _available_dir + list(_available_zip.keys()) +__all__ = [] +available = [] # previously part of __all__ +_prev_available = ["naturalearth_cities", "naturalearth_lowres", "nybb"] def get_path(dataset): - """ - Get the path to the data file. - - Parameters - ---------- - dataset : str - The name of the dataset. See ``geopandas.datasets.available`` for - all options. - - Examples - -------- - >>> geopandas.datasets.get_path("naturalearth_lowres") # doctest: +SKIP - '.../python3.8/site-packages/geopandas/datasets/\ -naturalearth_lowres/naturalearth_lowres.shp' - - """ ne_message = "https://www.naturalearthdata.com/downloads/110m-cultural-vectors/." nybb_message = ( "the geodatasets package.\n\nfrom geodatasets import get_path\n" "path_to_file = get_path('nybb')\n" ) - depr_warning = ( - "The geopandas.dataset module is deprecated and will be removed in GeoPandas " + error_msg = ( + "The geopandas.dataset has been deprecated and was removed in GeoPandas " f"1.0. You can get the original '{dataset}' data from " f"{ne_message if 'natural' in dataset else nybb_message}" ) - - if dataset in _available_dir: - warn( - depr_warning, - FutureWarning, - stacklevel=2, - ) - return os.path.abspath(os.path.join(_module_path, dataset, dataset + ".shp")) - elif dataset in _available_zip: - warn( - depr_warning, - FutureWarning, - stacklevel=2, - ) - fpath = os.path.abspath(os.path.join(_module_path, _available_zip[dataset])) - return "zip://" + fpath + if dataset in _prev_available: + raise AttributeError(error_msg) else: - msg = "The dataset '{data}' is not available. ".format(data=dataset) - msg += "Available datasets are {}".format(", ".join(available)) - raise ValueError(msg) + error_msg = ( + "The geopandas.dataset has been deprecated and " + "was removed in GeoPandas 1.0. New sample datasets are now available " + "in the geodatasets package (https://geodatasets.readthedocs.io/en/latest/)" + ) + raise AttributeError(error_msg) diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/datasets/__pycache__/__init__.cpython-312.pyc index d580756a..3bcd0625 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/datasets/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/datasets/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/__pycache__/naturalearth_creation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/datasets/__pycache__/naturalearth_creation.cpython-312.pyc deleted file mode 100644 index c9a65cdf..00000000 Binary files a/.venv/lib/python3.12/site-packages/geopandas/datasets/__pycache__/naturalearth_creation.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.README.html b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.README.html deleted file mode 100644 index 2f5786f0..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.README.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - - - - -Populated Places | Natural Earth - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - -
-
- - - « 1:10m Cultural Vectors  -
-

Populated Places

-
-
-
pop_thumb
-
City and town points, from Tokyo to Wasilla, Cairo to Kandahar - -
-
-
-

About

-

Point symbols with name attributes. Includes all admin-0 and many admin-1 capitals, major cities and towns, plus a sampling of smaller towns in sparsely inhabited regions. We favor regional significance over population census in determining our selection of places. Use the scale rankings to filter the number of towns that appear on your map.

-

pop_banner

-

LandScan derived population estimates are provided for 90% of our cities. Those lacking population estimates are often in sparsely inhabited areas. We provide a range of population values that account for the total “metropolitan” population rather than it’s administrative boundary population. Use the PopMax column to size your town labels. Starting in version 1.1, popMax has been throttled down to the UN estimated metro population for the ~500 largest urban areas in the world. This affects towns in China, India, and parts of Africa where our Landscan counting method usually over estimated.

-

Population estimates were derived from the LANDSCAN dataset maintained and distributed by the Oak Ridge National Laboratory. These data were converted from raster to vector and pixels with fewer than 200 persons per square kilometer were removed from the dataset as they were classified as rural. Once urban pixels were selected, these pixels were aggregated into contiguous units. Concurrently Thiessen polygons were created based on the selected city points. The Thiessen polygons were used to intersect the contiguous city boundaries to produce bounded areas for the cities. As a result, our estimates capture a metropolitan and micropolitan populations per city regardless of administrative units.

-

Once intersected, the contiguous polygons were recalculated, using aerial interpolation assuming uniform population distribution within each pixel, to determine the population total. This process was conducted multiple times, for each scale level, to produce population estimates for each city at nested scales of 1:300 million, 1:110 million, 1:50 million, 1:20 million, and 1:10 million.

- -

Population ranks

-

Are calculated as rank_max and rank_min using this general VB formula that can be pasted into ArcMap Field Calculator advanced area (set your output to x):

-

-a = [pop_max]

-

if( a > 10000000 ) then -x = 14 -elseif( a > 5000000 ) then -x = 13 -elseif( a > 1000000 ) then -x = 12 -elseif( a > 500000 ) then -x = 11 -elseif( a > 200000 ) then -x = 10 -elseif( a > 100000 ) then -x = 9 -elseif( a > 50000 ) then -x = 8 -elseif( a > 20000 ) then -x = 7 -elseif( a > 10000 ) then -x = 6 -elseif( a > 5000 ) then -x = 5 -elseif( a > 2000 ) then -x = 4 -elseif( a > 1000 ) then -x = 3 -elseif( a > 200 ) then -x = 2 -elseif( a > 0 ) then -x = 1 -else -x = 0 -end if

-

Issues

-

While we don’t want to show every admin-1 capital, for those countries where we show most admin-1 capitals, we should have a complete set. If you find we are missing one, please log it in the Cx tool at right.

-

Version History

-
    -
  • - 2.0.0 -
  • -
  • - 1.4.0 -
  • -
  • - 1.3.0 -
  • -
  • - 1.1.0 -
  • -
  • - 0.9.0 -
  • -
- -

The master changelog is available on Github » -

- -
-
-Share and Enjoy: -
-
    -
  • Twitter
  • -
  • Facebook
  • -
  • Digg
  • -
  • del.icio.us
  • -
  • Google Bookmarks
  • -
  • Slashdot
  • -
  • StumbleUpon
  • -
  • email
  • -
  • LinkedIn
  • -
  • Reddit
  • -
-
- - -
- -
- - -
- - - - -
- -
- - - - - - - - - - - \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.VERSION.txt b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.VERSION.txt deleted file mode 100644 index 359a5b95..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.VERSION.txt +++ /dev/null @@ -1 +0,0 @@ -2.0.0 \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.cpg b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.cpg deleted file mode 100644 index cd89cb97..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.cpg +++ /dev/null @@ -1 +0,0 @@ -ISO-8859-1 \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.dbf b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.dbf deleted file mode 100644 index f555bb47..00000000 Binary files a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.dbf and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.prj b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.prj deleted file mode 100644 index f45cbadf..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.prj +++ /dev/null @@ -1 +0,0 @@ -GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]] \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.shp b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.shp deleted file mode 100644 index a7bcefa0..00000000 Binary files a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.shp and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.shx b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.shx deleted file mode 100644 index ce83da73..00000000 Binary files a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_cities/naturalearth_cities.shx and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_creation.py b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_creation.py deleted file mode 100644 index 2942deb2..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_creation.py +++ /dev/null @@ -1,128 +0,0 @@ -""" -Script that generates the included dataset 'naturalearth_lowres.shp' -and 'naturalearth_cities.shp'. - -Raw data: https://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_admin_0_countries.zip -Current version used: see code -""" - -import geopandas as gpd -import requests -from pathlib import Path -from zipfile import ZipFile -import tempfile -from shapely.geometry import box - -version = "latest" -urlbase = "https://www.naturalearthdata.com/" -urlbase += "http//www.naturalearthdata.com/download/110m/cultural/" - - -def countries_override(world_raw): - # not ideal - fix some country codes - mask = world_raw["ISO_A3"].eq("-99") & world_raw["TYPE"].isin( - ["Sovereign country", "Country"] - ) - world_raw.loc[mask, "ISO_A3"] = world_raw.loc[mask, "ADM0_A3"] - # backwards compatibility - return world_raw.rename(columns={"GDP_MD": "GDP_MD_EST"}) - - -# any change between versions? -def df_same(new, old, dataset, log): - assert (new.columns == old.columns).all(), "columns should be the same" - if new.shape != old.shape: - dfc = old.merge(new, on="name", how="outer", suffixes=("_old", "_new")).loc[ - lambda d: d.isna().any(axis=1) - ] - log.append(f"### {dataset} row count changed ###\n{dfc.to_markdown()}") - return False - dfc = new.compare(old) - if len(dfc) > 0: - log.append(f"### {dataset} data changed ###\n{dfc.to_markdown()}") - return len(dfc) == 0 - - -config = [ - { - "file": "ne_110m_populated_places.zip", - "cols": ["NAME", "geometry"], - "current": gpd.datasets.get_path("naturalearth_cities"), - }, - { - "file": "ne_110m_admin_0_countries.zip", - "cols": ["POP_EST", "CONTINENT", "NAME", "ISO_A3", "GDP_MD_EST", "geometry"], - "override": countries_override, - "current": gpd.datasets.get_path("naturalearth_lowres"), - }, -] - -downloads = {} -log = [] -for dl in config: - with tempfile.TemporaryDirectory() as tmpdirname: - url = urlbase + dl["file"] - r = requests.get( - url, - stream=True, - headers={"User-Agent": "XY"}, - params=None if version == "latest" else {"version": version}, - ) - assert ( - r.status_code == 200 - ), f"version: {version} does not exist. status: {r.status_code}" - - f = Path(tmpdirname).joinpath(dl["file"]) - with open(f, "wb") as fd: - for chunk in r.iter_content(chunk_size=128): - fd.write(chunk) - # extract the natural earth version - z = ZipFile(f) - version_f = [i for i in z.infolist() if "VERSION" in i.filename] - assert len(version_f) == 1, "failed to find VERSION file" - with open(z.extract(version_f[0], Path(tmpdirname).joinpath("v.txt"))) as f_: - dl_version = f_.read().strip() - - # extract geodataframe from zip - gdf = gpd.read_file(f) - # maintain structure that geopandas distributes - if "override" in dl.keys(): - gdf = dl["override"](gdf) - gdf = gdf.loc[:, dl["cols"]] - gdf = gdf.rename(columns={c: c.lower() for c in gdf.columns}) - - # override Crimea #2382 - if dl["file"] == "ne_110m_admin_0_countries.zip": - crimean_bbox = box(32.274, 44.139, 36.65, 46.704) - crimea_only = ( - gdf.loc[gdf.name == "Russia", "geometry"] - .iloc[0] - .intersection(crimean_bbox) - ) - complete_ukraine = ( - gdf.loc[gdf.name == "Ukraine", "geometry"].iloc[0].union(crimea_only) - ) - correct_russia = ( - gdf.loc[gdf.name == "Russia", "geometry"] - .iloc[0] - .difference(crimean_bbox) - ) - r_ix = gdf.loc[gdf.name == "Russia"].index[0] - gdf.at[r_ix, "geometry"] = correct_russia - - u_ix = gdf.loc[gdf.name == "Ukraine"].index[0] - gdf.at[u_ix, "geometry"] = complete_ukraine - - # get changes between current version and new version - if not df_same(gdf, gpd.read_file(dl["current"]), dl["file"], log): - downloads[dl["file"]] = gdf - - -# create change log that can be pasted into PR -with open(f"CHANGE_{dl_version}.md", "w") as f: - f.write("\n\n".join(log)) - -# save downloaded geodataframe to appropriate place -for k, gdf_ in downloads.items(): - f = [Path(c["current"]) for c in config if c["file"] == k][0] - gdf_.to_file(driver="ESRI Shapefile", filename=Path(f.parent.name).joinpath(f.name)) diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.cpg b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.cpg deleted file mode 100644 index cd89cb97..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.cpg +++ /dev/null @@ -1 +0,0 @@ -ISO-8859-1 \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.dbf b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.dbf deleted file mode 100644 index 25e21faf..00000000 Binary files a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.dbf and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.prj b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.prj deleted file mode 100644 index f45cbadf..00000000 --- a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.prj +++ /dev/null @@ -1 +0,0 @@ -GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]] \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shp b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shp deleted file mode 100644 index 5a3440b2..00000000 Binary files a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shp and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shx b/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shx deleted file mode 100644 index 275512f8..00000000 Binary files a/.venv/lib/python3.12/site-packages/geopandas/datasets/naturalearth_lowres/naturalearth_lowres.shx and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/datasets/nybb_16a.zip b/.venv/lib/python3.12/site-packages/geopandas/datasets/nybb_16a.zip deleted file mode 100644 index 514dc949..00000000 Binary files a/.venv/lib/python3.12/site-packages/geopandas/datasets/nybb_16a.zip and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/explore.py b/.venv/lib/python3.12/site-packages/geopandas/explore.py index 49509712..652dd6dd 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/explore.py +++ b/.venv/lib/python3.12/site-packages/geopandas/explore.py @@ -1,11 +1,14 @@ +import warnings +from packaging.version import Version from statistics import mean -import geopandas -from shapely.geometry import LineString import numpy as np import pandas as pd +from pandas.api.types import is_datetime64_any_dtype -from packaging.version import Version +from shapely.geometry import LineString + +import geopandas _MAP_KWARGS = [ "location", @@ -277,13 +280,14 @@ def _explore( return cm.get_cmap(_cmap, n_resample)(idx) try: + import re + import branca as bc import folium - import re import matplotlib - from matplotlib import colors import matplotlib.pyplot as plt from mapclassify import classify + from matplotlib import colors # isolate MPL version - GH#2596 MPL_361 = Version(matplotlib.__version__) >= Version("3.6.1") @@ -316,6 +320,8 @@ def _explore( gdf.geometry[rings_mask] = gdf.geometry[rings_mask].apply( lambda g: LineString(g) ) + if isinstance(gdf, geopandas.GeoSeries): + gdf = gdf.to_frame() if gdf.crs is None: kwargs["crs"] = "Simple" @@ -323,12 +329,25 @@ def _explore( elif not gdf.crs.equals(4326): gdf = gdf.to_crs(4326) + # Fields which are not JSON serializable are coerced to strings + json_not_supported_cols = gdf.columns[ + [is_datetime64_any_dtype(gdf[c]) for c in gdf.columns] + ].union(gdf.columns[gdf.dtypes == "object"]) + + if len(json_not_supported_cols) > 0: + gdf = gdf.astype({c: "string" for c in json_not_supported_cols}) + + if not isinstance(gdf.index, pd.MultiIndex) and ( + is_datetime64_any_dtype(gdf.index) or (gdf.index.dtype == "object") + ): + gdf.index = gdf.index.astype("string") + # create folium.Map object if m is None: # Get bounds to specify location and map extent bounds = gdf.total_bounds location = kwargs.pop("location", None) - if location is None: + if location is None and not np.isnan(bounds).all(): x = mean([bounds[0], bounds[2]]) y = mean([bounds[1], bounds[3]]) location = (y, x) @@ -381,6 +400,15 @@ def _explore( if fit: m.fit_bounds([[bounds[1], bounds[0]], [bounds[3], bounds[2]]]) + if gdf.is_empty.all(): + warnings.warn( + "The GeoSeries you are attempting to plot is " + "composed of empty geometries. Nothing has been displayed.", + UserWarning, + stacklevel=3, + ) + return m + for map_kwd in _MAP_KWARGS: kwargs.pop(map_kwd, None) @@ -618,11 +646,13 @@ def _explore( tooltip = None popup = None # escape the curly braces {{}} for jinja2 templates - feature_collection = gdf.__geo_interface__ + feature_collection = gdf[ + ~(gdf.geometry.isna() | gdf.geometry.is_empty) # drop missing or empty geoms + ].__geo_interface__ for feature in feature_collection["features"]: for k in feature["properties"]: # escape the curly braces in values - if type(feature["properties"][k]) == str: + if isinstance(feature["properties"][k], str): feature["properties"][k] = re.sub( r"\{{2,}", lambda x: "{% raw %}" + x.group(0) + "{% endraw %}", diff --git a/.venv/lib/python3.12/site-packages/geopandas/geodataframe.py b/.venv/lib/python3.12/site-packages/geopandas/geodataframe.py index ef456d4a..339315d6 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/geodataframe.py +++ b/.venv/lib/python3.12/site-packages/geopandas/geodataframe.py @@ -3,23 +3,26 @@ import warnings import numpy as np import pandas as pd -import shapely.errors from pandas import DataFrame, Series -from pandas.core.accessor import CachedAccessor +import shapely.errors from shapely.geometry import mapping, shape from shapely.geometry.base import BaseGeometry -from pyproj import CRS - +import geopandas.io from geopandas.array import GeometryArray, GeometryDtype, from_shapely, to_wkb, to_wkt from geopandas.base import GeoPandasBase, is_geometry_type -from geopandas.geoseries import GeoSeries -import geopandas.io from geopandas.explore import _explore -from . import _compat as compat +from geopandas.geoseries import GeoSeries + +from ._compat import HAS_PYPROJ, PANDAS_GE_30 from ._decorator import doc +if PANDAS_GE_30: + from pandas.core.accessor import Accessor +else: + from pandas.core.accessor import CachedAccessor as Accessor + def _geodataframe_constructor_with_fallback(*args, **kwargs): """ @@ -50,7 +53,10 @@ def _ensure_geometry(data, crs=None): if data.crs is None and crs is not None: # Avoids caching issues/crs sharing issues data = data.copy() - data.crs = crs + if isinstance(data, GeometryArray): + data.crs = crs + else: + data.array.crs = crs return data else: if isinstance(data, Series): @@ -71,8 +77,8 @@ crs_mismatch_error = ( class GeoDataFrame(GeoPandasBase, DataFrame): """ - A GeoDataFrame object is a pandas.DataFrame that has a column - with geometry. In addition to the standard DataFrame constructor arguments, + A GeoDataFrame object is a pandas.DataFrame that has one or more columns + containing geometry. In addition to the standard DataFrame constructor arguments, GeoDataFrame also accepts the following keyword arguments: Parameters @@ -81,9 +87,16 @@ class GeoDataFrame(GeoPandasBase, DataFrame): Coordinate Reference System of the geometry objects. Can be anything accepted by :meth:`pyproj.CRS.from_user_input() `, such as an authority string (eg "EPSG:4326") or a WKT string. - geometry : str or array (optional) - If str, column to use as geometry. If array, will be set as 'geometry' - column on GeoDataFrame. + geometry : str or array-like (optional) + Value to use as the active geometry column. + If str, treated as column name to use. If array-like, it will be + added as new column named 'geometry' on the GeoDataFrame and set as the + active geometry column. + + Note that if ``geometry`` is a (Geo)Series with a + name, the name will not be used, a column named "geometry" will still be + added. To preserve the name, you can use :meth:`~GeoDataFrame.rename_geometry` + to update the geometry column name. Examples -------- @@ -93,9 +106,9 @@ class GeoDataFrame(GeoPandasBase, DataFrame): >>> d = {'col1': ['name1', 'name2'], 'geometry': [Point(1, 2), Point(2, 1)]} >>> gdf = geopandas.GeoDataFrame(d, crs="EPSG:4326") >>> gdf - col1 geometry - 0 name1 POINT (1.00000 2.00000) - 1 name2 POINT (2.00000 1.00000) + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) Notice that the inferred dtype of 'geometry' columns is geometry. @@ -112,9 +125,9 @@ class GeoDataFrame(GeoPandasBase, DataFrame): >>> gs = geopandas.GeoSeries.from_wkt(df['wkt']) >>> gdf = geopandas.GeoDataFrame(df, geometry=gs, crs="EPSG:4326") >>> gdf - col1 wkt geometry - 0 name1 POINT (1 2) POINT (1.00000 2.00000) - 1 name2 POINT (2 1) POINT (2.00000 1.00000) + col1 wkt geometry + 0 name1 POINT (1 2) POINT (1 2) + 1 name2 POINT (2 1) POINT (2 1) See also -------- @@ -129,14 +142,13 @@ class GeoDataFrame(GeoPandasBase, DataFrame): _geometry_column_name = None def __init__(self, data=None, *args, geometry=None, crs=None, **kwargs): - with compat.ignore_shapely2_warnings(): - if ( - kwargs.get("copy") is None - and isinstance(data, DataFrame) - and not isinstance(data, GeoDataFrame) - ): - kwargs.update(copy=True) - super().__init__(data, *args, **kwargs) + if ( + kwargs.get("copy") is None + and isinstance(data, DataFrame) + and not isinstance(data, GeoDataFrame) + ): + kwargs.update(copy=True) + super().__init__(data, *args, **kwargs) # set_geometry ensures the geometry data have the proper dtype, # but is not called if `geometry=None` ('geometry' column present @@ -189,6 +201,11 @@ class GeoDataFrame(GeoPandasBase, DataFrame): ): raise ValueError(crs_mismatch_error) + if hasattr(geometry, "name") and geometry.name not in ("geometry", None): + # __init__ always creates geometry col named "geometry" + # rename as `set_geometry` respects the given series name + geometry = geometry.rename("geometry") + self.set_geometry(geometry, inplace=True, crs=crs) if geometry is None and crs: @@ -246,7 +263,7 @@ class GeoDataFrame(GeoPandasBase, DataFrame): fget=_get_geometry, fset=_set_geometry, doc="Geometry data for GeoDataFrame" ) - def set_geometry(self, col, drop=False, inplace=False, crs=None): + def set_geometry(self, col, drop=None, inplace=False, crs=None): """ Set the GeoDataFrame geometry using either an existing column or the specified input. By default yields a new object. @@ -255,9 +272,20 @@ class GeoDataFrame(GeoPandasBase, DataFrame): Parameters ---------- - col : column label or array + col : column label or array-like + An existing column name or values to set as the new geometry column. + If values (array-like, (Geo)Series) are passed, then if they are named + (Series) the new geometry column will have the corresponding name, + otherwise the existing geometry column will be replaced. If there is + no existing geometry column, the new geometry column will use the + default name "geometry". drop : boolean, default False - Delete column to be used as the new geometry + When specifying a named Series or an existing column name for `col`, + controls if the previous geometry column should be dropped from the + result. The default of False keeps both the old and new geometry column. + + .. deprecated:: 1.0.0 + inplace : boolean, default False Modify the GeoDataFrame in place (do not create a new object) crs : pyproj.CRS, optional @@ -273,25 +301,25 @@ class GeoDataFrame(GeoPandasBase, DataFrame): >>> d = {'col1': ['name1', 'name2'], 'geometry': [Point(1, 2), Point(2, 1)]} >>> gdf = geopandas.GeoDataFrame(d, crs="EPSG:4326") >>> gdf - col1 geometry - 0 name1 POINT (1.00000 2.00000) - 1 name2 POINT (2.00000 1.00000) + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) Passing an array: >>> df1 = gdf.set_geometry([Point(0,0), Point(1,1)]) >>> df1 - col1 geometry - 0 name1 POINT (0.00000 0.00000) - 1 name2 POINT (1.00000 1.00000) + col1 geometry + 0 name1 POINT (0 0) + 1 name2 POINT (1 1) Using existing column: >>> gdf["buffered"] = gdf.buffer(2) >>> df2 = gdf.set_geometry("buffered") >>> df2.geometry - 0 POLYGON ((3.00000 2.00000, 2.99037 1.80397, 2.... - 1 POLYGON ((4.00000 1.00000, 3.99037 0.80397, 3.... + 0 POLYGON ((3 2, 2.99037 1.80397, 2.96157 1.6098... + 1 POLYGON ((4 1, 3.99037 0.80397, 3.96157 0.6098... Name: buffered, dtype: geometry Returns @@ -306,47 +334,79 @@ class GeoDataFrame(GeoPandasBase, DataFrame): if inplace: frame = self else: - frame = self.copy() + if PANDAS_GE_30: + frame = self.copy(deep=False) + else: + frame = self.copy() - to_remove = None geo_column_name = self._geometry_column_name + if geo_column_name is None: geo_column_name = "geometry" if isinstance(col, (Series, list, np.ndarray, GeometryArray)): + if drop: + msg = ( + "The `drop` keyword argument is deprecated and has no effect when " + "`col` is an array-like value. You should stop passing `drop` to " + "`set_geometry` when this is the case." + ) + warnings.warn(msg, category=FutureWarning, stacklevel=2) + if isinstance(col, Series) and col.name is not None: + geo_column_name = col.name + level = col elif hasattr(col, "ndim") and col.ndim > 1: raise ValueError("Must pass array with one dimension only.") - else: + else: # should be a colname try: level = frame[col] except KeyError: raise ValueError("Unknown column %s" % col) - except Exception: - raise if isinstance(level, DataFrame): raise ValueError( "GeoDataFrame does not support setting the geometry column where " "the column name is shared by multiple columns." ) - if drop: - to_remove = col - else: - geo_column_name = col + given_colname_drop_msg = ( + "The `drop` keyword argument is deprecated and in future the only " + "supported behaviour will match drop=False. To silence this " + "warning and adopt the future behaviour, stop providing " + "`drop` as a keyword to `set_geometry`. To replicate the " + "`drop=True` behaviour you should update " + "your code to\n`geo_col_name = gdf.active_geometry_name;" + " gdf.set_geometry(new_geo_col).drop(" + "columns=geo_col_name).rename_geometry(geo_col_name)`." + ) - if to_remove: - del frame[to_remove] + if drop is False: # specifically False, not falsy i.e. None + # User supplied False explicitly, but arg is deprecated + warnings.warn( + given_colname_drop_msg, + category=FutureWarning, + stacklevel=2, + ) + if drop: + del frame[col] + warnings.warn( + given_colname_drop_msg, + category=FutureWarning, + stacklevel=2, + ) + else: + # if not dropping, set the active geometry name to the given col name + geo_column_name = col if not crs: crs = getattr(level, "crs", None) - if isinstance(level, (GeoSeries, GeometryArray)) and level.crs != crs: - # Avoids caching issues/crs sharing issues - level = level.copy() - level.crs = crs - # Check that we are using a listlike of geometries level = _ensure_geometry(level, crs=crs) + # ensure_geometry only sets crs on level if it has crs==None + if isinstance(level, GeoSeries): + level.array.crs = crs + else: + level.crs = crs # update _geometry_column_name prior to assignment # to avoid default is None warning frame._geometry_column_name = geo_column_name @@ -394,11 +454,31 @@ class GeoDataFrame(GeoPandasBase, DataFrame): else: if not inplace: return self.rename(columns={geometry_col: col}).set_geometry( - col, inplace + col, inplace=inplace ) self.rename(columns={geometry_col: col}, inplace=inplace) self.set_geometry(col, inplace=inplace) + @property + def active_geometry_name(self): + """Return the name of the active geometry column + + Returns a string name if a GeoDataFrame has an active geometry column set. + Otherwise returns None. You can also access the active geometry column using the + ``.geometry`` property. You can set a GeoSeries to be an active geometry + using the :meth:`~GeoDataFrame.set_geometry` method. + + Returns + ------- + str + name of an active geometry column or None + + See also + -------- + GeoDataFrame.set_geometry : set the active geometry + """ + return self._geometry_column_name + @property def crs(self): """ @@ -453,6 +533,14 @@ class GeoDataFrame(GeoPandasBase, DataFrame): ) if hasattr(self.geometry.values, "crs"): + if self.crs is not None: + warnings.warn( + "Overriding the CRS of a GeoDataFrame that already has CRS. " + "This unsafe behavior will be deprecated in future versions. " + "Use GeoDataFrame.set_crs method instead", + stacklevel=2, + category=DeprecationWarning, + ) self.geometry.values.crs = value else: # column called 'geometry' without geometry @@ -470,7 +558,15 @@ class GeoDataFrame(GeoPandasBase, DataFrame): crs = state.pop("crs", None) else: crs = state.pop("_crs", None) - crs = CRS.from_user_input(crs) if crs is not None else crs + if crs is not None and not HAS_PYPROJ: + raise ImportError( + "Unpickling a GeoDataFrame with CRS requires the 'pyproj' package, " + "but it is not installed or does not import correctly. " + ) + elif crs is not None: + from pyproj import CRS + + crs = CRS.from_user_input(crs) super().__setstate__(state) @@ -517,17 +613,17 @@ class GeoDataFrame(GeoPandasBase, DataFrame): It is recommended to use :func:`geopandas.read_file` instead. Can load a ``GeoDataFrame`` from a file in any format recognized by - `fiona`. See http://fiona.readthedocs.io/en/latest/manual.html for details. + `pyogrio`. See http://pyogrio.readthedocs.io/ for details. Parameters ---------- filename : str File path or file handle to read from. Depending on which kwargs are included, the content of filename may vary. See - http://fiona.readthedocs.io/en/latest/README.html#usage for usage details. + :func:`pyogrio.read_dataframe` for usage details. kwargs : key-word arguments - These arguments are passed to fiona.open, and can be used to - access multi-layer data, data stored within archives (zip files), + These arguments are passed to :func:`pyogrio.read_dataframe`, and can be + used to access multi-layer data, data stored within archives (zip files), etc. Examples @@ -616,9 +712,9 @@ class GeoDataFrame(GeoPandasBase, DataFrame): ... } >>> df = geopandas.GeoDataFrame.from_features(feature_coll) >>> df - geometry col1 - 0 POINT (1.00000 2.00000) name1 - 1 POINT (2.00000 1.00000) name2 + geometry col1 + 0 POINT (1 2) name1 + 1 POINT (2 1) name2 """ # Handle feature collections @@ -732,6 +828,42 @@ class GeoDataFrame(GeoPandasBase, DataFrame): return df + @classmethod + def from_arrow(cls, table, geometry=None): + """ + Construct a GeoDataFrame from a Arrow table object based on GeoArrow + extension types. + + See https://geoarrow.org/ for details on the GeoArrow specification. + + This functions accepts any tabular Arrow object implementing + the `Arrow PyCapsule Protocol`_ (i.e. having an ``__arrow_c_array__`` + or ``__arrow_c_stream__`` method). + + .. _Arrow PyCapsule Protocol: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html + + .. versionadded:: 1.0 + + Parameters + ---------- + table : pyarrow.Table or Arrow-compatible table + Any tabular object implementing the Arrow PyCapsule Protocol + (i.e. has an ``__arrow_c_array__`` or ``__arrow_c_stream__`` + method). This table should have at least one column with a + geoarrow geometry type. + geometry : str, default None + The name of the geometry column to set as the active geometry + column. If None, the first geometry column found will be used. + + Returns + ------- + GeoDataFrame + + """ + from geopandas.io._geoarrow import arrow_to_geopandas + + return arrow_to_geopandas(table, geometry=geometry) + def to_json( self, na="null", show_bbox=False, drop_id=False, to_wgs84=False, **kwargs ): @@ -779,9 +911,9 @@ class GeoDataFrame(GeoPandasBase, DataFrame): >>> d = {'col1': ['name1', 'name2'], 'geometry': [Point(1, 2), Point(2, 1)]} >>> gdf = geopandas.GeoDataFrame(d, crs="EPSG:3857") >>> gdf - col1 geometry - 0 name1 POINT (1.000 2.000) - 1 name2 POINT (2.000 1.000) + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) >>> gdf.to_json() '{"type": "FeatureCollection", "features": [{"id": "0", "type": "Feature", \ @@ -809,7 +941,7 @@ es": {"name": "urn:ogc:def:crs:EPSG::3857"}}}' else: df = self - geo = df._to_geo(na=na, show_bbox=show_bbox, drop_id=drop_id) + geo = df.to_geo_dict(na=na, show_bbox=show_bbox, drop_id=drop_id) # if the geometry is not in WGS84, include CRS in the JSON if df.crs is not None and not df.crs.equals("epsg:4326"): @@ -837,7 +969,7 @@ es": {"name": "urn:ogc:def:crs:EPSG::3857"}}}' represents the ``GeoDataFrame`` as a GeoJSON-like ``FeatureCollection``. - This differs from `_to_geo()` only in that it is a property with + This differs from :meth:`to_geo_dict` only in that it is a property with default args instead of a method. CRS of the dataframe is not passed on to the output, unlike @@ -850,9 +982,9 @@ es": {"name": "urn:ogc:def:crs:EPSG::3857"}}}' >>> d = {'col1': ['name1', 'name2'], 'geometry': [Point(1, 2), Point(2, 1)]} >>> gdf = geopandas.GeoDataFrame(d, crs="EPSG:4326") >>> gdf - col1 geometry - 0 name1 POINT (1.00000 2.00000) - 1 name2 POINT (2.00000 1.00000) + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) >>> gdf.__geo_interface__ {'type': 'FeatureCollection', 'features': [{'id': '0', 'type': 'Feature', \ @@ -861,7 +993,7 @@ es": {"name": "urn:ogc:def:crs:EPSG::3857"}}}' ': {'col1': 'name2'}, 'geometry': {'type': 'Point', 'coordinates': (2.0, 1.0)}, 'b\ box': (2.0, 1.0, 2.0, 1.0)}], 'bbox': (1.0, 1.0, 2.0, 2.0)} """ - return self._to_geo(na="null", show_bbox=True, drop_id=False) + return self.to_geo_dict(na="null", show_bbox=True, drop_id=False) def iterfeatures(self, na="null", show_bbox=False, drop_id=False): """ @@ -893,9 +1025,9 @@ individually so that features may have different properties >>> d = {'col1': ['name1', 'name2'], 'geometry': [Point(1, 2), Point(2, 1)]} >>> gdf = geopandas.GeoDataFrame(d, crs="EPSG:4326") >>> gdf - col1 geometry - 0 name1 POINT (1.00000 2.00000) - 1 name2 POINT (2.00000 1.00000) + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) >>> feature = next(gdf.iterfeatures()) >>> feature @@ -907,8 +1039,8 @@ individually so that features may have different properties if self._geometry_column_name not in self: raise AttributeError( - "No geometry data set (expected in" - " column '%s')." % self._geometry_column_name + "No geometry data set (expected in column '%s')." + % self._geometry_column_name ) ids = np.array(self.index, copy=False) @@ -971,18 +1103,60 @@ individually so that features may have different properties yield feature - def _to_geo(self, **kwargs): + def to_geo_dict(self, na="null", show_bbox=False, drop_id=False): """ - Returns a python feature collection (i.e. the geointerface) - representation of the GeoDataFrame. + Returns a python feature collection representation of the GeoDataFrame + as a dictionary with a list of features based on the ``__geo_interface__`` + GeoJSON-like specification. + + Parameters + ---------- + na : str, optional + Options are {'null', 'drop', 'keep'}, default 'null'. + Indicates how to output missing (NaN) values in the GeoDataFrame + + - null: output the missing entries as JSON null + - drop: remove the property from the feature. This applies to each feature \ +individually so that features may have different properties + - keep: output the missing entries as NaN + + show_bbox : bool, optional + Include bbox (bounds) in the geojson. Default False. + drop_id : bool, default: False + Whether to retain the index of the GeoDataFrame as the id property + in the generated dictionary. Default is False, but may want True + if the index is just arbitrary row numbers. + + Examples + -------- + + >>> from shapely.geometry import Point + >>> d = {'col1': ['name1', 'name2'], 'geometry': [Point(1, 2), Point(2, 1)]} + >>> gdf = geopandas.GeoDataFrame(d) + >>> gdf + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) + + >>> gdf.to_geo_dict() + {'type': 'FeatureCollection', 'features': [{'id': '0', 'type': 'Feature', '\ +properties': {'col1': 'name1'}, 'geometry': {'type': 'Point', 'coordinates': (1.0, \ +2.0)}}, {'id': '1', 'type': 'Feature', 'properties': {'col1': 'name2'}, 'geometry':\ + {'type': 'Point', 'coordinates': (2.0, 1.0)}}]} + + See also + -------- + GeoDataFrame.to_json : return a GeoDataFrame as a GeoJSON string """ geo = { "type": "FeatureCollection", - "features": list(self.iterfeatures(**kwargs)), + "features": list( + self.iterfeatures(na=na, show_bbox=show_bbox, drop_id=drop_id) + ), } - if kwargs.get("show_bbox", False): + if show_bbox: geo["bbox"] = tuple(self.total_bounds) return geo @@ -998,8 +1172,7 @@ individually so that features may have different properties The default is to return a binary bytes object. kwargs Additional keyword args will be passed to - :func:`shapely.to_wkb` if shapely >= 2 is installed or - :func:`pygeos.to_wkb` if pygeos is installed. + :func:`shapely.to_wkb`. Returns ------- @@ -1022,8 +1195,7 @@ individually so that features may have different properties Parameters ---------- kwargs - Keyword args will be passed to :func:`pygeos.to_wkt` - if pygeos is installed. + Keyword args will be passed to :func:`shapely.to_wkt`. Returns ------- @@ -1039,24 +1211,111 @@ individually so that features may have different properties return df + def to_arrow( + self, *, index=None, geometry_encoding="WKB", interleaved=True, include_z=None + ): + """Encode a GeoDataFrame to GeoArrow format. + + See https://geoarrow.org/ for details on the GeoArrow specification. + + This functions returns a generic Arrow data object implementing + the `Arrow PyCapsule Protocol`_ (i.e. having an ``__arrow_c_stream__`` + method). This object can then be consumed by your Arrow implementation + of choice that supports this protocol. + + .. _Arrow PyCapsule Protocol: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html + + .. versionadded:: 1.0 + + Parameters + ---------- + index : bool, default None + If ``True``, always include the dataframe's index(es) as columns + in the file output. + If ``False``, the index(es) will not be written to the file. + If ``None``, the index(ex) will be included as columns in the file + output except `RangeIndex` which is stored as metadata only. + geometry_encoding : {'WKB', 'geoarrow' }, default 'WKB' + The GeoArrow encoding to use for the data conversion. + interleaved : bool, default True + Only relevant for 'geoarrow' encoding. If True, the geometries' + coordinates are interleaved in a single fixed size list array. + If False, the coordinates are stored as separate arrays in a + struct type. + include_z : bool, default None + Only relevant for 'geoarrow' encoding (for WKB, the dimensionality + of the individial geometries is preserved). + If False, return 2D geometries. If True, include the third dimension + in the output (if a geometry has no third dimension, the z-coordinates + will be NaN). By default, will infer the dimensionality from the + input geometries. Note that this inference can be unreliable with + empty geometries (for a guaranteed result, it is recommended to + specify the keyword). + + Returns + ------- + ArrowTable + A generic Arrow table object with geometry columns encoded to + GeoArrow. + + Examples + -------- + >>> from shapely.geometry import Point + >>> data = {'col1': ['name1', 'name2'], 'geometry': [Point(1, 2), Point(2, 1)]} + >>> gdf = geopandas.GeoDataFrame(data) + >>> gdf + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) + + >>> arrow_table = gdf.to_arrow() + >>> arrow_table + + + The returned data object needs to be consumed by a library implementing + the Arrow PyCapsule Protocol. For example, wrapping the data as a + pyarrow.Table (requires pyarrow >= 14.0): + + >>> import pyarrow as pa + >>> table = pa.table(arrow_table) + >>> table + pyarrow.Table + col1: string + geometry: binary + ---- + col1: [["name1","name2"]] + geometry: [[0101000000000000000000F03F0000000000000040,\ +01010000000000000000000040000000000000F03F]] + + """ + from geopandas.io._geoarrow import ArrowTable, geopandas_to_arrow + + table, _ = geopandas_to_arrow( + self, + index=index, + geometry_encoding=geometry_encoding, + interleaved=interleaved, + include_z=include_z, + ) + return ArrowTable(table) + def to_parquet( - self, path, index=None, compression="snappy", schema_version=None, **kwargs + self, + path, + index=None, + compression="snappy", + geometry_encoding="WKB", + write_covering_bbox=False, + schema_version=None, + **kwargs, ): """Write a GeoDataFrame to the Parquet format. - Any geometry columns present are serialized to WKB format in the file. + By default, all geometry columns present are serialized to WKB format + in the file. Requires 'pyarrow'. - WARNING: this is an early implementation of Parquet file support and - associated metadata, the specification for which continues to evolve. - This is tracking version 0.4.0 of the GeoParquet specification at: - https://github.com/opengeospatial/geoparquet - - This metadata specification does not yet make stability promises. As such, - we do not yet recommend using this in a production setting unless you are - able to rewrite your Parquet files. - .. versionadded:: 0.8 Parameters @@ -1070,9 +1329,25 @@ individually so that features may have different properties output except `RangeIndex` which is stored as metadata only. compression : {'snappy', 'gzip', 'brotli', None}, default 'snappy' Name of the compression to use. Use ``None`` for no compression. - schema_version : {'0.1.0', '0.4.0', None} - GeoParquet specification version; if not provided will default to - latest supported version. + geometry_encoding : {'WKB', 'geoarrow'}, default 'WKB' + The encoding to use for the geometry columns. Defaults to "WKB" + for maximum interoperability. Specify "geoarrow" to use one of the + native GeoArrow-based single-geometry type encodings. + Note: the "geoarrow" option is part of the newer GeoParquet 1.1 + specification, should be considered as experimental, and may not + be supported by all readers. + write_covering_bbox : bool, default False + Writes the bounding box column for each row entry with column + name 'bbox'. Writing a bbox column can be computationally + expensive, but allows you to specify a `bbox` in : + func:`read_parquet` for filtered reading. + Note: this bbox column is part of the newer GeoParquet 1.1 + specification and should be considered as experimental. While + writing the column is backwards compatible, using it for filtering + may not be supported by all readers. + schema_version : {'0.1.0', '0.4.0', '1.0.0', '1.1.0', None} + GeoParquet specification version; if not provided, will default to + latest supported stable version (1.0.0). kwargs Additional keyword arguments passed to :func:`pyarrow.parquet.write_table`. @@ -1093,7 +1368,7 @@ individually so that features may have different properties engine = kwargs.pop("engine", "auto") if engine not in ("auto", "pyarrow"): raise ValueError( - f"GeoPandas only supports using pyarrow as the engine for " + "GeoPandas only supports using pyarrow as the engine for " f"to_parquet: {engine!r} passed instead." ) @@ -1103,8 +1378,10 @@ individually so that features may have different properties self, path, compression=compression, + geometry_encoding=geometry_encoding, index=index, schema_version=schema_version, + write_covering_bbox=write_covering_bbox, **kwargs, ) @@ -1117,15 +1394,6 @@ individually so that features may have different properties Requires 'pyarrow' >= 0.17. - WARNING: this is an early implementation of Parquet file support and - associated metadata, the specification for which continues to evolve. - This is tracking version 0.4.0 of the GeoParquet specification at: - https://github.com/opengeospatial/geoparquet - - This metadata specification does not yet make stability promises. As such, - we do not yet recommend using this in a production setting unless you are - able to rewrite your Feather files. - .. versionadded:: 0.8 Parameters @@ -1140,7 +1408,7 @@ individually so that features may have different properties compression : {'zstd', 'lz4', 'uncompressed'}, optional Name of the compression to use. Use ``"uncompressed"`` for no compression. By default uses LZ4 if available, otherwise uncompressed. - schema_version : {'0.1.0', '0.4.0', None} + schema_version : {'0.1.0', '0.4.0', '1.0.0', None} GeoParquet specification version; if not provided will default to latest supported version. kwargs @@ -1173,11 +1441,11 @@ individually so that features may have different properties """Write the ``GeoDataFrame`` to a file. By default, an ESRI shapefile is written, but any OGR data source - supported by Fiona can be written. A dictionary of supported OGR + supported by Pyogrio or Fiona can be written. A dictionary of supported OGR providers is available via: - >>> import fiona - >>> fiona.supported_drivers # doctest: +SKIP + >>> import pyogrio + >>> pyogrio.list_drivers() # doctest: +SKIP Parameters ---------- @@ -1212,18 +1480,22 @@ individually so that features may have different properties will determine the crs based on crs df attribute. The value can be anything accepted by :meth:`pyproj.CRS.from_user_input() `, - such as an authority string (eg "EPSG:4326") or a WKT string. - engine : str, "fiona" or "pyogrio" + such as an authority string (eg "EPSG:4326") or a WKT string. The keyword + is not supported for the "pyogrio" engine. + engine : str, "pyogrio" or "fiona" The underlying library that is used to write the file. Currently, the - supported options are "fiona" and "pyogrio". Defaults to "fiona" if - installed, otherwise tries "pyogrio". + supported options are "pyogrio" and "fiona". Defaults to "pyogrio" if + installed, otherwise tries "fiona". + metadata : dict[str, str], default None + Optional metadata to be stored in the file. Keys and values must be + strings. Supported only for "GPKG" driver. **kwargs : Keyword args to be passed to the engine, and can be used to write to multi-layer data, store data within archives (zip files), etc. - In case of the "fiona" engine, the keyword arguments are passed to - fiona.open`. For more information on possible keywords, type: - ``import fiona; help(fiona.open)``. In case of the "pyogrio" engine, - the keyword arguments are passed to `pyogrio.write_dataframe`. + In case of the "pyogrio" engine, the keyword arguments are passed to + `pyogrio.write_dataframe`. In case of the "fiona" engine, the keyword + arguments are passed to fiona.open`. For more information on possible + keywords, type: ``import pyogrio; help(pyogrio.write_dataframe)``. Notes ----- @@ -1270,16 +1542,20 @@ individually so that features may have different properties If there are multiple geometry columns within the GeoDataFrame, only the CRS of the active geometry column is set. - NOTE: The underlying geometries are not transformed to this CRS. To + Pass ``None`` to remove CRS from the active geometry column. + + Notes + ----- + The underlying geometries are not transformed to this CRS. To transform the geometries to a new CRS, use the ``to_crs`` method. Parameters ---------- - crs : pyproj.CRS, optional if `epsg` is specified + crs : pyproj.CRS | None, optional The value can be anything accepted by :meth:`pyproj.CRS.from_user_input() `, such as an authority string (eg "EPSG:4326") or a WKT string. - epsg : int, optional if `crs` is specified + epsg : int, optional EPSG code specifying the projection. inplace : bool, default False If True, the CRS of the GeoDataFrame will be changed in place @@ -1295,9 +1571,9 @@ individually so that features may have different properties >>> d = {'col1': ['name1', 'name2'], 'geometry': [Point(1, 2), Point(2, 1)]} >>> gdf = geopandas.GeoDataFrame(d) >>> gdf - col1 geometry - 0 name1 POINT (1.00000 2.00000) - 1 name2 POINT (2.00000 1.00000) + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) Setting CRS to a GeoDataFrame without one: @@ -1377,9 +1653,9 @@ individually so that features may have different properties >>> d = {'col1': ['name1', 'name2'], 'geometry': [Point(1, 2), Point(2, 1)]} >>> gdf = geopandas.GeoDataFrame(d, crs=4326) >>> gdf - col1 geometry - 0 name1 POINT (1.00000 2.00000) - 1 name2 POINT (2.00000 1.00000) + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) >>> gdf.crs # doctest: +SKIP Name: WGS 84 @@ -1553,46 +1829,11 @@ individually so that features may have different properties copied._geometry_column_name = self._geometry_column_name return copied - def merge(self, *args, **kwargs): - r"""Merge two ``GeoDataFrame`` objects with a database-style join. - - Returns a ``GeoDataFrame`` if a geometry column is present; otherwise, - returns a pandas ``DataFrame``. - - Returns - ------- - GeoDataFrame or DataFrame - - Notes - ----- - The extra arguments ``*args`` and keyword arguments ``**kwargs`` are - passed to DataFrame.merge. - See https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas\ -.DataFrame.merge.html - for more details. - """ - result = DataFrame.merge(self, *args, **kwargs) - geo_col = self._geometry_column_name - if isinstance(result, DataFrame) and geo_col in result: - result.__class__ = GeoDataFrame - result.crs = self.crs - result._geometry_column_name = geo_col - elif isinstance(result, DataFrame) and geo_col not in result: - result.__class__ = DataFrame - return result - @doc(pd.DataFrame) def apply(self, func, axis=0, raw=False, result_type=None, args=(), **kwargs): result = super().apply( func, axis=axis, raw=raw, result_type=result_type, args=args, **kwargs ) - # pandas <1.4 re-attach last geometry col if lost - if ( - not compat.PANDAS_GE_14 - and isinstance(result, GeoDataFrame) - and result._geometry_column_name is None - ): - result._geometry_column_name = self._geometry_column_name # Reconstruct gdf if it was lost by apply if ( isinstance(result, DataFrame) @@ -1624,6 +1865,20 @@ individually so that features may have different properties def _constructor(self): return _geodataframe_constructor_with_fallback + def _constructor_from_mgr(self, mgr, axes): + # replicate _geodataframe_constructor_with_fallback behaviour + # unless safe to skip + if not any(isinstance(block.dtype, GeometryDtype) for block in mgr.blocks): + return _geodataframe_constructor_with_fallback( + pd.DataFrame._from_mgr(mgr, axes) + ) + gdf = GeoDataFrame._from_mgr(mgr, axes) + # _from_mgr doesn't preserve metadata (expect __finalize__ to be called) + # still need to mimic __init__ behaviour with geometry=None + if (gdf.columns == "geometry").sum() == 1: # only if "geometry" is single col + gdf._geometry_column_name = "geometry" + return gdf + @property def _constructor_sliced(self): def _geodataframe_constructor_sliced(*args, **kwargs): @@ -1643,13 +1898,20 @@ individually so that features may have different properties checking the identity of the index) """ srs = pd.Series(*args, **kwargs) - is_row_proxy = srs.index is self.columns + is_row_proxy = srs.index.is_(self.columns) if is_geometry_type(srs) and not is_row_proxy: srs = GeoSeries(srs) return srs return _geodataframe_constructor_sliced + def _constructor_sliced_from_mgr(self, mgr, axes): + is_row_proxy = mgr.index.is_(self.columns) + + if isinstance(mgr.blocks[0].dtype, GeometryDtype) and not is_row_proxy: + return GeoSeries._from_mgr(mgr, axes) + return Series._from_mgr(mgr, axes) + def __finalize__(self, other, method=None, **kwargs): """propagate metadata from other to self""" self = super().__finalize__(other, method=method, **kwargs) @@ -1667,8 +1929,8 @@ individually so that features may have different properties raise ValueError( "Concat operation has resulted in multiple columns using " f"the geometry column name '{self._geometry_column_name}'.\n" - f"Please ensure this column from the first DataFrame is not " - f"repeated." + "Please ensure this column from the first DataFrame is not " + "repeated." ) elif method == "unstack": # unstack adds multiindex columns and reshapes data. @@ -1686,11 +1948,12 @@ individually so that features may have different properties sort=True, observed=False, dropna=True, + method="unary", **kwargs, ): """ Dissolve geometries within `groupby` into single observation. - This is accomplished by applying the `unary_union` method + This is accomplished by applying the `union_all` method to all geometries within a groupself. Observations associated with each `groupby` group will be aggregated @@ -1718,26 +1981,28 @@ individually so that features may have different properties level : int or str or sequence of int or sequence of str, default None If the axis is a MultiIndex (hierarchical), group by a particular level or levels. - - .. versionadded:: 0.9.0 sort : bool, default True Sort group keys. Get better performance by turning this off. Note this does not influence the order of observations within each group. Groupby preserves the order of rows within each group. - - .. versionadded:: 0.9.0 observed : bool, default False This only applies if any of the groupers are Categoricals. If True: only show observed values for categorical groupers. If False: show all values for categorical groupers. - - .. versionadded:: 0.9.0 dropna : bool, default True If True, and if group keys contain NA values, NA values together with row/column will be dropped. If False, NA values will also be treated as the key in groups. + method : str (default ``"unary"``) + The method to use for the union. Options are: + + * ``"unary"``: use the unary union algorithm. This option is the most robust + but can be slow for large numbers of geometries (default). + * ``"coverage"``: use the coverage union algorithm. This option is optimized + for non-overlapping polygons and can be significantly faster than the + unary union algorithm. However, it can produce invalid geometries if the + polygons overlap. - .. versionadded:: 0.9.0 **kwargs : Keyword arguments to be passed to the pandas `DataFrameGroupby.agg` method which is used by `dissolve`. In particular, `numeric_only` may be @@ -1757,17 +2022,17 @@ individually so that features may have different properties ... } >>> gdf = geopandas.GeoDataFrame(d, crs=4326) >>> gdf - col1 geometry - 0 name1 POINT (1.00000 2.00000) - 1 name2 POINT (2.00000 1.00000) - 2 name1 POINT (0.00000 1.00000) + col1 geometry + 0 name1 POINT (1 2) + 1 name2 POINT (2 1) + 2 name1 POINT (0 1) >>> dissolved = gdf.dissolve('col1') >>> dissolved # doctest: +SKIP - geometry + geometry col1 - name1 MULTIPOINT (0.00000 1.00000, 1.00000 2.00000) - name2 POINT (2.00000 1.00000) + name1 MULTIPOINT ((0 1), (1 2)) + name2 POINT (2 1) See also -------- @@ -1812,7 +2077,7 @@ individually so that features may have different properties # Process spatial component def merge_geometries(block): - merged_geom = block.unary_union + merged_geom = block.union_all(method=method) return merged_geom g = self.groupby(group_keys=False, **groupby_kwargs)[self.geometry.name].agg( @@ -1831,7 +2096,7 @@ individually so that features may have different properties return aggregated # overrides the pandas native explode method to break up features geometrically - def explode(self, column=None, ignore_index=False, index_parts=None, **kwargs): + def explode(self, column=None, ignore_index=False, index_parts=False, **kwargs): """ Explode multi-part geometries into multiple single geometries. @@ -1848,7 +2113,7 @@ individually so that features may have different properties ignore_index : bool, default False If True, the resulting index will be labelled 0, 1, …, n - 1, ignoring `index_parts`. - index_parts : boolean, default True + index_parts : boolean, default False If True, the resulting index will be a multi-index (original index with an additional level indicating the multiple geometries: a new zero-based index for each single part geometry @@ -1873,33 +2138,33 @@ individually so that features may have different properties ... } >>> gdf = geopandas.GeoDataFrame(d, crs=4326) >>> gdf - col1 geometry - 0 name1 MULTIPOINT (1.00000 2.00000, 3.00000 4.00000) - 1 name2 MULTIPOINT (2.00000 1.00000, 0.00000 0.00000) + col1 geometry + 0 name1 MULTIPOINT ((1 2), (3 4)) + 1 name2 MULTIPOINT ((2 1), (0 0)) >>> exploded = gdf.explode(index_parts=True) >>> exploded - col1 geometry - 0 0 name1 POINT (1.00000 2.00000) - 1 name1 POINT (3.00000 4.00000) - 1 0 name2 POINT (2.00000 1.00000) - 1 name2 POINT (0.00000 0.00000) + col1 geometry + 0 0 name1 POINT (1 2) + 1 name1 POINT (3 4) + 1 0 name2 POINT (2 1) + 1 name2 POINT (0 0) >>> exploded = gdf.explode(index_parts=False) >>> exploded - col1 geometry - 0 name1 POINT (1.00000 2.00000) - 0 name1 POINT (3.00000 4.00000) - 1 name2 POINT (2.00000 1.00000) - 1 name2 POINT (0.00000 0.00000) + col1 geometry + 0 name1 POINT (1 2) + 0 name1 POINT (3 4) + 1 name2 POINT (2 1) + 1 name2 POINT (0 0) >>> exploded = gdf.explode(ignore_index=True) >>> exploded - col1 geometry - 0 name1 POINT (1.00000 2.00000) - 1 name1 POINT (3.00000 4.00000) - 2 name2 POINT (2.00000 1.00000) - 3 name2 POINT (0.00000 0.00000) + col1 geometry + 0 name1 POINT (1 2) + 1 name1 POINT (3 4) + 2 name2 POINT (2 1) + 3 name2 POINT (0 0) See also -------- @@ -1914,18 +2179,6 @@ individually so that features may have different properties if not isinstance(self[column].dtype, GeometryDtype): return super().explode(column, ignore_index=ignore_index, **kwargs) - if index_parts is None: - if not ignore_index: - warnings.warn( - "Currently, index_parts defaults to True, but in the future, " - "it will default to False to be consistent with Pandas. " - "Use `index_parts=True` to keep the current behavior and " - "True/False to silence the warning.", - FutureWarning, - stacklevel=2, - ) - index_parts = True - exploded_geom = self.geometry.reset_index(drop=True).explode(index_parts=True) df = self.drop(self._geometry_column_name, axis=1).take( @@ -1949,20 +2202,23 @@ individually so that features may have different properties return df # overrides the pandas astype method to ensure the correct return type - def astype(self, dtype, copy=True, errors="raise", **kwargs): + # should be removable when pandas 1.4 is dropped + def astype(self, dtype, copy=None, errors="raise", **kwargs): """ Cast a pandas object to a specified dtype ``dtype``. - Returns a GeoDataFrame when the geometry column is kept as geometries, otherwise returns a pandas DataFrame. - See the pandas.DataFrame.astype docstring for more details. - Returns ------- GeoDataFrame or DataFrame """ - df = super().astype(dtype, copy=copy, errors=errors, **kwargs) + if not PANDAS_GE_30 and copy is None: + copy = True + if copy is not None: + kwargs["copy"] = copy + + df = super().astype(dtype, errors=errors, **kwargs) try: geoms = df[self._geometry_column_name] @@ -1974,29 +2230,6 @@ individually so that features may have different properties # do not return a GeoDataFrame return pd.DataFrame(df) - def convert_dtypes(self, *args, **kwargs): - """ - Convert columns to best possible dtypes using dtypes supporting ``pd.NA``. - - Always returns a GeoDataFrame as no conversions are applied to the - geometry column. - - See the pandas.DataFrame.convert_dtypes docstring for more details. - - Returns - ------- - GeoDataFrame - - """ - # Overridden to fix GH1870, that return type is not preserved always - # (and where it was, geometry col was not) - - return GeoDataFrame( - super().convert_dtypes(*args, **kwargs), - geometry=self.geometry.name, - crs=self.crs, - ) - def to_postgis( self, name, @@ -2012,7 +2245,7 @@ individually so that features may have different properties Upload GeoDataFrame into PostGIS database. This method requires SQLAlchemy and GeoAlchemy2, and a PostgreSQL - Python driver (e.g. psycopg2) to be installed. + Python driver (psycopg or psycopg2) to be installed. It is also possible to use :meth:`~GeoDataFrame.to_file` to write to a database. Especially for file geodatabases like GeoPackage or SpatiaLite this can be @@ -2065,48 +2298,7 @@ individually so that features may have different properties self, name, con, schema, if_exists, index, index_label, chunksize, dtype ) - # - # Implement standard operators for GeoSeries - # - - def __xor__(self, other): - """Implement ^ operator as for builtin set type""" - warnings.warn( - "'^' operator will be deprecated. Use the 'symmetric_difference' " - "method instead.", - FutureWarning, - stacklevel=2, - ) - return self.geometry.symmetric_difference(other) - - def __or__(self, other): - """Implement | operator as for builtin set type""" - warnings.warn( - "'|' operator will be deprecated. Use the 'union' method instead.", - FutureWarning, - stacklevel=2, - ) - return self.geometry.union(other) - - def __and__(self, other): - """Implement & operator as for builtin set type""" - warnings.warn( - "'&' operator will be deprecated. Use the 'intersection' method instead.", - FutureWarning, - stacklevel=2, - ) - return self.geometry.intersection(other) - - def __sub__(self, other): - """Implement - operator as for builtin set type""" - warnings.warn( - "'-' operator will be deprecated. Use the 'difference' method instead.", - FutureWarning, - stacklevel=2, - ) - return self.geometry.difference(other) - - plot = CachedAccessor("plot", geopandas.plotting.GeoplotAccessor) + plot = Accessor("plot", geopandas.plotting.GeoplotAccessor) @doc(_explore) def explore(self, *args, **kwargs): @@ -2137,6 +2329,16 @@ individually so that features may have different properties Suffix to apply to overlapping column names (left GeoDataFrame). rsuffix : string, default 'right' Suffix to apply to overlapping column names (right GeoDataFrame). + distance : number or array_like, optional + Distance(s) around each input geometry within which to query the tree + for the 'dwithin' predicate. If array_like, must be + one-dimesional with length equal to length of left GeoDataFrame. + Required if ``predicate='dwithin'``. + on_attribute : string, list or tuple + Column name(s) to join on as an additional join restriction on top + of the spatial predicate. These must be found in both DataFrames. + If set, observations are joined only if the predicate applies + and values in specified columns match. Examples -------- @@ -2159,22 +2361,22 @@ individually so that features may have different properties [5 rows x 9 columns] >>> groceries.head() # doctest: +SKIP - OBJECTID Ycoord ... Category geometry - 0 16 41.973266 ... NaN MULTIPOINT (-87.65661 41.97321) - 1 18 41.696367 ... NaN MULTIPOINT (-87.68136 41.69713) - 2 22 41.868634 ... NaN MULTIPOINT (-87.63918 41.86847) - 3 23 41.877590 ... new MULTIPOINT (-87.65495 41.87783) - 4 27 41.737696 ... NaN MULTIPOINT (-87.62715 41.73623) + OBJECTID Ycoord ... Category geometry + 0 16 41.973266 ... NaN MULTIPOINT ((-87.65661 41.97321)) + 1 18 41.696367 ... NaN MULTIPOINT ((-87.68136 41.69713)) + 2 22 41.868634 ... NaN MULTIPOINT ((-87.63918 41.86847)) + 3 23 41.877590 ... new MULTIPOINT ((-87.65495 41.87783)) + 4 27 41.737696 ... NaN MULTIPOINT ((-87.62715 41.73623)) [5 rows x 8 columns] >>> groceries_w_communities = groceries.sjoin(chicago) >>> groceries_w_communities[["OBJECTID", "community", "geometry"]].head() - OBJECTID community geometry - 0 16 UPTOWN MULTIPOINT (-87.65661 41.97321) - 87 365 UPTOWN MULTIPOINT (-87.65465 41.96138) - 90 373 UPTOWN MULTIPOINT (-87.65598 41.96297) - 140 582 UPTOWN MULTIPOINT (-87.67417 41.96977) - 1 18 MORGAN PARK MULTIPOINT (-87.68136 41.69713) + OBJECTID community geometry + 0 16 UPTOWN MULTIPOINT ((-87.65661 41.97321)) + 1 18 MORGAN PARK MULTIPOINT ((-87.68136 41.69713)) + 2 22 NEAR WEST SIDE MULTIPOINT ((-87.63918 41.86847)) + 3 23 NEAR WEST SIDE MULTIPOINT ((-87.65495 41.87783)) + 4 27 CHATHAM MULTIPOINT ((-87.62715 41.73623)) Notes ----- @@ -2250,7 +2452,7 @@ individually so that features may have different properties ... ).to_crs(groceries.crs) >>> chicago.head() # doctest: +SKIP - ComAreaID ... geometry + ComAreaID ... geometry 0 35 ... POLYGON ((-87.60914 41.84469, -87.60915 41.844... 1 36 ... POLYGON ((-87.59215 41.81693, -87.59231 41.816... 2 37 ... POLYGON ((-87.62880 41.80189, -87.62879 41.801... @@ -2259,19 +2461,19 @@ individually so that features may have different properties [5 rows x 87 columns] >>> groceries.head() # doctest: +SKIP - OBJECTID Ycoord ... Category geometry - 0 16 41.973266 ... NaN MULTIPOINT (-87.65661 41.97321) - 1 18 41.696367 ... NaN MULTIPOINT (-87.68136 41.69713) - 2 22 41.868634 ... NaN MULTIPOINT (-87.63918 41.86847) - 3 23 41.877590 ... new MULTIPOINT (-87.65495 41.87783) - 4 27 41.737696 ... NaN MULTIPOINT (-87.62715 41.73623) + OBJECTID Ycoord ... Category geometry + 0 16 41.973266 ... NaN MULTIPOINT ((-87.65661 41.97321)) + 1 18 41.696367 ... NaN MULTIPOINT ((-87.68136 41.69713)) + 2 22 41.868634 ... NaN MULTIPOINT ((-87.63918 41.86847)) + 3 23 41.877590 ... new MULTIPOINT ((-87.65495 41.87783)) + 4 27 41.737696 ... NaN MULTIPOINT ((-87.62715 41.73623)) [5 rows x 8 columns] >>> groceries_w_communities = groceries.sjoin_nearest(chicago) >>> groceries_w_communities[["Chain", "community", "geometry"]].head(2) - Chain community geometry - 0 VIET HOA PLAZA UPTOWN MULTIPOINT (1168268.672 1933554.350) - 87 JEWEL OSCO UPTOWN MULTIPOINT (1168837.980 1929246.962) + Chain community geometry + 0 VIET HOA PLAZA UPTOWN MULTIPOINT ((1168268.672 1933554.35)) + 1 COUNTY FAIR FOODS MORGAN PARK MULTIPOINT ((1162302.618 1832900.224)) To include the distances: @@ -2279,10 +2481,10 @@ individually so that features may have different properties >>> groceries_w_communities = groceries.sjoin_nearest(chicago, \ distance_col="distances") >>> groceries_w_communities[["Chain", "community", \ -"distances"]].head(2) # doctest: +SKIP - Chain community distances - 0 VIET HOA PLAZA UPTOWN 0.0 - 87 JEWEL OSCO UPTOWN 0.0 +"distances"]].head(2) + Chain community distances + 0 VIET HOA PLAZA UPTOWN 0.0 + 1 COUNTY FAIR FOODS MORGAN PARK 0.0 In the following example, we get multiple groceries for Uptown because all results are equidistant (in this case zero because they intersect). @@ -2292,7 +2494,7 @@ distance_col="distances") distance_col="distances", how="right") >>> uptown_results = \ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] - >>> uptown_results[["Chain", "community"]] # doctest: +SKIP + >>> uptown_results[["Chain", "community"]] Chain community 30 VIET HOA PLAZA UPTOWN 30 JEWEL OSCO UPTOWN @@ -2323,7 +2525,7 @@ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] exclusive=exclusive, ) - def clip(self, mask, keep_geom_type=False): + def clip(self, mask, keep_geom_type=False, sort=False): """Clip points, lines, or polygon geometries to the mask extent. Both layers must be in the same Coordinate Reference System (CRS). @@ -2346,6 +2548,10 @@ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] If True, return only geometries of original type in case of intersection resulting in multiple geometry types or GeometryCollections. If False, return all resulting geometries (potentially mixed types). + sort : boolean, default False + If True, the order of rows in the clipped GeoDataFrame will be preserved at + small performance cost. If False the order of rows in the clipped + GeoDataFrame will be random. Returns ------- @@ -2376,7 +2582,7 @@ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] >>> nws_groceries.shape (7, 8) """ - return geopandas.clip(self, mask=mask, keep_geom_type=keep_geom_type) + return geopandas.clip(self, mask=mask, keep_geom_type=keep_geom_type, sort=sort) def overlay(self, right, how="intersection", keep_geom_type=None, make_valid=True): """Perform spatial overlay between GeoDataFrames. @@ -2401,7 +2607,7 @@ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] geometries. make_valid : bool, default True If True, any invalid input geometries are corrected with a call to - `buffer(0)`, if False, a `ValueError` is raised if any input geometries + make_valid(), if False, a `ValueError` is raised if any input geometries are invalid. Returns @@ -2421,40 +2627,40 @@ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] >>> df2 = geopandas.GeoDataFrame({'geometry': polys2, 'df2_data':[1,2]}) >>> df1.overlay(df2, how='union') - df1_data df2_data geometry - 0 1.0 1.0 POLYGON ((2.00000 2.00000, 2.00000 1.00000, 1.... - 1 2.0 1.0 POLYGON ((2.00000 2.00000, 2.00000 3.00000, 3.... - 2 2.0 2.0 POLYGON ((4.00000 4.00000, 4.00000 3.00000, 3.... - 3 1.0 NaN POLYGON ((2.00000 0.00000, 0.00000 0.00000, 0.... - 4 2.0 NaN MULTIPOLYGON (((3.00000 4.00000, 3.00000 3.000... - 5 NaN 1.0 MULTIPOLYGON (((2.00000 3.00000, 2.00000 2.000... - 6 NaN 2.0 POLYGON ((3.00000 5.00000, 5.00000 5.00000, 5.... + df1_data df2_data geometry + 0 1.0 1.0 POLYGON ((2 2, 2 1, 1 1, 1 2, 2 2)) + 1 2.0 1.0 POLYGON ((2 2, 2 3, 3 3, 3 2, 2 2)) + 2 2.0 2.0 POLYGON ((4 4, 4 3, 3 3, 3 4, 4 4)) + 3 1.0 NaN POLYGON ((2 0, 0 0, 0 2, 1 2, 1 1, 2 1, 2 0)) + 4 2.0 NaN MULTIPOLYGON (((3 4, 3 3, 2 3, 2 4, 3 4)), ((4... + 5 NaN 1.0 MULTIPOLYGON (((2 3, 2 2, 1 2, 1 3, 2 3)), ((3... + 6 NaN 2.0 POLYGON ((3 5, 5 5, 5 3, 4 3, 4 4, 3 4, 3 5)) >>> df1.overlay(df2, how='intersection') - df1_data df2_data geometry - 0 1 1 POLYGON ((2.00000 2.00000, 2.00000 1.00000, 1.... - 1 2 1 POLYGON ((2.00000 2.00000, 2.00000 3.00000, 3.... - 2 2 2 POLYGON ((4.00000 4.00000, 4.00000 3.00000, 3.... + df1_data df2_data geometry + 0 1 1 POLYGON ((2 2, 2 1, 1 1, 1 2, 2 2)) + 1 2 1 POLYGON ((2 2, 2 3, 3 3, 3 2, 2 2)) + 2 2 2 POLYGON ((4 4, 4 3, 3 3, 3 4, 4 4)) >>> df1.overlay(df2, how='symmetric_difference') - df1_data df2_data geometry - 0 1.0 NaN POLYGON ((2.00000 0.00000, 0.00000 0.00000, 0.... - 1 2.0 NaN MULTIPOLYGON (((3.00000 4.00000, 3.00000 3.000... - 2 NaN 1.0 MULTIPOLYGON (((2.00000 3.00000, 2.00000 2.000... - 3 NaN 2.0 POLYGON ((3.00000 5.00000, 5.00000 5.00000, 5.... + df1_data df2_data geometry + 0 1.0 NaN POLYGON ((2 0, 0 0, 0 2, 1 2, 1 1, 2 1, 2 0)) + 1 2.0 NaN MULTIPOLYGON (((3 4, 3 3, 2 3, 2 4, 3 4)), ((4... + 2 NaN 1.0 MULTIPOLYGON (((2 3, 2 2, 1 2, 1 3, 2 3)), ((3... + 3 NaN 2.0 POLYGON ((3 5, 5 5, 5 3, 4 3, 4 4, 3 4, 3 5)) >>> df1.overlay(df2, how='difference') - geometry df1_data - 0 POLYGON ((2.00000 0.00000, 0.00000 0.00000, 0.... 1 - 1 MULTIPOLYGON (((3.00000 4.00000, 3.00000 3.000... 2 + geometry df1_data + 0 POLYGON ((2 0, 0 0, 0 2, 1 2, 1 1, 2 1, 2 0)) 1 + 1 MULTIPOLYGON (((3 4, 3 3, 2 3, 2 4, 3 4)), ((4... 2 >>> df1.overlay(df2, how='identity') - df1_data df2_data geometry - 0 1.0 1.0 POLYGON ((2.00000 2.00000, 2.00000 1.00000, 1.... - 1 2.0 1.0 POLYGON ((2.00000 2.00000, 2.00000 3.00000, 3.... - 2 2.0 2.0 POLYGON ((4.00000 4.00000, 4.00000 3.00000, 3.... - 3 1.0 NaN POLYGON ((2.00000 0.00000, 0.00000 0.00000, 0.... - 4 2.0 NaN MULTIPOLYGON (((3.00000 4.00000, 3.00000 3.000... + df1_data df2_data geometry + 0 1.0 1.0 POLYGON ((2 2, 2 1, 1 1, 1 2, 2 2)) + 1 2.0 1.0 POLYGON ((2 2, 2 3, 3 3, 3 2, 2 2)) + 2 2.0 2.0 POLYGON ((4 4, 4 3, 3 3, 3 4, 4 4)) + 3 1.0 NaN POLYGON ((2 0, 0 0, 0 2, 1 2, 1 1, 2 1, 2 0)) + 4 2.0 NaN MULTIPOLYGON (((3 4, 3 3, 2 3, 2 4, 3 4)), ((4... See also -------- @@ -2471,7 +2677,7 @@ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] ) -def _dataframe_set_geometry(self, col, drop=False, inplace=False, crs=None): +def _dataframe_set_geometry(self, col, drop=None, inplace=False, crs=None): if inplace: raise ValueError( "Can't do inplace setting when converting from DataFrame to GeoDataFrame" diff --git a/.venv/lib/python3.12/site-packages/geopandas/geoseries.py b/.venv/lib/python3.12/site-packages/geopandas/geoseries.py index ce24e471..ea30f61d 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/geoseries.py +++ b/.venv/lib/python3.12/site-packages/geopandas/geoseries.py @@ -1,24 +1,23 @@ from __future__ import annotations -import json import typing -from typing import Optional, Any, Callable, Dict import warnings +from packaging.version import Version +from typing import Any, Callable, Dict, Optional import numpy as np import pandas as pd -from pandas import Series, MultiIndex +from pandas import Series from pandas.core.internals import SingleBlockManager -from pyproj import CRS import shapely -from shapely.geometry.base import BaseGeometry from shapely.geometry import GeometryCollection +from shapely.geometry.base import BaseGeometry -from geopandas.base import GeoPandasBase, _delegate_property -from geopandas.plotting import plot_series -from geopandas.explore import _explore_geoseries import geopandas +from geopandas.base import GeoPandasBase, _delegate_property +from geopandas.explore import _explore_geoseries +from geopandas.plotting import plot_series from . import _compat as compat from ._decorator import doc @@ -51,20 +50,16 @@ def _geoseries_constructor_with_fallback( return Series(data=data, index=index, **kwargs) -def _geoseries_expanddim(data=None, *args, **kwargs): +def _expanddim_logic(df): + """Shared logic for _constructor_expanddim and _constructor_from_mgr_expanddim.""" from geopandas import GeoDataFrame - # pd.Series._constructor_expanddim == pd.DataFrame - df = pd.DataFrame(data, *args, **kwargs) - geo_col_name = None - if isinstance(data, GeoSeries): - # pandas default column name is 0, keep convention - geo_col_name = data.name if data.name is not None else 0 - - if df.shape[1] == 1: - geo_col_name = df.columns[0] - if (df.dtypes == "geometry").sum() > 0: + if df.shape[1] == 1: + geo_col_name = df.columns[0] + else: + geo_col_name = None + if geo_col_name is None or not is_geometry_type(df[geo_col_name]): df = GeoDataFrame(df) df._geometry_column_name = None @@ -74,6 +69,13 @@ def _geoseries_expanddim(data=None, *args, **kwargs): return df +def _geoseries_expanddim(data=None, *args, **kwargs): + # pd.Series._constructor_expanddim == pd.DataFrame, we start + # with that then specialize. + df = pd.DataFrame(data, *args, **kwargs) + return _expanddim_logic(df) + + class GeoSeries(GeoPandasBase, Series): """ A Series object designed to store shapely geometry objects. @@ -99,9 +101,9 @@ class GeoSeries(GeoPandasBase, Series): >>> from shapely.geometry import Point >>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)]) >>> s - 0 POINT (1.00000 1.00000) - 1 POINT (2.00000 2.00000) - 2 POINT (3.00000 3.00000) + 0 POINT (1 1) + 1 POINT (2 2) + 2 POINT (3 3) dtype: geometry >>> s = geopandas.GeoSeries( @@ -127,9 +129,9 @@ class GeoSeries(GeoPandasBase, Series): ... [Point(1, 1), Point(2, 2), Point(3, 3)], index=["a", "b", "c"], crs=4326 ... ) >>> s - a POINT (1.00000 1.00000) - b POINT (2.00000 2.00000) - c POINT (3.00000 3.00000) + a POINT (1 1) + b POINT (2 2) + c POINT (3 3) dtype: geometry >>> s.crs @@ -152,11 +154,13 @@ class GeoSeries(GeoPandasBase, Series): """ - _metadata = ["name"] - def __init__(self, data=None, index=None, crs: Optional[Any] = None, **kwargs): - if hasattr(data, "crs") and crs: - if not data.crs: + if ( + hasattr(data, "crs") + or (isinstance(data, pd.Series) and hasattr(data.array, "crs")) + ) and crs: + data_crs = data.crs if hasattr(data, "crs") else data.array.crs + if not data_crs: # make a copy to avoid setting CRS to passed GeometryArray data = data.copy() else: @@ -189,7 +193,7 @@ class GeoSeries(GeoPandasBase, Series): # https://github.com/pandas-dev/pandas/issues/26469 kwargs.pop("dtype", None) # Use Series constructor to handle input data - with compat.ignore_shapely2_warnings(): + with warnings.catch_warnings(): # suppress additional warning from pandas for empty data # (will always give object dtype instead of float dtype in the future, # making the `if s.empty: s = s.astype(object)` below unnecessary) @@ -207,9 +211,16 @@ class GeoSeries(GeoPandasBase, Series): "Non geometry data passed to GeoSeries constructor, " f"received data of dtype '{s.dtype}'" ) - # try to convert to GeometryArray, if fails return plain Series + # extract object-dtype numpy array from pandas Series; with CoW this + # gives a read-only array, so we try to set the flag back to writeable + data = s.to_numpy() try: - data = from_shapely(s.values, crs) + data.flags.writeable = True + except ValueError: + pass + # try to convert to GeometryArray + try: + data = from_shapely(data, crs) except TypeError: raise TypeError( "Non geometry data passed to GeoSeries constructor, " @@ -225,6 +236,18 @@ class GeoSeries(GeoPandasBase, Series): def append(self, *args, **kwargs) -> GeoSeries: return self._wrapped_pandas_method("append", *args, **kwargs) + @GeoPandasBase.crs.setter + def crs(self, value): + if self.crs is not None: + warnings.warn( + "Overriding the CRS of a GeoSeries that already has CRS. " + "This unsafe behavior will be deprecated in future versions. " + "Use GeoSeries.set_crs method instead.", + stacklevel=2, + category=DeprecationWarning, + ) + self.geometry.values.crs = value + @property def geometry(self) -> GeoSeries: return self @@ -318,7 +341,7 @@ class GeoSeries(GeoPandasBase, Series): """Alternate constructor to create a ``GeoSeries`` from a file. Can load a ``GeoSeries`` from a file from any format recognized by - `fiona`. See http://fiona.readthedocs.io/en/latest/manual.html for details. + `pyogrio`. See http://pyogrio.readthedocs.io/ for details. From a file with attributes loads only geometry column. Note that to do that, GeoPandas first loads the whole GeoDataFrame. @@ -327,10 +350,10 @@ class GeoSeries(GeoPandasBase, Series): filename : str File path or file handle to read from. Depending on which kwargs are included, the content of filename may vary. See - http://fiona.readthedocs.io/en/latest/README.html#usage for usage details. + :func:`pyogrio.read_dataframe` for usage details. kwargs : key-word arguments - These arguments are passed to fiona.open, and can be used to - access multi-layer data, data stored within archives (zip files), + These arguments are passed to :func:`pyogrio.read_dataframe`, and can be + used to access multi-layer data, data stored within archives (zip files), etc. Examples @@ -358,7 +381,7 @@ class GeoSeries(GeoPandasBase, Series): @classmethod def from_wkb( - cls, data, index=None, crs: Optional[Any] = None, **kwargs + cls, data, index=None, crs: Optional[Any] = None, on_invalid="raise", **kwargs ) -> GeoSeries: """ Alternate constructor to create a ``GeoSeries`` @@ -375,6 +398,12 @@ class GeoSeries(GeoPandasBase, Series): accepted by :meth:`pyproj.CRS.from_user_input() `, such as an authority string (eg "EPSG:4326") or a WKT string. + on_invalid: {"raise", "warn", "ignore"}, default "raise" + - raise: an exception will be raised if a WKB input geometry is invalid. + - warn: a warning will be raised and invalid WKB geometries will be returned + as None. + - ignore: invalid WKB geometries will be returned as None without a warning. + kwargs Additional arguments passed to the Series constructor, e.g. ``name``. @@ -388,11 +417,13 @@ class GeoSeries(GeoPandasBase, Series): GeoSeries.from_wkt """ - return cls._from_wkb_or_wkb(from_wkb, data, index=index, crs=crs, **kwargs) + return cls._from_wkb_or_wkt( + from_wkb, data, index=index, crs=crs, on_invalid=on_invalid, **kwargs + ) @classmethod def from_wkt( - cls, data, index=None, crs: Optional[Any] = None, **kwargs + cls, data, index=None, crs: Optional[Any] = None, on_invalid="raise", **kwargs ) -> GeoSeries: """ Alternate constructor to create a ``GeoSeries`` @@ -409,6 +440,13 @@ class GeoSeries(GeoPandasBase, Series): accepted by :meth:`pyproj.CRS.from_user_input() `, such as an authority string (eg "EPSG:4326") or a WKT string. + on_invalid : {"raise", "warn", "ignore"}, default "raise" + - raise: an exception will be raised if a WKT input geometry is invalid. + - warn: a warning will be raised and invalid WKT geometries will be + returned as ``None``. + - ignore: invalid WKT geometries will be returned as ``None`` without a + warning. + kwargs Additional arguments passed to the Series constructor, e.g. ``name``. @@ -431,12 +469,14 @@ class GeoSeries(GeoPandasBase, Series): ... ] >>> s = geopandas.GeoSeries.from_wkt(wkts) >>> s - 0 POINT (1.00000 1.00000) - 1 POINT (2.00000 2.00000) - 2 POINT (3.00000 3.00000) + 0 POINT (1 1) + 1 POINT (2 2) + 2 POINT (3 3) dtype: geometry """ - return cls._from_wkb_or_wkb(from_wkt, data, index=index, crs=crs, **kwargs) + return cls._from_wkb_or_wkt( + from_wkt, data, index=index, crs=crs, on_invalid=on_invalid, **kwargs + ) @classmethod def from_xy(cls, x, y, z=None, index=None, crs=None, **kwargs) -> GeoSeries: @@ -478,9 +518,9 @@ class GeoSeries(GeoPandasBase, Series): >>> y = [0.5, 1, 1.5] >>> s = geopandas.GeoSeries.from_xy(x, y, crs="EPSG:4326") >>> s - 0 POINT (2.50000 0.50000) - 1 POINT (5.00000 1.00000) - 2 POINT (-3.00000 1.50000) + 0 POINT (2.5 0.5) + 1 POINT (5 1) + 2 POINT (-3 1.5) dtype: geometry """ if index is None: @@ -494,12 +534,13 @@ class GeoSeries(GeoPandasBase, Series): return cls(points_from_xy(x, y, z, crs=crs), index=index, crs=crs, **kwargs) @classmethod - def _from_wkb_or_wkb( + def _from_wkb_or_wkt( cls, from_wkb_or_wkt_function: Callable, data, index=None, crs: Optional[Any] = None, + on_invalid: str = "raise", **kwargs, ) -> GeoSeries: """Create a GeoSeries from either WKT or WKB values""" @@ -509,7 +550,46 @@ class GeoSeries(GeoPandasBase, Series): else: index = data.index data = data.values - return cls(from_wkb_or_wkt_function(data, crs=crs), index=index, **kwargs) + return cls( + from_wkb_or_wkt_function(data, crs=crs, on_invalid=on_invalid), + index=index, + **kwargs, + ) + + @classmethod + def from_arrow(cls, arr, **kwargs) -> GeoSeries: + """ + Construct a GeoSeries from a Arrow array object with a GeoArrow + extension type. + + See https://geoarrow.org/ for details on the GeoArrow specification. + + This functions accepts any Arrow array object implementing + the `Arrow PyCapsule Protocol`_ (i.e. having an ``__arrow_c_array__`` + method). + + .. _Arrow PyCapsule Protocol: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html + + .. versionadded:: 1.0 + + Parameters + ---------- + arr : pyarrow.Array, Arrow array + Any array object implementing the Arrow PyCapsule Protocol + (i.e. has an ``__arrow_c_array__`` or ``__arrow_c_stream__`` + method). The type of the array should be one of the + geoarrow geometry types. + **kwargs + Other parameters passed to the GeoSeries constructor. + + Returns + ------- + GeoSeries + + """ + from geopandas.io._geoarrow import arrow_to_geometry_array + + return cls(arrow_to_geometry_array(arr), **kwargs) @property def __geo_interface__(self) -> Dict: @@ -548,7 +628,7 @@ class GeoSeries(GeoPandasBase, Series): """Write the ``GeoSeries`` to a file. By default, an ESRI shapefile is written, but any OGR data source - supported by Fiona can be written. + supported by Pyogrio or Fiona can be written. Parameters ---------- @@ -578,18 +658,19 @@ class GeoSeries(GeoPandasBase, Series): will determine the crs based on crs df attribute. The value can be anything accepted by :meth:`pyproj.CRS.from_user_input() `, - such as an authority string (eg "EPSG:4326") or a WKT string. - engine : str, "fiona" or "pyogrio" + such as an authority string (eg "EPSG:4326") or a WKT string. The keyword + is not supported for the "pyogrio" engine. + engine : str, "pyogrio" or "fiona" The underlying library that is used to write the file. Currently, the - supported options are "fiona" and "pyogrio". Defaults to "fiona" if - installed, otherwise tries "pyogrio". + supported options are "pyogrio" and "fiona". Defaults to "pyogrio" if + installed, otherwise tries "fiona". **kwargs : Keyword args to be passed to the engine, and can be used to write to multi-layer data, store data within archives (zip files), etc. - In case of the "fiona" engine, the keyword arguments are passed to - fiona.open`. For more information on possible keywords, type: - ``import fiona; help(fiona.open)``. In case of the "pyogrio" engine, - the keyword arguments are passed to `pyogrio.write_dataframe`. + In case of the "pyogrio" engine, the keyword arguments are passed to + `pyogrio.write_dataframe`. In case of the "fiona" engine, the keyword + arguments are passed to fiona.open`. For more information on possible + keywords, type: ``import pyogrio; help(pyogrio.write_dataframe)``. See Also -------- @@ -608,7 +689,6 @@ class GeoSeries(GeoPandasBase, Series): from geopandas import GeoDataFrame data = GeoDataFrame({"geometry": self}, index=self.index) - data.crs = self.crs data.to_file(filename, driver, index=index, **kwargs) # @@ -619,10 +699,22 @@ class GeoSeries(GeoPandasBase, Series): def _constructor(self): return _geoseries_constructor_with_fallback + def _constructor_from_mgr(self, mgr, axes): + assert isinstance(mgr, SingleBlockManager) + + if not isinstance(mgr.blocks[0].dtype, GeometryDtype): + return Series._from_mgr(mgr, axes) + + return GeoSeries._from_mgr(mgr, axes) + @property def _constructor_expanddim(self): return _geoseries_expanddim + def _constructor_expanddim_from_mgr(self, mgr, axes): + df = pd.DataFrame._from_mgr(mgr, axes) + return _expanddim_logic(df) + def _wrapped_pandas_method(self, mtd, *args, **kwargs): """Wrap a generic pandas method to ensure it returns a GeoSeries""" val = getattr(super(), mtd)(*args, **kwargs) @@ -647,7 +739,7 @@ class GeoSeries(GeoPandasBase, Series): return self._wrapped_pandas_method("select", *args, **kwargs) @doc(pd.Series) - def apply(self, func, convert_dtype: bool = None, args=(), **kwargs): + def apply(self, func, convert_dtype: Optional[bool] = None, args=(), **kwargs): if convert_dtype is not None: kwargs["convert_dtype"] = convert_dtype else: @@ -686,10 +778,11 @@ class GeoSeries(GeoPandasBase, Series): ... [Polygon([(0, 0), (1, 1), (0, 1)]), None, Polygon([])] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 None - 2 POLYGON EMPTY + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 None + 2 POLYGON EMPTY dtype: geometry + >>> s.isna() 0 False 1 True @@ -730,10 +823,11 @@ class GeoSeries(GeoPandasBase, Series): ... [Polygon([(0, 0), (1, 1), (0, 1)]), None, Polygon([])] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 None - 2 POLYGON EMPTY + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 None + 2 POLYGON EMPTY dtype: geometry + >>> s.notna() 0 True 1 False @@ -765,12 +859,10 @@ class GeoSeries(GeoPandasBase, Series): """Alias for `notna` method. See `notna` for more detail.""" return self.notna() - def fillna(self, value=None, method=None, inplace: bool = False, **kwargs): + def fillna(self, value=None, inplace: bool = False, limit=None, **kwargs): """ Fill NA values with geometry (or geometries). - ``method`` is currently not implemented. - Parameters ---------- value : shapely geometry or GeoSeries, default None @@ -780,6 +872,9 @@ class GeoSeries(GeoPandasBase, Series): are passed, missing values will be filled based on the corresponding index locations. If pd.NA or np.nan are passed, values will be filled with ``None`` (not GEOMETRYCOLLECTION EMPTY). + limit : int, default None + This is the maximum number of entries along the entire axis + where NaNs will be filled. Must be greater than 0 if not None. Returns ------- @@ -796,25 +891,25 @@ class GeoSeries(GeoPandasBase, Series): ... ] ... ) >>> s - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 None - 2 POLYGON ((0.00000 0.00000, -1.00000 1.00000, 0... + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 None + 2 POLYGON ((0 0, -1 1, 0 -1, 0 0)) dtype: geometry Filled with an empty polygon. >>> s.fillna() - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 GEOMETRYCOLLECTION EMPTY - 2 POLYGON ((0.00000 0.00000, -1.00000 1.00000, 0... + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 GEOMETRYCOLLECTION EMPTY + 2 POLYGON ((0 0, -1 1, 0 -1, 0 0)) dtype: geometry Filled with a specific polygon. >>> s.fillna(Polygon([(0, 1), (2, 1), (1, 2)])) - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 POLYGON ((0.00000 1.00000, 2.00000 1.00000, 1.... - 2 POLYGON ((0.00000 0.00000, -1.00000 1.00000, 0... + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 POLYGON ((0 1, 2 1, 1 2, 0 1)) + 2 POLYGON ((0 0, -1 1, 0 -1, 0 0)) dtype: geometry Filled with another GeoSeries. @@ -828,9 +923,9 @@ class GeoSeries(GeoPandasBase, Series): ... ] ... ) >>> s.fillna(s_fill) - 0 POLYGON ((0.00000 0.00000, 1.00000 1.00000, 0.... - 1 POINT (1.00000 1.00000) - 2 POLYGON ((0.00000 0.00000, -1.00000 1.00000, 0... + 0 POLYGON ((0 0, 1 1, 0 1, 0 0)) + 1 POINT (1 1) + 2 POLYGON ((0 0, -1 1, 0 -1, 0 0)) dtype: geometry See Also @@ -838,8 +933,8 @@ class GeoSeries(GeoPandasBase, Series): GeoSeries.isna : detect missing values """ if value is None: - value = GeometryCollection() if compat.SHAPELY_GE_20 else BaseGeometry() - return super().fillna(value=value, method=method, inplace=inplace, **kwargs) + value = GeometryCollection() + return super().fillna(value=value, limit=limit, inplace=inplace, **kwargs) def __contains__(self, other) -> bool: """Allow tests of the form "geom in s" @@ -862,7 +957,7 @@ class GeoSeries(GeoPandasBase, Series): """Interactive map based on folium/leaflet.js""" return _explore_geoseries(self, *args, **kwargs) - def explode(self, ignore_index=False, index_parts=None) -> GeoSeries: + def explode(self, ignore_index=False, index_parts=False) -> GeoSeries: """ Explode multi-part geometries into multiple single geometries. @@ -875,7 +970,7 @@ class GeoSeries(GeoPandasBase, Series): ignore_index : bool, default False If True, the resulting index will be labelled 0, 1, …, n - 1, ignoring `index_parts`. - index_parts : boolean, default True + index_parts : boolean, default False If True, the resulting index will be a multi-index (original index with an additional level indicating the multiple geometries: a new zero-based index for each single part geometry @@ -894,16 +989,16 @@ class GeoSeries(GeoPandasBase, Series): ... [MultiPoint([(0, 0), (1, 1)]), MultiPoint([(2, 2), (3, 3), (4, 4)])] ... ) >>> s - 0 MULTIPOINT (0.00000 0.00000, 1.00000 1.00000) - 1 MULTIPOINT (2.00000 2.00000, 3.00000 3.00000, ... + 0 MULTIPOINT ((0 0), (1 1)) + 1 MULTIPOINT ((2 2), (3 3), (4 4)) dtype: geometry >>> s.explode(index_parts=True) - 0 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 1.00000) - 1 0 POINT (2.00000 2.00000) - 1 POINT (3.00000 3.00000) - 2 POINT (4.00000 4.00000) + 0 0 POINT (0 0) + 1 POINT (1 1) + 1 0 POINT (2 2) + 1 POINT (3 3) + 2 POINT (4 4) dtype: geometry See also @@ -913,70 +1008,21 @@ class GeoSeries(GeoPandasBase, Series): """ from .base import _get_index_for_parts - if index_parts is None and not ignore_index: - warnings.warn( - "Currently, index_parts defaults to True, but in the future, " - "it will default to False to be consistent with Pandas. " - "Use `index_parts=True` to keep the current behavior and True/False " - "to silence the warning.", - FutureWarning, - stacklevel=2, - ) - index_parts = True + geometries, outer_idx = shapely.get_parts(self.values._data, return_index=True) - if compat.USE_SHAPELY_20 or (compat.USE_PYGEOS and compat.PYGEOS_GE_09): - if compat.USE_SHAPELY_20: - geometries, outer_idx = shapely.get_parts( - self.values._data, return_index=True - ) - else: - import pygeos - - geometries, outer_idx = pygeos.get_parts( - self.values._data, return_index=True - ) - - index = _get_index_for_parts( - self.index, - outer_idx, - ignore_index=ignore_index, - index_parts=index_parts, - ) - - return GeoSeries(geometries, index=index, crs=self.crs).__finalize__(self) - - # else PyGEOS is not available or version <= 0.8 - - index = [] - geometries = [] - for idx, s in self.geometry.items(): - if s.geom_type.startswith("Multi") or s.geom_type == "GeometryCollection": - geoms = s.geoms - idxs = [(idx, i) for i in range(len(geoms))] - else: - geoms = [s] - idxs = [(idx, 0)] - index.extend(idxs) - geometries.extend(geoms) - - if ignore_index: - index = range(len(geometries)) - - elif index_parts: - # if self.index is a MultiIndex then index is a list of nested tuples - if isinstance(self.index, MultiIndex): - index = [tuple(outer) + (inner,) for outer, inner in index] - index = MultiIndex.from_tuples(index, names=self.index.names + [None]) - - else: - index = [idx for idx, _ in index] + index = _get_index_for_parts( + self.index, + outer_idx, + ignore_index=ignore_index, + index_parts=index_parts, + ) return GeoSeries(geometries, index=index, crs=self.crs).__finalize__(self) # # Additional methods # - + @compat.requires_pyproj def set_crs( self, crs: Optional[Any] = None, @@ -987,12 +1033,16 @@ class GeoSeries(GeoPandasBase, Series): """ Set the Coordinate Reference System (CRS) of a ``GeoSeries``. - NOTE: The underlying geometries are not transformed to this CRS. To + Pass ``None`` to remove CRS from the ``GeoSeries``. + + Notes + ----- + The underlying geometries are not transformed to this CRS. To transform the geometries to a new CRS, use the ``to_crs`` method. Parameters ---------- - crs : pyproj.CRS, optional if `epsg` is specified + crs : pyproj.CRS | None, optional The value can be anything accepted by :meth:`pyproj.CRS.from_user_input() `, such as an authority string (eg "EPSG:4326") or a WKT string. @@ -1015,9 +1065,9 @@ class GeoSeries(GeoPandasBase, Series): >>> from shapely.geometry import Point >>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)]) >>> s - 0 POINT (1.00000 1.00000) - 1 POINT (2.00000 2.00000) - 2 POINT (3.00000 3.00000) + 0 POINT (1 1) + 1 POINT (2 2) + 2 POINT (3 3) dtype: geometry Setting CRS to a GeoSeries without one: @@ -1054,12 +1104,12 @@ class GeoSeries(GeoPandasBase, Series): GeoSeries.to_crs : re-project to another CRS """ + from pyproj import CRS + if crs is not None: crs = CRS.from_user_input(crs) elif epsg is not None: crs = CRS.from_epsg(epsg) - else: - raise ValueError("Must pass either crs or epsg.") if not allow_override and self.crs is not None and not self.crs == crs: raise ValueError( @@ -1072,7 +1122,7 @@ class GeoSeries(GeoPandasBase, Series): result = self.copy() else: result = self - result.crs = crs + result.array.crs = crs return result def to_crs( @@ -1109,9 +1159,9 @@ class GeoSeries(GeoPandasBase, Series): >>> from shapely.geometry import Point >>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)], crs=4326) >>> s - 0 POINT (1.00000 1.00000) - 1 POINT (2.00000 2.00000) - 2 POINT (3.00000 3.00000) + 0 POINT (1 1) + 1 POINT (2 2) + 2 POINT (3 3) dtype: geometry >>> s.crs # doctest: +SKIP @@ -1157,7 +1207,7 @@ class GeoSeries(GeoPandasBase, Series): self.values.to_crs(crs=crs, epsg=epsg), index=self.index, name=self.name ) - def estimate_utm_crs(self, datum_name: str = "WGS 84") -> CRS: + def estimate_utm_crs(self, datum_name: str = "WGS 84"): """Returns the estimated UTM CRS based on the bounds of the dataset. .. versionadded:: 0.9 @@ -1195,12 +1245,31 @@ class GeoSeries(GeoPandasBase, Series): """ return self.values.estimate_utm_crs(datum_name) - def to_json(self, **kwargs) -> str: + def to_json( + self, + show_bbox: bool = True, + drop_id: bool = False, + to_wgs84: bool = False, + **kwargs, + ) -> str: """ Returns a GeoJSON string representation of the GeoSeries. Parameters ---------- + show_bbox : bool, optional, default: True + Include bbox (bounds) in the geojson + drop_id : bool, default: False + Whether to retain the index of the GeoSeries as the id property + in the generated GeoJSON. Default is False, but may want True + if the index is just arbitrary row numbers. + to_wgs84: bool, optional, default: False + If the CRS is set on the active geometry column it is exported as + WGS84 (EPSG:4326) to meet the `2016 GeoJSON specification + `_. + Set to True to force re-projection and set to False to ignore CRS. False by + default. + *kwargs* that will be passed to json.dumps(). Returns @@ -1212,9 +1281,9 @@ class GeoSeries(GeoPandasBase, Series): >>> from shapely.geometry import Point >>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)]) >>> s - 0 POINT (1.00000 1.00000) - 1 POINT (2.00000 2.00000) - 2 POINT (3.00000 3.00000) + 0 POINT (1 1) + 1 POINT (2 2) + 2 POINT (3 3) dtype: geometry >>> s.to_json() @@ -1229,7 +1298,9 @@ e": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [3 -------- GeoSeries.to_file : write GeoSeries to file """ - return json.dumps(self.__geo_interface__, **kwargs) + return self.to_frame("geometry").to_json( + na="null", show_bbox=show_bbox, drop_id=drop_id, to_wgs84=to_wgs84, **kwargs + ) def to_wkb(self, hex: bool = False, **kwargs) -> Series: """ @@ -1242,8 +1313,7 @@ e": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [3 The default is to return a binary bytes object. kwargs Additional keyword args will be passed to - :func:`shapely.to_wkb` if shapely >= 2 is installed or - :func:`pygeos.to_wkb` if pygeos is installed. + :func:`shapely.to_wkb`. Returns ------- @@ -1263,8 +1333,7 @@ e": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [3 Parameters ---------- kwargs - Keyword args will be passed to :func:`pygeos.to_wkt` - if pygeos is installed. + Keyword args will be passed to :func:`shapely.to_wkt`. Returns ------- @@ -1276,9 +1345,9 @@ e": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [3 >>> from shapely.geometry import Point >>> s = geopandas.GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)]) >>> s - 0 POINT (1.00000 1.00000) - 1 POINT (2.00000 2.00000) - 2 POINT (3.00000 3.00000) + 0 POINT (1 1) + 1 POINT (2 2) + 2 POINT (3 3) dtype: geometry >>> s.to_wkt() @@ -1293,48 +1362,105 @@ e": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [3 """ return Series(to_wkt(self.array, **kwargs), index=self.index) - # - # Implement standard operators for GeoSeries - # + def to_arrow(self, geometry_encoding="WKB", interleaved=True, include_z=None): + """Encode a GeoSeries to GeoArrow format. - def __xor__(self, other): - """Implement ^ operator as for builtin set type""" - warnings.warn( - "'^' operator will be deprecated. Use the 'symmetric_difference' " - "method instead.", - FutureWarning, - stacklevel=2, + See https://geoarrow.org/ for details on the GeoArrow specification. + + This functions returns a generic Arrow array object implementing + the `Arrow PyCapsule Protocol`_ (i.e. having an ``__arrow_c_array__`` + method). This object can then be consumed by your Arrow implementation + of choice that supports this protocol. + + .. _Arrow PyCapsule Protocol: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html + + .. versionadded:: 1.0 + + Parameters + ---------- + geometry_encoding : {'WKB', 'geoarrow' }, default 'WKB' + The GeoArrow encoding to use for the data conversion. + interleaved : bool, default True + Only relevant for 'geoarrow' encoding. If True, the geometries' + coordinates are interleaved in a single fixed size list array. + If False, the coordinates are stored as separate arrays in a + struct type. + include_z : bool, default None + Only relevant for 'geoarrow' encoding (for WKB, the dimensionality + of the individial geometries is preserved). + If False, return 2D geometries. If True, include the third dimension + in the output (if a geometry has no third dimension, the z-coordinates + will be NaN). By default, will infer the dimensionality from the + input geometries. Note that this inference can be unreliable with + empty geometries (for a guaranteed result, it is recommended to + specify the keyword). + + Returns + ------- + GeoArrowArray + A generic Arrow array object with geometry data encoded to GeoArrow. + + Examples + -------- + >>> from shapely.geometry import Point + >>> gser = geopandas.GeoSeries([Point(1, 2), Point(2, 1)]) + >>> gser + 0 POINT (1 2) + 1 POINT (2 1) + dtype: geometry + + >>> arrow_array = gser.to_arrow() + >>> arrow_array + + + The returned array object needs to be consumed by a library implementing + the Arrow PyCapsule Protocol. For example, wrapping the data as a + pyarrow.Array (requires pyarrow >= 14.0): + + >>> import pyarrow as pa + >>> array = pa.array(arrow_array) + >>> array + + [ + 0101000000000000000000F03F0000000000000040, + 01010000000000000000000040000000000000F03F + ] + + """ + import pyarrow as pa + + from geopandas.io._geoarrow import ( + GeoArrowArray, + construct_geometry_array, + construct_wkb_array, ) - return self.symmetric_difference(other) - def __or__(self, other): - """Implement | operator as for builtin set type""" - warnings.warn( - "'|' operator will be deprecated. Use the 'union' method instead.", - FutureWarning, - stacklevel=2, - ) - return self.union(other) + field_name = self.name if self.name is not None else "" - def __and__(self, other): - """Implement & operator as for builtin set type""" - warnings.warn( - "'&' operator will be deprecated. Use the 'intersection' method instead.", - FutureWarning, - stacklevel=2, - ) - return self.intersection(other) + if geometry_encoding.lower() == "geoarrow": + if Version(pa.__version__) < Version("10.0.0"): + raise ValueError("Converting to 'geoarrow' requires pyarrow >= 10.0.") - def __sub__(self, other): - """Implement - operator as for builtin set type""" - warnings.warn( - "'-' operator will be deprecated. Use the 'difference' method instead.", - FutureWarning, - stacklevel=2, - ) - return self.difference(other) + field, geom_arr = construct_geometry_array( + np.array(self.array), + include_z=include_z, + field_name=field_name, + crs=self.crs, + interleaved=interleaved, + ) + elif geometry_encoding.lower() == "wkb": + field, geom_arr = construct_wkb_array( + np.asarray(self.array), field_name=field_name, crs=self.crs + ) + else: + raise ValueError( + "Expected geometry encoding 'WKB' or 'geoarrow' " + f"got {geometry_encoding}" + ) - def clip(self, mask, keep_geom_type: bool = False) -> GeoSeries: + return GeoArrowArray(field, geom_arr) + + def clip(self, mask, keep_geom_type: bool = False, sort=False) -> GeoSeries: """Clip points, lines, or polygon geometries to the mask extent. Both layers must be in the same Coordinate Reference System (CRS). @@ -1357,6 +1483,10 @@ e": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [3 If True, return only geometries of original type in case of intersection resulting in multiple geometry types or GeometryCollections. If False, return all resulting geometries (potentially mixed-types). + sort : boolean, default False + If True, the order of rows in the clipped GeoSeries will be preserved + at small performance cost. + If False the order of rows in the clipped GeoSeries will be random. Returns ------- @@ -1387,4 +1517,4 @@ e": "Feature", "properties": {}, "geometry": {"type": "Point", "coordinates": [3 >>> nws_groceries.shape (7,) """ - return geopandas.clip(self, mask=mask, keep_geom_type=keep_geom_type) + return geopandas.clip(self, mask=mask, keep_geom_type=keep_geom_type, sort=sort) diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/__init__.cpython-312.pyc index 6c44f533..ee4224d8 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/_pyarrow_hotfix.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/_pyarrow_hotfix.cpython-312.pyc index 4d8d44ac..e6852a32 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/_pyarrow_hotfix.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/_pyarrow_hotfix.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/arrow.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/arrow.cpython-312.pyc index 24f07898..f41a94a3 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/arrow.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/arrow.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/file.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/file.cpython-312.pyc index cec0338f..308243da 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/file.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/file.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/sql.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/sql.cpython-312.pyc index 12ec371c..81e5c0f6 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/sql.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/__pycache__/sql.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/_pyarrow_hotfix.py b/.venv/lib/python3.12/site-packages/geopandas/io/_pyarrow_hotfix.py index 8c995890..731db2d6 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/_pyarrow_hotfix.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/_pyarrow_hotfix.py @@ -2,7 +2,6 @@ from packaging.version import Version import pyarrow - _ERROR_MSG = """\ Disallowed deserialization of 'arrow.py_extension_type': storage_type = {storage_type} diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/arrow.py b/.venv/lib/python3.12/site-packages/geopandas/io/arrow.py index ab29b5f7..53cf77ed 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/arrow.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/arrow.py @@ -1,19 +1,31 @@ -from packaging.version import Version import json import warnings +from packaging.version import Version import numpy as np from pandas import DataFrame, Series -import geopandas._compat as compat -from geopandas._compat import import_optional_dependency -from geopandas.array import from_wkb -from geopandas import GeoDataFrame +import shapely + import geopandas +from geopandas import GeoDataFrame +from geopandas._compat import import_optional_dependency +from geopandas.array import from_shapely, from_wkb + from .file import _expand_user METADATA_VERSION = "1.0.0" -SUPPORTED_VERSIONS = ["0.1.0", "0.4.0", "1.0.0-beta.1", "1.0.0"] +SUPPORTED_VERSIONS = ["0.1.0", "0.4.0", "1.0.0-beta.1", "1.0.0", "1.1.0"] +GEOARROW_ENCODINGS = [ + "point", + "linestring", + "polygon", + "multipoint", + "multilinestring", + "multipolygon", +] +SUPPORTED_ENCODINGS = ["WKB"] + GEOARROW_ENCODINGS + # reference: https://github.com/opengeospatial/geoparquet # Metadata structure: @@ -68,7 +80,40 @@ def _remove_id_from_member_of_ensembles(json_dict): member.pop("id", None) -def _create_metadata(df, schema_version=None): +# type ids 0 to 7 +_geometry_type_names = [ + "Point", + "LineString", + "LineString", + "Polygon", + "MultiPoint", + "MultiLineString", + "MultiPolygon", + "GeometryCollection", +] +_geometry_type_names += [geom_type + " Z" for geom_type in _geometry_type_names] + + +def _get_geometry_types(series): + """ + Get unique geometry types from a GeoSeries. + """ + arr_geometry_types = shapely.get_type_id(series.array._data) + # ensure to include "... Z" for 3D geometries + has_z = shapely.has_z(series.array._data) + arr_geometry_types[has_z] += 8 + + geometry_types = Series(arr_geometry_types).unique().tolist() + # drop missing values (shapely.get_type_id returns -1 for those) + if -1 in geometry_types: + geometry_types.remove(-1) + + return sorted([_geometry_type_names[idx] for idx in geometry_types]) + + +def _create_metadata( + df, schema_version=None, geometry_encoding=None, write_covering_bbox=False +): """Create and encode geo metadata dict. Parameters @@ -77,13 +122,22 @@ def _create_metadata(df, schema_version=None): schema_version : {'0.1.0', '0.4.0', '1.0.0-beta.1', '1.0.0', None} GeoParquet specification version; if not provided will default to latest supported version. + write_covering_bbox : bool, default False + Writes the bounding box column for each row entry with column + name 'bbox'. Writing a bbox column can be computationally + expensive, hence is default setting is False. Returns ------- dict """ - - schema_version = schema_version or METADATA_VERSION + if schema_version is None: + if geometry_encoding and any( + encoding != "WKB" for encoding in geometry_encoding.values() + ): + schema_version = "1.1.0" + else: + schema_version = METADATA_VERSION if schema_version not in SUPPORTED_VERSIONS: raise ValueError( @@ -94,7 +148,8 @@ def _create_metadata(df, schema_version=None): column_metadata = {} for col in df.columns[df.dtypes == "geometry"]: series = df[col] - geometry_types = sorted(Series(series.geom_type.unique()).dropna()) + + geometry_types = _get_geometry_types(series) if schema_version[0] == "0": geometry_types_name = "geometry_type" if len(geometry_types) == 1: @@ -111,7 +166,7 @@ def _create_metadata(df, schema_version=None): _remove_id_from_member_of_ensembles(crs) column_metadata[col] = { - "encoding": "WKB", + "encoding": geometry_encoding[col], "crs": crs, geometry_types_name: geometry_types, } @@ -121,10 +176,20 @@ def _create_metadata(df, schema_version=None): # don't add bbox with NaNs for empty / all-NA geometry column column_metadata[col]["bbox"] = bbox + if write_covering_bbox: + column_metadata[col]["covering"] = { + "bbox": { + "xmin": ["bbox", "xmin"], + "ymin": ["bbox", "ymin"], + "xmax": ["bbox", "xmax"], + "ymax": ["bbox", "ymax"], + }, + } + return { "primary_column": df._geometry_column_name, "columns": column_metadata, - "version": schema_version or METADATA_VERSION, + "version": schema_version, "creator": {"library": "geopandas", "version": geopandas.__version__}, } @@ -188,7 +253,7 @@ def _validate_dataframe(df): raise ValueError("Index level names must be strings") -def _validate_metadata(metadata): +def _validate_geo_metadata(metadata): """Validate geo metadata. Must not be empty, and must contain the structure specified above. @@ -232,8 +297,12 @@ def _validate_metadata(metadata): "'{key}' for column '{col}'".format(key=key, col=col) ) - if column_metadata["encoding"] != "WKB": - raise ValueError("Only WKB geometry encoding is supported") + if column_metadata["encoding"] not in SUPPORTED_ENCODINGS: + raise ValueError( + "Only WKB geometry encoding or one of the native encodings " + f"({GEOARROW_ENCODINGS!r}) are supported, " + f"got: {column_metadata['encoding']}" + ) if column_metadata.get("edges", "planar") == "spherical": warnings.warn( @@ -245,37 +314,59 @@ def _validate_metadata(metadata): stacklevel=4, ) + if "covering" in column_metadata: + covering = column_metadata["covering"] + if "bbox" in covering: + bbox = covering["bbox"] + for var in ["xmin", "ymin", "xmax", "ymax"]: + if var not in bbox.keys(): + raise ValueError("Metadata for bbox column is malformed.") -def _geopandas_to_arrow(df, index=None, schema_version=None): + +def _geopandas_to_arrow( + df, + index=None, + geometry_encoding="WKB", + schema_version=None, + write_covering_bbox=None, +): """ Helper function with main, shared logic for to_parquet/to_feather. """ - from pyarrow import Table + from pyarrow import StructArray + + from geopandas.io._geoarrow import geopandas_to_arrow _validate_dataframe(df) - # create geo metadata before altering incoming data frame - geo_metadata = _create_metadata(df, schema_version=schema_version) + if schema_version is not None: + if geometry_encoding != "WKB" and schema_version != "1.1.0": + raise ValueError( + "'geoarrow' encoding is only supported with schema version >= 1.1.0" + ) - kwargs = {} - if compat.USE_SHAPELY_20: - kwargs = {"flavor": "iso"} - else: - for col in df.columns[df.dtypes == "geometry"]: - series = df[col] - if series.has_z.any(): - warnings.warn( - "The GeoDataFrame contains 3D geometries, and when using " - "shapely < 2.0, such geometries will be written not exactly " - "following to the GeoParquet spec (not using ISO WKB). For " - "most use cases this should not be a problem (GeoPandas can " - "read such files fine).", - stacklevel=2, - ) - break - df = df.to_wkb(**kwargs) + table, geometry_encoding_dict = geopandas_to_arrow( + df, geometry_encoding=geometry_encoding, index=index, interleaved=False + ) + geo_metadata = _create_metadata( + df, + schema_version=schema_version, + geometry_encoding=geometry_encoding_dict, + write_covering_bbox=write_covering_bbox, + ) - table = Table.from_pandas(df, preserve_index=index) + if write_covering_bbox: + if "bbox" in df.columns: + raise ValueError( + "An existing column 'bbox' already exists in the dataframe. " + "Please rename to write covering bbox." + ) + bounds = df.bounds + bbox_array = StructArray.from_arrays( + [bounds["minx"], bounds["miny"], bounds["maxx"], bounds["maxy"]], + names=["xmin", "ymin", "xmax", "ymax"], + ) + table = table.append_column("bbox", bbox_array) # Store geopandas specific file-level metadata # This must be done AFTER creating the table or it is not persisted @@ -286,7 +377,14 @@ def _geopandas_to_arrow(df, index=None, schema_version=None): def _to_parquet( - df, path, index=None, compression="snappy", schema_version=None, **kwargs + df, + path, + index=None, + compression="snappy", + geometry_encoding="WKB", + schema_version=None, + write_covering_bbox=False, + **kwargs, ): """ Write a GeoDataFrame to the Parquet format. @@ -312,9 +410,17 @@ def _to_parquet( output except `RangeIndex` which is stored as metadata only. compression : {'snappy', 'gzip', 'brotli', None}, default 'snappy' Name of the compression to use. Use ``None`` for no compression. + geometry_encoding : {'WKB', 'geoarrow'}, default 'WKB' + The encoding to use for the geometry columns. Defaults to "WKB" + for maximum interoperability. Specify "geoarrow" to use one of the + native GeoArrow-based single-geometry type encodings. schema_version : {'0.1.0', '0.4.0', '1.0.0', None} GeoParquet specification version; if not provided will default to latest supported version. + write_covering_bbox : bool, default False + Writes the bounding box column for each row entry with column + name 'bbox'. Writing a bbox column can be computationally + expensive, hence is default setting is False. **kwargs Additional keyword arguments passed to pyarrow.parquet.write_table(). """ @@ -322,19 +428,14 @@ def _to_parquet( "pyarrow.parquet", extra="pyarrow is required for Parquet support." ) - if kwargs and "version" in kwargs and kwargs["version"] is not None: - if schema_version is None and kwargs["version"] in SUPPORTED_VERSIONS: - warnings.warn( - "the `version` parameter has been replaced with `schema_version`. " - "`version` will instead be passed directly to the underlying " - "parquet writer unless `version` is 0.1.0 or 0.4.0.", - FutureWarning, - stacklevel=2, - ) - schema_version = kwargs.pop("version") - path = _expand_user(path) - table = _geopandas_to_arrow(df, index=index, schema_version=schema_version) + table = _geopandas_to_arrow( + df, + index=index, + geometry_encoding=geometry_encoding, + schema_version=schema_version, + write_covering_bbox=write_covering_bbox, + ) parquet.write_table(table, path, compression=compression, **kwargs) @@ -379,47 +480,26 @@ def _to_feather(df, path, index=None, compression=None, schema_version=None, **k if Version(pyarrow.__version__) < Version("0.17.0"): raise ImportError("pyarrow >= 0.17 required for Feather support") - if kwargs and "version" in kwargs and kwargs["version"] is not None: - if schema_version is None and kwargs["version"] in SUPPORTED_VERSIONS: - warnings.warn( - "the `version` parameter has been replaced with `schema_version`. " - "`version` will instead be passed directly to the underlying " - "feather writer unless `version` is 0.1.0 or 0.4.0.", - FutureWarning, - stacklevel=2, - ) - schema_version = kwargs.pop("version") - path = _expand_user(path) table = _geopandas_to_arrow(df, index=index, schema_version=schema_version) feather.write_feather(table, path, compression=compression, **kwargs) -def _arrow_to_geopandas(table, metadata=None): +def _arrow_to_geopandas(table, geo_metadata=None): """ Helper function with main, shared logic for read_parquet/read_feather. """ - df = table.to_pandas() - - metadata = metadata or table.schema.metadata - - if metadata is None or b"geo" not in metadata: - raise ValueError( - """Missing geo metadata in Parquet/Feather file. - Use pandas.read_parquet/read_feather() instead.""" - ) - - try: - metadata = _decode_metadata(metadata.get(b"geo", b"")) - - except (TypeError, json.decoder.JSONDecodeError): - raise ValueError("Missing or malformed geo metadata in Parquet/Feather file") - - _validate_metadata(metadata) + if geo_metadata is None: + # Note: this path of not passing metadata is also used by dask-geopandas + geo_metadata = _validate_and_decode_metadata(table.schema.metadata) # Find all geometry columns that were read from the file. May # be a subset if 'columns' parameter is used. - geometry_columns = df.columns.intersection(metadata["columns"]) + geometry_columns = [ + col for col in geo_metadata["columns"] if col in table.column_names + ] + result_column_names = list(table.slice(0, 0).to_pandas().columns) + geometry_columns.sort(key=result_column_names.index) if not len(geometry_columns): raise ValueError( @@ -428,7 +508,7 @@ def _arrow_to_geopandas(table, metadata=None): use pandas.read_parquet/read_feather() instead.""" ) - geometry = metadata["primary_column"] + geometry = geo_metadata["primary_column"] # Missing geometry likely indicates a subset of columns was read; # promote the first available geometry to the primary geometry. @@ -443,9 +523,12 @@ def _arrow_to_geopandas(table, metadata=None): stacklevel=3, ) + table_attr = table.drop(geometry_columns) + df = table_attr.to_pandas() + # Convert the WKB columns that are present back to geometry. for col in geometry_columns: - col_metadata = metadata["columns"][col] + col_metadata = geo_metadata["columns"][col] if "crs" in col_metadata: crs = col_metadata["crs"] if isinstance(crs, dict): @@ -455,7 +538,19 @@ def _arrow_to_geopandas(table, metadata=None): # OGC:CRS84 crs = "OGC:CRS84" - df[col] = from_wkb(df[col].values, crs=crs) + if col_metadata["encoding"] == "WKB": + geom_arr = from_wkb(np.array(table[col]), crs=crs) + else: + from geopandas.io._geoarrow import construct_shapely_array + + geom_arr = from_shapely( + construct_shapely_array( + table[col].combine_chunks(), "geoarrow." + col_metadata["encoding"] + ), + crs=crs, + ) + + df.insert(result_column_names.index(col), col, geom_arr) return GeoDataFrame(df, geometry=geometry) @@ -521,7 +616,59 @@ def _ensure_arrow_fs(filesystem): return filesystem -def _read_parquet(path, columns=None, storage_options=None, **kwargs): +def _validate_and_decode_metadata(metadata): + if metadata is None or b"geo" not in metadata: + raise ValueError( + """Missing geo metadata in Parquet/Feather file. + Use pandas.read_parquet/read_feather() instead.""" + ) + + # check for malformed metadata + try: + decoded_geo_metadata = _decode_metadata(metadata.get(b"geo", b"")) + except (TypeError, json.decoder.JSONDecodeError): + raise ValueError("Missing or malformed geo metadata in Parquet/Feather file") + + _validate_geo_metadata(decoded_geo_metadata) + return decoded_geo_metadata + + +def _read_parquet_schema_and_metadata(path, filesystem): + """ + Opening the Parquet file/dataset a first time to get the schema and metadata. + + TODO: we should look into how we can reuse opened dataset for reading the + actual data, to avoid discovering the dataset twice (problem right now is + that the ParquetDataset interface doesn't allow passing the filters on read) + + """ + import pyarrow + from pyarrow import parquet + + kwargs = {} + if Version(pyarrow.__version__) < Version("15.0.0"): + kwargs = dict(use_legacy_dataset=False) + + try: + schema = parquet.ParquetDataset(path, filesystem=filesystem, **kwargs).schema + except Exception: + schema = parquet.read_schema(path, filesystem=filesystem) + + metadata = schema.metadata + + # read metadata separately to get the raw Parquet FileMetaData metadata + # (pyarrow doesn't properly exposes those in schema.metadata for files + # created by GDAL - https://issues.apache.org/jira/browse/ARROW-16688) + if metadata is None or b"geo" not in metadata: + try: + metadata = parquet.read_metadata(path, filesystem=filesystem).metadata + except Exception: + pass + + return schema, metadata + + +def _read_parquet(path, columns=None, storage_options=None, bbox=None, **kwargs): """ Load a Parquet object from the file path, returning a GeoDataFrame. @@ -565,8 +712,13 @@ def _read_parquet(path, columns=None, storage_options=None, **kwargs): both ``pyarrow.fs`` and ``fsspec`` (e.g. "s3://") then the ``pyarrow.fs`` filesystem is preferred. Provide the instantiated fsspec filesystem using the ``filesystem`` keyword if you wish to use its implementation. + bbox : tuple, optional + Bounding box to be used to filter selection from geoparquet data. This + is only usable if the data was saved with the bbox covering metadata. + Input is of the tuple format (xmin, ymin, xmax, ymax). + **kwargs - Any additional kwargs passed to pyarrow.parquet.read_table(). + Any additional kwargs passed to :func:`pyarrow.parquet.read_table`. Returns ------- @@ -595,29 +747,36 @@ def _read_parquet(path, columns=None, storage_options=None, **kwargs): filesystem, path = _get_filesystem_path( path, filesystem=filesystem, storage_options=storage_options ) - path = _expand_user(path) + schema, metadata = _read_parquet_schema_and_metadata(path, filesystem) + + geo_metadata = _validate_and_decode_metadata(metadata) + + bbox_filter = ( + _get_parquet_bbox_filter(geo_metadata, bbox) if bbox is not None else None + ) + + if_bbox_column_exists = _check_if_covering_in_geo_metadata(geo_metadata) + + # by default, bbox column is not read in, so must specify which + # columns are read in if it exists. + if not columns and if_bbox_column_exists: + columns = _get_non_bbox_columns(schema, geo_metadata) + + # if both bbox and filters kwargs are used, must splice together. + if "filters" in kwargs: + filters_kwarg = kwargs.pop("filters") + filters = _splice_bbox_and_filters(filters_kwarg, bbox_filter) + else: + filters = bbox_filter + kwargs["use_pandas_metadata"] = True - table = parquet.read_table(path, columns=columns, filesystem=filesystem, **kwargs) - # read metadata separately to get the raw Parquet FileMetaData metadata - # (pyarrow doesn't properly exposes those in schema.metadata for files - # created by GDAL - https://issues.apache.org/jira/browse/ARROW-16688) - metadata = None - if table.schema.metadata is None or b"geo" not in table.schema.metadata: - try: - # read_metadata does not accept a filesystem keyword, so need to - # handle this manually (https://issues.apache.org/jira/browse/ARROW-16719) - if filesystem is not None: - pa_filesystem = _ensure_arrow_fs(filesystem) - with pa_filesystem.open_input_file(path) as source: - metadata = parquet.read_metadata(source).metadata - else: - metadata = parquet.read_metadata(path).metadata - except Exception: - pass + table = parquet.read_table( + path, columns=columns, filesystem=filesystem, filters=filters, **kwargs + ) - return _arrow_to_geopandas(table, metadata) + return _arrow_to_geopandas(table, geo_metadata) def _read_feather(path, columns=None, **kwargs): @@ -677,11 +836,78 @@ def _read_feather(path, columns=None, **kwargs): ) # TODO move this into `import_optional_dependency` import pyarrow + import geopandas.io._pyarrow_hotfix # noqa: F401 if Version(pyarrow.__version__) < Version("0.17.0"): raise ImportError("pyarrow >= 0.17 required for Feather support") path = _expand_user(path) + table = feather.read_table(path, columns=columns, **kwargs) return _arrow_to_geopandas(table) + + +def _get_parquet_bbox_filter(geo_metadata, bbox): + primary_column = geo_metadata["primary_column"] + + if _check_if_covering_in_geo_metadata(geo_metadata): + bbox_column_name = _get_bbox_encoding_column_name(geo_metadata) + return _convert_bbox_to_parquet_filter(bbox, bbox_column_name) + + elif geo_metadata["columns"][primary_column]["encoding"] == "point": + import pyarrow.compute as pc + + return ( + (pc.field((primary_column, "x")) >= bbox[0]) + & (pc.field((primary_column, "x")) <= bbox[2]) + & (pc.field((primary_column, "y")) >= bbox[1]) + & (pc.field((primary_column, "y")) <= bbox[3]) + ) + + else: + raise ValueError( + "Specifying 'bbox' not supported for this Parquet file (it should either " + "have a bbox covering column or use 'point' encoding)." + ) + + +def _convert_bbox_to_parquet_filter(bbox, bbox_column_name): + import pyarrow.compute as pc + + return ~( + (pc.field((bbox_column_name, "xmin")) > bbox[2]) + | (pc.field((bbox_column_name, "ymin")) > bbox[3]) + | (pc.field((bbox_column_name, "xmax")) < bbox[0]) + | (pc.field((bbox_column_name, "ymax")) < bbox[1]) + ) + + +def _check_if_covering_in_geo_metadata(geo_metadata): + primary_column = geo_metadata["primary_column"] + return "covering" in geo_metadata["columns"][primary_column].keys() + + +def _get_bbox_encoding_column_name(geo_metadata): + primary_column = geo_metadata["primary_column"] + return geo_metadata["columns"][primary_column]["covering"]["bbox"]["xmin"][0] + + +def _get_non_bbox_columns(schema, geo_metadata): + + bbox_column_name = _get_bbox_encoding_column_name(geo_metadata) + columns = schema.names + if bbox_column_name in columns: + columns.remove(bbox_column_name) + return columns + + +def _splice_bbox_and_filters(kwarg_filters, bbox_filter): + parquet = import_optional_dependency( + "pyarrow.parquet", extra="pyarrow is required for Parquet support." + ) + if bbox_filter is None: + return kwarg_filters + + filters_expression = parquet.filters_to_expression(kwarg_filters) + return bbox_filter & filters_expression diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/file.py b/.venv/lib/python3.12/site-packages/geopandas/io/file.py index 7330a030..37aa3038 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/file.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/file.py @@ -1,30 +1,33 @@ +from __future__ import annotations + import os +import urllib.request +import warnings +from io import IOBase from packaging.version import Version from pathlib import Path -import warnings + +# Adapted from pandas.io.common +from urllib.parse import urlparse as parse_url +from urllib.parse import uses_netloc, uses_params, uses_relative import numpy as np import pandas as pd from pandas.api.types import is_integer_dtype -import pyproj +import shapely from shapely.geometry import mapping from shapely.geometry.base import BaseGeometry from geopandas import GeoDataFrame, GeoSeries - -# Adapted from pandas.io.common -from urllib.parse import urlparse as parse_url -from urllib.parse import uses_netloc, uses_params, uses_relative -import urllib.request - +from geopandas._compat import HAS_PYPROJ, PANDAS_GE_20 +from geopandas.io.util import vsi_path _VALID_URLS = set(uses_relative + uses_netloc + uses_params) _VALID_URLS.discard("") # file:// URIs are supported by fiona/pyogrio -> don't already open + read the file here _VALID_URLS.discard("file") - fiona = None fiona_env = None fiona_import_error = None @@ -55,6 +58,7 @@ def _import_fiona(): FIONA_GE_19 = Version(Version(fiona.__version__).base_version) >= Version( "1.9.0" ) + except ImportError as err: fiona = False fiona_import_error = str(err) @@ -71,13 +75,14 @@ def _import_pyogrio(): if pyogrio is None: try: import pyogrio + except ImportError as err: pyogrio = False pyogrio_import_error = str(err) def _check_fiona(func): - if fiona is None: + if not fiona: raise ImportError( f"the {func} requires the 'fiona' package, but it is not installed or does " f"not import correctly.\nImporting fiona resulted in: {fiona_import_error}" @@ -85,7 +90,7 @@ def _check_fiona(func): def _check_pyogrio(func): - if pyogrio is None: + if not pyogrio: raise ImportError( f"the {func} requires the 'pyogrio' package, but it is not installed " "or does not import correctly." @@ -93,35 +98,49 @@ def _check_pyogrio(func): ) +def _check_metadata_supported(metadata: str | None, engine: str, driver: str) -> None: + if metadata is None: + return + if driver != "GPKG": + raise NotImplementedError( + "The 'metadata' keyword is only supported for the GPKG driver." + ) + + if engine == "fiona" and not FIONA_GE_19: + raise NotImplementedError( + "The 'metadata' keyword is only supported for Fiona >= 1.9." + ) + + def _check_engine(engine, func): - # if not specified through keyword or option, then default to "fiona" if - # installed, otherwise try pyogrio + # if not specified through keyword or option, then default to "pyogrio" if + # installed, otherwise try fiona if engine is None: import geopandas engine = geopandas.options.io_engine if engine is None: - _import_fiona() - if fiona: - engine = "fiona" + _import_pyogrio() + if pyogrio: + engine = "pyogrio" else: - _import_pyogrio() - if pyogrio: - engine = "pyogrio" + _import_fiona() + if fiona: + engine = "fiona" - if engine == "fiona": - _import_fiona() - _check_fiona(func) - elif engine == "pyogrio": + if engine == "pyogrio": _import_pyogrio() _check_pyogrio(func) + elif engine == "fiona": + _import_fiona() + _check_fiona(func) elif engine is None: raise ImportError( f"The {func} requires the 'pyogrio' or 'fiona' package, " "but neither is installed or imports correctly." - f"\nImporting fiona resulted in: {fiona_import_error}" f"\nImporting pyogrio resulted in: {pyogrio_import_error}" + f"\nImporting fiona resulted in: {fiona_import_error}" ) return engine @@ -168,31 +187,12 @@ def _is_url(url): return False -def _is_zip(path): - """Check if a given path is a zipfile""" - parsed = fiona.path.ParsedPath.from_uri(path) - return ( - parsed.archive.endswith(".zip") - if parsed.archive - else parsed.path.endswith(".zip") - ) - - -def _read_file(filename, bbox=None, mask=None, rows=None, engine=None, **kwargs): +def _read_file( + filename, bbox=None, mask=None, columns=None, rows=None, engine=None, **kwargs +): """ Returns a GeoDataFrame from a file or URL. - .. note:: - - GeoPandas currently defaults to use Fiona as the engine in ``read_file``. - However, GeoPandas 1.0 will switch to use pyogrio as the default engine, since - pyogrio can provide a significant speedup compared to Fiona. We recommend to - already install pyogrio and specify the engine by using the ``engine`` keyword - (``geopandas.read_file(..., engine="pyogrio")``), or by setting the default for - the ``engine`` keyword globally with:: - - geopandas.options.io_engine = "pyogrio" - Parameters ---------- filename : str, path object or file-like object @@ -209,21 +209,28 @@ def _read_file(filename, bbox=None, mask=None, rows=None, engine=None, **kwargs) Filter for features that intersect with the given dict-like geojson geometry, GeoSeries, GeoDataFrame or shapely geometry. CRS mis-matches are resolved if given a GeoSeries or GeoDataFrame. - Cannot be used with bbox. + Cannot be used with bbox. If multiple geometries are passed, this will + first union all geometries, which may be computationally expensive. + columns : list, optional + List of column names to import from the data source. Column names + must exactly match the names in the data source. To avoid reading + any columns (besides the geometry column), pass an empty list-like. + By default reads all columns. rows : int or slice, default None Load in specific rows by passing an integer (first `n` rows) or a slice() object. - engine : str, "fiona" or "pyogrio" + engine : str, "pyogrio" or "fiona" The underlying library that is used to read the file. Currently, the - supported options are "fiona" and "pyogrio". Defaults to "fiona" if - installed, otherwise tries "pyogrio". + supported options are "pyogrio" and "fiona". Defaults to "pyogrio" if + installed, otherwise tries "fiona". Engine can also be set globally + with the ``geopandas.options.io_engine`` option. **kwargs : - Keyword args to be passed to the engine. In case of the "fiona" engine, - the keyword arguments are passed to :func:`fiona.open` or - :class:`fiona.collection.BytesCollection` when opening the file. - For more information on possible keywords, type: - ``import fiona; help(fiona.open)``. In case of the "pyogrio" engine, - the keyword arguments are passed to :func:`pyogrio.read_dataframe`. + Keyword args to be passed to the engine, and can be used to write + to multi-layer data, store data within archives (zip files), etc. + In case of the "pyogrio" engine, the keyword arguments are passed to + `pyogrio.write_dataframe`. In case of the "fiona" engine, the keyword + arguments are passed to fiona.open`. For more information on possible + keywords, type: ``import pyogrio; help(pyogrio.write_dataframe)``. Examples @@ -284,7 +291,9 @@ def _read_file(filename, bbox=None, mask=None, rows=None, engine=None, **kwargs) from_bytes = True if engine == "pyogrio": - return _read_file_pyogrio(filename, bbox=bbox, mask=mask, rows=rows, **kwargs) + return _read_file_pyogrio( + filename, bbox=bbox, mask=mask, columns=columns, rows=rows, **kwargs + ) elif engine == "fiona": if pd.api.types.is_file_like(filename): @@ -295,7 +304,13 @@ def _read_file(filename, bbox=None, mask=None, rows=None, engine=None, **kwargs) path_or_bytes = filename return _read_file_fiona( - path_or_bytes, from_bytes, bbox=bbox, mask=mask, rows=rows, **kwargs + path_or_bytes, + from_bytes, + bbox=bbox, + mask=mask, + columns=columns, + rows=rows, + **kwargs, ) else: @@ -303,31 +318,36 @@ def _read_file(filename, bbox=None, mask=None, rows=None, engine=None, **kwargs) def _read_file_fiona( - path_or_bytes, from_bytes, bbox=None, mask=None, rows=None, where=None, **kwargs + path_or_bytes, + from_bytes, + bbox=None, + mask=None, + columns=None, + rows=None, + where=None, + **kwargs, ): if where is not None and not FIONA_GE_19: raise NotImplementedError("where requires fiona 1.9+") + if columns is not None: + if "include_fields" in kwargs: + raise ValueError( + "Cannot specify both 'include_fields' and 'columns' keywords" + ) + if not FIONA_GE_19: + raise NotImplementedError("'columns' keyword requires fiona 1.9+") + kwargs["include_fields"] = columns + elif "include_fields" in kwargs: + # alias to columns, as this variable is used below to specify column order + # in the dataframe creation + columns = kwargs["include_fields"] + if not from_bytes: # Opening a file via URL or file-like-object above automatically detects a # zipped file. In order to match that behavior, attempt to add a zip scheme # if missing. - if _is_zip(str(path_or_bytes)): - parsed = fiona.parse_path(str(path_or_bytes)) - if isinstance(parsed, fiona.path.ParsedPath): - # If fiona is able to parse the path, we can safely look at the scheme - # and update it to have a zip scheme if necessary. - schemes = (parsed.scheme or "").split("+") - if "zip" not in schemes: - parsed.scheme = "+".join(["zip"] + schemes) - path_or_bytes = parsed.name - elif isinstance(parsed, fiona.path.UnparsedPath) and not str( - path_or_bytes - ).startswith("/vsi"): - # If fiona is unable to parse the path, it might have a Windows drive - # scheme. Try adding zip:// to the front. If the path starts with "/vsi" - # it is a legacy GDAL path type, so let it pass unmodified. - path_or_bytes = "zip://" + parsed.name + path_or_bytes = vsi_path(str(path_or_bytes)) if from_bytes: reader = fiona.BytesCollection @@ -359,7 +379,7 @@ def _read_file_fiona( assert len(bbox) == 4 # handle loading the mask elif isinstance(mask, (GeoDataFrame, GeoSeries)): - mask = mapping(mask.to_crs(crs).unary_union) + mask = mapping(mask.to_crs(crs).union_all()) elif isinstance(mask, BaseGeometry): mask = mapping(mask) @@ -383,11 +403,14 @@ def _read_file_fiona( else: f_filt = features # get list of columns - columns = list(features.schema["properties"]) + columns = columns or list(features.schema["properties"]) datetime_fields = [ k for (k, v) in features.schema["properties"].items() if v == "datetime" ] - if kwargs.get("ignore_geometry", False): + if ( + kwargs.get("ignore_geometry", False) + or features.schema["geometry"] == "None" + ): df = pd.DataFrame( [record["properties"] for record in f_filt], columns=columns ) @@ -396,16 +419,39 @@ def _read_file_fiona( f_filt, crs=crs, columns=columns + ["geometry"] ) for k in datetime_fields: - as_dt = pd.to_datetime(df[k], errors="ignore") - # if to_datetime failed, try again for mixed timezone offsets - if as_dt.dtype == "object": + as_dt = None + # plain try catch for when pandas will raise in the future + # TODO we can tighten the exception type in future when it does + try: + with warnings.catch_warnings(): + # pandas 2.x does not yet enforce this behaviour but raises a + # warning -> we want to to suppress this warning for our users, + # and do this by turning it into an error so we take the + # `except` code path to try again with utc=True + warnings.filterwarnings( + "error", + "In a future version of pandas, parsing datetimes with " + "mixed time zones will raise an error", + FutureWarning, + ) + as_dt = pd.to_datetime(df[k]) + except Exception: + pass + if as_dt is None or as_dt.dtype == "object": + # if to_datetime failed, try again for mixed timezone offsets # This can still fail if there are invalid datetimes - as_dt = pd.to_datetime(df[k], errors="ignore", utc=True) + try: + as_dt = pd.to_datetime(df[k], utc=True) + except Exception: + pass # if to_datetime succeeded, round datetimes as # fiona only supports up to ms precision (any microseconds are # floating point rounding error) - if not (as_dt.dtype == "object"): - df[k] = as_dt.dt.round(freq="ms") + if as_dt is not None and not (as_dt.dtype == "object"): + if PANDAS_GE_20: + df[k] = as_dt.dt.as_unit("ms") + else: + df[k] = as_dt.dt.round(freq="ms") return df @@ -428,48 +474,79 @@ def _read_file_pyogrio(path_or_bytes, bbox=None, mask=None, rows=None, **kwargs) raise ValueError("slice with step is not supported") else: raise TypeError("'rows' must be an integer or a slice.") + + if bbox is not None and mask is not None: + # match error message from Fiona + raise ValueError("mask and bbox can not be set together") + if bbox is not None: if isinstance(bbox, (GeoDataFrame, GeoSeries)): - bbox = tuple(bbox.total_bounds) + crs = pyogrio.read_info(path_or_bytes).get("crs") + if isinstance(path_or_bytes, IOBase): + path_or_bytes.seek(0) + + bbox = tuple(bbox.to_crs(crs).total_bounds) elif isinstance(bbox, BaseGeometry): bbox = bbox.bounds if len(bbox) != 4: raise ValueError("'bbox' should be a length-4 tuple.") + if mask is not None: - raise ValueError( - "The 'mask' keyword is not supported with the 'pyogrio' engine. " - "You can use 'bbox' instead." - ) + # NOTE: mask cannot be used at same time as bbox keyword + if isinstance(mask, (GeoDataFrame, GeoSeries)): + crs = pyogrio.read_info(path_or_bytes).get("crs") + if isinstance(path_or_bytes, IOBase): + path_or_bytes.seek(0) + + mask = shapely.unary_union(mask.to_crs(crs).geometry.values) + elif isinstance(mask, BaseGeometry): + mask = shapely.unary_union(mask) + elif isinstance(mask, dict) or hasattr(mask, "__geo_interface__"): + # convert GeoJSON to shapely geometry + mask = shapely.geometry.shape(mask) + + kwargs["mask"] = mask + if kwargs.pop("ignore_geometry", False): kwargs["read_geometry"] = False - # TODO: if bbox is not None, check its CRS vs the CRS of the file + # translate `ignore_fields`/`include_fields` keyword for back compat with fiona + if "ignore_fields" in kwargs and "include_fields" in kwargs: + raise ValueError("Cannot specify both 'ignore_fields' and 'include_fields'") + elif "ignore_fields" in kwargs: + if kwargs.get("columns", None) is not None: + raise ValueError( + "Cannot specify both 'columns' and 'ignore_fields' keywords" + ) + warnings.warn( + "The 'include_fields' and 'ignore_fields' keywords are deprecated, and " + "will be removed in a future release. You can use the 'columns' keyword " + "instead to select which columns to read.", + DeprecationWarning, + stacklevel=3, + ) + ignore_fields = kwargs.pop("ignore_fields") + fields = pyogrio.read_info(path_or_bytes)["fields"] + include_fields = [col for col in fields if col not in ignore_fields] + kwargs["columns"] = include_fields + elif "include_fields" in kwargs: + # translate `include_fields` keyword for back compat with fiona engine + if kwargs.get("columns", None) is not None: + raise ValueError( + "Cannot specify both 'columns' and 'include_fields' keywords" + ) + warnings.warn( + "The 'include_fields' and 'ignore_fields' keywords are deprecated, and " + "will be removed in a future release. You can use the 'columns' keyword " + "instead to select which columns to read.", + DeprecationWarning, + stacklevel=3, + ) + kwargs["columns"] = kwargs.pop("include_fields") + return pyogrio.read_dataframe(path_or_bytes, bbox=bbox, **kwargs) -def read_file(*args, **kwargs): - warnings.warn( - "geopandas.io.file.read_file() is intended for internal " - "use only, and will be deprecated. Use geopandas.read_file() instead.", - FutureWarning, - stacklevel=2, - ) - - return _read_file(*args, **kwargs) - - -def to_file(*args, **kwargs): - warnings.warn( - "geopandas.io.file.to_file() is intended for internal " - "use only, and will be deprecated. Use GeoDataFrame.to_file() " - "or GeoSeries.to_file() instead.", - FutureWarning, - stacklevel=2, - ) - - return _to_file(*args, **kwargs) - - def _detect_driver(path): """ Attempt to auto-detect driver based on the extension @@ -497,25 +574,16 @@ def _to_file( mode="w", crs=None, engine=None, + metadata=None, **kwargs, ): """ Write this GeoDataFrame to an OGR data source A dictionary of supported OGR providers is available via: - >>> import fiona - >>> fiona.supported_drivers # doctest: +SKIP - .. note:: - - GeoPandas currently defaults to use Fiona as the engine in ``to_file``. - However, GeoPandas 1.0 will switch to use pyogrio as the default engine, since - pyogrio can provide a significant speedup compared to Fiona. We recommend to - already install pyogrio and specify the engine by using the ``engine`` keyword - (``df.to_file(..., engine="pyogrio")``), or by setting the default for - the ``engine`` keyword globally with:: - - geopandas.options.io_engine = "pyogrio" + >>> import pyogrio + >>> pyogrio.list_drivers() # doctest: +SKIP Parameters ---------- @@ -557,10 +625,15 @@ def _to_file( The value can be anything accepted by :meth:`pyproj.CRS.from_user_input() `, such as an authority string (eg "EPSG:4326") or a WKT string. - engine : str, "fiona" or "pyogrio" - The underlying library that is used to write the file. Currently, the - supported options are "fiona" and "pyogrio". Defaults to "fiona" if - installed, otherwise tries "pyogrio". + engine : str, "pyogrio" or "fiona" + The underlying library that is used to read the file. Currently, the + supported options are "pyogrio" and "fiona". Defaults to "pyogrio" if + installed, otherwise tries "fiona". Engine can also be set globally + with the ``geopandas.options.io_engine`` option. + metadata : dict[str, str], default None + Optional metadata to be stored in the file. Keys and values must be + strings. Only supported for the "GPKG" driver + (requires Fiona >= 1.9 or pyogrio >= 0.6). **kwargs : Keyword args to be passed to the engine, and can be used to write to multi-layer data, store data within archives (zip files), etc. @@ -604,44 +677,57 @@ def _to_file( "to a supported format like a well-known text (WKT) using " "`GeoSeries.to_wkt()`.", ) + _check_metadata_supported(metadata, engine, driver) if mode not in ("w", "a"): raise ValueError(f"'mode' should be one of 'w' or 'a', got '{mode}' instead") - if engine == "fiona": - _to_file_fiona(df, filename, driver, schema, crs, mode, **kwargs) - elif engine == "pyogrio": - _to_file_pyogrio(df, filename, driver, schema, crs, mode, **kwargs) + if engine == "pyogrio": + _to_file_pyogrio(df, filename, driver, schema, crs, mode, metadata, **kwargs) + elif engine == "fiona": + _to_file_fiona(df, filename, driver, schema, crs, mode, metadata, **kwargs) else: raise ValueError(f"unknown engine '{engine}'") -def _to_file_fiona(df, filename, driver, schema, crs, mode, **kwargs): +def _to_file_fiona(df, filename, driver, schema, crs, mode, metadata, **kwargs): + if not HAS_PYPROJ and crs: + raise ImportError( + "The 'pyproj' package is required to write a file with a CRS, but it is not" + " installed or does not import correctly." + ) + if schema is None: schema = infer_schema(df) if crs: - crs = pyproj.CRS.from_user_input(crs) + from pyproj import CRS + + crs = CRS.from_user_input(crs) else: crs = df.crs with fiona_env(): crs_wkt = None try: - gdal_version = fiona.env.get_gdal_release_name() - except AttributeError: - gdal_version = "2.0.0" # just assume it is not the latest - if Version(gdal_version) >= Version("3.0.0") and crs: + gdal_version = Version( + fiona.env.get_gdal_release_name().strip("e") + ) # GH3147 + except (AttributeError, ValueError): + gdal_version = Version("2.0.0") # just assume it is not the latest + if gdal_version >= Version("3.0.0") and crs: crs_wkt = crs.to_wkt() elif crs: crs_wkt = crs.to_wkt("WKT1_GDAL") with fiona.open( filename, mode=mode, driver=driver, crs_wkt=crs_wkt, schema=schema, **kwargs ) as colxn: + if metadata is not None: + colxn.update_tags(metadata) colxn.writerecords(df.iterfeatures()) -def _to_file_pyogrio(df, filename, driver, schema, crs, mode, **kwargs): +def _to_file_pyogrio(df, filename, driver, schema, crs, mode, metadata, **kwargs): import pyogrio if schema is not None: @@ -653,13 +739,13 @@ def _to_file_pyogrio(df, filename, driver, schema, crs, mode, **kwargs): kwargs["append"] = True if crs is not None: - raise ValueError("Passing 'crs' it not supported with the 'pyogrio' engine.") + raise ValueError("Passing 'crs' is not supported with the 'pyogrio' engine.") # for the fiona engine, this check is done in gdf.iterfeatures() if not df.columns.is_unique: raise ValueError("GeoDataFrame cannot contain duplicated column names.") - pyogrio.write_dataframe(df, filename, driver=driver, **kwargs) + pyogrio.write_dataframe(df, filename, driver=driver, metadata=metadata, **kwargs) def infer_schema(df): @@ -732,3 +818,34 @@ def _geometry_types(df): geom_types = geom_types[0] return geom_types + + +def _list_layers(filename) -> pd.DataFrame: + """List layers available in a file. + + Provides an overview of layers available in a file or URL together with their + geometry types. When supported by the data source, this includes both spatial and + non-spatial layers. Non-spatial layers are indicated by the ``"geometry_type"`` + column being ``None``. GeoPandas will not read such layers but they can be read into + a pd.DataFrame using :func:`pyogrio.read_dataframe`. + + Parameters + ---------- + filename : str, path object or file-like object + Either the absolute or relative path to the file or URL to + be opened, or any object with a read() method (such as an open file + or StringIO) + + Returns + ------- + pandas.DataFrame + A DataFrame with columns "name" and "geometry_type" and one row per layer. + """ + _import_pyogrio() + _check_pyogrio("list_layers") + + import pyogrio + + return pd.DataFrame( + pyogrio.list_layers(filename), columns=["name", "geometry_type"] + ) diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/sql.py b/.venv/lib/python3.12/site-packages/geopandas/io/sql.py index 5427903e..0f99b09e 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/sql.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/sql.py @@ -1,5 +1,6 @@ import warnings from contextlib import contextmanager +from functools import lru_cache import pandas as pd @@ -8,8 +9,6 @@ import shapely.wkb from geopandas import GeoDataFrame -from geopandas import _compat as compat - @contextmanager def _get_conn(conn_or_engine): @@ -28,7 +27,7 @@ def _get_conn(conn_or_engine): ------- Connection """ - from sqlalchemy.engine.base import Engine, Connection + from sqlalchemy.engine.base import Connection, Engine if isinstance(conn_or_engine, Connection): if not conn_or_engine.in_transaction(): @@ -43,7 +42,7 @@ def _get_conn(conn_or_engine): raise ValueError(f"Unknown Connectable: {conn_or_engine}") -def _df_to_geodf(df, geom_col="geom", crs=None): +def _df_to_geodf(df, geom_col="geom", crs=None, con=None): """ Transforms a pandas DataFrame into a GeoDataFrame. The column 'geom_col' must be a geometry column in WKB representation. @@ -60,6 +59,8 @@ def _df_to_geodf(df, geom_col="geom", crs=None): such as an authority string (eg "EPSG:4326") or a WKT string. If not set, tries to determine CRS from the SRID associated with the first geometry in the database, and assigns that to all geometries. + con : sqlalchemy.engine.Connection or sqlalchemy.engine.Engine + Active connection to the database to query. Returns ------- GeoDataFrame @@ -80,10 +81,6 @@ def _df_to_geodf(df, geom_col="geom", crs=None): load_geom_bytes = shapely.wkb.loads """Load from Python 3 binary.""" - def load_geom_buffer(x): - """Load from Python 2 binary.""" - return shapely.wkb.loads(str(x)) - def load_geom_text(x): """Load from binary encoded as text.""" return shapely.wkb.loads(str(x), hex=True) @@ -95,13 +92,31 @@ def _df_to_geodf(df, geom_col="geom", crs=None): df[geom_col] = geoms = geoms.apply(load_geom) if crs is None: - if compat.SHAPELY_GE_20: - srid = shapely.get_srid(geoms.iat[0]) - else: - srid = shapely.geos.lgeos.GEOSGetSRID(geoms.iat[0]._geom) + srid = shapely.get_srid(geoms.iat[0]) # if no defined SRID in geodatabase, returns SRID of 0 if srid != 0: - crs = "epsg:{}".format(srid) + try: + spatial_ref_sys_df = _get_spatial_ref_sys_df(con, srid) + except pd.errors.DatabaseError: + warning_msg = ( + f"Could not find the spatial reference system table " + f"(spatial_ref_sys) in PostGIS." + f"Trying epsg:{srid} as a fallback." + ) + warnings.warn(warning_msg, UserWarning, stacklevel=3) + crs = "epsg:{}".format(srid) + else: + if not spatial_ref_sys_df.empty: + auth_name = spatial_ref_sys_df["auth_name"].item() + crs = f"{auth_name}:{srid}" + else: + warning_msg = ( + f"Could not find srid {srid} in the " + f"spatial_ref_sys table. " + f"Trying epsg:{srid} as a fallback." + ) + warnings.warn(warning_msg, UserWarning, stacklevel=3) + crs = "epsg:{}".format(srid) return GeoDataFrame(df, crs=crs, geometry=geom_col) @@ -176,7 +191,7 @@ def _read_postgis( params=params, chunksize=chunksize, ) - return _df_to_geodf(df, geom_col=geom_col, crs=crs) + return _df_to_geodf(df, geom_col=geom_col, crs=crs, con=con) else: # read data in chunks and return a generator @@ -189,20 +204,9 @@ def _read_postgis( params=params, chunksize=chunksize, ) - return (_df_to_geodf(df, geom_col=geom_col, crs=crs) for df in df_generator) - - -def read_postgis(*args, **kwargs): - import warnings - - warnings.warn( - "geopandas.io.sql.read_postgis() is intended for internal " - "use only, and will be deprecated. Use geopandas.read_postgis() instead.", - FutureWarning, - stacklevel=2, - ) - - return _read_postgis(*args, **kwargs) + return ( + _df_to_geodf(df, geom_col=geom_col, crs=crs, con=con) for df in df_generator + ) def _get_geometry_type(gdf): @@ -253,7 +257,7 @@ def _get_geometry_type(gdf): def _get_srid_from_crs(gdf): """ - Get EPSG code from CRS if available. If not, return -1. + Get EPSG code from CRS if available. If not, return 0. """ # Use geoalchemy2 default for srid @@ -279,7 +283,7 @@ def _get_srid_from_crs(gdf): warnings.warn(warning_msg, UserWarning, stacklevel=2) if srid is None: - srid = -1 + srid = 0 warnings.warn(warning_msg, UserWarning, stacklevel=2) return srid @@ -288,8 +292,8 @@ def _get_srid_from_crs(gdf): def _convert_linearring_to_linestring(gdf, geom_name): from shapely.geometry import LineString - # Todo: Use Pygeos function once it's implemented: - # https://github.com/pygeos/pygeos/issues/76 + # Todo: Use shapely function once it's implemented: + # https://github.com/shapely/shapely/issues/1617 mask = gdf.geom_type == "LinearRing" gdf.loc[mask, geom_name] = gdf.loc[mask, geom_name].apply( @@ -300,26 +304,11 @@ def _convert_linearring_to_linestring(gdf, geom_name): def _convert_to_ewkb(gdf, geom_name, srid): """Convert geometries to ewkb.""" - if compat.USE_SHAPELY_20: - geoms = shapely.to_wkb( - shapely.set_srid(gdf[geom_name].values._data, srid=srid), - hex=True, - include_srid=True, - ) - - elif compat.USE_PYGEOS: - from pygeos import set_srid, to_wkb - - geoms = to_wkb( - set_srid(gdf[geom_name].values._data, srid=srid), - hex=True, - include_srid=True, - ) - - else: - from shapely.wkb import dumps - - geoms = [dumps(geom, srid=srid, hex=True) for geom in gdf[geom_name]] + geoms = shapely.to_wkb( + shapely.set_srid(gdf[geom_name].values._data, srid=srid), + hex=True, + include_srid=True, + ) # The gdf will warn that the geometry column doesn't hold in-memory geometries # now that they are EWKB, so convert back to a regular dataframe to avoid warning @@ -330,8 +319,8 @@ def _convert_to_ewkb(gdf, geom_name, srid): def _psql_insert_copy(tbl, conn, keys, data_iter): - import io import csv + import io s_buf = io.StringIO() writer = csv.writer(s_buf) @@ -341,11 +330,16 @@ def _psql_insert_copy(tbl, conn, keys, data_iter): columns = ", ".join('"{}"'.format(k) for k in keys) dbapi_conn = conn.connection + sql = 'COPY "{}"."{}" ({}) FROM STDIN WITH CSV'.format( + tbl.table.schema, tbl.table.name, columns + ) with dbapi_conn.cursor() as cur: - sql = 'COPY "{}"."{}" ({}) FROM STDIN WITH CSV'.format( - tbl.table.schema, tbl.table.name, columns - ) - cur.copy_expert(sql=sql, file=s_buf) + # Use psycopg method if it's available + if hasattr(cur, "copy") and callable(cur.copy): + with cur.copy(sql) as copy: + copy.write(s_buf.read()) + else: # otherwise use psycopg2 method + cur.copy_expert(sql, s_buf) def _write_postgis( @@ -469,3 +463,11 @@ def _write_postgis( dtype=dtype, method=_psql_insert_copy, ) + + +@lru_cache +def _get_spatial_ref_sys_df(con, srid): + spatial_ref_sys_sql = ( + f"SELECT srid, auth_name FROM spatial_ref_sys WHERE srid = {srid}" + ) + return pd.read_sql(spatial_ref_sys_sql, con) diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/__init__.cpython-312.pyc index dc74b0cd..8fac44a8 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/generate_legacy_storage_files.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/generate_legacy_storage_files.cpython-312.pyc index faa45a3e..296995da 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/generate_legacy_storage_files.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/generate_legacy_storage_files.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_arrow.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_arrow.cpython-312.pyc index 549027e2..3c95834b 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_arrow.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_arrow.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_file.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_file.cpython-312.pyc index 6f30e3bc..19afc067 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_file.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_file.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_file_geom_types_drivers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_file_geom_types_drivers.cpython-312.pyc index 2aca97c2..24078622 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_file_geom_types_drivers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_file_geom_types_drivers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_infer_schema.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_infer_schema.cpython-312.pyc index bd4390c2..73a3c73f 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_infer_schema.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_infer_schema.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_pickle.cpython-312.pyc index af0c202a..868ad092 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_sql.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_sql.cpython-312.pyc index 6d52b370..e58610b3 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_sql.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/io/tests/__pycache__/test_sql.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/generate_legacy_storage_files.py b/.venv/lib/python3.12/site-packages/geopandas/io/tests/generate_legacy_storage_files.py index 453c5c64..fb6e136f 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/tests/generate_legacy_storage_files.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/tests/generate_legacy_storage_files.py @@ -19,6 +19,7 @@ pickles and test versus the current data that is generated (with master). These are then compared. """ + import os import pickle import platform @@ -26,9 +27,10 @@ import sys import pandas as pd -import geopandas from shapely.geometry import Point +import geopandas + def create_pickle_data(): """create the pickle data""" diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_arrow.py b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_arrow.py index 266c0cba..9078191d 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_arrow.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_arrow.py @@ -1,26 +1,26 @@ from __future__ import absolute_import -from itertools import product import json -from packaging.version import Version import os import pathlib +from itertools import product +from packaging.version import Version -import pytest -from pandas import DataFrame, read_parquet as pd_read_parquet -from pandas.testing import assert_frame_equal import numpy as np -import pyproj -from shapely.geometry import box, Point, MultiPolygon +from pandas import DataFrame +from pandas import read_parquet as pd_read_parquet +import shapely +from shapely.geometry import LineString, MultiPolygon, Point, Polygon, box import geopandas -import geopandas._compat as compat -from geopandas import GeoDataFrame, read_file, read_parquet, read_feather +from geopandas import GeoDataFrame, read_feather, read_file, read_parquet +from geopandas._compat import HAS_PYPROJ from geopandas.array import to_wkb -from geopandas.datasets import get_path from geopandas.io.arrow import ( + METADATA_VERSION, SUPPORTED_VERSIONS, + _convert_bbox_to_parquet_filter, _create_metadata, _decode_metadata, _encode_metadata, @@ -28,12 +28,13 @@ from geopandas.io.arrow import ( _get_filesystem_path, _remove_id_from_member_of_ensembles, _validate_dataframe, - _validate_metadata, - METADATA_VERSION, + _validate_geo_metadata, ) + +import pytest from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal from geopandas.tests.util import mock - +from pandas.testing import assert_frame_equal DATA_PATH = pathlib.Path(os.path.dirname(__file__)) / "data" @@ -41,6 +42,10 @@ DATA_PATH = pathlib.Path(os.path.dirname(__file__)) / "data" # Skip all tests in this module if pyarrow is not available pyarrow = pytest.importorskip("pyarrow") +import pyarrow.compute as pc +import pyarrow.parquet as pq +from pyarrow import feather + @pytest.fixture( params=[ @@ -61,18 +66,18 @@ def file_format(request): return read_feather, GeoDataFrame.to_feather -def test_create_metadata(): - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) - metadata = _create_metadata(df) +def test_create_metadata(naturalearth_lowres): + df = read_file(naturalearth_lowres) + metadata = _create_metadata(df, geometry_encoding={"geometry": "WKB"}) assert isinstance(metadata, dict) assert metadata["version"] == METADATA_VERSION assert metadata["primary_column"] == "geometry" assert "geometry" in metadata["columns"] - crs_expected = df.crs.to_json_dict() - _remove_id_from_member_of_ensembles(crs_expected) - assert metadata["columns"]["geometry"]["crs"] == crs_expected + if HAS_PYPROJ: + crs_expected = df.crs.to_json_dict() + _remove_id_from_member_of_ensembles(crs_expected) + assert metadata["columns"]["geometry"]["crs"] == crs_expected assert metadata["columns"]["geometry"]["encoding"] == "WKB" assert metadata["columns"]["geometry"]["geometry_types"] == [ "MultiPolygon", @@ -86,8 +91,74 @@ def test_create_metadata(): assert metadata["creator"]["library"] == "geopandas" assert metadata["creator"]["version"] == geopandas.__version__ + # specifying non-WKB encoding sets default schema to 1.1.0 + metadata = _create_metadata(df, geometry_encoding={"geometry": "point"}) + assert metadata["version"] == "1.1.0" + + +def test_create_metadata_with_z_geometries(): + geometry_types = [ + "Point", + "Point Z", + "LineString", + "LineString Z", + "Polygon", + "Polygon Z", + "MultiPolygon", + "MultiPolygon Z", + ] + df = geopandas.GeoDataFrame( + { + "geo_type": geometry_types, + "geometry": [ + Point(1, 2), + Point(1, 2, 3), + LineString([(0, 0), (1, 1), (2, 2)]), + LineString([(0, 0, 1), (1, 1, 2), (2, 2, 3)]), + Polygon([(0, 0), (0, 1), (1, 1), (1, 0)]), + Polygon([(0, 0, 0), (0, 1, 0.5), (1, 1, 1), (1, 0, 0.5)]), + MultiPolygon( + [ + Polygon([(0, 0), (0, 1), (1, 1), (1, 0)]), + Polygon([(0.5, 0.5), (0.5, 1.5), (1.5, 1.5), (1.5, 0.5)]), + ] + ), + MultiPolygon( + [ + Polygon([(0, 0, 0), (0, 1, 0.5), (1, 1, 1), (1, 0, 0.5)]), + Polygon( + [ + (0.5, 0.5, 1), + (0.5, 1.5, 1.5), + (1.5, 1.5, 2), + (1.5, 0.5, 1.5), + ] + ), + ] + ), + ], + }, + ) + metadata = _create_metadata(df, geometry_encoding={"geometry": "WKB"}) + assert sorted(metadata["columns"]["geometry"]["geometry_types"]) == sorted( + geometry_types + ) + # only 3D geometries + metadata = _create_metadata(df.iloc[1::2], geometry_encoding={"geometry": "WKB"}) + assert all( + geom_type.endswith(" Z") + for geom_type in metadata["columns"]["geometry"]["geometry_types"] + ) + + metadata = _create_metadata(df.iloc[5:7], geometry_encoding={"geometry": "WKB"}) + assert metadata["columns"]["geometry"]["geometry_types"] == [ + "MultiPolygon", + "Polygon Z", + ] + def test_crs_metadata_datum_ensemble(): + pyproj = pytest.importorskip("pyproj") # compatibility for older PROJ versions using PROJJSON with datum ensembles # https://github.com/geopandas/geopandas/pull/2453 crs = pyproj.CRS("EPSG:4326") @@ -104,11 +175,17 @@ def test_crs_metadata_datum_ensemble(): assert pyproj.CRS(crs_json) == crs -def test_write_metadata_invalid_spec_version(): +def test_write_metadata_invalid_spec_version(tmp_path): gdf = geopandas.GeoDataFrame(geometry=[box(0, 0, 10, 10)], crs="EPSG:4326") with pytest.raises(ValueError, match="schema_version must be one of"): _create_metadata(gdf, schema_version="invalid") + with pytest.raises( + ValueError, + match="'geoarrow' encoding is only supported with schema version >= 1.1.0", + ): + gdf.to_parquet(tmp_path, schema_version="1.0.0", geometry_encoding="geoarrow") + def test_encode_metadata(): metadata = {"a": "b"} @@ -126,9 +203,8 @@ def test_decode_metadata(): assert _decode_metadata(None) is None -def test_validate_dataframe(): - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) +def test_validate_dataframe(naturalearth_lowres): + df = read_file(naturalearth_lowres) # valid: should not raise ValueError _validate_dataframe(df) @@ -149,8 +225,8 @@ def test_validate_dataframe(): _validate_dataframe("not a dataframe") -def test_validate_metadata_valid(): - _validate_metadata( +def test_validate_geo_metadata_valid(): + _validate_geo_metadata( { "primary_column": "geometry", "columns": {"geometry": {"crs": None, "encoding": "WKB"}}, @@ -158,7 +234,7 @@ def test_validate_metadata_valid(): } ) - _validate_metadata( + _validate_geo_metadata( { "primary_column": "geometry", "columns": {"geometry": {"crs": None, "encoding": "WKB"}}, @@ -166,7 +242,7 @@ def test_validate_metadata_valid(): } ) - _validate_metadata( + _validate_geo_metadata( { "primary_column": "geometry", "columns": { @@ -176,7 +252,7 @@ def test_validate_metadata_valid(): # not validated here "id": {"authority": "EPSG", "code": 4326}, }, - "encoding": "WKB", + "encoding": "point", } }, "version": "0.4.0", @@ -223,7 +299,7 @@ def test_validate_metadata_valid(): "columns": {"foo": {"crs": None, "encoding": None}}, "version": "", }, - "Only WKB geometry encoding is supported", + "Only WKB geometry encoding", ), ( { @@ -231,16 +307,16 @@ def test_validate_metadata_valid(): "columns": {"foo": {"crs": None, "encoding": "BKW"}}, "version": "", }, - "Only WKB geometry encoding is supported", + "Only WKB geometry encoding", ), ], ) -def test_validate_metadata_invalid(metadata, error): +def test_validate_geo_metadata_invalid(metadata, error): with pytest.raises(ValueError, match=error): - _validate_metadata(metadata) + _validate_geo_metadata(metadata) -def test_validate_metadata_edges(): +def test_validate_geo_metadata_edges(): metadata = { "primary_column": "geometry", "columns": {"geometry": {"crs": None, "encoding": "WKB", "edges": "spherical"}}, @@ -250,7 +326,7 @@ def test_validate_metadata_edges(): UserWarning, match="The geo metadata indicate that column 'geometry' has spherical edges", ): - _validate_metadata(metadata) + _validate_geo_metadata(metadata) def test_to_parquet_fails_on_invalid_engine(tmpdir): @@ -273,7 +349,13 @@ def test_to_parquet_does_not_pass_engine_along(mock_to_parquet): # assert that engine keyword is not passed through to _to_parquet (and thus # parquet.write_table) mock_to_parquet.assert_called_with( - df, "", compression="snappy", index=None, schema_version=None + df, + "", + compression="snappy", + geometry_encoding="WKB", + index=None, + schema_version=None, + write_covering_bbox=False, ) @@ -291,11 +373,11 @@ def test_pandas_parquet_roundtrip1(tmpdir): @pytest.mark.parametrize( - "test_dataset", ["naturalearth_lowres", "naturalearth_cities", "nybb"] + "test_dataset", ["naturalearth_lowres", "naturalearth_cities", "nybb_filename"] ) -def test_pandas_parquet_roundtrip2(test_dataset, tmpdir): - test_dataset = "naturalearth_lowres" - df = DataFrame(read_file(get_path(test_dataset)).drop(columns=["geometry"])) +def test_pandas_parquet_roundtrip2(test_dataset, tmpdir, request): + path = request.getfixturevalue(test_dataset) + df = DataFrame(read_file(path).drop(columns=["geometry"])) filename = os.path.join(str(tmpdir), "test.pq") df.to_parquet(filename) @@ -306,15 +388,16 @@ def test_pandas_parquet_roundtrip2(test_dataset, tmpdir): @pytest.mark.parametrize( - "test_dataset", ["naturalearth_lowres", "naturalearth_cities", "nybb"] + "test_dataset", ["naturalearth_lowres", "naturalearth_cities", "nybb_filename"] ) -def test_roundtrip(tmpdir, file_format, test_dataset): +def test_roundtrip(tmpdir, file_format, test_dataset, request): """Writing to parquet should not raise errors, and should not alter original GeoDataFrame """ + path = request.getfixturevalue(test_dataset) reader, writer = file_format - df = read_file(get_path(test_dataset)) + df = read_file(path) orig = df.copy() filename = os.path.join(str(tmpdir), "test.pq") @@ -333,14 +416,13 @@ def test_roundtrip(tmpdir, file_format, test_dataset): assert_geodataframe_equal(df, pq_df) -def test_index(tmpdir, file_format): +def test_index(tmpdir, file_format, naturalearth_lowres): """Setting index=`True` should preserve index in output, and setting index=`False` should drop index from output. """ reader, writer = file_format - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)).set_index("iso_a3") + df = read_file(naturalearth_lowres).set_index("iso_a3") filename = os.path.join(str(tmpdir), "test_with_index.pq") writer(df, filename, index=True) @@ -353,14 +435,44 @@ def test_index(tmpdir, file_format): assert_geodataframe_equal(df.reset_index(drop=True), pq_df) +def test_column_order(tmpdir, file_format, naturalearth_lowres): + """The order of columns should be preserved in the output.""" + reader, writer = file_format + + df = read_file(naturalearth_lowres) + df = df.set_index("iso_a3") + df["geom2"] = df.geometry.representative_point() + table = _geopandas_to_arrow(df) + custom_column_order = [ + "iso_a3", + "geom2", + "pop_est", + "continent", + "name", + "geometry", + "gdp_md_est", + ] + table = table.select(custom_column_order) + + if reader is read_parquet: + filename = os.path.join(str(tmpdir), "test_column_order.pq") + pq.write_table(table, filename) + else: + filename = os.path.join(str(tmpdir), "test_column_order.feather") + feather.write_feather(table, filename) + + result = reader(filename) + assert list(result.columns) == custom_column_order[1:] + assert_geodataframe_equal(result, df[custom_column_order[1:]]) + + @pytest.mark.parametrize("compression", ["snappy", "gzip", "brotli", None]) -def test_parquet_compression(compression, tmpdir): +def test_parquet_compression(compression, tmpdir, naturalearth_lowres): """Using compression options should not raise errors, and should return identical GeoDataFrame. """ - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) + df = read_file(naturalearth_lowres) filename = os.path.join(str(tmpdir), "test.pq") df.to_parquet(filename, compression=compression) @@ -375,13 +487,12 @@ def test_parquet_compression(compression, tmpdir): reason="Feather only supported for pyarrow >= 0.17", ) @pytest.mark.parametrize("compression", ["uncompressed", "lz4", "zstd"]) -def test_feather_compression(compression, tmpdir): +def test_feather_compression(compression, tmpdir, naturalearth_lowres): """Using compression options should not raise errors, and should return identical GeoDataFrame. """ - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) + df = read_file(naturalearth_lowres) filename = os.path.join(str(tmpdir), "test.feather") df.to_feather(filename, compression=compression) @@ -391,14 +502,13 @@ def test_feather_compression(compression, tmpdir): assert_geodataframe_equal(df, pq_df) -def test_parquet_multiple_geom_cols(tmpdir, file_format): +def test_parquet_multiple_geom_cols(tmpdir, file_format, naturalearth_lowres): """If multiple geometry columns are present when written to parquet, they should all be returned as such when read from parquet. """ reader, writer = file_format - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) + df = read_file(naturalearth_lowres) df["geom2"] = df.geometry.copy() filename = os.path.join(str(tmpdir), "test.pq") @@ -414,13 +524,12 @@ def test_parquet_multiple_geom_cols(tmpdir, file_format): assert_geoseries_equal(df.geom2, pq_df.geom2, check_geom_type=True) -def test_parquet_missing_metadata(tmpdir): +def test_parquet_missing_metadata(tmpdir, naturalearth_lowres): """Missing geo metadata, such as from a parquet file created from a pandas DataFrame, will raise a ValueError. """ - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) + df = read_file(naturalearth_lowres) # convert to DataFrame df = DataFrame(df) @@ -474,17 +583,16 @@ def test_parquet_missing_metadata2(tmpdir): ), ], ) -def test_parquet_invalid_metadata(tmpdir, geo_meta, error): +def test_parquet_invalid_metadata(tmpdir, geo_meta, error, naturalearth_lowres): """Has geo metadata with missing required fields will raise a ValueError. This requires writing the parquet file directly below, so that we can control the metadata that is written for this test. """ - from pyarrow import parquet, Table + from pyarrow import Table, parquet - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) + df = read_file(naturalearth_lowres) # convert to DataFrame and encode geometry to WKB df = DataFrame(df) @@ -502,14 +610,13 @@ def test_parquet_invalid_metadata(tmpdir, geo_meta, error): read_parquet(filename) -def test_subset_columns(tmpdir, file_format): +def test_subset_columns(tmpdir, file_format, naturalearth_lowres): """Reading a subset of columns should correctly decode selected geometry columns. """ reader, writer = file_format - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) + df = read_file(naturalearth_lowres) filename = os.path.join(str(tmpdir), "test.pq") writer(df, filename) @@ -523,14 +630,13 @@ def test_subset_columns(tmpdir, file_format): reader(filename, columns=["name"]) -def test_promote_secondary_geometry(tmpdir, file_format): +def test_promote_secondary_geometry(tmpdir, file_format, naturalearth_lowres): """Reading a subset of columns that does not include the primary geometry column should promote the first geometry column present. """ reader, writer = file_format - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) + df = read_file(naturalearth_lowres) df["geom2"] = df.geometry.copy() filename = os.path.join(str(tmpdir), "test.pq") @@ -553,13 +659,12 @@ def test_promote_secondary_geometry(tmpdir, file_format): ) -def test_columns_no_geometry(tmpdir, file_format): +def test_columns_no_geometry(tmpdir, file_format, naturalearth_lowres): """Reading a parquet file that is missing all of the geometry columns should raise a ValueError""" reader, writer = file_format - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) + df = read_file(naturalearth_lowres) filename = os.path.join(str(tmpdir), "test.pq") writer(df, filename) @@ -568,16 +673,14 @@ def test_columns_no_geometry(tmpdir, file_format): reader(filename, columns=["name"]) -def test_missing_crs(tmpdir, file_format): +def test_missing_crs(tmpdir, file_format, naturalearth_lowres): """If CRS is `None`, it should be properly handled and remain `None` when read from parquet`. """ reader, writer = file_format - test_dataset = "naturalearth_lowres" - - df = read_file(get_path(test_dataset)) - df.crs = None + df = read_file(naturalearth_lowres) + df.geometry.array.crs = None filename = os.path.join(str(tmpdir), "test.pq") writer(df, filename) @@ -601,8 +704,8 @@ def test_default_geo_col_writes(tmp_path): Version(pyarrow.__version__) >= Version("0.17.0"), reason="Feather only supported for pyarrow >= 0.17", ) -def test_feather_arrow_version(tmpdir): - df = read_file(get_path("naturalearth_lowres")) +def test_feather_arrow_version(tmpdir, naturalearth_lowres): + df = read_file(naturalearth_lowres) filename = os.path.join(str(tmpdir), "test.feather") with pytest.raises( @@ -611,7 +714,7 @@ def test_feather_arrow_version(tmpdir): df.to_feather(filename) -def test_fsspec_url(): +def test_fsspec_url(naturalearth_lowres): fsspec = pytest.importorskip("fsspec") import fsspec.implementations.memory @@ -625,8 +728,7 @@ def test_fsspec_url(): fsspec.register_implementation("memory", MyMemoryFileSystem, clobber=True) memfs = MyMemoryFileSystem(is_set=True) - test_dataset = "naturalearth_lowres" - df = read_file(get_path(test_dataset)) + df = read_file(naturalearth_lowres) with memfs.open("data.parquet", "wb") as f: df.to_parquet(f) @@ -643,10 +745,9 @@ def test_fsspec_url(): ) -def test_non_fsspec_url_with_storage_options_raises(): +def test_non_fsspec_url_with_storage_options_raises(naturalearth_lowres): with pytest.raises(ValueError, match="storage_options"): - test_dataset = "naturalearth_lowres" - read_parquet(get_path(test_dataset), storage_options={"foo": "bar"}) + read_parquet(naturalearth_lowres, storage_options={"foo": "bar"}) @pytest.mark.skipif( @@ -692,6 +793,7 @@ def test_write_empty_bbox(tmpdir, geometry): @pytest.mark.parametrize("format", ["feather", "parquet"]) def test_write_read_default_crs(tmpdir, format): + pyproj = pytest.importorskip("pyproj") if format == "feather": from pyarrow.feather import write_feather as write else: @@ -715,26 +817,29 @@ def test_write_read_default_crs(tmpdir, format): assert df.crs.equals(pyproj.CRS("OGC:CRS84")) +@pytest.mark.skipif(shapely.geos_version < (3, 10, 0), reason="requires GEOS>=3.10") def test_write_iso_wkb(tmpdir): gdf = geopandas.GeoDataFrame( geometry=geopandas.GeoSeries.from_wkt(["POINT Z (1 2 3)"]) ) - if compat.USE_SHAPELY_20: - gdf.to_parquet(tmpdir / "test.parquet") - else: - with pytest.warns(UserWarning, match="The GeoDataFrame contains 3D geometries"): - gdf.to_parquet(tmpdir / "test.parquet") + gdf.to_parquet(tmpdir / "test.parquet") from pyarrow.parquet import read_table table = read_table(tmpdir / "test.parquet") wkb = table["geometry"][0].as_py().hex() - if compat.USE_SHAPELY_20: - # correct ISO flavor - assert wkb == "01e9030000000000000000f03f00000000000000400000000000000840" - else: - assert wkb == "0101000080000000000000f03f00000000000000400000000000000840" + # correct ISO flavor + assert wkb == "01e9030000000000000000f03f00000000000000400000000000000840" + + +@pytest.mark.skipif(shapely.geos_version >= (3, 10, 0), reason="tests GEOS<3.10") +def test_write_iso_wkb_old_geos(tmpdir): + gdf = geopandas.GeoDataFrame( + geometry=geopandas.GeoSeries.from_wkt(["POINT Z (1 2 3)"]) + ) + with pytest.raises(ValueError, match="Cannot write 3D"): + gdf.to_parquet(tmpdir / "test.parquet") @pytest.mark.parametrize( @@ -764,13 +869,14 @@ def test_write_spec_version(tmpdir, format, schema_version): assert metadata["version"] == schema_version # verify that CRS is correctly handled between versions - if schema_version == "0.1.0": - assert metadata["columns"]["geometry"]["crs"] == gdf.crs.to_wkt() + if HAS_PYPROJ: + if schema_version == "0.1.0": + assert metadata["columns"]["geometry"]["crs"] == gdf.crs.to_wkt() - else: - crs_expected = gdf.crs.to_json_dict() - _remove_id_from_member_of_ensembles(crs_expected) - assert metadata["columns"]["geometry"]["crs"] == crs_expected + else: + crs_expected = gdf.crs.to_json_dict() + _remove_id_from_member_of_ensembles(crs_expected) + assert metadata["columns"]["geometry"]["crs"] == crs_expected # verify that geometry_type(s) is correctly handled between versions if Version(schema_version) <= Version("0.4.0"): @@ -781,46 +887,6 @@ def test_write_spec_version(tmpdir, format, schema_version): assert metadata["columns"]["geometry"]["geometry_types"] == ["Polygon"] -@pytest.mark.parametrize( - "format,version", product(["feather", "parquet"], [None] + SUPPORTED_VERSIONS) -) -def test_write_deprecated_version_parameter(tmpdir, format, version): - if format == "feather": - from pyarrow.feather import read_table - - version = version or 2 - - else: - from pyarrow.parquet import read_table - - version = version or "2.6" - - filename = os.path.join(str(tmpdir), f"test.{format}") - gdf = geopandas.GeoDataFrame(geometry=[box(0, 0, 10, 10)], crs="EPSG:4326") - write = getattr(gdf, f"to_{format}") - - if version in SUPPORTED_VERSIONS: - with pytest.warns( - FutureWarning, - match="the `version` parameter has been replaced with `schema_version`", - ): - write(filename, version=version) - - else: - # no warning raised if not one of the captured versions - write(filename, version=version) - - table = read_table(filename) - metadata = json.loads(table.schema.metadata[b"geo"]) - - if version in SUPPORTED_VERSIONS: - # version is captured as a parameter - assert metadata["version"] == version - else: - # version is passed to underlying writer - assert metadata["version"] == METADATA_VERSION - - @pytest.mark.parametrize("version", ["0.1.0", "0.4.0", "1.0.0-beta.1"]) def test_read_versioned_file(version): """ @@ -868,7 +934,11 @@ def test_read_gdal_files(): and then the gpkg file is converted to Parquet/Arrow with: $ ogr2ogr -f Parquet -lco FID= test_data_gdal350.parquet test_data.gpkg $ ogr2ogr -f Arrow -lco FID= -lco GEOMETRY_ENCODING=WKB test_data_gdal350.arrow test_data.gpkg + + Repeated for GDAL 3.9 which adds a bbox covering column: + $ ogr2ogr -f Parquet -lco FID= test_data_gdal390.parquet test_data.gpkg """ # noqa: E501 + pytest.importorskip("pyproj") expected = geopandas.GeoDataFrame( {"col_str": ["a", "b"], "col_int": [1, 2], "col_float": [0.1, 0.2]}, geometry=[MultiPolygon([box(0, 0, 1, 1), box(2, 2, 3, 3)]), box(4, 4, 5, 5)], @@ -881,11 +951,22 @@ def test_read_gdal_files(): df = geopandas.read_feather(DATA_PATH / "arrow" / "test_data_gdal350.arrow") assert_geodataframe_equal(df, expected, check_crs=True) + df = geopandas.read_parquet(DATA_PATH / "arrow" / "test_data_gdal390.parquet") + # recent GDAL no longer writes CRS in metadata in case of EPSG:4326, so comes back + # as default OGC:CRS84 + expected = expected.to_crs("OGC:CRS84") + assert_geodataframe_equal(df, expected, check_crs=True) -def test_parquet_read_partitioned_dataset(tmpdir): + df = geopandas.read_parquet( + DATA_PATH / "arrow" / "test_data_gdal390.parquet", bbox=(0, 0, 2, 2) + ) + assert len(df) == 1 + + +def test_parquet_read_partitioned_dataset(tmpdir, naturalearth_lowres): # we don't yet explicitly support this (in writing), but for Parquet it # works for reading (by relying on pyarrow.read_table) - df = read_file(get_path("naturalearth_lowres")) + df = read_file(naturalearth_lowres) # manually create partitioned dataset basedir = tmpdir / "partitioned_dataset" @@ -897,10 +978,10 @@ def test_parquet_read_partitioned_dataset(tmpdir): assert_geodataframe_equal(result, df) -def test_parquet_read_partitioned_dataset_fsspec(tmpdir): +def test_parquet_read_partitioned_dataset_fsspec(tmpdir, naturalearth_lowres): fsspec = pytest.importorskip("fsspec") - df = read_file(get_path("naturalearth_lowres")) + df = read_file(naturalearth_lowres) # manually create partitioned dataset memfs = fsspec.filesystem("memory") @@ -912,3 +993,340 @@ def test_parquet_read_partitioned_dataset_fsspec(tmpdir): result = read_parquet("memory://partitioned_dataset") assert_geodataframe_equal(result, df) + + +@pytest.mark.parametrize( + "geometry_type", + ["point", "linestring", "polygon", "multipoint", "multilinestring", "multipolygon"], +) +def test_read_parquet_geoarrow(geometry_type): + result = geopandas.read_parquet( + DATA_PATH + / "arrow" + / "geoparquet" + / f"data-{geometry_type}-encoding_native.parquet" + ) + expected = geopandas.read_parquet( + DATA_PATH + / "arrow" + / "geoparquet" + / f"data-{geometry_type}-encoding_wkb.parquet" + ) + assert_geodataframe_equal(result, expected, check_crs=True) + + +@pytest.mark.parametrize( + "geometry_type", + ["point", "linestring", "polygon", "multipoint", "multilinestring", "multipolygon"], +) +def test_geoarrow_roundtrip(tmp_path, geometry_type): + + df = geopandas.read_parquet( + DATA_PATH + / "arrow" + / "geoparquet" + / f"data-{geometry_type}-encoding_wkb.parquet" + ) + + df.to_parquet(tmp_path / "test.parquet", geometry_encoding="geoarrow") + result = geopandas.read_parquet(tmp_path / "test.parquet") + assert_geodataframe_equal(result, df, check_crs=True) + + +def test_to_parquet_bbox_structure_and_metadata(tmpdir, naturalearth_lowres): + # check metadata being written for covering. + from pyarrow import parquet + + df = read_file(naturalearth_lowres) + filename = os.path.join(str(tmpdir), "test.pq") + df.to_parquet(filename, write_covering_bbox=True) + + table = parquet.read_table(filename) + metadata = json.loads(table.schema.metadata[b"geo"].decode("utf-8")) + assert metadata["columns"]["geometry"]["covering"] == { + "bbox": { + "xmin": ["bbox", "xmin"], + "ymin": ["bbox", "ymin"], + "xmax": ["bbox", "xmax"], + "ymax": ["bbox", "ymax"], + } + } + assert "bbox" in table.schema.names + assert [field.name for field in table.schema.field("bbox").type] == [ + "xmin", + "ymin", + "xmax", + "ymax", + ] + + +@pytest.mark.parametrize( + "geometry, expected_bbox", + [ + (Point(1, 3), {"xmin": 1.0, "ymin": 3.0, "xmax": 1.0, "ymax": 3.0}), + ( + LineString([(1, 1), (3, 3)]), + {"xmin": 1.0, "ymin": 1.0, "xmax": 3.0, "ymax": 3.0}, + ), + ( + Polygon([(2, 1), (1, 2), (2, 3), (3, 2)]), + {"xmin": 1.0, "ymin": 1.0, "xmax": 3.0, "ymax": 3.0}, + ), + ( + MultiPolygon([box(0, 0, 1, 1), box(2, 2, 3, 3), box(4, 4, 5, 5)]), + {"xmin": 0.0, "ymin": 0.0, "xmax": 5.0, "ymax": 5.0}, + ), + ], + ids=["Point", "LineString", "Polygon", "Multipolygon"], +) +def test_to_parquet_bbox_values(tmpdir, geometry, expected_bbox): + # check bbox bounds being written for different geometry types. + import pyarrow.parquet as pq + + df = GeoDataFrame(data=[[1, 2]], columns=["a", "b"], geometry=[geometry]) + filename = os.path.join(str(tmpdir), "test.pq") + + df.to_parquet(filename, write_covering_bbox=True) + + result = pq.read_table(filename).to_pandas() + assert result["bbox"][0] == expected_bbox + + +def test_read_parquet_bbox_single_point(tmpdir): + # confirm that on a single point, bbox will pick it up. + df = GeoDataFrame(data=[[1, 2]], columns=["a", "b"], geometry=[Point(1, 1)]) + filename = os.path.join(str(tmpdir), "test.pq") + df.to_parquet(filename, write_covering_bbox=True) + pq_df = read_parquet(filename, bbox=(1, 1, 1, 1)) + assert len(pq_df) == 1 + assert pq_df.geometry[0] == Point(1, 1) + + +@pytest.mark.parametrize("geometry_name", ["geometry", "custum_geom_col"]) +def test_read_parquet_bbox(tmpdir, naturalearth_lowres, geometry_name): + # check bbox is being used to filter results. + df = read_file(naturalearth_lowres) + if geometry_name != "geometry": + df = df.rename_geometry(geometry_name) + + filename = os.path.join(str(tmpdir), "test.pq") + df.to_parquet(filename, write_covering_bbox=True) + + pq_df = read_parquet(filename, bbox=(0, 0, 10, 10)) + + assert pq_df["name"].values.tolist() == [ + "France", + "Benin", + "Nigeria", + "Cameroon", + "Togo", + "Ghana", + "Burkina Faso", + "Gabon", + "Eq. Guinea", + ] + + +@pytest.mark.parametrize("geometry_name", ["geometry", "custum_geom_col"]) +def test_read_parquet_bbox_partitioned(tmpdir, naturalearth_lowres, geometry_name): + # check bbox is being used to filter results on partioned data. + df = read_file(naturalearth_lowres) + if geometry_name != "geometry": + df = df.rename_geometry(geometry_name) + + # manually create partitioned dataset + basedir = tmpdir / "partitioned_dataset" + basedir.mkdir() + df[:100].to_parquet(basedir / "data1.parquet", write_covering_bbox=True) + df[100:].to_parquet(basedir / "data2.parquet", write_covering_bbox=True) + + pq_df = read_parquet(basedir, bbox=(0, 0, 10, 10)) + + assert pq_df["name"].values.tolist() == [ + "France", + "Benin", + "Nigeria", + "Cameroon", + "Togo", + "Ghana", + "Burkina Faso", + "Gabon", + "Eq. Guinea", + ] + + +@pytest.mark.parametrize( + "geometry, bbox", + [ + (LineString([(1, 1), (3, 3)]), (1.5, 1.5, 3.5, 3.5)), + (LineString([(1, 1), (3, 3)]), (3, 3, 3, 3)), + (LineString([(1, 1), (3, 3)]), (1.5, 1.5, 2.5, 2.5)), + (Polygon([(0, 0), (4, 0), (4, 4), (0, 4)]), (1, 1, 3, 3)), + (Polygon([(0, 0), (4, 0), (4, 4), (0, 4)]), (1, 1, 5, 5)), + (Polygon([(0, 0), (4, 0), (4, 4), (0, 4)]), (2, 2, 4, 4)), + (Polygon([(0, 0), (4, 0), (4, 4), (0, 4)]), (4, 4, 4, 4)), + (Polygon([(0, 0), (4, 0), (4, 4), (0, 4)]), (1, 1, 5, 3)), + ], +) +def test_read_parquet_bbox_partial_overlap_of_geometry(tmpdir, geometry, bbox): + df = GeoDataFrame(data=[[1, 2]], columns=["a", "b"], geometry=[geometry]) + filename = os.path.join(str(tmpdir), "test.pq") + df.to_parquet(filename, write_covering_bbox=True) + + pq_df = read_parquet(filename, bbox=bbox) + assert len(pq_df) == 1 + + +def test_read_parquet_no_bbox(tmpdir, naturalearth_lowres): + # check error message when parquet lacks a bbox column but + # want to use bbox kwarg in read_parquet. + df = read_file(naturalearth_lowres) + filename = os.path.join(str(tmpdir), "test.pq") + df.to_parquet(filename) + with pytest.raises(ValueError, match="Specifying 'bbox' not supported"): + read_parquet(filename, bbox=(0, 0, 20, 20)) + + +def test_read_parquet_no_bbox_partitioned(tmpdir, naturalearth_lowres): + # check error message when partitioned parquet data does not have + # a bbox column but want to use kwarg to read_parquet. + df = read_file(naturalearth_lowres) + + # manually create partitioned dataset + basedir = tmpdir / "partitioned_dataset" + basedir.mkdir() + df[:100].to_parquet(basedir / "data1.parquet") + df[100:].to_parquet(basedir / "data2.parquet") + + with pytest.raises(ValueError, match="Specifying 'bbox' not supported"): + read_parquet(basedir, bbox=(0, 0, 20, 20)) + + +def test_convert_bbox_to_parquet_filter(): + # check conversion of bbox to parquet filter expression + import pyarrow.compute as pc + + bbox = (0, 0, 25, 35) + expected = ~( + (pc.field(("bbox", "xmin")) > 25) + | (pc.field(("bbox", "ymin")) > 35) + | (pc.field(("bbox", "xmax")) < 0) + | (pc.field(("bbox", "ymax")) < 0) + ) + assert expected.equals(_convert_bbox_to_parquet_filter(bbox, "bbox")) + + +def test_read_parquet_bbox_column_default_behaviour(tmpdir, naturalearth_lowres): + # check that bbox column is not read in by default + + df = read_file(naturalearth_lowres) + filename = os.path.join(str(tmpdir), "test.pq") + df.to_parquet(filename, write_covering_bbox=True) + result1 = read_parquet(filename) + assert "bbox" not in result1 + + result2 = read_parquet(filename, columns=["name", "geometry"]) + assert "bbox" not in result2 + assert list(result2.columns) == ["name", "geometry"] + + +@pytest.mark.parametrize( + "filters", + [ + [("gdp_md_est", ">", 20000)], + pc.field("gdp_md_est") > 20000, + ], +) +def test_read_parquet_filters_and_bbox(tmpdir, naturalearth_lowres, filters): + df = read_file(naturalearth_lowres) + filename = os.path.join(str(tmpdir), "test.pq") + df.to_parquet(filename, write_covering_bbox=True) + + result = read_parquet(filename, filters=filters, bbox=(0, 0, 20, 20)) + assert result["name"].values.tolist() == [ + "Dem. Rep. Congo", + "France", + "Nigeria", + "Cameroon", + "Ghana", + "Algeria", + "Libya", + ] + + +@pytest.mark.parametrize( + "filters", + [ + ([("gdp_md_est", ">", 15000), ("gdp_md_est", "<", 16000)]), + ((pc.field("gdp_md_est") > 15000) & (pc.field("gdp_md_est") < 16000)), + ], +) +def test_read_parquet_filters_without_bbox(tmpdir, naturalearth_lowres, filters): + df = read_file(naturalearth_lowres) + filename = os.path.join(str(tmpdir), "test.pq") + df.to_parquet(filename, write_covering_bbox=True) + + result = read_parquet(filename, filters=filters) + assert result["name"].values.tolist() == ["Burkina Faso", "Mozambique", "Albania"] + + +def test_read_parquet_file_with_custom_bbox_encoding_fieldname(tmpdir): + import pyarrow.parquet as pq + + data = { + "name": ["point1", "point2", "point3"], + "geometry": [Point(1, 1), Point(2, 2), Point(3, 3)], + } + df = GeoDataFrame(data) + filename = os.path.join(str(tmpdir), "test.pq") + + table = _geopandas_to_arrow( + df, + schema_version="1.1.0", + write_covering_bbox=True, + ) + metadata = table.schema.metadata # rename_columns results in wiping of metadata + + table = table.rename_columns(["name", "geometry", "custom_bbox_name"]) + + geo_metadata = json.loads(metadata[b"geo"]) + geo_metadata["columns"]["geometry"]["covering"]["bbox"] = { + "xmin": ["custom_bbox_name", "xmin"], + "ymin": ["custom_bbox_name", "ymin"], + "xmax": ["custom_bbox_name", "xmax"], + "ymax": ["custom_bbox_name", "ymax"], + } + metadata.update({b"geo": _encode_metadata(geo_metadata)}) + + table = table.replace_schema_metadata(metadata) + pq.write_table(table, filename) + + pq_table = pq.read_table(filename) + assert "custom_bbox_name" in pq_table.schema.names + + pq_df = read_parquet(filename, bbox=(1.5, 1.5, 2.5, 2.5)) + assert pq_df["name"].values.tolist() == ["point2"] + + +def test_to_parquet_with_existing_bbox_column(tmpdir, naturalearth_lowres): + df = read_file(naturalearth_lowres) + df = df.assign(bbox=[0] * len(df)) + filename = os.path.join(str(tmpdir), "test.pq") + + with pytest.raises( + ValueError, match="An existing column 'bbox' already exists in the dataframe" + ): + df.to_parquet(filename, write_covering_bbox=True) + + +def test_read_parquet_bbox_points(tmp_path): + # check bbox filtering on point geometries + df = geopandas.GeoDataFrame( + {"col": range(10)}, geometry=[Point(i, i) for i in range(10)] + ) + df.to_parquet(tmp_path / "test.parquet", geometry_encoding="geoarrow") + + result = geopandas.read_parquet(tmp_path / "test.parquet", bbox=(0, 0, 10, 10)) + assert len(result) == 10 + result = geopandas.read_parquet(tmp_path / "test.parquet", bbox=(3, 3, 5, 5)) + assert len(result) == 3 diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_file.py b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_file.py index 8f808279..014b1f3c 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_file.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_file.py @@ -1,33 +1,41 @@ import datetime import io +import json import os import pathlib +import shutil import tempfile from collections import OrderedDict +from packaging.version import Version import numpy as np import pandas as pd -import pytest import pytz -from packaging.version import Version from pandas.api.types import is_datetime64_any_dtype -from pandas.testing import assert_series_equal -from shapely.geometry import Point, Polygon, box + +from shapely.geometry import Point, Polygon, box, mapping import geopandas from geopandas import GeoDataFrame, read_file -from geopandas._compat import PANDAS_GE_20 -from geopandas.io.file import _detect_driver, _EXTENSION_TO_DRIVER +from geopandas._compat import HAS_PYPROJ, PANDAS_GE_20, PANDAS_GE_30 +from geopandas.io.file import _EXTENSION_TO_DRIVER, _detect_driver + +import pytest from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal from geopandas.tests.util import PACKAGE_DIR, validate_boro_df +from pandas.testing import assert_frame_equal, assert_series_equal try: import pyogrio - PYOGRIO_GE_07 = Version(pyogrio.__version__) > Version("0.6.0") + # those version checks have to be defined here instead of imported from + # geopandas.io.file (those are only initialized lazily on first usage) + PYOGRIO_GE_090 = Version(Version(pyogrio.__version__).base_version) >= Version( + "0.9.0" + ) except ImportError: pyogrio = False - PYOGRIO_GE_07 = False + PYOGRIO_GE_090 = False try: @@ -46,6 +54,9 @@ FIONA_MARK = pytest.mark.skipif(not fiona, reason="fiona not installed") _CRS = "epsg:4326" +pytestmark = pytest.mark.filterwarnings("ignore:Value:RuntimeWarning:pyogrio") + + @pytest.fixture( params=[ pytest.param("fiona", marks=FIONA_MARK), @@ -62,9 +73,8 @@ def skip_pyogrio_not_supported(engine): @pytest.fixture -def df_nybb(engine): - nybb_path = geopandas.datasets.get_path("nybb") - df = read_file(nybb_path, engine=engine) +def df_nybb(engine, nybb_filename): + df = read_file(nybb_filename, engine=engine) return df @@ -130,7 +140,7 @@ def test_to_file(tmpdir, df_nybb, df_null, driver, ext, engine): df = GeoDataFrame.from_file(tempfilename, engine=engine) assert "geometry" in df assert len(df) == 5 - assert np.alltrue(df["BoroName"].values == df_nybb["BoroName"]) + assert np.all(df["BoroName"].values == df_nybb["BoroName"]) # Write layer with null geometry out to file tempfilename = os.path.join(str(tmpdir), "null_geom" + ext) @@ -139,7 +149,7 @@ def test_to_file(tmpdir, df_nybb, df_null, driver, ext, engine): df = GeoDataFrame.from_file(tempfilename, engine=engine) assert "geometry" in df assert len(df) == 2 - assert np.alltrue(df["Name"].values == df_null["Name"]) + assert np.all(df["Name"].values == df_null["Name"]) # check the expected driver assert_correct_driver(tempfilename, ext, engine) @@ -153,7 +163,7 @@ def test_to_file_pathlib(tmpdir, df_nybb, driver, ext, engine): df = GeoDataFrame.from_file(temppath, engine=engine) assert "geometry" in df assert len(df) == 5 - assert np.alltrue(df["BoroName"].values == df_nybb["BoroName"]) + assert np.all(df["BoroName"].values == df_nybb["BoroName"]) # check the expected driver assert_correct_driver(temppath, ext, engine) @@ -174,9 +184,10 @@ def test_to_file_bool(tmpdir, driver, ext, engine): result = read_file(tempfilename, engine=engine) if ext in (".shp", ""): # Shapefile does not support boolean, so is read back as int - if engine == "fiona": + # but since GDAL 3.9 supports boolean fields in SHP + if engine == "fiona" and fiona.gdal_version.minor < 9: df["col"] = df["col"].astype("int64") - else: + elif engine == "pyogrio" and pyogrio.__gdal_version__ < (3, 9): df["col"] = df["col"].astype("int32") assert_geodataframe_equal(result, df) # check the expected driver @@ -189,15 +200,15 @@ eastern = pytz.timezone("America/New_York") datetime_type_tests = (TEST_DATE, eastern.localize(TEST_DATE)) +@pytest.mark.filterwarnings( + "ignore:Non-conformant content for record 1 in column b:RuntimeWarning" +) # for GPKG, GDAL writes the tz data but warns on reading (see DATETIME_FORMAT option) @pytest.mark.parametrize( "time", datetime_type_tests, ids=("naive_datetime", "datetime_with_timezone") ) @pytest.mark.parametrize("driver,ext", driver_ext_pairs) def test_to_file_datetime(tmpdir, driver, ext, time, engine): """Test writing a data file with the datetime column type""" - if engine == "pyogrio" and time.tzinfo is not None: - # TODO - pytest.skip("pyogrio doesn't yet support timezones") if ext in (".shp", ""): pytest.skip(f"Driver corresponding to ext {ext} doesn't support dt fields") @@ -207,23 +218,25 @@ def test_to_file_datetime(tmpdir, driver, ext, time, engine): df = GeoDataFrame( {"a": [1.0, 2.0], "b": [time, time]}, geometry=[point, point], crs=4326 ) - fiona_precision_limit = "ms" - df["b"] = df["b"].dt.round(freq=fiona_precision_limit) + df["b"] = df["b"].dt.round(freq="ms") df.to_file(tempfilename, driver=driver, engine=engine) df_read = read_file(tempfilename, engine=engine) assert_geodataframe_equal(df.drop(columns=["b"]), df_read.drop(columns=["b"])) + # Check datetime column + expected = df["b"] + if PANDAS_GE_20: + expected = df["b"].dt.as_unit("ms") + actual = df_read["b"] if df["b"].dt.tz is not None: # US/Eastern becomes pytz.FixedOffset(-300) when read from file - # so compare fairly in terms of UTC - assert_series_equal( - df["b"].dt.tz_convert(pytz.utc), df_read["b"].dt.tz_convert(pytz.utc) - ) - else: - if engine == "pyogrio" and PANDAS_GE_20: - df["b"] = df["b"].astype("datetime64[ms]") - assert_series_equal(df["b"], df_read["b"]) + # as GDAL only models offsets, not timezones. + # Compare fair result in terms of UTC instead + expected = expected.dt.tz_convert(pytz.utc) + actual = actual.dt.tz_convert(pytz.utc) + + assert_series_equal(expected, actual) dt_exts = ["gpkg", "geojson"] @@ -239,7 +252,7 @@ def write_invalid_date_file(date_str, tmpdir, ext, engine): ) # Schema not required for GeoJSON since not typed, but needed for GPKG if ext == "geojson": - df.to_file(tempfilename) + df.to_file(tempfilename, engine=engine) else: schema = {"geometry": "Point", "properties": {"date": "datetime"}} if engine == "pyogrio" and not fiona: @@ -254,7 +267,7 @@ def test_read_file_datetime_invalid(tmpdir, ext, engine): # https://github.com/geopandas/geopandas/issues/2502 date_str = "9999-99-99T00:00:00" # invalid date handled by GDAL tempfilename = write_invalid_date_file(date_str, tmpdir, ext, engine) - res = read_file(tempfilename) + res = read_file(tempfilename, engine=engine) if ext == "gpkg": assert is_datetime64_any_dtype(res["date"]) assert pd.isna(res["date"].iloc[-1]) @@ -265,16 +278,19 @@ def test_read_file_datetime_invalid(tmpdir, ext, engine): @pytest.mark.parametrize("ext", dt_exts) def test_read_file_datetime_out_of_bounds_ns(tmpdir, ext, engine): + if engine == "pyogrio" and not PANDAS_GE_20: + pytest.skip("with pyogrio requires pandas >= 2.0 to pass") # https://github.com/geopandas/geopandas/issues/2502 - if ext == "geojson": - skip_pyogrio_not_supported(engine) - date_str = "9999-12-31T00:00:00" # valid to GDAL, not to [ns] format tempfilename = write_invalid_date_file(date_str, tmpdir, ext, engine) - res = read_file(tempfilename) - # Pandas invalid datetimes are read in as object dtype (strings) - assert res["date"].dtype == "object" - assert isinstance(res["date"].iloc[0], str) + res = read_file(tempfilename, engine=engine) + if PANDAS_GE_30: + assert res["date"].dtype == "datetime64[ms]" + assert res["date"].iloc[-1] == pd.Timestamp("9999-12-31 00:00:00") + else: + # Pandas invalid datetimes are read in as object dtype (strings) + assert res["date"].dtype == "object" + assert isinstance(res["date"].iloc[0], str) def test_read_file_datetime_mixed_offsets(tmpdir): @@ -292,17 +308,13 @@ def test_read_file_datetime_mixed_offsets(tmpdir): df.to_file(tempfilename) # check mixed tz don't crash GH2478 res = read_file(tempfilename) - if engine == "fiona": - # Convert mixed timezones to UTC equivalent - assert is_datetime64_any_dtype(res["date"]) - if not PANDAS_GE_20: - utc = pytz.utc - else: - utc = datetime.timezone.utc - assert res["date"].dt.tz == utc + # Convert mixed timezones to UTC equivalent + assert is_datetime64_any_dtype(res["date"]) + if not PANDAS_GE_20: + utc = pytz.utc else: - # old fiona and pyogrio ignore timezones and read as datetimes successfully - assert is_datetime64_any_dtype(res["date"]) + utc = datetime.timezone.utc + assert res["date"].dt.tz == utc @pytest.mark.parametrize("driver,ext", driver_ext_pairs) @@ -365,14 +377,21 @@ def test_to_file_int32(tmpdir, df_points, engine, driver, ext): df = GeoDataFrame(geometry=geometry) df["data"] = pd.array([1, np.nan] * 5, dtype=pd.Int32Dtype()) df.to_file(tempfilename, driver=driver, engine=engine) - df_read = GeoDataFrame.from_file(tempfilename, driver=driver, engine=engine) - assert_geodataframe_equal(df_read, df, check_dtype=False, check_like=True) + df_read = GeoDataFrame.from_file(tempfilename, engine=engine) + # the int column with missing values comes back as float + expected = df.copy() + expected["data"] = expected["data"].astype("float64") + assert_geodataframe_equal(df_read, expected, check_like=True) + + tempfilename2 = os.path.join(str(tmpdir), f"int32_2.{ext}") + df2 = df.dropna() + df2.to_file(tempfilename2, driver=driver, engine=engine) + df2_read = GeoDataFrame.from_file(tempfilename2, engine=engine) if engine == "pyogrio": - tempfilename2 = os.path.join(str(tmpdir), f"int32_2.{ext}") - df2 = df.dropna() - df2.to_file(tempfilename2, driver=driver, engine=engine) - df2_read = GeoDataFrame.from_file(tempfilename2, driver=driver, engine=engine) assert df2_read["data"].dtype == "int32" + else: + # with the fiona engine the 32 bitwidth is not preserved + assert df2_read["data"].dtype == "int64" @pytest.mark.parametrize("driver,ext", driver_ext_pairs) @@ -382,8 +401,11 @@ def test_to_file_int64(tmpdir, df_points, engine, driver, ext): df = GeoDataFrame(geometry=geometry) df["data"] = pd.array([1, np.nan] * 5, dtype=pd.Int64Dtype()) df.to_file(tempfilename, driver=driver, engine=engine) - df_read = GeoDataFrame.from_file(tempfilename, driver=driver, engine=engine) - assert_geodataframe_equal(df_read, df, check_dtype=False, check_like=True) + df_read = GeoDataFrame.from_file(tempfilename, engine=engine) + # the int column with missing values comes back as float + expected = df.copy() + expected["data"] = expected["data"].astype("float64") + assert_geodataframe_equal(df_read, expected, check_like=True) def test_to_file_empty(tmpdir, engine): @@ -393,12 +415,6 @@ def test_to_file_empty(tmpdir, engine): input_empty_df.to_file(tempfilename, engine=engine) -def test_to_file_privacy(tmpdir, df_nybb): - tempfilename = os.path.join(str(tmpdir), "test.shp") - with pytest.warns(FutureWarning): - geopandas.io.file.to_file(df_nybb, tempfilename) - - def test_to_file_schema(tmpdir, df_nybb, engine): """ Ensure that the file is written according to the schema @@ -431,12 +447,13 @@ def test_to_file_schema(tmpdir, df_nybb, engine): assert result_schema == schema -def test_to_file_crs(tmpdir, engine): +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") +def test_to_file_crs(tmpdir, engine, nybb_filename): """ Ensure that the file is written according to the crs if it is specified """ - df = read_file(geopandas.datasets.get_path("nybb"), engine=engine) + df = read_file(nybb_filename, engine=engine) tempfilename = os.path.join(str(tmpdir), "crs.shp") # save correct CRS @@ -445,7 +462,7 @@ def test_to_file_crs(tmpdir, engine): assert result.crs == df.crs if engine == "pyogrio": - with pytest.raises(ValueError, match="Passing 'crs' it not supported"): + with pytest.raises(ValueError, match="Passing 'crs' is not supported"): df.to_file(tempfilename, crs=3857, engine=engine) return @@ -455,8 +472,7 @@ def test_to_file_crs(tmpdir, engine): assert result.crs == "epsg:3857" # specify CRS for gdf without one - df2 = df.copy() - df2.crs = None + df2 = df.set_crs(None, allow_override=True) df2.to_file(tempfilename, crs=2263, engine=engine) df = GeoDataFrame.from_file(tempfilename, engine=engine) assert df.crs == "epsg:2263" @@ -529,6 +545,7 @@ def test_mode_unsupported(tmpdir, df_nybb, engine): df_nybb.to_file(tempfilename, mode="r", engine=engine) +@pytest.mark.filterwarnings("ignore:'crs' was not provided:UserWarning:pyogrio") @pytest.mark.parametrize("driver,ext", driver_ext_pairs) def test_empty_crs(tmpdir, driver, ext, engine): """Test handling of undefined CRS with GPKG driver (GH #1975).""" @@ -548,7 +565,7 @@ def test_empty_crs(tmpdir, driver, ext, engine): if ext == ".geojson": # geojson by default assumes epsg:4326 - df.crs = "EPSG:4326" + df.geometry.array.crs = "EPSG:4326" assert_geodataframe_equal(result, df) @@ -561,10 +578,11 @@ def test_empty_crs(tmpdir, driver, ext, engine): NYBB_CRS = "epsg:2263" -def test_read_file(engine): - df = read_file(geopandas.datasets.get_path("nybb"), engine=engine) +def test_read_file(engine, nybb_filename): + df = read_file(nybb_filename, engine=engine) validate_boro_df(df) - assert df.crs == NYBB_CRS + if HAS_PYPROJ: + assert df.crs == NYBB_CRS expected_columns = ["BoroCode", "BoroName", "Shape_Leng", "Shape_Area"] assert (df.columns[:-1] == expected_columns).all() @@ -578,7 +596,7 @@ def test_read_file(engine): "main/geopandas/tests/data/null_geom.geojson", # url to zip file "https://raw.githubusercontent.com/geopandas/geopandas/" - "main/geopandas/datasets/nybb_16a.zip", + "main/geopandas/tests/data/nybb_16a.zip", # url to zipfile without extension "https://geonode.goosocean.org/download/480", # url to web service @@ -596,6 +614,25 @@ def test_read_file_local_uri(file_path, engine): assert isinstance(gdf, geopandas.GeoDataFrame) +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") +def test_read_file_geojson_string_path(engine): + if engine == "pyogrio" and not PYOGRIO_GE_090: + pytest.skip("fixed in pyogrio 0.9.0") + expected = GeoDataFrame({"val_with_hash": ["row # 0"], "geometry": [Point(0, 1)]}) + features = { + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {"val_with_hash": "row # 0"}, + "geometry": {"type": "Point", "coordinates": [0.0, 1.0]}, + } + ], + } + df_read = read_file(json.dumps(features)) + assert_geodataframe_equal(expected.set_crs("EPSG:4326"), df_read) + + def test_read_file_textio(file_path, engine): file_text_stream = open(file_path) file_stringio = io.StringIO(open(file_path).read()) @@ -648,11 +685,11 @@ def test_read_file_tempfile(engine): temp.close() -def test_read_binary_file_fsspec(engine): +def test_read_binary_file_fsspec(engine, nybb_filename): fsspec = pytest.importorskip("fsspec") # Remove the zip scheme so fsspec doesn't open as a zipped file, # instead we want to read as bytes and let fiona decode it. - path = geopandas.datasets.get_path("nybb")[6:] + path = nybb_filename[6:] with fsspec.open(path, "rb") as f: gdf = read_file(f, engine=engine) assert isinstance(gdf, geopandas.GeoDataFrame) @@ -665,10 +702,10 @@ def test_read_text_file_fsspec(file_path, engine): assert isinstance(gdf, geopandas.GeoDataFrame) -def test_infer_zipped_file(engine): +def test_infer_zipped_file(engine, nybb_filename): # Remove the zip scheme so that the test for a zipped file can # check it and add it back. - path = geopandas.datasets.get_path("nybb")[6:] + path = nybb_filename[6:] gdf = read_file(path, engine=engine) assert isinstance(gdf, geopandas.GeoDataFrame) @@ -683,15 +720,24 @@ def test_infer_zipped_file(engine): assert isinstance(gdf, geopandas.GeoDataFrame) -def test_allow_legacy_gdal_path(engine): +def test_allow_legacy_gdal_path(engine, nybb_filename): # Construct a GDAL-style zip path. - path = "/vsizip/" + geopandas.datasets.get_path("nybb")[6:] + path = "/vsizip/" + nybb_filename[6:] gdf = read_file(path, engine=engine) assert isinstance(gdf, geopandas.GeoDataFrame) -def test_read_file_filtered__bbox(df_nybb, engine): - nybb_filename = geopandas.datasets.get_path("nybb") +@pytest.mark.skipif(not PYOGRIO_GE_090, reason="bug fixed in pyogrio 0.9.0") +def test_read_file_with_hash_in_path(engine, nybb_filename, tmp_path): + folder_with_hash = tmp_path / "path with # present" + folder_with_hash.mkdir(exist_ok=True, parents=True) + read_path = folder_with_hash / "nybb.zip" + shutil.copy(nybb_filename[6:], read_path) + gdf = read_file(read_path, engine=engine) + assert isinstance(gdf, geopandas.GeoDataFrame) + + +def test_read_file_bbox_tuple(df_nybb, engine, nybb_filename): bbox = ( 1031051.7879884212, 224272.49231459625, @@ -703,8 +749,7 @@ def test_read_file_filtered__bbox(df_nybb, engine): assert_geodataframe_equal(filtered_df, expected.reset_index(drop=True)) -def test_read_file_filtered__bbox__polygon(df_nybb, engine): - nybb_filename = geopandas.datasets.get_path("nybb") +def test_read_file_bbox_polygon(df_nybb, engine, nybb_filename): bbox = box( 1031051.7879884212, 224272.49231459625, 1047224.3104931959, 244317.30894023244 ) @@ -713,14 +758,12 @@ def test_read_file_filtered__bbox__polygon(df_nybb, engine): assert_geodataframe_equal(filtered_df, expected.reset_index(drop=True)) -def test_read_file_filtered__rows(df_nybb, engine): - nybb_filename = geopandas.datasets.get_path("nybb") +def test_read_file_filtered__rows(df_nybb, engine, nybb_filename): filtered_df = read_file(nybb_filename, rows=1, engine=engine) assert_geodataframe_equal(filtered_df, df_nybb.iloc[[0], :]) -def test_read_file_filtered__rows_slice(df_nybb, engine): - nybb_filename = geopandas.datasets.get_path("nybb") +def test_read_file_filtered__rows_slice(df_nybb, engine, nybb_filename): filtered_df = read_file(nybb_filename, rows=slice(1, 3), engine=engine) assert_geodataframe_equal(filtered_df, df_nybb.iloc[1:3, :].reset_index(drop=True)) @@ -728,21 +771,14 @@ def test_read_file_filtered__rows_slice(df_nybb, engine): @pytest.mark.filterwarnings( "ignore:Layer does not support OLC_FASTFEATURECOUNT:RuntimeWarning" ) # for the slice with -1 -def test_read_file_filtered__rows_bbox(df_nybb, engine): - nybb_filename = geopandas.datasets.get_path("nybb") +def test_read_file_filtered__rows_bbox(df_nybb, engine, nybb_filename): bbox = ( 1031051.7879884212, 224272.49231459625, 1047224.3104931959, 244317.30894023244, ) - if engine == "pyogrio" and not PYOGRIO_GE_07: - with pytest.raises(ValueError, match="'skip_features' must be between 0 and 1"): - # combination bbox and rows (rows slice applied after bbox filtering!) - filtered_df = read_file( - nybb_filename, bbox=bbox, rows=slice(4, None), engine=engine - ) - else: # fiona + if engine == "fiona": # combination bbox and rows (rows slice applied after bbox filtering!) filtered_df = read_file( nybb_filename, bbox=bbox, rows=slice(4, None), engine=engine @@ -768,16 +804,14 @@ def test_read_file_filtered__rows_bbox(df_nybb, engine): ) -def test_read_file_filtered_rows_invalid(engine): +def test_read_file_filtered_rows_invalid(engine, nybb_filename): with pytest.raises(TypeError): - read_file( - geopandas.datasets.get_path("nybb"), rows="not_a_slice", engine=engine - ) + read_file(nybb_filename, rows="not_a_slice", engine=engine) -def test_read_file__ignore_geometry(engine): +def test_read_file__ignore_geometry(engine, naturalearth_lowres): pdf = geopandas.read_file( - geopandas.datasets.get_path("naturalearth_lowres"), + naturalearth_lowres, ignore_geometry=True, engine=engine, ) @@ -785,20 +819,73 @@ def test_read_file__ignore_geometry(engine): assert isinstance(pdf, pd.DataFrame) and not isinstance(pdf, geopandas.GeoDataFrame) -def test_read_file__ignore_all_fields(engine): - skip_pyogrio_not_supported(engine) # pyogrio has "columns" keyword instead +@pytest.mark.filterwarnings( + "ignore:The 'include_fields' and 'ignore_fields' keywords:DeprecationWarning" +) +def test_read_file__ignore_fields(engine, naturalearth_lowres): gdf = geopandas.read_file( - geopandas.datasets.get_path("naturalearth_lowres"), + naturalearth_lowres, + ignore_fields=["pop_est", "continent", "iso_a3", "gdp_md_est"], + engine=engine, + ) + assert gdf.columns.tolist() == ["name", "geometry"] + + +@pytest.mark.filterwarnings( + "ignore:The 'include_fields' and 'ignore_fields' keywords:DeprecationWarning" +) +def test_read_file__ignore_all_fields(engine, naturalearth_lowres): + gdf = geopandas.read_file( + naturalearth_lowres, ignore_fields=["pop_est", "continent", "name", "iso_a3", "gdp_md_est"], - engine="fiona", + engine=engine, ) assert gdf.columns.tolist() == ["geometry"] -def test_read_file__where_filter(engine): +def test_read_file_missing_geometry(tmpdir, engine): + filename = str(tmpdir / "test.csv") + + expected = pd.DataFrame( + {"col1": np.array([1, 2, 3], dtype="int64"), "col2": ["a", "b", "c"]} + ) + expected.to_csv(filename, index=False) + + df = geopandas.read_file(filename, engine=engine) + # both engines read integers as strings; force back to original type + df["col1"] = df["col1"].astype("int64") + + assert isinstance(df, pd.DataFrame) + assert not isinstance(df, geopandas.GeoDataFrame) + + assert_frame_equal(df, expected) + + +def test_read_file_None_attribute(tmp_path, engine): + # Test added in context of https://github.com/geopandas/geopandas/issues/2901 + test_path = tmp_path / "test.gpkg" + gdf = GeoDataFrame( + {"a": [None, None]}, geometry=[Point(1, 2), Point(3, 4)], crs=4326 + ) + + gdf.to_file(test_path, engine=engine) + read_gdf = read_file(test_path, engine=engine) + assert_geodataframe_equal(gdf, read_gdf) + + +def test_read_csv_dtype(tmpdir, df_nybb): + filename = str(tmpdir / "test.csv") + + df_nybb.to_csv(filename, index=False) + pdf = pd.read_csv(filename, dtype={"geometry": "geometry"}) + + assert pdf.geometry.dtype == "geometry" + + +def test_read_file__where_filter(engine, naturalearth_lowres): if FIONA_GE_19 or engine == "pyogrio": gdf = geopandas.read_file( - geopandas.datasets.get_path("naturalearth_lowres"), + naturalearth_lowres, where="continent='Africa'", engine=engine, ) @@ -806,26 +893,75 @@ def test_read_file__where_filter(engine): else: with pytest.raises(NotImplementedError): geopandas.read_file( - geopandas.datasets.get_path("naturalearth_lowres"), + naturalearth_lowres, where="continent='Africa'", engine="fiona", ) -@PYOGRIO_MARK -def test_read_file__columns(): - # TODO: this is only support for pyogrio, but we could mimic it for fiona as well +def test_read_file__columns(engine, naturalearth_lowres): + if engine == "fiona" and not FIONA_GE_19: + pytest.skip("columns requires fiona 1.9+") + gdf = geopandas.read_file( - geopandas.datasets.get_path("naturalearth_lowres"), - columns=["name", "pop_est"], - engine="pyogrio", + naturalearth_lowres, columns=["name", "pop_est"], engine=engine ) assert gdf.columns.tolist() == ["name", "pop_est", "geometry"] -def test_read_file_filtered_with_gdf_boundary(df_nybb, engine): +def test_read_file__columns_empty(engine, naturalearth_lowres): + if engine == "fiona" and not FIONA_GE_19: + pytest.skip("columns requires fiona 1.9+") + + gdf = geopandas.read_file(naturalearth_lowres, columns=[], engine=engine) + assert gdf.columns.tolist() == ["geometry"] + + +@pytest.mark.skipif(FIONA_GE_19 or not fiona, reason="test for fiona < 1.9") +def test_read_file__columns_old_fiona(naturalearth_lowres): + with pytest.raises(NotImplementedError): + geopandas.read_file( + naturalearth_lowres, columns=["name", "pop_est"], engine="fiona" + ) + + +@pytest.mark.filterwarnings( + "ignore:The 'include_fields' and 'ignore_fields' keywords:DeprecationWarning" +) +def test_read_file__include_fields(engine, naturalearth_lowres): + if engine == "fiona" and not FIONA_GE_19: + pytest.skip("columns requires fiona 1.9+") + + gdf = geopandas.read_file( + naturalearth_lowres, include_fields=["name", "pop_est"], engine=engine + ) + assert gdf.columns.tolist() == ["name", "pop_est", "geometry"] + + +@pytest.mark.skipif(not FIONA_GE_19, reason="columns requires fiona 1.9+") +def test_read_file__columns_conflicting_keywords(engine, naturalearth_lowres): + path = naturalearth_lowres + + with pytest.raises(ValueError, match="Cannot specify both"): + geopandas.read_file( + path, include_fields=["name"], ignore_fields=["pop_est"], engine=engine + ) + + with pytest.raises(ValueError, match="Cannot specify both"): + geopandas.read_file( + path, columns=["name"], include_fields=["pop_est"], engine=engine + ) + + with pytest.raises(ValueError, match="Cannot specify both"): + geopandas.read_file( + path, columns=["name"], ignore_fields=["pop_est"], engine=engine + ) + + +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") +@pytest.mark.parametrize("file_like", [False, True]) +def test_read_file_bbox_gdf(df_nybb, engine, nybb_filename, file_like): full_df_shape = df_nybb.shape - nybb_filename = geopandas.datasets.get_path("nybb") bbox = geopandas.GeoDataFrame( geometry=[ box( @@ -837,28 +973,41 @@ def test_read_file_filtered_with_gdf_boundary(df_nybb, engine): ], crs=NYBB_CRS, ) - filtered_df = read_file(nybb_filename, bbox=bbox, engine=engine) + infile = ( + open(nybb_filename.replace("zip://", ""), "rb") if file_like else nybb_filename + ) + filtered_df = read_file(infile, bbox=bbox, engine=engine) filtered_df_shape = filtered_df.shape assert full_df_shape != filtered_df_shape assert filtered_df_shape == (2, 5) -def test_read_file_filtered_with_gdf_boundary__mask(df_nybb, engine): - skip_pyogrio_not_supported(engine) - gdf_mask = geopandas.read_file(geopandas.datasets.get_path("naturalearth_lowres")) - gdf = geopandas.read_file( - geopandas.datasets.get_path("naturalearth_cities"), - mask=gdf_mask[gdf_mask.continent == "Africa"], - engine=engine, - ) - filtered_df_shape = gdf.shape - assert filtered_df_shape == (57, 2) - - -def test_read_file_filtered_with_gdf_boundary__mask__polygon(df_nybb, engine): - skip_pyogrio_not_supported(engine) +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") +@pytest.mark.parametrize("file_like", [False, True]) +def test_read_file_mask_gdf(df_nybb, engine, nybb_filename, file_like): + full_df_shape = df_nybb.shape + mask = geopandas.GeoDataFrame( + geometry=[ + box( + 1031051.7879884212, + 224272.49231459625, + 1047224.3104931959, + 244317.30894023244, + ) + ], + crs=NYBB_CRS, + ) + infile = ( + open(nybb_filename.replace("zip://", ""), "rb") if file_like else nybb_filename + ) + filtered_df = read_file(infile, mask=mask, engine=engine) + filtered_df_shape = filtered_df.shape + assert full_df_shape != filtered_df_shape + assert filtered_df_shape == (2, 5) + + +def test_read_file_mask_polygon(df_nybb, engine, nybb_filename): full_df_shape = df_nybb.shape - nybb_filename = geopandas.datasets.get_path("nybb") mask = box( 1031051.7879884212, 224272.49231459625, 1047224.3104931959, 244317.30894023244 ) @@ -868,10 +1017,25 @@ def test_read_file_filtered_with_gdf_boundary__mask__polygon(df_nybb, engine): assert filtered_df_shape == (2, 5) -def test_read_file_filtered_with_gdf_boundary_mismatched_crs(df_nybb, engine): - skip_pyogrio_not_supported(engine) +def test_read_file_mask_geojson(df_nybb, nybb_filename, engine): + full_df_shape = df_nybb.shape + mask = mapping( + box( + 1031051.7879884212, + 224272.49231459625, + 1047224.3104931959, + 244317.30894023244, + ) + ) + filtered_df = read_file(nybb_filename, mask=mask, engine=engine) + filtered_df_shape = filtered_df.shape + assert full_df_shape != filtered_df_shape + assert filtered_df_shape == (2, 5) + + +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") +def test_read_file_bbox_gdf_mismatched_crs(df_nybb, engine, nybb_filename): full_df_shape = df_nybb.shape - nybb_filename = geopandas.datasets.get_path("nybb") bbox = geopandas.GeoDataFrame( geometry=[ box( @@ -890,10 +1054,9 @@ def test_read_file_filtered_with_gdf_boundary_mismatched_crs(df_nybb, engine): assert filtered_df_shape == (2, 5) -def test_read_file_filtered_with_gdf_boundary_mismatched_crs__mask(df_nybb, engine): - skip_pyogrio_not_supported(engine) +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") +def test_read_file_mask_gdf_mismatched_crs(df_nybb, engine, nybb_filename): full_df_shape = df_nybb.shape - nybb_filename = geopandas.datasets.get_path("nybb") mask = geopandas.GeoDataFrame( geometry=[ box( @@ -912,6 +1075,20 @@ def test_read_file_filtered_with_gdf_boundary_mismatched_crs__mask(df_nybb, engi assert filtered_df_shape == (2, 5) +def test_read_file_bbox_mask_not_allowed(engine, nybb_filename): + bbox = ( + 1031051.7879884212, + 224272.49231459625, + 1047224.3104931959, + 244317.30894023244, + ) + + mask = box(*bbox) + + with pytest.raises(ValueError, match="mask and bbox can not be set together"): + read_file(nybb_filename, bbox=bbox, mask=mask) + + @pytest.mark.filterwarnings( "ignore:Layer 'b'test_empty'' does not have any features:UserWarning" ) @@ -942,11 +1119,6 @@ def test_read_file_empty_shapefile(tmpdir, engine): assert all(empty.columns == ["A", "Z", "geometry"]) -def test_read_file_privacy(tmpdir, df_nybb): - with pytest.warns(FutureWarning): - geopandas.io.file.read_file(geopandas.datasets.get_path("nybb")) - - class FileNumber(object): def __init__(self, tmpdir, base, ext): self.tmpdir = str(tmpdir) @@ -1113,7 +1285,7 @@ def test_write_index_to_file(tmpdir, df_points, driver, ext, engine): # index as string df_p = df_points.copy() df = GeoDataFrame(df_p["value1"], geometry=df_p.geometry) - df.index = pd.TimedeltaIndex(range(len(df)), "days") + df.index = pd.to_timedelta(range(len(df)), unit="days") # TODO: TimedeltaIndex is an invalid field type df.index = df.index.astype(str) do_checks(df, index_is_used=True) @@ -1121,7 +1293,7 @@ def test_write_index_to_file(tmpdir, df_points, driver, ext, engine): # unnamed DatetimeIndex df_p = df_points.copy() df = GeoDataFrame(df_p["value1"], geometry=df_p.geometry) - df.index = pd.TimedeltaIndex(range(len(df)), "days") + pd.DatetimeIndex( + df.index = pd.to_timedelta(range(len(df)), unit="days") + pd.to_datetime( ["1999-12-27"] * len(df) ) if driver == "ESRI Shapefile": @@ -1152,6 +1324,54 @@ def test_write_read_file(test_file, engine): os.remove(os.path.expanduser(test_file)) +@pytest.mark.skipif(fiona is False, reason="Fiona not available") +@pytest.mark.skipif(FIONA_GE_19, reason="Fiona >= 1.9 supports metadata") +def test_to_file_metadata_unsupported_fiona_version(tmp_path, df_points): + metadata = {"title": "test"} + tmp_file = tmp_path / "test.gpkg" + match = "'metadata' keyword is only supported for Fiona >= 1.9" + with pytest.raises(NotImplementedError, match=match): + df_points.to_file(tmp_file, driver="GPKG", engine="fiona", metadata=metadata) + + +@pytest.mark.skipif(not FIONA_GE_19, reason="only Fiona >= 1.9 supports metadata") +def test_to_file_metadata_supported_fiona_version(tmp_path, df_points): + metadata = {"title": "test"} + tmp_file = tmp_path / "test.gpkg" + + df_points.to_file(tmp_file, driver="GPKG", engine="fiona", metadata=metadata) + + # Check that metadata is written to the file + with fiona.open(tmp_file) as src: + tags = src.tags() + assert tags == metadata + + +@pytest.mark.skipif(pyogrio is False, reason="Pyogrio not available") +def test_to_file_metadata_pyogrio(tmp_path, df_points): + metadata = {"title": "test"} + tmp_file = tmp_path / "test.gpkg" + + df_points.to_file(tmp_file, driver="GPKG", engine="pyogrio", metadata=metadata) + + # Check that metadata is written to the file + info = pyogrio.read_info(tmp_file) + layer_metadata = info["layer_metadata"] + assert layer_metadata == metadata + + +@pytest.mark.parametrize( + "driver, ext", [("ESRI Shapefile", ".shp"), ("GeoJSON", ".geojson")] +) +def test_to_file_metadata_unsupported_driver(driver, ext, tmpdir, df_points, engine): + metadata = {"title": "Test"} + tempfilename = os.path.join(str(tmpdir), "test" + ext) + with pytest.raises( + NotImplementedError, match="'metadata' keyword is only supported for" + ): + df_points.to_file(tempfilename, driver=driver, metadata=metadata) + + def test_multiple_geom_cols_error(tmpdir, df_nybb): df_nybb["geom2"] = df_nybb.geometry with pytest.raises(ValueError, match="GeoDataFrame contains multiple geometry"): @@ -1160,7 +1380,7 @@ def test_multiple_geom_cols_error(tmpdir, df_nybb): @PYOGRIO_MARK @FIONA_MARK -def test_option_io_engine(): +def test_option_io_engine(nybb_filename): try: geopandas.options.io_engine = "pyogrio" @@ -1171,8 +1391,48 @@ def test_option_io_engine(): orig = fiona.supported_drivers["ESRI Shapefile"] fiona.supported_drivers["ESRI Shapefile"] = "w" - nybb_filename = geopandas.datasets.get_path("nybb") _ = geopandas.read_file(nybb_filename) finally: fiona.supported_drivers["ESRI Shapefile"] = orig geopandas.options.io_engine = None + + +@pytest.mark.skipif(pyogrio, reason="test for pyogrio not installed") +def test_error_engine_unavailable_pyogrio(tmp_path, df_points, file_path): + + with pytest.raises(ImportError, match="the 'read_file' function requires"): + geopandas.read_file(file_path, engine="pyogrio") + + with pytest.raises(ImportError, match="the 'to_file' method requires"): + df_points.to_file(tmp_path / "test.gpkg", engine="pyogrio") + + +@pytest.mark.skipif(fiona, reason="test for fiona not installed") +def test_error_engine_unavailable_fiona(tmp_path, df_points, file_path): + + with pytest.raises(ImportError, match="the 'read_file' function requires"): + geopandas.read_file(file_path, engine="fiona") + + with pytest.raises(ImportError, match="the 'to_file' method requires"): + df_points.to_file(tmp_path / "test.gpkg", engine="fiona") + + +@PYOGRIO_MARK +def test_list_layers(df_points, tmpdir): + tempfilename = os.path.join(str(tmpdir), "dataset.gpkg") + df_points.to_file(tempfilename, layer="original") + df_points.set_geometry(df_points.buffer(1)).to_file(tempfilename, layer="buffered") + df_points.set_geometry(df_points.buffer(2).boundary).to_file( + tempfilename, layer="boundary" + ) + pyogrio.write_dataframe( + df_points[["value1", "value2"]], tempfilename, layer="non-spatial" + ) + layers = geopandas.list_layers(tempfilename) + expected = pd.DataFrame( + { + "name": ["original", "buffered", "boundary", "non-spatial"], + "geometry_type": ["Point", "Polygon", "LineString", None], + } + ) + assert_frame_equal(layers, expected) diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_file_geom_types_drivers.py b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_file_geom_types_drivers.py index fc873dab..b28260fb 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_file_geom_types_drivers.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_file_geom_types_drivers.py @@ -12,11 +12,10 @@ from shapely.geometry import ( import geopandas from geopandas import GeoDataFrame -from geopandas.testing import assert_geodataframe_equal -import pytest - from .test_file import FIONA_MARK, PYOGRIO_MARK +import pytest +from geopandas.testing import assert_geodataframe_equal # Credit: Polygons below come from Montreal city Open Data portal # http://donnees.ville.montreal.qc.ca/dataset/unites-evaluation-fonciere @@ -244,7 +243,14 @@ def geodataframe(request): return request.param -@pytest.fixture(params=["GeoJSON", "ESRI Shapefile", "GPKG", "SQLite"]) +@pytest.fixture( + params=[ + ("GeoJSON", ".geojson"), + ("ESRI Shapefile", ".shp"), + ("GPKG", ".gpkg"), + ("SQLite", ".sqlite"), + ] +) def ogr_driver(request): return request.param @@ -260,16 +266,18 @@ def engine(request): def test_to_file_roundtrip(tmpdir, geodataframe, ogr_driver, engine): - output_file = os.path.join(str(tmpdir), "output_file") + driver, ext = ogr_driver + output_file = os.path.join(str(tmpdir), "output_file" + ext) write_kwargs = {} - if ogr_driver == "SQLite": + if driver == "SQLite": write_kwargs["spatialite"] = True # This if statement can be removed once minimal fiona version >= 1.8.20 if engine == "fiona": - import fiona from packaging.version import Version + import fiona + if Version(fiona.__version__) < Version("1.8.20"): pytest.skip("SQLite driver only available from version 1.8.20") @@ -285,22 +293,35 @@ def test_to_file_roundtrip(tmpdir, geodataframe, ogr_driver, engine): ): write_kwargs["geometry_type"] = "Point Z" - expected_error = _expected_error_on(geodataframe, ogr_driver) + expected_error = _expected_error_on(geodataframe, driver) if expected_error: with pytest.raises( RuntimeError, match="Failed to write record|Could not add feature to layer" ): geodataframe.to_file( - output_file, driver=ogr_driver, engine=engine, **write_kwargs + output_file, driver=driver, engine=engine, **write_kwargs ) else: - geodataframe.to_file( - output_file, driver=ogr_driver, engine=engine, **write_kwargs - ) + if driver == "SQLite" and engine == "pyogrio": + try: + geodataframe.to_file( + output_file, driver=driver, engine=engine, **write_kwargs + ) + except ValueError as e: + if "unrecognized option 'SPATIALITE'" in str(e): + pytest.xfail( + "pyogrio wheels from PyPI do not come with SpatiaLite support. " + f"Error: {e}" + ) + raise + else: + geodataframe.to_file( + output_file, driver=driver, engine=engine, **write_kwargs + ) reloaded = geopandas.read_file(output_file, engine=engine) - if ogr_driver == "GeoJSON" and engine == "pyogrio": + if driver == "GeoJSON" and engine == "pyogrio": # For GeoJSON files, the int64 column comes back as int32 reloaded["a"] = reloaded["a"].astype("int64") diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_infer_schema.py b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_infer_schema.py index 3916cf10..61a72171 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_infer_schema.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_infer_schema.py @@ -1,5 +1,8 @@ from collections import OrderedDict +import numpy as np +import pandas as pd + from shapely.geometry import ( LineString, MultiLineString, @@ -9,12 +12,11 @@ from shapely.geometry import ( Polygon, ) -import pandas as pd -import pytest -import numpy as np from geopandas import GeoDataFrame from geopandas.io.file import infer_schema +import pytest + # Credit: Polygons below come from Montreal city Open Data portal # http://donnees.ville.montreal.qc.ca/dataset/unites-evaluation-fonciere city_hall_boundaries = Polygon( diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_pickle.py b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_pickle.py index 131fbcf7..6d962807 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_pickle.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_pickle.py @@ -2,7 +2,7 @@ See generate_legacy_storage_files.py for the creation of the legacy files. """ -from contextlib import contextmanager + import glob import os import pathlib @@ -11,9 +11,6 @@ import pandas as pd import pytest from geopandas.testing import assert_geodataframe_equal -from geopandas import _compat as compat -import geopandas -from shapely.geometry import Point DATA_PATH = pathlib.Path(os.path.dirname(__file__)) / "data" @@ -34,18 +31,7 @@ def legacy_pickle(request): return request.param -@contextmanager -def with_use_pygeos(option): - orig = geopandas.options.use_pygeos - geopandas.options.use_pygeos = option - try: - yield - finally: - geopandas.options.use_pygeos = orig - - -@pytest.mark.skipif( - compat.USE_SHAPELY_20 or compat.USE_PYGEOS, +@pytest.mark.skip( reason=( "shapely 2.0/pygeos-based unpickling currently only works for " "shapely-2.0/pygeos-written files" @@ -68,43 +54,3 @@ def test_round_trip_current(tmpdir, current_pickle_data): result = pd.read_pickle(path) assert_geodataframe_equal(result, value) assert isinstance(result.has_sindex, bool) - - -def _create_gdf(): - return geopandas.GeoDataFrame( - {"a": [0.1, 0.2, 0.3], "geometry": [Point(1, 1), Point(2, 2), Point(3, 3)]}, - crs="EPSG:4326", - ) - - -@pytest.mark.skipif(not compat.HAS_PYGEOS, reason="requires pygeos to test #1745") -def test_pygeos_switch(tmpdir): - # writing and reading with pygeos disabled - with with_use_pygeos(False): - gdf = _create_gdf() - path = str(tmpdir / "gdf_crs1.pickle") - gdf.to_pickle(path) - result = pd.read_pickle(path) - assert_geodataframe_equal(result, gdf) - - # writing without pygeos, reading with pygeos - with with_use_pygeos(False): - gdf = _create_gdf() - path = str(tmpdir / "gdf_crs1.pickle") - gdf.to_pickle(path) - - with with_use_pygeos(True): - result = pd.read_pickle(path) - gdf = _create_gdf() - assert_geodataframe_equal(result, gdf) - - # writing with pygeos, reading without pygeos - with with_use_pygeos(True): - gdf = _create_gdf() - path = str(tmpdir / "gdf_crs1.pickle") - gdf.to_pickle(path) - - with with_use_pygeos(False): - result = pd.read_pickle(path) - gdf = _create_gdf() - assert_geodataframe_equal(result, gdf) diff --git a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_sql.py b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_sql.py index a072a481..d394098f 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_sql.py +++ b/.venv/lib/python3.12/site-packages/geopandas/io/tests/test_sql.py @@ -4,18 +4,27 @@ The spatial database tests may not work without additional system configuration. postGIS tests require a test database to have been setup; see geopandas.tests.util for more information. """ + import os import warnings +from importlib.util import find_spec import pandas as pd import geopandas -from geopandas import GeoDataFrame, read_file, read_postgis - import geopandas._compat as compat -from geopandas.io.sql import _get_conn as get_conn, _write_postgis as write_postgis -from geopandas.tests.util import create_postgis, create_spatialite, validate_boro_df +from geopandas import GeoDataFrame, read_file, read_postgis +from geopandas._compat import HAS_PYPROJ +from geopandas.io.sql import _get_conn as get_conn +from geopandas.io.sql import _write_postgis as write_postgis + import pytest +from geopandas.tests.util import ( + create_postgis, + create_spatialite, + mock, + validate_boro_df, +) try: from sqlalchemy import text @@ -26,31 +35,48 @@ except ImportError: @pytest.fixture -def df_nybb(): - nybb_path = geopandas.datasets.get_path("nybb") - df = read_file(nybb_path) +def df_nybb(nybb_filename): + df = read_file(nybb_filename) return df -@pytest.fixture() -def connection_postgis(): +def check_available_postgis_drivers() -> list[str]: + """Work out which of psycopg2 and psycopg are available. + This prevents tests running if the relevant package isn't installed + (rather than being skipped, as skips are treated as failures during postgis CI) """ - Initiates a connection to a postGIS database that must already exist. - See create_postgis for more information. - """ - psycopg2 = pytest.importorskip("psycopg2") - from psycopg2 import OperationalError + drivers = [] + if find_spec("psycopg"): + drivers.append("psycopg") + if find_spec("psycopg2"): + drivers.append("psycopg2") + return drivers + + +POSTGIS_DRIVERS = check_available_postgis_drivers() + + +def prepare_database_credentials() -> dict: + """Gather postgres connection credentials from environment variables.""" + return { + "dbname": "test_geopandas", + "user": os.environ.get("PGUSER"), + "password": os.environ.get("PGPASSWORD"), + "host": os.environ.get("PGHOST"), + "port": os.environ.get("PGPORT"), + } + + +@pytest.fixture() +def connection_postgis(request): + """Create a postgres connection using either psycopg2 or psycopg. + + Use this as an indirect fixture, where the request parameter is POSTGIS_DRIVERS.""" + psycopg = pytest.importorskip(request.param) - dbname = "test_geopandas" - user = os.environ.get("PGUSER") - password = os.environ.get("PGPASSWORD") - host = os.environ.get("PGHOST") - port = os.environ.get("PGPORT") try: - con = psycopg2.connect( - dbname=dbname, user=user, password=password, host=host, port=port - ) - except OperationalError: + con = psycopg.connect(**prepare_database_credentials()) + except psycopg.OperationalError: pytest.skip("Cannot connect with postgresql database") with warnings.catch_warnings(): warnings.filterwarnings( @@ -61,28 +87,25 @@ def connection_postgis(): @pytest.fixture() -def engine_postgis(): +def engine_postgis(request): """ - Initiates a connection engine to a postGIS database that must already exist. + Initiate a sqlalchemy connection engine using either psycopg2 or psycopg. + + Use this as an indirect fixture, where the request parameter is POSTGIS_DRIVERS. """ sqlalchemy = pytest.importorskip("sqlalchemy") from sqlalchemy.engine.url import URL - user = os.environ.get("PGUSER") - password = os.environ.get("PGPASSWORD") - host = os.environ.get("PGHOST") - port = os.environ.get("PGPORT") - dbname = "test_geopandas" - + credentials = prepare_database_credentials() try: con = sqlalchemy.create_engine( URL.create( - drivername="postgresql+psycopg2", - username=user, - database=dbname, - password=password, - host=host, - port=port, + drivername=f"postgresql+{request.param}", + username=credentials["user"], + database=credentials["dbname"], + password=credentials["password"], + host=credentials["host"], + port=credentials["port"], ) ) con.connect() @@ -140,7 +163,7 @@ def drop_table_if_exists(conn_or_engine, table): @pytest.fixture def df_mixed_single_and_multi(): - from shapely.geometry import Point, LineString, MultiLineString + from shapely.geometry import LineString, MultiLineString, Point df = geopandas.GeoDataFrame( { @@ -157,7 +180,7 @@ def df_mixed_single_and_multi(): @pytest.fixture def df_geom_collection(): - from shapely.geometry import Point, LineString, Polygon, GeometryCollection + from shapely.geometry import GeometryCollection, LineString, Point, Polygon df = geopandas.GeoDataFrame( { @@ -188,7 +211,7 @@ def df_linear_ring(): @pytest.fixture def df_3D_geoms(): - from shapely.geometry import Point, LineString, Polygon + from shapely.geometry import LineString, Point, Polygon df = geopandas.GeoDataFrame( { @@ -204,6 +227,7 @@ def df_3D_geoms(): class TestIO: + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_get_conn(self, engine_postgis): Connection = pytest.importorskip("sqlalchemy.engine.base").Connection @@ -217,6 +241,7 @@ class TestIO: with get_conn(object()): pass + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) def test_read_postgis_default(self, connection_postgis, df_nybb): con = connection_postgis create_postgis(con, df_nybb) @@ -229,6 +254,7 @@ class TestIO: # by user; should not be set to 0, as from get_srid failure assert df.crs is None + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) def test_read_postgis_custom_geom_col(self, connection_postgis, df_nybb): con = connection_postgis geom_col = "the_geom" @@ -239,6 +265,7 @@ class TestIO: validate_boro_df(df) + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) def test_read_postgis_select_geom_as(self, connection_postgis, df_nybb): """Tests that a SELECT {geom} AS {some_other_geom} works.""" con = connection_postgis @@ -254,6 +281,7 @@ class TestIO: validate_boro_df(df) + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) def test_read_postgis_get_srid(self, connection_postgis, df_nybb): """Tests that an SRID can be read from a geodatabase (GH #451).""" con = connection_postgis @@ -267,6 +295,7 @@ class TestIO: validate_boro_df(df) assert df.crs == crs + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) def test_read_postgis_override_srid(self, connection_postgis, df_nybb): """Tests that a user specified CRS overrides the geodatabase SRID.""" con = connection_postgis @@ -279,6 +308,7 @@ class TestIO: validate_boro_df(df) assert df.crs == orig_crs + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) def test_from_postgis_default(self, connection_postgis, df_nybb): con = connection_postgis create_postgis(con, df_nybb) @@ -288,6 +318,7 @@ class TestIO: validate_boro_df(df, case_sensitive=False) + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) def test_from_postgis_custom_geom_col(self, connection_postgis, df_nybb): con = connection_postgis geom_col = "the_geom" @@ -323,6 +354,7 @@ class TestIO: df = read_postgis(sql, con, geom_col=geom_col) validate_boro_df(df) + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) def test_read_postgis_chunksize(self, connection_postgis, df_nybb): """Test chunksize argument""" chunksize = 2 @@ -337,14 +369,7 @@ class TestIO: # by user; should not be set to 0, as from get_srid failure assert df.crs is None - def test_read_postgis_privacy(self, connection_postgis, df_nybb): - con = connection_postgis - create_postgis(con, df_nybb) - - sql = "SELECT * FROM nybb;" - with pytest.warns(FutureWarning): - geopandas.io.sql.read_postgis(sql, con) - + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_default(self, engine_postgis, df_nybb): """Tests that GeoDataFrame can be written to PostGIS with defaults.""" engine = engine_postgis @@ -360,6 +385,7 @@ class TestIO: df = read_postgis(sql, engine, geom_col="geometry") validate_boro_df(df) + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_uppercase_tablename(self, engine_postgis, df_nybb): """Tests writing GeoDataFrame to PostGIS with uppercase tablename.""" engine = engine_postgis @@ -375,6 +401,7 @@ class TestIO: df = read_postgis(sql, engine, geom_col="geometry") validate_boro_df(df) + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_sqlalchemy_connection(self, engine_postgis, df_nybb): """Tests that GeoDataFrame can be written to PostGIS with defaults.""" with engine_postgis.begin() as con: @@ -390,6 +417,7 @@ class TestIO: df = read_postgis(sql, con, geom_col="geometry") validate_boro_df(df) + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_fail_when_table_exists(self, engine_postgis, df_nybb): """ Tests that uploading the same table raises error when: if_replace='fail'. @@ -409,6 +437,7 @@ class TestIO: else: raise e + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_replace_when_table_exists(self, engine_postgis, df_nybb): """ Tests that replacing a table is possible when: if_replace='replace'. @@ -426,6 +455,7 @@ class TestIO: df = read_postgis(sql, engine, geom_col="geometry") validate_boro_df(df) + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_append_when_table_exists(self, engine_postgis, df_nybb): """ Tests that appending to existing table produces correct results when: @@ -445,15 +475,18 @@ class TestIO: # There should be twice as many rows in the new table assert new_rows == orig_rows * 2, ( - "There should be {target} rows," - "found: {current}".format(target=orig_rows * 2, current=new_rows), + "There should be {target} rows,found: {current}".format( + target=orig_rows * 2, current=new_rows + ), ) # Number of columns should stay the same assert new_cols == orig_cols, ( - "There should be {target} columns," - "found: {current}".format(target=orig_cols, current=new_cols), + "There should be {target} columns,found: {current}".format( + target=orig_cols, current=new_cols + ), ) + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_without_crs(self, engine_postgis, df_nybb): """ Tests that GeoDataFrame can be written to PostGIS without CRS information. @@ -463,8 +496,7 @@ class TestIO: table = "nybb" # Write to db - df_nybb = df_nybb - df_nybb.crs = None + df_nybb.geometry.array.crs = None with pytest.warns(UserWarning, match="Could not parse CRS from the GeoDataF"): write_postgis(df_nybb, con=engine, name=table, if_exists="replace") # Validate that srid is -1 @@ -477,6 +509,7 @@ class TestIO: target_srid = conn.execute(sql).fetchone()[0] assert target_srid == 0, "SRID should be 0, found %s" % target_srid + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_with_esri_authority(self, engine_postgis, df_nybb): """ Tests that GeoDataFrame can be written to PostGIS with ESRI Authority @@ -499,6 +532,7 @@ class TestIO: target_srid = conn.execute(sql).fetchone()[0] assert target_srid == 102003, "SRID should be 102003, found %s" % target_srid + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_geometry_collection( self, engine_postgis, df_geom_collection ): @@ -525,6 +559,7 @@ class TestIO: assert geom_type.upper() == "GEOMETRYCOLLECTION" assert df.geom_type.unique()[0] == "GeometryCollection" + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_mixed_geometry_types( self, engine_postgis, df_mixed_single_and_multi ): @@ -551,6 +586,7 @@ class TestIO: assert res[1][0].upper() == "MULTILINESTRING" assert res[2][0].upper() == "POINT" + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_linear_ring(self, engine_postgis, df_linear_ring): """ Tests that writing a LinearRing. @@ -572,6 +608,7 @@ class TestIO: assert geom_type.upper() == "LINESTRING" + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_in_chunks(self, engine_postgis, df_mixed_single_and_multi): """ Tests writing a LinearRing works. @@ -605,6 +642,7 @@ class TestIO: assert res[1][0].upper() == "MULTILINESTRING" assert res[2][0].upper() == "POINT" + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_to_different_schema(self, engine_postgis, df_nybb): """ Tests writing data to alternative schema. @@ -628,6 +666,7 @@ class TestIO: df = read_postgis(sql, engine, geom_col="geometry") validate_boro_df(df) + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_to_different_schema_when_table_exists( self, engine_postgis, df_nybb ): @@ -672,6 +711,7 @@ class TestIO: df = read_postgis(sql, engine, geom_col="geometry") validate_boro_df(df) + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_write_postgis_3D_geometries(self, engine_postgis, df_3D_geoms): """ Tests writing a geometries with 3 dimensions works. @@ -687,6 +727,7 @@ class TestIO: df = read_postgis(sql, engine, geom_col="geometry") assert list(df.geometry.has_z) == [True, True, True] + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_row_order(self, engine_postgis, df_nybb): """ Tests that the row order in db table follows the order of the original frame. @@ -703,6 +744,7 @@ class TestIO: df = read_postgis(sql, engine, geom_col="geometry") assert df["BoroCode"].tolist() == correct_order + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_append_before_table_exists(self, engine_postgis, df_nybb): """ Tests that insert works with if_exists='append' when table does not exist yet. @@ -720,6 +762,7 @@ class TestIO: df = read_postgis(sql, engine, geom_col="geometry") validate_boro_df(df) + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) def test_append_with_different_crs(self, engine_postgis, df_nybb): """ Tests that the warning is raised if table CRS differs from frame. @@ -736,9 +779,26 @@ class TestIO: with pytest.raises(ValueError, match="CRS of the target table"): write_postgis(df_nybb2, con=engine, name=table, if_exists="append") + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) + def test_append_without_crs(self, engine_postgis, df_nybb): + # This test was included in #3328 when the default value for no + # CRS was changed from an SRID of -1 to 0. This resolves issues + # of appending dataframes to postgis that have no CRS as postgis + # no CRS value is 0. + engine = engine_postgis + df_nybb = df_nybb.set_crs(None, allow_override=True) + table = "nybb" + + write_postgis(df_nybb, con=engine, name=table, if_exists="replace") + # append another dataframe with no crs + + df_nybb2 = df_nybb + write_postgis(df_nybb2, con=engine, name=table, if_exists="append") + + @pytest.mark.parametrize("engine_postgis", POSTGIS_DRIVERS, indirect=True) @pytest.mark.xfail( - compat.PANDAS_GE_20 and not compat.PANDAS_GE_21, - reason="Duplicate columns are dropped in read_sql with pandas 2.0.x", + compat.PANDAS_GE_20 and not compat.PANDAS_GE_202, + reason="Duplicate columns are dropped in read_sql with pandas 2.0.0 and 2.0.1", ) def test_duplicate_geometry_column_fails(self, engine_postgis): """ @@ -750,3 +810,69 @@ class TestIO: with pytest.raises(ValueError): read_postgis(sql, engine, geom_col="geom") + + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) + def test_read_non_epsg_crs(self, connection_postgis, df_nybb): + con = connection_postgis + df_nybb = df_nybb.to_crs(crs="esri:54052") + create_postgis(con, df_nybb, srid=54052) + + sql = "SELECT * FROM nybb;" + df = read_postgis(sql, con) + validate_boro_df(df) + assert df.crs == "ESRI:54052" + + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") + @mock.patch("shapely.get_srid") + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) + def test_read_srid_not_in_table(self, mock_get_srid, connection_postgis, df_nybb): + # mock a non-existent srid for edge case if shapely has an srid + # not present in postgis table. + pyproj = pytest.importorskip("pyproj") + + mock_get_srid.return_value = 99999 + + con = connection_postgis + df_nybb = df_nybb.to_crs(crs="epsg:4326") + create_postgis(con, df_nybb) + + sql = "SELECT * FROM nybb;" + with pytest.raises(pyproj.exceptions.CRSError, match="crs not found"): + with pytest.warns(UserWarning, match="Could not find srid 99999"): + read_postgis(sql, con) + + @mock.patch("geopandas.io.sql._get_spatial_ref_sys_df") + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) + def test_read_no_spatial_ref_sys_table_in_postgis( + self, mock_get_spatial_ref_sys_df, connection_postgis, df_nybb + ): + # mock for a non-existent spatial_ref_sys database + + mock_get_spatial_ref_sys_df.side_effect = pd.errors.DatabaseError + + con = connection_postgis + df_nybb = df_nybb.to_crs(crs="epsg:4326") + create_postgis(con, df_nybb, srid=4326) + + sql = "SELECT * FROM nybb;" + with pytest.warns( + UserWarning, match="Could not find the spatial reference system table" + ): + df = read_postgis(sql, con) + + assert df.crs == "EPSG:4326" + + @pytest.mark.parametrize("connection_postgis", POSTGIS_DRIVERS, indirect=True) + def test_read_non_epsg_crs_chunksize(self, connection_postgis, df_nybb): + """Test chunksize argument with non epsg crs""" + chunksize = 2 + con = connection_postgis + df_nybb = df_nybb.to_crs(crs="esri:54052") + + create_postgis(con, df_nybb, srid=54052) + + sql = "SELECT * FROM nybb;" + df = pd.concat(read_postgis(sql, con, chunksize=chunksize)) + + validate_boro_df(df) + assert df.crs == "ESRI:54052" diff --git a/.venv/lib/python3.12/site-packages/geopandas/plotting.py b/.venv/lib/python3.12/site-packages/geopandas/plotting.py index e863c041..5c2f416e 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/plotting.py +++ b/.venv/lib/python3.12/site-packages/geopandas/plotting.py @@ -1,32 +1,16 @@ import warnings +from packaging.version import Version import numpy as np import pandas as pd -from pandas.plotting import PlotAccessor from pandas import CategoricalDtype +from pandas.plotting import PlotAccessor import geopandas -from packaging.version import Version - from ._decorator import doc -def deprecated(new, warning_type=FutureWarning): - """Helper to provide deprecation warning.""" - - def old(*args, **kwargs): - warnings.warn( - "{} is intended for internal ".format(new.__name__[1:]) - + "use only, and will be deprecated.", - warning_type, - stacklevel=2, - ) - new(*args, **kwargs) - - return old - - def _sanitize_geoms(geoms, prefix="Multi"): """ Returns Series like geoms and index, except that any Multi geometries @@ -76,17 +60,11 @@ def _expand_kwargs(kwargs, multiindex): it (in place) to the correct length/formats with help of 'multiindex', unless the value appears to already be a valid (single) value for the key. """ - import matplotlib - from matplotlib.colors import is_color_like from typing import Iterable - mpl = Version(matplotlib.__version__) - if mpl >= Version("3.4"): - # alpha is supported as array argument with matplotlib 3.4+ - scalar_kwargs = ["marker", "path_effects"] - else: - scalar_kwargs = ["marker", "alpha", "path_effects"] + from matplotlib.colors import is_color_like + scalar_kwargs = ["marker", "path_effects"] for att, value in kwargs.items(): if "color" in att: # color(s), edgecolor(s), facecolor(s) if is_color_like(value): @@ -134,7 +112,15 @@ def _PolygonPatch(polygon, **kwargs): def _plot_polygon_collection( - ax, geoms, values=None, color=None, cmap=None, vmin=None, vmax=None, **kwargs + ax, + geoms, + values=None, + color=None, + cmap=None, + vmin=None, + vmax=None, + autolim=True, + **kwargs, ): """ Plots a collection of Polygon and MultiPolygon geometries to `ax` @@ -155,6 +141,8 @@ def _plot_polygon_collection( Color to fill the polygons. Cannot be used together with `values`. color : single color or sequence of `N` colors Sets both `edgecolor` and `facecolor` + autolim : bool (default True) + Update axes data limits to contain the new geometries. **kwargs Additional keyword arguments passed to the collection @@ -189,16 +177,21 @@ def _plot_polygon_collection( if "norm" not in kwargs: collection.set_clim(vmin, vmax) - ax.add_collection(collection, autolim=True) + ax.add_collection(collection, autolim=autolim) ax.autoscale_view() return collection -plot_polygon_collection = deprecated(_plot_polygon_collection) - - def _plot_linestring_collection( - ax, geoms, values=None, color=None, cmap=None, vmin=None, vmax=None, **kwargs + ax, + geoms, + values=None, + color=None, + cmap=None, + vmin=None, + vmax=None, + autolim=True, + **kwargs, ): """ Plots a collection of LineString and MultiLineString geometries to `ax` @@ -214,6 +207,8 @@ def _plot_linestring_collection( have 1:1 correspondence with the geometries (not their components). color : single color or sequence of `N` colors Cannot be used together with `values`. + autolim : bool (default True) + Update axes data limits to contain the new geometries. Returns ------- @@ -247,14 +242,11 @@ def _plot_linestring_collection( if "norm" not in kwargs: collection.set_clim(vmin, vmax) - ax.add_collection(collection, autolim=True) + ax.add_collection(collection, autolim=autolim) ax.autoscale_view() return collection -plot_linestring_collection = deprecated(_plot_linestring_collection) - - def _plot_point_collection( ax, geoms, @@ -318,11 +310,15 @@ def _plot_point_collection( return collection -plot_point_collection = deprecated(_plot_point_collection) - - def plot_series( - s, cmap=None, color=None, ax=None, figsize=None, aspect="auto", **style_kwds + s, + cmap=None, + color=None, + ax=None, + figsize=None, + aspect="auto", + autolim=True, + **style_kwds, ): """ Plot a GeoSeries. @@ -358,6 +354,8 @@ def plot_series( square appears square in the middle of the plot. This implies an Equirectangular projection. If None, the aspect of `ax` won't be changed. It can also be set manually (float) as the ratio of y-unit to x-unit. + autolim : bool (default True) + Update axes data limits to contain the new geometries. **style_kwds : dict Color options to be passed on to the actual plot function, such as ``edgecolor``, ``facecolor``, ``linewidth``, ``markersize``, @@ -367,22 +365,6 @@ def plot_series( ------- ax : matplotlib axes instance """ - if "colormap" in style_kwds: - warnings.warn( - "'colormap' is deprecated, please use 'cmap' instead " - "(for consistency with matplotlib)", - FutureWarning, - stacklevel=3, - ) - cmap = style_kwds.pop("colormap") - if "axes" in style_kwds: - warnings.warn( - "'axes' is deprecated, please use 'ax' instead " - "(for consistency with pandas)", - FutureWarning, - stacklevel=3, - ) - ax = style_kwds.pop("axes") try: import matplotlib.pyplot as plt @@ -468,7 +450,13 @@ def plot_series( values_ = values[poly_idx] if cmap else None _plot_polygon_collection( - ax, polys, values_, facecolor=facecolor, cmap=cmap, **style_kwds + ax, + polys, + values_, + facecolor=facecolor, + cmap=cmap, + autolim=autolim, + **style_kwds, ) # plot all LineStrings and MultiLineString components in same collection @@ -478,7 +466,7 @@ def plot_series( color_ = expl_color[line_idx] if color_given else color _plot_linestring_collection( - ax, lines, values_, color=color_, cmap=cmap, **style_kwds + ax, lines, values_, color=color_, cmap=cmap, autolim=autolim, **style_kwds ) # plot all Points in the same collection @@ -491,7 +479,7 @@ def plot_series( ax, points, values_, color=color_, cmap=cmap, **style_kwds ) - plt.draw() + ax.figure.canvas.draw_idle() return ax @@ -515,6 +503,7 @@ def plot_dataframe( classification_kwds=None, missing_kwds=None, aspect="auto", + autolim=True, **style_kwds, ): """ @@ -618,7 +607,8 @@ def plot_dataframe( square appears square in the middle of the plot. This implies an Equirectangular projection. If None, the aspect of `ax` won't be changed. It can also be set manually (float) as the ratio of y-unit to x-unit. - + autolim : bool (default True) + Update axes data limits to contain the new geometries. **style_kwds : dict Style options to be passed on to the actual plot function, such as ``edgecolor``, ``facecolor``, ``linewidth``, ``markersize``, @@ -645,22 +635,6 @@ def plot_dataframe( See the User Guide page :doc:`../../user_guide/mapping` for details. """ - if "colormap" in style_kwds: - warnings.warn( - "'colormap' is deprecated, please use 'cmap' instead " - "(for consistency with matplotlib)", - FutureWarning, - stacklevel=3, - ) - cmap = style_kwds.pop("colormap") - if "axes" in style_kwds: - warnings.warn( - "'axes' is deprecated, please use 'ax' instead " - "(for consistency with pandas)", - FutureWarning, - stacklevel=3, - ) - ax = style_kwds.pop("axes") if column is not None and color is not None: warnings.warn( "Only specify one of 'column' or 'color'. Using 'color'.", @@ -721,6 +695,7 @@ def plot_dataframe( figsize=figsize, markersize=markersize, aspect=aspect, + autolim=autolim, **style_kwds, ) @@ -860,7 +835,14 @@ def plot_dataframe( subset = values[poly_idx & np.invert(nan_idx)] if not polys.empty: _plot_polygon_collection( - ax, polys, subset, vmin=mn, vmax=mx, cmap=cmap, **style_kwds + ax, + polys, + subset, + vmin=mn, + vmax=mx, + cmap=cmap, + autolim=autolim, + **style_kwds, ) # plot all LineStrings and MultiLineString components in same collection @@ -868,7 +850,14 @@ def plot_dataframe( subset = values[line_idx & np.invert(nan_idx)] if not lines.empty: _plot_linestring_collection( - ax, lines, subset, vmin=mn, vmax=mx, cmap=cmap, **style_kwds + ax, + lines, + subset, + vmin=mn, + vmax=mx, + cmap=cmap, + autolim=autolim, + **style_kwds, ) # plot all Points in the same collection @@ -906,9 +895,9 @@ def plot_dataframe( if "fmt" in legend_kwds: legend_kwds.pop("fmt") - from matplotlib.lines import Line2D - from matplotlib.colors import Normalize from matplotlib import cm + from matplotlib.colors import Normalize + from matplotlib.lines import Line2D norm = style_kwds.get("norm", None) if not norm: @@ -918,7 +907,7 @@ def plot_dataframe( if scheme is not None: categories = labels patches = [] - for value, cat in enumerate(categories): + for i in range(len(categories)): patches.append( Line2D( [0], @@ -927,7 +916,7 @@ def plot_dataframe( marker="o", alpha=style_kwds.get("alpha", 1), markersize=10, - markerfacecolor=n_cmap.to_rgba(value), + markerfacecolor=n_cmap.to_rgba(i), markeredgewidth=0, ) ) @@ -964,7 +953,7 @@ def plot_dataframe( n_cmap.set_array(np.array([])) ax.get_figure().colorbar(n_cmap, **legend_kwds) - plt.draw() + ax.figure.canvas.draw_idle() return ax diff --git a/.venv/lib/python3.12/site-packages/geopandas/sindex.py b/.venv/lib/python3.12/site-packages/geopandas/sindex.py index 341f74de..6966cc46 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/sindex.py +++ b/.venv/lib/python3.12/site-packages/geopandas/sindex.py @@ -1,33 +1,42 @@ -import warnings - -from shapely.geometry.base import BaseGeometry -import pandas as pd import numpy as np +import shapely +from shapely.geometry.base import BaseGeometry + from . import _compat as compat -from ._decorator import doc +from . import array, geoseries + +PREDICATES = {p.name for p in shapely.strtree.BinaryPredicate} | {None} + +if compat.GEOS_GE_310: + PREDICATES.update(["dwithin"]) -def _get_sindex_class(): - """Dynamically chooses a spatial indexing backend. +class SpatialIndex: + """A simple wrapper around Shapely's STRTree. - Required to comply with _compat.USE_PYGEOS. - The selection order goes PyGEOS > RTree > Error. + + Parameters + ---------- + geometry : np.array of Shapely geometries + Geometries from which to build the spatial index. """ - if compat.USE_SHAPELY_20 or compat.USE_PYGEOS: - return PyGEOSSTRTreeIndex - if compat.HAS_RTREE: - return RTreeIndex - raise ImportError( - "Spatial indexes require either `rtree` or `pygeos`. " - "See installation instructions at https://geopandas.org/install.html" - ) + def __init__(self, geometry): + # set empty geometries to None to avoid segfault on GEOS <= 3.6 + # see: + # https://github.com/pygeos/pygeos/issues/146 + # https://github.com/pygeos/pygeos/issues/147 + non_empty = geometry.copy() + non_empty[shapely.is_empty(non_empty)] = None + # set empty geometries to None to maintain indexing + self._tree = shapely.STRtree(non_empty) + # store geometries, including empty geometries for user access + self.geometries = geometry.copy() -class BaseSpatialIndex: @property def valid_query_predicates(self): - """Returns valid predicates for this spatial index. + """Returns valid predicates for the spatial index. Returns ------- @@ -39,12 +48,14 @@ class BaseSpatialIndex: >>> from shapely.geometry import Point >>> s = geopandas.GeoSeries([Point(0, 0), Point(1, 1)]) >>> s.sindex.valid_query_predicates # doctest: +SKIP - {'contains', 'crosses', 'intersects', 'within', 'touches', \ -'overlaps', None, 'covers', 'contains_properly'} + {None, "contains", "contains_properly", "covered_by", "covers", \ +"crosses", "dwithin", "intersects", "overlaps", "touches", "within"} """ - raise NotImplementedError + return PREDICATES - def query(self, geometry, predicate=None, sort=False): + def query( + self, geometry, predicate=None, sort=False, distance=None, output_format="tuple" + ): """ Return the integer indices of all combinations of each input geometry and tree geometries where the bounding box of each input geometry @@ -63,6 +74,8 @@ class BaseSpatialIndex: to those that meet the predicate when comparing the input geometry to the tree geometry: ``predicate(geometry, tree_geometry)``. + The 'dwithin' predicate requires GEOS >= 3.10. + Bounding boxes are limited to two dimensions and are axis-aligned (equivalent to the ``bounds`` property of a geometry); any Z values present in input geometries are ignored when querying the tree. @@ -77,9 +90,9 @@ class BaseSpatialIndex: A single shapely geometry or array of geometries to query against the spatial index. For array-like, accepts both GeoPandas geometry iterables (GeoSeries, GeometryArray) or a numpy array of Shapely - or PyGEOS geometries. + geometries. predicate : {None, "contains", "contains_properly", "covered_by", "covers", \ -"crosses", "intersects", "overlaps", "touches", "within"}, optional +"crosses", "intersects", "overlaps", "touches", "within", "dwithin"}, optional If predicate is provided, the input geometries are tested using the predicate function against each item in the tree whose extent intersects the envelope of the input geometry: @@ -93,6 +106,10 @@ class BaseSpatialIndex: as the secondary key. If False, no additional sorting is applied (results are often sorted but there is no guarantee). + distance : number or array_like, optional + Distances around each input geometry within which to query the tree for + the 'dwithin' predicate. If array_like, shape must be broadcastable to shape + of geometry. Required if ``predicate='dwithin'``. Returns ------- @@ -111,16 +128,16 @@ class BaseSpatialIndex: >>> from shapely.geometry import Point, box >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(10), range(10))) >>> s - 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 1.00000) - 2 POINT (2.00000 2.00000) - 3 POINT (3.00000 3.00000) - 4 POINT (4.00000 4.00000) - 5 POINT (5.00000 5.00000) - 6 POINT (6.00000 6.00000) - 7 POINT (7.00000 7.00000) - 8 POINT (8.00000 8.00000) - 9 POINT (9.00000 9.00000) + 0 POINT (0 0) + 1 POINT (1 1) + 2 POINT (2 2) + 3 POINT (3 3) + 4 POINT (4 4) + 5 POINT (5 5) + 6 POINT (6 6) + 7 POINT (7 7) + 8 POINT (8 8) + 9 POINT (9 9) dtype: geometry Querying the tree with a scalar geometry: @@ -135,8 +152,8 @@ class BaseSpatialIndex: >>> s2 = geopandas.GeoSeries([box(2, 2, 4, 4), box(5, 5, 6, 6)]) >>> s2 - 0 POLYGON ((4.00000 2.00000, 4.00000 4.00000, 2.... - 1 POLYGON ((6.00000 5.00000, 6.00000 6.00000, 5.... + 0 POLYGON ((4 2, 4 4, 2 4, 2 2, 4 2)) + 1 POLYGON ((6 5, 6 6, 5 6, 5 5, 6 5)) dtype: geometry >>> s.sindex.query(s2) @@ -147,6 +164,12 @@ class BaseSpatialIndex: array([[0], [3]]) + >>> s.sindex.query(box(1, 1, 3, 3), predicate="dwithin", distance=0) + array([1, 2, 3]) + + >>> s.sindex.query(box(1, 1, 3, 3), predicate="dwithin", distance=2) + array([0, 1, 2, 3, 4]) + Notes ----- In the context of a spatial join, input geometries are the "left" @@ -156,80 +179,96 @@ class BaseSpatialIndex: geometries that can be joined based on overlapping bounding boxes or optional predicate are returned. """ - raise NotImplementedError + if predicate not in self.valid_query_predicates: + if predicate == "dwithin": + raise ValueError("predicate = 'dwithin' requires GEOS >= 3.10.0") - def query_bulk(self, geometry, predicate=None, sort=False): - """ - DEPRECATED: use `query` instead. + raise ValueError( + "Got predicate='{}'; ".format(predicate) + + "`predicate` must be one of {}".format(self.valid_query_predicates) + ) - Returns all combinations of each input geometry and geometries in - the tree where the envelope of each input geometry intersects with - the envelope of a tree geometry. + # distance argument requirement of predicate `dwithin` + # and only valid for predicate `dwithin` + kwargs = {} + if predicate == "dwithin": + if distance is None: + # the distance parameter is needed + raise ValueError( + "'distance' parameter is required for 'dwithin' predicate" + ) + # add distance to kwargs + kwargs["distance"] = distance - In the context of a spatial join, input geometries are the “left†- geometries that determine the order of the results, and tree geometries - are “right†geometries that are joined against the left geometries. - This effectively performs an inner join, where only those combinations - of geometries that can be joined based on envelope overlap or optional - predicate are returned. + elif distance is not None: + # distance parameter is invalid + raise ValueError( + "'distance' parameter is only supported in combination with " + "'dwithin' predicate" + ) - When using the ``rtree`` package, this is not a vectorized function - and may be slow. If speed is important, please use PyGEOS. + geometry = self._as_geometry_array(geometry) + + indices = self._tree.query(geometry, predicate=predicate, **kwargs) + + if output_format != "tuple": + sort = True + + if sort: + if indices.ndim == 1: + indices = np.sort(indices) + else: + # sort by first array (geometry) and then second (tree) + geo_idx, tree_idx = indices + sort_indexer = np.lexsort((tree_idx, geo_idx)) + indices = np.vstack((geo_idx[sort_indexer], tree_idx[sort_indexer])) + + if output_format == "sparse": + from scipy.sparse import coo_array + + return coo_array( + (np.ones(len(indices[0]), dtype=np.bool_), indices), + shape=(len(self.geometries), len(geometry)), + dtype=np.bool_, + ) + + if output_format == "dense": + dense = np.zeros((len(self.geometries), len(geometry)), dtype=bool) + dense[indices] = True + return dense + + if output_format == "tuple": + return indices + + raise ValueError("Invalid output_format: {}".format(output_format)) + + @staticmethod + def _as_geometry_array(geometry): + """Convert geometry into a numpy array of Shapely geometries. Parameters ---------- - geometry : {GeoSeries, GeometryArray, numpy.array of PyGEOS geometries} - Accepts GeoPandas geometry iterables (GeoSeries, GeometryArray) - or a numpy array of PyGEOS geometries. - predicate : {None, "contains", "contains_properly", "covered_by", "covers", \ -"crosses", "intersects", "overlaps", "touches", "within"}, optional - If predicate is provided, the input geometries are tested using - the predicate function against each item in the tree whose extent - intersects the envelope of the each input geometry: - predicate(input_geometry, tree_geometry). If possible, prepared - geometries are used to help speed up the predicate operation. - sort : bool, default False - If True, results sorted lexicographically using - geometry's indexes as the primary key and the sindex's indexes as the - secondary key. If False, no additional sorting is applied. + geometry + An array-like of Shapely geometries, a GeoPandas GeoSeries/GeometryArray, + shapely.geometry or list of shapely geometries. Returns ------- - ndarray with shape (2, n) - The first subarray contains input geometry integer indexes. - The second subarray contains tree geometry integer indexes. - - Examples - -------- - >>> from shapely.geometry import Point, box - >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(10), range(10))) - >>> s - 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 1.00000) - 2 POINT (2.00000 2.00000) - 3 POINT (3.00000 3.00000) - 4 POINT (4.00000 4.00000) - 5 POINT (5.00000 5.00000) - 6 POINT (6.00000 6.00000) - 7 POINT (7.00000 7.00000) - 8 POINT (8.00000 8.00000) - 9 POINT (9.00000 9.00000) - dtype: geometry - >>> s2 = geopandas.GeoSeries([box(2, 2, 4, 4), box(5, 5, 6, 6)]) - >>> s2 - 0 POLYGON ((4.00000 2.00000, 4.00000 4.00000, 2.... - 1 POLYGON ((6.00000 5.00000, 6.00000 6.00000, 5.... - dtype: geometry - - >>> s.sindex.query_bulk(s2) - array([[0, 0, 0, 1, 1], - [2, 3, 4, 5, 6]]) - - >>> s.sindex.query_bulk(s2, predicate="contains") - array([[0], - [3]]) + np.ndarray + A numpy array of Shapely geometries. """ - raise NotImplementedError + if isinstance(geometry, np.ndarray): + return array.from_shapely(geometry)._data + elif isinstance(geometry, geoseries.GeoSeries): + return geometry.values._data + elif isinstance(geometry, array.GeometryArray): + return geometry._data + elif isinstance(geometry, BaseGeometry): + return geometry + elif geometry is None: + return None + else: + return np.asarray(geometry) def nearest( self, @@ -243,16 +282,6 @@ class BaseSpatialIndex: Return the nearest geometry in the tree for each input geometry in ``geometry``. - .. note:: - ``nearest`` currently only works with PyGEOS >= 0.10. - - Note that if PyGEOS is not available, geopandas will use rtree - for the spatial index, where nearest has a different - function signature to temporarily preserve existing - functionality. See the documentation of - :meth:`rtree.index.Index.nearest` for the details on the - ``rtree``-based implementation. - If multiple tree geometries have the same distance from an input geometry, multiple results will be returned for that input geometry by default. Specify ``return_all=False`` to only get a single nearest geometry @@ -272,10 +301,10 @@ class BaseSpatialIndex: Parameters ---------- - geometry : {shapely.geometry, GeoSeries, GeometryArray, numpy.array of PyGEOS \ + geometry : {shapely.geometry, GeoSeries, GeometryArray, numpy.array of Shapely \ geometries} A single shapely geometry, one of the GeoPandas geometry iterables - (GeoSeries, GeometryArray), or a numpy array of PyGEOS geometries to query + (GeoSeries, GeometryArray), or a numpy array of Shapely geometries to query against the spatial index. return_all : bool, default True If there are multiple equidistant or intersecting nearest @@ -303,11 +332,11 @@ geometries} >>> from shapely.geometry import Point, box >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(10), range(10))) >>> s.head() - 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 1.00000) - 2 POINT (2.00000 2.00000) - 3 POINT (3.00000 3.00000) - 4 POINT (4.00000 4.00000) + 0 POINT (0 0) + 1 POINT (1 1) + 2 POINT (2 2) + 3 POINT (3 3) + 4 POINT (4 4) dtype: geometry >>> s.sindex.nearest(Point(1, 1)) @@ -320,15 +349,34 @@ geometries} >>> s2 = geopandas.GeoSeries(geopandas.points_from_xy([7.6, 10], [7.6, 10])) >>> s2 - 0 POINT (7.60000 7.60000) - 1 POINT (10.00000 10.00000) + 0 POINT (7.6 7.6) + 1 POINT (10 10) dtype: geometry >>> s.sindex.nearest(s2) array([[0, 1], [8, 9]]) """ - raise NotImplementedError + geometry = self._as_geometry_array(geometry) + if isinstance(geometry, BaseGeometry) or geometry is None: + geometry = [geometry] + + result = self._tree.query_nearest( + geometry, + max_distance=max_distance, + return_distance=return_distance, + all_matches=return_all, + exclusive=exclusive, + ) + if return_distance: + indices, distances = result + else: + indices = result + + if return_distance: + return indices, distances + else: + return indices def intersection(self, coordinates): """Compatibility wrapper for rtree.index.Index.intersection, @@ -345,16 +393,16 @@ geometries} >>> from shapely.geometry import Point, box >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(10), range(10))) >>> s - 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 1.00000) - 2 POINT (2.00000 2.00000) - 3 POINT (3.00000 3.00000) - 4 POINT (4.00000 4.00000) - 5 POINT (5.00000 5.00000) - 6 POINT (6.00000 6.00000) - 7 POINT (7.00000 7.00000) - 8 POINT (8.00000 8.00000) - 9 POINT (9.00000 9.00000) + 0 POINT (0 0) + 1 POINT (1 1) + 2 POINT (2 2) + 3 POINT (3 3) + 4 POINT (4 4) + 5 POINT (5 5) + 6 POINT (6 6) + 7 POINT (7 7) + 8 POINT (8 8) + 9 POINT (9 9) dtype: geometry >>> s.sindex.intersection(box(1, 1, 3, 3).bounds) @@ -366,7 +414,34 @@ geometries} array([1, 2, 3]) """ - raise NotImplementedError + # TODO: we should deprecate this + # convert bounds to geometry + # the old API uses tuples of bound, but Shapely uses geometries + try: + iter(coordinates) + except TypeError: + # likely not an iterable + # this is a check that rtree does, we mimic it + # to ensure a useful failure message + raise TypeError( + "Invalid coordinates, must be iterable in format " + "(minx, miny, maxx, maxy) (for bounds) or (x, y) (for points). " + "Got `coordinates` = {}.".format(coordinates) + ) + + # need to convert tuple of bounds to a geometry object + if len(coordinates) == 4: + indexes = self._tree.query(shapely.box(*coordinates)) + elif len(coordinates) == 2: + indexes = self._tree.query(shapely.points(*coordinates)) + else: + raise TypeError( + "Invalid coordinates, must be iterable in format " + "(minx, miny, maxx, maxy) (for bounds) or (x, y) (for points). " + "Got `coordinates` = {}.".format(coordinates) + ) + + return indexes @property def size(self): @@ -379,22 +454,22 @@ geometries} >>> from shapely.geometry import Point >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(10), range(10))) >>> s - 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 1.00000) - 2 POINT (2.00000 2.00000) - 3 POINT (3.00000 3.00000) - 4 POINT (4.00000 4.00000) - 5 POINT (5.00000 5.00000) - 6 POINT (6.00000 6.00000) - 7 POINT (7.00000 7.00000) - 8 POINT (8.00000 8.00000) - 9 POINT (9.00000 9.00000) + 0 POINT (0 0) + 1 POINT (1 1) + 2 POINT (2 2) + 3 POINT (3 3) + 4 POINT (4 4) + 5 POINT (5 5) + 6 POINT (6 6) + 7 POINT (7 7) + 8 POINT (8 8) + 9 POINT (9 9) dtype: geometry >>> s.sindex.size 10 """ - raise NotImplementedError + return len(self._tree) @property def is_empty(self): @@ -405,16 +480,16 @@ geometries} >>> from shapely.geometry import Point >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(10), range(10))) >>> s - 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 1.00000) - 2 POINT (2.00000 2.00000) - 3 POINT (3.00000 3.00000) - 4 POINT (4.00000 4.00000) - 5 POINT (5.00000 5.00000) - 6 POINT (6.00000 6.00000) - 7 POINT (7.00000 7.00000) - 8 POINT (8.00000 8.00000) - 9 POINT (9.00000 9.00000) + 0 POINT (0 0) + 1 POINT (1 1) + 2 POINT (2 2) + 3 POINT (3 3) + 4 POINT (4 4) + 5 POINT (5 5) + 6 POINT (6 6) + 7 POINT (7 7) + 8 POINT (8 8) + 9 POINT (9 9) dtype: geometry >>> s.sindex.is_empty @@ -424,525 +499,7 @@ geometries} >>> s2.sindex.is_empty True """ - raise NotImplementedError + return len(self._tree) == 0 - -if compat.HAS_RTREE: - import rtree.index - from rtree.core import RTreeError - from shapely.prepared import prep - - class SpatialIndex(rtree.index.Index, BaseSpatialIndex): - """Original rtree wrapper, kept for backwards compatibility.""" - - def __init__(self, *args): - warnings.warn( - "Directly using SpatialIndex is deprecated, and the class will be " - "removed in a future version. Access the spatial index through the " - "`GeoSeries.sindex` attribute, or use `rtree.index.Index` directly.", - FutureWarning, - stacklevel=2, - ) - super().__init__(*args) - - @doc(BaseSpatialIndex.intersection) - def intersection(self, coordinates, *args, **kwargs): - return super().intersection(coordinates, *args, **kwargs) - - @doc(BaseSpatialIndex.nearest) - def nearest(self, *args, **kwargs): - return super().nearest(*args, **kwargs) - - @property - @doc(BaseSpatialIndex.size) - def size(self): - return len(self.leaves()[0][1]) - - @property - @doc(BaseSpatialIndex.is_empty) - def is_empty(self): - if len(self.leaves()) > 1: - return False - return self.size < 1 - - class RTreeIndex(rtree.index.Index): - """A simple wrapper around rtree's RTree Index - - Parameters - ---------- - geometry : np.array of Shapely geometries - Geometries from which to build the spatial index. - """ - - def __init__(self, geometry): - stream = ( - (i, item.bounds, None) - for i, item in enumerate(geometry) - if pd.notnull(item) and not item.is_empty - ) - try: - super().__init__(stream) - except RTreeError: - # What we really want here is an empty generator error, or - # for the bulk loader to log that the generator was empty - # and move on. - # See https://github.com/Toblerity/rtree/issues/20. - super().__init__() - - # store reference to geometries for predicate queries - self.geometries = geometry - # create a prepared geometry cache - self._prepared_geometries = np.array( - [None] * self.geometries.size, dtype=object - ) - - @property - @doc(BaseSpatialIndex.valid_query_predicates) - def valid_query_predicates(self): - return { - None, - "intersects", - "within", - "contains", - "overlaps", - "crosses", - "touches", - "covered_by", - "covers", - "contains_properly", - } - - @doc(BaseSpatialIndex.query) - def query(self, geometry, predicate=None, sort=False): - # handle invalid predicates - if predicate not in self.valid_query_predicates: - raise ValueError( - "Got `predicate` = `{}`, `predicate` must be one of {}".format( - predicate, self.valid_query_predicates - ) - ) - - if hasattr(geometry, "__array__") and not isinstance( - geometry, BaseGeometry - ): - # Iterates over geometry, applying func. - tree_index = [] - input_geometry_index = [] - - for i, geo in enumerate(geometry): - res = self.query(geo, predicate=predicate, sort=sort) - tree_index.extend(res) - input_geometry_index.extend([i] * len(res)) - return np.vstack([input_geometry_index, tree_index]) - - # handle empty / invalid geometries - if geometry is None: - # return an empty integer array, similar to pygeos.STRtree.query. - return np.array([], dtype=np.intp) - - if not isinstance(geometry, BaseGeometry): - raise TypeError( - "Got `geometry` of type `{}`, `geometry` must be ".format( - type(geometry) - ) - + "a shapely geometry." - ) - - if geometry.is_empty: - return np.array([], dtype=np.intp) - - # query tree - bounds = geometry.bounds # rtree operates on bounds - tree_idx = list(self.intersection(bounds)) - - if not tree_idx: - return np.array([], dtype=np.intp) - - # Check predicate - # This is checked as input_geometry.predicate(tree_geometry) - # When possible, we use prepared geometries. - # Prepared geometries only support "intersects" and "contains" - # For the special case of "within", we are able to flip the - # comparison and check if tree_geometry.contains(input_geometry) - # to still take advantage of prepared geometries. - if predicate == "within": - # To use prepared geometries for within, - # we compare tree_geom.contains(input_geom) - # Since we are preparing the tree geometries, - # we cache them for multiple comparisons. - res = [] - for index_in_tree in tree_idx: - if self._prepared_geometries[index_in_tree] is None: - # if not already prepared, prepare and cache - self._prepared_geometries[index_in_tree] = prep( - self.geometries[index_in_tree] - ) - if self._prepared_geometries[index_in_tree].contains(geometry): - res.append(index_in_tree) - tree_idx = res - elif predicate is not None: - # For the remaining predicates, - # we compare input_geom.predicate(tree_geom) - if predicate in ( - "contains", - "intersects", - "covered_by", - "covers", - "contains_properly", - ): - # prepare this input geometry - geometry = prep(geometry) - tree_idx = [ - index_in_tree - for index_in_tree in tree_idx - if getattr(geometry, predicate)(self.geometries[index_in_tree]) - ] - - # sort if requested - if sort: - # sorted - return np.sort(np.array(tree_idx, dtype=np.intp)) - - # unsorted - return np.array(tree_idx, dtype=np.intp) - - @doc(BaseSpatialIndex.query_bulk) - def query_bulk(self, geometry, predicate=None, sort=False): - warnings.warn( - "The `query_bulk()` method is deprecated and will be removed in " - "GeoPandas 1.0. You can use the `query()` method instead.", - FutureWarning, - stacklevel=2, - ) - return self.query(geometry, predicate=predicate, sort=sort) - - def nearest(self, coordinates, num_results=1, objects=False): - """ - Returns the nearest object or objects to the given coordinates. - - Requires rtree, and passes parameters directly to - :meth:`rtree.index.Index.nearest`. - - This behaviour is deprecated and will be updated to be consistent - with the pygeos PyGEOSSTRTreeIndex in a future release. - - If longer-term compatibility is required, use - :meth:`rtree.index.Index.nearest` directly instead. - - Examples - -------- - >>> s = geopandas.GeoSeries(geopandas.points_from_xy(range(3), range(3))) - >>> s - 0 POINT (0.00000 0.00000) - 1 POINT (1.00000 1.00000) - 2 POINT (2.00000 2.00000) - dtype: geometry - - >>> list(s.sindex.nearest((0, 0))) # doctest: +SKIP - [0] - - >>> list(s.sindex.nearest((0.5, 0.5))) # doctest: +SKIP - [0, 1] - - >>> list(s.sindex.nearest((3, 3), num_results=2)) # doctest: +SKIP - [2, 1] - - >>> list(super(type(s.sindex), s.sindex).nearest((0, 0), - ... num_results=2)) # doctest: +SKIP - [0, 1] - - Parameters - ---------- - coordinates : sequence or array - This may be an object that satisfies the numpy array protocol, - providing the index’s dimension * 2 coordinate pairs - representing the mink and maxk coordinates in each dimension - defining the bounds of the query window. - num_results : integer - The number of results to return nearest to the given - coordinates. If two index entries are equidistant, both are - returned. This property means that num_results may return more - items than specified - objects : True / False / ‘raw’ - If True, the nearest method will return index objects that were - pickled when they were stored with each index entry, as well as - the id and bounds of the index entries. If ‘raw’, it will - return the object as entered into the database without the - rtree.index.Item wrapper. - """ - warnings.warn( - "sindex.nearest using the rtree backend was not previously documented " - "and this behavior is deprecated in favor of matching the function " - "signature provided by the pygeos backend (see " - "PyGEOSSTRTreeIndex.nearest for details). This behavior will be " - "updated in a future release.", - FutureWarning, - stacklevel=2, - ) - return super().nearest( - coordinates, num_results=num_results, objects=objects - ) - - @doc(BaseSpatialIndex.intersection) - def intersection(self, coordinates): - return super().intersection(coordinates, objects=False) - - @property - @doc(BaseSpatialIndex.size) - def size(self): - if hasattr(self, "_size"): - size = self._size - else: - # self.leaves are lists of tuples of (int, lists...) - # index [0][1] always has an element, even for empty sindex - # for an empty index, it will be an empty list - size = len(self.leaves()[0][1]) - self._size = size - return size - - @property - @doc(BaseSpatialIndex.is_empty) - def is_empty(self): - return self.geometries.size == 0 or self.size == 0 - - def __len__(self): - return self.size - - -if compat.SHAPELY_GE_20 or compat.HAS_PYGEOS: - from . import geoseries - from . import array - - if compat.USE_SHAPELY_20: - import shapely as mod - - _PYGEOS_PREDICATES = {p.name for p in mod.strtree.BinaryPredicate} | {None} - else: - import pygeos as mod - - _PYGEOS_PREDICATES = {p.name for p in mod.strtree.BinaryPredicate} | {None} - - class PyGEOSSTRTreeIndex(BaseSpatialIndex): - """A simple wrapper around pygeos's STRTree. - - - Parameters - ---------- - geometry : np.array of PyGEOS geometries - Geometries from which to build the spatial index. - """ - - def __init__(self, geometry): - # set empty geometries to None to avoid segfault on GEOS <= 3.6 - # see: - # https://github.com/pygeos/pygeos/issues/146 - # https://github.com/pygeos/pygeos/issues/147 - non_empty = geometry.copy() - non_empty[mod.is_empty(non_empty)] = None - # set empty geometries to None to maintain indexing - self._tree = mod.STRtree(non_empty) - # store geometries, including empty geometries for user access - self.geometries = geometry.copy() - - @property - def valid_query_predicates(self): - """Returns valid predicates for the used spatial index. - - Returns - ------- - set - Set of valid predicates for this spatial index. - - Examples - -------- - >>> from shapely.geometry import Point - >>> s = geopandas.GeoSeries([Point(0, 0), Point(1, 1)]) - >>> s.sindex.valid_query_predicates # doctest: +SKIP - {None, "contains", "contains_properly", "covered_by", "covers", \ -"crosses", "intersects", "overlaps", "touches", "within"} - """ - return _PYGEOS_PREDICATES - - @doc(BaseSpatialIndex.query) - def query(self, geometry, predicate=None, sort=False): - if predicate not in self.valid_query_predicates: - raise ValueError( - "Got `predicate` = `{}`; ".format(predicate) - + "`predicate` must be one of {}".format( - self.valid_query_predicates - ) - ) - - geometry = self._as_geometry_array(geometry) - - if compat.USE_SHAPELY_20: - indices = self._tree.query(geometry, predicate=predicate) - else: - if isinstance(geometry, np.ndarray): - indices = self._tree.query_bulk(geometry, predicate=predicate) - else: - indices = self._tree.query(geometry, predicate=predicate) - - if sort: - if indices.ndim == 1: - return np.sort(indices) - else: - # sort by first array (geometry) and then second (tree) - geo_idx, tree_idx = indices - sort_indexer = np.lexsort((tree_idx, geo_idx)) - return np.vstack((geo_idx[sort_indexer], tree_idx[sort_indexer])) - - return indices - - @staticmethod - def _as_geometry_array(geometry): - """Convert geometry into a numpy array of PyGEOS geometries. - - Parameters - ---------- - geometry - An array-like of PyGEOS geometries, a GeoPandas GeoSeries/GeometryArray, - shapely.geometry or list of shapely geometries. - - Returns - ------- - np.ndarray - A numpy array of pygeos geometries. - """ - # to ensure pygeos.Geometry as input is treated the same as shapely - # geometrie. TODO can be removed when we remove pygeos support - if isinstance(geometry, mod.Geometry): - geometry = array._geom_to_shapely(geometry) - - if isinstance(geometry, np.ndarray): - return array.from_shapely(geometry)._data - elif isinstance(geometry, geoseries.GeoSeries): - return geometry.values._data - elif isinstance(geometry, array.GeometryArray): - return geometry._data - elif isinstance(geometry, BaseGeometry): - return array._shapely_to_geom(geometry) - elif geometry is None: - return None - elif isinstance(geometry, list): - return np.asarray( - [ - array._shapely_to_geom(el) - if isinstance(el, BaseGeometry) - else el - for el in geometry - ] - ) - else: - return np.asarray(geometry) - - @doc(BaseSpatialIndex.query_bulk) - def query_bulk(self, geometry, predicate=None, sort=False): - warnings.warn( - "The `query_bulk()` method is deprecated and will be removed in " - "GeoPandas 1.0. You can use the `query()` method instead.", - FutureWarning, - stacklevel=2, - ) - return self.query(geometry, predicate=predicate, sort=sort) - - @doc(BaseSpatialIndex.nearest) - def nearest( - self, - geometry, - return_all=True, - max_distance=None, - return_distance=False, - exclusive=False, - ): - if not (compat.USE_SHAPELY_20 or compat.PYGEOS_GE_010): - raise NotImplementedError( - "sindex.nearest requires shapely >= 2.0 or pygeos >= 0.10" - ) - - if exclusive and not compat.USE_SHAPELY_20: - raise NotImplementedError( - "sindex.nearest exclusive parameter requires shapely >= 2.0" - ) - - geometry = self._as_geometry_array(geometry) - if isinstance(geometry, BaseGeometry) or geometry is None: - geometry = [geometry] - - if compat.USE_SHAPELY_20: - result = self._tree.query_nearest( - geometry, - max_distance=max_distance, - return_distance=return_distance, - all_matches=return_all, - exclusive=exclusive, - ) - else: - if not return_all and max_distance is None and not return_distance: - return self._tree.nearest(geometry) - result = self._tree.nearest_all( - geometry, max_distance=max_distance, return_distance=return_distance - ) - if return_distance: - indices, distances = result - else: - indices = result - - if not return_all and not compat.USE_SHAPELY_20: - # first subarray of geometry indices is sorted, so we can use this - # trick to get the first of each index value - mask = np.diff(indices[0, :]).astype("bool") - # always select the first element - mask = np.insert(mask, 0, True) - - indices = indices[:, mask] - if return_distance: - distances = distances[mask] - - if return_distance: - return indices, distances - else: - return indices - - @doc(BaseSpatialIndex.intersection) - def intersection(self, coordinates): - # convert bounds to geometry - # the old API uses tuples of bound, but pygeos uses geometries - try: - iter(coordinates) - except TypeError: - # likely not an iterable - # this is a check that rtree does, we mimic it - # to ensure a useful failure message - raise TypeError( - "Invalid coordinates, must be iterable in format " - "(minx, miny, maxx, maxy) (for bounds) or (x, y) (for points). " - "Got `coordinates` = {}.".format(coordinates) - ) - - # need to convert tuple of bounds to a geometry object - if len(coordinates) == 4: - indexes = self._tree.query(mod.box(*coordinates)) - elif len(coordinates) == 2: - indexes = self._tree.query(mod.points(*coordinates)) - else: - raise TypeError( - "Invalid coordinates, must be iterable in format " - "(minx, miny, maxx, maxy) (for bounds) or (x, y) (for points). " - "Got `coordinates` = {}.".format(coordinates) - ) - - return indexes - - @property - @doc(BaseSpatialIndex.size) - def size(self): - return len(self._tree) - - @property - @doc(BaseSpatialIndex.is_empty) - def is_empty(self): - return len(self._tree) == 0 - - def __len__(self): - return len(self._tree) + def __len__(self): + return len(self._tree) diff --git a/.venv/lib/python3.12/site-packages/geopandas/testing.py b/.venv/lib/python3.12/site-packages/geopandas/testing.py index 580586f0..62328e45 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/testing.py +++ b/.venv/lib/python3.12/site-packages/geopandas/testing.py @@ -1,13 +1,13 @@ """ Testing functionality for geopandas objects. """ + import warnings import pandas as pd from geopandas import GeoDataFrame, GeoSeries from geopandas.array import GeometryDtype -from geopandas import _vectorized def _isna(this): @@ -189,8 +189,8 @@ def assert_geoseries_equal( ) if normalize: - left = GeoSeries(_vectorized.normalize(left.array._data)) - right = GeoSeries(_vectorized.normalize(right.array._data)) + left = GeoSeries(left.array.normalize()) + right = GeoSeries(right.array.normalize()) if not check_crs: with warnings.catch_warnings(): @@ -322,7 +322,7 @@ def assert_geodataframe_equal( ) if check_like: - left, right = left.reindex_like(right), right + left = left.reindex_like(right) # column comparison assert_index_equal( diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/__init__.cpython-312.pyc index 0e5d2727..2039a434 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_api.cpython-312.pyc index fb5e90b7..33f46557 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_array.cpython-312.pyc index 2815c62d..a2d0fe59 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_compat.cpython-312.pyc index ce27f0a3..dd22d0e8 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_config.cpython-312.pyc index 3b746a5d..b831176e 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_config.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_config.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_crs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_crs.cpython-312.pyc index 59155325..77569753 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_crs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_crs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_datasets.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_datasets.cpython-312.pyc index 92edf97d..cf0e319e 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_datasets.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_datasets.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_decorator.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_decorator.cpython-312.pyc index fc154cd2..88610acd 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_decorator.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_decorator.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_dissolve.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_dissolve.cpython-312.pyc index 4b5041be..63c97638 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_dissolve.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_dissolve.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_explore.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_explore.cpython-312.pyc index cfecd9ad..813c42b0 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_explore.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_explore.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_extension_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_extension_array.cpython-312.pyc index 12c18a1e..ee3253c5 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_extension_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_extension_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geocode.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geocode.cpython-312.pyc index e3a1feda..660e6554 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geocode.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geocode.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geodataframe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geodataframe.cpython-312.pyc index 1cb2f87f..618aec80 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geodataframe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geodataframe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geom_methods.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geom_methods.cpython-312.pyc index a16f4ce6..a6e75edc 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geom_methods.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geom_methods.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geoseries.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geoseries.cpython-312.pyc index 572b21dd..7cc4b936 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geoseries.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_geoseries.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_merge.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_merge.cpython-312.pyc index 6dafbe79..9521a169 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_merge.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_merge.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_op_output_types.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_op_output_types.cpython-312.pyc index 4d4e2672..0b732790 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_op_output_types.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_op_output_types.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_overlay.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_overlay.cpython-312.pyc index 0be18f74..105a739c 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_overlay.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_overlay.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_pandas_methods.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_pandas_methods.cpython-312.pyc index 378d8e76..6e166c20 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_pandas_methods.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_pandas_methods.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_plotting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_plotting.cpython-312.pyc index 199b9ef6..3bb94c92 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_plotting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_plotting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_show_versions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_show_versions.cpython-312.pyc index 49851911..5e78071f 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_show_versions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_show_versions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_sindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_sindex.cpython-312.pyc index 4b1b4d1c..13c07769 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_sindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_sindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_testing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_testing.cpython-312.pyc index a3953851..eb0972d1 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_testing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_testing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_types.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_types.cpython-312.pyc index 9d4ba935..937c9f8b 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_types.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/test_types.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/util.cpython-312.pyc index c6973c8d..cac40859 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tests/__pycache__/util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/data/null_geom.geojson b/.venv/lib/python3.12/site-packages/geopandas/tests/data/null_geom.geojson index 9bbbadca..a287a6eb 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/data/null_geom.geojson +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/data/null_geom.geojson @@ -1,9 +1,3 @@ -{ -"type": "FeatureCollection", -"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, - -"features": [ -{ "type": "Feature", "properties": { "Name": "Null Geometry" }, "geometry": null }, -{ "type": "Feature", "properties": { "Name": "SF to NY" }, "geometry": { "type": "LineString", "coordinates": [ [ -122.4051293283311, 37.786780113640894 ], [ -73.859832357849271, 40.487594916296196 ] ] } } -] -} +version https://git-lfs.github.com/spec/v1 +oid sha256:5e87f89afda555a1b1d43d9dc12864169d6d0149a4f222be12d40a6a86ad8066 +size 506 diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_api.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_api.py index 62080d91..4704fade 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_api.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_api.py @@ -13,8 +13,8 @@ def test_no_additional_imports(): # "fiona", # "matplotlib", # matplotlib gets imported by pandas, see below "mapclassify", - # 'rtree', # rtree actually gets imported if installed "sqlalchemy", + "psycopg", "psycopg2", "geopy", "geoalchemy2", @@ -34,5 +34,5 @@ if mods: blacklist ) call = [sys.executable, "-c", code] - returncode = subprocess.run(call).returncode + returncode = subprocess.run(call, check=False).returncode assert returncode == 0 diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_array.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_array.py index 9cf4ae70..d9df3fa1 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_array.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_array.py @@ -1,34 +1,30 @@ import random +import warnings import numpy as np import pandas as pd -from pyproj import CRS import shapely import shapely.affinity import shapely.geometry -from shapely.geometry.base import CAP_STYLE, JOIN_STYLE, BaseGeometry import shapely.wkb import shapely.wkt - -try: - from shapely import geos_version -except ImportError: - from shapely._buildcfg import geos_version +from shapely import geos_version +from shapely.geometry.base import CAP_STYLE, JOIN_STYLE import geopandas +from geopandas._compat import HAS_PYPROJ from geopandas.array import ( GeometryArray, + _check_crs, + _crs_mismatch_warn, from_shapely, from_wkb, from_wkt, points_from_xy, to_wkb, to_wkt, - _check_crs, - _crs_mismatch_warn, ) -import geopandas._compat as compat import pytest @@ -143,11 +139,8 @@ def test_from_wkb(): assert all(v.equals(t) for v, t in zip(res, points_no_missing)) # missing values - # TODO(pygeos) does not support empty strings, np.nan, or pd.NA + # TODO(shapely) does not support empty strings, np.nan, or pd.NA missing_values = [None] - if not (compat.USE_SHAPELY_20 or compat.USE_PYGEOS): - missing_values.extend([b"", np.nan]) - missing_values.append(pd.NA) res = from_wkb(missing_values) np.testing.assert_array_equal(res, np.full(len(missing_values), None)) @@ -170,6 +163,24 @@ def test_from_wkb_hex(): assert isinstance(res, GeometryArray) +def test_from_wkb_on_invalid(): + # Single point LineString hex WKB: invalid + invalid_wkb_hex = "01020000000100000000000000000008400000000000000840" + message = "point array must contain 0 or >1 elements" + + with pytest.raises(Exception, match=message): + from_wkb([invalid_wkb_hex], on_invalid="raise") + + with pytest.warns(Warning, match=message): + res = from_wkb([invalid_wkb_hex], on_invalid="warn") + assert res == [None] + + with warnings.catch_warnings(): + warnings.simplefilter("error") + res = from_wkb([invalid_wkb_hex], on_invalid="ignore") + assert res == [None] + + def test_to_wkb(): P = from_shapely(points_no_missing) res = to_wkb(P) @@ -211,13 +222,10 @@ def test_from_wkt(string_type): assert all(v.equals_exact(t, tolerance=tol) for v, t in zip(res, points_no_missing)) # missing values - # TODO(pygeos) does not support empty strings, np.nan, or pd.NA + # TODO(shapely) does not support empty strings, np.nan, or pd.NA missing_values = [None] - if not (compat.USE_SHAPELY_20 or compat.USE_PYGEOS): - missing_values.extend([f(""), np.nan]) - missing_values.append(pd.NA) - res = from_wkb(missing_values) + res = from_wkt(missing_values) np.testing.assert_array_equal(res, np.full(len(missing_values), None)) # single MultiPolygon @@ -228,6 +236,24 @@ def test_from_wkt(string_type): assert res[0] == multi_poly +def test_from_wkt_on_invalid(): + # Single point LineString WKT: invalid + invalid_wkt = "LINESTRING(0 0)" + message = "point array must contain 0 or >1 elements" + + with pytest.raises(Exception, match=message): + from_wkt([invalid_wkt], on_invalid="raise") + + with pytest.warns(Warning, match=message): + res = from_wkt([invalid_wkt], on_invalid="warn") + assert res == [None] + + with warnings.catch_warnings(): + warnings.simplefilter("error") + res = from_wkt([invalid_wkt], on_invalid="ignore") + assert res == [None] + + def test_to_wkt(): P = from_shapely(points_no_missing) res = to_wkt(P, rounding_precision=-1) @@ -241,22 +267,6 @@ def test_to_wkt(): assert res[0] is None -def test_data(): - arr = from_shapely(points_no_missing) - with pytest.warns(DeprecationWarning): - np_arr = arr.data - - assert isinstance(np_arr, np.ndarray) - if compat.USE_PYGEOS: - np_arr2 = arr.to_numpy() - assert isinstance(np_arr2[0], BaseGeometry) - np_arr3 = np.asarray(arr) - assert isinstance(np_arr3[0], BaseGeometry) - else: - assert arr.to_numpy() is np_arr - assert np.asarray(arr) is np_arr - - def test_as_array(): arr = from_shapely(points_no_missing) np_arr1 = np.asarray(arr) @@ -281,6 +291,9 @@ def test_as_array(): ("geom_almost_equals", (3,)), ], ) +# filters required for attr=geom_almost_equals only +@pytest.mark.filterwarnings(r"ignore:The \'geom_almost_equals\(\)\' method is deprecat") +@pytest.mark.filterwarnings(r"ignore:The \'almost_equals\(\)\' method is deprecated") def test_predicates_vector_scalar(attr, args): na_value = False @@ -293,9 +306,11 @@ def test_predicates_vector_scalar(attr, args): assert result.dtype == bool expected = [ - getattr(tri, attr if "geom" not in attr else attr[5:])(other, *args) - if tri is not None - else na_value + ( + getattr(tri, attr if "geom" not in attr else attr[5:])(other, *args) + if tri is not None + else na_value + ) for tri in triangles ] @@ -320,6 +335,9 @@ def test_predicates_vector_scalar(attr, args): ("geom_almost_equals", (3,)), ], ) +# filters required for attr=geom_almost_equals only +@pytest.mark.filterwarnings(r"ignore:The \'geom_almost_equals\(\)\' method is deprecat") +@pytest.mark.filterwarnings(r"ignore:The \'almost_equals\(\)\' method is deprecated") def test_predicates_vector_vector(attr, args): na_value = False empty_value = True if attr == "disjoint" else False @@ -449,17 +467,12 @@ def test_binary_geo_scalar(attr): "is_simple", "has_z", # for is_ring we raise a warning about the value for Polygon changing - pytest.param( - "is_ring", - marks=[ - pytest.mark.filterwarnings("ignore:is_ring:FutureWarning"), - ], - ), + "is_ring", ], ) def test_unary_predicates(attr): na_value = False - if attr == "is_simple" and geos_version < (3, 8) and not compat.USE_PYGEOS: + if attr == "is_simple" and geos_version < (3, 8): # poly.is_simple raises an error for empty polygon for GEOS < 3.8 with pytest.raises(Exception): # noqa: B017 T.is_simple @@ -471,40 +484,17 @@ def test_unary_predicates(attr): result = getattr(V, attr) - if attr == "is_simple" and geos_version < (3, 8): - # poly.is_simple raises an error for empty polygon for GEOS < 3.8 - # with shapely, pygeos always returns False for all GEOS versions + if attr == "is_ring": expected = [ - getattr(t, attr) if t is not None and not t.is_empty else na_value + getattr(t, attr) if t is not None and t.exterior is not None else na_value for t in vals ] - elif attr == "is_ring": - expected = [ - getattr(t.exterior, attr) - if t is not None and t.exterior is not None - else na_value - for t in vals - ] - # empty Linearring.is_ring gives False with Shapely < 2.0 - if compat.USE_PYGEOS and not compat.SHAPELY_GE_20: - expected[-2] = True - elif ( - attr == "is_closed" - and compat.USE_PYGEOS - and compat.SHAPELY_GE_182 - and not compat.SHAPELY_GE_20 - ): - # In shapely 1.8.2, is_closed was changed to return always True for - # Polygon/MultiPolygon, while PyGEOS returns always False - expected = [False] * len(vals) else: expected = [getattr(t, attr) if t is not None else na_value for t in vals] assert result.tolist() == expected -# for is_ring we raise a warning about the value for Polygon changing -@pytest.mark.filterwarnings("ignore:is_ring:FutureWarning") def test_is_ring(): g = [ shapely.geometry.LinearRing([(0, 0), (1, 1), (1, -1)]), @@ -514,11 +504,7 @@ def test_is_ring(): shapely.wkt.loads("POLYGON EMPTY"), None, ] - expected = [True, False, True, True, True, False] - if not compat.USE_PYGEOS and not compat.SHAPELY_GE_20: - # empty polygon is_ring gives False with Shapely < 2.0 - expected[-2] = False - + expected = [True, False, True, False, False, False] result = from_shapely(g).is_ring assert result.tolist() == expected @@ -561,9 +547,11 @@ def test_binary_distance(): # vector - vector result = P[: len(T)].distance(T[::-1]) expected = [ - getattr(p, attr)(t) - if not ((t is None or t.is_empty) or (p is None or p.is_empty)) - else na_value + ( + getattr(p, attr)(t) + if not ((t is None or t.is_empty) or (p is None or p.is_empty)) + else na_value + ) for t, p in zip(triangles[::-1], points) ] np.testing.assert_allclose(result, expected) @@ -620,9 +608,11 @@ def test_binary_project(normalized): result = L.project(P, normalized=normalized) expected = [ - line.project(p, normalized=normalized) - if line is not None and p is not None - else na_value + ( + line.project(p, normalized=normalized) + if line is not None and p is not None + else na_value + ) for p, line in zip(points, lines) ] np.testing.assert_allclose(result, expected) @@ -632,16 +622,15 @@ def test_binary_project(normalized): @pytest.mark.parametrize("join_style", [JOIN_STYLE.round, JOIN_STYLE.bevel]) @pytest.mark.parametrize("resolution", [16, 25]) def test_buffer(resolution, cap_style, join_style): - if compat.USE_PYGEOS: - # TODO(pygeos) need to further investigate why this test fails - if cap_style == 1 and join_style == 3: - pytest.skip("failing TODO") - na_value = None expected = [ - p.buffer(0.1, resolution=resolution, cap_style=cap_style, join_style=join_style) - if p is not None - else na_value + ( + p.buffer( + 0.1, resolution=resolution, cap_style=cap_style, join_style=join_style + ) + if p is not None + else na_value + ) for p in points ] result = P.buffer( @@ -676,10 +665,32 @@ def test_unary_union(): shapely.geometry.Polygon([(0, 0), (1, 0), (1, 1)]), ] G = from_shapely(geoms) - u = G.unary_union() + with pytest.warns( + DeprecationWarning, match="The 'unary_union' attribute is deprecated" + ): + u = G.unary_union() expected = shapely.geometry.Polygon([(0, 0), (1, 0), (1, 1), (0, 1)]) assert u.equals(expected) + assert u.equals(G.union_all()) + + +def test_union_all(): + geoms = [ + shapely.geometry.Polygon([(0, 0), (0, 1), (1, 1)]), + shapely.geometry.Polygon([(0, 0), (1, 0), (1, 1)]), + ] + G = from_shapely(geoms) + u = G.union_all() + + expected = shapely.geometry.Polygon([(0, 0), (1, 0), (1, 1), (0, 1)]) + assert u.equals(expected) + + u_cov = G.union_all(method="coverage") + assert u_cov.equals(expected) + + with pytest.raises(ValueError, match="Method 'invalid' not recognized."): + G.union_all(method="invalid") @pytest.mark.parametrize( @@ -810,7 +821,7 @@ def test_setitem(item): def test_equality_ops(): with pytest.raises(ValueError): - P[:5] == P[:7] + _ = P[:5] == P[:7] a1 = from_shapely([points[1], points[2], points[3]]) a2 = from_shapely([points[1], points[0], points[3]]) @@ -833,7 +844,7 @@ def test_equality_ops(): def test_dir(): assert "contains" in dir(P) - assert "data" in dir(P) + assert "to_numpy" in dir(P) def test_chaining(): @@ -894,6 +905,7 @@ def test_astype_multipolygon(): assert result[0] == multi_poly.wkt[:10] +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") def test_check_crs(): t1 = T.copy() t1.crs = 4326 @@ -902,6 +914,7 @@ def test_check_crs(): assert _check_crs(t1, T, allow_none=True) is True +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") def test_crs_mismatch_warn(): t1 = T.copy() t2 = T.copy() @@ -921,6 +934,14 @@ def test_crs_mismatch_warn(): _crs_mismatch_warn(t1, T) +@pytest.mark.skipif(HAS_PYPROJ, reason="pyproj installed") +def test_missing_pyproj(): + with pytest.warns(UserWarning, match="Cannot set the CRS, falling back to None"): + t = T.copy() + t.crs = 4326 + assert t.crs is None + + @pytest.mark.parametrize("NA", [None, np.nan]) def test_isna(NA): t1 = T.copy() @@ -948,6 +969,24 @@ def test_unique_has_crs(): assert t.unique().crs == t.crs +@pytest.mark.skipif(HAS_PYPROJ, reason="pyproj installed") +def test_to_crs_pyproj_error(): + t = T.copy() + t.crs = 4326 + with pytest.raises( + ImportError, match="The 'pyproj' package is required for to_crs" + ): + t.to_crs(3857) + + +@pytest.mark.skipif(HAS_PYPROJ, reason="pyproj installed") +def test_estimate_utm_crs_pyproj_error(): + with pytest.raises( + ImportError, match="The 'pyproj' package is required for estimate_utm_crs" + ): + T.estimate_utm_crs() + + class TestEstimateUtmCrs: def setup_method(self): self.esb = shapely.geometry.Point(-73.9847, 40.7484) @@ -955,15 +994,21 @@ class TestEstimateUtmCrs: self.landmarks = from_shapely([self.esb, self.sol], crs="epsg:4326") def test_estimate_utm_crs__geographic(self): - assert self.landmarks.estimate_utm_crs() == CRS("EPSG:32618") - assert self.landmarks.estimate_utm_crs("NAD83") == CRS("EPSG:26918") + pyproj = pytest.importorskip("pyproj") + + assert self.landmarks.estimate_utm_crs() == pyproj.CRS("EPSG:32618") + assert self.landmarks.estimate_utm_crs("NAD83") == pyproj.CRS("EPSG:26918") def test_estimate_utm_crs__projected(self): - assert self.landmarks.to_crs("EPSG:3857").estimate_utm_crs() == CRS( + pyproj = pytest.importorskip("pyproj") + + assert self.landmarks.to_crs("EPSG:3857").estimate_utm_crs() == pyproj.CRS( "EPSG:32618" ) def test_estimate_utm_crs__antimeridian(self): + pyproj = pytest.importorskip("pyproj") + antimeridian = from_shapely( [ shapely.geometry.Point(1722483.900174921, 5228058.6143420935), @@ -971,15 +1016,19 @@ class TestEstimateUtmCrs: ], crs="EPSG:3851", ) - assert antimeridian.estimate_utm_crs() == CRS("EPSG:32760") + assert antimeridian.estimate_utm_crs() == pyproj.CRS("EPSG:32760") def test_estimate_utm_crs__out_of_bounds(self): + pytest.importorskip("pyproj") + with pytest.raises(RuntimeError, match="Unable to determine UTM CRS"): from_shapely( [shapely.geometry.Polygon([(0, 90), (1, 90), (2, 90)])], crs="EPSG:4326" ).estimate_utm_crs() def test_estimate_utm_crs__missing_crs(self): + pytest.importorskip("pyproj") + with pytest.raises(RuntimeError, match="crs must be set"): from_shapely( [shapely.geometry.Polygon([(0, 90), (1, 90), (2, 90)])] diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_compat.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_compat.py index 7068abd0..fe7e5df9 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_compat.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_compat.py @@ -1,7 +1,7 @@ -import pytest - from geopandas._compat import import_optional_dependency +import pytest + def test_import_optional_dependency_present(): # pandas is not optional, but we know it is present diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_crs.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_crs.py index 14f78995..476fed14 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_crs.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_crs.py @@ -1,15 +1,19 @@ import random +import warnings import numpy as np import pandas as pd -import pyproj -import pytest -from shapely.geometry import Point, Polygon, LineString -from geopandas import GeoSeries, GeoDataFrame, points_from_xy, datasets, read_file -from geopandas.array import from_shapely, from_wkb, from_wkt, GeometryArray +from shapely.geometry import LineString, Point, Polygon + +from geopandas import GeoDataFrame, GeoSeries, points_from_xy, read_file +from geopandas.array import GeometryArray, from_shapely, from_wkb, from_wkt + +import pytest from geopandas.testing import assert_geodataframe_equal +pyproj = pytest.importorskip("pyproj") + def _create_df(x, y=None, crs=None): y = y or x @@ -82,6 +86,9 @@ def test_to_crs_dimension_z(): assert result.has_z.all() +# pyproj + numpy 1.25 trigger warning for single-element array -> recommdation is to +# ignore the warning for now (https://github.com/pyproj4/pyproj/issues/1307) +@pytest.mark.filterwarnings("ignore:Conversion of an array with:DeprecationWarning") def test_to_crs_dimension_mixed(): s = GeoSeries([Point(1, 2), LineString([(1, 2, 3), (4, 5, 6)])], crs=2056) result = s.to_crs(epsg=4326) @@ -150,6 +157,9 @@ def test_transform2(epsg4326, epsg26918): assert_geodataframe_equal(df, utm, check_less_precise=True, check_crs=False) +# pyproj + numpy 1.25 trigger warning for single-element array -> recommdation is to +# ignore the warning for now (https://github.com/pyproj4/pyproj/issues/1307) +@pytest.mark.filterwarnings("ignore:Conversion of an array with:DeprecationWarning") def test_crs_axis_order__always_xy(): df = GeoDataFrame(geometry=[Point(-1683723, 6689139)], crs="epsg:26918") lonlat = df.to_crs("epsg:4326") @@ -203,7 +213,7 @@ class TestGeometryArrayCRS: assert s.values.crs == self.osgb # manually change CRS - s.crs = 4326 + s = s.set_crs(4326, allow_override=True) assert s.crs == self.wgs assert s.values.crs == self.wgs @@ -252,7 +262,7 @@ class TestGeometryArrayCRS: arr = from_shapely(self.geoms) s = GeoSeries(arr, crs=27700) df = GeoDataFrame(geometry=s) - df.crs = 4326 + df = df.set_crs(crs="epsg:4326", allow_override=True) assert df.crs == self.wgs assert df.geometry.crs == self.wgs assert df.geometry.values.crs == self.wgs @@ -319,7 +329,11 @@ class TestGeometryArrayCRS: df.crs = 27700 # geometry column without geometry - df = GeoDataFrame({"geometry": [Point(0, 1)]}).assign(geometry=[0]) + with warnings.catch_warnings(): + warnings.filterwarnings( + "ignore", "Geometry column does not contain geometry", UserWarning + ) + df = GeoDataFrame({"geometry": [Point(0, 1)]}).assign(geometry=[0]) with pytest.raises( ValueError, match="Assigning CRS to a GeoDataFrame without an active geometry", @@ -404,7 +418,7 @@ class TestGeometryArrayCRS: FutureWarning, match="You are adding a column named 'geometry'" ): df["geometry"] = scalar - df.crs = 4326 + df = df.set_crs(4326) assert df.crs == self.wgs assert df.geometry.crs == self.wgs assert df.geometry.values.crs == self.wgs @@ -415,8 +429,7 @@ class TestGeometryArrayCRS: df = GeoDataFrame() df.crs = 4326 - def test_read_file(self): - nybb_filename = datasets.get_path("nybb") + def test_read_file(self, nybb_filename): df = read_file(nybb_filename) assert df.crs == pyproj.CRS(2263) assert df.geometry.crs == pyproj.CRS(2263) @@ -728,6 +741,7 @@ class TestSetCRS: assert non_naive.crs == "EPSG:3857" assert result.crs == "EPSG:3857" - # raise error when no crs is passed - with pytest.raises(ValueError): - naive.set_crs(crs=None, epsg=None) + # set CRS to None + result = non_naive.set_crs(crs=None, allow_override=True) + assert result.crs is None + assert non_naive.crs == "EPSG:3857" diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_datasets.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_datasets.py index 2b4b14a9..09dde905 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_datasets.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_datasets.py @@ -5,8 +5,11 @@ import pytest @pytest.mark.parametrize( - "test_dataset", ["naturalearth_lowres", "naturalearth_cities", "nybb"] + "test_dataset", ["naturalearth_lowres", "naturalearth_cities", "nybb", "foo"] ) def test_read_paths(test_dataset): - with pytest.warns(FutureWarning, match="The geopandas.dataset module is"): + with pytest.raises( + AttributeError, + match=r"The geopandas\.dataset has been deprecated and was removed", + ): assert isinstance(read_file(get_path(test_dataset)), GeoDataFrame) diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_decorator.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_decorator.py index 180ba922..94b1dbee 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_decorator.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_decorator.py @@ -10,7 +10,6 @@ def cumsum(whatever): It computes the cumulative {operation}. """ - ... @doc( @@ -27,18 +26,15 @@ def cumsum(whatever): method="cumavg", operation="average", ) -def cumavg(whatever): - ... +def cumavg(whatever): ... @doc(cumsum, method="cummax", operation="maximum") -def cummax(whatever): - ... +def cummax(whatever): ... @doc(cummax, method="cummin", operation="minimum") -def cummin(whatever): - ... +def cummin(whatever): ... def test_docstring_formatting(): diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_dissolve.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_dissolve.py index e5d90513..de0ae17b 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_dissolve.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_dissolve.py @@ -5,17 +5,15 @@ import pandas as pd import geopandas from geopandas import GeoDataFrame, read_file +from geopandas._compat import HAS_PYPROJ, PANDAS_GE_15, PANDAS_GE_20, PANDAS_GE_30 -from pandas.testing import assert_frame_equal import pytest - -from geopandas._compat import PANDAS_GE_15, PANDAS_GE_20 from geopandas.testing import assert_geodataframe_equal, geom_almost_equals +from pandas.testing import assert_frame_equal @pytest.fixture -def nybb_polydf(): - nybb_filename = geopandas.datasets.get_path("nybb") +def nybb_polydf(nybb_filename): nybb_polydf = read_file(nybb_filename) nybb_polydf = nybb_polydf[["geometry", "BoroName", "BoroCode"]] nybb_polydf = nybb_polydf.rename(columns={"geometry": "myshapes"}) @@ -32,7 +30,7 @@ def merged_shapes(nybb_polydf): manhattan_bronx = nybb_polydf.loc[3:4] others = nybb_polydf.loc[0:2] - collapsed = [others.geometry.unary_union, manhattan_bronx.geometry.unary_union] + collapsed = [others.geometry.union_all(), manhattan_bronx.geometry.union_all()] merged_shapes = GeoDataFrame( {"myshapes": collapsed}, geometry="myshapes", @@ -64,6 +62,7 @@ def test_geom_dissolve(nybb_polydf, first): assert geom_almost_equals(test, first) +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not installed") def test_dissolve_retains_existing_crs(nybb_polydf): assert nybb_polydf.crs is not None test = nybb_polydf.dissolve("manhattan_bronx") @@ -71,7 +70,7 @@ def test_dissolve_retains_existing_crs(nybb_polydf): def test_dissolve_retains_nonexisting_crs(nybb_polydf): - nybb_polydf.crs = None + nybb_polydf.geometry.array.crs = None test = nybb_polydf.dissolve("manhattan_bronx") assert test.crs is None @@ -95,7 +94,7 @@ def test_mean_dissolve(nybb_polydf, first, expected_mean): ) # for non pandas "mean", numeric only cannot be applied. Drop columns manually test2 = nybb_polydf.drop(columns=["BoroName"]).dissolve( - "manhattan_bronx", aggfunc=np.mean + "manhattan_bronx", aggfunc="mean" ) assert_frame_equal(expected_mean, test, check_column_type=False) @@ -152,7 +151,7 @@ def test_dissolve_none(nybb_polydf): test = nybb_polydf.dissolve(by=None) expected = GeoDataFrame( { - nybb_polydf.geometry.name: [nybb_polydf.geometry.unary_union], + nybb_polydf.geometry.name: [nybb_polydf.geometry.union_all()], "BoroName": ["Staten Island"], "BoroCode": [5], "manhattan_bronx": [5], @@ -167,7 +166,7 @@ def test_dissolve_none_mean(nybb_polydf): test = nybb_polydf.dissolve(aggfunc="mean", numeric_only=True) expected = GeoDataFrame( { - nybb_polydf.geometry.name: [nybb_polydf.geometry.unary_union], + nybb_polydf.geometry.name: [nybb_polydf.geometry.union_all()], "BoroCode": [3.0], "manhattan_bronx": [5.4], }, @@ -261,6 +260,7 @@ def test_dissolve_categorical(): # when observed=False we get an additional observation # that wasn't in the original data + none_val = "GEOMETRYCOLLECTION EMPTY" if PANDAS_GE_30 else None expected_gdf_observed_false = geopandas.GeoDataFrame( { "cat": pd.Categorical(["a", "a", "b", "b"]), @@ -268,7 +268,7 @@ def test_dissolve_categorical(): "geometry": geopandas.array.from_wkt( [ "MULTIPOINT (0 0, 1 1)", - None, + none_val, "POINT (2 2)", "POINT (3 3)", ] @@ -348,3 +348,25 @@ def test_dissolve_multi_agg(nybb_polydf, merged_shapes): ) assert_geodataframe_equal(test, merged_shapes) assert len(record) == 0 + + +def test_coverage_dissolve(nybb_polydf): + manhattan_bronx = nybb_polydf.loc[3:4] + others = nybb_polydf.loc[0:2] + + collapsed = [ + others.geometry.union_all(method="coverage"), + manhattan_bronx.geometry.union_all(method="coverage"), + ] + merged_shapes = GeoDataFrame( + {"myshapes": collapsed}, + geometry="myshapes", + index=pd.Index([5, 6], name="manhattan_bronx"), + crs=nybb_polydf.crs, + ) + + merged_shapes["BoroName"] = ["Staten Island", "Manhattan"] + merged_shapes["BoroCode"] = [5, 1] + + test = nybb_polydf.dissolve("manhattan_bronx", method="coverage") + assert_frame_equal(merged_shapes, test, check_column_type=False) diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_explore.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_explore.py index dba61184..88b757d5 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_explore.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_explore.py @@ -1,8 +1,15 @@ -import geopandas as gpd +import uuid +from packaging.version import Version + import numpy as np import pandas as pd + +import shapely + +import geopandas as gpd +from geopandas._compat import HAS_PYPROJ + import pytest -from packaging.version import Version folium = pytest.importorskip("folium") branca = pytest.importorskip("branca") @@ -10,26 +17,34 @@ matplotlib = pytest.importorskip("matplotlib") mapclassify = pytest.importorskip("mapclassify") geodatasets = pytest.importorskip("geodatasets") -from matplotlib import cm -from matplotlib import colors from branca.colormap import StepColormap +from matplotlib import cm, colors BRANCA_05 = Version(branca.__version__) > Version("0.4.2") FOLIUM_G_014 = Version(folium.__version__) > Version("0.14.0") -class TestExplore: - def setup_method(self): - self.nybb = gpd.read_file(gpd.datasets.get_path("nybb")) - self.world = gpd.read_file(gpd.datasets.get_path("naturalearth_lowres")) - self.cities = gpd.read_file(gpd.datasets.get_path("naturalearth_cities")) - self.chicago = gpd.read_file(geodatasets.get_path("geoda.chicago_commpop")) - self.world["range"] = range(len(self.world)) - self.missing = self.world.copy() - np.random.seed(42) - self.missing.loc[np.random.choice(self.missing.index, 40), "continent"] = np.nan - self.missing.loc[np.random.choice(self.missing.index, 40), "pop_est"] = np.nan +@pytest.fixture(scope="class") +def _setup_class_test_explore( + nybb_filename, naturalearth_lowres, naturalearth_cities, request +): + request.cls.nybb = gpd.read_file(nybb_filename) + request.cls.world = gpd.read_file(naturalearth_lowres) + request.cls.cities = gpd.read_file(naturalearth_cities) + request.cls.chicago = gpd.read_file(geodatasets.get_path("geoda.chicago_commpop")) + request.cls.world["range"] = range(len(request.cls.world)) + request.cls.missing = request.cls.world.copy() + np.random.seed(42) + request.cls.missing.loc[ + np.random.choice(request.cls.missing.index, 40), "continent" + ] = np.nan + request.cls.missing.loc[ + np.random.choice(request.cls.missing.index, 40), "pop_est" + ] = np.nan + +@pytest.mark.usefixtures("_setup_class_test_explore") +class TestExplore: def _fetch_map_string(self, m): out = m._parent.render() out_str = "".join(out.split()) @@ -46,6 +61,7 @@ class TestExplore: """Make sure default choropleth pass""" self.world.explore(column="pop_est") + @pytest.mark.skipif(not HAS_PYPROJ, reason="requires pyproj") def test_map_settings_default(self): """Check default map settings""" m = self.world.explore() @@ -64,6 +80,7 @@ class TestExplore: assert m.global_switches.disable_3d is False assert "openstreetmap" in m.to_dict()["children"].keys() + @pytest.mark.skipif(not HAS_PYPROJ, reason="requires pyproj") def test_map_settings_custom(self): """Check custom map settings""" m = self.nybb.explore( @@ -284,6 +301,42 @@ class TestExplore: assert '"__folium_color":"#9edae5","bool":true' in out2_str assert '"__folium_color":"#1f77b4","bool":false' in out2_str + def test_datetime(self): + df = self.nybb.copy().head(2) + date1 = pd.Timestamp(2022, 1, 1, 1, 22, 0, 0) + date2 = pd.Timestamp(2025, 1, 1, 1, 22, 0, 0) + df["datetime"] = [date1, date2] + m1 = df.explore("datetime") + + out1_str = self._fetch_map_string(m1) + assert '"__folium_color":"#9edae5","datetime":"2025-01-0101:22:00"' in out1_str + assert '"__folium_color":"#1f77b4","datetime":"2022-01-0101:22:00"' in out1_str + + df2 = df.set_index("datetime") + m2 = df2.explore() + out2_str = self._fetch_map_string(m2) + assert '"datetime":"2025-01-0101:22:00"' in out2_str + assert '"datetime":"2022-01-0101:22:00"' in out2_str + + def test_non_json_serialisable(self): + df = self.nybb.copy().head(2) + + u1 = "12345678-1234-5678-1234-567812345678" + uuid1 = uuid.UUID(u1) + u2 = "12345678-1234-5678-1234-567812345679" + uuid2 = uuid.UUID(u2) + df["object"] = [uuid1, uuid2] + m1 = df.explore("object") + + out1_str = self._fetch_map_string(m1) + assert f'"__folium_color":"#9edae5","object":"{u2}"' in out1_str + assert f'"__folium_color":"#1f77b4","object":"{u1}"' in out1_str + df2 = df.set_index("object") + m2 = df2.explore() + out2_str = self._fetch_map_string(m2) + assert f'"object":"{u2}"' in out2_str + assert f'"object":"{u1}"' in out2_str + def test_string(self): df = self.nybb.copy() df["string"] = pd.array([1, 2, 3, 4, 5], dtype="string") @@ -333,7 +386,7 @@ class TestExplore: def test_no_crs(self): """Naive geometry get no tiles""" df = self.world.copy() - df.crs = None + df.geometry.array.crs = None m = df.explore() assert "openstreetmap" not in m.to_dict()["children"].keys() @@ -351,12 +404,12 @@ class TestExplore: m = self.world.explore( style_kwds={ "style_function": lambda x: { - "fillColor": "red" - if x["properties"]["gdp_md_est"] < 10**6 - else "green", - "color": "black" - if x["properties"]["gdp_md_est"] < 10**6 - else "white", + "fillColor": ( + "red" if x["properties"]["gdp_md_est"] < 10**6 else "green" + ), + "color": ( + "black" if x["properties"]["gdp_md_est"] < 10**6 else "white" + ), } } ) @@ -683,6 +736,7 @@ class TestExplore: == "tickValues([140.0,'','','',559086084.0,'','','',1118172028.0,'','',''])" ) + @pytest.mark.skipif(not HAS_PYPROJ, reason="requires pyproj") def test_xyzservices_providers(self): xyzservices = pytest.importorskip("xyzservices") @@ -697,8 +751,9 @@ class TestExplore: 'attribution":"\\u0026copy;\\u003cahref=\\"https://www.openstreetmap.org' in out_str ) - assert '"maxNativeZoom":20,"maxZoom":20,"minZoom":0' in out_str + assert '"maxZoom":20,"minZoom":0' in out_str + @pytest.mark.skipif(not HAS_PYPROJ, reason="requires pyproj") def test_xyzservices_query_name(self): pytest.importorskip("xyzservices") @@ -713,8 +768,9 @@ class TestExplore: 'attribution":"\\u0026copy;\\u003cahref=\\"https://www.openstreetmap.org' in out_str ) - assert '"maxNativeZoom":20,"maxZoom":20,"minZoom":0' in out_str + assert '"maxZoom":20,"minZoom":0' in out_str + @pytest.mark.skipif(not HAS_PYPROJ, reason="requires pyproj") def test_xyzservices_providers_min_zoom_override(self): xyzservices = pytest.importorskip("xyzservices") @@ -723,8 +779,9 @@ class TestExplore: ) out_str = self._fetch_map_string(m) - assert '"maxNativeZoom":20,"maxZoom":20,"minZoom":3' in out_str + assert '"maxZoom":20,"minZoom":3' in out_str + @pytest.mark.skipif(not HAS_PYPROJ, reason="requires pyproj") def test_xyzservices_providers_max_zoom_override(self): xyzservices = pytest.importorskip("xyzservices") @@ -733,8 +790,9 @@ class TestExplore: ) out_str = self._fetch_map_string(m) - assert '"maxNativeZoom":12,"maxZoom":12,"minZoom":0' in out_str + assert '"maxZoom":12,"minZoom":0' in out_str + @pytest.mark.skipif(not HAS_PYPROJ, reason="requires pyproj") def test_xyzservices_providers_both_zooms_override(self): xyzservices = pytest.importorskip("xyzservices") @@ -745,7 +803,7 @@ class TestExplore: ) out_str = self._fetch_map_string(m) - assert '"maxNativeZoom":12,"maxZoom":12,"minZoom":3' in out_str + assert '"maxZoom":12,"minZoom":3' in out_str def test_linearrings(self): rings = self.nybb.explode(index_parts=True).exterior @@ -940,3 +998,51 @@ class TestExplore: "zoom_control": False, } ) + + def test_none_geometry(self): + # None and empty geoms are dropped prior plotting + df = self.nybb.copy() + df.loc[0, df.geometry.name] = None + m = df.explore() + self._fetch_map_string(m) + + def test_empty_geometry(self): + # None and empty geoms are dropped prior plotting + df = self.nybb.copy() + df.loc[0, df.geometry.name] = shapely.Point() + m = df.explore() + self._fetch_map_string(m) + + def test_all_empty(self): + with_crs = gpd.GeoDataFrame( + geometry=[shapely.Point(), shapely.Point()], crs=4326 + ) + with pytest.warns( + UserWarning, + match="The GeoSeries you are attempting to plot is composed of empty", + ): + m = with_crs.explore() + out_str = self._fetch_map_string(m) + if HAS_PYPROJ: + assert "center:[0.0,0.0],crs:L.CRS.EPSG3857" in out_str + + no_crs = gpd.GeoDataFrame(geometry=[shapely.Point(), shapely.Point()]) + with pytest.warns( + UserWarning, + match="The GeoSeries you are attempting to plot is composed of empty", + ): + m = no_crs.explore() + out_str = self._fetch_map_string(m) + assert "center:[0.0,0.0],crs:L.CRS.Simple" in out_str + + def test_add_all_empty_named_index(self): + gdf1 = gpd.GeoDataFrame(geometry=[shapely.Point(0, 0), shapely.Point(1, 1)]) + gdf2 = gpd.GeoDataFrame(geometry=[shapely.Point(), shapely.Point()]) + m = gdf1.rename_axis(index="index_name").explore() + with pytest.warns( + UserWarning, + match="The GeoSeries you are attempting to plot is composed of empty", + ): + m = gdf2.rename_axis(index="index_name").explore(m=m, color="red") + out_str = self._fetch_map_string(m) + assert "center:[0.5,0.5],crs:L.CRS.Simple" in out_str diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_extension_array.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_extension_array.py index fe1cd106..6fbd6064 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_extension_array.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_extension_array.py @@ -13,21 +13,22 @@ A set of fixtures are defined to provide data for the tests (the fixtures expected to be available to pytest by the inherited pandas tests). """ + +import itertools import operator import numpy as np -from numpy.testing import assert_array_equal import pandas as pd -from pandas.testing import assert_series_equal from pandas.tests.extension import base as extension_tests import shapely.geometry from shapely.geometry import Point +from geopandas._compat import PANDAS_GE_15, PANDAS_GE_21, PANDAS_GE_22 from geopandas.array import GeometryArray, GeometryDtype, from_shapely -from geopandas._compat import ignore_shapely2_warnings, SHAPELY_GE_20, PANDAS_GE_15 import pytest +from pandas.testing import assert_frame_equal, assert_series_equal # ----------------------------------------------------------------------------- # Compat with extension tests in older pandas versions @@ -36,9 +37,6 @@ import pytest not_yet_implemented = pytest.mark.skip(reason="Not yet implemented") no_minmax = pytest.mark.skip(reason="Min/max not supported") -requires_shapely2 = pytest.mark.skipif( - not SHAPELY_GE_20, reason="Requires hashable geometries" -) # ----------------------------------------------------------------------------- @@ -54,8 +52,7 @@ def dtype(): def make_data(): a = np.empty(100, dtype=object) - with ignore_shapely2_warnings(): - a[:] = [shapely.geometry.Point(i, i) for i in range(100)] + a[:] = [shapely.geometry.Point(i, i) for i in range(100)] ga = from_shapely(a) return ga @@ -316,20 +313,6 @@ class TestDtype(extension_tests.BaseDtypeTests): class TestInterface(extension_tests.BaseInterfaceTests): - def test_array_interface(self, data): - # we are overriding this base test because the creation of `expected` - # potentially doesn't work for shapely geometries - # TODO can be removed with Shapely 2.0 - result = np.array(data) - assert result[0] == data[0] - - result = np.array(data, dtype=object) - # expected = np.array(list(data), dtype=object) - expected = np.empty(len(data), dtype=object) - with ignore_shapely2_warnings(): - expected[:] = list(data) - assert_array_equal(result, expected) - def test_contains(self, data, data_missing): # overridden due to the inconsistency between # GeometryDtype.na_value = np.nan @@ -352,7 +335,74 @@ class TestConstructors(extension_tests.BaseConstructorsTests): class TestReshaping(extension_tests.BaseReshapingTests): - pass + + # NOTE: this test is copied from pandas/tests/extension/base/reshaping.py + # because starting with pandas 3.0 the assert_frame_equal is strict regarding + # the exact missing value (None vs NaN) + # Our `result` uses None, but the way the `expected` is created results in + # NaNs (and specifying to use None as fill value in unstack also does not + # help) + # -> the only change compared to the upstream test is marked + @pytest.mark.parametrize( + "index", + [ + # Two levels, uniform. + pd.MultiIndex.from_product(([["A", "B"], ["a", "b"]]), names=["a", "b"]), + # non-uniform + pd.MultiIndex.from_tuples([("A", "a"), ("A", "b"), ("B", "b")]), + # three levels, non-uniform + pd.MultiIndex.from_product([("A", "B"), ("a", "b", "c"), (0, 1, 2)]), + pd.MultiIndex.from_tuples( + [ + ("A", "a", 1), + ("A", "b", 0), + ("A", "a", 0), + ("B", "a", 0), + ("B", "c", 1), + ] + ), + ], + ) + @pytest.mark.parametrize("obj", ["series", "frame"]) + def test_unstack(self, data, index, obj): + data = data[: len(index)] + if obj == "series": + ser = pd.Series(data, index=index) + else: + ser = pd.DataFrame({"A": data, "B": data}, index=index) + + n = index.nlevels + levels = list(range(n)) + # [0, 1, 2] + # [(0,), (1,), (2,), (0, 1), (0, 2), (1, 0), (1, 2), (2, 0), (2, 1)] + combinations = itertools.chain.from_iterable( + itertools.permutations(levels, i) for i in range(1, n) + ) + + for level in combinations: + result = ser.unstack(level=level) + assert all( + isinstance(result[col].array, type(data)) for col in result.columns + ) + + if obj == "series": + # We should get the same result with to_frame+unstack+droplevel + df = ser.to_frame() + + alt = df.unstack(level=level).droplevel(0, axis=1) + assert_frame_equal(result, alt) + + obj_ser = ser.astype(object) + + expected = obj_ser.unstack(level=level, fill_value=data.dtype.na_value) + if obj == "series": + assert (expected.dtypes == object).all() + # <------------ next line is added + expected[expected.isna()] = None + # -------------> + + result = result.astype(object) + assert_frame_equal(result, expected) class TestGetitem(extension_tests.BaseGetitemTests): @@ -403,24 +453,38 @@ class TestMissing(extension_tests.BaseMissingTests): # `geopandas\tests\test_pandas_methods.py::test_fillna_scalar` # and `geopandas\tests\test_pandas_methods.py::test_fillna_series`. - @pytest.mark.skip("fillna method not supported") + @pytest.mark.skipif( + not PANDAS_GE_21, reason="fillna method not supported with older pandas" + ) def test_fillna_limit_pad(self, data_missing): - pass + super().test_fillna_limit_pad(data_missing) - @pytest.mark.skip("fillna method not supported") + @pytest.mark.skipif( + not PANDAS_GE_21, reason="fillna method not supported with older pandas" + ) def test_fillna_limit_backfill(self, data_missing): - pass + super().test_fillna_limit_backfill(data_missing) - @pytest.mark.skip("fillna method not supported") - def test_fillna_series_method(self, data_missing, method): - pass + @pytest.mark.skipif( + not PANDAS_GE_21, reason="fillna method not supported with older pandas" + ) + def test_fillna_series_method(self, data_missing, fillna_method): + super().test_fillna_series_method(data_missing, fillna_method) - @pytest.mark.skip("fillna method not supported") + @pytest.mark.skipif( + not PANDAS_GE_21, reason="fillna method not supported with older pandas" + ) def test_fillna_no_op_returns_copy(self, data): - pass + super().test_fillna_no_op_returns_copy(data) -class TestReduce(extension_tests.BaseNoReduceTests): +if PANDAS_GE_22: + from pandas.tests.extension.base import BaseReduceTests +else: + from pandas.tests.extension.base import BaseNoReduceTests as BaseReduceTests + + +class TestReduce(BaseReduceTests): @pytest.mark.skip("boolean reduce (any/all) tested in test_pandas_methods") def test_reduce_series_boolean(self): pass @@ -506,7 +570,6 @@ class TestMethods(extension_tests.BaseMethodsTests): def test_value_counts_with_normalize(self, data): pass - @requires_shapely2 @pytest.mark.parametrize("ascending", [True, False]) def test_sort_values_frame(self, data_for_sorting, ascending): super().test_sort_values_frame(data_for_sorting, ascending) @@ -555,16 +618,13 @@ class TestCasting(extension_tests.BaseCastingTests): class TestGroupby(extension_tests.BaseGroupbyTests): - @requires_shapely2 @pytest.mark.parametrize("as_index", [True, False]) def test_groupby_extension_agg(self, as_index, data_for_grouping): super().test_groupby_extension_agg(as_index, data_for_grouping) - @requires_shapely2 def test_groupby_extension_transform(self, data_for_grouping): super().test_groupby_extension_transform(data_for_grouping) - @requires_shapely2 @pytest.mark.parametrize( "op", [ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_geocode.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_geocode.py index ae68d7d7..437ecf4b 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_geocode.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_geocode.py @@ -3,13 +3,14 @@ import pandas as pd from shapely.geometry import Point from geopandas import GeoDataFrame, GeoSeries +from geopandas._compat import HAS_PYPROJ from geopandas.tools import geocode, reverse_geocode from geopandas.tools.geocoding import _prepare_geocode_result +import pytest +from geopandas.testing import assert_geodataframe_equal from geopandas.tests.util import assert_geoseries_equal, mock from pandas.testing import assert_series_equal -from geopandas.testing import assert_geodataframe_equal -import pytest geopy = pytest.importorskip("geopy") @@ -71,7 +72,8 @@ def test_prepare_result(): df = _prepare_geocode_result(d) assert type(df) is GeoDataFrame - assert df.crs == "EPSG:4326" + if HAS_PYPROJ: + assert df.crs == "EPSG:4326" assert len(df) == 2 assert "address" in df @@ -93,18 +95,15 @@ def test_prepare_result_none(): df = _prepare_geocode_result(d) assert type(df) is GeoDataFrame - assert df.crs == "EPSG:4326" + if HAS_PYPROJ: + assert df.crs == "EPSG:4326" assert len(df) == 2 assert "address" in df row = df.loc["b"] - # The shapely.geometry.Point() is actually a GeometryCollection, and thus - # gets converted to that in conversion to pygeos. When converting back - # on access, you now get a GeometryCollection object instead of Point, - # which has no coords - # see https://github.com/Toblerity/Shapely/issues/742/#issuecomment-545296708 + # TODO we should probably replace this with a missing value instead of point? - # assert len(row["geometry"].coords) == 0 + assert len(row["geometry"].coords) == 0 assert row["geometry"].is_empty assert row["address"] is None diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_geodataframe.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_geodataframe.py index 51ea3ba6..c9d74b1f 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_geodataframe.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_geodataframe.py @@ -6,23 +6,17 @@ import tempfile import numpy as np import pandas as pd -from pyproj import CRS -from pyproj.exceptions import CRSError -from shapely.geometry import Point, Polygon +from shapely.geometry import Point, Polygon, box import geopandas import geopandas._compat as compat from geopandas import GeoDataFrame, GeoSeries, points_from_xy, read_file from geopandas.array import GeometryArray, GeometryDtype, from_shapely -from geopandas._compat import ignore_shapely2_warnings +import pytest from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal from geopandas.tests.util import PACKAGE_DIR, validate_boro_df from pandas.testing import assert_frame_equal, assert_index_equal, assert_series_equal -import pytest - - -TEST_NEAREST = compat.USE_SHAPELY_20 or (compat.PYGEOS_GE_010 and compat.USE_PYGEOS) @pytest.fixture @@ -51,12 +45,13 @@ def how(request): return request.param +@pytest.mark.usefixtures("_setup_class_nybb_filename") class TestDataFrame: def setup_method(self): N = 10 - - nybb_filename = geopandas.datasets.get_path("nybb") - self.df = read_file(nybb_filename) + # self.nybb_filename attached via _setup_class_nybb_filename + self.df = read_file(self.nybb_filename) + # TODO re-write instance variables to be fixtures self.tempdir = tempfile.mkdtemp() self.crs = "epsg:4326" self.df2 = GeoDataFrame( @@ -75,9 +70,13 @@ class TestDataFrame: def test_df_init(self): assert type(self.df2) is GeoDataFrame - assert self.df2.crs == self.crs + if compat.HAS_PYPROJ: + assert self.df2.crs == self.crs + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="Requires pyproj") def test_different_geo_colname(self): + from pyproj.exceptions import CRSError + data = { "A": range(5), "B": range(-5, 0), @@ -198,10 +197,11 @@ class TestDataFrame: assert_geoseries_equal(df.geometry, new_geom) assert_geoseries_equal(df["geometry"], new_geom) - # new crs - gs = new_geom.to_crs(crs="epsg:3857") - df.geometry = gs - assert df.crs == "epsg:3857" + if compat.HAS_PYPROJ: + # new crs + gs = new_geom.to_crs(crs="epsg:3857") + df.geometry = gs + assert df.crs == "epsg:3857" def test_geometry_property_errors(self): with pytest.raises(AttributeError): @@ -266,6 +266,10 @@ class TestDataFrame: with pytest.raises(ValueError): self.df.set_geometry(self.df) + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="Requires pyproj") + def test_set_geometry_crs(self): + geom = GeoSeries([Point(x, y) for x, y in zip(range(5), range(5))]) + # new crs - setting should default to GeoSeries' crs gs = GeoSeries(geom, crs="epsg:3857") new_df = self.df.set_geometry(gs) @@ -292,7 +296,8 @@ class TestDataFrame: assert_geoseries_equal(df2.geometry, g_simplified) # If True, drops column and renames to geometry - df3 = self.df.set_geometry("simplified_geometry", drop=True) + with pytest.warns(FutureWarning): + df3 = self.df.set_geometry("simplified_geometry", drop=True) assert "simplified_geometry" not in df3 assert_geoseries_equal(df3.geometry, g_simplified) @@ -368,6 +373,35 @@ class TestDataFrame: with pytest.raises(AttributeError, match=msg_geo_col_missing): df.geometry + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="Requires pyproj") + def test_override_existing_crs_warning(self): + with pytest.warns( + DeprecationWarning, + match="Overriding the CRS of a GeoSeries that already has CRS", + ): + self.df.geometry.crs = "epsg:2100" + + with pytest.warns( + DeprecationWarning, + match="Overriding the CRS of a GeoDataFrame that already has CRS", + ): + self.df.crs = "epsg:4326" + + def test_active_geometry_name(self): + # default single active called "geometry" + assert self.df.active_geometry_name == "geometry" + + # one GeoSeries, not active + no_active = GeoDataFrame({"foo": self.df.BoroName, "bar": self.df.geometry}) + assert no_active.active_geometry_name is None + assert no_active.set_geometry("bar").active_geometry_name == "bar" + + # multiple, none active + multiple = GeoDataFrame({"foo": self.df.geometry, "bar": self.df.geometry}) + assert multiple.active_geometry_name is None + assert multiple.set_geometry("foo").active_geometry_name == "foo" + assert multiple.set_geometry("bar").active_geometry_name == "bar" + def test_align(self): df = self.df2 @@ -379,14 +413,14 @@ class TestDataFrame: assert_geodataframe_equal(res1, df) assert_geodataframe_equal(res2, df) - # assert crs is / is not preserved on mixed dataframes - df_nocrs = df.copy() - df_nocrs.crs = None - res1, res2 = df.align(df_nocrs) - assert_geodataframe_equal(res1, df) - assert res1.crs is not None - assert_geodataframe_equal(res2, df_nocrs) - assert res2.crs is None + if compat.HAS_PYPROJ: + # assert crs is / is not preserved on mixed dataframes + df_nocrs = df.copy().set_crs(None, allow_override=True) + res1, res2 = df.align(df_nocrs) + assert_geodataframe_equal(res1, df) + assert res1.crs is not None + assert_geodataframe_equal(res2, df_nocrs) + assert res2.crs is None # mixed GeoDataFrame / DataFrame df_nogeom = pd.DataFrame(df.drop("geometry", axis=1)) @@ -407,15 +441,14 @@ class TestDataFrame: assert_geodataframe_equal(res1, exp1) assert_geodataframe_equal(res2, exp2) - df2_nocrs = df2.copy() - df2_nocrs.crs = None - exp2_nocrs = exp2.copy() - exp2_nocrs.crs = None - res1, res2 = df1.align(df2_nocrs) - assert_geodataframe_equal(res1, exp1) - assert res1.crs is not None - assert_geodataframe_equal(res2, exp2_nocrs) - assert res2.crs is None + if compat.HAS_PYPROJ: + df2_nocrs = df2.copy().set_crs(None, allow_override=True) + exp2_nocrs = exp2.copy().set_crs(None, allow_override=True) + res1, res2 = df1.align(df2_nocrs) + assert_geodataframe_equal(res1, exp1) + assert res1.crs is not None + assert_geodataframe_equal(res2, exp2_nocrs) + assert res2.crs is None df2_nogeom = pd.DataFrame(df2.drop("geometry", axis=1)) exp2_nogeom = pd.DataFrame(exp2.drop("geometry", axis=1)) @@ -424,6 +457,7 @@ class TestDataFrame: assert type(res2) == pd.DataFrame assert_frame_equal(res2, exp2_nogeom) + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="Requires pyproj") def test_to_json(self): text = self.df.to_json(to_wgs84=True) data = json.loads(text) @@ -443,7 +477,7 @@ class TestDataFrame: assert coord == [970217.0223999023, 145643.33221435547] def test_to_json_no_crs(self): - self.df.crs = None + self.df.geometry.array.crs = None with pytest.raises(ValueError, match="CRS is not set"): self.df.to_json(to_wgs84=True) @@ -586,23 +620,28 @@ class TestDataFrame: def test_from_dict(self): data = {"A": [1], "geometry": [Point(0.0, 0.0)]} df = GeoDataFrame.from_dict(data, crs=3857) - assert df.crs == "epsg:3857" + if compat.HAS_PYPROJ: + assert df.crs == "epsg:3857" + else: + assert df.crs is None assert df._geometry_column_name == "geometry" data = {"B": [1], "location": [Point(0.0, 0.0)]} df = GeoDataFrame.from_dict(data, geometry="location") assert df._geometry_column_name == "location" - def test_from_features(self): + def test_from_features(self, nybb_filename): fiona = pytest.importorskip("fiona") - nybb_filename = geopandas.datasets.get_path("nybb") with fiona.open(nybb_filename) as f: features = list(f) crs = f.crs_wkt df = GeoDataFrame.from_features(features, crs=crs) validate_boro_df(df, case_sensitive=True) - assert df.crs == crs + if compat.HAS_PYPROJ: + assert df.crs == crs + else: + assert df.crs is None def test_from_features_unaligned_properties(self): p1 = Point(1, 1) @@ -781,7 +820,8 @@ class TestDataFrame: assert gf.geometry.name == "location" assert "geometry" not in gf - gf2 = df.set_geometry("location", crs=self.df.crs, drop=True) + with pytest.warns(FutureWarning): + gf2 = df.set_geometry("location", crs=self.df.crs, drop=True) assert isinstance(df, pd.DataFrame) assert isinstance(gf2, GeoDataFrame) assert gf2.geometry.name == "geometry" @@ -833,40 +873,40 @@ class TestDataFrame: df.loc[0, "BoroName"] = np.nan # when containing missing values # null: output the missing entries as JSON null - result = list(df.iterfeatures(na="null"))[0]["properties"] + result = next(iter(df.iterfeatures(na="null")))["properties"] assert result["BoroName"] is None # drop: remove the property from the feature. - result = list(df.iterfeatures(na="drop"))[0]["properties"] + result = next(iter(df.iterfeatures(na="drop")))["properties"] assert "BoroName" not in result.keys() # keep: output the missing entries as NaN - result = list(df.iterfeatures(na="keep"))[0]["properties"] + result = next(iter(df.iterfeatures(na="keep")))["properties"] assert np.isnan(result["BoroName"]) # test for checking that the (non-null) features are python scalars and # not numpy scalars assert type(df.loc[0, "Shape_Leng"]) is np.float64 # null - result = list(df.iterfeatures(na="null"))[0] - assert type(result["properties"]["Shape_Leng"]) is float + result = next(iter(df.iterfeatures(na="null"))) + assert isinstance(result["properties"]["Shape_Leng"], float) # drop - result = list(df.iterfeatures(na="drop"))[0] - assert type(result["properties"]["Shape_Leng"]) is float + result = next(iter(df.iterfeatures(na="drop"))) + assert isinstance(result["properties"]["Shape_Leng"], float) # keep - result = list(df.iterfeatures(na="keep"))[0] - assert type(result["properties"]["Shape_Leng"]) is float + result = next(iter(df.iterfeatures(na="keep"))) + assert isinstance(result["properties"]["Shape_Leng"], float) # when only having numerical columns df_only_numerical_cols = df[["Shape_Leng", "Shape_Area", "geometry"]] assert type(df_only_numerical_cols.loc[0, "Shape_Leng"]) is np.float64 # null - result = list(df_only_numerical_cols.iterfeatures(na="null"))[0] - assert type(result["properties"]["Shape_Leng"]) is float + result = next(iter(df_only_numerical_cols.iterfeatures(na="null"))) + assert isinstance(result["properties"]["Shape_Leng"], float) # drop - result = list(df_only_numerical_cols.iterfeatures(na="drop"))[0] - assert type(result["properties"]["Shape_Leng"]) is float + result = next(iter(df_only_numerical_cols.iterfeatures(na="drop"))) + assert isinstance(result["properties"]["Shape_Leng"], float) # keep - result = list(df_only_numerical_cols.iterfeatures(na="keep"))[0] - assert type(result["properties"]["Shape_Leng"]) is float + result = next(iter(df_only_numerical_cols.iterfeatures(na="keep"))) + assert isinstance(result["properties"]["Shape_Leng"], float) with pytest.raises( ValueError, match="GeoDataFrame cannot contain duplicated column names." @@ -888,25 +928,25 @@ class TestDataFrame: ) # null expected = {"non-scalar": [1, 2], "test_col": None} - result = list(df.iterfeatures(na="null"))[0].get("properties") + result = next(iter(df.iterfeatures(na="null"))).get("properties") assert expected == result # drop expected = {"non-scalar": [1, 2]} - result = list(df.iterfeatures(na="drop"))[0].get("properties") + result = next(iter(df.iterfeatures(na="drop"))).get("properties") assert expected == result # keep expected = {"non-scalar": [1, 2], "test_col": None} - result = list(df.iterfeatures(na="keep"))[0].get("properties") + result = next(iter(df.iterfeatures(na="keep"))).get("properties") assert expected == result def test_geodataframe_geojson_no_bbox(self): - geo = self.df._to_geo(na="null", show_bbox=False) + geo = self.df.to_geo_dict(na="null", show_bbox=False) assert "bbox" not in geo.keys() for feature in geo["features"]: assert "bbox" not in feature.keys() def test_geodataframe_geojson_bbox(self): - geo = self.df._to_geo(na="null", show_bbox=True) + geo = self.df.to_geo_dict(na="null", show_bbox=True) assert "bbox" in geo.keys() assert len(geo["bbox"]) == 4 assert isinstance(geo["bbox"], tuple) @@ -927,29 +967,31 @@ class TestDataFrame: assert self.df.crs == unpickled.crs def test_estimate_utm_crs(self): - assert self.df.estimate_utm_crs() == CRS("EPSG:32618") - assert self.df.estimate_utm_crs("NAD83") == CRS("EPSG:26918") + pyproj = pytest.importorskip("pyproj") + + assert self.df.estimate_utm_crs() == pyproj.CRS("EPSG:32618") + assert self.df.estimate_utm_crs("NAD83") == pyproj.CRS("EPSG:26918") def test_to_wkb(self): wkbs0 = [ - ( + ( # POINT (0 0) b"\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00" b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" - ), # POINT (0 0) - ( + ), + ( # POINT (1 1) b"\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00" b"\x00\xf0?\x00\x00\x00\x00\x00\x00\xf0?" - ), # POINT (1 1) + ), ] wkbs1 = [ - ( + ( # POINT (2 2) b"\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00" b"\x00\x00@\x00\x00\x00\x00\x00\x00\x00@" - ), # POINT (2 2) - ( + ), + ( # POINT (3 3) b"\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00" b"\x00\x08@\x00\x00\x00\x00\x00\x00\x08@" - ), # POINT (3 3) + ), ] gs0 = GeoSeries.from_wkb(wkbs0) gs1 = GeoSeries.from_wkb(wkbs1) @@ -970,40 +1012,51 @@ class TestDataFrame: @pytest.mark.parametrize("how", ["left", "inner", "right"]) @pytest.mark.parametrize("predicate", ["intersects", "within", "contains"]) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20 or compat.HAS_RTREE), - reason="sjoin needs `rtree` or `pygeos` dependency", - ) - def test_sjoin(self, how, predicate): + def test_sjoin(self, how, predicate, naturalearth_cities, naturalearth_lowres): """ Basic test for availability of the GeoDataFrame method. Other sjoin tests are located in /tools/tests/test_sjoin.py """ - left = read_file(geopandas.datasets.get_path("naturalearth_cities")) - right = read_file(geopandas.datasets.get_path("naturalearth_lowres")) + left = read_file(naturalearth_cities) + right = read_file(naturalearth_lowres) expected = geopandas.sjoin(left, right, how=how, predicate=predicate) result = left.sjoin(right, how=how, predicate=predicate) assert_geodataframe_equal(result, expected) + @pytest.mark.parametrize("how", ["left", "inner", "right"]) + @pytest.mark.parametrize("distance", [0, 3]) + @pytest.mark.skipif( + not compat.GEOS_GE_310, + reason="`dwithin` requires GEOS 3.10", + ) + def test_sjoin_dwithin(self, how, distance): + """ + Basic test for predicate='dwithin' availability of the GeoDataFrame method. + Other sjoin tests are located in /tools/tests/test_sjoin.py + """ + left = GeoDataFrame(geometry=points_from_xy([0, 1, 2], [0, 1, 1])) + right = GeoDataFrame(geometry=[box(0, 0, 1, 1)]) + + expected = geopandas.sjoin( + left, right, how=how, predicate="dwithin", distance=distance + ) + result = left.sjoin(right, how=how, predicate="dwithin", distance=distance) + assert_geodataframe_equal(result, expected) + @pytest.mark.parametrize("how", ["left", "inner", "right"]) @pytest.mark.parametrize("max_distance", [None, 1]) @pytest.mark.parametrize("distance_col", [None, "distance"]) - @pytest.mark.skipif( - not TEST_NEAREST, - reason=( - "PyGEOS >= 0.10.0" - " must be installed and activated via the geopandas.compat module to" - " test sjoin_nearest" - ), - ) - def test_sjoin_nearest(self, how, max_distance, distance_col): + @pytest.mark.filterwarnings("ignore:Geometry is in a geographic CRS:UserWarning") + def test_sjoin_nearest( + self, how, max_distance, distance_col, naturalearth_cities, naturalearth_lowres + ): """ Basic test for availability of the GeoDataFrame method. Other sjoin tests are located in /tools/tests/test_sjoin.py """ - left = read_file(geopandas.datasets.get_path("naturalearth_cities")) - right = read_file(geopandas.datasets.get_path("naturalearth_lowres")) + left = read_file(naturalearth_cities) + right = read_file(naturalearth_lowres) expected = geopandas.sjoin_nearest( left, right, how=how, max_distance=max_distance, distance_col=distance_col @@ -1013,21 +1066,42 @@ class TestDataFrame: ) assert_geodataframe_equal(result, expected) - @pytest.mark.skip_no_sindex - def test_clip(self): + def test_clip(self, naturalearth_cities, naturalearth_lowres): """ Basic test for availability of the GeoDataFrame method. Other clip tests are located in /tools/tests/test_clip.py """ - left = read_file(geopandas.datasets.get_path("naturalearth_cities")) - world = read_file(geopandas.datasets.get_path("naturalearth_lowres")) + left = read_file(naturalearth_cities) + world = read_file(naturalearth_lowres) south_america = world[world["continent"] == "South America"] expected = geopandas.clip(left, south_america) result = left.clip(south_america) assert_geodataframe_equal(result, expected) - @pytest.mark.skip_no_sindex + def test_clip_sorting(self, naturalearth_cities, naturalearth_lowres): + """ + Test sorting of geodataframe when clipping. + """ + cities = read_file(naturalearth_cities) + world = read_file(naturalearth_lowres) + south_america = world[world["continent"] == "South America"] + + unsorted_clipped_cities = geopandas.clip(cities, south_america, sort=False) + sorted_clipped_cities = geopandas.clip(cities, south_america, sort=True) + + expected_sorted_index = pd.Index( + [55, 59, 62, 88, 101, 114, 122, 169, 181, 189, 210, 230, 236, 238, 239] + ) + + assert not ( + sorted(unsorted_clipped_cities.index) == unsorted_clipped_cities.index + ).all() + assert ( + sorted(sorted_clipped_cities.index) == sorted_clipped_cities.index + ).all() + assert_index_equal(expected_sorted_index, sorted_clipped_cities.index) + def test_overlay(self, dfs, how): """ Basic test for availability of the GeoDataFrame method. Other @@ -1138,8 +1212,7 @@ class TestConstructor: "B": np.arange(3.0), "geometry": [Point(x, x) for x in range(3)], } - with ignore_shapely2_warnings(): - a = np.array([data["A"], data["B"], data["geometry"]], dtype=object).T + a = np.array([data["A"], data["B"], data["geometry"]], dtype=object).T df = GeoDataFrame(a, columns=["A", "B", "geometry"]) check_geodataframe(df) @@ -1154,8 +1227,7 @@ class TestConstructor: "geometry": [Point(x, x) for x in range(3)], } gpdf = GeoDataFrame(data) - with ignore_shapely2_warnings(): - pddf = pd.DataFrame(data) + pddf = pd.DataFrame(data) check_geodataframe(gpdf) assert type(pddf) == pd.DataFrame @@ -1184,8 +1256,7 @@ class TestConstructor: gpdf = GeoDataFrame(data, geometry="other_geom") check_geodataframe(gpdf, "other_geom") - with ignore_shapely2_warnings(): - pddf = pd.DataFrame(data) + pddf = pd.DataFrame(data) for df in [gpdf, pddf]: res = GeoDataFrame(df, geometry="other_geom") @@ -1240,7 +1311,7 @@ class TestConstructor: geometry="geometry", ) check_geodataframe(gdf) - gdf.columns == ["geometry", "a"] + assert list(gdf.columns) == ["geometry", "a"] # with non-default index gdf = GeoDataFrame( @@ -1250,27 +1321,24 @@ class TestConstructor: geometry="geometry", ) check_geodataframe(gdf) - gdf.columns == ["geometry", "a"] + assert list(gdf.columns) == ["geometry", "a"] - @pytest.mark.xfail - def test_preserve_series_name(self): + def test_do_not_preserve_series_name_in_constructor(self): + # GH3337 + # GeoDataFrame(... geometry=...) should always create geom col "geometry" geoms = [Point(1, 1), Point(2, 2), Point(3, 3)] gs = GeoSeries(geoms) gdf = GeoDataFrame({"a": [1, 2, 3]}, geometry=gs) - check_geodataframe(gdf, geometry_column="geometry") - - geoms = [Point(1, 1), Point(2, 2), Point(3, 3)] + # still get "geometry", even with custom geoseries name gs = GeoSeries(geoms, name="my_geom") gdf = GeoDataFrame({"a": [1, 2, 3]}, geometry=gs) - - check_geodataframe(gdf, geometry_column="my_geom") + check_geodataframe(gdf, geometry_column="geometry") def test_overwrite_geometry(self): # GH602 data = pd.DataFrame({"geometry": [1, 2, 3], "col1": [4, 5, 6]}) - with ignore_shapely2_warnings(): - geoms = pd.Series([Point(i, i) for i in range(3)]) + geoms = pd.Series([Point(i, i) for i in range(3)]) # passed geometry kwarg should overwrite geometry column in data res = GeoDataFrame(data, geometry=geoms) assert_geoseries_equal(res.geometry, GeoSeries(geoms)) @@ -1329,7 +1397,8 @@ class TestConstructor: ): gdf5["geometry"] = "foo" assert gdf5._geometry_column_name is None - gdf3 = gdf.copy().assign(geometry=geo_col) + with pytest.warns(FutureWarning, match=match): + gdf3 = gdf.copy().assign(geometry=geo_col) assert gdf3._geometry_column_name == "geometry" # Check that adding a GeoSeries to a column called "geometry" to a @@ -1355,8 +1424,9 @@ class TestConstructor: y_col = df["location", "y"] gdf = GeoDataFrame(df, crs=crs, geometry=points_from_xy(x_col, y_col)) - assert gdf.crs == crs - assert gdf.geometry.crs == crs + if compat.HAS_PYPROJ: + assert gdf.crs == crs + assert gdf.geometry.crs == crs assert gdf.geometry.dtype == "geometry" assert gdf._geometry_column_name == "geometry" assert gdf.geometry.name == "geometry" @@ -1378,8 +1448,9 @@ class TestConstructor: y_col = df["foo", "location", "y"] gdf = GeoDataFrame(df, crs=crs, geometry=points_from_xy(x_col, y_col)) - assert gdf.crs == crs - assert gdf.geometry.crs == crs + if compat.HAS_PYPROJ: + assert gdf.crs == crs + assert gdf.geometry.crs == crs assert gdf.geometry.dtype == "geometry" assert gdf._geometry_column_name == "geometry" assert gdf.geometry.name == "geometry" @@ -1400,17 +1471,18 @@ class TestConstructor: df["geometry"] = GeoSeries.from_xy(x_col, y_col) df2 = df.copy() gdf = df.set_geometry("geometry", crs=crs) - assert gdf.crs == crs + if compat.HAS_PYPROJ: + assert gdf.crs == crs assert gdf._geometry_column_name == "geometry" assert gdf.geometry.name == "geometry" # test again setting with tuple col name gdf = df2.set_geometry(("geometry", "", ""), crs=crs) - assert gdf.crs == crs + if compat.HAS_PYPROJ: + assert gdf.crs == crs assert gdf._geometry_column_name == ("geometry", "", "") assert gdf.geometry.name == ("geometry", "", "") - def test_assign_cols_using_index(self): - nybb_filename = geopandas.datasets.get_path("nybb") + def test_assign_cols_using_index(self, nybb_filename): df = read_file(nybb_filename) other_df = pd.DataFrame({"foo": range(5), "bar": range(5)}) expected = pd.concat([df, other_df], axis=1) @@ -1418,6 +1490,7 @@ class TestConstructor: assert_geodataframe_equal(df, expected) +@pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") def test_geodataframe_crs(): gdf = GeoDataFrame(columns=["geometry"]) gdf.crs = "IGNF:ETRS89UTM28" @@ -1436,6 +1509,7 @@ def test_geodataframe_nocrs_json(): assert "crs" not in gdf_geojson +@pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") def test_geodataframe_crs_json(): gdf = GeoDataFrame(columns=["geometry"]) gdf.crs = 25833 @@ -1449,6 +1523,7 @@ def test_geodataframe_crs_json(): assert "crs" not in gdf_geointerface +@pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") @pytest.mark.parametrize( "crs", ["+proj=cea +lon_0=0 +lat_ts=45 +x_0=0 +y_0=0 +ellps=WGS84 +units=m", "IGNF:WGS84"], @@ -1472,3 +1547,71 @@ def test_geodataframe_crs_colname(): assert gdf.crs is None assert gdf["crs"].iloc[0] == 1 assert getattr(gdf, "crs") is None + + +@pytest.mark.parametrize("geo_col_name", ["geometry", "polygons"]) +def test_set_geometry_supply_colname(dfs, geo_col_name): + df, _ = dfs + if geo_col_name != "geometry": + df = df.rename_geometry(geo_col_name) + df["centroid"] = df.geometry.centroid + res = df.set_geometry("centroid") + assert res.active_geometry_name == "centroid" + assert geo_col_name in res.columns + + # Test that drop=False explicitly warns + deprecated = "The `drop` keyword argument is deprecated" + with pytest.warns(FutureWarning, match=deprecated): + res2 = df.set_geometry("centroid", drop=False) + assert_geodataframe_equal(res, res2) + + with pytest.warns(FutureWarning, match=deprecated): + res3 = df.set_geometry("centroid", drop=True) + # drop=True should preserve previous geometry col name (keep old behaviour) + assert res3.active_geometry_name == geo_col_name + assert "centroid" not in res3.columns + + # Test that alternative suggested without using drop=True is equivalent + assert_geodataframe_equal( + res3, + df.set_geometry("centroid") + .drop(columns=geo_col_name) + .rename_geometry(geo_col_name), + ) + + +@pytest.mark.parametrize("geo_col_name", ["geometry", "polygons"]) +def test_set_geometry_supply_arraylike(dfs, geo_col_name): + df, _ = dfs + if geo_col_name != "geometry": + df = df.rename_geometry(geo_col_name) + centroids = df.geometry.centroid + res = df.set_geometry(centroids) + assert res.active_geometry_name == geo_col_name + # drop should do nothing if the column already exists + match_str = ( + "The `drop` keyword argument is deprecated and has no effect when " + "`col` is an array-like value" + ) + with pytest.warns( + FutureWarning, + match=match_str, + ): + res2 = df.set_geometry(centroids, drop=True) + assert res2.active_geometry_name == geo_col_name + + centroids = centroids.rename("centroids") + res3 = df.set_geometry(centroids) + # Should preserve the geoseries name + # (and old geometry column should be kept) + assert res3.active_geometry_name == "centroids" + assert geo_col_name in res3.columns + + # Drop should not remove previous active geometry colname for arraylike inputs + with pytest.warns( + FutureWarning, + match=match_str, + ): + res4 = df.set_geometry(centroids, drop=True) + assert res4.active_geometry_name == "centroids" + assert geo_col_name in res4.columns diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_geom_methods.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_geom_methods.py index 4d21242e..f23f0f38 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_geom_methods.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_geom_methods.py @@ -2,32 +2,32 @@ import string import warnings import numpy as np -from numpy.testing import assert_array_equal from pandas import DataFrame, Index, MultiIndex, Series, concat import shapely - +from shapely import wkt from shapely.geometry import ( LinearRing, LineString, MultiLineString, MultiPoint, + MultiPolygon, Point, Polygon, - MultiPolygon, + box, ) from shapely.geometry.collection import GeometryCollection from shapely.ops import unary_union -from shapely import wkt from geopandas import GeoDataFrame, GeoSeries +from geopandas._compat import HAS_PYPROJ from geopandas.base import GeoPandasBase -from geopandas.testing import assert_geodataframe_equal, geom_almost_equals -from geopandas.tests.util import assert_geoseries_equal, geom_equals -from geopandas import _compat as compat -from pandas.testing import assert_frame_equal, assert_index_equal, assert_series_equal import pytest +from geopandas.testing import assert_geodataframe_equal +from geopandas.tests.util import assert_geoseries_equal, geom_almost_equals, geom_equals +from numpy.testing import assert_array_equal +from pandas.testing import assert_frame_equal, assert_index_equal, assert_series_equal def assert_array_dtype_equal(a, b, *args, **kwargs): @@ -176,18 +176,43 @@ class TestGeomMethods: self.l6 = LineString([(5, 5), (5, 100), (100, 5)]) self.g12 = GeoSeries([self.l5]) self.g13 = GeoSeries([self.l6]) + self.lines = GeoSeries( + [ + LineString([(0, 0), (1, 1)]), + LineString([(0, 0), (0, 1)]), + LineString([(0, 1), (1, 1)]), + LineString([(1, 1), (1, 0)]), + LineString([(1, 0), (0, 0)]), + LineString([(5, 5), (6, 6)]), + LineString([(0.5, -1), (0.5, 2)]), + Point(0, 0), + ], + crs=4326, + index=range(2, 10), + ) self.l5 = LineString([(100, 0), (0, 0), (0, 100)]) self.l6 = LineString([(5, 5), (5, 100), (100, 5)]) self.g12 = GeoSeries([self.l5]) self.g13 = GeoSeries([self.l6]) + self.g14 = GeoSeries( + [ + MultiLineString([[(0, 2), (0, 10)], [(0, 10), (5, 10)]]), + MultiLineString([[(0, 2), (0, 10)], [(0, 11), (5, 10)]]), + MultiLineString(), + MultiLineString([[(0, 0), (1, 0)], [(0, 0), (3, 0)]]), + Point(0, 0), + ], + crs=4326, + index=range(2, 7), + ) def _test_unary_real(self, op, expected, a): """Tests for 'area', 'length', 'is_valid', etc.""" fcmp = assert_series_equal self._test_unary(op, expected, a, fcmp) - def _test_unary_topological(self, op, expected, a): + def _test_unary_topological(self, op, expected, a, method=False): if isinstance(expected, GeoPandasBase): fcmp = assert_geoseries_equal else: @@ -195,7 +220,7 @@ class TestGeomMethods: def fcmp(a, b): assert a.equals(b) - self._test_unary(op, expected, a, fcmp) + self._test_unary(op, expected, a, fcmp, method=method) def _test_binary_topological(self, op, expected, a, b, *args, **kwargs): """Tests for 'intersection', 'union', 'symmetric_difference', etc.""" @@ -217,27 +242,6 @@ class TestGeomMethods: fcmp = assert_series_equal self._binary_op_test(op, expected, a, b, fcmp, True, False, *args, **kwargs) - def _test_binary_operator(self, op, expected, a, b): - """ - The operators only have GeoSeries on the left, but can have - GeoSeries or GeoDataFrame on the right. - If GeoDataFrame is on the left, geometry column is used. - - """ - if isinstance(expected, GeoPandasBase): - fcmp = assert_geoseries_equal - else: - - def fcmp(a, b): - assert geom_equals(a, b) - - if isinstance(b, GeoPandasBase): - right_df = True - else: - right_df = False - - self._binary_op_test(op, expected, a, b, fcmp, False, right_df) - def _binary_op_test( self, op, expected, left, right, fcmp, left_df, right_df, *args, **kwargs ): @@ -298,34 +302,49 @@ class TestGeomMethods: result = getattr(gdf_left, op)(gdf_right, *args, **kwargs) fcmp(result, expected) - def _test_unary(self, op, expected, a, fcmp): + def _test_unary(self, op, expected, a, fcmp, method=False): # GeoSeries, (GeoSeries or geometry) - result = getattr(a, op) + if method: + result = getattr(a, op)() + else: + result = getattr(a, op) fcmp(result, expected) # GeoDataFrame, (GeoSeries or geometry) gdf = self.gdf1.set_geometry(a) - result = getattr(gdf, op) + if method: + result = getattr(gdf, op)() + else: + result = getattr(gdf, op) fcmp(result, expected) - # TODO re-enable for all operations once we use pyproj > 2 - # def test_crs_warning(self): - # # operations on geometries should warn for different CRS - # no_crs_g3 = self.g3.copy() - # no_crs_g3.crs = None - # with pytest.warns(UserWarning): - # self._test_binary_topological('intersection', self.g3, - # self.g3, no_crs_g3) + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") + def test_crs_warning(self): + # operations on geometries should warn for different CRS + no_crs_g3 = self.g3.copy().set_crs(None, allow_override=True) + with pytest.warns(UserWarning): + self._test_binary_topological("intersection", self.g3, self.g3, no_crs_g3) + + def test_alignment_warning(self): + with pytest.warns( + UserWarning, + match="The indices of the left and right GeoSeries' are not equal", + ): + self.g0.intersection(self.g9, align=None) + + with warnings.catch_warnings(record=True) as record: + self.g0.intersection(self.g9, align=True) + self.g0.intersection(self.g9, align=False) + + assert len(record) == 0 def test_intersection(self): self._test_binary_topological("intersection", self.t1, self.g1, self.g2) - with pytest.warns(UserWarning, match="The indices .+ different"): - self._test_binary_topological( - "intersection", self.all_none, self.g1, self.empty - ) + self._test_binary_topological( + "intersection", self.all_none, self.g1, self.empty, align=True + ) - with pytest.warns(UserWarning, match="The indices .+ different"): - assert len(self.g0.intersection(self.g9, align=True) == 8) + assert len(self.g0.intersection(self.g9, align=True) == 8) assert len(self.g0.intersection(self.g9, align=False) == 7) def test_clip_by_rect(self): @@ -340,8 +359,7 @@ class TestGeomMethods: def test_union_series(self): self._test_binary_topological("union", self.sq, self.g1, self.g2) - with pytest.warns(UserWarning, match="The indices .+ different"): - assert len(self.g0.union(self.g9, align=True) == 8) + assert len(self.g0.union(self.g9, align=True) == 8) assert len(self.g0.union(self.g9, align=False) == 7) def test_union_polygon(self): @@ -350,8 +368,7 @@ class TestGeomMethods: def test_symmetric_difference_series(self): self._test_binary_topological("symmetric_difference", self.sq, self.g3, self.g4) - with pytest.warns(UserWarning, match="The indices .+ different"): - assert len(self.g0.symmetric_difference(self.g9, align=True) == 8) + assert len(self.g0.symmetric_difference(self.g9, align=True) == 8) assert len(self.g0.symmetric_difference(self.g9, align=False) == 7) def test_symmetric_difference_poly(self): @@ -364,18 +381,13 @@ class TestGeomMethods: expected = GeoSeries([GeometryCollection(), self.t2]) self._test_binary_topological("difference", expected, self.g1, self.g2) - with pytest.warns(UserWarning, match="The indices .+ different"): - assert len(self.g0.difference(self.g9, align=True) == 8) + assert len(self.g0.difference(self.g9, align=True) == 8) assert len(self.g0.difference(self.g9, align=False) == 7) def test_difference_poly(self): expected = GeoSeries([self.t1, self.t1]) self._test_binary_topological("difference", expected, self.g1, self.t2) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="get_coordinates not implemented for shapely<2", - ) def test_shortest_line(self): expected = GeoSeries([LineString([(1, 1), (5, 5)]), None]) assert_array_dtype_equal(expected, self.na_none.shortest_line(self.p0)) @@ -396,15 +408,19 @@ class TestGeomMethods: expected, self.crossed_lines.shortest_line(crossed_lines_inv, align=False) ) - @pytest.mark.skipif( - (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="get_coordinates not implemented for shapely<2", - ) - def test_shortest_line_not(self): - with pytest.raises( - NotImplementedError, match="shapely >= 2.0 or PyGEOS is required" - ): - self.na_none.shortest_line(self.p0) + def test_snap(self): + expected = GeoSeries([Polygon([(0, 0.5), (1, 0), (1, 1), (0, 0.5)]), None]) + assert_array_dtype_equal( + expected, self.na_none.snap(Point(0, 0.5), tolerance=1) + ) + + expected = GeoSeries( + [ + Point((5, 5)), + Polygon([(0, 2), (0, 0), (3, 0), (3, 3), (0, 2)]), + ] + ) + assert_array_dtype_equal(expected, self.g6.snap(self.g7, tolerance=3)) def test_geo_op_empty_result(self): l1 = LineString([(0, 0), (1, 1)]) @@ -434,6 +450,7 @@ class TestGeomMethods: expected = Series(np.array([0.5, np.nan]), index=self.na_none.index) self._test_unary_real("area", expected, self.na_none) + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_area_crs_warn(self): with pytest.warns(UserWarning, match="Geometry is in a geographic CRS"): self.g4.area @@ -468,42 +485,78 @@ class TestGeomMethods: ) assert_frame_equal(result, expected) - def test_unary_union(self): + def test_union_all(self): p1 = self.t1 p2 = Polygon([(2, 0), (3, 0), (3, 1)]) expected = unary_union([p1, p2]) g = GeoSeries([p1, p2]) - self._test_unary_topological("unary_union", expected, g) + self._test_unary_topological("union_all", expected, g, method=True) g2 = GeoSeries([p1, None]) - self._test_unary_topological("unary_union", p1, g2) + self._test_unary_topological("union_all", p1, g2, method=True) - with pytest.warns(FutureWarning, match="`unary_union` returned None"): - g3 = GeoSeries([None, None]) - assert g3.unary_union is None + g3 = GeoSeries([None, None]) + assert g3.union_all().equals(shapely.GeometryCollection()) - def test_cascaded_union_deprecated(self): + assert g.union_all(method="coverage").equals(expected) + + def test_unary_union_deprecated(self): p1 = self.t1 p2 = Polygon([(2, 0), (3, 0), (3, 1)]) g = GeoSeries([p1, p2]) with pytest.warns( - FutureWarning, match="The 'cascaded_union' attribute is deprecated" + DeprecationWarning, match="The 'unary_union' attribute is deprecated" ): - result = g.cascaded_union - assert result == g.unary_union + result = g.unary_union + assert result == g.union_all() + + def test_intersection_all(self): + expected = Polygon([(1, 1), (1, 1.5), (1.5, 1.5), (1.5, 1), (1, 1)]) + g = GeoSeries([box(0, 0, 2, 2), box(1, 1, 3, 3), box(0, 0, 1.5, 1.5)]) + + assert g.intersection_all().equals(expected) + + g2 = GeoSeries([box(0, 0, 2, 2), None]) + assert g2.intersection_all().equals(g2[0]) + + g3 = GeoSeries([None, None]) + assert g3.intersection_all().equals(shapely.GeometryCollection()) def test_contains(self): expected = [True, False, True, False, False, False, False] assert_array_dtype_equal(expected, self.g0.contains(self.t1)) expected = [False, True, True, True, True, True, False, False] - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.contains(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.contains(self.g9, align=True)) expected = [False, False, True, False, False, False, False] assert_array_dtype_equal(expected, self.g0.contains(self.g9, align=False)) + def test_contains_properly(self): + expected = [False, False, True, False, False, False, False] + assert_array_dtype_equal(expected, self.g0.contains_properly(Point(0.25, 0.25))) + + expected = [False, False, False, False, False, True, False, False] + assert_array_dtype_equal( + expected, self.g0.contains_properly(self.g9, align=True) + ) + + expected = [False, False, True, False, False, False, False] + assert_array_dtype_equal( + expected, self.g0.contains_properly(self.g9, align=False) + ) + + @pytest.mark.skipif(shapely.geos_version < (3, 10, 0), reason="requires GEOS>=3.10") + def test_dwithin(self): + expected = [True, True, True, False, True, True, False] + assert_array_dtype_equal(expected, self.g0.dwithin(self.p0, 6)) + + expected = [False, True, True, True, True, True, False, False] + assert_array_dtype_equal(expected, self.g0.dwithin(self.g9, 1, align=True)) + expected = [True, True, True, True, False, False, False] + assert_array_dtype_equal(expected, self.g0.dwithin(self.g9, 1, align=False)) + def test_length(self): expected = Series(np.array([2 + np.sqrt(2), 4]), index=self.g1.index) self._test_unary_real("length", expected, self.g1) @@ -511,10 +564,54 @@ class TestGeomMethods: expected = Series(np.array([2 + np.sqrt(2), np.nan]), index=self.na_none.index) self._test_unary_real("length", expected, self.na_none) + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_length_crs_warn(self): with pytest.warns(UserWarning, match="Geometry is in a geographic CRS"): self.g4.length + def test_count_coordinates(self): + expected = Series(np.array([4, 5]), index=self.g1.index) + assert_series_equal(self.g1.count_coordinates(), expected, check_dtype=False) + + expected = Series(np.array([4, 0]), index=self.na_none.index) + assert_series_equal( + self.na_none.count_coordinates(), expected, check_dtype=False + ) + + def test_count_geometries(self): + expected = Series(np.array([4, 2, 1, 1, 0])) + s = GeoSeries( + [ + MultiPoint([(0, 0), (1, 1), (1, -1), (0, 1)]), + MultiLineString([((0, 0), (1, 1)), ((-1, 0), (1, 0))]), + LineString([(0, 0), (1, 1), (1, -1)]), + Point(0, 0), + None, + ] + ) + assert_series_equal(s.count_geometries(), expected, check_dtype=False) + + def test_count_interior_rings(self): + expected = Series(np.array([1, 2, 0, 0])) + s = GeoSeries( + [ + Polygon( + [(0, 0), (0, 5), (5, 5), (5, 0)], + [[(1, 1), (1, 4), (4, 4), (4, 1)]], + ), + Polygon( + [(0, 0), (0, 5), (5, 5), (5, 0)], + [ + [(1, 1), (1, 2), (2, 2), (2, 1)], + [(3, 2), (3, 3), (4, 3), (4, 2)], + ], + ), + Point(0, 1), + None, + ] + ) + assert_series_equal(s.count_interior_rings(), expected, check_dtype=False) + def test_crosses(self): expected = [False, False, False, False, False, False, False] assert_array_dtype_equal(expected, self.g0.crosses(self.t1)) @@ -523,8 +620,7 @@ class TestGeomMethods: assert_array_dtype_equal(expected, self.crossed_lines.crosses(self.l3)) expected = [False] * 8 - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.crosses(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.crosses(self.g9, align=True)) expected = [False] * 7 assert_array_dtype_equal(expected, self.g0.crosses(self.g9, align=False)) @@ -534,8 +630,7 @@ class TestGeomMethods: assert_array_dtype_equal(expected, self.g0.disjoint(self.t1)) expected = [False] * 8 - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.disjoint(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.disjoint(self.g9, align=True)) expected = [False, False, False, False, True, False, False] assert_array_dtype_equal(expected, self.g0.disjoint(self.g9, align=False)) @@ -572,8 +667,7 @@ class TestGeomMethods: index=range(8), ) - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.relate(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.relate(self.g9, align=True)) expected = Series( [ @@ -589,6 +683,31 @@ class TestGeomMethods: ) assert_array_dtype_equal(expected, self.g0.relate(self.g9, align=False)) + def test_relate_pattern(self): + expected = Series([True] * 4 + [False] * 3, index=self.g0.index, dtype=bool) + assert_array_dtype_equal( + expected, self.g0.relate_pattern(self.inner_sq, "2********") + ) + + expected = Series([True, False], index=self.g6.index, dtype=bool) + assert_array_dtype_equal( + expected, self.g6.relate_pattern(self.na_none, "FF0******") + ) + + expected = Series( + [False] + [True] * 5 + [False, False], index=range(8), dtype=bool + ) + with pytest.warns(UserWarning, match="The indices of the left and right"): + assert_array_dtype_equal( + expected, self.g0.relate_pattern(self.g9, "T********", align=None) + ) + expected = Series( + [False] + [True] * 2 + [False] * 4, index=self.g0.index, dtype=bool + ) + assert_array_dtype_equal( + expected, self.g0.relate_pattern(self.g9, "T********", align=False) + ) + def test_distance(self): expected = Series( np.array([np.sqrt((5 - 1) ** 2 + (5 - 1) ** 2), np.nan]), self.na_none.index @@ -599,38 +718,29 @@ class TestGeomMethods: assert_array_dtype_equal(expected, self.g6.distance(self.na_none)) expected = Series(np.array([np.nan, 0, 0, 0, 0, 0, np.nan, np.nan]), range(8)) - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.distance(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.distance(self.g9, align=True)) val = self.g0.iloc[4].distance(self.g9.iloc[4]) expected = Series(np.array([0, 0, 0, 0, val, np.nan, np.nan]), self.g0.index) assert_array_dtype_equal(expected, self.g0.distance(self.g9, align=False)) + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_distance_crs_warning(self): with pytest.warns(UserWarning, match="Geometry is in a geographic CRS"): self.g4.distance(self.p0) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="requires hausdorff_distance in shapely 2.0+", - ) def test_hausdorff_distance(self): # closest point is (0, 0) in self.p1 - expected = Series( - np.array([np.sqrt(5**2 + 5**2), np.nan]), self.na_none.index - ) + expected = Series(np.array([np.sqrt(5**2 + 5**2), np.nan]), self.na_none.index) assert_array_dtype_equal(expected, self.na_none.hausdorff_distance(self.p0)) - expected = Series( - np.array([np.sqrt(5**2 + 5**2), np.nan]), self.na_none.index - ) + expected = Series(np.array([np.sqrt(5**2 + 5**2), np.nan]), self.na_none.index) assert_array_dtype_equal(expected, self.na_none.hausdorff_distance(self.p0)) expected = Series(np.array([np.nan, 0, 0, 0, 0, 0, np.nan, np.nan]), range(8)) - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal( - expected, self.g0.hausdorff_distance(self.g9, align=True) - ) + assert_array_dtype_equal( + expected, self.g0.hausdorff_distance(self.g9, align=True) + ) val_1 = self.g0.iloc[0].hausdorff_distance(self.g9.iloc[0]) val_2 = self.g0.iloc[2].hausdorff_distance(self.g9.iloc[2]) @@ -648,31 +758,17 @@ class TestGeomMethods: ) @pytest.mark.skipif( - (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="hausdorff_distance not implemented for shapely<2", - ) - def test_hausdorff_distance_not(self): - with pytest.raises( - NotImplementedError, match="shapely >= 2.0 or PyGEOS is required" - ): - self.g0.hausdorff_distance(self.g9) - - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="requires frechet_distance in shapely 2.0+", + shapely.geos_version < (3, 10, 0), reason="buggy with GEOS<3.10" ) def test_frechet_distance(self): # closest point is (0, 0) in self.p1 - expected = Series( - np.array([np.sqrt(5**2 + 5**2), np.nan]), self.na_none.index - ) + expected = Series(np.array([np.sqrt(5**2 + 5**2), np.nan]), self.na_none.index) assert_array_dtype_equal(expected, self.na_none.frechet_distance(self.p0)) expected = Series(np.array([np.nan, 0, 0, 0, 0, 0, np.nan, np.nan]), range(8)) - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal( - expected, self.g0.frechet_distance(self.g9, align=True) - ) + assert_array_dtype_equal( + expected, self.g0.frechet_distance(self.g9, align=True) + ) # expected returns val_1 = 1.0 @@ -686,23 +782,11 @@ class TestGeomMethods: expected, self.g0.frechet_distance(self.g9, align=False) ) - expected = Series( - np.array([np.sqrt(100**2 + (100 - 5) ** 2)]), self.g12.index - ) + expected = Series(np.array([np.sqrt(100**2 + (100 - 5) ** 2)]), self.g12.index) assert_array_dtype_equal( expected, self.g12.frechet_distance(self.g13, densify=0.25) ) - @pytest.mark.skipif( - (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="frechet_distance not implemented for shapely<2", - ) - def test_frechet_distance_not(self): - with pytest.raises( - NotImplementedError, match="shapely >= 2.0 or PyGEOS is required" - ): - self.g0.frechet_distance(self.g9) - def test_intersects(self): expected = [True, True, True, True, True, False, False] assert_array_dtype_equal(expected, self.g0.intersects(self.t1)) @@ -720,8 +804,7 @@ class TestGeomMethods: assert_array_dtype_equal(expected, self.g0.intersects(self.empty_poly)) expected = [False, True, True, True, True, True, False, False] - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.intersects(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.intersects(self.g9, align=True)) expected = [True, True, True, True, False, False, False] assert_array_dtype_equal(expected, self.g0.intersects(self.g9, align=False)) @@ -734,8 +817,7 @@ class TestGeomMethods: assert_array_dtype_equal(expected, self.g4.overlaps(self.t1)) expected = [False] * 8 - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.overlaps(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.overlaps(self.g9, align=True)) expected = [False] * 7 assert_array_dtype_equal(expected, self.g0.overlaps(self.g9, align=False)) @@ -745,8 +827,7 @@ class TestGeomMethods: assert_array_dtype_equal(expected, self.g0.touches(self.t1)) expected = [False] * 8 - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.touches(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.touches(self.g9, align=True)) expected = [True, False, False, True, False, False, False] assert_array_dtype_equal(expected, self.g0.touches(self.g9, align=False)) @@ -759,8 +840,7 @@ class TestGeomMethods: assert_array_dtype_equal(expected, self.g0.within(self.sq)) expected = [False, True, True, True, True, True, False, False] - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.within(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.within(self.g9, align=True)) expected = [False, True, False, False, False, False, False] assert_array_dtype_equal(expected, self.g0.within(self.g9, align=False)) @@ -777,8 +857,7 @@ class TestGeomMethods: assert_series_equal(res, exp) expected = [False, True, True, True, True, True, False, False] - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.covers(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.covers(self.g9, align=True)) expected = [False, False, True, False, False, False, False] assert_array_dtype_equal(expected, self.g0.covers(self.g9, align=False)) @@ -788,18 +867,13 @@ class TestGeomMethods: exp = Series([False, False]) assert_series_equal(res, exp) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="covered_by is only implemented for pygeos, not shapely", - ) def test_covered_by(self): res = self.g1.covered_by(self.g1) exp = Series([True, True]) assert_series_equal(res, exp) expected = [False, True, True, True, True, True, False, False] - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_array_dtype_equal(expected, self.g0.covered_by(self.g9, align=True)) + assert_array_dtype_equal(expected, self.g0.covered_by(self.g9, align=True)) expected = [False, True, False, False, False, False, False] assert_array_dtype_equal(expected, self.g0.covered_by(self.g9, align=False)) @@ -808,20 +882,42 @@ class TestGeomMethods: expected = Series(np.array([True] * len(self.g1)), self.g1.index) self._test_unary_real("is_valid", expected, self.g1) + def test_is_valid_reason(self): + expected = Series(np.array(["Valid Geometry"] * len(self.g1)), self.g1.index) + assert_series_equal(self.g1.is_valid_reason(), expected) + + s = GeoSeries( + [ + Polygon([(0, 0), (1, 1), (1, 0), (0, 1)]), # bowtie geometry + Polygon([(0, 0), (1, 1), (1, 1), (0, 1)]), + None, + ] + ) + expected = Series(["Self-intersection[0.5 0.5]", "Valid Geometry", None]) + assert_series_equal(s.is_valid_reason(), expected) + def test_is_empty(self): expected = Series(np.array([False] * len(self.g1)), self.g1.index) self._test_unary_real("is_empty", expected, self.g1) - # for is_ring we raise a warning about the value for Polygon changing - @pytest.mark.filterwarnings("ignore:is_ring:FutureWarning") def test_is_ring(self): - expected = Series(np.array([True] * len(self.g1)), self.g1.index) + expected = Series(np.array([False] * len(self.g1)), self.g1.index) self._test_unary_real("is_ring", expected, self.g1) + expected = Series(np.array([True] * len(self.g1)), self.g1.index) + self._test_unary_real("is_ring", expected, self.g1.exterior) def test_is_simple(self): expected = Series(np.array([True] * len(self.g1)), self.g1.index) self._test_unary_real("is_simple", expected, self.g1) + def test_is_ccw(self): + expected = Series(np.array([False] * len(self.g1)), self.g1.index) + self._test_unary_real("is_ccw", expected, self.g1) + + def test_is_closed(self): + expected = Series(np.array([False, False]), self.g5.index) + self._test_unary_real("is_closed", expected, self.g5) + def test_has_z(self): expected = Series([False, True], self.g_3d.index) self._test_unary_real("has_z", expected, self.g_3d) @@ -866,6 +962,7 @@ class TestGeomMethods: points = GeoSeries([point for i in range(3)]) assert_geoseries_equal(polygons.centroid, points) + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_centroid_crs_warn(self): with pytest.warns(UserWarning, match="Geometry is in a geographic CRS"): self.g4.centroid @@ -899,10 +996,6 @@ class TestGeomMethods: assert_geoseries_equal(result, expected) assert result.is_valid.all() - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason=("reverse is only implemented for pygeos and shapely >= 2.0"), - ) def test_reverse(self): expected = GeoSeries( [ @@ -912,33 +1005,7 @@ class TestGeomMethods: ) assert_geoseries_equal(expected, self.g5.reverse()) - @pytest.mark.skipif( - (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="reverse not implemented for shapely<2", - ) - def test_reverse_not_implemented(self): - with pytest.raises( - NotImplementedError, match="shapely >= 2.0 or PyGEOS is required" - ): - self.g5.reverse() - - @pytest.mark.skipif( - (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="segmentize keyword introduced in shapely 2.0", - ) - def test_segmentize_shapely_pre20(self): - s = GeoSeries([Point(1, 1)]) - with pytest.raises( - NotImplementedError, - match=f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed", - ): - s.segmentize(max_segment_length=1) - - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="segmentize keyword introduced in shapely 2.0", - ) + @pytest.mark.skipif(shapely.geos_version < (3, 10, 0), reason="requires GEOS>=3.10") def test_segmentize_linestrings(self): expected_g1 = GeoSeries( [ @@ -986,46 +1053,56 @@ class TestGeomMethods: assert_geoseries_equal(expected_g1, result_g1) assert_geoseries_equal(expected_g5, result_g5) - @pytest.mark.skipif( - compat.SHAPELY_GE_20, - reason="concave_hull is implemented for shapely >= 2.0", - ) - def test_concave_hull_not_implemented_shapely_pre2(self): + def test_segmentize_wrong_index(self): with pytest.raises( - NotImplementedError, - match=f"shapely >= 2.0 is required, " - f"version {shapely.__version__} is installed", + ValueError, + match="Index of the Series passed as 'max_segment_length' does not match", ): - self.squares.concave_hull() + self.g1.segmentize(max_segment_length=Series([0.5, 0.5], index=[99, 98])) - @pytest.mark.skipif( - not (compat.USE_PYGEOS and compat.SHAPELY_GE_20), - reason="concave_hull is only implemented for shapely >= 2.0", - ) - def test_concave_hull_pygeos_set_shapely_installed(self): - expected = GeoSeries( + def test_transform(self): + # Test 2D + test_2d = GeoSeries( + [LineString([(2, 2), (4, 4)]), Polygon([(0, 0), (1, 1), (0, 1)])] + ) + expected_2d = GeoSeries( + [LineString([(4, 6), (8, 12)]), Polygon([(0, 0), (2, 3), (0, 3)])] + ) + result_2d = test_2d.transform(lambda x: x * [2, 3]) + assert_geoseries_equal(expected_2d, result_2d) + # Test 3D + test_3d = GeoSeries( [ - Polygon([(0, 1), (1, 1), (0, 0), (0, 1)]), - Polygon([(1, 0), (0, 0), (0, 1), (1, 1), (1, 0)]), + Point(0, 0, 0), + LineString([(2, 2, 2), (4, 4, 4)]), + Polygon([(0, 0, 0), (1, 1, 1), (0, 1, 0.5)]), ] ) - with pytest.warns( - UserWarning, - match="PyGEOS does not support concave_hull, and Shapely >= 2 is installed", - ): - assert_geoseries_equal(expected, self.g5.concave_hull()) + expected_3d = GeoSeries( + [ + Point(1, 1, 1), + LineString([(3, 3, 3), (5, 5, 5)]), + Polygon([(1, 1, 1), (2, 2, 2), (1, 2, 1.5)]), + ] + ) + result_3d = test_3d.transform(lambda x: x + 1, include_z=True) + assert_geoseries_equal(expected_3d, result_3d) + # Test 3D as 2D transformation + expected_3d_to_2d = GeoSeries( + [ + Point(1, 1), + LineString([(3, 3), (5, 5)]), + Polygon([(1, 1), (2, 2), (1, 2)]), + ] + ) + result_3d_to_2d = test_3d.transform(lambda x: x + 1, include_z=False) + assert_geoseries_equal(expected_3d_to_2d, result_3d_to_2d) - @pytest.mark.skipif( - not compat.USE_SHAPELY_20, - reason="concave_hull is only implemented for shapely >= 2.0", - ) + @pytest.mark.skipif(shapely.geos_version < (3, 11, 0), reason="requires GEOS>=3.11") def test_concave_hull(self): assert_geoseries_equal(self.squares, self.squares.concave_hull()) - @pytest.mark.skipif( - not compat.USE_SHAPELY_20, - reason="concave_hull is only implemented for shapely >= 2.0", - ) + @pytest.mark.skipif(shapely.geos_version < (3, 11, 0), reason="requires GEOS>=3.11") @pytest.mark.parametrize( "expected_series,ratio", [ @@ -1038,52 +1115,85 @@ class TestGeomMethods: s = GeoSeries(MultiPoint([(0, 0), (0, 3), (1, 1), (3, 0), (3, 3)])) assert_geoseries_equal(expected, s.concave_hull(ratio=ratio)) + def test_concave_hull_wrong_index(self): + with pytest.raises( + ValueError, match="Index of the Series passed as 'ratio' does not match" + ): + self.g1.concave_hull(ratio=Series([0.0, 1.0], index=[99, 98])) + + with pytest.raises( + ValueError, + match="Index of the Series passed as 'allow_holes' does not match", + ): + self.g1.concave_hull( + ratio=0.1, allow_holes=Series([True, False], index=[99, 98]) + ) + def test_convex_hull(self): # the convex hull of a square should be the same as the square assert_geoseries_equal(self.squares, self.squares.convex_hull) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="delaunay_triangles not implemented for shapely<2", - ) def test_delaunay_triangles(self): expected = GeoSeries( [ - GeometryCollection([Polygon([(0, 0), (1, 0), (1, 1), (0, 0)])]), - GeometryCollection([Polygon([(0, 1), (0, 0), (1, 1), (0, 1)])]), + Polygon([(0, 1), (0, 0), (1, 0), (0, 1)]), + Polygon([(0, 1), (1, 0), (1, 1), (0, 1)]), ] ) - dlt = self.g3.delaunay_triangles() - assert isinstance(dlt, GeoSeries) - assert_series_equal(expected, dlt) + dlt = self.g5.delaunay_triangles() + assert_geoseries_equal(expected, dlt) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="delaunay_triangles not implemented for shapely<2", - ) def test_delaunay_triangles_pass_kwargs(self): expected = GeoSeries( [ - MultiLineString([[(0, 0), (1, 1)], [(0, 0), (1, 0)], [(1, 0), (1, 1)]]), - MultiLineString([[(0, 1), (1, 1)], [(0, 0), (0, 1)], [(0, 0), (1, 1)]]), - ] + LineString([(0, 1), (1, 1)]), + LineString([(0, 0), (0, 1)]), + LineString([(0, 0), (1, 0)]), + LineString([(1, 0), (1, 1)]), + LineString([(0, 1), (1, 0)]), + ], ) - dlt = self.g3.delaunay_triangles(only_edges=True) - assert isinstance(dlt, GeoSeries) - assert_series_equal(expected, dlt) + dlt = self.g5.delaunay_triangles(only_edges=True) + assert_geoseries_equal(expected, dlt) - @pytest.mark.skipif( - compat.USE_PYGEOS or compat.USE_SHAPELY_20, - reason="delaunay_triangles implemented for shapely>2", - ) - def test_delaunay_triangles_shapely_pre20(self): - s = GeoSeries([Point(1, 1)]) - with pytest.raises( - NotImplementedError, - match=f"shapely >= 2.0 or PyGEOS is required, " - f"version {shapely.__version__} is installed", - ): - s.delaunay_triangles() + def test_voronoi_polygons(self): + expected = GeoSeries.from_wkt( + [ + "POLYGON ((2 2, 2 0.5, 0.5 0.5, 0.5 2, 2 2))", + "POLYGON ((-1 2, 0.5 2, 0.5 0.5, -1 0.5, -1 2))", + "POLYGON ((-1 -1, -1 0.5, 0.5 0.5, 0.5 -1, -1 -1))", + "POLYGON ((2 -1, 0.5 -1, 0.5 0.5, 2 0.5, 2 -1))", + ], + crs=self.g1.crs, + ) + vp = self.g1.voronoi_polygons() + assert_geoseries_equal(expected, vp) + + def test_voronoi_polygons_only_edges(self): + expected = GeoSeries.from_wkt( + [ + "LINESTRING (0.5 0.5, 0.5 2)", + "LINESTRING (2 0.5, 0.5 0.5)", + "LINESTRING (0.5 0.5, -1 0.5)", + "LINESTRING (0.5 0.5, 0.5 -1)", + ], + crs=self.g1.crs, + ) + vp = self.g1.voronoi_polygons(only_edges=True) + assert_geoseries_equal(expected, vp, check_less_precise=True) + + def test_voronoi_polygons_extend_to(self): + expected = GeoSeries.from_wkt( + [ + "POLYGON ((3 3, 3 0.5, 0.5 0.5, 0.5 3, 3 3))", + "POLYGON ((-2 3, 0.5 3, 0.5 0.5, -2 0.5, -2 3))", + "POLYGON ((-2 -1, -2 0.5, 0.5 0.5, 0.5 -1, -2 -1))", + "POLYGON ((3 -1, 0.5 -1, 0.5 0.5, 3 0.5, 3 -1))", + ], + crs=self.g1.crs, + ) + vp = self.g1.voronoi_polygons(extend_to=box(-2, 0, 3, 3)) + assert_geoseries_equal(expected, vp) def test_exterior(self): exp_exterior = GeoSeries([LinearRing(p.boundary) for p in self.g3]) @@ -1100,6 +1210,10 @@ class TestGeomMethods: expected = LinearRing(self.inner_sq.boundary) assert original.interiors[1][0].equals(expected) + no_interiors = GeoSeries([self.t1, self.sq]) + assert no_interiors.interiors[0] == [] + assert no_interiors.interiors[1] == [] + def test_interpolate(self): expected = GeoSeries([Point(0.5, 1.0), Point(0.75, 1.0)]) self._test_binary_topological( @@ -1127,9 +1241,12 @@ class TestGeomMethods: def test_interpolate_distance_wrong_index(self): distances = Series([1, 2], index=[99, 98]) - with pytest.raises(ValueError): + with pytest.raises( + ValueError, match="Index of the Series passed as 'distance' does not match" + ): self.g5.interpolate(distances) + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_interpolate_crs_warning(self): g5_crs = self.g5.copy() g5_crs.crs = 4326 @@ -1146,8 +1263,7 @@ class TestGeomMethods: s = GeoSeries([Point(2, 2), Point(0.5, 0.5)], index=[1, 2]) expected = Series([np.nan, 2.0, np.nan]) - with pytest.warns(UserWarning, match="The indices .+ different"): - assert_series_equal(self.g5.project(s), expected) + assert_series_equal(self.g5.project(s, align=True), expected) expected = Series([2.0, 0.5], index=self.g5.index) assert_series_equal(self.g5.project(s, align=False), expected) @@ -1247,10 +1363,23 @@ class TestGeomMethods: with pytest.raises(ValueError): original.buffer(distances) + def test_buffer_distance_series(self): + original = GeoSeries([self.p0, self.p0]) + expected = GeoSeries( + [ + Polygon(((6, 5), (5, 4), (4, 5), (5, 6), (6, 5))), + Polygon(((10, 5), (5, 0), (0, 5), (5, 10), (10, 5))), + ] + ) + calculated = original.buffer(Series([1, 5]), resolution=1) + assert_geoseries_equal(calculated, expected, check_less_precise=True) + def test_buffer_distance_wrong_index(self): original = GeoSeries([self.p0, self.p0], index=[0, 1]) distances = Series(data=[1, 2], index=[99, 98]) - with pytest.raises(ValueError): + with pytest.raises( + ValueError, match="Index of the Series passed as 'distance' does not match" + ): original.buffer(distances) def test_buffer_empty_none(self): @@ -1262,6 +1391,7 @@ class TestGeomMethods: result = s.buffer(np.array([0, 0, 0])) assert_geoseries_equal(result, s) + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_buffer_crs_warn(self): with pytest.warns(UserWarning, match="Geometry is in a geographic CRS"): self.g4.buffer(1) @@ -1273,6 +1403,17 @@ class TestGeomMethods: for r in record: assert "Geometry is in a geographic CRS." not in str(r.message) + def test_simplify(self): + s = GeoSeries([shapely.LineString([(0, 0), (1, 0.1), (2, 0)])]) + e = GeoSeries([shapely.LineString([(0, 0), (2, 0)])]) + assert_geoseries_equal(s.simplify(0.2), e) + + def test_simplify_wrong_index(self): + with pytest.raises( + ValueError, match="Index of the Series passed as 'tolerance' does not match" + ): + self.g1.simplify(Series([0.1], index=[99])) + def test_envelope(self): e = self.g3.envelope assert np.all(e.geom_equals(self.sq)) @@ -1286,42 +1427,23 @@ class TestGeomMethods: [ "POLYGON ((0 0, 0 1, 1 1, 1 0, 0 0))", "POLYGON ((2 0, 2 3, 3 3, 3 0, 2 0))", - ] + ], + crs=3857, ) assert np.all(r.normalize().geom_equals_exact(exp, 0.001)) assert isinstance(r, GeoSeries) assert s.crs == r.crs - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason=( - "extract_unique_points is only implemented for pygeos and shapely >= 2.0" - ), - ) def test_extract_unique_points(self): eup = GeoSeries([self.t6]).extract_unique_points() expected = GeoSeries([MultiPoint([(2, 0), (3, 0)])]) assert_series_equal(eup, expected) - @pytest.mark.skipif( - (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="extract_unique_points not implemented for shapely<2", - ) - def test_extract_unique_points_not_implemented(self): - with pytest.raises( - NotImplementedError, match="shapely >= 2.0 or PyGEOS is required" - ): - self.g1.extract_unique_points() - - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="minimum_bounding_circle is only implemented for pygeos, not shapely", - ) def test_minimum_bounding_circle(self): mbc = self.g1.minimum_bounding_circle() centers = GeoSeries([Point(0.5, 0.5)] * 2) - assert np.all(mbc.centroid.geom_almost_equals(centers, 0.001)) + assert np.all(mbc.centroid.geom_equals_exact(centers, 0.001)) assert_series_equal( mbc.area, Series([1.560723, 1.560723]), @@ -1352,8 +1474,7 @@ class TestGeomMethods: index=MultiIndex.from_tuples(index, names=expected_index_name), crs=4326, ) - with pytest.warns(FutureWarning, match="Currently, index_parts defaults"): - assert_geoseries_equal(expected, s.explode()) + assert_geoseries_equal(expected, s.explode(index_parts=True)) @pytest.mark.parametrize("index_name", [None, "test"]) def test_explode_geodataframe(self, index_name): @@ -1361,8 +1482,7 @@ class TestGeomMethods: df = GeoDataFrame({"col": [1, 2], "geometry": s}) df.index.name = index_name - with pytest.warns(FutureWarning, match="Currently, index_parts defaults"): - test_df = df.explode() + test_df = df.explode(index_parts=True) expected_s = GeoSeries([Point(1, 2), Point(2, 3), Point(5, 5)]) expected_df = GeoDataFrame({"col": [1, 1, 2], "geometry": expected_s}) @@ -1692,51 +1812,6 @@ class TestGeomMethods: assert test_df.geometry.name == test_df._geometry_column_name assert "geometry" in test_df.columns - # - # Test '&', '|', '^', and '-' - # - def test_intersection_operator(self): - with pytest.warns(FutureWarning): - self._test_binary_operator("__and__", self.t1, self.g1, self.g2) - with pytest.warns(FutureWarning): - self._test_binary_operator("__and__", self.t1, self.gdf1, self.g2) - - def test_union_operator(self): - with pytest.warns(FutureWarning): - self._test_binary_operator("__or__", self.sq, self.g1, self.g2) - with pytest.warns(FutureWarning): - self._test_binary_operator("__or__", self.sq, self.gdf1, self.g2) - - def test_union_operator_polygon(self): - with pytest.warns(FutureWarning): - self._test_binary_operator("__or__", self.sq, self.g1, self.t2) - with pytest.warns(FutureWarning): - self._test_binary_operator("__or__", self.sq, self.gdf1, self.t2) - - def test_symmetric_difference_operator(self): - with pytest.warns(FutureWarning): - self._test_binary_operator("__xor__", self.sq, self.g3, self.g4) - with pytest.warns(FutureWarning): - self._test_binary_operator("__xor__", self.sq, self.gdf3, self.g4) - - def test_difference_series2(self): - expected = GeoSeries([GeometryCollection(), self.t2]) - with pytest.warns(FutureWarning): - self._test_binary_operator("__sub__", expected, self.g1, self.g2) - with pytest.warns(FutureWarning): - self._test_binary_operator("__sub__", expected, self.gdf1, self.g2) - - def test_difference_poly2(self): - expected = GeoSeries([self.t1, self.t1]) - with pytest.warns(FutureWarning): - self._test_binary_operator("__sub__", expected, self.g1, self.t2) - with pytest.warns(FutureWarning): - self._test_binary_operator("__sub__", expected, self.gdf1, self.t2) - - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="get_coordinates not implemented for shapely<2", - ) def test_get_coordinates(self): expected = DataFrame( data=self.expected_2d, @@ -1745,10 +1820,6 @@ class TestGeomMethods: ) assert_frame_equal(self.g11.get_coordinates(), expected) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="get_coordinates not implemented for shapely<2", - ) def test_get_coordinates_z(self): expected = DataFrame( data=self.expected_3d, @@ -1757,10 +1828,6 @@ class TestGeomMethods: ) assert_frame_equal(self.g11.get_coordinates(include_z=True), expected) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="get_coordinates not implemented for shapely<2", - ) def test_get_coordinates_ignore(self): expected = DataFrame( data=self.expected_2d, @@ -1768,10 +1835,6 @@ class TestGeomMethods: ) assert_frame_equal(self.g11.get_coordinates(ignore_index=True), expected) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="get_coordinates not implemented for shapely<2", - ) def test_get_coordinates_parts(self): expected = DataFrame( data=self.expected_2d, @@ -1796,20 +1859,6 @@ class TestGeomMethods: ) assert_frame_equal(self.g11.get_coordinates(index_parts=True), expected) - @pytest.mark.skipif( - (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="get_coordinates not implemented for shapely<2", - ) - def test_get_coordinates_not(self): - with pytest.raises( - NotImplementedError, match="shapely >= 2.0 or PyGEOS are required" - ): - self.g11.get_coordinates() - - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="minimum_bounding_radius not implemented for shapely<2", - ) def test_minimum_bounding_radius(self): mbr_geoms = self.g1.minimum_bounding_radius() @@ -1825,20 +1874,21 @@ class TestGeomMethods: Series([0.707106, 0.707106]), ) - @pytest.mark.skipif( - (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="minimum_bounding_radius not implemented for shapely<2", - ) - def test_minimium_bounding_radius_not(self): - with pytest.raises( - NotImplementedError, match="shapely >= 2.0 or PyGEOS is required" - ): - self.g1.minimum_bounding_radius() + def test_minimum_clearance(self): + mc_geoms = self.g1.minimum_clearance() + + assert_series_equal( + mc_geoms, + Series([0.707107, 1.000000]), + ) + + mc_lines = self.g5.minimum_clearance() + + assert_series_equal( + mc_lines, + Series([1.0, 1.0]), + ) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="array input in interpolate is not implemented for shapely<2", - ) @pytest.mark.parametrize("size", [10, 20, 50]) def test_sample_points(self, size): for gs in ( @@ -1856,10 +1906,6 @@ class TestGeomMethods: with pytest.warns(FutureWarning, match="The 'seed' keyword is deprecated"): _ = gs.sample_points(size, seed=1) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="array input in interpolate is not implemented for shapely<2", - ) def test_sample_points_array(self): output = concat([self.g1, self.g1]).sample_points([10, 15, 20, 25]) expected = Series( @@ -1867,10 +1913,6 @@ class TestGeomMethods: ) assert_series_equal(shapely.get_num_geometries(output), expected) - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="get_coordinates not implemented for shapely<2", - ) @pytest.mark.parametrize("size", [10, 20, 50]) def test_sample_points_pointpats(self, size): pytest.importorskip("pointpats") @@ -1888,46 +1930,74 @@ class TestGeomMethods: with pytest.raises(AttributeError, match="pointpats.random module has no"): gs.sample_points(10, method="nonexistent") - @pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="offset_curve is only implemented for pygeos, not shapely", - ) def test_offset_curve(self): oc = GeoSeries([self.l1]).offset_curve(1, join_style="mitre") expected = GeoSeries([LineString([[-1, 0], [-1, 2], [1, 2]])]) assert_geoseries_equal(expected, oc) assert isinstance(oc, GeoSeries) - @pytest.mark.skipif( - compat.SHAPELY_GE_20, - reason="remove_repeated_points is implemented for shapely >= 2.0", - ) - def test_remove_repeated_points_not_implemented_shapely_pre2(self): + def test_offset_curve_wrong_index(self): with pytest.raises( - NotImplementedError, - match=f"shapely >= 2.0 is required, " - f"version {shapely.__version__} is installed", + ValueError, match="Index of the Series passed as 'distance' does not match" ): - self.squares.remove_repeated_points() + GeoSeries([self.l1]).offset_curve(Series([1], index=[99])) - @pytest.mark.skipif( - not (compat.USE_PYGEOS and compat.SHAPELY_GE_20), - reason="remove_repeated_points is only implemented for shapely >= 2.0", - ) - def test_remove_repeated_points_pygeos_set_shapely_installed(self): - with pytest.warns( - UserWarning, - match=( - "PyGEOS does not support remove_repeated_points, " - "and Shapely >= 2 is installed" - ), - ): - self.g1.remove_repeated_points() + def test_polygonize(self): + expected = GeoSeries.from_wkt( + [ + "POLYGON ((0 0, 0.5 0.5, 0.5 0, 0 0))", + "POLYGON ((0.5 0.5, 0 0, 0 1, 0.5 1, 0.5 0.5))", + "POLYGON ((0.5 0.5, 1 1, 1 0, 0.5 0, 0.5 0.5))", + "POLYGON ((1 1, 0.5 0.5, 0.5 1, 1 1))", + ], + name="polygons", + crs=4326, + ) - @pytest.mark.skipif( - not compat.USE_SHAPELY_20, - reason="remove_repeated_points is only implemented for shapely >= 2.0", - ) + result = self.lines.polygonize() + assert_geoseries_equal(expected, result) + assert_index_equal(self.lines.index, Index(range(2, 10))) + + def test_polygonize_no_node(self): + expected = GeoSeries.from_wkt( + ["POLYGON ((0 0, 1 1, 1 0, 0 0))", "POLYGON ((1 1, 0 0, 0 1, 1 1))"], + name="polygons", + crs=4326, + ) + result = self.lines.polygonize(node=False) + assert_geoseries_equal(expected, result) + assert_index_equal(self.lines.index, Index(range(2, 10))) + + def test_polygonize_full(self): + expected_poly = GeoSeries.from_wkt( + [ + "POLYGON ((0 0, 0.5 0.5, 0.5 0, 0 0))", + "POLYGON ((0.5 0.5, 0 0, 0 1, 0.5 1, 0.5 0.5))", + "POLYGON ((0.5 0.5, 1 1, 1 0, 0.5 0, 0.5 0.5))", + "POLYGON ((1 1, 0.5 0.5, 0.5 1, 1 1))", + ], + name="polygons", + crs=4326, + ) + expected_cuts = GeoSeries([], name="cut edges", crs=4326) + expected_dangles = GeoSeries.from_wkt( + [ + "LINESTRING (5 5, 6 6)", + "LINESTRING (0.5 1, 0.5 2)", + "LINESTRING (0.5 -1, 0.5 0)", + ], + name="dangles", + crs=4326, + ) + expected_invalid = GeoSeries([], name="invalid ring lines", crs=4326) + result = self.lines.polygonize(full=True) + assert_geoseries_equal(expected_poly, result[0]) + assert_geoseries_equal(expected_cuts, result[1]) + assert_geoseries_equal(expected_dangles, result[2]) + assert_geoseries_equal(expected_invalid, result[3]) + assert_index_equal(self.lines.index, Index(range(2, 10))) + + @pytest.mark.skipif(shapely.geos_version < (3, 11, 0), reason="requires GEOS>=3.11") @pytest.mark.parametrize( "geom,expected", [ @@ -1943,3 +2013,308 @@ class TestGeomMethods: ) def test_remove_repeated_points(self, geom, expected): assert_geoseries_equal(expected, geom.remove_repeated_points(tolerance=0.0)) + + def test_remove_repeated_points_wrong_index(self): + with pytest.raises( + ValueError, match="Index of the Series passed as 'tolerance' does not match" + ): + GeoSeries([self.l1]).remove_repeated_points(Series([1], index=[99])) + + def test_force_2d(self): + expected = GeoSeries( + [ + Point(-73.9847, 40.7484), + Point(-74.0446, 40.6893), + self.pt2d, + self.pt_empty, + ], + crs=4326, + ) + assert_geoseries_equal(expected, self.landmarks_mixed_empty.force_2d()) + + def test_force_3d(self): + expected = GeoSeries( + [ + self.esb, + self.sol, + Point(-73.9847, 40.7484, 0), + self.pt_empty, + ], + crs=4326, + ) + assert_geoseries_equal(expected, self.landmarks_mixed_empty.force_3d()) + + expected = GeoSeries( + [ + self.esb, + self.sol, + Point(-73.9847, 40.7484, 2), + self.pt_empty, + ], + crs=4326, + ) + assert_geoseries_equal(expected, self.landmarks_mixed_empty.force_3d(2)) + + expected = GeoSeries( + [ + Polygon([(0, 0, 1), (1, 0, 1), (1, 1, 1), (0, 0, 1)]), + Polygon([(0, 0, 2), (1, 0, 2), (1, 1, 2), (0, 1, 2), (0, 0, 2)]), + ], + ) + assert_geoseries_equal(expected, self.g1.force_3d([1, 2])) + + def test_shared_paths(self): + line = LineString([(0, 0), (0.5, 0.5), (0, 1)]) + expected = GeoSeries.from_wkt( + [ + "GEOMETRYCOLLECTION (MULTILINESTRING ((0 0, 0.5 0.5))," + " MULTILINESTRING EMPTY)", + "GEOMETRYCOLLECTION (MULTILINESTRING EMPTY," + " MULTILINESTRING ((0 1, 0.5 0.5)))", + ] + ) + assert_geoseries_equal(expected, self.crossed_lines.shared_paths(line)) + + s2 = GeoSeries( + [ + LineString([(0, 0), (0.5, 0.5), (1, 0), (1, 1), (0.9, 0.9)]), + LineString([(1, 1), (0, 1), (1, 0)]), + ], + index=[1, 2], + ) + expected = GeoSeries.from_wkt( + [ + None, + "GEOMETRYCOLLECTION (MULTILINESTRING ((0.5 0.5, 1 0))," + " MULTILINESTRING EMPTY)", + None, + ] + ) + + with pytest.warns( + UserWarning, + match="The indices of the left and right GeoSeries' are not equal", + ): + assert_geoseries_equal( + self.crossed_lines.shared_paths(s2, align=None), expected + ) + + expected = GeoSeries.from_wkt( + [ + "GEOMETRYCOLLECTION (MULTILINESTRING ((0 0, 0.5 0.5))," + " MULTILINESTRING ((0.9 0.9, 1 1)))", + "GEOMETRYCOLLECTION (MULTILINESTRING ((0 1, 1 0))," + " MULTILINESTRING EMPTY)", + ] + ) + assert_geoseries_equal( + self.crossed_lines.shared_paths(s2, align=False), expected + ) + + def test_force_3d_wrong_index(self): + with pytest.raises( + ValueError, match="Index of the Series passed as 'z' does not match" + ): + self.g1.force_3d(Series([1], index=[99])) + + def test_line_merge(self): + expected = GeoSeries( + [ + LineString([(0, 2), (0, 10), (5, 10)]), + MultiLineString([[(0, 2), (0, 10)], [(0, 11), (5, 10)]]), + GeometryCollection(), + LineString([(0, 0), (1, 0), (3, 0)]), + GeometryCollection(), + ], + crs=4326, + index=range(2, 7), + ) + assert_geoseries_equal(expected, self.g14.line_merge()) + + @pytest.mark.skipif(shapely.geos_version < (3, 11, 0), reason="requires GEOS>=3.11") + def test_line_merge_directed(self): + expected = GeoSeries( + [ + LineString([(0, 2), (0, 10), (5, 10)]), + MultiLineString([[(0, 2), (0, 10)], [(0, 11), (5, 10)]]), + GeometryCollection(), + MultiLineString([[(0, 0), (1, 0)], [(0, 0), (3, 0)]]), + GeometryCollection(), + ], + crs=4326, + index=range(2, 7), + ) + assert_geoseries_equal(expected, self.g14.line_merge(directed=True)) + + @pytest.mark.skipif( + shapely.geos_version < (3, 11, 0), reason="different order in GEOS<3.11" + ) + def test_build_area(self): + # test with polgon in it + s = GeoSeries.from_wkt( + [ + "LINESTRING (18 4, 4 2, 2 9)", + "LINESTRING (18 4, 16 16)", + "LINESTRING (16 16, 8 19, 8 12, 2 9)", + "LINESTRING (8 6, 12 13, 15 8)", + "LINESTRING (8 6, 15 8)", + "LINESTRING (0 0, 0 3, 3 3, 3 0, 0 0)", + "POLYGON ((1 1, 2 2, 1 2, 1 1))", + "LINESTRING (10 7, 13 8, 12 10, 10 7)", + ], + crs=4326, + ) + + expected = GeoSeries.from_wkt( + [ + "POLYGON ((0 3, 3 3, 3 0, 0 0, 0 3), (2 2, 1 2, 1 1, 2 2))", + "POLYGON ((13 8, 10 7, 12 10, 13 8))", + "POLYGON ((2 9, 8 12, 8 19, 16 16, 18 4, 4 2, 2 9), " + "(8 6, 15 8, 12 13, 8 6))", + ], + crs=4326, + name="polygons", + ) + assert_geoseries_equal(expected, s.build_area()) + + # test difference caused by nodign + s2 = GeoSeries.from_wkt( + [ + "LINESTRING (8 6, 12 13, 15 8)", + "LINESTRING (8 6, 15 8)", + "LINESTRING (0 0, 0 15, 12 15, 12 0, 0 0)", + "LINESTRING (10 7, 13 8, 12 10, 10 7)", + ], + crs=4326, + ) + + noded = GeoSeries.from_wkt( + ["POLYGON ((12 0, 0 0, 0 15, 12 15, 12 13, 15 8, 12 7.142857, 12 0))"], + crs=4326, + name="polygons", + ) + assert_geoseries_equal(noded, s2.build_area(node=True), check_less_precise=True) + + non_noded = GeoSeries.from_wkt( + [ + "POLYGON ((0 15, 12 15, 12 13, 15 8, 12 7.142857, 12 0, 0 0, 0 15), " + "(12 7.666667, 13 8, 12 10, 12 7.666667))" + ], + crs=4326, + name="polygons", + ) + assert_geoseries_equal( + non_noded, s2.build_area(node=False), check_less_precise=True + ) + + @pytest.mark.skipif( + shapely.geos_version < (3, 9, 5), reason="Empty geom bug in GEOS<3.9.5" + ) + def test_set_precision(self): + expected = GeoSeries( + [ + Point(-74, 41, 30.3244), + Point(-74, 41, 31.2344), + Point(-74, 41), + self.pt_empty, + ], + crs=4326, + ) + assert_geoseries_equal(expected, self.landmarks_mixed_empty.set_precision(1)) + + s = GeoSeries( + [ + LineString([(0, 0), (0, 0.1), (0, 1), (1, 1)]), + LineString([(0, 0), (0, 0.1), (0.1, 0.1)]), + ], + ) + expected = GeoSeries( + [ + LineString([(0, 0), (0, 1), (1, 1)]), + LineString(), + ], + ) + assert_geoseries_equal(expected, s.set_precision(1)) + + expected = GeoSeries( + [ + LineString([(0, 0), (0, 0), (0, 1), (1, 1)]), + LineString([(0, 0), (0, 0), (0, 0)]), + ] + ) + assert_series_equal( + expected.to_wkt(), s.set_precision(1, mode="pointwise").to_wkt() + ) + + expected = GeoSeries( + [ + LineString([(0, 0), (0, 1), (1, 1)]), + LineString([(0, 0), (0, 0)]), + ] + ) + assert_series_equal( + expected.to_wkt(), s.set_precision(1, mode="keep_collapsed").to_wkt() + ) + + def test_get_precision(self): + expected = Series([0.0, 0.0, 0.0, 0.0], index=self.landmarks_mixed_empty.index) + assert_series_equal(expected, self.landmarks_mixed_empty.get_precision()) + with_precision = self.landmarks_mixed_empty.set_precision(1) + expected = Series([1.0, 1.0, 1.0, 1.0], index=with_precision.index) + assert_series_equal(expected, with_precision.get_precision()) + mixed = concat([self.landmarks_mixed_empty, with_precision]) + expected = Series([0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 1.0], index=mixed.index) + assert_series_equal(expected, mixed.get_precision()) + + def test_get_geometry(self): + expected = GeoSeries( + [ + LineString([(0, 2), (0, 10)]), + LineString([(0, 2), (0, 10)]), + None, + LineString([(0, 0), (1, 0)]), + Point(0, 0), + ], + index=range(2, 7), + crs=4326, + ) + assert_series_equal(expected, self.g14.get_geometry(0)) + + expected = GeoSeries( + [ + LineString([(0, 10), (5, 10)]), + LineString([(0, 11), (5, 10)]), + None, + LineString([(0, 0), (3, 0)]), + None, + ], + index=range(2, 7), + crs=4326, + ) + assert_series_equal(expected, self.g14.get_geometry(1)) + + expected = GeoSeries( + [ + LineString([(0, 10), (5, 10)]), + LineString([(0, 11), (5, 10)]), + None, + LineString([(0, 0), (3, 0)]), + Point(0, 0), + ], + index=range(2, 7), + crs=4326, + ) + assert_series_equal(expected, self.g14.get_geometry(-1)) + + expected = GeoSeries( + [ + LineString([(0, 2), (0, 10)]), + LineString([(0, 11), (5, 10)]), + None, + LineString([(0, 0), (3, 0)]), + Point(0, 0), + ], + index=range(2, 7), + crs=4326, + ) + assert_series_equal(expected, self.g14.get_geometry([0, 1, 1, -1, 0])) diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_geoseries.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_geoseries.py index 9b7d1290..39590176 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_geoseries.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_geoseries.py @@ -1,17 +1,13 @@ import json import os import random -import re import shutil import tempfile import warnings import numpy as np -from numpy.testing import assert_array_equal import pandas as pd -from pandas.testing import assert_index_equal -from pyproj import CRS from shapely.geometry import ( GeometryCollection, LineString, @@ -23,14 +19,15 @@ from shapely.geometry import ( ) from shapely.geometry.base import BaseGeometry -from geopandas import GeoSeries, GeoDataFrame, read_file, datasets, clip -from geopandas._compat import ignore_shapely2_warnings +import geopandas._compat as compat +from geopandas import GeoDataFrame, GeoSeries, clip, read_file from geopandas.array import GeometryArray, GeometryDtype -from geopandas.testing import assert_geoseries_equal, geom_almost_equals -from geopandas.tests.util import geom_equals -from pandas.testing import assert_series_equal import pytest +from geopandas.testing import assert_geoseries_equal, geom_almost_equals +from geopandas.tests.util import geom_equals +from numpy.testing import assert_array_equal +from pandas.testing import assert_index_equal, assert_series_equal class TestSeries: @@ -41,8 +38,7 @@ class TestSeries: self.sq = Polygon([(0, 0), (1, 0), (1, 1), (0, 1)]) self.g1 = GeoSeries([self.t1, self.sq]) self.g2 = GeoSeries([self.sq, self.t1]) - self.g3 = GeoSeries([self.t1, self.t2]) - self.g3.crs = "epsg:4326" + self.g3 = GeoSeries([self.t1, self.t2], crs="epsg:4326") self.g4 = GeoSeries([self.t2, self.t1]) self.na = GeoSeries([self.t1, self.t2, Polygon()]) self.na_none = GeoSeries([self.t1, self.t2, None]) @@ -56,6 +52,9 @@ class TestSeries: self.l1 = LineString([(0, 0), (0, 1), (1, 1)]) self.l2 = LineString([(0, 0), (1, 0), (1, 1), (0, 1)]) self.g5 = GeoSeries([self.l1, self.l2]) + self.esb3857 = Point(-8235939.130493107, 4975301.253789809) + self.sol3857 = Point(-8242607.167991625, 4966620.938285081) + self.landmarks3857 = GeoSeries([self.esb3857, self.sol3857], crs="epsg:3857") def teardown_method(self): shutil.rmtree(self.tempdir) @@ -82,18 +81,16 @@ class TestSeries: assert a1["B"].equals(a2["B"]) assert a1["C"] is None + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") def test_align_crs(self): - a1 = self.a1 - a1.crs = "epsg:4326" - a2 = self.a2 - a2.crs = "epsg:31370" + a1 = self.a1.set_crs("epsg:4326") + a2 = self.a2.set_crs("epsg:31370") res1, res2 = a1.align(a2) assert res1.crs == "epsg:4326" assert res2.crs == "epsg:31370" - a2.crs = None - res1, res2 = a1.align(a2) + res1, res2 = a1.align(a2.set_crs(None, allow_override=True)) assert res1.crs == "epsg:4326" assert res2.crs is None @@ -110,11 +107,11 @@ class TestSeries: # Test that warning is issued when operating on non-aligned series # _series_op - with pytest.warns(UserWarning, match="The indices .+ different"): + with pytest.warns(UserWarning, match="The indices .+ not equal"): self.a1.contains(self.a2) # _geo_op - with pytest.warns(UserWarning, match="The indices .+ different"): + with pytest.warns(UserWarning, match="The indices .+ not equal"): self.a1.union(self.a2) def test_no_warning_if_aligned(self): @@ -136,8 +133,7 @@ class TestSeries: assert_array_equal(self.g1.geom_equals(self.sq), [False, True]) def test_geom_equals_align(self): - with pytest.warns(UserWarning, match="The indices .+ different"): - a = self.a1.geom_equals(self.a2, align=True) + a = self.a1.geom_equals(self.a2, align=True) exp = pd.Series([False, True, False], index=["A", "B", "C"]) assert_series_equal(a, exp) @@ -145,27 +141,39 @@ class TestSeries: exp = pd.Series([False, False], index=["A", "B"]) assert_series_equal(a, exp) + @pytest.mark.filterwarnings(r"ignore:The 'geom_almost_equals\(\)':FutureWarning") def test_geom_almost_equals(self): # TODO: test decimal parameter - with pytest.warns(FutureWarning, match=re.escape("The 'geom_almost_equals()'")): - assert np.all(self.g1.geom_almost_equals(self.g1)) - assert_array_equal(self.g1.geom_almost_equals(self.sq), [False, True]) - - assert_array_equal( - self.a1.geom_almost_equals(self.a2, align=True), [False, True, False] + assert np.all(self.g1.geom_almost_equals(self.g1)) + assert_array_equal(self.g1.geom_almost_equals(self.sq), [False, True]) + with warnings.catch_warnings(): + warnings.filterwarnings( + "ignore", + "The indices of the left and right GeoSeries' are not equal", + UserWarning, ) assert_array_equal( - self.a1.geom_almost_equals(self.a2, align=False), [False, False] + self.a1.geom_almost_equals(self.a2, align=True), + [False, True, False], ) + assert_array_equal( + self.a1.geom_almost_equals(self.a2, align=False), [False, False] + ) def test_geom_equals_exact(self): # TODO: test tolerance parameter assert np.all(self.g1.geom_equals_exact(self.g1, 0.001)) assert_array_equal(self.g1.geom_equals_exact(self.sq, 0.001), [False, True]) - - assert_array_equal( - self.a1.geom_equals_exact(self.a2, 0.001, align=True), [False, True, False] - ) + with warnings.catch_warnings(): + warnings.filterwarnings( + "ignore", + "The indices of the left and right GeoSeries' are not equal", + UserWarning, + ) + assert_array_equal( + self.a1.geom_equals_exact(self.a2, 0.001, align=True), + [False, True, False], + ) assert_array_equal( self.a1.geom_equals_exact(self.a2, 0.001, align=False), [False, False] ) @@ -190,15 +198,69 @@ class TestSeries: Test whether GeoSeries.to_json works and returns an actual json file. """ json_str = self.g3.to_json() - json.loads(json_str) + data = json.loads(json_str) + assert "id" in data["features"][0].keys() + assert "bbox" in data["features"][0].keys() # TODO : verify the output is a valid GeoJSON. + def test_to_json_drop_id(self): + """ + Test whether GeoSeries.to_json works when drop_id is True. + """ + json_str = self.g3.to_json(drop_id=True) + data = json.loads(json_str) + assert "id" not in data["features"][0].keys() + + def test_to_json_no_bbox(self): + """ + Test whether GeoSeries.to_json works when show_bbox is False. + """ + json_str = self.g3.to_json(show_bbox=False) + data = json.loads(json_str) + assert "bbox" not in data["features"][0].keys() + + def test_to_json_no_bbox_drop_id(self): + """ + Test whether GeoSeries.to_json works when show_bbox is False + and drop_id is True. + """ + json_str = self.g3.to_json(show_bbox=False, drop_id=True) + data = json.loads(json_str) + assert "id" not in data["features"][0].keys() + assert "bbox" not in data["features"][0].keys() + + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="Requires pyproj") + def test_to_json_wgs84(self): + """ + Test whether the wgs84 conversion works as intended. + """ + text = self.landmarks3857.to_json(to_wgs84=True) + data = json.loads(text) + assert data["type"] == "FeatureCollection" + assert "id" in data["features"][0].keys() + coord1 = data["features"][0]["geometry"]["coordinates"] + coord2 = data["features"][1]["geometry"]["coordinates"] + np.testing.assert_allclose(coord1, self.esb.coords[0]) + np.testing.assert_allclose(coord2, self.sol.coords[0]) + + def test_to_json_wgs84_false(self): + """ + Ensure no conversion to wgs84 + """ + text = self.landmarks3857.to_json() + data = json.loads(text) + coord1 = data["features"][0]["geometry"]["coordinates"] + coord2 = data["features"][1]["geometry"]["coordinates"] + assert coord1 == [-8235939.130493107, 4975301.253789809] + assert coord2 == [-8242607.167991625, 4966620.938285081] + def test_representative_point(self): assert np.all(self.g1.contains(self.g1.representative_point())) assert np.all(self.g2.contains(self.g2.representative_point())) assert np.all(self.g3.contains(self.g3.representative_point())) assert np.all(self.g4.contains(self.g4.representative_point())) + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") def test_transform(self): utm18n = self.landmarks.to_crs(epsg=26918) lonlat = utm18n.to_crs(epsg=4326) @@ -209,20 +271,24 @@ class TestSeries: self.landmarks.to_crs(crs=None, epsg=None) def test_estimate_utm_crs__geographic(self): - assert self.landmarks.estimate_utm_crs() == CRS("EPSG:32618") - assert self.landmarks.estimate_utm_crs("NAD83") == CRS("EPSG:26918") + pyproj = pytest.importorskip("pyproj") + assert self.landmarks.estimate_utm_crs() == pyproj.CRS("EPSG:32618") + assert self.landmarks.estimate_utm_crs("NAD83") == pyproj.CRS("EPSG:26918") def test_estimate_utm_crs__projected(self): - assert self.landmarks.to_crs("EPSG:3857").estimate_utm_crs() == CRS( + pyproj = pytest.importorskip("pyproj") + assert self.landmarks.to_crs("EPSG:3857").estimate_utm_crs() == pyproj.CRS( "EPSG:32618" ) + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") def test_estimate_utm_crs__out_of_bounds(self): with pytest.raises(RuntimeError, match="Unable to determine UTM CRS"): GeoSeries( [Polygon([(0, 90), (1, 90), (2, 90)])], crs="EPSG:4326" ).estimate_utm_crs() + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") def test_estimate_utm_crs__missing_crs(self): with pytest.raises(RuntimeError, match="crs must be set"): GeoSeries([Polygon([(0, 90), (1, 90), (2, 90)])]).estimate_utm_crs() @@ -258,6 +324,7 @@ class TestSeries: assert self.g1.__geo_interface__["type"] == "FeatureCollection" assert len(self.g1.__geo_interface__["features"]) == self.g1.shape[0] + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") def test_proj4strings(self): # As string reprojected = self.g3.to_crs("+proj=utm +zone=30") @@ -270,8 +337,7 @@ class TestSeries: assert geom_almost_equals(self.g3, reprojected_back) # Set to equivalent string, convert, compare to original - copy = self.g3.copy() - copy.crs = "epsg:4326" + copy = self.g3.copy().set_crs("epsg:4326", allow_override=True) reprojected = copy.to_crs({"proj": "utm", "zone": "30"}) reprojected_back = reprojected.to_crs(epsg=4326) assert geom_almost_equals(self.g3, reprojected_back) @@ -284,6 +350,23 @@ class TestSeries: def test_from_wkb(self): assert_geoseries_equal(self.g1, GeoSeries.from_wkb([self.t1.wkb, self.sq.wkb])) + def test_from_wkb_on_invalid(self): + # Single point LineString hex WKB: invalid + invalid_wkb_hex = "01020000000100000000000000000008400000000000000840" + message = "point array must contain 0 or >1 elements" + + with pytest.raises(Exception, match=message): + GeoSeries.from_wkb([invalid_wkb_hex], on_invalid="raise") + + with pytest.warns(Warning, match=message): + res = GeoSeries.from_wkb([invalid_wkb_hex], on_invalid="warn") + assert res[0] is None + + with warnings.catch_warnings(): + warnings.simplefilter("error") + res = GeoSeries.from_wkb([invalid_wkb_hex], on_invalid="ignore") + assert res[0] is None + def test_from_wkb_series(self): s = pd.Series([self.t1.wkb, self.sq.wkb], index=[1, 2]) expected = self.g1.copy() @@ -299,6 +382,23 @@ class TestSeries: def test_from_wkt(self): assert_geoseries_equal(self.g1, GeoSeries.from_wkt([self.t1.wkt, self.sq.wkt])) + def test_from_wkt_on_invalid(self): + # Single point LineString WKT: invalid + invalid_wkt = "LINESTRING(0 0)" + message = "point array must contain 0 or >1 elements" + + with pytest.raises(Exception, match=message): + GeoSeries.from_wkt([invalid_wkt], on_invalid="raise") + + with pytest.warns(Warning, match=message): + res = GeoSeries.from_wkt([invalid_wkt], on_invalid="warn") + assert res[0] is None + + with warnings.catch_warnings(): + warnings.simplefilter("error") + res = GeoSeries.from_wkt([invalid_wkt], on_invalid="ignore") + assert res[0] is None + def test_from_wkt_series(self): s = pd.Series([self.t1.wkt, self.sq.wkt], index=[1, 2]) expected = self.g1.copy() @@ -320,16 +420,38 @@ class TestSeries: def test_to_wkt(self): assert_series_equal(pd.Series([self.t1.wkt, self.sq.wkt]), self.g1.to_wkt()) - @pytest.mark.skip_no_sindex - def test_clip(self): - left = read_file(datasets.get_path("naturalearth_cities")) - world = read_file(datasets.get_path("naturalearth_lowres")) + def test_clip(self, naturalearth_lowres, naturalearth_cities): + left = read_file(naturalearth_cities) + world = read_file(naturalearth_lowres) south_america = world[world["continent"] == "South America"] expected = clip(left.geometry, south_america) result = left.geometry.clip(south_america) assert_geoseries_equal(result, expected) + def test_clip_sorting(self, naturalearth_cities, naturalearth_lowres): + """ + Test sorting of geodseries when clipping. + """ + cities = read_file(naturalearth_cities) + world = read_file(naturalearth_lowres) + south_america = world[world["continent"] == "South America"] + + unsorted_clipped_cities = clip(cities, south_america, sort=False) + sorted_clipped_cities = clip(cities, south_america, sort=True) + + expected_sorted_index = pd.Index( + [55, 59, 62, 88, 101, 114, 122, 169, 181, 189, 210, 230, 236, 238, 239] + ) + + assert not ( + sorted(unsorted_clipped_cities.index) == unsorted_clipped_cities.index + ).all() + assert ( + sorted(sorted_clipped_cities.index) == sorted_clipped_cities.index + ).all() + assert_index_equal(expected_sorted_index, sorted_clipped_cities.index) + def test_from_xy_points(self): x = self.landmarks.x.values y = self.landmarks.y.values @@ -375,6 +497,13 @@ class TestSeries: expected = GeoSeries([Point(0, 2, -1), Point(3, 5, 4)]) assert_geoseries_equal(expected, GeoSeries.from_xy(x, y, z)) + @pytest.mark.skipif(compat.HAS_PYPROJ, reason="pyproj installed") + def test_set_crs_pyproj_error(self): + with pytest.raises( + ImportError, match="The 'pyproj' package is required for set_crs" + ): + self.g1.set_crs(3857) + @pytest.mark.filterwarnings("ignore::UserWarning") def test_missing_values(): @@ -406,12 +535,22 @@ def test_isna_empty_geoseries(): assert_series_equal(result, pd.Series([], dtype="bool")) +@pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") def test_geoseries_crs(): - gs = GeoSeries() - gs.crs = "IGNF:ETRS89UTM28" + gs = GeoSeries().set_crs("IGNF:ETRS89UTM28") assert gs.crs.to_authority() == ("IGNF", "ETRS89UTM28") +@pytest.mark.skipif(not compat.HAS_PYPROJ, reason="Requires pyproj") +def test_geoseries_override_existing_crs_warning(): + gs = GeoSeries(crs="epsg:4326") + with pytest.warns( + DeprecationWarning, + match="Overriding the CRS of a GeoSeries that already has CRS", + ): + gs.crs = "epsg:2100" + + # ----------------------------------------------------------------------------- # # Constructor tests # ----------------------------------------------------------------------------- @@ -513,10 +652,8 @@ class TestConstructor: Polygon([(random.random(), random.random()) for _ in range(3)]) for _ in range(10) ] - with ignore_shapely2_warnings(): - # the warning here is not suppressed by GeoPandas, as this is a pure - # pandas construction call - s = pd.Series(shapes, index=list("abcdefghij"), name="foo") + + s = pd.Series(shapes, index=list("abcdefghij"), name="foo") g = GeoSeries(s) check_geoseries(g) @@ -524,6 +661,37 @@ class TestConstructor: assert s.name == g.name assert s.index is g.index + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") + def test_from_series_no_set_crs_on_construction(self): + # https://github.com/geopandas/geopandas/issues/2492 + # also when passing Series[geometry], ensure we don't change crs of + # original data + gs = GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)]) + s = pd.Series(gs) + result = GeoSeries(s, crs=4326) + assert s.values.crs is None + assert gs.crs is None + assert result.crs == "EPSG:4326" + + def test_copy(self): + # default is to copy with CoW / pandas 3+ + arr = np.array([Point(x, x) for x in range(3)], dtype=object) + result = GeoSeries(arr) + # modifying result doesn't change original array + result.loc[0] = Point(10, 10) + if compat.PANDAS_GE_30 or getattr(pd.options.mode, "copy_on_write", False): + assert arr[0] == Point(0, 0) + else: + assert arr[0] == Point(10, 10) + + # avoid copy with copy=False + arr = np.array([Point(x, x) for x in range(3)], dtype=object) + result = GeoSeries(arr, copy=False) + assert result.array._data.flags.writeable + # now modifying result also updates original array + result.loc[0] = Point(10, 10) + assert arr[0] == Point(10, 10) + # GH 1216 @pytest.mark.parametrize("name", [None, "geometry", "Points"]) @pytest.mark.parametrize("crs", [None, "epsg:4326"]) diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_merge.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_merge.py index 2ae1c9f8..fbcdc3ed 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_merge.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_merge.py @@ -1,13 +1,15 @@ import warnings import pandas as pd -import pytest -from geopandas.testing import assert_geodataframe_equal -from pandas.testing import assert_index_equal from shapely.geometry import Point from geopandas import GeoDataFrame, GeoSeries +from geopandas._compat import HAS_PYPROJ, PANDAS_GE_21 + +import pytest +from geopandas.testing import assert_geodataframe_equal +from pandas.testing import assert_index_equal class TestMerging: @@ -59,6 +61,7 @@ class TestMerging: assert isinstance(res, GeoSeries) assert isinstance(res.geometry, GeoSeries) + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_concat_axis0_crs(self): # CRS not set for both GeoDataFrame res = pd.concat([self.gdf, self.gdf]) @@ -100,6 +103,7 @@ class TestMerging: [self.gdf, self.gdf.set_crs("epsg:4326"), self.gdf.set_crs("epsg:4327")] ) + @pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_concat_axis0_unaligned_cols(self): # https://github.com/geopandas/geopandas/issues/2679 gdf = self.gdf.set_crs("epsg:4326").assign( @@ -133,6 +137,40 @@ class TestMerging: partial_none_case.iloc[0] = None pd.concat([single_geom_col, partial_none_case]) + def test_concat_axis0_crs_wkt_mismatch(self): + pyproj = pytest.importorskip("pyproj") + + # https://github.com/geopandas/geopandas/issues/326#issuecomment-1727958475 + wkt_template = """GEOGCRS["WGS 84", + ENSEMBLE["World Geodetic System 1984 ensemble", + MEMBER["World Geodetic System 1984 (Transit)"], + MEMBER["World Geodetic System 1984 (G730)"], + MEMBER["World Geodetic System 1984 (G873)"], + MEMBER["World Geodetic System 1984 (G1150)"], + MEMBER["World Geodetic System 1984 (G1674)"], + MEMBER["World Geodetic System 1984 (G1762)"], + MEMBER["World Geodetic System 1984 (G2139)"], + ELLIPSOID["WGS 84",6378137,298.257223563,LENGTHUNIT["metre",1]], + ENSEMBLEACCURACY[2.0]],PRIMEM["Greenwich",0, + ANGLEUNIT["degree",0.0174532925199433]],CS[ellipsoidal,2], + AXIS["geodetic latitude (Lat)",north,ORDER[1], + ANGLEUNIT["degree",0.0174532925199433]], + AXIS["geodetic longitude (Lon)",east,ORDER[2], + ANGLEUNIT["degree",0.0174532925199433]], + USAGE[SCOPE["Horizontal component of 3D system."], + AREA["World.{}"],BBOX[-90,-180,90,180]],ID["EPSG",4326]]""" + wkt_v1 = wkt_template.format("") + wkt_v2 = wkt_template.format(" ") # add additional whitespace + crs1 = pyproj.CRS.from_wkt(wkt_v1) + crs2 = pyproj.CRS.from_wkt(wkt_v2) + # pyproj crs __hash__ based on WKT strings means these are distinct in a + # set are but equal by equality + assert len({crs1, crs2}) == 2 + assert crs1 == crs2 + expected = pd.concat([self.gdf, self.gdf]).set_crs(crs1) + res = pd.concat([self.gdf.set_crs(crs1), self.gdf.set_crs(crs2)]) + assert_geodataframe_equal(expected, res) + def test_concat_axis1(self): res = pd.concat([self.gdf, self.df], axis=1) @@ -145,10 +183,18 @@ class TestMerging: # https://github.com/geopandas/geopandas/issues/1230 # Expect that concat should fail gracefully if duplicate column names belonging # to geometry columns are introduced. - expected_err = ( - "GeoDataFrame does not support multiple columns using the geometry" - " column name 'geometry'" - ) + if PANDAS_GE_21: + # _constructor_from_mgr changes mean we now get the concat specific error + # message in this case too + expected_err = ( + "Concat operation has resulted in multiple columns using the geometry " + "column name 'geometry'." + ) + else: + expected_err = ( + "GeoDataFrame does not support multiple columns using the geometry" + " column name 'geometry'" + ) with pytest.raises(ValueError, match=expected_err): pd.concat([self.gdf, self.gdf], axis=1) @@ -161,10 +207,11 @@ class TestMerging: with pytest.raises(ValueError, match=expected_err2): pd.concat([df2, df2], axis=1) - # Check that two geometry columns is fine, if they have different names - res3 = pd.concat([df2.set_crs("epsg:4326"), self.gdf], axis=1) - # check metadata comes from first df - self._check_metadata(res3, geometry_column_name="geom", crs="epsg:4326") + if HAS_PYPROJ: + # Check that two geometry columns is fine, if they have different names + res3 = pd.concat([df2.set_crs("epsg:4326"), self.gdf], axis=1) + # check metadata comes from first df + self._check_metadata(res3, geometry_column_name="geom", crs="epsg:4326") @pytest.mark.filterwarnings("ignore:Accessing CRS") def test_concat_axis1_geoseries(self): diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_op_output_types.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_op_output_types.py index 74a1587e..f873c2aa 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_op_output_types.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_op_output_types.py @@ -1,12 +1,15 @@ +import numpy as np import pandas as pd -import pyproj -import pytest from shapely.geometry import Point -import numpy as np +import geopandas from geopandas import GeoDataFrame, GeoSeries +import pytest +from geopandas.testing import assert_geodataframe_equal + +pyproj = pytest.importorskip("pyproj") crs_osgb = pyproj.CRS(27700) crs_wgs = pyproj.CRS(4326) @@ -144,6 +147,32 @@ def test_loc(df): assert_object(df.loc[:, "value1"], pd.Series) +@pytest.mark.parametrize( + "geom_name", + [ + "geometry", + pytest.param( + "geom", + marks=pytest.mark.xfail( + reason="pre-regression behaviour only works for geometry col geometry" + ), + ), + ], +) +def test_loc_add_row(geom_name, nybb_filename): + # https://github.com/geopandas/geopandas/issues/3119 + + nybb = geopandas.read_file(nybb_filename)[["BoroCode", "geometry"]] + if geom_name != "geometry": + nybb = nybb.rename_geometry(geom_name) + # crs_orig = nybb.crs + + # add a new row + nybb.loc[5] = [6, nybb.geometry.iloc[0]] + assert nybb.geometry.dtype == "geometry" + assert nybb.crs is None # TODO this should be crs_orig, regressed in #2373 + + def test_iloc(df): geo_name = df.geometry.name assert_object(df.iloc[:, 0:2], pd.DataFrame) @@ -284,7 +313,7 @@ def test_expandim_in_groupby_aggregate_multiple_funcs(): s = GeoSeries.from_xy([0, 1, 2], [0, 1, 3]) def union(s): - return s.unary_union + return s.union_all() def total_area(s): return s.area.sum() @@ -370,3 +399,13 @@ def test_constructor_sliced_in_pandas_methods(df2): assert type(hashable_test_df.duplicated()) == pd.Series assert type(df2.quantile(numeric_only=True)) == pd.Series assert type(df2.memory_usage()) == pd.Series + + +def test_merge_preserve_geodataframe(): + # https://github.com/geopandas/geopandas/issues/2932 + ser = GeoSeries.from_xy([1], [1]) + df = GeoDataFrame({"geo": ser}) + res = df.merge(df, left_index=True, right_index=True) + assert_obj_no_active_geo_col(res, GeoDataFrame, geo_colname=None) + expected = GeoDataFrame({"geo_x": ser, "geo_y": ser}) + assert_geodataframe_equal(expected, res) diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_overlay.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_overlay.py index 79db5daf..d810e22a 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_overlay.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_overlay.py @@ -3,14 +3,15 @@ import os import numpy as np import pandas as pd -from shapely.geometry import Point, Polygon, LineString, GeometryCollection, box +from shapely import make_valid +from shapely.geometry import GeometryCollection, LineString, Point, Polygon, box import geopandas from geopandas import GeoDataFrame, GeoSeries, overlay, read_file -from geopandas._compat import PANDAS_GE_20 +from geopandas._compat import HAS_PYPROJ, PANDAS_GE_20 -from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal import pytest +from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal try: from fiona.errors import DriverError @@ -23,9 +24,6 @@ except ImportError: DATA = os.path.join(os.path.abspath(os.path.dirname(__file__)), "data", "overlay") -pytestmark = pytest.mark.skip_no_sindex - - @pytest.fixture def dfs(request): s1 = GeoSeries( @@ -83,7 +81,7 @@ def test_overlay(dfs_index, how): expected = read_file( os.path.join(DATA, "polys", "df1_df2-{0}.geojson".format(name)) ) - expected.crs = None + expected.geometry.array.crs = None for col in expected.columns[expected.dtypes == "int32"]: expected[col] = expected[col].astype("int64") return expected @@ -115,8 +113,8 @@ def test_overlay(dfs_index, how): @pytest.mark.filterwarnings("ignore:GeoSeries crs mismatch:UserWarning") -def test_overlay_nybb(how): - polydf = read_file(geopandas.datasets.get_path("nybb")) +def test_overlay_nybb(how, nybb_filename): + polydf = read_file(nybb_filename) # The circles have been constructed and saved at the time the expected # results were created (exact output of buffer algorithm can slightly @@ -212,6 +210,10 @@ def test_overlay_nybb(how): expected.loc[24, "geometry"] = None result.loc[24, "geometry"] = None + # missing values get read as None in read_file for a string column, but + # are introduced as NaN by overlay + expected["BoroName"] = expected["BoroName"].fillna(np.nan) + assert_geodataframe_equal( result, expected, @@ -347,6 +349,7 @@ def test_geoseries_warning(dfs): overlay(df1, df2.geometry, how="union") +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_preserve_crs(dfs, how): df1, df2 = dfs result = overlay(df1, df2, how=how) @@ -358,6 +361,7 @@ def test_preserve_crs(dfs, how): assert result.crs == crs +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_crs_mismatch(dfs, how): df1, df2 = dfs df1.crs = 4326 @@ -514,6 +518,12 @@ def test_overlay_strict(how, keep_geom_type, geom_types): expected = expected.sort_values(cols, axis=0).reset_index(drop=True) result = result.sort_values(cols, axis=0).reset_index(drop=True) + # some columns are all-NaN in the result, but get read as object dtype + # column of None values in read_file + for col in ["col1", "col3", "col4"]: + if col in expected.columns and expected[col].isna().all(): + expected[col] = expected[col].astype("float64") + assert_geodataframe_equal( result, expected, @@ -693,11 +703,11 @@ def test_keep_geom_type_geometry_collection_difference(): assert_geodataframe_equal(result1, expected1) -@pytest.mark.parametrize("make_valid", [True, False]) -def test_overlap_make_valid(make_valid): +@pytest.mark.parametrize("should_make_valid", [True, False]) +def test_overlap_make_valid(should_make_valid): bowtie = Polygon([(1, 1), (9, 9), (9, 1), (1, 9), (1, 1)]) assert not bowtie.is_valid - fixed_bowtie = bowtie.buffer(0) + fixed_bowtie = make_valid(bowtie) assert fixed_bowtie.is_valid df1 = GeoDataFrame({"col1": ["region"], "geometry": GeoSeries([box(0, 0, 10, 10)])}) @@ -705,17 +715,17 @@ def test_overlap_make_valid(make_valid): {"col1": ["invalid", "valid"], "geometry": GeoSeries([bowtie, fixed_bowtie])} ) - if make_valid: - df_overlay_bowtie = overlay(df1, df_bowtie, make_valid=make_valid) + if should_make_valid: + df_overlay_bowtie = overlay(df1, df_bowtie, make_valid=should_make_valid) assert df_overlay_bowtie.at[0, "geometry"].equals(fixed_bowtie) assert df_overlay_bowtie.at[1, "geometry"].equals(fixed_bowtie) else: with pytest.raises(ValueError, match="1 invalid input geometries"): - overlay(df1, df_bowtie, make_valid=make_valid) + overlay(df1, df_bowtie, make_valid=should_make_valid) -def test_empty_overlay_return_non_duplicated_columns(): - nybb = geopandas.read_file(geopandas.datasets.get_path("nybb")) +def test_empty_overlay_return_non_duplicated_columns(nybb_filename): + nybb = geopandas.read_file(nybb_filename) nybb2 = nybb.copy() nybb2.geometry = nybb2.translate(20000000) @@ -854,7 +864,7 @@ class TestOverlayWikiExample: def test_intersection(self): df_result = overlay(self.layer_a, self.layer_b, how="intersection") - assert df_result.geom_equals(self.intersection).bool() + assert df_result.geom_equals(self.intersection).all() def test_union(self): df_result = overlay(self.layer_a, self.layer_b, how="union") diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_pandas_methods.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_pandas_methods.py index 77991fe8..7230c3ea 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_pandas_methods.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_pandas_methods.py @@ -1,22 +1,22 @@ import os -from packaging.version import Version import warnings +from packaging.version import Version import numpy as np -from numpy.testing import assert_array_equal import pandas as pd import shapely -from shapely.geometry import Point, GeometryCollection, LineString, LinearRing +from shapely.geometry import GeometryCollection, LinearRing, LineString, Point import geopandas -from geopandas import GeoDataFrame, GeoSeries import geopandas._compat as compat +from geopandas import GeoDataFrame, GeoSeries from geopandas.array import from_shapely -from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal -from pandas.testing import assert_frame_equal, assert_series_equal import pytest +from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal +from numpy.testing import assert_array_equal +from pandas.testing import assert_frame_equal, assert_series_equal @pytest.fixture @@ -41,6 +41,7 @@ def test_repr(s, df): assert "POINT" in df._repr_html_() +@pytest.mark.skipif(shapely.geos_version < (3, 9, 0), reason="requires GEOS>=3.9") def test_repr_boxed_display_precision(): # geographic coordinates p1 = Point(10.123456789, 50.123456789) @@ -90,7 +91,7 @@ def test_repr_empty(): def test_repr_linearring(): # https://github.com/geopandas/geopandas/pull/2689 - # specifically, checking internal shapely/pygeos/wkt/wkb conversions + # specifically, checking internal shapely/wkt/wkb conversions # preserve LinearRing s = GeoSeries([LinearRing([(0, 0), (1, 1), (1, -1)])]) assert "LINEARRING" in str(s.iloc[0]) # shapely scalar repr @@ -304,17 +305,18 @@ def test_convert_dtypes(df): res2 = df[["value1", "value2", "geometry"]].convert_dtypes() assert_geodataframe_equal(expected1[["value1", "value2", "geometry"]], res2) - # Test again with crs set and custom geom col name - df2 = df.set_crs(epsg=4326).rename_geometry("points") - expected2 = GeoDataFrame( - pd.DataFrame(df2).convert_dtypes(), crs=df2.crs, geometry=df2.geometry.name - ) - res3 = df2.convert_dtypes() - assert_geodataframe_equal(expected2, res3) + if compat.HAS_PYPROJ: + # Test again with crs set and custom geom col name + df2 = df.set_crs(epsg=4326).rename_geometry("points") + expected2 = GeoDataFrame( + pd.DataFrame(df2).convert_dtypes(), crs=df2.crs, geometry=df2.geometry.name + ) + res3 = df2.convert_dtypes() + assert_geodataframe_equal(expected2, res3) - # Test geom last, geom_col=geometry - res4 = df2[["value1", "value2", "points"]].convert_dtypes() - assert_geodataframe_equal(expected2[["value1", "value2", "points"]], res4) + # Test geom last, geom_col=geometry + res4 = df2[["value1", "value2", "points"]].convert_dtypes() + assert_geodataframe_equal(expected2[["value1", "value2", "points"]], res4) def test_to_csv(df): @@ -558,10 +560,9 @@ def test_value_counts(): name = "count" else: name = None - with compat.ignore_shapely2_warnings(): - exp = pd.Series( - [2, 1], index=pd14_compat_index([Point(0, 0), Point(1, 1)]), name=name - ) + exp = pd.Series( + [2, 1], index=pd14_compat_index([Point(0, 0), Point(1, 1)]), name=name + ) assert_series_equal(res, exp) # Check crs doesn't make a difference - note it is not kept in output index anyway s2 = GeoSeries([Point(0, 0), Point(1, 1), Point(0, 0)], crs="EPSG:4326") @@ -575,20 +576,17 @@ def test_value_counts(): s3 = GeoSeries([Point(0, 0), LineString([[1, 1], [2, 2]]), Point(0, 0)]) res3 = s3.value_counts() index = pd14_compat_index([Point(0, 0), LineString([[1, 1], [2, 2]])]) - with compat.ignore_shapely2_warnings(): - exp3 = pd.Series([2, 1], index=index, name=name) + exp3 = pd.Series([2, 1], index=index, name=name) assert_series_equal(res3, exp3) # check None is handled s4 = GeoSeries([Point(0, 0), None, Point(0, 0)]) res4 = s4.value_counts(dropna=True) - with compat.ignore_shapely2_warnings(): - exp4_dropna = pd.Series([2], index=pd14_compat_index([Point(0, 0)]), name=name) + exp4_dropna = pd.Series([2], index=pd14_compat_index([Point(0, 0)]), name=name) assert_series_equal(res4, exp4_dropna) - with compat.ignore_shapely2_warnings(): - exp4_keepna = pd.Series( - [2, 1], index=pd14_compat_index([Point(0, 0), None]), name=name - ) + exp4_keepna = pd.Series( + [2, 1], index=pd14_compat_index([Point(0, 0), None]), name=name + ) res4_keepna = s4.value_counts(dropna=False) assert_series_equal(res4_keepna, exp4_keepna) @@ -636,7 +634,7 @@ def test_groupby(df): assert_frame_equal(res, exp) # applying on the geometry column - res = df.groupby("value2")["geometry"].apply(lambda x: x.unary_union) + res = df.groupby("value2")["geometry"].apply(lambda x: x.union_all()) exp = GeoSeries( [shapely.geometry.MultiPoint([(0, 0), (2, 2)]), Point(1, 1)], @@ -646,7 +644,7 @@ def test_groupby(df): assert_series_equal(res, exp) # apply on geometry column not resulting in new geometry - res = df.groupby("value2")["geometry"].apply(lambda x: x.unary_union.area) + res = df.groupby("value2")["geometry"].apply(lambda x: x.union_all().area) exp = pd.Series([0.0, 0.0], index=pd.Index([1, 2], name="value2"), name="geometry") assert_series_equal(res, exp) @@ -660,45 +658,60 @@ def test_groupby_groups(df): assert_frame_equal(res, exp) -@pytest.mark.skip_no_sindex @pytest.mark.parametrize("crs", [None, "EPSG:4326"]) -def test_groupby_metadata(crs): +@pytest.mark.parametrize("geometry_name", ["geometry", "geom"]) +def test_groupby_metadata(crs, geometry_name): + if crs and not compat.HAS_PYPROJ: + pytest.skip("requires pyproj") # https://github.com/geopandas/geopandas/issues/2294 df = GeoDataFrame( { - "geometry": [Point(0, 0), Point(1, 1), Point(0, 0)], + geometry_name: [Point(0, 0), Point(1, 1), Point(0, 0)], "value1": np.arange(3, dtype="int64"), "value2": np.array([1, 2, 1], dtype="int64"), }, crs=crs, + geometry=geometry_name, ) + kwargs = {} + if compat.PANDAS_GE_22: + # pandas is deprecating that the group key is present as column in the + # dataframe passed to `func`. To suppress this warning, it introduced + # a new include_groups keyword + kwargs = dict(include_groups=False) + # dummy test asserting we can access the crs def func(group): assert isinstance(group, GeoDataFrame) assert group.crs == crs - df.groupby("value2").apply(func) + df.groupby("value2").apply(func, **kwargs) + # selecting the non-group columns -> no need to pass the keyword + if ( + compat.PANDAS_GE_22 + or (compat.PANDAS_GE_20 and geometry_name == "geometry") + or not compat.PANDAS_GE_20 + ): + df.groupby("value2")[[geometry_name, "value1"]].apply(func) + else: + # https://github.com/geopandas/geopandas/pull/2966#issuecomment-1878816712 + # with pandas 2.0 and 2.1 with geom col != geometry this is failing + with pytest.raises(AttributeError): + df.groupby("value2")[[geometry_name, "value1"]].apply(func) # actual test with functionality res = df.groupby("value2").apply( - lambda x: geopandas.sjoin(x, x[["geometry", "value1"]], how="inner") + lambda x: geopandas.sjoin(x, x[[geometry_name, "value1"]], how="inner"), + **kwargs, ) - if compat.PANDAS_GE_22: - # merge sort behaviour changed in pandas #54611 - take_indices = [0, 0, 2, 2, 1] - value_right = [0, 2, 0, 2, 1] - else: - take_indices = [0, 2, 0, 2, 1] - value_right = [0, 0, 2, 2, 1] - expected = ( - df.take(take_indices) - .set_index("value2", drop=False, append=True) + df.take([0, 0, 2, 2, 1]) + .set_index("value2", drop=compat.PANDAS_GE_22, append=True) .swaplevel() .rename(columns={"value1": "value1_left"}) - .assign(value1_right=value_right) + .assign(value1_right=[0, 2, 0, 2, 1]) ) assert_geodataframe_equal(res.drop(columns=["index_right"]), expected) @@ -733,6 +746,7 @@ def test_apply_loc_len1(df): np.testing.assert_allclose(result, expected) +@pytest.mark.skipif(compat.PANDAS_GE_30, reason="convert_dtype is removed in pandas 3") def test_apply_convert_dtypes_keyword(s): # ensure the convert_dtypes keyword is accepted if not compat.PANDAS_GE_21: @@ -754,6 +768,8 @@ def test_apply_convert_dtypes_keyword(s): @pytest.mark.parametrize("crs", [None, "EPSG:4326"]) def test_apply_no_geometry_result(df, crs): if crs: + if not compat.HAS_PYPROJ: + pytest.skip("requires pyproj") df = df.set_crs(crs) result = df.apply(lambda col: col.astype(str), axis=0) assert type(result) is pd.DataFrame @@ -858,3 +874,17 @@ def test_preserve_flags(df): with pytest.raises(ValueError): pd.concat([df, df]) + + +def test_ufunc(): + # this is calling a shapely ufunc, but we currently rely on pandas' implementation + # of `__array_ufunc__` to wrap the result back into a GeoSeries + ser = GeoSeries([Point(1, 1), Point(2, 2), Point(3, 3)]) + result = shapely.buffer(ser, 2) + assert isinstance(result, GeoSeries) + + # ensure the result is still writeable + # (https://github.com/geopandas/geopandas/issues/3178) + assert result.array._data.flags.writeable + result.loc[0] = Point(10, 10) + assert result.iloc[0] == Point(10, 10) diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_plotting.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_plotting.py index 836c0c71..9df655eb 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_plotting.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_plotting.py @@ -1,28 +1,25 @@ import itertools -from packaging.version import Version import warnings +from packaging.version import Version import numpy as np import pandas as pd -from shapely import wkt from shapely.affinity import rotate from shapely.geometry import ( - MultiPolygon, - Polygon, - LineString, - LinearRing, - Point, - MultiPoint, - MultiLineString, GeometryCollection, + LinearRing, + LineString, + MultiLineString, + MultiPoint, + MultiPolygon, + Point, + Polygon, box, ) - -from geopandas import GeoDataFrame, GeoSeries, read_file -from geopandas.datasets import get_path import geopandas._compat as compat +from geopandas import GeoDataFrame, GeoSeries, read_file from geopandas.plotting import GeoplotAccessor import pytest @@ -304,17 +301,9 @@ class TestPointPlotting: assert len(ax.collections) == 0 def test_empty_geometry(self): - if compat.USE_PYGEOS: - s = GeoSeries([wkt.loads("POLYGON EMPTY")]) - s = GeoSeries( - [Polygon([(0, 0), (1, 0), (1, 1)]), wkt.loads("POLYGON EMPTY")] - ) - ax = s.plot() - assert len(ax.collections) == 1 - if not compat.USE_PYGEOS: - s = GeoSeries([Polygon([(0, 0), (1, 0), (1, 1)]), Polygon()]) - ax = s.plot() - assert len(ax.collections) == 1 + s = GeoSeries([Polygon([(0, 0), (1, 0), (1, 1)]), Polygon()]) + ax = s.plot() + assert len(ax.collections) == 1 # more complex case with GEOMETRYCOLLECTION EMPTY, POINT EMPTY and NONE poly = Polygon([(-1, -1), (-1, 2), (2, 2), (2, -1), (-1, -1)]) @@ -324,7 +313,14 @@ class TestPointPlotting: gdf = GeoDataFrame(geometry=[point, empty_point, point_]) gdf["geometry"] = gdf.intersection(poly) - gdf.loc[3] = [None] + with warnings.catch_warnings(): + # loc to add row calls concat internally, warning for pandas >=2.1 + warnings.filterwarnings( + "ignore", + "The behavior of DataFrame concatenation with empty", + FutureWarning, + ) + gdf.loc[3] = [None] ax = gdf.plot() assert len(ax.collections) == 1 @@ -498,6 +494,28 @@ class TestLineStringPlotting: ) self.df3 = GeoDataFrame({"geometry": self.linearrings, "values": values}) + def test_autolim_false(self): + """Test linestring plot preserving axes limits.""" + ax = self.lines[: self.N // 2].plot() + ylim = ax.get_ylim() + self.lines.plot(ax=ax, autolim=False) + assert ax.get_ylim() == ylim + ax = self.df[: self.N // 2].plot() + ylim = ax.get_ylim() + self.df.plot(ax=ax, autolim=False) + assert ax.get_ylim() == ylim + + def test_autolim_true(self): + """Test linestring plot autoscaling axes limits.""" + ax = self.lines[: self.N // 2].plot() + ylim = ax.get_ylim() + self.lines.plot(ax=ax, autolim=True) + assert ax.get_ylim() != ylim + ax = self.df[: self.N // 2].plot() + ylim = ax.get_ylim() + self.df.plot(ax=ax, autolim=True) + assert ax.get_ylim() != ylim + def test_single_color(self): ax = self.lines.plot(color="green") _check_colors(self.N, ax.collections[0].get_colors(), ["green"] * self.N) @@ -641,6 +659,28 @@ class TestPolygonPlotting: df_nan = GeoDataFrame({"geometry": t3, "values": [np.nan]}) self.df3 = pd.concat([self.df, df_nan]) + def test_autolim_false(self): + """Test polygon plot preserving axes limits.""" + ax = self.polys[:1].plot() + xlim = ax.get_xlim() + self.polys.plot(ax=ax, autolim=False) + assert ax.get_xlim() == xlim + ax = self.df[:1].plot() + xlim = ax.get_xlim() + self.df.plot(ax=ax, autolim=False) + assert ax.get_xlim() == xlim + + def test_autolim_true(self): + """Test polygon plot autoscaling axes limits.""" + ax = self.polys[:1].plot() + xlim = ax.get_xlim() + self.polys.plot(ax=ax, autolim=True) + assert ax.get_xlim() != xlim + ax = self.df[:1].plot() + xlim = ax.get_xlim() + self.df.plot(ax=ax, autolim=True) + assert ax.get_xlim() != xlim + def test_single_color(self): ax = self.polys.plot(color="green") _check_colors(2, ax.collections[0].get_facecolors(), ["green"] * 2) @@ -1070,16 +1110,20 @@ class TestNonuniformGeometryPlotting: # ) -class TestGeographicAspect: - def setup_class(self): - pth = get_path("naturalearth_lowres") - df = read_file(pth) - self.north = df.loc[df.continent == "North America"] - self.north_proj = self.north.to_crs("ESRI:102008") - bounds = self.north.total_bounds - y_coord = np.mean([bounds[1], bounds[3]]) - self.exp = 1 / np.cos(y_coord * np.pi / 180) +@pytest.fixture(scope="class") +def _setup_class_geographic_aspect(naturalearth_lowres, request): + """Attach naturalearth_lowres class attribute for unittest style setup_method""" + df = read_file(naturalearth_lowres) + request.cls.north = df.loc[df.continent == "North America"] + request.cls.north_proj = request.cls.north.to_crs("ESRI:102008") + bounds = request.cls.north.total_bounds + y_coord = np.mean([bounds[1], bounds[3]]) + request.cls.exp = 1 / np.cos(y_coord * np.pi / 180) + +@pytest.mark.usefixtures("_setup_class_geographic_aspect") +@pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") +class TestGeographicAspect: def test_auto(self): ax = self.north.geometry.plot() assert ax.get_aspect() == self.exp @@ -1133,6 +1177,9 @@ class TestGeographicAspect: assert ax3.get_aspect() == 0.5 +@pytest.mark.filterwarnings( + "ignore:Numba not installed. Using slow pure python version.:UserWarning" +) class TestMapclassifyPlotting: @classmethod def setup_class(cls): @@ -1143,31 +1190,40 @@ class TestMapclassifyPlotting: cls.mc = mapclassify cls.classifiers = list(mapclassify.classifiers.CLASSIFIERS) cls.classifiers.remove("UserDefined") - pth = get_path("naturalearth_lowres") - cls.df = read_file(pth) - cls.df["NEGATIVES"] = np.linspace(-10, 10, len(cls.df.index)) - cls.df["low_vals"] = np.linspace(0, 0.3, cls.df.shape[0]) - cls.df["mid_vals"] = np.linspace(0.3, 0.7, cls.df.shape[0]) - cls.df["high_vals"] = np.linspace(0.7, 1.0, cls.df.shape[0]) - cls.df.loc[cls.df.index[:20:2], "high_vals"] = np.nan - cls.nybb = read_file(get_path("nybb")) - cls.nybb["vals"] = [0.001, 0.002, 0.003, 0.004, 0.005] - def test_legend(self): + @pytest.fixture + def df(self, naturalearth_lowres): + # version of naturalearth_lowres for mapclassify plotting tests + df = read_file(naturalearth_lowres) + df["NEGATIVES"] = np.linspace(-10, 10, len(df.index)) + df["low_vals"] = np.linspace(0, 0.3, df.shape[0]) + df["mid_vals"] = np.linspace(0.3, 0.7, df.shape[0]) + df["high_vals"] = np.linspace(0.7, 1.0, df.shape[0]) + df.loc[df.index[:20:2], "high_vals"] = np.nan + return df + + @pytest.fixture + def nybb(self, nybb_filename): + # version of nybb for mapclassify plotting tests + df = read_file(nybb_filename) + df["vals"] = [0.001, 0.002, 0.003, 0.004, 0.005] + return df + + def test_legend(self, df): with warnings.catch_warnings(record=True) as _: # don't print warning # warning coming from scipy.stats - ax = self.df.plot( + ax = df.plot( column="pop_est", scheme="QUANTILES", k=3, cmap="OrRd", legend=True ) labels = [t.get_text() for t in ax.get_legend().get_texts()] expected = [ s.split("|")[0][1:-2] - for s in str(self.mc.Quantiles(self.df["pop_est"], k=3)).split("\n")[4:] + for s in str(self.mc.Quantiles(df["pop_est"], k=3)).split("\n")[4:] ] assert labels == expected - def test_bin_labels(self): - ax = self.df.plot( + def test_bin_labels(self, df): + ax = df.plot( column="pop_est", scheme="QUANTILES", k=3, @@ -1179,9 +1235,9 @@ class TestMapclassifyPlotting: expected = ["foo", "bar", "baz"] assert labels == expected - def test_invalid_labels_length(self): + def test_invalid_labels_length(self, df): with pytest.raises(ValueError): - self.df.plot( + df.plot( column="pop_est", scheme="QUANTILES", k=3, @@ -1190,16 +1246,16 @@ class TestMapclassifyPlotting: legend_kwds={"labels": ["foo", "bar"]}, ) - def test_negative_legend(self): - ax = self.df.plot( + def test_negative_legend(self, df): + ax = df.plot( column="NEGATIVES", scheme="FISHER_JENKS", k=3, cmap="OrRd", legend=True ) labels = [t.get_text() for t in ax.get_legend().get_texts()] expected = ["-10.00, -3.41", " -3.41, 3.30", " 3.30, 10.00"] assert labels == expected - def test_fmt(self): - ax = self.df.plot( + def test_fmt(self, df): + ax = df.plot( column="NEGATIVES", scheme="FISHER_JENKS", k=3, @@ -1211,8 +1267,8 @@ class TestMapclassifyPlotting: expected = ["-10, -3", " -3, 3", " 3, 10"] assert labels == expected - def test_interval(self): - ax = self.df.plot( + def test_interval(self, df): + ax = df.plot( column="NEGATIVES", scheme="FISHER_JENKS", k=3, @@ -1225,17 +1281,17 @@ class TestMapclassifyPlotting: assert labels == expected @pytest.mark.parametrize("scheme", ["FISHER_JENKS", "FISHERJENKS"]) - def test_scheme_name_compat(self, scheme): - ax = self.df.plot(column="NEGATIVES", scheme=scheme, k=3, legend=True) + def test_scheme_name_compat(self, scheme, df): + ax = df.plot(column="NEGATIVES", scheme=scheme, k=3, legend=True) assert len(ax.get_legend().get_texts()) == 3 - def test_schemes(self): + def test_schemes(self, df): # test if all available classifiers pass for scheme in self.classifiers: - self.df.plot(column="pop_est", scheme=scheme, legend=True) + df.plot(column="pop_est", scheme=scheme, legend=True) - def test_classification_kwds(self): - ax = self.df.plot( + def test_classification_kwds(self, df): + ax = df.plot( column="pop_est", scheme="percentiles", k=3, @@ -1246,21 +1302,19 @@ class TestMapclassifyPlotting: labels = [t.get_text() for t in ax.get_legend().get_texts()] expected = [ s.split("|")[0][1:-2] - for s in str(self.mc.Percentiles(self.df["pop_est"], pct=[50, 100])).split( - "\n" - )[4:] + for s in str(self.mc.Percentiles(df["pop_est"], pct=[50, 100])).split("\n")[ + 4: + ] ] assert labels == expected - def test_invalid_scheme(self): + def test_invalid_scheme(self, df): with pytest.raises(ValueError): scheme = "invalid_scheme_*#&)(*#" - self.df.plot( - column="gdp_md_est", scheme=scheme, k=3, cmap="OrRd", legend=True - ) + df.plot(column="gdp_md_est", scheme=scheme, k=3, cmap="OrRd", legend=True) - def test_cax_legend_passing(self): + def test_cax_legend_passing(self, df): """Pass a 'cax' argument to 'df.plot(.)', that is valid only if 'ax' is passed as well (if not, a new figure is created ad hoc, and 'cax' is ignored) @@ -1271,15 +1325,15 @@ class TestMapclassifyPlotting: divider = make_axes_locatable(ax) cax = divider.append_axes("right", size="5%", pad=0.1) with pytest.raises(ValueError): - ax = self.df.plot(column="pop_est", cmap="OrRd", legend=True, cax=cax) + ax = df.plot(column="pop_est", cmap="OrRd", legend=True, cax=cax) - def test_cax_legend_height(self): + def test_cax_legend_height(self, df): """Pass a cax argument to 'df.plot(.)', the legend location must be aligned with those of main plot """ # base case with warnings.catch_warnings(record=True) as _: # don't print warning - ax = self.df.plot(column="pop_est", cmap="OrRd", legend=True) + ax = df.plot(column="pop_est", cmap="OrRd", legend=True) plot_height = _get_ax(ax.get_figure(), "").get_position().height legend_height = _get_ax(ax.get_figure(), "").get_position().height assert abs(plot_height - legend_height) >= 1e-6 @@ -1290,16 +1344,14 @@ class TestMapclassifyPlotting: divider = make_axes_locatable(ax2) cax = divider.append_axes("right", size="5%", pad=0.1, label="fixed_colorbar") with warnings.catch_warnings(record=True) as _: - ax2 = self.df.plot( - column="pop_est", cmap="OrRd", legend=True, cax=cax, ax=ax2 - ) + ax2 = df.plot(column="pop_est", cmap="OrRd", legend=True, cax=cax, ax=ax2) plot_height = _get_ax(fig, "").get_position().height legend_height = _get_ax(fig, "fixed_colorbar").get_position().height assert abs(plot_height - legend_height) < 1e-6 - def test_empty_bins(self): + def test_empty_bins(self, df): bins = np.arange(1, 11) / 10 - ax = self.df.plot( + ax = df.plot( "low_vals", scheme="UserDefined", classification_kwds={"bins": bins}, @@ -1348,7 +1400,7 @@ class TestMapclassifyPlotting: line.get_markerfacecolor() for line in ax.get_legend().get_lines() ] == legend_colors_exp - ax2 = self.df.plot( + ax2 = df.plot( "mid_vals", scheme="UserDefined", classification_kwds={"bins": bins}, @@ -1386,7 +1438,7 @@ class TestMapclassifyPlotting: line.get_markerfacecolor() for line in ax2.get_legend().get_lines() ] == legend_colors_exp - ax3 = self.df.plot( + ax3 = df.plot( "high_vals", scheme="UserDefined", classification_kwds={"bins": bins}, @@ -1411,8 +1463,8 @@ class TestMapclassifyPlotting: line.get_markerfacecolor() for line in ax3.get_legend().get_lines() ] == legend_colors_exp - def test_equally_formatted_bins(self): - ax = self.nybb.plot( + def test_equally_formatted_bins(self, nybb): + ax = nybb.plot( "vals", scheme="quantiles", legend=True, @@ -1427,7 +1479,7 @@ class TestMapclassifyPlotting: ] assert labels == expected - ax2 = self.nybb.plot( + ax2 = nybb.plot( "vals", scheme="quantiles", legend=True, legend_kwds={"fmt": "{:.3f}"} ) labels = [t.get_text() for t in ax2.get_legend().get_texts()] @@ -1454,9 +1506,10 @@ class TestPlotCollections: ) def test_points(self): - from geopandas.plotting import _plot_point_collection, plot_point_collection from matplotlib.collections import PathCollection + from geopandas.plotting import _plot_point_collection + fig, ax = plt.subplots() coll = _plot_point_collection(ax, self.points) assert isinstance(coll, PathCollection) @@ -1508,10 +1561,6 @@ class TestPlotCollections: with pytest.raises((TypeError, ValueError)): _plot_point_collection(ax, self.points, color="not color") - # check FutureWarning - with pytest.warns(FutureWarning): - plot_point_collection(ax, self.points) - def test_points_values(self): from geopandas.plotting import _plot_point_collection @@ -1526,12 +1575,10 @@ class TestPlotCollections: # _check_colors(self.N, coll.get_edgecolors(), expected_colors) def test_linestrings(self): - from geopandas.plotting import ( - _plot_linestring_collection, - plot_linestring_collection, - ) from matplotlib.collections import LineCollection + from geopandas.plotting import _plot_linestring_collection + fig, ax = plt.subplots() coll = _plot_linestring_collection(ax, self.lines) assert isinstance(coll, LineCollection) @@ -1581,9 +1628,6 @@ class TestPlotCollections: # not a color with pytest.raises((TypeError, ValueError)): _plot_linestring_collection(ax, self.lines, color="not color") - # check FutureWarning - with pytest.warns(FutureWarning): - plot_linestring_collection(ax, self.lines) def test_linestrings_values(self): from geopandas.plotting import _plot_linestring_collection @@ -1615,9 +1659,10 @@ class TestPlotCollections: ax.cla() def test_polygons(self): - from geopandas.plotting import _plot_polygon_collection, plot_polygon_collection from matplotlib.collections import PatchCollection + from geopandas.plotting import _plot_polygon_collection + fig, ax = plt.subplots() coll = _plot_polygon_collection(ax, self.polygons) assert isinstance(coll, PatchCollection) @@ -1673,9 +1718,6 @@ class TestPlotCollections: # not a color with pytest.raises((TypeError, ValueError)): _plot_polygon_collection(ax, self.polygons, color="not color") - # check FutureWarning - with pytest.warns(FutureWarning): - plot_polygon_collection(ax, self.polygons) def test_polygons_values(self): from geopandas.plotting import _plot_polygon_collection @@ -1830,9 +1872,10 @@ def test_column_values(): def test_polygon_patch(): # test adapted from descartes by Sean Gillies # (BSD license, https://pypi.org/project/descartes). - from geopandas.plotting import _PolygonPatch from matplotlib.patches import PathPatch + from geopandas.plotting import _PolygonPatch + polygon = ( Point(0, 0).buffer(10.0).difference(MultiPoint([(-5, 0), (5, 0)]).buffer(3.0)) ) diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_show_versions.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_show_versions.py index fada11e3..7071adc3 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_show_versions.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_show_versions.py @@ -33,11 +33,11 @@ def test_get_deps_info(): assert "fiona" in deps_info assert "numpy" in deps_info assert "shapely" in deps_info - assert "rtree" in deps_info assert "pyproj" in deps_info assert "matplotlib" in deps_info assert "mapclassify" in deps_info assert "geopy" in deps_info + assert "psycopg" in deps_info assert "psycopg2" in deps_info assert "geoalchemy2" in deps_info diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_sindex.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_sindex.py index eea85370..65d55652 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_sindex.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_sindex.py @@ -1,30 +1,25 @@ from math import sqrt +import numpy as np + +import shapely from shapely.geometry import ( - Point, - Polygon, - MultiPolygon, - box, GeometryCollection, LineString, + MultiPolygon, + Point, + Polygon, + box, ) -from numpy.testing import assert_array_equal import geopandas +from geopandas import GeoDataFrame, GeoSeries, read_file from geopandas import _compat as compat -from geopandas import GeoDataFrame, GeoSeries, read_file, datasets import pytest -import numpy as np -import pandas as pd - -if compat.USE_SHAPELY_20: - import shapely as mod -elif compat.USE_PYGEOS: - import pygeos as mod +from numpy.testing import assert_array_equal -@pytest.mark.skip_no_sindex class TestSeriesSindex: def test_has_sindex(self): """Test the has_sindex method.""" @@ -114,7 +109,6 @@ class TestSeriesSindex: assert sliced.sindex is not original_index -@pytest.mark.skip_no_sindex class TestFrameSindex: def setup_method(self): data = { @@ -171,15 +165,15 @@ class TestFrameSindex: """Selecting a subset of columns preserves the index.""" original_index = self.df.sindex # Selecting a subset of columns preserves the index for pandas < 2.0 - # with pandas 2.0, the column is now copied, losing the index (although - # with Copy-on-Write, this will again be preserved) + # with pandas 2.0, the column is now copied, losing the index. But + # with pandas >= 3.0 and Copy-on-Write this is preserved again subset1 = self.df[["geom", "A"]] - if compat.PANDAS_GE_20 and not pd.options.mode.copy_on_write: + if compat.PANDAS_GE_20 and not compat.PANDAS_GE_30: assert subset1.sindex is not original_index else: assert subset1.sindex is original_index subset2 = self.df[["A", "geom"]] - if compat.PANDAS_GE_20 and not pd.options.mode.copy_on_write: + if compat.PANDAS_GE_20 and not compat.PANDAS_GE_30: assert subset2.sindex is not original_index else: assert subset2.sindex is original_index @@ -209,12 +203,12 @@ class TestFrameSindex: assert old_sindex is new_sindex -# Skip to accommodate Shapely geometries being unhashable +# Skip to accommodate Shapely geometries being unhashable # TODO unskip? @pytest.mark.skip +@pytest.mark.usefixtures("_setup_class_nybb_filename") class TestJoinSindex: def setup_method(self): - nybb_filename = geopandas.datasets.get_path("nybb") - self.boros = read_file(nybb_filename) + self.boros = read_file(self.nybb_filename) def test_merge_geo(self): # First check that we gets hits from the boros frame. @@ -247,8 +241,7 @@ class TestJoinSindex: assert res == ["Bronx", "Queens"] -@pytest.mark.skip_no_sindex -class TestPygeosInterface: +class TestShapelyInterface: def setup_method(self): data = { "geom": [Point(x, y) for x, y in zip(range(5), range(5))] @@ -275,15 +268,9 @@ class TestPygeosInterface: @pytest.mark.parametrize("test_geom", ((-1, -1, -0.5), -0.5, None, Point(0, 0))) def test_intersection_invalid_bounds_tuple(self, test_geom): """Tests the `intersection` method with invalid inputs.""" - if compat.USE_PYGEOS: - with pytest.raises(TypeError): - # we raise a useful TypeError - self.df.sindex.intersection(test_geom) - else: - with pytest.raises((TypeError, Exception)): - # catch a general exception - # rtree raises an RTreeError which we need to catch - self.df.sindex.intersection(test_geom) + with pytest.raises(TypeError): + # we raise a useful TypeError + self.df.sindex.intersection(test_geom) # ------------------------------ `query` tests ------------------------------ # @pytest.mark.parametrize( @@ -394,6 +381,108 @@ class TestPygeosInterface: with pytest.raises(TypeError): self.df.sindex.query("notavalidgeom") + @pytest.mark.skipif(not compat.GEOS_GE_310, reason="Requires GEOS 3.10") + @pytest.mark.parametrize( + "distance, test_geom, expected", + ( + # bounds don't intersect and not within distance=0 + ( + 0, + box(9.0, 9.0, 9.9, 9.9), + [], + ), + # bounds don't intersect but is within distance=1 + ( + 1, + box(9.0, 9.0, 9.9, 9.9), + [5], + ), + # within 1-D absolute distance in both axes, but not euclidean distance + ( + 0.5, + Point(0.5, 0.5), + [], + ), + # same as before but within euclidean distance + ( + sqrt(2 * 0.5**2) + 1e-9, + Point(0.5, 0.5), + [0, 1], + ), + # less than euclidean distance between points, multi-object + ( + sqrt(2) - 1e-9, + [ + Polygon([(0, 0), (1, 0), (1, 1)]), + Polygon([(1, 1), (2, 1), (2, 2)]), + ], # multi-object test + [[0, 0, 1, 1], [0, 1, 1, 2]], + ), + # more than euclidean distance between points, multi-object + ( + sqrt(2) + 1e-9, + [ + Polygon([(0, 0), (1, 0), (1, 1)]), + Polygon([(1, 1), (2, 1), (2, 2)]), + ], + [[0, 0, 0, 1, 1, 1, 1], [0, 1, 2, 0, 1, 2, 3]], + ), + # distance is array-like, broadcastable to geometry + ( + [2, 10], + [Point(0.5, 0.5), Point(1, 1)], + [[0, 0, 1, 1, 1, 1, 1], [0, 1, 0, 1, 2, 3, 4]], + ), + ), + ) + def test_query_dwithin(self, distance, test_geom, expected): + """Tests the `query` method with predicates that require keyword arguments.""" + res = self.df.sindex.query(test_geom, predicate="dwithin", distance=distance) + assert_array_equal(res, expected) + + @pytest.mark.skipif(not compat.GEOS_GE_310, reason="Requires GEOS 3.10") + def test_dwithin_no_distance(self): + """Tests the `query` method with keyword arguments that are + invalid for certain predicates.""" + with pytest.raises( + ValueError, match="'distance' parameter is required for 'dwithin' predicate" + ): + self.df.sindex.query(Point(0, 0), predicate="dwithin") + + @pytest.mark.parametrize( + "predicate", + [ + None, + "contains", + "contains_properly", + "covered_by", + "covers", + "crosses", + "intersects", + "overlaps", + "touches", + "within", + ], + ) + def test_query_distance_invalid(self, predicate): + """Tests the `query` method with keyword arguments that are + invalid for certain predicates.""" + msg = "'distance' parameter is only supported in combination with 'dwithin'" + with pytest.raises(ValueError, match=msg): + self.df.sindex.query(Point(0, 0), predicate=predicate, distance=0) + + @pytest.mark.skipif( + compat.GEOS_GE_310, reason="Test for 'dwithin'-incompatible versions of GEOS" + ) + def test_dwithin_requirements(self): + """Tests whether a ValueError is raised when trying to use dwithin with + incompatible versions of shapely or pyGEOS + """ + with pytest.raises( + ValueError, match="predicate = 'dwithin' requires GEOS >= 3.10.0" + ): + self.df.sindex.query(Point(0, 0), predicate="dwithin", distance=0) + @pytest.mark.parametrize( "test_geom, expected_value", [ @@ -440,13 +529,8 @@ class TestPygeosInterface: ) expected = [0, 1, 2] - # pass through GeoSeries to have GeoPandas - # determine if it should use shapely or pygeos geometry objects - tree_df = geopandas.GeoDataFrame(geometry=tree_polys) - test_df = geopandas.GeoDataFrame(geometry=test_polys) - - test_geo = test_df.geometry.values[0] - res = tree_df.sindex.query(test_geo, sort=sort) + test_geo = test_polys.values[0] + res = tree_polys.sindex.query(test_geo, sort=sort) # asserting the same elements assert sorted(res) == sorted(expected) @@ -564,15 +648,12 @@ class TestPygeosInterface: ), ) def test_query_bulk(self, predicate, test_geom, expected): - """Tests the `query_bulk` method with valid + """Tests the `query` method with valid inputs and valid predicates. """ - # pass through GeoSeries to have GeoPandas - # determine if it should use shapely or pygeos geometry objects - test_geom = geopandas.GeoSeries( - [box(*geom) for geom in test_geom], index=range(len(test_geom)) + res = self.df.sindex.query( + [box(*geom) for geom in test_geom], predicate=predicate ) - res = self.df.sindex.query(test_geom, predicate=predicate) assert_array_equal(res, expected) @pytest.mark.parametrize( @@ -587,16 +668,12 @@ class TestPygeosInterface: ], ) def test_query_bulk_empty_geometry(self, test_geoms, expected_value): - """Tests the `query_bulk` method with an empty geometry.""" - # pass through GeoSeries to have GeoPandas - # determine if it should use shapely or pygeos geometry objects - # note: for this test, test_geoms (note plural) is a list already - test_geoms = geopandas.GeoSeries(test_geoms, index=range(len(test_geoms))) + """Tests the `query` method with an empty geometries.""" res = self.df.sindex.query(test_geoms) assert_array_equal(res, expected_value) def test_query_bulk_empty_input_array(self): - """Tests the `query_bulk` method with an empty input array.""" + """Tests the `query` method with an empty input array.""" test_array = np.array([], dtype=object) expected_value = [[], []] res = self.df.sindex.query(test_array) @@ -604,23 +681,19 @@ class TestPygeosInterface: def test_query_bulk_invalid_input_geometry(self): """ - Tests the `query_bulk` method with invalid input for the `geometry` parameter. + Tests the `query` method with invalid input for the `geometry` parameter. """ test_array = "notanarray" with pytest.raises(TypeError): self.df.sindex.query(test_array) def test_query_bulk_invalid_predicate(self): - """Tests the `query_bulk` method with invalid predicates.""" + """Tests the `query` method with invalid predicates.""" test_geom_bounds = (-1, -1, -0.5, -0.5) test_predicate = "test" - # pass through GeoSeries to have GeoPandas - # determine if it should use shapely or pygeos geometry objects - test_geom = geopandas.GeoSeries([box(*test_geom_bounds)], index=["0"]) - with pytest.raises(ValueError): - self.df.sindex.query(test_geom.geometry, predicate=test_predicate) + self.df.sindex.query([box(*test_geom_bounds)], predicate=test_predicate) @pytest.mark.parametrize( "predicate, test_geom, expected", @@ -631,11 +704,10 @@ class TestPygeosInterface: ), ) def test_query_bulk_input_type(self, predicate, test_geom, expected): - """Tests that query_bulk can accept a GeoSeries, GeometryArray or + """Tests that query can accept a GeoSeries, GeometryArray or numpy array. """ - # pass through GeoSeries to have GeoPandas - # determine if it should use shapely or pygeos geometry objects + # pass through GeoSeries to test input type test_geom = geopandas.GeoSeries([box(*test_geom)], index=["0"]) # test GeoSeries @@ -667,7 +739,7 @@ class TestPygeosInterface: ), ) def test_query_bulk_sorting(self, sort, expected): - """Check that results from `query_bulk` don't depend + """Check that results from `query` don't depend on the order of geometries. """ # these geometries come from a reported issue: @@ -682,12 +754,7 @@ class TestPygeosInterface: ] ) - # pass through GeoSeries to have GeoPandas - # determine if it should use shapely or pygeos geometry objects - tree_df = geopandas.GeoDataFrame(geometry=tree_polys) - test_df = geopandas.GeoDataFrame(geometry=test_polys) - - res = tree_df.sindex.query(test_df.geometry, sort=sort) + res = tree_polys.sindex.query(test_polys, sort=sort) # asserting the same elements assert sorted(res[0]) == sorted(expected[0]) @@ -706,30 +773,6 @@ class TestPygeosInterface: raise e # ------------------------- `nearest` tests ------------------------- # - @pytest.mark.skipif( - compat.USE_PYGEOS or compat.USE_SHAPELY_20, - reason=("RTree supports sindex.nearest with different behaviour"), - ) - def test_rtree_nearest_warns(self): - df = geopandas.GeoDataFrame({"geometry": []}) - with pytest.warns( - FutureWarning, match="sindex.nearest using the rtree backend" - ): - df.sindex.nearest((0, 0, 1, 1), num_results=2) - - @pytest.mark.skipif( - compat.USE_SHAPELY_20 or not (compat.USE_PYGEOS and not compat.PYGEOS_GE_010), - reason=("PyGEOS < 0.10 does not support sindex.nearest"), - ) - def test_pygeos_error(self): - df = geopandas.GeoDataFrame({"geometry": []}) - with pytest.raises(NotImplementedError, match="requires pygeos >= 0.10"): - df.sindex.nearest(None) - - @pytest.mark.skipif( - not (compat.USE_SHAPELY_20 or (compat.USE_PYGEOS and compat.PYGEOS_GE_010)), - reason=("PyGEOS >= 0.10 is required to test sindex.nearest"), - ) @pytest.mark.parametrize("return_all", [True, False]) @pytest.mark.parametrize( "geometry,expected", @@ -739,21 +782,17 @@ class TestPygeosInterface: ], ) def test_nearest_single(self, geometry, expected, return_all): - geoms = mod.points(np.arange(10), np.arange(10)) + geoms = shapely.points(np.arange(10), np.arange(10)) df = geopandas.GeoDataFrame({"geometry": geoms}) p = Point(geometry) res = df.sindex.nearest(p, return_all=return_all) assert_array_equal(res, expected) - p = mod.points(geometry) + p = shapely.points(geometry) res = df.sindex.nearest(p, return_all=return_all) assert_array_equal(res, expected) - @pytest.mark.skipif( - not (compat.USE_SHAPELY_20 or (compat.USE_PYGEOS and compat.PYGEOS_GE_010)), - reason=("PyGEOS >= 0.10 is required to test sindex.nearest"), - ) @pytest.mark.parametrize("return_all", [True, False]) @pytest.mark.parametrize( "geometry,expected", @@ -763,14 +802,14 @@ class TestPygeosInterface: ], ) def test_nearest_multi(self, geometry, expected, return_all): - geoms = mod.points(np.arange(10), np.arange(10)) + geoms = shapely.points(np.arange(10), np.arange(10)) df = geopandas.GeoDataFrame({"geometry": geoms}) ps = [Point(p) for p in geometry] res = df.sindex.nearest(ps, return_all=return_all) assert_array_equal(res, expected) - ps = mod.points(geometry) + ps = shapely.points(geometry) res = df.sindex.nearest(ps, return_all=return_all) assert_array_equal(res, expected) @@ -783,10 +822,6 @@ class TestPygeosInterface: res = df.sindex.nearest(ga, return_all=return_all) assert_array_equal(res, expected) - @pytest.mark.skipif( - not (compat.USE_SHAPELY_20 or (compat.USE_PYGEOS and compat.PYGEOS_GE_010)), - reason=("PyGEOS >= 0.10 is required to test sindex.nearest"), - ) @pytest.mark.parametrize("return_all", [True, False]) @pytest.mark.parametrize( "geometry,expected", @@ -796,16 +831,12 @@ class TestPygeosInterface: ], ) def test_nearest_none(self, geometry, expected, return_all): - geoms = mod.points(np.arange(10), np.arange(10)) + geoms = shapely.points(np.arange(10), np.arange(10)) df = geopandas.GeoDataFrame({"geometry": geoms}) res = df.sindex.nearest(geometry, return_all=return_all) assert_array_equal(res, expected) - @pytest.mark.skipif( - not (compat.USE_SHAPELY_20 or (compat.USE_PYGEOS and compat.PYGEOS_GE_010)), - reason=("PyGEOS >= 0.10 is required to test sindex.nearest"), - ) @pytest.mark.parametrize("return_distance", [True, False]) @pytest.mark.parametrize( "return_all,max_distance,expected", @@ -819,7 +850,7 @@ class TestPygeosInterface: def test_nearest_max_distance( self, expected, max_distance, return_all, return_distance ): - geoms = mod.points(np.arange(10), np.arange(10)) + geoms = shapely.points(np.arange(10), np.arange(10)) df = geopandas.GeoDataFrame({"geometry": geoms}) ps = [Point(0.5, 0.5), Point(0, 10)] @@ -835,12 +866,6 @@ class TestPygeosInterface: else: assert_array_equal(res, expected[0]) - @pytest.mark.skipif( - not (compat.USE_SHAPELY_20), - reason=( - "shapely >= 2.0 is required to test sindex.nearest with parameter exclusive" - ), - ) @pytest.mark.parametrize("return_distance", [True, False]) @pytest.mark.parametrize( "return_all,max_distance,exclusive,expected", @@ -861,7 +886,7 @@ class TestPygeosInterface: def test_nearest_exclusive( self, expected, max_distance, return_all, return_distance, exclusive ): - geoms = mod.points(np.arange(5), np.arange(5)) + geoms = shapely.points(np.arange(5), np.arange(5)) if max_distance: # add a non grid point geoms = np.append(geoms, [Point(1, 2)]) @@ -882,19 +907,6 @@ class TestPygeosInterface: else: assert_array_equal(res, expected[0]) - @pytest.mark.skipif( - compat.USE_SHAPELY_20 or not (compat.USE_PYGEOS and not compat.PYGEOS_GE_010), - reason="sindex.nearest exclusive parameter requires shapely >= 2.0", - ) - def test_nearest_exclusive_unavailable(self): - from shapely.geometry import Point - - geoms = [Point((x, y)) for (x, y) in zip(np.arange(5), np.arange(5))] - df = geopandas.GeoDataFrame(geometry=geoms) - - with pytest.raises(NotImplementedError, match="requires shapely >= 2.0"): - df.sindex.nearest(geoms, exclusive=True) - # --------------------------- misc tests ---------------------------- # def test_empty_tree_geometries(self): @@ -936,23 +948,12 @@ class TestPygeosInterface: ("touches", (2, 0)), ], ) - def test_integration_natural_earth(self, predicate, expected_shape): + def test_integration_natural_earth( + self, predicate, expected_shape, naturalearth_lowres, naturalearth_cities + ): """Tests output sizes for the naturalearth datasets.""" - world = read_file(datasets.get_path("naturalearth_lowres")) - capitals = read_file(datasets.get_path("naturalearth_cities")) + world = read_file(naturalearth_lowres) + capitals = read_file(naturalearth_cities) res = world.sindex.query(capitals.geometry, predicate) assert res.shape == expected_shape - - -@pytest.mark.skipif(not compat.HAS_RTREE, reason="no rtree installed") -def test_old_spatial_index_deprecated(): - t1 = Polygon([(0, 0), (1, 0), (1, 1)]) - t2 = Polygon([(0, 0), (1, 1), (0, 1)]) - - stream = ((i, item.bounds, None) for i, item in enumerate([t1, t2])) - - with pytest.warns(FutureWarning): - idx = geopandas.sindex.SpatialIndex(stream) - - assert list(idx.intersection((0, 0, 1, 1))) == [0, 1] diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/test_testing.py b/.venv/lib/python3.12/site-packages/geopandas/tests/test_testing.py index b119f72b..cb9d0b68 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/test_testing.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/test_testing.py @@ -1,16 +1,17 @@ import warnings import numpy as np - -from shapely.geometry import Point, Polygon import pandas as pd from pandas import DataFrame, Series +from shapely.geometry import Point, Polygon + from geopandas import GeoDataFrame, GeoSeries +from geopandas._compat import HAS_PYPROJ from geopandas.array import from_shapely -from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal import pytest +from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal s1 = GeoSeries( [ @@ -46,9 +47,9 @@ df1 = GeoDataFrame({"col1": [1, 2], "geometry": s1}) df2 = GeoDataFrame({"col1": [1, 2], "geometry": s2}) s4 = s1.copy() -s4.crs = 4326 +s4.array.crs = 4326 s5 = s2.copy() -s5.crs = 27700 +s5.array.crs = 27700 s6 = GeoSeries( [ @@ -102,9 +103,10 @@ def test_geodataframe(): assert_geodataframe_equal(df1, df3) assert_geodataframe_equal(df5, df4, check_like=True) - df5.geom2.crs = 3857 - with pytest.raises(AssertionError): - assert_geodataframe_equal(df5, df4, check_like=True) + if HAS_PYPROJ: + df5["geom2"] = df5.geom2.set_crs(3857, allow_override=True) + with pytest.raises(AssertionError): + assert_geodataframe_equal(df5, df4, check_like=True) def test_equal_nans(): @@ -119,6 +121,7 @@ def test_no_crs(): assert_geodataframe_equal(df1, df2) +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_ignore_crs_mismatch(): df1 = GeoDataFrame({"col1": [1, 2], "geometry": s1.copy()}, crs="EPSG:4326") df2 = GeoDataFrame({"col1": [1, 2], "geometry": s1}, crs="EPSG:31370") diff --git a/.venv/lib/python3.12/site-packages/geopandas/tests/util.py b/.venv/lib/python3.12/site-packages/geopandas/tests/util.py index 9e7021ef..e21ab963 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tests/util.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tests/util.py @@ -13,6 +13,15 @@ from geopandas.testing import ( # noqa: F401 HERE = os.path.abspath(os.path.dirname(__file__)) PACKAGE_DIR = os.path.dirname(os.path.dirname(HERE)) +_TEST_DATA_DIR = os.path.join(PACKAGE_DIR, "geopandas", "tests", "data") +_NYBB = "zip://" + os.path.join(_TEST_DATA_DIR, "nybb_16a.zip") +_NATURALEARTH_CITIES = os.path.join( + _TEST_DATA_DIR, "naturalearth_cities", "naturalearth_cities.shp" +) +_NATURALEARTH_LOWRES = os.path.join( + _TEST_DATA_DIR, "naturalearth_lowres", "naturalearth_lowres.shp" +) + # mock not used here, but the import from here is used in other modules try: diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__init__.py b/.venv/lib/python3.12/site-packages/geopandas/tools/__init__.py index 495d5045..6ece4117 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/__init__.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/__init__.py @@ -1,8 +1,8 @@ +from .clip import clip from .geocoding import geocode, reverse_geocode from .overlay import overlay from .sjoin import sjoin, sjoin_nearest from .util import collect -from .clip import clip __all__ = [ "collect", diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/__init__.cpython-312.pyc index 9c617d37..9f6b5eed 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/_random.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/_random.cpython-312.pyc index baf41ef7..0523d6e0 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/_random.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/_random.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/_show_versions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/_show_versions.cpython-312.pyc index db48fa5a..893225cb 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/_show_versions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/_show_versions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/clip.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/clip.cpython-312.pyc index 2a277c57..e46bebef 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/clip.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/clip.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/geocoding.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/geocoding.cpython-312.pyc index ad2255d1..8b79c749 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/geocoding.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/geocoding.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/hilbert_curve.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/hilbert_curve.cpython-312.pyc index dc2d19de..7ae69a72 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/hilbert_curve.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/hilbert_curve.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/overlay.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/overlay.cpython-312.pyc index 567af4bf..1b548677 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/overlay.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/overlay.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/sjoin.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/sjoin.cpython-312.pyc index 84c08f93..0ddeb597 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/sjoin.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/sjoin.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/util.cpython-312.pyc index c94b5383..74124e10 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/__pycache__/util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/_random.py b/.venv/lib/python3.12/site-packages/geopandas/tools/_random.py index 795667fa..007d02fa 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/_random.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/_random.py @@ -1,6 +1,7 @@ from warnings import warn import numpy + from shapely.geometry import MultiPoint from geopandas.array import from_shapely, points_from_xy @@ -64,7 +65,7 @@ def _uniform_line(geom, size, generator): """ fracs = generator.uniform(size=size) - return from_shapely(geom.interpolate(fracs, normalized=True)).unary_union() + return from_shapely(geom.interpolate(fracs, normalized=True)).union_all() def _uniform_polygon(geom, size, generator): @@ -80,4 +81,4 @@ def _uniform_polygon(geom, size, generator): ) valid_samples = batch[batch.sindex.query(geom, predicate="contains")] candidates.extend(valid_samples) - return GeoSeries(candidates[:size]).unary_union + return GeoSeries(candidates[:size]).union_all() diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/_show_versions.py b/.venv/lib/python3.12/site-packages/geopandas/tools/_show_versions.py index c24ab325..26d02f3a 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/_show_versions.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/_show_versions.py @@ -58,33 +58,27 @@ def _get_C_info(): geos_dir = None try: - import fiona + import pyogrio - gdal_version = fiona.env.get_gdal_release_name() + gdal_version = pyogrio.__gdal_version_string__ + gdal_dir = pyogrio.get_gdal_data_path() except Exception: gdal_version = None - try: - import fiona - - gdal_dir = fiona.env.GDALDataFinder().search() - except Exception: gdal_dir = None if gdal_version is None: try: - import pyogrio + import fiona - gdal_version = pyogrio.__gdal_version_string__ - gdal_dir = None + gdal_version = fiona.env.get_gdal_release_name() except Exception: - pass + gdal_version = None try: - # get_gdal_data_path is only available in pyogrio >= 0.4.2 - from pyogrio import get_gdal_data_path + import fiona - gdal_dir = get_gdal_data_path() + gdal_dir = fiona.env.GDALDataFinder().search() except Exception: - pass + gdal_dir = None blob = [ ("GEOS", geos_version), @@ -114,16 +108,15 @@ def _get_deps_info(): "pyproj", "shapely", # optional deps - "fiona", + "pyogrio", "geoalchemy2", "geopy", "matplotlib", "mapclassify", - "pygeos", - "pyogrio", + "fiona", + "psycopg", "psycopg2", "pyarrow", - "rtree", ] def get_version(module): diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/clip.py b/.venv/lib/python3.12/site-packages/geopandas/tools/clip.py index e41c49a6..0382ff2d 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/clip.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/clip.py @@ -5,11 +5,13 @@ geopandas.clip A module to clip vector data using GeoPandas. """ + import warnings import numpy as np import pandas.api.types -from shapely.geometry import Polygon, MultiPolygon, box + +from shapely.geometry import MultiPolygon, Polygon, box from geopandas import GeoDataFrame, GeoSeries from geopandas.array import _check_crs, _crs_mismatch_warn @@ -21,7 +23,7 @@ def _mask_is_list_like_rectangle(mask): ) -def _clip_gdf_with_mask(gdf, mask): +def _clip_gdf_with_mask(gdf, mask, sort=False): """Clip geometry to the polygon/rectangle extent. Clip an input GeoDataFrame to the polygon extent of the polygon @@ -35,6 +37,10 @@ def _clip_gdf_with_mask(gdf, mask): mask : (Multi)Polygon, list-like Reference polygon/rectangle for clipping. + sort : boolean, default False + If True, the results will be sorted in ascending order using the + geometries' indexes as the primary key. + Returns ------- GeoDataFrame @@ -47,7 +53,9 @@ def _clip_gdf_with_mask(gdf, mask): else: intersection_polygon = mask - gdf_sub = gdf.iloc[gdf.sindex.query(intersection_polygon, predicate="intersects")] + gdf_sub = gdf.iloc[ + gdf.sindex.query(intersection_polygon, predicate="intersects", sort=sort) + ] # For performance reasons points don't need to be intersected with poly non_point_mask = gdf_sub.geom_type != "Point" @@ -60,13 +68,13 @@ def _clip_gdf_with_mask(gdf, mask): if isinstance(gdf_sub, GeoDataFrame): clipped = gdf_sub.copy() if clipping_by_rectangle: - clipped.loc[ - non_point_mask, clipped._geometry_column_name - ] = gdf_sub.geometry.values[non_point_mask].clip_by_rect(*mask) + clipped.loc[non_point_mask, clipped._geometry_column_name] = ( + gdf_sub.geometry.values[non_point_mask].clip_by_rect(*mask) + ) else: - clipped.loc[ - non_point_mask, clipped._geometry_column_name - ] = gdf_sub.geometry.values[non_point_mask].intersection(mask) + clipped.loc[non_point_mask, clipped._geometry_column_name] = ( + gdf_sub.geometry.values[non_point_mask].intersection(mask) + ) else: # GeoSeries clipped = gdf_sub.copy() @@ -81,7 +89,7 @@ def _clip_gdf_with_mask(gdf, mask): return clipped -def clip(gdf, mask, keep_geom_type=False): +def clip(gdf, mask, keep_geom_type=False, sort=False): """Clip points, lines, or polygon geometries to the mask extent. Both layers must be in the same Coordinate Reference System (CRS). @@ -112,6 +120,9 @@ def clip(gdf, mask, keep_geom_type=False): If True, return only geometries of original type in case of intersection resulting in multiple geometry types or GeometryCollections. If False, return all resulting geometries (potentially mixed-types). + sort : boolean, default False + If True, the results will be sorted in ascending order using the + geometries' indexes as the primary key. Returns ------- @@ -185,11 +196,11 @@ def clip(gdf, mask, keep_geom_type=False): return gdf.iloc[:0] if isinstance(mask, (GeoDataFrame, GeoSeries)): - combined_mask = mask.geometry.unary_union + combined_mask = mask.geometry.union_all() else: combined_mask = mask - clipped = _clip_gdf_with_mask(gdf, combined_mask) + clipped = _clip_gdf_with_mask(gdf, combined_mask, sort=sort) if keep_geom_type: geomcoll_concat = (clipped.geom_type == "GeometryCollection").any() diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/geocoding.py b/.venv/lib/python3.12/site-packages/geopandas/tools/geocoding.py index 5ea5376f..d1b9aaa6 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/geocoding.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/geocoding.py @@ -1,5 +1,5 @@ -from collections import defaultdict import time +from collections import defaultdict import pandas as pd @@ -120,8 +120,8 @@ def reverse_geocode(points, provider=None, **kwargs): def _query(data, forward, provider, throttle_time, **kwargs): # generic wrapper for calls over lists to geopy Geocoders - from geopy.geocoders.base import GeocoderQueryError from geopy.geocoders import get_geocoder_for_service + from geopy.geocoders.base import GeocoderQueryError if forward: if not isinstance(data, pd.Series): diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/overlay.py b/.venv/lib/python3.12/site-packages/geopandas/tools/overlay.py index 102d84b9..06e60f7c 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/overlay.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/overlay.py @@ -4,8 +4,8 @@ from functools import reduce import numpy as np import pandas as pd -from geopandas import _compat as compat from geopandas import GeoDataFrame, GeoSeries +from geopandas._compat import PANDAS_GE_30 from geopandas.array import _check_crs, _crs_mismatch_warn @@ -15,12 +15,15 @@ def _ensure_geometry_column(df): If another column with that name exists, it will be dropped. """ if not df._geometry_column_name == "geometry": - if "geometry" in df.columns: - df.drop("geometry", axis=1, inplace=True) - df.rename( - columns={df._geometry_column_name: "geometry"}, copy=False, inplace=True - ) - df.set_geometry("geometry", inplace=True) + if PANDAS_GE_30: + if "geometry" in df.columns: + df = df.drop("geometry", axis=1) + df = df.rename_geometry("geometry") + else: + if "geometry" in df.columns: + df.drop("geometry", axis=1, inplace=True) + df.rename_geometry("geometry", inplace=True) + return df def _overlay_intersection(df1, df2): @@ -37,7 +40,7 @@ def _overlay_intersection(df1, df2): right.reset_index(drop=True, inplace=True) intersections = left.intersection(right) poly_ix = intersections.geom_type.isin(["Polygon", "MultiPolygon"]) - intersections.loc[poly_ix] = intersections[poly_ix].buffer(0) + intersections.loc[poly_ix] = intersections[poly_ix].make_valid() # only keep actual intersecting geometries pairs_intersect = pd.DataFrame({"__idx1": idx1, "__idx2": idx2}) @@ -66,8 +69,8 @@ def _overlay_intersection(df1, df2): right_index=True, suffixes=("_1", "_2"), ) - result["__idx1"] = None - result["__idx2"] = None + result["__idx1"] = np.nan + result["__idx2"] = np.nan return result[ result.columns.drop(df1.geometry.name).tolist() + [df1.geometry.name] ] @@ -94,10 +97,7 @@ def _overlay_difference(df1, df2): new_g.append(new) differences = GeoSeries(new_g, index=df1.index, crs=df1.crs) poly_ix = differences.geom_type.isin(["Polygon", "MultiPolygon"]) - if compat.USE_PYGEOS: - differences.loc[poly_ix] = differences[poly_ix].make_valid() - else: - differences.loc[poly_ix] = differences[poly_ix].buffer(0) + differences.loc[poly_ix] = differences[poly_ix].make_valid() geom_diff = differences[~differences.is_empty].copy() dfdiff = df1[~differences.is_empty].copy() dfdiff[dfdiff._geometry_column_name] = geom_diff @@ -115,8 +115,8 @@ def _overlay_symmetric_diff(df1, df2): dfdiff1["__idx2"] = np.nan dfdiff2["__idx1"] = np.nan # ensure geometry name (otherwise merge goes wrong) - _ensure_geometry_column(dfdiff1) - _ensure_geometry_column(dfdiff2) + dfdiff1 = _ensure_geometry_column(dfdiff1) + dfdiff2 = _ensure_geometry_column(dfdiff2) # combine both 'difference' dataframes dfsym = dfdiff1.merge( dfdiff2, on=["__idx1", "__idx2"], how="outer", suffixes=("_1", "_2") @@ -170,7 +170,7 @@ def overlay(df1, df2, how="intersection", keep_geom_type=None, make_valid=True): which will set keep_geom_type to True but warn upon dropping geometries. make_valid : bool, default True - If True, any invalid input geometries are corrected with a call to `buffer(0)`, + If True, any invalid input geometries are corrected with a call to make_valid(), if False, a `ValueError` is raised if any input geometries are invalid. Returns @@ -190,40 +190,40 @@ def overlay(df1, df2, how="intersection", keep_geom_type=None, make_valid=True): >>> df2 = geopandas.GeoDataFrame({'geometry': polys2, 'df2_data':[1,2]}) >>> geopandas.overlay(df1, df2, how='union') - df1_data df2_data geometry - 0 1.0 1.0 POLYGON ((2.00000 2.00000, 2.00000 1.00000, 1.... - 1 2.0 1.0 POLYGON ((2.00000 2.00000, 2.00000 3.00000, 3.... - 2 2.0 2.0 POLYGON ((4.00000 4.00000, 4.00000 3.00000, 3.... - 3 1.0 NaN POLYGON ((2.00000 0.00000, 0.00000 0.00000, 0.... - 4 2.0 NaN MULTIPOLYGON (((3.00000 4.00000, 3.00000 3.000... - 5 NaN 1.0 MULTIPOLYGON (((2.00000 3.00000, 2.00000 2.000... - 6 NaN 2.0 POLYGON ((3.00000 5.00000, 5.00000 5.00000, 5.... + df1_data df2_data geometry + 0 1.0 1.0 POLYGON ((2 2, 2 1, 1 1, 1 2, 2 2)) + 1 2.0 1.0 POLYGON ((2 2, 2 3, 3 3, 3 2, 2 2)) + 2 2.0 2.0 POLYGON ((4 4, 4 3, 3 3, 3 4, 4 4)) + 3 1.0 NaN POLYGON ((2 0, 0 0, 0 2, 1 2, 1 1, 2 1, 2 0)) + 4 2.0 NaN MULTIPOLYGON (((3 4, 3 3, 2 3, 2 4, 3 4)), ((4... + 5 NaN 1.0 MULTIPOLYGON (((2 3, 2 2, 1 2, 1 3, 2 3)), ((3... + 6 NaN 2.0 POLYGON ((3 5, 5 5, 5 3, 4 3, 4 4, 3 4, 3 5)) >>> geopandas.overlay(df1, df2, how='intersection') - df1_data df2_data geometry - 0 1 1 POLYGON ((2.00000 2.00000, 2.00000 1.00000, 1.... - 1 2 1 POLYGON ((2.00000 2.00000, 2.00000 3.00000, 3.... - 2 2 2 POLYGON ((4.00000 4.00000, 4.00000 3.00000, 3.... + df1_data df2_data geometry + 0 1 1 POLYGON ((2 2, 2 1, 1 1, 1 2, 2 2)) + 1 2 1 POLYGON ((2 2, 2 3, 3 3, 3 2, 2 2)) + 2 2 2 POLYGON ((4 4, 4 3, 3 3, 3 4, 4 4)) >>> geopandas.overlay(df1, df2, how='symmetric_difference') - df1_data df2_data geometry - 0 1.0 NaN POLYGON ((2.00000 0.00000, 0.00000 0.00000, 0.... - 1 2.0 NaN MULTIPOLYGON (((3.00000 4.00000, 3.00000 3.000... - 2 NaN 1.0 MULTIPOLYGON (((2.00000 3.00000, 2.00000 2.000... - 3 NaN 2.0 POLYGON ((3.00000 5.00000, 5.00000 5.00000, 5.... + df1_data df2_data geometry + 0 1.0 NaN POLYGON ((2 0, 0 0, 0 2, 1 2, 1 1, 2 1, 2 0)) + 1 2.0 NaN MULTIPOLYGON (((3 4, 3 3, 2 3, 2 4, 3 4)), ((4... + 2 NaN 1.0 MULTIPOLYGON (((2 3, 2 2, 1 2, 1 3, 2 3)), ((3... + 3 NaN 2.0 POLYGON ((3 5, 5 5, 5 3, 4 3, 4 4, 3 4, 3 5)) >>> geopandas.overlay(df1, df2, how='difference') - geometry df1_data - 0 POLYGON ((2.00000 0.00000, 0.00000 0.00000, 0.... 1 - 1 MULTIPOLYGON (((3.00000 4.00000, 3.00000 3.000... 2 + geometry df1_data + 0 POLYGON ((2 0, 0 0, 0 2, 1 2, 1 1, 2 1, 2 0)) 1 + 1 MULTIPOLYGON (((3 4, 3 3, 2 3, 2 4, 3 4)), ((4... 2 >>> geopandas.overlay(df1, df2, how='identity') df1_data df2_data geometry - 0 1.0 1.0 POLYGON ((2.00000 2.00000, 2.00000 1.00000, 1.... - 1 2.0 1.0 POLYGON ((2.00000 2.00000, 2.00000 3.00000, 3.... - 2 2.0 2.0 POLYGON ((4.00000 4.00000, 4.00000 3.00000, 3.... - 3 1.0 NaN POLYGON ((2.00000 0.00000, 0.00000 0.00000, 0.... - 4 2.0 NaN MULTIPOLYGON (((3.00000 4.00000, 3.00000 3.000... + 0 1.0 1.0 POLYGON ((2 2, 2 1, 1 1, 1 2, 2 2)) + 1 2.0 1.0 POLYGON ((2 2, 2 3, 3 3, 3 2, 2 2)) + 2 2.0 2.0 POLYGON ((4 4, 4 3, 3 3, 3 4, 4 4)) + 3 1.0 NaN POLYGON ((2 0, 0 0, 0 2, 1 2, 1 1, 2 1, 2 0)) + 4 2.0 NaN MULTIPOLYGON (((3 4, 3 3, 2 3, 2 4, 3 4)), ((4... See also -------- @@ -300,7 +300,7 @@ def overlay(df1, df2, how="intersection", keep_geom_type=None, make_valid=True): mask = ~df.geometry.is_valid col = df._geometry_column_name if make_valid: - df.loc[mask, col] = df.loc[mask, col].buffer(0) + df.loc[mask, col] = df.loc[mask, col].make_valid() elif mask.any(): raise ValueError( "You have passed make_valid=False along with " @@ -362,7 +362,7 @@ def overlay(df1, df2, how="intersection", keep_geom_type=None, make_valid=True): # level_0 created with above reset_index operation # and represents the original geometry collections - # TODO avoiding dissolve to call unary_union in this case could further + # TODO avoiding dissolve to call union_all in this case could further # improve performance (we only need to collect geometries in their # respective Multi version) dissolved = exploded.dissolve(by="level_0") diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/sjoin.py b/.venv/lib/python3.12/site-packages/geopandas/tools/sjoin.py index 8bffdd16..06d7ef74 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/sjoin.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/sjoin.py @@ -1,11 +1,12 @@ -from typing import Optional import warnings +from functools import partial +from typing import Optional import numpy as np import pandas as pd from geopandas import GeoDataFrame -from geopandas import _compat as compat +from geopandas._compat import PANDAS_GE_30 from geopandas.array import _check_crs, _crs_mismatch_warn @@ -16,6 +17,8 @@ def sjoin( predicate="intersects", lsuffix="left", rsuffix="right", + distance=None, + on_attribute=None, **kwargs, ): """Spatial join of two GeoDataFrames. @@ -43,6 +46,16 @@ def sjoin( Suffix to apply to overlapping column names (left GeoDataFrame). rsuffix : string, default 'right' Suffix to apply to overlapping column names (right GeoDataFrame). + distance : number or array_like, optional + Distance(s) around each input geometry within which to query the tree + for the 'dwithin' predicate. If array_like, must be + one-dimesional with length equal to length of left GeoDataFrame. + Required if ``predicate='dwithin'``. + on_attribute : string, list or tuple + Column name(s) to join on as an additional join restriction on top + of the spatial predicate. These must be found in both DataFrames. + If set, observations are joined only if the predicate applies + and values in specified columns match. Examples -------- @@ -74,12 +87,12 @@ def sjoin( >>> groceries_w_communities = geopandas.sjoin(groceries, chicago) >>> groceries_w_communities.head() # doctest: +SKIP - OBJECTID Ycoord Xcoord ... GonorrF GonorrM Tuberc - 0 16 41.973266 -87.657073 ... 170.8 468.7 13.6 - 87 365 41.961707 -87.654058 ... 170.8 468.7 13.6 - 90 373 41.963131 -87.656352 ... 170.8 468.7 13.6 - 140 582 41.969131 -87.674882 ... 170.8 468.7 13.6 - 1 18 41.696367 -87.681315 ... 800.5 741.1 2.6 + OBJECTID community geometry + 0 16 UPTOWN MULTIPOINT ((-87.65661 41.97321)) + 1 18 MORGAN PARK MULTIPOINT ((-87.68136 41.69713)) + 2 22 NEAR WEST SIDE MULTIPOINT ((-87.63918 41.86847)) + 3 23 NEAR WEST SIDE MULTIPOINT ((-87.65495 41.87783)) + 4 27 CHATHAM MULTIPOINT ((-87.62715 41.73623)) [5 rows x 95 columns] See also @@ -92,40 +105,42 @@ def sjoin( Every operation in GeoPandas is planar, i.e. the potential third dimension is not taken into account. """ - if "op" in kwargs: - op = kwargs.pop("op") - deprecation_message = ( - "The `op` parameter is deprecated and will be removed" - " in a future release. Please use the `predicate` parameter" - " instead." - ) - if predicate != "intersects" and op != predicate: - override_message = ( - "A non-default value for `predicate` was passed" - f' (got `predicate="{predicate}"`' - f' in combination with `op="{op}"`).' - " The value of `predicate` will be overridden by the value of `op`," - " , which may result in unexpected behavior." - f"\n{deprecation_message}" - ) - warnings.warn(override_message, UserWarning, stacklevel=4) - else: - warnings.warn(deprecation_message, FutureWarning, stacklevel=4) - predicate = op if kwargs: first = next(iter(kwargs.keys())) raise TypeError(f"sjoin() got an unexpected keyword argument '{first}'") - _basic_checks(left_df, right_df, how, lsuffix, rsuffix) + on_attribute = _maybe_make_list(on_attribute) - indices = _geom_predicate_query(left_df, right_df, predicate) + _basic_checks(left_df, right_df, how, lsuffix, rsuffix, on_attribute=on_attribute), - joined = _frame_join(indices, left_df, right_df, how, lsuffix, rsuffix) + indices = _geom_predicate_query( + left_df, right_df, predicate, distance, on_attribute=on_attribute + ) + + joined, _ = _frame_join( + left_df, + right_df, + indices, + None, + how, + lsuffix, + rsuffix, + predicate, + on_attribute=on_attribute, + ) return joined -def _basic_checks(left_df, right_df, how, lsuffix, rsuffix): +def _maybe_make_list(obj): + if isinstance(obj, tuple): + return list(obj) + if obj is not None and not isinstance(obj, list): + return [obj] + return obj + + +def _basic_checks(left_df, right_df, how, lsuffix, rsuffix, on_attribute=None): """Checks the validity of join input parameters. `how` must be one of the valid options. @@ -142,6 +157,8 @@ def _basic_checks(left_df, right_df, how, lsuffix, rsuffix): left index suffix rsuffix : str right index suffix + on_attribute : list, default None + list of column names to merge on along with geometry """ if not isinstance(left_df, GeoDataFrame): raise ValueError( @@ -162,20 +179,28 @@ def _basic_checks(left_df, right_df, how, lsuffix, rsuffix): if not _check_crs(left_df, right_df): _crs_mismatch_warn(left_df, right_df, stacklevel=4) - index_left = "index_{}".format(lsuffix) - index_right = "index_{}".format(rsuffix) - - # due to GH 352 - if any(left_df.columns.isin([index_left, index_right])) or any( - right_df.columns.isin([index_left, index_right]) - ): - raise ValueError( - "'{0}' and '{1}' cannot be names in the frames being" - " joined".format(index_left, index_right) - ) + if on_attribute: + for attr in on_attribute: + if (attr not in left_df) and (attr not in right_df): + raise ValueError( + f"Expected column {attr} is missing from both of the dataframes." + ) + if attr not in left_df: + raise ValueError( + f"Expected column {attr} is missing from the left dataframe." + ) + if attr not in right_df: + raise ValueError( + f"Expected column {attr} is missing from the right dataframe." + ) + if attr in (left_df.geometry.name, right_df.geometry.name): + raise ValueError( + "Active geometry column cannot be used as an input " + "for on_attribute parameter." + ) -def _geom_predicate_query(left_df, right_df, predicate): +def _geom_predicate_query(left_df, right_df, predicate, distance, on_attribute=None): """Compute geometric comparisons and get matching indices. Parameters @@ -184,6 +209,9 @@ def _geom_predicate_query(left_df, right_df, predicate): right_df : GeoDataFrame predicate : string Binary predicate to query. + on_attribute: list, default None + list of column names to merge on along with geometry + Returns ------- @@ -191,163 +219,292 @@ def _geom_predicate_query(left_df, right_df, predicate): DataFrame with matching indices in columns named `_key_left` and `_key_right`. """ - with warnings.catch_warnings(): - # We don't need to show our own warning here - # TODO remove this once the deprecation has been enforced - warnings.filterwarnings( - "ignore", "Generated spatial index is empty", FutureWarning - ) - original_predicate = predicate + original_predicate = predicate - if predicate == "within": - # within is implemented as the inverse of contains - # contains is a faster predicate - # see discussion at https://github.com/geopandas/geopandas/pull/1421 - predicate = "contains" - sindex = left_df.sindex - input_geoms = right_df.geometry - else: - # all other predicates are symmetric - # keep them the same - sindex = right_df.sindex - input_geoms = left_df.geometry + if predicate == "within": + # within is implemented as the inverse of contains + # contains is a faster predicate + # see discussion at https://github.com/geopandas/geopandas/pull/1421 + predicate = "contains" + sindex = left_df.sindex + input_geoms = right_df.geometry + else: + # all other predicates are symmetric + # keep them the same + sindex = right_df.sindex + input_geoms = left_df.geometry if sindex: - l_idx, r_idx = sindex.query(input_geoms, predicate=predicate, sort=False) - indices = pd.DataFrame({"_key_left": l_idx, "_key_right": r_idx}) + l_idx, r_idx = sindex.query( + input_geoms, predicate=predicate, sort=False, distance=distance + ) else: # when sindex is empty / has no valid geometries - indices = pd.DataFrame(columns=["_key_left", "_key_right"], dtype=float) + l_idx, r_idx = np.array([], dtype=np.intp), np.array([], dtype=np.intp) if original_predicate == "within": # within is implemented as the inverse of contains # flip back the results - indices = indices.rename( - columns={"_key_left": "_key_right", "_key_right": "_key_left"} + r_idx, l_idx = l_idx, r_idx + indexer = np.lexsort((r_idx, l_idx)) + l_idx = l_idx[indexer] + r_idx = r_idx[indexer] + + if on_attribute: + for attr in on_attribute: + (l_idx, r_idx), _ = _filter_shared_attribute( + left_df, right_df, l_idx, r_idx, attr + ) + + return l_idx, r_idx + + +def _reset_index_with_suffix(df, suffix, other): + """ + Equivalent of df.reset_index(), but with adding 'suffix' to auto-generated + column names. + """ + index_original = df.index.names + if PANDAS_GE_30: + df_reset = df.reset_index() + else: + # we already made a copy of the dataframe in _frame_join before getting here + df_reset = df + df_reset.reset_index(inplace=True) + column_names = df_reset.columns.to_numpy(copy=True) + for i, label in enumerate(index_original): + # if the original label was None, add suffix to auto-generated name + if label is None: + new_label = column_names[i] + if "level" in new_label: + # reset_index of MultiIndex gives "level_i" names, preserve the "i" + lev = new_label.split("_")[1] + new_label = f"index_{suffix}{lev}" + else: + new_label = f"index_{suffix}" + # check new label will not be in other dataframe + if new_label in df.columns or new_label in other.columns: + raise ValueError( + "'{0}' cannot be a column name in the frames being" + " joined".format(new_label) + ) + column_names[i] = new_label + return df_reset, pd.Index(column_names) + + +def _process_column_names_with_suffix( + left: pd.Index, right: pd.Index, suffixes, left_df, right_df +): + """ + Add suffixes to overlapping labels (ignoring the geometry column). + + This is based on pandas' merge logic at https://github.com/pandas-dev/pandas/blob/ + a0779adb183345a8eb4be58b3ad00c223da58768/pandas/core/reshape/merge.py#L2300-L2370 + """ + to_rename = left.intersection(right) + if len(to_rename) == 0: + return left, right + + lsuffix, rsuffix = suffixes + + if not lsuffix and not rsuffix: + raise ValueError(f"columns overlap but no suffix specified: {to_rename}") + + def renamer(x, suffix, geometry): + if x in to_rename and x != geometry and suffix is not None: + return f"{x}_{suffix}" + return x + + lrenamer = partial( + renamer, + suffix=lsuffix, + geometry=getattr(left_df, "_geometry_column_name", None), + ) + rrenamer = partial( + renamer, + suffix=rsuffix, + geometry=getattr(right_df, "_geometry_column_name", None), + ) + + # TODO retain index name? + left_renamed = pd.Index([lrenamer(lab) for lab in left]) + right_renamed = pd.Index([rrenamer(lab) for lab in right]) + + dups = [] + if not left_renamed.is_unique: + # Only warn when duplicates are caused because of suffixes, already duplicated + # columns in origin should not warn + dups = left_renamed[(left_renamed.duplicated()) & (~left.duplicated())].tolist() + if not right_renamed.is_unique: + dups.extend( + right_renamed[(right_renamed.duplicated()) & (~right.duplicated())].tolist() + ) + # TODO turn this into an error (pandas has done so as well) + if dups: + warnings.warn( + f"Passing 'suffixes' which cause duplicate columns {set(dups)} in the " + f"result is deprecated and will raise a MergeError in a future version.", + FutureWarning, + stacklevel=4, ) - return indices + return left_renamed, right_renamed -def _frame_join(join_df, left_df, right_df, how, lsuffix, rsuffix): +def _restore_index(joined, index_names, index_names_original): + """ + Set back the the original index columns, and restoring their name as `None` + if they didn't have a name originally. + """ + if PANDAS_GE_30: + joined = joined.set_index(list(index_names)) + else: + joined.set_index(list(index_names), inplace=True) + + # restore the fact that the index didn't have a name + joined_index_names = list(joined.index.names) + for i, label in enumerate(index_names_original): + if label is None: + joined_index_names[i] = None + joined.index.names = joined_index_names + return joined + + +def _adjust_indexers(indices, distances, original_length, how, predicate): + """ + The left/right indexers from the query represents an inner join. + For a left or right join, we need to adjust them to include the rows + that would not be present in an inner join. + """ + # the indices represent an inner join, no adjustment needed + if how == "inner": + return indices, distances + + l_idx, r_idx = indices + + if how == "right": + # re-sort so it is sorted by the right indexer + indexer = np.lexsort((l_idx, r_idx)) + l_idx, r_idx = l_idx[indexer], r_idx[indexer] + if distances is not None: + distances = distances[indexer] + + # switch order + r_idx, l_idx = l_idx, r_idx + + # determine which indices are missing and where they would need to be inserted + idx = np.arange(original_length) + l_idx_missing = idx[~np.isin(idx, l_idx)] + insert_idx = np.searchsorted(l_idx, l_idx_missing) + # for the left indexer, insert those missing indices + l_idx = np.insert(l_idx, insert_idx, l_idx_missing) + # for the right indexer, insert -1 -> to get missing values in pandas' reindexing + r_idx = np.insert(r_idx, insert_idx, -1) + # for the indices, already insert those missing values manually + if distances is not None: + distances = np.insert(distances, insert_idx, np.nan) + + if how == "right": + # switch back + l_idx, r_idx = r_idx, l_idx + + return (l_idx, r_idx), distances + + +def _frame_join( + left_df, + right_df, + indices, + distances, + how, + lsuffix, + rsuffix, + predicate, + on_attribute=None, +): """Join the GeoDataFrames at the DataFrame level. Parameters ---------- - join_df : DataFrame - Indices and join data returned by the geometric join. - Must have columns `_key_left` and `_key_right` - with integer indices representing the matches - from `left_df` and `right_df` respectively. - Additional columns may be included and will be copied to - the resultant GeoDataFrame. left_df : GeoDataFrame right_df : GeoDataFrame + indices : tuple of ndarray + Indices returned by the geometric join. Tuple with with integer + indices representing the matches from `left_df` and `right_df` + respectively. + distances : ndarray, optional + Passed trough and adapted based on the indices, if needed. + how : string + The type of join to use on the DataFrame level. lsuffix : string Suffix to apply to overlapping column names (left GeoDataFrame). rsuffix : string Suffix to apply to overlapping column names (right GeoDataFrame). - how : string - The type of join to use on the DataFrame level. + on_attribute: list, default None + list of column names to merge on along with geometry + Returns ------- GeoDataFrame Joined GeoDataFrame. """ - # the spatial index only allows limited (numeric) index types, but an - # index in geopandas may be any arbitrary dtype. so reset both indices now - # and store references to the original indices, to be reaffixed later. - # GH 352 - index_left = "index_{}".format(lsuffix) - left_df = left_df.copy(deep=True) - try: - left_index_name = left_df.index.name - left_df.index = left_df.index.rename(index_left) - except TypeError: - index_left = [ - "index_{}".format(lsuffix + str(pos)) - for pos, ix in enumerate(left_df.index.names) - ] - left_index_name = left_df.index.names - left_df.index = left_df.index.rename(index_left) - left_df = left_df.reset_index() + if on_attribute: # avoid renaming or duplicating shared column + right_df = right_df.drop(on_attribute, axis=1) - index_right = "index_{}".format(rsuffix) - right_df = right_df.copy(deep=True) - try: - right_index_name = right_df.index.name - right_df.index = right_df.index.rename(index_right) - except TypeError: - index_right = [ - "index_{}".format(rsuffix + str(pos)) - for pos, ix in enumerate(right_df.index.names) - ] - right_index_name = right_df.index.names - right_df.index = right_df.index.rename(index_right) - right_df = right_df.reset_index() + if how in ("inner", "left"): + right_df = right_df.drop(right_df.geometry.name, axis=1) + else: # how == 'right': + left_df = left_df.drop(left_df.geometry.name, axis=1) + + left_df = left_df.copy(deep=False) + left_nlevels = left_df.index.nlevels + left_index_original = left_df.index.names + left_df, left_column_names = _reset_index_with_suffix(left_df, lsuffix, right_df) + + right_df = right_df.copy(deep=False) + right_nlevels = right_df.index.nlevels + right_index_original = right_df.index.names + right_df, right_column_names = _reset_index_with_suffix(right_df, rsuffix, left_df) + + # if conflicting names in left and right, add suffix + left_column_names, right_column_names = _process_column_names_with_suffix( + left_column_names, + right_column_names, + (lsuffix, rsuffix), + left_df, + right_df, + ) + left_df.columns = left_column_names + right_df.columns = right_column_names + left_index = left_df.columns[:left_nlevels] + right_index = right_df.columns[:right_nlevels] # perform join on the dataframes - if how == "inner": - join_df = join_df.set_index("_key_left") - joined = ( - left_df.merge(join_df, left_index=True, right_index=True) - .merge( - right_df.drop(right_df.geometry.name, axis=1), - left_on="_key_right", - right_index=True, - suffixes=("_{}".format(lsuffix), "_{}".format(rsuffix)), - ) - .set_index(index_left) - .drop(["_key_right"], axis=1) - ) - if isinstance(index_left, list): - joined.index.names = left_index_name - else: - joined.index.name = left_index_name - - elif how == "left": - join_df = join_df.set_index("_key_left") - joined = ( - left_df.merge(join_df, left_index=True, right_index=True, how="left") - .merge( - right_df.drop(right_df.geometry.name, axis=1), - how="left", - left_on="_key_right", - right_index=True, - suffixes=("_{}".format(lsuffix), "_{}".format(rsuffix)), - ) - .set_index(index_left) - .drop(["_key_right"], axis=1) - ) - if isinstance(index_left, list): - joined.index.names = left_index_name - else: - joined.index.name = left_index_name + original_length = len(right_df) if how == "right" else len(left_df) + (l_idx, r_idx), distances = _adjust_indexers( + indices, distances, original_length, how, predicate + ) + # the `take` method doesn't allow introducing NaNs with -1 indices + # left = left_df.take(l_idx) + # therefore we are using the private _reindex_with_indexers as workaround + new_index = pd.RangeIndex(len(l_idx)) + left = left_df._reindex_with_indexers({0: (new_index, l_idx)}) + right = right_df._reindex_with_indexers({0: (new_index, r_idx)}) + if PANDAS_GE_30: + kwargs = {} + else: + kwargs = dict(copy=False) + joined = pd.concat([left, right], axis=1, **kwargs) + if how in ("inner", "left"): + joined = _restore_index(joined, left_index, left_index_original) else: # how == 'right': - joined = ( - left_df.drop(left_df.geometry.name, axis=1) - .merge( - join_df.merge( - right_df, left_on="_key_right", right_index=True, how="right" - ), - left_index=True, - right_on="_key_left", - how="right", - suffixes=("_{}".format(lsuffix), "_{}".format(rsuffix)), - ) - .set_index(index_right) - .drop(["_key_left", "_key_right"], axis=1) - .set_geometry(right_df.geometry.name) - ) - if isinstance(index_right, list): - joined.index.names = right_index_name - else: - joined.index.name = right_index_name + joined = joined.set_geometry(right_df.geometry.name) + joined = _restore_index(joined, right_index, right_index_original) - return joined + return joined, distances def _nearest_query( @@ -357,13 +514,8 @@ def _nearest_query( how: str, return_distance: bool, exclusive: bool, + on_attribute: Optional[list] = None, ): - if not (compat.USE_SHAPELY_20 or (compat.USE_PYGEOS and compat.PYGEOS_GE_010)): - raise NotImplementedError( - "Currently, only PyGEOS >= 0.10.0 or Shapely >= 2.0 supports " - "`nearest_all`. " + compat.INSTALL_PYGEOS_ERROR - ) - # use the opposite of the join direction for the index use_left_as_sindex = how == "right" if use_left_as_sindex: @@ -393,15 +545,37 @@ def _nearest_query( distances = distances[sort_order] else: l_idx, r_idx = input_idx, tree_idx - join_df = pd.DataFrame( - {"_key_left": l_idx, "_key_right": r_idx, "distances": distances} - ) else: # when sindex is empty / has no valid geometries - join_df = pd.DataFrame( - columns=["_key_left", "_key_right", "distances"], dtype=float - ) - return join_df + l_idx, r_idx = np.array([], dtype=np.intp), np.array([], dtype=np.intp) + if return_distance: + distances = np.array([], dtype=np.float64) + else: + distances = None + + if on_attribute: + for attr in on_attribute: + (l_idx, r_idx), shared_attribute_rows = _filter_shared_attribute( + left_df, right_df, l_idx, r_idx, attr + ) + distances = distances[shared_attribute_rows] + + return (l_idx, r_idx), distances + + +def _filter_shared_attribute(left_df, right_df, l_idx, r_idx, attribute): + """ + Returns the indices for the left and right dataframe that share the same entry + in the attribute column. Also returns a Boolean `shared_attribute_rows` for rows + with the same entry. + """ + shared_attribute_rows = ( + left_df[attribute].iloc[l_idx].values == right_df[attribute].iloc[r_idx].values + ) + + l_idx = l_idx[shared_attribute_rows] + r_idx = r_idx[shared_attribute_rows] + return (l_idx, r_idx), shared_attribute_rows def sjoin_nearest( @@ -453,7 +627,6 @@ def sjoin_nearest( exclusive : bool, default False If True, the nearest geometries that are equal to the input geometry will not be returned, default False. - Requires Shapely >= 2.0. Examples -------- @@ -466,7 +639,7 @@ def sjoin_nearest( ... ).to_crs(groceries.crs) >>> chicago.head() # doctest: +SKIP - ComAreaID ... geometry + ComAreaID ... geometry 0 35 ... POLYGON ((-87.60914 41.84469, -87.60915 41.844... 1 36 ... POLYGON ((-87.59215 41.81693, -87.59231 41.816... 2 37 ... POLYGON ((-87.62880 41.80189, -87.62879 41.801... @@ -475,19 +648,19 @@ def sjoin_nearest( [5 rows x 87 columns] >>> groceries.head() # doctest: +SKIP - OBJECTID Ycoord ... Category geometry - 0 16 41.973266 ... NaN MULTIPOINT (-87.65661 41.97321) - 1 18 41.696367 ... NaN MULTIPOINT (-87.68136 41.69713) - 2 22 41.868634 ... NaN MULTIPOINT (-87.63918 41.86847) - 3 23 41.877590 ... new MULTIPOINT (-87.65495 41.87783) - 4 27 41.737696 ... NaN MULTIPOINT (-87.62715 41.73623) + OBJECTID Ycoord ... Category geometry + 0 16 41.973266 ... NaN MULTIPOINT ((-87.65661 41.97321)) + 1 18 41.696367 ... NaN MULTIPOINT ((-87.68136 41.69713)) + 2 22 41.868634 ... NaN MULTIPOINT ((-87.63918 41.86847)) + 3 23 41.877590 ... new MULTIPOINT ((-87.65495 41.87783)) + 4 27 41.737696 ... NaN MULTIPOINT ((-87.62715 41.73623)) [5 rows x 8 columns] >>> groceries_w_communities = geopandas.sjoin_nearest(groceries, chicago) >>> groceries_w_communities[["Chain", "community", "geometry"]].head(2) - Chain community geometry - 0 VIET HOA PLAZA UPTOWN MULTIPOINT (1168268.672 1933554.350) - 87 JEWEL OSCO UPTOWN MULTIPOINT (1168837.980 1929246.962) + Chain community geometry + 0 VIET HOA PLAZA UPTOWN MULTIPOINT ((1168268.672 1933554.35)) + 1 COUNTY FAIR FOODS MORGAN PARK MULTIPOINT ((1162302.618 1832900.224)) To include the distances: @@ -495,10 +668,10 @@ def sjoin_nearest( >>> groceries_w_communities = geopandas.sjoin_nearest(groceries, chicago, \ distance_col="distances") >>> groceries_w_communities[["Chain", "community", \ -"distances"]].head(2) # doctest: +SKIP - Chain community distances - 0 VIET HOA PLAZA UPTOWN 0.0 - 87 JEWEL OSCO UPTOWN 0.0 +"distances"]].head(2) + Chain community distances + 0 VIET HOA PLAZA UPTOWN 0.0 + 1 COUNTY FAIR FOODS MORGAN PARK 0.0 In the following example, we get multiple groceries for Uptown because all results are equidistant (in this case zero because they intersect). @@ -508,7 +681,7 @@ distance_col="distances") distance_col="distances", how="right") >>> uptown_results = \ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] - >>> uptown_results[["Chain", "community"]] # doctest: +SKIP + >>> uptown_results[["Chain", "community"]] Chain community 30 VIET HOA PLAZA UPTOWN 30 JEWEL OSCO UPTOWN @@ -528,6 +701,7 @@ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] Every operation in GeoPandas is planar, i.e. the potential third dimension is not taken into account. """ + _basic_checks(left_df, right_df, how, lsuffix, rsuffix) left_df.geometry.values.check_geographic_crs(stacklevel=1) @@ -535,19 +709,26 @@ chicago_w_groceries[chicago_w_groceries["community"] == "UPTOWN"] return_distance = distance_col is not None - join_df = _nearest_query( - left_df, right_df, max_distance, how, return_distance, exclusive + indices, distances = _nearest_query( + left_df, + right_df, + max_distance, + how, + return_distance, + exclusive, + ) + joined, distances = _frame_join( + left_df, + right_df, + indices, + distances, + how, + lsuffix, + rsuffix, + None, ) if return_distance: - join_df = join_df.rename(columns={"distances": distance_col}) - else: - join_df.pop("distances") - - joined = _frame_join(join_df, left_df, right_df, how, lsuffix, rsuffix) - - if return_distance: - columns = [c for c in joined.columns if c != distance_col] + [distance_col] - joined = joined[columns] + joined[distance_col] = distances return joined diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/__init__.cpython-312.pyc index ae04a1f1..319f2044 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_clip.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_clip.cpython-312.pyc index 227daff1..abadb79c 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_clip.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_clip.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_hilbert_curve.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_hilbert_curve.cpython-312.pyc index bacd640e..246f6d74 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_hilbert_curve.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_hilbert_curve.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_random.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_random.cpython-312.pyc index 14c88fbe..ffa4e5d0 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_random.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_random.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_sjoin.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_sjoin.cpython-312.pyc index bd310553..bb2a0eed 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_sjoin.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_sjoin.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_tools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_tools.cpython-312.pyc index 2fa398ba..76d744ec 100644 Binary files a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_tools.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/__pycache__/test_tools.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_clip.py b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_clip.py index a19d4fb0..dbdbfe6e 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_clip.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_clip.py @@ -1,28 +1,28 @@ """Tests for the clip module.""" - import numpy as np +import pandas as pd import shapely from shapely.geometry import ( - Polygon, - Point, - LineString, - LinearRing, GeometryCollection, + LinearRing, + LineString, MultiPoint, + Point, + Polygon, box, ) import geopandas from geopandas import GeoDataFrame, GeoSeries, clip - -from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal -import pytest - +from geopandas._compat import HAS_PYPROJ from geopandas.tools.clip import _mask_is_list_like_rectangle -pytestmark = pytest.mark.skip_no_sindex +import pytest +from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal +from pandas.testing import assert_index_equal + mask_variants_single_rectangle = [ "single_rectangle_gdf", "single_rectangle_gdf_list_bounds", @@ -43,6 +43,14 @@ def point_gdf(): return gdf +@pytest.fixture +def point_gdf2(): + """Create a point GeoDataFrame.""" + pts = np.array([[5, 5], [2, 2], [4, 4], [0, 0], [3, 3], [1, 1]]) + gdf = GeoDataFrame([Point(xy) for xy in pts], columns=["geometry"], crs="EPSG:3857") + return gdf + + @pytest.fixture def pointsoutside_nooverlap_gdf(): """Create a point GeoDataFrame. Its points are all outside the single @@ -137,7 +145,7 @@ def two_line_gdf(): @pytest.fixture def multi_poly_gdf(donut_geometry): """Create a multi-polygon GeoDataFrame.""" - multi_poly = donut_geometry.unary_union + multi_poly = donut_geometry.union_all() out_df = GeoDataFrame(geometry=GeoSeries(multi_poly), crs="EPSG:3857") out_df["attr"] = ["pool"] return out_df @@ -148,7 +156,7 @@ def multi_line(two_line_gdf): """Create a multi-line GeoDataFrame. This GDF has one multiline and one regular line.""" # Create a single and multi line object - multiline_feat = two_line_gdf.unary_union + multiline_feat = two_line_gdf.union_all() linec = LineString([(2, 1), (3, 1), (4, 1), (5, 2)]) out_df = GeoDataFrame(geometry=GeoSeries([multiline_feat, linec]), crs="EPSG:3857") out_df["attr"] = ["road", "stream"] @@ -158,7 +166,7 @@ def multi_line(two_line_gdf): @pytest.fixture def multi_point(point_gdf): """Create a multi-point GeoDataFrame.""" - multi_point = point_gdf.unary_union + multi_point = point_gdf.union_all() out_df = GeoDataFrame( geometry=GeoSeries( [multi_point, Point(2, 5), Point(-11, -14), Point(-10, -12)] @@ -321,7 +329,7 @@ class TestClipWithSingleRectangleGdf: ) assert clipped.iloc[0].geometry.wkt == clipped_mutltipoint.wkt shape_for_points = ( - box(*mask) if _mask_is_list_like_rectangle(mask) else mask.unary_union + box(*mask) if _mask_is_list_like_rectangle(mask) else mask.union_all() ) assert all(clipped.intersects(shape_for_points)) @@ -398,6 +406,7 @@ def test_clip_multipoly_keep_slivers(multi_poly_gdf, single_rectangle_gdf): assert "GeometryCollection" in clipped.geom_type[0] +@pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj not available") def test_warning_crs_mismatch(point_gdf, single_rectangle_gdf): with pytest.warns(UserWarning, match="CRS mismatch between the CRS"): clip(point_gdf, single_rectangle_gdf.to_crs(4326)) @@ -460,3 +469,16 @@ def test_clip_empty_mask(buffered_locations, mask): ) clipped = clip(buffered_locations.geometry, mask) assert_geoseries_equal(clipped, GeoSeries([], crs="EPSG:3857")) + + +def test_clip_sorting(point_gdf2): + """Test the sorting kwarg in clip""" + bbox = shapely.geometry.box(0, 0, 2, 2) + unsorted_clipped_gdf = point_gdf2.clip(bbox) + sorted_clipped_gdf = point_gdf2.clip(bbox, sort=True) + + expected_sorted_index = pd.Index([1, 3, 5]) + + assert not (sorted(unsorted_clipped_gdf.index) == unsorted_clipped_gdf.index).all() + assert (sorted(sorted_clipped_gdf.index) == sorted_clipped_gdf.index).all() + assert_index_equal(expected_sorted_index, sorted_clipped_gdf.index) diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_hilbert_curve.py b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_hilbert_curve.py index ca7c4fa6..3d79a84c 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_hilbert_curve.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_hilbert_curve.py @@ -1,4 +1,5 @@ import numpy as np + from shapely.geometry import Point from shapely.wkt import loads diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_random.py b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_random.py index 63bb9195..a8d9a4fb 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_random.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_random.py @@ -1,28 +1,46 @@ -import pytest import numpy -import geopandas -import geopandas._compat as compat +import geopandas from geopandas.tools._random import uniform -multipolygons = geopandas.read_file(geopandas.datasets.get_path("nybb")).geometry -polygons = multipolygons.explode(ignore_index=True).geometry -multilinestrings = multipolygons.boundary -linestrings = polygons.boundary -points = multipolygons.centroid +import pytest + + +@pytest.fixture +def multipolygons(nybb_filename): + return geopandas.read_file(nybb_filename).geometry + + +@pytest.fixture +def polygons(multipolygons): + return multipolygons.explode(ignore_index=True).geometry + + +@pytest.fixture +def multilinestrings(multipolygons): + return multipolygons.boundary + + +@pytest.fixture +def linestrings(polygons): + return polygons.boundary + + +@pytest.fixture +def points(multipolygons): + return multipolygons.centroid -@pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="array input in interpolate not implemented for shapely<2", -) @pytest.mark.parametrize("size", [10, 100]) @pytest.mark.parametrize( - "geom", [multipolygons[0], polygons[0], multilinestrings[0], linestrings[0]] + "geom_fixture", ["multipolygons", "polygons", "multilinestrings", "linestrings"] ) -def test_uniform(geom, size): +def test_uniform(geom_fixture, size, request): + geom = request.getfixturevalue(geom_fixture)[0] sample = uniform(geom, size=size, rng=1) - sample_series = geopandas.GeoSeries(sample).explode().reset_index(drop=True) + sample_series = ( + geopandas.GeoSeries(sample).explode(index_parts=True).reset_index(drop=True) + ) assert len(sample_series) == size sample_in_geom = sample_series.buffer(0.00000001).sindex.query( geom, predicate="intersects" @@ -30,21 +48,13 @@ def test_uniform(geom, size): assert len(sample_in_geom) == size -@pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="array input in interpolate not implemented for shapely<2", -) -def test_uniform_unsupported(): +def test_uniform_unsupported(points): with pytest.warns(UserWarning, match="Sampling is not supported"): sample = uniform(points[0], size=10, rng=1) assert sample.is_empty -@pytest.mark.skipif( - not (compat.USE_PYGEOS or compat.USE_SHAPELY_20), - reason="array input in interpolate not implemented for shapely<2", -) -def test_uniform_generator(): +def test_uniform_generator(polygons): sample = uniform(polygons[0], size=10, rng=1) sample2 = uniform(polygons[0], size=10, rng=1) assert sample.equals(sample2) diff --git a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_sjoin.py b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_sjoin.py index 7002da76..0e44f87b 100644 --- a/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_sjoin.py +++ b/.venv/lib/python3.12/site-packages/geopandas/tools/tests/test_sjoin.py @@ -3,23 +3,24 @@ from typing import Sequence import numpy as np import pandas as pd -import shapely -from shapely.geometry import Point, Polygon, GeometryCollection +import shapely +from shapely.geometry import GeometryCollection, Point, Polygon, box import geopandas import geopandas._compat as compat -from geopandas import GeoDataFrame, GeoSeries, read_file, sjoin, sjoin_nearest -from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal +from geopandas import ( + GeoDataFrame, + GeoSeries, + points_from_xy, + read_file, + sjoin, + sjoin_nearest, +) -from pandas.testing import assert_frame_equal, assert_series_equal import pytest - - -TEST_NEAREST = compat.USE_SHAPELY_20 or (compat.PYGEOS_GE_010 and compat.USE_PYGEOS) - - -pytestmark = pytest.mark.skip_no_sindex +from geopandas.testing import assert_geodataframe_equal, assert_geoseries_equal +from pandas.testing import assert_frame_equal, assert_index_equal, assert_series_equal @pytest.fixture() @@ -95,6 +96,52 @@ def dfs(request): return [request.param, df1, df2, expected] +@pytest.fixture() +def dfs_shared_attribute(): + geo_left = [ + Point(0, 0), + Point(1, 1), + Point(2, 2), + Point(3, 3), + Point(4, 4), + Point(5, 5), + Point(6, 6), + Point(7, 7), + ] + geo_right = [ + Point(0, 0), + Point(1, 1), + Point(2, 2), + Point(3, 3), + Point(4, 4), + Point(5, 5), + Point(6, 6), + Point(7, 7), + ] + attr_tracker = ["A", "B", "C", "D", "E", "F", "G", "H"] + + left_gdf = geopandas.GeoDataFrame( + { + "geometry": geo_left, + "attr_tracker": attr_tracker, + "duplicate_column": [0, 1, 2, 3, 4, 5, 6, 7], + "attr1": [True, True, True, True, True, True, True, True], + "attr2": [True, True, True, True, True, True, True, True], + } + ) + + right_gdf = geopandas.GeoDataFrame( + { + "geometry": geo_right, + "duplicate_column": [0, 1, 2, 3, 4, 5, 6, 7], + "attr1": [True, True, False, False, True, True, False, False], + "attr2": [True, True, False, False, False, False, False, False], + } + ) + + return left_gdf, right_gdf + + class TestSpatialJoin: @pytest.mark.parametrize( "how, lsuffix, rsuffix, expected_cols", @@ -113,6 +160,7 @@ class TestSpatialJoin: joined = sjoin(left, right, how=how, lsuffix=lsuffix, rsuffix=rsuffix) assert set(joined.columns) == expected_cols | {"geometry"} + @pytest.mark.skipif(not compat.HAS_PYPROJ, reason="pyproj not available") @pytest.mark.parametrize("dfs", ["default-index", "string-index"], indirect=True) def test_crs_mismatch(self, dfs): index, df1, df2, expected = dfs @@ -120,31 +168,6 @@ class TestSpatialJoin: with pytest.warns(UserWarning, match="CRS mismatch between the CRS"): sjoin(df1, df2) - @pytest.mark.parametrize("dfs", ["default-index"], indirect=True) - @pytest.mark.parametrize("op", ["intersects", "contains", "within"]) - def test_deprecated_op_param(self, dfs, op): - _, df1, df2, _ = dfs - with pytest.warns(FutureWarning, match="`op` parameter is deprecated"): - sjoin(df1, df2, op=op) - - @pytest.mark.parametrize("dfs", ["default-index"], indirect=True) - @pytest.mark.parametrize("op", ["intersects", "contains", "within"]) - @pytest.mark.parametrize("predicate", ["contains", "within"]) - def test_deprecated_op_param_nondefault_predicate(self, dfs, op, predicate): - _, df1, df2, _ = dfs - match = "use the `predicate` parameter instead" - if op != predicate: - warntype = UserWarning - match = ( - "`predicate` will be overridden by the value of `op`" # noqa: ISC003 - + r"(.|\s)*" - + match - ) - else: - warntype = FutureWarning - with pytest.warns(warntype, match=match): - sjoin(df1, df2, predicate=predicate, op=op) - @pytest.mark.parametrize("dfs", ["default-index"], indirect=True) def test_unknown_kwargs(self, dfs): _, df1, df2, _ = dfs @@ -154,7 +177,6 @@ class TestSpatialJoin: ): sjoin(df1, df2, extra_param="test") - @pytest.mark.filterwarnings("ignore:The `op` parameter:FutureWarning") @pytest.mark.parametrize( "dfs", [ @@ -167,12 +189,10 @@ class TestSpatialJoin: indirect=True, ) @pytest.mark.parametrize("predicate", ["intersects", "contains", "within"]) - @pytest.mark.parametrize("predicate_kw", ["predicate", "op"]) - def test_inner(self, predicate, predicate_kw, dfs): + def test_inner(self, predicate, dfs): index, df1, df2, expected = dfs - res = sjoin(df1, df2, how="inner", **{predicate_kw: predicate}) - + res = sjoin(df1, df2, how="inner", predicate=predicate) exp = expected[predicate].dropna().copy() exp = exp.drop("geometry_y", axis=1).rename(columns={"geometry_x": "geometry"}) exp[["df1", "df2"]] = exp[["df1", "df2"]].astype("int64") @@ -182,7 +202,7 @@ class TestSpatialJoin: ].astype("int64") if index == "named-index": exp[["df1_ix", "df2_ix"]] = exp[["df1_ix", "df2_ix"]].astype("int64") - exp = exp.set_index("df1_ix").rename(columns={"df2_ix": "index_right"}) + exp = exp.set_index("df1_ix") if index in ["default-index", "string-index"]: exp = exp.set_index("index_left") exp.index.name = None @@ -192,11 +212,7 @@ class TestSpatialJoin: ) exp.index.names = df1.index.names if index == "named-multi-index": - exp = exp.set_index(["df1_ix1", "df1_ix2"]).rename( - columns={"df2_ix1": "index_right0", "df2_ix2": "index_right1"} - ) - exp.index.names = df1.index.names - + exp = exp.set_index(["df1_ix1", "df1_ix2"]) assert_frame_equal(res, exp) @pytest.mark.parametrize( @@ -232,7 +248,7 @@ class TestSpatialJoin: res["index_right"] = res["index_right"].astype(float) elif index == "named-index": exp[["df1_ix"]] = exp[["df1_ix"]].astype("int64") - exp = exp.set_index("df1_ix").rename(columns={"df2_ix": "index_right"}) + exp = exp.set_index("df1_ix") if index in ["default-index", "string-index"]: exp = exp.set_index("index_left") exp.index.name = None @@ -242,10 +258,7 @@ class TestSpatialJoin: ) exp.index.names = df1.index.names if index == "named-multi-index": - exp = exp.set_index(["df1_ix1", "df1_ix2"]).rename( - columns={"df2_ix1": "index_right0", "df2_ix2": "index_right1"} - ) - exp.index.names = df1.index.names + exp = exp.set_index(["df1_ix1", "df1_ix2"]) assert_frame_equal(res, exp) @@ -348,7 +361,7 @@ class TestSpatialJoin: res["index_left"] = res["index_left"].astype(float) elif index == "named-index": exp[["df2_ix"]] = exp[["df2_ix"]].astype("int64") - exp = exp.set_index("df2_ix").rename(columns={"df1_ix": "index_left"}) + exp = exp.set_index("df2_ix") if index in ["default-index", "string-index"]: exp = exp.set_index("index_right") exp = exp.reindex(columns=res.columns) @@ -359,20 +372,431 @@ class TestSpatialJoin: ) exp.index.names = df2.index.names if index == "named-multi-index": - exp = exp.set_index(["df2_ix1", "df2_ix2"]).rename( - columns={"df1_ix1": "index_left0", "df1_ix2": "index_left1"} - ) - exp.index.names = df2.index.names + exp = exp.set_index(["df2_ix1", "df2_ix2"]) + if predicate == "within": exp = exp.sort_index() assert_frame_equal(res, exp, check_index_type=False) + @pytest.mark.skipif(not compat.GEOS_GE_310, reason="`dwithin` requires GEOS 3.10") + @pytest.mark.parametrize("how", ["inner"]) + @pytest.mark.parametrize( + "geo_left, geo_right, expected_left, expected_right, distance", + [ + ( + # Distance is number, 2x1 + [Point(0, 0), Point(1, 1)], + [Point(1, 1)], + [0, 1], + [0, 0], + math.sqrt(2), + ), + # Distance is number, 2x2 + ( + [Point(0, 0), Point(1, 1)], + [Point(0, 0), Point(1, 1)], + [0, 1, 0, 1], + [0, 0, 1, 1], + math.sqrt(2), + ), + # Distance is array, matches len(left) + ( + [Point(0, 0), Point(0, 0), Point(-1, -1)], + [Point(1, 1)], + [1, 2], + [0, 0], + [0, math.sqrt(2), math.sqrt(8)], + ), + # Distance is np.array, matches len(left), + # inner join sorts the right GeoDataFrame + ( + [Point(0, 0), Point(0, 0), Point(-1, -1)], + [Point(1, 1), Point(0.5, 0.5)], + [1, 2, 1, 2], + [1, 1, 0, 0], + np.array([0, math.sqrt(2), math.sqrt(8)]), + ), + ], + ) + def test_sjoin_dwithin( + self, + geo_left, + geo_right, + expected_left: Sequence[int], + expected_right: Sequence[int], + distance, + how, + ): + left = geopandas.GeoDataFrame({"geometry": geo_left}) + right = geopandas.GeoDataFrame({"geometry": geo_right}) + expected_gdf = left.iloc[expected_left].copy() + expected_gdf["index_right"] = expected_right + joined = sjoin(left, right, how=how, predicate="dwithin", distance=distance) + assert_frame_equal(expected_gdf.sort_index(), joined.sort_index()) + # GH3239 + @pytest.mark.parametrize( + "predicate", + [ + "contains", + "contains_properly", + "covered_by", + "covers", + "crosses", + "intersects", + "touches", + "within", + ], + ) + def test_sjoin_left_order(self, predicate): + # a set of points in random order -> that order should be preserved + # with a left join + pts = GeoDataFrame( + geometry=points_from_xy([0.1, 0.4, 0.3, 0.7], [0.8, 0.6, 0.9, 0.1]) + ) + polys = GeoDataFrame( + {"id": [1, 2, 3, 4]}, + geometry=[ + box(0, 0, 0.5, 0.5), + box(0, 0.5, 0.5, 1), + box(0.5, 0, 1, 0.5), + box(0.5, 0.5, 1, 1), + ], + ) + + joined = sjoin(pts, polys, predicate=predicate, how="left") + assert_index_equal(joined.index, pts.index) + + def test_sjoin_shared_attribute(self, naturalearth_lowres, naturalearth_cities): + countries = read_file(naturalearth_lowres) + cities = read_file(naturalearth_cities) + countries = countries[["geometry", "name"]].rename(columns={"name": "country"}) + + # Add first letter of country/city as an attribute column to be compared + countries["firstLetter"] = countries["country"].astype(str).str[0] + cities["firstLetter"] = cities["name"].astype(str).str[0] + + result = sjoin(cities, countries, on_attribute="firstLetter") + assert ( + result["country"].astype(str).str[0] == result["name"].astype(str).str[0] + ).all() + assert result.shape == (23, 5) + + @pytest.mark.parametrize( + "attr1_key_change_dict, attr2_key_change_dict", + [ + pytest.param( + {True: "merge", False: "no_merge"}, + {True: "merge", False: "no_merge"}, + id="merge on string attributes", + ), + pytest.param( + {True: 2, False: 1}, + {True: 2, False: 1}, + id="merge on integer attributes", + ), + pytest.param( + {True: True, False: False}, + {True: True, False: False}, + id="merge on boolean attributes", + ), + pytest.param( + {True: True, False: False}, + {True: "merge", False: "no_merge"}, + id="merge on mixed attributes", + ), + ], + ) + def test_sjoin_multiple_attributes_datatypes( + self, dfs_shared_attribute, attr1_key_change_dict, attr2_key_change_dict + ): + left_gdf, right_gdf = dfs_shared_attribute + left_gdf["attr1"] = left_gdf["attr1"].map(attr1_key_change_dict) + left_gdf["attr2"] = left_gdf["attr2"].map(attr2_key_change_dict) + right_gdf["attr1"] = right_gdf["attr1"].map(attr1_key_change_dict) + right_gdf["attr2"] = right_gdf["attr2"].map(attr2_key_change_dict) + + joined = sjoin(left_gdf, right_gdf, on_attribute=("attr1", "attr2")) + assert (["A", "B"] == joined["attr_tracker"].values).all() + + def test_sjoin_multiple_attributes_check_header(self, dfs_shared_attribute): + left_gdf, right_gdf = dfs_shared_attribute + joined = sjoin(left_gdf, right_gdf, on_attribute=["attr1"]) + + assert (["A", "B", "E", "F"] == joined["attr_tracker"].values).all() + assert {"attr2_left", "attr2_right", "attr1"}.issubset(joined.columns) + assert "attr1_left" not in joined + + def test_sjoin_error_column_does_not_exist(self, dfs_shared_attribute): + left_gdf, right_gdf = dfs_shared_attribute + right_gdf_dropped_attr = right_gdf.drop("attr1", axis=1) + left_gdf_dropped_attr = left_gdf.drop("attr1", axis=1) + + with pytest.raises( + ValueError, + match="Expected column attr1 is missing from the right dataframe.", + ): + sjoin(left_gdf, right_gdf_dropped_attr, on_attribute="attr1") + + with pytest.raises( + ValueError, + match="Expected column attr1 is missing from the left dataframe.", + ): + sjoin(left_gdf_dropped_attr, right_gdf, on_attribute="attr1") + + with pytest.raises( + ValueError, + match="Expected column attr1 is missing from both of the dataframes.", + ): + sjoin(left_gdf_dropped_attr, right_gdf_dropped_attr, on_attribute="attr1") + + def test_sjoin_error_use_geometry_column(self, dfs_shared_attribute): + left_gdf, right_gdf = dfs_shared_attribute + with pytest.raises( + ValueError, + match="Active geometry column cannot be used as an input for " + "on_attribute parameter.", + ): + sjoin(left_gdf, right_gdf, on_attribute="geometry") + with pytest.raises( + ValueError, + match="Active geometry column cannot be used as an input for " + "on_attribute parameter.", + ): + sjoin(left_gdf, right_gdf, on_attribute=["attr1", "geometry"]) + + +class TestIndexNames: + @pytest.mark.parametrize("how", ["inner", "left", "right"]) + def test_preserve_index_names(self, how): + # preserve names of both left and right index + geoms = [Point(1, 1), Point(2, 2)] + df1 = GeoDataFrame({"geometry": geoms}, index=pd.Index([1, 2], name="myidx1")) + df2 = GeoDataFrame( + {"geometry": geoms}, index=pd.Index(["a", "b"], name="myidx2") + ) + result = sjoin(df1, df2, how=how) + if how in ("inner", "left"): + expected = GeoDataFrame( + {"myidx1": [1, 2], "geometry": geoms, "myidx2": ["a", "b"]} + ).set_index("myidx1") + else: + # right join + expected = GeoDataFrame( + {"myidx2": ["a", "b"], "myidx1": [1, 2], "geometry": geoms}, + ).set_index("myidx2") + assert_geodataframe_equal(result, expected) + + # but also add suffixes if both left and right have the same index + df1.index.name = "myidx" + df2.index.name = "myidx" + result = sjoin(df1, df2, how=how) + if how in ("inner", "left"): + expected = GeoDataFrame( + {"myidx_left": [1, 2], "geometry": geoms, "myidx_right": ["a", "b"]} + ).set_index("myidx_left") + else: + # right join + expected = GeoDataFrame( + {"myidx_right": ["a", "b"], "myidx_left": [1, 2], "geometry": geoms}, + ).set_index("myidx_right") + assert_geodataframe_equal(result, expected) + + @pytest.mark.parametrize("how", ["inner", "left", "right"]) + def test_preserve_index_names_multiindex(self, how): + # preserve names of both left and right index + geoms = [Point(1, 1), Point(2, 2)] + df1 = GeoDataFrame( + {"geometry": geoms}, + index=pd.MultiIndex.from_tuples( + [("a", 1), ("b", 2)], names=["myidx1", "level2"] + ), + ) + df2 = GeoDataFrame( + {"geometry": geoms}, + index=pd.MultiIndex.from_tuples( + [("c", 3), ("d", 4)], names=["myidx2", None] + ), + ) + result = sjoin(df1, df2, how=how) + expected_base = GeoDataFrame( + { + "myidx1": ["a", "b"], + "level2": [1, 2], + "geometry": geoms, + "myidx2": ["c", "d"], + "index_right1": [3, 4], + } + ) + if how in ("inner", "left"): + expected = expected_base.set_index(["myidx1", "level2"]) + else: + # right join + expected = expected_base.set_index(["myidx2", "index_right1"]) + # if it was originally None, that is preserved + expected.index.names = ["myidx2", None] + assert_geodataframe_equal(result, expected) + + # but also add suffixes if both left and right have the same index + df1.index.names = ["myidx", "level2"] + df2.index.names = ["myidx", None] + result = sjoin(df1, df2, how=how) + expected_base = GeoDataFrame( + { + "myidx_left": ["a", "b"], + "level2": [1, 2], + "geometry": geoms, + "myidx_right": ["c", "d"], + "index_right1": [3, 4], + } + ) + if how in ("inner", "left"): + expected = expected_base.set_index(["myidx_left", "level2"]) + else: + # right join + expected = expected_base.set_index(["myidx_right", "index_right1"]) + # if it was originally None, that is preserved + expected.index.names = ["myidx_right", None] + assert_geodataframe_equal(result, expected) + + @pytest.mark.parametrize("how", ["inner", "left", "right"]) + def test_duplicate_column_index_name(self, how): + # case where a left column and the right index have the same name or the + # other way around -> correctly add suffix or preserve index name + geoms = [Point(1, 1), Point(2, 2)] + df1 = GeoDataFrame({"myidx": [1, 2], "geometry": geoms}) + df2 = GeoDataFrame( + {"geometry": geoms}, index=pd.Index(["a", "b"], name="myidx") + ) + result = sjoin(df1, df2, how=how) + if how in ("inner", "left"): + expected = GeoDataFrame( + {"myidx_left": [1, 2], "geometry": geoms, "myidx_right": ["a", "b"]} + ) + else: + # right join + expected = GeoDataFrame( + {"index_left": [0, 1], "myidx_left": [1, 2], "geometry": geoms}, + index=pd.Index(["a", "b"], name="myidx_right"), + ) + assert_geodataframe_equal(result, expected) + + result = sjoin(df2, df1, how=how) + if how in ("inner", "left"): + expected = GeoDataFrame( + {"geometry": geoms, "index_right": [0, 1], "myidx_right": [1, 2]}, + index=pd.Index(["a", "b"], name="myidx_left"), + ) + else: + # right join + expected = GeoDataFrame( + {"myidx_left": ["a", "b"], "myidx_right": [1, 2], "geometry": geoms}, + ) + assert_geodataframe_equal(result, expected) + + @pytest.mark.parametrize("how", ["inner", "left", "right"]) + def test_duplicate_column_index_name_multiindex(self, how): + # case where a left column and the right index have the same name or the + # other way around -> correctly add suffix or preserve index name + geoms = [Point(1, 1), Point(2, 2)] + df1 = GeoDataFrame({"myidx": [1, 2], "geometry": geoms}) + df2 = GeoDataFrame( + {"geometry": geoms}, + index=pd.MultiIndex.from_tuples( + [("a", 1), ("b", 2)], names=["myidx", "level2"] + ), + ) + result = sjoin(df1, df2, how=how) + if how in ("inner", "left"): + expected = GeoDataFrame( + { + "myidx_left": [1, 2], + "geometry": geoms, + "myidx_right": ["a", "b"], + "level2": [1, 2], + } + ) + else: + # right join + expected = GeoDataFrame( + {"index_left": [0, 1], "myidx_left": [1, 2], "geometry": geoms}, + index=pd.MultiIndex.from_tuples( + [("a", 1), ("b", 2)], names=["myidx_right", "level2"] + ), + ) + assert_geodataframe_equal(result, expected) + + result = sjoin(df2, df1, how=how) + if how in ("inner", "left"): + expected = GeoDataFrame( + {"geometry": geoms, "index_right": [0, 1], "myidx_right": [1, 2]}, + index=pd.MultiIndex.from_tuples( + [("a", 1), ("b", 2)], names=["myidx_left", "level2"] + ), + ) + else: + # right join + expected = GeoDataFrame( + { + "myidx_left": ["a", "b"], + "level2": [1, 2], + "myidx_right": [1, 2], + "geometry": geoms, + }, + ) + assert_geodataframe_equal(result, expected) + + @pytest.mark.parametrize("how", ["inner", "left", "right"]) + def test_conflicting_column_index_name(self, how): + # test case where the auto-generated index name conflicts + geoms = [Point(1, 1), Point(2, 2)] + df1 = GeoDataFrame({"index_right": [1, 2], "geometry": geoms}) + df2 = GeoDataFrame({"geometry": geoms}) + with pytest.raises(ValueError, match="'index_right' cannot be a column name"): + sjoin(df1, df2, how=how) + + @pytest.mark.parametrize("how", ["inner", "left", "right"]) + def test_conflicting_column_with_suffix(self, how): + # test case where the auto-generated index name conflicts + geoms = [Point(1, 1), Point(2, 2)] + df1 = GeoDataFrame( + {"column": [1, 2], "column_right": ["a", "b"], "geometry": geoms} + ) + df2 = GeoDataFrame({"column": [0.1, 0.2], "geometry": geoms}) + + result = sjoin(df1, df2, how=how) + if how in ("inner", "left"): + expected = GeoDataFrame( + {1: [1, 2], 2: ["a", "b"], 3: geoms, 4: [0, 1], 5: [0.1, 0.2]} + ) + expected.columns = [ + "column_left", + "column_right", + "geometry", + "index_right", + "column_right", + ] + else: + # right join + expected = GeoDataFrame( + {1: [0, 1], 2: [1, 2], 3: ["a", "b"], 4: [0.1, 0.2], 5: geoms} + ) + expected.columns = [ + "index_left", + "column_left", + "column_right", + "column_right", + "geometry", + ] + expected = expected.set_geometry("geometry") + assert_geodataframe_equal(result, expected) + + +@pytest.mark.usefixtures("_setup_class_nybb_filename") class TestSpatialJoinNYBB: def setup_method(self): - nybb_filename = geopandas.datasets.get_path("nybb") - self.polydf = read_file(nybb_filename) + self.polydf = read_file(self.nybb_filename) self.crs = self.polydf.crs N = 20 b = [int(x) for x in self.polydf.total_bounds] @@ -527,7 +951,7 @@ class TestSpatialJoinNYBB: def test_sjoin_empty_geometries(self): # https://github.com/geopandas/geopandas/issues/944 - empty = GeoDataFrame(geometry=[GeometryCollection()] * 3) + empty = GeoDataFrame(geometry=[GeometryCollection()] * 3, crs=self.crs) df = sjoin(pd.concat([self.pointdf, empty]), self.polydf, how="left") assert df.shape == (24, 8) df2 = sjoin(self.pointdf, pd.concat([self.polydf, empty]), how="left") @@ -542,8 +966,8 @@ class TestSpatialJoinNYBB: assert sjoin(empty, self.pointdf, how="inner", predicate=predicate).empty assert sjoin(empty, self.pointdf, how="left", predicate=predicate).empty - def test_empty_sjoin_return_duplicated_columns(self): - nybb = geopandas.read_file(geopandas.datasets.get_path("nybb")) + def test_empty_sjoin_return_duplicated_columns(self, nybb_filename): + nybb = geopandas.read_file(nybb_filename) nybb2 = nybb.copy() nybb2.geometry = nybb2.translate(200000) # to get non-overlapping @@ -553,45 +977,24 @@ class TestSpatialJoinNYBB: assert "BoroCode_left" in result.columns -class TestSpatialJoinNaturalEarth: - def setup_method(self): - world_path = geopandas.datasets.get_path("naturalearth_lowres") - cities_path = geopandas.datasets.get_path("naturalearth_cities") - self.world = read_file(world_path) - self.cities = read_file(cities_path) - - def test_sjoin_inner(self): - # GH637 - countries = self.world[["geometry", "name"]] - countries = countries.rename(columns={"name": "country"}) - cities_with_country = sjoin( - self.cities, countries, how="inner", predicate="intersects" - ) - assert cities_with_country.shape == (213, 4) +@pytest.fixture +def world(naturalearth_lowres): + return read_file(naturalearth_lowres) -@pytest.mark.skipif( - TEST_NEAREST, - reason=("This test can only be run _without_ PyGEOS >= 0.10 installed"), -) -def test_no_nearest_all(): - df1 = geopandas.GeoDataFrame({"geometry": []}) - df2 = geopandas.GeoDataFrame({"geometry": []}) - with pytest.raises( - NotImplementedError, - match="Currently, only PyGEOS >= 0.10.0 or Shapely >= 2.0 supports", - ): - sjoin_nearest(df1, df2) +@pytest.fixture +def cities(naturalearth_cities): + return read_file(naturalearth_cities) + + +def test_sjoin_inner(world, cities): + # GH637 + countries = world[["geometry", "name"]] + countries = countries.rename(columns={"name": "country"}) + cities_with_country = sjoin(cities, countries, how="inner", predicate="intersects") + assert cities_with_country.shape == (213, 4) -@pytest.mark.skipif( - not TEST_NEAREST, - reason=( - "PyGEOS >= 0.10.0" - " must be installed and activated via the geopandas.compat module to" - " test sjoin_nearest" - ), -) class TestNearest: @pytest.mark.parametrize( "how_kwargs", ({}, {"how": "inner"}, {"how": "left"}, {"how": "right"}) @@ -900,10 +1303,10 @@ class TestNearest: assert_geodataframe_equal(expected_gdf, joined) @pytest.mark.filterwarnings("ignore:Geometry is in a geographic CRS") - def test_sjoin_nearest_inner(self): + def test_sjoin_nearest_inner(self, naturalearth_lowres, naturalearth_cities): # check equivalency of left and inner join - countries = read_file(geopandas.datasets.get_path("naturalearth_lowres")) - cities = read_file(geopandas.datasets.get_path("naturalearth_cities")) + countries = read_file(naturalearth_lowres) + cities = read_file(naturalearth_cities) countries = countries[["geometry", "name"]].rename(columns={"name": "country"}) # default: inner and left give the same result @@ -927,19 +1330,8 @@ class TestNearest: result5["index_right"] = result5["index_right"].astype("int64") assert_geodataframe_equal(result5, result4, check_like=True) - expected_index_uncapped = ( - [1, 3, 3, 1, 2] if compat.PANDAS_GE_22 else [1, 1, 3, 3, 2] - ) - - @pytest.mark.skipif( - not (compat.USE_SHAPELY_20), - reason=( - "shapely >= 2.0 is required to run sjoin_nearest" - "with parameter `exclusive` set" - ), - ) @pytest.mark.parametrize( - "max_distance,expected", [(None, expected_index_uncapped), (1.1, [3, 3, 1, 2])] + "max_distance,expected", [(None, [1, 3, 3, 1, 2]), (1.1, [3, 3, 1, 2])] ) def test_sjoin_nearest_exclusive(self, max_distance, expected): geoms = shapely.points(np.arange(3), np.arange(3)) diff --git a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/LICENSE.txt b/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/LICENSE.txt deleted file mode 100644 index f0879448..00000000 --- a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/LICENSE.txt +++ /dev/null @@ -1,971 +0,0 @@ -Copyright (c) 2005-2024, NumPy Developers. -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 the NumPy Developers nor the names of any - 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. - ----- - -The NumPy repository and source distributions bundle several libraries that are -compatibly licensed. We list these here. - -Name: lapack-lite -Files: numpy/linalg/lapack_lite/* -License: BSD-3-Clause - For details, see numpy/linalg/lapack_lite/LICENSE.txt - -Name: dragon4 -Files: numpy/_core/src/multiarray/dragon4.c -License: MIT - For license text, see numpy/_core/src/multiarray/dragon4.c - -Name: libdivide -Files: numpy/_core/include/numpy/libdivide/* -License: Zlib - For license text, see numpy/_core/include/numpy/libdivide/LICENSE.txt - - -Note that the following files are vendored in the repository and sdist but not -installed in built numpy packages: - -Name: Meson -Files: vendored-meson/meson/* -License: Apache 2.0 - For license text, see vendored-meson/meson/COPYING - -Name: spin -Files: .spin/cmds.py -License: BSD-3 - For license text, see .spin/LICENSE - -Name: tempita -Files: numpy/_build_utils/tempita/* -License: MIT - For details, see numpy/_build_utils/tempita/LICENCE.txt - ----- - -This binary distribution of NumPy also bundles the following software: - - -Name: OpenBLAS -Files: numpy.libs/libscipy_openblas*.so -Description: bundled as a dynamically linked library -Availability: https://github.com/OpenMathLib/OpenBLAS/ -License: BSD-3-Clause - Copyright (c) 2011-2014, The OpenBLAS Project - 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 OpenBLAS project 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. - - -Name: LAPACK -Files: numpy.libs/libscipy_openblas*.so -Description: bundled in OpenBLAS -Availability: https://github.com/OpenMathLib/OpenBLAS/ -License: BSD-3-Clause-Attribution - Copyright (c) 1992-2013 The University of Tennessee and The University - of Tennessee Research Foundation. All rights - reserved. - Copyright (c) 2000-2013 The University of California Berkeley. All - rights reserved. - Copyright (c) 2006-2013 The University of Colorado Denver. All rights - reserved. - - $COPYRIGHT$ - - Additional copyrights may follow - - $HEADER$ - - 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 listed - in this license in the documentation and/or other materials - provided with the distribution. - - - Neither the name of the copyright holders nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - The copyright holders provide no reassurances that the source code - provided does not infringe any patent, copyright, or any other - intellectual property rights of third parties. The copyright holders - disclaim any liability to any recipient for claims brought against - recipient by any third party for infringement of that parties - intellectual property rights. - - 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. - - -Name: GCC runtime library -Files: numpy.libs/libgfortran*.so -Description: dynamically linked to files compiled with gcc -Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libgfortran -License: GPL-3.0-with-GCC-exception - Copyright (C) 2002-2017 Free Software Foundation, Inc. - - Libgfortran is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - Libgfortran 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 General Public License for more details. - - Under Section 7 of GPL version 3, you are granted additional - permissions described in the GCC Runtime Library Exception, version - 3.1, as published by the Free Software Foundation. - - You should have received a copy of the GNU General Public License and - a copy of the GCC Runtime Library Exception along with this program; - see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - . - ----- - -Full text of license texts referred to above follows (that they are -listed below does not necessarily imply the conditions apply to the -present binary release): - ----- - -GCC RUNTIME LIBRARY EXCEPTION - -Version 3.1, 31 March 2009 - -Copyright (C) 2009 Free Software Foundation, Inc. - -Everyone is permitted to copy and distribute verbatim copies of this -license document, but changing it is not allowed. - -This GCC Runtime Library Exception ("Exception") is an additional -permission under section 7 of the GNU General Public License, version -3 ("GPLv3"). It applies to a given file (the "Runtime Library") that -bears a notice placed by the copyright holder of the file stating that -the file is governed by GPLv3 along with this Exception. - -When you use GCC to compile a program, GCC may combine portions of -certain GCC header files and runtime libraries with the compiled -program. The purpose of this Exception is to allow compilation of -non-GPL (including proprietary) programs to use, in this way, the -header files and runtime libraries covered by this Exception. - -0. Definitions. - -A file is an "Independent Module" if it either requires the Runtime -Library for execution after a Compilation Process, or makes use of an -interface provided by the Runtime Library, but is not otherwise based -on the Runtime Library. - -"GCC" means a version of the GNU Compiler Collection, with or without -modifications, governed by version 3 (or a specified later version) of -the GNU General Public License (GPL) with the option of using any -subsequent versions published by the FSF. - -"GPL-compatible Software" is software whose conditions of propagation, -modification and use would permit combination with GCC in accord with -the license of GCC. - -"Target Code" refers to output from any compiler for a real or virtual -target processor architecture, in executable form or suitable for -input to an assembler, loader, linker and/or execution -phase. Notwithstanding that, Target Code does not include data in any -format that is used as a compiler intermediate representation, or used -for producing a compiler intermediate representation. - -The "Compilation Process" transforms code entirely represented in -non-intermediate languages designed for human-written code, and/or in -Java Virtual Machine byte code, into Target Code. Thus, for example, -use of source code generators and preprocessors need not be considered -part of the Compilation Process, since the Compilation Process can be -understood as starting with the output of the generators or -preprocessors. - -A Compilation Process is "Eligible" if it is done using GCC, alone or -with other GPL-compatible software, or if it is done without using any -work based on GCC. For example, using non-GPL-compatible Software to -optimize any GCC intermediate representations would not qualify as an -Eligible Compilation Process. - -1. Grant of Additional Permission. - -You have permission to propagate a work of Target Code formed by -combining the Runtime Library with Independent Modules, even if such -propagation would otherwise violate the terms of GPLv3, provided that -all Target Code was generated by Eligible Compilation Processes. You -may then convey such a combination under terms of your choice, -consistent with the licensing of the Independent Modules. - -2. No Weakening of GCC Copyleft. - -The availability of this Exception does not imply any general -presumption that third-party software is unaffected by the copyleft -requirements of the license of GCC. - ----- - - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for -software and other kinds of works. - - The licenses for most software and other practical works are designed -to take away your freedom to share and change the works. By contrast, -the GNU General Public License is intended to guarantee your freedom to -share and change all versions of a program--to make sure it remains free -software for all its users. We, the Free Software Foundation, use the -GNU General Public License for most of our software; it applies also to -any other work released this way by its authors. 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 -them 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 prevent others from denying you -these rights or asking you to surrender the rights. Therefore, you have -certain responsibilities if you distribute copies of the software, or if -you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must pass on to the recipients the same -freedoms that you received. 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. - - Developers that use the GNU GPL protect your rights with two steps: -(1) assert copyright on the software, and (2) offer you this License -giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains -that there is no warranty for this free software. For both users' and -authors' sake, the GPL requires that modified versions be marked as -changed, so that their problems will not be attributed erroneously to -authors of previous versions. - - Some devices are designed to deny users access to install or run -modified versions of the software inside them, although the manufacturer -can do so. This is fundamentally incompatible with the aim of -protecting users' freedom to change the software. The systematic -pattern of such abuse occurs in the area of products for individuals to -use, which is precisely where it is most unacceptable. Therefore, we -have designed this version of the GPL to prohibit the practice for those -products. If such problems arise substantially in other domains, we -stand ready to extend this provision to those domains in future versions -of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. -States should not allow patents to restrict development and use of -software on general-purpose computers, but in those that do, we wish to -avoid the special danger that patents applied to a free program could -make it effectively proprietary. To prevent this, the GPL assures that -patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and -modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of -works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this -License. Each licensee is addressed as "you". "Licensees" and -"recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work -in a fashion requiring copyright permission, other than the making of an -exact copy. The resulting work is called a "modified version" of the -earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based -on the Program. - - To "propagate" a work means to do anything with it that, without -permission, would make you directly or secondarily liable for -infringement under applicable copyright law, except executing it on a -computer or modifying a private copy. Propagation includes copying, -distribution (with or without modification), making available to the -public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other -parties to make or receive copies. Mere interaction with a user through -a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" -to the extent that it includes a convenient and prominently visible -feature that (1) displays an appropriate copyright notice, and (2) -tells the user that there is no warranty for the work (except to the -extent that warranties are provided), that licensees may convey the -work under this License, and how to view a copy of this License. If -the interface presents a list of user commands or options, such as a -menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work -for making modifications to it. "Object code" means any non-source -form of a work. - - A "Standard Interface" means an interface that either is an official -standard defined by a recognized standards body, or, in the case of -interfaces specified for a particular programming language, one that -is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other -than the work as a whole, that (a) is included in the normal form of -packaging a Major Component, but which is not part of that Major -Component, and (b) serves only to enable use of the work with that -Major Component, or to implement a Standard Interface for which an -implementation is available to the public in source code form. A -"Major Component", in this context, means a major essential component -(kernel, window system, and so on) of the specific operating system -(if any) on which the executable work runs, or a compiler used to -produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all -the source code needed to generate, install, and (for an executable -work) run the object code and to modify the work, including scripts to -control those activities. However, it does not include the work's -System Libraries, or general-purpose tools or generally available free -programs which are used unmodified in performing those activities but -which are not part of the work. For example, Corresponding Source -includes interface definition files associated with source files for -the work, and the source code for shared libraries and dynamically -linked subprograms that the work is specifically designed to require, -such as by intimate data communication or control flow between those -subprograms and other parts of the work. - - The Corresponding Source need not include anything that users -can regenerate automatically from other parts of the Corresponding -Source. - - The Corresponding Source for a work in source code form is that -same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of -copyright on the Program, and are irrevocable provided the stated -conditions are met. This License explicitly affirms your unlimited -permission to run the unmodified Program. The output from running a -covered work is covered by this License only if the output, given its -content, constitutes a covered work. This License acknowledges your -rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not -convey, without conditions so long as your license otherwise remains -in force. You may convey covered works to others for the sole purpose -of having them make modifications exclusively for you, or provide you -with facilities for running those works, provided that you comply with -the terms of this License in conveying all material for which you do -not control copyright. Those thus making or running the covered works -for you must do so exclusively on your behalf, under your direction -and control, on terms that prohibit them from making any copies of -your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under -the conditions stated below. Sublicensing is not allowed; section 10 -makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological -measure under any applicable law fulfilling obligations under article -11 of the WIPO copyright treaty adopted on 20 December 1996, or -similar laws prohibiting or restricting circumvention of such -measures. - - When you convey a covered work, you waive any legal power to forbid -circumvention of technological measures to the extent such circumvention -is effected by exercising rights under this License with respect to -the covered work, and you disclaim any intention to limit operation or -modification of the work as a means of enforcing, against the work's -users, your or third parties' legal rights to forbid circumvention of -technological measures. - - 4. Conveying Verbatim Copies. - - You may convey 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; -keep intact all notices stating that this License and any -non-permissive terms added in accord with section 7 apply to the code; -keep intact all notices of the absence of any warranty; and give all -recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, -and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to -produce it from the Program, in the form of source code under the -terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent -works, which are not by their nature extensions of the covered work, -and which are not combined with it such as to form a larger program, -in or on a volume of a storage or distribution medium, is called an -"aggregate" if the compilation and its resulting copyright are not -used to limit the access or legal rights of the compilation's users -beyond what the individual works permit. Inclusion of a covered work -in an aggregate does not cause this License to apply to the other -parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms -of sections 4 and 5, provided that you also convey the -machine-readable Corresponding Source under the terms of this License, -in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded -from the Corresponding Source as a System Library, need not be -included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any -tangible personal property which is normally used for personal, family, -or household purposes, or (2) anything designed or sold for incorporation -into a dwelling. In determining whether a product is a consumer product, -doubtful cases shall be resolved in favor of coverage. For a particular -product received by a particular user, "normally used" refers to a -typical or common use of that class of product, regardless of the status -of the particular user or of the way in which the particular user -actually uses, or expects or is expected to use, the product. A product -is a consumer product regardless of whether the product has substantial -commercial, industrial or non-consumer uses, unless such uses represent -the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, -procedures, authorization keys, or other information required to install -and execute modified versions of a covered work in that User Product from -a modified version of its Corresponding Source. The information must -suffice to ensure that the continued functioning of the modified object -code is in no case prevented or interfered with solely because -modification has been made. - - If you convey an object code work under this section in, or with, or -specifically for use in, a User Product, and the conveying occurs as -part of a transaction in which the right of possession and use of the -User Product is transferred to the recipient in perpetuity or for a -fixed term (regardless of how the transaction is characterized), the -Corresponding Source conveyed under this section must be accompanied -by the Installation Information. But this requirement does not apply -if neither you nor any third party retains the ability to install -modified object code on the User Product (for example, the work has -been installed in ROM). - - The requirement to provide Installation Information does not include a -requirement to continue to provide support service, warranty, or updates -for a work that has been modified or installed by the recipient, or for -the User Product in which it has been modified or installed. Access to a -network may be denied when the modification itself materially and -adversely affects the operation of the network or violates the rules and -protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, -in accord with this section must be in a format that is publicly -documented (and with an implementation available to the public in -source code form), and must require no special password or key for -unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this -License by making exceptions from one or more of its conditions. -Additional permissions that are applicable to the entire Program shall -be treated as though they were included in this License, to the extent -that they are valid under applicable law. If additional permissions -apply only to part of the Program, that part may be used separately -under those permissions, but the entire Program remains governed by -this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option -remove any additional permissions from that copy, or from any part of -it. (Additional permissions may be written to require their own -removal in certain cases when you modify the work.) You may place -additional permissions on material, added by you to a covered work, -for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you -add to a covered work, you may (if authorized by the copyright holders of -that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further -restrictions" within the meaning of section 10. If the Program as you -received it, or any part of it, contains a notice stating that it is -governed by this License along with a term that is a further -restriction, you may remove that term. If a license document contains -a further restriction but permits relicensing or conveying under this -License, you may add to a covered work material governed by the terms -of that license document, provided that the further restriction does -not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you -must place, in the relevant source files, a statement of the -additional terms that apply to those files, or a notice indicating -where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the -form of a separately written license, or stated as exceptions; -the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly -provided under this License. Any attempt otherwise to propagate or -modify it is void, and will automatically terminate your rights under -this License (including any patent licenses granted under the third -paragraph of section 11). - - However, if you cease all violation of this License, then your -license from a particular copyright holder is reinstated (a) -provisionally, unless and until the copyright holder explicitly and -finally terminates your license, and (b) permanently, if the copyright -holder fails to notify you of the violation by some reasonable means -prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is -reinstated permanently if the copyright holder notifies you of the -violation by some reasonable means, this is the first time you have -received notice of violation of this License (for any work) from that -copyright holder, and you cure the violation prior to 30 days after -your receipt of the notice. - - Termination of your rights under this section does not terminate the -licenses of parties who have received copies or rights from you under -this License. If your rights have been terminated and not permanently -reinstated, you do not qualify to receive new licenses for the same -material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or -run a copy of the Program. Ancillary propagation of a covered work -occurring solely as a consequence of using peer-to-peer transmission -to receive a copy likewise does not require acceptance. However, -nothing other than this License grants you permission to propagate or -modify any covered work. These actions infringe copyright if you do -not accept this License. Therefore, by modifying or propagating a -covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically -receives a license from the original licensors, to run, modify and -propagate that work, subject to this License. You are not responsible -for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an -organization, or substantially all assets of one, or subdividing an -organization, or merging organizations. If propagation of a covered -work results from an entity transaction, each party to that -transaction who receives a copy of the work also receives whatever -licenses to the work the party's predecessor in interest had or could -give under the previous paragraph, plus a right to possession of the -Corresponding Source of the work from the predecessor in interest, if -the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the -rights granted or affirmed under this License. For example, you may -not impose a license fee, royalty, or other charge for exercise of -rights granted under this License, and you may not initiate litigation -(including a cross-claim or counterclaim in a lawsuit) alleging that -any patent claim is infringed by making, using, selling, offering for -sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this -License of the Program or a work on which the Program is based. The -work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims -owned or controlled by the contributor, whether already acquired or -hereafter acquired, that would be infringed by some manner, permitted -by this License, of making, using, or selling its contributor version, -but do not include claims that would be infringed only as a -consequence of further modification of the contributor version. For -purposes of this definition, "control" includes the right to grant -patent sublicenses in a manner consistent with the requirements of -this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free -patent license under the contributor's essential patent claims, to -make, use, sell, offer for sale, import and otherwise run, modify and -propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express -agreement or commitment, however denominated, not to enforce a patent -(such as an express permission to practice a patent or covenant not to -sue for patent infringement). To "grant" such a patent license to a -party means to make such an agreement or commitment not to enforce a -patent against the party. - - If you convey a covered work, knowingly relying on a patent license, -and the Corresponding Source of the work is not available for anyone -to copy, free of charge and under the terms of this License, through a -publicly available network server or other readily accessible means, -then you must either (1) cause the Corresponding Source to be so -available, or (2) arrange to deprive yourself of the benefit of the -patent license for this particular work, or (3) arrange, in a manner -consistent with the requirements of this License, to extend the patent -license to downstream recipients. "Knowingly relying" means you have -actual knowledge that, but for the patent license, your conveying the -covered work in a country, or your recipient's use of the covered work -in a country, would infringe one or more identifiable patents in that -country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or -arrangement, you convey, or propagate by procuring conveyance of, a -covered work, and grant a patent license to some of the parties -receiving the covered work authorizing them to use, propagate, modify -or convey a specific copy of the covered work, then the patent license -you grant is automatically extended to all recipients of the covered -work and works based on it. - - A patent license is "discriminatory" if it does not include within -the scope of its coverage, prohibits the exercise of, or is -conditioned on the non-exercise of one or more of the rights that are -specifically granted under this License. You may not convey a covered -work if you are a party to an arrangement with a third party that is -in the business of distributing software, under which you make payment -to the third party based on the extent of your activity of conveying -the work, and under which the third party grants, to any of the -parties who would receive the covered work from you, a discriminatory -patent license (a) in connection with copies of the covered work -conveyed by you (or copies made from those copies), or (b) primarily -for and in connection with specific products or compilations that -contain the covered work, unless you entered into that arrangement, -or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting -any implied license or other defenses to infringement that may -otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If 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 convey a -covered work so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you may -not convey it at all. For example, if you agree to terms that obligate you -to collect a royalty for further conveying from those to whom you convey -the Program, the only way you could satisfy both those terms and this -License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have -permission to link or combine any covered work with a work licensed -under version 3 of the GNU Affero General Public License into a single -combined work, and to convey the resulting work. The terms of this -License will continue to apply to the part which is the covered work, -but the special requirements of the GNU Affero General Public License, -section 13, concerning interaction through a network will apply to the -combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of -the GNU 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 that a certain numbered version of the GNU General -Public License "or any later version" applies to it, you have the -option of following the terms and conditions either of that numbered -version or of any later version published by the Free Software -Foundation. If the Program does not specify a version number of the -GNU General Public License, you may choose any version ever published -by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future -versions of the GNU General Public License can be used, that proxy's -public statement of acceptance of a version permanently authorizes you -to choose that version for the Program. - - Later license versions may give you additional or different -permissions. However, no additional obligations are imposed on any -author or copyright holder as a result of your choosing to follow a -later version. - - 15. Disclaimer of Warranty. - - 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. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS -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. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided -above cannot be given local legal effect according to their terms, -reviewing courts shall apply local law that most closely approximates -an absolute waiver of all civil liability in connection with the -Program, unless a warranty or assumption of liability accompanies a -copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -state the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short -notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, your program's commands -might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, -if any, to sign a "copyright disclaimer" for the program, if necessary. -For more information on this, and how to apply and follow the GNU GPL, see -. - - The GNU General Public License does not permit incorporating your program -into proprietary programs. If your program is a subroutine library, you -may consider it more useful to permit linking proprietary applications with -the library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. But first, please read -. - -Name: libquadmath -Files: numpy.libs/libquadmath*.so -Description: dynamically linked to files compiled with gcc -Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libquadmath -License: LGPL-2.1-or-later - - GCC Quad-Precision Math Library - Copyright (C) 2010-2019 Free Software Foundation, Inc. - Written by Francois-Xavier Coudert - - This file is part of the libquadmath library. - Libquadmath is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - Libquadmath 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. - https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html diff --git a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/METADATA deleted file mode 100644 index 59293ab5..00000000 --- a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/METADATA +++ /dev/null @@ -1,1092 +0,0 @@ -Metadata-Version: 2.1 -Name: numpy -Version: 2.2.0 -Summary: Fundamental package for array computing in Python -Author: Travis E. Oliphant et al. -Maintainer-Email: NumPy Developers -License: Copyright (c) 2005-2024, NumPy Developers. - 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 the NumPy Developers nor the names of any - 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. - - ---- - - The NumPy repository and source distributions bundle several libraries that are - compatibly licensed. We list these here. - - Name: lapack-lite - Files: numpy/linalg/lapack_lite/* - License: BSD-3-Clause - For details, see numpy/linalg/lapack_lite/LICENSE.txt - - Name: dragon4 - Files: numpy/_core/src/multiarray/dragon4.c - License: MIT - For license text, see numpy/_core/src/multiarray/dragon4.c - - Name: libdivide - Files: numpy/_core/include/numpy/libdivide/* - License: Zlib - For license text, see numpy/_core/include/numpy/libdivide/LICENSE.txt - - - Note that the following files are vendored in the repository and sdist but not - installed in built numpy packages: - - Name: Meson - Files: vendored-meson/meson/* - License: Apache 2.0 - For license text, see vendored-meson/meson/COPYING - - Name: spin - Files: .spin/cmds.py - License: BSD-3 - For license text, see .spin/LICENSE - - Name: tempita - Files: numpy/_build_utils/tempita/* - License: MIT - For details, see numpy/_build_utils/tempita/LICENCE.txt - - ---- - - This binary distribution of NumPy also bundles the following software: - - - Name: OpenBLAS - Files: numpy.libs/libscipy_openblas*.so - Description: bundled as a dynamically linked library - Availability: https://github.com/OpenMathLib/OpenBLAS/ - License: BSD-3-Clause - Copyright (c) 2011-2014, The OpenBLAS Project - 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 OpenBLAS project 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. - - - Name: LAPACK - Files: numpy.libs/libscipy_openblas*.so - Description: bundled in OpenBLAS - Availability: https://github.com/OpenMathLib/OpenBLAS/ - License: BSD-3-Clause-Attribution - Copyright (c) 1992-2013 The University of Tennessee and The University - of Tennessee Research Foundation. All rights - reserved. - Copyright (c) 2000-2013 The University of California Berkeley. All - rights reserved. - Copyright (c) 2006-2013 The University of Colorado Denver. All rights - reserved. - - $COPYRIGHT$ - - Additional copyrights may follow - - $HEADER$ - - 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 listed - in this license in the documentation and/or other materials - provided with the distribution. - - - Neither the name of the copyright holders nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - - The copyright holders provide no reassurances that the source code - provided does not infringe any patent, copyright, or any other - intellectual property rights of third parties. The copyright holders - disclaim any liability to any recipient for claims brought against - recipient by any third party for infringement of that parties - intellectual property rights. - - 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. - - - Name: GCC runtime library - Files: numpy.libs/libgfortran*.so - Description: dynamically linked to files compiled with gcc - Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libgfortran - License: GPL-3.0-with-GCC-exception - Copyright (C) 2002-2017 Free Software Foundation, Inc. - - Libgfortran is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - Libgfortran 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 General Public License for more details. - - Under Section 7 of GPL version 3, you are granted additional - permissions described in the GCC Runtime Library Exception, version - 3.1, as published by the Free Software Foundation. - - You should have received a copy of the GNU General Public License and - a copy of the GCC Runtime Library Exception along with this program; - see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - . - - ---- - - Full text of license texts referred to above follows (that they are - listed below does not necessarily imply the conditions apply to the - present binary release): - - ---- - - GCC RUNTIME LIBRARY EXCEPTION - - Version 3.1, 31 March 2009 - - Copyright (C) 2009 Free Software Foundation, Inc. - - Everyone is permitted to copy and distribute verbatim copies of this - license document, but changing it is not allowed. - - This GCC Runtime Library Exception ("Exception") is an additional - permission under section 7 of the GNU General Public License, version - 3 ("GPLv3"). It applies to a given file (the "Runtime Library") that - bears a notice placed by the copyright holder of the file stating that - the file is governed by GPLv3 along with this Exception. - - When you use GCC to compile a program, GCC may combine portions of - certain GCC header files and runtime libraries with the compiled - program. The purpose of this Exception is to allow compilation of - non-GPL (including proprietary) programs to use, in this way, the - header files and runtime libraries covered by this Exception. - - 0. Definitions. - - A file is an "Independent Module" if it either requires the Runtime - Library for execution after a Compilation Process, or makes use of an - interface provided by the Runtime Library, but is not otherwise based - on the Runtime Library. - - "GCC" means a version of the GNU Compiler Collection, with or without - modifications, governed by version 3 (or a specified later version) of - the GNU General Public License (GPL) with the option of using any - subsequent versions published by the FSF. - - "GPL-compatible Software" is software whose conditions of propagation, - modification and use would permit combination with GCC in accord with - the license of GCC. - - "Target Code" refers to output from any compiler for a real or virtual - target processor architecture, in executable form or suitable for - input to an assembler, loader, linker and/or execution - phase. Notwithstanding that, Target Code does not include data in any - format that is used as a compiler intermediate representation, or used - for producing a compiler intermediate representation. - - The "Compilation Process" transforms code entirely represented in - non-intermediate languages designed for human-written code, and/or in - Java Virtual Machine byte code, into Target Code. Thus, for example, - use of source code generators and preprocessors need not be considered - part of the Compilation Process, since the Compilation Process can be - understood as starting with the output of the generators or - preprocessors. - - A Compilation Process is "Eligible" if it is done using GCC, alone or - with other GPL-compatible software, or if it is done without using any - work based on GCC. For example, using non-GPL-compatible Software to - optimize any GCC intermediate representations would not qualify as an - Eligible Compilation Process. - - 1. Grant of Additional Permission. - - You have permission to propagate a work of Target Code formed by - combining the Runtime Library with Independent Modules, even if such - propagation would otherwise violate the terms of GPLv3, provided that - all Target Code was generated by Eligible Compilation Processes. You - may then convey such a combination under terms of your choice, - consistent with the licensing of the Independent Modules. - - 2. No Weakening of GCC Copyleft. - - The availability of this Exception does not imply any general - presumption that third-party software is unaffected by the copyleft - requirements of the license of GCC. - - ---- - - GNU GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The GNU General Public License is a free, copyleft license for - software and other kinds of works. - - The licenses for most software and other practical works are designed - to take away your freedom to share and change the works. By contrast, - the GNU General Public License is intended to guarantee your freedom to - share and change all versions of a program--to make sure it remains free - software for all its users. We, the Free Software Foundation, use the - GNU General Public License for most of our software; it applies also to - any other work released this way by its authors. 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 - them 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 prevent others from denying you - these rights or asking you to surrender the rights. Therefore, you have - certain responsibilities if you distribute copies of the software, or if - you modify it: responsibilities to respect the freedom of others. - - For example, if you distribute copies of such a program, whether - gratis or for a fee, you must pass on to the recipients the same - freedoms that you received. 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. - - Developers that use the GNU GPL protect your rights with two steps: - (1) assert copyright on the software, and (2) offer you this License - giving you legal permission to copy, distribute and/or modify it. - - For the developers' and authors' protection, the GPL clearly explains - that there is no warranty for this free software. For both users' and - authors' sake, the GPL requires that modified versions be marked as - changed, so that their problems will not be attributed erroneously to - authors of previous versions. - - Some devices are designed to deny users access to install or run - modified versions of the software inside them, although the manufacturer - can do so. This is fundamentally incompatible with the aim of - protecting users' freedom to change the software. The systematic - pattern of such abuse occurs in the area of products for individuals to - use, which is precisely where it is most unacceptable. Therefore, we - have designed this version of the GPL to prohibit the practice for those - products. If such problems arise substantially in other domains, we - stand ready to extend this provision to those domains in future versions - of the GPL, as needed to protect the freedom of users. - - Finally, every program is threatened constantly by software patents. - States should not allow patents to restrict development and use of - software on general-purpose computers, but in those that do, we wish to - avoid the special danger that patents applied to a free program could - make it effectively proprietary. To prevent this, the GPL assures that - patents cannot be used to render the program non-free. - - The precise terms and conditions for copying, distribution and - modification follow. - - TERMS AND CONDITIONS - - 0. Definitions. - - "This License" refers to version 3 of the GNU General Public License. - - "Copyright" also means copyright-like laws that apply to other kinds of - works, such as semiconductor masks. - - "The Program" refers to any copyrightable work licensed under this - License. Each licensee is addressed as "you". "Licensees" and - "recipients" may be individuals or organizations. - - To "modify" a work means to copy from or adapt all or part of the work - in a fashion requiring copyright permission, other than the making of an - exact copy. The resulting work is called a "modified version" of the - earlier work or a work "based on" the earlier work. - - A "covered work" means either the unmodified Program or a work based - on the Program. - - To "propagate" a work means to do anything with it that, without - permission, would make you directly or secondarily liable for - infringement under applicable copyright law, except executing it on a - computer or modifying a private copy. Propagation includes copying, - distribution (with or without modification), making available to the - public, and in some countries other activities as well. - - To "convey" a work means any kind of propagation that enables other - parties to make or receive copies. Mere interaction with a user through - a computer network, with no transfer of a copy, is not conveying. - - An interactive user interface displays "Appropriate Legal Notices" - to the extent that it includes a convenient and prominently visible - feature that (1) displays an appropriate copyright notice, and (2) - tells the user that there is no warranty for the work (except to the - extent that warranties are provided), that licensees may convey the - work under this License, and how to view a copy of this License. If - the interface presents a list of user commands or options, such as a - menu, a prominent item in the list meets this criterion. - - 1. Source Code. - - The "source code" for a work means the preferred form of the work - for making modifications to it. "Object code" means any non-source - form of a work. - - A "Standard Interface" means an interface that either is an official - standard defined by a recognized standards body, or, in the case of - interfaces specified for a particular programming language, one that - is widely used among developers working in that language. - - The "System Libraries" of an executable work include anything, other - than the work as a whole, that (a) is included in the normal form of - packaging a Major Component, but which is not part of that Major - Component, and (b) serves only to enable use of the work with that - Major Component, or to implement a Standard Interface for which an - implementation is available to the public in source code form. A - "Major Component", in this context, means a major essential component - (kernel, window system, and so on) of the specific operating system - (if any) on which the executable work runs, or a compiler used to - produce the work, or an object code interpreter used to run it. - - The "Corresponding Source" for a work in object code form means all - the source code needed to generate, install, and (for an executable - work) run the object code and to modify the work, including scripts to - control those activities. However, it does not include the work's - System Libraries, or general-purpose tools or generally available free - programs which are used unmodified in performing those activities but - which are not part of the work. For example, Corresponding Source - includes interface definition files associated with source files for - the work, and the source code for shared libraries and dynamically - linked subprograms that the work is specifically designed to require, - such as by intimate data communication or control flow between those - subprograms and other parts of the work. - - The Corresponding Source need not include anything that users - can regenerate automatically from other parts of the Corresponding - Source. - - The Corresponding Source for a work in source code form is that - same work. - - 2. Basic Permissions. - - All rights granted under this License are granted for the term of - copyright on the Program, and are irrevocable provided the stated - conditions are met. This License explicitly affirms your unlimited - permission to run the unmodified Program. The output from running a - covered work is covered by this License only if the output, given its - content, constitutes a covered work. This License acknowledges your - rights of fair use or other equivalent, as provided by copyright law. - - You may make, run and propagate covered works that you do not - convey, without conditions so long as your license otherwise remains - in force. You may convey covered works to others for the sole purpose - of having them make modifications exclusively for you, or provide you - with facilities for running those works, provided that you comply with - the terms of this License in conveying all material for which you do - not control copyright. Those thus making or running the covered works - for you must do so exclusively on your behalf, under your direction - and control, on terms that prohibit them from making any copies of - your copyrighted material outside their relationship with you. - - Conveying under any other circumstances is permitted solely under - the conditions stated below. Sublicensing is not allowed; section 10 - makes it unnecessary. - - 3. Protecting Users' Legal Rights From Anti-Circumvention Law. - - No covered work shall be deemed part of an effective technological - measure under any applicable law fulfilling obligations under article - 11 of the WIPO copyright treaty adopted on 20 December 1996, or - similar laws prohibiting or restricting circumvention of such - measures. - - When you convey a covered work, you waive any legal power to forbid - circumvention of technological measures to the extent such circumvention - is effected by exercising rights under this License with respect to - the covered work, and you disclaim any intention to limit operation or - modification of the work as a means of enforcing, against the work's - users, your or third parties' legal rights to forbid circumvention of - technological measures. - - 4. Conveying Verbatim Copies. - - You may convey 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; - keep intact all notices stating that this License and any - non-permissive terms added in accord with section 7 apply to the code; - keep intact all notices of the absence of any warranty; and give all - recipients a copy of this License along with the Program. - - You may charge any price or no price for each copy that you convey, - and you may offer support or warranty protection for a fee. - - 5. Conveying Modified Source Versions. - - You may convey a work based on the Program, or the modifications to - produce it from the Program, in the form of source code under the - terms of section 4, provided that you also meet all of these conditions: - - a) The work must carry prominent notices stating that you modified - it, and giving a relevant date. - - b) The work must carry prominent notices stating that it is - released under this License and any conditions added under section - 7. This requirement modifies the requirement in section 4 to - "keep intact all notices". - - c) You must license the entire work, as a whole, under this - License to anyone who comes into possession of a copy. This - License will therefore apply, along with any applicable section 7 - additional terms, to the whole of the work, and all its parts, - regardless of how they are packaged. This License gives no - permission to license the work in any other way, but it does not - invalidate such permission if you have separately received it. - - d) If the work has interactive user interfaces, each must display - Appropriate Legal Notices; however, if the Program has interactive - interfaces that do not display Appropriate Legal Notices, your - work need not make them do so. - - A compilation of a covered work with other separate and independent - works, which are not by their nature extensions of the covered work, - and which are not combined with it such as to form a larger program, - in or on a volume of a storage or distribution medium, is called an - "aggregate" if the compilation and its resulting copyright are not - used to limit the access or legal rights of the compilation's users - beyond what the individual works permit. Inclusion of a covered work - in an aggregate does not cause this License to apply to the other - parts of the aggregate. - - 6. Conveying Non-Source Forms. - - You may convey a covered work in object code form under the terms - of sections 4 and 5, provided that you also convey the - machine-readable Corresponding Source under the terms of this License, - in one of these ways: - - a) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by the - Corresponding Source fixed on a durable physical medium - customarily used for software interchange. - - b) Convey the object code in, or embodied in, a physical product - (including a physical distribution medium), accompanied by a - written offer, valid for at least three years and valid for as - long as you offer spare parts or customer support for that product - model, to give anyone who possesses the object code either (1) a - copy of the Corresponding Source for all the software in the - product that is covered by this License, on a durable physical - medium customarily used for software interchange, for a price no - more than your reasonable cost of physically performing this - conveying of source, or (2) access to copy the - Corresponding Source from a network server at no charge. - - c) Convey individual copies of the object code with a copy of the - written offer to provide the Corresponding Source. This - alternative is allowed only occasionally and noncommercially, and - only if you received the object code with such an offer, in accord - with subsection 6b. - - d) Convey the object code by offering access from a designated - place (gratis or for a charge), and offer equivalent access to the - Corresponding Source in the same way through the same place at no - further charge. You need not require recipients to copy the - Corresponding Source along with the object code. If the place to - copy the object code is a network server, the Corresponding Source - may be on a different server (operated by you or a third party) - that supports equivalent copying facilities, provided you maintain - clear directions next to the object code saying where to find the - Corresponding Source. Regardless of what server hosts the - Corresponding Source, you remain obligated to ensure that it is - available for as long as needed to satisfy these requirements. - - e) Convey the object code using peer-to-peer transmission, provided - you inform other peers where the object code and Corresponding - Source of the work are being offered to the general public at no - charge under subsection 6d. - - A separable portion of the object code, whose source code is excluded - from the Corresponding Source as a System Library, need not be - included in conveying the object code work. - - A "User Product" is either (1) a "consumer product", which means any - tangible personal property which is normally used for personal, family, - or household purposes, or (2) anything designed or sold for incorporation - into a dwelling. In determining whether a product is a consumer product, - doubtful cases shall be resolved in favor of coverage. For a particular - product received by a particular user, "normally used" refers to a - typical or common use of that class of product, regardless of the status - of the particular user or of the way in which the particular user - actually uses, or expects or is expected to use, the product. A product - is a consumer product regardless of whether the product has substantial - commercial, industrial or non-consumer uses, unless such uses represent - the only significant mode of use of the product. - - "Installation Information" for a User Product means any methods, - procedures, authorization keys, or other information required to install - and execute modified versions of a covered work in that User Product from - a modified version of its Corresponding Source. The information must - suffice to ensure that the continued functioning of the modified object - code is in no case prevented or interfered with solely because - modification has been made. - - If you convey an object code work under this section in, or with, or - specifically for use in, a User Product, and the conveying occurs as - part of a transaction in which the right of possession and use of the - User Product is transferred to the recipient in perpetuity or for a - fixed term (regardless of how the transaction is characterized), the - Corresponding Source conveyed under this section must be accompanied - by the Installation Information. But this requirement does not apply - if neither you nor any third party retains the ability to install - modified object code on the User Product (for example, the work has - been installed in ROM). - - The requirement to provide Installation Information does not include a - requirement to continue to provide support service, warranty, or updates - for a work that has been modified or installed by the recipient, or for - the User Product in which it has been modified or installed. Access to a - network may be denied when the modification itself materially and - adversely affects the operation of the network or violates the rules and - protocols for communication across the network. - - Corresponding Source conveyed, and Installation Information provided, - in accord with this section must be in a format that is publicly - documented (and with an implementation available to the public in - source code form), and must require no special password or key for - unpacking, reading or copying. - - 7. Additional Terms. - - "Additional permissions" are terms that supplement the terms of this - License by making exceptions from one or more of its conditions. - Additional permissions that are applicable to the entire Program shall - be treated as though they were included in this License, to the extent - that they are valid under applicable law. If additional permissions - apply only to part of the Program, that part may be used separately - under those permissions, but the entire Program remains governed by - this License without regard to the additional permissions. - - When you convey a copy of a covered work, you may at your option - remove any additional permissions from that copy, or from any part of - it. (Additional permissions may be written to require their own - removal in certain cases when you modify the work.) You may place - additional permissions on material, added by you to a covered work, - for which you have or can give appropriate copyright permission. - - Notwithstanding any other provision of this License, for material you - add to a covered work, you may (if authorized by the copyright holders of - that material) supplement the terms of this License with terms: - - a) Disclaiming warranty or limiting liability differently from the - terms of sections 15 and 16 of this License; or - - b) Requiring preservation of specified reasonable legal notices or - author attributions in that material or in the Appropriate Legal - Notices displayed by works containing it; or - - c) Prohibiting misrepresentation of the origin of that material, or - requiring that modified versions of such material be marked in - reasonable ways as different from the original version; or - - d) Limiting the use for publicity purposes of names of licensors or - authors of the material; or - - e) Declining to grant rights under trademark law for use of some - trade names, trademarks, or service marks; or - - f) Requiring indemnification of licensors and authors of that - material by anyone who conveys the material (or modified versions of - it) with contractual assumptions of liability to the recipient, for - any liability that these contractual assumptions directly impose on - those licensors and authors. - - All other non-permissive additional terms are considered "further - restrictions" within the meaning of section 10. If the Program as you - received it, or any part of it, contains a notice stating that it is - governed by this License along with a term that is a further - restriction, you may remove that term. If a license document contains - a further restriction but permits relicensing or conveying under this - License, you may add to a covered work material governed by the terms - of that license document, provided that the further restriction does - not survive such relicensing or conveying. - - If you add terms to a covered work in accord with this section, you - must place, in the relevant source files, a statement of the - additional terms that apply to those files, or a notice indicating - where to find the applicable terms. - - Additional terms, permissive or non-permissive, may be stated in the - form of a separately written license, or stated as exceptions; - the above requirements apply either way. - - 8. Termination. - - You may not propagate or modify a covered work except as expressly - provided under this License. Any attempt otherwise to propagate or - modify it is void, and will automatically terminate your rights under - this License (including any patent licenses granted under the third - paragraph of section 11). - - However, if you cease all violation of this License, then your - license from a particular copyright holder is reinstated (a) - provisionally, unless and until the copyright holder explicitly and - finally terminates your license, and (b) permanently, if the copyright - holder fails to notify you of the violation by some reasonable means - prior to 60 days after the cessation. - - Moreover, your license from a particular copyright holder is - reinstated permanently if the copyright holder notifies you of the - violation by some reasonable means, this is the first time you have - received notice of violation of this License (for any work) from that - copyright holder, and you cure the violation prior to 30 days after - your receipt of the notice. - - Termination of your rights under this section does not terminate the - licenses of parties who have received copies or rights from you under - this License. If your rights have been terminated and not permanently - reinstated, you do not qualify to receive new licenses for the same - material under section 10. - - 9. Acceptance Not Required for Having Copies. - - You are not required to accept this License in order to receive or - run a copy of the Program. Ancillary propagation of a covered work - occurring solely as a consequence of using peer-to-peer transmission - to receive a copy likewise does not require acceptance. However, - nothing other than this License grants you permission to propagate or - modify any covered work. These actions infringe copyright if you do - not accept this License. Therefore, by modifying or propagating a - covered work, you indicate your acceptance of this License to do so. - - 10. Automatic Licensing of Downstream Recipients. - - Each time you convey a covered work, the recipient automatically - receives a license from the original licensors, to run, modify and - propagate that work, subject to this License. You are not responsible - for enforcing compliance by third parties with this License. - - An "entity transaction" is a transaction transferring control of an - organization, or substantially all assets of one, or subdividing an - organization, or merging organizations. If propagation of a covered - work results from an entity transaction, each party to that - transaction who receives a copy of the work also receives whatever - licenses to the work the party's predecessor in interest had or could - give under the previous paragraph, plus a right to possession of the - Corresponding Source of the work from the predecessor in interest, if - the predecessor has it or can get it with reasonable efforts. - - You may not impose any further restrictions on the exercise of the - rights granted or affirmed under this License. For example, you may - not impose a license fee, royalty, or other charge for exercise of - rights granted under this License, and you may not initiate litigation - (including a cross-claim or counterclaim in a lawsuit) alleging that - any patent claim is infringed by making, using, selling, offering for - sale, or importing the Program or any portion of it. - - 11. Patents. - - A "contributor" is a copyright holder who authorizes use under this - License of the Program or a work on which the Program is based. The - work thus licensed is called the contributor's "contributor version". - - A contributor's "essential patent claims" are all patent claims - owned or controlled by the contributor, whether already acquired or - hereafter acquired, that would be infringed by some manner, permitted - by this License, of making, using, or selling its contributor version, - but do not include claims that would be infringed only as a - consequence of further modification of the contributor version. For - purposes of this definition, "control" includes the right to grant - patent sublicenses in a manner consistent with the requirements of - this License. - - Each contributor grants you a non-exclusive, worldwide, royalty-free - patent license under the contributor's essential patent claims, to - make, use, sell, offer for sale, import and otherwise run, modify and - propagate the contents of its contributor version. - - In the following three paragraphs, a "patent license" is any express - agreement or commitment, however denominated, not to enforce a patent - (such as an express permission to practice a patent or covenant not to - sue for patent infringement). To "grant" such a patent license to a - party means to make such an agreement or commitment not to enforce a - patent against the party. - - If you convey a covered work, knowingly relying on a patent license, - and the Corresponding Source of the work is not available for anyone - to copy, free of charge and under the terms of this License, through a - publicly available network server or other readily accessible means, - then you must either (1) cause the Corresponding Source to be so - available, or (2) arrange to deprive yourself of the benefit of the - patent license for this particular work, or (3) arrange, in a manner - consistent with the requirements of this License, to extend the patent - license to downstream recipients. "Knowingly relying" means you have - actual knowledge that, but for the patent license, your conveying the - covered work in a country, or your recipient's use of the covered work - in a country, would infringe one or more identifiable patents in that - country that you have reason to believe are valid. - - If, pursuant to or in connection with a single transaction or - arrangement, you convey, or propagate by procuring conveyance of, a - covered work, and grant a patent license to some of the parties - receiving the covered work authorizing them to use, propagate, modify - or convey a specific copy of the covered work, then the patent license - you grant is automatically extended to all recipients of the covered - work and works based on it. - - A patent license is "discriminatory" if it does not include within - the scope of its coverage, prohibits the exercise of, or is - conditioned on the non-exercise of one or more of the rights that are - specifically granted under this License. You may not convey a covered - work if you are a party to an arrangement with a third party that is - in the business of distributing software, under which you make payment - to the third party based on the extent of your activity of conveying - the work, and under which the third party grants, to any of the - parties who would receive the covered work from you, a discriminatory - patent license (a) in connection with copies of the covered work - conveyed by you (or copies made from those copies), or (b) primarily - for and in connection with specific products or compilations that - contain the covered work, unless you entered into that arrangement, - or that patent license was granted, prior to 28 March 2007. - - Nothing in this License shall be construed as excluding or limiting - any implied license or other defenses to infringement that may - otherwise be available to you under applicable patent law. - - 12. No Surrender of Others' Freedom. - - If 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 convey a - covered work so as to satisfy simultaneously your obligations under this - License and any other pertinent obligations, then as a consequence you may - not convey it at all. For example, if you agree to terms that obligate you - to collect a royalty for further conveying from those to whom you convey - the Program, the only way you could satisfy both those terms and this - License would be to refrain entirely from conveying the Program. - - 13. Use with the GNU Affero General Public License. - - Notwithstanding any other provision of this License, you have - permission to link or combine any covered work with a work licensed - under version 3 of the GNU Affero General Public License into a single - combined work, and to convey the resulting work. The terms of this - License will continue to apply to the part which is the covered work, - but the special requirements of the GNU Affero General Public License, - section 13, concerning interaction through a network will apply to the - combination as such. - - 14. Revised Versions of this License. - - The Free Software Foundation may publish revised and/or new versions of - the GNU 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 that a certain numbered version of the GNU General - Public License "or any later version" applies to it, you have the - option of following the terms and conditions either of that numbered - version or of any later version published by the Free Software - Foundation. If the Program does not specify a version number of the - GNU General Public License, you may choose any version ever published - by the Free Software Foundation. - - If the Program specifies that a proxy can decide which future - versions of the GNU General Public License can be used, that proxy's - public statement of acceptance of a version permanently authorizes you - to choose that version for the Program. - - Later license versions may give you additional or different - permissions. However, no additional obligations are imposed on any - author or copyright holder as a result of your choosing to follow a - later version. - - 15. Disclaimer of Warranty. - - 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. - - 16. Limitation of Liability. - - IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING - WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS - 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. - - 17. Interpretation of Sections 15 and 16. - - If the disclaimer of warranty and limitation of liability provided - above cannot be given local legal effect according to their terms, - reviewing courts shall apply local law that most closely approximates - an absolute waiver of all civil liability in connection with the - Program, unless a warranty or assumption of liability accompanies a - copy of the Program in return for a fee. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest - possible use to the public, the best way to achieve this is to make it - free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest - to attach them to the start of each source file to most effectively - state the exclusion of warranty; and each file should have at least - the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. - - This program 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 General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . - - Also add information on how to contact you by electronic and paper mail. - - If the program does terminal interaction, make it output a short - notice like this when it starts in an interactive mode: - - Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - - The hypothetical commands `show w' and `show c' should show the appropriate - parts of the General Public License. Of course, your program's commands - might be different; for a GUI interface, you would use an "about box". - - You should also get your employer (if you work as a programmer) or school, - if any, to sign a "copyright disclaimer" for the program, if necessary. - For more information on this, and how to apply and follow the GNU GPL, see - . - - The GNU General Public License does not permit incorporating your program - into proprietary programs. If your program is a subroutine library, you - may consider it more useful to permit linking proprietary applications with - the library. If this is what you want to do, use the GNU Lesser General - Public License instead of this License. But first, please read - . - - Name: libquadmath - Files: numpy.libs/libquadmath*.so - Description: dynamically linked to files compiled with gcc - Availability: https://gcc.gnu.org/git/?p=gcc.git;a=tree;f=libquadmath - License: LGPL-2.1-or-later - - GCC Quad-Precision Math Library - Copyright (C) 2010-2019 Free Software Foundation, Inc. - Written by Francois-Xavier Coudert - - This file is part of the libquadmath library. - Libquadmath is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - Libquadmath 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. - https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html - -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Science/Research -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: BSD License -Classifier: Programming Language :: C -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -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 :: Only -Classifier: Programming Language :: Python :: Implementation :: CPython -Classifier: Topic :: Software Development -Classifier: Topic :: Scientific/Engineering -Classifier: Typing :: Typed -Classifier: Operating System :: Microsoft :: Windows -Classifier: Operating System :: POSIX -Classifier: Operating System :: Unix -Classifier: Operating System :: MacOS -Project-URL: homepage, https://numpy.org -Project-URL: documentation, https://numpy.org/doc/ -Project-URL: source, https://github.com/numpy/numpy -Project-URL: download, https://pypi.org/project/numpy/#files -Project-URL: tracker, https://github.com/numpy/numpy/issues -Project-URL: release notes, https://numpy.org/doc/stable/release -Requires-Python: >=3.10 -Description-Content-Type: text/markdown - -

- -


- - -[![Powered by NumFOCUS](https://img.shields.io/badge/powered%20by-NumFOCUS-orange.svg?style=flat&colorA=E1523D&colorB=007D8A)]( -https://numfocus.org) -[![PyPI Downloads](https://img.shields.io/pypi/dm/numpy.svg?label=PyPI%20downloads)]( -https://pypi.org/project/numpy/) -[![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/numpy.svg?label=Conda%20downloads)]( -https://anaconda.org/conda-forge/numpy) -[![Stack Overflow](https://img.shields.io/badge/stackoverflow-Ask%20questions-blue.svg)]( -https://stackoverflow.com/questions/tagged/numpy) -[![Nature Paper](https://img.shields.io/badge/DOI-10.1038%2Fs41586--020--2649--2-blue)]( -https://doi.org/10.1038/s41586-020-2649-2) -[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/numpy/numpy/badge)](https://securityscorecards.dev/viewer/?uri=github.com/numpy/numpy) - - -NumPy is the fundamental package for scientific computing with Python. - -- **Website:** https://www.numpy.org -- **Documentation:** https://numpy.org/doc -- **Mailing list:** https://mail.python.org/mailman/listinfo/numpy-discussion -- **Source code:** https://github.com/numpy/numpy -- **Contributing:** https://www.numpy.org/devdocs/dev/index.html -- **Bug reports:** https://github.com/numpy/numpy/issues -- **Report a security vulnerability:** https://tidelift.com/docs/security - -It provides: - -- a powerful N-dimensional array object -- sophisticated (broadcasting) functions -- tools for integrating C/C++ and Fortran code -- useful linear algebra, Fourier transform, and random number capabilities - -Testing: - -NumPy requires `pytest` and `hypothesis`. Tests can then be run after installation with: - - python -c "import numpy, sys; sys.exit(numpy.test() is False)" - -Code of Conduct ----------------------- - -NumPy is a community-driven open source project developed by a diverse group of -[contributors](https://numpy.org/teams/). The NumPy leadership has made a strong -commitment to creating an open, inclusive, and positive community. Please read the -[NumPy Code of Conduct](https://numpy.org/code-of-conduct/) for guidance on how to interact -with others in a way that makes our community thrive. - -Call for Contributions ----------------------- - -The NumPy project welcomes your expertise and enthusiasm! - -Small improvements or fixes are always appreciated. If you are considering larger contributions -to the source code, please contact us through the [mailing -list](https://mail.python.org/mailman/listinfo/numpy-discussion) first. - -Writing code isn’t the only way to contribute to NumPy. You can also: -- review pull requests -- help us stay on top of new and old issues -- develop tutorials, presentations, and other educational materials -- maintain and improve [our website](https://github.com/numpy/numpy.org) -- develop graphic design for our brand assets and promotional materials -- translate website content -- help with outreach and onboard new contributors -- write grant proposals and help with other fundraising efforts - -For more information about the ways you can contribute to NumPy, visit [our website](https://numpy.org/contribute/). -If you’re unsure where to start or how your skills fit in, reach out! You can -ask on the mailing list or here, on GitHub, by opening a new issue or leaving a -comment on a relevant issue that is already open. - -Our preferred channels of communication are all public, but if you’d like to -speak to us in private first, contact our community coordinators at -numpy-team@googlegroups.com or on Slack (write numpy-team@googlegroups.com for -an invitation). - -We also have a biweekly community call, details of which are announced on the -mailing list. You are very welcome to join. - -If you are new to contributing to open source, [this -guide](https://opensource.guide/how-to-contribute/) helps explain why, what, -and how to successfully get involved. diff --git a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/RECORD deleted file mode 100644 index 1880e657..00000000 --- a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/RECORD +++ /dev/null @@ -1,1242 +0,0 @@ -../../../bin/f2py,sha256=05uKlZr1bP_NJEZ9y6wQgqxC6tFpsCWKMwpObj-O91I,257 -../../../bin/numpy-config,sha256=bZPE8TTW7XL_01UXMCDFctf-WLO1THW14M763LJtAT4,257 -numpy-2.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -numpy-2.2.0.dist-info/LICENSE.txt,sha256=wAK9Jt59x6pGQlCg3gY9WP5Vl0RS5DieXCHDUKggvwY,47755 -numpy-2.2.0.dist-info/METADATA,sha256=bzE6SBAAnM6AK84V0NQlA2g8o2RgeUfqICkW2wmd0WE,62026 -numpy-2.2.0.dist-info/RECORD,, -numpy-2.2.0.dist-info/WHEEL,sha256=3qIDcXCk577AXiK3pDifO-gE9U_MYWYGgtD78gLa2_U,137 -numpy-2.2.0.dist-info/entry_points.txt,sha256=4mXDNhJDQ9GHqMBeRJ8B3PlixTFmkXGqU3RVuac20q0,172 -numpy.libs/libgfortran-040039e1-0352e75f.so.5.0.0,sha256=xgkASOzMdjUiwS7wFvgdprYnyzoET1XPBHmoOcQcCYA,2833617 -numpy.libs/libquadmath-96973f99-934c22de.so.0.0.0,sha256=btUTf0Enga14Y0OftUNhP2ILQ8MrYykqACkkYWL1u8Y,250985 -numpy.libs/libscipy_openblas64_-6bb31eeb.so,sha256=4THrBlRhIyEK8QkyCh_U4qL4CFBM0etS8iGuRBg0gIQ,22468673 -numpy/__config__.py,sha256=ViDJl8NW41YJlWmHGdiYZMtcKextwCWQbkCywqZS_as,5278 -numpy/__config__.pyi,sha256=ZKpaYX_mDS5X5VwNaH5wNAVi3X1FP0XkI5LcFOImNPk,2377 -numpy/__init__.cython-30.pxd,sha256=436MI6jmjdkN22X1rB97j4PyZfXT99joE0hjx_vmEls,46396 -numpy/__init__.pxd,sha256=BE7RE_30RdkIImvTjbmYcuZan9oHcDYZvoJt5Jfi_E4,43030 -numpy/__init__.py,sha256=auF7BwwPcKjjytiaUQolaULlofN-pf6xIM7BZ-0qYjY,22147 -numpy/__init__.pyi,sha256=bWSvntApvfuVOKmfJZrAjmfKUUOE6z_a2RC7J3gl36U,192459 -numpy/__pycache__/__config__.cpython-312.pyc,, -numpy/__pycache__/__init__.cpython-312.pyc,, -numpy/__pycache__/_array_api_info.cpython-312.pyc,, -numpy/__pycache__/_configtool.cpython-312.pyc,, -numpy/__pycache__/_distributor_init.cpython-312.pyc,, -numpy/__pycache__/_expired_attrs_2_0.cpython-312.pyc,, -numpy/__pycache__/_globals.cpython-312.pyc,, -numpy/__pycache__/_pytesttester.cpython-312.pyc,, -numpy/__pycache__/conftest.cpython-312.pyc,, -numpy/__pycache__/ctypeslib.cpython-312.pyc,, -numpy/__pycache__/dtypes.cpython-312.pyc,, -numpy/__pycache__/exceptions.cpython-312.pyc,, -numpy/__pycache__/matlib.cpython-312.pyc,, -numpy/__pycache__/version.cpython-312.pyc,, -numpy/_array_api_info.py,sha256=qiHJDVG58rAk1iTlXsFrnhZ7Y-ghPUkyBpJiMvPK2jg,10381 -numpy/_array_api_info.pyi,sha256=P71pudeW0DUFIlo27p5NHC8hoxkYP2ZhrsoS9uEJcvo,4892 -numpy/_configtool.py,sha256=asiPfz_TX2Dp0msoNjG43pZKRYgNYusSIg2ieczK8as,1007 -numpy/_core/__init__.py,sha256=H95-zST0CH6pnnObjXUXXiPgtub9M35IBGaYE-q4wrU,5612 -numpy/_core/__init__.pyi,sha256=Mj2I4BtqBVNUZVs5o1T58Z7wSaWjfhX0nCl-a0ULjgA,86 -numpy/_core/__pycache__/__init__.cpython-312.pyc,, -numpy/_core/__pycache__/_add_newdocs.cpython-312.pyc,, -numpy/_core/__pycache__/_add_newdocs_scalars.cpython-312.pyc,, -numpy/_core/__pycache__/_asarray.cpython-312.pyc,, -numpy/_core/__pycache__/_dtype.cpython-312.pyc,, -numpy/_core/__pycache__/_dtype_ctypes.cpython-312.pyc,, -numpy/_core/__pycache__/_exceptions.cpython-312.pyc,, -numpy/_core/__pycache__/_internal.cpython-312.pyc,, -numpy/_core/__pycache__/_machar.cpython-312.pyc,, -numpy/_core/__pycache__/_methods.cpython-312.pyc,, -numpy/_core/__pycache__/_string_helpers.cpython-312.pyc,, -numpy/_core/__pycache__/_type_aliases.cpython-312.pyc,, -numpy/_core/__pycache__/_ufunc_config.cpython-312.pyc,, -numpy/_core/__pycache__/arrayprint.cpython-312.pyc,, -numpy/_core/__pycache__/cversions.cpython-312.pyc,, -numpy/_core/__pycache__/defchararray.cpython-312.pyc,, -numpy/_core/__pycache__/einsumfunc.cpython-312.pyc,, -numpy/_core/__pycache__/fromnumeric.cpython-312.pyc,, -numpy/_core/__pycache__/function_base.cpython-312.pyc,, -numpy/_core/__pycache__/getlimits.cpython-312.pyc,, -numpy/_core/__pycache__/memmap.cpython-312.pyc,, -numpy/_core/__pycache__/multiarray.cpython-312.pyc,, -numpy/_core/__pycache__/numeric.cpython-312.pyc,, -numpy/_core/__pycache__/numerictypes.cpython-312.pyc,, -numpy/_core/__pycache__/overrides.cpython-312.pyc,, -numpy/_core/__pycache__/printoptions.cpython-312.pyc,, -numpy/_core/__pycache__/records.cpython-312.pyc,, -numpy/_core/__pycache__/shape_base.cpython-312.pyc,, -numpy/_core/__pycache__/strings.cpython-312.pyc,, -numpy/_core/__pycache__/umath.cpython-312.pyc,, -numpy/_core/_add_newdocs.py,sha256=7_LweH1Jp2OjeJFwacCoc0xQlA8lNFn104VMRRp7N28,208765 -numpy/_core/_add_newdocs_scalars.py,sha256=ePmas0mI6OCpq9W8ZszXHyEhktsBUj_hvEt6ozb8Zic,12603 -numpy/_core/_asarray.py,sha256=7oZPqNjuDL0IxIeT7V_UJW19lsKS3eny-jlN4Ha-hoA,3912 -numpy/_core/_asarray.pyi,sha256=xkgqEh4c9lcFktJija8a1w5Tj7-2XfZOV8GjDZsXpzY,1085 -numpy/_core/_dtype.py,sha256=4Pz6KJQJRywlsMhdH8NbIugziDyQi1ekv2ZMw7zomzo,10734 -numpy/_core/_dtype_ctypes.py,sha256=dcZHQ46qjV0n7l934WIYw7kv-1HoHxelu50oIIX7GWU,3718 -numpy/_core/_exceptions.py,sha256=dZWKqfdLRvJvbAEG_fof_8ikEKxjakADMty1kLC_l_M,5379 -numpy/_core/_internal.py,sha256=B8t6mxvaDouxE-COR010v4_PUHNzOF8mHgFatRPlJWk,29164 -numpy/_core/_internal.pyi,sha256=06EhTNYJ7HUtuV-oFz14OijSOCkT8f71-qBc7GOrCGk,1022 -numpy/_core/_machar.py,sha256=399tphFPGzJy1bpbeXLDjUUZTebWto1lozB1praORfE,11565 -numpy/_core/_methods.py,sha256=pjmP1yAbtVesXTytuupGIXojO55y8LBS-8fEQPusNIU,9469 -numpy/_core/_multiarray_tests.cpython-312-x86_64-linux-gnu.so,sha256=sWfWfyklBTonORW_uicvBc4RRpnauzMQu4YPnUyGGdw,178888 -numpy/_core/_multiarray_umath.cpython-312-x86_64-linux-gnu.so,sha256=ceGcRa0SXMBSvM1TgWEThTAlKVNnOPDFfJi3I0cZbQQ,10510625 -numpy/_core/_operand_flag_tests.cpython-312-x86_64-linux-gnu.so,sha256=4TpRx3XIlThfYr2EyAfFB7zRxId8iOK_HYpVEwsasX8,16984 -numpy/_core/_rational_tests.cpython-312-x86_64-linux-gnu.so,sha256=47Fmzv1V5uHVoclDxkyOYr2C3teLr3K6Uu3gdY3jY1g,59832 -numpy/_core/_simd.cpython-312-x86_64-linux-gnu.so,sha256=mIi7KpJ0Mt0JD0JrBDZS3Wh2kttsOmrzSG0879UO4u8,3042312 -numpy/_core/_string_helpers.py,sha256=gu3x0dEnRnh3mnOkviX17r8rCmagVgYHfxILt9Q9irA,2837 -numpy/_core/_struct_ufunc_tests.cpython-312-x86_64-linux-gnu.so,sha256=ciEUhFYUHL1n5AVwuSRmk1wpvsxI70ZnIe_ffEkajHY,17120 -numpy/_core/_type_aliases.py,sha256=4AU_cVekBKDIXO1URlOQKsMz8nrDw1tHr_nBdQzvNzo,3489 -numpy/_core/_type_aliases.pyi,sha256=9nNzq_Bxy5ikgnRaFMEcbThUVrb4HYJQvH58gXDWCGE,2400 -numpy/_core/_ufunc_config.py,sha256=LlFpTUnHFeHQlNFiuBHvrqVn-nQ7EvIgUEn3HUclt7k,15030 -numpy/_core/_ufunc_config.pyi,sha256=piQY1VeYD5rKJUOOMYRvLhNPMAdLEik4Yzgx-ioB19A,1172 -numpy/_core/_umath_tests.cpython-312-x86_64-linux-gnu.so,sha256=dIaC4wrKI9gy4FcSNeu8ztU6SoMWPLEiMUwbbXRqrmU,50512 -numpy/_core/arrayprint.py,sha256=s5lMLv3Wy_fa3hB1OqUaM4h1Ja9SB_X-3zAkQW1Tu4E,64812 -numpy/_core/arrayprint.pyi,sha256=KoegWEJy918ITxeW98xQ5aKNMQ649ABLFiewJTA-WN4,4371 -numpy/_core/cversions.py,sha256=H_iNIpx9-hY1cQNxqjT2d_5SXZhJbMo_caq4_q6LB7I,347 -numpy/_core/defchararray.py,sha256=hwzNR5D4bYTDU846j0uKoTnRsZk22jmM5KeXZitkvmU,37798 -numpy/_core/defchararray.pyi,sha256=n4P-zXnU8SdMf1cAiKDnJA08L_sVsvoDx7ONFOO-8YM,26962 -numpy/_core/einsumfunc.py,sha256=xsYoawvzK4EA2QIYdtk5KyrFkUCe4kSt5wOtXCm_v1s,52820 -numpy/_core/einsumfunc.pyi,sha256=sASdnPNumUFMQlYA0X8uGyfMDvay4ToTQ-uxQu-FQjk,4883 -numpy/_core/fromnumeric.py,sha256=gK8m2Y3lSJ5qszgNE-F-ZdN6uab40cW5BBsD4SONHLA,143907 -numpy/_core/fromnumeric.pyi,sha256=XyuFnIvilrJGX_JiUJmof_hGKajQ02QPd08xpzqsqLE,35805 -numpy/_core/function_base.py,sha256=hfcYdavNeeDbiYjvTBqDA6OJHxH1fuNDdMtTZUi3RZg,19733 -numpy/_core/function_base.pyi,sha256=o-BAAYrfadvvjVcaOYDx2NYuNj2zXOAAFba8KnjreF4,5050 -numpy/_core/getlimits.py,sha256=Uy3W6eJwu2l7R6ovqdfeOyQybF5jjlPER88pSM3_JPg,26112 -numpy/_core/getlimits.pyi,sha256=q30hQ3wDenmxoZUSoSOqyVrZZVGlsixXCHe6QUthbp8,61 -numpy/_core/include/numpy/__multiarray_api.c,sha256=u7HxPIx7xdxAPTE0gristUOO0-1L-_fl0IeKqR4voxI,12669 -numpy/_core/include/numpy/__multiarray_api.h,sha256=akdAXdNQvHxPFPbdeobhoGzyLUkoVdwzKDjzdbtk5zQ,61383 -numpy/_core/include/numpy/__ufunc_api.c,sha256=Fg7WlH4Ow6jETKRArVL_QF11ABKYz1VpOve56_U3E0w,1755 -numpy/_core/include/numpy/__ufunc_api.h,sha256=tayZuDCeuqm3ggFvWxJuoARz5obz6Saas9L7JcKO_eQ,13166 -numpy/_core/include/numpy/_neighborhood_iterator_imp.h,sha256=s-Hw_l5WRwKtYvsiIghF0bg-mA_CgWnzFFOYVFJ-q4k,1857 -numpy/_core/include/numpy/_numpyconfig.h,sha256=brqqDI4gwfGEFHMIWi0oNA0n_qnBBUWFVJtgfcdpSA0,926 -numpy/_core/include/numpy/_public_dtype_api_table.h,sha256=n6_Kb98SyvsR_X7stiNA6VuGp_c5W1e4fMVcJdO0wis,4574 -numpy/_core/include/numpy/arrayobject.h,sha256=mU5vpcQ95PH1j3bp8KYhJOFHB-GxwRjSUsR7nxlTSRk,204 -numpy/_core/include/numpy/arrayscalars.h,sha256=LlyrZIa_5td11BfqfMCv1hYbiG6__zxxGv1MRj8uIVo,4243 -numpy/_core/include/numpy/dtype_api.h,sha256=Gn37RzObmcTsL6YUYY9aG22Ct8F-r4ZaC53NPFqaIso,19238 -numpy/_core/include/numpy/halffloat.h,sha256=TRZfXgipa-dFppX2uNgkrjrPli-1BfJtadWjAembJ4s,1959 -numpy/_core/include/numpy/ndarrayobject.h,sha256=MnykWmchyS05ler_ZyhFIr_0j6c0IcndEi3X3n0ZWDk,12057 -numpy/_core/include/numpy/ndarraytypes.h,sha256=_oTL1jOGIEL9wcr3aY3RFY6vwpCyzby9FDORQR39uPI,65053 -numpy/_core/include/numpy/npy_1_7_deprecated_api.h,sha256=90kGcNaBPgT5FJArB_MPgW24_Mpl5RcfUR3Y0rRB5Bw,3746 -numpy/_core/include/numpy/npy_2_compat.h,sha256=wdjB7_-AtW3op67Xbj3EVH6apSF7cRG6h3c5hBz-YMs,8546 -numpy/_core/include/numpy/npy_2_complexcompat.h,sha256=eE9dV_Iq3jEfGGJFH_pQjJnvC6eQ12WgOB7cZMmHByE,857 -numpy/_core/include/numpy/npy_3kcompat.h,sha256=grN6W1n7benj3F2pSAOpl_s6vn1Y50QfAP-DaleD7cA,9648 -numpy/_core/include/numpy/npy_common.h,sha256=wbV1Z6m3w1h4qVcOxfF38s3H13UfFHEuBGRfDhTeUKE,36551 -numpy/_core/include/numpy/npy_cpu.h,sha256=AUJ5CqlguteR3-R0IjPt5rylWtvvccCWtt0GpjZbexU,4703 -numpy/_core/include/numpy/npy_endian.h,sha256=vvK7ZlOt0vgqTVrIyviWzoxQz70S-BvflS4Z_k6X5XE,2834 -numpy/_core/include/numpy/npy_math.h,sha256=YoJBuiXRXnq0_1tZ-EGvTcVP3DWUV_QZc3JRJs-Kx-k,18890 -numpy/_core/include/numpy/npy_no_deprecated_api.h,sha256=0yZrJcQEJ6MCHJInQk5TP9_qZ4t7EfBuoLOJ34IlJd4,678 -numpy/_core/include/numpy/npy_os.h,sha256=hlQsg_7-RkvS3s8OM8KXy99xxyJbCm-W1AYVcdnO1cw,1256 -numpy/_core/include/numpy/numpyconfig.h,sha256=OvRlre4eb9KBWt6gAE5cQ4K-P2uRmIKU1rAKxWFygmA,7161 -numpy/_core/include/numpy/random/LICENSE.txt,sha256=-8U59H0M-DvGE3gID7hz1cFGMBJsrL_nVANcOSbapew,1018 -numpy/_core/include/numpy/random/bitgen.h,sha256=49AwKOR552r-NkhuSOF1usb_URiMSRMvD22JF5pKIng,488 -numpy/_core/include/numpy/random/distributions.h,sha256=W5tOyETd0m1W0GdaZ5dJP8fKlBtsTpG23V2Zlmrlqpg,9861 -numpy/_core/include/numpy/random/libdivide.h,sha256=ew9MNhPQd1LsCZiWiFmj9IZ7yOnA3HKOXffDeR9X1jw,80138 -numpy/_core/include/numpy/ufuncobject.h,sha256=r2XM6XyILKXLqgmHFVu8jXqvOp_Zv8tLfS8Omn5jbng,11918 -numpy/_core/include/numpy/utils.h,sha256=wMNomSH3Dfj0q78PrjLVtFtN-FPo7UJ4o0ifCUO-6Es,1185 -numpy/_core/lib/libnpymath.a,sha256=Rg3gCXTxpny2Hh-jZFKh6KDYquzjcJklumEnLHhQXQ0,118712 -numpy/_core/lib/npy-pkg-config/mlib.ini,sha256=_LsWV1eStNqwhdiYPa2538GL46dnfVwT4MrI1zbsoFw,147 -numpy/_core/lib/npy-pkg-config/npymath.ini,sha256=0iMzarBfkkZ_EXO95_kz-SHZRcNIEwIeOjE_esVBkRQ,361 -numpy/_core/lib/pkgconfig/numpy.pc,sha256=Lx7WqwXSbSea1RsZDUQA4FoeuVXvHGdV7TRjwbA7H1Q,191 -numpy/_core/memmap.py,sha256=B3k5EZ8QwzjPwWwOtVRVyEofQJSG_pCBcWCFknO-GaU,12664 -numpy/_core/memmap.pyi,sha256=_LKjb_PuhcQwpqc2lFaL379DYzQ9PtuKdlVV3jXOYEM,47 -numpy/_core/multiarray.py,sha256=0P7ZBHKR0mI0tatyqDCHwnfewEEiQ48dwrzVL2PQAk0,58137 -numpy/_core/multiarray.pyi,sha256=dMXWUHz7ovKeFiihL2_h7w2e9Xrs8riKsuCfEtFE-Gk,33511 -numpy/_core/numeric.py,sha256=vsiEcMig4QHwMf9HP5maqOhFsblqGbh8AtE4cX08D7w,81726 -numpy/_core/numeric.pyi,sha256=FO-aoLhfd7KfEEh2Mw_usZiw-aqK5umBH_gh8UdzvLA,18723 -numpy/_core/numerictypes.py,sha256=W-Eu_Av5zNNBHDZHGLNlmNb2UuMByKRdwWPTsJxA5oQ,16125 -numpy/_core/numerictypes.pyi,sha256=SmDBQ6E3G-bcB021B4ZDvwfqGbwjjHZK9BYYam2tMHc,3535 -numpy/_core/overrides.py,sha256=czubu5JHSdid31If0WLqOYEM3WiAY03tLmyoa04sWjg,7211 -numpy/_core/printoptions.py,sha256=FUY--hG0-oobvtHOY64D50Bs_-JFmf-Nza7C9IXORFY,1063 -numpy/_core/records.py,sha256=0Uv2Z2xBvxYQUsAhp5zZ262YFHmSN6R_bazI_EyRE00,36862 -numpy/_core/records.pyi,sha256=JEVbtyJoTaVng-xW9rim8yT8qdqemdIdhpwm31KA6dE,9185 -numpy/_core/shape_base.py,sha256=CK3LrcfWKnChokUm1eHYsL43Q7D5qPq7QxDPuYYMnAU,32883 -numpy/_core/shape_base.pyi,sha256=iEE_Yw9TgvuC6CeVYxZfnY1wYiMK7drjdqEwujFqoh8,3149 -numpy/_core/strings.py,sha256=wCfZ3b3_WKY3LZ0cPn5IXrTN6wXtCSfa8Jrvpznz85c,45672 -numpy/_core/strings.pyi,sha256=tzwbFKDbkWSTvrY7dGZnO6MUYv8sAAgNYIXJdmkMv7o,12557 -numpy/_core/tests/__pycache__/_locales.cpython-312.pyc,, -numpy/_core/tests/__pycache__/_natype.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test__exceptions.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_abc.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_api.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_argparse.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_array_api_info.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_array_coercion.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_array_interface.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_arraymethod.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_arrayobject.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_arrayprint.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_casting_floatingpoint_errors.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_casting_unittests.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_conversion_utils.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_cpu_dispatcher.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_cpu_features.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_custom_dtypes.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_cython.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_datetime.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_defchararray.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_deprecations.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_dlpack.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_dtype.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_einsum.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_errstate.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_extint128.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_function_base.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_getlimits.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_half.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_hashtable.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_indexerrors.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_indexing.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_item_selection.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_limited_api.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_longdouble.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_machar.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_mem_overlap.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_mem_policy.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_memmap.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_multiarray.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_multithreading.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_nditer.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_nep50_promotions.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_numeric.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_numerictypes.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_overrides.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_print.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_protocols.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_records.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_regression.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_scalar_ctors.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_scalar_methods.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_scalarbuffer.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_scalarinherit.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_scalarmath.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_scalarprint.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_shape_base.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_simd.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_simd_module.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_stringdtype.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_strings.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_ufunc.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_umath.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_umath_accuracy.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_umath_complex.cpython-312.pyc,, -numpy/_core/tests/__pycache__/test_unicode.cpython-312.pyc,, -numpy/_core/tests/_locales.py,sha256=_J4MFSLUG1hiIfiifglI0nD--lS3CqwIjKKM3is0S6Q,2176 -numpy/_core/tests/_natype.py,sha256=9N-pE9LuQKrqT7ef-P9mtXpWls3YAsZ8JR-3cR7TRjs,6259 -numpy/_core/tests/data/astype_copy.pkl,sha256=lWSzCcvzRB_wpuRGj92spGIw-rNPFcd9hwJaRVvfWdk,716 -numpy/_core/tests/data/generate_umath_validation_data.cpp,sha256=BQakB5o8Mq60zex5ovVO0IatNa7xbF8JvXmtk6373So,5842 -numpy/_core/tests/data/recarray_from_file.fits,sha256=NA0kliz31FlLnYxv3ppzeruONqNYkuEvts5wzXEeIc4,8640 -numpy/_core/tests/data/umath-validation-set-README.txt,sha256=pxWwOaGGahaRd-AlAidDfocLyrAiDp0whf5hC7hYwqM,967 -numpy/_core/tests/data/umath-validation-set-arccos.csv,sha256=yBlz8r6RnnAYhdlobzGGo2FKY-DoSTQaP26y8138a3I,61365 -numpy/_core/tests/data/umath-validation-set-arccosh.csv,sha256=0GXe7XG1Z3jXAcK-OlEot_Df3MetDQSlbm3MJ__iMQk,61365 -numpy/_core/tests/data/umath-validation-set-arcsin.csv,sha256=w_Sv2NDn-mLZSAqb56JT2g4bqBzxYAihedWxHuf82uU,61339 -numpy/_core/tests/data/umath-validation-set-arcsinh.csv,sha256=DZrMYoZZZyM1DDyXNUxSlzx6bOgajnRSLWAzxcPck8k,60289 -numpy/_core/tests/data/umath-validation-set-arctan.csv,sha256=0aosXZ-9DYTop0lj4bfcBNwYVvjZdW13hbMRTRRTmV0,60305 -numpy/_core/tests/data/umath-validation-set-arctanh.csv,sha256=HEK9ePx1OkKrXIKkMUV0IxrmsDqIlgKddiI-LvF2J20,61339 -numpy/_core/tests/data/umath-validation-set-cbrt.csv,sha256=v855MTZih-fZp_GuEDst2qaIsxU4a7vlAbeIJy2xKpc,60846 -numpy/_core/tests/data/umath-validation-set-cos.csv,sha256=0PNnDqKkokZ7ERVDgbes8KNZc-ISJrZUlVZc5LkW18E,59122 -numpy/_core/tests/data/umath-validation-set-cosh.csv,sha256=JKC4nKr3wTzA_XNSiQvVUq9zkYy4djvtu2-j4ZZ_7Oc,60869 -numpy/_core/tests/data/umath-validation-set-exp.csv,sha256=rUAWIbvyeKh9rPfp2n0Zq7AKq_nvHpgbgzLjAllhsek,17491 -numpy/_core/tests/data/umath-validation-set-exp2.csv,sha256=djosT-3fTpiN_f_2WOumgMuuKgC_XhpVO-QsUFwI6uU,58624 -numpy/_core/tests/data/umath-validation-set-expm1.csv,sha256=K7jL6N4KQGX71fj5hvYkzcMXk7MmQes8FwrNfyrPpgU,60299 -numpy/_core/tests/data/umath-validation-set-log.csv,sha256=ynzbVbKxFzxWFwxHnxX7Fpm-va09oI3oK1_lTe19g4w,11692 -numpy/_core/tests/data/umath-validation-set-log10.csv,sha256=NOBD-rOWI_FPG4Vmbzu3JtX9UA838f2AaDFA-waiqGA,68922 -numpy/_core/tests/data/umath-validation-set-log1p.csv,sha256=tdbYWPqWIz8BEbIyklynh_tpQJzo970Edd4ek6DsPb8,60303 -numpy/_core/tests/data/umath-validation-set-log2.csv,sha256=39EUD0vFMbwyoXoOhgCmid6NeEAQU7Ff7QFjPsVObIE,68917 -numpy/_core/tests/data/umath-validation-set-sin.csv,sha256=8PUjnQ_YfmxFb42XJrvpvmkeSpEOlEXSmNvIK4VgfAM,58611 -numpy/_core/tests/data/umath-validation-set-sinh.csv,sha256=XOsBUuPcMjiO_pevMalpmd0iRv2gmnh9u7bV9ZLLg8I,60293 -numpy/_core/tests/data/umath-validation-set-tan.csv,sha256=Hv2WUMIscfvQJ5Y5BipuHk4oE4VY6QKbQp_kNRdCqYQ,60299 -numpy/_core/tests/data/umath-validation-set-tanh.csv,sha256=iolZF_MOyWRgYSa-SsD4df5mnyFK18zrICI740SWoTc,60299 -numpy/_core/tests/examples/cython/__pycache__/setup.cpython-312.pyc,, -numpy/_core/tests/examples/cython/checks.pyx,sha256=aGJS1WAuTIGtQpQxRK9SpXqlM0XFKn97giS3Pi2rt4Y,7344 -numpy/_core/tests/examples/cython/meson.build,sha256=uuXVPKemNVMQ5MiEDqS4BXhwGHa96JHjS50WxZuJS_8,1268 -numpy/_core/tests/examples/cython/setup.py,sha256=6k4eEMjzjXPhGAW440qpMp2S2l5Ltv-e9e-FnVnzl3w,857 -numpy/_core/tests/examples/limited_api/__pycache__/setup.cpython-312.pyc,, -numpy/_core/tests/examples/limited_api/limited_api1.c,sha256=htSR9ER3S8AJqv4EZMsrxQ-SufTIlXNpuFI6MXQs87w,346 -numpy/_core/tests/examples/limited_api/limited_api2.pyx,sha256=1q4I59pdkCmMhLcYngN_XwQnPoLmDEo1uTGnhrLRjDc,203 -numpy/_core/tests/examples/limited_api/limited_api_latest.c,sha256=ltBLbrl1g9XxD2wvN_-g3NhIizc8mxnh2Z6wCyXo-8E,452 -numpy/_core/tests/examples/limited_api/meson.build,sha256=YM5RwW_waFymlWSHFhCCOHO6KCknooN0jCiqScL0i5M,1627 -numpy/_core/tests/examples/limited_api/setup.py,sha256=p2w7F1ardi_GRXSrnNIR8W1oeH_pgmw_1P2wS0A2I6M,435 -numpy/_core/tests/test__exceptions.py,sha256=PA9MhiaEITLOaIe86lnOwqAa3RFrA5Ra4IrqKXF-nMU,2881 -numpy/_core/tests/test_abc.py,sha256=mIZtCZ8PEIOd6pxLqdUws3wMfXUjsVO3vOE9vK5YPd8,2221 -numpy/_core/tests/test_api.py,sha256=aCh293oLPnbK7gi0PW_ilL9Gcr6-3UpO0MMzS39D8Sc,22930 -numpy/_core/tests/test_argparse.py,sha256=DRLQD5TxhudrQZ79hm5ds3eKsXh_Ub7QsvEYzsdDSX0,2824 -numpy/_core/tests/test_array_api_info.py,sha256=4CpUWnch1EtLojYabVAF7n_-Fks3QTODHERL2FzR1Ps,3062 -numpy/_core/tests/test_array_coercion.py,sha256=a8Vi5AqeKGlLorUR1QOCAmpVlGSwv7G_a_dZT7qNqY8,34853 -numpy/_core/tests/test_array_interface.py,sha256=9ND3Y00rgdBSgst5555zrzkvdWzZ4vZgWJOw3djXZAk,7767 -numpy/_core/tests/test_arraymethod.py,sha256=SL2PN10yYMp6C8CnKEykjit8QBtVBIGwbTPDdSDpCLY,3253 -numpy/_core/tests/test_arrayobject.py,sha256=aVv2eGjunCMEDFgmFujxMpk4xb-zo1MQrFcwQLfblx0,2596 -numpy/_core/tests/test_arrayprint.py,sha256=NKFx165-YwIw-sf7et1_M1cQ2V4t6nh8JN5N4GiohYw,49068 -numpy/_core/tests/test_casting_floatingpoint_errors.py,sha256=nnBEgeRIENrOOZvTzRK7SRYYW9dD6E6npDmIuN0ggCc,5074 -numpy/_core/tests/test_casting_unittests.py,sha256=iXHJR9sjpKk37toV9TMDYJAErVgqOxxEM-SEGOvdyF8,34308 -numpy/_core/tests/test_conversion_utils.py,sha256=fpduQ79yLpvZ8fdLs4H0CCsBEh3TlZs3SMr-lUQ6pTg,6605 -numpy/_core/tests/test_cpu_dispatcher.py,sha256=nqlgFk-Ocfgc18g-b4fprYssfcpReiyvgbWPzsNEoFI,1552 -numpy/_core/tests/test_cpu_features.py,sha256=XuHz0c9oselWeWoTkS2lC4Rb57xB44sHtw-9eCw8aos,15316 -numpy/_core/tests/test_custom_dtypes.py,sha256=_T9kvGbPJzjLnAtGqoRIeXQNjEuBgJ2DvLN6lrb-fJA,11623 -numpy/_core/tests/test_cython.py,sha256=QGoRZdI5eMNf3m-d-QZcvzRX1EvFfYsXJICUyOks-IY,8462 -numpy/_core/tests/test_datetime.py,sha256=KD9WAcYjDoa_dujH3lUQukb3IMyyPy2Gkf2oHm6sdOg,121671 -numpy/_core/tests/test_defchararray.py,sha256=tLrnS4oEVDwjbx74fHyi9r43yAE0J7mJZVfdeHvlSJg,30601 -numpy/_core/tests/test_deprecations.py,sha256=q6yJhSODzcbx6LmQzHJqtFKsW4_xfuuy0BC-RK4t6mI,28510 -numpy/_core/tests/test_dlpack.py,sha256=KMUlft-fmLF8tIHupr5W6griJ7GD5r-McqZEMWg5-Fw,5475 -numpy/_core/tests/test_dtype.py,sha256=lEpYwt2LZ0MWH3jGliiwLkeoqSi0iNI-KSEoAIwH9cg,77402 -numpy/_core/tests/test_einsum.py,sha256=zcFC5OFRGZA9r53gXKmFZUQV0o_T1BkdTXLZ8vG0YLA,52890 -numpy/_core/tests/test_errstate.py,sha256=5YUzK95WyepGyaJ4nkkXLUiHziNBoU0SFBHjMn5U7G0,4634 -numpy/_core/tests/test_extint128.py,sha256=tVrw3jMHQkA0ebk7Pnq33I5Yu9V24KNHotYIG3V8ds0,5644 -numpy/_core/tests/test_function_base.py,sha256=F_J5-7j9dvskIE7z1BMHcTiUdWasPMuKXRREF2qY_98,17095 -numpy/_core/tests/test_getlimits.py,sha256=xMcjRyx_hAwR-Q3qTcZSFhneZtIXp6u7KOsihUu7-Yg,6977 -numpy/_core/tests/test_half.py,sha256=EFzZNaNNY_H1hd3dSPBZ2wZt3E67D6KpDE3YaOMx_XY,24313 -numpy/_core/tests/test_hashtable.py,sha256=Ws1EeQWCf7vz8G_VsFTIZUVI-hgKXUEAbtQpvoBjBHo,1147 -numpy/_core/tests/test_indexerrors.py,sha256=wvatr7JlqAAYv-hHAAT-9DwUCnRcKiJ9qLcl6aKe9RU,4734 -numpy/_core/tests/test_indexing.py,sha256=xjJGHu7eZT_KX_LAL-8UBTFTxqFwZoJUZetQVrbjJ7g,55297 -numpy/_core/tests/test_item_selection.py,sha256=kI30kiX8mIrZYPn0jw3lGGw1ruZF4PpE9zw-aai9EPA,6458 -numpy/_core/tests/test_limited_api.py,sha256=ndfWEX3X4s6EqWSTDJzdOe0DDQGH7SqnTnYjce0cYh4,3304 -numpy/_core/tests/test_longdouble.py,sha256=H7VeOyaLfSMHClUDSKloOuHiDbZxeoypJnc5AtsM4xw,13890 -numpy/_core/tests/test_machar.py,sha256=eDTrzJgwfaus0Ts86-HR9YkAPOwOSOPImPTHugn1EOc,1069 -numpy/_core/tests/test_mem_overlap.py,sha256=jM7NXE3N_bOjgP9vMqyzzcIXJwbIREXiRK41iciggAA,29138 -numpy/_core/tests/test_mem_policy.py,sha256=JFou_8xT0-cwccZEQfaingaktY-RH3hrUJZa2_b7t2o,16660 -numpy/_core/tests/test_memmap.py,sha256=LQ4NBQe8s_5DMN5yCeY9dpqTeDBOge6TKN6xxMwCbRI,8142 -numpy/_core/tests/test_multiarray.py,sha256=ObXWPfZV45oUuTYXmnXqKBFe_Mff0PgH8jDFoCOmuvM,391032 -numpy/_core/tests/test_multithreading.py,sha256=oXqLo4FRQEw13VWN6rjMT8t4r-URNOr2Hoi_Asp0tIw,3552 -numpy/_core/tests/test_nditer.py,sha256=o-YxH56efHb_yN5-kbJ3mDVpp4Vasa_DPE5lhEzcAc0,131186 -numpy/_core/tests/test_nep50_promotions.py,sha256=DugnRfYVWCLetxGRZ_VsLBXzSsvBk9cjmWZ-r2y0KE8,9486 -numpy/_core/tests/test_numeric.py,sha256=_f1nQWujm2PQZF4Y9Gjxt4W7R0MbVNGJh9OEdjkKFCE,158490 -numpy/_core/tests/test_numerictypes.py,sha256=aADiXLPAkgAFF80_tRczhuH6lVyMLcA3k_AbGcDemp4,23292 -numpy/_core/tests/test_overrides.py,sha256=evrJX5mAWquq0lD6qM2Hn4_1_mkSk8cpNzUj6_QcZFE,27936 -numpy/_core/tests/test_print.py,sha256=mzUSbQ2kSa1aDl7NRUexj5UG4IM4zaZ-5EIoEoXhA_Q,6836 -numpy/_core/tests/test_protocols.py,sha256=6pxSZKmde5KHoN3iEMKReAFHrMldAm3ZZQwVh_kQ9Uw,1189 -numpy/_core/tests/test_records.py,sha256=eyDJb-oglohhgW4b4sZwe-_1PABhkM9_7a9qU3n7oAU,20534 -numpy/_core/tests/test_regression.py,sha256=O2YVys6cEEnEv0o6jVqDjQNk2_ht8ceIAQOp889rjRc,95161 -numpy/_core/tests/test_scalar_ctors.py,sha256=3mhZlumKJs5WazhPgATWf5Y4E4POQy-bcUBSEt5pasc,6719 -numpy/_core/tests/test_scalar_methods.py,sha256=u0Bn-6-mSpOc_mP0C7BHpg3RbGWnsb_zZR1Ooubno2Y,9142 -numpy/_core/tests/test_scalarbuffer.py,sha256=EdiF5tVrZXDchoK0P5sbQgluyyYQCIrLCaxvafaCKNk,5582 -numpy/_core/tests/test_scalarinherit.py,sha256=XbCvtSSEU_c3cHi9Nxg7nt7itZdnREEh0sdqDUU4-ek,2588 -numpy/_core/tests/test_scalarmath.py,sha256=AKHil07nk1xDgcEUUvA3wRDR-xZjWwE2k1zvv6knOYI,46631 -numpy/_core/tests/test_scalarprint.py,sha256=9ITKVAklqVuphseF1lfMFrv1pBHKNJvTJFZQw8NDhfY,18788 -numpy/_core/tests/test_shape_base.py,sha256=u9ozYhzM-V0GINYi04jYeNsjiD7XtssrD29zhFVaOA0,30982 -numpy/_core/tests/test_simd.py,sha256=DJ-N-Q7E29VBY4VYmQWTR4XzRcxQKptCke5CwxCl_aw,48650 -numpy/_core/tests/test_simd_module.py,sha256=g0XWjB1TE4E0y4McOjkZKhR7OB-K01eqy4pJcGfU2zg,3903 -numpy/_core/tests/test_stringdtype.py,sha256=ZSQhuugRbyLqyIkakJurUCMOSYdsaTRAwFttsjv12-Q,56407 -numpy/_core/tests/test_strings.py,sha256=NaXmXsKT7b9OR4C-s84gDUWnG8KTVtUgnVsz-3gXMeo,51669 -numpy/_core/tests/test_ufunc.py,sha256=qiV2wkNG0-Z2_u_aveRLKI9qEOqaLxyWvch6Btz-Urc,132405 -numpy/_core/tests/test_umath.py,sha256=qeEIqnjBl7_mHhBZh6-S_7oBz94nabMyS-xqdQOXl9o,193188 -numpy/_core/tests/test_umath_accuracy.py,sha256=TRSzuQJ2kN2D3BUQ3IX1WhhT6ttIKvnnaMaaqU-A7ug,5472 -numpy/_core/tests/test_umath_complex.py,sha256=pWRHpzBodvDGoKG1gkRAKJ1uPxQ_fV_VqIm77SD0BlA,23290 -numpy/_core/tests/test_unicode.py,sha256=LotRRPbJke99uyy3uY3rAteaJMMiYpSzcOmargPNKIc,12854 -numpy/_core/umath.py,sha256=OsbavmLRxKNNbV8SnPEc3mVNk9EIVjMhZeRs9nCUsTU,2093 -numpy/_distributor_init.py,sha256=IKy2THwmu5UgBjtVbwbD9H-Ap8uaUJoPJ2btQ4Jatdo,407 -numpy/_expired_attrs_2_0.py,sha256=ZTV3IpeE4UcJSn2RTZLxKAixEl557MkKK4R7xubw1Rw,3903 -numpy/_globals.py,sha256=XVuUPpFLueqKUTNwqiOjWWahnM-vGxGy4tYA3ph-EAE,3090 -numpy/_pyinstaller/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/_pyinstaller/__pycache__/__init__.cpython-312.pyc,, -numpy/_pyinstaller/__pycache__/hook-numpy.cpython-312.pyc,, -numpy/_pyinstaller/hook-numpy.py,sha256=Ood-XcWlQQkk90SY0yDg7RKsUFVGwas9TqI-Gbc58_s,1393 -numpy/_pyinstaller/tests/__init__.py,sha256=IJtzzjPSw419P-c2T4OT48p-Zu4JohoF9svWqhDshgk,329 -numpy/_pyinstaller/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/_pyinstaller/tests/__pycache__/pyinstaller-smoke.cpython-312.pyc,, -numpy/_pyinstaller/tests/__pycache__/test_pyinstaller.cpython-312.pyc,, -numpy/_pyinstaller/tests/pyinstaller-smoke.py,sha256=6iL-eHMQaG3rxnS5EgcvrCqElm9aKL07Cjr1FZJSXls,1143 -numpy/_pyinstaller/tests/test_pyinstaller.py,sha256=8K-7QxmfoXCG0NwR0bhIgCNrDjGlrTzWnrR1sR8btgU,1135 -numpy/_pytesttester.py,sha256=itUxMEXdYQT_mCYqde-7CqjxOA59wiLFyJeIyoVtGgI,6325 -numpy/_pytesttester.pyi,sha256=fRkDNxl5obspW99ujQV3NDXrROXxDiLVFyj8Aew_zyk,497 -numpy/_typing/__init__.py,sha256=vbrw8X0PrWCnzbM4KlFOAvPFXyajhk8PsEr5IrzQVNU,4941 -numpy/_typing/__pycache__/__init__.cpython-312.pyc,, -numpy/_typing/__pycache__/_add_docstring.cpython-312.pyc,, -numpy/_typing/__pycache__/_array_like.cpython-312.pyc,, -numpy/_typing/__pycache__/_char_codes.cpython-312.pyc,, -numpy/_typing/__pycache__/_dtype_like.cpython-312.pyc,, -numpy/_typing/__pycache__/_extended_precision.cpython-312.pyc,, -numpy/_typing/__pycache__/_nbit.cpython-312.pyc,, -numpy/_typing/__pycache__/_nbit_base.cpython-312.pyc,, -numpy/_typing/__pycache__/_nested_sequence.cpython-312.pyc,, -numpy/_typing/__pycache__/_scalars.cpython-312.pyc,, -numpy/_typing/__pycache__/_shape.cpython-312.pyc,, -numpy/_typing/__pycache__/_ufunc.cpython-312.pyc,, -numpy/_typing/_add_docstring.py,sha256=GHU_gjWt_A6x7RIcztvfayVCs78Kgi8IeNKJZyfWkWg,3995 -numpy/_typing/_array_like.py,sha256=09YZxcWY-A_-ztUni7dxT0utbTGrMe0hrsloI1LnuBk,5155 -numpy/_typing/_callable.pyi,sha256=Ceov9fB2HQmoJmwL1IWLi7Q_DpB3GPf8v7xRFrppI-8,12174 -numpy/_typing/_char_codes.py,sha256=cnvlwVmTF_OyX1rFiIm0ZJFW1Wqbu3OGmzmNgCc41Z4,8724 -numpy/_typing/_dtype_like.py,sha256=3q7Me_RXr75ba4p1vPy-nw5NRLWsnCnHsfzVGnZMNig,5964 -numpy/_typing/_extended_precision.py,sha256=dGios-1k-QBGew7YFzONZTzVWxz-aYAaqlccl2_h5Bo,777 -numpy/_typing/_nbit.py,sha256=LiAPuMPddJ9CjSStw8zvXQ1m_FbNIzl_iMygO851M0g,632 -numpy/_typing/_nbit_base.py,sha256=HHn2zYWN-3wLsyigd97cs9uyI3NvRYUcQ69OLOdC-ks,2880 -numpy/_typing/_nested_sequence.py,sha256=7idN0EyEI6Nt0VH9xnWVj4syqeu_LK8IESZwczVcK1g,2608 -numpy/_typing/_scalars.py,sha256=9v-1xahC9TZg28FTfBG15vWCcnDB1bfWz7ejT0eDrVw,1031 -numpy/_typing/_shape.py,sha256=fY1qi6UDFjPW1b4GaxhcJ9tRAQu6SXLZINd_Vy60XSY,231 -numpy/_typing/_ufunc.py,sha256=U6OCdDLHzXSt1fbSldHFP0viWHh4u3Y1CDBvzBUY8-M,153 -numpy/_typing/_ufunc.pyi,sha256=NmXSgb1GtyqkpfFzCLMjzW0Z6LG9Ucc12-_vHYf-wOA,24898 -numpy/_utils/__init__.py,sha256=Lsv7p1NzTQNaMG8vkYxvHPYDoMUolFzG1KdhGFZMedE,3224 -numpy/_utils/__pycache__/__init__.cpython-312.pyc,, -numpy/_utils/__pycache__/_convertions.cpython-312.pyc,, -numpy/_utils/__pycache__/_inspect.cpython-312.pyc,, -numpy/_utils/__pycache__/_pep440.cpython-312.pyc,, -numpy/_utils/_convertions.py,sha256=0xMxdeLOziDmHsRM_8luEh4S-kQdMoMg6GxNDDas69k,329 -numpy/_utils/_inspect.py,sha256=LcbHUJ2KPDpPeNixyIeKOUWvORaLG5J-H0uI3iHIsOA,7435 -numpy/_utils/_pep440.py,sha256=Vr7B3QsijR5p6h8YAz2LjNGUyzHUJ5gZ4v26NpZAKDc,14069 -numpy/char/__init__.py,sha256=WGpEng-lsHKxUlmuANY8hKCl3ZC622HYSAFnpf7sgUE,93 -numpy/char/__init__.pyi,sha256=s5kfrSM9fwhtbUmzC-KlCoA4AyKpR0GzeS45ZoyQkbA,1539 -numpy/char/__pycache__/__init__.cpython-312.pyc,, -numpy/compat/__init__.py,sha256=b3rw1J_V3MwU-LZf8uISRKvfXzFaBjFHACbgyLo785Y,727 -numpy/compat/__pycache__/__init__.cpython-312.pyc,, -numpy/compat/__pycache__/py3k.cpython-312.pyc,, -numpy/compat/py3k.py,sha256=2jk3PPVI2LB1v4mndi0Ydb-ymcgXzJ5G2hIdvoWavAI,3803 -numpy/compat/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/compat/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/conftest.py,sha256=q5tfWwH01PlmTJGs7gKGbL4o6CbwN9P1z8Rt3JNyPLo,7987 -numpy/core/__init__.py,sha256=FWRkekGqZ1NF4YYNfm46mOAO9u3v4ZYts_lc8ygQfqY,1275 -numpy/core/__init__.pyi,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/core/__pycache__/__init__.cpython-312.pyc,, -numpy/core/__pycache__/_dtype.cpython-312.pyc,, -numpy/core/__pycache__/_dtype_ctypes.cpython-312.pyc,, -numpy/core/__pycache__/_internal.cpython-312.pyc,, -numpy/core/__pycache__/_multiarray_umath.cpython-312.pyc,, -numpy/core/__pycache__/_utils.cpython-312.pyc,, -numpy/core/__pycache__/arrayprint.cpython-312.pyc,, -numpy/core/__pycache__/defchararray.cpython-312.pyc,, -numpy/core/__pycache__/einsumfunc.cpython-312.pyc,, -numpy/core/__pycache__/fromnumeric.cpython-312.pyc,, -numpy/core/__pycache__/function_base.cpython-312.pyc,, -numpy/core/__pycache__/getlimits.cpython-312.pyc,, -numpy/core/__pycache__/multiarray.cpython-312.pyc,, -numpy/core/__pycache__/numeric.cpython-312.pyc,, -numpy/core/__pycache__/numerictypes.cpython-312.pyc,, -numpy/core/__pycache__/overrides.cpython-312.pyc,, -numpy/core/__pycache__/records.cpython-312.pyc,, -numpy/core/__pycache__/shape_base.cpython-312.pyc,, -numpy/core/__pycache__/umath.cpython-312.pyc,, -numpy/core/_dtype.py,sha256=3SnNsjxlKobD8Dn8B9egjIQuQLdbWz9OtVAZ4_wlDw8,322 -numpy/core/_dtype_ctypes.py,sha256=lLzxauA8PVnopTuGh9USt1nVw2qCI8Z7bL66er3JoHU,350 -numpy/core/_internal.py,sha256=f3eVtRx2tKrJxxavZNe_f1Ln-_1shhSlfeRZEDTlxhU,947 -numpy/core/_multiarray_umath.py,sha256=Yb0HORec_wcEV3RNNU4RZnlATYTUQtjAHMYmL4pvNLs,2096 -numpy/core/_utils.py,sha256=5fk18JN43Rg6YHvan6QjdrOeOuLtRlLVmP6MadBEJVA,923 -numpy/core/arrayprint.py,sha256=a1DkStlBSsVViSJw523Mm-lboVaAtCloBNCrigyOpbI,338 -numpy/core/defchararray.py,sha256=G9S6jkdXegRkXl58hSpPnmndjdym4801Yzq2lzzmApM,346 -numpy/core/einsumfunc.py,sha256=px-rSPkwAMbRNmp5uILgVC2QSr73InKFfvW7LSfNGGw,338 -numpy/core/fromnumeric.py,sha256=aNquLnfZX1XZRAz5MJza5ZT7IlgJo0TMHlR62YT2biM,342 -numpy/core/function_base.py,sha256=Sa9Ec2Y21kPmjn4Xsh7Y1V1c7bUdxYjzixIwHZJ4sCo,350 -numpy/core/getlimits.py,sha256=aYJVaVqiSGKuPfSIa7r0MMZMQkJP2NRNJ7Zd2dszygU,334 -numpy/core/multiarray.py,sha256=SwVF8KNm29qyaq7vx8rrljNNxfn0e6G5y1H830n1Rac,792 -numpy/core/numeric.py,sha256=LSuzJ9OsQ0IEpW2rKlAwuvNypZeDZ0AJDoJOt93XB-k,359 -numpy/core/numerictypes.py,sha256=RvhfWFh9KR0SPDNcrAYnW-PO9TKAND75ONXhL5Djs8Q,346 -numpy/core/overrides.py,sha256=sWaAgbH_piO0mWDeVqqoqkFqqpPHM87FqOZFJ3AO8lU,334 -numpy/core/records.py,sha256=j9BftQLLljVdcENT41eGflG7DA7miXQ7q3Yf53-zYcY,326 -numpy/core/shape_base.py,sha256=MhuxPRwwg5hIdHcJ-LABdQ0oYEYGVxeD-aomaFs9-f4,338 -numpy/core/umath.py,sha256=f6KbsWYh5oTj3_FWHip_dr51BdczTAtMqgpn9_eHcz4,318 -numpy/ctypeslib.py,sha256=AhgVVThYHjfMEccnSDfH2B3puHU6ZjPwxPcIuFSnzRA,18836 -numpy/ctypeslib.pyi,sha256=I21gEirYRu9BQTndIJ_hwOfHbKxs13GL6A6ndpvWT8Y,8088 -numpy/doc/__pycache__/ufuncs.cpython-312.pyc,, -numpy/doc/ufuncs.py,sha256=9xt8H34GhrXrFq9cWFUGvJFePa9YuH9Tq1DzAnm2E2E,5414 -numpy/dtypes.py,sha256=zuPwgC0ijF2oDRAOJ6I9JKhaJuhXFAygByLQaoVtT54,1312 -numpy/dtypes.pyi,sha256=pptVgrOYte7FlH8RfcXrMzpqurH1PFt29heQoovifyU,14798 -numpy/exceptions.py,sha256=2EH3OwDVoJtAsRODuGlnLWA1hrjDniolCVkR87-eHIo,7838 -numpy/exceptions.pyi,sha256=rVue0Qxt3GG40b5xKlj0r_JFjbX6s-bPP7YlqdQlvv0,751 -numpy/f2py/__init__.py,sha256=hz6c1M2csKnlKPWbKIDcpSo0cbT5V0UPhQYkELi8zEw,2503 -numpy/f2py/__init__.pyi,sha256=uxcZnHA75gxBi50Z3OTWYSYZaeIuWFQv2Dl0F8_WX-g,1061 -numpy/f2py/__main__.py,sha256=6i2jVH2fPriV1aocTY_dUFvWK18qa-zjpnISA-OpF3w,130 -numpy/f2py/__pycache__/__init__.cpython-312.pyc,, -numpy/f2py/__pycache__/__main__.cpython-312.pyc,, -numpy/f2py/__pycache__/__version__.cpython-312.pyc,, -numpy/f2py/__pycache__/_isocbind.cpython-312.pyc,, -numpy/f2py/__pycache__/_src_pyf.cpython-312.pyc,, -numpy/f2py/__pycache__/auxfuncs.cpython-312.pyc,, -numpy/f2py/__pycache__/capi_maps.cpython-312.pyc,, -numpy/f2py/__pycache__/cb_rules.cpython-312.pyc,, -numpy/f2py/__pycache__/cfuncs.cpython-312.pyc,, -numpy/f2py/__pycache__/common_rules.cpython-312.pyc,, -numpy/f2py/__pycache__/crackfortran.cpython-312.pyc,, -numpy/f2py/__pycache__/diagnose.cpython-312.pyc,, -numpy/f2py/__pycache__/f2py2e.cpython-312.pyc,, -numpy/f2py/__pycache__/f90mod_rules.cpython-312.pyc,, -numpy/f2py/__pycache__/func2subr.cpython-312.pyc,, -numpy/f2py/__pycache__/rules.cpython-312.pyc,, -numpy/f2py/__pycache__/symbolic.cpython-312.pyc,, -numpy/f2py/__pycache__/use_rules.cpython-312.pyc,, -numpy/f2py/__version__.py,sha256=7HHdjR82FCBmftwMRyrlhcEj-8mGQb6oCH-wlUPH4Nw,34 -numpy/f2py/_backends/__init__.py,sha256=7_bA7c_xDpLc4_8vPfH32-Lxn9fcUTgjQ25srdvwvAM,299 -numpy/f2py/_backends/__pycache__/__init__.cpython-312.pyc,, -numpy/f2py/_backends/__pycache__/_backend.cpython-312.pyc,, -numpy/f2py/_backends/__pycache__/_distutils.cpython-312.pyc,, -numpy/f2py/_backends/__pycache__/_meson.cpython-312.pyc,, -numpy/f2py/_backends/_backend.py,sha256=GKb9-UaFszT045vUgVukPs1n97iyyjqahrWKxLOKNYo,1187 -numpy/f2py/_backends/_distutils.py,sha256=whJ4xqPet1PffVOcR6W_2NF8yR4LLDh3pZLrKkl0Rh4,2384 -numpy/f2py/_backends/_meson.py,sha256=xRGHWhdQJIs1-c3fHeeGHL50XyjU6NjX4-Wp3gjldMY,8089 -numpy/f2py/_backends/meson.build.template,sha256=hQeTapAY0xtni5Li-QaEtWx9DH9WDKah2lcEuSZfLLo,1599 -numpy/f2py/_isocbind.py,sha256=zaBgpfPNRmxVG3doUIlbZIiyB990MsXiwDabrSj9HnQ,2360 -numpy/f2py/_src_pyf.py,sha256=4Qx_-SQSsDh-ggNw3dmHTLASgu1dUY670_Z06WY8clM,7664 -numpy/f2py/auxfuncs.py,sha256=Vp-BnBnqDDBp5pS4Nz8eIpramZQJmkmCYWH8UyVkimo,26817 -numpy/f2py/capi_maps.py,sha256=MTHjWUSTBngVZtyULdBe1QxAGq9IrxNV8OthujKKr0w,30607 -numpy/f2py/cb_rules.py,sha256=fSxXAxjNaPXt54E957v1-Q3oCM06vbST5gFu1D98ic4,25004 -numpy/f2py/cfuncs.py,sha256=Jz-em0GDHjexh8FiVEYccAMV4xB5Bp9kQVUMM1uBNcY,52484 -numpy/f2py/common_rules.py,sha256=gHB76WypbkVmhaD_RWhy8Od4zDTgj8cbDOdUdIp6PIQ,5131 -numpy/f2py/crackfortran.py,sha256=KRdPWUZiDV20eek0dkabHmj9bidyYlo7xdfbn77XanM,148649 -numpy/f2py/diagnose.py,sha256=7-Turk573zFa1PIZiFPbC4Pukm1X0nF8PyGxnlc08Fc,5197 -numpy/f2py/f2py2e.py,sha256=inb09kMkkYig8a6Rizj6xvHuWXfrqZzXh1oZgz0dZvM,28838 -numpy/f2py/f90mod_rules.py,sha256=XGtag5pv2Np-hdtjwmSxofKbLO2U_N49sEK_X4Lp3SA,9874 -numpy/f2py/func2subr.py,sha256=6d2R5awuHRT4xzgfUfwS7JHTqhhAieSXcENlssD_2c4,10298 -numpy/f2py/rules.py,sha256=ulfnDOUmGDuxGKF__c2-9wFl9G6gN0NY2z0ahAdppa8,62864 -numpy/f2py/setup.cfg,sha256=Fpn4sjqTl5OT5sp8haqKIRnUcTPZNM6MIvUJBU7BIhg,48 -numpy/f2py/src/fortranobject.c,sha256=CYrF44_CoUbZy3QHhe5sAPVtqsaCT4x9oCtUeD7IVyc,46049 -numpy/f2py/src/fortranobject.h,sha256=7cfRN_tToAQ1Na13VQ2Kzb2ujMHUAgGsbScnfLVOHqs,5823 -numpy/f2py/symbolic.py,sha256=PvP0bK0FLEDQj14u340HJu7ghzS_2WlxhGQpJ0zbMQE,53254 -numpy/f2py/tests/__init__.py,sha256=46XgeBE0seimp3wD4Ox0KutYeLwdsdRSiGECcG1iYu8,328 -numpy/f2py/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_abstract_interface.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_array_from_pyobj.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_assumed_shape.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_block_docstring.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_callback.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_character.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_common.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_crackfortran.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_data.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_docs.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_f2cmap.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_f2py2e.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_isoc.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_kind.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_mixed.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_modules.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_parameter.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_pyf_src.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_quoted_character.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_regression.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_return_character.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_return_complex.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_return_integer.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_return_logical.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_return_real.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_routines.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_semicolon_split.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_size.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_string.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_symbolic.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/test_value_attrspec.cpython-312.pyc,, -numpy/f2py/tests/__pycache__/util.cpython-312.pyc,, -numpy/f2py/tests/src/abstract_interface/foo.f90,sha256=JFU2w98cB_XNwfrqNtI0yDTmpEdxYO_UEl2pgI_rnt8,658 -numpy/f2py/tests/src/abstract_interface/gh18403_mod.f90,sha256=gvQJIzNtvacWE0dhysxn30-iUeI65Hpq7DiE9oRauz8,105 -numpy/f2py/tests/src/array_from_pyobj/wrapmodule.c,sha256=s6XLwujiCr6Xi8yBkvLPBXRmo2WsGVohU7K9ALnKUng,7478 -numpy/f2py/tests/src/assumed_shape/.f2py_f2cmap,sha256=But9r9m4iL7EGq_haMW8IiQ4VivH0TgUozxX4pPvdpE,29 -numpy/f2py/tests/src/assumed_shape/foo_free.f90,sha256=oBwbGSlbr9MkFyhVO2aldjc01dr9GHrMrSiRQek8U64,460 -numpy/f2py/tests/src/assumed_shape/foo_mod.f90,sha256=rfzw3QdI-eaDSl-hslCgGpd5tHftJOVhXvb21Y9Gf6M,499 -numpy/f2py/tests/src/assumed_shape/foo_use.f90,sha256=rmT9k4jP9Ru1PLcGqepw9Jc6P9XNXM0axY7o4hi9lUw,269 -numpy/f2py/tests/src/assumed_shape/precision.f90,sha256=r08JeTVmTTExA-hYZ6HzaxVwBn1GMbPAuuwBhBDtJUk,130 -numpy/f2py/tests/src/block_docstring/foo.f,sha256=y7lPCPu7_Fhs_Tf2hfdpDQo1bhtvNSKRaZAOpM_l3dg,97 -numpy/f2py/tests/src/callback/foo.f,sha256=C1hjfpRCQWiOVVzIHqnsYcnLrqQcixrnHCn8hd9GhVk,1254 -numpy/f2py/tests/src/callback/gh17797.f90,sha256=_Nrl0a2HgUbtymGU0twaJ--7rMa1Uco2A3swbWvHoMo,148 -numpy/f2py/tests/src/callback/gh18335.f90,sha256=NraOyKIXyvv_Y-3xGnmTjtNjW2Znsnlk8AViI8zfovc,506 -numpy/f2py/tests/src/callback/gh25211.f,sha256=a2sxlQhtDVbYn8KOKHUYqwc-aCFt7sDPSnJsXFG35uI,179 -numpy/f2py/tests/src/callback/gh25211.pyf,sha256=FWxo0JWQlw519BpZV8PoYeI_FZ_K6C-3Wk6gLrfBPlw,447 -numpy/f2py/tests/src/callback/gh26681.f90,sha256=-cD69x7omk5wvVsfMHlXiZ-pTcaxs2Bl5G9GHA4UJ2M,566 -numpy/f2py/tests/src/cli/gh_22819.pyf,sha256=5rvOfCv-wSosB354LC9pExJmMoSHnbGZGl_rtA2fogA,142 -numpy/f2py/tests/src/cli/hi77.f,sha256=ttyI6vAP3qLnDqy82V04XmoqrXNM6uhMvvLri2p0dq0,71 -numpy/f2py/tests/src/cli/hiworld.f90,sha256=QWOLPrTxYQu1yrEtyQMbM0fE9M2RmXe7c185KnD5x3o,51 -numpy/f2py/tests/src/common/block.f,sha256=GQ0Pd-VMX3H3a-__f2SuosSdwNXHpBqoGnQDjf8aG9g,224 -numpy/f2py/tests/src/common/gh19161.f90,sha256=BUejyhqpNVfHZHQ-QC7o7ZSo7lQ6YHyX08lSmQqs6YM,193 -numpy/f2py/tests/src/crackfortran/accesstype.f90,sha256=-5Din7YlY1TU7tUHD2p-_DSTxGBpDsWYNeT9WOwGhno,208 -numpy/f2py/tests/src/crackfortran/data_common.f,sha256=ZSUAh3uhn9CCF-cYqK5TNmosBGPfsuHBIEfudgysun4,193 -numpy/f2py/tests/src/crackfortran/data_multiplier.f,sha256=jYrJKZWF_59JF9EMOSALUjn0UupWvp1teuGpcL5s1Sc,197 -numpy/f2py/tests/src/crackfortran/data_stmts.f90,sha256=19YO7OGj0IksyBlmMLZGRBQLjoE3erfkR4tFvhznvvE,693 -numpy/f2py/tests/src/crackfortran/data_with_comments.f,sha256=hoyXw330VHh8duMVmAQZjr1lgLVF4zFCIuEaUIrupv0,175 -numpy/f2py/tests/src/crackfortran/foo_deps.f90,sha256=CaH7mnWTG7FcnJe2vXN_0zDbMadw6NCqK-JJ2HmDjK8,128 -numpy/f2py/tests/src/crackfortran/gh15035.f,sha256=jJly1AzF5L9VxbVQ0vr-sf4LaUo4eQzJguhuemFxnvg,375 -numpy/f2py/tests/src/crackfortran/gh17859.f,sha256=7K5dtOXGuBDAENPNCt-tAGJqTfNKz5OsqVSk16_e7Es,340 -numpy/f2py/tests/src/crackfortran/gh22648.pyf,sha256=qZHPRNQljIeYNwbqPLxREnOrSdVV14f3fnaHqB1M7c0,241 -numpy/f2py/tests/src/crackfortran/gh23533.f,sha256=w3tr_KcY3s7oSWGDmjfMHv5h0RYVGUpyXquNdNFOJQg,126 -numpy/f2py/tests/src/crackfortran/gh23598.f90,sha256=41W6Ire-5wjJTTg6oAo7O1WZfd1Ug9vvNtNgHS5MhEU,101 -numpy/f2py/tests/src/crackfortran/gh23598Warn.f90,sha256=1v-hMCT_K7prhhamoM20nMU9zILam84Hr-imck_dYYk,205 -numpy/f2py/tests/src/crackfortran/gh23879.f90,sha256=LWDJTYR3t9h1IsrKC8dVXZlBfWX7clLeU006X6Ow8oI,332 -numpy/f2py/tests/src/crackfortran/gh27697.f90,sha256=bbnKpDsOuCWluoNodxzCspUQnu169zKTsn4fLTkhwpM,364 -numpy/f2py/tests/src/crackfortran/gh2848.f90,sha256=gPNasx98SIf7Z9ibk_DHiGKCvl7ERtsfoGXiFDT7FbM,282 -numpy/f2py/tests/src/crackfortran/operators.f90,sha256=-Fc-qjW1wBr3Dkvdd5dMTrt0hnjnV-1AYo-NFWcwFSo,1184 -numpy/f2py/tests/src/crackfortran/privatemod.f90,sha256=7bubZGMIn7iD31wDkjF1TlXCUM7naCIK69M9d0e3y-U,174 -numpy/f2py/tests/src/crackfortran/publicmod.f90,sha256=Pnwyf56Qd6W3FUH-ZMgnXEYkb7gn18ptNTdwmGan0Jo,167 -numpy/f2py/tests/src/crackfortran/pubprivmod.f90,sha256=eYpJwBYLKGOxVbKgEqfny1znib-b7uYhxcRXIf7uwXg,165 -numpy/f2py/tests/src/crackfortran/unicode_comment.f90,sha256=aINLh6GlfTwFewxvDoqnMqwuCNb4XAqi5Nj5vXguXYs,98 -numpy/f2py/tests/src/f2cmap/.f2py_f2cmap,sha256=iUOtfHd3OuT1Rz2-yiSgt4uPKGvCt5AzQ1iygJt_yjg,82 -numpy/f2py/tests/src/f2cmap/isoFortranEnvMap.f90,sha256=iJCD8a8MUTmuPuedbcmxW54Nr4alYuLhksBe1sHS4K0,298 -numpy/f2py/tests/src/isocintrin/isoCtests.f90,sha256=jcw-fzrFh0w5U66uJYfeUW4gv94L5MnWQ_NpsV9y0oI,998 -numpy/f2py/tests/src/kind/foo.f90,sha256=zIHpw1KdkWbTzbXb73hPbCg4N2Htj3XL8DIwM7seXpo,347 -numpy/f2py/tests/src/mixed/foo.f,sha256=90zmbSHloY1XQYcPb8B5d9bv9mCZx8Z8AMTtgDwJDz8,85 -numpy/f2py/tests/src/mixed/foo_fixed.f90,sha256=pxKuPzxF3Kn5khyFq9ayCsQiolxB3SaNtcWaK5j6Rv4,179 -numpy/f2py/tests/src/mixed/foo_free.f90,sha256=fIQ71wrBc00JUAVUj_r3QF9SdeNniBiMw6Ly7CGgPWU,139 -numpy/f2py/tests/src/modules/gh25337/data.f90,sha256=9Uz8CHB9i3_mjC3cTOmkTgPAF5tWSwYacG3MUrU-SY0,180 -numpy/f2py/tests/src/modules/gh25337/use_data.f90,sha256=WATiDGAoCKnGgMzm_iMgmfVU0UKOQlk5Fm0iXCmPAkE,179 -numpy/f2py/tests/src/modules/gh26920/two_mods_with_no_public_entities.f90,sha256=c7VU4SbK3yWn-6wksP3tDx_Hxh5u_g8UnlDpjU_-tBg,402 -numpy/f2py/tests/src/modules/gh26920/two_mods_with_one_public_routine.f90,sha256=eEU7RgFPh-TnNXEuJFdtJmTF-wPnpbHLQhG4fEeJnag,403 -numpy/f2py/tests/src/modules/module_data_docstring.f90,sha256=tDZ3fUlazLL8ThJm3VwNGJ75QIlLcW70NnMFv-JA4W0,224 -numpy/f2py/tests/src/modules/use_modules.f90,sha256=UsFfx0B2gu_tS-H-BpLWed_yoMDl1kbydMIOz8fvXWA,398 -numpy/f2py/tests/src/negative_bounds/issue_20853.f90,sha256=fdOPhRi7ipygwYCXcda7p_dlrws5Hd2GlpF9EZ-qnck,157 -numpy/f2py/tests/src/parameter/constant_array.f90,sha256=KRg7Gmq_r3B7t3IEgRkP1FT8ve8AuUFWT0WcTlXoN5U,1468 -numpy/f2py/tests/src/parameter/constant_both.f90,sha256=-bBf2eqHb-uFxgo6Q7iAtVUUQzrGFqzhHDNaxwSICfQ,1939 -numpy/f2py/tests/src/parameter/constant_compound.f90,sha256=re7pfzcuaquiOia53UT7qNNrTYu2euGKOF4IhoLmT6g,469 -numpy/f2py/tests/src/parameter/constant_integer.f90,sha256=nEmMLitKoSAG7gBBEQLWumogN-KS3DBZOAZJWcSDnFw,612 -numpy/f2py/tests/src/parameter/constant_non_compound.f90,sha256=IcxESVLKJUZ1k9uYKoSb8Hfm9-O_4rVnlkiUU2diy8Q,609 -numpy/f2py/tests/src/parameter/constant_real.f90,sha256=quNbDsM1Ts2rN4WtPO67S9Xi_8l2cXabWRO00CPQSSQ,610 -numpy/f2py/tests/src/quoted_character/foo.f,sha256=WjC9D9171fe2f7rkUAZUvik9bkIf9adByfRGzh6V0cM,482 -numpy/f2py/tests/src/regression/AB.inc,sha256=cSNxitwrjTKMiJzhY2AI5FaXJ5y9zDgA27x79jyoI6s,16 -numpy/f2py/tests/src/regression/assignOnlyModule.f90,sha256=c9RvUP1pQ201O_zOXgV0xp_aJF_8llxuA8Uot9z5tr0,608 -numpy/f2py/tests/src/regression/datonly.f90,sha256=9cVvl8zlAuGiqbSHMFzFn6aNWXj2v7sHJdd9A1Oc0qg,392 -numpy/f2py/tests/src/regression/f77comments.f,sha256=bqTsmO8WuSLVFsViIV7Nj7wQbJoZ7IAA3d2tpRDKsnA,626 -numpy/f2py/tests/src/regression/f77fixedform.f95,sha256=hcLZbdozMJ3V9pByVRp3RoeUvZgLMRLFctpZvxK2hTI,139 -numpy/f2py/tests/src/regression/f90continuation.f90,sha256=_W1fj0wXLqT91Q14qpBnM3F7rJKaiSR8upe0mR6_OIE,276 -numpy/f2py/tests/src/regression/incfile.f90,sha256=i7Y1zgMXR9bSxnjeYWSDGeCfsS5jiyn7BLb-wbwjz2U,92 -numpy/f2py/tests/src/regression/inout.f90,sha256=CpHpgMrf0bqA1W3Ozo3vInDz0RP904S7LkpdAH6ODck,277 -numpy/f2py/tests/src/return_character/foo77.f,sha256=WzDNF3d_hUDSSZjtxd3DtE-bSx1ilOMEviGyYHbcFgM,980 -numpy/f2py/tests/src/return_character/foo90.f90,sha256=ULcETDEt7gXHRzmsMhPsGG4o3lGrcx-FEFaJsPGFKyA,1248 -numpy/f2py/tests/src/return_complex/foo77.f,sha256=8ECRJkfX82oFvGWKbIrCvKjf5QQQClx4sSEvsbkB6A8,973 -numpy/f2py/tests/src/return_complex/foo90.f90,sha256=c1BnrtWwL2dkrTr7wvlEqNDg59SeNMo3gyJuGdRwcDw,1238 -numpy/f2py/tests/src/return_integer/foo77.f,sha256=_8k1evlzBwvgZ047ofpdcbwKdF8Bm3eQ7VYl2Y8b5kA,1178 -numpy/f2py/tests/src/return_integer/foo90.f90,sha256=bzxbYtofivGRYH35Ang9ScnbNsVERN8-6ub5-eI-LGQ,1531 -numpy/f2py/tests/src/return_logical/foo77.f,sha256=FxiF_X0HkyXHzJM2rLyTubZJu4JB-ObLnVqfZwAQFl8,1188 -numpy/f2py/tests/src/return_logical/foo90.f90,sha256=9KmCe7yJYpi4ftkKOM3BCDnPOdBPTbUNrKxY3p37O14,1531 -numpy/f2py/tests/src/return_real/foo77.f,sha256=ZTrzb6oDrIDPlrVWP3Bmtkbz3ffHaaSQoXkfTGtCuFE,933 -numpy/f2py/tests/src/return_real/foo90.f90,sha256=gZuH5lj2lG6gqHlH766KQ3J4-Ero-G4WpOOo2MG3ohU,1194 -numpy/f2py/tests/src/routines/funcfortranname.f,sha256=oGPnHo0zL7kjFnuHw41mWUSXauoeRVPXnYXBb2qljio,123 -numpy/f2py/tests/src/routines/funcfortranname.pyf,sha256=coD8AdLyPK4_cGvQJgE2WJW_jH8EAulZCsMeb-Q1gOk,440 -numpy/f2py/tests/src/routines/subrout.f,sha256=RTexoH7RApv_mhu-RcVwyNiU-DXMTUP8LJAMSn2wQjk,90 -numpy/f2py/tests/src/routines/subrout.pyf,sha256=c9qv4XtIh4wA9avdkDJuXNwojK-VBPldrNhxlh446Ic,322 -numpy/f2py/tests/src/size/foo.f90,sha256=IlFAQazwBRr3zyT7v36-tV0-fXtB1d7WFp6S1JVMstg,815 -numpy/f2py/tests/src/string/char.f90,sha256=ihr_BH9lY7eXcQpHHDQhFoKcbu7VMOX5QP2Tlr7xlaM,618 -numpy/f2py/tests/src/string/fixed_string.f90,sha256=5n6IkuASFKgYICXY9foCVoqndfAY0AQZFEK8L8ARBGM,695 -numpy/f2py/tests/src/string/gh24008.f,sha256=UA8Pr-_yplfOFmc6m4v9ryFQ8W9OulaglulefkFWD68,217 -numpy/f2py/tests/src/string/gh24662.f90,sha256=-Tp9Kd1avvM7AIr8ZukFA9RVr-wusziAnE8AvG9QQI4,197 -numpy/f2py/tests/src/string/gh25286.f90,sha256=2EpxvC-0_dA58MBfGQcLyHzpZgKcMf_W9c73C_Mqnok,304 -numpy/f2py/tests/src/string/gh25286.pyf,sha256=GjgWKh1fHNdPGRiX5ek60i1XSeZsfFalydWqjISPVV8,381 -numpy/f2py/tests/src/string/gh25286_bc.pyf,sha256=6Y9zU66NfcGhTXlFOdFjCSMSwKXpq5ZfAe3FwpkAsm4,384 -numpy/f2py/tests/src/string/scalar_string.f90,sha256=ACxV2i6iPDk-a6L_Bs4jryVKYJMEGUTitEIYTjbJes4,176 -numpy/f2py/tests/src/string/string.f,sha256=shr3fLVZaa6SyUJFYIF1OZuhff8v5lCwsVNBU2B-3pk,248 -numpy/f2py/tests/src/value_attrspec/gh21665.f90,sha256=JC0FfVXsnB2lZHb-nGbySnxv_9VHAyD0mKaLDowczFU,190 -numpy/f2py/tests/test_abstract_interface.py,sha256=nGyPJgB0-d9Ttk3XsYb-N9HxfZxTVUz0gkl66u3JNaU,809 -numpy/f2py/tests/test_array_from_pyobj.py,sha256=nXkuHwa0gvVOsyuKI2m1UfVu8HyKiFqBvIK23_zOdxw,23702 -numpy/f2py/tests/test_assumed_shape.py,sha256=FeaqtrWyBf5uyArcmI0D2e_f763aSMpgU3QmdDXe-tA,1466 -numpy/f2py/tests/test_block_docstring.py,sha256=2WGCsNBxtH57BjAYyPAzUZgiBRYWAQpC9zODP02OZec,582 -numpy/f2py/tests/test_callback.py,sha256=8I31S55C4p3WXUFUY78fo8as-VpS6h7kNAPeUZrr7w0,7114 -numpy/f2py/tests/test_character.py,sha256=zUsyZCO1FrhVxF-S_fuET_xjbWoJc3SrFCNY_buT7WU,21905 -numpy/f2py/tests/test_common.py,sha256=VPsy0SLqbKaUGgDqesYXmjYuLpnPK-XyzseqmV5QnhM,641 -numpy/f2py/tests/test_crackfortran.py,sha256=wiqJX91u35-CDLD60nHWJuHZEecbXHJ9JD0GwnwAAHo,16190 -numpy/f2py/tests/test_data.py,sha256=SFYgovu5LBtIbS-zvbqkm9zoahHJx35LDOJoEqYP_kU,2888 -numpy/f2py/tests/test_docs.py,sha256=GiQUqifxttwJRgkmLEoq5wIFjTlYLEAQ1n5Kw4Emsiw,1850 -numpy/f2py/tests/test_f2cmap.py,sha256=-WnN0HlqiG9RPgc1P_KSLZvqgQ4wGYDf0lFcyfWOLfs,385 -numpy/f2py/tests/test_f2py2e.py,sha256=K_883X2rw88Fn5a7bZPI03NFA3YD95NYopX0OHxcZAM,27868 -numpy/f2py/tests/test_isoc.py,sha256=kY7yg7Jtyn_RBlozwe6UpQvtwPbPcpTC0B27s2GRo7s,1428 -numpy/f2py/tests/test_kind.py,sha256=myLQNDPZDdVq7PNjXWUgkY3M-JdzP5MJNZ1PE_ChNEI,1783 -numpy/f2py/tests/test_mixed.py,sha256=iMMRt1q7woHuKSfqiw4LsaU9wIRq2FnvT0lv74fR7V0,860 -numpy/f2py/tests/test_modules.py,sha256=wli_Cq9FroWg9nnOZplGAd9L5OX49h_Z-e8PyVVnk0w,2299 -numpy/f2py/tests/test_parameter.py,sha256=j4sNNiHkj-jbl3FC4v_tnksgpydbHqNvNI2tzlVFGYE,4623 -numpy/f2py/tests/test_pyf_src.py,sha256=eD0bZu_GWfoCq--wWqEKRf-F2h5AwoTyO6GMA9wJPr4,1135 -numpy/f2py/tests/test_quoted_character.py,sha256=T6I2EyopdItKamcokG0ylvhT7krZYhBU6hF3UFIBr2g,476 -numpy/f2py/tests/test_regression.py,sha256=-TrLyZr7Kv8INbqql9TrAH7T_xglZeNaAyDKT5sVRqQ,5568 -numpy/f2py/tests/test_return_character.py,sha256=DP63vrF6bIV-QRBsJ1ZpPsKz-u906Ph8M6_biPEzBJs,1511 -numpy/f2py/tests/test_return_complex.py,sha256=4vtpIYqAZZrbKYi3fnP7l_Zn42YnBbPwl8-eNfZOHHo,2415 -numpy/f2py/tests/test_return_integer.py,sha256=qR8Ismf40Ml2impqjGzjL2i-CRyGTxXVEvzQQMkJfJo,1776 -numpy/f2py/tests/test_return_logical.py,sha256=XCmp8E8I6BOeNYF59HjSFAdv1hM9WaDvl8UDS10_05o,2017 -numpy/f2py/tests/test_return_real.py,sha256=rxgglxBljLavw3LzWCeT41mYYVhvkTMlQE5E2rfg_LI,3253 -numpy/f2py/tests/test_routines.py,sha256=TflyDvptl5dREgZFv6hlauRvsK_FFUo7ZTVsiIYPcio,794 -numpy/f2py/tests/test_semicolon_split.py,sha256=gi0I439sNF1x2dl4fnJmkFzhoGUpE7ni7_mJ8tQdH5c,1653 -numpy/f2py/tests/test_size.py,sha256=CsElZF4N5Tf7fr27TJudu3JD_JKb63SubUXPYjl5Llg,1154 -numpy/f2py/tests/test_string.py,sha256=wfV6jxkOnoJWOM7i5Ee7gc2nXK_Gyb3FqNI4wLfVQhk,2936 -numpy/f2py/tests/test_symbolic.py,sha256=28quk2kTKfWhKe56n4vINJ8G9weKBfc7HysMlE9J3_g,18341 -numpy/f2py/tests/test_value_attrspec.py,sha256=jYtbvVyg8uOZsdcCeLhaXIdR7MOfMh1j04aXbJNbfK8,329 -numpy/f2py/tests/util.py,sha256=v74zHnPp5iLtdlNsPsLQUMWLR66mcuqoXTyGc7kUcSc,12191 -numpy/f2py/use_rules.py,sha256=oMjkw5fP55MhGAqdDcO_dknbQBE9qLljU7y6-HDoerY,3515 -numpy/fft/__init__.py,sha256=cW8oJRorHlG10mhnhAB1OOkg4HpG2NGYHDgonFNI04s,8326 -numpy/fft/__init__.pyi,sha256=KvQQpPxk9LKgqMIB3AGJCsQDu3ownGKjjT7McQKNpXY,514 -numpy/fft/__pycache__/__init__.cpython-312.pyc,, -numpy/fft/__pycache__/_helper.cpython-312.pyc,, -numpy/fft/__pycache__/_pocketfft.cpython-312.pyc,, -numpy/fft/__pycache__/helper.cpython-312.pyc,, -numpy/fft/_helper.py,sha256=Yvph-5gksd0HebLSXq4UKfVYOwSiqNIa4THpv0aA2HE,6775 -numpy/fft/_helper.pyi,sha256=W1UZEIJvaLrpel2SjGFYfd_p5TK7K6vQdTGP5XGsk7I,1370 -numpy/fft/_pocketfft.py,sha256=Q6J5inX10oPBtX-lblPlYExuzycovGr-LFMT7QYe9pc,62692 -numpy/fft/_pocketfft.pyi,sha256=Dvhdy8Y2R1HmTu-99z4Pgd4WCnC6eg3OVzUY4yOQpTo,3155 -numpy/fft/_pocketfft_umath.cpython-312-x86_64-linux-gnu.so,sha256=GMq6MpylYoJQSHfdBdLT9pWskt6wRMQG2xzFD3UJGJQ,649272 -numpy/fft/helper.py,sha256=str0NJ1vpLNlC_3vMfulTu9D9_cThxKG2zkaGuZ5NTY,610 -numpy/fft/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/fft/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/fft/tests/__pycache__/test_helper.cpython-312.pyc,, -numpy/fft/tests/__pycache__/test_pocketfft.cpython-312.pyc,, -numpy/fft/tests/test_helper.py,sha256=pVYVLUwNEcE9M8eyHaRi7JOgc6k5p_JVzJ0AKnelgvI,6149 -numpy/fft/tests/test_pocketfft.py,sha256=euC7OA8_h_EQ0aO_UqBNPARx3xb2LgJS-rsWe3XiE-U,24410 -numpy/lib/__init__.py,sha256=IvUoSO27nHWmaTCs4fqJLDIWIcaj-uRIbR9YfkyptAo,3226 -numpy/lib/__init__.pyi,sha256=nevfu40fu_qSozt-vdcUGh_zQijGGWxfdns2x9_LsWI,518 -numpy/lib/__pycache__/__init__.cpython-312.pyc,, -numpy/lib/__pycache__/_array_utils_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_arraypad_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_arraysetops_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_arrayterator_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_datasource.cpython-312.pyc,, -numpy/lib/__pycache__/_function_base_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_histograms_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_index_tricks_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_iotools.cpython-312.pyc,, -numpy/lib/__pycache__/_nanfunctions_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_npyio_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_polynomial_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_scimath_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_shape_base_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_stride_tricks_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_twodim_base_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_type_check_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_ufunclike_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_user_array_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_utils_impl.cpython-312.pyc,, -numpy/lib/__pycache__/_version.cpython-312.pyc,, -numpy/lib/__pycache__/array_utils.cpython-312.pyc,, -numpy/lib/__pycache__/format.cpython-312.pyc,, -numpy/lib/__pycache__/introspect.cpython-312.pyc,, -numpy/lib/__pycache__/mixins.cpython-312.pyc,, -numpy/lib/__pycache__/npyio.cpython-312.pyc,, -numpy/lib/__pycache__/recfunctions.cpython-312.pyc,, -numpy/lib/__pycache__/scimath.cpython-312.pyc,, -numpy/lib/__pycache__/stride_tricks.cpython-312.pyc,, -numpy/lib/__pycache__/user_array.cpython-312.pyc,, -numpy/lib/_array_utils_impl.py,sha256=eMGdZi7auu6201h4v4eQZ2miF8KmdMGDApbBFgRE-6Q,1689 -numpy/lib/_array_utils_impl.pyi,sha256=2OjfMvbUUlTrJHvGHIcnlrHxPWl7LcpFo3gmuVz6nWg,793 -numpy/lib/_arraypad_impl.py,sha256=xm8Pkunt7DAKAWvnySEsoWbjMvcmZL-OC7qe-LQaruQ,32326 -numpy/lib/_arraypad_impl.pyi,sha256=G9GSX6q0glWgoPN5FGzO-Ql1UdkKadoyfVy1B0HH9iM,1792 -numpy/lib/_arraysetops_impl.py,sha256=CBDoG2fWzx0OITbZEKlFD5WUo9HQRqmsweoMOtHKQjs,39309 -numpy/lib/_arraysetops_impl.pyi,sha256=eqeeGHLDsNFLZJg2aYKaLBTR3h5qG0bIERLDkjvmdIs,9769 -numpy/lib/_arrayterator_impl.py,sha256=qx6gqxLTNY4Lea6Lh6J-Cud4RyLIqnELhi-kMwK8vKU,7186 -numpy/lib/_arrayterator_impl.pyi,sha256=969wuzed0QhHi7vlGS-4mHJ9c_Jh5XB4nHlYYQ8LkLo,1604 -numpy/lib/_datasource.py,sha256=FJ7k1HghREU7udh8ZuO5ZZF3nHJfOkj7iWijhoVFqIQ,22729 -numpy/lib/_function_base_impl.py,sha256=eeZaizFpsCLeisLcxrQ-eK4R-8enw6YKPV1jeDPwCzU,196038 -numpy/lib/_function_base_impl.pyi,sha256=1jwm_KllZszum_pz1sYAOt0785zt8DwxmxJ3cpu8_Z0,19787 -numpy/lib/_histograms_impl.py,sha256=Lw_9LfM_Z7qBef3boamH5LtL7qiT10gpIyWy9Uj6lTo,38762 -numpy/lib/_histograms_impl.pyi,sha256=7B4b29m97PW5GDSgOKi_3Ul-XyWbo6NjMW264FFxjSI,1070 -numpy/lib/_index_tricks_impl.py,sha256=12iGjjak3hiMfwnh5zR2JqA78-or-u9P1gTGCcjJD0E,32179 -numpy/lib/_index_tricks_impl.pyi,sha256=hufcvcU-8OW6lQBCPpQC2NQzs6UGNvARD7BA3-tPorM,4340 -numpy/lib/_iotools.py,sha256=mMhxeGBt-T8prjWpNhn_xvZCj6u6OWWmmsvKP6vbM5w,30941 -numpy/lib/_nanfunctions_impl.py,sha256=gX6NUKgCQKvuFTSAObhqfrqQIXIsxnKIQOc-heOn7rs,72150 -numpy/lib/_nanfunctions_impl.pyi,sha256=o0ILqctzjyHwNJ3zs4bdd8qJ9qVtyGfL6FChCf4IPGg,833 -numpy/lib/_npyio_impl.py,sha256=bbCoqFQJK79kW5LqfdSVaJ6INotFtWIPaiYFTLpKN5w,99376 -numpy/lib/_npyio_impl.pyi,sha256=KdB2BPEszd3GH--3gbwnRlPRmwAXO5UNN7vxA8JjN9E,10274 -numpy/lib/_polynomial_impl.py,sha256=6rD5Cy4mSDk2CsuAdJOq2he-PSa-ZiqsdgyyQAF5qx0,44294 -numpy/lib/_polynomial_impl.pyi,sha256=NoMMI6aJmcnLKQyaM3B2hSJTFJtx7mAqEHPsCC_rM7s,7117 -numpy/lib/_scimath_impl.py,sha256=dUxb9XD-AJPboK_LO3LA0KgykFSUEOG5BVGrhwm2Qqo,15691 -numpy/lib/_scimath_impl.pyi,sha256=Xdyj3nbEBEE5p6K_ZIjilsAgvaxoGK8TEoV2vdzpLIE,2955 -numpy/lib/_shape_base_impl.py,sha256=AHbXPp4sH0gEJgSyM0A9zgmM9Mwm6jR_p5pWtUXeqV8,39353 -numpy/lib/_shape_base_impl.pyi,sha256=FAXNYaWGChmZMlSevIQpUQHRv08zsTd7bF4M9Bxy_UU,5037 -numpy/lib/_stride_tricks_impl.py,sha256=y3Uxp3jFzDwmIQ137N2zap7-vW_jONUQmXnbfqrs60A,18025 -numpy/lib/_stride_tricks_impl.pyi,sha256=ZX9Dp4oLmi-FSwY8o4FSisswTgfE5xwlTCjk2QkbIG8,1801 -numpy/lib/_twodim_base_impl.py,sha256=r31aBnzCSBpq_em4HyLiSMeTiRzlHAn7Bd4yXYqyEFY,33864 -numpy/lib/_twodim_base_impl.pyi,sha256=QyFrtDewZC0HADPV4ud3pAiOUOj6zGIyT5iuBh4C0TE,11124 -numpy/lib/_type_check_impl.py,sha256=Dv9a7QCR1bqBHoXgCjmPrGEewG1v2BBtE_8VfcF4ySU,19220 -numpy/lib/_type_check_impl.pyi,sha256=XuaIBCJI1z50pcH6ScB3oMAyBjAxX_LY4KU0gUZaTAM,5165 -numpy/lib/_ufunclike_impl.py,sha256=0eemf_EYlLmSa4inNr3iuJ1eoTMqLyIR0n6dQymga3Y,6309 -numpy/lib/_ufunclike_impl.pyi,sha256=Tle2e2qLfaYNlECFw6AVgazMnAHYCE9WO96ddZiM1dw,1322 -numpy/lib/_user_array_impl.py,sha256=pqmz3qNx620zngeIFmSg8IiXNdTMVBAglt81hEJNh5Y,7971 -numpy/lib/_utils_impl.py,sha256=4xYQczoX7i_wHjugnl0ba1VExSbV48ndVow08S8G0WQ,23388 -numpy/lib/_utils_impl.pyi,sha256=3UJqa7IVH6QVJbQfKAqblyHxjPfaCAR28KmDxXeIpU0,277 -numpy/lib/_version.py,sha256=nyRagTCuE69-0P9JTIcKK7jbzRGbsgnqVtFIrNzTFsM,4854 -numpy/lib/_version.pyi,sha256=vysY5Vl_nh4si6GkMXEoB6pUDl-jJ5g0LpSDa40F124,641 -numpy/lib/array_utils.py,sha256=zoaLw9TvrAFRkh9n8uMyr8kvug3IvVlUT7LcJzB3Tk0,130 -numpy/lib/array_utils.pyi,sha256=kEO5wShp8zEbNTPu-Kw-EHuZQvq1rXHzgjK797xCV0Q,191 -numpy/lib/format.py,sha256=XMMQzYOvc8LgeNpxX7Qpfurli2bG5o9jAaeY55tP85A,36200 -numpy/lib/format.pyi,sha256=cVuydIbVhG_tM7TrxEVBiERRPLOxKS8hLCTOT7ovtzc,748 -numpy/lib/introspect.py,sha256=SiQ5OwgvE-1RoQOv2r__WObS5QEUBohanyCd7Xe80UU,2715 -numpy/lib/mixins.py,sha256=_yb3iwwzUfSbN7HpJSp3FhFkgV3WViTHS5SAHkK8Lmc,7337 -numpy/lib/mixins.pyi,sha256=q_lxMe-PpNlvpEJ--nLkyi0qVD0QuNHriF3XHfxyJok,3131 -numpy/lib/npyio.py,sha256=NCxqWedJbSM5M-wr69TED8x7KXcyBJ0x5u49vj4sPkI,62 -numpy/lib/npyio.pyi,sha256=b_cbxg8tD8AA9ql9mqMCcA0Wts5iUBCXSpVNBLNzvZ0,92 -numpy/lib/recfunctions.py,sha256=5fbg0aMuDbgOpfYmDTByhlNKZWgNkCVDdA8BQ4zZXzA,59654 -numpy/lib/scimath.py,sha256=iO0IiDgpHk1EurdUvJIE2KqDzVOfvSsU3MFIlJskIOE,118 -numpy/lib/scimath.pyi,sha256=UND4g92K5-6_I0YWqu7qbDTHU_sePpa0I58MTMH0yhA,233 -numpy/lib/stride_tricks.py,sha256=VGR5M8Jyw8IC4S6XEB9NN_GULTJJQj_1QrItIi_BJiM,82 -numpy/lib/stride_tricks.pyi,sha256=Fqn9EZXdjIgUTce6UMD7rBBb8289QTMzohhjHwYP3TU,124 -numpy/lib/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/lib/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test__datasource.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test__iotools.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test__version.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_array_utils.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_arraypad.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_arraysetops.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_arrayterator.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_format.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_function_base.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_histograms.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_index_tricks.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_io.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_loadtxt.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_mixins.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_nanfunctions.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_packbits.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_polynomial.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_recfunctions.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_regression.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_shape_base.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_stride_tricks.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_twodim_base.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_type_check.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_ufunclike.cpython-312.pyc,, -numpy/lib/tests/__pycache__/test_utils.cpython-312.pyc,, -numpy/lib/tests/data/py2-np0-objarr.npy,sha256=ZLoI7K3iQpXDkuoDF1Ymyc6Jbw4JngbQKC9grauVRsk,258 -numpy/lib/tests/data/py2-objarr.npy,sha256=F4cyUC-_TB9QSFLAo2c7c44rC6NUYIgrfGx9PqWPSKk,258 -numpy/lib/tests/data/py2-objarr.npz,sha256=xo13HBT0FbFZ2qvZz0LWGDb3SuQASSaXh7rKfVcJjx4,366 -numpy/lib/tests/data/py3-objarr.npy,sha256=7mtikKlHXp4unZhM8eBot8Cknlx1BofJdd73Np2PW8o,325 -numpy/lib/tests/data/py3-objarr.npz,sha256=vVRl9_NZ7_q-hjduUr8YWnzRy8ESNlmvMPlaSSC69fk,453 -numpy/lib/tests/data/python3.npy,sha256=X0ad3hAaLGXig9LtSHAo-BgOvLlFfPYMnZuVIxRmj-0,96 -numpy/lib/tests/data/win64python2.npy,sha256=agOcgHVYFJrV-nrRJDbGnUnF4ZTPYXuSeF-Mtg7GMpc,96 -numpy/lib/tests/test__datasource.py,sha256=65KXfUUvp8wXSqgQisuYlkhg-qHjBV5FXYetL8Ba-rc,10571 -numpy/lib/tests/test__iotools.py,sha256=W2gLNsi2S8-4qixUs6EKkTYnOOp55qLLuM3zpBzZoR4,13744 -numpy/lib/tests/test__version.py,sha256=aO3YgkAohLsLzCNQ7vjIwdpFUMz0cPLbcuuxIkjuN74,1999 -numpy/lib/tests/test_array_utils.py,sha256=vOC6AmlPIQbVxQf2DiRL02May5IK5BK2GUFK0nP83FM,1119 -numpy/lib/tests/test_arraypad.py,sha256=PuDd3s7w_r54B2ILXKQheFMUxklylHPN-vHVq_mGjk8,56064 -numpy/lib/tests/test_arraysetops.py,sha256=Y5sS11K5r4KGcPaZHxOaoBUJDZAjcfdF7qSvxpVydqo,38023 -numpy/lib/tests/test_arrayterator.py,sha256=AYs2SwV5ankgwnvKI9RSO1jZck118nu3SyZ4ngzZNso,1291 -numpy/lib/tests/test_format.py,sha256=a7kmHWroNHox7t3ygfwmkBL85Bkw4FkZpOusJFjvmvE,40939 -numpy/lib/tests/test_function_base.py,sha256=UwrH-GpVMtj4LfOF1xaJigomXlfR0y5OxoQP25Wt5LU,168141 -numpy/lib/tests/test_histograms.py,sha256=pSUHeO9nY5Gf5VXyCCZ9qoRjrXT1Y4c0xRcz5FeAPCY,33694 -numpy/lib/tests/test_index_tricks.py,sha256=ZpKsvd3P3p2hwfj6sHlL_lysJp1IevAoM6AdpeTAx8M,20368 -numpy/lib/tests/test_io.py,sha256=1brG0DanJdQhK680J-zR4YlBc-oDfv_QUYkIOb8oPzQ,110047 -numpy/lib/tests/test_loadtxt.py,sha256=1i7Ohb0MzolU4qunDARg0wcZ2fA21QDarhQ-qq6JYsY,39452 -numpy/lib/tests/test_mixins.py,sha256=Wivwz3XBWsEozGzrzsyyvL3qAuE14t1BHk2LPm9Z9Zc,7030 -numpy/lib/tests/test_nanfunctions.py,sha256=iN7Lyl0FlDjlE23duS6YS_iEoWRSPP8tydQLdmSMWsI,53344 -numpy/lib/tests/test_packbits.py,sha256=2QaNYKH29cVD-S4YYBIQBd1xQ9bc2OqHdZT6yS7Txjk,17544 -numpy/lib/tests/test_polynomial.py,sha256=1gJhzbXglqeGMjo8OnpP4EASiCVvkYPiNOHKirAlNfg,11428 -numpy/lib/tests/test_recfunctions.py,sha256=KHHrlYhCrVVZh4N4e8UMac8oK4aX438Na1AchTdJsxU,43987 -numpy/lib/tests/test_regression.py,sha256=YdZ_xYXzFh3WFyAKF5lN7oFl5HMm5r38C1Lij3J8NuQ,7694 -numpy/lib/tests/test_shape_base.py,sha256=W1q-tgBENS19wpOKSzEi63OSjatE4qC1viQG22qoacE,27488 -numpy/lib/tests/test_stride_tricks.py,sha256=9g25TXSGLsvfeIrlkQ8l1fx_pZ48b4dxCzXXUbsKC5g,22997 -numpy/lib/tests/test_twodim_base.py,sha256=ll-72RhqCItIPB97nOWhH7H292h4nVIX_w1toKTPMUg,18841 -numpy/lib/tests/test_type_check.py,sha256=9ycqRSw0TzrJfu4gknQYblRPEsWlMI9TWPP_jyI8w-c,14680 -numpy/lib/tests/test_ufunclike.py,sha256=5AFySuvUfggh0tpBuQHJ7iZRrP0r_yZZv5xHxOuCZ1s,3023 -numpy/lib/tests/test_utils.py,sha256=zzgwQGId2P8RUgimSsm7uMCYb61xPenrP_N0kcZU8x4,2374 -numpy/lib/user_array.py,sha256=Ev3yeNNLZVNWk9xZuiCIbODYKwQ6XfYGpI5WAoYvtok,49 -numpy/linalg/__init__.py,sha256=XNtdLo33SVTjQbXeimLFa5ZudzpEEwnfJBNorVbxuyc,2106 -numpy/linalg/__init__.pyi,sha256=o8K7PS_GETdEtnE7uXgJV7wnR8B0hH79AKpsmBHbJhA,1006 -numpy/linalg/__pycache__/__init__.cpython-312.pyc,, -numpy/linalg/__pycache__/_linalg.cpython-312.pyc,, -numpy/linalg/__pycache__/linalg.cpython-312.pyc,, -numpy/linalg/_linalg.py,sha256=QNeVUH1DXQe7X5Ygp-LV9W1tN7sbwbhMXIQbRNPYJX0,114680 -numpy/linalg/_linalg.pyi,sha256=n3L2VgI_vy0bG1sZdvhvQHV0D9cMSC5B-ZeM6ebZxP8,11252 -numpy/linalg/_umath_linalg.cpython-312-x86_64-linux-gnu.so,sha256=_fpbege1fsNuqPcAqg8W5HFlzS2RIj3sNkoBQrSGOhY,227657 -numpy/linalg/lapack_lite.cpython-312-x86_64-linux-gnu.so,sha256=MKnP2b9p0sNEpTFHAjHOndAYz57uhuIWgxCXwg9eEgA,30009 -numpy/linalg/linalg.py,sha256=JQWcEvjY_bjhaMHXY5vDk69OIoMzX5Rvbn1eGW2FCvE,584 -numpy/linalg/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/linalg/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/linalg/tests/__pycache__/test_deprecations.cpython-312.pyc,, -numpy/linalg/tests/__pycache__/test_linalg.cpython-312.pyc,, -numpy/linalg/tests/__pycache__/test_regression.cpython-312.pyc,, -numpy/linalg/tests/test_deprecations.py,sha256=9p_SRmtxj2zc1doY9Ie3dyy5JzWy-tCQWFoajcAJUmM,640 -numpy/linalg/tests/test_linalg.py,sha256=DhZiFKqO7SVhtNwRqe5jbhcACbqttIiJfruY5rbLj-Q,83315 -numpy/linalg/tests/test_regression.py,sha256=RMl5Jq-fLVDUSMnEmpP2-gigM5dzUfzURywa1tMK8CA,6689 -numpy/ma/API_CHANGES.txt,sha256=F_4jW8X5cYBbzpcwteymkonTmvzgKKY2kGrHF1AtnrI,3405 -numpy/ma/LICENSE,sha256=BfO4g1GYjs-tEKvpLAxQ5YdcZFLVAJoAhMwpFVH_zKY,1593 -numpy/ma/README.rst,sha256=krf2cvVK_zNQf1d3yVYwg0uDHzTiR4vHbr91zwaAyoI,9874 -numpy/ma/__init__.py,sha256=iv-YxXUZe4z7W53QZWY0ndicV43AGsIygArsoN3tQb8,1419 -numpy/ma/__init__.pyi,sha256=H7zEUcvlhWQkYpoOQ9UyrLOuz23vnd_GYO_JiztGG04,6946 -numpy/ma/__pycache__/__init__.cpython-312.pyc,, -numpy/ma/__pycache__/core.cpython-312.pyc,, -numpy/ma/__pycache__/extras.cpython-312.pyc,, -numpy/ma/__pycache__/mrecords.cpython-312.pyc,, -numpy/ma/__pycache__/testutils.cpython-312.pyc,, -numpy/ma/__pycache__/timer_comparison.cpython-312.pyc,, -numpy/ma/core.py,sha256=jN3Z0xIb8a3lBAOAcUhGn8YlK-Ko5qm-1XadzBqAp1k,290518 -numpy/ma/core.pyi,sha256=kC4OD7VH2Zs8_F5ZpABz2gyBlpfZGA9Uwk2Vl8r4PHE,17040 -numpy/ma/extras.py,sha256=ZbseZmOKCD1f5w8NZP864TtkOWTw5c5KzzPNqmZFeR4,70630 -numpy/ma/extras.pyi,sha256=wQnILkEWPdAfe1iJVKeYp_K8uUou5AacP9gh8z4GBAU,3424 -numpy/ma/mrecords.py,sha256=7xEqcIH6iY8AT0ApnCCfrJvr17boJrgl9loqgbRuhso,27114 -numpy/ma/mrecords.pyi,sha256=xHMSbdNKOeXtZP73NUA7aVmGs9F7sTiqAcYJ1o7QNMA,1983 -numpy/ma/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/ma/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/ma/tests/__pycache__/test_arrayobject.cpython-312.pyc,, -numpy/ma/tests/__pycache__/test_core.cpython-312.pyc,, -numpy/ma/tests/__pycache__/test_deprecations.cpython-312.pyc,, -numpy/ma/tests/__pycache__/test_extras.cpython-312.pyc,, -numpy/ma/tests/__pycache__/test_mrecords.cpython-312.pyc,, -numpy/ma/tests/__pycache__/test_old_ma.cpython-312.pyc,, -numpy/ma/tests/__pycache__/test_regression.cpython-312.pyc,, -numpy/ma/tests/__pycache__/test_subclassing.cpython-312.pyc,, -numpy/ma/tests/test_arrayobject.py,sha256=MSvEcxlsVt4YZ7mVXU8q_hkwM0I7xsxWejEqnUQx6hE,1099 -numpy/ma/tests/test_core.py,sha256=7lmIJfuwYxw4ZH9OB5xXeiLVMzs1FpAHySvqREyXLLo,219203 -numpy/ma/tests/test_deprecations.py,sha256=nq_wFVt2EBHcT3AHxattfKXx2JDf1K5D-QBzUU0_15A,2566 -numpy/ma/tests/test_extras.py,sha256=h0Zc0u4dXlQ3E0qADNYlH7iF4XX3K2A6HiY5hseRwSs,78314 -numpy/ma/tests/test_mrecords.py,sha256=-nFjKUNYG_-gJ6RpZbWnx_TJlmkRAagA7AnVaf9YJfI,19855 -numpy/ma/tests/test_old_ma.py,sha256=BW01_4m8wZcHvAkZ8FIjDmFfusnjgFmGVbRyqbWD000,32753 -numpy/ma/tests/test_regression.py,sha256=foMpI0luAvwkkRpAfPDV_810h1URISXDZhmaNhxb50k,3287 -numpy/ma/tests/test_subclassing.py,sha256=p5N5b5LY1J0pwDCbju0Qt28wZ1Dd2OfZ1dR4tphiFFY,17009 -numpy/ma/testutils.py,sha256=sbiHivmwPQX3fPAPUe9OMktEqrwg1rcr8xgKfMM1Ex0,10272 -numpy/ma/timer_comparison.py,sha256=FC9KhuSVUdyDP-YQUDQXKhUmrTzC8zsOIBrarMISrc4,15711 -numpy/matlib.py,sha256=_SLwSvwuHVy4nzc2lFd49OqK1m6aWPX1YyKgzyW3A-E,10657 -numpy/matrixlib/__init__.py,sha256=BHBpQKoQv4EjT0UpWBA-Ck4L5OsMqTI2IuY24p-ucXk,242 -numpy/matrixlib/__init__.pyi,sha256=hoxSBzgGaB2axvVIKt8wMefSseGWKDjFg3nAx-ZjNoU,105 -numpy/matrixlib/__pycache__/__init__.cpython-312.pyc,, -numpy/matrixlib/__pycache__/defmatrix.cpython-312.pyc,, -numpy/matrixlib/defmatrix.py,sha256=BGV3oVcQ98-gzqMs3WNC0-x76fmfaGS_2bDnLBHPh90,30800 -numpy/matrixlib/defmatrix.pyi,sha256=cOHNMDCN2HVIQcBThHuxNhp_xz4nfBIuEy7LyDybtUs,488 -numpy/matrixlib/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/matrixlib/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/matrixlib/tests/__pycache__/test_defmatrix.cpython-312.pyc,, -numpy/matrixlib/tests/__pycache__/test_interaction.cpython-312.pyc,, -numpy/matrixlib/tests/__pycache__/test_masked_matrix.cpython-312.pyc,, -numpy/matrixlib/tests/__pycache__/test_matrix_linalg.cpython-312.pyc,, -numpy/matrixlib/tests/__pycache__/test_multiarray.cpython-312.pyc,, -numpy/matrixlib/tests/__pycache__/test_numeric.cpython-312.pyc,, -numpy/matrixlib/tests/__pycache__/test_regression.cpython-312.pyc,, -numpy/matrixlib/tests/test_defmatrix.py,sha256=tLHvsnn2xIKLLZULYqhQ1IJOtSdS52BfOOhU8-7jjvA,15035 -numpy/matrixlib/tests/test_interaction.py,sha256=jiLmXS0JtwEx0smkb5hUnY5Slp9I8FwGlYGHKE3iG1w,11895 -numpy/matrixlib/tests/test_masked_matrix.py,sha256=1x3mzFol1GYvVxKXcmRYLi-On3cmK7gEjSVEyvbkh-w,8914 -numpy/matrixlib/tests/test_matrix_linalg.py,sha256=ObbSUXU4R2pWajH__xAdizADrU2kBKDDCxkDV-oVBXc,2059 -numpy/matrixlib/tests/test_multiarray.py,sha256=jB3XCBmAtcqf-Wb9PwBW6uIykPpMPthuXLJ0giTKzZE,554 -numpy/matrixlib/tests/test_numeric.py,sha256=MP70qUwgshTtThKZaZDp7_6U-Z66NIV1geVhasGXejQ,441 -numpy/matrixlib/tests/test_regression.py,sha256=LBkm6_moDjuU9RY4FszgaknOj3IyCp3t-Ej3HJfqpdk,932 -numpy/polynomial/__init__.py,sha256=XNK7ZWsBECCoHnJZ0NqKiF1ErZqvdxszE1NJ6Hc2Vz0,6760 -numpy/polynomial/__init__.pyi,sha256=6NI7z3v8xTwVp3MBMxi_9W0-IZplayxzdx8BWaqymuI,687 -numpy/polynomial/__pycache__/__init__.cpython-312.pyc,, -numpy/polynomial/__pycache__/_polybase.cpython-312.pyc,, -numpy/polynomial/__pycache__/chebyshev.cpython-312.pyc,, -numpy/polynomial/__pycache__/hermite.cpython-312.pyc,, -numpy/polynomial/__pycache__/hermite_e.cpython-312.pyc,, -numpy/polynomial/__pycache__/laguerre.cpython-312.pyc,, -numpy/polynomial/__pycache__/legendre.cpython-312.pyc,, -numpy/polynomial/__pycache__/polynomial.cpython-312.pyc,, -numpy/polynomial/__pycache__/polyutils.cpython-312.pyc,, -numpy/polynomial/_polybase.py,sha256=Nhq-h1fKS_ARFPd6BRqya1gROmqA0KX1_eGON5AyYsw,39451 -numpy/polynomial/_polybase.pyi,sha256=fZLj1aw9-tRf0yQSAXHjETPGgrAeqW9v36nlhDNDeyc,8534 -numpy/polynomial/_polytypes.pyi,sha256=zqNdSGV9EIKoVcZSugAb3sDgFXj99m70Yngkt3jVPW8,22567 -numpy/polynomial/chebyshev.py,sha256=U8Pl0r9l3AV96xISmaDjb-bvbCVT61rm7zWiT5L8_wg,62165 -numpy/polynomial/chebyshev.pyi,sha256=9cJoCeRvzHuunQoCEy2pGOUdCp0KU65q7Tb8pTqLvGU,4725 -numpy/polynomial/hermite.py,sha256=p1bX18L-fUwWFtmu0J4FnahBB9cWLCsUWLkXItQ7zB0,54466 -numpy/polynomial/hermite.pyi,sha256=dm1gYq04GxQu5T4N5LqTYbZblLoXDqZDs6CtmycCU3w,2445 -numpy/polynomial/hermite_e.py,sha256=ce0POlSbqQTqvkcXLIn7v7GqtmEaxc3J1xmaaD8VEfw,52208 -numpy/polynomial/hermite_e.pyi,sha256=klpXixSq5MRTlh6AlN1jRXPDXcnRdgUZPTxQjZpFKhM,2537 -numpy/polynomial/laguerre.py,sha256=dzeRDPs1lvJyVz6XeLu_ynPDF4SEFGjpIhLdmIMkf94,52379 -numpy/polynomial/laguerre.pyi,sha256=QiCFjYZRAuYaty8LelfOvomgal1xFU9-4oKL68l1jyc,2174 -numpy/polynomial/legendre.py,sha256=xoXBoVGToSllDsWHU3nBQJSBQLhJZBhMpA_bemYXDHQ,50994 -numpy/polynomial/legendre.pyi,sha256=SaQ9PZG50KF4g0iQd6B-xYOBz1vTDGtI4wChAINlFZY,2173 -numpy/polynomial/polynomial.py,sha256=lto2jYRcSVM3_PuKm3rbbYkHp4eMbOVX3VSO6rHmBrc,52202 -numpy/polynomial/polynomial.pyi,sha256=Y4yeYfi879s5_Xm3SqdRmhQhbgJJBRRbajhCj1irTSw,2002 -numpy/polynomial/polyutils.py,sha256=gF4_BiLkY8ySFlzawPVxr2Zcnoos3SMRn2dpsB0yP4c,22530 -numpy/polynomial/polyutils.pyi,sha256=XYAYqUmjZVS_49uDszZE3SNI_lxJgx1SkjqqBVDrz44,10426 -numpy/polynomial/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/polynomial/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_chebyshev.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_classes.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_hermite.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_hermite_e.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_laguerre.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_legendre.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_polynomial.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_polyutils.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_printing.cpython-312.pyc,, -numpy/polynomial/tests/__pycache__/test_symbol.cpython-312.pyc,, -numpy/polynomial/tests/test_chebyshev.py,sha256=6tMsFP1h7K8Zf72mNOta6Tv52_fVTlXknseuffj080c,20522 -numpy/polynomial/tests/test_classes.py,sha256=Tf6p3qCINxOfh7hsOdVp81-CJPkqNg1HnH2smcWbRBw,18450 -numpy/polynomial/tests/test_hermite.py,sha256=0iUoYpgXiLrqm_dWD45Cs1PFJ8fHADFtlBN4TkLNNQw,18576 -numpy/polynomial/tests/test_hermite_e.py,sha256=_A3ohAWS4HXrQG06S8L47dImdZGTwYosCXnoyw7L45o,18911 -numpy/polynomial/tests/test_laguerre.py,sha256=5ku3xe4Gv5-eAGhyqwKj460mqoHvM5r_qsGu6P8J0es,17510 -numpy/polynomial/tests/test_legendre.py,sha256=4AXrwrxCQoQ5cIMlYJpHJnAiaikLfvlL-T5TY7z9mzo,18672 -numpy/polynomial/tests/test_polynomial.py,sha256=bkIpTFGh3ypMAZCulWYw6ZPFpqrlbbSAoivrIwBQAtw,22013 -numpy/polynomial/tests/test_polyutils.py,sha256=ULZMU2soHOZ4uO0eJoRjxNkT3yGURuX35MXx1Bg5Wyk,3772 -numpy/polynomial/tests/test_printing.py,sha256=99Qi6N880A3iyRZG5_AsZkDAKkFCUKgOZCp9ZhNMrOQ,21302 -numpy/polynomial/tests/test_symbol.py,sha256=Hg-V7jR7qz5FKg_DrlkaiFcCI1UujYFUJfpf2TuoJZM,5372 -numpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/random/LICENSE.md,sha256=EDFmtiuARDr7nrNIjgUuoGvgz_VmuQjxmeVh_eSa8Z8,3511 -numpy/random/__init__.pxd,sha256=9JbnX540aJNSothGs-7e23ozhilG6U8tINOUEp08M_k,431 -numpy/random/__init__.py,sha256=81Thnexg5umN5WZwD5TRyzNc2Yp-d14B6UC7NBgVKh8,7506 -numpy/random/__init__.pyi,sha256=ETVwiw_jFxeouKFkzq0ociR0bJgLz3L3OBixxBv9Jho,2158 -numpy/random/__pycache__/__init__.cpython-312.pyc,, -numpy/random/__pycache__/_pickle.cpython-312.pyc,, -numpy/random/_bounded_integers.cpython-312-x86_64-linux-gnu.so,sha256=RAaqFsOlcDG7XTgEW_q09NN87l0HmdVSImg3YZctEPg,340264 -numpy/random/_bounded_integers.pxd,sha256=SH_FwJDigFEInhdliSaNH2H2ZIZoX02xYhNQA81g2-g,1678 -numpy/random/_common.cpython-312-x86_64-linux-gnu.so,sha256=Eez0Mj7obM4C10sqTQMb8-hV3ZfpXTXtHLeM_ZiANVs,263144 -numpy/random/_common.pxd,sha256=7kGArYkBcemrxJcSttwvtDGbimLszdQnZdNvPMgN5xQ,4982 -numpy/random/_examples/cffi/__pycache__/extending.cpython-312.pyc,, -numpy/random/_examples/cffi/__pycache__/parse.cpython-312.pyc,, -numpy/random/_examples/cffi/extending.py,sha256=xSla3zWqxi6Hj48EvnYfD3WHfE189VvC4XsKu4_T_Iw,880 -numpy/random/_examples/cffi/parse.py,sha256=Z69FYSY6QQnZAJdIVlE-I2JAkEutRbdvZDXlm633Ynk,1751 -numpy/random/_examples/cython/extending.pyx,sha256=ePnHDNfMQcTUzAqgFiEqrTFr9BoDmbqgjxzrDLvV8fE,2267 -numpy/random/_examples/cython/extending_distributions.pyx,sha256=YCgFXHb7esnir-QmoAlde4y91FYuRMT94UNg9yb-Y4A,3847 -numpy/random/_examples/cython/meson.build,sha256=GxZZT_Lu3nZsgcqo_7sTR_IdMJaHA1fxyjwrQTcodPs,1694 -numpy/random/_examples/numba/__pycache__/extending.cpython-312.pyc,, -numpy/random/_examples/numba/__pycache__/extending_distributions.cpython-312.pyc,, -numpy/random/_examples/numba/extending.py,sha256=Ipyzel_h5iU_DMJ_vnXUgQC38uMDMn7adUpWSeEQLFE,1957 -numpy/random/_examples/numba/extending_distributions.py,sha256=M3Rt9RKupwEq71JjxpQFbUO7WKSOuLfR1skRM2a-hbI,2036 -numpy/random/_generator.cpython-312-x86_64-linux-gnu.so,sha256=fyLp3giWqFU3_E6CPmSmDfF817NnmtkDrRySHsTv9IU,1030872 -numpy/random/_generator.pyi,sha256=-CC6x_XQedNhX7WRH7Z0puQTU9gkdaYWc2XHRYJqE8s,24710 -numpy/random/_mt19937.cpython-312-x86_64-linux-gnu.so,sha256=jpCjBrWHgT6uulQauC5A0cZNoodqXQDq2NDqCaBBWtc,145160 -numpy/random/_mt19937.pyi,sha256=nX9OPiLcGFXn5cIE9k1TpvmVB0UBi9rlTsvGW5GP-Z0,775 -numpy/random/_pcg64.cpython-312-x86_64-linux-gnu.so,sha256=B1Op6IwznXmlTpDVu5QekHPWDDhEX-iXgCjv4RBnuZY,147256 -numpy/random/_pcg64.pyi,sha256=gljmVLjVlgAMWGzQa6pzlzNW5H8kBvgDseQfIQcjy3k,1142 -numpy/random/_philox.cpython-312-x86_64-linux-gnu.so,sha256=U-2aCvzgew6hvVzrXXOG79aGnwJsjOw5Hp_aW7Oxc1Y,128120 -numpy/random/_philox.pyi,sha256=xf8EUX7Wa7-tYSU0LntUxMDVrNVcmjgACbubrb0O5sI,1005 -numpy/random/_pickle.py,sha256=4iS9ofvvuD0KKMtRpZEdBslH79blhK8wtjqxeWN_gcE,2743 -numpy/random/_sfc64.cpython-312-x86_64-linux-gnu.so,sha256=UOfgT-GvvqE_AZjpaMdHCIQrrealoQzXFIRN3L8nA6k,93024 -numpy/random/_sfc64.pyi,sha256=gdDHDFsH-o-OB6zKJJqj8vNYvRm0GMXHApikapFvv50,682 -numpy/random/bit_generator.cpython-312-x86_64-linux-gnu.so,sha256=hpR_2773Pa1s-Uia-wIdzjTcV-Hph7_mxG1Llks4s8k,245336 -numpy/random/bit_generator.pxd,sha256=lArpIXSgTwVnJMYc4XX0NGxegXq3h_QsUDK6qeZKbNc,1007 -numpy/random/bit_generator.pyi,sha256=_JCFYZVGRKF9cKJ2fZTQxRqdxaNj98k0ABJm6IxMcE0,3687 -numpy/random/c_distributions.pxd,sha256=UCtqx0Nf-vHuJVaqPlLFURWnaI1vH-vJRE01BZDTL9o,6335 -numpy/random/lib/libnpyrandom.a,sha256=-1eNSFrUGkCTqr47fgZpBAXE8Qa0kpQAYOlGJJctVWw,72270 -numpy/random/mtrand.cpython-312-x86_64-linux-gnu.so,sha256=wgydlnJRb-6vdSYAVhmFgquYiQi5Ogx_jddPAACbjcQ,818568 -numpy/random/mtrand.pyi,sha256=NUzAPLtDaft-xJlKUx4u1e3QwnofZbWgt2KEV8_GiAY,22018 -numpy/random/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/random/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_direct.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_extending.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_generator_mt19937.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_generator_mt19937_regressions.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_random.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_randomstate.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_randomstate_regression.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_regression.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_seed_sequence.cpython-312.pyc,, -numpy/random/tests/__pycache__/test_smoke.cpython-312.pyc,, -numpy/random/tests/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/random/tests/data/__pycache__/__init__.cpython-312.pyc,, -numpy/random/tests/data/generator_pcg64_np121.pkl.gz,sha256=EfQ-X70KkHgBAFX2pIPcCUl4MNP1ZNROaXOU75vdiqM,203 -numpy/random/tests/data/generator_pcg64_np126.pkl.gz,sha256=fN8deNVxX-HELA1eIZ32kdtYvc4hwKya6wv00GJeH0Y,208 -numpy/random/tests/data/mt19937-testset-1.csv,sha256=Xkef402AVB-eZgYQkVtoxERHkxffCA9Jyt_oMbtJGwY,15844 -numpy/random/tests/data/mt19937-testset-2.csv,sha256=nsBEQNnff-aFjHYK4thjvUK4xSXDSfv5aTbcE59pOkE,15825 -numpy/random/tests/data/pcg64-testset-1.csv,sha256=xB00DpknGUTTCxDr9L6aNo9Hs-sfzEMbUSS4t11TTfE,23839 -numpy/random/tests/data/pcg64-testset-2.csv,sha256=NTdzTKvG2U7_WyU_IoQUtMzU3kEvDH39CgnR6VzhTkw,23845 -numpy/random/tests/data/pcg64dxsm-testset-1.csv,sha256=vNSUT-gXS_oEw_awR3O30ziVO4seNPUv1UIZ01SfVnI,23833 -numpy/random/tests/data/pcg64dxsm-testset-2.csv,sha256=uylS8PU2AIKZ185OC04RBr_OePweGRtvn-dE4YN0yYA,23839 -numpy/random/tests/data/philox-testset-1.csv,sha256=SedRaIy5zFadmk71nKrGxCFZ6BwKz8g1A9-OZp3IkkY,23852 -numpy/random/tests/data/philox-testset-2.csv,sha256=dWECt-sbfvaSiK8-Ygp5AqyjoN5i26VEOrXqg01rk3g,23838 -numpy/random/tests/data/sfc64-testset-1.csv,sha256=iHs6iX6KR8bxGwKk-3tedAdMPz6ZW8slDSUECkAqC8Q,23840 -numpy/random/tests/data/sfc64-testset-2.csv,sha256=FIDIDFCaPZfWUSxsJMAe58hPNmMrU27kCd9FhCEYt_k,23833 -numpy/random/tests/data/sfc64_np126.pkl.gz,sha256=MVa1ylFy7DUPgUBK-oIeKSdVl4UYEiN3AZ7G3sdzzaw,290 -numpy/random/tests/test_direct.py,sha256=Ce2wQHcNV33qnkeHbORji-SW55RnHQ2vUdGXK1YVJBk,19956 -numpy/random/tests/test_extending.py,sha256=po8h6ASy9-C0LHPKKpjYyAokOSj_xKh9FeQAavb4GBA,4435 -numpy/random/tests/test_generator_mt19937.py,sha256=2-kLPE1yPSo-SMuBoTNtbYoTvJLecI3GxUy2wlInHGo,117294 -numpy/random/tests/test_generator_mt19937_regressions.py,sha256=r2wzyXTRfyVk__f2PO9yKPRdwx5ez671OQyAglMfPpc,8094 -numpy/random/tests/test_random.py,sha256=i44DXCHEBtKtOzwSBfADh_kBSjMPgaCJYHdFfs6sfCQ,70150 -numpy/random/tests/test_randomstate.py,sha256=Cp-op2kfopZ8wq-SBQ12Mh5RQ0p8mcBQHYSh0h-DegU,85275 -numpy/random/tests/test_randomstate_regression.py,sha256=xS_HOwtijRdgq-gZn0IDUcm0NxdjjJXYv6ex8WN7FPU,7999 -numpy/random/tests/test_regression.py,sha256=RbAzZYLfyzUKmup5uJR19sK2N17L_d1rLRy-CWjtIaQ,5462 -numpy/random/tests/test_seed_sequence.py,sha256=GNRJ4jyzrtfolOND3gUWamnbvK6-b_p1bBK_RIG0sfU,3311 -numpy/random/tests/test_smoke.py,sha256=CsXvEgv1T3wvCAH6qYu8RCWoQOaI4_gm7aWNhAS4QRg,28174 -numpy/rec/__init__.py,sha256=w2G_npkmqm5vrWgds8V6Gusehmi1bRbiqCxsl9yOjow,83 -numpy/rec/__init__.pyi,sha256=NWclXeZGtb9EvxymXj71lqOCKxcZPZawS-JJkc54_zQ,346 -numpy/rec/__pycache__/__init__.cpython-312.pyc,, -numpy/strings/__init__.py,sha256=-hT1HYpbswLkRWswieJQwAYn72IAwuaSCA5S1sdSPMk,83 -numpy/strings/__init__.pyi,sha256=lDQvuJEXEx7Iw-8E-srZS6RkJzN19GQ_POsbyhFWMec,1295 -numpy/strings/__pycache__/__init__.cpython-312.pyc,, -numpy/testing/__init__.py,sha256=InpVKoDAzMKO_l_HNcatziW_u1k9_JZze__t2nybrL0,595 -numpy/testing/__init__.pyi,sha256=AXTbTd5vyfpkwK1cbIsg9Z88UgYwjC0j5ehHEU8QK2k,1973 -numpy/testing/__pycache__/__init__.cpython-312.pyc,, -numpy/testing/__pycache__/overrides.cpython-312.pyc,, -numpy/testing/__pycache__/print_coercion_tables.cpython-312.pyc,, -numpy/testing/_private/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/testing/_private/__pycache__/__init__.cpython-312.pyc,, -numpy/testing/_private/__pycache__/extbuild.cpython-312.pyc,, -numpy/testing/_private/__pycache__/utils.cpython-312.pyc,, -numpy/testing/_private/extbuild.py,sha256=fy4Dl-CqMtqBu6MShJNIe9DAuYH8kN_XZlUdOVcb1hQ,8106 -numpy/testing/_private/utils.py,sha256=S8p1rDBOJDdEw3AXQMGUpdMatEtiMI60DFh49peBwB0,93167 -numpy/testing/_private/utils.pyi,sha256=P7bhLP1ApZu_gIFByv8EinAoKd7Cm41dQAUcCtq_8Ns,11417 -numpy/testing/overrides.py,sha256=IiVwsm3cDwnJdrk0FUFh7JLJYEnR_AfYWQRqWIeOFNQ,2133 -numpy/testing/print_coercion_tables.py,sha256=v9RlpFnOlaw34QGWnDIovDGhG1clwGhha0UnCqni0RE,6223 -numpy/testing/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/testing/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/testing/tests/__pycache__/test_utils.cpython-312.pyc,, -numpy/testing/tests/test_utils.py,sha256=eMHfDFj21KcKuv8-aWhwdm3rHhIirtUkZJss-Qffggw,70456 -numpy/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/tests/__pycache__/test__all__.cpython-312.pyc,, -numpy/tests/__pycache__/test_configtool.cpython-312.pyc,, -numpy/tests/__pycache__/test_ctypeslib.cpython-312.pyc,, -numpy/tests/__pycache__/test_lazyloading.cpython-312.pyc,, -numpy/tests/__pycache__/test_matlib.cpython-312.pyc,, -numpy/tests/__pycache__/test_numpy_config.cpython-312.pyc,, -numpy/tests/__pycache__/test_numpy_version.cpython-312.pyc,, -numpy/tests/__pycache__/test_public_api.cpython-312.pyc,, -numpy/tests/__pycache__/test_reloading.cpython-312.pyc,, -numpy/tests/__pycache__/test_scripts.cpython-312.pyc,, -numpy/tests/__pycache__/test_warnings.cpython-312.pyc,, -numpy/tests/test__all__.py,sha256=L3mCnYPTpzAgNfedVuq9g7xPWbc0c1Pot94k9jZ9NpI,221 -numpy/tests/test_configtool.py,sha256=lhtwsoUPSOSdgnSdxvrvS4roiid86eWzSrGjdrKkH7g,1555 -numpy/tests/test_ctypeslib.py,sha256=c0x56qlAMnxTCO9MiuV05LCoqju8cidHj1URV5gOwQE,12351 -numpy/tests/test_lazyloading.py,sha256=R3Idpr9XIZ8C83sy8NvWSsh9knKxi42TAON13HpGRq0,1159 -numpy/tests/test_matlib.py,sha256=gwhIXrJJo9DiecaGLCHLJBjhx2nVGl6yHq80AOUQSRM,1852 -numpy/tests/test_numpy_config.py,sha256=x0OH4_gNx-13qw1_GYihFel1S4bWEzbrR_VT-H9x4tQ,1233 -numpy/tests/test_numpy_version.py,sha256=2d0EtPJZYP3XRE6C6rfJW6QsPlFoDxqgO1yPxObaiE0,1754 -numpy/tests/test_public_api.py,sha256=mG_c04GeGEue8ppN5G8djdNyVFe4vKUiBLoiO4h-dhU,27664 -numpy/tests/test_reloading.py,sha256=sGu5XM-_VCNphyJcY5VCoQCmy5MgtL6_hDnsqf2j_ro,2367 -numpy/tests/test_scripts.py,sha256=jluCLfG94VM1cuX-5RcLFBli_yaJZpIvmVuMxRKRJrc,1645 -numpy/tests/test_warnings.py,sha256=HOqWSVu80PY-zacrgMfzPF0XPqEC24BNSw6Lmvw32Vg,2346 -numpy/typing/__init__.py,sha256=ph9_WtDCJ7tKrbbRcz5OZEbXwxRXZfzSd2K1mLab910,5267 -numpy/typing/__pycache__/__init__.cpython-312.pyc,, -numpy/typing/__pycache__/mypy_plugin.cpython-312.pyc,, -numpy/typing/mypy_plugin.py,sha256=eghgizS6dx7VuQiNbQg_cCfzNBb7Kyt3AomPNB8uml0,6470 -numpy/typing/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -numpy/typing/tests/__pycache__/__init__.cpython-312.pyc,, -numpy/typing/tests/__pycache__/test_isfile.cpython-312.pyc,, -numpy/typing/tests/__pycache__/test_runtime.cpython-312.pyc,, -numpy/typing/tests/__pycache__/test_typing.cpython-312.pyc,, -numpy/typing/tests/data/fail/arithmetic.pyi,sha256=i1VendLIk9XFEuqNBfXqYywFpNIeb9Rr7ih9KZPPp64,3781 -numpy/typing/tests/data/fail/array_constructors.pyi,sha256=SjiwoGrefYsuScJcBQZlwzfvENADeRMxHYCDCo685Vc,1129 -numpy/typing/tests/data/fail/array_like.pyi,sha256=OVAlEJZ5k8ZRKt0aGpZQwIjlUGpy0PzOOYqfI-IMqBQ,455 -numpy/typing/tests/data/fail/array_pad.pyi,sha256=57oK0Yp53rtKjjIrRFYLcxa-IfIGhtI-bEem7ggJKwI,132 -numpy/typing/tests/data/fail/arrayprint.pyi,sha256=f27hi9dyYgh3JbEuvFroYwTKU2a7ZUKUcOEgqiZLioo,590 -numpy/typing/tests/data/fail/arrayterator.pyi,sha256=Qb7oMI1GdDQO_jcoJEAsMkXLjzOdcb3sx-b5mW73cAE,470 -numpy/typing/tests/data/fail/bitwise_ops.pyi,sha256=gJ-ZL-e-yMbHMRKUv8r2KqJ08Mkgpg74nUe6lgi2RDU,583 -numpy/typing/tests/data/fail/char.pyi,sha256=Zi3dygeaxHT8-5aFNCAreGU-T89zLg5pcE6c9NBCs6c,2712 -numpy/typing/tests/data/fail/chararray.pyi,sha256=wdBMnihqJoeEMdSKz5Ur60qCDCVmiuHdTl4WmriTanc,2307 -numpy/typing/tests/data/fail/comparisons.pyi,sha256=YrcL2POtM1g8GEWW4AJMl9vAkV-lG_6kEb7FzueeiLU,822 -numpy/typing/tests/data/fail/constants.pyi,sha256=IzmswvmTKbAOkCjgyxu1jChlikIwqeAETHGVH2TtY0k,85 -numpy/typing/tests/data/fail/datasource.pyi,sha256=gACpSdzMDej9WZbNvDQlkWX9DvHD7DjucesbH0EWEaM,405 -numpy/typing/tests/data/fail/dtype.pyi,sha256=OAGABqdXNB8gClJFEGMckoycuZcIasMaAlS2RkiKROI,334 -numpy/typing/tests/data/fail/einsumfunc.pyi,sha256=32Bsrr3ueX2CMaiBZN1xLGGsbjqKZWF2WopvNWRqCT4,487 -numpy/typing/tests/data/fail/flatiter.pyi,sha256=JcggwDkKcMWDBz0Ky8-dkJzjwnKxQ-kyea5br5DDqq0,866 -numpy/typing/tests/data/fail/fromnumeric.pyi,sha256=NuOpn-kPy4g80PlAVVQZfhXwP6wITijvyTs0_uuzAyw,5703 -numpy/typing/tests/data/fail/histograms.pyi,sha256=yAPVt0rYTwtxnigoGT-u7hhKCE9iYxsXc24x2HGBrmA,367 -numpy/typing/tests/data/fail/index_tricks.pyi,sha256=moINir9iQoi6Q1ZuVg5BuSB9hSBtbg_uzv-Qm_lLYZk,509 -numpy/typing/tests/data/fail/lib_function_base.pyi,sha256=0FBv6CYJMDrL0U9cGsiO5a0boUrBCSB4eFHHLVjBzEo,2689 -numpy/typing/tests/data/fail/lib_polynomial.pyi,sha256=Ur7Y4iZX6WmoH5SDm0ePi8C8LPsuPs2Yr7g7P5O613g,899 -numpy/typing/tests/data/fail/lib_utils.pyi,sha256=6oI_kPhJqL0P0q-rsC3WtGso3V-hF7ntbNUmbhUPfXE,96 -numpy/typing/tests/data/fail/lib_version.pyi,sha256=7-ZJDZwDcB-wzpMN8TeYtZAgaqc7xnQ8Dnx2ISiX2Ts,158 -numpy/typing/tests/data/fail/linalg.pyi,sha256=yDd05aK1dI37RPt3pD2eJYo4dZFaT2yB1PEu3K0y9Tg,1322 -numpy/typing/tests/data/fail/memmap.pyi,sha256=HSTCQYNuW1Y6X1Woj361pN4rusSPs4oDCXywqk20yUo,159 -numpy/typing/tests/data/fail/modules.pyi,sha256=_ek4zKcdP-sIh_f-IDY0tP-RbLORKCSWelM9AOYxsyA,670 -numpy/typing/tests/data/fail/multiarray.pyi,sha256=1_9X7BW6hukiappz0kn3WCWN6OWXtT6OQqmJmJpdkfQ,1643 -numpy/typing/tests/data/fail/ndarray.pyi,sha256=cgoWlpQqBQ5pkfiYsoz2f6o-DASrVRCraKBCgXLJQSk,404 -numpy/typing/tests/data/fail/ndarray_misc.pyi,sha256=VaPL5mDB0OkHpDslehpIG_420O5-qDGNnLMCMJfwQVo,1333 -numpy/typing/tests/data/fail/nditer.pyi,sha256=w7emjnOxnf3NcvLktNLlke6Cuivn2gU3sVmGCfbG6rw,325 -numpy/typing/tests/data/fail/nested_sequence.pyi,sha256=em4GZwLDFE0QSxxg081wVwhh-Dmtkn8f7wThI0DiXVs,427 -numpy/typing/tests/data/fail/npyio.pyi,sha256=Jsl8KB55PwQ2Xz9jXtL3j-G1RIQLCcEuLJmO_o3hZBI,628 -numpy/typing/tests/data/fail/numerictypes.pyi,sha256=jl_pxMAq_VmkaK13-sfhUOUYGAQ4OV2pQ1d7wG-DNZg,120 -numpy/typing/tests/data/fail/random.pyi,sha256=0sFOsJeHwYc1cUNF-MByWONEF_MP8CQWTjdyGFvgl90,2821 -numpy/typing/tests/data/fail/rec.pyi,sha256=Ws3TyesnoQjt7Q0wwtpShRDJmZCs2jjP17buFMomVGA,704 -numpy/typing/tests/data/fail/scalars.pyi,sha256=nJ0THBw-NnhJ8EX7_VXNmyc-GMh5XYGGJMMI1NZMbgw,2914 -numpy/typing/tests/data/fail/shape.pyi,sha256=pSxiQ6Stq60xGFKOGZUsisxIO0y4inJ8UpKeio89K04,137 -numpy/typing/tests/data/fail/shape_base.pyi,sha256=Y_f4buHtX2Q2ZA4kaDTyR8LErlPXTzCB_-jBoScGh_Q,152 -numpy/typing/tests/data/fail/stride_tricks.pyi,sha256=IjA0Xrnx0lG3m07d1Hjbhtyo1Te5cXgjgr5fLUo4LYQ,315 -numpy/typing/tests/data/fail/strings.pyi,sha256=Ych_ZB8iCMPRmkdwRaPVqJDvI-yFJ5ojxVOiRAHFdug,2629 -numpy/typing/tests/data/fail/testing.pyi,sha256=RGwcqQd4V6A5REU9kUmCmynEHc-RKo66q7u3PdldNb4,1362 -numpy/typing/tests/data/fail/twodim_base.pyi,sha256=eRFtqBbwkVI6G6MZMVpep1UKnFMDYzhrN82fO3ilnH0,898 -numpy/typing/tests/data/fail/type_check.pyi,sha256=CIyI0j0Buxv0QgCvNG2urjaKpoIZ-ZNawC2m6NzGlbo,379 -numpy/typing/tests/data/fail/ufunc_config.pyi,sha256=0t_yJ4eVOhneDSfa3EsoTh6RreyMtkHVOi9oQ35_EW0,734 -numpy/typing/tests/data/fail/ufunclike.pyi,sha256=JsJ3M8QZv9-6GKwRnojJGIfeIkdtJFe-3ix5reLXx-M,627 -numpy/typing/tests/data/fail/ufuncs.pyi,sha256=8N8m_GbRAH0bWjDEzYnH4MREX86iBD46Ug9mm-vc1co,476 -numpy/typing/tests/data/fail/warnings_and_errors.pyi,sha256=KXExnFGz9O7Veut_U7YEIpi6x-BdfeaGtpqWf1Yd274,185 -numpy/typing/tests/data/misc/extended_precision.pyi,sha256=bS8bBeCFqjgtOiy-8_y39wfa7rwhdjLz2Vmo-RXAYD4,884 -numpy/typing/tests/data/mypy.ini,sha256=6yPaDeYIVWc-WNRdSjAYOGlSVCWkmcge2Te8JAmhjpI,285 -numpy/typing/tests/data/pass/__pycache__/arithmetic.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/array_constructors.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/array_like.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/arrayprint.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/arrayterator.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/bitwise_ops.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/comparisons.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/dtype.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/einsumfunc.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/flatiter.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/fromnumeric.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/index_tricks.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/lib_utils.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/lib_version.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/literal.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/ma.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/mod.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/modules.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/multiarray.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/ndarray_conversion.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/ndarray_misc.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/ndarray_shape_manipulation.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/numeric.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/numerictypes.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/random.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/scalars.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/shape.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/simple.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/simple_py3.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/ufunc_config.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/ufunclike.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/ufuncs.cpython-312.pyc,, -numpy/typing/tests/data/pass/__pycache__/warnings_and_errors.cpython-312.pyc,, -numpy/typing/tests/data/pass/arithmetic.py,sha256=e71PA71VJitjkF8wrmui2F2zoTt0iOCW2tfbCpNDYlQ,7447 -numpy/typing/tests/data/pass/array_constructors.py,sha256=rfJ8SRB4raElxRjsHBCsZIkZAfqZMie0VE8sSKMgkHg,2447 -numpy/typing/tests/data/pass/array_like.py,sha256=ddPI6pA27qnp1INWs4Yi3wCqoVypSRMxstO771WQS5c,1056 -numpy/typing/tests/data/pass/arrayprint.py,sha256=y_KkuLz1uM7pv53qfq7GQOuud4LoXE3apK1wtARdVyM,766 -numpy/typing/tests/data/pass/arrayterator.py,sha256=FqcpKdUQBQ0FazHFxr9MsLEZG-jnJVGKWZX2owRr4DQ,393 -numpy/typing/tests/data/pass/bitwise_ops.py,sha256=FmEs_sKaU9ox-5f0NU3_TRIv0XxLQVEZ8rou9VNehb4,964 -numpy/typing/tests/data/pass/comparisons.py,sha256=0H6YT3cRqKkWNwX-VXJPZG3Xh6xvjkogADQH8zInk0c,2993 -numpy/typing/tests/data/pass/dtype.py,sha256=YDuYAb0oKoJc9eOnKJuoPfLbIKOgEdE04_CYxRS4U5I,1070 -numpy/typing/tests/data/pass/einsumfunc.py,sha256=eXj5L5MWPtQHgrHPsJ36qqrmBHqct9UoujjJCvHnF1k,1370 -numpy/typing/tests/data/pass/flatiter.py,sha256=0BnbuLMBC7MQlprNZ0QhNSscfYwPhEhXOhWoyiRACWU,174 -numpy/typing/tests/data/pass/fromnumeric.py,sha256=d_hVLyrVDFPVx33aqLIyAGYYQ8XAJFIzrAsE8QCoof4,3991 -numpy/typing/tests/data/pass/index_tricks.py,sha256=oaFD9vY01_RI5OkrXt-xTk1n_dd-SpuPp-eZ58XR3c8,1492 -numpy/typing/tests/data/pass/lib_utils.py,sha256=bj1sEA4gsmezqbYdqKnVtKzY_fb64w7PEoZwNvaaUdA,317 -numpy/typing/tests/data/pass/lib_version.py,sha256=HnuGOx7tQA_bcxFIJ3dRoMAR0fockxg4lGqQ4g7LGIw,299 -numpy/typing/tests/data/pass/literal.py,sha256=WKT1I15Iw37bqkgBlY1h1_Kb_gs1Qme8Wy3wTr0op90,1504 -numpy/typing/tests/data/pass/ma.py,sha256=slJZQFGPI4I13qc-CRfreEGhIUk4TdFk-Pv75yWanNM,171 -numpy/typing/tests/data/pass/mod.py,sha256=owFL1fys3LPTWpAlsjS-IzW4sSu98ncp2BnsIetLSrA,1576 -numpy/typing/tests/data/pass/modules.py,sha256=g9PhyLO6rflYHZtmryx1VWTubphN4TAPUSfoiYriTqE,625 -numpy/typing/tests/data/pass/multiarray.py,sha256=MxHax6l94yqlTVZleAqG77ILEbW6wU5osPcHzxJ85ns,1331 -numpy/typing/tests/data/pass/ndarray_conversion.py,sha256=d7cFNUrofdLXh9T_9RG3Esz1XOihWWQNlz5Lb0yt6dM,1525 -numpy/typing/tests/data/pass/ndarray_misc.py,sha256=UOZZdelG843BuO11QAvfnB2W6NRA0aCsVnCoukQJTxk,2619 -numpy/typing/tests/data/pass/ndarray_shape_manipulation.py,sha256=37eYwMNqMLwanIW9-63hrokacnSz2K_qtPUlkdpsTjo,640 -numpy/typing/tests/data/pass/numeric.py,sha256=wbmYMkK1LM34jjFek8VFJYyade_L6u7XqjpdqGyoRwU,1625 -numpy/typing/tests/data/pass/numerictypes.py,sha256=6x6eN9-5NsSQUSc6rf3fYieS2poYEY0t_ujbwgF9S5Q,331 -numpy/typing/tests/data/pass/random.py,sha256=UJF6epKYGfGq9QlrR9YuA7EK_mI8AQ2osdA4Uhsh1ms,61824 -numpy/typing/tests/data/pass/scalars.py,sha256=3f9U2THr8sgUZC214bQkNSaH-aXRDncAhsXVhk5oLBE,3382 -numpy/typing/tests/data/pass/shape.py,sha256=0nyLAArcbN6JQQDqBhLkJ_nYj5z0zpQnaZLWIMPO8PQ,449 -numpy/typing/tests/data/pass/simple.py,sha256=psbKB3YxN6ZfK9rX0XFX6ebCyOP7a3rXdzfEIePSEVU,2718 -numpy/typing/tests/data/pass/simple_py3.py,sha256=HuLrc5aphThQkLjU2_19KgGFaXwKOfSzXe0p2xMm8ZI,96 -numpy/typing/tests/data/pass/ufunc_config.py,sha256=uzXOhCl9N4LPV9hV2Iqg_skgkKMbBPBF0GXPU9EMeuE,1205 -numpy/typing/tests/data/pass/ufunclike.py,sha256=U4Aay11VALvm22bWEX0eDWuN5qxJlg_hH5IpOL62M3I,1125 -numpy/typing/tests/data/pass/ufuncs.py,sha256=1Rem_geEm4qyD3XaRA1NAPKwr3YjRq68zbIlC_Xhi9M,422 -numpy/typing/tests/data/pass/warnings_and_errors.py,sha256=ETLZkDTGpZspvwjVYAZlnA1gH4PJ4bSY5PkWyxTjusU,161 -numpy/typing/tests/data/reveal/arithmetic.pyi,sha256=ys7G4llualKUszBJDlsP8MWzqKBL83LuSoLXJW_3eys,21448 -numpy/typing/tests/data/reveal/array_api_info.pyi,sha256=1LZSBV-FCdju6HBjBCJOLdcuMVuEdSN8-fkx-rldUZg,3047 -numpy/typing/tests/data/reveal/array_constructors.pyi,sha256=wj8E5M-AZc8jzRGs6By0exyaliT5PNH-U9c_i0aUF_s,12181 -numpy/typing/tests/data/reveal/arraypad.pyi,sha256=m8yoSEuxGmbHDnTIXBN-ZHAI6rMEtre65Yk3Uopdogg,688 -numpy/typing/tests/data/reveal/arrayprint.pyi,sha256=8I-_vItFAU5e4B6Ty9wsa_Y1Nzw3lh_EvmSokbClUW8,817 -numpy/typing/tests/data/reveal/arraysetops.pyi,sha256=kLe4oBw3Oqhg-XxEjlUeaOOobSyW_0zUQYnfp3fvh4w,4474 -numpy/typing/tests/data/reveal/arrayterator.pyi,sha256=LKnpHT_L3_qzzeAORwVlWCLtJoo_42GXN2ZHyuWx9T0,1069 -numpy/typing/tests/data/reveal/bitwise_ops.pyi,sha256=sEVMpf-QBsTDAEaiM9obInASKTDRQLVk2Ej8DWN5nLY,5049 -numpy/typing/tests/data/reveal/char.pyi,sha256=wzkpRgHWgv4wQ1_KMnjakWN3B_p283kHn8TmP5nYJTY,10846 -numpy/typing/tests/data/reveal/chararray.pyi,sha256=mbUYgjsaPHUcsQsCXkUo8Fi3H6gB84hQEo4DaM0US_o,6651 -numpy/typing/tests/data/reveal/comparisons.pyi,sha256=iZeK0iGQIiYt1IULgT7S1tR_feHyGkaY8wUaO9KOK3o,7225 -numpy/typing/tests/data/reveal/constants.pyi,sha256=rXWIPvzafsXTbyTNOYfbUlK_j5xiz3XFNIGIrl7aKQI,362 -numpy/typing/tests/data/reveal/ctypeslib.pyi,sha256=DIPa9-dZLtghcevcABNQ3hpWiiPqdbpA2TT7SmrWyJE,4737 -numpy/typing/tests/data/reveal/datasource.pyi,sha256=ROEU-LBTqzDCV_afVI-cb4qdn0UFWvSj9pjHsArBQyE,613 -numpy/typing/tests/data/reveal/dtype.pyi,sha256=HixGg1j04wcoAs28hpQOKBAqEWkfEkC1hHVxu-ouFjw,5094 -numpy/typing/tests/data/reveal/einsumfunc.pyi,sha256=BZZQikSpk-ePbbWkW2b1VO1_BXFlaqQt2d0BYKE7WTQ,1956 -numpy/typing/tests/data/reveal/emath.pyi,sha256=CHRd-4151gruyI2sao65epcdtaLdnGzmHfF3MJFIeNc,2335 -numpy/typing/tests/data/reveal/false_positives.pyi,sha256=AndOcBR-fruBO6qwoRF_QJdIkn0CaRaldIQqYxHLHrA,394 -numpy/typing/tests/data/reveal/fft.pyi,sha256=lcl6ZRCWilYyynSB12HyTmGa0ZEKDIhKqMRrgOLisiM,1661 -numpy/typing/tests/data/reveal/flatiter.pyi,sha256=M4dnFct3SheA2EkpIrR3ECxP5pAjjnC5C5Aelkb6DAk,1377 -numpy/typing/tests/data/reveal/fromnumeric.pyi,sha256=LswDsaphhXJ-FvCNqtHHb7fQRMQMmxW9LnSZkyjnMaQ,15053 -numpy/typing/tests/data/reveal/getlimits.pyi,sha256=FP6d4LrkydJ7KRJ2tIfBvjKW0FyAio6XxIhKca8EJvs,1582 -numpy/typing/tests/data/reveal/histograms.pyi,sha256=ttfsdZBRqQzIfujkhNHExs20tH8qtCwJv5Yc4EAUwlk,1287 -numpy/typing/tests/data/reveal/index_tricks.pyi,sha256=PzyLWAp9xIsGJQD17KhooQU-R5BSnAf-q7gRYPdzZXQ,3517 -numpy/typing/tests/data/reveal/lib_function_base.pyi,sha256=1KrOX7MItV31fVTk3d5D3tEfrL72u0kjDmRzKDgoyhk,9297 -numpy/typing/tests/data/reveal/lib_polynomial.pyi,sha256=Z2mFp-281D_zd5YbtgiliDTKk6akckOiLkOXbLnwPO4,5895 -numpy/typing/tests/data/reveal/lib_utils.pyi,sha256=ysQO1QVJvj9Z5iTLW1z7xMJmNch2qwTGbHL77aVOHKw,448 -numpy/typing/tests/data/reveal/lib_version.pyi,sha256=9KSTL1-sf93KZmAFyc_xXTIufDMapHAfXHtXVR8gO-4,583 -numpy/typing/tests/data/reveal/linalg.pyi,sha256=DvWeTqPSyO_OlSxnkZbJkkEV7igdd-iMvMju2Zd2z2w,6236 -numpy/typing/tests/data/reveal/matrix.pyi,sha256=C1-xZV_MN3wSeRxiPOg3r2_kmOhYrMXCmJC_U4dVcDc,3048 -numpy/typing/tests/data/reveal/memmap.pyi,sha256=UdYaTVuRbMceCVMozcMTzdZ5qRrplzvovHChCvW55jg,754 -numpy/typing/tests/data/reveal/mod.pyi,sha256=7Pn3Hf3dQCYWodjL5AHwK7oonCwIGpkHcDltiNiUSSg,5975 -numpy/typing/tests/data/reveal/modules.pyi,sha256=zOe7G_ofnwwwPQMdkKjI3mwt-xIy1kN-DjvWLQvm0r8,1870 -numpy/typing/tests/data/reveal/multiarray.pyi,sha256=ZYxzWuPoPn88crNn92hINm07OFBRiSv2A2l26yi0w2I,7865 -numpy/typing/tests/data/reveal/nbit_base_example.pyi,sha256=x6QK76bchnI-u4D6b0AFxcLp2Kvzv-BJCwUwe3NY9N4,587 -numpy/typing/tests/data/reveal/ndarray_assignability.pyi,sha256=vEDA7m6QDxM_sAR2PyY19IUCmspR3Te-bdD50M-RhJM,2698 -numpy/typing/tests/data/reveal/ndarray_conversion.pyi,sha256=Wj7jtWKZscabcfotsVEIZPA6PaOV92st2ez75OJwDkE,2712 -numpy/typing/tests/data/reveal/ndarray_misc.pyi,sha256=kmW4gdoV3TvOiO3jWKqoBnuiWp1tBunnsvs3Aggvf-4,7903 -numpy/typing/tests/data/reveal/ndarray_shape_manipulation.pyi,sha256=9mPnQJofJ8vh9WQwWqNFxgQ6_f9Mv9rEU3iDXWnfbbQ,1405 -numpy/typing/tests/data/reveal/nditer.pyi,sha256=c9DdxgUOnm886w3f3L2trxHMyOF5s-w8_2DZHRdbhwM,1933 -numpy/typing/tests/data/reveal/nested_sequence.pyi,sha256=-o-5gOFUflvmU_pJRIfuKVP0xi4oxTAUYRPeHRtHiLk,646 -numpy/typing/tests/data/reveal/npyio.pyi,sha256=vrJNIovhI6cCpV0XrdISixluzR83i3z0PKr5jk6PuNo,3523 -numpy/typing/tests/data/reveal/numeric.pyi,sha256=KZHf1Xoqc4wVSZg1OB4IM_zc73EAT-y7s2KNx06qrxM,6064 -numpy/typing/tests/data/reveal/numerictypes.pyi,sha256=nIJSi3T3S5v9sOyvh0IgllEHjGLE-a1W0sMowo11-_A,1361 -numpy/typing/tests/data/reveal/polynomial_polybase.pyi,sha256=EwzpzZnJnqxbe7W6MR0xJC-kzTRR428pXJDE6MgoNd4,7999 -numpy/typing/tests/data/reveal/polynomial_polyutils.pyi,sha256=T1c-C1-b0k0j61OnlrhTkWUN6Pftdaccw8bwGX7dDN0,10764 -numpy/typing/tests/data/reveal/polynomial_series.pyi,sha256=2h3B9w8TPr7Gypr0-s6ITeOZ3iQ4VDgpaKi5T440U_I,7128 -numpy/typing/tests/data/reveal/random.pyi,sha256=f6EFUdoMvInZ9gad6jK4GrGxqU0KNomYLSUw03LsnT8,104319 -numpy/typing/tests/data/reveal/rec.pyi,sha256=7At0HomWttsFQgFBPZnRUhH5Euvq8qAcLAccUv2eVa4,3764 -numpy/typing/tests/data/reveal/scalars.pyi,sha256=e7J0o8MAE_Henqh6Zcwv24NgCKgOlvOQ95MUdptmDzA,6449 -numpy/typing/tests/data/reveal/shape.pyi,sha256=r0y0iSyVabz6hnIRQFdomLV6yvPqiXrGm0pVtTmm1Eg,292 -numpy/typing/tests/data/reveal/shape_base.pyi,sha256=W1wxdfVHMxzuX-c0BcR3UJkDiE2re6ODypZjSX1nNnY,2046 -numpy/typing/tests/data/reveal/stride_tricks.pyi,sha256=J3Kagblme0GxDnJFW_v1M1Ak28Bdep-8P0LA3tl3KuA,1345 -numpy/typing/tests/data/reveal/strings.pyi,sha256=3pbAimrjbjox5e-aQMUAbIa5tc1UrIhyLmoZXvBLfDI,9420 -numpy/typing/tests/data/reveal/testing.pyi,sha256=mnieb9CUkxSj6frtl4amXGJTZ4IFjI_tdjJVHrP1r7Q,8533 -numpy/typing/tests/data/reveal/twodim_base.pyi,sha256=x5EgqxESpsFtvBsuTY1EmoyHBCr9aTCeg133oBUQuv0,4299 -numpy/typing/tests/data/reveal/type_check.pyi,sha256=H4d9guDEa4Hn_hty1Wy_R7q9UpACIzB2_pgoaHO4kZw,2711 -numpy/typing/tests/data/reveal/ufunc_config.pyi,sha256=tXala6x3dbwUI1S1yYPMo47oXti_1aX84ZHlrbI5WcI,1191 -numpy/typing/tests/data/reveal/ufunclike.pyi,sha256=F223MWONHITGeiJcpik_eLp8s56U2EsfLy73W-luTzM,1233 -numpy/typing/tests/data/reveal/ufuncs.pyi,sha256=Gf3782hgHd0-tW1bVhzJhJBSk9GvL-lki8vDpjblMFk,4819 -numpy/typing/tests/data/reveal/warnings_and_errors.pyi,sha256=quHpFR_zwWzV7WGpYDMzf7RkHbomqRYrc93JUB09tkg,460 -numpy/typing/tests/test_isfile.py,sha256=77lnjlxFqhrIRfGpSrqmvIVwpo9VoOPGiS7rRQSdKT0,865 -numpy/typing/tests/test_runtime.py,sha256=2qu8JEliITnZCBJ_QJpohacj_OQ08o73ixS2w2ooNXI,3275 -numpy/typing/tests/test_typing.py,sha256=wfRq_DQZg99tsuEQElXDtfbSmEOjkzEVizQB0cVp8-I,8308 -numpy/version.py,sha256=_tEW_oTxZiFHcu_VlZ5wJEiFQ4EhatTJ78ZHwWR85W8,293 -numpy/version.pyi,sha256=tgN523dUbCHUTYs0QYz0HKchUfFwI9HKgoJY20rkewM,388 diff --git a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/WHEEL deleted file mode 100644 index d98ef534..00000000 --- a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/WHEEL +++ /dev/null @@ -1,6 +0,0 @@ -Wheel-Version: 1.0 -Generator: meson -Root-Is-Purelib: false -Tag: cp312-cp312-manylinux_2_17_x86_64 -Tag: cp312-cp312-manylinux2014_x86_64 - diff --git a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/entry_points.txt b/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/entry_points.txt deleted file mode 100644 index 963c00f7..00000000 --- a/.venv/lib/python3.12/site-packages/numpy-2.2.0.dist-info/entry_points.txt +++ /dev/null @@ -1,10 +0,0 @@ -[array_api] -numpy = numpy - -[pyinstaller40] -hook-dirs = numpy:_pyinstaller_hooks_dir - -[console_scripts] -f2py = numpy.f2py.f2py2e:main -numpy-config = numpy._configtool:main - diff --git a/.venv/lib/python3.12/site-packages/numpy/__config__.py b/.venv/lib/python3.12/site-packages/numpy/__config__.py index ca6a7d86..ef6aa82a 100644 --- a/.venv/lib/python3.12/site-packages/numpy/__config__.py +++ b/.venv/lib/python3.12/site-packages/numpy/__config__.py @@ -93,7 +93,7 @@ CONFIG = _cleanup( }, }, "Python Information": { - "path": r"/tmp/build-env-n2bkd7g5/bin/python", + "path": r"/tmp/build-env-17t143zw/bin/python", "version": "3.12", }, "SIMD Extensions": { diff --git a/.venv/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd b/.venv/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd index 9fbdbc59..e35cef5f 100644 --- a/.venv/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd +++ b/.venv/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd @@ -151,6 +151,7 @@ cdef extern from "numpy/arrayobject.h": NPY_COMPLEX512 NPY_INTP + NPY_UINTP NPY_DEFAULT_INT # Not a compile time constant (normally)! ctypedef enum NPY_ORDER: diff --git a/.venv/lib/python3.12/site-packages/numpy/__init__.pxd b/.venv/lib/python3.12/site-packages/numpy/__init__.pxd index 4aa14530..89fe913b 100644 --- a/.venv/lib/python3.12/site-packages/numpy/__init__.pxd +++ b/.venv/lib/python3.12/site-packages/numpy/__init__.pxd @@ -160,6 +160,7 @@ cdef extern from "numpy/arrayobject.h": NPY_COMPLEX512 NPY_INTP + NPY_UINTP NPY_DEFAULT_INT # Not a compile time constant (normally)! ctypedef enum NPY_ORDER: diff --git a/.venv/lib/python3.12/site-packages/numpy/__init__.pyi b/.venv/lib/python3.12/site-packages/numpy/__init__.pyi index a0287a3f..225e63b4 100644 --- a/.venv/lib/python3.12/site-packages/numpy/__init__.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/__init__.pyi @@ -1,3 +1,4 @@ +# ruff: noqa: I001 import builtins import sys import mmap @@ -23,11 +24,14 @@ from numpy._typing import ( _SupportsArray, _NestedSequence, _FiniteNestedSequence, + _ArrayLike, _ArrayLikeBool_co, _ArrayLikeUInt_co, _ArrayLikeInt, _ArrayLikeInt_co, + _ArrayLikeFloat64_co, _ArrayLikeFloat_co, + _ArrayLikeComplex128_co, _ArrayLikeComplex_co, _ArrayLikeNumber_co, _ArrayLikeTD64_co, @@ -203,17 +207,19 @@ else: ) from typing import ( - Literal as L, Any, + ClassVar, + Final, + Generic, + Literal as L, NoReturn, SupportsComplex, SupportsFloat, SupportsInt, SupportsIndex, - Final, - final, - ClassVar, TypeAlias, + TypedDict, + final, type_check_only, ) @@ -222,11 +228,13 @@ from typing import ( # library include `typing_extensions` stubs: # https://github.com/python/typeshed/blob/main/stdlib/typing_extensions.pyi from _typeshed import StrOrBytesPath, SupportsFlush, SupportsLenAndGetItem, SupportsWrite -from typing_extensions import CapsuleType, Generic, LiteralString, Never, Protocol, Self, TypeVar, Unpack, deprecated, overload +from typing_extensions import CapsuleType, LiteralString, Never, Protocol, Self, TypeVar, Unpack, deprecated, overload from numpy import ( + char, core, ctypeslib, + dtypes, exceptions, f2py, fft, @@ -235,15 +243,22 @@ from numpy import ( ma, polynomial, random, + rec, + strings, testing, typing, - version, - dtypes, - rec, - char, - strings, ) +# available through `__getattr__`, but not in `__all__` or `__dir__` +from numpy import ( + __config__ as __config__, + matlib as matlib, + matrixlib as matrixlib, + version as version, +) +if sys.version_info < (3, 12): + from numpy import distutils as distutils + from numpy._core.records import ( record, recarray, @@ -437,6 +452,7 @@ from numpy.lib._arraypad_impl import ( from numpy.lib._arraysetops_impl import ( ediff1d, + in1d, intersect1d, isin, setdiff1d, @@ -478,6 +494,8 @@ from numpy.lib._function_base_impl import ( bartlett, blackman, kaiser, + trapezoid, + trapz, i0, meshgrid, delete, @@ -485,7 +503,6 @@ from numpy.lib._function_base_impl import ( append, interp, quantile, - trapezoid, ) from numpy.lib._histograms_impl import ( @@ -624,13 +641,10 @@ from numpy.matrixlib import ( bmat, ) -__all__ = [ - "emath", "show_config", "version", "__version__", "__array_namespace_info__", - +__all__ = [ # noqa: RUF022 # __numpy_submodules__ - "linalg", "fft", "dtypes", "random", "polynomial", "ma", "exceptions", "lib", - "ctypeslib", "testing", "test", "rec", "char", "strings", - "core", "typing", "f2py", + "char", "core", "ctypeslib", "dtypes", "exceptions", "f2py", "fft", "lib", "linalg", + "ma", "polynomial", "random", "rec", "strings", "test", "testing", "typing", # _core.__all__ "abs", "acos", "acosh", "asin", "asinh", "atan", "atanh", "atan2", "bitwise_invert", @@ -648,8 +662,8 @@ __all__ = [ "tensordot", "little_endian", "fromiter", "array_equal", "array_equiv", "indices", "fromfunction", "isclose", "isscalar", "binary_repr", "base_repr", "ones", "identity", "allclose", "putmask", "flatnonzero", "inf", "nan", "False_", "True_", - "bitwise_not", "full", "full_like", "matmul", "vecdot", "shares_memory", - "may_share_memory", "_get_promotion_state", "_set_promotion_state", + "bitwise_not", "full", "full_like", "matmul", "vecdot", "vecmat", + "shares_memory", "may_share_memory", "all", "amax", "amin", "any", "argmax", "argmin", "argpartition", "argsort", "around", "choose", "clip", "compress", "cumprod", "cumsum", "cumulative_prod", "cumulative_sum", "diagonal", "mean", "max", "min", "matrix_transpose", "ndim", @@ -664,7 +678,7 @@ __all__ = [ "frompyfunc", "gcd", "greater", "greater_equal", "heaviside", "hypot", "invert", "isfinite", "isinf", "isnan", "isnat", "lcm", "ldexp", "left_shift", "less", "less_equal", "log", "log10", "log1p", "log2", "logaddexp", "logaddexp2", - "logical_and", "logical_not", "logical_or", "logical_xor", "maximum", "minimum", + "logical_and", "logical_not", "logical_or", "logical_xor", "matvec", "maximum", "minimum", "mod", "modf", "multiply", "negative", "nextafter", "not_equal", "pi", "positive", "power", "rad2deg", "radians", "reciprocal", "remainder", "right_shift", "rint", "sign", "signbit", "sin", "sinh", "spacing", "sqrt", "square", "subtract", "tan", @@ -683,7 +697,7 @@ __all__ = [ "array2string", "array_str", "array_repr", "set_printoptions", "get_printoptions", "printoptions", "format_float_positional", "format_float_scientific", "require", "seterr", "geterr", "setbufsize", "getbufsize", "seterrcall", "geterrcall", - "errstate", "_no_nep50_warning", + "errstate", # _core.function_base.__all__ "logspace", "linspace", "geomspace", # _core.getlimits.__all__ @@ -693,7 +707,8 @@ __all__ = [ "vstack", # _core.einsumfunc.__all__ "einsum", "einsum_path", - + # matrixlib.__all__ + "matrix", "bmat", "asmatrix", # lib._histograms_impl.__all__ "histogram", "histogramdd", "histogram_bin_edges", # lib._nanfunctions_impl.__all__ @@ -701,13 +716,12 @@ __all__ = [ "nanpercentile", "nanvar", "nanstd", "nanprod", "nancumsum", "nancumprod", "nanquantile", # lib._function_base_impl.__all__ - # NOTE: `trapz` is omitted because it is deprecated "select", "piecewise", "trim_zeros", "copy", "iterable", "percentile", "diff", "gradient", "angle", "unwrap", "sort_complex", "flip", "rot90", "extract", "place", "vectorize", "asarray_chkfinite", "average", "bincount", "digitize", "cov", "corrcoef", "median", "sinc", "hamming", "hanning", "bartlett", "blackman", - "kaiser", "i0", "meshgrid", "delete", "insert", "append", "interp", "quantile", - "trapezoid", + "kaiser", "trapezoid", "trapz", "i0", "meshgrid", "delete", "insert", "append", + "interp", "quantile", # lib._twodim_base_impl.__all__ "diag", "diagflat", "eye", "fliplr", "flipud", "tri", "triu", "tril", "vander", "histogram2d", "mask_indices", "tril_indices", "tril_indices_from", "triu_indices", @@ -721,9 +735,8 @@ __all__ = [ "iscomplexobj", "isrealobj", "imag", "iscomplex", "isreal", "nan_to_num", "real", "real_if_close", "typename", "mintypecode", "common_type", # lib._arraysetops_impl.__all__ - # NOTE: `in1d` is omitted because it is deprecated - "ediff1d", "intersect1d", "isin", "setdiff1d", "setxor1d", "union1d", "unique", - "unique_all", "unique_counts", "unique_inverse", "unique_values", + "ediff1d", "in1d", "intersect1d", "isin", "setdiff1d", "setxor1d", "union1d", + "unique", "unique_all", "unique_counts", "unique_inverse", "unique_values", # lib._ufunclike_impl.__all__ "fix", "isneginf", "isposinf", # lib._arraypad_impl.__all__ @@ -743,9 +756,9 @@ __all__ = [ "index_exp", "ix_", "ndenumerate", "ndindex", "fill_diagonal", "diag_indices", "diag_indices_from", - # matrixlib.__all__ - "matrix", "bmat", "asmatrix", -] + # __init__.__all__ + "emath", "show_config", "__version__", "__array_namespace_info__", +] # fmt: skip ### Constrained types (for internal use only) # Only use these for functions; never as generic type parameter. @@ -800,6 +813,7 @@ _1NShapeT = TypeVar("_1NShapeT", bound=tuple[L[1], Unpack[tuple[L[1], ...]]]) # _SCT = TypeVar("_SCT", bound=generic) _SCT_co = TypeVar("_SCT_co", bound=generic, covariant=True) _NumberT = TypeVar("_NumberT", bound=number[Any]) +_RealNumberT = TypeVar("_RealNumberT", bound=floating | integer) _FloatingT_co = TypeVar("_FloatingT_co", bound=floating[Any], default=floating[Any], covariant=True) _IntegerT = TypeVar("_IntegerT", bound=integer) _IntegerT_co = TypeVar("_IntegerT_co", bound=integer[Any], default=integer[Any], covariant=True) @@ -833,18 +847,21 @@ _1D: TypeAlias = tuple[int] _2D: TypeAlias = tuple[int, int] _2Tuple: TypeAlias = tuple[_T, _T] -_ArrayUInt_co: TypeAlias = NDArray[np.bool | unsignedinteger[Any]] -_ArrayInt_co: TypeAlias = NDArray[np.bool | integer[Any]] -_ArrayFloat_co: TypeAlias = NDArray[np.bool | integer[Any] | floating[Any]] -_ArrayComplex_co: TypeAlias = NDArray[np.bool | integer[Any] | floating[Any] | complexfloating[Any, Any]] -_ArrayNumber_co: TypeAlias = NDArray[np.bool | number[Any]] -_ArrayTD64_co: TypeAlias = NDArray[np.bool | integer[Any] | timedelta64] +_ArrayUInt_co: TypeAlias = NDArray[unsignedinteger | np.bool] +_ArrayInt_co: TypeAlias = NDArray[integer | np.bool] +_ArrayFloat64_co: TypeAlias = NDArray[floating[_64Bit] | float32 | float16 | integer | np.bool] +_ArrayFloat_co: TypeAlias = NDArray[floating | integer | np.bool] +_ArrayComplex128_co: TypeAlias = NDArray[number[_64Bit] | number[_32Bit] | float16 | integer | np.bool] +_ArrayComplex_co: TypeAlias = NDArray[inexact | integer | np.bool] +_ArrayNumber_co: TypeAlias = NDArray[number | np.bool] +_ArrayTD64_co: TypeAlias = NDArray[timedelta64 | integer | np.bool] -_Float64_co: TypeAlias = float | floating[_64Bit] | float32 | float16 | integer[Any] | np.bool +_Float64_co: TypeAlias = float | floating[_64Bit] | float32 | float16 | integer | np.bool _Complex64_co: TypeAlias = number[_32Bit] | number[_16Bit] | number[_8Bit] | builtins.bool | np.bool _Complex128_co: TypeAlias = complex | number[_64Bit] | _Complex64_co -_ArrayIndexLike: TypeAlias = SupportsIndex | slice | EllipsisType | _ArrayLikeInt_co | None +_ToIndex: TypeAlias = SupportsIndex | slice | EllipsisType | _ArrayLikeInt_co | None +_ToIndices: TypeAlias = _ToIndex | tuple[_ToIndex, ...] _UnsignedIntegerCType: TypeAlias = type[ ct.c_uint8 | ct.c_uint16 | ct.c_uint32 | ct.c_uint64 @@ -982,6 +999,8 @@ if sys.version_info >= (3, 11): _ConvertibleToComplex: TypeAlias = SupportsComplex | SupportsFloat | SupportsIndex | _CharLike_co else: _ConvertibleToComplex: TypeAlias = complex | SupportsComplex | SupportsFloat | SupportsIndex | _CharLike_co +_ConvertibleToTD64: TypeAlias = dt.timedelta | int | _CharLike_co | character | number | timedelta64 | np.bool | None +_ConvertibleToDT64: TypeAlias = dt.date | int | _CharLike_co | character | number | datetime64 | np.bool | None _NDIterFlagsKind: TypeAlias = L[ "buffered", @@ -1038,6 +1057,16 @@ _IntTD64Unit: TypeAlias = L[_MonthUnit, _IntTimeUnit] _TD64Unit: TypeAlias = L[_DateUnit, _TimeUnit] _TimeUnitSpec: TypeAlias = _TD64UnitT | tuple[_TD64UnitT, SupportsIndex] +### TypedDict's (for internal use only) + +@type_check_only +class _FormerAttrsDict(TypedDict): + object: LiteralString + float: LiteralString + complex: LiteralString + str: LiteralString + int: LiteralString + ### Protocols (for internal use only) @type_check_only @@ -1070,7 +1099,7 @@ class _HasShapeAndSupportsItem(_HasShape[_ShapeT_co], _SupportsItem[_T_co], Prot # matches any `x` on `x.type.item() -> _T_co`, e.g. `dtype[np.int8]` gives `_T_co: int` @type_check_only -class _HashTypeWithItem(Protocol[_T_co]): +class _HasTypeWithItem(Protocol[_T_co]): @property def type(self, /) -> type[_SupportsItem[_T_co]]: ... @@ -1082,7 +1111,7 @@ class _HasShapeAndDTypeWithItem(Protocol[_ShapeT_co, _T_co]): @property def shape(self, /) -> _ShapeT_co: ... @property - def dtype(self, /) -> _HashTypeWithItem[_T_co]: ... + def dtype(self, /) -> _HasTypeWithItem[_T_co]: ... @type_check_only class _HasRealAndImag(Protocol[_RealT_co, _ImagT_co]): @@ -1112,6 +1141,7 @@ class _HasDateAttributes(Protocol): @property def year(self) -> int: ... + ### Mixins (for internal use only) @type_check_only @@ -1140,22 +1170,26 @@ class _IntegralMixin(_RealMixin): ### Public API __version__: Final[LiteralString] = ... -__array_api_version__: Final = "2023.12" -test: Final[PytestTester] = ... e: Final[float] = ... euler_gamma: Final[float] = ... +pi: Final[float] = ... inf: Final[float] = ... nan: Final[float] = ... -pi: Final[float] = ... - little_endian: Final[builtins.bool] = ... - False_: Final[np.bool[L[False]]] = ... True_: Final[np.bool[L[True]]] = ... - newaxis: Final[None] = None +# not in __all__ +__NUMPY_SETUP__: Final[L[False]] = False +__numpy_submodules__: Final[set[LiteralString]] = ... +__expired_attributes__: Final[dict[LiteralString, LiteralString]] +__former_attrs__: Final[_FormerAttrsDict] = ... +__future_scalars__: Final[set[L["bytes", "str", "object"]]] = ... +__array_api_version__: Final[L["2023.12"]] = "2023.12" +test: Final[PytestTester] = ... + @final class dtype(Generic[_SCT_co]): names: None | tuple[builtins.str, ...] @@ -2006,7 +2040,6 @@ class _ArrayOrScalarCommon: correction: float = ..., ) -> _ArrayT: ... - class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): __hash__: ClassVar[None] # type: ignore[assignment] # pyright: ignore[reportIncompatibleMethodOverride] @property @@ -2082,16 +2115,58 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): @overload def __getitem__(self, key: SupportsIndex | tuple[SupportsIndex, ...], /) -> Any: ... @overload - def __getitem__(self, key: _ArrayIndexLike | tuple[_ArrayIndexLike, ...], /) -> ndarray[_Shape, _DType_co]: ... + def __getitem__(self, key: _ToIndices, /) -> ndarray[_Shape, _DType_co]: ... @overload def __getitem__(self: NDArray[void], key: str, /) -> ndarray[_ShapeT_co, np.dtype[Any]]: ... @overload def __getitem__(self: NDArray[void], key: list[str], /) -> ndarray[_ShapeT_co, _dtype[void]]: ... - @overload - def __setitem__(self: NDArray[void], key: str | list[str], value: ArrayLike, /) -> None: ... - @overload - def __setitem__(self, key: _ArrayIndexLike | tuple[_ArrayIndexLike, ...], value: ArrayLike, /) -> None: ... + @overload # flexible | object_ | bool + def __setitem__( + self: ndarray[Any, dtype[flexible | object_ | np.bool] | dtypes.StringDType], + key: _ToIndices, + value: object, + /, + ) -> None: ... + @overload # integer + def __setitem__( + self: NDArray[integer], + key: _ToIndices, + value: _ConvertibleToInt | _NestedSequence[_ConvertibleToInt] | _ArrayLikeInt_co, + /, + ) -> None: ... + @overload # floating + def __setitem__( + self: NDArray[floating], + key: _ToIndices, + value: _ConvertibleToFloat | _NestedSequence[_ConvertibleToFloat | None] | _ArrayLikeFloat_co | None, + /, + ) -> None: ... + @overload # complexfloating + def __setitem__( + self: NDArray[complexfloating], + key: _ToIndices, + value: _ConvertibleToComplex | _NestedSequence[_ConvertibleToComplex | None] | _ArrayLikeNumber_co | None, + /, + ) -> None: ... + @overload # timedelta64 + def __setitem__( + self: NDArray[timedelta64], + key: _ToIndices, + value: _ConvertibleToTD64 | _NestedSequence[_ConvertibleToTD64], + /, + ) -> None: ... + @overload # datetime64 + def __setitem__( + self: NDArray[datetime64], + key: _ToIndices, + value: _ConvertibleToDT64 | _NestedSequence[_ConvertibleToDT64], + /, + ) -> None: ... + @overload # void + def __setitem__(self: NDArray[void], key: str | list[str], value: object, /) -> None: ... + @overload # catch-all + def __setitem__(self, key: _ToIndices, value: ArrayLike, /) -> None: ... @property def ctypes(self) -> _ctypes[int]: ... @@ -2449,7 +2524,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): casting: _CastingKind = ..., subok: builtins.bool = ..., copy: builtins.bool | _CopyMode = ..., - ) -> NDArray[_SCT]: ... + ) -> ndarray[_ShapeT_co, dtype[_SCT]]: ... @overload def astype( self, @@ -2458,7 +2533,7 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): casting: _CastingKind = ..., subok: builtins.bool = ..., copy: builtins.bool | _CopyMode = ..., - ) -> NDArray[Any]: ... + ) -> ndarray[_ShapeT_co, dtype[Any]]: ... @overload def view(self) -> Self: ... @@ -2572,111 +2647,192 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): ) -> ndarray[_ShapeT, dtype[floating[_AnyNBitInexact]]]: ... @overload def __abs__(self: _RealArrayT, /) -> _RealArrayT: ... + def __invert__(self: _IntegralArrayT, /) -> _IntegralArrayT: ... # noqa: PYI019 def __neg__(self: _NumericArrayT, /) -> _NumericArrayT: ... # noqa: PYI019 def __pos__(self: _NumericArrayT, /) -> _NumericArrayT: ... # noqa: PYI019 # Binary ops + + # TODO: Support the "1d @ 1d -> scalar" case @overload - def __matmul__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[misc] + def __matmul__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... @overload - def __matmul__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __matmul__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[overload-overlap] @overload - def __matmul__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __matmul__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __matmul__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __matmul__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __matmul__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... + def __matmul__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... @overload - def __matmul__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... + def __matmul__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... + @overload + def __matmul__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... + @overload + def __matmul__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __matmul__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __matmul__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] + @overload + def __matmul__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating]: ... + @overload + def __matmul__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... @overload def __matmul__(self: NDArray[object_], other: Any, /) -> Any: ... @overload def __matmul__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + @overload # signature equivalent to __matmul__ + def __rmatmul__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... @overload - def __rmatmul__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[misc] + def __rmatmul__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[overload-overlap] @overload - def __rmatmul__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __rmatmul__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __rmatmul__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __rmatmul__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __rmatmul__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __rmatmul__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... + @overload + def __rmatmul__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... + @overload + def __rmatmul__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... + @overload + def __rmatmul__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[overload-overlap] + @overload + def __rmatmul__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[overload-overlap] + @overload + def __rmatmul__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[overload-overlap] @overload def __rmatmul__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... @overload - def __rmatmul__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... + def __rmatmul__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... @overload def __rmatmul__(self: NDArray[object_], other: Any, /) -> Any: ... @overload def __rmatmul__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... @overload - def __mod__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[misc] + def __mod__(self: NDArray[_RealNumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_RealNumberT]]: ... @overload - def __mod__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __mod__(self: NDArray[_RealNumberT], other: _ArrayLikeBool_co, /) -> NDArray[_RealNumberT]: ... # type: ignore[overload-overlap] @overload - def __mod__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __mod__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[overload-overlap] @overload - def __mod__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __mod__(self: NDArray[np.bool], other: _ArrayLike[_RealNumberT], /) -> NDArray[_RealNumberT]: ... # type: ignore[overload-overlap] @overload - def __mod__(self: _ArrayTD64_co, other: _SupportsArray[_dtype[timedelta64]] | _NestedSequence[_SupportsArray[_dtype[timedelta64]]], /) -> NDArray[timedelta64]: ... + def __mod__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... + @overload + def __mod__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... + @overload + def __mod__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __mod__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __mod__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... + @overload + def __mod__(self: NDArray[timedelta64], other: _ArrayLike[timedelta64], /) -> NDArray[timedelta64]: ... @overload def __mod__(self: NDArray[object_], other: Any, /) -> Any: ... @overload def __mod__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + @overload # signature equivalent to __mod__ + def __rmod__(self: NDArray[_RealNumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_RealNumberT]]: ... @overload - def __rmod__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[misc] + def __rmod__(self: NDArray[_RealNumberT], other: _ArrayLikeBool_co, /) -> NDArray[_RealNumberT]: ... # type: ignore[overload-overlap] @overload - def __rmod__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __rmod__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[overload-overlap] @overload - def __rmod__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __rmod__(self: NDArray[np.bool], other: _ArrayLike[_RealNumberT], /) -> NDArray[_RealNumberT]: ... # type: ignore[overload-overlap] @overload - def __rmod__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __rmod__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __rmod__(self: _ArrayTD64_co, other: _SupportsArray[_dtype[timedelta64]] | _NestedSequence[_SupportsArray[_dtype[timedelta64]]], /) -> NDArray[timedelta64]: ... + def __rmod__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... + @overload + def __rmod__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __rmod__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __rmod__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... + @overload + def __rmod__(self: NDArray[timedelta64], other: _ArrayLike[timedelta64], /) -> NDArray[timedelta64]: ... @overload def __rmod__(self: NDArray[object_], other: Any, /) -> Any: ... @overload def __rmod__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... @overload - def __divmod__(self: NDArray[np.bool], other: _ArrayLikeBool_co) -> _2Tuple[NDArray[int8]]: ... # type: ignore[misc] + def __divmod__(self: NDArray[_RealNumberT], rhs: int | np.bool, /) -> _2Tuple[ndarray[_ShapeT_co, dtype[_RealNumberT]]]: ... @overload - def __divmod__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> _2Tuple[NDArray[unsignedinteger[Any]]]: ... # type: ignore[misc] + def __divmod__(self: NDArray[_RealNumberT], rhs: _ArrayLikeBool_co, /) -> _2Tuple[NDArray[_RealNumberT]]: ... # type: ignore[overload-overlap] @overload - def __divmod__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> _2Tuple[NDArray[signedinteger[Any]]]: ... # type: ignore[misc] + def __divmod__(self: NDArray[np.bool], rhs: _ArrayLikeBool_co, /) -> _2Tuple[NDArray[int8]]: ... # type: ignore[overload-overlap] @overload - def __divmod__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> _2Tuple[NDArray[floating[Any]]]: ... # type: ignore[misc] + def __divmod__(self: NDArray[np.bool], rhs: _ArrayLike[_RealNumberT], /) -> _2Tuple[NDArray[_RealNumberT]]: ... # type: ignore[overload-overlap] @overload - def __divmod__(self: _ArrayTD64_co, other: _SupportsArray[_dtype[timedelta64]] | _NestedSequence[_SupportsArray[_dtype[timedelta64]]], /) -> tuple[NDArray[int64], NDArray[timedelta64]]: ... + def __divmod__(self: NDArray[floating[_64Bit]], rhs: _ArrayLikeFloat64_co, /) -> _2Tuple[NDArray[float64]]: ... + @overload + def __divmod__(self: _ArrayFloat64_co, rhs: _ArrayLike[floating[_64Bit]], /) -> _2Tuple[NDArray[float64]]: ... + @overload + def __divmod__(self: _ArrayUInt_co, rhs: _ArrayLikeUInt_co, /) -> _2Tuple[NDArray[unsignedinteger]]: ... # type: ignore[overload-overlap] + @overload + def __divmod__(self: _ArrayInt_co, rhs: _ArrayLikeInt_co, /) -> _2Tuple[NDArray[signedinteger]]: ... # type: ignore[overload-overlap] + @overload + def __divmod__(self: _ArrayFloat_co, rhs: _ArrayLikeFloat_co, /) -> _2Tuple[NDArray[floating]]: ... + @overload + def __divmod__(self: NDArray[timedelta64], rhs: _ArrayLike[timedelta64], /) -> tuple[NDArray[int64], NDArray[timedelta64]]: ... + + @overload # signature equivalent to __divmod__ + def __rdivmod__(self: NDArray[_RealNumberT], lhs: int | np.bool, /) -> _2Tuple[ndarray[_ShapeT_co, dtype[_RealNumberT]]]: ... + @overload + def __rdivmod__(self: NDArray[_RealNumberT], lhs: _ArrayLikeBool_co, /) -> _2Tuple[NDArray[_RealNumberT]]: ... # type: ignore[overload-overlap] + @overload + def __rdivmod__(self: NDArray[np.bool], lhs: _ArrayLikeBool_co, /) -> _2Tuple[NDArray[int8]]: ... # type: ignore[overload-overlap] + @overload + def __rdivmod__(self: NDArray[np.bool], lhs: _ArrayLike[_RealNumberT], /) -> _2Tuple[NDArray[_RealNumberT]]: ... # type: ignore[overload-overlap] + @overload + def __rdivmod__(self: NDArray[floating[_64Bit]], lhs: _ArrayLikeFloat64_co, /) -> _2Tuple[NDArray[float64]]: ... + @overload + def __rdivmod__(self: _ArrayFloat64_co, lhs: _ArrayLike[floating[_64Bit]], /) -> _2Tuple[NDArray[float64]]: ... + @overload + def __rdivmod__(self: _ArrayUInt_co, lhs: _ArrayLikeUInt_co, /) -> _2Tuple[NDArray[unsignedinteger]]: ... # type: ignore[overload-overlap] + @overload + def __rdivmod__(self: _ArrayInt_co, lhs: _ArrayLikeInt_co, /) -> _2Tuple[NDArray[signedinteger]]: ... # type: ignore[overload-overlap] + @overload + def __rdivmod__(self: _ArrayFloat_co, lhs: _ArrayLikeFloat_co, /) -> _2Tuple[NDArray[floating]]: ... + @overload + def __rdivmod__(self: NDArray[timedelta64], lhs: _ArrayLike[timedelta64], /) -> tuple[NDArray[int64], NDArray[timedelta64]]: ... @overload - def __rdivmod__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> _2Tuple[NDArray[int8]]: ... # type: ignore[misc] + def __add__(self: NDArray[_NumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_NumberT]]: ... @overload - def __rdivmod__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> _2Tuple[NDArray[unsignedinteger[Any]]]: ... # type: ignore[misc] + def __add__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __rdivmod__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> _2Tuple[NDArray[signedinteger[Any]]]: ... # type: ignore[misc] + def __add__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[overload-overlap] @overload - def __rdivmod__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> _2Tuple[NDArray[floating[Any]]]: ... # type: ignore[misc] + def __add__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __rdivmod__(self: _ArrayTD64_co, other: _SupportsArray[_dtype[timedelta64]] | _NestedSequence[_SupportsArray[_dtype[timedelta64]]], /) -> tuple[NDArray[int64], NDArray[timedelta64]]: ... - + def __add__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __add__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[misc] + def __add__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... @overload - def __add__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __add__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... @overload - def __add__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __add__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... @overload - def __add__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __add__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] @overload - def __add__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... # type: ignore[misc] + def __add__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] @overload - def __add__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... + def __add__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] @overload - def __add__(self: _ArrayTD64_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... # type: ignore[misc] + def __add__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating]: ... # type: ignore[overload-overlap] + @overload + def __add__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... # type: ignore[overload-overlap] + @overload + def __add__(self: _ArrayTD64_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... @overload def __add__(self: _ArrayTD64_co, other: _ArrayLikeDT64_co, /) -> NDArray[datetime64]: ... @overload @@ -2686,20 +2842,34 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): @overload def __add__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + @overload # signature equivalent to __add__ + def __radd__(self: NDArray[_NumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_NumberT]]: ... @overload - def __radd__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[misc] + def __radd__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __radd__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __radd__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[overload-overlap] @overload - def __radd__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __radd__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __radd__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __radd__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __radd__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... # type: ignore[misc] + def __radd__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... @overload - def __radd__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... + def __radd__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... @overload - def __radd__(self: _ArrayTD64_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... # type: ignore[misc] + def __radd__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... + @overload + def __radd__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __radd__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __radd__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] + @overload + def __radd__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating]: ... # type: ignore[overload-overlap] + @overload + def __radd__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... # type: ignore[overload-overlap] + @overload + def __radd__(self: _ArrayTD64_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... @overload def __radd__(self: _ArrayTD64_co, other: _ArrayLikeDT64_co, /) -> NDArray[datetime64]: ... @overload @@ -2709,20 +2879,34 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): @overload def __radd__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + @overload + def __sub__(self: NDArray[_NumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_NumberT]]: ... + @overload + def __sub__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload def __sub__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NoReturn: ... @overload - def __sub__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __sub__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __sub__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __sub__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __sub__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __sub__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... @overload - def __sub__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... # type: ignore[misc] + def __sub__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... @overload - def __sub__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... + def __sub__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... @overload - def __sub__(self: _ArrayTD64_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... # type: ignore[misc] + def __sub__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __sub__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __sub__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] + @overload + def __sub__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating]: ... # type: ignore[overload-overlap] + @overload + def __sub__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... # type: ignore[overload-overlap] + @overload + def __sub__(self: _ArrayTD64_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... @overload def __sub__(self: NDArray[datetime64], other: _ArrayLikeTD64_co, /) -> NDArray[datetime64]: ... @overload @@ -2732,22 +2916,36 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): @overload def __sub__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + @overload + def __rsub__(self: NDArray[_NumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_NumberT]]: ... + @overload + def __rsub__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload def __rsub__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NoReturn: ... @overload - def __rsub__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __rsub__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __rsub__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __rsub__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __rsub__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __rsub__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... @overload - def __rsub__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... # type: ignore[misc] + def __rsub__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... @overload - def __rsub__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... + def __rsub__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... @overload - def __rsub__(self: _ArrayTD64_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... # type: ignore[misc] + def __rsub__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] @overload - def __rsub__(self: _ArrayTD64_co, other: _ArrayLikeDT64_co, /) -> NDArray[datetime64]: ... # type: ignore[misc] + def __rsub__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __rsub__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] + @overload + def __rsub__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating]: ... # type: ignore[overload-overlap] + @overload + def __rsub__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... # type: ignore[overload-overlap] + @overload + def __rsub__(self: _ArrayTD64_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... + @overload + def __rsub__(self: _ArrayTD64_co, other: _ArrayLikeDT64_co, /) -> NDArray[datetime64]: ... @overload def __rsub__(self: NDArray[datetime64], other: _ArrayLikeDT64_co, /) -> NDArray[timedelta64]: ... @overload @@ -2756,129 +2954,97 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): def __rsub__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... @overload - def __mul__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[misc] + def __mul__(self: NDArray[_NumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_NumberT]]: ... @overload - def __mul__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __mul__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __mul__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __mul__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[overload-overlap] @overload - def __mul__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __mul__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __mul__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... # type: ignore[misc] + def __mul__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __mul__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... + def __mul__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... @overload - def __mul__(self: _ArrayTD64_co, other: _ArrayLikeFloat_co, /) -> NDArray[timedelta64]: ... + def __mul__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... @overload - def __mul__(self: _ArrayFloat_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... + def __mul__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... + @overload + def __mul__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __mul__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __mul__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] + @overload + def __mul__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating]: ... # type: ignore[overload-overlap] + @overload + def __mul__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... + @overload + def __mul__(self: NDArray[timedelta64], other: _ArrayLikeFloat_co, /) -> NDArray[timedelta64]: ... + @overload + def __mul__(self: _ArrayFloat_co, other: _ArrayLike[timedelta64], /) -> NDArray[timedelta64]: ... @overload def __mul__(self: NDArray[object_], other: Any, /) -> Any: ... @overload def __mul__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + @overload # signature equivalent to __mul__ + def __rmul__(self: NDArray[_NumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_NumberT]]: ... @overload - def __rmul__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[misc] + def __rmul__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __rmul__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __rmul__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[np.bool]: ... # type: ignore[overload-overlap] @overload - def __rmul__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __rmul__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] @overload - def __rmul__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __rmul__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __rmul__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... # type: ignore[misc] + def __rmul__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... @overload - def __rmul__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... + def __rmul__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... @overload - def __rmul__(self: _ArrayTD64_co, other: _ArrayLikeFloat_co, /) -> NDArray[timedelta64]: ... + def __rmul__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... @overload - def __rmul__(self: _ArrayFloat_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... + def __rmul__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __rmul__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __rmul__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] + @overload + def __rmul__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating]: ... # type: ignore[overload-overlap] + @overload + def __rmul__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... + @overload + def __rmul__(self: NDArray[timedelta64], other: _ArrayLikeFloat_co, /) -> NDArray[timedelta64]: ... + @overload + def __rmul__(self: _ArrayFloat_co, other: _ArrayLike[timedelta64], /) -> NDArray[timedelta64]: ... @overload def __rmul__(self: NDArray[object_], other: Any, /) -> Any: ... @overload def __rmul__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... @overload - def __floordiv__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[misc] + def __truediv__(self: _ArrayInt_co, other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __floordiv__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] + def __truediv__(self: _ArrayFloat64_co, other: _ArrayLikeInt_co | _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... @overload - def __floordiv__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] + def __truediv__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... @overload - def __floordiv__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __truediv__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... @overload - def __floordiv__(self: NDArray[timedelta64], other: _SupportsArray[_dtype[timedelta64]] | _NestedSequence[_SupportsArray[_dtype[timedelta64]]], /) -> NDArray[int64]: ... + def __truediv__(self: NDArray[floating], other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... @overload - def __floordiv__(self: NDArray[timedelta64], other: _ArrayLikeBool_co, /) -> NoReturn: ... + def __truediv__(self: _ArrayFloat_co, other: _ArrayLike[floating], /) -> NDArray[floating]: ... @overload - def __floordiv__(self: NDArray[timedelta64], other: _ArrayLikeFloat_co, /) -> NDArray[timedelta64]: ... + def __truediv__(self: NDArray[complexfloating], other: _ArrayLikeNumber_co, /) -> NDArray[complexfloating]: ... @overload - def __floordiv__(self: NDArray[object_], other: Any, /) -> Any: ... + def __truediv__(self: _ArrayNumber_co, other: _ArrayLike[complexfloating], /) -> NDArray[complexfloating]: ... @overload - def __floordiv__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... - + def __truediv__(self: NDArray[inexact], other: _ArrayLikeNumber_co, /) -> NDArray[inexact]: ... @overload - def __rfloordiv__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[misc] + def __truediv__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... @overload - def __rfloordiv__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] - @overload - def __rfloordiv__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] - @overload - def __rfloordiv__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] - @overload - def __rfloordiv__(self: NDArray[timedelta64], other: _SupportsArray[_dtype[timedelta64]] | _NestedSequence[_SupportsArray[_dtype[timedelta64]]], /) -> NDArray[int64]: ... - @overload - def __rfloordiv__(self: NDArray[np.bool], other: _ArrayLikeTD64_co, /) -> NoReturn: ... - @overload - def __rfloordiv__(self: _ArrayFloat_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... - @overload - def __rfloordiv__(self: NDArray[object_], other: Any, /) -> Any: ... - @overload - def __rfloordiv__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... - - @overload - def __pow__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[misc] - @overload - def __pow__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] - @overload - def __pow__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] - @overload - def __pow__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] - @overload - def __pow__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... - @overload - def __pow__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... - @overload - def __pow__(self: NDArray[object_], other: Any, /) -> Any: ... - @overload - def __pow__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... - - @overload - def __rpow__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[misc] - @overload - def __rpow__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger[Any]]: ... # type: ignore[misc] - @overload - def __rpow__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger[Any]]: ... # type: ignore[misc] - @overload - def __rpow__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] - @overload - def __rpow__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... - @overload - def __rpow__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... - @overload - def __rpow__(self: NDArray[object_], other: Any, /) -> Any: ... - @overload - def __rpow__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... - - @overload - def __truediv__(self: _ArrayInt_co, other: _ArrayInt_co, /) -> NDArray[float64]: ... # type: ignore[misc] - @overload - def __truediv__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] - @overload - def __truediv__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... # type: ignore[misc] - @overload - def __truediv__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... - @overload - def __truediv__(self: NDArray[timedelta64], other: _SupportsArray[_dtype[timedelta64]] | _NestedSequence[_SupportsArray[_dtype[timedelta64]]], /) -> NDArray[float64]: ... + def __truediv__(self: NDArray[timedelta64], other: _ArrayLike[timedelta64], /) -> NDArray[float64]: ... @overload def __truediv__(self: NDArray[timedelta64], other: _ArrayLikeBool_co, /) -> NoReturn: ... @overload @@ -2889,24 +3055,152 @@ class ndarray(_ArrayOrScalarCommon, Generic[_ShapeT_co, _DType_co]): def __truediv__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... @overload - def __rtruediv__(self: _ArrayInt_co, other: _ArrayInt_co, /) -> NDArray[float64]: ... # type: ignore[misc] + def __rtruediv__(self: _ArrayInt_co, other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... @overload - def __rtruediv__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating[Any]]: ... # type: ignore[misc] + def __rtruediv__(self: _ArrayFloat64_co, other: _ArrayLikeInt_co | _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... @overload - def __rtruediv__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating[Any, Any]]: ... # type: ignore[misc] + def __rtruediv__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... @overload - def __rtruediv__(self: NDArray[number[Any]], other: _ArrayLikeNumber_co, /) -> NDArray[number[Any]]: ... + def __rtruediv__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... @overload - def __rtruediv__(self: NDArray[timedelta64], other: _SupportsArray[_dtype[timedelta64]] | _NestedSequence[_SupportsArray[_dtype[timedelta64]]], /) -> NDArray[float64]: ... + def __rtruediv__(self: NDArray[floating], other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... @overload - def __rtruediv__(self: NDArray[np.bool], other: _ArrayLikeTD64_co, /) -> NoReturn: ... + def __rtruediv__(self: _ArrayFloat_co, other: _ArrayLike[floating], /) -> NDArray[floating]: ... @overload - def __rtruediv__(self: _ArrayFloat_co, other: _ArrayLikeTD64_co, /) -> NDArray[timedelta64]: ... + def __rtruediv__(self: NDArray[complexfloating], other: _ArrayLikeNumber_co, /) -> NDArray[complexfloating]: ... + @overload + def __rtruediv__(self: _ArrayNumber_co, other: _ArrayLike[complexfloating], /) -> NDArray[complexfloating]: ... + @overload + def __rtruediv__(self: NDArray[inexact], other: _ArrayLikeNumber_co, /) -> NDArray[inexact]: ... + @overload + def __rtruediv__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... + @overload + def __rtruediv__(self: NDArray[timedelta64], other: _ArrayLike[timedelta64], /) -> NDArray[float64]: ... + @overload + def __rtruediv__(self: NDArray[integer | floating], other: _ArrayLike[timedelta64], /) -> NDArray[timedelta64]: ... @overload def __rtruediv__(self: NDArray[object_], other: Any, /) -> Any: ... @overload def __rtruediv__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + @overload + def __floordiv__(self: NDArray[_RealNumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_RealNumberT]]: ... + @overload + def __floordiv__(self: NDArray[_RealNumberT], other: _ArrayLikeBool_co, /) -> NDArray[_RealNumberT]: ... # type: ignore[overload-overlap] + @overload + def __floordiv__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[overload-overlap] + @overload + def __floordiv__(self: NDArray[np.bool], other: _ArrayLike[_RealNumberT], /) -> NDArray[_RealNumberT]: ... # type: ignore[overload-overlap] + @overload + def __floordiv__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... + @overload + def __floordiv__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... + @overload + def __floordiv__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __floordiv__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __floordiv__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... + @overload + def __floordiv__(self: NDArray[timedelta64], other: _ArrayLike[timedelta64], /) -> NDArray[int64]: ... + @overload + def __floordiv__(self: NDArray[timedelta64], other: _ArrayLikeBool_co, /) -> NoReturn: ... + @overload + def __floordiv__(self: NDArray[timedelta64], other: _ArrayLikeFloat_co, /) -> NDArray[timedelta64]: ... + @overload + def __floordiv__(self: NDArray[object_], other: Any, /) -> Any: ... + @overload + def __floordiv__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + + @overload + def __rfloordiv__(self: NDArray[_RealNumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_RealNumberT]]: ... + @overload + def __rfloordiv__(self: NDArray[_RealNumberT], other: _ArrayLikeBool_co, /) -> NDArray[_RealNumberT]: ... # type: ignore[overload-overlap] + @overload + def __rfloordiv__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[overload-overlap] + @overload + def __rfloordiv__(self: NDArray[np.bool], other: _ArrayLike[_RealNumberT], /) -> NDArray[_RealNumberT]: ... # type: ignore[overload-overlap] + @overload + def __rfloordiv__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... + @overload + def __rfloordiv__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... + @overload + def __rfloordiv__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __rfloordiv__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __rfloordiv__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] + @overload + def __rfloordiv__(self: NDArray[timedelta64], other: _ArrayLike[timedelta64], /) -> NDArray[int64]: ... + @overload + def __rfloordiv__(self: NDArray[floating | integer], other: _ArrayLike[timedelta64], /) -> NDArray[timedelta64]: ... + @overload + def __rfloordiv__(self: NDArray[object_], other: Any, /) -> Any: ... + @overload + def __rfloordiv__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + + @overload + def __pow__(self: NDArray[_NumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_NumberT]]: ... + @overload + def __pow__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] + @overload + def __pow__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[overload-overlap] + @overload + def __pow__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] + @overload + def __pow__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... + @overload + def __pow__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... + @overload + def __pow__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... + @overload + def __pow__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... + @overload + def __pow__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __pow__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __pow__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] + @overload + def __pow__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating]: ... + @overload + def __pow__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... + @overload + def __pow__(self: NDArray[object_], other: Any, /) -> Any: ... + @overload + def __pow__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + + @overload + def __rpow__(self: NDArray[_NumberT], other: int | np.bool, /) -> ndarray[_ShapeT_co, dtype[_NumberT]]: ... + @overload + def __rpow__(self: NDArray[_NumberT], other: _ArrayLikeBool_co, /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] + @overload + def __rpow__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[overload-overlap] + @overload + def __rpow__(self: NDArray[np.bool], other: _ArrayLike[_NumberT], /) -> NDArray[_NumberT]: ... # type: ignore[overload-overlap] + @overload + def __rpow__(self: NDArray[floating[_64Bit]], other: _ArrayLikeFloat64_co, /) -> NDArray[float64]: ... + @overload + def __rpow__(self: _ArrayFloat64_co, other: _ArrayLike[floating[_64Bit]], /) -> NDArray[float64]: ... + @overload + def __rpow__(self: NDArray[complexfloating[_64Bit]], other: _ArrayLikeComplex128_co, /) -> NDArray[complex128]: ... + @overload + def __rpow__(self: _ArrayComplex128_co, other: _ArrayLike[complexfloating[_64Bit]], /) -> NDArray[complex128]: ... + @overload + def __rpow__(self: _ArrayUInt_co, other: _ArrayLikeUInt_co, /) -> NDArray[unsignedinteger]: ... # type: ignore[overload-overlap] + @overload + def __rpow__(self: _ArrayInt_co, other: _ArrayLikeInt_co, /) -> NDArray[signedinteger]: ... # type: ignore[overload-overlap] + @overload + def __rpow__(self: _ArrayFloat_co, other: _ArrayLikeFloat_co, /) -> NDArray[floating]: ... # type: ignore[overload-overlap] + @overload + def __rpow__(self: _ArrayComplex_co, other: _ArrayLikeComplex_co, /) -> NDArray[complexfloating]: ... + @overload + def __rpow__(self: NDArray[number], other: _ArrayLikeNumber_co, /) -> NDArray[number]: ... + @overload + def __rpow__(self: NDArray[object_], other: Any, /) -> Any: ... + @overload + def __rpow__(self: NDArray[Any], other: _ArrayLikeObject_co, /) -> Any: ... + @overload def __lshift__(self: NDArray[np.bool], other: _ArrayLikeBool_co, /) -> NDArray[int8]: ... # type: ignore[misc] @overload @@ -4122,16 +4416,16 @@ class timedelta64(_IntegralMixin, generic[_TD64ItemT_co], Generic[_TD64ItemT_co] @overload def __init__(self: timedelta64[int], value: dt.timedelta, format: _TimeUnitSpec[_IntTimeUnit], /) -> None: ... @overload - def __init__(self: timedelta64[int], value: int, format: _TimeUnitSpec[_IntTD64Unit] = ..., /) -> None: ... + def __init__(self: timedelta64[int], value: _IntLike_co, format: _TimeUnitSpec[_IntTD64Unit] = ..., /) -> None: ... @overload def __init__( self: timedelta64[dt.timedelta], - value: dt.timedelta | int, + value: dt.timedelta | _IntLike_co, format: _TimeUnitSpec[_NativeTD64Unit] = ..., /, ) -> None: ... @overload - def __init__(self, value: int | bytes | str | dt.timedelta | None, format: _TimeUnitSpec = ..., /) -> None: ... + def __init__(self, value: _ConvertibleToTD64, format: _TimeUnitSpec = ..., /) -> None: ... # NOTE: Only a limited number of units support conversion # to builtin scalar types: `Y`, `M`, `ns`, `ps`, `fs`, `as` @@ -4266,11 +4560,13 @@ class datetime64(_RealMixin, generic[_DT64ItemT_co], Generic[_DT64ItemT_co]): @overload def __init__(self: datetime64[int], value: int | bytes | str | dt.date, format: _TimeUnitSpec[_IntTimeUnit], /) -> None: ... @overload - def __init__(self: datetime64[dt.datetime], value: int | bytes | str, format: _TimeUnitSpec[_NativeTimeUnit], /) -> None: ... + def __init__( + self: datetime64[dt.datetime], value: int | bytes | str | dt.date, format: _TimeUnitSpec[_NativeTimeUnit], / + ) -> None: ... @overload - def __init__(self: datetime64[dt.date], value: int | bytes | str, format: _TimeUnitSpec[_DateUnit], /) -> None: ... + def __init__(self: datetime64[dt.date], value: int | bytes | str | dt.date, format: _TimeUnitSpec[_DateUnit], /) -> None: ... @overload - def __init__(self, value: bytes | str | None, format: _TimeUnitSpec = ..., /) -> None: ... + def __init__(self, value: bytes | str | dt.date | None, format: _TimeUnitSpec = ..., /) -> None: ... @overload def __add__(self: datetime64[_AnyDT64Item], x: int | integer[Any] | np.bool, /) -> datetime64[_AnyDT64Item]: ... @@ -4703,7 +4999,7 @@ class iinfo(Generic[_IntegerT_co]): class nditer: def __new__( cls, - op: ArrayLike | Sequence[ArrayLike], + op: ArrayLike | Sequence[ArrayLike | None], flags: None | Sequence[_NDIterFlagsKind] = ..., op_flags: None | Sequence[Sequence[_NDIterFlagsOp]] = ..., op_dtypes: DTypeLike | Sequence[DTypeLike] = ..., diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/__config__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/__config__.cpython-312.pyc index fb16f869..b1bd6c77 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/__config__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/__config__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/__init__.cpython-312.pyc index e03e0b02..c9c17822 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_array_api_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_array_api_info.cpython-312.pyc index 9e163380..5f60ff49 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_array_api_info.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_array_api_info.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_configtool.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_configtool.cpython-312.pyc index 96e7ba01..8b557eee 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_configtool.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_configtool.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_distributor_init.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_distributor_init.cpython-312.pyc index 382cf1e6..ca401261 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_distributor_init.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_distributor_init.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_expired_attrs_2_0.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_expired_attrs_2_0.cpython-312.pyc index cd429bb3..1b822dd9 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_expired_attrs_2_0.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_expired_attrs_2_0.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_globals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_globals.cpython-312.pyc index f06f57e5..7d3a09ee 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_globals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_globals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_pytesttester.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_pytesttester.cpython-312.pyc index b4d7d0fc..9b93ad4b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/_pytesttester.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/_pytesttester.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/conftest.cpython-312.pyc index 42cc68a8..989c056d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/ctypeslib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/ctypeslib.cpython-312.pyc index eb997fc1..2742a99f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/ctypeslib.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/ctypeslib.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/dtypes.cpython-312.pyc index 812d904e..d69f0443 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/exceptions.cpython-312.pyc index 4ce0b3fb..77d8c6d2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/matlib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/matlib.cpython-312.pyc index c1865734..d72c8a29 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/matlib.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/matlib.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/__pycache__/version.cpython-312.pyc index 295caf7d..bcd88e35 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/__pycache__/version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/__pycache__/version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/__init__.cpython-312.pyc index 8d7e073f..72d041f1 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_add_newdocs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_add_newdocs.cpython-312.pyc index 142a95ee..8b383cd3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_add_newdocs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_add_newdocs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_add_newdocs_scalars.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_add_newdocs_scalars.cpython-312.pyc index 6e2feef6..28f266b9 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_add_newdocs_scalars.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_add_newdocs_scalars.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_asarray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_asarray.cpython-312.pyc index 521b1fe4..7261e19a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_asarray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_asarray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_dtype.cpython-312.pyc index 21639cb0..c30a60d4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_dtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_dtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_dtype_ctypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_dtype_ctypes.cpython-312.pyc index 00ea48b4..a272009a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_dtype_ctypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_dtype_ctypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_exceptions.cpython-312.pyc index 37f7eee1..310ab9e4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_internal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_internal.cpython-312.pyc index 032ce5a8..05b1d429 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_internal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_internal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_machar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_machar.cpython-312.pyc index db689f10..1423fa55 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_machar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_machar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_methods.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_methods.cpython-312.pyc index 02109cad..89d5cab5 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_methods.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_methods.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_string_helpers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_string_helpers.cpython-312.pyc index dc16e0e8..6d7d941a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_string_helpers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_string_helpers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_type_aliases.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_type_aliases.cpython-312.pyc index 304840b4..d0b95f6b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_type_aliases.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_type_aliases.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_ufunc_config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_ufunc_config.cpython-312.pyc index 450eb91b..d97fe078 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_ufunc_config.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/_ufunc_config.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/arrayprint.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/arrayprint.cpython-312.pyc index d2c31dac..f4d66d78 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/arrayprint.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/arrayprint.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/cversions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/cversions.cpython-312.pyc index 6ad4964b..14e3050b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/cversions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/cversions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/defchararray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/defchararray.cpython-312.pyc index 72f4ed84..79c2dfc5 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/defchararray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/defchararray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/einsumfunc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/einsumfunc.cpython-312.pyc index 93a419ac..8c7f8bda 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/einsumfunc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/einsumfunc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/fromnumeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/fromnumeric.cpython-312.pyc index 94850de8..8c3745cb 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/fromnumeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/fromnumeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/function_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/function_base.cpython-312.pyc index e3384a0b..bcb68207 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/function_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/function_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/getlimits.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/getlimits.cpython-312.pyc index 6e8d7cb1..85974b8f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/getlimits.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/getlimits.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/memmap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/memmap.cpython-312.pyc index 325fd571..6b6bea9f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/memmap.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/memmap.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/multiarray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/multiarray.cpython-312.pyc index 8ed4b07b..622f8609 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/multiarray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/multiarray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/numeric.cpython-312.pyc index 301dbc7d..7a779aea 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/numerictypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/numerictypes.cpython-312.pyc index 9d847830..323d788a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/numerictypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/numerictypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/overrides.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/overrides.cpython-312.pyc index 08d8d01e..693b6ba6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/overrides.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/overrides.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/printoptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/printoptions.cpython-312.pyc index 232bdc50..127bedec 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/printoptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/printoptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/records.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/records.cpython-312.pyc index f2a083e6..541e39a8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/records.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/records.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/shape_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/shape_base.cpython-312.pyc index 41b50082..09e73e83 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/shape_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/shape_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/strings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/strings.cpython-312.pyc index 37d012f7..579c47a0 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/strings.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/strings.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/umath.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/umath.cpython-312.pyc index 9962f707..7581e478 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/umath.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/__pycache__/umath.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/_multiarray_umath.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/numpy/_core/_multiarray_umath.cpython-312-x86_64-linux-gnu.so index 96b6e4c2..c6e20007 100755 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/_multiarray_umath.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/numpy/_core/_multiarray_umath.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarraytypes.h b/.venv/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarraytypes.h index 7d1fa2f0..37788a74 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarraytypes.h +++ b/.venv/lib/python3.12/site-packages/numpy/_core/include/numpy/ndarraytypes.h @@ -1,15 +1,15 @@ #ifndef NUMPY_CORE_INCLUDE_NUMPY_NDARRAYTYPES_H_ #define NUMPY_CORE_INCLUDE_NUMPY_NDARRAYTYPES_H_ -#ifdef __cplusplus -extern "C" { -#endif - #include "npy_common.h" #include "npy_endian.h" #include "npy_cpu.h" #include "utils.h" +#ifdef __cplusplus +extern "C" { +#endif + #define NPY_NO_EXPORT NPY_VISIBILITY_HIDDEN /* Always allow threading unless it was explicitly disabled at build time */ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/lib/pkgconfig/numpy.pc b/.venv/lib/python3.12/site-packages/numpy/_core/lib/pkgconfig/numpy.pc index a4a4bf04..fcbdb685 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/lib/pkgconfig/numpy.pc +++ b/.venv/lib/python3.12/site-packages/numpy/_core/lib/pkgconfig/numpy.pc @@ -3,5 +3,5 @@ includedir=${prefix}/include Name: numpy Description: NumPy is the fundamental package for scientific computing with Python. -Version: 2.2.0 +Version: 2.2.2 Cflags: -I${includedir} diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/numeric.pyi b/.venv/lib/python3.12/site-packages/numpy/_core/numeric.pyi index 41c98738..d2330075 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/numeric.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/_core/numeric.pyi @@ -872,15 +872,15 @@ def array_equiv(a1: ArrayLike, a2: ArrayLike) -> bool: ... @overload def astype( - x: NDArray[Any], + x: ndarray[_ShapeType, dtype[Any]], dtype: _DTypeLike[_SCT], copy: bool = ..., device: None | L["cpu"] = ..., -) -> NDArray[_SCT]: ... +) -> ndarray[_ShapeType, dtype[_SCT]]: ... @overload def astype( - x: NDArray[Any], + x: ndarray[_ShapeType, dtype[Any]], dtype: DTypeLike, copy: bool = ..., device: None | L["cpu"] = ..., -) -> NDArray[Any]: ... +) -> ndarray[_ShapeType, dtype[Any]]: ... diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/numerictypes.pyi b/.venv/lib/python3.12/site-packages/numpy/_core/numerictypes.pyi index c2a7cb62..ace5913f 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/numerictypes.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/_core/numerictypes.pyi @@ -177,12 +177,9 @@ class _TypeCodes(TypedDict): Datetime: L['Mm'] All: L['?bhilqnpBHILQNPefdgFDGSUVOMm'] -def isdtype( - dtype: dtype[Any] | type[Any], - kind: DTypeLike | tuple[DTypeLike, ...], -) -> builtins.bool: ... +def isdtype(dtype: dtype[Any] | type[Any], kind: DTypeLike | tuple[DTypeLike, ...]) -> builtins.bool: ... -def issubdtype(arg1: DTypeLike, arg2: DTypeLike) -> bool: ... +def issubdtype(arg1: DTypeLike, arg2: DTypeLike) -> builtins.bool: ... typecodes: _TypeCodes ScalarType: tuple[ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/_locales.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/_locales.cpython-312.pyc index a2b2b7c1..2ab9bb31 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/_locales.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/_locales.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/_natype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/_natype.cpython-312.pyc index 47218d74..3d0c8172 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/_natype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/_natype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test__exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test__exceptions.cpython-312.pyc index f21fac29..c5957eff 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test__exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test__exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_abc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_abc.cpython-312.pyc index dcedc743..7dacae2e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_abc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_abc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_api.cpython-312.pyc index 0cf14111..c47a9495 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_argparse.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_argparse.cpython-312.pyc index 0c1cb5e4..462a71cc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_argparse.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_argparse.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_api_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_api_info.cpython-312.pyc index 77590b36..bc62af3f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_api_info.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_api_info.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_coercion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_coercion.cpython-312.pyc index 96123af1..051b9f1a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_coercion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_coercion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_interface.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_interface.cpython-312.pyc index cbf30b93..96254827 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_interface.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_array_interface.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arraymethod.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arraymethod.cpython-312.pyc index c9d3afd2..90281a55 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arraymethod.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arraymethod.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arrayobject.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arrayobject.cpython-312.pyc index 02de1b5b..e8b7f7d2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arrayobject.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arrayobject.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arrayprint.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arrayprint.cpython-312.pyc index ee6893af..a5d858fc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arrayprint.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_arrayprint.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_casting_floatingpoint_errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_casting_floatingpoint_errors.cpython-312.pyc index f6176b75..edfe5376 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_casting_floatingpoint_errors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_casting_floatingpoint_errors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_casting_unittests.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_casting_unittests.cpython-312.pyc index 7517134d..fd02aa72 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_casting_unittests.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_casting_unittests.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_conversion_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_conversion_utils.cpython-312.pyc index 36105c3b..66e67551 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_conversion_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_conversion_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cpu_dispatcher.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cpu_dispatcher.cpython-312.pyc index 9c6b5317..3a38acfc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cpu_dispatcher.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cpu_dispatcher.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cpu_features.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cpu_features.cpython-312.pyc index dd500569..5b382b2d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cpu_features.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cpu_features.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_custom_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_custom_dtypes.cpython-312.pyc index 0f7936cc..59043995 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_custom_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_custom_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cython.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cython.cpython-312.pyc index efd9bc1c..109be2e2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cython.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_cython.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_datetime.cpython-312.pyc index 12e25320..09a5a1b8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_defchararray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_defchararray.cpython-312.pyc index e428c3b3..43637078 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_defchararray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_defchararray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_deprecations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_deprecations.cpython-312.pyc index 82a6a729..7b96ce71 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_deprecations.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_deprecations.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_dlpack.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_dlpack.cpython-312.pyc index e7f1a26b..f99fdd2a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_dlpack.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_dlpack.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_dtype.cpython-312.pyc index afe3b9f9..43602484 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_dtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_dtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_einsum.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_einsum.cpython-312.pyc index 34c72839..1bd7127e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_einsum.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_einsum.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_errstate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_errstate.cpython-312.pyc index 38a63df0..bbd23b3e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_errstate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_errstate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_extint128.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_extint128.cpython-312.pyc index 441a7d38..cf85a4f3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_extint128.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_extint128.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_function_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_function_base.cpython-312.pyc index dc2baa34..d40299b2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_function_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_function_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_getlimits.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_getlimits.cpython-312.pyc index fc0dac23..16fecea2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_getlimits.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_getlimits.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_half.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_half.cpython-312.pyc index 7839d314..32c594da 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_half.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_half.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_hashtable.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_hashtable.cpython-312.pyc index 27c8a342..1544cc31 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_hashtable.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_hashtable.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_indexerrors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_indexerrors.cpython-312.pyc index 88c3f4dc..d2c5e8f6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_indexerrors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_indexerrors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_indexing.cpython-312.pyc index bacdc789..d1d33d80 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_item_selection.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_item_selection.cpython-312.pyc index 62507ec3..183df347 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_item_selection.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_item_selection.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_limited_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_limited_api.cpython-312.pyc index 213bad12..bbbd3c37 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_limited_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_limited_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_longdouble.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_longdouble.cpython-312.pyc index c93db858..b6c35e08 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_longdouble.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_longdouble.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_machar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_machar.cpython-312.pyc index 29fc8832..f35e0fb1 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_machar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_machar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_mem_overlap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_mem_overlap.cpython-312.pyc index 105066f1..fd2a0e3d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_mem_overlap.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_mem_overlap.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_mem_policy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_mem_policy.cpython-312.pyc index 5aae7ec2..738c14c8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_mem_policy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_mem_policy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_memmap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_memmap.cpython-312.pyc index b7f7fe09..fc53d580 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_memmap.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_memmap.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_multiarray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_multiarray.cpython-312.pyc index 81ac8bb4..a4fb1b65 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_multiarray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_multiarray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_multithreading.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_multithreading.cpython-312.pyc index c286febd..41f921d6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_multithreading.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_multithreading.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_nditer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_nditer.cpython-312.pyc index d0c2bd29..b10ee6af 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_nditer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_nditer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_nep50_promotions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_nep50_promotions.cpython-312.pyc index e680db45..7d248ea4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_nep50_promotions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_nep50_promotions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_numeric.cpython-312.pyc index 6286c886..ab92ac87 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_numerictypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_numerictypes.cpython-312.pyc index 8f3ddc1c..5dc73344 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_numerictypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_numerictypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_overrides.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_overrides.cpython-312.pyc index 8178d56c..4cb8c6d7 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_overrides.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_overrides.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_print.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_print.cpython-312.pyc index dd6297ba..996a4660 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_print.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_print.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_protocols.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_protocols.cpython-312.pyc index e8a1c729..f562677c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_protocols.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_protocols.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_records.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_records.cpython-312.pyc index 0edfee5e..cb4ffb71 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_records.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_records.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_regression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_regression.cpython-312.pyc index dab38bdc..ffee3cd6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_regression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_regression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalar_ctors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalar_ctors.cpython-312.pyc index eb498097..f74d62c6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalar_ctors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalar_ctors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalar_methods.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalar_methods.cpython-312.pyc index aa130dc6..90ab9b9c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalar_methods.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalar_methods.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarbuffer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarbuffer.cpython-312.pyc index cb57164d..89c644ca 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarbuffer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarbuffer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarinherit.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarinherit.cpython-312.pyc index 589ebcb6..c9f4fa5c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarinherit.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarinherit.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarmath.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarmath.cpython-312.pyc index 5e1d50ba..bec96dac 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarmath.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarmath.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarprint.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarprint.cpython-312.pyc index 6cb6ee9a..2a6f7bca 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarprint.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_scalarprint.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_shape_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_shape_base.cpython-312.pyc index 046da683..386b456d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_shape_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_shape_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_simd.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_simd.cpython-312.pyc index 76e2d684..8f6d179c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_simd.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_simd.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_simd_module.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_simd_module.cpython-312.pyc index 3f181343..ef2e1d47 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_simd_module.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_simd_module.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_stringdtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_stringdtype.cpython-312.pyc index 3037aa0b..4e767e4e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_stringdtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_stringdtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_strings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_strings.cpython-312.pyc index dea38f14..4e2fe020 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_strings.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_strings.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_ufunc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_ufunc.cpython-312.pyc index 2b612d4b..8dd2faf8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_ufunc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_ufunc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath.cpython-312.pyc index 638f0a29..788a2cfd 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath_accuracy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath_accuracy.cpython-312.pyc index 5fcd061f..33b2cd66 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath_accuracy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath_accuracy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath_complex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath_complex.cpython-312.pyc index 3d1bedab..4d3fccdc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath_complex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_umath_complex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_unicode.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_unicode.cpython-312.pyc index 261c1c02..b70c3e85 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_unicode.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/__pycache__/test_unicode.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/cython/__pycache__/setup.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/cython/__pycache__/setup.cpython-312.pyc index 810e205f..3d98c480 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/cython/__pycache__/setup.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/cython/__pycache__/setup.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/cython/checks.pyx b/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/cython/checks.pyx index c0bb1f3f..34359fb4 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/cython/checks.pyx +++ b/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/cython/checks.pyx @@ -266,3 +266,9 @@ def inc2_cfloat_struct(cnp.ndarray[cnp.cfloat_t] arr): # This works in both modes arr[1].real = arr[1].real + 1 arr[1].imag = arr[1].imag + 1 + + +def check_npy_uintp_type_enum(): + # Regression test for gh-27890: cnp.NPY_UINTP was not defined. + # Cython would fail to compile this before gh-27890 was fixed. + return cnp.NPY_UINTP > 0 diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/limited_api/__pycache__/setup.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/limited_api/__pycache__/setup.cpython-312.pyc index a1084c30..d7551348 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/limited_api/__pycache__/setup.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_core/tests/examples/limited_api/__pycache__/setup.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_cython.py b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_cython.py index fce00a49..d7fe28a8 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_cython.py +++ b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_cython.py @@ -295,3 +295,9 @@ def test_complex(install_temp): arr = np.array([0, 10+10j], dtype="F") inc2_cfloat_struct(arr) assert arr[1] == (12 + 12j) + + +def test_npy_uintp_type_enum(): + import checks + assert checks.check_npy_uintp_type_enum() + diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_multiarray.py b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_multiarray.py index 02ed3ece..7ac22869 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_multiarray.py +++ b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_multiarray.py @@ -5374,6 +5374,13 @@ class TestLexsort: u, v = np.array(u, dtype='object'), np.array(v, dtype='object') assert_array_equal(idx, np.lexsort((u, v))) + def test_strings(self): # gh-27984 + for dtype in "TU": + surnames = np.array(['Hertz', 'Galilei', 'Hertz'], dtype=dtype) + first_names = np.array(['Heinrich', 'Galileo', 'Gustav'], dtype=dtype) + assert_array_equal(np.lexsort((first_names, surnames)), [1, 2, 0]) + + def test_invalid_axis(self): # gh-7528 x = np.linspace(0., 1., 42*3).reshape(42, 3) assert_raises(AxisError, np.lexsort, x, axis=2) diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_multithreading.py b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_multithreading.py index 75468850..b614f2c7 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_multithreading.py +++ b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_multithreading.py @@ -18,6 +18,7 @@ def test_parallel_randomstate_creation(): run_threaded(func, 500, pass_count=True) + def test_parallel_ufunc_execution(): # if the loop data cache or dispatch cache are not thread-safe # computing ufuncs simultaneously in multiple threads leads @@ -31,18 +32,14 @@ def test_parallel_ufunc_execution(): # see gh-26690 NUM_THREADS = 50 - b = threading.Barrier(NUM_THREADS) - a = np.ones(1000) - def f(): + def f(b): b.wait() return a.sum() - threads = [threading.Thread(target=f) for _ in range(NUM_THREADS)] + run_threaded(f, NUM_THREADS, max_workers=NUM_THREADS, pass_barrier=True) - [t.start() for t in threads] - [t.join() for t in threads] def test_temp_elision_thread_safety(): amid = np.ones(50000) @@ -120,3 +117,41 @@ def test_printoptions_thread_safety(): task1.start() task2.start() + + +def test_parallel_reduction(): + # gh-28041 + NUM_THREADS = 50 + + x = np.arange(1000) + + def closure(b): + b.wait() + np.sum(x) + + run_threaded(closure, NUM_THREADS, max_workers=NUM_THREADS, + pass_barrier=True) + + +def test_parallel_flat_iterator(): + # gh-28042 + x = np.arange(20).reshape(5, 4).T + + def closure(b): + b.wait() + for _ in range(100): + list(x.flat) + + run_threaded(closure, outer_iterations=100, pass_barrier=True) + + # gh-28143 + def prepare_args(): + return [np.arange(10)] + + def closure(x, b): + b.wait() + for _ in range(100): + y = np.arange(10) + y.flat[x] = x + + run_threaded(closure, pass_barrier=True, prepare_args=prepare_args) diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_nep50_promotions.py b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_nep50_promotions.py index 688be533..9eec0223 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_nep50_promotions.py +++ b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_nep50_promotions.py @@ -237,6 +237,20 @@ def test_integer_comparison(sctype, other_val, comp): assert_array_equal(comp(other_val, val_obj), comp(other_val, val)) +@pytest.mark.parametrize("arr", [ + np.ones((100, 100), dtype=np.uint8)[::2], # not trivially iterable + np.ones(20000, dtype=">u4"), # cast and >buffersize + np.ones(100, dtype=">u4"), # fast path compatible with cast +]) +def test_integer_comparison_with_cast(arr): + # Similar to above, but mainly test a few cases that cover the slow path + # the test is limited to unsigned ints and -1 for simplicity. + res = arr >= -1 + assert_array_equal(res, np.ones_like(arr, dtype=bool)) + res = arr < -1 + assert_array_equal(res, np.zeros_like(arr, dtype=bool)) + + @pytest.mark.parametrize("comp", [np.equal, np.not_equal, np.less_equal, np.less, np.greater_equal, np.greater]) diff --git a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_stringdtype.py b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_stringdtype.py index 11e51d49..ad4276f4 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_stringdtype.py +++ b/.venv/lib/python3.12/site-packages/numpy/_core/tests/test_stringdtype.py @@ -415,8 +415,19 @@ def test_sort(dtype, strings): def test_sort(strings, arr_sorted): arr = np.array(strings, dtype=dtype) - np.random.default_rng().shuffle(arr) na_object = getattr(arr.dtype, "na_object", "") + if na_object is None and None in strings: + with pytest.raises( + ValueError, + match="Cannot compare null that is not a nan-like value", + ): + np.argsort(arr) + argsorted = None + elif na_object is pd_NA or na_object != '': + argsorted = None + else: + argsorted = np.argsort(arr) + np.random.default_rng().shuffle(arr) if na_object is None and None in strings: with pytest.raises( ValueError, @@ -426,6 +437,9 @@ def test_sort(dtype, strings): else: arr.sort() assert np.array_equal(arr, arr_sorted, equal_nan=True) + if argsorted is not None: + assert np.array_equal(argsorted, np.argsort(strings)) + # make a copy so we don't mutate the lists in the fixture strings = strings.copy() diff --git a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/__pycache__/__init__.cpython-312.pyc index 587e0cc2..534f9c9e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/__pycache__/hook-numpy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/__pycache__/hook-numpy.cpython-312.pyc index d78aad63..43b81d04 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/__pycache__/hook-numpy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/__pycache__/hook-numpy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/__init__.cpython-312.pyc index 52f6c883..df82491d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/pyinstaller-smoke.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/pyinstaller-smoke.cpython-312.pyc index 18feeb76..36cf267c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/pyinstaller-smoke.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/pyinstaller-smoke.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/test_pyinstaller.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/test_pyinstaller.cpython-312.pyc index b1ddeed1..d8ac96da 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/test_pyinstaller.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_pyinstaller/tests/__pycache__/test_pyinstaller.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__init__.py b/.venv/lib/python3.12/site-packages/numpy/_typing/__init__.py index 687e124e..dd9b133d 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_typing/__init__.py +++ b/.venv/lib/python3.12/site-packages/numpy/_typing/__init__.py @@ -121,15 +121,14 @@ from ._array_like import ( NDArray as NDArray, ArrayLike as ArrayLike, _ArrayLike as _ArrayLike, - _FiniteNestedSequence as _FiniteNestedSequence, - _SupportsArray as _SupportsArray, - _SupportsArrayFunc as _SupportsArrayFunc, _ArrayLikeInt as _ArrayLikeInt, _ArrayLikeBool_co as _ArrayLikeBool_co, _ArrayLikeUInt_co as _ArrayLikeUInt_co, _ArrayLikeInt_co as _ArrayLikeInt_co, _ArrayLikeFloat_co as _ArrayLikeFloat_co, + _ArrayLikeFloat64_co as _ArrayLikeFloat64_co, _ArrayLikeComplex_co as _ArrayLikeComplex_co, + _ArrayLikeComplex128_co as _ArrayLikeComplex128_co, _ArrayLikeNumber_co as _ArrayLikeNumber_co, _ArrayLikeTD64_co as _ArrayLikeTD64_co, _ArrayLikeDT64_co as _ArrayLikeDT64_co, @@ -140,6 +139,9 @@ from ._array_like import ( _ArrayLikeString_co as _ArrayLikeString_co, _ArrayLikeAnyString_co as _ArrayLikeAnyString_co, _ArrayLikeUnknown as _ArrayLikeUnknown, + _FiniteNestedSequence as _FiniteNestedSequence, + _SupportsArray as _SupportsArray, + _SupportsArrayFunc as _SupportsArrayFunc, _UnknownType as _UnknownType, ) diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/__init__.cpython-312.pyc index aa0d4450..1fc9b9d6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_add_docstring.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_add_docstring.cpython-312.pyc index 79cae092..2df4a952 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_add_docstring.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_add_docstring.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_array_like.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_array_like.cpython-312.pyc index 10b483bd..d7149bbf 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_array_like.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_array_like.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_char_codes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_char_codes.cpython-312.pyc index ccdeb7ab..ebadf4fc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_char_codes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_char_codes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_dtype_like.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_dtype_like.cpython-312.pyc index 7fe58ea0..630e15ed 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_dtype_like.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_dtype_like.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_extended_precision.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_extended_precision.cpython-312.pyc index a87c2985..e2ec5b67 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_extended_precision.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_extended_precision.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nbit.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nbit.cpython-312.pyc index 8e1a5062..e24ed0b6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nbit.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nbit.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nbit_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nbit_base.cpython-312.pyc index 52988d0d..4c288d98 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nbit_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nbit_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nested_sequence.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nested_sequence.cpython-312.pyc index aaa51703..bb06cd79 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nested_sequence.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_nested_sequence.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_scalars.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_scalars.cpython-312.pyc index 2855b149..32da172e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_scalars.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_scalars.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_shape.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_shape.cpython-312.pyc index 80cdae97..1dfc0fc5 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_shape.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_shape.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_ufunc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_ufunc.cpython-312.pyc index 8debd6bb..635efcfa 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_ufunc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_typing/__pycache__/_ufunc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/_array_like.py b/.venv/lib/python3.12/site-packages/numpy/_typing/_array_like.py index 27b59b75..7798e5d5 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_typing/_array_like.py +++ b/.venv/lib/python3.12/site-packages/numpy/_typing/_array_like.py @@ -21,6 +21,7 @@ from numpy import ( str_, bytes_, ) +from ._nbit_base import _32Bit, _64Bit from ._nested_sequence import _NestedSequence from ._shape import _Shape @@ -87,17 +88,16 @@ _DualArrayLike: TypeAlias = ( ) if sys.version_info >= (3, 12): - from collections.abc import Buffer - - ArrayLike: TypeAlias = Buffer | _DualArrayLike[ - dtype[Any], - bool | int | float | complex | str | bytes, - ] + from collections.abc import Buffer as _Buffer else: - ArrayLike: TypeAlias = _DualArrayLike[ - dtype[Any], - bool | int | float | complex | str | bytes, - ] + @runtime_checkable + class _Buffer(Protocol): + def __buffer__(self, flags: int, /) -> memoryview: ... + +ArrayLike: TypeAlias = _Buffer | _DualArrayLike[ + dtype[Any], + bool | int | float | complex | str | bytes, +] # `ArrayLike_co`: array-like objects that can be coerced into `X` # given the casting rules `same_kind` @@ -165,6 +165,11 @@ _ArrayLikeAnyString_co: TypeAlias = ( _ArrayLikeString_co ) +__Float64_co: TypeAlias = np.floating[_64Bit] | np.float32 | np.float16 | np.integer | np.bool +__Complex128_co: TypeAlias = np.number[_64Bit] | np.number[_32Bit] | np.float16 | np.integer | np.bool +_ArrayLikeFloat64_co: TypeAlias = _DualArrayLike[dtype[__Float64_co], float | int] +_ArrayLikeComplex128_co: TypeAlias = _DualArrayLike[dtype[__Complex128_co], complex | float | int] + # NOTE: This includes `builtins.bool`, but not `numpy.bool`. _ArrayLikeInt: TypeAlias = _DualArrayLike[ dtype[integer[Any]], diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/_callable.pyi b/.venv/lib/python3.12/site-packages/numpy/_typing/_callable.pyi index 56e24fb7..75af1ae8 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_typing/_callable.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/_typing/_callable.pyi @@ -151,19 +151,15 @@ class _IntTrueDiv(Protocol[_NBit1]): class _UnsignedIntOp(Protocol[_NBit1]): # NOTE: `uint64 + signedinteger -> float64` @overload - def __call__(self, other: bool, /) -> unsignedinteger[_NBit1]: ... + def __call__(self, other: int, /) -> unsignedinteger[_NBit1]: ... @overload - def __call__(self, other: int | signedinteger[Any], /) -> Any: ... + def __call__(self, other: float, /) -> float64: ... @overload - def __call__(self, other: float, /) -> floating[_NBit1] | float64: ... + def __call__(self, other: complex, /) -> complex128: ... @overload - def __call__( - self, other: complex, / - ) -> complexfloating[_NBit1, _NBit1] | complex128: ... + def __call__(self, other: unsignedinteger[_NBit2], /) -> unsignedinteger[_NBit1] | unsignedinteger[_NBit2]: ... @overload - def __call__( - self, other: unsignedinteger[_NBit2], / - ) -> unsignedinteger[_NBit1] | unsignedinteger[_NBit2]: ... + def __call__(self, other: signedinteger, /) -> Any: ... @type_check_only class _UnsignedIntBitOp(Protocol[_NBit1]): @@ -207,19 +203,13 @@ class _UnsignedIntDivMod(Protocol[_NBit1]): @type_check_only class _SignedIntOp(Protocol[_NBit1]): @overload - def __call__(self, other: bool, /) -> signedinteger[_NBit1]: ... + def __call__(self, other: int, /) -> signedinteger[_NBit1]: ... @overload - def __call__(self, other: int, /) -> signedinteger[_NBit1] | int_: ... + def __call__(self, other: float, /) -> float64: ... @overload - def __call__(self, other: float, /) -> floating[_NBit1] | float64: ... + def __call__(self, other: complex, /) -> complex128: ... @overload - def __call__( - self, other: complex, / - ) -> complexfloating[_NBit1, _NBit1] | complex128: ... - @overload - def __call__( - self, other: signedinteger[_NBit2], / - ) -> signedinteger[_NBit1] | signedinteger[_NBit2]: ... + def __call__(self, other: signedinteger[_NBit2], /) -> signedinteger[_NBit1] | signedinteger[_NBit2]: ... @type_check_only class _SignedIntBitOp(Protocol[_NBit1]): @@ -261,9 +251,7 @@ class _SignedIntDivMod(Protocol[_NBit1]): @type_check_only class _FloatOp(Protocol[_NBit1]): @overload - def __call__(self, other: bool, /) -> floating[_NBit1]: ... - @overload - def __call__(self, other: int, /) -> floating[_NBit1] | floating[_NBitInt]: ... + def __call__(self, other: int, /) -> floating[_NBit1]: ... @overload def __call__(self, other: float, /) -> floating[_NBit1] | float64: ... @overload diff --git a/.venv/lib/python3.12/site-packages/numpy/_typing/_ufunc.pyi b/.venv/lib/python3.12/site-packages/numpy/_typing/_ufunc.pyi index 997d297f..b5ac0ff6 100644 --- a/.venv/lib/python3.12/site-packages/numpy/_typing/_ufunc.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/_typing/_ufunc.pyi @@ -4,32 +4,32 @@ The signatures of the ufuncs are too varied to reasonably type with a single class. So instead, `ufunc` has been expanded into four private subclasses, one for each combination of `~ufunc.nin` and `~ufunc.nout`. - """ from typing import ( Any, Generic, - NoReturn, - TypedDict, - overload, - TypeAlias, - TypeVar, Literal, - SupportsIndex, + NoReturn, Protocol, + SupportsIndex, + TypeAlias, + TypedDict, + TypeVar, + overload, type_check_only, ) + from typing_extensions import LiteralString, Unpack import numpy as np -from numpy import ufunc, _CastingKind, _OrderKACF +from numpy import _CastingKind, _OrderKACF, ufunc from numpy.typing import NDArray -from ._shape import _ShapeLike -from ._scalars import _ScalarLike_co from ._array_like import ArrayLike, _ArrayLikeBool_co, _ArrayLikeInt_co from ._dtype_like import DTypeLike +from ._scalars import _ScalarLike_co +from ._shape import _ShapeLike _T = TypeVar("_T") _2Tuple: TypeAlias = tuple[_T, _T] @@ -61,6 +61,13 @@ class _SupportsArrayUFunc(Protocol): **kwargs: Any, ) -> Any: ... +@type_check_only +class _UFunc3Kwargs(TypedDict, total=False): + where: _ArrayLikeBool_co | None + casting: _CastingKind + order: _OrderKACF + subok: bool + signature: _3Tuple[str | None] | str | None # NOTE: `reduce`, `accumulate`, `reduceat` and `outer` raise a ValueError for # ufuncs that don't accept two input arguments and return one output argument. @@ -72,6 +79,8 @@ class _SupportsArrayUFunc(Protocol): # NOTE: If 2 output types are returned then `out` must be a # 2-tuple of arrays. Otherwise `None` or a plain array are also acceptable +# pyright: reportIncompatibleMethodOverride=false + @type_check_only class _UFunc_Nin1_Nout1(ufunc, Generic[_NameType, _NTypes, _IDType]): # type: ignore[misc] @property @@ -162,34 +171,61 @@ class _UFunc_Nin2_Nout1(ufunc, Generic[_NameType, _NTypes, _IDType]): # type: i @property def signature(self) -> None: ... - @overload + @overload # (scalar, scalar) -> scalar def __call__( self, - __x1: _ScalarLike_co, - __x2: _ScalarLike_co, - out: None = ..., + x1: _ScalarLike_co, + x2: _ScalarLike_co, + /, + out: None = None, *, - where: None | _ArrayLikeBool_co = ..., - casting: _CastingKind = ..., - order: _OrderKACF = ..., - dtype: DTypeLike = ..., - subok: bool = ..., - signature: str | _3Tuple[None | str] = ..., + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], ) -> Any: ... - @overload + @overload # (array-like, array) -> array def __call__( self, - __x1: ArrayLike, - __x2: ArrayLike, - out: None | NDArray[Any] | tuple[NDArray[Any]] = ..., + x1: ArrayLike, + x2: NDArray[np.generic], + /, + out: NDArray[np.generic] | tuple[NDArray[np.generic]] | None = None, *, - where: None | _ArrayLikeBool_co = ..., - casting: _CastingKind = ..., - order: _OrderKACF = ..., - dtype: DTypeLike = ..., - subok: bool = ..., - signature: str | _3Tuple[None | str] = ..., + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], ) -> NDArray[Any]: ... + @overload # (array, array-like) -> array + def __call__( + self, + x1: NDArray[np.generic], + x2: ArrayLike, + /, + out: NDArray[np.generic] | tuple[NDArray[np.generic]] | None = None, + *, + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], + ) -> NDArray[Any]: ... + @overload # (array-like, array-like, out=array) -> array + def __call__( + self, + x1: ArrayLike, + x2: ArrayLike, + /, + out: NDArray[np.generic] | tuple[NDArray[np.generic]], + *, + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], + ) -> NDArray[Any]: ... + @overload # (array-like, array-like) -> array | scalar + def __call__( + self, + x1: ArrayLike, + x2: ArrayLike, + /, + out: NDArray[np.generic] | tuple[NDArray[np.generic]] | None = None, + *, + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], + ) -> NDArray[Any] | Any: ... def at( self, @@ -227,35 +263,61 @@ class _UFunc_Nin2_Nout1(ufunc, Generic[_NameType, _NTypes, _IDType]): # type: i out: None | NDArray[Any] = ..., ) -> NDArray[Any]: ... - # Expand `**kwargs` into explicit keyword-only arguments - @overload + @overload # (scalar, scalar) -> scalar def outer( self, A: _ScalarLike_co, B: _ScalarLike_co, - /, *, - out: None = ..., - where: None | _ArrayLikeBool_co = ..., - casting: _CastingKind = ..., - order: _OrderKACF = ..., - dtype: DTypeLike = ..., - subok: bool = ..., - signature: str | _3Tuple[None | str] = ..., + /, + *, + out: None = None, + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], ) -> Any: ... - @overload - def outer( # type: ignore[misc] + @overload # (array-like, array) -> array + def outer( + self, + A: ArrayLike, + B: NDArray[np.generic], + /, + *, + out: NDArray[np.generic] | tuple[NDArray[np.generic]] | None = None, + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], + ) -> NDArray[Any]: ... + @overload # (array, array-like) -> array + def outer( + self, + A: NDArray[np.generic], + B: ArrayLike, + /, + *, + out: NDArray[np.generic] | tuple[NDArray[np.generic]] | None = None, + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], + ) -> NDArray[Any]: ... + @overload # (array-like, array-like, out=array) -> array + def outer( self, A: ArrayLike, B: ArrayLike, - /, *, - out: None | NDArray[Any] | tuple[NDArray[Any]] = ..., - where: None | _ArrayLikeBool_co = ..., - casting: _CastingKind = ..., - order: _OrderKACF = ..., - dtype: DTypeLike = ..., - subok: bool = ..., - signature: str | _3Tuple[None | str] = ..., + /, + *, + out: NDArray[np.generic] | tuple[NDArray[np.generic]], + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], ) -> NDArray[Any]: ... + @overload # (array-like, array-like) -> array | scalar + def outer( + self, + A: ArrayLike, + B: ArrayLike, + /, + *, + out: NDArray[np.generic] | tuple[NDArray[np.generic]] | None = None, + dtype: DTypeLike | None = None, + **kwds: Unpack[_UFunc3Kwargs], + ) -> NDArray[Any] | Any: ... @type_check_only class _UFunc_Nin1_Nout2(ufunc, Generic[_NameType, _NTypes, _IDType]): # type: ignore[misc] diff --git a/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/__init__.cpython-312.pyc index e9908b2d..d0753119 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_convertions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_convertions.cpython-312.pyc index 810c0d05..67c2aec2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_convertions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_convertions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_inspect.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_inspect.cpython-312.pyc index cb460ced..b8658612 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_inspect.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_inspect.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_pep440.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_pep440.cpython-312.pyc index 05ae1777..658bc343 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_pep440.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/_utils/__pycache__/_pep440.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/char/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/char/__pycache__/__init__.cpython-312.pyc index 68c2a7d3..a1ceb22e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/char/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/char/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/compat/__pycache__/__init__.cpython-312.pyc index 52f5fc69..cb40df60 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/compat/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/compat/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/compat/__pycache__/py3k.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/compat/__pycache__/py3k.cpython-312.pyc index 00708b1d..aed9226d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/compat/__pycache__/py3k.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/compat/__pycache__/py3k.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/compat/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/compat/tests/__pycache__/__init__.cpython-312.pyc index bf5139b8..50943884 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/compat/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/compat/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/__init__.cpython-312.pyc index fb1da46e..1b70f523 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype.cpython-312.pyc index ced354ee..0d2f8d23 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype_ctypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype_ctypes.cpython-312.pyc index 44a08287..f155af2d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype_ctypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_dtype_ctypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_internal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_internal.cpython-312.pyc index 70b99563..0108cda4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_internal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_internal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_multiarray_umath.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_multiarray_umath.cpython-312.pyc index 3e854437..5f1bb829 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_multiarray_umath.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_multiarray_umath.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_utils.cpython-312.pyc index 2cd81dbd..32ea313c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/arrayprint.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/arrayprint.cpython-312.pyc index 92633b6c..73953e7a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/arrayprint.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/arrayprint.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/defchararray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/defchararray.cpython-312.pyc index ca63dd70..71927ec7 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/defchararray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/defchararray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/einsumfunc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/einsumfunc.cpython-312.pyc index 0e5b6251..026204a2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/einsumfunc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/einsumfunc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/fromnumeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/fromnumeric.cpython-312.pyc index 0ae32851..a420ae4c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/fromnumeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/fromnumeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/function_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/function_base.cpython-312.pyc index 368376da..79493a90 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/function_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/function_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/getlimits.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/getlimits.cpython-312.pyc index 73737b9c..a52fe11f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/getlimits.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/getlimits.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/multiarray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/multiarray.cpython-312.pyc index f2d5102e..b4185039 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/multiarray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/multiarray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numeric.cpython-312.pyc index f9d7963c..1786eb1d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numerictypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numerictypes.cpython-312.pyc index 51666454..d03c1f07 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numerictypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/numerictypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/overrides.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/overrides.cpython-312.pyc index fc6731dc..2e434325 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/overrides.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/overrides.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/records.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/records.cpython-312.pyc index 26245c8e..610e6dc4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/records.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/records.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/shape_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/shape_base.cpython-312.pyc index 808f8779..dac88ec6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/shape_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/shape_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/umath.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/umath.cpython-312.pyc index 31737fe2..5af1668f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/umath.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/core/__pycache__/umath.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/doc/__pycache__/ufuncs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/doc/__pycache__/ufuncs.cpython-312.pyc index 5c158fd9..9b849542 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/doc/__pycache__/ufuncs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/doc/__pycache__/ufuncs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__init__.cpython-312.pyc index c9dc82fd..87a91383 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__main__.cpython-312.pyc index 6406e03f..6a6c84e7 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__main__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__main__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__version__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__version__.cpython-312.pyc index 22bf6b62..03dfcc5f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__version__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/__version__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/_isocbind.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/_isocbind.cpython-312.pyc index 7c3dfeab..3b2f6612 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/_isocbind.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/_isocbind.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/_src_pyf.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/_src_pyf.cpython-312.pyc index 6adb52ff..468fd2e1 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/_src_pyf.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/_src_pyf.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/auxfuncs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/auxfuncs.cpython-312.pyc index c6e73a32..edb71706 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/auxfuncs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/auxfuncs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/capi_maps.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/capi_maps.cpython-312.pyc index 7ee340f5..60578184 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/capi_maps.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/capi_maps.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/cb_rules.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/cb_rules.cpython-312.pyc index 2144ac57..0c24e1c1 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/cb_rules.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/cb_rules.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/cfuncs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/cfuncs.cpython-312.pyc index 1ce95194..4886212d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/cfuncs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/cfuncs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/common_rules.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/common_rules.cpython-312.pyc index 004675c4..896411d8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/common_rules.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/common_rules.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/crackfortran.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/crackfortran.cpython-312.pyc index cbbbcdbc..48f3969b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/crackfortran.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/crackfortran.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/diagnose.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/diagnose.cpython-312.pyc index c7ac5f2c..eb2ba78a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/diagnose.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/diagnose.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/f2py2e.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/f2py2e.cpython-312.pyc index b8848d3d..4615070e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/f2py2e.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/f2py2e.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/f90mod_rules.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/f90mod_rules.cpython-312.pyc index 8c2ed8d9..aa7d4205 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/f90mod_rules.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/f90mod_rules.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/func2subr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/func2subr.cpython-312.pyc index e10a6ceb..b8c1d1ec 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/func2subr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/func2subr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/rules.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/rules.cpython-312.pyc index 1cbcc7c1..22f26e9c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/rules.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/rules.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/symbolic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/symbolic.cpython-312.pyc index 137913f4..348888c2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/symbolic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/symbolic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/use_rules.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/use_rules.cpython-312.pyc index f5e4ea06..cd6ebf8f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/use_rules.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/__pycache__/use_rules.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/__init__.cpython-312.pyc index a8fd6090..b3798bbb 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_backend.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_backend.cpython-312.pyc index 2ed203f9..182b7c4d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_backend.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_backend.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_distutils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_distutils.cpython-312.pyc index c244a9fa..0e8e4d53 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_distutils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_distutils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_meson.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_meson.cpython-312.pyc index 1ff1885f..141605cb 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_meson.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/_backends/__pycache__/_meson.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/auxfuncs.py b/.venv/lib/python3.12/site-packages/numpy/f2py/auxfuncs.py index 095e2600..e926a52d 100644 --- a/.venv/lib/python3.12/site-packages/numpy/f2py/auxfuncs.py +++ b/.venv/lib/python3.12/site-packages/numpy/f2py/auxfuncs.py @@ -26,7 +26,7 @@ __all__ = [ 'hasexternals', 'hasinitvalue', 'hasnote', 'hasresultnote', 'isallocatable', 'isarray', 'isarrayofstrings', 'ischaracter', 'ischaracterarray', 'ischaracter_or_characterarray', - 'iscomplex', + 'iscomplex', 'iscstyledirective', 'iscomplexarray', 'iscomplexfunction', 'iscomplexfunction_warn', 'isdouble', 'isdummyroutine', 'isexternal', 'isfunction', 'isfunction_wrap', 'isint1', 'isint1array', 'isinteger', 'isintent_aux', @@ -423,6 +423,11 @@ def isrequired(var): return not isoptional(var) and isintent_nothide(var) +def iscstyledirective(f2py_line): + directives = {"callstatement", "callprotoargument", "pymethoddef"} + return any(directive in f2py_line.lower() for directive in directives) + + def isintent_in(var): if 'intent' not in var: return 1 diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/crackfortran.py b/.venv/lib/python3.12/site-packages/numpy/f2py/crackfortran.py index 6eea0347..94cb64ab 100644 --- a/.venv/lib/python3.12/site-packages/numpy/f2py/crackfortran.py +++ b/.venv/lib/python3.12/site-packages/numpy/f2py/crackfortran.py @@ -510,11 +510,9 @@ def readfortrancode(ffile, dowithline=show, istop=1): origfinalline = '' else: if localdolowercase: - # lines with intent() should be lowered otherwise - # TestString::test_char fails due to mixed case - # f2py directives without intent() should be left untouched - # gh-2547, gh-27697, gh-26681 - finalline = ll.lower() if "intent" in ll.lower() or not is_f2py_directive else ll + # only skip lowering for C style constructs + # gh-2547, gh-27697, gh-26681, gh-28014 + finalline = ll.lower() if not (is_f2py_directive and iscstyledirective(ll)) else ll else: finalline = ll origfinalline = ll diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/rules.py b/.venv/lib/python3.12/site-packages/numpy/f2py/rules.py index bf7b46c8..84137811 100644 --- a/.venv/lib/python3.12/site-packages/numpy/f2py/rules.py +++ b/.venv/lib/python3.12/site-packages/numpy/f2py/rules.py @@ -245,6 +245,11 @@ PyMODINIT_FUNC PyInit_#modulename#(void) { if (! PyErr_Occurred()) on_exit(f2py_report_on_exit,(void*)\"#modulename#\"); #endif + + if (PyType_Ready(&PyFortran_Type) < 0) { + return NULL; + } + return m; } #ifdef __cplusplus diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/__init__.cpython-312.pyc index 2bc104f6..d6959f2f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_abstract_interface.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_abstract_interface.cpython-312.pyc index 7fb972c2..7c530f3c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_abstract_interface.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_abstract_interface.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_array_from_pyobj.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_array_from_pyobj.cpython-312.pyc index 418d0076..b6178e9b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_array_from_pyobj.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_array_from_pyobj.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_assumed_shape.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_assumed_shape.cpython-312.pyc index 91788171..4fb0d069 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_assumed_shape.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_assumed_shape.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_block_docstring.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_block_docstring.cpython-312.pyc index 13656231..49b7f1af 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_block_docstring.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_block_docstring.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_callback.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_callback.cpython-312.pyc index a49bffd7..9ac7aa3b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_callback.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_callback.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_character.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_character.cpython-312.pyc index 87b96848..be454285 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_character.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_character.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_common.cpython-312.pyc index 788a45df..ba77f7ba 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_crackfortran.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_crackfortran.cpython-312.pyc index 025d89d0..fad81af8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_crackfortran.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_crackfortran.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_data.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_data.cpython-312.pyc index 574fea6b..6c1a9cf8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_data.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_data.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_docs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_docs.cpython-312.pyc index 9f50c476..9f8145e8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_docs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_docs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_f2cmap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_f2cmap.cpython-312.pyc index 692f8622..d3ac5b4d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_f2cmap.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_f2cmap.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_f2py2e.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_f2py2e.cpython-312.pyc index c60148f4..a073d072 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_f2py2e.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_f2py2e.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_isoc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_isoc.cpython-312.pyc index 64028b37..52e07a64 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_isoc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_isoc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_kind.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_kind.cpython-312.pyc index 5b587b7a..1a45beae 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_kind.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_kind.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_mixed.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_mixed.cpython-312.pyc index 8fc0956f..6c3ca48b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_mixed.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_mixed.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_modules.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_modules.cpython-312.pyc index f8621881..0fd53898 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_modules.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_modules.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_parameter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_parameter.cpython-312.pyc index b93f01c4..013fde79 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_parameter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_parameter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_pyf_src.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_pyf_src.cpython-312.pyc index 903369da..5226dfb4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_pyf_src.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_pyf_src.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_quoted_character.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_quoted_character.cpython-312.pyc index 856bf3ba..4ea58e22 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_quoted_character.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_quoted_character.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_regression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_regression.cpython-312.pyc index a0dcad23..f8acf14c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_regression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_regression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_character.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_character.cpython-312.pyc index 8c405523..bc5fa0aa 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_character.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_character.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_complex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_complex.cpython-312.pyc index 11fec0a4..efa7a2bd 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_complex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_complex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_integer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_integer.cpython-312.pyc index d8ba38cc..d3d2602f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_integer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_integer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_logical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_logical.cpython-312.pyc index 8ed5c806..77f6a9e3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_logical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_logical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_real.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_real.cpython-312.pyc index 5ebb736f..4b76438c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_real.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_return_real.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_routines.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_routines.cpython-312.pyc index 5323cac2..b3705086 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_routines.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_routines.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_semicolon_split.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_semicolon_split.cpython-312.pyc index 59fa079b..e0ee23cb 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_semicolon_split.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_semicolon_split.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_size.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_size.cpython-312.pyc index 33054cd6..5960f31a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_size.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_size.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_string.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_string.cpython-312.pyc index f4a20906..328981af 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_string.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_string.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_symbolic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_symbolic.cpython-312.pyc index 89454c56..d167f9a0 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_symbolic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_symbolic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_value_attrspec.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_value_attrspec.cpython-312.pyc index 9451e359..d16ed395 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_value_attrspec.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/test_value_attrspec.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/util.cpython-312.pyc index 2c87a357..8093efb4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/__pycache__/util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/test_regression.py b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/test_regression.py index 335c8470..c62f82ac 100644 --- a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/test_regression.py +++ b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/test_regression.py @@ -122,6 +122,15 @@ class TestF90Contiuation(util.F2PyTest): assert(res[0] == 8) assert(res[1] == 15) +class TestLowerF2PYDirectives(util.F2PyTest): + # Check variables are cased correctly + sources = [util.getpath("tests", "src", "regression", "lower_f2py_fortran.f90")] + + @pytest.mark.slow + def test_gh28014(self): + self.module.inquire_next(3) + assert True + @pytest.mark.slow def test_gh26623(): # Including libraries with . should not generate an incorrect meson.build diff --git a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/util.py b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/util.py index 9964c285..e2fcc1ba 100644 --- a/.venv/lib/python3.12/site-packages/numpy/f2py/tests/util.py +++ b/.venv/lib/python3.12/site-packages/numpy/f2py/tests/util.py @@ -57,7 +57,6 @@ def check_language(lang, code_snippet=None): return runmeson.returncode == 0 finally: shutil.rmtree(tmpdir) - return False fortran77_code = ''' diff --git a/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/__init__.cpython-312.pyc index ec86c6d6..ecdba215 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/_helper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/_helper.cpython-312.pyc index 5952441b..64a4bd72 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/_helper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/_helper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/_pocketfft.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/_pocketfft.cpython-312.pyc index f31bd00c..4cbe17d7 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/_pocketfft.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/_pocketfft.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/helper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/helper.cpython-312.pyc index 1abb51af..d39ade37 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/helper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/fft/__pycache__/helper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/__init__.cpython-312.pyc index 2bdbf85f..82d6d4ad 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/test_helper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/test_helper.cpython-312.pyc index 56398454..4da363a6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/test_helper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/test_helper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/test_pocketfft.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/test_pocketfft.cpython-312.pyc index ab41adac..5601a588 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/test_pocketfft.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/fft/tests/__pycache__/test_pocketfft.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/__init__.cpython-312.pyc index da8f158e..91534d8e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_array_utils_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_array_utils_impl.cpython-312.pyc index 6cd42bba..161e970f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_array_utils_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_array_utils_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arraypad_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arraypad_impl.cpython-312.pyc index 387c3b69..7f1879c2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arraypad_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arraypad_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arraysetops_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arraysetops_impl.cpython-312.pyc index cacead44..5fdfbaf5 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arraysetops_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arraysetops_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arrayterator_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arrayterator_impl.cpython-312.pyc index b9ef21d9..c7595bbf 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arrayterator_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_arrayterator_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_datasource.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_datasource.cpython-312.pyc index 9f5ac08d..bf3ebf36 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_datasource.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_datasource.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_function_base_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_function_base_impl.cpython-312.pyc index e3d399cf..68f837a5 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_function_base_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_function_base_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_histograms_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_histograms_impl.cpython-312.pyc index 6aaa2541..267ebfbf 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_histograms_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_histograms_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_index_tricks_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_index_tricks_impl.cpython-312.pyc index ec3e4ce8..4a08443c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_index_tricks_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_index_tricks_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_iotools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_iotools.cpython-312.pyc index ffea506c..3795522a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_iotools.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_iotools.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_nanfunctions_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_nanfunctions_impl.cpython-312.pyc index 74f83cb5..bf79a5f4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_nanfunctions_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_nanfunctions_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_npyio_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_npyio_impl.cpython-312.pyc index 917e63b5..769229c8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_npyio_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_npyio_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_polynomial_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_polynomial_impl.cpython-312.pyc index 50bdb7d4..c6949e21 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_polynomial_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_polynomial_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_scimath_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_scimath_impl.cpython-312.pyc index 5dedc5cf..39070255 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_scimath_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_scimath_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_shape_base_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_shape_base_impl.cpython-312.pyc index f95fa5da..5cc5c2d4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_shape_base_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_shape_base_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_stride_tricks_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_stride_tricks_impl.cpython-312.pyc index b2b0d72c..63524af2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_stride_tricks_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_stride_tricks_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_twodim_base_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_twodim_base_impl.cpython-312.pyc index e4ed0002..02c645b5 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_twodim_base_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_twodim_base_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_type_check_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_type_check_impl.cpython-312.pyc index 71c9d0bd..d633c1a0 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_type_check_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_type_check_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_ufunclike_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_ufunclike_impl.cpython-312.pyc index 92c37299..1c94114c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_ufunclike_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_ufunclike_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_user_array_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_user_array_impl.cpython-312.pyc index 6e857930..b7c05b8a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_user_array_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_user_array_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_utils_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_utils_impl.cpython-312.pyc index 957d3d54..5575d878 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_utils_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_utils_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_version.cpython-312.pyc index 39caf1ed..fa28decc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/_version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/array_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/array_utils.cpython-312.pyc index d37894c6..457af142 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/array_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/array_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/format.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/format.cpython-312.pyc index 9a1aa1e2..5bc0794a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/format.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/format.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/introspect.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/introspect.cpython-312.pyc index 3f1ed92b..2773ec74 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/introspect.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/introspect.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/mixins.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/mixins.cpython-312.pyc index cc94cd87..5e77870b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/mixins.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/mixins.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/npyio.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/npyio.cpython-312.pyc index 1c8fd220..039b84a2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/npyio.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/npyio.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/recfunctions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/recfunctions.cpython-312.pyc index 01388353..32ee803d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/recfunctions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/recfunctions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/scimath.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/scimath.cpython-312.pyc index 2a6839fb..5e1ebb03 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/scimath.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/scimath.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/stride_tricks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/stride_tricks.cpython-312.pyc index 6c944257..7005243a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/stride_tricks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/stride_tricks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/user_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/user_array.cpython-312.pyc index 2e4afb29..ef4bcdaa 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/user_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/__pycache__/user_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.pyi b/.venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.pyi index a55a4c3f..214ad1f0 100644 --- a/.venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/lib/_function_base_impl.pyi @@ -1,4 +1,4 @@ -from collections.abc import Sequence, Iterator, Callable, Iterable +from collections.abc import Sequence, Callable, Iterable from typing import ( Concatenate, Literal as L, @@ -15,8 +15,9 @@ from typing import ( ) from typing_extensions import deprecated +import numpy as np from numpy import ( - vectorize as vectorize, + vectorize, generic, integer, floating, @@ -35,19 +36,22 @@ from numpy._typing import ( NDArray, ArrayLike, DTypeLike, - _ShapeLike, - _ScalarLike_co, - _DTypeLike, _ArrayLike, + _DTypeLike, + _ShapeLike, _ArrayLikeBool_co, _ArrayLikeInt_co, _ArrayLikeFloat_co, _ArrayLikeComplex_co, + _ArrayLikeNumber_co, _ArrayLikeTD64_co, _ArrayLikeDT64_co, _ArrayLikeObject_co, _FloatLike_co, _ComplexLike_co, + _NumberLike_co, + _ScalarLike_co, + _NestedSequence ) __all__ = [ @@ -303,24 +307,87 @@ def diff( append: ArrayLike = ..., ) -> NDArray[Any]: ... -@overload +@overload # float scalar +def interp( + x: _FloatLike_co, + xp: _ArrayLikeFloat_co, + fp: _ArrayLikeFloat_co, + left: _FloatLike_co | None = None, + right: _FloatLike_co | None = None, + period: _FloatLike_co | None = None, +) -> float64: ... +@overload # float array +def interp( + x: NDArray[floating | integer | np.bool] | _NestedSequence[_FloatLike_co], + xp: _ArrayLikeFloat_co, + fp: _ArrayLikeFloat_co, + left: _FloatLike_co | None = None, + right: _FloatLike_co | None = None, + period: _FloatLike_co | None = None, +) -> NDArray[float64]: ... +@overload # float scalar or array def interp( x: _ArrayLikeFloat_co, xp: _ArrayLikeFloat_co, fp: _ArrayLikeFloat_co, - left: None | _FloatLike_co = ..., - right: None | _FloatLike_co = ..., - period: None | _FloatLike_co = ..., -) -> NDArray[float64]: ... -@overload + left: _FloatLike_co | None = None, + right: _FloatLike_co | None = None, + period: _FloatLike_co | None = None, +) -> NDArray[float64] | float64: ... +@overload # complex scalar +def interp( + x: _FloatLike_co, + xp: _ArrayLikeFloat_co, + fp: _ArrayLike[complexfloating], + left: _NumberLike_co | None = None, + right: _NumberLike_co | None = None, + period: _FloatLike_co | None = None, +) -> complex128: ... +@overload # complex or float scalar +def interp( + x: _FloatLike_co, + xp: _ArrayLikeFloat_co, + fp: Sequence[complex | complexfloating], + left: _NumberLike_co | None = None, + right: _NumberLike_co | None = None, + period: _FloatLike_co | None = None, +) -> complex128 | float64: ... +@overload # complex array +def interp( + x: NDArray[floating | integer | np.bool] | _NestedSequence[_FloatLike_co], + xp: _ArrayLikeFloat_co, + fp: _ArrayLike[complexfloating], + left: _NumberLike_co | None = None, + right: _NumberLike_co | None = None, + period: _FloatLike_co | None = None, +) -> NDArray[complex128]: ... +@overload # complex or float array +def interp( + x: NDArray[floating | integer | np.bool] | _NestedSequence[_FloatLike_co], + xp: _ArrayLikeFloat_co, + fp: Sequence[complex | complexfloating], + left: _NumberLike_co | None = None, + right: _NumberLike_co | None = None, + period: _FloatLike_co | None = None, +) -> NDArray[complex128 | float64]: ... +@overload # complex scalar or array def interp( x: _ArrayLikeFloat_co, xp: _ArrayLikeFloat_co, - fp: _ArrayLikeComplex_co, - left: None | _ComplexLike_co = ..., - right: None | _ComplexLike_co = ..., - period: None | _FloatLike_co = ..., -) -> NDArray[complex128]: ... + fp: _ArrayLike[complexfloating], + left: _NumberLike_co | None = None, + right: _NumberLike_co | None = None, + period: _FloatLike_co | None = None, +) -> NDArray[complex128] | complex128: ... +@overload # complex or float scalar or array +def interp( + x: _ArrayLikeFloat_co, + xp: _ArrayLikeFloat_co, + fp: _ArrayLikeNumber_co, + left: _NumberLike_co | None = None, + right: _NumberLike_co | None = None, + period: _FloatLike_co | None = None, +) -> NDArray[complex128 | float64] | complex128 | float64: ... @overload def angle(z: _ComplexLike_co, deg: bool = ...) -> floating[Any]: ... diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/__init__.cpython-312.pyc index 062e076d..3ee274fa 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__datasource.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__datasource.cpython-312.pyc index 6dbe598e..e0b302d0 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__datasource.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__datasource.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__iotools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__iotools.cpython-312.pyc index 43214c9b..78f848fd 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__iotools.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__iotools.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__version.cpython-312.pyc index d7e4d441..53167088 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test__version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_array_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_array_utils.cpython-312.pyc index 7a33c266..237a6ca7 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_array_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_array_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arraypad.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arraypad.cpython-312.pyc index 200707d4..58958a8a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arraypad.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arraypad.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arraysetops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arraysetops.cpython-312.pyc index 66f59ead..0ab00fa3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arraysetops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arraysetops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arrayterator.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arrayterator.cpython-312.pyc index 6af68c9d..bba297fa 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arrayterator.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_arrayterator.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_format.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_format.cpython-312.pyc index 59bc1a2a..25a017f1 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_format.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_format.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_function_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_function_base.cpython-312.pyc index 5468b30a..46a7be49 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_function_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_function_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_histograms.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_histograms.cpython-312.pyc index 06fb3bed..1845f1c4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_histograms.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_histograms.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_index_tricks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_index_tricks.cpython-312.pyc index 7c774f01..cb19a8ea 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_index_tricks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_index_tricks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_io.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_io.cpython-312.pyc index b6aa7bb6..1f16cac3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_io.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_io.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_loadtxt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_loadtxt.cpython-312.pyc index 16faf5ab..4702a6cc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_loadtxt.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_loadtxt.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_mixins.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_mixins.cpython-312.pyc index 81543bde..a10552c1 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_mixins.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_mixins.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_nanfunctions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_nanfunctions.cpython-312.pyc index 2aea0c1d..5f1e56e3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_nanfunctions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_nanfunctions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_packbits.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_packbits.cpython-312.pyc index 7d668cb2..1887faa5 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_packbits.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_packbits.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_polynomial.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_polynomial.cpython-312.pyc index 0de92d1a..b400bd9c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_polynomial.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_polynomial.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_recfunctions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_recfunctions.cpython-312.pyc index aec1b432..34ed467d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_recfunctions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_recfunctions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_regression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_regression.cpython-312.pyc index 960e09e2..26e256f8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_regression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_regression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_shape_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_shape_base.cpython-312.pyc index 4b33119f..e953007b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_shape_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_shape_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_stride_tricks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_stride_tricks.cpython-312.pyc index 91fbf122..a81bca09 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_stride_tricks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_stride_tricks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_twodim_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_twodim_base.cpython-312.pyc index 5e5deff3..bc5971a3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_twodim_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_twodim_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_type_check.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_type_check.cpython-312.pyc index 6729825b..c9daf51c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_type_check.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_type_check.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_ufunclike.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_ufunclike.cpython-312.pyc index 69098fa0..b1340948 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_ufunclike.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_ufunclike.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_utils.cpython-312.pyc index 11e932f4..0425e92d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/lib/tests/__pycache__/test_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/__init__.cpython-312.pyc index 6cd35e06..676056c9 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/_linalg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/_linalg.cpython-312.pyc index ac7ba899..c1a3a05b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/_linalg.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/_linalg.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/linalg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/linalg.cpython-312.pyc index 06d6d962..c43970bc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/linalg.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/linalg/__pycache__/linalg.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/__init__.cpython-312.pyc index 721f7fcf..318bc5c2 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_deprecations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_deprecations.cpython-312.pyc index c417c32b..7ad6711f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_deprecations.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_deprecations.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_linalg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_linalg.cpython-312.pyc index e117aab9..88761c12 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_linalg.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_linalg.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_regression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_regression.cpython-312.pyc index cd17e46f..635cfee3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_regression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/linalg/tests/__pycache__/test_regression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/__init__.cpython-312.pyc index 00320078..883d77d4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/core.cpython-312.pyc index c8d1547d..8893873a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/core.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/core.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/extras.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/extras.cpython-312.pyc index 9e2bfcf3..5652ccc8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/extras.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/extras.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/mrecords.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/mrecords.cpython-312.pyc index 3ddc14c3..11d45f83 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/mrecords.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/mrecords.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/testutils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/testutils.cpython-312.pyc index 7063a4f1..48e0b34d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/testutils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/testutils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/timer_comparison.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/timer_comparison.cpython-312.pyc index 0b105714..4b29a359 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/timer_comparison.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/__pycache__/timer_comparison.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/__init__.cpython-312.pyc index 00157e5e..020845c1 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_arrayobject.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_arrayobject.cpython-312.pyc index fe8ee8bc..d910f2cf 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_arrayobject.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_arrayobject.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_core.cpython-312.pyc index cd9ca27b..79786d59 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_core.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_core.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_deprecations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_deprecations.cpython-312.pyc index fc0ca3b9..a085c2ff 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_deprecations.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_deprecations.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_extras.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_extras.cpython-312.pyc index da34c743..b7889104 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_extras.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_extras.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_mrecords.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_mrecords.cpython-312.pyc index 023da0df..e347134c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_mrecords.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_mrecords.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_old_ma.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_old_ma.cpython-312.pyc index bff8c496..65004710 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_old_ma.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_old_ma.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_regression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_regression.cpython-312.pyc index bd0b2f12..0545f0bb 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_regression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_regression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_subclassing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_subclassing.cpython-312.pyc index 821d962a..b30d5c69 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_subclassing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/ma/tests/__pycache__/test_subclassing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/ma/tests/test_core.py b/.venv/lib/python3.12/site-packages/numpy/ma/tests/test_core.py index 17fa26c3..53651004 100644 --- a/.venv/lib/python3.12/site-packages/numpy/ma/tests/test_core.py +++ b/.venv/lib/python3.12/site-packages/numpy/ma/tests/test_core.py @@ -23,7 +23,7 @@ import numpy._core.fromnumeric as fromnumeric import numpy._core.umath as umath from numpy.exceptions import AxisError from numpy.testing import ( - assert_raises, assert_warns, suppress_warnings, IS_WASM + assert_raises, assert_warns, suppress_warnings, IS_WASM, temppath ) from numpy.testing._private.utils import requires_memory from numpy import ndarray @@ -1019,8 +1019,9 @@ class TestMaskedArray: xm = masked_array([1, 2, 3], mask=[False, True, False]) # Test case to check the NotImplementedError. # It is not implemented at this point of time. We can change this in future - with pytest.raises(NotImplementedError): - np.save('xm.np', xm) + with temppath(suffix='.npy') as path: + with pytest.raises(NotImplementedError): + np.save(path, xm) class TestMaskedArrayArithmetic: diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/__pycache__/__init__.cpython-312.pyc index f9d7dfa6..ce25630b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/__pycache__/defmatrix.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/__pycache__/defmatrix.cpython-312.pyc index 3e0b4420..368c9b05 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/__pycache__/defmatrix.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/__pycache__/defmatrix.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/__init__.cpython-312.pyc index b8626f4c..5a7d6d77 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_defmatrix.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_defmatrix.cpython-312.pyc index 3918af4d..59dfe8fd 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_defmatrix.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_defmatrix.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_interaction.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_interaction.cpython-312.pyc index 41bba5a2..3b41f8d0 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_interaction.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_interaction.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_masked_matrix.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_masked_matrix.cpython-312.pyc index cdf747af..276a6e20 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_masked_matrix.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_masked_matrix.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_matrix_linalg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_matrix_linalg.cpython-312.pyc index db4007fe..c43d39da 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_matrix_linalg.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_matrix_linalg.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_multiarray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_multiarray.cpython-312.pyc index 674004d8..2dc8a940 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_multiarray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_multiarray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_numeric.cpython-312.pyc index ee279271..a2212059 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_regression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_regression.cpython-312.pyc index 6fc6b475..754b9e6e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_regression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/matrixlib/tests/__pycache__/test_regression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/__init__.cpython-312.pyc index 733ec80c..e9c04297 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/_polybase.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/_polybase.cpython-312.pyc index f50e1ed5..75b1a8e8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/_polybase.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/_polybase.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/chebyshev.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/chebyshev.cpython-312.pyc index a7af257e..b6bfd955 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/chebyshev.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/chebyshev.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/hermite.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/hermite.cpython-312.pyc index dc0db945..e6f1c9d7 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/hermite.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/hermite.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/hermite_e.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/hermite_e.cpython-312.pyc index 78b4b4e3..9b80ee6d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/hermite_e.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/hermite_e.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/laguerre.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/laguerre.cpython-312.pyc index b664ff9c..1da5e265 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/laguerre.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/laguerre.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/legendre.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/legendre.cpython-312.pyc index 7d45ed6c..4048ddb4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/legendre.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/legendre.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/polynomial.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/polynomial.cpython-312.pyc index c9fa1cbc..6e0dd8ae 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/polynomial.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/polynomial.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/polyutils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/polyutils.cpython-312.pyc index 00a36555..ad8484e8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/polyutils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/__pycache__/polyutils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/__init__.cpython-312.pyc index 1b37b37e..777b5db8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_chebyshev.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_chebyshev.cpython-312.pyc index 686c3e9a..6043d117 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_chebyshev.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_chebyshev.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_classes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_classes.cpython-312.pyc index 7bc7506d..7c3422dc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_classes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_classes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_hermite.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_hermite.cpython-312.pyc index 75804de6..252e8e1a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_hermite.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_hermite.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_hermite_e.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_hermite_e.cpython-312.pyc index d87dcc12..8ab23389 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_hermite_e.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_hermite_e.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_laguerre.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_laguerre.cpython-312.pyc index 36f97549..a62e3d97 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_laguerre.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_laguerre.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_legendre.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_legendre.cpython-312.pyc index 209f3215..f68ebe23 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_legendre.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_legendre.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_polynomial.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_polynomial.cpython-312.pyc index a1058ea9..757448b1 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_polynomial.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_polynomial.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_polyutils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_polyutils.cpython-312.pyc index a488828a..fcff12a4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_polyutils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_polyutils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_printing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_printing.cpython-312.pyc index d04a5668..33c33e86 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_printing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_printing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_symbol.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_symbol.cpython-312.pyc index 11bbe15f..588f1b63 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_symbol.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/polynomial/tests/__pycache__/test_symbol.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/__pycache__/__init__.cpython-312.pyc index 0590597c..60e754c7 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/__pycache__/_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/__pycache__/_pickle.cpython-312.pyc index df5ee644..0e367632 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/__pycache__/_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/__pycache__/_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/_bounded_integers.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/numpy/random/_bounded_integers.cpython-312-x86_64-linux-gnu.so index 69a082eb..f3150e58 100755 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/_bounded_integers.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/numpy/random/_bounded_integers.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/_common.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/numpy/random/_common.cpython-312-x86_64-linux-gnu.so index 7cc70633..141547ce 100755 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/_common.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/numpy/random/_common.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/extending.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/extending.cpython-312.pyc index ecd44538..69e54872 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/extending.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/extending.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/parse.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/parse.cpython-312.pyc index 4e6a900e..1c87dd2b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/parse.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/_examples/cffi/__pycache__/parse.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending.cpython-312.pyc index 4d96fadb..7f32bf13 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending_distributions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending_distributions.cpython-312.pyc index 034cdfbf..58c83eb8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending_distributions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/_examples/numba/__pycache__/extending_distributions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/_generator.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/numpy/random/_generator.cpython-312-x86_64-linux-gnu.so index 51cf5212..cc312474 100755 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/_generator.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/numpy/random/_generator.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/_mt19937.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/numpy/random/_mt19937.cpython-312-x86_64-linux-gnu.so index 1c1866c0..cff4eac6 100755 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/_mt19937.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/numpy/random/_mt19937.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/_philox.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/numpy/random/_philox.cpython-312-x86_64-linux-gnu.so index 0f49ffaa..1320ec57 100755 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/_philox.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/numpy/random/_philox.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/bit_generator.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/numpy/random/bit_generator.cpython-312-x86_64-linux-gnu.so index 31642b3f..552ad736 100755 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/bit_generator.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/numpy/random/bit_generator.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/mtrand.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/numpy/random/mtrand.cpython-312-x86_64-linux-gnu.so index 470ae451..a5e5e69d 100755 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/mtrand.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/numpy/random/mtrand.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/__init__.cpython-312.pyc index 96f35ace..65784150 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_direct.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_direct.cpython-312.pyc index 5bba1de1..07bb4e7b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_direct.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_direct.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_extending.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_extending.cpython-312.pyc index 00acb0f1..671fcfd6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_extending.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_extending.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937.cpython-312.pyc index 9181267c..0043376d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937_regressions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937_regressions.cpython-312.pyc index 905218be..cb88f0f9 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937_regressions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_generator_mt19937_regressions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_random.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_random.cpython-312.pyc index 041b013a..1869d3e8 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_random.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_random.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_randomstate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_randomstate.cpython-312.pyc index 4063ad24..a1ed7da3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_randomstate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_randomstate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_randomstate_regression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_randomstate_regression.cpython-312.pyc index 074f2524..69a09edf 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_randomstate_regression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_randomstate_regression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_regression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_regression.cpython-312.pyc index fc0c6151..d1c4efed 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_regression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_regression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_seed_sequence.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_seed_sequence.cpython-312.pyc index 89ac87f2..4ed6bc52 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_seed_sequence.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_seed_sequence.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_smoke.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_smoke.cpython-312.pyc index cba4d689..a5f302bd 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_smoke.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/__pycache__/test_smoke.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/random/tests/data/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/random/tests/data/__pycache__/__init__.cpython-312.pyc index eab7b91a..4a7c09aa 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/random/tests/data/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/random/tests/data/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/rec/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/rec/__pycache__/__init__.cpython-312.pyc index da7e9a93..6ad3d254 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/rec/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/rec/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/strings/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/strings/__pycache__/__init__.cpython-312.pyc index 088f1e5f..732b1985 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/strings/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/strings/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/__init__.cpython-312.pyc index 4e9ab594..3920599c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/overrides.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/overrides.cpython-312.pyc index 207a0df8..84d1ad92 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/overrides.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/overrides.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/print_coercion_tables.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/print_coercion_tables.cpython-312.pyc index f0df5a3e..9655c244 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/print_coercion_tables.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/testing/__pycache__/print_coercion_tables.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/__init__.cpython-312.pyc index a6bbdba7..2943a685 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/extbuild.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/extbuild.cpython-312.pyc index 198ebc74..acf89d01 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/extbuild.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/extbuild.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/utils.cpython-312.pyc index 3b3a15eb..4cbf109b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/testing/_private/__pycache__/utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/testing/_private/utils.py b/.venv/lib/python3.12/site-packages/numpy/testing/_private/utils.py index 4ebfb54b..3c2d398e 100644 --- a/.venv/lib/python3.12/site-packages/numpy/testing/_private/utils.py +++ b/.venv/lib/python3.12/site-packages/numpy/testing/_private/utils.py @@ -18,6 +18,7 @@ from warnings import WarningMessage import pprint import sysconfig import concurrent.futures +import threading import numpy as np from numpy._core import ( @@ -2684,12 +2685,27 @@ _glibcver = _get_glibc_version() _glibc_older_than = lambda x: (_glibcver != '0.0' and _glibcver < x) -def run_threaded(func, iters, pass_count=False): +def run_threaded(func, iters=8, pass_count=False, max_workers=8, + pass_barrier=False, outer_iterations=1, + prepare_args=None): """Runs a function many times in parallel""" - with concurrent.futures.ThreadPoolExecutor(max_workers=8) as tpe: - if pass_count: - futures = [tpe.submit(func, i) for i in range(iters)] - else: - futures = [tpe.submit(func) for _ in range(iters)] - for f in futures: - f.result() + for _ in range(outer_iterations): + with (concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) + as tpe): + if prepare_args is None: + args = [] + else: + args = prepare_args() + if pass_barrier: + if max_workers != iters: + raise RuntimeError( + "Must set max_workers equal to the number of " + "iterations to avoid deadlocks.") + barrier = threading.Barrier(max_workers) + args.append(barrier) + if pass_count: + futures = [tpe.submit(func, i, *args) for i in range(iters)] + else: + futures = [tpe.submit(func, *args) for _ in range(iters)] + for f in futures: + f.result() diff --git a/.venv/lib/python3.12/site-packages/numpy/testing/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/testing/tests/__pycache__/__init__.cpython-312.pyc index b47df0d8..2cdb0639 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/testing/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/testing/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/testing/tests/__pycache__/test_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/testing/tests/__pycache__/test_utils.cpython-312.pyc index 97b9d788..d9da9590 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/testing/tests/__pycache__/test_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/testing/tests/__pycache__/test_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/__init__.cpython-312.pyc index b9e6f86d..e276977d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test__all__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test__all__.cpython-312.pyc index 968e7057..dfea9366 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test__all__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test__all__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_configtool.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_configtool.cpython-312.pyc index e8986777..cca59d4b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_configtool.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_configtool.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_ctypeslib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_ctypeslib.cpython-312.pyc index 4bd09414..352aa79f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_ctypeslib.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_ctypeslib.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_lazyloading.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_lazyloading.cpython-312.pyc index bb077f32..252ccfda 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_lazyloading.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_lazyloading.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_matlib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_matlib.cpython-312.pyc index 6ea497cd..10691a3d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_matlib.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_matlib.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_numpy_config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_numpy_config.cpython-312.pyc index ede7c293..26e66a2f 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_numpy_config.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_numpy_config.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_numpy_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_numpy_version.cpython-312.pyc index d443086f..0aa97654 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_numpy_version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_numpy_version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_public_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_public_api.cpython-312.pyc index fc6dab92..052d7d28 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_public_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_public_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_reloading.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_reloading.cpython-312.pyc index 5a265d4d..ac8d141e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_reloading.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_reloading.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_scripts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_scripts.cpython-312.pyc index 2b740755..821a22f3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_scripts.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_scripts.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_warnings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_warnings.cpython-312.pyc index c24226af..d7d54754 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_warnings.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/tests/__pycache__/test_warnings.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/__pycache__/__init__.cpython-312.pyc index 4fab0fad..5b291f43 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/__pycache__/mypy_plugin.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/__pycache__/mypy_plugin.cpython-312.pyc index e7dcacc6..7e0d38a3b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/__pycache__/mypy_plugin.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/__pycache__/mypy_plugin.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/__init__.cpython-312.pyc index 11f5258b..f77252be 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_isfile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_isfile.cpython-312.pyc index 7571c488..ec717274 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_isfile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_isfile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_runtime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_runtime.cpython-312.pyc index b45f27f5..c4dd222e 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_runtime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_runtime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_typing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_typing.cpython-312.pyc index 6de49f70..7a1599ab 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_typing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/__pycache__/test_typing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/modules.pyi b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/modules.pyi index c86627e0..541be15b 100644 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/modules.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/fail/modules.pyi @@ -13,6 +13,5 @@ np.math # E: Module has no attribute # e.g. one must first execute `import numpy.lib.recfunctions` np.lib.recfunctions # E: Module has no attribute -np.__NUMPY_SETUP__ # E: Module has no attribute np.__deprecated_attrs__ # E: Module has no attribute np.__expired_functions__ # E: Module has no attribute diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arithmetic.cpython-312.pyc index 63d21b80..5f943ed7 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/array_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/array_constructors.cpython-312.pyc index 43f879f5..7e800912 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/array_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/array_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/array_like.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/array_like.cpython-312.pyc index 54237760..82ea98ef 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/array_like.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/array_like.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arrayprint.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arrayprint.cpython-312.pyc index 69275f78..ed35c192 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arrayprint.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arrayprint.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arrayterator.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arrayterator.cpython-312.pyc index fb93f2b2..2501dd6b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arrayterator.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/arrayterator.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/bitwise_ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/bitwise_ops.cpython-312.pyc index 74b5f808..01c93896 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/bitwise_ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/bitwise_ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/comparisons.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/comparisons.cpython-312.pyc index f06ec92c..b4c99dcb 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/comparisons.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/comparisons.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/dtype.cpython-312.pyc index a013e758..7fc8fcca 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/dtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/dtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/einsumfunc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/einsumfunc.cpython-312.pyc index b4a6017a..f375493c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/einsumfunc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/einsumfunc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/flatiter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/flatiter.cpython-312.pyc index 880c8c72..c92ce0cd 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/flatiter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/flatiter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/fromnumeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/fromnumeric.cpython-312.pyc index 179b2604..fdcd55d5 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/fromnumeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/fromnumeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/index_tricks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/index_tricks.cpython-312.pyc index 5b912229..8ec08477 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/index_tricks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/index_tricks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/lib_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/lib_utils.cpython-312.pyc index 7f348794..40a4719a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/lib_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/lib_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/lib_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/lib_version.cpython-312.pyc index 7cf4fd44..75c59bad 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/lib_version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/lib_version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/literal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/literal.cpython-312.pyc index a2f57f12..bcce4fa9 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/literal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/literal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ma.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ma.cpython-312.pyc index 3eb47a7a..3d6bbabc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ma.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ma.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/mod.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/mod.cpython-312.pyc index 02746142..c8387e8b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/mod.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/mod.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/modules.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/modules.cpython-312.pyc index 68b71399..5ce766f3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/modules.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/modules.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/multiarray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/multiarray.cpython-312.pyc index 131e57f4..b765c0e4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/multiarray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/multiarray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_conversion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_conversion.cpython-312.pyc index 94382571..ac052832 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_conversion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_conversion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_misc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_misc.cpython-312.pyc index 0d692511..cc3ed03d 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_misc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_misc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_shape_manipulation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_shape_manipulation.cpython-312.pyc index 0d52623a..0943cabc 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_shape_manipulation.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ndarray_shape_manipulation.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/numeric.cpython-312.pyc index f31ee02f..3391f0a5 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/numerictypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/numerictypes.cpython-312.pyc index db3dce6d..bda31bf3 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/numerictypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/numerictypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/random.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/random.cpython-312.pyc index 047b570d..750d404c 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/random.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/random.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/scalars.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/scalars.cpython-312.pyc index 6e4c072b..0b6c584b 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/scalars.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/scalars.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/shape.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/shape.cpython-312.pyc index cb58f54f..60b8d753 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/shape.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/shape.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/simple.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/simple.cpython-312.pyc index a3d29d44..ee3c30e0 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/simple.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/simple.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/simple_py3.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/simple_py3.cpython-312.pyc index e93986af..1e93217a 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/simple_py3.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/simple_py3.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufunc_config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufunc_config.cpython-312.pyc index c6bfb848..1101b9a4 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufunc_config.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufunc_config.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufunclike.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufunclike.cpython-312.pyc index 4fd25082..8bd28f75 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufunclike.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufunclike.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufuncs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufuncs.cpython-312.pyc index 5caa6928..66f0cc61 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufuncs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/ufuncs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/warnings_and_errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/warnings_and_errors.cpython-312.pyc index 272c401e..24d6ded6 100644 Binary files a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/warnings_and_errors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/__pycache__/warnings_and_errors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/ndarray_misc.py b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/ndarray_misc.py index 7b8ebea5..fef9d519 100644 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/ndarray_misc.py +++ b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/ndarray_misc.py @@ -174,3 +174,10 @@ float(np.array("1", dtype=np.str_)) complex(np.array(1.0, dtype=np.float64)) operator.index(np.array(1, dtype=np.int64)) + +# this fails on numpy 2.2.1 +# https://github.com/scipy/scipy/blob/a755ee77ec47a64849abe42c349936475a6c2f24/scipy/io/arff/tests/test_arffread.py#L41-L44 +A_float = np.array([[1, 5], [2, 4], [np.nan, np.nan]]) +A_void: npt.NDArray[np.void] = np.empty(3, [("yop", float), ("yap", float)]) +A_void["yop"] = A_float[:, 0] +A_void["yap"] = A_float[:, 1] diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/scalars.py b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/scalars.py index 01beb0b2..89f24cb9 100644 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/scalars.py +++ b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/scalars.py @@ -89,9 +89,18 @@ np.datetime64(0, ('ms', 3)) np.datetime64("2019") np.datetime64(b"2019") np.datetime64("2019", "D") +np.datetime64("2019", "us") +np.datetime64("2019", "as") +np.datetime64(np.datetime64()) np.datetime64(np.datetime64()) np.datetime64(dt.datetime(2000, 5, 3)) +np.datetime64(dt.datetime(2000, 5, 3), "D") +np.datetime64(dt.datetime(2000, 5, 3), "us") +np.datetime64(dt.datetime(2000, 5, 3), "as") np.datetime64(dt.date(2000, 5, 3)) +np.datetime64(dt.date(2000, 5, 3), "D") +np.datetime64(dt.date(2000, 5, 3), "us") +np.datetime64(dt.date(2000, 5, 3), "as") np.datetime64(None) np.datetime64(None, "D") diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/simple.py b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/simple.py index 16c6e8eb..8f44e6e7 100644 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/simple.py +++ b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/pass/simple.py @@ -71,8 +71,13 @@ array[:] = 0 array_2d = np.ones((3, 3)) array_2d[:2, :2] -array_2d[..., 0] array_2d[:2, :2] = 0 +array_2d[..., 0] +array_2d[..., 0] = 2 +array_2d[-1, -1] = None + +array_obj = np.zeros(1, dtype=np.object_) +array_obj[0] = slice(None) # Other special methods len(array) @@ -80,8 +85,7 @@ str(array) array_scalar = np.array(1) int(array_scalar) float(array_scalar) -# currently does not work due to https://github.com/python/typeshed/issues/1904 -# complex(array_scalar) +complex(array_scalar) bytes(array_scalar) operator.index(array_scalar) bool(array_scalar) diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/arithmetic.pyi b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/arithmetic.pyi index c1eee5d3..46ac0035 100644 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/arithmetic.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/arithmetic.pyi @@ -51,6 +51,7 @@ AR_m: npt.NDArray[np.timedelta64] AR_M: npt.NDArray[np.datetime64] AR_O: npt.NDArray[np.object_] AR_number: npt.NDArray[np.number[Any]] +AR_Any: npt.NDArray[Any] AR_LIKE_b: list[bool] AR_LIKE_u: list[np.uint32] @@ -61,18 +62,19 @@ AR_LIKE_m: list[np.timedelta64] AR_LIKE_M: list[np.datetime64] AR_LIKE_O: list[np.object_] + # Array subtraction assert_type(AR_number - AR_number, npt.NDArray[np.number[Any]]) -assert_type(AR_b - AR_LIKE_u, npt.NDArray[np.unsignedinteger[Any]]) +assert_type(AR_b - AR_LIKE_u, npt.NDArray[np.uint32]) assert_type(AR_b - AR_LIKE_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_b - AR_LIKE_f, npt.NDArray[np.floating[Any]]) assert_type(AR_b - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]]) assert_type(AR_b - AR_LIKE_m, npt.NDArray[np.timedelta64]) assert_type(AR_b - AR_LIKE_O, Any) -assert_type(AR_LIKE_u - AR_b, npt.NDArray[np.unsignedinteger[Any]]) +assert_type(AR_LIKE_u - AR_b, npt.NDArray[np.uint32]) assert_type(AR_LIKE_i - AR_b, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_LIKE_f - AR_b, npt.NDArray[np.floating[Any]]) assert_type(AR_LIKE_c - AR_b, npt.NDArray[np.complexfloating[Any, Any]]) @@ -80,7 +82,7 @@ assert_type(AR_LIKE_m - AR_b, npt.NDArray[np.timedelta64]) assert_type(AR_LIKE_M - AR_b, npt.NDArray[np.datetime64]) assert_type(AR_LIKE_O - AR_b, Any) -assert_type(AR_u - AR_LIKE_b, npt.NDArray[np.unsignedinteger[Any]]) +assert_type(AR_u - AR_LIKE_b, npt.NDArray[np.uint32]) assert_type(AR_u - AR_LIKE_u, npt.NDArray[np.unsignedinteger[Any]]) assert_type(AR_u - AR_LIKE_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_u - AR_LIKE_f, npt.NDArray[np.floating[Any]]) @@ -88,7 +90,7 @@ assert_type(AR_u - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]]) assert_type(AR_u - AR_LIKE_m, npt.NDArray[np.timedelta64]) assert_type(AR_u - AR_LIKE_O, Any) -assert_type(AR_LIKE_b - AR_u, npt.NDArray[np.unsignedinteger[Any]]) +assert_type(AR_LIKE_b - AR_u, npt.NDArray[np.uint32]) assert_type(AR_LIKE_u - AR_u, npt.NDArray[np.unsignedinteger[Any]]) assert_type(AR_LIKE_i - AR_u, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_LIKE_f - AR_u, npt.NDArray[np.floating[Any]]) @@ -97,7 +99,7 @@ assert_type(AR_LIKE_m - AR_u, npt.NDArray[np.timedelta64]) assert_type(AR_LIKE_M - AR_u, npt.NDArray[np.datetime64]) assert_type(AR_LIKE_O - AR_u, Any) -assert_type(AR_i - AR_LIKE_b, npt.NDArray[np.signedinteger[Any]]) +assert_type(AR_i - AR_LIKE_b, npt.NDArray[np.int64]) assert_type(AR_i - AR_LIKE_u, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_i - AR_LIKE_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_i - AR_LIKE_f, npt.NDArray[np.floating[Any]]) @@ -105,7 +107,7 @@ assert_type(AR_i - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]]) assert_type(AR_i - AR_LIKE_m, npt.NDArray[np.timedelta64]) assert_type(AR_i - AR_LIKE_O, Any) -assert_type(AR_LIKE_b - AR_i, npt.NDArray[np.signedinteger[Any]]) +assert_type(AR_LIKE_b - AR_i, npt.NDArray[np.int64]) assert_type(AR_LIKE_u - AR_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_LIKE_i - AR_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_LIKE_f - AR_i, npt.NDArray[np.floating[Any]]) @@ -114,32 +116,32 @@ assert_type(AR_LIKE_m - AR_i, npt.NDArray[np.timedelta64]) assert_type(AR_LIKE_M - AR_i, npt.NDArray[np.datetime64]) assert_type(AR_LIKE_O - AR_i, Any) -assert_type(AR_f - AR_LIKE_b, npt.NDArray[np.floating[Any]]) -assert_type(AR_f - AR_LIKE_u, npt.NDArray[np.floating[Any]]) -assert_type(AR_f - AR_LIKE_i, npt.NDArray[np.floating[Any]]) -assert_type(AR_f - AR_LIKE_f, npt.NDArray[np.floating[Any]]) +assert_type(AR_f - AR_LIKE_b, npt.NDArray[np.float64]) +assert_type(AR_f - AR_LIKE_u, npt.NDArray[np.float64]) +assert_type(AR_f - AR_LIKE_i, npt.NDArray[np.float64]) +assert_type(AR_f - AR_LIKE_f, npt.NDArray[np.float64]) assert_type(AR_f - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]]) assert_type(AR_f - AR_LIKE_O, Any) -assert_type(AR_LIKE_b - AR_f, npt.NDArray[np.floating[Any]]) -assert_type(AR_LIKE_u - AR_f, npt.NDArray[np.floating[Any]]) -assert_type(AR_LIKE_i - AR_f, npt.NDArray[np.floating[Any]]) -assert_type(AR_LIKE_f - AR_f, npt.NDArray[np.floating[Any]]) +assert_type(AR_LIKE_b - AR_f, npt.NDArray[np.float64]) +assert_type(AR_LIKE_u - AR_f, npt.NDArray[np.float64]) +assert_type(AR_LIKE_i - AR_f, npt.NDArray[np.float64]) +assert_type(AR_LIKE_f - AR_f, npt.NDArray[np.float64]) assert_type(AR_LIKE_c - AR_f, npt.NDArray[np.complexfloating[Any, Any]]) assert_type(AR_LIKE_O - AR_f, Any) -assert_type(AR_c - AR_LIKE_b, npt.NDArray[np.complexfloating[Any, Any]]) -assert_type(AR_c - AR_LIKE_u, npt.NDArray[np.complexfloating[Any, Any]]) -assert_type(AR_c - AR_LIKE_i, npt.NDArray[np.complexfloating[Any, Any]]) -assert_type(AR_c - AR_LIKE_f, npt.NDArray[np.complexfloating[Any, Any]]) -assert_type(AR_c - AR_LIKE_c, npt.NDArray[np.complexfloating[Any, Any]]) +assert_type(AR_c - AR_LIKE_b, npt.NDArray[np.complex128]) +assert_type(AR_c - AR_LIKE_u, npt.NDArray[np.complex128]) +assert_type(AR_c - AR_LIKE_i, npt.NDArray[np.complex128]) +assert_type(AR_c - AR_LIKE_f, npt.NDArray[np.complex128]) +assert_type(AR_c - AR_LIKE_c, npt.NDArray[np.complex128]) assert_type(AR_c - AR_LIKE_O, Any) -assert_type(AR_LIKE_b - AR_c, npt.NDArray[np.complexfloating[Any, Any]]) -assert_type(AR_LIKE_u - AR_c, npt.NDArray[np.complexfloating[Any, Any]]) -assert_type(AR_LIKE_i - AR_c, npt.NDArray[np.complexfloating[Any, Any]]) -assert_type(AR_LIKE_f - AR_c, npt.NDArray[np.complexfloating[Any, Any]]) -assert_type(AR_LIKE_c - AR_c, npt.NDArray[np.complexfloating[Any, Any]]) +assert_type(AR_LIKE_b - AR_c, npt.NDArray[np.complex128]) +assert_type(AR_LIKE_u - AR_c, npt.NDArray[np.complex128]) +assert_type(AR_LIKE_i - AR_c, npt.NDArray[np.complex128]) +assert_type(AR_LIKE_f - AR_c, npt.NDArray[np.complex128]) +assert_type(AR_LIKE_c - AR_c, npt.NDArray[np.complex128]) assert_type(AR_LIKE_O - AR_c, Any) assert_type(AR_m - AR_LIKE_b, npt.NDArray[np.timedelta64]) @@ -186,53 +188,53 @@ assert_type(AR_LIKE_O - AR_O, Any) # Array floor division assert_type(AR_b // AR_LIKE_b, npt.NDArray[np.int8]) -assert_type(AR_b // AR_LIKE_u, npt.NDArray[np.unsignedinteger[Any]]) +assert_type(AR_b // AR_LIKE_u, npt.NDArray[np.uint32]) assert_type(AR_b // AR_LIKE_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_b // AR_LIKE_f, npt.NDArray[np.floating[Any]]) assert_type(AR_b // AR_LIKE_O, Any) assert_type(AR_LIKE_b // AR_b, npt.NDArray[np.int8]) -assert_type(AR_LIKE_u // AR_b, npt.NDArray[np.unsignedinteger[Any]]) +assert_type(AR_LIKE_u // AR_b, npt.NDArray[np.uint32]) assert_type(AR_LIKE_i // AR_b, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_LIKE_f // AR_b, npt.NDArray[np.floating[Any]]) assert_type(AR_LIKE_O // AR_b, Any) -assert_type(AR_u // AR_LIKE_b, npt.NDArray[np.unsignedinteger[Any]]) +assert_type(AR_u // AR_LIKE_b, npt.NDArray[np.uint32]) assert_type(AR_u // AR_LIKE_u, npt.NDArray[np.unsignedinteger[Any]]) assert_type(AR_u // AR_LIKE_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_u // AR_LIKE_f, npt.NDArray[np.floating[Any]]) assert_type(AR_u // AR_LIKE_O, Any) -assert_type(AR_LIKE_b // AR_u, npt.NDArray[np.unsignedinteger[Any]]) +assert_type(AR_LIKE_b // AR_u, npt.NDArray[np.uint32]) assert_type(AR_LIKE_u // AR_u, npt.NDArray[np.unsignedinteger[Any]]) assert_type(AR_LIKE_i // AR_u, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_LIKE_f // AR_u, npt.NDArray[np.floating[Any]]) assert_type(AR_LIKE_m // AR_u, npt.NDArray[np.timedelta64]) assert_type(AR_LIKE_O // AR_u, Any) -assert_type(AR_i // AR_LIKE_b, npt.NDArray[np.signedinteger[Any]]) +assert_type(AR_i // AR_LIKE_b, npt.NDArray[np.int64]) assert_type(AR_i // AR_LIKE_u, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_i // AR_LIKE_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_i // AR_LIKE_f, npt.NDArray[np.floating[Any]]) assert_type(AR_i // AR_LIKE_O, Any) -assert_type(AR_LIKE_b // AR_i, npt.NDArray[np.signedinteger[Any]]) +assert_type(AR_LIKE_b // AR_i, npt.NDArray[np.int64]) assert_type(AR_LIKE_u // AR_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_LIKE_i // AR_i, npt.NDArray[np.signedinteger[Any]]) assert_type(AR_LIKE_f // AR_i, npt.NDArray[np.floating[Any]]) assert_type(AR_LIKE_m // AR_i, npt.NDArray[np.timedelta64]) assert_type(AR_LIKE_O // AR_i, Any) -assert_type(AR_f // AR_LIKE_b, npt.NDArray[np.floating[Any]]) -assert_type(AR_f // AR_LIKE_u, npt.NDArray[np.floating[Any]]) -assert_type(AR_f // AR_LIKE_i, npt.NDArray[np.floating[Any]]) -assert_type(AR_f // AR_LIKE_f, npt.NDArray[np.floating[Any]]) +assert_type(AR_f // AR_LIKE_b, npt.NDArray[np.float64]) +assert_type(AR_f // AR_LIKE_u, npt.NDArray[np.float64]) +assert_type(AR_f // AR_LIKE_i, npt.NDArray[np.float64]) +assert_type(AR_f // AR_LIKE_f, npt.NDArray[np.float64]) assert_type(AR_f // AR_LIKE_O, Any) -assert_type(AR_LIKE_b // AR_f, npt.NDArray[np.floating[Any]]) -assert_type(AR_LIKE_u // AR_f, npt.NDArray[np.floating[Any]]) -assert_type(AR_LIKE_i // AR_f, npt.NDArray[np.floating[Any]]) -assert_type(AR_LIKE_f // AR_f, npt.NDArray[np.floating[Any]]) +assert_type(AR_LIKE_b // AR_f, npt.NDArray[np.float64]) +assert_type(AR_LIKE_u // AR_f, npt.NDArray[np.float64]) +assert_type(AR_LIKE_i // AR_f, npt.NDArray[np.float64]) +assert_type(AR_LIKE_f // AR_f, npt.NDArray[np.float64]) assert_type(AR_LIKE_m // AR_f, npt.NDArray[np.timedelta64]) assert_type(AR_LIKE_O // AR_f, Any) @@ -407,20 +409,20 @@ assert_type(c16 + b_, np.complex128) assert_type(c16 + b, np.complex128) assert_type(c16 + c, np.complex128) assert_type(c16 + f, np.complex128) -assert_type(c16 + AR_f, npt.NDArray[np.complexfloating[Any, Any]]) +assert_type(c16 + AR_f, npt.NDArray[np.complex128]) assert_type(f16 + c16, np.complex128 | np.complexfloating[_128Bit, _128Bit]) assert_type(c16 + c16, np.complex128) assert_type(f8 + c16, np.complex128) -assert_type(i8 + c16, np.complexfloating[_64Bit, _64Bit]) +assert_type(i8 + c16, np.complex128) assert_type(c8 + c16, np.complex128 | np.complex64) assert_type(f4 + c16, np.complex128 | np.complex64) -assert_type(i4 + c16, np.complex128 | np.complex64) +assert_type(i4 + c16, np.complex128) assert_type(b_ + c16, np.complex128) assert_type(b + c16, np.complex128) assert_type(c + c16, np.complex128) assert_type(f + c16, np.complex128) -assert_type(AR_f + c16, npt.NDArray[np.complexfloating[Any, Any]]) +assert_type(AR_f + c16, npt.NDArray[np.complex128]) assert_type(c8 + f16, np.complexfloating[_32Bit, _32Bit] | np.complexfloating[_128Bit, _128Bit]) assert_type(c8 + c16, np.complex64 | np.complex128) @@ -433,7 +435,7 @@ assert_type(c8 + b_, np.complex64) assert_type(c8 + b, np.complex64) assert_type(c8 + c, np.complex64 | np.complex128) assert_type(c8 + f, np.complex64 | np.complex128) -assert_type(c8 + AR_f, npt.NDArray[np.complexfloating[Any, Any]]) +assert_type(c8 + AR_f, npt.NDArray[np.complexfloating]) assert_type(f16 + c8, np.complexfloating[_128Bit, _128Bit] | np.complex64) assert_type(c16 + c8, np.complex128) @@ -446,7 +448,7 @@ assert_type(b_ + c8, np.complex64) assert_type(b + c8, np.complex64) assert_type(c + c8, np.complex64 | np.complex128) assert_type(f + c8, np.complex64 | np.complex128) -assert_type(AR_f + c8, npt.NDArray[np.complexfloating[Any, Any]]) +assert_type(AR_f + c8, npt.NDArray[np.complexfloating]) # Float @@ -459,18 +461,18 @@ assert_type(f8 + b_, np.float64) assert_type(f8 + b, np.float64) assert_type(f8 + c, np.float64 | np.complex128) assert_type(f8 + f, np.float64) -assert_type(f8 + AR_f, npt.NDArray[np.floating[Any]]) +assert_type(f8 + AR_f, npt.NDArray[np.float64]) assert_type(f16 + f8, np.floating[_128Bit] | np.float64) assert_type(f8 + f8, np.float64) -assert_type(i8 + f8, np.floating[_64Bit]) -assert_type(f4 + f8, np.floating[_32Bit] | np.float64) -assert_type(i4 + f8, np.floating[_32Bit] | np.float64) +assert_type(i8 + f8, np.float64) +assert_type(f4 + f8, np.float32 | np.float64) +assert_type(i4 + f8,np.float64) assert_type(b_ + f8, np.float64) assert_type(b + f8, np.float64) assert_type(c + f8, np.complex128 | np.float64) assert_type(f + f8, np.float64) -assert_type(AR_f + f8, npt.NDArray[np.floating[Any]]) +assert_type(AR_f + f8, npt.NDArray[np.float64]) assert_type(f4 + f16, np.float32 | np.floating[_128Bit]) assert_type(f4 + f8, np.float32 | np.float64) @@ -481,7 +483,7 @@ assert_type(f4 + b_, np.float32) assert_type(f4 + b, np.float32) assert_type(f4 + c, np.complex64 | np.complex128) assert_type(f4 + f, np.float32 | np.float64) -assert_type(f4 + AR_f, npt.NDArray[np.floating[Any]]) +assert_type(f4 + AR_f, npt.NDArray[np.float64]) assert_type(f16 + f4, np.floating[_128Bit] | np.float32) assert_type(f8 + f4, np.float64) @@ -492,7 +494,7 @@ assert_type(b_ + f4, np.float32) assert_type(b + f4, np.float32) assert_type(c + f4, np.complex64 | np.complex128) assert_type(f + f4, np.float64 | np.float32) -assert_type(AR_f + f4, npt.NDArray[np.floating[Any]]) +assert_type(AR_f + f4, npt.NDArray[np.float64]) # Int @@ -502,18 +504,18 @@ assert_type(i8 + i4, np.signedinteger[_32Bit] | np.signedinteger[_64Bit]) assert_type(i8 + u4, Any) assert_type(i8 + b_, np.int64) assert_type(i8 + b, np.int64) -assert_type(i8 + c, np.complexfloating[_64Bit, _64Bit]) -assert_type(i8 + f, np.floating[_64Bit]) -assert_type(i8 + AR_f, npt.NDArray[np.floating[Any]]) +assert_type(i8 + c, np.complex128) +assert_type(i8 + f, np.float64) +assert_type(i8 + AR_f, npt.NDArray[np.float64]) assert_type(u8 + u8, np.uint64) assert_type(u8 + i4, Any) assert_type(u8 + u4, np.unsignedinteger[_32Bit] | np.unsignedinteger[_64Bit]) assert_type(u8 + b_, np.uint64) assert_type(u8 + b, np.uint64) -assert_type(u8 + c, np.complexfloating[_64Bit, _64Bit]) -assert_type(u8 + f, np.floating[_64Bit]) -assert_type(u8 + AR_f, npt.NDArray[np.floating[Any]]) +assert_type(u8 + c, np.complex128) +assert_type(u8 + f, np.float64) +assert_type(u8 + AR_f, npt.NDArray[np.float64]) assert_type(i8 + i8, np.int64) assert_type(u8 + i8, Any) @@ -521,24 +523,24 @@ assert_type(i4 + i8, np.signedinteger[_32Bit] | np.signedinteger[_64Bit]) assert_type(u4 + i8, Any) assert_type(b_ + i8, np.int64) assert_type(b + i8, np.int64) -assert_type(c + i8, np.complexfloating[_64Bit, _64Bit]) -assert_type(f + i8, np.floating[_64Bit]) -assert_type(AR_f + i8, npt.NDArray[np.floating[Any]]) +assert_type(c + i8, np.complex128) +assert_type(f + i8, np.float64) +assert_type(AR_f + i8, npt.NDArray[np.float64]) assert_type(u8 + u8, np.uint64) assert_type(i4 + u8, Any) assert_type(u4 + u8, np.unsignedinteger[_32Bit] | np.unsignedinteger[_64Bit]) assert_type(b_ + u8, np.uint64) assert_type(b + u8, np.uint64) -assert_type(c + u8, np.complexfloating[_64Bit, _64Bit]) -assert_type(f + u8, np.floating[_64Bit]) -assert_type(AR_f + u8, npt.NDArray[np.floating[Any]]) +assert_type(c + u8, np.complex128) +assert_type(f + u8, np.float64) +assert_type(AR_f + u8, npt.NDArray[np.float64]) assert_type(i4 + i8, np.signedinteger[_32Bit] | np.signedinteger[_64Bit]) assert_type(i4 + i4, np.int32) assert_type(i4 + b_, np.int32) assert_type(i4 + b, np.int32) -assert_type(i4 + AR_f, npt.NDArray[np.floating[Any]]) +assert_type(i4 + AR_f, npt.NDArray[np.float64]) assert_type(u4 + i8, Any) assert_type(u4 + i4, Any) @@ -546,13 +548,13 @@ assert_type(u4 + u8, np.unsignedinteger[_32Bit] | np.unsignedinteger[_64Bit]) assert_type(u4 + u4, np.uint32) assert_type(u4 + b_, np.uint32) assert_type(u4 + b, np.uint32) -assert_type(u4 + AR_f, npt.NDArray[np.floating[Any]]) +assert_type(u4 + AR_f, npt.NDArray[np.float64]) assert_type(i8 + i4, np.signedinteger[_32Bit] | np.signedinteger[_64Bit]) assert_type(i4 + i4, np.int32) assert_type(b_ + i4, np.int32) assert_type(b + i4, np.int32) -assert_type(AR_f + i4, npt.NDArray[np.floating[Any]]) +assert_type(AR_f + i4, npt.NDArray[np.float64]) assert_type(i8 + u4, Any) assert_type(i4 + u4, Any) @@ -560,4 +562,8 @@ assert_type(u8 + u4, np.unsignedinteger[_32Bit] | np.unsignedinteger[_64Bit]) assert_type(u4 + u4, np.uint32) assert_type(b_ + u4, np.uint32) assert_type(b + u4, np.uint32) -assert_type(AR_f + u4, npt.NDArray[np.floating[Any]]) +assert_type(AR_f + u4, npt.NDArray[np.float64]) + +# Any + +assert_type(AR_Any + 2, npt.NDArray[Any]) diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/false_positives.pyi b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/false_positives.pyi deleted file mode 100644 index 7ae95e16..00000000 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/false_positives.pyi +++ /dev/null @@ -1,14 +0,0 @@ -from typing import Any - -import numpy as np -import numpy.typing as npt - -from typing_extensions import assert_type - -AR_Any: npt.NDArray[Any] - -# Mypy bug where overload ambiguity is ignored for `Any`-parametrized types; -# xref numpy/numpy#20099 and python/mypy#11347 -# -# The expected output would be something akin to `npt.NDArray[Any]` -assert_type(AR_Any + 2, npt.NDArray[np.signedinteger[Any]]) diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/index_tricks.pyi b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/index_tricks.pyi index 7f5dcf8c..1db10928 100644 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/index_tricks.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/index_tricks.pyi @@ -58,13 +58,13 @@ assert_type(np.mgrid[1:1:2, None:10], npt.NDArray[Any]) assert_type(np.ogrid[1:1:2], tuple[npt.NDArray[Any], ...]) assert_type(np.ogrid[1:1:2, None:10], tuple[npt.NDArray[Any], ...]) -assert_type(np.index_exp[0:1], tuple[slice]) -assert_type(np.index_exp[0:1, None:3], tuple[slice, slice]) -assert_type(np.index_exp[0, 0:1, ..., [0, 1, 3]], tuple[Literal[0], slice, EllipsisType, list[int]]) +assert_type(np.index_exp[0:1], tuple[slice[int, int, None]]) +assert_type(np.index_exp[0:1, None:3], tuple[slice[int, int, None], slice[None, int, None]]) +assert_type(np.index_exp[0, 0:1, ..., [0, 1, 3]], tuple[Literal[0], slice[int, int, None], EllipsisType, list[int]]) -assert_type(np.s_[0:1], slice) -assert_type(np.s_[0:1, None:3], tuple[slice, slice]) -assert_type(np.s_[0, 0:1, ..., [0, 1, 3]], tuple[Literal[0], slice, EllipsisType, list[int]]) +assert_type(np.s_[0:1], slice[int, int, None]) +assert_type(np.s_[0:1, None:3], tuple[slice[int, int, None], slice[None, int, None]]) +assert_type(np.s_[0, 0:1, ..., [0, 1, 3]], tuple[Literal[0], slice[int, int, None], EllipsisType, list[int]]) assert_type(np.ix_(AR_LIKE_b), tuple[npt.NDArray[np.bool], ...]) assert_type(np.ix_(AR_LIKE_i, AR_LIKE_f), tuple[npt.NDArray[np.float64], ...]) diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/lib_function_base.pyi b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/lib_function_base.pyi index 6267163e..9cd06a36 100644 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/lib_function_base.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/lib_function_base.pyi @@ -94,6 +94,15 @@ assert_type(np.diff("bob", n=0), str) assert_type(np.diff(AR_f8, axis=0), npt.NDArray[Any]) assert_type(np.diff(AR_LIKE_f8, prepend=1.5), npt.NDArray[Any]) +assert_type(np.interp(1, [1], AR_f8), np.float64) +assert_type(np.interp(1, [1], [1]), np.float64) +assert_type(np.interp(1, [1], AR_c16), np.complex128) +assert_type(np.interp(1, [1], [1j]), np.complex128) # pyright correctly infers `complex128 | float64` +assert_type(np.interp([1], [1], AR_f8), npt.NDArray[np.float64]) +assert_type(np.interp([1], [1], [1]), npt.NDArray[np.float64]) +assert_type(np.interp([1], [1], AR_c16), npt.NDArray[np.complex128]) +assert_type(np.interp([1], [1], [1j]), npt.NDArray[np.complex128]) # pyright correctly infers `NDArray[complex128 | float64]` + assert_type(np.angle(f8), np.floating[Any]) assert_type(np.angle(AR_f8), npt.NDArray[np.floating[Any]]) assert_type(np.angle(AR_c16, deg=True), npt.NDArray[np.floating[Any]]) diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/mod.pyi b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/mod.pyi index e7e60827..bd7a632b 100644 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/mod.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/mod.pyi @@ -83,7 +83,7 @@ assert_type(i4 % i8, np.int64 | np.int32) assert_type(i4 % f8, np.float64 | np.float32) assert_type(i4 % i4, np.int32) assert_type(i4 % f4, np.float32) -assert_type(i8 % AR_b, npt.NDArray[np.signedinteger[Any]]) +assert_type(i8 % AR_b, npt.NDArray[np.int64]) assert_type(divmod(i8, b), tuple[np.signedinteger[_64Bit], np.signedinteger[_64Bit]]) assert_type(divmod(i8, f), tuple[np.floating[_64Bit], np.floating[_64Bit]]) @@ -93,7 +93,7 @@ assert_type(divmod(i8, i4), tuple[np.signedinteger[_64Bit], np.signedinteger[_64 assert_type(divmod(i8, f4), tuple[np.floating[_64Bit], np.floating[_64Bit]] | tuple[np.floating[_32Bit], np.floating[_32Bit]]) assert_type(divmod(i4, i4), tuple[np.signedinteger[_32Bit], np.signedinteger[_32Bit]]) assert_type(divmod(i4, f4), tuple[np.floating[_32Bit], np.floating[_32Bit]]) -assert_type(divmod(i8, AR_b), tuple[npt.NDArray[np.signedinteger[Any]], npt.NDArray[np.signedinteger[Any]]]) +assert_type(divmod(i8, AR_b), tuple[npt.NDArray[np.int64], npt.NDArray[np.int64]]) assert_type(b % i8, np.signedinteger[_64Bit]) assert_type(f % i8, np.floating[_64Bit]) @@ -103,7 +103,7 @@ assert_type(i8 % i4, np.int64 | np.int32) assert_type(f8 % i4, np.float64) assert_type(i4 % i4, np.int32) assert_type(f4 % i4, np.float32) -assert_type(AR_b % i8, npt.NDArray[np.signedinteger[Any]]) +assert_type(AR_b % i8, npt.NDArray[np.int64]) assert_type(divmod(b, i8), tuple[np.signedinteger[_64Bit], np.signedinteger[_64Bit]]) assert_type(divmod(f, i8), tuple[np.floating[_64Bit], np.floating[_64Bit]]) @@ -113,7 +113,7 @@ assert_type(divmod(i4, i8), tuple[np.signedinteger[_64Bit], np.signedinteger[_64 assert_type(divmod(f4, i8), tuple[np.floating[_64Bit], np.floating[_64Bit]] | tuple[np.floating[_32Bit], np.floating[_32Bit]]) assert_type(divmod(i4, i4), tuple[np.signedinteger[_32Bit], np.signedinteger[_32Bit]]) assert_type(divmod(f4, i4), tuple[np.floating[_32Bit], np.floating[_32Bit]]) -assert_type(divmod(AR_b, i8), tuple[npt.NDArray[np.signedinteger[Any]], npt.NDArray[np.signedinteger[Any]]]) +assert_type(divmod(AR_b, i8), tuple[npt.NDArray[np.int64], npt.NDArray[np.int64]]) # float @@ -121,25 +121,25 @@ assert_type(f8 % b, np.float64) assert_type(f8 % f, np.float64) assert_type(i8 % f4, np.floating[_64Bit] | np.floating[_32Bit]) assert_type(f4 % f4, np.float32) -assert_type(f8 % AR_b, npt.NDArray[np.floating[Any]]) +assert_type(f8 % AR_b, npt.NDArray[np.float64]) assert_type(divmod(f8, b), tuple[np.float64, np.float64]) assert_type(divmod(f8, f), tuple[np.float64, np.float64]) assert_type(divmod(f8, f8), tuple[np.float64, np.float64]) assert_type(divmod(f8, f4), tuple[np.float64, np.float64]) assert_type(divmod(f4, f4), tuple[np.float32, np.float32]) -assert_type(divmod(f8, AR_b), tuple[npt.NDArray[np.floating[Any]], npt.NDArray[np.floating[Any]]]) +assert_type(divmod(f8, AR_b), tuple[npt.NDArray[np.float64], npt.NDArray[np.float64]]) assert_type(b % f8, np.float64) assert_type(f % f8, np.float64) assert_type(f8 % f8, np.float64) assert_type(f8 % f8, np.float64) assert_type(f4 % f4, np.float32) -assert_type(AR_b % f8, npt.NDArray[np.floating[Any]]) +assert_type(AR_b % f8, npt.NDArray[np.float64]) assert_type(divmod(b, f8), tuple[np.float64, np.float64]) assert_type(divmod(f, f8), tuple[np.float64, np.float64]) assert_type(divmod(f8, f8), tuple[np.float64, np.float64]) assert_type(divmod(f4, f8), tuple[np.float64, np.float64] | tuple[np.float32, np.float32]) assert_type(divmod(f4, f4), tuple[np.float32, np.float32]) -assert_type(divmod(AR_b, f8), tuple[npt.NDArray[np.floating[Any]], npt.NDArray[np.floating[Any]]]) +assert_type(divmod(AR_b, f8), tuple[npt.NDArray[np.float64], npt.NDArray[np.float64]]) diff --git a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/ndarray_conversion.pyi b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/ndarray_conversion.pyi index 789585ec..b6909e64 100644 --- a/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/ndarray_conversion.pyi +++ b/.venv/lib/python3.12/site-packages/numpy/typing/tests/data/reveal/ndarray_conversion.pyi @@ -11,6 +11,7 @@ i4_2d: np.ndarray[tuple[int, int], np.dtype[np.int32]] f8_3d: np.ndarray[tuple[int, int, int], np.dtype[np.float64]] cG_4d: np.ndarray[tuple[int, int, int, int], np.dtype[np.clongdouble]] i0_nd: npt.NDArray[np.int_] +uncertain_dtype: np.int32 | np.float64 | np.str_ # item assert_type(i0_nd.item(), int) @@ -50,6 +51,13 @@ assert_type(i0_nd.astype(np.float64, "K", "unsafe", True, True), npt.NDArray[np. assert_type(np.astype(i0_nd, np.float64), npt.NDArray[np.float64]) +assert_type(i4_2d.astype(np.uint16), np.ndarray[tuple[int, int], np.dtype[np.uint16]]) +assert_type(np.astype(i4_2d, np.uint16), np.ndarray[tuple[int, int], np.dtype[np.uint16]]) +assert_type(f8_3d.astype(np.int16), np.ndarray[tuple[int, int, int], np.dtype[np.int16]]) +assert_type(np.astype(f8_3d, np.int16), np.ndarray[tuple[int, int, int], np.dtype[np.int16]]) +assert_type(i4_2d.astype(uncertain_dtype), np.ndarray[tuple[int, int], np.dtype[np.generic[Any]]]) +assert_type(np.astype(i4_2d, uncertain_dtype), np.ndarray[tuple[int, int], np.dtype[Any]]) + # byteswap assert_type(i0_nd.byteswap(), npt.NDArray[np.int_]) assert_type(i0_nd.byteswap(True), npt.NDArray[np.int_]) diff --git a/.venv/lib/python3.12/site-packages/numpy/version.py b/.venv/lib/python3.12/site-packages/numpy/version.py index 777192e7..c4eed609 100644 --- a/.venv/lib/python3.12/site-packages/numpy/version.py +++ b/.venv/lib/python3.12/site-packages/numpy/version.py @@ -2,10 +2,10 @@ """ Module to expose more detailed version info for the installed `numpy` """ -version = "2.2.0" +version = "2.2.2" __version__ = version full_version = version -git_revision = "e7a123b2d3eca9897843791dd698c1803d9a39c2" +git_revision = "fd8a68e4978defd094cffa23c71d7de7fb213e3f" release = 'dev' not in version and '+' not in version short_version = version.split("+")[0] diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/__init__.cpython-312.pyc index c7fe182b..806283db 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_elffile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_elffile.cpython-312.pyc index fce06aca..30536565 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_elffile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_elffile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_manylinux.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_manylinux.cpython-312.pyc index 0b00d1eb..fe10fdd7 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_manylinux.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_manylinux.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_musllinux.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_musllinux.cpython-312.pyc index a98ac9d9..442908c7 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_musllinux.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_musllinux.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_parser.cpython-312.pyc index f71fb677..fbc36171 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_parser.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_parser.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_structures.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_structures.cpython-312.pyc index 7f14bf1a..484c3f4d 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_structures.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_structures.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_tokenizer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_tokenizer.cpython-312.pyc index 6a877d79..5146719b 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/_tokenizer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/_tokenizer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/markers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/markers.cpython-312.pyc index b6640843..d4a23d3a 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/markers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/markers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/metadata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/metadata.cpython-312.pyc index d167faa6..f4c22d22 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/metadata.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/metadata.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/requirements.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/requirements.cpython-312.pyc index 73b9fa84..e0b03980 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/requirements.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/requirements.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/specifiers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/specifiers.cpython-312.pyc index 7e6becb6..8b9e7ac9 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/specifiers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/specifiers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/tags.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/tags.cpython-312.pyc index b709130b..3f131477 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/tags.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/tags.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/utils.cpython-312.pyc index c919f022..e8b3f5b8 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/__pycache__/version.cpython-312.pyc index 90e7085c..165c6f6d 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/__pycache__/version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/__pycache__/version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/licenses/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/licenses/__pycache__/__init__.cpython-312.pyc index 7614e161..62c9f355 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/licenses/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/licenses/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/packaging/licenses/__pycache__/_spdx.cpython-312.pyc b/.venv/lib/python3.12/site-packages/packaging/licenses/__pycache__/_spdx.cpython-312.pyc index 492aa6c4..aa084fed 100644 Binary files a/.venv/lib/python3.12/site-packages/packaging/licenses/__pycache__/_spdx.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/packaging/licenses/__pycache__/_spdx.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas-2.2.3.dist-info/RECORD b/.venv/lib/python3.12/site-packages/pandas-2.2.3.dist-info/RECORD index 544c2651..a65bf4b2 100644 --- a/.venv/lib/python3.12/site-packages/pandas-2.2.3.dist-info/RECORD +++ b/.venv/lib/python3.12/site-packages/pandas-2.2.3.dist-info/RECORD @@ -2,6 +2,7 @@ pandas-2.2.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwv pandas-2.2.3.dist-info/LICENSE,sha256=HeougO0cvQIz-EzuRIaylonxM7q6zPTSleUcQwUfMhY,62399 pandas-2.2.3.dist-info/METADATA,sha256=8FQjE5gG0NddUnq6QmiSYAhNx6La0fTzKxZ3D5fR9w8,89901 pandas-2.2.3.dist-info/RECORD,, +pandas-2.2.3.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 pandas-2.2.3.dist-info/WHEEL,sha256=3qIDcXCk577AXiK3pDifO-gE9U_MYWYGgtD78gLa2_U,137 pandas-2.2.3.dist-info/entry_points.txt,sha256=OVLKNEPs-Q7IWypWBL6fxv56_zt4sRnEI7zawo6y_0w,69 pandas/__init__.py,sha256=EIvoyjrhoqXHZe5vh-iGfYfC-1qJEH5sLTpqzJZhK3s,8658 diff --git a/.venv/lib/python3.12/site-packages/pandas/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/__pycache__/__init__.cpython-312.pyc index c463ea0d..1dfebb36 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/__pycache__/_typing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/__pycache__/_typing.cpython-312.pyc index 061b5f04..ec505330 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/__pycache__/_typing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/__pycache__/_typing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/__pycache__/_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/__pycache__/_version.cpython-312.pyc index 2a6f7f88..e9f8f2de 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/__pycache__/_version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/__pycache__/_version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/__pycache__/_version_meson.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/__pycache__/_version_meson.cpython-312.pyc index 845113c2..24694a4d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/__pycache__/_version_meson.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/__pycache__/_version_meson.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/__pycache__/conftest.cpython-312.pyc index 16f084bf..65d7b5f4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/__pycache__/testing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/__pycache__/testing.cpython-312.pyc index 4a77c72d..e2cb7369 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/__pycache__/testing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/__pycache__/testing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/__init__.cpython-312.pyc index e08714cb..ea5bd495 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/config.cpython-312.pyc index 3a5bb9c1..745709f6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/config.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/config.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/dates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/dates.cpython-312.pyc index f4f84396..0b53f045 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/dates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/dates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/display.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/display.cpython-312.pyc index 1744d7d7..bb76cbeb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/display.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/display.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/localization.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/localization.cpython-312.pyc index 4ba0a72d..c4c89ba2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/localization.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_config/__pycache__/localization.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_libs/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_libs/__pycache__/__init__.cpython-312.pyc index 57dfa1f9..3f4a9142 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_libs/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_libs/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/__pycache__/__init__.cpython-312.pyc index 2421d9b6..92a38b47 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_libs/tslibs/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_libs/window/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_libs/window/__pycache__/__init__.cpython-312.pyc index e67d8642..8fd16457 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_libs/window/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_libs/window/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/__init__.cpython-312.pyc index 7eb20d14..808921f0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_hypothesis.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_hypothesis.cpython-312.pyc index 5bc0205f..a0f06996 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_hypothesis.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_hypothesis.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_io.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_io.cpython-312.pyc index 3b4def7a..ad4c14b8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_io.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_io.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_warnings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_warnings.cpython-312.pyc index b1f9267e..882fd3fa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_warnings.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/_warnings.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/asserters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/asserters.cpython-312.pyc index 8b53220b..54648b46 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/asserters.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/asserters.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/compat.cpython-312.pyc index be6c8d8e..67c5f19e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/contexts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/contexts.cpython-312.pyc index 715cd7fb..07089fa6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/contexts.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/_testing/__pycache__/contexts.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/api/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/api/__pycache__/__init__.cpython-312.pyc index bed5f670..d0568b57 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/api/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/api/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/api/extensions/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/api/extensions/__pycache__/__init__.cpython-312.pyc index ee77a56e..3bdc413c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/api/extensions/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/api/extensions/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/api/indexers/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/api/indexers/__pycache__/__init__.cpython-312.pyc index f76abce3..a480d08b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/api/indexers/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/api/indexers/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/api/interchange/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/api/interchange/__pycache__/__init__.cpython-312.pyc index dd5e21bc..0585d1d6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/api/interchange/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/api/interchange/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/api/types/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/api/types/__pycache__/__init__.cpython-312.pyc index b7f18b27..888d1f30 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/api/types/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/api/types/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/api/typing/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/api/typing/__pycache__/__init__.cpython-312.pyc index ad4ffa37..2da8aa9f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/api/typing/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/api/typing/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/arrays/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/arrays/__pycache__/__init__.cpython-312.pyc index ac52d9b5..b3b57d79 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/arrays/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/arrays/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/__init__.cpython-312.pyc index 0ae0fc83..4af87759 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/_constants.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/_constants.cpython-312.pyc index 7faf017e..409fa7cb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/_constants.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/_constants.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/_optional.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/_optional.cpython-312.pyc index 0da2bfd1..93853bad 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/_optional.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/_optional.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/compressors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/compressors.cpython-312.pyc index e3ae6714..9d0825e6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/compressors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/compressors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/pickle_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/pickle_compat.cpython-312.pyc index ac03442d..f69cf3d9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/pickle_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/pickle_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/pyarrow.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/pyarrow.cpython-312.pyc index 81028334..37108be7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/pyarrow.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/compat/__pycache__/pyarrow.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/compat/numpy/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/compat/numpy/__pycache__/__init__.cpython-312.pyc index f0caa809..97ff4da1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/compat/numpy/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/compat/numpy/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/compat/numpy/__pycache__/function.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/compat/numpy/__pycache__/function.cpython-312.pyc index 09737c3e..a5c95b70 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/compat/numpy/__pycache__/function.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/compat/numpy/__pycache__/function.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/__init__.cpython-312.pyc index c4ec5cab..15121127 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/accessor.cpython-312.pyc index 1e9d089c..62240f10 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/algorithms.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/algorithms.cpython-312.pyc index 7eee639c..ca6a4714 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/algorithms.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/algorithms.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/api.cpython-312.pyc index ef9283f6..1393e776 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/apply.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/apply.cpython-312.pyc index 3087c8d9..20af41de 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/apply.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/apply.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/arraylike.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/arraylike.cpython-312.pyc index a92e488f..17a17321 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/arraylike.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/arraylike.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/base.cpython-312.pyc index 2302d070..56742c06 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/common.cpython-312.pyc index c16dba4a..cab1aedd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/config_init.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/config_init.cpython-312.pyc index db09c6e8..b4f99d75 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/config_init.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/config_init.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/construction.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/construction.cpython-312.pyc index 92e71eb8..a4cd394d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/construction.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/construction.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/flags.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/flags.cpython-312.pyc index 06d090cd..f06f36bd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/flags.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/flags.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/frame.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/frame.cpython-312.pyc index a5792c70..a668c5a4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/frame.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/frame.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/generic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/generic.cpython-312.pyc index a35328b6..d5923176 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/generic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/generic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/indexing.cpython-312.pyc index a03d4004..5a0a5065 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/missing.cpython-312.pyc index 94ebbc46..b37c873f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/nanops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/nanops.cpython-312.pyc index 8769072f..8b3ce37a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/nanops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/nanops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/resample.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/resample.cpython-312.pyc index 13b5cf80..6ea7c4ac 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/resample.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/resample.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/roperator.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/roperator.cpython-312.pyc index 6d5afd08..90d923d1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/roperator.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/roperator.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/sample.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/sample.cpython-312.pyc index a18f739f..a417f29b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/sample.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/sample.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/series.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/series.cpython-312.pyc index 9cfdc7ca..f7242f4e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/series.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/series.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/shared_docs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/shared_docs.cpython-312.pyc index be3ff18f..b1d98501 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/shared_docs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/shared_docs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/sorting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/sorting.cpython-312.pyc index d09f2bc7..17b99d20 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/sorting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/__pycache__/sorting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/__init__.cpython-312.pyc index f76014c9..e716b53a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/executor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/executor.cpython-312.pyc index e25474d4..bd2e9ecd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/executor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/executor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/extensions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/extensions.cpython-312.pyc index d752eb9a..af4658f3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/extensions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/_numba/__pycache__/extensions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/__init__.cpython-312.pyc index 067d9ae2..9934f2e4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/mean_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/mean_.cpython-312.pyc index 98254ae9..ea3764b7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/mean_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/mean_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/min_max_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/min_max_.cpython-312.pyc index 129c6a13..8fbbb4b6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/min_max_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/min_max_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/shared.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/shared.cpython-312.pyc index 061f23f6..98eeb042 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/shared.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/shared.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/sum_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/sum_.cpython-312.pyc index 458652fb..85a0ab8c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/sum_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/sum_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/var_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/var_.cpython-312.pyc index 997456d9..0ef8a8b4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/var_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/_numba/kernels/__pycache__/var_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/__init__.cpython-312.pyc index 2de4082f..79e89557 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/datetimelike_accumulations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/datetimelike_accumulations.cpython-312.pyc index 369b442b..ff074eb8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/datetimelike_accumulations.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/datetimelike_accumulations.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/masked_accumulations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/masked_accumulations.cpython-312.pyc index e2513e61..30934f2b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/masked_accumulations.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/masked_accumulations.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/masked_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/masked_reductions.cpython-312.pyc index 7cba6af6..356bc397 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/masked_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/masked_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/putmask.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/putmask.cpython-312.pyc index e58a6db5..dff848c1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/putmask.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/putmask.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/quantile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/quantile.cpython-312.pyc index eb047531..0195661b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/quantile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/quantile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/replace.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/replace.cpython-312.pyc index 5bcd905e..5e40afda 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/replace.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/replace.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/take.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/take.cpython-312.pyc index 1048602e..87b11ea8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/take.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/take.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/transforms.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/transforms.cpython-312.pyc index a51dfba8..abd0a018 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/transforms.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/array_algos/__pycache__/transforms.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/__init__.cpython-312.pyc index f046af76..50ec22f2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_arrow_string_mixins.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_arrow_string_mixins.cpython-312.pyc index ddb8c1ce..5712c9a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_arrow_string_mixins.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_arrow_string_mixins.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_mixins.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_mixins.cpython-312.pyc index f17f63b9..8223c574 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_mixins.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_mixins.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_ranges.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_ranges.cpython-312.pyc index 3731f409..d471885a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_ranges.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_ranges.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_utils.cpython-312.pyc index 71fdc374..45023aab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/base.cpython-312.pyc index 1abed69c..00e14b3f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/boolean.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/boolean.cpython-312.pyc index 50604310..20758768 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/boolean.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/boolean.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/categorical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/categorical.cpython-312.pyc index 9487d89f..3fd39944 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/categorical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/categorical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/datetimelike.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/datetimelike.cpython-312.pyc index f3969d03..98714fae 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/datetimelike.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/datetimelike.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/datetimes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/datetimes.cpython-312.pyc index d8b7464f..4330cbf2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/datetimes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/datetimes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/floating.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/floating.cpython-312.pyc index 91457979..d43168e7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/floating.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/floating.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/integer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/integer.cpython-312.pyc index 2df3c748..18d3ecb6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/integer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/integer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/interval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/interval.cpython-312.pyc index d1cfebe3..856ffec0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/interval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/interval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/masked.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/masked.cpython-312.pyc index 98c3621c..cc712aaf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/masked.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/masked.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/numeric.cpython-312.pyc index d7b6f5eb..f0d752ea 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/numpy_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/numpy_.cpython-312.pyc index cf0a4b2e..ef946550 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/numpy_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/numpy_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/period.cpython-312.pyc index 445d7583..0ea09e03 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/string_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/string_.cpython-312.pyc index 89ecb5b7..9b42ed3c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/string_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/string_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/string_arrow.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/string_arrow.cpython-312.pyc index 3261a7bb..ba57d8d7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/string_arrow.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/string_arrow.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/timedeltas.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/timedeltas.cpython-312.pyc index 775a30a1..fe63f8a8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/timedeltas.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/__pycache__/timedeltas.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/__init__.cpython-312.pyc index 57bc64f8..be76f91f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/_arrow_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/_arrow_utils.cpython-312.pyc index 5a5606e3..23f2aea4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/_arrow_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/_arrow_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/accessors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/accessors.cpython-312.pyc index f282d1a8..30076351 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/accessors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/accessors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/array.cpython-312.pyc index 52da51b0..b8ddbb52 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/extension_types.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/extension_types.cpython-312.pyc index dcb47466..3bba3a9c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/extension_types.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/arrow/__pycache__/extension_types.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/__init__.cpython-312.pyc index 1ce7927c..1c982f88 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/accessor.cpython-312.pyc index e3b7af20..480ae0c9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/array.cpython-312.pyc index 3ba309bb..27f89cda 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/scipy_sparse.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/scipy_sparse.cpython-312.pyc index eb41a53b..04f41ba3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/scipy_sparse.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/arrays/sparse/__pycache__/scipy_sparse.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/__init__.cpython-312.pyc index b1fc695b..72695a22 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/align.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/align.cpython-312.pyc index 99e033e8..aef59ecb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/align.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/align.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/api.cpython-312.pyc index 691bea7f..01d4b246 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/check.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/check.cpython-312.pyc index 784f3bbd..6d070873 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/check.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/check.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/common.cpython-312.pyc index ab91382d..816a3e9d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/engines.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/engines.cpython-312.pyc index 1ea19bcd..2cb1c15a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/engines.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/engines.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/eval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/eval.cpython-312.pyc index aa5915b1..8fca58f2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/eval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/eval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/expr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/expr.cpython-312.pyc index 44ebdb03..de5d26dd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/expr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/expr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/expressions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/expressions.cpython-312.pyc index 5bf2f7fe..59ff4ad7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/expressions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/expressions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/ops.cpython-312.pyc index 72c18618..b9acb5e6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/parsing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/parsing.cpython-312.pyc index 1f85187b..c9e70c50 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/parsing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/parsing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/pytables.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/pytables.cpython-312.pyc index 38a0b12a..efd810d2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/pytables.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/pytables.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/scope.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/scope.cpython-312.pyc index 101990fc..a7abe026 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/scope.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/computation/__pycache__/scope.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/__init__.cpython-312.pyc index a1e9e261..fd00d534 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/api.cpython-312.pyc index 34eec057..0b8ba964 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/astype.cpython-312.pyc index 8d1c2070..00d081fb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/base.cpython-312.pyc index f52d5b43..6d20754a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/cast.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/cast.cpython-312.pyc index 68790af6..10afcc78 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/cast.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/cast.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/common.cpython-312.pyc index b87b0c0b..8ecd8ae6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/concat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/concat.cpython-312.pyc index 53e86498..3f833a2a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/concat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/concat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/dtypes.cpython-312.pyc index 793bb58a..8f7ec34b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/generic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/generic.cpython-312.pyc index f7df4142..1ae364f7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/generic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/generic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/inference.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/inference.cpython-312.pyc index 1bf91611..b46f89c7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/inference.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/inference.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/missing.cpython-312.pyc index 9910c246..e748659e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/dtypes/__pycache__/missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/__init__.cpython-312.pyc index 1283ded5..dc2c30c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/base.cpython-312.pyc index ab2521d3..75e58460 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/categorical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/categorical.cpython-312.pyc index db6a2027..f55e0374 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/categorical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/categorical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/generic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/generic.cpython-312.pyc index 6faf1ce0..d0b734ad 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/generic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/generic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/groupby.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/groupby.cpython-312.pyc index c2cb8a30..45cedaab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/groupby.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/groupby.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/grouper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/grouper.cpython-312.pyc index 9e77c43f..ccc0f8f2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/grouper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/grouper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/indexing.cpython-312.pyc index 34ae1d39..60e34cf5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/numba_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/numba_.cpython-312.pyc index 4de3470e..041b4a8c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/numba_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/numba_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/ops.cpython-312.pyc index b9576add..279643fa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/groupby/__pycache__/ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/__init__.cpython-312.pyc index 96979357..36e0c505 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/objects.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/objects.cpython-312.pyc index 16368296..09304cac 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/objects.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/objects.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/utils.cpython-312.pyc index 15fe23ba..386966ab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexers/__pycache__/utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/__init__.cpython-312.pyc index 6f631212..547ef67b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/accessors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/accessors.cpython-312.pyc index 005902e2..ba74aad0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/accessors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/accessors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/api.cpython-312.pyc index ac920b75..5961e070 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/base.cpython-312.pyc index c95c1580..903c8c76 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/category.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/category.cpython-312.pyc index c2ae3afd..993f1173 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/category.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/category.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/datetimelike.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/datetimelike.cpython-312.pyc index 32d37705..13c064b7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/datetimelike.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/datetimelike.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/datetimes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/datetimes.cpython-312.pyc index 946e2cac..6e623415 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/datetimes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/datetimes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/extension.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/extension.cpython-312.pyc index 31464325..5769e10b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/extension.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/extension.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/frozen.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/frozen.cpython-312.pyc index c7707e2b..e2ab3494 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/frozen.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/frozen.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/interval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/interval.cpython-312.pyc index 3623e43a..a2467b50 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/interval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/interval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/multi.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/multi.cpython-312.pyc index b0e287f1..db2a3d26 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/multi.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/multi.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/period.cpython-312.pyc index 1bc0398c..8ce378c3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/range.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/range.cpython-312.pyc index cc5f853b..46293d49 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/range.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/range.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/timedeltas.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/timedeltas.cpython-312.pyc index a2d65c6d..89a902b0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/timedeltas.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/indexes/__pycache__/timedeltas.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/__init__.cpython-312.pyc index 183d6c7c..d2ad97e6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/buffer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/buffer.cpython-312.pyc index 898d7496..1a628128 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/buffer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/buffer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/column.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/column.cpython-312.pyc index bd6bbc76..41214ddc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/column.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/column.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/dataframe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/dataframe.cpython-312.pyc index 8bddffde..22c761b9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/dataframe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/dataframe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/dataframe_protocol.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/dataframe_protocol.cpython-312.pyc index 3a21e2ec..bb2a1417 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/dataframe_protocol.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/dataframe_protocol.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/from_dataframe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/from_dataframe.cpython-312.pyc index 14409e60..509a2353 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/from_dataframe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/from_dataframe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/utils.cpython-312.pyc index 80a7df71..38a5d700 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/interchange/__pycache__/utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/__init__.cpython-312.pyc index d5679156..4c5c27eb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/api.cpython-312.pyc index a50cfa85..19bf2d8e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/array_manager.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/array_manager.cpython-312.pyc index d065513b..d77ddeb7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/array_manager.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/array_manager.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/base.cpython-312.pyc index 89dc912f..09eaafb8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/blocks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/blocks.cpython-312.pyc index f705b9dd..30700513 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/blocks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/blocks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/concat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/concat.cpython-312.pyc index f436ef58..3dd646d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/concat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/concat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/construction.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/construction.cpython-312.pyc index 5b30ff16..01177f71 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/construction.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/construction.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/managers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/managers.cpython-312.pyc index f505a203..f50fc692 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/managers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/managers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/ops.cpython-312.pyc index bc17f46f..c671bdf4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/internals/__pycache__/ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/__init__.cpython-312.pyc index 9b2c53de..43dbaead 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/describe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/describe.cpython-312.pyc index ca8010f1..4609fb1a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/describe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/describe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/selectn.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/selectn.cpython-312.pyc index 5e1807e2..d16c425c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/selectn.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/selectn.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/to_dict.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/to_dict.cpython-312.pyc index 414a3e64..31202a10 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/to_dict.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/methods/__pycache__/to_dict.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/__init__.cpython-312.pyc index 9a12d461..af1f2a33 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/array_ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/array_ops.cpython-312.pyc index 2eae9265..b79ccb27 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/array_ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/array_ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/common.cpython-312.pyc index 4f6458df..8987bfce 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/dispatch.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/dispatch.cpython-312.pyc index a573c230..c0918dd7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/dispatch.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/dispatch.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/docstrings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/docstrings.cpython-312.pyc index 48453399..f972035e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/docstrings.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/docstrings.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/invalid.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/invalid.cpython-312.pyc index f630e42e..52a9499a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/invalid.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/invalid.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/mask_ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/mask_ops.cpython-312.pyc index 48bbe335..7a1b8875 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/mask_ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/mask_ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/missing.cpython-312.pyc index 0dd26820..a16df00b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/ops/__pycache__/missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/__init__.cpython-312.pyc index 21e27027..5b22dc48 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/api.cpython-312.pyc index f9bcaf6d..c015074f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/concat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/concat.cpython-312.pyc index 0b3ce73d..533aa646 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/concat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/concat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/encoding.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/encoding.cpython-312.pyc index cfef6076..2a6ef66d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/encoding.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/encoding.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/melt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/melt.cpython-312.pyc index 568e05d7..eace925b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/melt.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/melt.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/merge.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/merge.cpython-312.pyc index 7e204ffd..4fed879a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/merge.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/merge.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/pivot.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/pivot.cpython-312.pyc index 4b302337..4d86774a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/pivot.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/pivot.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/reshape.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/reshape.cpython-312.pyc index cb35824f..a1be832a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/reshape.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/reshape.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/tile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/tile.cpython-312.pyc index 21a4ae47..c0f164ce 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/tile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/tile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/util.cpython-312.pyc index 8efa5881..24a83d09 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/reshape/__pycache__/util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/sparse/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/sparse/__pycache__/__init__.cpython-312.pyc index 473a2e9a..e1c538e3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/sparse/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/sparse/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/sparse/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/sparse/__pycache__/api.cpython-312.pyc index efcfce79..1f449792 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/sparse/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/sparse/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/__init__.cpython-312.pyc index f12926dd..5e9af034 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/accessor.cpython-312.pyc index 1ce0efd7..445d8146 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/base.cpython-312.pyc index afd4c2ae..a655459d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/object_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/object_array.cpython-312.pyc index 7f5f2671..838330cc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/object_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/strings/__pycache__/object_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/__init__.cpython-312.pyc index a153481e..9f9b4e9b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/datetimes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/datetimes.cpython-312.pyc index 525af837..722c94b0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/datetimes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/datetimes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/numeric.cpython-312.pyc index 76f65278..6c74ba43 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/timedeltas.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/timedeltas.cpython-312.pyc index 8dbd0dcd..8682afe8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/timedeltas.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/timedeltas.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/times.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/times.cpython-312.pyc index 4a4c2e7c..bd69ddfb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/times.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/tools/__pycache__/times.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/__init__.cpython-312.pyc index 9def4410..7f875b5d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/hashing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/hashing.cpython-312.pyc index b1fe4c1b..54eddb52 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/hashing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/hashing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/numba_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/numba_.cpython-312.pyc index b9368693..305f8cce 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/numba_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/util/__pycache__/numba_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/__init__.cpython-312.pyc index b619093b..b27879dd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/common.cpython-312.pyc index 76afa24f..75501b05 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/doc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/doc.cpython-312.pyc index c16e5418..ba063492 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/doc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/doc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/ewm.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/ewm.cpython-312.pyc index e87def42..9b97a162 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/ewm.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/ewm.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/expanding.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/expanding.cpython-312.pyc index 63f00c55..bab7e5dc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/expanding.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/expanding.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/numba_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/numba_.cpython-312.pyc index ed149653..f9e39f1c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/numba_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/numba_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/online.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/online.cpython-312.pyc index afccad26..dcf4c1b9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/online.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/online.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/rolling.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/rolling.cpython-312.pyc index 801a1807..9e4e94f5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/rolling.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/core/window/__pycache__/rolling.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/errors/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/errors/__pycache__/__init__.cpython-312.pyc index e5cfbcbf..d670ddcb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/errors/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/errors/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/__init__.cpython-312.pyc index 9fb9cbee..d1fa7b8d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/_util.cpython-312.pyc index 94540981..63f316cc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/_util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/_util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/api.cpython-312.pyc index 3a02145c..b3627abb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/clipboards.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/clipboards.cpython-312.pyc index 05317888..26ec9b87 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/clipboards.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/clipboards.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/common.cpython-312.pyc index 8c43a40f..a5749add 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/feather_format.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/feather_format.cpython-312.pyc index 315ac9d1..97b5b4c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/feather_format.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/feather_format.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/gbq.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/gbq.cpython-312.pyc index 8977cd53..9f8901af 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/gbq.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/gbq.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/html.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/html.cpython-312.pyc index 348d2c02..cadaf5d8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/html.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/html.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/orc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/orc.cpython-312.pyc index fdf36836..bc6b424e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/orc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/orc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/parquet.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/parquet.cpython-312.pyc index c7396993..2734c371 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/parquet.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/parquet.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/pickle.cpython-312.pyc index 4977105d..54ab000a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/pytables.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/pytables.cpython-312.pyc index 308bb60f..2e78f92a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/pytables.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/pytables.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/spss.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/spss.cpython-312.pyc index 74ba28ea..b707377f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/spss.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/spss.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/sql.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/sql.cpython-312.pyc index 65aac7b3..439a5b06 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/sql.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/sql.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/stata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/stata.cpython-312.pyc index 4fbf36dc..eec2dff0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/stata.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/stata.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/xml.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/xml.cpython-312.pyc index 12d494d8..39bf1f09 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/xml.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/__pycache__/xml.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/clipboard/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/clipboard/__pycache__/__init__.cpython-312.pyc index 65ba4a71..f0a33211 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/clipboard/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/clipboard/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/__init__.cpython-312.pyc index 12875b25..ab2ef958 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_base.cpython-312.pyc index df0820b8..526a4781 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_calamine.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_calamine.cpython-312.pyc index 6c0ddba5..4f3c96f8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_calamine.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_calamine.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_odfreader.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_odfreader.cpython-312.pyc index 8f9cafbd..17a61063 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_odfreader.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_odfreader.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_odswriter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_odswriter.cpython-312.pyc index 64ce84fb..131dd016 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_odswriter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_odswriter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_openpyxl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_openpyxl.cpython-312.pyc index 5b44d50c..80060487 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_openpyxl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_openpyxl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_pyxlsb.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_pyxlsb.cpython-312.pyc index ef98bc66..00dba7b4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_pyxlsb.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_pyxlsb.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_util.cpython-312.pyc index 2c859d52..ba41dca0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_xlrd.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_xlrd.cpython-312.pyc index 99b9daf8..d60bdf5d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_xlrd.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_xlrd.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_xlsxwriter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_xlsxwriter.cpython-312.pyc index 5c40ef5d..8eebfd18 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_xlsxwriter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/excel/__pycache__/_xlsxwriter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/__init__.cpython-312.pyc index 6cc9c7e3..c00b3c39 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/_color_data.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/_color_data.cpython-312.pyc index 9056d7a9..820a3856 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/_color_data.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/_color_data.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/console.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/console.cpython-312.pyc index c71091ba..b06072f9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/console.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/console.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/css.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/css.cpython-312.pyc index 0d2d0eeb..36104582 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/css.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/css.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/csvs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/csvs.cpython-312.pyc index 6e9fd7dd..97800134 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/csvs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/csvs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/excel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/excel.cpython-312.pyc index aa87f9c7..98b0729a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/excel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/excel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/format.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/format.cpython-312.pyc index 68439bb9..e175f54a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/format.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/format.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/html.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/html.cpython-312.pyc index d9b00513..8cb8956a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/html.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/html.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/info.cpython-312.pyc index 710dfca4..91569412 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/info.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/info.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/printing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/printing.cpython-312.pyc index b6fd9ba3..663093de 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/printing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/printing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/string.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/string.cpython-312.pyc index 8ba64054..bd4b7e80 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/string.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/string.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/style.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/style.cpython-312.pyc index 00b48506..5a08cb02 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/style.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/style.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/style_render.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/style_render.cpython-312.pyc index 73eab31c..985d27c1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/style_render.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/style_render.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/xml.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/xml.cpython-312.pyc index ac47cfde..e4f91353 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/xml.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/formats/__pycache__/xml.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/__init__.cpython-312.pyc index 6308ebe0..214c3cad 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_json.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_json.cpython-312.pyc index 6bd8deab..8bd9dff9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_json.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_json.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_normalize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_normalize.cpython-312.pyc index abb9de65..df4b10d9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_normalize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_normalize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_table_schema.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_table_schema.cpython-312.pyc index a3c1801e..a4cbe059 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_table_schema.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/json/__pycache__/_table_schema.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/__init__.cpython-312.pyc index 8b6f0abb..d702a2dd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/arrow_parser_wrapper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/arrow_parser_wrapper.cpython-312.pyc index 6ace8fec..7df6e7d2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/arrow_parser_wrapper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/arrow_parser_wrapper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/base_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/base_parser.cpython-312.pyc index 98d82fe6..abbc539e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/base_parser.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/base_parser.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/c_parser_wrapper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/c_parser_wrapper.cpython-312.pyc index f5f727f2..376fcf8b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/c_parser_wrapper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/c_parser_wrapper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/python_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/python_parser.cpython-312.pyc index 062596c1..d611a77f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/python_parser.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/python_parser.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/readers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/readers.cpython-312.pyc index b3d71c4b..6bbeb9f6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/readers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/parsers/__pycache__/readers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/__init__.cpython-312.pyc index 5a395ae8..04a302b2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas7bdat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas7bdat.cpython-312.pyc index 98ca8d5c..d59bde1a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas7bdat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas7bdat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas_constants.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas_constants.cpython-312.pyc index 23f2244b..ab84721c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas_constants.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas_constants.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas_xport.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas_xport.cpython-312.pyc index bb3b3626..968bf442 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas_xport.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sas_xport.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sasreader.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sasreader.cpython-312.pyc index 7761e0fc..2bd278ad 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sasreader.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/io/sas/__pycache__/sasreader.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/__init__.cpython-312.pyc index 25375619..4c20ccc5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/_core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/_core.cpython-312.pyc index 620867fd..6d6eef66 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/_core.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/_core.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/_misc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/_misc.cpython-312.pyc index 4f8e16f7..596ec932 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/_misc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/__pycache__/_misc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/__init__.cpython-312.pyc index 68b70a98..ee68a8a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/boxplot.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/boxplot.cpython-312.pyc index e3746cee..6a4ca13f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/boxplot.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/boxplot.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/converter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/converter.cpython-312.pyc index 7be95442..5f942f21 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/converter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/converter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/core.cpython-312.pyc index 7300f3fe..d3a9aceb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/core.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/core.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/groupby.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/groupby.cpython-312.pyc index f711668c..c0befd77 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/groupby.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/groupby.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/hist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/hist.cpython-312.pyc index 658b3c63..98aeaab5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/hist.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/hist.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/misc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/misc.cpython-312.pyc index d07f1f71..54097b62 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/misc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/misc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/style.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/style.cpython-312.pyc index bd4e7910..4a19be50 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/style.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/style.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/timeseries.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/timeseries.cpython-312.pyc index dc6cf871..019e1fc1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/timeseries.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/timeseries.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/tools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/tools.cpython-312.pyc index e1701228..1edf9fe6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/tools.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/plotting/_matplotlib/__pycache__/tools.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/__init__.cpython-312.pyc index 58b6c9c0..307705c8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_aggregation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_aggregation.cpython-312.pyc index d36bb7a0..f564e2fa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_aggregation.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_aggregation.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_algos.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_algos.cpython-312.pyc index f026c076..cf14cd37 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_algos.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_algos.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_common.cpython-312.pyc index 3a239a36..6cf51eef 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_downstream.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_downstream.cpython-312.pyc index dc650620..1597c217 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_downstream.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_downstream.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_errors.cpython-312.pyc index 3f93d78b..148e7bc4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_errors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_errors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_expressions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_expressions.cpython-312.pyc index 6bfe0575..00ae7f5e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_expressions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_expressions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_flags.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_flags.cpython-312.pyc index ac59c671..b66189c4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_flags.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_flags.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_multilevel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_multilevel.cpython-312.pyc index dc0d5f24..2181c3a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_multilevel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_multilevel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_nanops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_nanops.cpython-312.pyc index 826eed72..cf5a8688 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_nanops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_nanops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_optional_dependency.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_optional_dependency.cpython-312.pyc index 8ea8fb23..0cf28ae3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_optional_dependency.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_optional_dependency.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_register_accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_register_accessor.cpython-312.pyc index 8ea23254..9b79c69e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_register_accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_register_accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_sorting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_sorting.cpython-312.pyc index 8b3eada4..f2f31572 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_sorting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_sorting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_take.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_take.cpython-312.pyc index ff40394e..987930f1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_take.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/__pycache__/test_take.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/__init__.cpython-312.pyc index 8c52a4fa..70b40aff 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/test_api.cpython-312.pyc index fcee574a..6128d7b9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/test_types.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/test_types.cpython-312.pyc index 04bc590a..37372bcd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/test_types.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/api/__pycache__/test_types.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/__init__.cpython-312.pyc index 0b3051d4..164fad1c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/common.cpython-312.pyc index b501da2b..3ea9c797 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_apply.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_apply.cpython-312.pyc index e4b7373c..94df80d6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_apply.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_apply.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_apply_relabeling.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_apply_relabeling.cpython-312.pyc index 7e1b6a29..b93c7ea1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_apply_relabeling.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_apply_relabeling.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_transform.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_transform.cpython-312.pyc index 75bfa3fb..533c2d64 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_transform.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_frame_transform.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_invalid_arg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_invalid_arg.cpython-312.pyc index 94993062..40e4ff54 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_invalid_arg.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_invalid_arg.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_numba.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_numba.cpython-312.pyc index cfce35c3..bc37822a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_numba.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_numba.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_apply.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_apply.cpython-312.pyc index b75c9d7c..2a287c63 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_apply.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_apply.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_apply_relabeling.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_apply_relabeling.cpython-312.pyc index 1272285f..c0dce8b8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_apply_relabeling.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_apply_relabeling.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_transform.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_transform.cpython-312.pyc index 31e55f8c..e31c9b9f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_transform.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_series_transform.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_str.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_str.cpython-312.pyc index 0910eb50..1fbd4e39 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_str.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/apply/__pycache__/test_str.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/__init__.cpython-312.pyc index efe100ab..026975d9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/common.cpython-312.pyc index b40dfb62..448bca17 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/conftest.cpython-312.pyc index 76144d2c..2162f713 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_array_ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_array_ops.cpython-312.pyc index f275b2d0..00b6a0e3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_array_ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_array_ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_categorical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_categorical.cpython-312.pyc index b0f90883..89db1298 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_categorical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_categorical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_datetime64.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_datetime64.cpython-312.pyc index 7ec6b9b8..bc45dd11 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_datetime64.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_datetime64.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_interval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_interval.cpython-312.pyc index 87e3f83a..8d6677ec 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_interval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_interval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_numeric.cpython-312.pyc index ee03af18..a093f1a9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_object.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_object.cpython-312.pyc index f3d72cca..c9c0edda 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_object.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_object.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_period.cpython-312.pyc index dc60dd02..0e10d28e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_timedelta64.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_timedelta64.cpython-312.pyc index ecb91ab8..14d09a6c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_timedelta64.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arithmetic/__pycache__/test_timedelta64.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/__init__.cpython-312.pyc index 99a723c3..fd3929e8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/masked_shared.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/masked_shared.cpython-312.pyc index 4aa59257..f832f55a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/masked_shared.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/masked_shared.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_array.cpython-312.pyc index 0ac4e8a9..80a1ca0d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_datetimelike.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_datetimelike.cpython-312.pyc index 6ee9feb2..b8a550f1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_datetimelike.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_datetimelike.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_datetimes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_datetimes.cpython-312.pyc index d085155d..2f94e75f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_datetimes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_datetimes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_ndarray_backed.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_ndarray_backed.cpython-312.pyc index d0cd6895..95cb87d7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_ndarray_backed.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_ndarray_backed.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_period.cpython-312.pyc index e3681373..3b9124b6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_timedeltas.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_timedeltas.cpython-312.pyc index 05250dcd..a33c8dbe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_timedeltas.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/__pycache__/test_timedeltas.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/__init__.cpython-312.pyc index 880a9ad4..ca4efc97 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_arithmetic.cpython-312.pyc index 303aaccf..6c91a7a1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_astype.cpython-312.pyc index 787b6f60..afd57d40 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_comparison.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_comparison.cpython-312.pyc index d4648235..788e01f7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_comparison.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_comparison.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_construction.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_construction.cpython-312.pyc index f758f08e..e0853d23 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_construction.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_construction.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_function.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_function.cpython-312.pyc index 3e811dee..229c03d1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_function.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_function.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_indexing.cpython-312.pyc index a89df6d0..c28aa4dc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_logical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_logical.cpython-312.pyc index e258a334..75a0c6b0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_logical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_logical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_ops.cpython-312.pyc index 1815ae37..092d4f22 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_reduction.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_reduction.cpython-312.pyc index 8852504f..dcbeedd4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_reduction.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_reduction.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_repr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_repr.cpython-312.pyc index 541c1d71..aae9f320 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_repr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/boolean/__pycache__/test_repr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/__init__.cpython-312.pyc index 2a71d333..0daff63d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_algos.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_algos.cpython-312.pyc index 899ffe3a..00d05a10 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_algos.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_algos.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_analytics.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_analytics.cpython-312.pyc index 74511eb0..e386079a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_analytics.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_analytics.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_api.cpython-312.pyc index 6444f194..3f6efdec 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_astype.cpython-312.pyc index a2fb6dda..b8839478 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_constructors.cpython-312.pyc index 0b402791..a4f0cf66 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_dtypes.cpython-312.pyc index 58d074b2..e2087f18 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_indexing.cpython-312.pyc index 497e8261..95bde283 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_map.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_map.cpython-312.pyc index 852298a4..216fba5f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_map.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_map.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_missing.cpython-312.pyc index 085b3d1f..d6cefca3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_operators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_operators.cpython-312.pyc index b034c896..e3b151eb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_operators.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_operators.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_replace.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_replace.cpython-312.pyc index 43b0a0df..94328d49 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_replace.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_replace.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_repr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_repr.cpython-312.pyc index 59b1d979..a9546158 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_repr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_repr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_sorting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_sorting.cpython-312.pyc index fb441eab..8a3a349b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_sorting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_sorting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_subclass.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_subclass.cpython-312.pyc index a19f5779..6f5aaa01 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_subclass.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_subclass.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_take.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_take.cpython-312.pyc index 8579896f..baa675fb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_take.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_take.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_warnings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_warnings.cpython-312.pyc index 0e722f70..2be4dae3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_warnings.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/categorical/__pycache__/test_warnings.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/__init__.cpython-312.pyc index 0595a7c0..1010a586 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_constructors.cpython-312.pyc index 134c1736..1416c438 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_cumulative.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_cumulative.cpython-312.pyc index 1a3b981c..46aa012e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_cumulative.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_cumulative.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_reductions.cpython-312.pyc index cd882784..7d2b4b35 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/datetimes/__pycache__/test_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/__init__.cpython-312.pyc index b925ca4b..33dfbbc7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/conftest.cpython-312.pyc index 6b7c2e83..6b21230c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_arithmetic.cpython-312.pyc index 14b932c1..02b1be7b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_astype.cpython-312.pyc index fa0d1b14..9ce3c04b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_comparison.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_comparison.cpython-312.pyc index 9b4c6f45..a6998df0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_comparison.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_comparison.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_concat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_concat.cpython-312.pyc index 817e07ce..53a581dd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_concat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_concat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_construction.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_construction.cpython-312.pyc index e138f5e9..371cfafa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_construction.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_construction.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_contains.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_contains.cpython-312.pyc index b49c5715..580bf308 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_contains.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_contains.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_function.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_function.cpython-312.pyc index 4e777dc8..9651e9a5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_function.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_function.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_repr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_repr.cpython-312.pyc index 423d3693..ba38e646 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_repr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_repr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_to_numpy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_to_numpy.cpython-312.pyc index ddcdcc63..106248e1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_to_numpy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/floating/__pycache__/test_to_numpy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/__init__.cpython-312.pyc index 200c5605..f84b14d5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/conftest.cpython-312.pyc index c9672e7e..1300629a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_arithmetic.cpython-312.pyc index caa916c0..e797e653 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_comparison.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_comparison.cpython-312.pyc index 3c49255a..c436f326 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_comparison.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_comparison.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_concat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_concat.cpython-312.pyc index c1feda1a..fab2ed7b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_concat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_concat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_construction.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_construction.cpython-312.pyc index 5aef8663..67270c87 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_construction.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_construction.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_dtypes.cpython-312.pyc index f8c796ed..3e0db21d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_function.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_function.cpython-312.pyc index 026ac7ba..94d8834b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_function.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_function.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_indexing.cpython-312.pyc index 1a002d5d..27391947 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_reduction.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_reduction.cpython-312.pyc index dd90a3fb..6b50b355 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_reduction.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_reduction.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_repr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_repr.cpython-312.pyc index 96f94e0c..1389ef35 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_repr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/integer/__pycache__/test_repr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/__init__.cpython-312.pyc index 4c7b391f..a9df2c8a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_astype.cpython-312.pyc index 0845512a..4797fde2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_formats.cpython-312.pyc index 49b5104c..4e9ef88f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_interval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_interval.cpython-312.pyc index b73d2112..7ec77b33 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_interval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_interval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_interval_pyarrow.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_interval_pyarrow.cpython-312.pyc index c7ff727c..926f3360 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_interval_pyarrow.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_interval_pyarrow.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_overlaps.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_overlaps.cpython-312.pyc index fcd803fe..577d4d65 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_overlaps.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/interval/__pycache__/test_overlaps.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/__init__.cpython-312.pyc index 880d10f3..1e6057a1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_arithmetic.cpython-312.pyc index 421c6f06..517a538d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_arrow_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_arrow_compat.cpython-312.pyc index fea6b5ef..6321610b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_arrow_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_arrow_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_function.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_function.cpython-312.pyc index 09b7529e..2815a174 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_function.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_function.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_indexing.cpython-312.pyc index adbb9cc3..ea634c8d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/masked/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/__init__.cpython-312.pyc index ff2c9b2d..94476631 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/test_indexing.cpython-312.pyc index 9d19f9b5..03b5805e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/test_numpy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/test_numpy.cpython-312.pyc index 81fd4fec..fde21f52 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/test_numpy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/numpy_/__pycache__/test_numpy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/__init__.cpython-312.pyc index 6e5782fc..874b11de 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_arrow_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_arrow_compat.cpython-312.pyc index bbe01f6b..4614156b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_arrow_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_arrow_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_astype.cpython-312.pyc index f905ea68..b76b84cd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_constructors.cpython-312.pyc index b630216c..87d0f1bc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_reductions.cpython-312.pyc index 9da66bc0..5cbfb982 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/period/__pycache__/test_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/__init__.cpython-312.pyc index 3f8e43bb..fce9cb09 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_accessor.cpython-312.pyc index 1814afa0..388cff64 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_arithmetics.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_arithmetics.cpython-312.pyc index f38a59b3..0b85d789 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_arithmetics.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_arithmetics.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_array.cpython-312.pyc index bb092e67..0f2569c7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_astype.cpython-312.pyc index fe085bc6..0c0ea48a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_combine_concat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_combine_concat.cpython-312.pyc index 48fb743a..75ffc367 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_combine_concat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_combine_concat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_constructors.cpython-312.pyc index 83d337b6..09ac1444 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_dtype.cpython-312.pyc index 976439e4..2f091cfb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_dtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_dtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_indexing.cpython-312.pyc index 541b056d..94669079 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_libsparse.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_libsparse.cpython-312.pyc index 0e1f6e41..e0cb55c1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_libsparse.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_libsparse.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_reductions.cpython-312.pyc index 5724cc3c..406850fe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_unary.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_unary.cpython-312.pyc index 47764a00..1850c261 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_unary.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/sparse/__pycache__/test_unary.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/__init__.cpython-312.pyc index 5f5d9a67..a7030eaa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/test_string.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/test_string.cpython-312.pyc index 7681e8f0..02a1d8d9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/test_string.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/test_string.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/test_string_arrow.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/test_string_arrow.cpython-312.pyc index 5d7f8881..93b4c9d5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/test_string_arrow.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/string_/__pycache__/test_string_arrow.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/__init__.cpython-312.pyc index a6c7fc1c..29304c33 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_constructors.cpython-312.pyc index 940f8798..1f755752 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_cumulative.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_cumulative.cpython-312.pyc index 5fa237a2..11848dbf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_cumulative.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_cumulative.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_reductions.cpython-312.pyc index 66b65ed4..f528c63a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/arrays/timedeltas/__pycache__/test_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/__init__.cpython-312.pyc index 37d27be5..41a4b92a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/common.cpython-312.pyc index 45034464..8ae1905e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_constructors.cpython-312.pyc index 479aa905..721a8649 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_conversion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_conversion.cpython-312.pyc index fe0b4530..2cedb7f9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_conversion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_conversion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_fillna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_fillna.cpython-312.pyc index 1fc388f3..1d47b86b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_fillna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_fillna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_misc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_misc.cpython-312.pyc index 87e3ce67..9603a369 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_misc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_misc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_transpose.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_transpose.cpython-312.pyc index 7f427e05..268ec2d7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_transpose.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_transpose.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_unique.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_unique.cpython-312.pyc index 9cc1340f..b0279c6e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_unique.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_unique.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_value_counts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_value_counts.cpython-312.pyc index c3b54aff..8c262cd8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_value_counts.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/base/__pycache__/test_value_counts.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/__init__.cpython-312.pyc index ed785b23..84882d00 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/test_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/test_compat.cpython-312.pyc index bc307d83..3664a01b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/test_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/test_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/test_eval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/test_eval.cpython-312.pyc index 00dd0b9d..c52fa43b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/test_eval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/computation/__pycache__/test_eval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/__init__.cpython-312.pyc index 9ba790c3..802c0f5d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/test_config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/test_config.cpython-312.pyc index b79ad434..8c0ddfc7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/test_config.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/test_config.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/test_localization.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/test_localization.cpython-312.pyc index 712371cb..fe1aa6e7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/test_localization.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/config/__pycache__/test_localization.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/construction/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/construction/__pycache__/__init__.cpython-312.pyc index 9cb60be2..fb3a995f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/construction/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/construction/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/construction/__pycache__/test_extract_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/construction/__pycache__/test_extract_array.cpython-312.pyc index 64923519..7de57843 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/construction/__pycache__/test_extract_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/construction/__pycache__/test_extract_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/__init__.cpython-312.pyc index 0f429cfb..3d1e6ce8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_array.cpython-312.pyc index 087ba05d..498b68f3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_astype.cpython-312.pyc index c0322627..5cbf1997 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_chained_assignment_deprecation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_chained_assignment_deprecation.cpython-312.pyc index f53af11c..bf772ba0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_chained_assignment_deprecation.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_chained_assignment_deprecation.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_clip.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_clip.cpython-312.pyc index 803e02e4..f3a4255a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_clip.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_clip.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_constructors.cpython-312.pyc index 9386900c..91193449 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_core_functionalities.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_core_functionalities.cpython-312.pyc index 18d8ff9b..72464b40 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_core_functionalities.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_core_functionalities.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_functions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_functions.cpython-312.pyc index da451fe8..be60f3d6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_functions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_functions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_indexing.cpython-312.pyc index c17aa1da..2422478c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_internals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_internals.cpython-312.pyc index 8a7e3426..a4d1f190 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_internals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_internals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_interp_fillna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_interp_fillna.cpython-312.pyc index d702f62f..baedc1c9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_interp_fillna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_interp_fillna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_methods.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_methods.cpython-312.pyc index 4e39a436..f3e167db 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_methods.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_methods.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_replace.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_replace.cpython-312.pyc index 4a9ca765..711dd1d2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_replace.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_replace.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_setitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_setitem.cpython-312.pyc index c4cd454a..fb1286ee 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_setitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_setitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_util.cpython-312.pyc index af06627f..ae15c745 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/test_util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/util.cpython-312.pyc index 8d178e17..a0ae8aef 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/__pycache__/util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/__init__.cpython-312.pyc index 33bc370d..1a5b3db6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_datetimeindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_datetimeindex.cpython-312.pyc index 6644580c..d84ff72d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_datetimeindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_datetimeindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_index.cpython-312.pyc index 6f04971a..b1a8ade4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_periodindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_periodindex.cpython-312.pyc index 0d29d730..4b7e9da1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_periodindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_periodindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_timedeltaindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_timedeltaindex.cpython-312.pyc index 7c0c6f89..ea37977a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_timedeltaindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/copy_view/index/__pycache__/test_timedeltaindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/__init__.cpython-312.pyc index 7b37e0dc..b9fd8a4c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_common.cpython-312.pyc index a29667ff..4daeb2fc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_concat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_concat.cpython-312.pyc index 41bce28a..8cdad0de 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_concat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_concat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_dtypes.cpython-312.pyc index 1a770137..9d417808 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_generic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_generic.cpython-312.pyc index 1401dea8..92333844 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_generic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_generic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_inference.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_inference.cpython-312.pyc index 40935ab7..5ef481d9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_inference.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_inference.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_missing.cpython-312.pyc index f8e2bb31..c107ce31 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/__pycache__/test_missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/__init__.cpython-312.pyc index 5384baee..4505b385 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_can_hold_element.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_can_hold_element.cpython-312.pyc index 72fc3b88..79871114 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_can_hold_element.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_can_hold_element.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_from_scalar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_from_scalar.cpython-312.pyc index 07552798..2b3421a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_from_scalar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_from_scalar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_ndarray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_ndarray.cpython-312.pyc index 9ea0ab94..d2c797e6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_ndarray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_ndarray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_object_arr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_object_arr.cpython-312.pyc index 4248d3b2..81b53c1c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_object_arr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_construct_object_arr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_dict_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_dict_compat.cpython-312.pyc index 83d12fbd..94fce85a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_dict_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_dict_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_downcast.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_downcast.cpython-312.pyc index 05ee4cbe..f96cbf14 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_downcast.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_downcast.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_find_common_type.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_find_common_type.cpython-312.pyc index 2287f1cc..8b321711 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_find_common_type.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_find_common_type.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_infer_datetimelike.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_infer_datetimelike.cpython-312.pyc index 4fb3b7e3..e879b6b1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_infer_datetimelike.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_infer_datetimelike.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_infer_dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_infer_dtype.cpython-312.pyc index f7242b10..54550fbe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_infer_dtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_infer_dtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_maybe_box_native.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_maybe_box_native.cpython-312.pyc index 821da9f8..5836bd61 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_maybe_box_native.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_maybe_box_native.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_promote.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_promote.cpython-312.pyc index 776a4a96..7a81c80b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_promote.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/dtypes/cast/__pycache__/test_promote.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/__init__.cpython-312.pyc index a2a47a2d..6fe34a0a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/conftest.cpython-312.pyc index 3238cdd5..5be2ecff 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_arrow.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_arrow.cpython-312.pyc index 8e196f97..ad011400 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_arrow.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_arrow.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_categorical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_categorical.cpython-312.pyc index f6e7a692..827ef927 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_categorical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_categorical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_common.cpython-312.pyc index 9fd45138..dde237df 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_datetime.cpython-312.pyc index c5ad7e07..d2a62a5f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_extension.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_extension.cpython-312.pyc index 2405f405..58ed0512 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_extension.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_extension.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_interval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_interval.cpython-312.pyc index 83b8c784..49bc4755 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_interval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_interval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_masked.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_masked.cpython-312.pyc index cfc14124..7d98b80b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_masked.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_masked.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_numpy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_numpy.cpython-312.pyc index e7234d5b..34b5c496 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_numpy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_numpy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_period.cpython-312.pyc index fd9a675c..3a7be467 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_sparse.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_sparse.cpython-312.pyc index 65b462f4..c9098139 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_sparse.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_sparse.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_string.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_string.cpython-312.pyc index 32e723d4..21f02c82 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_string.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/__pycache__/test_string.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/__init__.cpython-312.pyc index edfb625f..ba5caa1e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/array.cpython-312.pyc index 359f831d..b4f61209 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/test_array_with_attr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/test_array_with_attr.cpython-312.pyc index 2184ff59..017c79be 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/test_array_with_attr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/array_with_attr/__pycache__/test_array_with_attr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/__init__.cpython-312.pyc index 16d2853d..6005ca54 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/accumulate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/accumulate.cpython-312.pyc index aec720b6..f2ed15d1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/accumulate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/accumulate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/base.cpython-312.pyc index 52f08a76..e02aa491 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/casting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/casting.cpython-312.pyc index f03b261d..d8fff42b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/casting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/casting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/constructors.cpython-312.pyc index 34186b2c..8dc8d4bf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/dim2.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/dim2.cpython-312.pyc index a58454fa..4a153874 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/dim2.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/dim2.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/dtype.cpython-312.pyc index bd9f2bcc..8c9df0e2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/dtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/dtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/getitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/getitem.cpython-312.pyc index 8931a4ff..68a274ea 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/getitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/getitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/groupby.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/groupby.cpython-312.pyc index 12971c15..c16dd6b0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/groupby.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/groupby.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/index.cpython-312.pyc index d47d1f98..66c6a12f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/interface.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/interface.cpython-312.pyc index ce508c2c..0cc7e045 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/interface.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/interface.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/io.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/io.cpython-312.pyc index 46ce13b7..9b5d5add 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/io.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/io.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/methods.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/methods.cpython-312.pyc index ce6cc458..e1a9ca2d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/methods.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/methods.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/missing.cpython-312.pyc index 2abec372..a278590f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/ops.cpython-312.pyc index 52e25457..f7e9b585 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/printing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/printing.cpython-312.pyc index 2fae6d15..75f7673b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/printing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/printing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/reduce.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/reduce.cpython-312.pyc index d69f2f38..330fa15c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/reduce.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/reduce.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/reshaping.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/reshaping.cpython-312.pyc index 7243f4e5..94accb3d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/reshaping.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/reshaping.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/setitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/setitem.cpython-312.pyc index 69eadf53..d27743d5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/setitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/base/__pycache__/setitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/date/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/date/__pycache__/__init__.cpython-312.pyc index 2520fe43..62752185 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/date/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/date/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/date/__pycache__/array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/date/__pycache__/array.cpython-312.pyc index 4c3f2d02..9551ad62 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/date/__pycache__/array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/date/__pycache__/array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/__init__.cpython-312.pyc index 93c9e480..824d26fd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/array.cpython-312.pyc index 39735de7..a986fe4d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/test_decimal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/test_decimal.cpython-312.pyc index 836cbac9..e5073eae 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/test_decimal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/decimal/__pycache__/test_decimal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/__init__.cpython-312.pyc index 4a0f8738..a1cf61b2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/array.cpython-312.pyc index 46b0cbb0..75137a7f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/test_json.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/test_json.cpython-312.pyc index e4a1f409..66d79dac 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/test_json.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/json/__pycache__/test_json.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/__init__.cpython-312.pyc index 6bb1fe11..93cc5a02 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/array.cpython-312.pyc index e514754c..93eea7a8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/test_list.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/test_list.cpython-312.pyc index 82f20e91..b1554d56 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/test_list.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/extension/list/__pycache__/test_list.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/__init__.cpython-312.pyc index bf1d30a3..e309c7e2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/common.cpython-312.pyc index 8957b206..d8f547ee 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/conftest.cpython-312.pyc index e1e77830..2634dd0d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_alter_axes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_alter_axes.cpython-312.pyc index 5f41b617..40cb4822 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_alter_axes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_alter_axes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_api.cpython-312.pyc index b230df89..0c7f0a20 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_arithmetic.cpython-312.pyc index effe45fb..7f279a16 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_arrow_interface.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_arrow_interface.cpython-312.pyc index a55f7572..783d97b1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_arrow_interface.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_arrow_interface.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_block_internals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_block_internals.cpython-312.pyc index 75363221..1e626c69 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_block_internals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_block_internals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_constructors.cpython-312.pyc index 3aa16c11..2f119ba4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_cumulative.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_cumulative.cpython-312.pyc index a66e98dd..8746d524 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_cumulative.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_cumulative.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_iteration.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_iteration.cpython-312.pyc index 2b034a74..315d700d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_iteration.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_iteration.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_logical_ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_logical_ops.cpython-312.pyc index 3f2d3d07..294c6d50 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_logical_ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_logical_ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_nonunique_indexes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_nonunique_indexes.cpython-312.pyc index b5a8a72e..53f22b0b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_nonunique_indexes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_nonunique_indexes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_npfuncs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_npfuncs.cpython-312.pyc index 3d86e44e..7644de28 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_npfuncs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_npfuncs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_query_eval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_query_eval.cpython-312.pyc index 0c29f168..a3d266c4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_query_eval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_query_eval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_reductions.cpython-312.pyc index 60dc45d9..36412203 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_repr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_repr.cpython-312.pyc index 2129c54f..a12e2527 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_repr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_repr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_stack_unstack.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_stack_unstack.cpython-312.pyc index cbd5246b..07ee3545 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_stack_unstack.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_stack_unstack.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_subclass.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_subclass.cpython-312.pyc index c509129a..52626eec 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_subclass.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_subclass.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_ufunc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_ufunc.cpython-312.pyc index 7647846a..7626663e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_ufunc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_ufunc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_unary.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_unary.cpython-312.pyc index 4e122656..dfa92f56 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_unary.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_unary.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_validate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_validate.cpython-312.pyc index 91165d95..8c754d54 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_validate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/__pycache__/test_validate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/__init__.cpython-312.pyc index 587a6b1b..1019670b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/test_from_dict.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/test_from_dict.cpython-312.pyc index a019f619..31c552ce 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/test_from_dict.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/test_from_dict.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/test_from_records.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/test_from_records.cpython-312.pyc index c17f4a49..aa401b8b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/test_from_records.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/constructors/__pycache__/test_from_records.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/__init__.cpython-312.pyc index ba6748e6..e06eebbc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_coercion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_coercion.cpython-312.pyc index 4fb67808..8acbc720 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_coercion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_coercion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_delitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_delitem.cpython-312.pyc index c8e26e40..59107dbd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_delitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_delitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_get.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_get.cpython-312.pyc index 34db0324..59f5cde6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_get.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_get.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_get_value.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_get_value.cpython-312.pyc index 76594799..e8fdf629 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_get_value.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_get_value.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_getitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_getitem.cpython-312.pyc index 219f84df..e0574b9c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_getitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_getitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_indexing.cpython-312.pyc index 42cb5b5e..01a4a466 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_insert.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_insert.cpython-312.pyc index 9c9dba06..5c7b91ae 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_insert.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_insert.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_mask.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_mask.cpython-312.pyc index 642a15dc..bacba2ea 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_mask.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_mask.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_set_value.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_set_value.cpython-312.pyc index 07113ee5..85948a1f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_set_value.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_set_value.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_setitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_setitem.cpython-312.pyc index a3393ebf..17ebac40 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_setitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_setitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_take.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_take.cpython-312.pyc index 2440fe0a..ccb735af 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_take.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_take.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_where.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_where.cpython-312.pyc index b39bfca0..2c14e3c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_where.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_where.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_xs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_xs.cpython-312.pyc index cacc99c2..3f9347f7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_xs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/indexing/__pycache__/test_xs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/__init__.cpython-312.pyc index 7c4a91aa..feb62ee7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_add_prefix_suffix.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_add_prefix_suffix.cpython-312.pyc index 36d55a0b..480c17e0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_add_prefix_suffix.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_add_prefix_suffix.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_align.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_align.cpython-312.pyc index 04074367..d0d31909 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_align.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_align.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_asfreq.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_asfreq.cpython-312.pyc index ed035c81..81c92ad1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_asfreq.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_asfreq.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_asof.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_asof.cpython-312.pyc index 1f2a1896..6a58e54f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_asof.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_asof.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_assign.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_assign.cpython-312.pyc index 752c8616..7adea30b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_assign.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_assign.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_astype.cpython-312.pyc index 08863e24..25a06ffa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_at_time.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_at_time.cpython-312.pyc index cc6c5920..593024c9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_at_time.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_at_time.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_between_time.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_between_time.cpython-312.pyc index 2e1ea5e4..9f1cd172 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_between_time.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_between_time.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_clip.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_clip.cpython-312.pyc index 872c2aa1..8c59e8a0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_clip.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_clip.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_combine.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_combine.cpython-312.pyc index 95351afd..be717deb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_combine.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_combine.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_combine_first.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_combine_first.cpython-312.pyc index 14431c3b..62c4332d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_combine_first.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_combine_first.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_compare.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_compare.cpython-312.pyc index e401d22f..502ee786 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_compare.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_compare.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_convert_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_convert_dtypes.cpython-312.pyc index 1d28d30c..f1dd4716 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_convert_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_convert_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_copy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_copy.cpython-312.pyc index 3c324c6e..5353a894 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_copy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_copy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_count.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_count.cpython-312.pyc index d5c6a39a..19094a4e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_count.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_count.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_cov_corr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_cov_corr.cpython-312.pyc index 7c061172..cd387afb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_cov_corr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_cov_corr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_describe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_describe.cpython-312.pyc index 2ed35205..59bf9b07 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_describe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_describe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_diff.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_diff.cpython-312.pyc index a7b04457..4b5270f0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_diff.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_diff.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dot.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dot.cpython-312.pyc index 99fe7cd0..ad707d05 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dot.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dot.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_drop.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_drop.cpython-312.pyc index cfafe902..a71e3b09 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_drop.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_drop.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_drop_duplicates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_drop_duplicates.cpython-312.pyc index dc34f4cb..fa607b49 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_drop_duplicates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_drop_duplicates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_droplevel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_droplevel.cpython-312.pyc index 5a1750de..cb4f0d67 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_droplevel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_droplevel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dropna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dropna.cpython-312.pyc index 327fc95e..770b7300 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dropna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dropna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dtypes.cpython-312.pyc index 98c3b903..736e050c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_duplicated.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_duplicated.cpython-312.pyc index ab2654fd..5edbe709 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_duplicated.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_duplicated.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_equals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_equals.cpython-312.pyc index f62e28d9..f8480fff 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_equals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_equals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_explode.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_explode.cpython-312.pyc index a714bef4..f1b15714 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_explode.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_explode.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_fillna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_fillna.cpython-312.pyc index fc674f14..7fbaf0d1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_fillna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_fillna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_filter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_filter.cpython-312.pyc index 70248b4b..55837b16 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_filter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_filter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_first_and_last.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_first_and_last.cpython-312.pyc index 4bda3f37..8ff62d81 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_first_and_last.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_first_and_last.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_first_valid_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_first_valid_index.cpython-312.pyc index 9690b7f2..b53dd149 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_first_valid_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_first_valid_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_get_numeric_data.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_get_numeric_data.cpython-312.pyc index 9a7631d9..61d1440d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_get_numeric_data.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_get_numeric_data.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_head_tail.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_head_tail.cpython-312.pyc index a7be6117..835d1073 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_head_tail.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_head_tail.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_infer_objects.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_infer_objects.cpython-312.pyc index a3a44b82..57dd71fc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_infer_objects.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_infer_objects.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_info.cpython-312.pyc index d5ce3119..114afa96 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_info.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_info.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_interpolate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_interpolate.cpython-312.pyc index 403e4e6c..2265425e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_interpolate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_interpolate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_is_homogeneous_dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_is_homogeneous_dtype.cpython-312.pyc index 7d1bfb89..25d46fdd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_is_homogeneous_dtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_is_homogeneous_dtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_isetitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_isetitem.cpython-312.pyc index d59569db..377799ed 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_isetitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_isetitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_isin.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_isin.cpython-312.pyc index a2ae13be..492feb67 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_isin.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_isin.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_iterrows.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_iterrows.cpython-312.pyc index 5e09d2f5..58202e30 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_iterrows.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_iterrows.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_join.cpython-312.pyc index 9794cd2f..5f65e6b9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_map.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_map.cpython-312.pyc index dcc0f94d..16230402 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_map.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_map.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_matmul.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_matmul.cpython-312.pyc index da423b57..94e34bfe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_matmul.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_matmul.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_nlargest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_nlargest.cpython-312.pyc index 4c8d3874..05d3159e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_nlargest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_nlargest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pct_change.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pct_change.cpython-312.pyc index d748cd14..24486a9a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pct_change.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pct_change.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pipe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pipe.cpython-312.pyc index 72d9a6bb..81204911 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pipe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pipe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pop.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pop.cpython-312.pyc index 1e95ed45..2d52653a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pop.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_pop.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_quantile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_quantile.cpython-312.pyc index acbf08a0..346a144a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_quantile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_quantile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rank.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rank.cpython-312.pyc index 2fef4993..8130a428 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rank.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rank.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reindex.cpython-312.pyc index 821f078b..9197c0f3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reindex_like.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reindex_like.cpython-312.pyc index 30dd06ba..363b9cef 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reindex_like.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reindex_like.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rename.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rename.cpython-312.pyc index 4dd4f6b4..7d933fc3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rename.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rename.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rename_axis.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rename_axis.cpython-312.pyc index 472d9f1d..e8e3c14d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rename_axis.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_rename_axis.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reorder_levels.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reorder_levels.cpython-312.pyc index 50c7ca71..6f5afd25 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reorder_levels.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reorder_levels.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_replace.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_replace.cpython-312.pyc index 00e9dbc8..d2453a54 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_replace.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_replace.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reset_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reset_index.cpython-312.pyc index 26252529..3797ce9d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reset_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_reset_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_round.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_round.cpython-312.pyc index aa6f644e..2c7974bc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_round.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_round.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sample.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sample.cpython-312.pyc index 3d096961..26036fe6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sample.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sample.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_select_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_select_dtypes.cpython-312.pyc index b44f17e0..f3891772 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_select_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_select_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_set_axis.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_set_axis.cpython-312.pyc index 1a84a3bd..76a1bd40 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_set_axis.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_set_axis.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_set_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_set_index.cpython-312.pyc index 93cf2d8a..d48c3df1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_set_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_set_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_shift.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_shift.cpython-312.pyc index 5f497136..7f49dc53 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_shift.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_shift.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_size.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_size.cpython-312.pyc index 7e43e7fc..143ae669 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_size.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_size.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sort_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sort_index.cpython-312.pyc index c54a749d..70890f9e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sort_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sort_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sort_values.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sort_values.cpython-312.pyc index 00fb44b6..e43ec9ce 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sort_values.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_sort_values.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_swapaxes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_swapaxes.cpython-312.pyc index 567e3a00..895f7e54 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_swapaxes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_swapaxes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_swaplevel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_swaplevel.cpython-312.pyc index 7162ba25..af31a7c5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_swaplevel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_swaplevel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_csv.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_csv.cpython-312.pyc index 47649b00..eaa60d34 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_csv.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_csv.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_dict.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_dict.cpython-312.pyc index b66bc252..81fd6b45 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_dict.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_dict.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_dict_of_blocks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_dict_of_blocks.cpython-312.pyc index 27446d02..f6c29b89 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_dict_of_blocks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_dict_of_blocks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_numpy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_numpy.cpython-312.pyc index 8cfde161..41cf7b2d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_numpy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_numpy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_period.cpython-312.pyc index c7321cfa..a4456d4e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_records.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_records.cpython-312.pyc index 8e016301..2b30fab0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_records.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_records.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_timestamp.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_timestamp.cpython-312.pyc index 19f722c3..162bc579 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_timestamp.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_to_timestamp.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_transpose.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_transpose.cpython-312.pyc index ffa6bf12..aa6c7fb2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_transpose.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_transpose.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_truncate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_truncate.cpython-312.pyc index 19b0308f..3cd6f73f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_truncate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_truncate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_tz_convert.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_tz_convert.cpython-312.pyc index df648a97..eebc2dc9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_tz_convert.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_tz_convert.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_tz_localize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_tz_localize.cpython-312.pyc index 43cd119b..db9c5a21 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_tz_localize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_tz_localize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_update.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_update.cpython-312.pyc index af869b19..db0e39ac 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_update.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_update.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_value_counts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_value_counts.cpython-312.pyc index 9818903a..724f6557 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_value_counts.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_value_counts.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_values.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_values.cpython-312.pyc index 0a10e116..a45e99d4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_values.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/frame/methods/__pycache__/test_values.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/__init__.cpython-312.pyc index 520ce88f..4022c35d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_duplicate_labels.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_duplicate_labels.cpython-312.pyc index 033c1e7e..63d2d961 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_duplicate_labels.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_duplicate_labels.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_finalize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_finalize.cpython-312.pyc index 07763b38..71b46028 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_finalize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_finalize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_frame.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_frame.cpython-312.pyc index 73fb934c..d6f95c13 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_frame.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_frame.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_generic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_generic.cpython-312.pyc index 453f5d47..4c0330e2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_generic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_generic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_label_or_level_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_label_or_level_utils.cpython-312.pyc index 511cb8c8..dbe0b525 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_label_or_level_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_label_or_level_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_series.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_series.cpython-312.pyc index 15605f93..05d5971c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_series.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_series.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_to_xarray.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_to_xarray.cpython-312.pyc index 55072d7f..6bedf902 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_to_xarray.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/generic/__pycache__/test_to_xarray.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/__init__.cpython-312.pyc index 48c0735d..6687d66e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/conftest.cpython-312.pyc index 47ec5f99..8244e13e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_all_methods.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_all_methods.cpython-312.pyc index aeb7e82e..9109c844 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_all_methods.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_all_methods.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_api.cpython-312.pyc index 798a3cc4..916aa212 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_apply.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_apply.cpython-312.pyc index 543171ac..a7bab751 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_apply.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_apply.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_apply_mutate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_apply_mutate.cpython-312.pyc index 56be4f65..f3db6a18 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_apply_mutate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_apply_mutate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_bin_groupby.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_bin_groupby.cpython-312.pyc index afe5745e..9ef3da81 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_bin_groupby.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_bin_groupby.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_categorical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_categorical.cpython-312.pyc index ebe5cefe..952c294f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_categorical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_categorical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_counting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_counting.cpython-312.pyc index 2d68829c..7bc9a157 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_counting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_counting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_cumulative.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_cumulative.cpython-312.pyc index 51d76ca0..189dee6a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_cumulative.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_cumulative.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_filters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_filters.cpython-312.pyc index 64fd264f..92987e2e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_filters.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_filters.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby.cpython-312.pyc index 8be8103f..4ae92f71 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby_dropna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby_dropna.cpython-312.pyc index 2bf32cb8..c173cb2f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby_dropna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby_dropna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby_subclass.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby_subclass.cpython-312.pyc index b074cd2f..f5c086e9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby_subclass.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_groupby_subclass.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_grouping.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_grouping.cpython-312.pyc index e3b2d399..bee2e4bc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_grouping.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_grouping.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_index_as_string.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_index_as_string.cpython-312.pyc index 32dd5a14..ad6241ec 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_index_as_string.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_index_as_string.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_indexing.cpython-312.pyc index bec77122..ce4711a4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_libgroupby.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_libgroupby.cpython-312.pyc index c5870549..9e502afb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_libgroupby.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_libgroupby.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_missing.cpython-312.pyc index 41b2d983..a933b758 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_numba.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_numba.cpython-312.pyc index aeb3f8d1..f8006055 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_numba.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_numba.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_numeric_only.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_numeric_only.cpython-312.pyc index 20fe4f1c..84fdd0df 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_numeric_only.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_numeric_only.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_pipe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_pipe.cpython-312.pyc index 0c68364e..7cf09ee6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_pipe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_pipe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_raises.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_raises.cpython-312.pyc index 3cd35fcd..12671d76 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_raises.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_raises.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_reductions.cpython-312.pyc index 8abfbe22..7ce82992 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_timegrouper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_timegrouper.cpython-312.pyc index eb1c2997..9c59b12d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_timegrouper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/__pycache__/test_timegrouper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/__init__.cpython-312.pyc index 7894badb..c6a6f8a4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_aggregate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_aggregate.cpython-312.pyc index bdfe6aed..0f4d2d7b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_aggregate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_aggregate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_cython.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_cython.cpython-312.pyc index 65c54b08..f7bc8010 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_cython.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_cython.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_numba.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_numba.cpython-312.pyc index d807fc3d..106ed279 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_numba.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_numba.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_other.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_other.cpython-312.pyc index daf9a040..eb1f0fb8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_other.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/aggregate/__pycache__/test_other.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/__init__.cpython-312.pyc index 9c54cccd..4bf51fe9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_corrwith.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_corrwith.cpython-312.pyc index 4180607a..105f5b5f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_corrwith.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_corrwith.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_describe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_describe.cpython-312.pyc index c05ae115..ee2f8633 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_describe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_describe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_groupby_shift_diff.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_groupby_shift_diff.cpython-312.pyc index 6ca81149..fca64c2f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_groupby_shift_diff.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_groupby_shift_diff.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_is_monotonic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_is_monotonic.cpython-312.pyc index 03fe4e13..0619d484 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_is_monotonic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_is_monotonic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_nlargest_nsmallest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_nlargest_nsmallest.cpython-312.pyc index b3e21f38..3ffc4687 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_nlargest_nsmallest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_nlargest_nsmallest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_nth.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_nth.cpython-312.pyc index 2151ec02..1e898418 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_nth.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_nth.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_quantile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_quantile.cpython-312.pyc index ecc0b1a4..b12913df 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_quantile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_quantile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_rank.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_rank.cpython-312.pyc index 52609d4f..2a1d9f14 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_rank.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_rank.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_sample.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_sample.cpython-312.pyc index 406c4e9a..62328337 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_sample.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_sample.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_size.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_size.cpython-312.pyc index e5f7cd62..6a923a47 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_size.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_size.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_skew.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_skew.cpython-312.pyc index c7f67a76..3c4e55b7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_skew.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_skew.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_value_counts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_value_counts.cpython-312.pyc index 37f2643c..eefface8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_value_counts.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/methods/__pycache__/test_value_counts.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/__init__.cpython-312.pyc index 3fac5122..fb1bcff1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/test_numba.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/test_numba.cpython-312.pyc index 346a7b3c..228b9fc0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/test_numba.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/test_numba.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/test_transform.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/test_transform.cpython-312.pyc index ce66b294..35c044ce 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/test_transform.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/groupby/transform/__pycache__/test_transform.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/__init__.cpython-312.pyc index 81f56c94..d925e9e6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/conftest.cpython-312.pyc index 7d471d58..34851fed 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_any_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_any_index.cpython-312.pyc index e50df730..c8015fb3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_any_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_any_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_base.cpython-312.pyc index 7d6b22b7..0b26d836 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_common.cpython-312.pyc index 1201088f..43cae178 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_datetimelike.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_datetimelike.cpython-312.pyc index a2b39c81..7ee00f09 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_datetimelike.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_datetimelike.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_engines.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_engines.cpython-312.pyc index c2450bb2..4e9d72a7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_engines.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_engines.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_frozen.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_frozen.cpython-312.pyc index 111dccae..770d3506 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_frozen.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_frozen.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_index_new.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_index_new.cpython-312.pyc index ce905f9f..5d044b3d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_index_new.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_index_new.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_indexing.cpython-312.pyc index ba0a33bb..2c8a5827 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_numpy_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_numpy_compat.cpython-312.pyc index 7c01ebc9..b71fbc95 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_numpy_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_numpy_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_old_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_old_base.cpython-312.pyc index a6714159..47888c3c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_old_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_old_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_setops.cpython-312.pyc index 5d9a7598..82cb4fb0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_subclass.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_subclass.cpython-312.pyc index 1e87fb7e..33d4ce4d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_subclass.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/__pycache__/test_subclass.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/__init__.cpython-312.pyc index 6cf265e4..5049b6eb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_constructors.cpython-312.pyc index 0640004f..825e662a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_formats.cpython-312.pyc index 1c891bc4..f5966134 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_indexing.cpython-312.pyc index d6562196..5eccbdbf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_pickle.cpython-312.pyc index f16deb02..602cff00 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_reshape.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_reshape.cpython-312.pyc index dc21e41d..36187282 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_reshape.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_reshape.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_setops.cpython-312.pyc index bdf9c8d9..8d478e5c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_where.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_where.cpython-312.pyc index 2c996ebe..dd4c3c46 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_where.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/base_class/__pycache__/test_where.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/__init__.cpython-312.pyc index b5b0eb13..54cb9437 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_append.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_append.cpython-312.pyc index 7fef7577..a4224d97 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_append.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_append.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_astype.cpython-312.pyc index 34ea9633..3aa31700 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_category.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_category.cpython-312.pyc index 26ae8b4a..0be9aa6f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_category.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_category.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_constructors.cpython-312.pyc index ee9d1983..1a2fac52 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_equals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_equals.cpython-312.pyc index 36e4d354..30fedd4a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_equals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_equals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_fillna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_fillna.cpython-312.pyc index 978a39c1..d7379f94 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_fillna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_fillna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_formats.cpython-312.pyc index a542163d..db7b76dc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_indexing.cpython-312.pyc index abb4b6e2..18e88ea6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_map.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_map.cpython-312.pyc index 38ce80c4..771b41ad 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_map.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_map.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_reindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_reindex.cpython-312.pyc index bad5e962..956ce064 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_reindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_reindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_setops.cpython-312.pyc index 6dcf16d9..4b0b829f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/categorical/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/__init__.cpython-312.pyc index 98b624ee..a607ea71 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_drop_duplicates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_drop_duplicates.cpython-312.pyc index 60432c3b..72b15035 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_drop_duplicates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_drop_duplicates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_equals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_equals.cpython-312.pyc index d2d1f7d8..b46c3241 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_equals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_equals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_indexing.cpython-312.pyc index 1ea0cdd5..0c7e79fd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_is_monotonic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_is_monotonic.cpython-312.pyc index e0eb8036..5a3c4931 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_is_monotonic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_is_monotonic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_nat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_nat.cpython-312.pyc index fd0667a1..e56f196d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_nat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_nat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_sort_values.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_sort_values.cpython-312.pyc index 0cb0aecf..71e28841 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_sort_values.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_sort_values.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_value_counts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_value_counts.cpython-312.pyc index 22bceeea..a4559176 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_value_counts.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimelike_/__pycache__/test_value_counts.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/__init__.cpython-312.pyc index 85ec956f..d0ef9d03 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_arithmetic.cpython-312.pyc index 1c920c98..f259f1a8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_constructors.cpython-312.pyc index e6edefdd..7aa4ec93 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_date_range.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_date_range.cpython-312.pyc index 03ce0613..1ae4b41a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_date_range.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_date_range.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_datetime.cpython-312.pyc index 6b9b0608..f5781af5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_formats.cpython-312.pyc index 6254f09e..665ce94a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_freq_attr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_freq_attr.cpython-312.pyc index 690616e1..7e071dc5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_freq_attr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_freq_attr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_indexing.cpython-312.pyc index cf775d5a..674afe37 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_iter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_iter.cpython-312.pyc index 59355964..94faef04 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_iter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_iter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_join.cpython-312.pyc index cf14e259..056180ea 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_npfuncs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_npfuncs.cpython-312.pyc index 6b65af42..fb709abd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_npfuncs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_npfuncs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_ops.cpython-312.pyc index b8e54e14..06f0af11 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_partial_slicing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_partial_slicing.cpython-312.pyc index eb9d0b38..f291b93d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_partial_slicing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_partial_slicing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_pickle.cpython-312.pyc index f1258c80..19794d58 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_reindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_reindex.cpython-312.pyc index a9f3cdc3..f7b96e5d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_reindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_reindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_scalar_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_scalar_compat.cpython-312.pyc index 96db4724..ae874952 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_scalar_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_scalar_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_setops.cpython-312.pyc index a11a0299..8bd16b3d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_timezones.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_timezones.cpython-312.pyc index 4b9cb59d..6baf93b8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_timezones.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/__pycache__/test_timezones.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/__init__.cpython-312.pyc index 036368e4..39d79955 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_asof.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_asof.cpython-312.pyc index bd73b429..3f0fbc9b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_asof.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_asof.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_astype.cpython-312.pyc index 3a909d63..e19b412e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_delete.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_delete.cpython-312.pyc index 4fe23c8a..f7921c12 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_delete.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_delete.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_factorize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_factorize.cpython-312.pyc index 59f13ef2..9a49c3a4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_factorize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_factorize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_fillna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_fillna.cpython-312.pyc index eef4332f..15ad509c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_fillna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_fillna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_insert.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_insert.cpython-312.pyc index 7e0a38eb..113e906a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_insert.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_insert.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_isocalendar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_isocalendar.cpython-312.pyc index b96d7b17..b275c0ae 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_isocalendar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_isocalendar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_map.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_map.cpython-312.pyc index 7390ef4f..855fdd83 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_map.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_map.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_normalize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_normalize.cpython-312.pyc index ccb526be..1e9e0972 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_normalize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_normalize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_repeat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_repeat.cpython-312.pyc index 6187a13a..5f45b4b3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_repeat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_repeat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_resolution.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_resolution.cpython-312.pyc index f3c5835d..be207d0b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_resolution.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_resolution.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_round.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_round.cpython-312.pyc index 7dae3e6a..703337f8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_round.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_round.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_shift.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_shift.cpython-312.pyc index d2e794b8..628c9949 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_shift.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_shift.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_snap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_snap.cpython-312.pyc index 9410a683..6558bc52 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_snap.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_snap.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_frame.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_frame.cpython-312.pyc index d024faa1..30e25a37 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_frame.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_frame.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_julian_date.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_julian_date.cpython-312.pyc index 3777406f..25cbb9f0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_julian_date.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_julian_date.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_period.cpython-312.pyc index 35151793..791ffa0e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_pydatetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_pydatetime.cpython-312.pyc index 8e0d4182..1a0792b7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_pydatetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_pydatetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_series.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_series.cpython-312.pyc index e6554127..050e8654 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_series.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_to_series.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_tz_convert.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_tz_convert.cpython-312.pyc index 9f5eedfd..00e2f403 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_tz_convert.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_tz_convert.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_tz_localize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_tz_localize.cpython-312.pyc index ed08bf63..e28f6f73 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_tz_localize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_tz_localize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_unique.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_unique.cpython-312.pyc index 0d9fde47..40f48c3a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_unique.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/datetimes/methods/__pycache__/test_unique.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/__init__.cpython-312.pyc index cc3a04f8..fc70ffb0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_astype.cpython-312.pyc index 64786c8f..9f6977f7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_constructors.cpython-312.pyc index f9c2ea63..641dcbcd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_equals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_equals.cpython-312.pyc index 29bfe8bd..0aad2032 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_equals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_equals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_formats.cpython-312.pyc index 2f02675d..1f7c7938 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_indexing.cpython-312.pyc index 1ddba439..bf241d69 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval.cpython-312.pyc index 032173b4..a7d95f31 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval_range.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval_range.cpython-312.pyc index 2bc76068..8acb2d7a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval_range.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval_range.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval_tree.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval_tree.cpython-312.pyc index 97c576f7..da30d969 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval_tree.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_interval_tree.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_join.cpython-312.pyc index 0c5f7c66..fb83afd6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_pickle.cpython-312.pyc index 5dd74f9e..55bcf94f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_setops.cpython-312.pyc index 472954df..5355c7a7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/interval/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/__init__.cpython-312.pyc index cb50faa5..60bac78d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/conftest.cpython-312.pyc index e1751d28..0741efe6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_analytics.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_analytics.cpython-312.pyc index 165b44b9..f10534db 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_analytics.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_analytics.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_astype.cpython-312.pyc index e473a68c..450d2622 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_compat.cpython-312.pyc index 987e03c1..66960c64 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_constructors.cpython-312.pyc index dabf4956..65c495d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_conversion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_conversion.cpython-312.pyc index 01dba9a0..1e4ef6e7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_conversion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_conversion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_copy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_copy.cpython-312.pyc index d6ab9abd..1bc92a2a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_copy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_copy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_drop.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_drop.cpython-312.pyc index c44de6e0..4352ecf3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_drop.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_drop.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_duplicates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_duplicates.cpython-312.pyc index 058dd5a0..547255ea 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_duplicates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_duplicates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_equivalence.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_equivalence.cpython-312.pyc index 05680498..3d1190cf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_equivalence.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_equivalence.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_formats.cpython-312.pyc index aa43cc30..6bbe6d5d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_get_level_values.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_get_level_values.cpython-312.pyc index 3b7b16a2..c1ab367e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_get_level_values.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_get_level_values.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_get_set.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_get_set.cpython-312.pyc index 927afb24..18f49f30 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_get_set.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_get_set.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_indexing.cpython-312.pyc index e6239f59..7cb6ad55 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_integrity.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_integrity.cpython-312.pyc index e88e29d5..e0d5a06c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_integrity.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_integrity.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_isin.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_isin.cpython-312.pyc index 109f2638..d83333fc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_isin.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_isin.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_join.cpython-312.pyc index 5fb99fee..67254b7b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_lexsort.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_lexsort.cpython-312.pyc index 58a5a02f..ca5078a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_lexsort.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_lexsort.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_missing.cpython-312.pyc index 8de51781..debcebec 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_monotonic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_monotonic.cpython-312.pyc index 2ee47c66..c30453e8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_monotonic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_monotonic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_names.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_names.cpython-312.pyc index 1b163af4..58e60fa7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_names.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_names.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_partial_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_partial_indexing.cpython-312.pyc index e0cc7833..bfad64fe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_partial_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_partial_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_pickle.cpython-312.pyc index ff32a373..ffa98f7c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_reindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_reindex.cpython-312.pyc index b5cd607b..2c035643 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_reindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_reindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_reshape.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_reshape.cpython-312.pyc index c872d59d..35dad304 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_reshape.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_reshape.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_setops.cpython-312.pyc index 556114d2..123f549f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_sorting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_sorting.cpython-312.pyc index e0d17478..707667eb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_sorting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_sorting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_take.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_take.cpython-312.pyc index f811129a..88b473ab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_take.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/multi/__pycache__/test_take.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/__init__.cpython-312.pyc index 1ebeb59b..1d64bd22 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_astype.cpython-312.pyc index 85bdbb7e..ae7f4e26 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_indexing.cpython-312.pyc index 17e46278..34600b54 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_join.cpython-312.pyc index d88d8223..a415e521 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_numeric.cpython-312.pyc index 982744f9..b7a030a3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_setops.cpython-312.pyc index e54f3075..63114f96 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/numeric/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/__init__.cpython-312.pyc index 07b9ab9e..b3855775 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/test_astype.cpython-312.pyc index 4f5fa7bb..56915691 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/test_indexing.cpython-312.pyc index 4bad27f3..ea80535b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/object/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/__init__.cpython-312.pyc index c4fe6e93..3ba7c5a8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_constructors.cpython-312.pyc index fcadf8e8..1c2a0843 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_formats.cpython-312.pyc index db797c06..27e73df1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_freq_attr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_freq_attr.cpython-312.pyc index 61b1f769..f2f2e6d8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_freq_attr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_freq_attr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_indexing.cpython-312.pyc index 9459523b..6e003c2f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_join.cpython-312.pyc index 89912b01..6c6f97fe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_monotonic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_monotonic.cpython-312.pyc index 67a48fdd..2d9703a2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_monotonic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_monotonic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_partial_slicing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_partial_slicing.cpython-312.pyc index 67eb8003..0c4c659f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_partial_slicing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_partial_slicing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_period.cpython-312.pyc index 772fac1f..557ee3d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_period_range.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_period_range.cpython-312.pyc index b8771734..f89fd380 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_period_range.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_period_range.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_pickle.cpython-312.pyc index 59a44ff3..49e9f771 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_resolution.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_resolution.cpython-312.pyc index e560a3a7..961aa58c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_resolution.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_resolution.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_scalar_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_scalar_compat.cpython-312.pyc index 0c6e0cb8..bb51e0b5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_scalar_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_scalar_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_searchsorted.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_searchsorted.cpython-312.pyc index 22d574f4..f01f2a4b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_searchsorted.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_searchsorted.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_setops.cpython-312.pyc index 1ac3c090..72edb77b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_tools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_tools.cpython-312.pyc index 5ee85e81..9669565e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_tools.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/__pycache__/test_tools.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/__init__.cpython-312.pyc index e0f4dd52..05fee093 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_asfreq.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_asfreq.cpython-312.pyc index 3cde23a5..f16e40c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_asfreq.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_asfreq.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_astype.cpython-312.pyc index b17d3c44..f5a84a89 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_factorize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_factorize.cpython-312.pyc index 104e44aa..ad41828b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_factorize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_factorize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_fillna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_fillna.cpython-312.pyc index e7ff98c0..4cdf73a9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_fillna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_fillna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_insert.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_insert.cpython-312.pyc index 0f500c7e..f1b24ddf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_insert.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_insert.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_is_full.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_is_full.cpython-312.pyc index 66065de8..34e8b1de 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_is_full.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_is_full.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_repeat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_repeat.cpython-312.pyc index cc6b3fc9..1afe6ef1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_repeat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_repeat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_shift.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_shift.cpython-312.pyc index 738f32f1..9c6dde35 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_shift.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_shift.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_to_timestamp.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_to_timestamp.cpython-312.pyc index f414f6ba..98042d3d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_to_timestamp.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/period/methods/__pycache__/test_to_timestamp.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/__init__.cpython-312.pyc index cdf272fe..2eb25f11 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_constructors.cpython-312.pyc index b7b2b1a1..0f938ac2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_indexing.cpython-312.pyc index 828eed49..15f5742e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_join.cpython-312.pyc index 777351fb..962bcb62 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_range.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_range.cpython-312.pyc index d5128e7a..00a6f292 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_range.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_range.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_setops.cpython-312.pyc index f7777e54..97a7624a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/ranges/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/__init__.cpython-312.pyc index e123e7ab..b89e605c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_arithmetic.cpython-312.pyc index 0212e3e0..8b966557 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_constructors.cpython-312.pyc index 15219f92..3b3745c2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_delete.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_delete.cpython-312.pyc index c9296d27..c58275e8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_delete.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_delete.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_formats.cpython-312.pyc index bad4c436..ca092181 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_freq_attr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_freq_attr.cpython-312.pyc index d512ecfc..d21e56df 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_freq_attr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_freq_attr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_indexing.cpython-312.pyc index 2fbd0983..9a22d4d6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_join.cpython-312.pyc index 7cb56b02..8168cd29 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_ops.cpython-312.pyc index 2ded9099..160cf485 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_pickle.cpython-312.pyc index 477c5120..431354d2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_scalar_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_scalar_compat.cpython-312.pyc index d7cf1f46..bc3c2b05 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_scalar_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_scalar_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_searchsorted.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_searchsorted.cpython-312.pyc index 09730839..0d6159c8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_searchsorted.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_searchsorted.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_setops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_setops.cpython-312.pyc index cc889602..b7111d5a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_setops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_setops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_timedelta.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_timedelta.cpython-312.pyc index 1433fac8..d409b7eb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_timedelta.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_timedelta.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_timedelta_range.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_timedelta_range.cpython-312.pyc index 3c45139a..425bf2df 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_timedelta_range.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/__pycache__/test_timedelta_range.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/__init__.cpython-312.pyc index ca5704fe..71134022 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_astype.cpython-312.pyc index f6d59bc3..e3c0c698 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_factorize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_factorize.cpython-312.pyc index 0a1bddcb..e33a6ede 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_factorize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_factorize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_fillna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_fillna.cpython-312.pyc index d68b9e8b..288d628b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_fillna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_fillna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_insert.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_insert.cpython-312.pyc index 4589084a..93643989 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_insert.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_insert.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_repeat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_repeat.cpython-312.pyc index ae5a3ab6..6efd2425 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_repeat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_repeat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_shift.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_shift.cpython-312.pyc index 845a9c42..41ef91ac 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_shift.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexes/timedeltas/methods/__pycache__/test_shift.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/__init__.cpython-312.pyc index fc0a85f7..eb0f4706 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/common.cpython-312.pyc index b5cf80c5..525e803a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/conftest.cpython-312.pyc index 0b98d65e..d3c2ba85 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_at.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_at.cpython-312.pyc index a39d0fc7..098bb858 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_at.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_at.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_categorical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_categorical.cpython-312.pyc index cef72d84..6f010658 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_categorical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_categorical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_chaining_and_caching.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_chaining_and_caching.cpython-312.pyc index 3c948cf3..7af52b5f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_chaining_and_caching.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_chaining_and_caching.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_check_indexer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_check_indexer.cpython-312.pyc index 17ae5fad..372f3bb2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_check_indexer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_check_indexer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_coercion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_coercion.cpython-312.pyc index 86efeaca..11773e52 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_coercion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_coercion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_datetime.cpython-312.pyc index 6ef54605..2af584a7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_floats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_floats.cpython-312.pyc index 003c95ff..a7aac223 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_floats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_floats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_iat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_iat.cpython-312.pyc index 89a8f3df..556f4564 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_iat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_iat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_iloc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_iloc.cpython-312.pyc index fa969abe..457ee757 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_iloc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_iloc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_indexers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_indexers.cpython-312.pyc index 93d7e877..9bc0bf21 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_indexers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_indexers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_indexing.cpython-312.pyc index bc733edf..dc1695fa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_loc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_loc.cpython-312.pyc index c50957c0..b45e746d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_loc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_loc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_na_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_na_indexing.cpython-312.pyc index 7efaa256..7a384422 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_na_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_na_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_partial.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_partial.cpython-312.pyc index 66ddc475..cea1127b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_partial.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_partial.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_scalar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_scalar.cpython-312.pyc index 2deee063..bb185c53 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_scalar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/__pycache__/test_scalar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/__init__.cpython-312.pyc index 46319326..1a92858e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/test_interval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/test_interval.cpython-312.pyc index 3a38533d..e6694434 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/test_interval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/test_interval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/test_interval_new.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/test_interval_new.cpython-312.pyc index ce8eeb9b..814e748f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/test_interval_new.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/interval/__pycache__/test_interval_new.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/__init__.cpython-312.pyc index 6ffc3962..50426d9c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_chaining_and_caching.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_chaining_and_caching.cpython-312.pyc index 203103dc..ec251ad9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_chaining_and_caching.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_chaining_and_caching.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_datetime.cpython-312.pyc index 19216fe8..e61a17bd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_getitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_getitem.cpython-312.pyc index ce645322..1b57c1fb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_getitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_getitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_iloc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_iloc.cpython-312.pyc index cfe89742..0ded1b85 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_iloc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_iloc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_indexing_slow.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_indexing_slow.cpython-312.pyc index 094f945c..a301b074 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_indexing_slow.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_indexing_slow.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_loc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_loc.cpython-312.pyc index cb4a3292..9b77e9ca 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_loc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_loc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_multiindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_multiindex.cpython-312.pyc index 479bd14e..d876aed1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_multiindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_multiindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_partial.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_partial.cpython-312.pyc index d9ecf47e..65da2cb1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_partial.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_partial.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_setitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_setitem.cpython-312.pyc index ca55f69d..1c3b6f08 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_setitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_setitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_slice.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_slice.cpython-312.pyc index e2e11b64..f2dbd5fe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_slice.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_slice.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_sorted.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_sorted.cpython-312.pyc index 531d8cbb..e52d7755 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_sorted.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/indexing/multiindex/__pycache__/test_sorted.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/__init__.cpython-312.pyc index bfea9626..7d2a19c9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_impl.cpython-312.pyc index 96fcb4cd..2dbd5b24 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_spec_conformance.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_spec_conformance.cpython-312.pyc index cf36daa9..3b5ec707 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_spec_conformance.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_spec_conformance.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_utils.cpython-312.pyc index d184eae6..26cbc1d1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/interchange/__pycache__/test_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/__init__.cpython-312.pyc index 40eb469c..ca0ccc7e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_api.cpython-312.pyc index b552e1f6..da93c213 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_internals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_internals.cpython-312.pyc index 223f5fc8..63e3f150 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_internals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_internals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_managers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_managers.cpython-312.pyc index c1eaa348..6dd4662d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_managers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/internals/__pycache__/test_managers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/__init__.cpython-312.pyc index 1068a06e..64772303 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/conftest.cpython-312.pyc index ad5e201d..f3ff3afe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/generate_legacy_storage_files.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/generate_legacy_storage_files.cpython-312.pyc index 2b969128..f54884e2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/generate_legacy_storage_files.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/generate_legacy_storage_files.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_clipboard.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_clipboard.cpython-312.pyc index 1f7deb65..243b2135 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_clipboard.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_clipboard.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_common.cpython-312.pyc index e34c9ab2..81d54829 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_compression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_compression.cpython-312.pyc index 70c63df0..a7996555 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_compression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_compression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_feather.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_feather.cpython-312.pyc index b87f0cde..265bc198 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_feather.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_feather.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_fsspec.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_fsspec.cpython-312.pyc index e59eeb79..c2b75d6e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_fsspec.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_fsspec.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_gbq.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_gbq.cpython-312.pyc index 8c29eb30..46c199a1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_gbq.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_gbq.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_gcs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_gcs.cpython-312.pyc index 88b8d96c..1604f572 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_gcs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_gcs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_html.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_html.cpython-312.pyc index 41527f9e..49183210 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_html.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_html.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_http_headers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_http_headers.cpython-312.pyc index 27526d98..f450930b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_http_headers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_http_headers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_orc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_orc.cpython-312.pyc index 78316825..a19a9a66 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_orc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_orc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_parquet.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_parquet.cpython-312.pyc index 4702edb2..3f10a9ec 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_parquet.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_parquet.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_pickle.cpython-312.pyc index a80f0e95..051c2633 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_s3.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_s3.cpython-312.pyc index a4ff7732..aa3b0085 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_s3.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_s3.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_spss.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_spss.cpython-312.pyc index b2d4a632..db9d09ce 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_spss.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_spss.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_sql.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_sql.cpython-312.pyc index ecaafc17..516b3166 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_sql.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_sql.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_stata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_stata.cpython-312.pyc index c68b7690..500ceab2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_stata.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/__pycache__/test_stata.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/__init__.cpython-312.pyc index 5135723c..db5d597e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_odf.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_odf.cpython-312.pyc index 4d6cde71..a9e52ecf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_odf.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_odf.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_odswriter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_odswriter.cpython-312.pyc index b322ea47..973f2cd0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_odswriter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_odswriter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_openpyxl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_openpyxl.cpython-312.pyc index 1f37ee3f..c6981ba8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_openpyxl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_openpyxl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_readers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_readers.cpython-312.pyc index fb376f34..f0f25649 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_readers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_readers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_style.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_style.cpython-312.pyc index 861a3327..798ab484 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_style.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_style.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_writers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_writers.cpython-312.pyc index e20ae4f3..fb2e8341 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_writers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_writers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_xlrd.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_xlrd.cpython-312.pyc index 086d0f1e..eac6b7ff 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_xlrd.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_xlrd.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_xlsxwriter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_xlsxwriter.cpython-312.pyc index 8a9c3486..9248872f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_xlsxwriter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/excel/__pycache__/test_xlsxwriter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/__init__.cpython-312.pyc index f022c765..445ea680 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_console.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_console.cpython-312.pyc index dd2d8561..89addbfe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_console.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_console.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_css.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_css.cpython-312.pyc index 5c3cdc06..3611aff6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_css.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_css.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_eng_formatting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_eng_formatting.cpython-312.pyc index 6ef98efe..bfea41c2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_eng_formatting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_eng_formatting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_format.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_format.cpython-312.pyc index 2a00db7e..5d7626da 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_format.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_format.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_ipython_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_ipython_compat.cpython-312.pyc index 08054563..3ed37837 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_ipython_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_ipython_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_printing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_printing.cpython-312.pyc index 1597f7b4..b6164c4c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_printing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_printing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_csv.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_csv.cpython-312.pyc index ec247e00..a5cc052f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_csv.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_csv.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_excel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_excel.cpython-312.pyc index 76c626e9..52ebd6ce 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_excel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_excel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_html.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_html.cpython-312.pyc index 88f2c361..1240c440 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_html.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_html.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_latex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_latex.cpython-312.pyc index 07ff8520..d8ae4399 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_latex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_latex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_markdown.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_markdown.cpython-312.pyc index 0d4ff5aa..65ad671e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_markdown.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_markdown.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_string.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_string.cpython-312.pyc index 15237560..d088ae6d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_string.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/__pycache__/test_to_string.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/__init__.cpython-312.pyc index ae23f2d6..fc065927 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_bar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_bar.cpython-312.pyc index e3bad049..2e144dd8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_bar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_bar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_exceptions.cpython-312.pyc index 3662c779..193fcb1a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_format.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_format.cpython-312.pyc index a1b4e88b..47b4b0e6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_format.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_format.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_highlight.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_highlight.cpython-312.pyc index aef635e0..a8662e57 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_highlight.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_highlight.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_html.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_html.cpython-312.pyc index a321d189..723828ef 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_html.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_html.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_matplotlib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_matplotlib.cpython-312.pyc index 3bd1761b..7fff11d6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_matplotlib.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_matplotlib.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_non_unique.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_non_unique.cpython-312.pyc index 82f5770b..785fb6ec 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_non_unique.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_non_unique.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_style.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_style.cpython-312.pyc index f7bd6a45..5a10920f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_style.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_style.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_to_latex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_to_latex.cpython-312.pyc index 34c19e6b..491bd22b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_to_latex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_to_latex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_to_string.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_to_string.cpython-312.pyc index 3a3983ef..9aabde06 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_to_string.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_to_string.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_tooltip.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_tooltip.cpython-312.pyc index a376e29a..f210ff98 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_tooltip.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/formats/style/__pycache__/test_tooltip.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/__init__.cpython-312.pyc index d74b16fb..abe2fce9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/conftest.cpython-312.pyc index 59b3bbe2..cd7bdd23 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_compression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_compression.cpython-312.pyc index eee055e6..c477cecf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_compression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_compression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_deprecated_kwargs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_deprecated_kwargs.cpython-312.pyc index 3df25bd5..385689fe 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_deprecated_kwargs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_deprecated_kwargs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_json_table_schema.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_json_table_schema.cpython-312.pyc index 2c5b5836..2ff4987a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_json_table_schema.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_json_table_schema.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_json_table_schema_ext_dtype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_json_table_schema_ext_dtype.cpython-312.pyc index 396ba9b0..01901a2b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_json_table_schema_ext_dtype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_json_table_schema_ext_dtype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_normalize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_normalize.cpython-312.pyc index dfcf1815..7290dec8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_normalize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_normalize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_pandas.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_pandas.cpython-312.pyc index 98fa3038..1fe56de1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_pandas.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_pandas.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_readlines.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_readlines.cpython-312.pyc index 8e404fb4..fd4bff84 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_readlines.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_readlines.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_ujson.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_ujson.cpython-312.pyc index 7f013471..b7c6f5aa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_ujson.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/json/__pycache__/test_ujson.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/__init__.cpython-312.pyc index f93588e7..68c78f8b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/conftest.cpython-312.pyc index 8142a340..d2d60251 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_c_parser_only.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_c_parser_only.cpython-312.pyc index 83849a92..d32f9cff 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_c_parser_only.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_c_parser_only.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_comment.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_comment.cpython-312.pyc index d78c2f17..013f3b73 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_comment.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_comment.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_compression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_compression.cpython-312.pyc index 2ec106e1..df18e8f2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_compression.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_compression.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_concatenate_chunks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_concatenate_chunks.cpython-312.pyc index e88a37ed..b4a952fd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_concatenate_chunks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_concatenate_chunks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_converters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_converters.cpython-312.pyc index f66506d0..9ad80aff 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_converters.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_converters.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_dialect.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_dialect.cpython-312.pyc index a3b70978..b4099028 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_dialect.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_dialect.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_encoding.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_encoding.cpython-312.pyc index eaa57b43..b45c0c36 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_encoding.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_encoding.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_header.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_header.cpython-312.pyc index 90601495..0211bb4e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_header.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_header.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_index_col.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_index_col.cpython-312.pyc index 77b5b109..a1b77527 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_index_col.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_index_col.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_mangle_dupes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_mangle_dupes.cpython-312.pyc index cfcc5450..156492fa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_mangle_dupes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_mangle_dupes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_multi_thread.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_multi_thread.cpython-312.pyc index 990579a1..034dc7a1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_multi_thread.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_multi_thread.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_na_values.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_na_values.cpython-312.pyc index b2721f04..79817148 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_na_values.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_na_values.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_network.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_network.cpython-312.pyc index 425389b3..cc5172e2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_network.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_network.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_parse_dates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_parse_dates.cpython-312.pyc index 0bfa1277..ba9aba11 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_parse_dates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_parse_dates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_python_parser_only.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_python_parser_only.cpython-312.pyc index afc0ab0a..6c8d8572 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_python_parser_only.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_python_parser_only.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_quoting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_quoting.cpython-312.pyc index 401e145b..8d737dcb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_quoting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_quoting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_read_fwf.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_read_fwf.cpython-312.pyc index 02c45944..1e5ee5d7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_read_fwf.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_read_fwf.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_skiprows.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_skiprows.cpython-312.pyc index 8130d39b..afce96b1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_skiprows.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_skiprows.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_textreader.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_textreader.cpython-312.pyc index 8d15ef06..ee308a5e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_textreader.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_textreader.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_unsupported.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_unsupported.cpython-312.pyc index f6311016..7fef487a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_unsupported.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_unsupported.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_upcast.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_upcast.cpython-312.pyc index 88191dc5..dc7ca2d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_upcast.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/__pycache__/test_upcast.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/__init__.cpython-312.pyc index 9891de71..3f638997 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_chunksize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_chunksize.cpython-312.pyc index 2e4fe25b..a51014ab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_chunksize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_chunksize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_common_basic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_common_basic.cpython-312.pyc index e3ef3308..50cda673 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_common_basic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_common_basic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_data_list.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_data_list.cpython-312.pyc index 0732672a..2c2e24f9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_data_list.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_data_list.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_decimal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_decimal.cpython-312.pyc index 3f2b35a2..f33844c7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_decimal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_decimal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_file_buffer_url.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_file_buffer_url.cpython-312.pyc index 2af9aeeb..0d9b1042 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_file_buffer_url.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_file_buffer_url.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_float.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_float.cpython-312.pyc index 0e777d88..02a57121 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_float.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_float.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_index.cpython-312.pyc index 32bf35e9..56016d6e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_inf.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_inf.cpython-312.pyc index cc6db32d..336b6698 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_inf.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_inf.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_ints.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_ints.cpython-312.pyc index 7d7bdc37..feeff5f2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_ints.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_ints.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_iterator.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_iterator.cpython-312.pyc index 9249c8c6..f50d4a18 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_iterator.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_iterator.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_read_errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_read_errors.cpython-312.pyc index de438d4c..c4f099ed 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_read_errors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_read_errors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_verbose.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_verbose.cpython-312.pyc index 169cb278..fc473448 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_verbose.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/common/__pycache__/test_verbose.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/__init__.cpython-312.pyc index 03d634cc..3abe0430 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_categorical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_categorical.cpython-312.pyc index fc22b447..9ebbc9f4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_categorical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_categorical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_dtypes_basic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_dtypes_basic.cpython-312.pyc index 3259bb32..5fe040a4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_dtypes_basic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_dtypes_basic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_empty.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_empty.cpython-312.pyc index a8c39d49..b01e52f3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_empty.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/dtypes/__pycache__/test_empty.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/__init__.cpython-312.pyc index 0e9c1012..ce2fa4d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_parse_dates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_parse_dates.cpython-312.pyc index 29ed10b8..4ae64dab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_parse_dates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_parse_dates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_strings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_strings.cpython-312.pyc index 33929264..d3f2af7b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_strings.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_strings.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_usecols_basic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_usecols_basic.cpython-312.pyc index 4f151d2e..d8aa8c45 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_usecols_basic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/parser/usecols/__pycache__/test_usecols_basic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/__init__.cpython-312.pyc index 08638ce8..0224b6c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/common.cpython-312.pyc index 5a9e80c5..9087b92f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/conftest.cpython-312.pyc index cd9b6495..f5bc1d23 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_append.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_append.cpython-312.pyc index 262889f7..a9a8424c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_append.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_append.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_categorical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_categorical.cpython-312.pyc index 595945c6..d0a21798 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_categorical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_categorical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_compat.cpython-312.pyc index cc074494..659d0ca2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_complex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_complex.cpython-312.pyc index ef407e5b..07815d07 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_complex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_complex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_errors.cpython-312.pyc index e35dace3..225989ce 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_errors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_errors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_file_handling.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_file_handling.cpython-312.pyc index e70d8791..32f92467 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_file_handling.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_file_handling.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_keys.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_keys.cpython-312.pyc index 332882bb..a2bbd063 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_keys.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_keys.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_put.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_put.cpython-312.pyc index fe5daa24..780781f2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_put.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_put.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_pytables_missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_pytables_missing.cpython-312.pyc index d9e1dc31..75beeec8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_pytables_missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_pytables_missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_read.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_read.cpython-312.pyc index 75917183..42d770db 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_read.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_read.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_retain_attributes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_retain_attributes.cpython-312.pyc index 73a3f5ac..fd4f2bda 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_retain_attributes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_retain_attributes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_round_trip.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_round_trip.cpython-312.pyc index 54081faf..13bed403 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_round_trip.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_round_trip.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_select.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_select.cpython-312.pyc index e827777d..f071cc3e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_select.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_select.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_store.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_store.cpython-312.pyc index 1449c0ed..ed6ff70c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_store.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_store.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_subclass.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_subclass.cpython-312.pyc index 8e129619..66181713 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_subclass.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_subclass.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_time_series.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_time_series.cpython-312.pyc index 1ad731fd..98e32c8e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_time_series.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_time_series.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_timezones.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_timezones.cpython-312.pyc index b909d532..382e5c97 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_timezones.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/pytables/__pycache__/test_timezones.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/__init__.cpython-312.pyc index f79ddd32..f0dc8d0d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_byteswap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_byteswap.cpython-312.pyc index 660925a7..beb19aad 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_byteswap.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_byteswap.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_sas.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_sas.cpython-312.pyc index ed217aed..22ff4330 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_sas.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_sas.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_sas7bdat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_sas7bdat.cpython-312.pyc index be6faf34..dc9f2155 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_sas7bdat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_sas7bdat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_xport.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_xport.cpython-312.pyc index 030ca630..00ba9f05 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_xport.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/sas/__pycache__/test_xport.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/__init__.cpython-312.pyc index fe7e6e44..952f04a8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/conftest.cpython-312.pyc index 34cde9f4..784c9c42 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_to_xml.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_to_xml.cpython-312.pyc index ce5d910a..524b07a3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_to_xml.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_to_xml.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_xml.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_xml.cpython-312.pyc index 8f251987..c7635843 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_xml.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_xml.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_xml_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_xml_dtypes.cpython-312.pyc index 5eea1019..9cc67586 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_xml_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/io/xml/__pycache__/test_xml_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/__init__.cpython-312.pyc index 175a163d..e4c36c35 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_hashtable.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_hashtable.cpython-312.pyc index 82928eb2..cb929372 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_hashtable.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_hashtable.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_join.cpython-312.pyc index f5ddb673..fdfa360c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_lib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_lib.cpython-312.pyc index 1393be3b..955efd24 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_lib.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_lib.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_libalgos.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_libalgos.cpython-312.pyc index 2e4bb92a..1a56adc1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_libalgos.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/libs/__pycache__/test_libalgos.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/__init__.cpython-312.pyc index d40ce831..d37761b7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/common.cpython-312.pyc index f5e2e634..46f183ec 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/conftest.cpython-312.pyc index da94e62f..d15d314a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_backend.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_backend.cpython-312.pyc index 88173681..9de4e1a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_backend.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_backend.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_boxplot_method.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_boxplot_method.cpython-312.pyc index aa45430f..97b390f2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_boxplot_method.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_boxplot_method.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_common.cpython-312.pyc index 0c23f696..ae9d95b7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_converter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_converter.cpython-312.pyc index 816ede4d..2e0a8237 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_converter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_converter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_datetimelike.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_datetimelike.cpython-312.pyc index d2f44088..21d39d42 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_datetimelike.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_datetimelike.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_groupby.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_groupby.cpython-312.pyc index 5c7f0616..baea1d73 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_groupby.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_groupby.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_hist_method.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_hist_method.cpython-312.pyc index 3e72b5c1..ec0a9ee5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_hist_method.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_hist_method.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_misc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_misc.cpython-312.pyc index ac90a77d..35261302 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_misc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_misc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_series.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_series.cpython-312.pyc index b094cce9..54dccae7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_series.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_series.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_style.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_style.cpython-312.pyc index 4929613e..022d4c85 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_style.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/__pycache__/test_style.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/__init__.cpython-312.pyc index 1e3f0acb..ebb0bd58 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame.cpython-312.pyc index 5072ee0e..3f9d2b7d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_color.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_color.cpython-312.pyc index 80d3332e..c118dc8b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_color.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_color.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_groupby.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_groupby.cpython-312.pyc index b9d3ec58..be8dbae3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_groupby.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_groupby.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_legend.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_legend.cpython-312.pyc index 16e06352..0a059391 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_legend.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_legend.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_subplots.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_subplots.cpython-312.pyc index cec0834b..e494fe00 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_subplots.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_frame_subplots.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_hist_box_by.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_hist_box_by.cpython-312.pyc index e3e33957..9cf327c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_hist_box_by.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/plotting/frame/__pycache__/test_hist_box_by.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/__init__.cpython-312.pyc index 9a1ca0d1..ba9ecaeb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/test_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/test_reductions.cpython-312.pyc index 5cca749e..bc77cdd2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/test_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/test_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/test_stat_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/test_stat_reductions.cpython-312.pyc index 36ce09ca..3fb56a9f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/test_stat_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reductions/__pycache__/test_stat_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/__init__.cpython-312.pyc index f2d9c7e7..f32b418c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/conftest.cpython-312.pyc index 4e6ad851..b02520e2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_base.cpython-312.pyc index a8a5ac48..67ed1565 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_datetime_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_datetime_index.cpython-312.pyc index 514bb54a..27ba957e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_datetime_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_datetime_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_period_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_period_index.cpython-312.pyc index abb05e07..3a797722 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_period_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_period_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_resample_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_resample_api.cpython-312.pyc index 32418fb2..0cd62e1a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_resample_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_resample_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_resampler_grouper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_resampler_grouper.cpython-312.pyc index dd483aee..22b0c66d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_resampler_grouper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_resampler_grouper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_time_grouper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_time_grouper.cpython-312.pyc index 25d59044..d444d4e5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_time_grouper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_time_grouper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_timedelta.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_timedelta.cpython-312.pyc index 7ceb4e54..08bfe989 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_timedelta.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/resample/__pycache__/test_timedelta.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/__init__.cpython-312.pyc index 6ef275ad..2bc69132 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_crosstab.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_crosstab.cpython-312.pyc index 836edb1e..5cd7c562 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_crosstab.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_crosstab.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_cut.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_cut.cpython-312.pyc index 5efc46de..1db1c5bb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_cut.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_cut.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_from_dummies.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_from_dummies.cpython-312.pyc index 319bed77..9c9cde79 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_from_dummies.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_from_dummies.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_get_dummies.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_get_dummies.cpython-312.pyc index 1cb2c3fc..f606af81 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_get_dummies.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_get_dummies.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_melt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_melt.cpython-312.pyc index ee7c3e3e..bd0f4172 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_melt.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_melt.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_pivot.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_pivot.cpython-312.pyc index 6f87e01b..0bd287f5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_pivot.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_pivot.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_pivot_multilevel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_pivot_multilevel.cpython-312.pyc index 5ab90e3a..c57b4cfb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_pivot_multilevel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_pivot_multilevel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_qcut.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_qcut.cpython-312.pyc index 80373f4a..e030348c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_qcut.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_qcut.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_union_categoricals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_union_categoricals.cpython-312.pyc index f51f24a0..74a98443 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_union_categoricals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_union_categoricals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_util.cpython-312.pyc index 16d0543c..2fa49ae8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/__pycache__/test_util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/__init__.cpython-312.pyc index 31ff98fb..d942ba7e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/conftest.cpython-312.pyc index f88e348c..e9ebd47d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_append.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_append.cpython-312.pyc index 4f73c0ac..198442c9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_append.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_append.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_append_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_append_common.cpython-312.pyc index 74fb528c..3a08d13b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_append_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_append_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_categorical.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_categorical.cpython-312.pyc index 82887bd3..d765d683 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_categorical.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_categorical.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_concat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_concat.cpython-312.pyc index 351f3bf6..e85b0c61 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_concat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_concat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_dataframe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_dataframe.cpython-312.pyc index 478cbd4d..1f3b0a7a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_dataframe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_dataframe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_datetimes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_datetimes.cpython-312.pyc index 5b478c71..190b051a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_datetimes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_datetimes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_empty.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_empty.cpython-312.pyc index 15b81783..9ed818cd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_empty.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_empty.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_index.cpython-312.pyc index 778a7271..dc5bbdd4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_invalid.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_invalid.cpython-312.pyc index 323612ee..18811dd2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_invalid.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_invalid.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_series.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_series.cpython-312.pyc index 592fbc79..fe0ad84c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_series.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_series.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_sort.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_sort.cpython-312.pyc index fd0eb35e..08caaf01 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_sort.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/concat/__pycache__/test_sort.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/__init__.cpython-312.pyc index 5cb31efe..ad8cf872 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_join.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_join.cpython-312.pyc index c9b36967..efe44ef0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_join.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_join.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge.cpython-312.pyc index cb26bdd5..30b108a7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_asof.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_asof.cpython-312.pyc index db3dfc2c..0d20aa89 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_asof.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_asof.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_cross.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_cross.cpython-312.pyc index fbf70483..c8052d1c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_cross.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_cross.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_index_as_string.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_index_as_string.cpython-312.pyc index 1ca7192a..551f20fc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_index_as_string.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_index_as_string.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_ordered.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_ordered.cpython-312.pyc index 3bf80776..bbe9a334 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_ordered.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_merge_ordered.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_multi.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_multi.cpython-312.pyc index b8d54b01..25d8ae46 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_multi.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/reshape/merge/__pycache__/test_multi.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/__init__.cpython-312.pyc index 55f2319b..066d8601 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/test_na_scalar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/test_na_scalar.cpython-312.pyc index 807c2fa0..b0b9e63a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/test_na_scalar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/test_na_scalar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/test_nat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/test_nat.cpython-312.pyc index a11354f4..75616d5a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/test_nat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/__pycache__/test_nat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/__init__.cpython-312.pyc index b6709364..9c7e5d0f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_arithmetic.cpython-312.pyc index 9445f102..fac0a9be 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_constructors.cpython-312.pyc index 187a3cfc..ae1d00da 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_contains.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_contains.cpython-312.pyc index 2e08acbc..dc7c94a1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_contains.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_contains.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_formats.cpython-312.pyc index 1b7119b4..7641dfb2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_interval.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_interval.cpython-312.pyc index 229b55d4..b50ec909 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_interval.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_interval.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_overlaps.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_overlaps.cpython-312.pyc index d3be496d..5731f8d5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_overlaps.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/interval/__pycache__/test_overlaps.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/__init__.cpython-312.pyc index 691a6693..8101c8d2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_arithmetic.cpython-312.pyc index 0cf61724..a5a83ede 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_asfreq.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_asfreq.cpython-312.pyc index 75302616..2e60146d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_asfreq.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_asfreq.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_period.cpython-312.pyc index f76f9924..6f60872b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/period/__pycache__/test_period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/__init__.cpython-312.pyc index 054457af..d1ded136 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_arithmetic.cpython-312.pyc index 77b0651f..63bd7ca0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_constructors.cpython-312.pyc index 92db884b..f597074e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_formats.cpython-312.pyc index 1036550f..2681a347 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_timedelta.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_timedelta.cpython-312.pyc index 8c8a145e..05322350 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_timedelta.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/__pycache__/test_timedelta.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/__init__.cpython-312.pyc index 353a7ad7..77aec4e1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/test_as_unit.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/test_as_unit.cpython-312.pyc index 2f079a6c..5b0c989b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/test_as_unit.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/test_as_unit.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/test_round.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/test_round.cpython-312.pyc index b8eedc94..69dd9a57 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/test_round.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timedelta/methods/__pycache__/test_round.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/__init__.cpython-312.pyc index f74e71e5..7d3a0502 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_arithmetic.cpython-312.pyc index e5469ef3..6bcefdd1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_comparisons.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_comparisons.cpython-312.pyc index d8cf4768..ecb362c8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_comparisons.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_comparisons.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_constructors.cpython-312.pyc index ccd32dcc..0698d702 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_formats.cpython-312.pyc index ed863bba..0d052240 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_timestamp.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_timestamp.cpython-312.pyc index 05660b29..0d37c2c8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_timestamp.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_timestamp.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_timezones.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_timezones.cpython-312.pyc index cc6a1c80..f14eff20 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_timezones.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/__pycache__/test_timezones.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/__init__.cpython-312.pyc index 25cc4045..02cc9d17 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_as_unit.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_as_unit.cpython-312.pyc index 0f6bdce7..13bdd3b3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_as_unit.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_as_unit.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_normalize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_normalize.cpython-312.pyc index be8dd299..db4332e7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_normalize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_normalize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_replace.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_replace.cpython-312.pyc index cc74d00d..10f2f562 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_replace.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_replace.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_round.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_round.cpython-312.pyc index eb881396..faf8618b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_round.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_round.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_timestamp_method.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_timestamp_method.cpython-312.pyc index cf5e166f..67646950 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_timestamp_method.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_timestamp_method.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_to_julian_date.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_to_julian_date.cpython-312.pyc index 191348f8..fef5e3f1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_to_julian_date.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_to_julian_date.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_to_pydatetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_to_pydatetime.cpython-312.pyc index 09bb787b..3a6ba9e6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_to_pydatetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_to_pydatetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_tz_convert.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_tz_convert.cpython-312.pyc index 099812a6..d576e0c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_tz_convert.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_tz_convert.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_tz_localize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_tz_localize.cpython-312.pyc index 7f6a17aa..355bcc7b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_tz_localize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/scalar/timestamp/methods/__pycache__/test_tz_localize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/__init__.cpython-312.pyc index 440903db..32c125f6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_api.cpython-312.pyc index 09c55c26..37223ad0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_arithmetic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_arithmetic.cpython-312.pyc index 1df9b791..c28144c9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_arithmetic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_arithmetic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_constructors.cpython-312.pyc index 18af44bb..0a31d586 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_cumulative.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_cumulative.cpython-312.pyc index 3f02e4a3..ceef14a4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_cumulative.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_cumulative.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_formats.cpython-312.pyc index dab7031c..13c6e87b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_formats.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_formats.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_iteration.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_iteration.cpython-312.pyc index 2aec77dd..7e0dccd7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_iteration.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_iteration.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_logical_ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_logical_ops.cpython-312.pyc index a7b7b1b8..3f43c25c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_logical_ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_logical_ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_missing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_missing.cpython-312.pyc index 6b08f58e..eff6e1ac 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_missing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_missing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_npfuncs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_npfuncs.cpython-312.pyc index b1049162..e996c418 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_npfuncs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_npfuncs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_reductions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_reductions.cpython-312.pyc index c01b19ae..aededd31 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_reductions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_reductions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_subclass.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_subclass.cpython-312.pyc index 1e4f400f..d7ad50eb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_subclass.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_subclass.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_ufunc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_ufunc.cpython-312.pyc index 3e98a449..221b5cdd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_ufunc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_ufunc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_unary.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_unary.cpython-312.pyc index 3eb72708..c82e0ee2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_unary.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_unary.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_validate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_validate.cpython-312.pyc index a887255d..78d92d4d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_validate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/__pycache__/test_validate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/__init__.cpython-312.pyc index 619138b5..2264f7e7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_cat_accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_cat_accessor.cpython-312.pyc index a07be9eb..effe2253 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_cat_accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_cat_accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_dt_accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_dt_accessor.cpython-312.pyc index ea76ee00..16e64a0c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_dt_accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_dt_accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_list_accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_list_accessor.cpython-312.pyc index a2455bda..777995d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_list_accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_list_accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_sparse_accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_sparse_accessor.cpython-312.pyc index 464a3a76..7d79a10d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_sparse_accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_sparse_accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_str_accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_str_accessor.cpython-312.pyc index d3a32984..85a01b4d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_str_accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_str_accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_struct_accessor.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_struct_accessor.cpython-312.pyc index 43ae95e1..08e5e7b1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_struct_accessor.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/accessors/__pycache__/test_struct_accessor.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/__init__.cpython-312.pyc index 082fe3e1..a521b5c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_datetime.cpython-312.pyc index 6e43fa38..77b6f5dc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_delitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_delitem.cpython-312.pyc index adcd3783..bb64fe6f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_delitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_delitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_get.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_get.cpython-312.pyc index 08cb5b13..1e9ee5d0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_get.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_get.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_getitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_getitem.cpython-312.pyc index ddcae207..a4baefd2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_getitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_getitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_indexing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_indexing.cpython-312.pyc index 589264ff..c430d180 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_indexing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_indexing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_mask.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_mask.cpython-312.pyc index 9e1cc7b6..bacc1c8e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_mask.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_mask.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_set_value.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_set_value.cpython-312.pyc index 1587b845..306ae4bd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_set_value.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_set_value.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_setitem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_setitem.cpython-312.pyc index 23045c7b..749d9fcf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_setitem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_setitem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_take.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_take.cpython-312.pyc index 028213f7..a8af8b21 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_take.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_take.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_where.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_where.cpython-312.pyc index b127468d..027a80e9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_where.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_where.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_xs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_xs.cpython-312.pyc index c2fcb190..fda47e38 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_xs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/indexing/__pycache__/test_xs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/__init__.cpython-312.pyc index b46b78c7..0c3c5528 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_add_prefix_suffix.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_add_prefix_suffix.cpython-312.pyc index 69ec0bee..49c5809a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_add_prefix_suffix.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_add_prefix_suffix.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_align.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_align.cpython-312.pyc index ca237641..d59754d7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_align.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_align.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_argsort.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_argsort.cpython-312.pyc index 93c16901..c2c111dc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_argsort.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_argsort.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_asof.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_asof.cpython-312.pyc index 1e4ac4dd..6e8693a0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_asof.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_asof.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_astype.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_astype.cpython-312.pyc index cb8466c9..47f37b70 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_astype.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_astype.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_autocorr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_autocorr.cpython-312.pyc index 733ab02a..b9196b93 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_autocorr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_autocorr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_between.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_between.cpython-312.pyc index 89d786b9..6cd82322 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_between.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_between.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_case_when.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_case_when.cpython-312.pyc index 531cfe56..5cd8e92f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_case_when.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_case_when.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_clip.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_clip.cpython-312.pyc index 4777487d..f9c0737e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_clip.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_clip.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_combine.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_combine.cpython-312.pyc index 5254813b..5edfa61b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_combine.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_combine.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_combine_first.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_combine_first.cpython-312.pyc index fdeec7f2..cce12108 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_combine_first.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_combine_first.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_compare.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_compare.cpython-312.pyc index 84fed4d3..a0e46d87 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_compare.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_compare.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_convert_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_convert_dtypes.cpython-312.pyc index 21ccc56c..b3fcfb39 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_convert_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_convert_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_copy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_copy.cpython-312.pyc index b0d13e34..48839b80 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_copy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_copy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_count.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_count.cpython-312.pyc index bae9f380..4784e82e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_count.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_count.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_cov_corr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_cov_corr.cpython-312.pyc index d52a5a7c..c9fd5782 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_cov_corr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_cov_corr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_describe.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_describe.cpython-312.pyc index 8b8d910c..c0eb9f52 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_describe.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_describe.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_diff.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_diff.cpython-312.pyc index fbfd956c..fe5aa88e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_diff.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_diff.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_drop.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_drop.cpython-312.pyc index 1c85c37d..d3efa3cc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_drop.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_drop.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_drop_duplicates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_drop_duplicates.cpython-312.pyc index 9e9b89b2..42596b80 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_drop_duplicates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_drop_duplicates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_dropna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_dropna.cpython-312.pyc index a1c35bd8..9e207c7c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_dropna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_dropna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_dtypes.cpython-312.pyc index 243c2d34..59ed0e8e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_duplicated.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_duplicated.cpython-312.pyc index 6f0c2539..f71af75f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_duplicated.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_duplicated.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_equals.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_equals.cpython-312.pyc index a592a777..d0b554d8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_equals.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_equals.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_explode.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_explode.cpython-312.pyc index 8856b62c..a72618d0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_explode.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_explode.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_fillna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_fillna.cpython-312.pyc index dc42ff53..b7e49df8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_fillna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_fillna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_get_numeric_data.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_get_numeric_data.cpython-312.pyc index 4b7d6652..c9ae7d6b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_get_numeric_data.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_get_numeric_data.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_head_tail.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_head_tail.cpython-312.pyc index 6b67d6f8..1a5c2e79 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_head_tail.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_head_tail.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_infer_objects.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_infer_objects.cpython-312.pyc index 77990b12..265009b6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_infer_objects.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_infer_objects.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_info.cpython-312.pyc index 4201aa90..0e563ba2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_info.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_info.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_interpolate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_interpolate.cpython-312.pyc index 4fb9fe70..654e84ba 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_interpolate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_interpolate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_is_monotonic.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_is_monotonic.cpython-312.pyc index b5f62b2b..4b668773 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_is_monotonic.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_is_monotonic.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_is_unique.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_is_unique.cpython-312.pyc index 575a0186..1f806793 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_is_unique.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_is_unique.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_isin.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_isin.cpython-312.pyc index a23c32a4..0261211f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_isin.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_isin.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_isna.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_isna.cpython-312.pyc index e119e8b9..030bcaf2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_isna.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_isna.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_item.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_item.cpython-312.pyc index 5afd493a..b9e98715 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_item.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_item.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_map.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_map.cpython-312.pyc index 3322a40d..66c5f7fb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_map.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_map.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_matmul.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_matmul.cpython-312.pyc index e653258d..633a5f09 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_matmul.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_matmul.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_nlargest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_nlargest.cpython-312.pyc index 81316ac7..8b3a7ae1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_nlargest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_nlargest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_nunique.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_nunique.cpython-312.pyc index 2a382a9d..3dc874c7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_nunique.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_nunique.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_pct_change.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_pct_change.cpython-312.pyc index ddf009da..d35e7c4a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_pct_change.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_pct_change.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_pop.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_pop.cpython-312.pyc index bf85635c..3d30d794 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_pop.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_pop.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_quantile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_quantile.cpython-312.pyc index a2cedc10..62d083cd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_quantile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_quantile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rank.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rank.cpython-312.pyc index ed3a471e..ed9ba4ab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rank.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rank.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reindex.cpython-312.pyc index 7b3cdc52..f561dbc3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reindex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reindex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reindex_like.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reindex_like.cpython-312.pyc index 83013cf3..5f2348ec 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reindex_like.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reindex_like.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rename.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rename.cpython-312.pyc index 30bf1609..dee9ef47 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rename.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rename.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rename_axis.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rename_axis.cpython-312.pyc index 8eaa3558..02d19e65 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rename_axis.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_rename_axis.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_repeat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_repeat.cpython-312.pyc index de8e4e36..33a0ac3e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_repeat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_repeat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_replace.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_replace.cpython-312.pyc index 73cffebc..f026c22c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_replace.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_replace.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reset_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reset_index.cpython-312.pyc index 8cf1bb38..26df44a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reset_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_reset_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_round.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_round.cpython-312.pyc index b6e3b936..5846dda4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_round.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_round.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_searchsorted.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_searchsorted.cpython-312.pyc index e386aac8..51370086 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_searchsorted.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_searchsorted.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_set_name.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_set_name.cpython-312.pyc index ed85cbe6..94c61534 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_set_name.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_set_name.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_size.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_size.cpython-312.pyc index 15b4151c..4eefaa42 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_size.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_size.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_sort_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_sort_index.cpython-312.pyc index 4f3eb8f8..c8ee7944 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_sort_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_sort_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_sort_values.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_sort_values.cpython-312.pyc index d876861a..9558a42a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_sort_values.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_sort_values.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_csv.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_csv.cpython-312.pyc index ec2f685e..f1563c64 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_csv.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_csv.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_dict.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_dict.cpython-312.pyc index a62a7c1b..59eec6aa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_dict.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_dict.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_frame.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_frame.cpython-312.pyc index 86739150..099ddf7c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_frame.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_frame.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_numpy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_numpy.cpython-312.pyc index 86b3ddbb..eecdfddd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_numpy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_to_numpy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_tolist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_tolist.cpython-312.pyc index 1f8258f9..156875a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_tolist.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_tolist.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_truncate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_truncate.cpython-312.pyc index 0a377bfe..57fcb7bf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_truncate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_truncate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_tz_localize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_tz_localize.cpython-312.pyc index 75fc6684..f1d00839 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_tz_localize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_tz_localize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_unique.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_unique.cpython-312.pyc index cc763218..44c941af 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_unique.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_unique.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_unstack.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_unstack.cpython-312.pyc index fcb435e7..7f104bcb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_unstack.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_unstack.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_update.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_update.cpython-312.pyc index 26da78b6..2d82e54d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_update.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_update.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_value_counts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_value_counts.cpython-312.pyc index 92b3b198..0198f010 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_value_counts.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_value_counts.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_values.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_values.cpython-312.pyc index db0c5ef8..30fcfda5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_values.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_values.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_view.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_view.cpython-312.pyc index 90fa4260..6dcf53b5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_view.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/series/methods/__pycache__/test_view.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/__init__.cpython-312.pyc index bdfd3cf7..ed82b794 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/conftest.cpython-312.pyc index 22954380..883225e6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_api.cpython-312.pyc index 9758ac86..cb328684 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_case_justify.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_case_justify.cpython-312.pyc index a6d8fc03..6c9dadbb 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_case_justify.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_case_justify.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_cat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_cat.cpython-312.pyc index bab65982..a4fbba6a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_cat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_cat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_extract.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_extract.cpython-312.pyc index 131e1b44..abb632b5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_extract.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_extract.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_find_replace.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_find_replace.cpython-312.pyc index f40d9163..bc1ad457 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_find_replace.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_find_replace.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_get_dummies.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_get_dummies.cpython-312.pyc index f9da5d00..e9e4a949 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_get_dummies.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_get_dummies.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_split_partition.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_split_partition.cpython-312.pyc index 707cf148..b38c7f39 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_split_partition.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_split_partition.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_string_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_string_array.cpython-312.pyc index b6bdb66c..828f1bba 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_string_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_string_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_strings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_strings.cpython-312.pyc index 6656c4ac..28d654bc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_strings.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/strings/__pycache__/test_strings.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/__init__.cpython-312.pyc index 4210297e..e1b5d632 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_datetime.cpython-312.pyc index 80342121..96793425 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_numeric.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_numeric.cpython-312.pyc index f090ae74..2929ba9a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_numeric.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_numeric.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_time.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_time.cpython-312.pyc index 145e87a8..4651c2b1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_time.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_time.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_timedelta.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_timedelta.cpython-312.pyc index 17bd8ea1..dc5a6883 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_timedelta.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tools/__pycache__/test_to_timedelta.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/__pycache__/__init__.cpython-312.pyc index 3f5acbff..92c0eb08 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/__init__.cpython-312.pyc index 12a901c0..d8959e5f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_freq_code.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_freq_code.cpython-312.pyc index 33078117..fce8866a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_freq_code.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_freq_code.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_frequencies.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_frequencies.cpython-312.pyc index d162b75f..47744267 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_frequencies.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_frequencies.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_inference.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_inference.cpython-312.pyc index 30ddd8fd..f2f58099 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_inference.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/frequencies/__pycache__/test_inference.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/__init__.cpython-312.pyc index 997aff65..8eab78aa 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_calendar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_calendar.cpython-312.pyc index 873461cb..a4f843e8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_calendar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_calendar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_federal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_federal.cpython-312.pyc index 915b1c41..6966e0d1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_federal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_federal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_holiday.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_holiday.cpython-312.pyc index 790ebaf0..a8508579 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_holiday.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_holiday.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_observance.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_observance.cpython-312.pyc index 6a69e462..abc78887 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_observance.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/holiday/__pycache__/test_observance.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/__init__.cpython-312.pyc index 233d230a..05e51002 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/common.cpython-312.pyc index 6d76224d..aeb1cdb6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_day.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_day.cpython-312.pyc index d4a454c4..c7a59c89 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_day.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_day.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_hour.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_hour.cpython-312.pyc index d7fde357..6f11393b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_hour.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_hour.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_month.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_month.cpython-312.pyc index 3084f3a5..5571e618 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_month.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_month.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_quarter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_quarter.cpython-312.pyc index eb0ee625..61d041e3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_quarter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_quarter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_year.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_year.cpython-312.pyc index 00f0d1ec..6e4094d9 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_year.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_business_year.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_common.cpython-312.pyc index def34d72..4a492ce8 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_day.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_day.cpython-312.pyc index e7a4f08c..4f6368cc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_day.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_day.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_hour.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_hour.cpython-312.pyc index 541a794d..8044d089 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_hour.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_hour.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_month.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_month.cpython-312.pyc index 4ae76818..a2cefc26 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_month.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_custom_business_month.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_dst.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_dst.cpython-312.pyc index 7e9ed776..076fc2bf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_dst.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_dst.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_easter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_easter.cpython-312.pyc index 60c7cf76..44c73b34 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_easter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_easter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_fiscal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_fiscal.cpython-312.pyc index 56b0a7b7..5e344a1c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_fiscal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_fiscal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_index.cpython-312.pyc index e67093db..0cb1e825 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_month.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_month.cpython-312.pyc index 178e676f..59eda47a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_month.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_month.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_offsets.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_offsets.cpython-312.pyc index c9a2bd80..f418a14d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_offsets.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_offsets.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_offsets_properties.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_offsets_properties.cpython-312.pyc index bfb70720..e8845f2c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_offsets_properties.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_offsets_properties.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_quarter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_quarter.cpython-312.pyc index c0d8576a..00e71d6e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_quarter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_quarter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_ticks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_ticks.cpython-312.pyc index f49dc41e..fc17972e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_ticks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_ticks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_week.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_week.cpython-312.pyc index ad22edb7..3e52b0ad 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_week.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_week.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_year.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_year.cpython-312.pyc index 36332c21..346e6527 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_year.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tseries/offsets/__pycache__/test_year.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/__init__.cpython-312.pyc index 7a9c264d..2907d093 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_api.cpython-312.pyc index 20ff0d58..08ff6674 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_array_to_datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_array_to_datetime.cpython-312.pyc index 856d79b8..4315468f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_array_to_datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_array_to_datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_ccalendar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_ccalendar.cpython-312.pyc index 829d8db0..67c74694 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_ccalendar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_ccalendar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_conversion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_conversion.cpython-312.pyc index 654b6f96..2fae0eba 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_conversion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_conversion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_fields.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_fields.cpython-312.pyc index d4d442d3..2aa70419 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_fields.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_fields.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_libfrequencies.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_libfrequencies.cpython-312.pyc index 9ed44658..27666fa1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_libfrequencies.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_libfrequencies.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_liboffsets.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_liboffsets.cpython-312.pyc index 193d3bf6..f2d0ad45 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_liboffsets.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_liboffsets.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_np_datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_np_datetime.cpython-312.pyc index 6d4b1c59..6c782d4e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_np_datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_np_datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_npy_units.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_npy_units.cpython-312.pyc index 9a1da031..a2427d4e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_npy_units.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_npy_units.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_parse_iso8601.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_parse_iso8601.cpython-312.pyc index 5976e740..a1e52bab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_parse_iso8601.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_parse_iso8601.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_parsing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_parsing.cpython-312.pyc index 7338b023..dfd69fe7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_parsing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_parsing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_period.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_period.cpython-312.pyc index 64bc9915..a8cb9bac 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_period.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_period.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_resolution.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_resolution.cpython-312.pyc index e2f9a681..21c30b36 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_resolution.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_resolution.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_strptime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_strptime.cpython-312.pyc index 026fec6c..d522506d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_strptime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_strptime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_timedeltas.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_timedeltas.cpython-312.pyc index 0aec2caf..447b14ac 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_timedeltas.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_timedeltas.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_timezones.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_timezones.cpython-312.pyc index 913cc1cb..071d73a5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_timezones.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_timezones.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_to_offset.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_to_offset.cpython-312.pyc index 0ee2f013..0ef3c71b 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_to_offset.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_to_offset.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_tzconversion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_tzconversion.cpython-312.pyc index f94b85da..9681c15d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_tzconversion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/tslibs/__pycache__/test_tzconversion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/__init__.cpython-312.pyc index c2ea2db0..6f940dab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/conftest.cpython-312.pyc index 73caa2ec..c4651178 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_almost_equal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_almost_equal.cpython-312.pyc index 8dc6a1e2..9b9ae5b2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_almost_equal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_almost_equal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_attr_equal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_attr_equal.cpython-312.pyc index f1a15533..7ece8b09 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_attr_equal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_attr_equal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_categorical_equal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_categorical_equal.cpython-312.pyc index 73f3160c..804fd854 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_categorical_equal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_categorical_equal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_extension_array_equal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_extension_array_equal.cpython-312.pyc index 5f909e19..b58c6dfd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_extension_array_equal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_extension_array_equal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_frame_equal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_frame_equal.cpython-312.pyc index 744eaffc..a5dce678 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_frame_equal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_frame_equal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_index_equal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_index_equal.cpython-312.pyc index c91cd076..f45d5fd1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_index_equal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_index_equal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_interval_array_equal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_interval_array_equal.cpython-312.pyc index 18dbbae6..1573e359 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_interval_array_equal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_interval_array_equal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_numpy_array_equal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_numpy_array_equal.cpython-312.pyc index 9d584876..decc1e9e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_numpy_array_equal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_numpy_array_equal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_produces_warning.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_produces_warning.cpython-312.pyc index 023baf73..ba603b72 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_produces_warning.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_produces_warning.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_series_equal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_series_equal.cpython-312.pyc index ad97655f..9568b240 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_series_equal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_assert_series_equal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate.cpython-312.pyc index 66bbfa18..0998e970 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate_kwarg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate_kwarg.cpython-312.pyc index b7d5f4df..0229ebfd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate_kwarg.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate_kwarg.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate_nonkeyword_arguments.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate_nonkeyword_arguments.cpython-312.pyc index c21eb8dd..7dad4377 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate_nonkeyword_arguments.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_deprecate_nonkeyword_arguments.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_doc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_doc.cpython-312.pyc index 9967bbfe..9aae75df 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_doc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_doc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_hashing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_hashing.cpython-312.pyc index 59547225..3ff34aa6 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_hashing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_hashing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_numba.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_numba.cpython-312.pyc index a1594fc9..47f02fb5 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_numba.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_numba.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_rewrite_warning.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_rewrite_warning.cpython-312.pyc index 0a904de4..cb62e159 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_rewrite_warning.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_rewrite_warning.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_shares_memory.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_shares_memory.cpython-312.pyc index 3dbfa3c4..b77e562f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_shares_memory.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_shares_memory.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_show_versions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_show_versions.cpython-312.pyc index 6ce2f686..20f105e1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_show_versions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_show_versions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_util.cpython-312.pyc index 0edc8f07..9db6b8ee 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_args.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_args.cpython-312.pyc index 27f2ae86..6f182e75 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_args.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_args.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_args_and_kwargs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_args_and_kwargs.cpython-312.pyc index d4d7eeeb..c2275565 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_args_and_kwargs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_args_and_kwargs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_inclusive.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_inclusive.cpython-312.pyc index 2a9a310e..97709447 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_inclusive.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_inclusive.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_kwargs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_kwargs.cpython-312.pyc index 19ddd760..50306cab 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_kwargs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/util/__pycache__/test_validate_kwargs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/__init__.cpython-312.pyc index e95b6ab0..05242f3f 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/conftest.cpython-312.pyc index 5388b263..809c5def 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_api.cpython-312.pyc index ad4b19cd..77b2c914 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_apply.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_apply.cpython-312.pyc index dc7506e0..20156fb2 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_apply.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_apply.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_base_indexer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_base_indexer.cpython-312.pyc index fe839f03..b5f191a0 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_base_indexer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_base_indexer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_cython_aggregations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_cython_aggregations.cpython-312.pyc index 1f38a169..debb8e6e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_cython_aggregations.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_cython_aggregations.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_dtypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_dtypes.cpython-312.pyc index 5ff70cc5..9e2b23b3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_dtypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_dtypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_ewm.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_ewm.cpython-312.pyc index 7aadda7f..d7bb5993 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_ewm.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_ewm.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_expanding.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_expanding.cpython-312.pyc index ff28c05b..f146e091 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_expanding.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_expanding.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_groupby.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_groupby.cpython-312.pyc index 0a87982a..a14307c3 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_groupby.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_groupby.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_numba.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_numba.cpython-312.pyc index f1738a9c..b3b9c4c7 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_numba.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_numba.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_online.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_online.cpython-312.pyc index 01841fb5..11ea4cfd 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_online.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_online.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_pairwise.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_pairwise.cpython-312.pyc index 5f7e7338..ad087f3e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_pairwise.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_pairwise.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling.cpython-312.pyc index f63fe6ab..b0c5c775 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_functions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_functions.cpython-312.pyc index 8313b52d..751cc9d4 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_functions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_functions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_quantile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_quantile.cpython-312.pyc index c5f14bc5..92d3a7db 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_quantile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_quantile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_skew_kurt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_skew_kurt.cpython-312.pyc index 17594843..c7108ecc 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_skew_kurt.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_rolling_skew_kurt.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_timeseries_window.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_timeseries_window.cpython-312.pyc index f369bd07..fc937061 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_timeseries_window.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_timeseries_window.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_win_type.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_win_type.cpython-312.pyc index f1e80a81..695a0b65 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_win_type.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/__pycache__/test_win_type.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/__init__.cpython-312.pyc index 2dcf3878..65690c76 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/conftest.cpython-312.pyc index bf756643..a8739d4a 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_ewm.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_ewm.cpython-312.pyc index 26b67829..bc3e4d00 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_ewm.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_ewm.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_expanding.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_expanding.cpython-312.pyc index 1d40cc58..5c2f1e44 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_expanding.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_expanding.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_rolling.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_rolling.cpython-312.pyc index e2e8e8ee..06a63c1d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_rolling.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tests/window/moments/__pycache__/test_moments_consistency_rolling.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/__init__.cpython-312.pyc index 92caa2e7..d04c6190 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/api.cpython-312.pyc index d911ea15..3c41a377 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/frequencies.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/frequencies.cpython-312.pyc index 76ef9c69..bbbd9aaf 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/frequencies.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/frequencies.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/holiday.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/holiday.cpython-312.pyc index 857bf19c..f5a7d5d1 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/holiday.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/holiday.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/offsets.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/offsets.cpython-312.pyc index eee32b02..a364ad48 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/offsets.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/tseries/__pycache__/offsets.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/__init__.cpython-312.pyc index 9bc20f51..6a9c827d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_decorators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_decorators.cpython-312.pyc index d4560c1e..4e3d951e 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_decorators.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_decorators.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_doctools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_doctools.cpython-312.pyc index 7c343232..1bed796d 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_doctools.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_doctools.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_exceptions.cpython-312.pyc index b699fcc5..0d615353 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_print_versions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_print_versions.cpython-312.pyc index 72babfe7..44641c76 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_print_versions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_print_versions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_test_decorators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_test_decorators.cpython-312.pyc index d10c7717..246c4411 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_test_decorators.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_test_decorators.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_tester.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_tester.cpython-312.pyc index 11daaeee..733e741c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_tester.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_tester.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_validators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_validators.cpython-312.pyc index 2bc660fe..c3c7847c 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_validators.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/util/__pycache__/_validators.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pandas/util/version/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pandas/util/version/__pycache__/__init__.cpython-312.pyc index 82bc5a35..735a2c56 100644 Binary files a/.venv/lib/python3.12/site-packages/pandas/util/version/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pandas/util/version/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/AUTHORS.txt b/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/AUTHORS.txt deleted file mode 100644 index 8ccefbc6..00000000 --- a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/AUTHORS.txt +++ /dev/null @@ -1,799 +0,0 @@ -@Switch01 -A_Rog -Aakanksha Agrawal -Abhinav Sagar -ABHYUDAY PRATAP SINGH -abs51295 -AceGentile -Adam Chainz -Adam Tse -Adam Wentz -admin -Adolfo Ochagavía -Adrien Morison -Agus -ahayrapetyan -Ahilya -AinsworthK -Akash Srivastava -Alan Yee -Albert Tugushev -Albert-Guan -albertg -Alberto Sottile -Aleks Bunin -Ales Erjavec -Alethea Flowers -Alex Gaynor -Alex Grönholm -Alex Hedges -Alex Loosley -Alex Morega -Alex Stachowiak -Alexander Shtyrov -Alexandre Conrad -Alexey Popravka -AleÅ¡ Erjavec -Alli -Ami Fischman -Ananya Maiti -Anatoly Techtonik -Anders Kaseorg -Andre Aguiar -Andreas Lutro -Andrei Geacar -Andrew Gaul -Andrew Shymanel -Andrey Bienkowski -Andrey Bulgakov -Andrés Delfino -Andy Freeland -Andy Kluger -Ani Hayrapetyan -Aniruddha Basak -Anish Tambe -Anrs Hu -Anthony Sottile -Antoine Musso -Anton Ovchinnikov -Anton Patrushev -Anton Zelenov -Antonio Alvarado Hernandez -Antony Lee -Antti Kaihola -Anubhav Patel -Anudit Nagar -Anuj Godase -AQNOUCH Mohammed -AraHaan -arena -arenasys -Arindam Choudhury -Armin Ronacher -Arnon Yaari -Artem -Arun Babu Neelicattu -Ashley Manton -Ashwin Ramaswami -atse -Atsushi Odagiri -Avinash Karhana -Avner Cohen -Awit (Ah-Wit) Ghirmai -Baptiste Mispelon -Barney Gale -barneygale -Bartek Ogryczak -Bastian Venthur -Ben Bodenmiller -Ben Darnell -Ben Hoyt -Ben Mares -Ben Rosser -Bence Nagy -Benjamin Peterson -Benjamin VanEvery -Benoit Pierre -Berker Peksag -Bernard -Bernard Tyers -Bernardo B. Marques -Bernhard M. Wiedemann -Bertil Hatt -Bhavam Vidyarthi -Blazej Michalik -Bogdan Opanchuk -BorisZZZ -Brad Erickson -Bradley Ayers -Branch Vincent -Brandon L. Reiss -Brandt Bucher -Brannon Dorsey -Brett Randall -Brett Rosen -Brian Cristante -Brian Rosner -briantracy -BrownTruck -Bruno Oliveira -Bruno Renié -Bruno S -Bstrdsmkr -Buck Golemon -burrows -Bussonnier Matthias -bwoodsend -c22 -Caleb Martinez -Calvin Smith -Carl Meyer -Carlos Liam -Carol Willing -Carter Thayer -Cass -Chandrasekhar Atina -Charlie Marsh -Chih-Hsuan Yen -Chris Brinker -Chris Hunt -Chris Jerdonek -Chris Kuehl -Chris Markiewicz -Chris McDonough -Chris Pawley -Chris Pryer -Chris Wolfe -Christian Clauss -Christian Heimes -Christian Oudard -Christoph Reiter -Christopher Hunt -Christopher Snyder -chrysle -cjc7373 -Clark Boylan -Claudio Jolowicz -Clay McClure -Cody -Cody Soyland -Colin Watson -Collin Anderson -Connor Osborn -Cooper Lees -Cooper Ry Lees -Cory Benfield -Cory Wright -Craig Kerstiens -Cristian Sorinel -Cristina -Cristina Muñoz -ctg123 -Curtis Doty -cytolentino -Daan De Meyer -Dale -Damian -Damian Quiroga -Damian Shaw -Dan Black -Dan Savilonis -Dan Sully -Dane Hillard -daniel -Daniel Collins -Daniel Hahler -Daniel Holth -Daniel Jost -Daniel Katz -Daniel Shaulov -Daniele Esposti -Daniele Nicolodi -Daniele Procida -Daniil Konovalenko -Danny Hermes -Danny McClanahan -Darren Kavanagh -Dav Clark -Dave Abrahams -Dave Jones -David Aguilar -David Black -David Bordeynik -David Caro -David D Lowe -David Evans -David Hewitt -David Linke -David Poggi -David Poznik -David Pursehouse -David Runge -David Tucker -David Wales -Davidovich -ddelange -Deepak Sharma -Deepyaman Datta -Denise Yu -dependabot[bot] -derwolfe -Desetude -Devesh Kumar Singh -devsagul -Diego Caraballo -Diego Ramirez -DiegoCaraballo -Dimitri Merejkowsky -Dimitri Papadopoulos -Dimitri Papadopoulos Orfanos -Dirk Stolle -Dmitry Gladkov -Dmitry Volodin -Domen Kožar -Dominic Davis-Foster -Donald Stufft -Dongweiming -doron zarhi -Dos Moonen -Douglas Thor -DrFeathers -Dustin Ingram -Dustin Rodrigues -Dwayne Bailey -Ed Morley -Edgar Ramírez -Edgar Ramírez Mondragón -Ee Durbin -Efflam Lemaillet -efflamlemaillet -Eitan Adler -ekristina -elainechan -Eli Schwartz -Elisha Hollander -Ellen Marie Dash -Emil Burzo -Emil Styrke -Emmanuel Arias -Endoh Takanao -enoch -Erdinc Mutlu -Eric Cousineau -Eric Gillingham -Eric Hanchrow -Eric Hopper -Erik M. Bray -Erik Rose -Erwin Janssen -Eugene Vereshchagin -everdimension -Federico -Felipe Peter -Felix Yan -fiber-space -Filip KokosiÅ„ski -Filipe Laíns -Finn Womack -finnagin -Flavio Amurrio -Florian Briand -Florian Rathgeber -Francesco -Francesco Montesano -Fredrik Orderud -Frost Ming -Gabriel Curio -Gabriel de Perthuis -Garry Polley -gavin -gdanielson -Geoffrey Sneddon -George Song -Georgi Valkov -Georgy Pchelkin -ghost -Giftlin Rajaiah -gizmoguy1 -gkdoc -Godefroid Chapelle -Gopinath M -GOTO Hayato -gousaiyang -gpiks -Greg Roodt -Greg Ward -Guilherme Espada -Guillaume Seguin -gutsytechster -Guy Rozendorn -Guy Tuval -gzpan123 -Hanjun Kim -Hari Charan -Harsh Vardhan -harupy -Harutaka Kawamura -hauntsaninja -Henrich Hartzer -Henry Schreiner -Herbert Pfennig -Holly Stotelmyer -Honnix -Hsiaoming Yang -Hugo Lopes Tavares -Hugo van Kemenade -Hugues Bruant -Hynek Schlawack -Ian Bicking -Ian Cordasco -Ian Lee -Ian Stapleton Cordasco -Ian Wienand -Igor Kuzmitshov -Igor Sobreira -Ikko Ashimine -Ilan Schnell -Illia Volochii -Ilya Baryshev -Inada Naoki -Ionel Cristian MărieÈ™ -Ionel Maries Cristian -Itamar Turner-Trauring -Ivan Pozdeev -J. Nick Koston -Jacob Kim -Jacob Walls -Jaime Sanz -jakirkham -Jakub Kuczys -Jakub Stasiak -Jakub Vysoky -Jakub Wilk -James Cleveland -James Curtin -James Firth -James Gerity -James Polley -Jan Pokorný -Jannis Leidel -Jarek Potiuk -jarondl -Jason Curtis -Jason R. Coombs -JasonMo -JasonMo1 -Jay Graves -Jean Abou Samra -Jean-Christophe Fillion-Robin -Jeff Barber -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 -Joe Bylund -Joe Michelini -John Paton -John Sirois -John T. Wodder II -John-Scott Atlakson -johnthagen -Jon Banafato -Jon Dufresne -Jon Parise -Jonas Nockert -Jonathan Herbert -Joonatan Partanen -Joost Molenaar -Jorge Niedbalski -Joseph Bylund -Joseph Long -Josh Bronson -Josh Cannon -Josh Hansen -Josh Schneier -Joshua -Juan Luis Cano Rodríguez -Juanjo Bazán -Judah Rand -Julian Berman -Julian Gethmann -Julien Demoor -Jussi Kukkonen -jwg4 -Jyrki Pulliainen -Kai Chen -Kai Mueller -Kamal Bin Mustafa -kasium -kaustav haldar -keanemind -Keith Maxwell -Kelsey Hightower -Kenneth Belitzky -Kenneth Reitz -Kevin Burke -Kevin Carter -Kevin Frommelt -Kevin R Patterson -Kexuan Sun -Kit Randel -Klaas van Schelven -KOLANICH -konstin -kpinc -Krishna Oza -Kumar McMillan -Kuntal Majumder -Kurt McKee -Kyle Persohn -lakshmanaram -Laszlo Kiss-Kollar -Laurent Bristiel -Laurent LAPORTE -Laurie O -Laurie Opperman -layday -Leon Sasson -Lev Givon -Lincoln de Sousa -Lipis -lorddavidiii -Loren Carvalho -Lucas Cimon -Ludovic Gasc -Luis Medel -Lukas Geiger -Lukas Juhrich -Luke Macken -Luo Jiebin -luojiebin -luz.paz -László Kiss Kollár -M00nL1ght -Marc Abramowitz -Marc Tamlyn -Marcus Smith -Mariatta -Mark Kohler -Mark McLoughlin -Mark Williams -Markus Hametner -Martey Dodoo -Martin Fischer -Martin Häcker -Martin Pavlasek -Masaki -Masklinn -Matej Stuchlik -Mathew Jennings -Mathieu Bridon -Mathieu Kniewallner -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 -Matthew Willson -Matthias Bussonnier -mattip -Maurits van Rees -Max W Chase -Maxim Kurnikov -Maxime Rouyrre -mayeut -mbaluna -mdebi -memoselyk -meowmeowcat -Michael -Michael Aquilina -Michael E. Karpeles -Michael Klich -Michael Mintz -Michael Williamson -michaelpacer -MichaÅ‚ Górny -Mickaël Schoentgen -Miguel Araujo Perez -Mihir Singh -Mike -Mike Hendricks -Min RK -MinRK -Miro HronÄok -Monica Baluna -montefra -Monty Taylor -morotti -mrKazzila -Muha Ajjan -Nadav Wexler -Nahuel Ambrosini -Nate Coraor -Nate Prewitt -Nathan Houghton -Nathaniel J. Smith -Nehal J Wani -Neil Botelho -Nguyá»…n Gia Phong -Nicholas Serra -Nick Coghlan -Nick Stenning -Nick Timkovich -Nicolas Bock -Nicole Harris -Nikhil Benesch -Nikhil Ladha -Nikita Chepanov -Nikolay Korolev -Nipunn Koorapati -Nitesh Sharma -Niyas Sait -Noah -Noah Gorny -Nowell Strite -NtaleGrey -nvdv -OBITORASU -Ofek Lev -ofrinevo -Oliver Freund -Oliver Jeeves -Oliver Mannion -Oliver Tonnhofer -Olivier Girardot -Olivier Grisel -Ollie Rutherfurd -OMOTO Kenji -Omry Yadan -onlinejudge95 -Oren Held -Oscar Benjamin -Oz N Tiram -Pachwenko -Patrick Dubroy -Patrick Jenkins -Patrick Lawson -patricktokeeffe -Patrik Kopkan -Paul Ganssle -Paul Kehrer -Paul Moore -Paul Nasrat -Paul Oswald -Paul van der Linden -Paulus Schoutsen -Pavel Safronov -Pavithra Eswaramoorthy -Pawel Jasinski -PaweÅ‚ Szramowski -Pekka Klärck -Peter Gessler -Peter Lisák -Peter Shen -Peter Waller -Petr Viktorin -petr-tik -Phaneendra Chiruvella -Phil Elson -Phil Freo -Phil Pennock -Phil Whelan -Philip Jägenstedt -Philip Molloy -Philippe Ombredanne -Pi Delport -Pierre-Yves Rofes -Pieter Degroote -pip -Prabakaran Kumaresshan -Prabhjyotsing Surjit Singh Sodhi -Prabhu Marappan -Pradyun Gedam -Prashant Sharma -Pratik Mallya -pre-commit-ci[bot] -Preet Thakkar -Preston Holmes -Przemek Wrzos -Pulkit Goyal -q0w -Qiangning Hong -Qiming Xu -Quentin Lee -Quentin Pradet -R. David Murray -Rafael Caricio -Ralf Schmitt -Ran Benita -Razzi Abuissa -rdb -Reece Dunham -Remi Rampin -Rene Dudfield -Riccardo Magliocchetti -Riccardo Schirone -Richard Jones -Richard Si -Ricky Ng-Adam -Rishi -rmorotti -RobberPhex -Robert Collins -Robert McGibbon -Robert Pollak -Robert T. McGibbon -robin elisha robinson -Roey Berman -Rohan Jain -Roman Bogorodskiy -Roman Donchenko -Romuald Brunet -ronaudinho -Ronny Pfannschmidt -Rory McCann -Ross Brattain -Roy Wellington â…£ -Ruairidh MacLeod -Russell Keith-Magee -Ryan Shepherd -Ryan Wooden -ryneeverett -S. Guliaev -Sachi King -Salvatore Rinchiera -sandeepkiran-js -Sander Van Balen -Savio Jomton -schlamar -Scott Kitterman -Sean -seanj -Sebastian Jordan -Sebastian Schaetz -Segev Finer -SeongSoo Cho -Sergey Vasilyev -Seth Michael Larson -Seth Woodworth -Shahar Epstein -Shantanu -shenxianpeng -shireenrao -Shivansh-007 -Shixian Sheng -Shlomi Fish -Shovan Maity -Simeon Visser -Simon Cross -Simon Pichugin -sinoroc -sinscary -snook92 -socketubs -Sorin Sbarnea -Srinivas Nyayapati -Srishti Hegde -Stavros Korokithakis -Stefan Scherfke -Stefano Rivera -Stephan Erb -Stephen Rosen -stepshal -Steve (Gadget) Barnes -Steve Barnes -Steve Dower -Steve Kowalik -Steven Myint -Steven Silvester -stonebig -studioj -Stéphane Bidoul -Stéphane Bidoul (ACSONE) -Stéphane Klein -Sumana Harihareswara -Surbhi Sharma -Sviatoslav Sydorenko -Sviatoslav Sydorenko (СвÑтоÑлав Сидоренко) -Swat009 -Sylvain -Takayuki SHIMIZUKAWA -Taneli Hukkinen -tbeswick -Thiago -Thijs Triemstra -Thomas Fenzl -Thomas Grainger -Thomas Guettler -Thomas Johansson -Thomas Kluyver -Thomas Smith -Thomas VINCENT -Tim D. Smith -Tim Gates -Tim Harder -Tim Heap -tim smith -tinruufu -Tobias Hermann -Tom Forbes -Tom Freudenheim -Tom V -Tomas Hrnciar -Tomas Orsava -Tomer Chachamu -Tommi Enenkel | AnB -Tomáš HrnÄiar -Tony Beswick -Tony Narlock -Tony Zhaocheng Tan -TonyBeswick -toonarmycaptain -Toshio Kuratomi -toxinu -Travis Swicegood -Tushar Sadhwani -Tzu-ping Chung -Valentin Haenel -Victor Stinner -victorvpaulo -Vikram - Google -Viktor Szépe -Ville Skyttä -Vinay Sajip -Vincent Philippon -Vinicyus Macedo -Vipul Kumar -Vitaly Babiy -Vladimir Fokow -Vladimir Rutsky -W. Trevor King -Wil Tan -Wilfred Hughes -William Edwards -William ML Leslie -William T Olson -William Woodruff -Wilson Mo -wim glenn -Winson Luk -Wolfgang Maier -Wu Zhenyu -XAMES3 -Xavier Fernandez -Xianpeng Shen -xoviat -xtreak -YAMAMOTO Takashi -Yen Chi Hsuan -Yeray Diaz Diaz -Yoval P -Yu Jian -Yuan Jing Vincent Yan -Yusuke Hayashi -Zearin -Zhiping Deng -ziebam -Zvezdan Petkovic -Åukasz Langa -Роман Донченко -Семён МарьÑÑин diff --git a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/LICENSE.txt b/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/LICENSE.txt deleted file mode 100644 index 8e7b65ea..00000000 --- a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2008-present The pip developers (see AUTHORS.txt file) - -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/python3.12/site-packages/pip-24.3.1.dist-info/METADATA b/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/METADATA deleted file mode 100644 index 9e5aa3a4..00000000 --- a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/METADATA +++ /dev/null @@ -1,90 +0,0 @@ -Metadata-Version: 2.1 -Name: pip -Version: 24.3.1 -Summary: The PyPA recommended tool for installing Python packages. -Author-email: The pip developers -License: 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.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 -Requires-Python: >=3.8 -Description-Content-Type: text/x-rst -License-File: LICENSE.txt -License-File: AUTHORS.txt - -pip - The Python Package Installer -================================== - -.. |pypi-version| image:: https://img.shields.io/pypi/v/pip.svg - :target: https://pypi.org/project/pip/ - :alt: PyPI - -.. |python-versions| image:: https://img.shields.io/pypi/pyversions/pip - :target: https://pypi.org/project/pip - :alt: PyPI - Python Version - -.. |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: - -* `Installation`_ -* `Usage`_ - -We release updates regularly, with a new version every 3 months. Find more details in our documentation: - -* `Release notes`_ -* `Release process`_ - -If you find bugs, need help, or want to talk to the developers, please use our mailing lists or chat rooms: - -* `Issue tracking`_ -* `Discourse channel`_ -* `User IRC`_ - -If you want to get involved head over to GitHub to get the source code, look at our development documentation and feel free to jump on the developer mailing lists and chat rooms: - -* `GitHub page`_ -* `Development documentation`_ -* `Development IRC`_ - -Code of Conduct ---------------- - -Everyone interacting in the pip project's codebases, issue trackers, chat -rooms, and mailing lists is expected to follow the `PSF Code of Conduct`_. - -.. _package installer: https://packaging.python.org/guides/tool-recommendations/ -.. _Python Package Index: https://pypi.org -.. _Installation: https://pip.pypa.io/en/stable/installation/ -.. _Usage: https://pip.pypa.io/en/stable/ -.. _Release notes: https://pip.pypa.io/en/stable/news.html -.. _Release process: https://pip.pypa.io/en/latest/development/release-process/ -.. _GitHub page: https://github.com/pypa/pip -.. _Development documentation: https://pip.pypa.io/en/latest/development -.. _Issue tracking: https://github.com/pypa/pip/issues -.. _Discourse channel: https://discuss.python.org/c/packaging -.. _User IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa -.. _Development IRC: https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:+6697/pypa-dev -.. _PSF Code of Conduct: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md diff --git a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/RECORD b/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/RECORD deleted file mode 100644 index e0d6816a..00000000 --- a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/RECORD +++ /dev/null @@ -1,853 +0,0 @@ -../../../bin/pip,sha256=ynCFlsml9rVCSdrvcyho1NyGMbkQGJxyz8ZMzEu1isQ,262 -../../../bin/pip3,sha256=ynCFlsml9rVCSdrvcyho1NyGMbkQGJxyz8ZMzEu1isQ,262 -../../../bin/pip3.12,sha256=ynCFlsml9rVCSdrvcyho1NyGMbkQGJxyz8ZMzEu1isQ,262 -pip-24.3.1.dist-info/AUTHORS.txt,sha256=Cbb630k8EL9FkBzX9Vpi6hpYWrLSlh08eXodL5u0eLI,10925 -pip-24.3.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -pip-24.3.1.dist-info/LICENSE.txt,sha256=Y0MApmnUmurmWxLGxIySTFGkzfPR_whtw0VtyLyqIQQ,1093 -pip-24.3.1.dist-info/METADATA,sha256=V8iCNK1GYbC82PWsLMsASDh9AO4veocRlM4Pn9q2KFI,3677 -pip-24.3.1.dist-info/RECORD,, -pip-24.3.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip-24.3.1.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91 -pip-24.3.1.dist-info/entry_points.txt,sha256=eeIjuzfnfR2PrhbjnbzFU6MnSS70kZLxwaHHq6M-bD0,87 -pip-24.3.1.dist-info/top_level.txt,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -pip/__init__.py,sha256=faXY_neeYrA_88plEhkyhwAaYeds7wu5U1iGwP24J0s,357 -pip/__main__.py,sha256=WzbhHXTbSE6gBY19mNN9m4s5o_365LOvTYSgqgbdBhE,854 -pip/__pip-runner__.py,sha256=cPPWuJ6NK_k-GzfvlejLFgwzmYUROmpAR6QC3Q-vkXQ,1450 -pip/__pycache__/__init__.cpython-312.pyc,, -pip/__pycache__/__main__.cpython-312.pyc,, -pip/__pycache__/__pip-runner__.cpython-312.pyc,, -pip/_internal/__init__.py,sha256=MfcoOluDZ8QMCFYal04IqOJ9q6m2V7a0aOsnI-WOxUo,513 -pip/_internal/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/__pycache__/build_env.cpython-312.pyc,, -pip/_internal/__pycache__/cache.cpython-312.pyc,, -pip/_internal/__pycache__/configuration.cpython-312.pyc,, -pip/_internal/__pycache__/exceptions.cpython-312.pyc,, -pip/_internal/__pycache__/main.cpython-312.pyc,, -pip/_internal/__pycache__/pyproject.cpython-312.pyc,, -pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc,, -pip/_internal/__pycache__/wheel_builder.cpython-312.pyc,, -pip/_internal/build_env.py,sha256=wsTPOWyPTKvUREUcO585OU01kbQufpdigY8fVHv3WIw,10584 -pip/_internal/cache.py,sha256=Jb698p5PNigRtpW5o26wQNkkUv4MnQ94mc471wL63A0,10369 -pip/_internal/cli/__init__.py,sha256=FkHBgpxxb-_gd6r1FjnNhfMOzAUYyXoXKJ6abijfcFU,132 -pip/_internal/cli/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc,, -pip/_internal/cli/__pycache__/base_command.cpython-312.pyc,, -pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc,, -pip/_internal/cli/__pycache__/command_context.cpython-312.pyc,, -pip/_internal/cli/__pycache__/index_command.cpython-312.pyc,, -pip/_internal/cli/__pycache__/main.cpython-312.pyc,, -pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc,, -pip/_internal/cli/__pycache__/parser.cpython-312.pyc,, -pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc,, -pip/_internal/cli/__pycache__/req_command.cpython-312.pyc,, -pip/_internal/cli/__pycache__/spinners.cpython-312.pyc,, -pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc,, -pip/_internal/cli/autocompletion.py,sha256=Lli3Mr6aDNu7ZkJJFFvwD2-hFxNI6Avz8OwMyS5TVrs,6865 -pip/_internal/cli/base_command.py,sha256=F8nUcSM-Y-MQljJUe724-yxmc5viFXHyM_zH70NmIh4,8289 -pip/_internal/cli/cmdoptions.py,sha256=mDqBr0d0hoztbRJs-PWtcKpqNAc7khU6ZpoesZKocT8,30110 -pip/_internal/cli/command_context.py,sha256=RHgIPwtObh5KhMrd3YZTkl8zbVG-6Okml7YbFX4Ehg0,774 -pip/_internal/cli/index_command.py,sha256=-0oPTruZGkLSMrWDleZ6UtcKP3G-SImRRuhH0RfVE3o,5631 -pip/_internal/cli/main.py,sha256=BDZef-bWe9g9Jpr4OVs4dDf-845HJsKw835T7AqEnAc,2817 -pip/_internal/cli/main_parser.py,sha256=laDpsuBDl6kyfywp9eMMA9s84jfH2TJJn-vmL0GG90w,4338 -pip/_internal/cli/parser.py,sha256=VCMtduzECUV87KaHNu-xJ-wLNL82yT3x16V4XBxOAqI,10825 -pip/_internal/cli/progress_bars.py,sha256=VgydyqjZvfhqpuNcFDn00QNuA9GxRe9CKrRG8jhPuKU,2723 -pip/_internal/cli/req_command.py,sha256=DqeFhmUMs6o6Ev8qawAcOoYNdAZsfyKS0MZI5jsJYwQ,12250 -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-312.pyc,, -pip/_internal/commands/__pycache__/cache.cpython-312.pyc,, -pip/_internal/commands/__pycache__/check.cpython-312.pyc,, -pip/_internal/commands/__pycache__/completion.cpython-312.pyc,, -pip/_internal/commands/__pycache__/configuration.cpython-312.pyc,, -pip/_internal/commands/__pycache__/debug.cpython-312.pyc,, -pip/_internal/commands/__pycache__/download.cpython-312.pyc,, -pip/_internal/commands/__pycache__/freeze.cpython-312.pyc,, -pip/_internal/commands/__pycache__/hash.cpython-312.pyc,, -pip/_internal/commands/__pycache__/help.cpython-312.pyc,, -pip/_internal/commands/__pycache__/index.cpython-312.pyc,, -pip/_internal/commands/__pycache__/inspect.cpython-312.pyc,, -pip/_internal/commands/__pycache__/install.cpython-312.pyc,, -pip/_internal/commands/__pycache__/list.cpython-312.pyc,, -pip/_internal/commands/__pycache__/search.cpython-312.pyc,, -pip/_internal/commands/__pycache__/show.cpython-312.pyc,, -pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc,, -pip/_internal/commands/__pycache__/wheel.cpython-312.pyc,, -pip/_internal/commands/cache.py,sha256=xg76_ZFEBC6zoQ3gXLRfMZJft4z2a0RwH4GEFZC6nnU,7944 -pip/_internal/commands/check.py,sha256=Hr_4eiMd9cgVDgEvjtIdw915NmL7ROIWW8enkr8slPQ,2268 -pip/_internal/commands/completion.py,sha256=HT4lD0bgsflHq2IDgYfiEdp7IGGtE7s6MgI3xn0VQEw,4287 -pip/_internal/commands/configuration.py,sha256=n98enwp6y0b5G6fiRQjaZo43FlJKYve_daMhN-4BRNc,9766 -pip/_internal/commands/debug.py,sha256=DNDRgE9YsKrbYzU0s3VKi8rHtKF4X13CJ_br_8PUXO0,6797 -pip/_internal/commands/download.py,sha256=0qB0nys6ZEPsog451lDsjL5Bx7Z97t-B80oFZKhpzKM,5273 -pip/_internal/commands/freeze.py,sha256=2Vt72BYTSm9rzue6d8dNzt8idxWK4Db6Hd-anq7GQ80,3203 -pip/_internal/commands/hash.py,sha256=EVVOuvGtoPEdFi8SNnmdqlCQrhCxV-kJsdwtdcCnXGQ,1703 -pip/_internal/commands/help.py,sha256=gcc6QDkcgHMOuAn5UxaZwAStsRBrnGSn_yxjS57JIoM,1132 -pip/_internal/commands/index.py,sha256=RAXxmJwFhVb5S1BYzb5ifX3sn9Na8v2CCVYwSMP8pao,4731 -pip/_internal/commands/inspect.py,sha256=PGrY9TRTRCM3y5Ml8Bdk8DEOXquWRfscr4DRo1LOTPc,3189 -pip/_internal/commands/install.py,sha256=iqesiLIZc6Op9uihMQFYRhAA2DQRZUxbM4z1BwXoFls,29428 -pip/_internal/commands/list.py,sha256=oiIzSjLP6__d7dIS3q0Xb5ywsaOThBWRqMyjjKzkPdM,12769 -pip/_internal/commands/search.py,sha256=fWkUQVx_gm8ebbFAlCgqtxKXT9rNahpJ-BI__3HNZpg,5626 -pip/_internal/commands/show.py,sha256=IG9L5uo8w6UA4tI_IlmaxLCoNKPa5JNJCljj3NWs0OE,7507 -pip/_internal/commands/uninstall.py,sha256=7pOR7enK76gimyxQbzxcG1OsyLXL3DvX939xmM8Fvtg,3892 -pip/_internal/commands/wheel.py,sha256=eJRhr_qoNNxWAkkdJCNiQM7CXd4E1_YyQhsqJnBPGGg,6414 -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-312.pyc,, -pip/_internal/distributions/__pycache__/base.cpython-312.pyc,, -pip/_internal/distributions/__pycache__/installed.cpython-312.pyc,, -pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc,, -pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc,, -pip/_internal/distributions/base.py,sha256=QeB9qvKXDIjLdPBDE5fMgpfGqMMCr-govnuoQnGuiF8,1783 -pip/_internal/distributions/installed.py,sha256=QinHFbWAQ8oE0pbD8MFZWkwlnfU1QYTccA1vnhrlYOU,842 -pip/_internal/distributions/sdist.py,sha256=PlcP4a6-R6c98XnOM-b6Lkb3rsvh9iG4ok8shaanrzs,6751 -pip/_internal/distributions/wheel.py,sha256=THBYfnv7VVt8mYhMYUtH13S1E7FDwtDyDfmUcl8ai0E,1317 -pip/_internal/exceptions.py,sha256=2_byISIv3kSnI_9T-Esfxrt0LnTRgcUHyxu0twsHjQY,26481 -pip/_internal/index/__init__.py,sha256=vpt-JeTZefh8a-FC22ZeBSXFVbuBcXSGiILhQZJaNpQ,30 -pip/_internal/index/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/index/__pycache__/collector.cpython-312.pyc,, -pip/_internal/index/__pycache__/package_finder.cpython-312.pyc,, -pip/_internal/index/__pycache__/sources.cpython-312.pyc,, -pip/_internal/index/collector.py,sha256=RdPO0JLAlmyBWPAWYHPyRoGjz3GNAeTngCNkbGey_mE,16265 -pip/_internal/index/package_finder.py,sha256=yRC4xsyudwKnNoU6IXvNoyqYo5ScT7lB6Wa-z2eh7cs,37666 -pip/_internal/index/sources.py,sha256=lPBLK5Xiy8Q6IQMio26Wl7ocfZOKkgGklIBNyUJ23fI,8632 -pip/_internal/locations/__init__.py,sha256=UaAxeZ_f93FyouuFf4p7SXYF-4WstXuEvd3LbmPCAno,14925 -pip/_internal/locations/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc,, -pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc,, -pip/_internal/locations/__pycache__/base.cpython-312.pyc,, -pip/_internal/locations/_distutils.py,sha256=x6nyVLj7X11Y4khIdf-mFlxMl2FWadtVEgeb8upc_WI,6013 -pip/_internal/locations/_sysconfig.py,sha256=IGzds60qsFneRogC-oeBaY7bEh3lPt_v47kMJChQXsU,7724 -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-312.pyc,, -pip/_internal/metadata/__pycache__/_json.cpython-312.pyc,, -pip/_internal/metadata/__pycache__/base.cpython-312.pyc,, -pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc,, -pip/_internal/metadata/_json.py,sha256=P0cAJrH_mtmMZvlZ16ZXm_-izA4lpr5wy08laICuiaA,2644 -pip/_internal/metadata/base.py,sha256=ft0K5XNgI4ETqZnRv2-CtvgYiMOMAeGMAzxT-f6VLJA,25298 -pip/_internal/metadata/importlib/__init__.py,sha256=jUUidoxnHcfITHHaAWG1G2i5fdBYklv_uJcjo2x7VYE,135 -pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc,, -pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc,, -pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc,, -pip/_internal/metadata/importlib/_compat.py,sha256=c6av8sP8BBjAZuFSJow1iWfygUXNM3xRTCn5nqw6B9M,2796 -pip/_internal/metadata/importlib/_dists.py,sha256=anh0mLI-FYRPUhAdipd0Va3YJJc6HelCKQ0bFhY10a0,8017 -pip/_internal/metadata/importlib/_envs.py,sha256=UUB980XSrDWrMpQ1_G45i0r8Hqlg_tg3IPQ63mEqbNc,7431 -pip/_internal/metadata/pkg_resources.py,sha256=U07ETAINSGeSRBfWUG93E4tZZbaW_f7PGzEqZN0hulc,10542 -pip/_internal/models/__init__.py,sha256=3DHUd_qxpPozfzouoqa9g9ts1Czr5qaHfFxbnxriepM,63 -pip/_internal/models/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/models/__pycache__/candidate.cpython-312.pyc,, -pip/_internal/models/__pycache__/direct_url.cpython-312.pyc,, -pip/_internal/models/__pycache__/format_control.cpython-312.pyc,, -pip/_internal/models/__pycache__/index.cpython-312.pyc,, -pip/_internal/models/__pycache__/installation_report.cpython-312.pyc,, -pip/_internal/models/__pycache__/link.cpython-312.pyc,, -pip/_internal/models/__pycache__/scheme.cpython-312.pyc,, -pip/_internal/models/__pycache__/search_scope.cpython-312.pyc,, -pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc,, -pip/_internal/models/__pycache__/target_python.cpython-312.pyc,, -pip/_internal/models/__pycache__/wheel.cpython-312.pyc,, -pip/_internal/models/candidate.py,sha256=zzgFRuw_kWPjKpGw7LC0ZUMD2CQ2EberUIYs8izjdCA,753 -pip/_internal/models/direct_url.py,sha256=uBtY2HHd3TO9cKQJWh0ThvE5FRr-MWRYChRU4IG9HZE,6578 -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=jHax9O-9zlSzEwjBCDkx0OXjKXwBDwOuPwn-PsR8dCs,21034 -pip/_internal/models/scheme.py,sha256=PakmHJM3e8OOWSZFtfz1Az7f1meONJnkGuQxFlt3wBE,575 -pip/_internal/models/search_scope.py,sha256=67NEnsYY84784S-MM7ekQuo9KXLH-7MzFntXjapvAo0,4531 -pip/_internal/models/selection_prefs.py,sha256=qaFfDs3ciqoXPg6xx45N1jPLqccLJw4N0s4P0PyHTQ8,2015 -pip/_internal/models/target_python.py,sha256=2XaH2rZ5ZF-K5wcJbEMGEl7SqrTToDDNkrtQ2v_v_-Q,4271 -pip/_internal/models/wheel.py,sha256=G7dND_s4ebPkEL7RJ1qCY0QhUUWIIK6AnjWgRATF5no,4539 -pip/_internal/network/__init__.py,sha256=jf6Tt5nV_7zkARBrKojIXItgejvoegVJVKUbhAa5Ioc,50 -pip/_internal/network/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/network/__pycache__/auth.cpython-312.pyc,, -pip/_internal/network/__pycache__/cache.cpython-312.pyc,, -pip/_internal/network/__pycache__/download.cpython-312.pyc,, -pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc,, -pip/_internal/network/__pycache__/session.cpython-312.pyc,, -pip/_internal/network/__pycache__/utils.cpython-312.pyc,, -pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc,, -pip/_internal/network/auth.py,sha256=D4gASjUrqoDFlSt6gQ767KAAjv6PUyJU0puDlhXNVRE,20809 -pip/_internal/network/cache.py,sha256=48A971qCzKNFvkb57uGEk7-0xaqPS0HWj2711QNTxkU,3935 -pip/_internal/network/download.py,sha256=FLOP29dPYECBiAi7eEjvAbNkyzaKNqbyjOT2m8HPW8U,6048 -pip/_internal/network/lazy_wheel.py,sha256=PBdoMoNQQIA84Fhgne38jWF52W4x_KtsHjxgv4dkRKA,7622 -pip/_internal/network/session.py,sha256=XmanBKjVwPFmh1iJ58q6TDh9xabH37gREuQJ_feuZGA,18741 -pip/_internal/network/utils.py,sha256=Inaxel-NxBu4PQWkjyErdnfewsFCcgHph7dzR1-FboY,4088 -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-312.pyc,, -pip/_internal/operations/__pycache__/check.cpython-312.pyc,, -pip/_internal/operations/__pycache__/freeze.cpython-312.pyc,, -pip/_internal/operations/__pycache__/prepare.cpython-312.pyc,, -pip/_internal/operations/build/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc,, -pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc,, -pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc,, -pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc,, -pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc,, -pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc,, -pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc,, -pip/_internal/operations/build/build_tracker.py,sha256=-ARW_TcjHCOX7D2NUOGntB4Fgc6b4aolsXkAK6BWL7w,4774 -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=8i6i1QZX9m_lKPStEFsHKM0MT4a-CD408JOw99daLmo,2190 -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=K-6kNhmj-1xDF45ny1yheMerF0ui4EoQCLzEoHh6-tc,3045 -pip/_internal/operations/check.py,sha256=L24vRL8VWbyywdoeAhM89WCd8zLTnjIbULlKelUgIec,5912 -pip/_internal/operations/freeze.py,sha256=V59yEyCSz_YhZuhH09-6aV_zvYBMrS_IxFFNqn2QzlA,9864 -pip/_internal/operations/install/__init__.py,sha256=mX7hyD2GNBO2mFGokDQ30r_GXv7Y_PLdtxcUv144e-s,51 -pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc,, -pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc,, -pip/_internal/operations/install/editable_legacy.py,sha256=PoEsNEPGbIZ2yQphPsmYTKLOCMs4gv5OcCdzW124NcA,1283 -pip/_internal/operations/install/wheel.py,sha256=X5Iz9yUg5LlK5VNQ9g2ikc6dcRu8EPi_SUi5iuEDRgo,27615 -pip/_internal/operations/prepare.py,sha256=joWJwPkuqGscQgVNImLK71e9hRapwKvRCM8HclysmvU,28118 -pip/_internal/pyproject.py,sha256=rw4fwlptDp1hZgYoplwbAGwWA32sWQkp7ysf8Ju6iXc,7287 -pip/_internal/req/__init__.py,sha256=HxBFtZy_BbCclLgr26waMtpzYdO5T3vxePvpGAXSt5s,2653 -pip/_internal/req/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/req/__pycache__/constructors.cpython-312.pyc,, -pip/_internal/req/__pycache__/req_file.cpython-312.pyc,, -pip/_internal/req/__pycache__/req_install.cpython-312.pyc,, -pip/_internal/req/__pycache__/req_set.cpython-312.pyc,, -pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc,, -pip/_internal/req/constructors.py,sha256=v1qzCN1mIldwx-nCrPc8JO4lxkm3Fv8M5RWvt8LISjc,18430 -pip/_internal/req/req_file.py,sha256=gOOJTzL-mDRPcQhjwqjDrjn4V-3rK9TnEFnU3v8RA4Q,18752 -pip/_internal/req/req_install.py,sha256=yhT98NGDoAEk03jznTJnYCznzhiMEEA2ocgsUG_dcNU,35788 -pip/_internal/req/req_set.py,sha256=j3esG0s6SzoVReX9rWn4rpYNtyET_fwxbwJPRimvRxo,2858 -pip/_internal/req/req_uninstall.py,sha256=qzDIxJo-OETWqGais7tSMCDcWbATYABT-Tid3ityF0s,23853 -pip/_internal/resolution/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/resolution/__pycache__/base.cpython-312.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-312.pyc,, -pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc,, -pip/_internal/resolution/legacy/resolver.py,sha256=3HZiJBRd1FTN6jQpI4qRO8-TbLYeIbUTS6PFvXnXs2w,24068 -pip/_internal/resolution/resolvelib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc,, -pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc,, -pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc,, -pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc,, -pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc,, -pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc,, -pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc,, -pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc,, -pip/_internal/resolution/resolvelib/base.py,sha256=DCf669FsqyQY5uqXeePDHQY1e4QO-pBzWH8O0s9-K94,5023 -pip/_internal/resolution/resolvelib/candidates.py,sha256=5UZ1upNnmqsP-nmEZaDYxaBgCoejw_e2WVGmmAvBxXc,20001 -pip/_internal/resolution/resolvelib/factory.py,sha256=511CaUR41LqjALuFafLVfx15WRvMhxYTdjQCoSvp4gw,32661 -pip/_internal/resolution/resolvelib/found_candidates.py,sha256=9hrTyQqFvl9I7Tji79F1AxHv39Qh1rkJ_7deSHSMfQc,6383 -pip/_internal/resolution/resolvelib/provider.py,sha256=bcsFnYvlmtB80cwVdW1fIwgol8ZNr1f1VHyRTkz47SM,9935 -pip/_internal/resolution/resolvelib/reporter.py,sha256=00JtoXEkTlw0-rl_sl54d71avwOsJHt9GGHcrj5Sza0,3168 -pip/_internal/resolution/resolvelib/requirements.py,sha256=7JG4Z72e5Yk4vU0S5ulGvbqTy4FMQGYhY5zQhX9zTtY,8065 -pip/_internal/resolution/resolvelib/resolver.py,sha256=nLJOsVMEVi2gQUVJoUFKMZAeu2f7GRMjGMvNSWyz0Bc,12592 -pip/_internal/self_outdated_check.py,sha256=pkjQixuWyQ1vrVxZAaYD6SSHgXuFUnHZybXEWTkh0S0,8145 -pip/_internal/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_internal/utils/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc,, -pip/_internal/utils/__pycache__/_log.cpython-312.pyc,, -pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc,, -pip/_internal/utils/__pycache__/compat.cpython-312.pyc,, -pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc,, -pip/_internal/utils/__pycache__/datetime.cpython-312.pyc,, -pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc,, -pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc,, -pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc,, -pip/_internal/utils/__pycache__/encoding.cpython-312.pyc,, -pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc,, -pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc,, -pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc,, -pip/_internal/utils/__pycache__/glibc.cpython-312.pyc,, -pip/_internal/utils/__pycache__/hashes.cpython-312.pyc,, -pip/_internal/utils/__pycache__/logging.cpython-312.pyc,, -pip/_internal/utils/__pycache__/misc.cpython-312.pyc,, -pip/_internal/utils/__pycache__/packaging.cpython-312.pyc,, -pip/_internal/utils/__pycache__/retry.cpython-312.pyc,, -pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc,, -pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc,, -pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc,, -pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc,, -pip/_internal/utils/__pycache__/urls.cpython-312.pyc,, -pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc,, -pip/_internal/utils/__pycache__/wheel.cpython-312.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=swgcTKOm3daLeXTW6v5BUS2Ti2RvEnGRQYH_yDXklAo,1665 -pip/_internal/utils/compat.py,sha256=ckkFveBiYQjRWjkNsajt_oWPS57tJvE8XxoC4OIYgCY,2399 -pip/_internal/utils/compatibility_tags.py,sha256=OWq5axHpW-MEEPztGdvgADrgJPAcV9a88Rxm4Z8VBs8,6272 -pip/_internal/utils/datetime.py,sha256=m21Y3wAtQc-ji6Veb6k_M5g6A0ZyFI4egchTdnwh-pQ,242 -pip/_internal/utils/deprecation.py,sha256=k7Qg_UBAaaTdyq82YVARA6D7RmcGTXGv7fnfcgigj4Q,3707 -pip/_internal/utils/direct_url_helpers.py,sha256=r2MRtkVDACv9AGqYODBUC9CjwgtsUU1s68hmgfCJMtA,3196 -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=ajvA-q4ocliW9kPp8Yquh-4vssXbu-UKbo5FV9V4X64,4950 -pip/_internal/utils/filetypes.py,sha256=i8XAQ0eFCog26Fw9yV0Yb1ygAqKYB1w9Cz9n0fj8gZU,716 -pip/_internal/utils/glibc.py,sha256=vUkWq_1pJuzcYNcGKLlQmABoUiisK8noYY1yc8Wq4w4,3734 -pip/_internal/utils/hashes.py,sha256=XGGLL0AG8-RhWnyz87xF6MFZ--BKadHU35D47eApCKI,4972 -pip/_internal/utils/logging.py,sha256=7BFKB1uFjdxD5crM-GtwA5T2qjbQ2LPD-gJDuJeDNTg,11606 -pip/_internal/utils/misc.py,sha256=NRV0_2fFhzy1jhvInSBv4dqCmTwct8PV7Kp0m-BPRGM,23530 -pip/_internal/utils/packaging.py,sha256=iI3LH43lVNR4hWBOqF6lFsZq4aycb2j0UcHlmDmcqUg,2109 -pip/_internal/utils/retry.py,sha256=mhFbykXjhTnZfgzeuy-vl9c8nECnYn_CMtwNJX2tYzQ,1392 -pip/_internal/utils/setuptools_build.py,sha256=ouXpud-jeS8xPyTPsXJ-m34NPvK5os45otAzdSV_IJE,4435 -pip/_internal/utils/subprocess.py,sha256=EsvqSRiSMHF98T8Txmu6NLU3U--MpTTQjtNgKP0P--M,8988 -pip/_internal/utils/temp_dir.py,sha256=5qOXe8M4JeY6vaFQM867d5zkp1bSwMZ-KT5jymmP0Zg,9310 -pip/_internal/utils/unpacking.py,sha256=eyDkSsk4nW8ZfiSjNzJduCznpHyaGHVv3ak_LMGsiEM,11951 -pip/_internal/utils/urls.py,sha256=qceSOZb5lbNDrHNsv7_S4L4Ytszja5NwPKUMnZHbYnM,1599 -pip/_internal/utils/virtualenv.py,sha256=S6f7csYorRpiD6cvn3jISZYc3I8PJC43H5iMFpRAEDU,3456 -pip/_internal/utils/wheel.py,sha256=b442jkydFHjXzDy6cMR7MpzWBJ1Q82hR5F33cmcHV3g,4494 -pip/_internal/vcs/__init__.py,sha256=UAqvzpbi0VbZo3Ub6skEeZAw-ooIZR-zX_WpCbxyCoU,596 -pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc,, -pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc,, -pip/_internal/vcs/__pycache__/git.cpython-312.pyc,, -pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc,, -pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc,, -pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc,, -pip/_internal/vcs/bazaar.py,sha256=EKStcQaKpNu0NK4p5Q10Oc4xb3DUxFw024XrJy40bFQ,3528 -pip/_internal/vcs/git.py,sha256=3tpc9LQA_J4IVW5r5NvWaaSeDzcmJOrSFZN0J8vIKfU,18177 -pip/_internal/vcs/mercurial.py,sha256=oULOhzJ2Uie-06d1omkL-_Gc6meGaUkyogvqG9ZCyPs,5249 -pip/_internal/vcs/subversion.py,sha256=ddTugHBqHzV3ebKlU5QXHPN4gUqlyXbOx8q8NgXKvs8,11735 -pip/_internal/vcs/versioncontrol.py,sha256=cvf_-hnTAjQLXJ3d17FMNhQfcO1AcKWUF10tfrYyP-c,22440 -pip/_internal/wheel_builder.py,sha256=DL3A8LKeRj_ACp11WS5wSgASgPFqeyAeXJKdXfmaWXU,11799 -pip/_vendor/__init__.py,sha256=JYuAXvClhInxIrA2FTp5p-uuWVL7WV6-vEpTs46-Qh4,4873 -pip/_vendor/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/__pycache__/typing_extensions.cpython-312.pyc,, -pip/_vendor/cachecontrol/__init__.py,sha256=GiYoagwPEiJ_xR_lbwWGaoCiPtF_rz4isjfjdDAgHU4,676 -pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc,, -pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc,, -pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc,, -pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc,, -pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc,, -pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc,, -pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc,, -pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc,, -pip/_vendor/cachecontrol/_cmd.py,sha256=iist2EpzJvDVIhMAxXq8iFnTBsiZAd6iplxfmNboNyk,1737 -pip/_vendor/cachecontrol/adapter.py,sha256=fByO_Pd_EOemjWbuocvBWdN85xT0q_TBm2lxS6vD4fk,6355 -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-312.pyc,, -pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc,, -pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc,, -pip/_vendor/cachecontrol/caches/file_cache.py,sha256=9AlmmTJc6cslb6k5z_6q0sGPHVrMj8zv-uWy-simmfE,5406 -pip/_vendor/cachecontrol/caches/redis_cache.py,sha256=9rmqwtYu_ljVkW6_oLqbC7EaX_a8YT_yLuna-eS0dgo,1386 -pip/_vendor/cachecontrol/controller.py,sha256=o-ejGJlBmpKK8QQLyTPJj0t7siU8XVHXuV8MCybCxQ8,18575 -pip/_vendor/cachecontrol/filewrapper.py,sha256=STttGmIPBvZzt2b51dUOwoWX5crcMCpKZOisM3f5BNc,4292 -pip/_vendor/cachecontrol/heuristics.py,sha256=IYe4QmHERWsMvtxNrp920WeaIsaTTyqLB14DSheSbtY,4834 -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=p_GYZrjUwPBUhpLlCZoGb0miKBKSqDAyZC5DvIuqbHQ,94 -pip/_vendor/certifi/__main__.py,sha256=1k3Cr95vCxxGRGDljrW3wMdpZdL3Nhf0u1n-k2qdsCY,255 -pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc,, -pip/_vendor/certifi/__pycache__/core.cpython-312.pyc,, -pip/_vendor/certifi/cacert.pem,sha256=lO3rZukXdPyuk6BWUJFOKQliWaXH6HGh9l1GGrUgG0c,299427 -pip/_vendor/certifi/core.py,sha256=2SRT5rIcQChFDbe37BQa-kULxAgJ8qN6l1jfqTp4HIs,4486 -pip/_vendor/certifi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_vendor/distlib/__init__.py,sha256=dcwgYGYGQqAEawBXPDtIx80DO_3cOmFv8HTc8JMzknQ,625 -pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/database.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/index.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/locators.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/manifest.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/markers.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/metadata.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/util.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/version.cpython-312.pyc,, -pip/_vendor/distlib/__pycache__/wheel.cpython-312.pyc,, -pip/_vendor/distlib/compat.py,sha256=2jRSjRI4o-vlXeTK2BCGIUhkc6e9ZGhSsacRM5oseTw,41467 -pip/_vendor/distlib/database.py,sha256=mHy_LxiXIsIVRb-T0-idBrVLw3Ffij5teHCpbjmJ9YU,51160 -pip/_vendor/distlib/index.py,sha256=lTbw268rRhj8dw1sib3VZ_0EhSGgoJO3FKJzSFMOaeA,20797 -pip/_vendor/distlib/locators.py,sha256=oBeAZpFuPQSY09MgNnLfQGGAXXvVO96BFpZyKMuK4tM,51026 -pip/_vendor/distlib/manifest.py,sha256=3qfmAmVwxRqU1o23AlfXrQGZzh6g_GGzTAP_Hb9C5zQ,14168 -pip/_vendor/distlib/markers.py,sha256=X6sDvkFGcYS8gUW8hfsWuKEKAqhQZAJ7iXOMLxRYjYk,5164 -pip/_vendor/distlib/metadata.py,sha256=zil3sg2EUfLXVigljY2d_03IJt-JSs7nX-73fECMX2s,38724 -pip/_vendor/distlib/resources.py,sha256=LwbPksc0A1JMbi6XnuPdMBUn83X7BPuFNWqPGEKI698,10820 -pip/_vendor/distlib/scripts.py,sha256=BJliaDAZaVB7WAkwokgC3HXwLD2iWiHaVI50H7C6eG8,18608 -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/version.py,sha256=s5VIs8wBn0fxzGxWM_aA2ZZyx525HcZbMvcTlTyZ3Rg,23727 -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=DFIVguEQHCdxnSdAO0dfFsgMcvVZitg7bCOuLwZ7A_s,43979 -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-312.pyc,, -pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc,, -pip/_vendor/distro/__pycache__/distro.cpython-312.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=KJQN1eQBr8iIK5SKrJ47lXvxG0BJ7Lm38W4zT0v_8lk,849 -pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/idna/__pycache__/codec.cpython-312.pyc,, -pip/_vendor/idna/__pycache__/compat.cpython-312.pyc,, -pip/_vendor/idna/__pycache__/core.cpython-312.pyc,, -pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc,, -pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc,, -pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc,, -pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc,, -pip/_vendor/idna/codec.py,sha256=PS6m-XmdST7Wj7J7ulRMakPDt5EBJyYrT3CPtjh-7t4,3426 -pip/_vendor/idna/compat.py,sha256=0_sOEUMT4CVw9doD3vyRhX80X19PwqFoUBs7gWsFME4,321 -pip/_vendor/idna/core.py,sha256=lyhpoe2vulEaB_65xhXmoKgO-xUqFDvcwxu5hpNNO4E,12663 -pip/_vendor/idna/idnadata.py,sha256=dqRwytzkjIHMBa2R1lYvHDwACenZPt8eGVu1Y8UBE-E,78320 -pip/_vendor/idna/intranges.py,sha256=YBr4fRYuWH7kTKS2tXlFjM24ZF1Pdvcir-aywniInqg,1881 -pip/_vendor/idna/package_data.py,sha256=Tkt0KnIeyIlnHddOaz9WSkkislNgokJAuE-p5GorMqo,21 -pip/_vendor/idna/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_vendor/idna/uts46data.py,sha256=1KuksWqLuccPXm2uyRVkhfiFLNIhM_H2m4azCcnOqEU,206503 -pip/_vendor/msgpack/__init__.py,sha256=gsMP7JTECZNUSjvOyIbdhNOkpB9Z8BcGwabVGY2UcdQ,1077 -pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc,, -pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc,, -pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc,, -pip/_vendor/msgpack/exceptions.py,sha256=dCTWei8dpkrMsQDcjQk74ATl9HsIBH0ybt8zOPNqMYc,1081 -pip/_vendor/msgpack/ext.py,sha256=fKp00BqDLjUtZnPd70Llr138zk8JsCuSpJkkZ5S4dt8,5629 -pip/_vendor/msgpack/fallback.py,sha256=wdUWJkWX2gzfRW9BBCTOuIE1Wvrf5PtBtR8ZtY7G_EE,33175 -pip/_vendor/packaging/__init__.py,sha256=dtw2bNmWCQ9WnMoK3bk_elL1svSlikXtLpZhCFIB9SE,496 -pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc,, -pip/_vendor/packaging/__pycache__/version.cpython-312.pyc,, -pip/_vendor/packaging/_elffile.py,sha256=_LcJW4YNKywYsl4169B2ukKRqwxjxst_8H0FRVQKlz8,3282 -pip/_vendor/packaging/_manylinux.py,sha256=Xo4V0PZz8sbuVCbTni0t1CR0AHeir_7ib4lTmV8scD4,9586 -pip/_vendor/packaging/_musllinux.py,sha256=p9ZqNYiOItGee8KcZFeHF_YcdhVwGHdK6r-8lgixvGQ,2694 -pip/_vendor/packaging/_parser.py,sha256=s_TvTvDNK0NrM2QB3VKThdWFM4Nc0P6JnkObkl3MjpM,10236 -pip/_vendor/packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431 -pip/_vendor/packaging/_tokenizer.py,sha256=J6v5H7Jzvb-g81xp_2QACKwO7LxHQA6ikryMU7zXwN8,5273 -pip/_vendor/packaging/markers.py,sha256=dWKSqn5Sp-jDmOG-W3GfLHKjwhf1IsznbT71VlBoB5M,10671 -pip/_vendor/packaging/metadata.py,sha256=KINuSkJ12u-SyoKNTy_pHNGAfMUtxNvZ53qA1zAKcKI,32349 -pip/_vendor/packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_vendor/packaging/requirements.py,sha256=gYyRSAdbrIyKDY66ugIDUQjRMvxkH2ALioTmX3tnL6o,2947 -pip/_vendor/packaging/specifiers.py,sha256=HfGgfNJRvrzC759gnnoojHyiWs_DYmcw5PEh5jHH-YE,39738 -pip/_vendor/packaging/tags.py,sha256=Fo6_cit95-7QfcMb16XtI7AUiSMgdwA_hCO_9lV2pz4,21388 -pip/_vendor/packaging/utils.py,sha256=NAdYUwnlAOpkat_RthavX8a07YuVxgGL_vwrx73GSDM,5287 -pip/_vendor/packaging/version.py,sha256=wE4sSVlF-d1H6HFC1vszEe35CwTig_fh4HHIFg95hFE,16210 -pip/_vendor/pkg_resources/__init__.py,sha256=jrhDRbOubP74QuPXxd7U7Po42PH2l-LZ2XfcO7llpZ4,124463 -pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/platformdirs/__init__.py,sha256=FTA6LGNm40GwNZt3gG3uLAacWvf2E_2HTmH0rAALGR8,22285 -pip/_vendor/platformdirs/__main__.py,sha256=jBJ8zb7Mpx5ebcqF83xrpO94MaeCpNGHVf9cvDN2JLg,1505 -pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc,, -pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc,, -pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc,, -pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc,, -pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc,, -pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc,, -pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc,, -pip/_vendor/platformdirs/android.py,sha256=xZXY9Jd46WOsxT2U6-5HsNtDZ-IQqxcEUrBLl3hYk4o,9016 -pip/_vendor/platformdirs/api.py,sha256=QBYdUac2eC521ek_y53uD1Dcq-lJX8IgSRVd4InC6uc,8996 -pip/_vendor/platformdirs/macos.py,sha256=wftsbsvq6nZ0WORXSiCrZNkRHz_WKuktl0a6mC7MFkI,5580 -pip/_vendor/platformdirs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_vendor/platformdirs/unix.py,sha256=Cci9Wqt35dAMsg6HT9nRGHSBW5obb0pR3AE1JJnsCXg,10643 -pip/_vendor/platformdirs/version.py,sha256=r7F76tZRjgQKzrpx_I0_ZMQOMU-PS7eGnHD7zEK3KB0,411 -pip/_vendor/platformdirs/windows.py,sha256=IFpiohUBwxPtCzlyKwNtxyW4Jk8haa6W8o59mfrDXVo,10125 -pip/_vendor/pygments/__init__.py,sha256=7N1oiaWulw_nCsTY4EEixYLz15pWY5u4uPAFFi-ielU,2983 -pip/_vendor/pygments/__main__.py,sha256=isIhBxLg65nLlXukG4VkMuPfNdd7gFzTZ_R_z3Q8diY,353 -pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/cmdline.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/console.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/style.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/token.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc,, -pip/_vendor/pygments/__pycache__/util.cpython-312.pyc,, -pip/_vendor/pygments/cmdline.py,sha256=LIVzmAunlk9sRJJp54O4KRy9GDIN4Wu13v9p9QzfGPM,23656 -pip/_vendor/pygments/console.py,sha256=yhP9UsLAVmWKVQf2446JJewkA7AiXeeTf4Ieg3Oi2fU,1718 -pip/_vendor/pygments/filter.py,sha256=_ADNPCskD8_GmodHi6_LoVgPU3Zh336aBCT5cOeTMs0,1910 -pip/_vendor/pygments/filters/__init__.py,sha256=RdedK2KWKXlKwR7cvkfr3NUj9YiZQgMgilRMFUg2jPA,40392 -pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/pygments/formatter.py,sha256=jDWBTndlBH2Z5IYZFVDnP0qn1CaTQjTWt7iAGtCnJEg,4390 -pip/_vendor/pygments/formatters/__init__.py,sha256=8No-NUs8rBTSSBJIv4hSEQt2M0cFB4hwAT0snVc2QGE,5385 -pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/groff.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/html.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/img.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/irc.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/latex.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/other.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/svg.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-312.pyc,, -pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-312.pyc,, -pip/_vendor/pygments/formatters/_mapping.py,sha256=1Cw37FuQlNacnxRKmtlPX4nyLoX9_ttko5ZwscNUZZ4,4176 -pip/_vendor/pygments/formatters/bbcode.py,sha256=3JQLI45tcrQ_kRUMjuab6C7Hb0XUsbVWqqbSn9cMjkI,3320 -pip/_vendor/pygments/formatters/groff.py,sha256=M39k0PaSSZRnxWjqBSVPkF0mu1-Vr7bm6RsFvs-CNN4,5106 -pip/_vendor/pygments/formatters/html.py,sha256=SE2jc3YCqbMS3rZW9EAmDlAUhdVxJ52gA4dileEvCGU,35669 -pip/_vendor/pygments/formatters/img.py,sha256=MwA4xWPLOwh6j7Yc6oHzjuqSPt0M1fh5r-5BTIIUfsU,23287 -pip/_vendor/pygments/formatters/irc.py,sha256=dp1Z0l_ObJ5NFh9MhqLGg5ptG5hgJqedT2Vkutt9v0M,4981 -pip/_vendor/pygments/formatters/latex.py,sha256=XMmhOCqUKDBQtG5mGJNAFYxApqaC5puo5cMmPfK3944,19306 -pip/_vendor/pygments/formatters/other.py,sha256=56PMJOliin-rAUdnRM0i1wsV1GdUPd_dvQq0_UPfF9c,5034 -pip/_vendor/pygments/formatters/pangomarkup.py,sha256=y16U00aVYYEFpeCfGXlYBSMacG425CbfoG8oKbKegIg,2218 -pip/_vendor/pygments/formatters/rtf.py,sha256=ZT90dmcKyJboIB0mArhL7IhE467GXRN0G7QAUgG03To,11957 -pip/_vendor/pygments/formatters/svg.py,sha256=KKsiophPupHuxm0So-MsbQEWOT54IAiSF7hZPmxtKXE,7174 -pip/_vendor/pygments/formatters/terminal.py,sha256=AojNG4MlKq2L6IsC_VnXHu4AbHCBn9Otog6u45XvxeI,4674 -pip/_vendor/pygments/formatters/terminal256.py,sha256=kGkNUVo3FpwjytIDS0if79EuUoroAprcWt3igrcIqT0,11753 -pip/_vendor/pygments/lexer.py,sha256=TYHDt___gNW4axTl2zvPZff-VQi8fPaIh5OKRcVSjUM,35349 -pip/_vendor/pygments/lexers/__init__.py,sha256=pIlxyQJuu_syh9lE080cq8ceVbEVcKp0osAFU5fawJU,12115 -pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc,, -pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc,, -pip/_vendor/pygments/lexers/_mapping.py,sha256=61-h3zr103m01OS5BUq_AfUiL9YI06Ves9ipQ7k4vr4,76097 -pip/_vendor/pygments/lexers/python.py,sha256=2J_YJrPTr_A6fJY_qKiKv0GpgPwHMrlMSeo59qN3fe4,53687 -pip/_vendor/pygments/modeline.py,sha256=gtRYZBS-CKOCDXHhGZqApboHBaZwGH8gznN3O6nuxj4,1005 -pip/_vendor/pygments/plugin.py,sha256=ioeJ3QeoJ-UQhZpY9JL7vbxsTVuwwM7BCu-Jb8nN0AU,1891 -pip/_vendor/pygments/regexopt.py,sha256=Hky4EB13rIXEHQUNkwmCrYqtIlnXDehNR3MztafZ43w,3072 -pip/_vendor/pygments/scanner.py,sha256=NDy3ofK_fHRFK4hIDvxpamG871aewqcsIb6sgTi7Fhk,3092 -pip/_vendor/pygments/sphinxext.py,sha256=iOptJBcqOGPwMEJ2p70PvwpZPIGdvdZ8dxvq6kzxDgA,7981 -pip/_vendor/pygments/style.py,sha256=rSCZWFpg1_DwFMXDU0nEVmAcBHpuQGf9RxvOPPQvKLQ,6420 -pip/_vendor/pygments/styles/__init__.py,sha256=qUk6_1z5KmT8EdJFZYgESmG6P_HJF_2vVrDD7HSCGYY,2042 -pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc,, -pip/_vendor/pygments/styles/_mapping.py,sha256=6lovFUE29tz6EsV3XYY4hgozJ7q1JL7cfO3UOlgnS8w,3312 -pip/_vendor/pygments/token.py,sha256=qZwT7LSPy5YBY3JgDjut642CCy7JdQzAfmqD9NmT5j0,6226 -pip/_vendor/pygments/unistring.py,sha256=p5c1i-HhoIhWemy9CUsaN9o39oomYHNxXll0Xfw6tEA,63208 -pip/_vendor/pygments/util.py,sha256=2tj2nS1X9_OpcuSjf8dOET2bDVZhs8cEKd_uT6-Fgg8,10031 -pip/_vendor/pyproject_hooks/__init__.py,sha256=kCehmy0UaBa9oVMD7ZIZrnswfnP3LXZ5lvnNJAL5JBM,491 -pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-312.pyc,, -pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.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-312.pyc,, -pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc,, -pip/_vendor/pyproject_hooks/_in_process/_in_process.py,sha256=m2b34c917IW5o-Q_6TYIHlsK9lSUlNiyrITTUH_zwew,10927 -pip/_vendor/requests/__init__.py,sha256=HlB_HzhrzGtfD_aaYUwUh1zWXLZ75_YCLyit75d0Vz8,5057 -pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/api.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/auth.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/certs.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/compat.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/help.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/models.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/packages.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/structures.cpython-312.pyc,, -pip/_vendor/requests/__pycache__/utils.cpython-312.pyc,, -pip/_vendor/requests/__version__.py,sha256=FVfglgZmNQnmYPXpOohDU58F5EUb_-VnSTaAesS187g,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=PVPooB0jP5hkZEULSCwC074532UFbR2Ptgu0I5zwmCs,575 -pip/_vendor/requests/compat.py,sha256=Mo9f9xZpefod8Zm-n9_StJcVTmwSukXR2p3IQyyVXvU,1485 -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=x4K4CmH-lC0l2Kb-iPfMN4dRXxHEcbOaEWBL_i09AwI,35483 -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=L79vnFbzJ3SFLKtJwpoWe41Tozi3RlZv94pY1TFIyow,33631 -pip/_vendor/resolvelib/__init__.py,sha256=h509TdEcpb5-44JonaU3ex2TM15GVBLjM9CNCPwnTTs,537 -pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc,, -pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc,, -pip/_vendor/resolvelib/__pycache__/resolvers.cpython-312.pyc,, -pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc,, -pip/_vendor/resolvelib/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-312.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=eO7Cq8JnrgG8zVoeImiAs92q3hXNMIfp0w5lMsO7Q2Y,8477 -pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_timer.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_win32_console.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_windows.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_windows_renderer.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/_wrap.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/abc.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/align.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/ansi.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/bar.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/box.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/cells.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/color.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/color_triplet.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/columns.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/console.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/constrain.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/containers.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/control.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/default_styles.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/diagnose.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/errors.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/file_proxy.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/filesize.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/highlighter.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/json.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/layout.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/live.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/logging.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/markup.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/measure.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/padding.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/pager.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/palette.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/panel.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/progress.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/region.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/repr.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/rule.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/scope.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/screen.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/segment.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/spinner.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/status.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/style.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/styled.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/syntax.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/table.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/terminal_theme.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/text.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/theme.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/themes.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/traceback.cpython-312.pyc,, -pip/_vendor/rich/__pycache__/tree.cpython-312.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=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=Zt58apszI6hAAcXPpgdWKpu3c31UBWebOeR4mbyptvU,5471 -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=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=sCUkisXkQfoq-IQPyBELfJ8l7LihZJX3HbH8K7Cie-M,10368 -pip/_vendor/rich/ansi.py,sha256=iD6532QYqnBm6hADulKjrV8l8kFJ-9fEVooHJHH3hMg,6906 -pip/_vendor/rich/bar.py,sha256=ldbVHOzKJOnflVNuv1xS7g6dLX2E3wMnXkdPbpzJTcs,3263 -pip/_vendor/rich/box.py,sha256=nr5fYIUghB_iUCEq6y0Z3LlCT8gFPDrzN9u2kn7tJl4,10831 -pip/_vendor/rich/cells.py,sha256=aMmGK4BjXhgE6_JF1ZEGmW3O7mKkE8g84vUnj4Et4To,4780 -pip/_vendor/rich/color.py,sha256=bCRATVdRe5IClJ6Hl62de2PKQ_U4i2MZ4ugjUEg7Tao,18223 -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=deFZIubq2M9A2MCsKFAsFQlWDvcOMsGuUA07QkOaHIw,99173 -pip/_vendor/rich/constrain.py,sha256=1VIPuC8AgtKWrcncQrjBdYqA3JVWysu6jZo1rrh7c7Q,1288 -pip/_vendor/rich/containers.py,sha256=c_56TxcedGYqDepHBMTuZdUIijitAQgnox-Qde0Z1qo,5502 -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=6ZAjUcNhBRajBCo9umFUclyi2xL0-55JL7S0vYGUJu4,9585 -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=vUcnJV2LMSK3sQNaILbm0-_B8BpAeiHfcQMAMLfpRe0,14271 -pip/_vendor/rich/live_render.py,sha256=zJtB471jGziBtEwxc54x12wEQtH4BuQr1SA8v9kU82w,3666 -pip/_vendor/rich/logging.py,sha256=uB-cB-3Q4bmXDLLpbOWkmFviw-Fde39zyMV6tKJ2WHQ,11903 -pip/_vendor/rich/markup.py,sha256=3euGKP5s41NCQwaSjTnJxus5iZMHjxpIM0W6fCxra38,8451 -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=2Fd1V7e1kHxlPFIusoHY5T7-Cs0RpkrihgVG9ZVqJ4g,10705 -pip/_vendor/rich/pretty.py,sha256=5oIHP_CGWnHEnD0zMdW5qfGC5kHqIKn7zH_eC4crULE,35848 -pip/_vendor/rich/progress.py,sha256=P02xi7T2Ua3qq17o83bkshe4c0v_45cg8VyTj6US6Vg,59715 -pip/_vendor/rich/progress_bar.py,sha256=L4jw8E6Qb_x-jhOrLVhkuMaPmiAhFIl8jHQbWFrKuR8,8164 -pip/_vendor/rich/prompt.py,sha256=wdOn2X8XTJKnLnlw6PoMY7xG4iUPp3ezt4O5gqvpV-E,11304 -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=hU1ueeXqI6YeFa08K9DAjlF2QLxcJY9pwZx7RsXavlk,24246 -pip/_vendor/rich/spinner.py,sha256=15koCmF0DQeD8-k28Lpt6X_zJQUlzEhgo_6A6uy47lc,4339 -pip/_vendor/rich/status.py,sha256=kkPph3YeAZBo-X-4wPp8gTqZyU466NLwZBA4PZTTewo,4424 -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=TnZDuOD4DeHFbkaVEAji1gf8qgAlMU9Boe_GksMGCkk,35475 -pip/_vendor/rich/table.py,sha256=nGEvAZHF4dy1vT9h9Gj9O5qhSQO3ODAxJv0RY1vnIB8,39680 -pip/_vendor/rich/terminal_theme.py,sha256=1j5-ufJfnvlAo5Qsi_ACZiXDmwMXzqgmFByObT9-yJY,3370 -pip/_vendor/rich/text.py,sha256=5rQ3zvNrg5UZKNLecbh7fiw9v3HeFulNVtRY_CBDjjE,47312 -pip/_vendor/rich/theme.py,sha256=belFJogzA0W0HysQabKaHOc3RWH2ko3fQAJhoN-AFdo,3777 -pip/_vendor/rich/themes.py,sha256=0xgTLozfabebYtcJtDdC5QkX5IVUEaviqDUJJh4YVFk,102 -pip/_vendor/rich/traceback.py,sha256=CUpxYLjQWIb6vQQ6O72X0hvDV6caryGqU6UweHgOyCY,29601 -pip/_vendor/rich/tree.py,sha256=meAOUU6sYnoBEOX2ILrPLY9k5bWrWNQKkaiEFvHinXM,9167 -pip/_vendor/tomli/__init__.py,sha256=JhUwV66DB1g4Hvt1UQCVMdfCu-IgAV8FXmvDU9onxd4,396 -pip/_vendor/tomli/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/tomli/__pycache__/_parser.cpython-312.pyc,, -pip/_vendor/tomli/__pycache__/_re.cpython-312.pyc,, -pip/_vendor/tomli/__pycache__/_types.cpython-312.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=WIDeyzWm7EVX44g354M25vpRXbeY1lsPH6EmUJUcq4o,1264 -pip/_vendor/truststore/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/truststore/__pycache__/_api.cpython-312.pyc,, -pip/_vendor/truststore/__pycache__/_macos.cpython-312.pyc,, -pip/_vendor/truststore/__pycache__/_openssl.cpython-312.pyc,, -pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-312.pyc,, -pip/_vendor/truststore/__pycache__/_windows.cpython-312.pyc,, -pip/_vendor/truststore/_api.py,sha256=GeXRNTlxPZ3kif4kNoh6JY0oE4QRzTGcgXr6l_X_Gk0,10555 -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/typing_extensions.py,sha256=78hFl0HpDY-ylHUVCnWdU5nTHxUP2-S-3wEZk6CQmLk,134499 -pip/_vendor/urllib3/__init__.py,sha256=iXLcYiJySn0GNbWOOZDDApgBL1JgP44EZ8i1760S8Mc,3333 -pip/_vendor/urllib3/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/_collections.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/_version.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/connection.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/connectionpool.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/fields.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/filepost.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/poolmanager.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/request.cpython-312.pyc,, -pip/_vendor/urllib3/__pycache__/response.cpython-312.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-312.pyc,, -pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-312.pyc,, -pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-312.pyc,, -pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-312.pyc,, -pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc,, -pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-312.pyc,, -pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-312.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-312.pyc,, -pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-312.pyc,, -pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-312.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-312.pyc,, -pip/_vendor/urllib3/packages/__pycache__/six.cpython-312.pyc,, -pip/_vendor/urllib3/packages/backports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-312.pyc,, -pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-312.pyc,, -pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-312.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-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/connection.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/queue.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/request.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/response.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/retry.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/timeout.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/url.cpython-312.pyc,, -pip/_vendor/urllib3/util/__pycache__/wait.cpython-312.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=43152uDtpsunEE29vmLqqKZUosdrbvzIFkzscLB55Cg,332 -pip/py.typed,sha256=EBVvvPRTn_eIpz5e5QztSCdrMX7Qwd7VP93RSoIlZ2I,286 diff --git a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/WHEEL deleted file mode 100644 index da25d7b4..00000000 --- a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: setuptools (75.2.0) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/entry_points.txt b/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/entry_points.txt deleted file mode 100644 index 25fcf7e2..00000000 --- a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/entry_points.txt +++ /dev/null @@ -1,3 +0,0 @@ -[console_scripts] -pip = pip._internal.cli.main:main -pip3 = pip._internal.cli.main:main diff --git a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/top_level.txt deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/pip-24.3.1.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/pip/__init__.py b/.venv/lib/python3.12/site-packages/pip/__init__.py index efefccff..d047e478 100644 --- a/.venv/lib/python3.12/site-packages/pip/__init__.py +++ b/.venv/lib/python3.12/site-packages/pip/__init__.py @@ -1,6 +1,6 @@ from typing import List, Optional -__version__ = "24.3.1" +__version__ = "25.0" def main(args: Optional[List[str]] = None) -> int: diff --git a/.venv/lib/python3.12/site-packages/pip/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/__pycache__/__init__.cpython-312.pyc index 4ca2a96f..4b74786b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/__pycache__/__main__.cpython-312.pyc index 04b2d0da..1cee1f6a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/__pycache__/__main__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/__pycache__/__main__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc index 61a8d05a..ed0f3b15 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/__pycache__/__pip-runner__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc index 6879101f..e2c2e844 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/build_env.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/build_env.cpython-312.pyc index 6fa73fcd..16bbd586 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/build_env.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/build_env.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc index b020e53e..970fe512 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/cache.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc index 5d917645..83870279 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/configuration.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc index 0f92f8cf..a54158ae 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc index b80ae6d4..6cfe06ec 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/main.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc index d46591e5..f6896dea 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/pyproject.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc index f4eb6ede..a74dbced 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/self_outdated_check.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc index e6f833aa..731aa96e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/__pycache__/wheel_builder.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/build_env.py b/.venv/lib/python3.12/site-packages/pip/_internal/build_env.py index 0f1e2667..e820dc3d 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/build_env.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/build_env.py @@ -246,6 +246,8 @@ class BuildEnvironment: # target from config file or env var should be ignored "--target", "", + "--cert", + finder.custom_cert or where(), ] if logger.getEffectiveLevel() <= logging.DEBUG: args.append("-vv") @@ -270,21 +272,23 @@ class BuildEnvironment: 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.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) - 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, ) diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc index 5980052d..a19d73b6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc index 5cbd04ba..8aeb4b2b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/autocompletion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc index 71c5fdae..99e6eec2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/base_command.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc index feafd4e7..e7f4da0b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/cmdoptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc index e08e92fa..7dfcec2b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/command_context.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc index bfdb440e..4d40273c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/index_command.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc index f614209e..66c78657 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc index 8a79da0e..fb7e8cf9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/main_parser.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc index af4fbcf9..dea1088b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/parser.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc index 7822e531..76e8b0a9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/progress_bars.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc index fe16f999..2769d82d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/req_command.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc index 8efddaa3..07ff2fb7 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/spinners.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc index 295b92d2..5268b3d4 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/cli/__pycache__/status_codes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py b/.venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py index bc1ab659..362f84b6 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/cli/base_command.py @@ -29,6 +29,7 @@ from pip._internal.exceptions import ( NetworkConnectionError, PreviousBuildDirError, ) +from pip._internal.utils.deprecation import deprecated from pip._internal.utils.filesystem import check_path_owner from pip._internal.utils.logging import BrokenStdoutLoggingError, setup_logging from pip._internal.utils.misc import get_prog, normalize_path @@ -228,4 +229,12 @@ class Command(CommandContextMixIn): ) options.cache_dir = None + if options.no_python_version_warning: + deprecated( + reason="--no-python-version-warning is deprecated.", + replacement="to remove the flag as it's a no-op", + gone_in="25.1", + issue=13154, + ) + return self._run_wrapper(level_number, options, args) diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py b/.venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py index 0b7cff77..eeb7e651 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/cli/cmdoptions.py @@ -260,8 +260,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)" ), ) diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py b/.venv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py index db105d0f..295108ed 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/cli/index_command.py @@ -123,6 +123,7 @@ class SessionCommandMixin(CommandContextMixIn): "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 diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py b/.venv/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py index 1236180c..3d9dde8e 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/cli/progress_bars.py @@ -63,7 +63,7 @@ def _raw_progress_bar( size: Optional[int], ) -> Generator[bytes, None, None]: def write_progress(current: int, total: int) -> None: - sys.stdout.write("Progress %d of %d\n" % (current, total)) + sys.stdout.write(f"Progress {current} of {total}\n") sys.stdout.flush() current = 0 diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc index d7f7de0c..9c422db0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc index d1a3ca8c..57d31014 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/cache.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc index a58258c4..d7273d19 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/check.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc index 8670e343..a78efdf0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/completion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc index 71b4e873..493d4003 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/configuration.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc index 5a89e786..77a6e9ea 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/debug.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc index 8bf31d03..bd8c1e9a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/download.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc index 68786085..99f88eb8 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/freeze.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc index 4b817c25..3299e1c3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/hash.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc index 5ff2198a..adc7973e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/help.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc index 4599e193..d17a5f46 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc index be94cc3e..9c101f79 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/inspect.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc index 37b953f7..2c23c98e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/install.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc index 7d46f555..f82b7f12 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/list.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc index f06b695b..b65bb3cf 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/search.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc index 2754e72b..f045a08c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/show.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc index 0a7d2139..ec662434 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/uninstall.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc index eed66727..0714e8dd 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/commands/__pycache__/wheel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/cache.py b/.venv/lib/python3.12/site-packages/pip/_internal/commands/cache.py index 32833615..ad65641e 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/commands/cache.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/commands/cache.py @@ -8,6 +8,7 @@ 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__) @@ -180,10 +181,12 @@ 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: if args: diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/install.py b/.venv/lib/python3.12/site-packages/pip/_internal/commands/install.py index ad45a2f2..232a34a6 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/commands/install.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/commands/install.py @@ -10,6 +10,13 @@ from typing import List, Optional from pip._vendor.packaging.utils import canonicalize_name 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 @@ -408,12 +415,6 @@ class InstallCommand(RequirementCommand): # If we're not replacing an already installed pip, # we're not modifying it. modifying_pip = pip_req.satisfied_by is None - if modifying_pip: - # Eagerly import this module 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. - import pip._internal.self_outdated_check # noqa: F401 protect_pip_from_modification_on_windows(modifying_pip=modifying_pip) reqs_to_build = [ @@ -432,7 +433,7 @@ class InstallCommand(RequirementCommand): if build_failures: raise InstallationError( - "ERROR: Failed to build installable wheels for some " + "Failed to build installable wheels for some " "pyproject.toml based projects ({})".format( ", ".join(r.name for r in build_failures) # type: ignore ) diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/commands/show.py b/.venv/lib/python3.12/site-packages/pip/_internal/commands/show.py index c54d548f..b47500cf 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/commands/show.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/commands/show.py @@ -66,6 +66,7 @@ class _PackageInfo(NamedTuple): author: str author_email: str license: str + license_expression: str entry_points: List[str] files: Optional[List[str]] @@ -161,6 +162,7 @@ def search_packages_info(query: List[str]) -> Generator[_PackageInfo, None, None 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, ) @@ -180,13 +182,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/python3.12/site-packages/pip/_internal/configuration.py b/.venv/lib/python3.12/site-packages/pip/_internal/configuration.py index c25273d5..ffeda1d4 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/configuration.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/configuration.py @@ -330,7 +330,7 @@ class Configuration: 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 diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc index cb697cf6..70d160fc 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc index a0a75ce7..ed299e19 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc index 53bed2d7..1f8064c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/installed.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc index cb508e29..d99d46e3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/sdist.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc index 1a72a637..45173283 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/distributions/__pycache__/wheel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc index 9ffbe18c..5e5cdc57 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc index 00c086c7..70c44ddc 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/collector.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc index b6a6f69c..3f972f1a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/package_finder.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc index 2e189f14..416ecd31 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/index/__pycache__/sources.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/index/package_finder.py b/.venv/lib/python3.12/site-packages/pip/_internal/index/package_finder.py index 0d65ce35..85628ee5 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/index/package_finder.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/index/package_finder.py @@ -334,44 +334,30 @@ class CandidatePreferences: 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: Optional[InstallationCandidate] - 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: @@ -675,11 +661,29 @@ class PackageFinder: def index_urls(self) -> List[str]: return self.search_scope.index_urls + @property + def proxy(self) -> Optional[str]: + 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) -> Optional[str]: + # 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) -> Optional[str]: + 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 @@ -732,6 +736,11 @@ class PackageFinder: return no_eggs + eggs def _log_skipped_link(self, link: Link, result: LinkType, detail: str) -> None: + # This is a hot method so don't waste time hashing links unless we're + # actually going to log 'em. + if not logger.isEnabledFor(logging.DEBUG): + return + entry = (link, result, detail) if entry not in self._logged_links: # Put the link at the end so the reason is more visible and because @@ -929,7 +938,7 @@ 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}") @@ -963,7 +972,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 @@ -971,7 +980,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 diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc index 0323ff79..162cb288 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc index 822a25bc..76590a7e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_distutils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc index 1a6a70cc..79695fb4 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/_sysconfig.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc index 9f2f4b53..d2bfa4f9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/locations/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py index aa232b6c..1ea1e7fd 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__init__.py @@ -30,7 +30,7 @@ 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. 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 @@ -71,7 +71,7 @@ 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() diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc index 5c0d7e93..c118beae 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc index 0d52d2f8..caed5b21 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/_json.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc index 9af1542f..37805f80 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc index 4c94427c..2d00aac2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/__pycache__/pkg_resources.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/_json.py b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/_json.py index 9097dd58..f3aeab32 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/_json.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/_json.py @@ -23,6 +23,8 @@ METADATA_FIELDS = [ ("Maintainer", False), ("Maintainer-email", False), ("License", False), + ("License-Expression", False), + ("License-File", True), ("Classifier", True), ("Requires-Dist", True), ("Requires-Python", False), diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc index 3c090f46..5167a52b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc index 4f33b6a8..e9d5a8d2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc index 26270ee1..4e2c255a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_dists.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc index 7f3c1bc1..3d7db739 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/__pycache__/_envs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py index 36cd3262..cf868543 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/metadata/importlib/_dists.py @@ -2,6 +2,7 @@ import email.message import importlib.metadata import pathlib import zipfile +from os import PathLike from typing import ( Collection, Dict, @@ -95,6 +96,11 @@ 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__( @@ -190,7 +196,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: diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc index cca5069c..13c325da 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc index ec215e43..9f3cb8a5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/candidate.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc index 0122301b..df0c28c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/direct_url.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc index 7fc9137b..07984200 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/format_control.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc index ec927d37..b990a534 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc index e7dc6fb1..0799dfe3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/installation_report.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc index 42eabfc5..fda26594 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/link.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc index a44fbd54..34ed9a95 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/scheme.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc index 0fc6022d..36574b63 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/search_scope.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc index b5b3ba0a..29cf2c7b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/selection_prefs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc index c17f91e9..a520d938 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/target_python.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc index 10d512c5..a5ae93cf 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/models/__pycache__/wheel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/models/link.py b/.venv/lib/python3.12/site-packages/pip/_internal/models/link.py index 2f41f2f6..27ad0160 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/models/link.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/models/link.py @@ -170,12 +170,23 @@ 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)) + return urllib.parse.urlunsplit(result._replace(path=path)) + + +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 @@ -185,6 +196,7 @@ class Link: __slots__ = [ "_parsed_url", "_url", + "_path", "_hashes", "comes_from", "requires_python", @@ -241,6 +253,8 @@ class Link: # 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() @@ -270,7 +284,7 @@ class Link: 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", {}) @@ -322,7 +336,7 @@ class Link: 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") @@ -421,7 +435,7 @@ class Link: @property def path(self) -> str: - return urllib.parse.unquote(self._parsed_url.path) + return self._path def splitext(self) -> Tuple[str, str]: return splitext(posixpath.basename(self.path.rstrip("/"))) @@ -452,10 +466,10 @@ class Link: 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.1", + issue=13157, ) return project_name diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc index 114102a1..6e403059 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc index eb5a15fa..6161b18c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/auth.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc index 03b52d66..6afc2fdf 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/cache.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc index a0d72842..a80e3cc8 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/download.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc index cbd484ec..a004c9c7 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/lazy_wheel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc index 44cfa194..7011dfe4 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/session.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc index 738c41b5..9b87b068 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc index d4c63d13..fc36ea65 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/network/__pycache__/xmlrpc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/cache.py b/.venv/lib/python3.12/site-packages/pip/_internal/network/cache.py index 4d0fb545..fca04e69 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/network/cache.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/network/cache.py @@ -76,6 +76,18 @@ class SafeFileCache(SeparateBodyBaseCache): with adjacent_tmp_file(path) as f: f.write(data) + # 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) diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/network/session.py b/.venv/lib/python3.12/site-packages/pip/_internal/network/session.py index 1765b4f6..5e10f8f5 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/network/session.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/network/session.py @@ -339,6 +339,7 @@ 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_proxy = None # Attach our User Agent to the request self.headers["User-Agent"] = user_agent() diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc index b358438b..69e73834 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc index ecee261d..60d11d99 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/check.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc index 1e56dbac..d69ebbf6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/freeze.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc index 20bdaa64..2cfa9b62 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/__pycache__/prepare.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc index bb542fb2..5c655438 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc index 4045de93..f4b7df41 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/build_tracker.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc index 38956f0c..1d7e7bf3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc index eed2ebaf..9691bc90 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_editable.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc index 3a146216..73a75b25 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/metadata_legacy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc index 21144ed1..e5c140a5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc index e33f3065..a9f8569d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_editable.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc index 1d1db935..151db3ee 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py index 27c69f0d..3397ccf0 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/operations/build/metadata_editable.py @@ -38,4 +38,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/python3.12/site-packages/pip/_internal/operations/freeze.py b/.venv/lib/python3.12/site-packages/pip/_internal/operations/freeze.py index bb1039fb..ae5dd37f 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/operations/freeze.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/operations/freeze.py @@ -1,9 +1,10 @@ import collections import logging import os +from dataclasses import dataclass, field from typing import Container, Dict, Generator, Iterable, List, NamedTuple, Optional, Set -from pip._vendor.packaging.utils import canonicalize_name +from pip._vendor.packaging.utils import NormalizedName, canonicalize_name from pip._vendor.packaging.version import InvalidVersion from pip._internal.exceptions import BadCommand, InstallationError @@ -220,19 +221,16 @@ 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": diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc index 2dd47067..12234465 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc index 484bed4d..8b6ebc56 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/editable_legacy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc index a62de46e..ef76528e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/operations/install/__pycache__/wheel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/pyproject.py b/.venv/lib/python3.12/site-packages/pip/_internal/pyproject.py index 2a9cad48..0e8452f3 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/pyproject.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/pyproject.py @@ -73,7 +73,7 @@ def load_pyproject_toml( 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 diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc index 1f4bdd47..bb363797 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc index 90776c8b..785dbb22 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/constructors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc index 17c4254e..804257ef 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_file.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc index 605a3306..da84f16b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_install.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc index 3e6d34e7..d5eca041 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_set.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc index 42a50afc..99d966c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/req/__pycache__/req_uninstall.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/req/req_file.py b/.venv/lib/python3.12/site-packages/pip/_internal/req/req_file.py index eb2a1f69..f6ba70fe 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/req/req_file.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/req/req_file.py @@ -2,12 +2,16 @@ Requirements file parsing """ +import codecs +import locale import logging import optparse import os import re import shlex +import sys import urllib.parse +from dataclasses import dataclass from optparse import Values from typing import ( TYPE_CHECKING, @@ -25,7 +29,6 @@ from typing import ( from pip._internal.cli import cmdoptions from pip._internal.exceptions import InstallationError, RequirementsFileParseError from pip._internal.models.search_scope import SearchScope -from pip._internal.utils.encoding import auto_decode if TYPE_CHECKING: from pip._internal.index.package_finder import PackageFinder @@ -81,52 +84,66 @@ 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: Optional[Dict[str, Any]] + line_source: Optional[str] +@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) -> Optional[str]: + 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( @@ -179,7 +196,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: @@ -301,7 +318,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: @@ -340,7 +357,7 @@ class RequirementsFileParser: parsed_files_stack: List[Dict[str, Optional[str]]], ) -> 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 @@ -568,7 +585,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/python3.12/site-packages/pip/_internal/req/req_install.py b/.venv/lib/python3.12/site-packages/pip/_internal/req/req_install.py index 834bc513..3262d826 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/req/req_install.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/req/req_install.py @@ -837,7 +837,7 @@ class InstallRequirement: "try using --config-settings editable_mode=compat. " "Please consult the setuptools documentation for more information" ), - gone_in="25.0", + gone_in="25.1", issue=11457, ) if self.config_settings: @@ -925,7 +925,7 @@ def check_legacy_setup_py_options( reason="--build-option and --global-option are deprecated.", issue=11859, replacement="to use --config-settings", - gone_in="25.0", + gone_in=None, ) logger.warning( "Implying --no-binary=:all: due to the presence of " diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc index a7f15192..d812672d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc index 3ad6e6e6..ffcd2d73 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc index 5cf5caee..072c42d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc index 835eaf85..2389f8ff 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/legacy/__pycache__/resolver.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc index 4710075b..e1fea1b0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc index 8b0509f4..4708d8a8 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc index eceee54d..5d084b3d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/candidates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc index eb291f91..5a32f741 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/factory.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc index 8f79dc96..7c116e04 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/found_candidates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc index 99269613..84a3e660 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/provider.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc index 7bb5d26e..6e4b72ec 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/reporter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc index bac442e3..adad4f08 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/requirements.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc index b702e06e..ce64ec8d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/__pycache__/resolver.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py index dc6e2e12..6c273eb8 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/factory.py @@ -309,7 +309,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 diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py b/.venv/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py index f9a91af9..2e0e3df3 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/self_outdated_check.py @@ -26,7 +26,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) @@ -231,6 +235,10 @@ 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: + check_externally_managed() + except ExternallyManagedEnvironment: + return upgrade_prompt = _self_version_check_logic( state=SelfCheckState(cache_dir=options.cache_dir), diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc index fa24bd48..a1f811c2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc index a77ed0b6..a8b882ae 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_jaraco_text.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc index c0ad4d51..13bf77b8 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/_log.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc index 8e676ede..061320a0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/appdirs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc index c0bfa905..e963c9b0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc index c34c2db3..93985662 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/compatibility_tags.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc index c808c1f8..3c83fe40 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/datetime.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc index 9034ca46..333a9b18 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/deprecation.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc index eaf499c6..238a8a93 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/direct_url_helpers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc index 20b06b88..493f2183 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/egg_link.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/encoding.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/encoding.cpython-312.pyc deleted file mode 100644 index 97b6826a..00000000 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/encoding.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc index b420a08e..0293b588 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/entrypoints.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc index 6259ee76..cd8e5d89 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filesystem.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc index 5108c6fa..94ae7f33 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/filetypes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc index a6ab693c..45314eb5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/glibc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc index 5871df2a..434b3a6f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/hashes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc index e47716fb..3560a325 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/logging.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc index 3c2cb3b8..c86c5b50 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/misc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc index 5dabaa35..fa3d235b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/packaging.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc index 26e7a7d0..10e676a9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/retry.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc index e74e8b45..a0c0047a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/setuptools_build.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc index ef6f0b19..95a9c414 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/subprocess.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc index 019254b9..e9abbb9d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/temp_dir.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc index dbc9e29c..6806cafb 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/unpacking.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc index bcb8e7fb..b1b3bc4f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/urls.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc index b825283b..f6091428 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/virtualenv.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc index e0c8e849..e3bafc9d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/utils/__pycache__/wheel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/encoding.py b/.venv/lib/python3.12/site-packages/pip/_internal/utils/encoding.py deleted file mode 100644 index 008f06a7..00000000 --- a/.venv/lib/python3.12/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/python3.12/site-packages/pip/_internal/utils/logging.py b/.venv/lib/python3.12/site-packages/pip/_internal/utils/logging.py index 41f6eb51..62035fc4 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/utils/logging.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/utils/logging.py @@ -137,12 +137,19 @@ class IndentedRenderable: yield Segment("\n") +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 + + class RichPipStreamHandler(RichHandler): KEYWORDS: ClassVar[Optional[List[str]]] = [] def __init__(self, stream: Optional[TextIO], no_color: bool) -> None: super().__init__( - console=Console(file=stream, no_color=no_color, soft_wrap=True), + console=PipConsole(file=stream, no_color=no_color, soft_wrap=True), show_time=False, show_level=False, show_path=False, diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py b/.venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py index c0a3e4d3..44f6a05f 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/utils/misc.py @@ -19,12 +19,13 @@ from typing import ( Any, BinaryIO, Callable, - Dict, Generator, Iterable, Iterator, List, + Mapping, Optional, + Sequence, TextIO, Tuple, Type, @@ -667,7 +668,7 @@ class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller): def build_wheel( self, wheel_directory: str, - config_settings: Optional[Dict[str, Union[str, List[str]]]] = None, + config_settings: Optional[Mapping[str, Any]] = None, metadata_directory: Optional[str] = None, ) -> str: cs = self.config_holder.config_settings @@ -678,7 +679,7 @@ class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller): def build_sdist( self, sdist_directory: str, - config_settings: Optional[Dict[str, Union[str, List[str]]]] = None, + config_settings: Optional[Mapping[str, Any]] = None, ) -> str: cs = self.config_holder.config_settings return super().build_sdist(sdist_directory, config_settings=cs) @@ -686,7 +687,7 @@ class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller): def build_editable( self, wheel_directory: str, - config_settings: Optional[Dict[str, Union[str, List[str]]]] = None, + config_settings: Optional[Mapping[str, Any]] = None, metadata_directory: Optional[str] = None, ) -> str: cs = self.config_holder.config_settings @@ -695,27 +696,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: Optional[Mapping[str, Any]] = 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: Optional[Mapping[str, Any]] = 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: Optional[Mapping[str, Any]] = 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: Optional[Mapping[str, Any]] = None, _allow_fallback: bool = True, ) -> str: cs = self.config_holder.config_settings @@ -728,9 +729,9 @@ 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: Optional[Mapping[str, Any]] = None, _allow_fallback: bool = True, - ) -> str: + ) -> Optional[str]: cs = self.config_holder.config_settings return super().prepare_metadata_for_build_editable( metadata_directory=metadata_directory, @@ -764,7 +765,7 @@ def warn_if_run_as_root() -> None: 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." + "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 " diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/packaging.py b/.venv/lib/python3.12/site-packages/pip/_internal/utils/packaging.py index 4b8fa0fe..caad70f7 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/utils/packaging.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/utils/packaging.py @@ -11,6 +11,7 @@ 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, ...] ) -> bool: diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py b/.venv/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py index 875e30e1..87a6d19a 100644 --- a/.venv/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py +++ b/.venv/lib/python3.12/site-packages/pip/_internal/utils/unpacking.py @@ -176,7 +176,7 @@ def untar_file(filename: str, location: str) -> None: ) 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()]) diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc index 1653c70f..cfff4ca3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc index 8a4907a1..4f9efbb6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/bazaar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc index 6f695428..3bb47bfb 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/git.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc index 272d2899..0d8a7174 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/mercurial.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc index 78224074..86c3a96e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/subversion.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc index 31ddc6ae..485323fe 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_internal/vcs/__pycache__/versioncontrol.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc index 769c01af..a8d4b4f6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-312.pyc index 74e8997c..6db03f09 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/__pycache__/typing_extensions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__init__.py b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__init__.py index b34b0fcb..21916243 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__init__.py +++ b/.venv/lib/python3.12/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.14.0" +__version__ = "0.14.1" from pip._vendor.cachecontrol.adapter import CacheControlAdapter from pip._vendor.cachecontrol.controller import CacheController diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc index c28954d2..2f43f1a3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc index bbe63977..fe8b519f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/_cmd.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc index 3f04faaf..700c775c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/adapter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc index ac84fa39..1f7796ac 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/cache.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc index c89e65a2..ce22fa90 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/controller.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc index c7f8a60c..bb52656b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/filewrapper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc index 76151c24..2b8dfea3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/heuristics.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc index ece41e25..aae1934c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/serialize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc index 8609a581..ebafa46e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/__pycache__/wrapper.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py index fbb4ecc8..34a9eb82 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/adapter.py @@ -77,7 +77,7 @@ class CacheControlAdapter(HTTPAdapter): return resp - def build_response( + def build_response( # type: ignore[override] self, request: PreparedRequest, response: HTTPResponse, @@ -143,7 +143,7 @@ class CacheControlAdapter(HTTPAdapter): _update_chunk_length, 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/python3.12/site-packages/pip/_vendor/cachecontrol/cache.py b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/cache.py index 3293b005..91598e92 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/cache.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc index d094ada0..416e6e34 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc index f98b6c98..1a3bc342 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/file_cache.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc index a0c25064..6b363da4 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/__pycache__/redis_cache.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py index e6e3a579..81d2ef46 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/caches/file_cache.py @@ -6,7 +6,7 @@ from __future__ import annotations import hashlib import os from textwrap import dedent -from typing import IO, TYPE_CHECKING, Union +from typing import IO, TYPE_CHECKING from pathlib import Path from pip._vendor.cachecontrol.cache import BaseCache, SeparateBodyBaseCache diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py index d7dd86e5..f0ff6e1b 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/controller.py @@ -5,6 +5,7 @@ """ The httplib2 algorithms ported for use with requests. """ + from __future__ import annotations import calendar diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py index 25143902..37d2fa59 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/filewrapper.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py b/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py index f6e5634e..b778c4f3 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/cachecontrol/heuristics.py +++ b/.venv/lib/python3.12/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[index,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/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc index ad30a5f8..4a8e1a06 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc index fe843db9..6af11c5a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/__main__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc index 126a0b17..cdc3889c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/certifi/__pycache__/core.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc index cabf5409..c5bad45d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc index 990d9774..fe20fe08 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/database.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/database.cpython-312.pyc index 82ef3c34..2ea79886 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/database.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/database.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/index.cpython-312.pyc index ffe7fd21..9e8f4e32 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/index.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/index.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/locators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/locators.cpython-312.pyc index 33d41153..b26c78e3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/locators.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/locators.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/manifest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/manifest.cpython-312.pyc index 37aaeb66..99efaa38 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/manifest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/manifest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/markers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/markers.cpython-312.pyc index 6cfc1676..25a17c2f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/markers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/markers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/metadata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/metadata.cpython-312.pyc index 795544ff..0c7c51a2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/metadata.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/metadata.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc index 55baffa7..6d36ffa9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/resources.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc index 0b001b95..e9bcbfb9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/scripts.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc index 7a2a1f08..487ca8c5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/version.cpython-312.pyc index b1b95d1c..31de16d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/wheel.cpython-312.pyc index dcbe0f2d..6ae21a95 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/wheel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distlib/__pycache__/wheel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc index 7cfb9d0a..f7265098 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc index 88866a00..2b2c2e88 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/__main__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc index c7acc680..7b97588d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/distro/__pycache__/distro.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__init__.py b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__init__.py index a40eeafc..cfdc030a 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__init__.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc index ebaf5ef1..53dd95d2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc index 4ed41e09..68f9df5c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc index ce7b1d09..2e24830d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc index 37e1fddc..8832fe82 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/core.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc index 4971a08e..d708faba 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/idnadata.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc index b6137e87..8e37753e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/intranges.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc index fcd0364c..ff413ed3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/package_data.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc index 0bfc58e8..393d4ce0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/__pycache__/uts46data.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/codec.py b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/codec.py index c855a4de..913abfd6 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/codec.py +++ b/.venv/lib/python3.12/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 Any, 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)) + 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 "", 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 errors != "strict": + raise IDNAError('Unsupported error handling "{}"'.format(errors)) if not data: - return b'', 0 + return b"", 0 labels = _unicode_dots_re.split(data) - trailing_dot = b'' + trailing_dot = b"" if labels: if not labels[-1]: - trailing_dot = b'.' + trailing_dot = b"." del labels[-1] elif not final: # Keep potentially unfinished label until the next call del labels[-1] if labels: - trailing_dot = b'.' + trailing_dot = b"." result = [] size = 0 @@ -54,32 +56,33 @@ class IncrementalEncoder(codecs.BufferedIncrementalEncoder): size += len(label) # Join with U+002E - result_bytes = b'.'.join(result) + trailing_dot + result_bytes = b".".join(result) + trailing_dot size += len(trailing_dot) return result_bytes, size + class IncrementalDecoder(codecs.BufferedIncrementalDecoder): def _buffer_decode(self, data: Any, errors: str, final: bool) -> Tuple[str, int]: - if errors != 'strict': - raise IDNAError('Unsupported error handling \"{}\"'.format(errors)) + 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') + 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 @@ -89,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) @@ -103,7 +106,7 @@ class StreamReader(Codec, codecs.StreamReader): def search_function(name: str) -> Optional[codecs.CodecInfo]: - if name != 'idna2008': + if name != "idna2008": return None return codecs.CodecInfo( name=name, @@ -115,4 +118,5 @@ def search_function(name: str) -> Optional[codecs.CodecInfo]: streamreader=StreamReader, ) + codecs.register(search_function) diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/compat.py b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/compat.py index 786e6bda..1df9f2a7 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/compat.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/idna/core.py b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/core.py index 0dae61ac..9115f123 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/core.py +++ b/.venv/lib/python3.12/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,96 +70,106 @@ 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 - elif joining_type in [ord('L'), ord('D')]: + elif joining_type in [ord("L"), ord("D")]: ok = True break else: @@ -160,63 +179,61 @@ def valid_contextj(label: str, pos: int) -> bool: 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 - elif 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 @@ -227,37 +244,49 @@ 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']): - if not valid_contextj(label, pos): - raise InvalidCodepointContext('Joiner {} not allowed at position {} in {}'.format( - _unot(cp_value), pos+1, repr(label))) - elif intranges_contain(cp_value, idnadata.codepoint_classes['CONTEXTO']): + 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)) + ) + 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"]): 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 @@ -266,7 +295,7 @@ def alabel(label: str) -> 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 @@ -274,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 @@ -283,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 @@ -303,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] - if (status == 'V' or - (status == 'D' and not transitional) or - (status == '3' and not std3_rules and replacement is None)): + 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: +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 = str(s, '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: @@ -356,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 not isinstance(s, str): - s = str(s, 'ascii') + 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 @@ -378,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 @@ -389,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/python3.12/site-packages/pip/_vendor/idna/idnadata.py b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/idnadata.py index c61dcf97..4be60046 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/idnadata.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/idnadata.py @@ -1,107 +1,107 @@ # This file is automatically generated by tools/idna-data -__version__ = '15.1.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, - 0x2ebf00002ee5e, - 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 = { - 0xad: 84, + 0xAD: 84, 0x300: 84, 0x301: 84, 0x302: 84, @@ -112,12 +112,12 @@ joining_types = { 0x307: 84, 0x308: 84, 0x309: 84, - 0x30a: 84, - 0x30b: 84, - 0x30c: 84, - 0x30d: 84, - 0x30e: 84, - 0x30f: 84, + 0x30A: 84, + 0x30B: 84, + 0x30C: 84, + 0x30D: 84, + 0x30E: 84, + 0x30F: 84, 0x310: 84, 0x311: 84, 0x312: 84, @@ -128,12 +128,12 @@ joining_types = { 0x317: 84, 0x318: 84, 0x319: 84, - 0x31a: 84, - 0x31b: 84, - 0x31c: 84, - 0x31d: 84, - 0x31e: 84, - 0x31f: 84, + 0x31A: 84, + 0x31B: 84, + 0x31C: 84, + 0x31D: 84, + 0x31E: 84, + 0x31F: 84, 0x320: 84, 0x321: 84, 0x322: 84, @@ -144,12 +144,12 @@ joining_types = { 0x327: 84, 0x328: 84, 0x329: 84, - 0x32a: 84, - 0x32b: 84, - 0x32c: 84, - 0x32d: 84, - 0x32e: 84, - 0x32f: 84, + 0x32A: 84, + 0x32B: 84, + 0x32C: 84, + 0x32D: 84, + 0x32E: 84, + 0x32F: 84, 0x330: 84, 0x331: 84, 0x332: 84, @@ -160,12 +160,12 @@ joining_types = { 0x337: 84, 0x338: 84, 0x339: 84, - 0x33a: 84, - 0x33b: 84, - 0x33c: 84, - 0x33d: 84, - 0x33e: 84, - 0x33f: 84, + 0x33A: 84, + 0x33B: 84, + 0x33C: 84, + 0x33D: 84, + 0x33E: 84, + 0x33F: 84, 0x340: 84, 0x341: 84, 0x342: 84, @@ -176,12 +176,12 @@ joining_types = { 0x347: 84, 0x348: 84, 0x349: 84, - 0x34a: 84, - 0x34b: 84, - 0x34c: 84, - 0x34d: 84, - 0x34e: 84, - 0x34f: 84, + 0x34A: 84, + 0x34B: 84, + 0x34C: 84, + 0x34D: 84, + 0x34E: 84, + 0x34F: 84, 0x350: 84, 0x351: 84, 0x352: 84, @@ -192,12 +192,12 @@ joining_types = { 0x357: 84, 0x358: 84, 0x359: 84, - 0x35a: 84, - 0x35b: 84, - 0x35c: 84, - 0x35d: 84, - 0x35e: 84, - 0x35f: 84, + 0x35A: 84, + 0x35B: 84, + 0x35C: 84, + 0x35D: 84, + 0x35E: 84, + 0x35F: 84, 0x360: 84, 0x361: 84, 0x362: 84, @@ -208,12 +208,12 @@ joining_types = { 0x367: 84, 0x368: 84, 0x369: 84, - 0x36a: 84, - 0x36b: 84, - 0x36c: 84, - 0x36d: 84, - 0x36e: 84, - 0x36f: 84, + 0x36A: 84, + 0x36B: 84, + 0x36C: 84, + 0x36D: 84, + 0x36E: 84, + 0x36F: 84, 0x483: 84, 0x484: 84, 0x485: 84, @@ -230,48 +230,48 @@ joining_types = { 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, + 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, @@ -282,8 +282,8 @@ joining_types = { 0x617: 84, 0x618: 84, 0x619: 84, - 0x61a: 84, - 0x61c: 84, + 0x61A: 84, + 0x61C: 84, 0x620: 68, 0x622: 82, 0x623: 82, @@ -293,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, @@ -309,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, @@ -325,12 +325,12 @@ joining_types = { 0x647: 68, 0x648: 82, 0x649: 68, - 0x64a: 68, - 0x64b: 84, - 0x64c: 84, - 0x64d: 84, - 0x64e: 84, - 0x64f: 84, + 0x64A: 68, + 0x64B: 84, + 0x64C: 84, + 0x64D: 84, + 0x64E: 84, + 0x64F: 84, 0x650: 84, 0x651: 84, 0x652: 84, @@ -341,14 +341,14 @@ joining_types = { 0x657: 84, 0x658: 84, 0x659: 84, - 0x65a: 84, - 0x65b: 84, - 0x65c: 84, - 0x65d: 84, - 0x65e: 84, - 0x65f: 84, - 0x66e: 68, - 0x66f: 68, + 0x65A: 84, + 0x65B: 84, + 0x65C: 84, + 0x65D: 84, + 0x65E: 84, + 0x65F: 84, + 0x66E: 68, + 0x66F: 68, 0x670: 84, 0x671: 82, 0x672: 82, @@ -358,12 +358,12 @@ joining_types = { 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, @@ -374,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, @@ -390,91 +390,91 @@ 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, - 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, + 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, @@ -485,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, @@ -501,12 +501,12 @@ joining_types = { 0x727: 68, 0x728: 82, 0x729: 68, - 0x72a: 82, - 0x72b: 68, - 0x72c: 82, - 0x72d: 68, - 0x72e: 68, - 0x72f: 82, + 0x72A: 82, + 0x72B: 68, + 0x72C: 82, + 0x72D: 68, + 0x72E: 68, + 0x72F: 82, 0x730: 84, 0x731: 84, 0x732: 84, @@ -517,12 +517,12 @@ joining_types = { 0x737: 84, 0x738: 84, 0x739: 84, - 0x73a: 84, - 0x73b: 84, - 0x73c: 84, - 0x73d: 84, - 0x73e: 84, - 0x73f: 84, + 0x73A: 84, + 0x73B: 84, + 0x73C: 84, + 0x73D: 84, + 0x73E: 84, + 0x73F: 84, 0x740: 84, 0x741: 84, 0x742: 84, @@ -533,10 +533,10 @@ joining_types = { 0x747: 84, 0x748: 84, 0x749: 84, - 0x74a: 84, - 0x74d: 82, - 0x74e: 68, - 0x74f: 68, + 0x74A: 84, + 0x74D: 82, + 0x74E: 68, + 0x74F: 68, 0x750: 68, 0x751: 68, 0x752: 68, @@ -547,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, @@ -563,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, @@ -579,76 +579,76 @@ joining_types = { 0x777: 68, 0x778: 82, 0x779: 82, - 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, + 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, + 0x81B: 84, + 0x81C: 84, + 0x81D: 84, + 0x81E: 84, + 0x81F: 84, 0x820: 84, 0x821: 84, 0x822: 84, @@ -657,10 +657,10 @@ joining_types = { 0x826: 84, 0x827: 84, 0x829: 84, - 0x82a: 84, - 0x82b: 84, - 0x82c: 84, - 0x82d: 84, + 0x82A: 84, + 0x82B: 84, + 0x82C: 84, + 0x82D: 84, 0x840: 82, 0x841: 68, 0x842: 68, @@ -671,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, @@ -687,8 +687,8 @@ joining_types = { 0x857: 82, 0x858: 82, 0x859: 84, - 0x85a: 84, - 0x85b: 84, + 0x85A: 84, + 0x85B: 84, 0x860: 68, 0x862: 68, 0x863: 68, @@ -697,7 +697,7 @@ joining_types = { 0x867: 82, 0x868: 68, 0x869: 82, - 0x86a: 82, + 0x86A: 82, 0x870: 82, 0x871: 82, 0x872: 82, @@ -708,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, @@ -722,117 +722,117 @@ joining_types = { 0x885: 67, 0x886: 68, 0x889: 68, - 0x88a: 68, - 0x88b: 68, - 0x88c: 68, - 0x88d: 68, - 0x88e: 82, + 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, + 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, + 0x93A: 84, + 0x93C: 84, 0x941: 84, 0x942: 84, 0x943: 84, @@ -841,7 +841,7 @@ joining_types = { 0x946: 84, 0x947: 84, 0x948: 84, - 0x94d: 84, + 0x94D: 84, 0x951: 84, 0x952: 84, 0x953: 84, @@ -852,215 +852,215 @@ joining_types = { 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, + 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, @@ -1069,13 +1069,13 @@ joining_types = { 0x1036: 84, 0x1037: 84, 0x1039: 84, - 0x103a: 84, - 0x103d: 84, - 0x103e: 84, + 0x103A: 84, + 0x103D: 84, + 0x103E: 84, 0x1058: 84, 0x1059: 84, - 0x105e: 84, - 0x105f: 84, + 0x105E: 84, + 0x105F: 84, 0x1060: 84, 0x1071: 84, 0x1072: 84, @@ -1084,11 +1084,11 @@ joining_types = { 0x1082: 84, 0x1085: 84, 0x1086: 84, - 0x108d: 84, - 0x109d: 84, - 0x135d: 84, - 0x135e: 84, - 0x135f: 84, + 0x108D: 84, + 0x109D: 84, + 0x135D: 84, + 0x135E: 84, + 0x135F: 84, 0x1712: 84, 0x1713: 84, 0x1714: 84, @@ -1098,34 +1098,34 @@ joining_types = { 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, + 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, - 0x180b: 84, - 0x180c: 84, - 0x180d: 84, - 0x180f: 84, + 0x180A: 67, + 0x180B: 84, + 0x180C: 84, + 0x180D: 84, + 0x180F: 84, 0x1820: 68, 0x1821: 68, 0x1822: 68, @@ -1136,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, @@ -1152,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, @@ -1168,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, @@ -1184,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, @@ -1200,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, @@ -1220,12 +1220,12 @@ joining_types = { 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, @@ -1236,23 +1236,23 @@ 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, - 0x18a9: 84, - 0x18aa: 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, + 0x18A9: 84, + 0x18AA: 68, 0x1920: 84, 0x1921: 84, 0x1922: 84, @@ -1260,712 +1260,712 @@ joining_types = { 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, + 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, + 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, + 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, + 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, + 0x1103A: 84, + 0x1103B: 84, + 0x1103C: 84, + 0x1103D: 84, + 0x1103E: 84, + 0x1103F: 84, 0x11040: 84, 0x11041: 84, 0x11042: 84, @@ -1976,27 +1976,27 @@ joining_types = { 0x11070: 84, 0x11073: 84, 0x11074: 84, - 0x1107f: 84, + 0x1107F: 84, 0x11080: 84, 0x11081: 84, - 0x110b3: 84, - 0x110b4: 84, - 0x110b5: 84, - 0x110b6: 84, - 0x110b9: 84, - 0x110ba: 84, - 0x110c2: 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, + 0x1112A: 84, + 0x1112B: 84, + 0x1112D: 84, + 0x1112E: 84, + 0x1112F: 84, 0x11130: 84, 0x11131: 84, 0x11132: 84, @@ -2005,49 +2005,49 @@ joining_types = { 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, + 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, + 0x1123E: 84, 0x11241: 84, - 0x112df: 84, - 0x112e3: 84, - 0x112e4: 84, - 0x112e5: 84, - 0x112e6: 84, - 0x112e7: 84, - 0x112e8: 84, - 0x112e9: 84, - 0x112ea: 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, + 0x1133B: 84, + 0x1133C: 84, 0x11340: 84, 0x11366: 84, 0x11367: 84, 0x11368: 84, 0x11369: 84, - 0x1136a: 84, - 0x1136b: 84, - 0x1136c: 84, + 0x1136A: 84, + 0x1136B: 84, + 0x1136C: 84, 0x11370: 84, 0x11371: 84, 0x11372: 84, @@ -2055,38 +2055,38 @@ joining_types = { 0x11374: 84, 0x11438: 84, 0x11439: 84, - 0x1143a: 84, - 0x1143b: 84, - 0x1143c: 84, - 0x1143d: 84, - 0x1143e: 84, - 0x1143f: 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, + 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, @@ -2094,22 +2094,22 @@ joining_types = { 0x11637: 84, 0x11638: 84, 0x11639: 84, - 0x1163a: 84, - 0x1163d: 84, - 0x1163f: 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, + 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, @@ -2117,9 +2117,9 @@ joining_types = { 0x11727: 84, 0x11728: 84, 0x11729: 84, - 0x1172a: 84, - 0x1172b: 84, - 0x1182f: 84, + 0x1172A: 84, + 0x1172B: 84, + 0x1182F: 84, 0x11830: 84, 0x11831: 84, 0x11832: 84, @@ -2129,142 +2129,142 @@ joining_types = { 0x11836: 84, 0x11837: 84, 0x11839: 84, - 0x1183a: 84, - 0x1193b: 84, - 0x1193c: 84, - 0x1193e: 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, + 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, @@ -2275,1971 +2275,1969 @@ joining_types = { 0x13437: 84, 0x13438: 84, 0x13439: 84, - 0x1343a: 84, - 0x1343b: 84, - 0x1343c: 84, - 0x1343d: 84, - 0x1343e: 84, - 0x1343f: 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, + 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, + 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, - 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, 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, - 0x1e08f0001e090, - 0x1e1000001e12d, - 0x1e1300001e13e, - 0x1e1400001e14a, - 0x1e14e0001e14f, - 0x1e2900001e2af, - 0x1e2c00001e2fa, - 0x1e4d00001e4fa, - 0x1e7e00001e7e7, - 0x1e7e80001e7ec, - 0x1e7ed0001e7ef, - 0x1e7f00001e7ff, - 0x1e8000001e8c5, - 0x1e8d00001e8d7, - 0x1e9220001e94c, - 0x1e9500001e95a, - 0x200000002a6e0, - 0x2a7000002b73a, - 0x2b7400002b81e, - 0x2b8200002cea2, - 0x2ceb00002ebe1, - 0x2ebf00002ee5e, - 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/python3.12/site-packages/pip/_vendor/idna/intranges.py b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/intranges.py index 6a43b047..7bfaa8d8 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/intranges.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/idna/package_data.py b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/package_data.py index ed811133..514ff7e2 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/package_data.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/package_data.py @@ -1,2 +1 @@ -__version__ = '3.7' - +__version__ = "3.10" diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py index 6a1eddbf..eb894327 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/idna/uts46data.py @@ -3,8515 +3,8598 @@ from typing import List, Tuple, Union - """IDNA Mapping Table from UTS46.""" -__version__ = '15.1.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', 'ß'), - (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'), - (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'), + (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 [ - (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', 'ⱜ'), + (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 [ - (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', 'ⳇ'), + (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 [ - (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', 'å©'), + (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 [ - (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', '而'), + (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 [ - (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'), + (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 [ - (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', 'ᆅ'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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', 'グラムトン'), + (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 [ - (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', '大正'), + (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 [ - (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æ—¥'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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', 'áž'), + (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 [ - (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', 'é›·'), + (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 [ - (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', '玲'), + (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 [ - (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', 'æ™´'), + (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 [ - (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', '塚'), + (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 [ - (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'), + (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 [ - (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', 'Ù‰'), + (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 [ - (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', 'يي'), + (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 [ - (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', 'ÙØ¬'), + (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 [ - (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', 'صي'), + (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 [ - (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', 'شحي'), + (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 [ - (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', '*'), + (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 [ - (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', '>'), + (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 [ - (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', 'ツ'), + (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 [ - (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', 'â– '), + (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 [ - (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', 'ð“¡'), + (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 [ - (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', 'É—'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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', '𑣊'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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', 'η'), + (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 [ - (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', 'ω'), + (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 [ - (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', 'κ'), + (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 [ - (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', 'ж'), + (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 [ - (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', '𞤯'), + (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 [ - (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', 'س'), + (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 [ - (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', 'ذ'), + (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 [ - (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'), + (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 [ - (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'), + (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 [ - (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', 'å’¢'), + (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 [ - (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', 'æ…Ž'), + (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 [ - (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', '滇'), + (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 [ - (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', '𦉇'), + (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 [ - (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', 'èµ·'), + (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 [ - (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/python3.12/site-packages/pip/_vendor/msgpack/__init__.py b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.py index 919b86f1..b6151054 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.py @@ -1,20 +1,20 @@ -from .exceptions import * -from .ext import ExtType, Timestamp - +# ruff: noqa: F401 import os +from .exceptions import * # noqa: F403 +from .ext import ExtType, Timestamp -version = (1, 0, 8) -__version__ = "1.0.8" +version = (1, 1, 0) +__version__ = "1.1.0" if os.environ.get("MSGPACK_PUREPYTHON"): - from .fallback import Packer, unpackb, Unpacker + 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/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc index c2157ee1..d00e2198 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc index 24edd73f..90ccd5f3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc index 43c89f8f..0f9f7577 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/ext.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc index e00f1e0e..2207a065 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/__pycache__/fallback.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py index 02c2c430..9694819a 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/ext.py @@ -1,6 +1,6 @@ -from collections import namedtuple import datetime import struct +from collections import namedtuple class ExtType(namedtuple("ExtType", "code data")): @@ -157,7 +157,9 @@ class Timestamp: :rtype: `datetime.datetime` """ utc = datetime.timezone.utc - return datetime.datetime.fromtimestamp(0, utc) + datetime.timedelta(seconds=self.to_unix()) + return datetime.datetime.fromtimestamp(0, utc) + datetime.timedelta( + seconds=self.seconds, microseconds=self.nanoseconds // 1000 + ) @staticmethod def from_datetime(dt): @@ -165,4 +167,4 @@ class Timestamp: :rtype: Timestamp """ - return Timestamp.from_unix(dt.timestamp()) + return Timestamp(seconds=int(dt.timestamp()), nanoseconds=dt.microsecond * 1000) diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py index a174162a..b02e47cf 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/msgpack/fallback.py @@ -1,27 +1,22 @@ """Fallback pure Python implementation of msgpack""" -from datetime import datetime as _DateTime -import sys -import struct +import struct +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: + 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): @@ -34,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 @@ -231,6 +226,7 @@ class Unpacker: def __init__( self, file_like=None, + *, read_size=0, use_list=True, raw=False, @@ -333,6 +329,7 @@ class Unpacker: # 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.""" @@ -649,32 +646,13 @@ class Packer: 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, @@ -682,17 +660,17 @@ class Packer: 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() + 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( @@ -823,18 +801,18 @@ class Packer: 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): @@ -843,7 +821,7 @@ class Packer: 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): @@ -852,7 +830,7 @@ class Packer: 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): @@ -941,11 +919,11 @@ class Packer: 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: + if _USING_STRINGBUILDER: return memoryview(self.bytes()) else: return self._buffer.getbuffer() diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py index 9ba41d83..d79f73c5 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__init__.py @@ -6,10 +6,10 @@ __title__ = "packaging" __summary__ = "Core utilities for Python packages" __uri__ = "https://github.com/pypa/packaging" -__version__ = "24.1" +__version__ = "24.2" __author__ = "Donald Stufft and individual contributors" __email__ = "donald@stufft.io" __license__ = "BSD-2-Clause or Apache-2.0" -__copyright__ = "2014 %s" % __author__ +__copyright__ = f"2014 {__author__}" diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc index e4add910..f6ecfa83 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc index 50322474..03ab2aac 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc index 766911f4..ef33cd9d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc index 52c9918d..3979046d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc index e7c2561e..507c65a4 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_parser.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc index fddf4818..65fb5df0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_structures.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc index 240d16f2..d843e8bb 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc index f7dff50c..21fea863 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/markers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc index 7b4f0f4f..aa16fd7c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/metadata.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc index a298059d..f41e73c1 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/requirements.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc index 611d91da..ab5e84ca 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc index 46731175..1a527c35 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/tags.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc index 6f0dba91..c0ae196b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc index f7fb4b7c..1fd0514a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/__pycache__/version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py index f7a02180..25f4282c 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_elffile.py @@ -48,8 +48,8 @@ class ELFFile: try: ident = self._read("16B") - except struct.error: - raise ELFInvalid("unable to parse identification") + 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}") @@ -67,11 +67,11 @@ class ELFFile: (2, 1): ("HHIQQQIHHH", ">IIQQQQQQ", (0, 2, 5)), # 64-bit MSB. }[(self.capacity, self.encoding)] - except KeyError: + except KeyError as e: raise ELFInvalid( f"unrecognized capacity ({self.capacity}) or " f"encoding ({self.encoding})" - ) + ) from e try: ( diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py index 08f651fb..61339a6f 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/_manylinux.py @@ -164,6 +164,7 @@ def _parse_glibc_version(version_str: str) -> tuple[int, int]: f"Expected glibc version with 2 components major.minor," f" got: {version_str}", RuntimeWarning, + stacklevel=2, ) return -1, -1 return int(m.group("major")), int(m.group("minor")) diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py index 7ac7bb69..fb7f49cf 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/markers.py @@ -18,9 +18,9 @@ from .utils import canonicalize_name __all__ = [ "InvalidMarker", + "Marker", "UndefinedComparison", "UndefinedEnvironmentName", - "Marker", "default_environment", ] @@ -232,7 +232,7 @@ def _evaluate_markers(markers: MarkerList, environment: dict[str, str]) -> bool: def format_full_version(info: sys._version_info) -> str: - version = "{0.major}.{0.minor}.{0.micro}".format(info) + version = f"{info.major}.{info.minor}.{info.micro}" kind = info.releaselevel if kind != "final": version += kind[0] + str(info.serial) @@ -309,12 +309,6 @@ class Marker: """ current_environment = cast("dict[str, str]", default_environment()) current_environment["extra"] = "" - # Work around platform.python_version() returning something that is not PEP 440 - # compliant for non-tagged Python builds. We preserve default_environment()'s - # behavior of returning platform.python_version() verbatim, and leave it to the - # caller to provide a syntactically valid version if they want to override it. - if current_environment["python_full_version"].endswith("+"): - current_environment["python_full_version"] += "local" if environment is not None: current_environment.update(environment) # The API used to allow setting extra to None. We need to handle this @@ -322,4 +316,16 @@ class Marker: if 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]) -> dict[str, str]: + """ + Work around platform.python_version() returning something that is not PEP 440 + compliant for non-tagged Python builds. + """ + if env["python_full_version"].endswith("+"): + env["python_full_version"] += "local" + return env diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py index eb8dc844..721f411c 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/metadata.py @@ -5,6 +5,8 @@ import email.header import email.message import email.parser import email.policy +import pathlib +import sys import typing from typing import ( Any, @@ -15,15 +17,16 @@ from typing import ( cast, ) -from . import requirements, specifiers, utils +from . import licenses, requirements, specifiers, utils from . import version as version_module +from .licenses import NormalizedLicenseExpression T = typing.TypeVar("T") -try: - ExceptionGroup -except NameError: # pragma: no cover +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. @@ -42,9 +45,6 @@ except NameError: # pragma: no cover def __repr__(self) -> str: return f"{self.__class__.__name__}({self.message!r}, {self.exceptions!r})" -else: # pragma: no cover - ExceptionGroup = ExceptionGroup - class InvalidMetadata(ValueError): """A metadata field contains invalid data.""" @@ -128,6 +128,10 @@ class RawMetadata(TypedDict, total=False): # 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", @@ -137,6 +141,7 @@ _STRING_FIELDS = { "download_url", "home_page", "license", + "license_expression", "maintainer", "maintainer_email", "metadata_version", @@ -149,6 +154,7 @@ _STRING_FIELDS = { _LIST_FIELDS = { "classifiers", "dynamic", + "license_files", "obsoletes", "obsoletes_dist", "platforms", @@ -167,7 +173,7 @@ _DICT_FIELDS = { def _parse_keywords(data: str) -> list[str]: - """Split a string of comma-separate keyboards into a list of keywords.""" + """Split a string of comma-separated keywords into a list of keywords.""" return [k.strip() for k in data.split(",")] @@ -216,16 +222,18 @@ def _get_payload(msg: email.message.Message, source: bytes | str) -> str: # 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: str = msg.get_payload() + 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: bytes = msg.get_payload(decode=True) + bpayload = msg.get_payload(decode=True) + assert isinstance(bpayload, bytes) try: return bpayload.decode("utf8", "strict") - except UnicodeDecodeError: - raise ValueError("payload in an invalid encoding") + 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 @@ -251,6 +259,8 @@ _EMAIL_TO_RAW_MAPPING = { "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", @@ -426,7 +436,7 @@ def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[str]]]: payload = _get_payload(parsed, data) except ValueError: unparsed.setdefault("description", []).append( - parsed.get_payload(decode=isinstance(data, bytes)) + parsed.get_payload(decode=isinstance(data, bytes)) # type: ignore[call-overload] ) else: if payload: @@ -453,8 +463,8 @@ _NOT_FOUND = object() # Keep the two values in sync. -_VALID_METADATA_VERSIONS = ["1.0", "1.1", "1.2", "2.1", "2.2", "2.3"] -_MetadataVersion = Literal["1.0", "1.1", "1.2", "2.1", "2.2", "2.3"] +_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"]) @@ -535,7 +545,7 @@ class _Validator(Generic[T]): except utils.InvalidName as exc: raise self._invalid_metadata( f"{value!r} is invalid for {{field}}", cause=exc - ) + ) from exc else: return value @@ -547,7 +557,7 @@ class _Validator(Generic[T]): 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.""" @@ -591,10 +601,12 @@ class _Validator(Generic[T]): for dynamic_field in map(str.lower, value): if dynamic_field in {"name", "version", "metadata-version"}: raise self._invalid_metadata( - f"{value!r} is not allowed as a dynamic field" + 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"{value!r} is not a valid dynamic field") + raise self._invalid_metadata( + f"{dynamic_field!r} is not a valid dynamic field" + ) return list(map(str.lower, value)) def _process_provides_extra( @@ -608,7 +620,7 @@ class _Validator(Generic[T]): except utils.InvalidName as exc: raise self._invalid_metadata( f"{name!r} is invalid for {{field}}", cause=exc - ) + ) from exc else: return normalized_names @@ -618,7 +630,7 @@ class _Validator(Generic[T]): 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, @@ -629,10 +641,49 @@ class _Validator(Generic[T]): 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) + 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. @@ -688,8 +739,8 @@ class Metadata: field = _RAW_TO_EMAIL_MAPPING[key] exc = InvalidMetadata( field, - "{field} introduced in metadata version " - "{field_metadata_version}, not {metadata_version}", + f"{field} introduced in metadata version " + f"{field_metadata_version}, not {metadata_version}", ) exceptions.append(exc) continue @@ -733,6 +784,8 @@ class Metadata: 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 @@ -770,6 +823,12 @@ class Metadata: """: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( diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py index f3ac480f..f18016e1 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/specifiers.py @@ -234,7 +234,7 @@ class Specifier(BaseSpecifier): """ match = self._regex.search(spec) if not match: - raise InvalidSpecifier(f"Invalid specifier: '{spec}'") + raise InvalidSpecifier(f"Invalid specifier: {spec!r}") self._spec: tuple[str, str] = ( match.group("operator").strip(), @@ -256,7 +256,7 @@ class Specifier(BaseSpecifier): # operators, and if they are if they are including an explicit # prerelease. operator, version = self._spec - if operator in ["==", ">=", "<=", "~=", "==="]: + if operator in ["==", ">=", "<=", "~=", "===", ">", "<"]: # The == specifier can include a trailing .*, if it does we # want to remove before parsing. if operator == "==" and version.endswith(".*"): @@ -694,12 +694,18 @@ class SpecifierSet(BaseSpecifier): specifiers (``>=3.0,!=3.1``), or no specifier at all. """ - def __init__(self, specifiers: str = "", prereleases: bool | None = None) -> None: + 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 @@ -710,12 +716,17 @@ class SpecifierSet(BaseSpecifier): raised. """ - # 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()] + 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)) + # 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. diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py index 703f0ed5..f5903402 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/tags.py @@ -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() @@ -235,9 +235,8 @@ def cpython_tags( 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_) @@ -435,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. @@ -462,25 +459,18 @@ 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( @@ -500,7 +490,7 @@ def ios_platforms( # 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] + _, release, _, _ = platform.ios_ver() # type: ignore[attr-defined, unused-ignore] version = cast("AppleVersion", tuple(map(int, release.split(".")[:2]))) if multiarch is None: diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py index d33da5bb..23450953 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/utils.py @@ -4,11 +4,12 @@ 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 +from .version import InvalidVersion, Version, _TrimmedRelease BuildTag = Union[Tuple[()], Tuple[int, str]] NormalizedName = NewType("NormalizedName", str) @@ -54,52 +55,40 @@ 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 - release_segment = ".".join(str(x) for x in parsed.release) - if strip_trailing_zero: - # NB: This strips trailing '.0's to normalize - release_segment = re.sub(r"(\.0)+$", "", release_segment) - parts.append(release_segment) - - # 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( @@ -107,28 +96,28 @@ def parse_wheel_filename( ) -> 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. 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) try: version = Version(parts[1]) except InvalidVersion as e: raise InvalidWheelFilename( - f"Invalid wheel filename (invalid version): {filename}" + f"Invalid wheel filename (invalid version): {filename!r}" ) from e if dashes == 5: @@ -136,7 +125,7 @@ def parse_wheel_filename( 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: @@ -153,14 +142,14 @@ 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) @@ -168,7 +157,7 @@ def parse_sdist_filename(filename: str) -> tuple[NormalizedName, Version]: version = Version(version_part) except InvalidVersion as e: raise InvalidSdistFilename( - f"Invalid sdist filename (invalid version): {filename}" + f"Invalid sdist filename (invalid version): {filename!r}" ) from e return (name, version) diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/version.py b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/version.py index 8b0a0408..21f44ca0 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/version.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/packaging/version.py @@ -15,7 +15,7 @@ from typing import Any, Callable, NamedTuple, SupportsInt, Tuple, Union from ._structures import Infinity, InfinityType, NegativeInfinity, NegativeInfinityType -__all__ = ["VERSION_PATTERN", "parse", "Version", "InvalidVersion"] +__all__ = ["VERSION_PATTERN", "InvalidVersion", "Version", "parse"] LocalType = Tuple[Union[int, str], ...] @@ -199,7 +199,7 @@ class Version(_BaseVersion): # 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( @@ -232,7 +232,7 @@ class Version(_BaseVersion): return f"" def __str__(self) -> str: - """A string representation of the version that can be rounded-tripped. + """A string representation of the version that can be round-tripped. >>> str(Version("1.0a5")) '1.0a5' @@ -350,8 +350,8 @@ class Version(_BaseVersion): '1.2.3' >>> Version("1.2.3+abc").public '1.2.3' - >>> Version("1.2.3+abc.dev1").public - '1.2.3' + >>> Version("1!1.2.3dev1+abc").public + '1!1.2.3.dev1' """ return str(self).split("+", 1)[0] @@ -363,7 +363,7 @@ class Version(_BaseVersion): '1.2.3' >>> Version("1.2.3+abc").base_version '1.2.3' - >>> Version("1!1.2.3+abc.dev1").base_version + >>> 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 @@ -451,6 +451,23 @@ class Version(_BaseVersion): 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: @@ -476,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" diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc index 485db36f..72f94e2c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pkg_resources/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py index d58dd2b7..edc21fad 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__init__.py @@ -19,18 +19,18 @@ if TYPE_CHECKING: from pathlib import Path from typing 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 # noqa: PLC0415 - elif sys.platform == "darwin": - from pip._vendor.platformdirs.macos import MacOS as Result # noqa: PLC0415 - else: - from pip._vendor.platformdirs.unix import Unix as Result # noqa: PLC0415 - 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 # noqa: PLC0415 @@ -39,10 +39,14 @@ def _set_platform_dir_class() -> type[PlatformDirsABC]: 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 diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc index 4e96410f..9b973e0c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc index 62713f20..3b7a34a3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc index b439853b..d38f805e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/android.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc index a735d7ee..ab8456df 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc index 20b73407..a04a9515 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc index 03ce987d..ab5cd429 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc index 4185dceb..f6cb25ee 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc index 03ec9512..135fdfd7 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py index afd3141c..7004a852 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/android.py @@ -117,7 +117,7 @@ class Android(PlatformDirsABC): @lru_cache(maxsize=1) -def _android_folder() -> str | None: # noqa: C901, PLR0912 +def _android_folder() -> str | None: # noqa: C901 """:return: base folder for the Android OS or None if it cannot be found""" result: str | None = None # type checker isn't happy with our "import android", just don't do this when type checking see diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py index c50caa64..18d660e4 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/api.py @@ -91,6 +91,12 @@ class PlatformDirsABC(ABC): # noqa: PLR0904 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: diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py index eb1ba5df..e4b0391a 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/macos.py @@ -4,9 +4,13 @@ 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): """ @@ -42,6 +46,11 @@ class MacOS(PlatformDirsABC): 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: """:return: config directory tied to the user, same as `user_data_dir`""" @@ -74,6 +83,11 @@ class MacOS(PlatformDirsABC): 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: """:return: state directory tied to the user, same as `user_data_dir`""" diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py index 9500ade6..f1942e92 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/unix.py @@ -218,12 +218,6 @@ class Unix(PlatformDirsABC): # noqa: PLR0904 """: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 diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py index 6483ddce..afb49243 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/platformdirs/version.py @@ -12,5 +12,5 @@ __version__: str __version_tuple__: VERSION_TUPLE version_tuple: VERSION_TUPLE -__version__ = version = '4.2.2' -__version_tuple__ = version_tuple = (4, 2, 2) +__version__ = version = '4.3.6' +__version_tuple__ = version_tuple = (4, 3, 6) diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc index 6c9b42cb..e02f1db5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc index 8bed6f66..8a13fe54 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/__main__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/cmdline.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/cmdline.cpython-312.pyc index a1056701..383c3fb1 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/cmdline.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/cmdline.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc index c3e1feb2..b9d2f92c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/console.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc index 2a9e866b..2ca4bef9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/filter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc index c341abef..0b2f69cf 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/formatter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc index 942f75e2..024c0c20 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/lexer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc index 72105cab..1af39be7 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/modeline.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc index 81224bda..73ac3199 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/plugin.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc index 030fbe97..2844a79c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/regexopt.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc index a7b41930..61bc89e3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/scanner.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc index ab893e1a..8809c8a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/sphinxext.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc index 6affa0be..c40cf36a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/style.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc index f84457db..0cee3e2c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/token.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc index b90a129c..fab89b62 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/unistring.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc index 122d1e80..ae54b846 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/__pycache__/util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc index 995dd3ee..6a2684a8 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/filters/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc index 90666dbd..5ac068c8 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc index 38bccb76..0c50f2cc 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/_mapping.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-312.pyc index ee5d8e85..a1f030f6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/bbcode.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/groff.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/groff.cpython-312.pyc index 9c57acdc..0e6441e2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/groff.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/groff.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/html.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/html.cpython-312.pyc index b0edaa2c..7ba659a9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/html.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/html.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/img.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/img.cpython-312.pyc index 7b1b4ef3..081fa21b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/img.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/img.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/irc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/irc.cpython-312.pyc index 490b3cc0..eaa452f0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/irc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/irc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/latex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/latex.cpython-312.pyc index 346cdb7b..3466fb90 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/latex.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/latex.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/other.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/other.cpython-312.pyc index 767c4fbc..2f2b57d9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/other.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/other.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-312.pyc index 7d22c555..47c6b644 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/pangomarkup.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-312.pyc index 5cea6a0a..0b401e4f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/rtf.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/svg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/svg.cpython-312.pyc index a92d9fe0..f5536af3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/svg.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/svg.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-312.pyc index a48dee14..10188952 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-312.pyc index 6d70ebf7..825580a1 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/formatters/__pycache__/terminal256.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc index 2110eee1..74aba19c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc index 0c6304a3..1ea03501 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/_mapping.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc index 60d93604..65d8ac6f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/lexers/__pycache__/python.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc index 666053a0..871f7cd2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc index a44ec014..c1725406 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pygments/styles/__pycache__/_mapping.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__init__.py b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__init__.py index ddfcf7f7..746b89f7 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__init__.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc index 23a8b720..39a3b051 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-312.pyc deleted file mode 100644 index 91e1c358..00000000 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_compat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc index 09bf5604..1f9bede7 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/__pycache__/_impl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_compat.py b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_compat.py deleted file mode 100644 index 95e509c0..00000000 --- a/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py index 37b0e653..d1e9d7bb 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py index 917fa065..906d0ba2 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__init__.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc index 554f55ad..9eedadef 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc index a58756db..8ee7ee4f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/__pycache__/_in_process.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py b/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py index ee511ff2..d689bab7 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc index 08aa58e7..75acdcfa 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc index b4fae82b..645d100f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/__version__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc index 0e0226a6..0cd0dfc2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/_internal_utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc index ca7a5a69..a1cee4d5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/adapters.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc index bdf3d262..cd65889e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc index 6fa4e4a4..e9687455 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/auth.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc index 9acbfb2c..a1d45758 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/certs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc index 15e7b6f1..53a489d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc index c3adc92c..3ba6fa3a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/cookies.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc index 8c5f6287..ab714a27 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc index 2bfede34..2131bf15 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/help.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc index 03e91c6d..dac7c09e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/hooks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc index 5895fda8..ae163346 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/models.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc index 2755ac46..0ab88ae6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/packages.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc index b2ca0051..851c096c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/sessions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc index c295f0c9..f9736564 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/status_codes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc index 3ba86cfe..3b834544 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/structures.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc index 16402f6f..0104476d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/__pycache__/utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/certs.py b/.venv/lib/python3.12/site-packages/pip/_vendor/requests/certs.py index 38696a1f..2743144b 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/requests/certs.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc index 6300ef79..7de41ab9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc index ece7a21e..668429a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/providers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc index c0ceb279..ad647a60 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/reporters.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/resolvers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/resolvers.cpython-312.pyc index 1b69a65b..f4c98eb9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/resolvers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/resolvers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc index 519bb9df..43644975 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/__pycache__/structs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-312.pyc index 6924cb8e..1924ba03 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-312.pyc index e90e035e..2893605e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/resolvelib/compat/__pycache__/collections_abc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc index 0e46b01d..19ce0675 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc index a9004de1..53436885 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/__main__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc index 4e973a8b..b203d9b7 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_cell_widths.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc index 47fe286b..d9bfcc68 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_codes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc index 3e6f396e..6114e3d9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_emoji_replace.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc index 7238c4ab..8cfb9d07 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_export_format.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc index 2ac43d6c..94714f82 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_extension.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc index 53a26beb..2313bd31 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_fileno.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc index 95fca979..7332c96e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_inspect.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc index 0ed02961..cb182349 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_log_render.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc index 6167739f..691681e2 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_loop.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc index 86211329..02122ad4 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_null_file.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc index a5750563..9e21adc3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_palettes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc index 965c8cd9..3ed0523c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_pick.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc index e8a76263..327f4a7f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_ratio.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc index 1c7f7535..96e5841c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_spinners.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc index ef404b16..5c3427c1 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_stack.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-312.pyc index 39ef8591..82222dea 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_timer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-312.pyc index 6c1c2ec3..37fd3d0b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_win32_console.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-312.pyc index fc10deac..64b07c43 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-312.pyc index 33b53b1a..7c97f1a6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_windows_renderer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-312.pyc index d6ce65b0..6528d7a3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/_wrap.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-312.pyc index 42638487..10f8e6ee 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/abc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/align.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/align.cpython-312.pyc index c9af5e16..79dad6d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/align.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/align.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-312.pyc index cc8bb917..0120fad7 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/ansi.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-312.pyc index 6695aab8..8c00d2dd 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/bar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/box.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/box.cpython-312.pyc index 4c58cfa3..27852522 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/box.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/box.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-312.pyc index 1064802e..5cc62fad 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/cells.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color.cpython-312.pyc index 55b3800d..a11204f9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-312.pyc index 40091537..87e47fdd 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/color_triplet.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-312.pyc index 4ca7a2df..457173bf 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/columns.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/console.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/console.cpython-312.pyc index 3c56385d..5d13474e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/console.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/console.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-312.pyc index a219080e..f580fbc1 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/constrain.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-312.pyc index 33eccf8e..b9c4d265 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/containers.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/control.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/control.cpython-312.pyc index 7971f3f3..eed982aa 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/control.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/control.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-312.pyc index df3664c2..9cfeabc0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/default_styles.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-312.pyc index 8050a0ed..2b9056f9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/diagnose.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc index fc781649..65785542 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/emoji.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc index 38050de5..81372504 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/errors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-312.pyc index 2d7ca922..4e3c164b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/file_proxy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-312.pyc index 801c4d23..4d4d0c1e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/filesize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-312.pyc index a40d28f6..fa332b20 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/highlighter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc index 4fafbd0a..f69945c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/json.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc index 426fe57b..411f1ac8 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/jupyter.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc index 3504a110..31882a8e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/layout.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc index c9a3d56d..5e8a01a0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc index 93c3f137..acb964c8 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/live_render.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc index 3f3c1cfd..66e0034b 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/logging.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-312.pyc index ba8a05ee..dc923534 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/markup.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-312.pyc index 7f94b59b..2fb04859 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/measure.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-312.pyc index a553a70e..749a3284 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/padding.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-312.pyc index ed65da35..36e45ff5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pager.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-312.pyc index 0eb45d85..23279ed1 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/palette.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc index a2ca6e8c..9ae4452f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/panel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc index 96098d30..f14c60ab 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/pretty.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc index ebc33faa..e1b8cdbb 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc index 0f10acca..fb521fed 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/progress_bar.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc index bd69162b..0dcbc2fd 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/prompt.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc index 43ac7e96..99ec019a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/protocol.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc index 664fdcda..ff3bd641 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/region.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc index bb2ae49c..4e7c3bf5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/repr.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc index 3be17616..0612a967 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/rule.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-312.pyc index cbed454e..8f917745 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/scope.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-312.pyc index c6d312e8..1eb974e7 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/screen.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-312.pyc index 9931c5ab..08039e47 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/segment.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-312.pyc index 06792d63..443e6350 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/spinner.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/status.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/status.cpython-312.pyc index 5c3938ec..c0b880d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/status.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/status.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/style.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/style.cpython-312.pyc index abad3967..fb559878 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/style.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/style.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-312.pyc index efe5db53..bd8954b9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/styled.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-312.pyc index 62fe6bd0..88054e3f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/syntax.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/table.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/table.cpython-312.pyc index d3c1b367..28fb7c46 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/table.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/table.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-312.pyc index 5b323605..00d707f9 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/terminal_theme.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/text.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/text.cpython-312.pyc index 4c88122a..baf9ace5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/text.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/text.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-312.pyc index 44a6f659..0e77fc65 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/theme.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-312.pyc index f4194348..a0b49587 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/themes.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-312.pyc index a387061f..fa7d44dc 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/traceback.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-312.pyc index bf518cca..4fa1395c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/__pycache__/tree.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_inspect.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_inspect.py index 30446ceb..e87698d1 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_inspect.py +++ b/.venv/lib/python3.12/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 diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_null_file.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_null_file.py index b659673e..6ae05d3e 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_null_file.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/rich/_win32_console.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_win32_console.py index 81b10829..2eba1b9b 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/_win32_console.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/rich/align.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/align.py index f7b734fd..330dcc51 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/align.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/align.py @@ -240,6 +240,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/python3.12/site-packages/pip/_vendor/rich/ansi.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/ansi.py index 66365e65..7de86ce5 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/ansi.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/rich/cells.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/cells.py index f85f928f..a8546227 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/cells.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/cells.py @@ -1,13 +1,33 @@ from __future__ import annotations -import re from functools import lru_cache 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) @@ -23,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: @@ -39,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) @@ -54,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 diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/color.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/color.py index 4270a278..e2c23a6a 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/color.py +++ b/.venv/lib/python3.12/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): diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/console.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/console.py index a11c7c13..57288454 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/console.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/console.py @@ -1,6 +1,5 @@ import inspect import os -import platform import sys import threading import zlib @@ -76,7 +75,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 +89,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 @@ -1006,19 +1005,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(): @@ -1309,7 +1303,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 @@ -1386,9 +1380,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) @@ -1437,9 +1436,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, @@ -1536,7 +1537,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): @@ -1986,6 +1991,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 +2014,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 +2194,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 +2300,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 +2589,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/python3.12/site-packages/pip/_vendor/rich/default_styles.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/default_styles.py index dca37193..6c0d7323 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/default_styles.py +++ b/.venv/lib/python3.12/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,7 @@ 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, dim=False), "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/python3.12/site-packages/pip/_vendor/rich/filesize.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/filesize.py index 99f118e2..83bc9118 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/filesize.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/rich/highlighter.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/highlighter.py index 27714b25..e4c462e2 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/highlighter.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/rich/live.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/live.py index f0529a78..8738cf09 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/live.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/live.py @@ -37,7 +37,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. diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/logging.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/logging.py index 91368dda..ff8d5d95 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/logging.py +++ b/.venv/lib/python3.12/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: 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/python3.12/site-packages/pip/_vendor/rich/padding.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/padding.py index 1b2204f5..0161cd18 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/padding.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/rich/panel.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/panel.py index 95f4c84c..8cfa6f4a 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/panel.py +++ b/.venv/lib/python3.12/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, optional): 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. @@ -144,7 +146,8 @@ class Panel(JupyterMixin): Padding(self.renderable, _padding) if any(_padding) else self.renderable ) style = console.get_style(self.style) - border_style = style + console.get_style(self.border_style) + partial_border_style = console.get_style(self.border_style) + border_style = style + partial_border_style width = ( options.max_width if self.width is None @@ -172,6 +175,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( @@ -200,7 +206,7 @@ class Panel(JupyterMixin): title_text = self._title if title_text is not None: - title_text.stylize_before(border_style) + title_text.stylize_before(partial_border_style) child_width = ( width - 2 @@ -249,7 +255,7 @@ class Panel(JupyterMixin): subtitle_text = self._subtitle if subtitle_text is not None: - subtitle_text.stylize_before(border_style) + subtitle_text.stylize_before(partial_border_style) if subtitle_text is None or width <= 4: yield Segment(box.get_bottom([width - 2]), border_style) diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/pretty.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/pretty.py index 9b9e3ba9..c4a274f8 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/pretty.py +++ b/.venv/lib/python3.12/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,16 +203,18 @@ 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, ) @@ -353,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})") @@ -362,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()"), @@ -762,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 @@ -846,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 diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/progress.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/progress.py index 2420c24e..ec086d98 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/progress.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/progress.py @@ -39,6 +39,11 @@ if sys.version_info >= (3, 8): else: from pip._vendor.typing_extensions import Literal # pragma: no cover +if sys.version_info >= (3, 11): + from typing import Self +else: + from pip._vendor.typing_extensions import Self # pragma: no cover + from . import filesize, get_console from .console import Console, Group, JustifyMethod, RenderableType from .highlighter import Highlighter @@ -70,7 +75,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 +83,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) @@ -104,6 +109,7 @@ def track( sequence: Union[Sequence[ProgressType], Iterable[ProgressType]], description: str = "Working...", total: Optional[float] = None, + completed: int = 0, auto_refresh: bool = True, console: Optional[Console] = None, transient: bool = False, @@ -123,6 +129,7 @@ def track( sequence (Iterable[ProgressType]): A sequence (must support "len") you wish to iterate over. 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 +173,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 +280,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.""" @@ -1050,7 +1064,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. @@ -1161,10 +1175,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 @@ -1180,6 +1194,7 @@ class Progress(JupyterMixin): self, sequence: Union[Iterable[ProgressType], Sequence[ProgressType]], total: Optional[float] = None, + completed: int = 0, task_id: Optional[TaskID] = None, description: str = "Working...", update_period: float = 0.1, @@ -1189,6 +1204,7 @@ class Progress(JupyterMixin): Args: sequence (Sequence[ProgressType]): A sequence of 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. @@ -1200,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: @@ -1326,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 diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/progress_bar.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/progress_bar.py index a2bf3261..41794f76 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/progress_bar.py +++ b/.venv/lib/python3.12/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 diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/prompt.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/prompt.py index 75ff0481..fccb70db 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/prompt.py +++ b/.venv/lib/python3.12/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: @@ -371,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/python3.12/site-packages/pip/_vendor/rich/segment.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/segment.py index 93edbbde..4b5f9979 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/segment.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/segment.py @@ -109,41 +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. @@ -151,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 @@ -604,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/python3.12/site-packages/pip/_vendor/rich/spinner.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/spinner.py index 91ea630e..70570b6b 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/spinner.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/spinner.py @@ -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 diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/style.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/style.py index 313c8894..262fd6ec 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/style.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/style.py @@ -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/python3.12/site-packages/pip/_vendor/rich/syntax.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/syntax.py index c26fd878..f3d483c3 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/syntax.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/syntax.py @@ -1,5 +1,4 @@ import os.path -import platform import re import sys import textwrap @@ -52,7 +51,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 +221,7 @@ class _SyntaxHighlightRange(NamedTuple): style: StyleType start: SyntaxPosition end: SyntaxPosition + style_before: bool = False class Syntax(JupyterMixin): @@ -535,7 +535,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. @@ -545,8 +549,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 @@ -620,9 +627,7 @@ class Syntax(JupyterMixin): ) -> RenderResult: segments = Segments(self._get_syntax(console, options)) if self.padding: - yield Padding( - segments, style=self._theme.get_background_style(), pad=self.padding - ) + yield Padding(segments, style=self._get_base_style(), pad=self.padding) else: yield segments @@ -788,7 +793,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/python3.12/site-packages/pip/_vendor/rich/table.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/table.py index 43c718eb..654c8555 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/table.py +++ b/.venv/lib/python3.12/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". @@ -365,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", @@ -384,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". @@ -401,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, @@ -445,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) @@ -775,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) @@ -818,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, diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/text.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/text.py index 209aa943..5a0c6b14 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/text.py +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/text.py @@ -11,6 +11,7 @@ from typing import ( List, NamedTuple, Optional, + Pattern, Tuple, Union, ) @@ -173,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)): @@ -591,7 +592,7 @@ class Text(JupyterMixin): def highlight_regex( self, - re_highlight: str, + re_highlight: Union[Pattern[str], str], style: Optional[Union[GetStyleCallable, StyleType]] = None, *, style_prefix: str = "", @@ -600,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. @@ -612,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() @@ -998,7 +1001,7 @@ class Text(JupyterMixin): 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 @@ -1020,7 +1023,7 @@ class Text(JupyterMixin): 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 @@ -1041,6 +1044,7 @@ class Text(JupyterMixin): _Span = Span offset = len(self) for content, style in tokens: + content = strip_control_codes(content) append_text(content) if style: append_span(_Span(offset, offset + len(content), style)) diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/theme.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/theme.py index 471dfb2f..227f1d86 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/theme.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/rich/traceback.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/traceback.py index f223ad44..28d742b4 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/traceback.py +++ b/.venv/lib/python3.12/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 ( @@ -39,7 +38,7 @@ from .syntax import Syntax from .text import Text from .theme import Theme -WINDOWS = platform.system() == "Windows" +WINDOWS = sys.platform == "win32" LOCALS_MAX_LENGTH = 10 LOCALS_MAX_STRING = 80 @@ -49,6 +48,7 @@ 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 +69,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. @@ -105,6 +106,7 @@ def install( value, traceback, width=width, + code_width=code_width, extra_lines=extra_lines, theme=theme, word_wrap=word_wrap, @@ -179,6 +181,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 @@ -215,6 +218,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 +247,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 +271,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 +303,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 +323,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 +354,7 @@ class Traceback: return cls( rich_traceback, width=width, + code_width=code_width, extra_lines=extra_lines, theme=theme, word_wrap=word_wrap, @@ -436,6 +445,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,16 +484,20 @@ 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): @@ -695,7 +737,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, ) @@ -705,6 +747,14 @@ class Traceback: (f"\n{error}", "traceback.error"), ) else: + if frame.last_instruction is not None: + start, end = frame.last_instruction + syntax.stylize_range( + style="traceback.error_range", + start=start, + end=end, + style_before=True, + ) yield ( Columns( [ @@ -719,12 +769,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) @@ -742,12 +792,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/python3.12/site-packages/pip/_vendor/rich/tree.py b/.venv/lib/python3.12/site-packages/pip/_vendor/rich/tree.py index 64bc75d2..27c5cf7b 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/rich/tree.py +++ b/.venv/lib/python3.12/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, @@ -82,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)] diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__init__.py b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__init__.py index 4c6ec97e..2b08d6e7 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__init__.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-312.pyc index 7f4c83ba..ae295b88 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-312.pyc index 72ddf11c..4f845f1a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_parser.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-312.pyc index 41ac5759..ad569ba5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_re.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-312.pyc index d171ce2d..3689d2c3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/__pycache__/_types.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/_parser.py b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/_parser.py index f1bb0aa1..b548e8b8 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/_parser.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/tomli/_re.py b/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/_re.py index 994bb749..51348661 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/tomli/_re.py +++ b/.venv/lib/python3.12/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/python3.12/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-312.pyc index 4bb3d606..c7423ee1 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-312.pyc index 3042d9a5..a89fd180 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_api.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-312.pyc index d8ded6b1..604ccad6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_macos.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-312.pyc index 9a128ce2..ff20584d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_openssl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-312.pyc index dbc4b573..6a60dc7e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_ssl_constants.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-312.pyc index 535b7feb..e83a3fa0 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/truststore/__pycache__/_windows.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-312.pyc index 8d2f6b99..7b13b247 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-312.pyc index fd58611c..b63ca7e8 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_collections.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-312.pyc index b65371a8..6349f3d3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/_version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-312.pyc index c8a51291..9f931806 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connection.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-312.pyc index 982c3e4c..e57b606d 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/connectionpool.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc index 21c28894..9abe96e7 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-312.pyc index 09e27a6d..6d236658 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/fields.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-312.pyc index b11dcf58..8095c7af 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/filepost.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-312.pyc index 1ad94a2b..460b3c4a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/poolmanager.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-312.pyc index d877ea48..0500904c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/request.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-312.pyc index ff66ea16..04519f2a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/__pycache__/response.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-312.pyc index 1d66c1e3..e0b359e1 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-312.pyc index 2d486b33..de7363e6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/_appengine_environ.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-312.pyc index 7b64c34a..02c099b4 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/appengine.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-312.pyc index 23ecae5b..b0d52c37 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/ntlmpool.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc index 5bb2b6cd..8a317279 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/pyopenssl.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-312.pyc index 90f0d627..d5b9e705 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/securetransport.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-312.pyc index 70aac220..772aa0cc 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/__pycache__/socks.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-312.pyc index c97d04a1..e6f8ecbc 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-312.pyc index 41187a86..c6dfc568 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/bindings.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-312.pyc index ee8facee..a53758cf 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/contrib/_securetransport/__pycache__/low_level.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-312.pyc index fd285e09..720d5105 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-312.pyc index 4bb18228..cac978c6 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/__pycache__/six.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-312.pyc index 71c246d9..80e652e3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-312.pyc index b8f28020..a1911c9f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/makefile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-312.pyc index ac40557d..627ed7ba 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/packages/backports/__pycache__/weakref_finalize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-312.pyc index b67c04bb..594004ff 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-312.pyc index 30e91373..001db89c 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/connection.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc index 86b97020..11876558 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/proxy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-312.pyc index 2cf06d3e..43d1fe50 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/queue.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-312.pyc index 5c6149bd..0ae959ab 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/request.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-312.pyc index 5135d490..02c187f3 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/response.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-312.pyc index ae85d535..dcc8e94a 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/retry.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-312.pyc index 08dc77e3..0849f8e5 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc index 7643cd30..497c8e42 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssl_match_hostname.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-312.pyc index 96bff91d..dd6f8619 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/ssltransport.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-312.pyc index 5134484a..a733ae6f 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/timeout.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-312.pyc index 0d841689..a742025e 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/url.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-312.pyc index b45031bd..1f55e332 100644 Binary files a/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pip/_vendor/urllib3/util/__pycache__/wait.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pip/_vendor/vendor.txt b/.venv/lib/python3.12/site-packages/pip/_vendor/vendor.txt index 2ba053a6..f04a9c1e 100644 --- a/.venv/lib/python3.12/site-packages/pip/_vendor/vendor.txt +++ b/.venv/lib/python3.12/site-packages/pip/_vendor/vendor.txt @@ -1,18 +1,18 @@ -CacheControl==0.14.0 +CacheControl==0.14.1 distlib==0.3.9 distro==1.9.0 -msgpack==1.0.8 -packaging==24.1 -platformdirs==4.2.2 -pyproject-hooks==1.0.0 +msgpack==1.1.0 +packaging==24.2 +platformdirs==4.3.6 +pyproject-hooks==1.2.0 requests==2.32.3 certifi==2024.8.30 - idna==3.7 + idna==3.10 urllib3==1.26.20 -rich==13.7.1 +rich==13.9.4 pygments==2.18.0 typing_extensions==4.12.2 resolvelib==1.0.1 setuptools==70.3.0 -tomli==2.0.1 +tomli==2.2.1 truststore==0.10.0 diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py b/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py deleted file mode 100644 index 74b0465b..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/__init__.py +++ /dev/null @@ -1,3720 +0,0 @@ -""" -Package resource API --------------------- - -A resource is a logical file contained within a package, or a logical -subdirectory thereof. The package resource API expects resource names -to have their path parts separated with ``/``, *not* whatever the local -path separator is. Do not use os.path operations to manipulate resource -names being passed into the API. - -The package resource API is designed to work with normal filesystem packages, -.egg files, and unpacked .egg files. It can also work in a limited way with -.zip files and with custom PEP 302 loaders that support the ``get_data()`` -method. - -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, 9): # noqa: UP036 # Check for unsupported versions - raise RuntimeError("Python 3.9 or later is required") - -import _imp -import collections -import email.parser -import errno -import functools -import importlib -import importlib.abc -import importlib.machinery -import inspect -import io -import ntpath -import operator -import os -import pkgutil -import platform -import plistlib -import posixpath -import re -import stat -import tempfile -import textwrap -import time -import types -import warnings -import zipfile -import zipimport -from collections.abc import Iterable, Iterator, Mapping, MutableSequence -from pkgutil import get_importer -from typing import ( - TYPE_CHECKING, - Any, - BinaryIO, - Callable, - Literal, - NamedTuple, - NoReturn, - Protocol, - TypeVar, - Union, - overload, -) - -sys.path.extend(((vendor_path := os.path.join(os.path.dirname(os.path.dirname(__file__)), 'setuptools', '_vendor')) not in sys.path) * [vendor_path]) # fmt: skip -# workaround for #4476 -sys.modules.pop('backports', None) - -# capture these to bypass sandboxing -from os import open as os_open, utime # isort: skip -from os.path import isdir, split # isort: skip - -try: - from os import mkdir, rename, unlink - - WRITE_SUPPORT = True -except ImportError: - # no write support, probably under GAE - WRITE_SUPPORT = False - -import packaging.markers -import packaging.requirements -import packaging.specifiers -import packaging.utils -import packaging.version -from jaraco.text import drop_comment, join_continuation, yield_lines -from platformdirs import user_cache_dir as _user_cache_dir - -if TYPE_CHECKING: - from _typeshed import BytesPath, StrOrBytesPath, StrPath - from _typeshed.importlib import LoaderProtocol - from typing_extensions import Self, TypeAlias - -warnings.warn( - "pkg_resources is deprecated as an API. " - "See https://setuptools.pypa.io/en/latest/pkg_resources.html", - DeprecationWarning, - stacklevel=2, -) - -_T = TypeVar("_T") -_DistributionT = TypeVar("_DistributionT", bound="Distribution") -# Type aliases -_NestedStr: TypeAlias = Union[str, Iterable[Union[str, Iterable["_NestedStr"]]]] -_StrictInstallerType: TypeAlias = Callable[["Requirement"], "_DistributionT"] -_InstallerType: TypeAlias = Callable[["Requirement"], Union["Distribution", None]] -_PkgReqType: TypeAlias = Union[str, "Requirement"] -_EPDistType: TypeAlias = Union["Distribution", _PkgReqType] -_MetadataType: TypeAlias = Union["IResourceProvider", None] -_ResolvedEntryPoint: TypeAlias = Any # Can be any attribute in the module -_ResourceStream: TypeAlias = 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: TypeAlias = Union[object, types.ModuleType] -# Any: Should be _ModuleLike but we end up with issues where _ModuleLike doesn't have _ZipLoaderModule's __loader__ -_ProviderFactoryType: TypeAlias = Callable[[Any], "IResourceProvider"] -_DistFinderType: TypeAlias = Callable[[_T, str, bool], Iterable["Distribution"]] -_NSHandlerType: TypeAlias = Callable[[_T, str, str, types.ModuleType], Union[str, None]] -_AdapterT = TypeVar( - "_AdapterT", _DistFinderType[Any], _ProviderFactoryType, _NSHandlerType[Any] -) - - -class _ZipLoaderModule(Protocol): - __loader__: zipimport.zipimporter - - -_PEP440_FALLBACK = re.compile(r"^v?(?P(?:[0-9]+!)?[0-9]+(?:\.[0-9]+)*)", re.I) - - -class PEP440Warning(RuntimeWarning): - """ - Used when there is an issue with a version or specifier not complying with - PEP 440. - """ - - -parse_version = packaging.version.Version - -_state_vars: dict[str, str] = {} - - -def _declare_state(vartype: str, varname: str, initial_value: _T) -> _T: - _state_vars[varname] = vartype - return initial_value - - -def __getstate__() -> dict[str, Any]: - state = {} - g = globals() - for k, v in _state_vars.items(): - state[k] = g['_sget_' + v](g[k]) - return 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) - return state - - -def _sget_dict(val): - return val.copy() - - -def _sset_dict(key, ob, state) -> None: - ob.clear() - ob.update(state) - - -def _sget_object(val): - return val.__getstate__() - - -def _sset_object(key, ob, state) -> None: - ob.__setstate__(state) - - -_sget_none = _sset_none = lambda *args: None - - -def get_supported_platform(): - """Return this platform's maximum compatible version. - - distutils.util.get_platform() normally reports the minimum version - of macOS that would be required to *use* extensions produced by - distutils. But what we want when checking compatibility is to know the - version of macOS that we are *running*. To allow usage of packages that - explicitly require a newer version of macOS, we must also know the - current version of the OS. - - If this condition occurs for any other platform with a version in its - platform strings, this function should be extended accordingly. - """ - plat = get_build_platform() - m = macosVersionString.match(plat) - if m is not None and sys.platform == "darwin": - try: - plat = 'macosx-%s-%s' % ('.'.join(_macos_vers()[:2]), m.group(3)) - except ValueError: - # not macOS - pass - return plat - - -__all__ = [ - # Basic resource access and distribution/entry point discovery - 'require', - 'run_script', - 'get_provider', - 'get_distribution', - 'load_entry_point', - 'get_entry_map', - 'get_entry_info', - 'iter_entry_points', - 'resource_string', - 'resource_stream', - 'resource_filename', - 'resource_listdir', - 'resource_exists', - 'resource_isdir', - # Environmental control - 'declare_namespace', - 'working_set', - 'add_activation_listener', - 'find_distributions', - 'set_extraction_path', - 'cleanup_resources', - 'get_default_cache', - # Primary implementation classes - 'Environment', - 'WorkingSet', - 'ResourceManager', - 'Distribution', - 'Requirement', - 'EntryPoint', - # Exceptions - 'ResolutionError', - 'VersionConflict', - 'DistributionNotFound', - 'UnknownExtra', - 'ExtractionError', - # Warnings - 'PEP440Warning', - # Parsing functions and string utilities - 'parse_requirements', - 'parse_version', - 'safe_name', - 'safe_version', - 'get_platform', - 'compatible_platforms', - 'yield_lines', - 'split_sections', - 'safe_extra', - 'to_filename', - 'invalid_marker', - 'evaluate_marker', - # filesystem utilities - 'ensure_directory', - 'normalize_path', - # Distribution "precedence" constants - 'EGG_DIST', - 'BINARY_DIST', - 'SOURCE_DIST', - 'CHECKOUT_DIST', - 'DEVELOP_DIST', - # "Provider" interfaces, implementations, and registration/lookup APIs - 'IMetadataProvider', - 'IResourceProvider', - 'FileMetadata', - 'PathMetadata', - 'EggMetadata', - 'EmptyProvider', - 'empty_provider', - 'NullProvider', - 'EggProvider', - 'DefaultProvider', - 'ZipProvider', - 'register_finder', - 'register_namespace_handler', - 'register_loader_type', - 'fixup_namespace_packages', - 'get_importer', - # Warnings - 'PkgResourcesDeprecationWarning', - # Deprecated/backward compatibility only - 'run_main', - 'AvailableDistributions', -] - - -class ResolutionError(Exception): - """Abstract base for dependency resolution errors""" - - def __repr__(self) -> str: - return self.__class__.__name__ + repr(self.args) - - -class VersionConflict(ResolutionError): - """ - An already-installed version conflicts with the requested version. - - Should be initialized with the installed Distribution and the requested - Requirement. - """ - - _template = "{self.dist} is installed but {self.req} is required" - - @property - def dist(self) -> Distribution: - return self.args[0] - - @property - def req(self) -> Requirement: - return self.args[1] - - def report(self): - return self._template.format(**locals()) - - def with_context( - self, required_by: set[Distribution | str] - ) -> Self | ContextualVersionConflict: - """ - If required_by is non-empty, return a version of self that is a - ContextualVersionConflict. - """ - if not required_by: - return self - args = self.args + (required_by,) - return ContextualVersionConflict(*args) - - -class ContextualVersionConflict(VersionConflict): - """ - A VersionConflict that accepts a third parameter, the set of the - requirements that required the installed Distribution. - """ - - _template = VersionConflict._template + ' by {self.required_by}' - - @property - def required_by(self) -> set[str]: - return self.args[2] - - -class DistributionNotFound(ResolutionError): - """A requested distribution was not found""" - - _template = ( - "The '{self.req}' distribution was not found " - "and is required by {self.requirers_str}" - ) - - @property - def req(self) -> Requirement: - return self.args[0] - - @property - def requirers(self) -> set[str] | None: - return self.args[1] - - @property - def requirers_str(self): - if not self.requirers: - return 'the application' - return ', '.join(self.requirers) - - def report(self): - return self._template.format(**locals()) - - def __str__(self) -> str: - return self.report() - - -class UnknownExtra(ResolutionError): - """Distribution doesn't have an "extra feature" of the given name""" - - -_provider_factories: dict[type[_ModuleLike], _ProviderFactoryType] = {} - -PY_MAJOR = f'{sys.version_info.major}.{sys.version_info.minor}' -EGG_DIST = 3 -BINARY_DIST = 2 -SOURCE_DIST = 1 -CHECKOUT_DIST = 0 -DEVELOP_DIST = -1 - - -def register_loader_type( - loader_type: type[_ModuleLike], provider_factory: _ProviderFactoryType -) -> None: - """Register `provider_factory` to make providers for `loader_type` - - `loader_type` is the type or class of a PEP 302 ``module.__loader__``, - and `provider_factory` is a function that, passed a *module* object, - returns an ``IResourceProvider`` for that module. - """ - _provider_factories[loader_type] = provider_factory - - -@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] - try: - module = sys.modules[moduleOrReq] - except KeyError: - __import__(moduleOrReq) - module = sys.modules[moduleOrReq] - loader = getattr(module, '__loader__', None) - return _find_adapter(_provider_factories, loader)(module) - - -@functools.cache -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): - return {'PowerPC': 'ppc', 'Power_Macintosh': 'ppc'}.get(machine, machine) - - -def get_build_platform(): - """Return this platform's string for platform-specific distributions - - XXX Currently this is the same as ``distutils.util.get_platform()``, but it - needs some hacks for Linux and macOS. - """ - from sysconfig import get_platform - - plat = get_platform() - if sys.platform == "darwin" and not plat.startswith('macosx-'): - try: - version = _macos_vers() - machine = os.uname()[4].replace(" ", "_") - return "macosx-%d.%d-%s" % ( - int(version[0]), - int(version[1]), - _macos_arch(machine), - ) - except ValueError: - # if someone is running a non-Mac darwin system, this will fall - # through to the default implementation - pass - return plat - - -macosVersionString = re.compile(r"macosx-(\d+)\.(\d+)-(.*)") -darwinVersionString = re.compile(r"darwin-(\d+)\.(\d+)\.(\d+)-(.*)") -# XXX backward compat -get_platform = get_build_platform - - -def compatible_platforms(provided: str | None, required: str | None) -> bool: - """Can code for the `provided` platform run on the `required` platform? - - Returns true if either platform is ``None``, or the platforms are equal. - - XXX Needs compatibility checks for Linux and other unixy OSes. - """ - if provided is None or required is None or provided == required: - # easy case - return True - - # macOS special cases - reqMac = macosVersionString.match(required) - if reqMac: - provMac = macosVersionString.match(provided) - - # is this a Mac package? - if not provMac: - # this is backwards compatibility for packages built before - # setuptools 0.6. All packages built after this point will - # use the new macOS designation. - provDarwin = darwinVersionString.match(provided) - if provDarwin: - dversion = int(provDarwin.group(1)) - macosversion = "%s.%s" % (reqMac.group(1), reqMac.group(2)) - if ( - dversion == 7 - and macosversion >= "10.3" - or dversion == 8 - and macosversion >= "10.4" - ): - return True - # egg isn't macOS or legacy darwin - return False - - # are they the same major version and machine type? - if provMac.group(1) != reqMac.group(1) or provMac.group(3) != reqMac.group(3): - return False - - # is the required OS major update >= the provided one? - if int(provMac.group(2)) > int(reqMac.group(2)): - return False - - return True - - # XXX Linux and other platforms' special cases should go here - return False - - -@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) - if not isinstance(dist, Distribution): - raise TypeError("Expected str, Requirement, or Distribution", dist) - return dist - - -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) - - -@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: _EPDistType, group: str, name: str) -> EntryPoint | None: - """Return the EntryPoint object for `group`+`name`, or ``None``""" - return get_distribution(dist).get_entry_info(group, name) - - -class IMetadataProvider(Protocol): - def has_metadata(self, name: str) -> bool: - """Does the package's distribution contain the named metadata?""" - ... - - def get_metadata(self, name: str) -> str: - """The named metadata resource as a string""" - ... - - 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(self, name: str) -> bool: - """Is the named metadata a directory? (like ``os.path.isdir()``)""" - ... - - def metadata_listdir(self, name: str) -> list[str]: - """List of metadata names in the directory (like ``os.listdir()``)""" - ... - - def run_script(self, script_name: str, namespace: dict[str, Any]) -> None: - """Execute the named script in the supplied namespace dictionary""" - ... - - -class IResourceProvider(IMetadataProvider, Protocol): - """An object that provides access to package resources""" - - def get_resource_filename( - self, manager: ResourceManager, resource_name: str - ) -> str: - """Return a true filesystem path for `resource_name` - - `manager` must be a ``ResourceManager``""" - ... - - def get_resource_stream( - self, manager: ResourceManager, resource_name: str - ) -> _ResourceStream: - """Return a readable file-like object for `resource_name` - - `manager` must be a ``ResourceManager``""" - ... - - def get_resource_string( - self, manager: ResourceManager, resource_name: str - ) -> bytes: - """Return the contents of `resource_name` as :obj:`bytes` - - `manager` must be a ``ResourceManager``""" - ... - - def has_resource(self, resource_name: str) -> bool: - """Does the package contain the named resource?""" - ... - - def resource_isdir(self, resource_name: str) -> bool: - """Is the named resource a directory? (like ``os.path.isdir()``)""" - ... - - 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: Iterable[str] | None = None) -> None: - """Create working set from list of path entries (default=sys.path)""" - self.entries: list[str] = [] - self.entry_keys: dict[str | None, list[str]] = {} - self.by_key: dict[str, Distribution] = {} - self.normalized_to_canonical_keys: dict[str, str] = {} - self.callbacks: list[Callable[[Distribution], object]] = [] - - if entries is None: - entries = sys.path - - for entry in entries: - self.add_entry(entry) - - @classmethod - def _build_master(cls): - """ - Prepare the master working set. - """ - ws = cls() - try: - from __main__ import __requires__ - except ImportError: - # The main program does not list any requirements - return ws - - # ensure the requirements are met - try: - ws.require(__requires__) - except VersionConflict: - return cls._build_from_requirements(__requires__) - - return ws - - @classmethod - def _build_from_requirements(cls, req_spec): - """ - Build a working set from a requirement spec. Rewrites sys.path. - """ - # try it without defaults already on sys.path - # by starting with an empty path - ws = cls([]) - reqs = parse_requirements(req_spec) - dists = ws.resolve(reqs, Environment()) - for dist in dists: - ws.add(dist) - - # add any missing entries from sys.path - for entry in sys.path: - if entry not in ws.entries: - ws.add_entry(entry) - - # then copy back to sys.path - sys.path[:] = ws.entries - return ws - - def add_entry(self, entry: str) -> None: - """Add a path item to ``.entries``, finding any distributions on it - - ``find_distributions(entry, True)`` is used to find distributions - corresponding to the path entry, and they are added. `entry` is - always appended to ``.entries``, even if it is already present. - (This is because ``sys.path`` can contain the same value more than - once, and the ``.entries`` of the ``sys.path`` WorkingSet should always - equal ``sys.path``.) - """ - self.entry_keys.setdefault(entry, []) - self.entries.append(entry) - for dist in find_distributions(entry, True): - self.add(dist, entry, False) - - 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: Requirement) -> Distribution | None: - """Find a distribution matching requirement `req` - - If there is an active distribution for the requested project, this - returns it as long as it meets the version requirement specified by - `req`. But, if there is an active distribution for the project and it - does *not* meet the `req` requirement, ``VersionConflict`` is raised. - If there is no active distribution for the requested project, ``None`` - is returned. - """ - dist = self.by_key.get(req.key) - - if dist is None: - canonical_key = self.normalized_to_canonical_keys.get(req.key) - - if canonical_key is not None: - req.key = canonical_key - dist = self.by_key.get(canonical_key) - - if dist is not None and dist not in req: - # XXX add more info - raise VersionConflict(dist, req) - return dist - - def iter_entry_points( - self, group: str, name: str | None = None - ) -> Iterator[EntryPoint]: - """Yield entry point objects from `group` matching `name` - - If `name` is None, yields all entry points in `group` from all - distributions in the working set, otherwise only ones matching - both `group` and `name` are yielded (in distribution order). - """ - return ( - entry - for dist in self - for entry in dist.get_entry_map(group).values() - if name is None or name == entry.name - ) - - def run_script(self, requires: str, script_name: str) -> None: - """Locate distribution for `requires` and run `script_name` script""" - ns = sys._getframe(1).f_globals - name = ns['__name__'] - ns.clear() - ns['__name__'] = name - self.require(requires)[0].run_script(script_name, ns) - - 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 = set() - for item in self.entries: - if item not in self.entry_keys: - # workaround a cache issue - continue - - for key in self.entry_keys[item]: - if key not in seen: - seen.add(key) - yield self.by_key[key] - - def add( - self, - dist: Distribution, - entry: str | None = None, - insert: bool = True, - replace: bool = False, - ) -> None: - """Add `dist` to working set, associated with `entry` - - If `entry` is unspecified, it defaults to the ``.location`` of `dist`. - On exit from this routine, `entry` is added to the end of the working - set's ``.entries`` (if it wasn't already present). - - `dist` is only added to the working set if it's for a project that - doesn't already have a distribution in the set, unless `replace=True`. - If it's added, any callbacks registered with the ``subscribe()`` method - will be called. - """ - if insert: - dist.insert_on(self.entries, entry, replace=replace) - - if entry is None: - entry = dist.location - keys = self.entry_keys.setdefault(entry, []) - keys2 = self.entry_keys.setdefault(dist.location, []) - if not replace and dist.key in self.by_key: - # ignore hidden distros - return - - self.by_key[dist.key] = dist - 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) - if dist.key not in keys2: - keys2.append(dist.key) - self._added_new(dist) - - @overload - def resolve( - self, - requirements: Iterable[Requirement], - env: Environment | None, - installer: _StrictInstallerType[_DistributionT], - replace_conflicting: bool = False, - extras: tuple[str, ...] | None = None, - ) -> list[_DistributionT]: ... - @overload - def resolve( - self, - requirements: Iterable[Requirement], - env: Environment | None = None, - *, - installer: _StrictInstallerType[_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 | _StrictInstallerType[_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`, - if supplied, should be an ``Environment`` instance. If - not supplied, it defaults to all distributions available within any - entry or distribution in the working set. `installer`, if supplied, - will be invoked with each requirement that cannot be met by an - already-installed distribution; it should return a ``Distribution`` or - ``None``. - - Unless `replace_conflicting=True`, raises a VersionConflict exception - if - any requirements are found on the path that have the correct name but - the wrong version. Otherwise, if an `installer` is supplied it will be - invoked to obtain the correct version of the requirement and activate - it. - - `extras` is a list of the extras to be used with these requirements. - This is important because extra requirements may look like `my_req; - extra = "my_extra"`, which would otherwise be interpreted as a purely - optional requirement. Instead, we want to be able to assert that these - requirements are truly required. - """ - - # set up the stack - requirements = list(requirements)[::-1] - # set of processed requirements - processed = set() - # key -> dist - best: dict[str, Distribution] = {} - to_activate: list[Distribution] = [] - - req_extras = _ReqExtras() - - # Mapping of requirement to set of distributions that required it; - # useful for reporting info about conflicts. - required_by: collections.defaultdict[Requirement, set[str]] = ( - collections.defaultdict(set) - ) - - while requirements: - # process dependencies breadth-first - req = requirements.pop(0) - if req in processed: - # Ignore cyclic or redundant dependencies - continue - - if not req_extras.markers_pass(req, extras): - continue - - dist = self._resolve_dist( - req, best, replace_conflicting, env, installer, required_by, to_activate - ) - - # push the new requirements onto the stack - new_requirements = dist.requires(req.extras)[::-1] - requirements.extend(new_requirements) - - # Register the new requirements needed by req - for new_requirement in new_requirements: - required_by[new_requirement].add(req.project_name) - req_extras[new_requirement] = req.extras - - 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 - dist = self.by_key.get(req.key) - if dist is None or (dist not in req and replace_conflicting): - ws = self - if env is None: - if dist is None: - env = Environment(self.entries) - else: - # Use an empty environment and workingset to avoid - # any further conflicts with the conflicting - # distribution - env = Environment([]) - ws = WorkingSet([]) - dist = best[req.key] = env.best_match( - req, ws, installer, replace_conflicting=replace_conflicting - ) - if dist is None: - requirers = required_by.get(req, None) - raise DistributionNotFound(req, requirers) - to_activate.append(dist) - if dist not in req: - # Oops, the "best" so far conflicts with a dependency - dependent_req = required_by[req] - raise VersionConflict(dist, req).with_context(dependent_req) - return dist - - @overload - def find_plugins( - self, - plugin_env: Environment, - full_env: Environment | None, - installer: _StrictInstallerType[_DistributionT], - fallback: bool = True, - ) -> tuple[list[_DistributionT], dict[Distribution, Exception]]: ... - @overload - def find_plugins( - self, - plugin_env: Environment, - full_env: Environment | None = None, - *, - installer: _StrictInstallerType[_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 | _StrictInstallerType[_DistributionT] = None, - fallback: bool = True, - ) -> tuple[ - list[Distribution] | list[_DistributionT], - dict[Distribution, Exception], - ]: - """Find all activatable distributions in `plugin_env` - - Example usage:: - - distributions, errors = working_set.find_plugins( - Environment(plugin_dirlist) - ) - # add plugins+libs to sys.path - map(working_set.add, distributions) - # display errors - print('Could not load', errors) - - The `plugin_env` should be an ``Environment`` instance that contains - only distributions that are in the project's "plugin directory" or - directories. The `full_env`, if supplied, should be an ``Environment`` - contains all currently-available distributions. If `full_env` is not - supplied, one is created automatically from the ``WorkingSet`` this - method is called on, which will typically mean that every directory on - ``sys.path`` will be scanned for distributions. - - `installer` is a standard installer callback as used by the - ``resolve()`` method. The `fallback` flag indicates whether we should - attempt to resolve older versions of a plugin if the newest version - cannot be resolved. - - This method returns a 2-tuple: (`distributions`, `error_info`), where - `distributions` is a list of the distributions found in `plugin_env` - that were loadable, along with any other distributions that are needed - to resolve their dependencies. `error_info` is a dictionary mapping - unloadable plugin distributions to an exception instance describing the - error that occurred. Usually this will be a ``DistributionNotFound`` or - ``VersionConflict`` instance. - """ - - plugin_projects = list(plugin_env) - # scan project names in alphabetic order - plugin_projects.sort() - - error_info: dict[Distribution, Exception] = {} - distributions: dict[Distribution, Exception | None] = {} - - if full_env is None: - env = Environment(self.entries) - env += plugin_env - else: - env = full_env + plugin_env - - shadow_set = self.__class__([]) - # put all our entries in shadow_set - list(map(shadow_set.add, self)) - - for project_name in plugin_projects: - for dist in plugin_env[project_name]: - req = [dist.as_requirement()] - - try: - resolvees = shadow_set.resolve(req, env, installer) - - except ResolutionError as v: - # save error info - error_info[dist] = v - if fallback: - # try the next older version of project - continue - else: - # give up on this project, keep going - break - - else: - list(map(shadow_set.add, resolvees)) - distributions.update(dict.fromkeys(resolvees)) - - # success, no need to try any more versions of this project - break - - sorted_distributions = list(distributions) - sorted_distributions.sort() - - return sorted_distributions, error_info - - def require(self, *requirements: _NestedStr) -> list[Distribution]: - """Ensure that distributions matching `requirements` are activated - - `requirements` must be a string or a (possibly-nested) sequence - thereof, specifying the distributions and versions required. The - return value is a sequence of the distributions that needed to be - activated to fulfill the requirements; all relevant distributions are - included, even if they were already activated in this working set. - """ - needed = self.resolve(parse_requirements(requirements)) - - for dist in needed: - self.add(dist) - - return needed - - def subscribe( - self, callback: Callable[[Distribution], object], existing: bool = True - ) -> None: - """Invoke `callback` for all distributions - - If `existing=True` (default), - call on all existing ones, as well. - """ - if callback in self.callbacks: - return - self.callbacks.append(callback) - if not existing: - return - for dist in self: - callback(dist) - - def _added_new(self, dist) -> None: - for callback in self.callbacks: - callback(dist) - - def __getstate__( - self, - ) -> tuple[ - list[str], - dict[str | None, list[str]], - dict[str, Distribution], - dict[str, str], - list[Callable[[Distribution], object]], - ]: - return ( - self.entries[:], - self.entry_keys.copy(), - self.by_key.copy(), - self.normalized_to_canonical_keys.copy(), - self.callbacks[:], - ) - - def __setstate__(self, e_k_b_n_c) -> None: - entries, keys, by_key, normalized_to_canonical_keys, callbacks = e_k_b_n_c - self.entries = entries[:] - self.entry_keys = keys.copy() - self.by_key = by_key.copy() - self.normalized_to_canonical_keys = normalized_to_canonical_keys.copy() - self.callbacks = callbacks[:] - - -class _ReqExtras(dict["Requirement", tuple[str, ...]]): - """ - Map each requirement to the extras that demanded it. - """ - - def markers_pass(self, req: Requirement, extras: tuple[str, ...] | None = None): - """ - Evaluate markers for req against each extra that - demanded it. - - Return False if the req has a marker and fails - evaluation. Otherwise, return True. - """ - return not req.marker or any( - req.marker.evaluate({'extra': extra}) - for extra in self.get(req, ()) + (extras or ("",)) - ) - - -class Environment: - """Searchable snapshot of distributions on a search path""" - - def __init__( - self, - search_path: Iterable[str] | None = None, - platform: str | None = get_supported_platform(), - python: str | None = PY_MAJOR, - ) -> None: - """Snapshot distributions available on a search path - - Any distributions found on `search_path` are added to the environment. - `search_path` should be a sequence of ``sys.path`` items. If not - supplied, ``sys.path`` is used. - - `platform` is an optional string specifying the name of the platform - that platform-specific distributions must be compatible with. If - unspecified, it defaults to the current platform. `python` is an - optional string naming the desired version of Python (e.g. ``'3.6'``); - it defaults to the current version. - - You may explicitly set `platform` (and/or `python`) to ``None`` if you - wish to map *all* distributions, not just those compatible with the - running platform or Python version. - """ - self._distmap: dict[str, list[Distribution]] = {} - self.platform = platform - self.python = python - self.scan(search_path) - - def can_add(self, dist: Distribution) -> bool: - """Is distribution `dist` acceptable for this environment? - - The distribution must match the platform and python version - requirements specified when this environment was created, or False - is returned. - """ - py_compat = ( - self.python is None - or dist.py_version is None - or dist.py_version == self.python - ) - return py_compat and compatible_platforms(dist.platform, self.platform) - - def remove(self, dist: Distribution) -> None: - """Remove `dist` from the environment""" - self._distmap[dist.key].remove(dist) - - def scan(self, search_path: Iterable[str] | None = None) -> None: - """Scan `search_path` for distributions usable in this environment - - Any distributions found are added to the environment. - `search_path` should be a sequence of ``sys.path`` items. If not - supplied, ``sys.path`` is used. Only distributions conforming to - the platform/python version defined at initialization are added. - """ - if search_path is None: - search_path = sys.path - - for item in search_path: - for dist in find_distributions(item): - self.add(dist) - - 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 - project's distributions use their project's name converted to all - lowercase as their key. - - """ - distribution_key = project_name.lower() - return self._distmap.get(distribution_key, []) - - def add(self, dist: Distribution) -> None: - """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, []) - if dist not in dists: - dists.append(dist) - dists.sort(key=operator.attrgetter('hashcmp'), reverse=True) - - @overload - def best_match( - self, - req: Requirement, - working_set: WorkingSet, - installer: _StrictInstallerType[_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 | _StrictInstallerType[_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 - suitable distribution is already active. (This may raise - ``VersionConflict`` if an unsuitable version of the project is already - active in the specified `working_set`.) If a suitable distribution - isn't active, this method returns the newest distribution in the - environment that meets the ``Requirement`` in `req`. If no suitable - distribution is found, and `installer` is supplied, then the result of - calling the environment's ``obtain(req, installer)`` method will be - returned. - """ - try: - dist = working_set.find(req) - except VersionConflict: - if not replace_conflicting: - raise - dist = None - if dist is not None: - return dist - for dist in self[req.key]: - if dist in req: - return dist - # try to download/install - return self.obtain(req, installer) - - @overload - def obtain( - self, - requirement: Requirement, - installer: _StrictInstallerType[_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 - | _StrictInstallerType[_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 - base ``Environment`` class, this routine just returns - ``installer(requirement)``, unless `installer` is None, in which case - 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.""" - return installer(requirement) if installer else None - - 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: Distribution | Environment) -> Self: - """In-place addition of a distribution or environment""" - if isinstance(other, Distribution): - self.add(other) - elif isinstance(other, Environment): - for project in other: - for dist in other[project]: - self.add(dist) - else: - raise TypeError("Can't add %r to environment" % (other,)) - return self - - def __add__(self, other: Distribution | Environment) -> Self: - """Add an environment or distribution to an environment""" - new = self.__class__([], platform=None, python=None) - for env in self, other: - new += env - return new - - -# XXX backward compatibility -AvailableDistributions = Environment - - -class ExtractionError(RuntimeError): - """An error occurred extracting a resource - - The following attributes are available from instances of this exception: - - manager - The resource manager that raised this exception - - cache_path - The base directory for resource extraction - - original_error - 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: str | None = None - - def __init__(self) -> None: - # acts like a set - self.cached_files: dict[str, Literal[True]] = {} - - def resource_exists( - self, package_or_requirement: _PkgReqType, resource_name: str - ) -> bool: - """Does the named resource exist?""" - return get_provider(package_or_requirement).has_resource(resource_name) - - def resource_isdir( - self, package_or_requirement: _PkgReqType, resource_name: str - ) -> bool: - """Is the named resource an existing directory?""" - return get_provider(package_or_requirement).resource_isdir(resource_name) - - def resource_filename( - self, package_or_requirement: _PkgReqType, resource_name: str - ) -> 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: _PkgReqType, resource_name: str - ) -> _ResourceStream: - """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: _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: _PkgReqType, resource_name: str - ) -> list[str]: - """List the contents of the named resource directory""" - return get_provider(package_or_requirement).resource_listdir(resource_name) - - def extraction_error(self) -> NoReturn: - """Give an error message for problems extracting file(s)""" - - old_exc = sys.exc_info()[1] - cache_path = self.extraction_path or get_default_cache() - - tmpl = textwrap.dedent( - """ - Can't extract file(s) to egg cache - - The following error occurred while trying to extract file(s) - to the Python egg cache: - - {old_exc} - - The Python egg cache directory is currently set to: - - {cache_path} - - Perhaps your account does not have write access to this directory? - You can change the cache directory by setting the PYTHON_EGG_CACHE - environment variable to point to an accessible directory. - """ - ).lstrip() - err = ExtractionError(tmpl.format(**locals())) - err.manager = self - err.cache_path = cache_path - err.original_error = old_exc - raise err - - def get_cache_path(self, archive_name: str, names: Iterable[StrPath] = ()) -> str: - """Return absolute location in cache for `archive_name` and `names` - - The parent directory of the resulting path will be created if it does - not already exist. `archive_name` should be the base filename of the - enclosing egg (which may not be the name of the enclosing zipfile!), - including its ".egg" extension. `names`, if provided, should be a - sequence of path name parts "under" the egg's extraction location. - - This method should only be called by resource providers that need to - obtain an extraction location, and only for names they intend to - extract, as it tracks the generated names for possible cleanup later. - """ - extract_path = self.extraction_path or get_default_cache() - target_path = os.path.join(extract_path, archive_name + '-tmp', *names) - try: - _bypass_ensure_directory(target_path) - except Exception: - self.extraction_error() - - self._warn_unsafe_extraction_path(extract_path) - - self.cached_files[target_path] = True - return target_path - - @staticmethod - def _warn_unsafe_extraction_path(path) -> None: - """ - If the default extraction path is overridden and set to an insecure - location, such as /tmp, it opens up an opportunity for an attacker to - replace an extracted file with an unauthorized payload. Warn the user - if a known insecure location is used. - - See Distribute #375 for more details. - """ - if os.name == 'nt' and not path.startswith(os.environ['windir']): - # On Windows, permissions are generally restrictive by default - # and temp directories are not writable by other users, so - # bypass the warning. - return - mode = os.stat(path).st_mode - if mode & stat.S_IWOTH or mode & stat.S_IWGRP: - msg = ( - "Extraction path is writable by group/others " - "and vulnerable to attack when " - "used with get_resource_filename ({path}). " - "Consider a more secure " - "location (set with .set_extraction_path or the " - "PYTHON_EGG_CACHE environment variable)." - ).format(**locals()) - warnings.warn(msg, UserWarning) - - def postprocess(self, tempname: StrOrBytesPath, filename: StrOrBytesPath) -> None: - """Perform any platform-specific postprocessing of `tempname` - - This is where Mac header rewrites should be done; other platforms don't - have anything special they should do. - - Resource providers should call this method ONLY after successfully - extracting a compressed resource. They must NOT call it on resources - that are already in the filesystem. - - `tempname` is the current (temporary) name of the file, and `filename` - is the name it will be renamed to by the caller after this routine - returns. - """ - - if os.name == 'posix': - # Make the resource executable - mode = ((os.stat(tempname).st_mode) | 0o555) & 0o7777 - os.chmod(tempname, mode) - - def set_extraction_path(self, path: str) -> None: - """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 - path defaults to the return value of ``get_default_cache()``. (Which - is based on the ``PYTHON_EGG_CACHE`` environment variable, with various - platform-specific fallbacks. See that routine's documentation for more - details.) - - Resources are extracted to subdirectories of this path based upon - information given by the ``IResourceProvider``. You may set this to a - temporary directory, but then you must call ``cleanup_resources()`` to - delete the extracted files when done. There is no guarantee that - ``cleanup_resources()`` will be able to remove all extracted files. - - (Note: you may not change the extraction path for a given resource - manager once resources have been extracted, unless you first call - ``cleanup_resources()``.) - """ - if self.cached_files: - raise ValueError("Can't change extraction path, files already extracted") - - self.extraction_path = path - - 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. - This function does not have any concurrency protection, so it should - generally only be called when the extraction path is a temporary - directory exclusive to a single process. This method is not - automatically called; you must call it explicitly or register it as an - ``atexit`` function if you wish to ensure cleanup of a temporary - directory used for extractions. - """ - # XXX - return [] - - -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 _user_cache_dir(appname='Python-Eggs') - - -def safe_name(name: str) -> str: - """Convert an arbitrary string to a standard distribution name - - Any runs of non-alphanumeric/. characters are replaced with a single '-'. - """ - return re.sub('[^A-Za-z0-9.]+', '-', name) - - -def safe_version(version: str) -> str: - """ - Convert an arbitrary string to a standard version string - """ - try: - # normalize the version - return str(packaging.version.Version(version)) - except packaging.version.InvalidVersion: - version = version.replace(' ', '.') - return re.sub('[^A-Za-z0-9.]+', '-', version) - - -def _forgiving_version(version) -> str: - """Fallback when ``safe_version`` is not safe enough - >>> parse_version(_forgiving_version('0.23ubuntu1')) - - >>> parse_version(_forgiving_version('0.23-')) - - >>> parse_version(_forgiving_version('0.-_')) - - >>> parse_version(_forgiving_version('42.+?1')) - - >>> parse_version(_forgiving_version('hello world')) - - """ - version = version.replace(' ', '.') - match = _PEP440_FALLBACK.search(version) - if match: - safe = match["safe"] - rest = version[len(safe) :] - else: - safe = "0" - rest = version - local = f"sanitized.{_safe_segment(rest)}".strip(".") - return f"{safe}.dev0+{local}" - - -def _safe_segment(segment): - """Convert an arbitrary string into a safe segment""" - segment = re.sub('[^A-Za-z0-9.]+', '-', segment) - segment = re.sub('-[^A-Za-z0-9]+', '-', segment) - return re.sub(r'\.[^A-Za-z0-9]+', '.', segment).strip(".-") - - -def safe_extra(extra: str) -> str: - """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. - """ - return re.sub('[^A-Za-z0-9.-]+', '_', extra).lower() - - -def to_filename(name: str) -> str: - """Convert a project or version name to its filename-escaped form - - Any '-' characters are currently replaced with '_'. - """ - return name.replace('-', '_') - - -def invalid_marker(text: str) -> SyntaxError | Literal[False]: - """ - Validate text as a PEP 508 environment marker; return an exception - if invalid or False otherwise. - """ - try: - evaluate_marker(text) - except SyntaxError as e: - e.filename = None - e.lineno = None - return e - return False - - -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. - Raise SyntaxError if marker is invalid. - - This implementation uses the 'pyparsing' module. - """ - try: - marker = packaging.markers.Marker(text) - return marker.evaluate() - 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: str | None = None - egg_info: str | None = None - loader: LoaderProtocol | None = None - - def __init__(self, module: _ModuleLike) -> None: - self.loader = getattr(module, '__loader__', None) - self.module_path = os.path.dirname(getattr(module, '__file__', '')) - - def get_resource_filename( - self, manager: ResourceManager, resource_name: str - ) -> str: - return self._fn(self.module_path, resource_name) - - def get_resource_stream( - self, manager: ResourceManager, resource_name: str - ) -> BinaryIO: - return io.BytesIO(self.get_resource_string(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: str) -> bool: - 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: str) -> bool: - if not self.egg_info: - return False - - path = self._get_metadata_path(name) - return self._has(path) - - def get_metadata(self, name: str) -> str: - if not self.egg_info: - return "" - path = self._get_metadata_path(name) - value = self._get(path) - try: - return value.decode('utf-8') - except UnicodeDecodeError as exc: - # Include the path in the error message to simplify - # troubleshooting, and without changing the exception type. - exc.reason += ' in {} file at path: {}'.format(name, path) - raise - - def get_metadata_lines(self, name: str) -> Iterator[str]: - return yield_lines(self.get_metadata(name)) - - def resource_isdir(self, resource_name: str) -> bool: - return self._isdir(self._fn(self.module_path, resource_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: str) -> list[str]: - return self._listdir(self._fn(self.module_path, resource_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: str, namespace: dict[str, Any]) -> None: - script = 'scripts/' + script_name - if not self.has_metadata(script): - raise ResolutionError( - "Script {script!r} not found in metadata at {self.egg_info!r}".format( - **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): - source = _read_utf8_with_fallback(script_filename) - code = compile(source, script_filename, 'exec') - exec(code, namespace, namespace) - else: - from linecache import cache - - cache[script_filename] = ( - len(script_text), - 0, - script_text.split('\n'), - script_filename, - ) - script_code = compile(script_text, script_filename, 'exec') - exec(script_code, namespace, namespace) - - def _has(self, path) -> bool: - raise NotImplementedError( - "Can't perform this operation for unregistered loader type" - ) - - def _isdir(self, path) -> bool: - raise NotImplementedError( - "Can't perform this operation for unregistered loader type" - ) - - def _listdir(self, path) -> list[str]: - raise NotImplementedError( - "Can't perform this operation for unregistered loader type" - ) - - 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('/')) - return base - - @staticmethod - def _validate_resource_path(path) -> None: - """ - Validate the resource paths according to the docs. - https://setuptools.pypa.io/en/latest/pkg_resources.html#basic-resource-access - - >>> warned = getfixture('recwarn') - >>> warnings.simplefilter('always') - >>> vrp = NullProvider._validate_resource_path - >>> vrp('foo/bar.txt') - >>> bool(warned) - False - >>> vrp('../foo/bar.txt') - >>> bool(warned) - True - >>> warned.clear() - >>> vrp('/foo/bar.txt') - >>> bool(warned) - True - >>> vrp('foo/../../bar.txt') - >>> bool(warned) - True - >>> warned.clear() - >>> vrp('foo/f../bar.txt') - >>> bool(warned) - False - - Windows path separators are straight-up disallowed. - >>> vrp(r'\\foo/bar.txt') - Traceback (most recent call last): - ... - ValueError: Use of .. or absolute path in a resource path \ -is not allowed. - - >>> vrp(r'C:\\foo/bar.txt') - Traceback (most recent call last): - ... - ValueError: Use of .. or absolute path in a resource path \ -is not allowed. - - Blank values are allowed - - >>> vrp('') - >>> bool(warned) - False - - Non-string values are not. - - >>> vrp(None) - Traceback (most recent call last): - ... - AttributeError: ... - """ - invalid = ( - os.path.pardir in path.split(posixpath.sep) - or posixpath.isabs(path) - or ntpath.isabs(path) - or path.startswith("\\") - ) - if not invalid: - return - - msg = "Use of .. or absolute path in a resource path is not allowed." - - # Aggressively disallow Windows absolute paths - if (path.startswith("\\") or ntpath.isabs(path)) and not posixpath.isabs(path): - raise ValueError(msg) - - # for compatibility, warn; in future - # raise ValueError(msg) - issue_warning( - msg[:-1] + " and will raise exceptions in a future release.", - DeprecationWarning, - ) - - 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()'" - ) - - -register_loader_type(object, NullProvider) - - -def _parents(path): - """ - yield all parents of path including path - """ - last = None - while path != last: - yield path - last = path - path, _ = os.path.split(path) - - -class EggProvider(NullProvider): - """Provider based on a virtual filesystem""" - - def __init__(self, module: _ModuleLike) -> None: - super().__init__(module) - self._setup_prefix() - - def _setup_prefix(self): - # Assume that metadata may be nested inside a "basket" - # of multiple eggs and use module_path instead of .archive. - eggs = filter(_is_egg_path, _parents(self.module_path)) - egg = next(eggs, None) - egg and self._set_egg(egg) - - def _set_egg(self, path: str) -> None: - self.egg_name = os.path.basename(path) - self.egg_info = os.path.join(path, 'EGG-INFO') - self.egg_root = path - - -class DefaultProvider(EggProvider): - """Provides access to package resources in the filesystem""" - - def _has(self, path) -> bool: - return os.path.exists(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: object, resource_name: str - ) -> io.BufferedReader: - return open(self._fn(self.module_path, resource_name), 'rb') - - def _get(self, path) -> bytes: - with open(path, 'rb') as stream: - return stream.read() - - @classmethod - def _register(cls) -> None: - loader_names = ( - 'SourceFileLoader', - 'SourcelessFileLoader', - ) - for name in loader_names: - loader_cls = getattr(importlib.machinery, name, type(None)) - register_loader_type(loader_cls, cls) - - -DefaultProvider._register() - - -class EmptyProvider(NullProvider): - """Provider that returns nothing for all requests""" - - # 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) -> bytes: - return b'' - - def _listdir(self, path): - return [] - - def __init__(self) -> None: - pass - - -empty_provider = EmptyProvider() - - -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: str) -> dict[str, zipfile.ZipInfo]: - """ - Build a dictionary similar to the zipimport directory - caches, except instead of tuples, store ZipInfo objects. - - Use a platform-specific path separator (os.sep) for the path keys - for compatibility with pypy on Windows. - """ - with zipfile.ZipFile(path) as zfile: - items = ( - ( - name.replace('/', os.sep), - zfile.getinfo(name), - ) - for name in zfile.namelist() - ) - return dict(items) - - load = build - - -class MemoizedZipManifests(ZipManifests): - """ - Memoized zipfile manifests. - """ - - class manifest_mod(NamedTuple): - manifest: dict[str, zipfile.ZipInfo] - mtime: float - - 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. - """ - path = os.path.normpath(path) - mtime = os.stat(path).st_mtime - - if path not in self or self[path].mtime != mtime: - manifest = self.build(path) - self[path] = self.manifest_mod(manifest, mtime) - - return self[path].manifest - - -class ZipProvider(EggProvider): - """Resource support for zips and eggs""" - - 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: _ZipLoaderModule) -> None: - super().__init__(module) - self.zip_pre = self.loader.archive + os.sep - - def _zipinfo_name(self, fspath): - # Convert a virtual filename (full path to file) into a zipfile subpath - # usable with the zipimport directory cache for our target archive - fspath = fspath.rstrip(os.sep) - if fspath == self.loader.archive: - return '' - if fspath.startswith(self.zip_pre): - return fspath[len(self.zip_pre) :] - raise AssertionError("%s is not a subpath of %s" % (fspath, self.zip_pre)) - - def _parts(self, zip_path): - # Convert a zipfile subpath into an egg-relative path part list. - # pseudo-fs path - fspath = self.zip_pre + zip_path - if fspath.startswith(self.egg_root + os.sep): - return fspath[len(self.egg_root) + 1 :].split(os.sep) - raise AssertionError("%s is not a subpath of %s" % (fspath, self.egg_root)) - - @property - def zipinfo(self): - return self._zip_manifests.load(self.loader.archive) - - def get_resource_filename( - self, manager: ResourceManager, resource_name: str - ) -> str: - if not self.egg_name: - raise NotImplementedError( - "resource_filename() only supported for .egg, not .zip" - ) - # no need to lock for extraction, since we use temp names - zip_path = self._resource_to_zip(resource_name) - eagers = self._get_eager_resources() - if '/'.join(self._parts(zip_path)) in eagers: - for name in eagers: - self._extract_resource(manager, self._eager_to_zip(name)) - return self._extract_resource(manager, zip_path) - - @staticmethod - def _get_date_and_size(zip_stat): - size = zip_stat.file_size - # ymdhms+wday, yday, dst - date_time = zip_stat.date_time + (0, 0, -1) - # 1980 offset already done - timestamp = time.mktime(date_time) - return timestamp, size - - # FIXME: 'ZipProvider._extract_resource' is too complex (12) - 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)) - # return the extracted directory name - return os.path.dirname(last) - - timestamp, _size = self._get_date_and_size(self.zipinfo[zip_path]) - - if not WRITE_SUPPORT: - 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): - return real_path - - outf, tmpnam = _mkstemp( - ".$extract", - dir=os.path.dirname(real_path), - ) - os.write(outf, self.loader.get_data(zip_path)) - os.close(outf) - utime(tmpnam, (timestamp, timestamp)) - manager.postprocess(tmpnam, real_path) - - try: - rename(tmpnam, real_path) - - 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, - # so proceed. - return real_path - # Windows, del old file and retry - elif os.name == 'nt': - unlink(real_path) - rename(tmpnam, real_path) - return real_path - raise - - except OSError: - # report a user-friendly error - manager.extraction_error() - - return real_path - - def _is_current(self, file_path, zip_path): - """ - Return True if the file_path is current for this zip_path - """ - timestamp, size = self._get_date_and_size(self.zipinfo[zip_path]) - if not os.path.isfile(file_path): - return False - stat = os.stat(file_path) - if stat.st_size != size or stat.st_mtime != timestamp: - return False - # check that the contents match - zip_contents = self.loader.get_data(zip_path) - with open(file_path, 'rb') as f: - file_contents = f.read() - return zip_contents == file_contents - - def _get_eager_resources(self): - if self.eagers is None: - eagers = [] - for name in ('native_libs.txt', 'eager_resources.txt'): - if self.has_metadata(name): - eagers.extend(self.get_metadata_lines(name)) - self.eagers = eagers - return self.eagers - - def _index(self): - try: - return self._dirindex - except AttributeError: - ind = {} - for path in self.zipinfo: - parts = path.split(os.sep) - while parts: - parent = os.sep.join(parts[:-1]) - if parent in ind: - ind[parent].append(parts[-1]) - break - else: - ind[parent] = [parts.pop()] - self._dirindex = ind - return ind - - 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) -> 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: str): - return self._zipinfo_name(self._fn(self.egg_root, resource_name)) - - def _resource_to_zip(self, resource_name: str): - return self._zipinfo_name(self._fn(self.module_path, resource_name)) - - -register_loader_type(zipimport.zipimporter, ZipProvider) - - -class FileMetadata(EmptyProvider): - """Metadata handler for standalone PKG-INFO files - - Usage:: - - metadata = FileMetadata("/path/to/PKG-INFO") - - This provider rejects all data and metadata requests except for PKG-INFO, - which is treated as existing, and will be the contents of the file at - the provided location. - """ - - def __init__(self, path: StrPath) -> None: - self.path = path - - def _get_metadata_path(self, name): - return self.path - - def has_metadata(self, name: str) -> bool: - return name == 'PKG-INFO' and os.path.isfile(self.path) - - def get_metadata(self, name: str) -> str: - if name != 'PKG-INFO': - raise KeyError("No metadata except PKG-INFO is available") - - with open(self.path, encoding='utf-8', errors="replace") as f: - metadata = f.read() - self._warn_on_replacement(metadata) - return metadata - - def _warn_on_replacement(self, metadata) -> None: - replacement_char = '�' - if replacement_char in metadata: - tmpl = "{self.path} could not be properly decoded in UTF-8" - msg = tmpl.format(**locals()) - warnings.warn(msg) - - def get_metadata_lines(self, name: str) -> Iterator[str]: - return yield_lines(self.get_metadata(name)) - - -class PathMetadata(DefaultProvider): - """Metadata provider for egg directories - - Usage:: - - # Development eggs: - - egg_info = "/path/to/PackageName.egg-info" - base_dir = os.path.dirname(egg_info) - metadata = PathMetadata(base_dir, egg_info) - dist_name = os.path.splitext(os.path.basename(egg_info))[0] - dist = Distribution(basedir, project_name=dist_name, metadata=metadata) - - # Unpacked egg directories: - - egg_path = "/path/to/PackageName-ver-pyver-etc.egg" - metadata = PathMetadata(egg_path, os.path.join(egg_path,'EGG-INFO')) - dist = Distribution.from_filename(egg_path, metadata=metadata) - """ - - def __init__(self, path: str, egg_info: str) -> None: - self.module_path = path - self.egg_info = egg_info - - -class EggMetadata(ZipProvider): - """Metadata provider for .egg files""" - - def __init__(self, importer: zipimport.zipimporter) -> None: - """Create a metadata provider from a zipimporter""" - - self.zip_pre = importer.archive + os.sep - self.loader = importer - if importer.prefix: - self.module_path = os.path.join(importer.archive, importer.prefix) - else: - self.module_path = importer.archive - self._setup_prefix() - - -_distribution_finders: dict[type, _DistFinderType[Any]] = _declare_state( - 'dict', '_distribution_finders', {} -) - - -def register_finder( - importer_type: type[_T], distribution_finder: _DistFinderType[_T] -) -> None: - """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 - handler), and `distribution_finder` is a callable that, passed a path - item and the importer instance, yields ``Distribution`` instances found on - that path item. See ``pkg_resources.find_on_path`` for an example.""" - _distribution_finders[importer_type] = distribution_finder - - -def find_distributions(path_item: str, only: bool = False) -> Iterable[Distribution]: - """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: zipimport.zipimporter, path_item: str, only: bool = False -) -> Iterator[Distribution]: - """ - Find eggs in zip files; possibly multiple nested eggs. - """ - if importer.archive.endswith('.whl'): - # wheels are not supported with this finder - # they don't have PKG-INFO metadata, and won't ever contain eggs - return - metadata = EggMetadata(importer) - if metadata.has_metadata('PKG-INFO'): - yield Distribution.from_filename(path_item, metadata=metadata) - if only: - # don't yield nested distros - return - for subitem in metadata.resource_listdir(''): - if _is_egg_path(subitem): - subpath = os.path.join(path_item, subitem) - dists = find_eggs_in_zip(zipimport.zipimporter(subpath), subpath) - yield from dists - elif subitem.lower().endswith(('.dist-info', '.egg-info')): - subpath = os.path.join(path_item, subitem) - submeta = EggMetadata(zipimport.zipimporter(subpath)) - submeta.egg_info = subpath - yield Distribution.from_location(path_item, subitem, submeta) - - -register_finder(zipimport.zipimporter, find_eggs_in_zip) - - -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: object | None, path_item, only=False): - """Yield distributions accessible on a sys.path directory""" - path_item = _normalize_cached(path_item) - - if _is_unpacked_egg(path_item): - yield Distribution.from_filename( - path_item, - metadata=PathMetadata(path_item, os.path.join(path_item, 'EGG-INFO')), - ) - return - - entries = (os.path.join(path_item, child) for child in safe_listdir(path_item)) - - # scan for .egg and .egg-info in directory - for entry in sorted(entries): - fullpath = os.path.join(path_item, entry) - factory = dist_factory(path_item, entry, only) - yield from factory(fullpath) - - -def dist_factory(path_item, entry, only): - """Return a dist_factory for the given entry.""" - lower = entry.lower() - is_egg_info = lower.endswith('.egg-info') - is_dist_info = lower.endswith('.dist-info') and os.path.isdir( - os.path.join(path_item, entry) - ) - is_meta = is_egg_info or is_dist_info - return ( - distributions_from_metadata - if is_meta - else find_distributions - if not only and _is_egg_path(entry) - else resolve_egg_link - if not only and lower.endswith('.egg-link') - else NoDists() - ) - - -class NoDists: - """ - >>> bool(NoDists()) - False - - >>> list(NoDists()('anything')) - [] - """ - - def __bool__(self) -> Literal[False]: - return False - - def __call__(self, fullpath: object): - return iter(()) - - -def safe_listdir(path: StrOrBytesPath): - """ - Attempt to list contents of path, but suppress some exceptions. - """ - try: - return os.listdir(path) - except (PermissionError, NotADirectoryError): - pass - except OSError as e: - # Ignore the directory if does not exist, not a directory or - # permission denied - if e.errno not in (errno.ENOTDIR, errno.EACCES, errno.ENOENT): - raise - return () - - -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: _MetadataType = PathMetadata(root, path) - else: - metadata = FileMetadata(path) - entry = os.path.basename(path) - yield Distribution.from_location( - root, - entry, - metadata, - precedence=DEVELOP_DIST, - ) - - -def non_empty_lines(path): - """ - Yield non-empty lines from file at path - """ - for line in _read_utf8_with_fallback(path).splitlines(): - line = line.strip() - if line: - yield line - - -def resolve_egg_link(path): - """ - Given a path to an .egg-link, resolve distributions - present in the referenced path. - """ - referenced_paths = non_empty_lines(path) - resolved_paths = ( - os.path.join(os.path.dirname(path), ref) for ref in referenced_paths - ) - dist_groups = map(find_distributions, resolved_paths) - return next(dist_groups, ()) - - -if hasattr(pkgutil, 'ImpImporter'): - register_finder(pkgutil.ImpImporter, find_on_path) - -register_finder(importlib.machinery.FileFinder, find_on_path) - -_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: type[_T], namespace_handler: _NSHandlerType[_T] -) -> None: - """Register `namespace_handler` to declare namespace packages - - `importer_type` is the type or class of a PEP 302 "Importer" (sys.path item - handler), and `namespace_handler` is a callable like this:: - - def namespace_handler(importer, path_entry, moduleName, module): - # return a path_entry to use for child packages - - Namespace handlers are only called if the importer object has already - agreed that it can handle the relevant path item, and they should only - return a subpath if the module __path__ does not already contain an - equivalent subpath. For an example namespace handler, see - ``pkg_resources.file_ns_handler``. - """ - _namespace_handlers[importer_type] = namespace_handler - - -def _handle_ns(packageName, path_item): - """Ensure that named package includes a subpath of path_item (if needed)""" - - importer = get_importer(path_item) - if importer is None: - return None - - # use find_spec (PEP 451) and fall-back to find_module (PEP 302) - try: - spec = importer.find_spec(packageName) - except AttributeError: - # capture warnings due to #1111 - with warnings.catch_warnings(): - warnings.simplefilter("ignore") - loader = importer.find_module(packageName) - else: - loader = spec.loader if spec else None - - if loader is None: - return None - module = sys.modules.get(packageName) - if module is None: - module = sys.modules[packageName] = types.ModuleType(packageName) - module.__path__ = [] - _set_parent_ns(packageName) - elif not hasattr(module, '__path__'): - raise TypeError("Not a package:", packageName) - handler = _find_adapter(_namespace_handlers, importer) - subpath = handler(importer, path_item, packageName, module) - if subpath is not None: - path = module.__path__ - path.append(subpath) - importlib.import_module(packageName) - _rebuild_mod_path(path, packageName, module) - return subpath - - -def _rebuild_mod_path(orig_path, package_name, module: types.ModuleType) -> None: - """ - Rebuild module.__path__ ensuring that all entries are ordered - corresponding to their sys.path order - """ - sys_path = [_normalize_cached(p) for p in sys.path] - - def safe_sys_path_index(entry): - """ - Workaround for #520 and #513. - """ - try: - return sys_path.index(entry) - except ValueError: - return float('inf') - - def position_in_sys_path(path): - """ - Return the ordinal of the path based on its position in sys.path - """ - path_parts = path.split(os.sep) - module_parts = package_name.count('.') + 1 - parts = path_parts[:-module_parts] - return safe_sys_path_index(_normalize_cached(os.sep.join(parts))) - - new_path = sorted(orig_path, key=position_in_sys_path) - new_path = [_normalize_cached(p) for p in new_path] - - if isinstance(module.__path__, list): - module.__path__[:] = new_path - else: - module.__path__ = new_path - - -def declare_namespace(packageName: str) -> None: - """Declare that package 'packageName' is a namespace package""" - - msg = ( - f"Deprecated call to `pkg_resources.declare_namespace({packageName!r})`.\n" - "Implementing implicit namespace packages (as specified in PEP 420) " - "is preferred to `pkg_resources.declare_namespace`. " - "See https://setuptools.pypa.io/en/latest/references/" - "keywords.html#keyword-namespace-packages" - ) - warnings.warn(msg, DeprecationWarning, stacklevel=2) - - _imp.acquire_lock() - try: - if packageName in _namespace_packages: - return - - path: MutableSequence[str] = sys.path - parent, _, _ = packageName.rpartition('.') - - if parent: - declare_namespace(parent) - if parent not in _namespace_packages: - __import__(parent) - try: - path = sys.modules[parent].__path__ - except AttributeError as e: - raise TypeError("Not a package:", parent) from e - - # Track what packages are namespaces, so when new path items are added, - # they can be updated - _namespace_packages.setdefault(parent or None, []).append(packageName) - _namespace_packages.setdefault(packageName, []) - - for path_item in path: - # Ensure all the parent's path items are reflected in the child, - # if they apply - _handle_ns(packageName, path_item) - - finally: - _imp.release_lock() - - -def fixup_namespace_packages(path_item: str, parent: str | None = None) -> None: - """Ensure that previously-declared namespace packages include path_item""" - _imp.acquire_lock() - try: - for package in _namespace_packages.get(parent, ()): - subpath = _handle_ns(package, path_item) - if subpath: - fixup_namespace_packages(subpath, package) - finally: - _imp.release_lock() - - -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]) - normalized = _normalize_cached(subpath) - for item in module.__path__: - if _normalize_cached(item) == normalized: - break - else: - # Only return the path if it's not already there - return subpath - - -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) - - -def null_ns_handler( - importer: object, - path_item: str | None, - packageName: str | None, - module: _ModuleLike | None, -) -> None: - return None - - -register_namespace_handler(object, null_ns_handler) - - -@overload -def normalize_path(filename: StrPath) -> str: ... -@overload -def normalize_path(filename: BytesPath) -> bytes: ... -def normalize_path(filename: StrOrBytesPath) -> str | bytes: - """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: StrOrBytesPath): # pragma: nocover - """ - Contrary to POSIX 2008, on Cygwin, getcwd (3) contains - symlink components. Using - os.path.abspath() works around this limitation. A fix in os.getcwd() - would probably better, in Cygwin even more so, except - that this seems to be by design... - """ - return os.path.abspath(filename) if sys.platform == 'cygwin' else filename - - -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.cache - def _normalize_cached(filename): - return normalize_path(filename) - - -def _is_egg_path(path): - """ - Determine if given path appears to be an egg. - """ - return _is_zip_egg(path) or _is_unpacked_egg(path) - - -def _is_zip_egg(path): - return ( - path.lower().endswith('.egg') - and os.path.isfile(path) - and zipfile.is_zipfile(path) - ) - - -def _is_unpacked_egg(path): - """ - Determine if given path appears to be an unpacked egg. - """ - return path.lower().endswith('.egg') and os.path.isfile( - os.path.join(path, 'EGG-INFO', 'PKG-INFO') - ) - - -def _set_parent_ns(packageName) -> None: - parts = packageName.split('.') - name = parts.pop() - if parts: - parent = '.'.join(parts) - setattr(sys.modules[parent], name, sys.modules[packageName]) - - -MODULE = re.compile(r"\w+(\.\w+)*$").match -EGG_NAME = re.compile( - r""" - (?P[^-]+) ( - -(?P[^-]+) ( - -py(?P[^-]+) ( - -(?P.+) - )? - )? - )? - """, - re.VERBOSE | re.IGNORECASE, -).match - - -class EntryPoint: - """Object representing an advertised importable object""" - - def __init__( - self, - name: str, - module_name: str, - attrs: Iterable[str] = (), - extras: Iterable[str] = (), - dist: Distribution | None = None, - ) -> None: - if not MODULE(module_name): - raise ValueError("Invalid module name", module_name) - self.name = name - self.module_name = module_name - self.attrs = tuple(attrs) - self.extras = tuple(extras) - self.dist = dist - - def __str__(self) -> str: - s = "%s = %s" % (self.name, self.module_name) - if self.attrs: - s += ':' + '.'.join(self.attrs) - if self.extras: - s += ' [%s]' % ','.join(self.extras) - return s - - def __repr__(self) -> str: - return "EntryPoint.parse(%r)" % str(self) - - @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. - """ - if not require or args or kwargs: - warnings.warn( - "Parameters to load are deprecated. Call .resolve and " - ".require separately.", - PkgResourcesDeprecationWarning, - stacklevel=2, - ) - if require: - # We could pass `env` and `installer` directly, - # but keeping `*args` and `**kwargs` for backwards compatibility - self.require(*args, **kwargs) # type: ignore[arg-type] - return self.resolve() - - def resolve(self) -> _ResolvedEntryPoint: - """ - Resolve the entry point from its module and attrs. - """ - module = __import__(self.module_name, fromlist=['__name__'], level=0) - try: - return functools.reduce(getattr, self.attrs, module) - except AttributeError as exc: - raise ImportError(str(exc)) from exc - - def require( - self, - env: Environment | None = None, - installer: _InstallerType | None = 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 - # that the working set knows what extras we want. Otherwise, for - # dist-info distributions, the working set will assume that the - # requirements for that extra are purely optional and skip over them. - reqs = self.dist.requires(self.extras) - items = working_set.resolve(reqs, env, installer, extras=self.extras) - list(map(working_set.add, items)) - - pattern = re.compile( - r'\s*' - r'(?P.+?)\s*' - r'=\s*' - r'(?P[\w.]+)\s*' - r'(:\s*(?P[\w.]+))?\s*' - r'(?P\[.*\])?\s*$' - ) - - @classmethod - def parse(cls, src: str, dist: Distribution | None = None) -> Self: - """Parse a single entry point from string `src` - - Entry point syntax follows the form:: - - name = some.module:some.attr [extra1, extra2] - - The entry name and module name are required, but the ``:attrs`` and - ``[extras]`` parts are optional - """ - m = cls.pattern.match(src) - if not m: - msg = "EntryPoint must be in 'name=module:attrs [extras]' format" - raise ValueError(msg, src) - res = m.groupdict() - extras = cls._parse_extras(res['extras']) - attrs = res['attr'].split('.') if res['attr'] else () - return cls(res['name'], res['module'], attrs, extras, dist) - - @classmethod - def _parse_extras(cls, extras_spec): - if not extras_spec: - return () - req = Requirement.parse('x' + extras_spec) - if req.specs: - raise ValueError - return req.extras - - @classmethod - def parse_group( - cls, - group: str, - lines: _NestedStr, - dist: Distribution | None = None, - ) -> dict[str, Self]: - """Parse an entry point group""" - if not MODULE(group): - raise ValueError("Invalid group name", group) - this: dict[str, Self] = {} - for line in yield_lines(lines): - ep = cls.parse(line, dist) - if ep.name in this: - raise ValueError("Duplicate entry point", group, ep.name) - this[ep.name] = ep - return this - - @classmethod - def parse_map( - cls, - data: str | Iterable[str] | dict[str, str | Iterable[str]], - dist: Distribution | None = None, - ) -> dict[str, dict[str, Self]]: - """Parse a map of entry point groups""" - _data: Iterable[tuple[str | None, str | Iterable[str]]] - if isinstance(data, dict): - _data = data.items() - else: - _data = split_sections(data) - maps: dict[str, dict[str, Self]] = {} - for group, lines in _data: - if group is None: - if not lines: - continue - raise ValueError("Entry points must be listed in groups") - group = group.strip() - if group in maps: - raise ValueError("Duplicate group name", group) - maps[group] = cls.parse_group(group, lines, dist) - return maps - - -def _version_from_file(lines): - """ - Given an iterable of lines from a Metadata file, return - the value of the Version field, if present, or None otherwise. - """ - - def is_version_line(line): - return line.lower().startswith('version:') - - version_lines = filter(is_version_line, lines) - line = next(iter(version_lines), '') - _, _, value = line.partition(':') - return safe_version(value.strip()) or None - - -class Distribution: - """Wrap an actual or potential sys.path entry w/metadata""" - - PKG_INFO = 'PKG-INFO' - - def __init__( - self, - 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, - ) -> None: - self.project_name = safe_name(project_name or 'Unknown') - if version is not None: - self._version = safe_version(version) - self.py_version = py_version - self.platform = platform - self.location = location - self.precedence = precedence - self._provider = metadata or empty_provider - - @classmethod - 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: - cls = _distributionImpl[ext.lower()] - - match = EGG_NAME(basename) - if match: - project_name, version, py_version, platform = match.group( - 'name', 'ver', 'pyver', 'plat' - ) - return cls( - location, - metadata, - project_name=project_name, - version=version, - py_version=py_version, - platform=platform, - **kw, - )._reload_version() - - def _reload_version(self): - return self - - @property - def hashcmp(self): - return ( - self._forgiving_parsed_version, - self.precedence, - self.key, - self.location, - self.py_version or '', - self.platform or '', - ) - - def __hash__(self) -> int: - return hash(self.hashcmp) - - def __lt__(self, other: Distribution) -> bool: - return self.hashcmp < other.hashcmp - - def __le__(self, other: Distribution) -> bool: - return self.hashcmp <= other.hashcmp - - def __gt__(self, other: Distribution) -> bool: - return self.hashcmp > other.hashcmp - - def __ge__(self, other: Distribution) -> bool: - return self.hashcmp >= other.hashcmp - - def __eq__(self, other: object) -> bool: - 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: object) -> bool: - return not self == other - - # These properties have to be lazy so that we don't have to load any - # metadata until/unless it's actually needed. (i.e., some distributions - # may not know their name or version without loading PKG-INFO) - - @property - def key(self): - try: - return self._key - except AttributeError: - self._key = key = self.project_name.lower() - return key - - @property - def parsed_version(self): - if not hasattr(self, "_parsed_version"): - try: - self._parsed_version = parse_version(self.version) - 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 - - return self._parsed_version - - @property - def _forgiving_parsed_version(self): - try: - return self.parsed_version - except packaging.version.InvalidVersion as ex: - self._parsed_version = parse_version(_forgiving_version(self.version)) - - notes = "\n".join(getattr(ex, "__notes__", [])) # PEP 678 - msg = f"""!!\n\n - ************************************************************************* - {str(ex)}\n{notes} - - This is a long overdue deprecation. - For the time being, `pkg_resources` will use `{self._parsed_version}` - as a replacement to avoid breaking existing environments, - but no future compatibility is guaranteed. - - If you maintain package {self.project_name} you should implement - the relevant changes to adequate the project to PEP 440 immediately. - ************************************************************************* - \n\n!! - """ - warnings.warn(msg, DeprecationWarning) - - return self._parsed_version - - @property - def version(self): - try: - return self._version - except AttributeError as e: - version = self._get_version() - if version is None: - path = self._get_metadata_path_for_display(self.PKG_INFO) - msg = ("Missing 'Version:' header and/or {} file at path: {}").format( - self.PKG_INFO, path - ) - raise ValueError(msg, self) from e - - return version - - @property - def _dep_map(self): - """ - A map of extra to its list of (direct) requirements - for this distribution, including the null extra. - """ - try: - return self.__dep_map - except AttributeError: - self.__dep_map = self._filter_extras(self._build_dep_map()) - return self.__dep_map - - @staticmethod - def _filter_extras( - dm: dict[str | None, list[Requirement]], - ) -> 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: str | None = extra - reqs = dm.pop(extra) - new_extra, _, marker = extra.partition(':') - fails_marker = marker and ( - invalid_marker(marker) or not evaluate_marker(marker) - ) - if fails_marker: - reqs = [] - new_extra = safe_extra(new_extra) or None - - dm.setdefault(new_extra, []).extend(reqs) - return dm - - def _build_dep_map(self): - dm = {} - for name in 'requires.txt', 'depends.txt': - for extra, reqs in split_sections(self._get_metadata(name)): - dm.setdefault(extra, []).extend(parse_requirements(reqs)) - return dm - - def requires(self, extras: Iterable[str] = ()) -> list[Requirement]: - """List of Requirements needed for this distro if `extras` are used""" - dm = self._dep_map - deps: list[Requirement] = [] - deps.extend(dm.get(None, ())) - for ext in extras: - try: - deps.extend(dm[safe_extra(ext)]) - except KeyError as e: - raise UnknownExtra( - "%s has no such extra feature %r" % (self, ext) - ) from e - return deps - - def _get_metadata_path_for_display(self, name): - """ - Return the path to the given metadata file, if available. - """ - try: - # We need to access _get_metadata_path() on the provider object - # directly rather than through this class's __getattr__() - # since _get_metadata_path() is marked private. - path = self._provider._get_metadata_path(name) - - # Handle exceptions e.g. in case the distribution's metadata - # provider doesn't support _get_metadata_path(). - except Exception: - return '[could not detect]' - - return path - - def _get_metadata(self, name): - if self.has_metadata(name): - yield from self.get_metadata_lines(name) - - def _get_version(self): - lines = self._get_metadata(self.PKG_INFO) - return _version_from_file(lines) - - def activate(self, path: list[str] | None = None, replace: bool = False) -> None: - """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 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: - declare_namespace(pkg) - - def egg_name(self): - """Return what this distribution's standard .egg filename should be""" - filename = "%s-%s-py%s" % ( - to_filename(self.project_name), - to_filename(self.version), - self.py_version or PY_MAJOR, - ) - - if self.platform: - filename += '-' + self.platform - return filename - - def __repr__(self) -> str: - if self.location: - return "%s (%s)" % (self, self.location) - else: - return str(self) - - def __str__(self) -> str: - try: - version = getattr(self, 'version', None) - except ValueError: - version = None - version = version or "[unknown version]" - return "%s %s" % (self.project_name, version) - - def __getattr__(self, attr: str): - """Delegate all unrecognized public attributes to .metadata provider""" - if attr.startswith('_'): - raise AttributeError(attr) - return getattr(self._provider, attr) - - def __dir__(self): - return list( - set(super().__dir__()) - | set(attr for attr in self._provider.__dir__() if not attr.startswith('_')) - ) - - @classmethod - 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 - ) -> Distribution: - 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): - 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: 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() - - @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""" - 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 self._ep_map.get(group, {}) - return self._ep_map - - def get_entry_info(self, group: str, name: str) -> EntryPoint | None: - """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( # noqa: C901 - self, - path: list[str], - loc=None, - replace: bool = False, - ) -> None: - """Ensure self.location is on path - - If replace=False (default): - - If location is already in path anywhere, do nothing. - - Else: - - If it's an egg and its parent directory is on path, - insert just ahead of the parent. - - Else: add to the end of path. - If replace=True: - - If location is already on path anywhere (not eggs) - or higher priority than its parent (eggs) - do nothing. - - Else: - - If it's an egg and its parent directory is on path, - insert just ahead of the parent, - removing any lower-priority entries. - - Else: add it to the front of path. - """ - - loc = loc or self.location - if not loc: - return - - nloc = _normalize_cached(loc) - bdir = os.path.dirname(nloc) - npath = [(p and _normalize_cached(p) or p) for p in path] - - for p, item in enumerate(npath): - if item == nloc: - if replace: - break - else: - # don't modify path (even removing duplicates) if - # found and not replace - return - elif item == bdir and self.precedence == EGG_DIST: - # if it's an .egg, give it precedence over its directory - # UNLESS it's already been added to sys.path and replace=False - if (not replace) and nloc in npath[p:]: - return - if path is sys.path: - self.check_version_conflict() - path.insert(p, loc) - npath.insert(p, nloc) - break - else: - if path is sys.path: - self.check_version_conflict() - if replace: - path.insert(0, loc) - else: - path.append(loc) - return - - # p is the spot where we found or inserted loc; now remove duplicates - while True: - try: - np = npath.index(nloc, p + 1) - except ValueError: - break - else: - del npath[np], path[np] - # ha! - p = np - - return - - def check_version_conflict(self): - if self.key == 'setuptools': - # ignore the inevitable setuptools self-conflicts :( - return - - nsp = dict.fromkeys(self._get_metadata('namespace_packages.txt')) - loc = normalize_path(self.location) - for modname in self._get_metadata('top_level.txt'): - if ( - modname not in sys.modules - or modname in nsp - or modname in _namespace_packages - ): - continue - if modname in ('pkg_resources', 'setuptools', 'site'): - continue - fn = getattr(sys.modules[modname], '__file__', None) - if fn and ( - normalize_path(fn).startswith(loc) or fn.startswith(self.location) - ): - continue - issue_warning( - "Module %s was already imported from %s, but %s is being added" - " to sys.path" % (modname, fn, self.location), - ) - - def has_version(self) -> bool: - try: - self.version - except ValueError: - issue_warning("Unbuilt egg for " + repr(self)) - return False - except SystemError: - # TODO: remove this except clause when python/cpython#103632 is fixed. - return False - return True - - def clone(self, **kw: str | int | IResourceProvider | None) -> Self: - """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) - # Unsafely unpacking. But keeping **kw for backwards and subclassing compatibility - return self.__class__(**kw) # type:ignore[arg-type] - - @property - def extras(self): - return [dep for dep in self._dep_map if dep] - - -class EggInfoDistribution(Distribution): - def _reload_version(self): - """ - Packages installed by distutils (e.g. numpy or scipy), - which uses an old safe_version, and so - their version numbers can get mangled when - converted to filenames (e.g., 1.11.0.dev0+2329eae to - 1.11.0.dev0_2329eae). These distributions will not be - parsed properly - downstream by Distribution and safe_version, so - take an extra step and try to get the version number from - the metadata file itself instead of the filename. - """ - md_version = self._get_version() - if md_version: - self._version = md_version - return self - - -class DistInfoDistribution(Distribution): - """ - Wrap an actual or potential sys.path entry - w/metadata, .dist-info style. - """ - - PKG_INFO = 'METADATA' - EQEQ = re.compile(r"([\(,])\s*(\d.*?)\s*([,\)])") - - @property - def _parsed_pkg_info(self): - """Parse and cache metadata""" - try: - return self._pkg_info - except AttributeError: - metadata = self.get_metadata(self.PKG_INFO) - self._pkg_info = email.parser.Parser().parsestr(metadata) - return self._pkg_info - - @property - def _dep_map(self): - try: - return self.__dep_map - except AttributeError: - self.__dep_map = self._compute_dependencies() - return self.__dep_map - - def _compute_dependencies(self) -> dict[str | None, list[Requirement]]: - """Recompute this distribution's dependencies.""" - self.__dep_map: dict[str | None, list[Requirement]] = {None: []} - - reqs: list[Requirement] = [] - # Including any condition expressions - for req in self._parsed_pkg_info.get_all('Requires-Dist') or []: - reqs.extend(parse_requirements(req)) - - def reqs_for_extra(extra): - for req in reqs: - if not req.marker or req.marker.evaluate({'extra': extra}): - yield req - - common = types.MappingProxyType(dict.fromkeys(reqs_for_extra(None))) - self.__dep_map[None].extend(common) - - for extra in self._parsed_pkg_info.get_all('Provides-Extra') or []: - s_extra = safe_extra(extra.strip()) - self.__dep_map[s_extra] = [ - r for r in reqs_for_extra(extra) if r not in common - ] - - return self.__dep_map - - -_distributionImpl = { - '.egg': Distribution, - '.egg-info': EggInfoDistribution, - '.dist-info': DistInfoDistribution, -} - - -def issue_warning(*args, **kw): - level = 1 - g = globals() - try: - # find the first stack frame that is *not* code in - # the pkg_resources module, to use for the warning - while sys._getframe(level).f_globals is g: - level += 1 - except ValueError: - pass - warnings.warn(stacklevel=level + 1, *args, **kw) - - -def parse_requirements(strs: _NestedStr) -> map[Requirement]: - """ - Yield ``Requirement`` objects for each specification in `strs`. - - `strs` must be a string, or a (possibly-nested) iterable thereof. - """ - return map(Requirement, join_continuation(map(drop_comment, yield_lines(strs)))) - - -class RequirementParseError(packaging.requirements.InvalidRequirement): - "Compatibility wrapper for InvalidRequirement" - - -class Requirement(packaging.requirements.Requirement): - # prefer variable length tuple to set (as found in - # packaging.requirements.Requirement) - extras: tuple[str, ...] # type: ignore[assignment] - - def __init__(self, requirement_string: str) -> None: - """DO NOT CALL THIS UNDOCUMENTED METHOD; use Requirement.parse()!""" - 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)) - self.hashCmp = ( - self.key, - self.url, - self.specifier, - frozenset(self.extras), - str(self.marker) if self.marker else None, - ) - self.__hash = hash(self.hashCmp) - - def __eq__(self, other: object) -> bool: - return isinstance(other, Requirement) and self.hashCmp == other.hashCmp - - def __ne__(self, other: object) -> bool: - return not self == other - - def __contains__( - self, item: Distribution | packaging.specifiers.UnparsedVersion - ) -> bool: - if isinstance(item, Distribution): - if item.key != self.key: - return False - - version = item.version - else: - version = item - - # Allow prereleases always in order to match the previous behavior of - # this method. In the future this should be smarter and follow PEP 440 - # more accurately. - return self.specifier.contains( - version, - prereleases=True, - ) - - def __hash__(self) -> int: - return self.__hash - - def __repr__(self) -> str: - return "Requirement.parse(%r)" % str(self) - - @staticmethod - def parse(s: str | Iterable[str]) -> Requirement: - (req,) = parse_requirements(s) - return req - - -def _always_object(classes): - """ - Ensure object appears in the mro even - for old-style classes. - """ - if object not in classes: - return classes + (object,) - return classes - - -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: StrOrBytesPath) -> None: - """Ensure that the parent directory of `path` exists""" - dirname = os.path.dirname(path) - os.makedirs(dirname, exist_ok=True) - - -def _bypass_ensure_directory(path) -> None: - """Sandbox-bypassing version of ensure_directory()""" - if not WRITE_SUPPORT: - 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) - try: - mkdir(dirname, 0o755) - except FileExistsError: - pass - - -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]") - and each ``content`` is a list of stripped lines excluding blank lines and - comment-only lines. If there are any such lines before the first section - header, they're returned in a first ``section`` of ``None``. - """ - section = None - content: list[str] = [] - for line in yield_lines(s): - if line.startswith("["): - if line.endswith("]"): - if section or content: - yield section, content - section = line[1:-1].strip() - content = [] - else: - raise ValueError("Invalid section heading", line) - else: - content.append(line) - - # wrap up last segment - yield section, content - - -def _mkstemp(*args, **kw): - old_open = os.open - try: - # temporarily bypass sandboxing - os.open = os_open - return tempfile.mkstemp(*args, **kw) - finally: - # and then put it back - os.open = old_open - - -# Silence the PEP440Warning by default, so that end users don't get hit by it -# randomly just because they use pkg_resources. We want to append the rule -# because we want earlier uses of filterwarnings to take precedence over this -# one. -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 - - -# This must go before calls to `_call_aside`. See https://github.com/pypa/setuptools/pull/4422 -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) - return f - - -@_call_aside -def _initialize(g=globals()) -> None: - "Set up global resource manager (deliberately not state-saved)" - manager = ResourceManager() - g['_manager'] = manager - g.update( - (name, getattr(manager, name)) - for name in dir(manager) - if not name.startswith('_') - ) - - -@_call_aside -def _initialize_master_working_set() -> None: - """ - Prepare the master working set and make the ``require()`` - API available. - - This function has explicit effects on the global state - of pkg_resources. It is intended to be invoked once at - the initialization of this module. - - Invocation by other packages is unsupported and done - at their own risk. - """ - working_set = _declare_state('object', 'working_set', WorkingSet._build_master()) - - require = working_set.require - iter_entry_points = working_set.iter_entry_points - add_activation_listener = working_set.subscribe - run_script = working_set.run_script - # backward compatibility - run_main = run_script - # Activate all distributions already on sys.path with replace=False and - # ensure that all distributions added to the working set in the future - # (e.g. by calling ``require()``) will get activated as well, - # with higher priority (replace=True). - tuple(dist.activate(replace=False) for dist in working_set) - add_activation_listener( - lambda dist: dist.activate(replace=True), - existing=False, - ) - working_set.entries = [] - # 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/python3.12/site-packages/pkg_resources/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pkg_resources/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index a71335ba..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/api_tests.txt b/.venv/lib/python3.12/site-packages/pkg_resources/api_tests.txt deleted file mode 100644 index d72b85aa..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/api_tests.txt +++ /dev/null @@ -1,424 +0,0 @@ -Pluggable Distributions of Python Software -========================================== - -Distributions -------------- - -A "Distribution" is a collection of files that represent a "Release" of a -"Project" as of a particular point in time, denoted by a -"Version":: - - >>> import sys, pkg_resources - >>> from pkg_resources import Distribution - >>> Distribution(project_name="Foo", version="1.2") - Foo 1.2 - -Distributions have a location, which can be a filename, URL, or really anything -else you care to use:: - - >>> dist = Distribution( - ... location="http://example.com/something", - ... project_name="Bar", version="0.9" - ... ) - - >>> dist - Bar 0.9 (http://example.com/something) - - -Distributions have various introspectable attributes:: - - >>> dist.location - 'http://example.com/something' - - >>> dist.project_name - 'Bar' - - >>> dist.version - '0.9' - - >>> dist.py_version == '{}.{}'.format(*sys.version_info) - True - - >>> print(dist.platform) - None - -Including various computed attributes:: - - >>> from pkg_resources import parse_version - >>> dist.parsed_version == parse_version(dist.version) - True - - >>> dist.key # case-insensitive form of the project name - 'bar' - -Distributions are compared (and hashed) by version first:: - - >>> Distribution(version='1.0') == Distribution(version='1.0') - True - >>> Distribution(version='1.0') == Distribution(version='1.1') - False - >>> Distribution(version='1.0') < Distribution(version='1.1') - True - -but also by project name (case-insensitive), platform, Python version, -location, etc.:: - - >>> Distribution(project_name="Foo",version="1.0") == \ - ... Distribution(project_name="Foo",version="1.0") - True - - >>> Distribution(project_name="Foo",version="1.0") == \ - ... Distribution(project_name="foo",version="1.0") - True - - >>> Distribution(project_name="Foo",version="1.0") == \ - ... Distribution(project_name="Foo",version="1.1") - False - - >>> Distribution(project_name="Foo",py_version="2.3",version="1.0") == \ - ... Distribution(project_name="Foo",py_version="2.4",version="1.0") - False - - >>> Distribution(location="spam",version="1.0") == \ - ... Distribution(location="spam",version="1.0") - True - - >>> Distribution(location="spam",version="1.0") == \ - ... Distribution(location="baz",version="1.0") - False - - - -Hash and compare distribution by prio/plat - -Get version from metadata -provider capabilities -egg_name() -as_requirement() -from_location, from_filename (w/path normalization) - -Releases may have zero or more "Requirements", which indicate -what releases of another project the release requires in order to -function. A Requirement names the other project, expresses some criteria -as to what releases of that project are acceptable, and lists any "Extras" -that the requiring release may need from that project. (An Extra is an -optional feature of a Release, that can only be used if its additional -Requirements are satisfied.) - - - -The Working Set ---------------- - -A collection of active distributions is called a Working Set. Note that a -Working Set can contain any importable distribution, not just pluggable ones. -For example, the Python standard library is an importable distribution that -will usually be part of the Working Set, even though it is not pluggable. -Similarly, when you are doing development work on a project, the files you are -editing are also a Distribution. (And, with a little attention to the -directory names used, and including some additional metadata, such a -"development distribution" can be made pluggable as well.) - - >>> from pkg_resources import WorkingSet - -A working set's entries are the sys.path entries that correspond to the active -distributions. By default, the working set's entries are the items on -``sys.path``:: - - >>> ws = WorkingSet() - >>> ws.entries == sys.path - True - -But you can also create an empty working set explicitly, and add distributions -to it:: - - >>> ws = WorkingSet([]) - >>> ws.add(dist) - >>> ws.entries - ['http://example.com/something'] - >>> dist in ws - True - >>> Distribution('foo',version="") in ws - False - -And you can iterate over its distributions:: - - >>> list(ws) - [Bar 0.9 (http://example.com/something)] - -Adding the same distribution more than once is a no-op:: - - >>> ws.add(dist) - >>> list(ws) - [Bar 0.9 (http://example.com/something)] - -For that matter, adding multiple distributions for the same project also does -nothing, because a working set can only hold one active distribution per -project -- the first one added to it:: - - >>> ws.add( - ... Distribution( - ... 'http://example.com/something', project_name="Bar", - ... version="7.2" - ... ) - ... ) - >>> list(ws) - [Bar 0.9 (http://example.com/something)] - -You can append a path entry to a working set using ``add_entry()``:: - - >>> ws.entries - ['http://example.com/something'] - >>> ws.add_entry(pkg_resources.__file__) - >>> ws.entries - ['http://example.com/something', '...pkg_resources...'] - -Multiple additions result in multiple entries, even if the entry is already in -the working set (because ``sys.path`` can contain the same entry more than -once):: - - >>> ws.add_entry(pkg_resources.__file__) - >>> ws.entries - ['...example.com...', '...pkg_resources...', '...pkg_resources...'] - -And you can specify the path entry a distribution was found under, using the -optional second parameter to ``add()``:: - - >>> ws = WorkingSet([]) - >>> ws.add(dist,"foo") - >>> ws.entries - ['foo'] - -But even if a distribution is found under multiple path entries, it still only -shows up once when iterating the working set: - - >>> ws.add_entry(ws.entries[0]) - >>> list(ws) - [Bar 0.9 (http://example.com/something)] - -You can ask a WorkingSet to ``find()`` a distribution matching a requirement:: - - >>> from pkg_resources import Requirement - >>> print(ws.find(Requirement.parse("Foo==1.0"))) # no match, return None - None - - >>> ws.find(Requirement.parse("Bar==0.9")) # match, return distribution - Bar 0.9 (http://example.com/something) - -Note that asking for a conflicting version of a distribution already in a -working set triggers a ``pkg_resources.VersionConflict`` error: - - >>> try: - ... ws.find(Requirement.parse("Bar==1.0")) - ... except pkg_resources.VersionConflict as exc: - ... print(str(exc)) - ... else: - ... raise AssertionError("VersionConflict was not raised") - (Bar 0.9 (http://example.com/something), Requirement.parse('Bar==1.0')) - -You can subscribe a callback function to receive notifications whenever a new -distribution is added to a working set. The callback is immediately invoked -once for each existing distribution in the working set, and then is called -again for new distributions added thereafter:: - - >>> def added(dist): print("Added %s" % dist) - >>> ws.subscribe(added) - Added Bar 0.9 - >>> foo12 = Distribution(project_name="Foo", version="1.2", location="f12") - >>> ws.add(foo12) - Added Foo 1.2 - -Note, however, that only the first distribution added for a given project name -will trigger a callback, even during the initial ``subscribe()`` callback:: - - >>> foo14 = Distribution(project_name="Foo", version="1.4", location="f14") - >>> ws.add(foo14) # no callback, because Foo 1.2 is already active - - >>> ws = WorkingSet([]) - >>> ws.add(foo12) - >>> ws.add(foo14) - >>> ws.subscribe(added) - Added Foo 1.2 - -And adding a callback more than once has no effect, either:: - - >>> ws.subscribe(added) # no callbacks - - # and no double-callbacks on subsequent additions, either - >>> just_a_test = Distribution(project_name="JustATest", version="0.99") - >>> ws.add(just_a_test) - Added JustATest 0.99 - - -Finding Plugins ---------------- - -``WorkingSet`` objects can be used to figure out what plugins in an -``Environment`` can be loaded without any resolution errors:: - - >>> from pkg_resources import Environment - - >>> plugins = Environment([]) # normally, a list of plugin directories - >>> plugins.add(foo12) - >>> plugins.add(foo14) - >>> plugins.add(just_a_test) - -In the simplest case, we just get the newest version of each distribution in -the plugin environment:: - - >>> ws = WorkingSet([]) - >>> ws.find_plugins(plugins) - ([JustATest 0.99, Foo 1.4 (f14)], {}) - -But if there's a problem with a version conflict or missing requirements, the -method falls back to older versions, and the error info dict will contain an -exception instance for each unloadable plugin:: - - >>> ws.add(foo12) # this will conflict with Foo 1.4 - >>> ws.find_plugins(plugins) - ([JustATest 0.99, Foo 1.2 (f12)], {Foo 1.4 (f14): VersionConflict(...)}) - -But if you disallow fallbacks, the failed plugin will be skipped instead of -trying older versions:: - - >>> ws.find_plugins(plugins, fallback=False) - ([JustATest 0.99], {Foo 1.4 (f14): VersionConflict(...)}) - - - -Platform Compatibility Rules ----------------------------- - -On the Mac, there are potential compatibility issues for modules compiled -on newer versions of macOS than what the user is running. Additionally, -macOS will soon have two platforms to contend with: Intel and PowerPC. - -Basic equality works as on other platforms:: - - >>> from pkg_resources import compatible_platforms as cp - >>> reqd = 'macosx-10.4-ppc' - >>> cp(reqd, reqd) - True - >>> cp("win32", reqd) - False - -Distributions made on other machine types are not compatible:: - - >>> cp("macosx-10.4-i386", reqd) - False - -Distributions made on earlier versions of the OS are compatible, as -long as they are from the same top-level version. The patchlevel version -number does not matter:: - - >>> cp("macosx-10.4-ppc", reqd) - True - >>> cp("macosx-10.3-ppc", reqd) - True - >>> cp("macosx-10.5-ppc", reqd) - False - >>> cp("macosx-9.5-ppc", reqd) - False - -Backwards compatibility for packages made via earlier versions of -setuptools is provided as well:: - - >>> cp("darwin-8.2.0-Power_Macintosh", reqd) - True - >>> cp("darwin-7.2.0-Power_Macintosh", reqd) - True - >>> cp("darwin-8.2.0-Power_Macintosh", "macosx-10.3-ppc") - False - - -Environment Markers -------------------- - - >>> from pkg_resources import invalid_marker as im, evaluate_marker as em - >>> import os - - >>> print(im("sys_platform")) - Expected marker operator, one of <=, <, !=, ==, >=, >, ~=, ===, in, not in - sys_platform - ^ - - >>> print(im("sys_platform==")) - Expected a marker variable or quoted string - sys_platform== - ^ - - >>> print(im("sys_platform=='win32'")) - False - - >>> print(im("sys=='x'")) - Expected a marker variable or quoted string - sys=='x' - ^ - - >>> print(im("(extra)")) - Expected marker operator, one of <=, <, !=, ==, >=, >, ~=, ===, in, not in - (extra) - ^ - - >>> print(im("(extra")) - Expected marker operator, one of <=, <, !=, ==, >=, >, ~=, ===, in, not in - (extra - ^ - - >>> print(im("os.open('foo')=='y'")) - Expected a marker variable or quoted string - os.open('foo')=='y' - ^ - - >>> print(im("'x'=='y' and os.open('foo')=='y'")) # no short-circuit! - Expected a marker variable or quoted string - 'x'=='y' and os.open('foo')=='y' - ^ - - >>> print(im("'x'=='x' or os.open('foo')=='y'")) # no short-circuit! - Expected a marker variable or quoted string - 'x'=='x' or os.open('foo')=='y' - ^ - - >>> print(im("r'x'=='x'")) - Expected a marker variable or quoted string - r'x'=='x' - ^ - - >>> print(im("'''x'''=='x'")) - Expected marker operator, one of <=, <, !=, ==, >=, >, ~=, ===, in, not in - '''x'''=='x' - ^ - - >>> print(im('"""x"""=="x"')) - Expected marker operator, one of <=, <, !=, ==, >=, >, ~=, ===, in, not in - """x"""=="x" - ^ - - >>> print(im(r"x\n=='x'")) - Expected a marker variable or quoted string - x\n=='x' - ^ - - >>> print(im("os.open=='y'")) - Expected a marker variable or quoted string - os.open=='y' - ^ - - >>> em("sys_platform=='win32'") == (sys.platform=='win32') - True - - >>> em("python_version >= '2.7'") - True - - >>> em("python_version > '2.6'") - True - - >>> im("implementation_name=='cpython'") - False - - >>> im("platform_python_implementation=='CPython'") - False - - >>> im("implementation_version=='3.5.1'") - False diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/py.typed b/.venv/lib/python3.12/site-packages/pkg_resources/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__init__.py b/.venv/lib/python3.12/site-packages/pkg_resources/tests/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index c067caea..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_find_distributions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_find_distributions.cpython-312.pyc deleted file mode 100644 index e3488a66..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_find_distributions.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_integration_zope_interface.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_integration_zope_interface.cpython-312.pyc deleted file mode 100644 index 5db7433f..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_integration_zope_interface.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_markers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_markers.cpython-312.pyc deleted file mode 100644 index 819ddab4..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_markers.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_pkg_resources.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_pkg_resources.cpython-312.pyc deleted file mode 100644 index 29b15e73..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_pkg_resources.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_resources.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_resources.cpython-312.pyc deleted file mode 100644 index 6c06275d..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_resources.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_working_set.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_working_set.cpython-312.pyc deleted file mode 100644 index 8ea891dd..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/__pycache__/test_working_set.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-source/__pycache__/setup.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-source/__pycache__/setup.cpython-312.pyc deleted file mode 100644 index 02a40671..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-source/__pycache__/setup.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-source/setup.cfg b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-source/setup.cfg deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py deleted file mode 100644 index ce908064..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-source/setup.py +++ /dev/null @@ -1,7 +0,0 @@ -import setuptools - -setuptools.setup( - name="my-test-package", - version="1.0", - zip_safe=True, -) diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-zip/my-test-package.zip b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-zip/my-test-package.zip deleted file mode 100644 index 81f9a017..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package-zip/my-test-package.zip and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/PKG-INFO b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/PKG-INFO deleted file mode 100644 index 7328e3f7..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/PKG-INFO +++ /dev/null @@ -1,10 +0,0 @@ -Metadata-Version: 1.0 -Name: my-test-package -Version: 1.0 -Summary: UNKNOWN -Home-page: UNKNOWN -Author: UNKNOWN -Author-email: UNKNOWN -License: UNKNOWN -Description: UNKNOWN -Platform: UNKNOWN diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/SOURCES.txt b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/SOURCES.txt deleted file mode 100644 index 3c4ee167..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/SOURCES.txt +++ /dev/null @@ -1,7 +0,0 @@ -setup.cfg -setup.py -my_test_package.egg-info/PKG-INFO -my_test_package.egg-info/SOURCES.txt -my_test_package.egg-info/dependency_links.txt -my_test_package.egg-info/top_level.txt -my_test_package.egg-info/zip-safe \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/dependency_links.txt b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/dependency_links.txt deleted file mode 100644 index 8b137891..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/dependency_links.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/top_level.txt b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/top_level.txt deleted file mode 100644 index 8b137891..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/top_level.txt +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/zip-safe b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/zip-safe deleted file mode 100644 index 8b137891..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/zip-safe +++ /dev/null @@ -1 +0,0 @@ - diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_zipped-egg/my_test_package-1.0-py3.7.egg b/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_zipped-egg/my_test_package-1.0-py3.7.egg deleted file mode 100644 index 5115b895..00000000 Binary files a/.venv/lib/python3.12/site-packages/pkg_resources/tests/data/my-test-package_zipped-egg/my_test_package-1.0-py3.7.egg and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_find_distributions.py b/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_find_distributions.py deleted file mode 100644 index 301b36d6..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_find_distributions.py +++ /dev/null @@ -1,56 +0,0 @@ -import shutil -from pathlib import Path - -import pytest - -import pkg_resources - -TESTS_DATA_DIR = Path(__file__).parent / 'data' - - -class TestFindDistributions: - @pytest.fixture - def target_dir(self, tmpdir): - target_dir = tmpdir.mkdir('target') - # place a .egg named directory in the target that is not an egg: - target_dir.mkdir('not.an.egg') - return target_dir - - def test_non_egg_dir_named_egg(self, target_dir): - dists = pkg_resources.find_distributions(str(target_dir)) - assert not list(dists) - - def test_standalone_egg_directory(self, target_dir): - shutil.copytree( - TESTS_DATA_DIR / 'my-test-package_unpacked-egg', - target_dir, - dirs_exist_ok=True, - ) - dists = pkg_resources.find_distributions(str(target_dir)) - assert [dist.project_name for dist in dists] == ['my-test-package'] - dists = pkg_resources.find_distributions(str(target_dir), only=True) - assert not list(dists) - - def test_zipped_egg(self, target_dir): - shutil.copytree( - TESTS_DATA_DIR / 'my-test-package_zipped-egg', - target_dir, - dirs_exist_ok=True, - ) - dists = pkg_resources.find_distributions(str(target_dir)) - assert [dist.project_name for dist in dists] == ['my-test-package'] - dists = pkg_resources.find_distributions(str(target_dir), only=True) - assert not list(dists) - - def test_zipped_sdist_one_level_removed(self, target_dir): - shutil.copytree( - TESTS_DATA_DIR / 'my-test-package-zip', target_dir, dirs_exist_ok=True - ) - dists = pkg_resources.find_distributions( - str(target_dir / "my-test-package.zip") - ) - assert [dist.project_name for dist in dists] == ['my-test-package'] - dists = pkg_resources.find_distributions( - str(target_dir / "my-test-package.zip"), only=True - ) - assert not list(dists) diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_integration_zope_interface.py b/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_integration_zope_interface.py deleted file mode 100644 index 4e37c340..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_integration_zope_interface.py +++ /dev/null @@ -1,54 +0,0 @@ -import platform -from inspect import cleandoc - -import jaraco.path -import pytest - -pytestmark = pytest.mark.integration - - -# For the sake of simplicity this test uses fixtures defined in -# `setuptools.test.fixtures`, -# and it also exercise conditions considered deprecated... -# So if needed this test can be deleted. -@pytest.mark.skipif( - platform.system() != "Linux", - reason="only demonstrated to fail on Linux in #4399", -) -def test_interop_pkg_resources_iter_entry_points(tmp_path, venv): - """ - Importing pkg_resources.iter_entry_points on console_scripts - seems to cause trouble with zope-interface, when deprecates installation method - is used. See #4399. - """ - project = { - "pkg": { - "foo.py": cleandoc( - """ - from pkg_resources import iter_entry_points - - def bar(): - print("Print me if you can") - """ - ), - "setup.py": cleandoc( - """ - from setuptools import setup, find_packages - - setup( - install_requires=["zope-interface==6.4.post2"], - entry_points={ - "console_scripts": [ - "foo=foo:bar", - ], - }, - ) - """ - ), - } - } - jaraco.path.build(project, prefix=tmp_path) - cmd = ["pip", "install", "-e", ".", "--no-use-pep517"] - venv.run(cmd, cwd=tmp_path / "pkg") # Needs this version of pkg_resources installed - out = venv.run(["foo"]) - assert "Print me if you can" in out diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_markers.py b/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_markers.py deleted file mode 100644 index 9306d5b3..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_markers.py +++ /dev/null @@ -1,8 +0,0 @@ -from unittest import mock - -from pkg_resources import evaluate_marker - - -@mock.patch('platform.python_version', return_value='2.7.10') -def test_ordering(python_version_mock): - assert evaluate_marker("python_full_version > '2.7.3'") is True diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_pkg_resources.py b/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_pkg_resources.py deleted file mode 100644 index 2e5526d1..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_pkg_resources.py +++ /dev/null @@ -1,427 +0,0 @@ -from __future__ import annotations - -import builtins -import datetime -import os -import plistlib -import stat -import subprocess -import sys -import tempfile -import zipfile -from unittest import mock - -import pytest - -import pkg_resources -from pkg_resources import DistInfoDistribution, Distribution, EggInfoDistribution - -import distutils.command.install_egg_info -import distutils.dist - - -class EggRemover(str): - def __call__(self): - if self in sys.path: - sys.path.remove(self) - if os.path.exists(self): - os.remove(self) - - -class TestZipProvider: - finalizers: list[EggRemover] = [] - - ref_time = datetime.datetime(2013, 5, 12, 13, 25, 0) - "A reference time for a file modification" - - @classmethod - def setup_class(cls): - "create a zip egg and add it to sys.path" - egg = tempfile.NamedTemporaryFile(suffix='.egg', delete=False) - zip_egg = zipfile.ZipFile(egg, 'w') - zip_info = zipfile.ZipInfo() - zip_info.filename = 'mod.py' - zip_info.date_time = cls.ref_time.timetuple() - zip_egg.writestr(zip_info, 'x = 3\n') - zip_info = zipfile.ZipInfo() - zip_info.filename = 'data.dat' - zip_info.date_time = cls.ref_time.timetuple() - zip_egg.writestr(zip_info, 'hello, world!') - zip_info = zipfile.ZipInfo() - zip_info.filename = 'subdir/mod2.py' - zip_info.date_time = cls.ref_time.timetuple() - zip_egg.writestr(zip_info, 'x = 6\n') - zip_info = zipfile.ZipInfo() - zip_info.filename = 'subdir/data2.dat' - zip_info.date_time = cls.ref_time.timetuple() - zip_egg.writestr(zip_info, 'goodbye, world!') - zip_egg.close() - egg.close() - - sys.path.append(egg.name) - subdir = os.path.join(egg.name, 'subdir') - sys.path.append(subdir) - cls.finalizers.append(EggRemover(subdir)) - cls.finalizers.append(EggRemover(egg.name)) - - @classmethod - def teardown_class(cls): - for finalizer in cls.finalizers: - finalizer() - - def test_resource_listdir(self): - import mod # pyright: ignore[reportMissingImports] # Temporary package for test - - zp = pkg_resources.ZipProvider(mod) - - expected_root = ['data.dat', 'mod.py', 'subdir'] - assert sorted(zp.resource_listdir('')) == expected_root - - expected_subdir = ['data2.dat', 'mod2.py'] - assert sorted(zp.resource_listdir('subdir')) == expected_subdir - assert sorted(zp.resource_listdir('subdir/')) == expected_subdir - - assert zp.resource_listdir('nonexistent') == [] - assert zp.resource_listdir('nonexistent/') == [] - - import mod2 # pyright: ignore[reportMissingImports] # Temporary package for test - - zp2 = pkg_resources.ZipProvider(mod2) - - assert sorted(zp2.resource_listdir('')) == expected_subdir - - assert zp2.resource_listdir('subdir') == [] - assert zp2.resource_listdir('subdir/') == [] - - def test_resource_filename_rewrites_on_change(self): - """ - If a previous call to get_resource_filename has saved the file, but - the file has been subsequently mutated with different file of the - same size and modification time, it should not be overwritten on a - subsequent call to get_resource_filename. - """ - import mod # pyright: ignore[reportMissingImports] # Temporary package for test - - manager = pkg_resources.ResourceManager() - zp = pkg_resources.ZipProvider(mod) - filename = zp.get_resource_filename(manager, 'data.dat') - actual = datetime.datetime.fromtimestamp(os.stat(filename).st_mtime) - assert actual == self.ref_time - f = open(filename, 'w', encoding="utf-8") - f.write('hello, world?') - f.close() - ts = self.ref_time.timestamp() - os.utime(filename, (ts, ts)) - filename = zp.get_resource_filename(manager, 'data.dat') - with open(filename, encoding="utf-8") as f: - assert f.read() == 'hello, world!' - manager.cleanup_resources() - - -class TestResourceManager: - def test_get_cache_path(self): - mgr = pkg_resources.ResourceManager() - path = mgr.get_cache_path('foo') - type_ = str(type(path)) - message = "Unexpected type from get_cache_path: " + type_ - assert isinstance(path, str), message - - def test_get_cache_path_race(self, tmpdir): - # Patch to os.path.isdir to create a race condition - def patched_isdir(dirname, unpatched_isdir=pkg_resources.isdir): - patched_isdir.dirnames.append(dirname) - - was_dir = unpatched_isdir(dirname) - if not was_dir: - os.makedirs(dirname) - return was_dir - - patched_isdir.dirnames = [] - - # Get a cache path with a "race condition" - mgr = pkg_resources.ResourceManager() - mgr.set_extraction_path(str(tmpdir)) - - archive_name = os.sep.join(('foo', 'bar', 'baz')) - with mock.patch.object(pkg_resources, 'isdir', new=patched_isdir): - mgr.get_cache_path(archive_name) - - # Because this test relies on the implementation details of this - # function, these assertions are a sentinel to ensure that the - # test suite will not fail silently if the implementation changes. - called_dirnames = patched_isdir.dirnames - assert len(called_dirnames) == 2 - assert called_dirnames[0].split(os.sep)[-2:] == ['foo', 'bar'] - assert called_dirnames[1].split(os.sep)[-1:] == ['foo'] - - """ - Tests to ensure that pkg_resources runs independently from setuptools. - """ - - def test_setuptools_not_imported(self): - """ - In a separate Python environment, import pkg_resources and assert - that action doesn't cause setuptools to be imported. - """ - lines = ( - 'import pkg_resources', - 'import sys', - ('assert "setuptools" not in sys.modules, "setuptools was imported"'), - ) - cmd = [sys.executable, '-c', '; '.join(lines)] - subprocess.check_call(cmd) - - -def make_test_distribution(metadata_path, metadata): - """ - Make a test Distribution object, and return it. - - :param metadata_path: the path to the metadata file that should be - created. This should be inside a distribution directory that should - also be created. For example, an argument value might end with - ".dist-info/METADATA". - :param metadata: the desired contents of the metadata file, as bytes. - """ - dist_dir = os.path.dirname(metadata_path) - os.mkdir(dist_dir) - with open(metadata_path, 'wb') as f: - f.write(metadata) - dists = list(pkg_resources.distributions_from_metadata(dist_dir)) - (dist,) = dists - - return dist - - -def test_get_metadata__bad_utf8(tmpdir): - """ - Test a metadata file with bytes that can't be decoded as utf-8. - """ - filename = 'METADATA' - # Convert the tmpdir LocalPath object to a string before joining. - metadata_path = os.path.join(str(tmpdir), 'foo.dist-info', filename) - # Encode a non-ascii string with the wrong encoding (not utf-8). - metadata = 'née'.encode('iso-8859-1') - dist = make_test_distribution(metadata_path, metadata=metadata) - - with pytest.raises(UnicodeDecodeError) as excinfo: - dist.get_metadata(filename) - - exc = excinfo.value - actual = str(exc) - expected = ( - # The error message starts with "'utf-8' codec ..." However, the - # spelling of "utf-8" can vary (e.g. "utf8") so we don't include it - "codec can't decode byte 0xe9 in position 1: " - 'invalid continuation byte in METADATA file at path: ' - ) - assert expected in actual, 'actual: {}'.format(actual) - assert actual.endswith(metadata_path), 'actual: {}'.format(actual) - - -def make_distribution_no_version(tmpdir, basename): - """ - Create a distribution directory with no file containing the version. - """ - dist_dir = tmpdir / basename - dist_dir.ensure_dir() - # Make the directory non-empty so distributions_from_metadata() - # will detect it and yield it. - dist_dir.join('temp.txt').ensure() - - dists = list(pkg_resources.distributions_from_metadata(dist_dir)) - assert len(dists) == 1 - (dist,) = dists - - return dist, dist_dir - - -@pytest.mark.parametrize( - ("suffix", "expected_filename", "expected_dist_type"), - [ - ('egg-info', 'PKG-INFO', EggInfoDistribution), - ('dist-info', 'METADATA', DistInfoDistribution), - ], -) -@pytest.mark.xfail( - sys.version_info[:2] == (3, 12) and sys.version_info.releaselevel != 'final', - reason="https://github.com/python/cpython/issues/103632", -) -def test_distribution_version_missing( - tmpdir, suffix, expected_filename, expected_dist_type -): - """ - Test Distribution.version when the "Version" header is missing. - """ - basename = 'foo.{}'.format(suffix) - dist, dist_dir = make_distribution_no_version(tmpdir, basename) - - expected_text = ("Missing 'Version:' header and/or {} file at path: ").format( - expected_filename - ) - metadata_path = os.path.join(dist_dir, expected_filename) - - # Now check the exception raised when the "version" attribute is accessed. - with pytest.raises(ValueError) as excinfo: - dist.version - - err = str(excinfo.value) - # Include a string expression after the assert so the full strings - # will be visible for inspection on failure. - assert expected_text in err, str((expected_text, err)) - - # Also check the args passed to the ValueError. - msg, dist = excinfo.value.args - assert expected_text in msg - # Check that the message portion contains the path. - assert metadata_path in msg, str((metadata_path, msg)) - assert type(dist) is expected_dist_type - - -@pytest.mark.xfail( - sys.version_info[:2] == (3, 12) and sys.version_info.releaselevel != 'final', - reason="https://github.com/python/cpython/issues/103632", -) -def test_distribution_version_missing_undetected_path(): - """ - Test Distribution.version when the "Version" header is missing and - the path can't be detected. - """ - # Create a Distribution object with no metadata argument, which results - # in an empty metadata provider. - dist = Distribution('/foo') - with pytest.raises(ValueError) as excinfo: - dist.version - - msg, dist = excinfo.value.args - expected = ( - "Missing 'Version:' header and/or PKG-INFO file at path: [could not detect]" - ) - assert msg == expected - - -@pytest.mark.parametrize('only', [False, True]) -def test_dist_info_is_not_dir(tmp_path, only): - """Test path containing a file with dist-info extension.""" - dist_info = tmp_path / 'foobar.dist-info' - dist_info.touch() - assert not pkg_resources.dist_factory(str(tmp_path), str(dist_info), only) - - -def test_macos_vers_fallback(monkeypatch, tmp_path): - """Regression test for pkg_resources._macos_vers""" - orig_open = builtins.open - - # Pretend we need to use the plist file - monkeypatch.setattr('platform.mac_ver', mock.Mock(return_value=('', (), ''))) - - # Create fake content for the fake plist file - with open(tmp_path / 'fake.plist', 'wb') as fake_file: - plistlib.dump({"ProductVersion": "11.4"}, fake_file) - - # Pretend the fake file exists - monkeypatch.setattr('os.path.exists', mock.Mock(return_value=True)) - - def fake_open(file, *args, **kwargs): - return orig_open(tmp_path / 'fake.plist', *args, **kwargs) - - # Ensure that the _macos_vers works correctly - with mock.patch('builtins.open', mock.Mock(side_effect=fake_open)) as m: - pkg_resources._macos_vers.cache_clear() - assert pkg_resources._macos_vers() == ["11", "4"] - pkg_resources._macos_vers.cache_clear() - - m.assert_called() - - -class TestDeepVersionLookupDistutils: - @pytest.fixture - def env(self, tmpdir): - """ - Create a package environment, similar to a virtualenv, - in which packages are installed. - """ - - class Environment(str): - pass - - env = Environment(tmpdir) - tmpdir.chmod(stat.S_IRWXU) - subs = 'home', 'lib', 'scripts', 'data', 'egg-base' - env.paths = dict((dirname, str(tmpdir / dirname)) for dirname in subs) - list(map(os.mkdir, env.paths.values())) - return env - - def create_foo_pkg(self, env, version): - """ - Create a foo package installed (distutils-style) to env.paths['lib'] - as version. - """ - ld = "This package has unicode metadata! â„" - attrs = dict(name='foo', version=version, long_description=ld) - dist = distutils.dist.Distribution(attrs) - iei_cmd = distutils.command.install_egg_info.install_egg_info(dist) - iei_cmd.initialize_options() - iei_cmd.install_dir = env.paths['lib'] - iei_cmd.finalize_options() - iei_cmd.run() - - def test_version_resolved_from_egg_info(self, env): - version = '1.11.0.dev0+2329eae' - self.create_foo_pkg(env, version) - - # this requirement parsing will raise a VersionConflict unless the - # .egg-info file is parsed (see #419 on BitBucket) - req = pkg_resources.Requirement.parse('foo>=1.9') - dist = pkg_resources.WorkingSet([env.paths['lib']]).find(req) - assert dist.version == version - - @pytest.mark.parametrize( - ("unnormalized", "normalized"), - [ - ('foo', 'foo'), - ('foo/', 'foo'), - ('foo/bar', 'foo/bar'), - ('foo/bar/', 'foo/bar'), - ], - ) - def test_normalize_path_trailing_sep(self, unnormalized, normalized): - """Ensure the trailing slash is cleaned for path comparison. - - See pypa/setuptools#1519. - """ - result_from_unnormalized = pkg_resources.normalize_path(unnormalized) - result_from_normalized = pkg_resources.normalize_path(normalized) - assert result_from_unnormalized == result_from_normalized - - @pytest.mark.skipif( - os.path.normcase('A') != os.path.normcase('a'), - reason='Testing case-insensitive filesystems.', - ) - @pytest.mark.parametrize( - ("unnormalized", "normalized"), - [ - ('MiXeD/CasE', 'mixed/case'), - ], - ) - def test_normalize_path_normcase(self, unnormalized, normalized): - """Ensure mixed case is normalized on case-insensitive filesystems.""" - result_from_unnormalized = pkg_resources.normalize_path(unnormalized) - result_from_normalized = pkg_resources.normalize_path(normalized) - assert result_from_unnormalized == result_from_normalized - - @pytest.mark.skipif( - os.path.sep != '\\', - reason='Testing systems using backslashes as path separators.', - ) - @pytest.mark.parametrize( - ("unnormalized", "expected"), - [ - ('forward/slash', 'forward\\slash'), - ('forward/slash/', 'forward\\slash'), - ('backward\\slash\\', 'backward\\slash'), - ], - ) - def test_normalize_path_backslash_sep(self, unnormalized, expected): - """Ensure path seps are cleaned on backslash path sep systems.""" - result = pkg_resources.normalize_path(unnormalized) - assert result.endswith(expected) diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_resources.py b/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_resources.py deleted file mode 100644 index 70436c08..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_resources.py +++ /dev/null @@ -1,869 +0,0 @@ -import itertools -import os -import platform -import string -import sys - -import pytest -from packaging.specifiers import SpecifierSet - -import pkg_resources -from pkg_resources import ( - Distribution, - EntryPoint, - Requirement, - VersionConflict, - WorkingSet, - parse_requirements, - parse_version, - safe_name, - safe_version, -) - - -# from Python 3.6 docs. Available from itertools on Python 3.10 -def pairwise(iterable): - "s -> (s0,s1), (s1,s2), (s2, s3), ..." - a, b = itertools.tee(iterable) - next(b, None) - return zip(a, b) - - -class Metadata(pkg_resources.EmptyProvider): - """Mock object to return metadata as if from an on-disk distribution""" - - def __init__(self, *pairs) -> None: - self.metadata = dict(pairs) - - def has_metadata(self, name) -> bool: - return name in self.metadata - - def get_metadata(self, name): - return self.metadata[name] - - def get_metadata_lines(self, name): - return pkg_resources.yield_lines(self.get_metadata(name)) - - -dist_from_fn = pkg_resources.Distribution.from_filename - - -class TestDistro: - def testCollection(self): - # empty path should produce no distributions - ad = pkg_resources.Environment([], platform=None, python=None) - assert list(ad) == [] - assert ad['FooPkg'] == [] - ad.add(dist_from_fn("FooPkg-1.3_1.egg")) - ad.add(dist_from_fn("FooPkg-1.4-py2.4-win32.egg")) - ad.add(dist_from_fn("FooPkg-1.2-py2.4.egg")) - - # Name is in there now - assert ad['FooPkg'] - # But only 1 package - assert list(ad) == ['foopkg'] - - # Distributions sort by version - expected = ['1.4', '1.3-1', '1.2'] - assert [dist.version for dist in ad['FooPkg']] == expected - - # Removing a distribution leaves sequence alone - ad.remove(ad['FooPkg'][1]) - assert [dist.version for dist in ad['FooPkg']] == ['1.4', '1.2'] - - # And inserting adds them in order - ad.add(dist_from_fn("FooPkg-1.9.egg")) - assert [dist.version for dist in ad['FooPkg']] == ['1.9', '1.4', '1.2'] - - ws = WorkingSet([]) - foo12 = dist_from_fn("FooPkg-1.2-py2.4.egg") - foo14 = dist_from_fn("FooPkg-1.4-py2.4-win32.egg") - (req,) = parse_requirements("FooPkg>=1.3") - - # Nominal case: no distros on path, should yield all applicable - assert ad.best_match(req, ws).version == '1.9' - # If a matching distro is already installed, should return only that - ws.add(foo14) - assert ad.best_match(req, ws).version == '1.4' - - # If the first matching distro is unsuitable, it's a version conflict - ws = WorkingSet([]) - ws.add(foo12) - ws.add(foo14) - with pytest.raises(VersionConflict): - ad.best_match(req, ws) - - # If more than one match on the path, the first one takes precedence - ws = WorkingSet([]) - ws.add(foo14) - ws.add(foo12) - ws.add(foo14) - assert ad.best_match(req, ws).version == '1.4' - - def checkFooPkg(self, d): - assert d.project_name == "FooPkg" - assert d.key == "foopkg" - assert d.version == "1.3.post1" - assert d.py_version == "2.4" - assert d.platform == "win32" - assert d.parsed_version == parse_version("1.3-1") - - def testDistroBasics(self): - d = Distribution( - "/some/path", - project_name="FooPkg", - version="1.3-1", - py_version="2.4", - platform="win32", - ) - self.checkFooPkg(d) - - d = Distribution("/some/path") - assert d.py_version == f'{sys.version_info.major}.{sys.version_info.minor}' - assert d.platform is None - - def testDistroParse(self): - d = dist_from_fn("FooPkg-1.3.post1-py2.4-win32.egg") - self.checkFooPkg(d) - d = dist_from_fn("FooPkg-1.3.post1-py2.4-win32.egg-info") - self.checkFooPkg(d) - - def testDistroMetadata(self): - d = Distribution( - "/some/path", - project_name="FooPkg", - py_version="2.4", - platform="win32", - metadata=Metadata(('PKG-INFO', "Metadata-Version: 1.0\nVersion: 1.3-1\n")), - ) - self.checkFooPkg(d) - - def distRequires(self, txt): - return Distribution("/foo", metadata=Metadata(('depends.txt', txt))) - - def checkRequires(self, dist, txt, extras=()): - assert list(dist.requires(extras)) == list(parse_requirements(txt)) - - def testDistroDependsSimple(self): - for v in "Twisted>=1.5", "Twisted>=1.5\nZConfig>=2.0": - self.checkRequires(self.distRequires(v), v) - - needs_object_dir = pytest.mark.skipif( - not hasattr(object, '__dir__'), - reason='object.__dir__ necessary for self.__dir__ implementation', - ) - - def test_distribution_dir(self): - d = pkg_resources.Distribution() - dir(d) - - @needs_object_dir - def test_distribution_dir_includes_provider_dir(self): - d = pkg_resources.Distribution() - before = d.__dir__() - assert 'test_attr' not in before - d._provider.test_attr = None - after = d.__dir__() - assert len(after) == len(before) + 1 - assert 'test_attr' in after - - @needs_object_dir - def test_distribution_dir_ignores_provider_dir_leading_underscore(self): - d = pkg_resources.Distribution() - before = d.__dir__() - assert '_test_attr' not in before - d._provider._test_attr = None - after = d.__dir__() - assert len(after) == len(before) - assert '_test_attr' not in after - - def testResolve(self): - ad = pkg_resources.Environment([]) - ws = WorkingSet([]) - # Resolving no requirements -> nothing to install - assert list(ws.resolve([], ad)) == [] - # Request something not in the collection -> DistributionNotFound - with pytest.raises(pkg_resources.DistributionNotFound): - ws.resolve(parse_requirements("Foo"), ad) - - Foo = Distribution.from_filename( - "/foo_dir/Foo-1.2.egg", - metadata=Metadata(('depends.txt', "[bar]\nBaz>=2.0")), - ) - ad.add(Foo) - ad.add(Distribution.from_filename("Foo-0.9.egg")) - - # Request thing(s) that are available -> list to activate - for i in range(3): - targets = list(ws.resolve(parse_requirements("Foo"), ad)) - assert targets == [Foo] - list(map(ws.add, targets)) - with pytest.raises(VersionConflict): - ws.resolve(parse_requirements("Foo==0.9"), ad) - ws = WorkingSet([]) # reset - - # Request an extra that causes an unresolved dependency for "Baz" - with pytest.raises(pkg_resources.DistributionNotFound): - ws.resolve(parse_requirements("Foo[bar]"), ad) - Baz = Distribution.from_filename( - "/foo_dir/Baz-2.1.egg", metadata=Metadata(('depends.txt', "Foo")) - ) - ad.add(Baz) - - # Activation list now includes resolved dependency - assert list(ws.resolve(parse_requirements("Foo[bar]"), ad)) == [Foo, Baz] - # Requests for conflicting versions produce VersionConflict - with pytest.raises(VersionConflict) as vc: - ws.resolve(parse_requirements("Foo==1.2\nFoo!=1.2"), ad) - - msg = 'Foo 0.9 is installed but Foo==1.2 is required' - assert vc.value.report() == msg - - def test_environment_marker_evaluation_negative(self): - """Environment markers are evaluated at resolution time.""" - ad = pkg_resources.Environment([]) - ws = WorkingSet([]) - res = ws.resolve(parse_requirements("Foo;python_version<'2'"), ad) - assert list(res) == [] - - def test_environment_marker_evaluation_positive(self): - ad = pkg_resources.Environment([]) - ws = WorkingSet([]) - Foo = Distribution.from_filename("/foo_dir/Foo-1.2.dist-info") - ad.add(Foo) - res = ws.resolve(parse_requirements("Foo;python_version>='2'"), ad) - assert list(res) == [Foo] - - def test_environment_marker_evaluation_called(self): - """ - If one package foo requires bar without any extras, - markers should pass for bar without extras. - """ - (parent_req,) = parse_requirements("foo") - (req,) = parse_requirements("bar;python_version>='2'") - req_extras = pkg_resources._ReqExtras({req: parent_req.extras}) - assert req_extras.markers_pass(req) - - (parent_req,) = parse_requirements("foo[]") - (req,) = parse_requirements("bar;python_version>='2'") - req_extras = pkg_resources._ReqExtras({req: parent_req.extras}) - assert req_extras.markers_pass(req) - - def test_marker_evaluation_with_extras(self): - """Extras are also evaluated as markers at resolution time.""" - ad = pkg_resources.Environment([]) - ws = WorkingSet([]) - Foo = Distribution.from_filename( - "/foo_dir/Foo-1.2.dist-info", - metadata=Metadata(( - "METADATA", - "Provides-Extra: baz\nRequires-Dist: quux; extra=='baz'", - )), - ) - ad.add(Foo) - assert list(ws.resolve(parse_requirements("Foo"), ad)) == [Foo] - quux = Distribution.from_filename("/foo_dir/quux-1.0.dist-info") - ad.add(quux) - res = list(ws.resolve(parse_requirements("Foo[baz]"), ad)) - assert res == [Foo, quux] - - def test_marker_evaluation_with_extras_normlized(self): - """Extras are also evaluated as markers at resolution time.""" - ad = pkg_resources.Environment([]) - ws = WorkingSet([]) - Foo = Distribution.from_filename( - "/foo_dir/Foo-1.2.dist-info", - metadata=Metadata(( - "METADATA", - "Provides-Extra: baz-lightyear\n" - "Requires-Dist: quux; extra=='baz-lightyear'", - )), - ) - ad.add(Foo) - assert list(ws.resolve(parse_requirements("Foo"), ad)) == [Foo] - quux = Distribution.from_filename("/foo_dir/quux-1.0.dist-info") - ad.add(quux) - res = list(ws.resolve(parse_requirements("Foo[baz-lightyear]"), ad)) - assert res == [Foo, quux] - - def test_marker_evaluation_with_multiple_extras(self): - ad = pkg_resources.Environment([]) - ws = WorkingSet([]) - Foo = Distribution.from_filename( - "/foo_dir/Foo-1.2.dist-info", - metadata=Metadata(( - "METADATA", - "Provides-Extra: baz\n" - "Requires-Dist: quux; extra=='baz'\n" - "Provides-Extra: bar\n" - "Requires-Dist: fred; extra=='bar'\n", - )), - ) - ad.add(Foo) - quux = Distribution.from_filename("/foo_dir/quux-1.0.dist-info") - ad.add(quux) - fred = Distribution.from_filename("/foo_dir/fred-0.1.dist-info") - ad.add(fred) - res = list(ws.resolve(parse_requirements("Foo[baz,bar]"), ad)) - assert sorted(res) == [fred, quux, Foo] - - def test_marker_evaluation_with_extras_loop(self): - ad = pkg_resources.Environment([]) - ws = WorkingSet([]) - a = Distribution.from_filename( - "/foo_dir/a-0.2.dist-info", - metadata=Metadata(("METADATA", "Requires-Dist: c[a]")), - ) - b = Distribution.from_filename( - "/foo_dir/b-0.3.dist-info", - metadata=Metadata(("METADATA", "Requires-Dist: c[b]")), - ) - c = Distribution.from_filename( - "/foo_dir/c-1.0.dist-info", - metadata=Metadata(( - "METADATA", - "Provides-Extra: a\n" - "Requires-Dist: b;extra=='a'\n" - "Provides-Extra: b\n" - "Requires-Dist: foo;extra=='b'", - )), - ) - foo = Distribution.from_filename("/foo_dir/foo-0.1.dist-info") - for dist in (a, b, c, foo): - ad.add(dist) - res = list(ws.resolve(parse_requirements("a"), ad)) - assert res == [a, c, b, foo] - - @pytest.mark.xfail( - sys.version_info[:2] == (3, 12) and sys.version_info.releaselevel != 'final', - reason="https://github.com/python/cpython/issues/103632", - ) - def testDistroDependsOptions(self): - d = self.distRequires( - """ - Twisted>=1.5 - [docgen] - ZConfig>=2.0 - docutils>=0.3 - [fastcgi] - fcgiapp>=0.1""" - ) - self.checkRequires(d, "Twisted>=1.5") - self.checkRequires( - d, "Twisted>=1.5 ZConfig>=2.0 docutils>=0.3".split(), ["docgen"] - ) - self.checkRequires(d, "Twisted>=1.5 fcgiapp>=0.1".split(), ["fastcgi"]) - self.checkRequires( - d, - "Twisted>=1.5 ZConfig>=2.0 docutils>=0.3 fcgiapp>=0.1".split(), - ["docgen", "fastcgi"], - ) - self.checkRequires( - d, - "Twisted>=1.5 fcgiapp>=0.1 ZConfig>=2.0 docutils>=0.3".split(), - ["fastcgi", "docgen"], - ) - with pytest.raises(pkg_resources.UnknownExtra): - d.requires(["foo"]) - - -class TestWorkingSet: - def test_find_conflicting(self): - ws = WorkingSet([]) - Foo = Distribution.from_filename("/foo_dir/Foo-1.2.egg") - ws.add(Foo) - - # create a requirement that conflicts with Foo 1.2 - req = next(parse_requirements("Foo<1.2")) - - with pytest.raises(VersionConflict) as vc: - ws.find(req) - - msg = 'Foo 1.2 is installed but Foo<1.2 is required' - assert vc.value.report() == msg - - def test_resolve_conflicts_with_prior(self): - """ - A ContextualVersionConflict should be raised when a requirement - conflicts with a prior requirement for a different package. - """ - # Create installation where Foo depends on Baz 1.0 and Bar depends on - # Baz 2.0. - ws = WorkingSet([]) - md = Metadata(('depends.txt', "Baz==1.0")) - Foo = Distribution.from_filename("/foo_dir/Foo-1.0.egg", metadata=md) - ws.add(Foo) - md = Metadata(('depends.txt', "Baz==2.0")) - Bar = Distribution.from_filename("/foo_dir/Bar-1.0.egg", metadata=md) - ws.add(Bar) - Baz = Distribution.from_filename("/foo_dir/Baz-1.0.egg") - ws.add(Baz) - Baz = Distribution.from_filename("/foo_dir/Baz-2.0.egg") - ws.add(Baz) - - with pytest.raises(VersionConflict) as vc: - ws.resolve(parse_requirements("Foo\nBar\n")) - - msg = "Baz 1.0 is installed but Baz==2.0 is required by " - msg += repr(set(['Bar'])) - assert vc.value.report() == msg - - -class TestEntryPoints: - def assertfields(self, ep): - assert ep.name == "foo" - assert ep.module_name == "pkg_resources.tests.test_resources" - assert ep.attrs == ("TestEntryPoints",) - assert ep.extras == ("x",) - assert ep.load() is TestEntryPoints - expect = "foo = pkg_resources.tests.test_resources:TestEntryPoints [x]" - assert str(ep) == expect - - def setup_method(self, method): - self.dist = Distribution.from_filename( - "FooPkg-1.2-py2.4.egg", metadata=Metadata(('requires.txt', '[x]')) - ) - - def testBasics(self): - ep = EntryPoint( - "foo", - "pkg_resources.tests.test_resources", - ["TestEntryPoints"], - ["x"], - self.dist, - ) - self.assertfields(ep) - - def testParse(self): - s = "foo = pkg_resources.tests.test_resources:TestEntryPoints [x]" - ep = EntryPoint.parse(s, self.dist) - self.assertfields(ep) - - ep = EntryPoint.parse("bar baz= spammity[PING]") - assert ep.name == "bar baz" - assert ep.module_name == "spammity" - assert ep.attrs == () - assert ep.extras == ("ping",) - - ep = EntryPoint.parse(" fizzly = wocka:foo") - assert ep.name == "fizzly" - assert ep.module_name == "wocka" - assert ep.attrs == ("foo",) - assert ep.extras == () - - # plus in the name - spec = "html+mako = mako.ext.pygmentplugin:MakoHtmlLexer" - ep = EntryPoint.parse(spec) - assert ep.name == 'html+mako' - - reject_specs = "foo", "x=a:b:c", "q=x/na", "fez=pish:tush-z", "x=f[a]>2" - - @pytest.mark.parametrize("reject_spec", reject_specs) - def test_reject_spec(self, reject_spec): - with pytest.raises(ValueError): - EntryPoint.parse(reject_spec) - - def test_printable_name(self): - """ - Allow any printable character in the name. - """ - # Create a name with all printable characters; strip the whitespace. - name = string.printable.strip() - spec = "{name} = module:attr".format(**locals()) - ep = EntryPoint.parse(spec) - assert ep.name == name - - def checkSubMap(self, m): - assert len(m) == len(self.submap_expect) - for key, ep in self.submap_expect.items(): - assert m.get(key).name == ep.name - assert m.get(key).module_name == ep.module_name - assert sorted(m.get(key).attrs) == sorted(ep.attrs) - assert sorted(m.get(key).extras) == sorted(ep.extras) - - submap_expect = dict( - feature1=EntryPoint('feature1', 'somemodule', ['somefunction']), - feature2=EntryPoint( - 'feature2', 'another.module', ['SomeClass'], ['extra1', 'extra2'] - ), - feature3=EntryPoint('feature3', 'this.module', extras=['something']), - ) - submap_str = """ - # define features for blah blah - feature1 = somemodule:somefunction - feature2 = another.module:SomeClass [extra1,extra2] - feature3 = this.module [something] - """ - - def testParseList(self): - self.checkSubMap(EntryPoint.parse_group("xyz", self.submap_str)) - with pytest.raises(ValueError): - EntryPoint.parse_group("x a", "foo=bar") - with pytest.raises(ValueError): - EntryPoint.parse_group("x", ["foo=baz", "foo=bar"]) - - def testParseMap(self): - m = EntryPoint.parse_map({'xyz': self.submap_str}) - self.checkSubMap(m['xyz']) - assert list(m.keys()) == ['xyz'] - m = EntryPoint.parse_map("[xyz]\n" + self.submap_str) - self.checkSubMap(m['xyz']) - assert list(m.keys()) == ['xyz'] - with pytest.raises(ValueError): - EntryPoint.parse_map(["[xyz]", "[xyz]"]) - with pytest.raises(ValueError): - EntryPoint.parse_map(self.submap_str) - - def testDeprecationWarnings(self): - ep = EntryPoint( - "foo", "pkg_resources.tests.test_resources", ["TestEntryPoints"], ["x"] - ) - with pytest.warns(pkg_resources.PkgResourcesDeprecationWarning): - ep.load(require=False) - - -class TestRequirements: - def testBasics(self): - r = Requirement.parse("Twisted>=1.2") - assert str(r) == "Twisted>=1.2" - assert repr(r) == "Requirement.parse('Twisted>=1.2')" - assert r == Requirement("Twisted>=1.2") - assert r == Requirement("twisTed>=1.2") - assert r != Requirement("Twisted>=2.0") - assert r != Requirement("Zope>=1.2") - assert r != Requirement("Zope>=3.0") - assert r != Requirement("Twisted[extras]>=1.2") - - def testOrdering(self): - r1 = Requirement("Twisted==1.2c1,>=1.2") - r2 = Requirement("Twisted>=1.2,==1.2c1") - assert r1 == r2 - assert str(r1) == str(r2) - assert str(r2) == "Twisted==1.2c1,>=1.2" - assert Requirement("Twisted") != Requirement( - "Twisted @ https://localhost/twisted.zip" - ) - - def testBasicContains(self): - r = Requirement("Twisted>=1.2") - foo_dist = Distribution.from_filename("FooPkg-1.3_1.egg") - twist11 = Distribution.from_filename("Twisted-1.1.egg") - twist12 = Distribution.from_filename("Twisted-1.2.egg") - assert parse_version('1.2') in r - assert parse_version('1.1') not in r - assert '1.2' in r - assert '1.1' not in r - assert foo_dist not in r - assert twist11 not in r - assert twist12 in r - - def testOptionsAndHashing(self): - r1 = Requirement.parse("Twisted[foo,bar]>=1.2") - r2 = Requirement.parse("Twisted[bar,FOO]>=1.2") - assert r1 == r2 - assert set(r1.extras) == set(("foo", "bar")) - assert set(r2.extras) == set(("foo", "bar")) - assert hash(r1) == hash(r2) - assert hash(r1) == hash(( - "twisted", - None, - SpecifierSet(">=1.2"), - frozenset(["foo", "bar"]), - None, - )) - assert hash( - Requirement.parse("Twisted @ https://localhost/twisted.zip") - ) == hash(( - "twisted", - "https://localhost/twisted.zip", - SpecifierSet(), - frozenset(), - None, - )) - - def testVersionEquality(self): - r1 = Requirement.parse("foo==0.3a2") - r2 = Requirement.parse("foo!=0.3a4") - d = Distribution.from_filename - - assert d("foo-0.3a4.egg") not in r1 - assert d("foo-0.3a1.egg") not in r1 - assert d("foo-0.3a4.egg") not in r2 - - assert d("foo-0.3a2.egg") in r1 - assert d("foo-0.3a2.egg") in r2 - assert d("foo-0.3a3.egg") in r2 - assert d("foo-0.3a5.egg") in r2 - - def testSetuptoolsProjectName(self): - """ - The setuptools project should implement the setuptools package. - """ - - assert Requirement.parse('setuptools').project_name == 'setuptools' - # setuptools 0.7 and higher means setuptools. - assert Requirement.parse('setuptools == 0.7').project_name == 'setuptools' - assert Requirement.parse('setuptools == 0.7a1').project_name == 'setuptools' - assert Requirement.parse('setuptools >= 0.7').project_name == 'setuptools' - - -class TestParsing: - def testEmptyParse(self): - assert list(parse_requirements('')) == [] - - def testYielding(self): - for inp, out in [ - ([], []), - ('x', ['x']), - ([[]], []), - (' x\n y', ['x', 'y']), - (['x\n\n', 'y'], ['x', 'y']), - ]: - assert list(pkg_resources.yield_lines(inp)) == out - - def testSplitting(self): - sample = """ - x - [Y] - z - - a - [b ] - # foo - c - [ d] - [q] - v - """ - assert list(pkg_resources.split_sections(sample)) == [ - (None, ["x"]), - ("Y", ["z", "a"]), - ("b", ["c"]), - ("d", []), - ("q", ["v"]), - ] - with pytest.raises(ValueError): - list(pkg_resources.split_sections("[foo")) - - def testSafeName(self): - assert safe_name("adns-python") == "adns-python" - assert safe_name("WSGI Utils") == "WSGI-Utils" - assert safe_name("WSGI Utils") == "WSGI-Utils" - assert safe_name("Money$$$Maker") == "Money-Maker" - assert safe_name("peak.web") != "peak-web" - - def testSafeVersion(self): - assert safe_version("1.2-1") == "1.2.post1" - assert safe_version("1.2 alpha") == "1.2.alpha" - assert safe_version("2.3.4 20050521") == "2.3.4.20050521" - assert safe_version("Money$$$Maker") == "Money-Maker" - assert safe_version("peak.web") == "peak.web" - - def testSimpleRequirements(self): - assert list(parse_requirements('Twis-Ted>=1.2-1')) == [ - Requirement('Twis-Ted>=1.2-1') - ] - assert list(parse_requirements('Twisted >=1.2, \\ # more\n<2.0')) == [ - Requirement('Twisted>=1.2,<2.0') - ] - assert Requirement.parse("FooBar==1.99a3") == Requirement("FooBar==1.99a3") - with pytest.raises(ValueError): - Requirement.parse(">=2.3") - with pytest.raises(ValueError): - Requirement.parse("x\\") - with pytest.raises(ValueError): - Requirement.parse("x==2 q") - with pytest.raises(ValueError): - Requirement.parse("X==1\nY==2") - with pytest.raises(ValueError): - Requirement.parse("#") - - def test_requirements_with_markers(self): - assert Requirement.parse("foobar;os_name=='a'") == Requirement.parse( - "foobar;os_name=='a'" - ) - assert Requirement.parse( - "name==1.1;python_version=='2.7'" - ) != Requirement.parse("name==1.1;python_version=='3.6'") - assert Requirement.parse( - "name==1.0;python_version=='2.7'" - ) != Requirement.parse("name==1.2;python_version=='2.7'") - assert Requirement.parse( - "name[foo]==1.0;python_version=='3.6'" - ) != Requirement.parse("name[foo,bar]==1.0;python_version=='3.6'") - - def test_local_version(self): - parse_requirements('foo==1.0+org1') - - def test_spaces_between_multiple_versions(self): - parse_requirements('foo>=1.0, <3') - parse_requirements('foo >= 1.0, < 3') - - @pytest.mark.parametrize( - ("lower", "upper"), - [ - ('1.2-rc1', '1.2rc1'), - ('0.4', '0.4.0'), - ('0.4.0.0', '0.4.0'), - ('0.4.0-0', '0.4-0'), - ('0post1', '0.0post1'), - ('0pre1', '0.0c1'), - ('0.0.0preview1', '0c1'), - ('0.0c1', '0-rc1'), - ('1.2a1', '1.2.a.1'), - ('1.2.a', '1.2a'), - ], - ) - def testVersionEquality(self, lower, upper): - assert parse_version(lower) == parse_version(upper) - - torture = """ - 0.80.1-3 0.80.1-2 0.80.1-1 0.79.9999+0.80.0pre4-1 - 0.79.9999+0.80.0pre2-3 0.79.9999+0.80.0pre2-2 - 0.77.2-1 0.77.1-1 0.77.0-1 - """ - - @pytest.mark.parametrize( - ("lower", "upper"), - [ - ('2.1', '2.1.1'), - ('2a1', '2b0'), - ('2a1', '2.1'), - ('2.3a1', '2.3'), - ('2.1-1', '2.1-2'), - ('2.1-1', '2.1.1'), - ('2.1', '2.1post4'), - ('2.1a0-20040501', '2.1'), - ('1.1', '02.1'), - ('3.2', '3.2.post0'), - ('3.2post1', '3.2post2'), - ('0.4', '4.0'), - ('0.0.4', '0.4.0'), - ('0post1', '0.4post1'), - ('2.1.0-rc1', '2.1.0'), - ('2.1dev', '2.1a0'), - ] - + list(pairwise(reversed(torture.split()))), - ) - def testVersionOrdering(self, lower, upper): - assert parse_version(lower) < parse_version(upper) - - def testVersionHashable(self): - """ - Ensure that our versions stay hashable even though we've subclassed - them and added some shim code to them. - """ - assert hash(parse_version("1.0")) == hash(parse_version("1.0")) - - -class TestNamespaces: - ns_str = "__import__('pkg_resources').declare_namespace(__name__)\n" - - @pytest.fixture - def symlinked_tmpdir(self, tmpdir): - """ - Where available, return the tempdir as a symlink, - which as revealed in #231 is more fragile than - a natural tempdir. - """ - if not hasattr(os, 'symlink'): - yield str(tmpdir) - return - - link_name = str(tmpdir) + '-linked' - os.symlink(str(tmpdir), link_name) - try: - yield type(tmpdir)(link_name) - finally: - os.unlink(link_name) - - @pytest.fixture(autouse=True) - def patched_path(self, tmpdir): - """ - Patch sys.path to include the 'site-pkgs' dir. Also - restore pkg_resources._namespace_packages to its - former state. - """ - saved_ns_pkgs = pkg_resources._namespace_packages.copy() - saved_sys_path = sys.path[:] - site_pkgs = tmpdir.mkdir('site-pkgs') - sys.path.append(str(site_pkgs)) - try: - yield - finally: - pkg_resources._namespace_packages = saved_ns_pkgs - sys.path = saved_sys_path - - issue591 = pytest.mark.xfail(platform.system() == 'Windows', reason="#591") - - @issue591 - def test_two_levels_deep(self, symlinked_tmpdir): - """ - Test nested namespace packages - Create namespace packages in the following tree : - site-packages-1/pkg1/pkg2 - site-packages-2/pkg1/pkg2 - Check both are in the _namespace_packages dict and that their __path__ - is correct - """ - real_tmpdir = symlinked_tmpdir.realpath() - tmpdir = symlinked_tmpdir - sys.path.append(str(tmpdir / 'site-pkgs2')) - site_dirs = tmpdir / 'site-pkgs', tmpdir / 'site-pkgs2' - for site in site_dirs: - pkg1 = site / 'pkg1' - pkg2 = pkg1 / 'pkg2' - pkg2.ensure_dir() - (pkg1 / '__init__.py').write_text(self.ns_str, encoding='utf-8') - (pkg2 / '__init__.py').write_text(self.ns_str, encoding='utf-8') - with pytest.warns(DeprecationWarning, match="pkg_resources.declare_namespace"): - import pkg1 # pyright: ignore[reportMissingImports] # Temporary package for test - assert "pkg1" in pkg_resources._namespace_packages - # attempt to import pkg2 from site-pkgs2 - with pytest.warns(DeprecationWarning, match="pkg_resources.declare_namespace"): - import pkg1.pkg2 # pyright: ignore[reportMissingImports] # Temporary package for test - # check the _namespace_packages dict - assert "pkg1.pkg2" in pkg_resources._namespace_packages - assert pkg_resources._namespace_packages["pkg1"] == ["pkg1.pkg2"] - # check the __path__ attribute contains both paths - expected = [ - str(real_tmpdir / "site-pkgs" / "pkg1" / "pkg2"), - str(real_tmpdir / "site-pkgs2" / "pkg1" / "pkg2"), - ] - assert pkg1.pkg2.__path__ == expected - - @issue591 - def test_path_order(self, symlinked_tmpdir): - """ - Test that if multiple versions of the same namespace package subpackage - are on different sys.path entries, that only the one earliest on - sys.path is imported, and that the namespace package's __path__ is in - the correct order. - - Regression test for https://github.com/pypa/setuptools/issues/207 - """ - - tmpdir = symlinked_tmpdir - site_dirs = ( - tmpdir / "site-pkgs", - tmpdir / "site-pkgs2", - tmpdir / "site-pkgs3", - ) - - vers_str = "__version__ = %r" - - for number, site in enumerate(site_dirs, 1): - if number > 1: - sys.path.append(str(site)) - nspkg = site / 'nspkg' - subpkg = nspkg / 'subpkg' - subpkg.ensure_dir() - (nspkg / '__init__.py').write_text(self.ns_str, encoding='utf-8') - (subpkg / '__init__.py').write_text(vers_str % number, encoding='utf-8') - - with pytest.warns(DeprecationWarning, match="pkg_resources.declare_namespace"): - import nspkg # pyright: ignore[reportMissingImports] # Temporary package for test - import nspkg.subpkg # pyright: ignore[reportMissingImports] # Temporary package for test - expected = [str(site.realpath() / 'nspkg') for site in site_dirs] - assert nspkg.__path__ == expected - assert nspkg.subpkg.__version__ == 1 diff --git a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_working_set.py b/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_working_set.py deleted file mode 100644 index 7bb84952..00000000 --- a/.venv/lib/python3.12/site-packages/pkg_resources/tests/test_working_set.py +++ /dev/null @@ -1,501 +0,0 @@ -import functools -import inspect -import re -import textwrap - -import pytest - -import pkg_resources - -from .test_resources import Metadata - - -def strip_comments(s): - return '\n'.join( - line - for line in s.split('\n') - if line.strip() and not line.strip().startswith('#') - ) - - -def parse_distributions(s): - """ - Parse a series of distribution specs of the form: - {project_name}-{version} - [optional, indented requirements specification] - - Example: - - foo-0.2 - bar-1.0 - foo>=3.0 - [feature] - baz - - yield 2 distributions: - - project_name=foo, version=0.2 - - project_name=bar, version=1.0, - requires=['foo>=3.0', 'baz; extra=="feature"'] - """ - s = s.strip() - for spec in re.split(r'\n(?=[^\s])', s): - if not spec: - continue - fields = spec.split('\n', 1) - assert 1 <= len(fields) <= 2 - name, version = fields.pop(0).rsplit('-', 1) - if fields: - requires = textwrap.dedent(fields.pop(0)) - metadata = Metadata(('requires.txt', requires)) - else: - metadata = None - dist = pkg_resources.Distribution( - project_name=name, version=version, metadata=metadata - ) - yield dist - - -class FakeInstaller: - def __init__(self, installable_dists) -> None: - self._installable_dists = installable_dists - - def __call__(self, req): - return next( - iter(filter(lambda dist: dist in req, self._installable_dists)), None - ) - - -def parametrize_test_working_set_resolve(*test_list): - idlist = [] - argvalues = [] - for test in test_list: - ( - name, - installed_dists, - installable_dists, - requirements, - expected1, - expected2, - ) = ( - strip_comments(s.lstrip()) - for s in textwrap.dedent(test).lstrip().split('\n\n', 5) - ) - installed_dists = list(parse_distributions(installed_dists)) - installable_dists = list(parse_distributions(installable_dists)) - requirements = list(pkg_resources.parse_requirements(requirements)) - for id_, replace_conflicting, expected in ( - (name, False, expected1), - (name + '_replace_conflicting', True, expected2), - ): - idlist.append(id_) - expected = strip_comments(expected.strip()) - if re.match(r'\w+$', expected): - expected = getattr(pkg_resources, expected) - assert issubclass(expected, Exception) - else: - expected = list(parse_distributions(expected)) - argvalues.append( - pytest.param( - installed_dists, - installable_dists, - requirements, - replace_conflicting, - expected, - ) - ) - return pytest.mark.parametrize( - 'installed_dists,installable_dists,' - 'requirements,replace_conflicting,' - 'resolved_dists_or_exception', - argvalues, - ids=idlist, - ) - - -@parametrize_test_working_set_resolve( - """ - # id - noop - - # installed - - # installable - - # wanted - - # resolved - - # resolved [replace conflicting] - """, - """ - # id - already_installed - - # installed - foo-3.0 - - # installable - - # wanted - foo>=2.1,!=3.1,<4 - - # resolved - foo-3.0 - - # resolved [replace conflicting] - foo-3.0 - """, - """ - # id - installable_not_installed - - # installed - - # installable - foo-3.0 - foo-4.0 - - # wanted - foo>=2.1,!=3.1,<4 - - # resolved - foo-3.0 - - # resolved [replace conflicting] - foo-3.0 - """, - """ - # id - not_installable - - # installed - - # installable - - # wanted - foo>=2.1,!=3.1,<4 - - # resolved - DistributionNotFound - - # resolved [replace conflicting] - DistributionNotFound - """, - """ - # id - no_matching_version - - # installed - - # installable - foo-3.1 - - # wanted - foo>=2.1,!=3.1,<4 - - # resolved - DistributionNotFound - - # resolved [replace conflicting] - DistributionNotFound - """, - """ - # id - installable_with_installed_conflict - - # installed - foo-3.1 - - # installable - foo-3.5 - - # wanted - foo>=2.1,!=3.1,<4 - - # resolved - VersionConflict - - # resolved [replace conflicting] - foo-3.5 - """, - """ - # id - not_installable_with_installed_conflict - - # installed - foo-3.1 - - # installable - - # wanted - foo>=2.1,!=3.1,<4 - - # resolved - VersionConflict - - # resolved [replace conflicting] - DistributionNotFound - """, - """ - # id - installed_with_installed_require - - # installed - foo-3.9 - baz-0.1 - foo>=2.1,!=3.1,<4 - - # installable - - # wanted - baz - - # resolved - foo-3.9 - baz-0.1 - - # resolved [replace conflicting] - foo-3.9 - baz-0.1 - """, - """ - # id - installed_with_conflicting_installed_require - - # installed - foo-5 - baz-0.1 - foo>=2.1,!=3.1,<4 - - # installable - - # wanted - baz - - # resolved - VersionConflict - - # resolved [replace conflicting] - DistributionNotFound - """, - """ - # id - installed_with_installable_conflicting_require - - # installed - foo-5 - baz-0.1 - foo>=2.1,!=3.1,<4 - - # installable - foo-2.9 - - # wanted - baz - - # resolved - VersionConflict - - # resolved [replace conflicting] - baz-0.1 - foo-2.9 - """, - """ - # id - installed_with_installable_require - - # installed - baz-0.1 - foo>=2.1,!=3.1,<4 - - # installable - foo-3.9 - - # wanted - baz - - # resolved - foo-3.9 - baz-0.1 - - # resolved [replace conflicting] - foo-3.9 - baz-0.1 - """, - """ - # id - installable_with_installed_require - - # installed - foo-3.9 - - # installable - baz-0.1 - foo>=2.1,!=3.1,<4 - - # wanted - baz - - # resolved - foo-3.9 - baz-0.1 - - # resolved [replace conflicting] - foo-3.9 - baz-0.1 - """, - """ - # id - installable_with_installable_require - - # installed - - # installable - foo-3.9 - baz-0.1 - foo>=2.1,!=3.1,<4 - - # wanted - baz - - # resolved - foo-3.9 - baz-0.1 - - # resolved [replace conflicting] - foo-3.9 - baz-0.1 - """, - """ - # id - installable_with_conflicting_installable_require - - # installed - foo-5 - - # installable - foo-2.9 - baz-0.1 - foo>=2.1,!=3.1,<4 - - # wanted - baz - - # resolved - VersionConflict - - # resolved [replace conflicting] - baz-0.1 - foo-2.9 - """, - """ - # id - conflicting_installables - - # installed - - # installable - foo-2.9 - foo-5.0 - - # wanted - foo>=2.1,!=3.1,<4 - foo>=4 - - # resolved - VersionConflict - - # resolved [replace conflicting] - VersionConflict - """, - """ - # id - installables_with_conflicting_requires - - # installed - - # installable - foo-2.9 - dep==1.0 - baz-5.0 - dep==2.0 - dep-1.0 - dep-2.0 - - # wanted - foo - baz - - # resolved - VersionConflict - - # resolved [replace conflicting] - VersionConflict - """, - """ - # id - installables_with_conflicting_nested_requires - - # installed - - # installable - foo-2.9 - dep1 - dep1-1.0 - subdep<1.0 - baz-5.0 - dep2 - dep2-1.0 - subdep>1.0 - subdep-0.9 - subdep-1.1 - - # wanted - foo - baz - - # resolved - VersionConflict - - # resolved [replace conflicting] - VersionConflict - """, - """ - # id - wanted_normalized_name_installed_canonical - - # installed - foo.bar-3.6 - - # installable - - # wanted - foo-bar==3.6 - - # resolved - foo.bar-3.6 - - # resolved [replace conflicting] - foo.bar-3.6 - """, -) -def test_working_set_resolve( - installed_dists, - installable_dists, - requirements, - replace_conflicting, - resolved_dists_or_exception, -): - ws = pkg_resources.WorkingSet([]) - list(map(ws.add, installed_dists)) - resolve_call = functools.partial( - ws.resolve, - requirements, - installer=FakeInstaller(installable_dists), - replace_conflicting=replace_conflicting, - ) - if inspect.isclass(resolved_dists_or_exception): - with pytest.raises(resolved_dists_or_exception): - resolve_call() - else: - assert sorted(resolve_call()) == sorted(resolved_dists_or_exception) diff --git a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/LICENSE deleted file mode 100644 index f768ddfa..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020-2021 Brendan C. Ward and pyogrio contributors - -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/python3.12/site-packages/pyogrio-0.7.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/METADATA deleted file mode 100644 index 3780d867..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/METADATA +++ /dev/null @@ -1,100 +0,0 @@ -Metadata-Version: 2.1 -Name: pyogrio -Version: 0.7.2 -Summary: Vectorized spatial vector file format I/O using GDAL/OGR -Home-page: https://github.com/geopandas/pyogrio -Author: Brendan C. Ward -Author-email: bcward@astutespruce.com -License: MIT -Requires-Python: >=3.8 -Description-Content-Type: text/markdown -License-File: LICENSE -Requires-Dist: certifi -Requires-Dist: numpy -Requires-Dist: packaging -Provides-Extra: benchmark -Requires-Dist: pytest-benchmark ; extra == 'benchmark' -Provides-Extra: dev -Requires-Dist: Cython ; extra == 'dev' -Provides-Extra: geopandas -Requires-Dist: geopandas ; extra == 'geopandas' -Provides-Extra: test -Requires-Dist: pytest ; extra == 'test' -Requires-Dist: pytest-cov ; extra == 'test' - -# pyogrio - Vectorized spatial vector file format I/O using GDAL/OGR - -Pyogrio provides a -[GeoPandas](https://github.com/geopandas/geopandas)-oriented API to OGR vector -data sources, such as ESRI Shapefile, GeoPackage, and GeoJSON. Vector data sources -have geometries, such as points, lines, or polygons, and associated records -with potentially many columns worth of data. - -Pyogrio uses a vectorized approach for reading and writing GeoDataFrames to and -from OGR vector data sources in order to give you faster interoperability. It -uses pre-compiled bindings for GDAL/OGR so that the performance is primarily -limited by the underlying I/O speed of data source drivers in GDAL/OGR rather -than multiple steps of converting to and from Python data types within Python. - -We have seen \>5-10x speedups reading files and \>5-20x speedups writing files -compared to using non-vectorized approaches (Fiona and current I/O support in -GeoPandas). - -You can read these data sources into -`GeoDataFrames`, read just the non-geometry columns into Pandas `DataFrames`, -or even read non-spatial data sources that exist alongside vector data sources, -such as tables in a ESRI File Geodatabase, or antiquated DBF files. - -Pyogrio also enables you to write `GeoDataFrames` to at least a few different -OGR vector data source formats. - -Read the documentation for more information: -[https://pyogrio.readthedocs.io](https://pyogrio.readthedocs.io/en/latest/). - -WARNING: Pyogrio is still at an early version and the API is subject to -substantial change. Please see [CHANGES](CHANGES.md). - -## Requirements - -Supports Python 3.8 - 3.11 and GDAL 3.4.x - 3.7.x. - -Reading to GeoDataFrames requires `geopandas>=0.12` with `shapely>=2`. - -Additionally, installing `pyarrow` in combination with GDAL 3.6+ enables -a further speed-up when specifying `use_arrow=True`. - -## Installation - -Pyogrio is currently available on -[conda-forge](https://anaconda.org/conda-forge/pyogrio) -and [PyPI](https://pypi.org/project/pyogrio/) -for Linux, MacOS, and Windows. - -Please read the -[installation documentation](https://pyogrio.readthedocs.io/en/latest/install.html) -for more information. - -## Supported vector formats - -Pyogrio supports some of the most common vector data source formats (provided -they are also supported by GDAL/OGR), including ESRI Shapefile, GeoPackage, -GeoJSON, and FlatGeobuf. - -Please see the [list of supported formats](https://pyogrio.readthedocs.io/en/latest/supported_formats.html) -for more information. - -## Getting started - -Please read the [introduction](https://pyogrio.readthedocs.io/en/latest/supported_formats.html) -for more information and examples to get started using Pyogrio. - -You can also check out the the [API documentation](https://pyogrio.readthedocs.io/en/latest/api.html) -for full details on using the API. - -## Credits - -This project is made possible by the tremendous efforts of the GDAL, Fiona, and -Geopandas communities. - -- Core I/O methods and supporting functions adapted from [Fiona](https://github.com/Toblerity/Fiona) -- Inspired by [Fiona PR](https://github.com/Toblerity/Fiona/pull/540/files) diff --git a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/RECORD deleted file mode 100644 index a69d0ef7..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/RECORD +++ /dev/null @@ -1,255 +0,0 @@ -pyogrio-0.7.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -pyogrio-0.7.2.dist-info/LICENSE,sha256=e3KtZsP5KtU41F_46jNd4Gfba2PwF2bfVumh9KT6o7Y,1102 -pyogrio-0.7.2.dist-info/METADATA,sha256=tOnuXcTFeJDZHBwwFXfmNf1_4ipIl9n1aUnIVhscTSw,3807 -pyogrio-0.7.2.dist-info/RECORD,, -pyogrio-0.7.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pyogrio-0.7.2.dist-info/WHEEL,sha256=JmQLNqDEfvnYMfsIaVeSP3fmUcYDwmF12m3QYW0c7QQ,152 -pyogrio-0.7.2.dist-info/top_level.txt,sha256=DUBAVaLxa9r0nHHskG8tHdP1P3zt6TYYPRiDBlEUc7Y,8 -pyogrio.libs/libgdal-43e5c8b4.so.33.3.7.2,sha256=dFH1IBhRMKJO8Mu-uSe9OHbA1XdXhzxRnEjQqZs3okQ,46307969 -pyogrio/__init__.py,sha256=MMMoDLcxEXX_6772HCwqGExFCz1bTm4wC_IZ7blUMs8,1026 -pyogrio/__pycache__/__init__.cpython-312.pyc,, -pyogrio/__pycache__/_compat.cpython-312.pyc,, -pyogrio/__pycache__/_env.cpython-312.pyc,, -pyogrio/__pycache__/_version.cpython-312.pyc,, -pyogrio/__pycache__/core.cpython-312.pyc,, -pyogrio/__pycache__/errors.cpython-312.pyc,, -pyogrio/__pycache__/geopandas.cpython-312.pyc,, -pyogrio/__pycache__/raw.cpython-312.pyc,, -pyogrio/__pycache__/util.cpython-312.pyc,, -pyogrio/_compat.py,sha256=XXUcKt-_oTVDteHzLFGovDdSwMe_cB_m9nmYzItxFVk,816 -pyogrio/_env.py,sha256=jf-nUbLqQka-XGKijLh4Oh0Lur_uj7XyvQVSQ0jXZ_0,1531 -pyogrio/_err.cpython-312-x86_64-linux-gnu.so,sha256=NoCJlb5An4FhHqjOUPljFfZbhvYmYkkYsxffzWmxi-0,633625 -pyogrio/_err.pxd,sha256=DKe5pdq8CqnaW3U_w9X56iBqdylIvOaRk-sExSXA3WU,166 -pyogrio/_err.pyx,sha256=qNlAfC3Qr006zKw3ZyRCM4DCiYHzf-AwJdCIT38lL1k,5977 -pyogrio/_geometry.cpython-312-x86_64-linux-gnu.so,sha256=8LeZpclmKg9th3IhbkcC17v4-_g2C06zLJuoZL_7iF8,523145 -pyogrio/_geometry.pxd,sha256=glEFGgam8GVAnJr8q9NQ4zLdFYjIRd9Hn7LoNP8MOt8,147 -pyogrio/_geometry.pyx,sha256=z4RJdJyMZvFShX3B2dBErMglQFDWUkUqqlOFTaEOBRg,4071 -pyogrio/_io.cpython-312-x86_64-linux-gnu.so,sha256=x3xbuW5LA-Z_8f9JJBl2GL5EIf48A3vcrZRM7V5z7CM,4798793 -pyogrio/_io.pxd,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pyogrio/_io.pyx,sha256=ba1V9VKy0Nzb5xRTeMe32WKo1mDAneUCkiJkn76Nyeo,67023 -pyogrio/_ogr.cpython-312-x86_64-linux-gnu.so,sha256=4ThmWzkqJzJl8w6FkOY_jO-j7riI5SFUnorHaJ7xPJs,1064313 -pyogrio/_ogr.pxd,sha256=nVi4I9gP7gQGkskP4TMK2utSr2DAKCIKT6ep0Tqta54,15296 -pyogrio/_ogr.pyx,sha256=-WlLmRItqz7BMh977ZjKwXL76RJEI6nPT9IvYmKPGts,10295 -pyogrio/_version.py,sha256=B-MKvOdxOlxitQZYhOYjmSv7Xo6dIy1o3TCMiBRuSac,497 -pyogrio/arrow_bridge.h,sha256=cmDLGfuENF3dE1MwByyfkZ9Yey5RsHo2Xg_vYujlWew,3573 -pyogrio/core.py,sha256=YBi8EYBHb7WuAO8hFknmvYrQzS0kX65ADzPscu_KxjI,10680 -pyogrio/errors.py,sha256=otUCS22V7jd-4b5o49YLTqmHzzHlr3XrEIyoF2qDSOA,666 -pyogrio/gdal_data/GDAL-targets-release.cmake,sha256=uD7B0TJJ6zaYwmj50Jh-HagqD_Ee2K-GftDAQCYFe08,831 -pyogrio/gdal_data/GDAL-targets.cmake,sha256=-T9LaacxX7RMDV7MeYit_CWQLcaew7CMF0hmFjwRIrE,3817 -pyogrio/gdal_data/GDALConfig.cmake,sha256=ebSM6y8ervSeMXHZauIpiVPZNsOr2CePv_YObOy-um8,978 -pyogrio/gdal_data/GDALConfigVersion.cmake,sha256=YtopUp884Ghb4BdrP0b8qJ-GjFFjLyIzpWrJdrRC3Nw,3675 -pyogrio/gdal_data/GDALLogoBW.svg,sha256=qsnasz1HnguDK4vXyeVRDcvvNKfGzJrqlrviqrUWHFM,13022 -pyogrio/gdal_data/GDALLogoColor.svg,sha256=LBAqMcbpEWqpuYeH2L9c9kjbzCuTCu5lPNNd9l7RGNA,12305 -pyogrio/gdal_data/GDALLogoGS.svg,sha256=Gubi2S5rBDnzuu4MtV2ti5er-0_MWMkYmyO2PIGK7so,12305 -pyogrio/gdal_data/LICENSE.TXT,sha256=Ha40aOgdANpW4pNvdNM7izrQnXJkN_Gc4gml2r6kH3c,21841 -pyogrio/gdal_data/bag_template.xml,sha256=2veBb2hsNbUexmyQ_GrtvxLb75fyj5-ulzE5L5KvtzM,9020 -pyogrio/gdal_data/copyright,sha256=Ha40aOgdANpW4pNvdNM7izrQnXJkN_Gc4gml2r6kH3c,21841 -pyogrio/gdal_data/cubewerx_extra.wkt,sha256=HMo_o-JJ9Mx9G_D_sKcaGir63RCv337QqiktvF5PB2g,11977 -pyogrio/gdal_data/default.rsc,sha256=nhydcIHVJ3XnUNQVXUklUlKwTKgf7yfLKZdnXTzZYms,463632 -pyogrio/gdal_data/ecw_cs.wkt,sha256=1DGJPrRGsmXSBu6ohj3NzOO2XHwqcH2qtY6J5YOvAz4,364032 -pyogrio/gdal_data/eedaconf.json,sha256=AxFoSKe6ytEFKJxW9dE_tZviZPHj04CegnRfQWP-EoU,411 -pyogrio/gdal_data/epsg.wkt,sha256=5QiV6QYaum3RWI8GoIiHKqViqNmHFliLwaQgGJ3LJUw,27 -pyogrio/gdal_data/esri_StatePlane_extra.wkt,sha256=aC3xsjHLbxKHaF1MZL8bJhHAr0PDBINHO7s2bOG9jTM,332546 -pyogrio/gdal_data/gdalicon.png,sha256=2Q9QqPdMMlCGyGe_AGqSJmwlmicNkWay9B9Ya2d1Vyk,2021 -pyogrio/gdal_data/gdalinfo_output.schema.json,sha256=U8pyRiTrqToUmzoTxz7XtxtLQ3y5Yq7pozyX-vsD8_o,7991 -pyogrio/gdal_data/gdalmdiminfo_output.schema.json,sha256=uYqJkLuuqtCA6jwdnNGeNRF7XeeI6fy2Y-ybzZf7VaQ,6543 -pyogrio/gdal_data/gdalvrt.xsd,sha256=JWOV2HvgvRjBAHhgT9y3awIn1gZVfj6W3U6NiXe9j6s,27653 -pyogrio/gdal_data/gfs.xsd,sha256=TCLwaVONVD6Fh94o6Hw-NClD8-2erBsz3V9dgozmG5I,16469 -pyogrio/gdal_data/gml_registry.xml,sha256=2rVxsqdOS23ieg_eYtNIhxQcpFbRHKrN11oWay3lp0M,6643 -pyogrio/gdal_data/gml_registry.xsd,sha256=75C2JexYEv3asxO4seOHmJzP6glAnFFfMTm21jSRKXo,6462 -pyogrio/gdal_data/gmlasconf.xml,sha256=IAk50u-H3k34Dm6_MJCMYOllTgv8a3nHrk6oqUR9t24,7432 -pyogrio/gdal_data/gmlasconf.xsd,sha256=khv6jROHkaOsM3UI4mQsAZJDDedWGA7sJLh2RRZw_jY,48654 -pyogrio/gdal_data/grib2_center.csv,sha256=9qwbZ4W8m8-6dZG6LFskca3rCgl42bMLfzg0yQI_QjM,4171 -pyogrio/gdal_data/grib2_process.csv,sha256=5t64qqEuz435_VQfKj6jZrPpi9GUJPL-XS32V9VECg8,4926 -pyogrio/gdal_data/grib2_subcenter.csv,sha256=H1NnC7PusHTUbS3cFTfnwFyHskqvdgJNApd1FDUClFs,2328 -pyogrio/gdal_data/grib2_table_4_2_0_0.csv,sha256=7lcXiYZHBVvyTtJuzN7_N7bcCTaT98t9pGZ1qCAClPs,10363 -pyogrio/gdal_data/grib2_table_4_2_0_1.csv,sha256=Islx1uwOrtFhUgZcq0urhO9eG1bFDWjFieujFdQJq3M,16505 -pyogrio/gdal_data/grib2_table_4_2_0_13.csv,sha256=FiAWXbiJem9ePbrtXLu7chBm2H-PhZ39DNI_c7CXE3I,9596 -pyogrio/gdal_data/grib2_table_4_2_0_14.csv,sha256=FX7I5iVqwq7iZITOHtI74X-ifJWuBDvpv2qW18jkZ2k,9551 -pyogrio/gdal_data/grib2_table_4_2_0_15.csv,sha256=7eBU5WigNMmSwRD7SKmCMpMzvqoBJJgcJvT55LIowhI,9846 -pyogrio/gdal_data/grib2_table_4_2_0_16.csv,sha256=mut7PcQsX0ZPxMjU_oHfuTTGwPUAbxkJy2Yp-ybLV-0,9671 -pyogrio/gdal_data/grib2_table_4_2_0_17.csv,sha256=A4I5bH537GYR-TnRfb22wWfzM7nLp4OBcXSExvrLv18,923 -pyogrio/gdal_data/grib2_table_4_2_0_18.csv,sha256=UGnoCo2YiZQj9wJJE4oajSegwv7jMxebvWU69-TeVfY,10224 -pyogrio/gdal_data/grib2_table_4_2_0_19.csv,sha256=GzGUGbbmLLm1y0qMaRi0GOVeinZ_W0XkOJ_EUlyS9q0,11874 -pyogrio/gdal_data/grib2_table_4_2_0_190.csv,sha256=xF_PY2JAidyUTzFRSakOV3SITD5OD2LgF-2WT_vG0bc,9507 -pyogrio/gdal_data/grib2_table_4_2_0_191.csv,sha256=nb6bmMA90CcIbRmdWTwC_BWcEo4M46hoJSHQnzsEHDA,9620 -pyogrio/gdal_data/grib2_table_4_2_0_2.csv,sha256=Hcr_tN5FR17RXjlBWHh1N-fHS7opzUxThapntte7Bd4,10892 -pyogrio/gdal_data/grib2_table_4_2_0_20.csv,sha256=IUriHiSfaj_jzgaTT_lWVCZt-Uo_KSTinbaYDsQK8eY,12291 -pyogrio/gdal_data/grib2_table_4_2_0_21.csv,sha256=30k7pyX-dRE2KdZzZ4lE4tNliimuRzYJevqXoRU9UvM,10262 -pyogrio/gdal_data/grib2_table_4_2_0_3.csv,sha256=VyZN8AA5z_yyp6bELgKOect5RZZWX27NWAjd5msJ9GI,10558 -pyogrio/gdal_data/grib2_table_4_2_0_4.csv,sha256=KVlHHOG2-UdYSWk2F3e0f1AtEmQJGvuhy-bNhmwItvQ,10311 -pyogrio/gdal_data/grib2_table_4_2_0_5.csv,sha256=Acxx9cLX729oggWNVsmfPc9Lqq1nNTWWvgnta66WfaE,9826 -pyogrio/gdal_data/grib2_table_4_2_0_6.csv,sha256=Dldt7q0TbnIkPdL6eqhiiiJU9jBzmIXCGNOsLvFXl2g,11642 -pyogrio/gdal_data/grib2_table_4_2_0_7.csv,sha256=8OAwltJUJVjKWW10OC-jGolnOn6i--r1Tot2rwfXF7A,10492 -pyogrio/gdal_data/grib2_table_4_2_10_0.csv,sha256=9P_7VCO55ZdL-Acj5lwY6ECnruzcgMAb7bmeQYIG7-c,11822 -pyogrio/gdal_data/grib2_table_4_2_10_1.csv,sha256=lWT-VZLPKNdqWmFE4TBRVncsUsqRkxCzcIIk7TNuOGk,9625 -pyogrio/gdal_data/grib2_table_4_2_10_191.csv,sha256=D1EVM9Eyzl1STFGdSwy-OjkzyVNqUJc4JvToQgIcscg,9634 -pyogrio/gdal_data/grib2_table_4_2_10_2.csv,sha256=OitdURbBcwCaOEMxzAy0kugXFRiYn2TdB9oBIvSmTq4,10112 -pyogrio/gdal_data/grib2_table_4_2_10_3.csv,sha256=LxrwVe-pgQTuqDSTGSarqfDaTqBED-L9uohVEyTeKIY,9989 -pyogrio/gdal_data/grib2_table_4_2_10_4.csv,sha256=v11Tm6AQX7Y9rLhY7zjQeCR6jaO9lcTb6mV_SkV1Amk,10816 -pyogrio/gdal_data/grib2_table_4_2_1_0.csv,sha256=wk1sBMq1quhb3o6ROtT1ptqxnHV2a0TJYgspUqgERTw,10142 -pyogrio/gdal_data/grib2_table_4_2_1_1.csv,sha256=3FyIbZA43DVDSURtfTyKmbqw2bCyvB9K5ObuED1fIiU,9655 -pyogrio/gdal_data/grib2_table_4_2_1_2.csv,sha256=b_R3xjTgyeyJeKz_6Rm_TnqOGtsvHUBMPo8vJEZZuYM,9798 -pyogrio/gdal_data/grib2_table_4_2_20_0.csv,sha256=p4oIJ9cFOANpbQmbaOdm1OJtqOcgdtt2w0IO9oNvCGc,9643 -pyogrio/gdal_data/grib2_table_4_2_20_1.csv,sha256=PssQWXb7slKE9Lj3j6-7bzaT_MbaNYvW1Ye9svtdHRQ,9851 -pyogrio/gdal_data/grib2_table_4_2_20_2.csv,sha256=ZudVi5DPaFj3QMlMw6a0jkSnBbPzfkrxeOH6cGqDgrs,9506 -pyogrio/gdal_data/grib2_table_4_2_2_0.csv,sha256=VmMPvFRcEifRi8w6eXg9Z3i_JcxhnqAcdxM4ymWV1E0,12666 -pyogrio/gdal_data/grib2_table_4_2_2_3.csv,sha256=NhDBdFAucOn0CBT4N8txwupv58jwnpCY6ChnhGNjkfo,10634 -pyogrio/gdal_data/grib2_table_4_2_2_4.csv,sha256=FbmMUnZlbMWW-Fya4RsGe58rPjeAn02QFgRLlLuQGPM,11228 -pyogrio/gdal_data/grib2_table_4_2_2_5.csv,sha256=DMm7VDNZcLAKXwFA4SIgfExBb1d8iGFNMKpOoYmwY5U,9513 -pyogrio/gdal_data/grib2_table_4_2_2_6.csv,sha256=bUI0gAfG770GFRvGRwdLeMQ5EjRWhoymXwIgUeRU-L8,9599 -pyogrio/gdal_data/grib2_table_4_2_3_0.csv,sha256=lXurUVCwfKCGo8XSUdwGG0YWahBnd_LSU-LCwGULIVE,10951 -pyogrio/gdal_data/grib2_table_4_2_3_1.csv,sha256=_UjqsYLrMmAUhR1h2iJzqZJeTvhFuNfnBrelFgueB5c,10663 -pyogrio/gdal_data/grib2_table_4_2_3_2.csv,sha256=FWUq3hX244-kBMJor_98vRY7ujIaf_ZF6SzLHOv5X8M,3833 -pyogrio/gdal_data/grib2_table_4_2_3_3.csv,sha256=I4cT-Ad19soux0yIC8cQw-UPDHA8slwLynqEtOb-_PQ,784 -pyogrio/gdal_data/grib2_table_4_2_3_4.csv,sha256=Hu4t2JRqRwfmaM3AqgFhUXKfhb86y3A4e4qOYxVMrQw,1051 -pyogrio/gdal_data/grib2_table_4_2_3_5.csv,sha256=BPr_V_toW-rW2gBwOrD910yaad-Z6W97LA29E3IEjOw,920 -pyogrio/gdal_data/grib2_table_4_2_3_6.csv,sha256=GklA-e-8iI9GXxT-rAQ_fzEA9h4s13bKfVuUvLj2v9g,819 -pyogrio/gdal_data/grib2_table_4_2_4_0.csv,sha256=9kJY8m3csUYibz041_Whq1iA-6RdqYg1dzgarcPku_k,9553 -pyogrio/gdal_data/grib2_table_4_2_4_1.csv,sha256=9ZHp2TMk8z3QZUo4_G8DS-4MdgCHA0MZnFP-rzaRFXM,9686 -pyogrio/gdal_data/grib2_table_4_2_4_10.csv,sha256=LO-onEZ63bsCe_QuDb7HRmGf4QcCU_TrElpuKRCTjLg,9701 -pyogrio/gdal_data/grib2_table_4_2_4_2.csv,sha256=mRIkqJQ6Chbyavutcact38Scvqal5vK177DT8Mko6ag,9660 -pyogrio/gdal_data/grib2_table_4_2_4_3.csv,sha256=H6aiN0QNLVmYkallM7yVbCiR3g6x2TGNVaxHnONqa4I,9722 -pyogrio/gdal_data/grib2_table_4_2_4_4.csv,sha256=7ZOpoUdEUBKtzctagMGLREW6GMan6_WECFbywvFimSE,9690 -pyogrio/gdal_data/grib2_table_4_2_4_5.csv,sha256=UH1R3eJHZQ9Xejfrgr9km-ko28squEkiEdtdfqN9boE,9495 -pyogrio/gdal_data/grib2_table_4_2_4_6.csv,sha256=fn0fYAm3jDZsGeXwE8NCnEAo9ZJ4HoicnCEVwends0s,9633 -pyogrio/gdal_data/grib2_table_4_2_4_7.csv,sha256=T6hqPEH1cIRqbWuGUPrs3eiKFnUyHK-eaSrycm7V4yI,9556 -pyogrio/gdal_data/grib2_table_4_2_4_8.csv,sha256=TAwuXG7KGaAjs6yGFBT6yg7dnSzfcfVHEdHhbrnD59g,9686 -pyogrio/gdal_data/grib2_table_4_2_4_9.csv,sha256=zk5CHm-MgMuskaBqflKemoUY7aUSvK1tUTubKiFppxk,9536 -pyogrio/gdal_data/grib2_table_4_2_local_Canada.csv,sha256=m8GRxbypdPQvvdSIA38HTuHKu6gO_i2lC4_SVMDcv_U,333 -pyogrio/gdal_data/grib2_table_4_2_local_HPC.csv,sha256=uJ0Xy_y46b8uqS0X2P1VUpMjPbV85qh-OXe_SHd5o_4,87 -pyogrio/gdal_data/grib2_table_4_2_local_MRMS.csv,sha256=H_u9WF10JNULZrrg7fE4D0q-tFG0BT28Z8w3umpVDlM,15587 -pyogrio/gdal_data/grib2_table_4_2_local_NCEP.csv,sha256=3u547LbwYlq1zC48OFIOqpIZmHtobfkUtZgd-M6TRHs,27977 -pyogrio/gdal_data/grib2_table_4_2_local_NDFD.csv,sha256=-ax9PGvL20SKnBtm_yeUiXiV_N6CRx1PT_1C_iKDhsY,2659 -pyogrio/gdal_data/grib2_table_4_2_local_index.csv,sha256=iL7UDbsNDfcrQyeSujIUv93LopATsZpd_P9neBGjN7c,251 -pyogrio/gdal_data/grib2_table_4_5.csv,sha256=JtMFPcnPHyzAwCeMZc9ZU8Gi2FmFqHSSiWrdx8AutNA,10013 -pyogrio/gdal_data/grib2_table_versions.csv,sha256=kmlTzSvGEG0hhPJwT9se8LVIVz61oufFbH-90NhFh_U,38 -pyogrio/gdal_data/gt_datum.csv,sha256=3Qci5ZsE1dpYQJvOrsRDbscmMGRGvWR37LqoGcWPBW0,15804 -pyogrio/gdal_data/gt_ellips.csv,sha256=wQZ2wpgUDXAkgEXgwi1z40xc-F2zWRZzdDZ9ST_6fPQ,1719 -pyogrio/gdal_data/header.dxf,sha256=9GpEP0k-Q3B7x5hbnyhEViwk_qV21xVw_yr-kTF0Sd4,6572 -pyogrio/gdal_data/inspire_cp_BasicPropertyUnit.gfs,sha256=KG17Z8L6OlwyHUOfgxk7wG4MagplNoOOefFRZ4q1Rxw,1740 -pyogrio/gdal_data/inspire_cp_CadastralBoundary.gfs,sha256=VZY8kxf3ZQj1tkcp5gV6Iw8fX8lHOFHxAx-ZxQsa64Y,1650 -pyogrio/gdal_data/inspire_cp_CadastralParcel.gfs,sha256=bxS0mxaUq_4ZHx1FyExuYmeIZuOUHcU_CV4Oxs-jDiQ,2450 -pyogrio/gdal_data/inspire_cp_CadastralZoning.gfs,sha256=e1GC-8pLjZ6gc-OY0IUDd5LL2URNHcazWW-i7QMLTPo,4812 -pyogrio/gdal_data/jpfgdgml_AdmArea.gfs,sha256=F8i9JfKPfW_hTQyCHb9rqmnqHhH2nGlVfAFsmF67-Rg,1640 -pyogrio/gdal_data/jpfgdgml_AdmBdry.gfs,sha256=XY7zmIi3gWDR5xIWx_wJon7IgWCfwc8Ex-oVylQCSAQ,1382 -pyogrio/gdal_data/jpfgdgml_AdmPt.gfs,sha256=zvbd8Fp_ZzXKSYDWradRuDrkjpJQtBPzT5FI1dwOKJk,1633 -pyogrio/gdal_data/jpfgdgml_BldA.gfs,sha256=AU71Y7NeeWHRmDB4tq7--DZWAQqsTV_XRNpJiBVULt0,1501 -pyogrio/gdal_data/jpfgdgml_BldL.gfs,sha256=9j7aVPTJLDF0I1sb6YzVloK1VD5pAV-e4aP4kpJH9bA,1503 -pyogrio/gdal_data/jpfgdgml_Cntr.gfs,sha256=wOA3_ml-DHFJVXGNFgI8KplOJfwOmM9aluWTXapDYJM,1501 -pyogrio/gdal_data/jpfgdgml_CommBdry.gfs,sha256=dLHB579iCR6aIbNNiFHaX_xpdiLs3xMqm_zrRZ1kACw,1384 -pyogrio/gdal_data/jpfgdgml_CommPt.gfs,sha256=A53IK4rYp1tK1fAYRcLi_AUpRCNyaV6C_iKTqyLgEVA,1635 -pyogrio/gdal_data/jpfgdgml_Cstline.gfs,sha256=cbzTD-Dbdi2QC-nO9Ep8i64E2CUW3m9nRhmKej6qzLU,1509 -pyogrio/gdal_data/jpfgdgml_ElevPt.gfs,sha256=9MRSGeU4EV1qAZ6Q2JEBsINXQXjxtlLg7JFgnFH3bIM,1500 -pyogrio/gdal_data/jpfgdgml_GCP.gfs,sha256=1bTmQNeaTceyuvv2p4QVBC19KFk3aLx4tgBsGeZQ0GQ,2523 -pyogrio/gdal_data/jpfgdgml_LeveeEdge.gfs,sha256=kQnqUPoyJfjqfvdnSAB2VvIN9FM3Jd-r9dCPOPqGiZ4,1386 -pyogrio/gdal_data/jpfgdgml_RailCL.gfs,sha256=WfcPfaAxyRwH0hGYR8cWo9KzkYaeVjdMpWdCj88L2Lc,1507 -pyogrio/gdal_data/jpfgdgml_RdASL.gfs,sha256=mg_FOmbuKivcTjWcIxVdf3KYzKv9x0m7DUGI1UHnFOk,1251 -pyogrio/gdal_data/jpfgdgml_RdArea.gfs,sha256=ldLwklTkt4-v--uIOd9E3T5evFxWeUDgUS6cd27sgMQ,1515 -pyogrio/gdal_data/jpfgdgml_RdCompt.gfs,sha256=e19AWCj_6GE7AR8sUE8WlRUZuOkDsfPgVrkRW4aZaK8,1646 -pyogrio/gdal_data/jpfgdgml_RdEdg.gfs,sha256=zFrWUKdRQpadmkTottrgNxknbGTc-87RTqTzhJ-Jt4U,1642 -pyogrio/gdal_data/jpfgdgml_RdMgtBdry.gfs,sha256=icSd5TDjjersUSthlHjPande-IFpCVAEJWWReCSo0vY,1386 -pyogrio/gdal_data/jpfgdgml_RdSgmtA.gfs,sha256=DrQoc9ubkSfkE8QL1Uvoq-EWklYvSIGeTw8cuJtZuZU,1644 -pyogrio/gdal_data/jpfgdgml_RvrMgtBdry.gfs,sha256=3mSGD0Rm2PFV97OzIDjK8Mb3dAom_uQADHtIKsSwNjM,1388 -pyogrio/gdal_data/jpfgdgml_SBAPt.gfs,sha256=6SXkKWcv4sOfsZUtRPBx3kSg2H8JgSLhK_fxaHhOxuE,1375 -pyogrio/gdal_data/jpfgdgml_SBArea.gfs,sha256=eXR1XphhUeJpoSOqqAbhKpnwcDaatIYa_Yap3xwFJFo,1507 -pyogrio/gdal_data/jpfgdgml_SBBdry.gfs,sha256=JDySSKChX3q0KetcBBC62Bvsr59qj8aq7_LWlAPOMys,1253 -pyogrio/gdal_data/jpfgdgml_WA.gfs,sha256=GBCluVns9HsNGQMnEb4VXaYYi-cNgIo9LDYMCINVlnM,1497 -pyogrio/gdal_data/jpfgdgml_WL.gfs,sha256=J9BKIPRJyY30wGjgQk9CYpguSk38EF4706xzYIqESKk,1499 -pyogrio/gdal_data/jpfgdgml_WStrA.gfs,sha256=ul-hFP9A9jVcIW4xKShR6C0yjXAq8HEPUkk8oLyH27A,1503 -pyogrio/gdal_data/jpfgdgml_WStrL.gfs,sha256=6_4tnRheyIf-c3JQwKYxSHA4i-I7ORkf3InxygGqyJA,1505 -pyogrio/gdal_data/netcdf_config.xsd,sha256=O1eIEmlSx3y7N1hIMtfb5GzD_F7hunQdlKI1pXpi3v4,7491 -pyogrio/gdal_data/nitf_spec.xml,sha256=KFFbjkzMZ_q8QbK4VmHQpbFZqryOrADtB6_IdXZsYq0,187445 -pyogrio/gdal_data/nitf_spec.xsd,sha256=60ccsb6YEuoJkrGcBxQxafXAGTSG5vqGdzMAATaJ2cE,8508 -pyogrio/gdal_data/ogrinfo_output.schema.json,sha256=ohro0t571L8ibSVcsIeCwC0AH3YtYAqbl5_NpFxCX88,10853 -pyogrio/gdal_data/ogrvrt.xsd,sha256=oIqipvkTNuuCddTMPX4-NvsKYaLLfSUn9O_k06cGQ8c,25921 -pyogrio/gdal_data/osmconf.ini,sha256=2__o9tGkmEMQa8WXGnlOPmJQtefKxePj5HdypuDLOM8,5400 -pyogrio/gdal_data/ozi_datum.csv,sha256=42eOPxRAhK6zSIwuGuIkfweoQfUBqJ5yJa6d2b-xmGg,8482 -pyogrio/gdal_data/ozi_ellips.csv,sha256=DINjv97cF4fVNGPXBeLhzo-9_NSdHjx3j11CgpgNdcY,1349 -pyogrio/gdal_data/pci_datum.txt,sha256=cxbqOPJKtHw6h0QnpG2cHyhsOV2rbR6W3b17YuTfPtE,35094 -pyogrio/gdal_data/pci_ellips.txt,sha256=F2VT-O3kC-gpk_NfS9ywDW3cYv_BzOf5q0EskZSJucE,3515 -pyogrio/gdal_data/pdfcomposition.xsd,sha256=f5x0mBCK4xFCoM4iT_UCMM40Typm4Qy4NHjCSUL-Fg4,34334 -pyogrio/gdal_data/pds4_template.xml,sha256=rqpN2EsXceGQFfSMeWMoD_2PrU88izTiY275iU5W9mI,3433 -pyogrio/gdal_data/plscenesconf.json,sha256=Vd__WXJyPouwHYD13vuYnTYDtyPD7wPk1xV4oDcQ-Gc,41372 -pyogrio/gdal_data/ruian_vf_ob_v1.gfs,sha256=FnvtM-za4grKUwHUGLzBE_wxXj_0iYMXSg9Uf02MpBs,46735 -pyogrio/gdal_data/ruian_vf_st_uvoh_v1.gfs,sha256=C8cSYgbhiXuJGE9aeBOoOfcR4mWkU-8hFmeZhv302dM,2596 -pyogrio/gdal_data/ruian_vf_st_v1.gfs,sha256=2SFO3C10aUwZita6Iy1yR-rKmNk1FF7eX1OtB6kIcy4,45900 -pyogrio/gdal_data/ruian_vf_v1.gfs,sha256=Tl4_j6ZZgk6Do3HDCmPLrMyvDcI0KZZ7cpIvTMh6FBU,67252 -pyogrio/gdal_data/s57agencies.csv,sha256=IS73IR7YPEOCulni7kQ3pzMXE7KYM77nZFwHMcq8QnA,13304 -pyogrio/gdal_data/s57attributes.csv,sha256=9Lbf4ugv6l5-5DPhNoMpKj-gm7ZnUEKOSxV4-ZpG0t4,20001 -pyogrio/gdal_data/s57expectedinput.csv,sha256=1bCaXEJI8-sJBqTjrGjXOAyG-BnXDerjZi5zbwWXvGw,20885 -pyogrio/gdal_data/s57objectclasses.csv,sha256=BqzXwn2LnMDgLbkTav9gyclc-tL1wMu9nN-KpNB9hxY,53425 -pyogrio/gdal_data/seed_2d.dgn,sha256=3YRl8YVp2SiYCengliEV02XQpW3gITk5UqXnoKILUnw,9216 -pyogrio/gdal_data/seed_3d.dgn,sha256=l8LwDubqloc7fRbl6Ji0hQ49NUSCmdfZ0359F5K1aJY,2048 -pyogrio/gdal_data/stateplane.csv,sha256=MMYhCHKwpMENQHOajLa-2mMKfvPrTLB6cSjibo6Dy-M,10360 -pyogrio/gdal_data/template_tiles.mapml,sha256=sb1swUtdRcWuDxRt2-8j07jZWr6oJQ_dU7Ep7fuPMt0,1947 -pyogrio/gdal_data/tms_LINZAntarticaMapTileGrid.json,sha256=QjJ8qJZPlc5-AfNPvDJ4AlCkqVJOSy14g7T37sUS5aA,4115 -pyogrio/gdal_data/tms_MapML_APSTILE.json,sha256=Co119fRol3Xlvp6Tv8OyfOPr8oLyd-hCQOXvK7KX5KM,6273 -pyogrio/gdal_data/tms_MapML_CBMTILE.json,sha256=tZaccbdXtciaiOyOkESWhCT1lGtiXtTwfSvgmNwm14A,7792 -pyogrio/gdal_data/tms_NZTM2000.json,sha256=irMxe-d_H9zzagr3FS4bsJZScfe-XLvEMmdxanJYOeo,5265 -pyogrio/gdal_data/trailer.dxf,sha256=UGuvDFk9eo_yT7zXg4hykr1tPI1QVHKeO_OLlGXRGfw,2275 -pyogrio/gdal_data/usage,sha256=yFWEJh4gEalLhvBMOijdLhZcnmtHZ3qb7iaj04e8BfI,136 -pyogrio/gdal_data/vcpkg-cmake-wrapper.cmake,sha256=xQfqoHcHLph3YH_V9wOB7r8ZkAZh4uH9CZ2ExN8bjCQ,817 -pyogrio/gdal_data/vcpkg.spdx.json,sha256=KcWi7JnyLfa0AdtAxnywYIcPa4uj4-oMDh8Op_fizoU,8713 -pyogrio/gdal_data/vcpkg_abi_info.txt,sha256=11LwrmLL_X2F-5I9WPiOo9_z0T60X4s7O3WQuEGpf2Q,3091 -pyogrio/gdal_data/vdv452.xml,sha256=q1KF0BR-dDEIomwkRLhTksR4f_maMumayx4hQ2wju8k,25816 -pyogrio/gdal_data/vdv452.xsd,sha256=rCZLv6wROL-3FdB_OiimR6l5Jw37cV553UOiSE5K1Pg,2854 -pyogrio/gdal_data/vicar.json,sha256=eSStEB2nV89BCRrUqec03eHSNUN1P3LC7t4Ryc19Asg,3610 -pyogrio/geopandas.py,sha256=MDMcyW9PLYGW_QMmXrJbJjjr6nQYLeYIa75uqyp1MDk,23846 -pyogrio/proj_data/CH,sha256=bFPqQKLGAyW6bGuaK5wUO9FlZxw4gg7NjyPKq0omSrU,1097 -pyogrio/proj_data/GL27,sha256=hTdeYxXW9kTkV32t88XxV1KK0VtxXJmyh73asj1EGT0,728 -pyogrio/proj_data/ITRF2000,sha256=UiXDszZ6NwIeY5z9W9FSHSvV0Ay8R0zWs7OCdhWk_nI,2099 -pyogrio/proj_data/ITRF2008,sha256=2iU4lKTFp-DHGVzPMZgj0RC9QqPdxztf-UlPEv6Ndh4,5680 -pyogrio/proj_data/ITRF2014,sha256=KYUwTjflfDYqYTl7YyZ9psYMN2HT5GOhH0xr0BPC19U,3489 -pyogrio/proj_data/copyright,sha256=ao8weT6HfTLj-IuXLwlwoFGjtaJs0FfTmTy1HiHEMxk,1784 -pyogrio/proj_data/deformation_model.schema.json,sha256=ugxZERFyB6k2_HOMHjHaABtFtRGTdzzgxnQhQ_NyuZ0,17671 -pyogrio/proj_data/nad.lst,sha256=Gijthy_RVQ9b97Wl5b_F51ALX5TJdFuEodFWsyA5kow,6385 -pyogrio/proj_data/nad27,sha256=C8IxkiRhrHWJIsanJR6W1-U-ZWYIsbTwa3hI-o_CVSA,19535 -pyogrio/proj_data/nad83,sha256=mmJgyGgKvlIWyo_phZmPq6vBIbADKHmoIddcrjQR3JY,16593 -pyogrio/proj_data/other.extra,sha256=we90wKmz4fQqV2wVvENmbBNbfpNh21cno1MgTaJ5zLs,3915 -pyogrio/proj_data/proj-config-version.cmake,sha256=A49vGlAYQKiR-9ghzsNZCcFE0YQPK_Piz9vnC4DQbXU,1789 -pyogrio/proj_data/proj-config.cmake,sha256=7JZqaziXi8kFJFah3nzV5EMZd-8a8p113x8_WoxEmEU,2514 -pyogrio/proj_data/proj-targets-release.cmake,sha256=EUGwmwyqLMarJjwhp5G63iw2U2s2nEln64t-eEYH3Q8,821 -pyogrio/proj_data/proj-targets.cmake,sha256=8K7pLOtrskxlIbpoMAtA8jesChCwxFCfSNZWnJMr_w0,4450 -pyogrio/proj_data/proj.db,sha256=OAAau4HnY52E0V4YK9jv2naqqyvowK_fqWHdbUkeQnY,8581120 -pyogrio/proj_data/proj.ini,sha256=SvO-E5l27NOlzFZWPKMhu1ASFjwLid8IB773in3StB4,2107 -pyogrio/proj_data/proj4-targets-release.cmake,sha256=5AMWErMkyX8NvT_r6MD_mrisCRtS-uOAk_odUdeIqRw,826 -pyogrio/proj_data/proj4-targets.cmake,sha256=N0p4RA4LehF35qdjsUGTfwWkCxKrE307ljjNya8npes,4455 -pyogrio/proj_data/projjson.schema.json,sha256=HqlM_U1GCI-za_NtPEkqqSABIS62mngA5TOmEQP21W4,38312 -pyogrio/proj_data/triangulation.schema.json,sha256=sVKCZmZ9Tz6HByx043CycTUQFRWpASolKH_PMSzqF5o,8403 -pyogrio/proj_data/usage,sha256=JhaTY8J-caRMup1wOyK70TwZGrXi0GErPdNcc1yXH-Y,120 -pyogrio/proj_data/vcpkg.spdx.json,sha256=z7ofWnajlZBSOj3b5dVQdZXyEJxpsdTqVAkBvc5DzdI,7233 -pyogrio/proj_data/vcpkg_abi_info.txt,sha256=eQwqt5QqM8NIRvFieWtOonV0dg-95HZWEFwz1_KF670,2119 -pyogrio/proj_data/world,sha256=8nHNPlbHdZ0vz7u9OYcCZOuBBkFVcTwE_JLq3TCt60g,7079 -pyogrio/raw.py,sha256=xE-Zku_KG1t28-Oo8q2XVS32wChWURq9rmj3uMLnI-s,18559 -pyogrio/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pyogrio/tests/__pycache__/__init__.cpython-312.pyc,, -pyogrio/tests/__pycache__/conftest.cpython-312.pyc,, -pyogrio/tests/__pycache__/test_arrow.cpython-312.pyc,, -pyogrio/tests/__pycache__/test_core.cpython-312.pyc,, -pyogrio/tests/__pycache__/test_geopandas_io.cpython-312.pyc,, -pyogrio/tests/__pycache__/test_path.cpython-312.pyc,, -pyogrio/tests/__pycache__/test_raw_io.cpython-312.pyc,, -pyogrio/tests/__pycache__/win32.cpython-312.pyc,, -pyogrio/tests/conftest.py,sha256=Yb53Gpw0xkaOzBg8KkOQ1R9zP1p8ZkWNT-GNy09rf4E,3810 -pyogrio/tests/fixtures/README.md,sha256=2x7Hxm72dDOkynt6kD8V4aswttaW_ziXsjoIXpOaA1k,2690 -pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.cpg,sha256=CfwxMHV0jOjq2WIintickZ1an_cZdO5yWgtIu4fZdaI,10 -pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf,sha256=0q4cma3PjkWGpbEsY5ZyA1-i8_Rp5yVZR94AQBw-1-E,48869 -pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.prj,sha256=mKrz0cDsrfGkJKRTbeJhw9r043NpfLhsQMQ7mJ2vUus,143 -pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp,sha256=CONBYG6DkeRYw_CN6zEt5mS1a_rjdgZMWqCu5mgaX1U,180924 -pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx,sha256=iwvirZfdSEruXC68mGl9U3LoMriuWKNaZhru9rmFZo0,1516 -pyogrio/tests/fixtures/sample.osm.pbf,sha256=QKJQWdMaglIdz0nj8cnfOF8XWbV02bscpOo325FBaZI,9653 -pyogrio/tests/fixtures/test_datetime.geojson,sha256=zsLqG-X1KeBjrfcHySBJRS4zcLNjHUKkJFCDXD68w9Q,318 -pyogrio/tests/fixtures/test_datetime_tz.geojson,sha256=-fZeJqvrDj0wwYJkhAGjiAjK93MVf8ZTvkSXLYt6hyQ,434 -pyogrio/tests/fixtures/test_fgdb.gdb.zip,sha256=c7sFaFVfxEfn_R1NxpijRgOIxa2u1pFBSL9h_4PNpHI,101524 -pyogrio/tests/fixtures/test_gpkg_nulls.gpkg,sha256=QoHTxV8gQuIXSrmhPFxaBtE4QQccGqPqLMExr69x4dg,98304 -pyogrio/tests/fixtures/test_multisurface.gpkg,sha256=sc6yaD6RxjqCGIT0ijBXgxEWYNMZNPLOetKvD5njGYY,98304 -pyogrio/tests/fixtures/test_nested.geojson,sha256=HP00kzwdtnARBd119ZJTNOTwubD2qXiYQ0dNIjScZHo,398 -pyogrio/tests/fixtures/test_ogr_types_list.geojson,sha256=Siiwb-zoajKMJoNun2n-cg9784DLZqm_wCMgFpxsytA,845 -pyogrio/tests/test_arrow.py,sha256=lFEvDeAH7EoTYMzzQ6t7vwHL8C1fcs3nF4g9GhvOve4,6947 -pyogrio/tests/test_core.py,sha256=v1DLWiNmPXZtKygMcpRFoKuzVqxdrMc11AtAt9Ud404,16168 -pyogrio/tests/test_geopandas_io.py,sha256=zvDtPkSdRTXV6kMnnf6T9inZQeJ7fkmCELwrpMUXRUA,50905 -pyogrio/tests/test_path.py,sha256=Je2OKjnmosRDpXwl07JPd_mpvRuwRRuEdEB1Z-o7_qo,10784 -pyogrio/tests/test_raw_io.py,sha256=qa7R-PnVLRDQMHDhj2d4dDFmYQIiTuBqH4OJdATS5SU,39283 -pyogrio/tests/win32.py,sha256=mEV4Aeb7Xm-8l49G-U-x9xHMjbzJRVhxqgK-EwD5jYE,2098 -pyogrio/util.py,sha256=WanURqX9cYpvUF6RPnZtzzz-SwHTsWtmBHUXAU0Wn0w,4933 diff --git a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/WHEEL deleted file mode 100644 index c5825c52..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/WHEEL +++ /dev/null @@ -1,6 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.41.3) -Root-Is-Purelib: false -Tag: cp312-cp312-manylinux_2_17_x86_64 -Tag: cp312-cp312-manylinux2014_x86_64 - diff --git a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/top_level.txt deleted file mode 100644 index e407ecb4..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio-0.7.2.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -pyogrio diff --git a/.venv/lib/python3.12/site-packages/pyogrio.libs/libgdal-43e5c8b4.so.33.3.7.2 b/.venv/lib/python3.12/site-packages/pyogrio.libs/libgdal-43e5c8b4.so.33.3.7.2 deleted file mode 100755 index 6af5f5a9..00000000 Binary files a/.venv/lib/python3.12/site-packages/pyogrio.libs/libgdal-43e5c8b4.so.33.3.7.2 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__init__.py b/.venv/lib/python3.12/site-packages/pyogrio/__init__.py index 31dd4dcd..c5450c6e 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/__init__.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/__init__.py @@ -1,27 +1,32 @@ +"""Vectorized vector I/O using OGR.""" + try: # we try importing shapely, to ensure it is imported (and it can load its # own GEOS copy) before we load GDAL and its linked GEOS - import shapely # noqa - import shapely.geos # noqa + import shapely + import shapely.geos # noqa: F401 except Exception: pass +from pyogrio._version import get_versions from pyogrio.core import ( - list_drivers, + __gdal_geos_version__, + __gdal_version__, + __gdal_version_string__, detect_write_driver, + get_gdal_config_option, + get_gdal_data_path, + list_drivers, list_layers, read_bounds, read_info, set_gdal_config_options, - get_gdal_config_option, - get_gdal_data_path, - __gdal_version__, - __gdal_version_string__, - __gdal_geos_version__, + vsi_listtree, + vsi_rmtree, + vsi_unlink, ) from pyogrio.geopandas import read_dataframe, write_dataframe -from pyogrio._version import get_versions - +from pyogrio.raw import open_arrow, read_arrow, write_arrow __version__ = get_versions()["version"] del get_versions @@ -35,7 +40,13 @@ __all__ = [ "set_gdal_config_options", "get_gdal_config_option", "get_gdal_data_path", + "open_arrow", + "read_arrow", "read_dataframe", + "vsi_listtree", + "vsi_rmtree", + "vsi_unlink", + "write_arrow", "write_dataframe", "__gdal_version__", "__gdal_version_string__", diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/__init__.cpython-312.pyc index 299947fd..220b0aaa 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_compat.cpython-312.pyc index e6c12e16..cc9743c1 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_compat.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_compat.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_env.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_env.cpython-312.pyc index eda7e908..dc744196 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_env.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_env.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_version.cpython-312.pyc index d0e82bb0..dbc4b9a8 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/_version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/core.cpython-312.pyc index cd5b49c6..9b90b8b7 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/core.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/core.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/errors.cpython-312.pyc index f4359a90..a4399776 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/errors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/errors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/geopandas.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/geopandas.cpython-312.pyc index 07778706..3a932731 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/geopandas.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/geopandas.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/raw.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/raw.cpython-312.pyc index e6c63036..fc36bb11 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/raw.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/raw.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/util.cpython-312.pyc index 08c47626..392dbc94 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/util.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/__pycache__/util.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_compat.py b/.venv/lib/python3.12/site-packages/pyogrio/_compat.py index 93964044..6c39ad90 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/_compat.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/_compat.py @@ -1,6 +1,6 @@ from packaging.version import Version -from pyogrio.core import __gdal_version__, __gdal_geos_version__ +from pyogrio.core import __gdal_geos_version__, __gdal_version__ # detect optional dependencies try: @@ -8,6 +8,11 @@ try: except ImportError: pyarrow = None +try: + import pyproj +except ImportError: + pyproj = None + try: import shapely except ImportError: @@ -24,12 +29,18 @@ except ImportError: pandas = None -HAS_ARROW_API = __gdal_version__ >= (3, 6, 0) and pyarrow is not None +HAS_ARROW_API = __gdal_version__ >= (3, 6, 0) +HAS_ARROW_WRITE_API = __gdal_version__ >= (3, 8, 0) +HAS_PYARROW = pyarrow is not None +HAS_PYPROJ = pyproj is not None HAS_GEOPANDAS = geopandas is not None PANDAS_GE_15 = pandas is not None and Version(pandas.__version__) >= Version("1.5.0") PANDAS_GE_20 = pandas is not None and Version(pandas.__version__) >= Version("2.0.0") +PANDAS_GE_22 = pandas is not None and Version(pandas.__version__) >= Version("2.2.0") + +GDAL_GE_38 = __gdal_version__ >= (3, 8, 0) HAS_GDAL_GEOS = __gdal_geos_version__ is not None diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_env.py b/.venv/lib/python3.12/site-packages/pyogrio/_env.py index 58ac035a..76e8e4b6 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/_env.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/_env.py @@ -4,13 +4,11 @@ # adapted from Fiona: https://github.com/Toblerity/Fiona/pull/875 -from contextlib import contextmanager import logging import os -from pathlib import Path import platform -import sys - +from contextlib import contextmanager +from pathlib import Path log = logging.getLogger(__name__) log.addHandler(logging.NullHandler()) @@ -29,10 +27,10 @@ except ImportError: gdal_dll_dir = None -if platform.system() == "Windows" and sys.version_info >= (3, 8): +if platform.system() == "Windows": # if loading of extension modules fails, search for gdal dll directory try: - import pyogrio._io # NOQA + import pyogrio._io # noqa: F401 except ImportError: for path in os.getenv("PATH", "").split(os.pathsep): diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_err.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/pyogrio/_err.cpython-312-x86_64-linux-gnu.so index 0f757f46..73eb0353 100755 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/_err.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/pyogrio/_err.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_err.pxd b/.venv/lib/python3.12/site-packages/pyogrio/_err.pxd deleted file mode 100644 index 53d52a13..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/_err.pxd +++ /dev/null @@ -1,4 +0,0 @@ -cdef object exc_check() -cdef int exc_wrap_int(int retval) except -1 -cdef int exc_wrap_ogrerr(int retval) except -1 -cdef void *exc_wrap_pointer(void *ptr) except NULL diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_err.pyx b/.venv/lib/python3.12/site-packages/pyogrio/_err.pyx deleted file mode 100644 index 089042c5..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/_err.pyx +++ /dev/null @@ -1,246 +0,0 @@ -# ported from fiona::_err.pyx -from enum import IntEnum -import warnings - -from pyogrio._ogr cimport ( - CE_None, CE_Debug, CE_Warning, CE_Failure, CE_Fatal, CPLErrorReset, - CPLGetLastErrorType, CPLGetLastErrorNo, CPLGetLastErrorMsg, OGRErr, - CPLErr, CPLErrorHandler, CPLDefaultErrorHandler, CPLPushErrorHandler) - - -# CPL Error types as an enum. -class GDALError(IntEnum): - none = CE_None - debug = CE_Debug - warning = CE_Warning - failure = CE_Failure - fatal = CE_Fatal - - - -class CPLE_BaseError(Exception): - """Base CPL error class. - For internal use within Cython only. - """ - - def __init__(self, error, errno, errmsg): - self.error = error - self.errno = errno - self.errmsg = errmsg - - def __str__(self): - return self.__unicode__() - - def __unicode__(self): - return u"{}".format(self.errmsg) - - @property - def args(self): - return self.error, self.errno, self.errmsg - - -class CPLE_AppDefinedError(CPLE_BaseError): - pass - - -class CPLE_OutOfMemoryError(CPLE_BaseError): - pass - - -class CPLE_FileIOError(CPLE_BaseError): - pass - - -class CPLE_OpenFailedError(CPLE_BaseError): - pass - - -class CPLE_IllegalArgError(CPLE_BaseError): - pass - - -class CPLE_NotSupportedError(CPLE_BaseError): - pass - - -class CPLE_AssertionFailedError(CPLE_BaseError): - pass - - -class CPLE_NoWriteAccessError(CPLE_BaseError): - pass - - -class CPLE_UserInterruptError(CPLE_BaseError): - pass - - -class ObjectNullError(CPLE_BaseError): - pass - - -class CPLE_HttpResponseError(CPLE_BaseError): - pass - - -class CPLE_AWSBucketNotFoundError(CPLE_BaseError): - pass - - -class CPLE_AWSObjectNotFoundError(CPLE_BaseError): - pass - - -class CPLE_AWSAccessDeniedError(CPLE_BaseError): - pass - - -class CPLE_AWSInvalidCredentialsError(CPLE_BaseError): - pass - - -class CPLE_AWSSignatureDoesNotMatchError(CPLE_BaseError): - pass - - -class NullPointerError(CPLE_BaseError): - """ - Returned from exc_wrap_pointer when a NULL pointer is passed, but no GDAL - error was raised. - """ - pass - - - -# Map of GDAL error numbers to the Python exceptions. -exception_map = { - 1: CPLE_AppDefinedError, - 2: CPLE_OutOfMemoryError, - 3: CPLE_FileIOError, - 4: CPLE_OpenFailedError, - 5: CPLE_IllegalArgError, - 6: CPLE_NotSupportedError, - 7: CPLE_AssertionFailedError, - 8: CPLE_NoWriteAccessError, - 9: CPLE_UserInterruptError, - 10: ObjectNullError, - - # error numbers 11-16 are introduced in GDAL 2.1. See - # https://github.com/OSGeo/gdal/pull/98. - 11: CPLE_HttpResponseError, - 12: CPLE_AWSBucketNotFoundError, - 13: CPLE_AWSObjectNotFoundError, - 14: CPLE_AWSAccessDeniedError, - 15: CPLE_AWSInvalidCredentialsError, - 16: CPLE_AWSSignatureDoesNotMatchError -} - - -cdef inline object exc_check(): - """Checks GDAL error stack for fatal or non-fatal errors - Returns - ------- - An Exception, SystemExit, or None - """ - cdef const char *msg_c = NULL - - err_type = CPLGetLastErrorType() - err_no = CPLGetLastErrorNo() - err_msg = CPLGetLastErrorMsg() - - if err_msg == NULL: - msg = "No error message." - else: - # Reformat messages. - msg_b = err_msg - msg = msg_b.decode('utf-8') - msg = msg.replace("`", "'") - msg = msg.replace("\n", " ") - - if err_type == 3: - CPLErrorReset() - return exception_map.get( - err_no, CPLE_BaseError)(err_type, err_no, msg) - - if err_type == 4: - return SystemExit("Fatal error: {0}".format((err_type, err_no, msg))) - - else: - return - - -cdef void *exc_wrap_pointer(void *ptr) except NULL: - """Wrap a GDAL/OGR function that returns GDALDatasetH etc (void *) - Raises an exception if a non-fatal error has be set or if pointer is NULL. - """ - if ptr == NULL: - exc = exc_check() - if exc: - raise exc - else: - # null pointer was passed, but no error message from GDAL - raise NullPointerError(-1, -1, "NULL pointer error") - return ptr - - -cdef int exc_wrap_int(int err) except -1: - """Wrap a GDAL/OGR function that returns CPLErr or OGRErr (int) - Raises an exception if a non-fatal error has be set. - - Copied from Fiona (_err.pyx). - """ - if err: - exc = exc_check() - if exc: - raise exc - else: - # no error message from GDAL - raise CPLE_BaseError(-1, -1, "Unspecified OGR / GDAL error") - return err - - -cdef int exc_wrap_ogrerr(int err) except -1: - """Wrap a function that returns OGRErr (int) but does not use the - CPL error stack. - - Adapted from Fiona (_err.pyx). - """ - if err != 0: - raise CPLE_BaseError(3, err, f"OGR Error code {err}") - - return err - - -cdef void error_handler(CPLErr err_class, int err_no, const char* err_msg) nogil: - """Custom CPL error handler to match the Python behaviour. - - Generally we want to suppress error printing to stderr (behaviour of the - default GDAL error handler) because we already raise a Python exception - that includes the error message. - """ - if err_class == CE_Fatal: - # If the error class is CE_Fatal, we want to have a message issued - # because the CPL support code does an abort() before any exception - # can be generated - CPLDefaultErrorHandler(err_class, err_no, err_msg) - return - - elif err_class == CE_Failure: - # For Failures, do nothing as those are explicitly caught - # with error return codes and translated into Python exceptions - return - - elif err_class == CE_Warning: - with gil: - msg_b = err_msg - msg = msg_b.decode('utf-8') - warnings.warn(msg, RuntimeWarning) - return - - # Fall back to the default handler for non-failure messages since - # they won't be translated into exceptions. - CPLDefaultErrorHandler(err_class, err_no, err_msg) - - -def _register_error_handler(): - CPLPushErrorHandler(error_handler) diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_geometry.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/pyogrio/_geometry.cpython-312-x86_64-linux-gnu.so index 3b67126c..a57ff724 100755 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/_geometry.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/pyogrio/_geometry.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_geometry.pxd b/.venv/lib/python3.12/site-packages/pyogrio/_geometry.pxd deleted file mode 100644 index 5b5c9f96..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/_geometry.pxd +++ /dev/null @@ -1,4 +0,0 @@ -from pyogrio._ogr cimport * - -cdef str get_geometry_type(void *ogr_layer) -cdef OGRwkbGeometryType get_geometry_type_code(str geometry_type) except * \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_geometry.pyx b/.venv/lib/python3.12/site-packages/pyogrio/_geometry.pyx deleted file mode 100644 index b41a6640..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/_geometry.pyx +++ /dev/null @@ -1,129 +0,0 @@ -import warnings -from pyogrio._ogr cimport * -from pyogrio._err cimport * -from pyogrio._err import CPLE_BaseError, NullPointerError -from pyogrio.errors import DataLayerError, GeometryError - - -# Mapping of OGR integer geometry types to GeoJSON type names. - -GEOMETRY_TYPES = { - wkbUnknown: 'Unknown', - wkbPoint: 'Point', - wkbLineString: 'LineString', - wkbPolygon: 'Polygon', - wkbMultiPoint: 'MultiPoint', - wkbMultiLineString: 'MultiLineString', - wkbMultiPolygon: 'MultiPolygon', - wkbGeometryCollection: 'GeometryCollection', - wkbNone: None, - wkbLinearRing: 'LinearRing', - # WARNING: Measured types are not supported in GEOS and downstream uses - # these are stripped automatically to their corresponding 2D / 3D types - wkbPointM: 'PointM', - wkbLineStringM: 'Measured LineString', - wkbPolygonM: 'Measured Polygon', - wkbMultiPointM: 'Measured MultiPoint', - wkbMultiLineStringM: 'Measured MultiLineString', - wkbMultiPolygonM: 'Measured MultiPolygon', - wkbGeometryCollectionM: 'Measured GeometryCollection', - wkbPointZM: 'Measured 3D Point', - wkbLineStringZM: 'Measured 3D LineString', - wkbPolygonZM: 'Measured 3D Polygon', - wkbMultiPointZM: 'Measured 3D MultiPoint', - wkbMultiLineStringZM: 'Measured 3D MultiLineString', - wkbMultiPolygonZM: 'Measured 3D MultiPolygon', - wkbGeometryCollectionZM: 'Measured 3D GeometryCollection', - wkbPoint25D: 'Point Z', - wkbLineString25D: 'LineString Z', - wkbPolygon25D: 'Polygon Z', - wkbMultiPoint25D: 'MultiPoint Z', - wkbMultiLineString25D: 'MultiLineString Z', - wkbMultiPolygon25D: 'MultiPolygon Z', - wkbGeometryCollection25D: 'GeometryCollection Z', -} - -GEOMETRY_TYPE_CODES = {v:k for k, v in GEOMETRY_TYPES.items()} - -# add additional aliases from 2.5D format -GEOMETRY_TYPE_CODES.update({ - '2.5D Point': wkbPoint25D, - '2.5D LineString': wkbLineString25D, - '2.5D Polygon': wkbPolygon25D, - '2.5D MultiPoint': wkbMultiPoint25D, - '2.5D MultiLineString': wkbMultiLineString25D, - '2.5D MultiPolygon': wkbMultiPolygon25D, - '2.5D GeometryCollection': wkbGeometryCollection25D -}) - -# 2.5D also represented using negative numbers not enumerated above -GEOMETRY_TYPES.update({ - -2147483647: 'Point Z', - -2147483646: 'LineString Z', - -2147483645: 'Polygon Z', - -2147483644: 'MultiPoint Z', - -2147483643: 'MultiLineString Z', - -2147483642: 'MultiPolygon Z', - -2147483641: 'GeometryCollection Z', -}) - - -cdef str get_geometry_type(void *ogr_layer): - """Get geometry type for layer. - - Parameters - ---------- - ogr_layer : pointer to open OGR layer - - Returns - ------- - str - geometry type - """ - cdef void *cogr_featuredef = NULL - cdef OGRwkbGeometryType ogr_type - - try: - ogr_featuredef = exc_wrap_pointer(OGR_L_GetLayerDefn(ogr_layer)) - except NullPointerError: - raise DataLayerError("Could not get layer definition") - - except CPLE_BaseError as exc: - raise DataLayerError(str(exc)) - - ogr_type = OGR_FD_GetGeomType(ogr_featuredef) - - if ogr_type not in GEOMETRY_TYPES: - raise GeometryError(f"Geometry type is not supported: {ogr_type}") - - if OGR_GT_HasM(ogr_type): - original_type = GEOMETRY_TYPES[ogr_type] - - # Downgrade the type to 2D / 3D - ogr_type = OGR_GT_SetModifier(ogr_type, OGR_GT_HasZ(ogr_type), 0) - - # TODO: review; this might be annoying... - warnings.warn( - "Measured (M) geometry types are not supported. " - f"Original type '{original_type}' " - f"is converted to '{GEOMETRY_TYPES[ogr_type]}'") - - return GEOMETRY_TYPES[ogr_type] - - -cdef OGRwkbGeometryType get_geometry_type_code(str geometry_type) except *: - """Get geometry type code for string geometry type. - - Parameters - ---------- - geometry_type : str - - Returns - ------- - int - geometry type code - """ - if geometry_type not in GEOMETRY_TYPE_CODES: - raise GeometryError(f"Geometry type is not supported: {geometry_type}") - - return GEOMETRY_TYPE_CODES[geometry_type] \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_io.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/pyogrio/_io.cpython-312-x86_64-linux-gnu.so index b7cec144..3d88b82a 100755 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/_io.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/pyogrio/_io.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_io.pxd b/.venv/lib/python3.12/site-packages/pyogrio/_io.pxd deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_io.pyx b/.venv/lib/python3.12/site-packages/pyogrio/_io.pyx deleted file mode 100644 index 12fb85a3..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/_io.pyx +++ /dev/null @@ -1,2080 +0,0 @@ -#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION - -"""IO support for OGR vector data sources -""" - - -import contextlib -import datetime -import locale -import logging -import math -import os -import warnings - -from libc.stdint cimport uint8_t, uintptr_t -from libc.stdlib cimport malloc, free -from libc.string cimport strlen -from libc.math cimport isnan - -cimport cython -import numpy as np -cimport numpy as np - -from pyogrio._ogr cimport * -from pyogrio._err cimport * -from pyogrio._err import CPLE_BaseError, CPLE_NotSupportedError, NullPointerError -from pyogrio._geometry cimport get_geometry_type, get_geometry_type_code -from pyogrio.errors import CRSError, DataSourceError, DataLayerError, GeometryError, FieldError, FeatureError - - -log = logging.getLogger(__name__) - - -# Mapping of OGR integer field types to Python field type names -# (index in array is the integer field type) -FIELD_TYPES = [ - 'int32', # OFTInteger, Simple 32bit integer - None, # OFTIntegerList, List of 32bit integers, not supported - 'float64', # OFTReal, Double Precision floating point - None, # OFTRealList, List of doubles, not supported - 'object', # OFTString, String of UTF-8 chars - None, # OFTStringList, Array of strings, not supported - None, # OFTWideString, deprecated, not supported - None, # OFTWideStringList, deprecated, not supported - 'object', # OFTBinary, Raw Binary data - 'datetime64[D]', # OFTDate, Date - None, # OFTTime, Time, NOTE: not directly supported in numpy - 'datetime64[ms]',# OFTDateTime, Date and Time - 'int64', # OFTInteger64, Single 64bit integer - None # OFTInteger64List, List of 64bit integers, not supported -] - -FIELD_SUBTYPES = { - OFSTNone: None, # No subtype - OFSTBoolean: "bool", # Boolean integer - OFSTInt16: "int16", # Signed 16-bit integer - OFSTFloat32: "float32", # Single precision (32 bit) floating point -} - -# Mapping of numpy ndarray dtypes to (field type, subtype) -DTYPE_OGR_FIELD_TYPES = { - 'int8': (OFTInteger, OFSTInt16), - 'int16': (OFTInteger, OFSTInt16), - 'int32': (OFTInteger, OFSTNone), - 'int': (OFTInteger64, OFSTNone), - 'int64': (OFTInteger64, OFSTNone), - # unsigned ints have to be converted to ints; these are converted - # to the next largest integer size - 'uint8': (OFTInteger, OFSTInt16), - 'uint16': (OFTInteger, OFSTNone), - 'uint32': (OFTInteger64, OFSTNone), - # TODO: these might get truncated, check maximum value and raise error - 'uint': (OFTInteger64, OFSTNone), - 'uint64': (OFTInteger64, OFSTNone), - - # bool is handled as integer with boolean subtype - 'bool': (OFTInteger, OFSTBoolean), - - 'float32': (OFTReal,OFSTFloat32), - 'float': (OFTReal, OFSTNone), - 'float64': (OFTReal, OFSTNone), - - 'datetime64[D]': (OFTDate, OFSTNone), - 'datetime64': (OFTDateTime, OFSTNone), -} - - -cdef int start_transaction(OGRDataSourceH ogr_dataset, int force) except 1: - cdef int err = GDALDatasetStartTransaction(ogr_dataset, force) - if err == OGRERR_FAILURE: - raise DataSourceError("Failed to start transaction") - - return 0 - - -cdef int commit_transaction(OGRDataSourceH ogr_dataset) except 1: - cdef int err = GDALDatasetCommitTransaction(ogr_dataset) - if err == OGRERR_FAILURE: - raise DataSourceError("Failed to commit transaction") - - return 0 - - -# Not currently used; uncomment when used -# cdef int rollback_transaction(OGRDataSourceH ogr_dataset) except 1: -# cdef int err = GDALDatasetRollbackTransaction(ogr_dataset) -# if err == OGRERR_FAILURE: -# raise DataSourceError("Failed to rollback transaction") - -# return 0 - - -cdef char** dict_to_options(object values): - """Convert a python dictionary into name / value pairs (stored in a char**) - - Parameters - ---------- - values: dict - all keys and values must be strings - - Returns - ------- - char** - """ - cdef char **options = NULL - - if values is None: - return NULL - - for k, v in values.items(): - k = k.encode('UTF-8') - v = v.encode('UTF-8') - options = CSLAddNameValue(options, k, v) - - return options - - -cdef void* ogr_open(const char* path_c, int mode, char** options) except NULL: - cdef void* ogr_dataset = NULL - - # Force linear approximations in all cases - OGRSetNonLinearGeometriesEnabledFlag(0) - - flags = GDAL_OF_VECTOR | GDAL_OF_VERBOSE_ERROR - if mode == 1: - flags |= GDAL_OF_UPDATE - else: - flags |= GDAL_OF_READONLY - - - try: - # WARNING: GDAL logs warnings about invalid open options to stderr - # instead of raising an error - ogr_dataset = exc_wrap_pointer( - GDALOpenEx(path_c, flags, NULL, options, NULL) - ) - - return ogr_dataset - - except NullPointerError: - raise DataSourceError( - "Failed to open dataset (mode={}): {}".format(mode, path_c.decode("utf-8")) - ) from None - - except CPLE_BaseError as exc: - if str(exc).endswith("not recognized as a supported file format."): - raise DataSourceError( - f"{str(exc)} It might help to specify the correct driver explicitly by " - "prefixing the file path with ':', e.g. 'CSV:path'." - ) from None - raise DataSourceError(str(exc)) from None - - -cdef OGRLayerH get_ogr_layer(GDALDatasetH ogr_dataset, layer) except NULL: - """Open OGR layer by index or name. - - Parameters - ---------- - ogr_dataset : pointer to open OGR dataset - layer : str or int - name or index of layer - - Returns - ------- - pointer to OGR layer - """ - cdef OGRLayerH ogr_layer = NULL - - try: - if isinstance(layer, str): - name_b = layer.encode('utf-8') - name_c = name_b - ogr_layer = exc_wrap_pointer(GDALDatasetGetLayerByName(ogr_dataset, name_c)) - - elif isinstance(layer, int): - ogr_layer = exc_wrap_pointer(GDALDatasetGetLayer(ogr_dataset, layer)) - - # GDAL does not always raise exception messages in this case - except NullPointerError: - raise DataLayerError(f"Layer '{layer}' could not be opened") from None - - except CPLE_BaseError as exc: - raise DataLayerError(str(exc)) - - # if the driver is OSM, we need to execute SQL to set the layer to read in - # order to read it properly - if get_driver(ogr_dataset) == "OSM": - # Note: this returns NULL and does not need to be freed via - # GDALDatasetReleaseResultSet() - layer_name = get_string(OGR_L_GetName(ogr_layer)) - sql_b = f"SET interest_layers = {layer_name}".encode('utf-8') - sql_c = sql_b - - GDALDatasetExecuteSQL(ogr_dataset, sql_c, NULL, NULL) - - return ogr_layer - - -cdef OGRLayerH execute_sql(GDALDatasetH ogr_dataset, str sql, str sql_dialect=None) except NULL: - """Execute an SQL statement on a dataset. - - Parameters - ---------- - ogr_dataset : pointer to open OGR dataset - sql : str - The sql statement to execute - sql_dialect : str, optional (default: None) - The sql dialect the sql statement is written in - - Returns - ------- - pointer to OGR layer - """ - - try: - sql_b = sql.encode('utf-8') - sql_c = sql_b - if sql_dialect is None: - return exc_wrap_pointer(GDALDatasetExecuteSQL(ogr_dataset, sql_c, NULL, NULL)) - - sql_dialect_b = sql_dialect.encode('utf-8') - sql_dialect_c = sql_dialect_b - return exc_wrap_pointer(GDALDatasetExecuteSQL(ogr_dataset, sql_c, NULL, sql_dialect_c)) - - # GDAL does not always raise exception messages in this case - except NullPointerError: - raise DataLayerError(f"Error executing sql '{sql}'") from None - - except CPLE_BaseError as exc: - raise DataLayerError(str(exc)) - - -cdef str get_crs(OGRLayerH ogr_layer): - """Read CRS from layer as EPSG: if available or WKT. - - Parameters - ---------- - ogr_layer : pointer to open OGR layer - - Returns - ------- - str or None - EPSG: or WKT - """ - cdef void *ogr_crs = NULL - cdef const char *authority_key = NULL - cdef const char *authority_val = NULL - cdef char *ogr_wkt = NULL - - try: - ogr_crs = exc_wrap_pointer(OGR_L_GetSpatialRef(ogr_layer)) - - except NullPointerError: - # No coordinate system defined. - # This is expected and valid for nonspatial tables. - return None - - except CPLE_BaseError as exc: - raise CRSError(str(exc)) - - # If CRS can be decoded to an EPSG code, use that. - # The following pointers will be NULL if it cannot be decoded. - retval = OSRAutoIdentifyEPSG(ogr_crs) - authority_key = OSRGetAuthorityName(ogr_crs, NULL) - authority_val = OSRGetAuthorityCode(ogr_crs, NULL) - - if authority_key != NULL and authority_val != NULL: - key = get_string(authority_key) - if key == 'EPSG': - value = get_string(authority_val) - return f"EPSG:{value}" - - try: - OSRExportToWkt(ogr_crs, &ogr_wkt) - if ogr_wkt == NULL: - raise CRSError("CRS could not be extracted as WKT") from None - - wkt = get_string(ogr_wkt) - - finally: - CPLFree(ogr_wkt) - return wkt - - -cdef get_driver(OGRDataSourceH ogr_dataset): - """Get the driver for a dataset. - - Parameters - ---------- - ogr_dataset : pointer to open OGR dataset - Returns - ------- - str or None - """ - cdef void *ogr_driver - - try: - ogr_driver = exc_wrap_pointer(GDALGetDatasetDriver(ogr_dataset)) - - except NullPointerError: - raise DataLayerError(f"Could not detect driver of dataset") from None - - except CPLE_BaseError as exc: - raise DataLayerError(str(exc)) - - driver = OGR_Dr_GetName(ogr_driver).decode("UTF-8") - return driver - - -cdef get_feature_count(OGRLayerH ogr_layer, int force): - """Get the feature count of a layer. - - If GDAL returns an unknown count (-1), this iterates over every feature - to calculate the count. - - Parameters - ---------- - ogr_layer : pointer to open OGR layer - force : bool - True if the feature count should be computed even if it is expensive - - Returns - ------- - int - count of features - """ - - cdef OGRFeatureH ogr_feature = NULL - cdef int feature_count = OGR_L_GetFeatureCount(ogr_layer, force) - - # if GDAL refuses to give us the feature count, we have to loop over all - # features ourselves and get the count. This can happen for some drivers - # (e.g., OSM) or if a where clause is invalid but not rejected as error - if force and feature_count == -1: - # make sure layer is read from beginning - OGR_L_ResetReading(ogr_layer) - - feature_count = 0 - while True: - try: - ogr_feature = exc_wrap_pointer(OGR_L_GetNextFeature(ogr_layer)) - feature_count +=1 - - except NullPointerError: - # No more rows available, so stop reading - break - - # driver may raise other errors, e.g., for OSM if node ids are not - # increasing, the default config option OSM_USE_CUSTOM_INDEXING=YES - # causes errors iterating over features - except CPLE_BaseError as exc: - # if an invalid where clause is used for a GPKG file, it is not - # caught as an error until attempting to iterate over features; - # catch it here - if "failed to prepare SQL" in str(exc): - raise ValueError(f"Invalid SQL query: {str(exc)}") from None - - raise DataLayerError(f"Could not iterate over features: {str(exc)}") from None - - finally: - if ogr_feature != NULL: - OGR_F_Destroy(ogr_feature) - ogr_feature = NULL - - return feature_count - - -cdef get_total_bounds(OGRLayerH ogr_layer, int force): - """Get the total bounds of a layer. - - Parameters - ---------- - ogr_layer : pointer to open OGR layer - force : bool - True if the total bounds should be computed even if it is expensive - - Returns - ------- - tuple of (xmin, ymin, xmax, ymax) or None - The total bounds of the layer, or None if they could not be determined. - """ - - cdef OGREnvelope ogr_envelope - try: - exc_wrap_ogrerr(OGR_L_GetExtent(ogr_layer, &ogr_envelope, force)) - bounds = ( - ogr_envelope.MinX, ogr_envelope.MinY, ogr_envelope.MaxX, ogr_envelope.MaxY - ) - - except CPLE_BaseError: - bounds = None - - return bounds - - -cdef set_metadata(GDALMajorObjectH obj, object metadata): - """Set metadata on a dataset or layer - - Parameters - ---------- - obj : pointer to dataset or layer - metadata : dict, optional (default None) - keys and values must be strings - """ - - cdef char **metadata_items = NULL - cdef int err = 0 - - metadata_items = dict_to_options(metadata) - if metadata_items != NULL: - # only default namepace is currently supported - err = GDALSetMetadata(obj, metadata_items, NULL) - - CSLDestroy(metadata_items) - metadata_items = NULL - - if err: - raise RuntimeError("Could not set metadata") from None - -cdef get_metadata(GDALMajorObjectH obj): - """Get metadata for a dataset or layer - - Parameters - ---------- - obj : pointer to dataset or layer - - Returns - ------- - dict or None - metadata as key, value pairs - """ - # only default namespace is currently supported - cdef char **metadata = GDALGetMetadata(obj, NULL) - - if metadata != NULL: - return dict( - metadata[i].decode('UTF-8').split('=', 1) - for i in range(CSLCount(metadata)) - ) - - return None - - -cdef detect_encoding(OGRDataSourceH ogr_dataset, OGRLayerH ogr_layer): - """Attempt to detect the encoding of the layer. - If it supports UTF-8, use that. - If it is a shapefile, it must otherwise be ISO-8859-1. - - Parameters - ---------- - ogr_dataset : pointer to open OGR dataset - ogr_layer : pointer to open OGR layer - - Returns - ------- - str or None - """ - - if OGR_L_TestCapability(ogr_layer, OLCStringsAsUTF8): - return 'UTF-8' - - driver = get_driver(ogr_dataset) - if driver == 'ESRI Shapefile': - return 'ISO-8859-1' - - if driver == "OSM": - # always set OSM data to UTF-8 - # per https://help.openstreetmap.org/questions/2172/what-encoding-does-openstreetmap-use - return "UTF-8" - - return None - - -cdef get_fields(OGRLayerH ogr_layer, str encoding, use_arrow=False): - """Get field names and types for layer. - - Parameters - ---------- - ogr_layer : pointer to open OGR layer - encoding : str - encoding to use when reading field name - use_arrow : bool, default False - If using arrow, all types are supported, and we don't have to - raise warnings - - Returns - ------- - ndarray(n, 4) - array of index, ogr type, name, numpy type - """ - cdef int i - cdef int field_count - cdef OGRFeatureDefnH ogr_featuredef = NULL - cdef OGRFieldDefnH ogr_fielddef = NULL - cdef int field_subtype - cdef const char *key_c - - try: - ogr_featuredef = exc_wrap_pointer(OGR_L_GetLayerDefn(ogr_layer)) - - except NullPointerError: - raise DataLayerError("Could not get layer definition") from None - - except CPLE_BaseError as exc: - raise DataLayerError(str(exc)) - - field_count = OGR_FD_GetFieldCount(ogr_featuredef) - - fields = np.empty(shape=(field_count, 4), dtype=object) - fields_view = fields[:,:] - - skipped_fields = False - - for i in range(field_count): - try: - ogr_fielddef = exc_wrap_pointer(OGR_FD_GetFieldDefn(ogr_featuredef, i)) - - except NullPointerError: - raise FieldError(f"Could not get field definition for field at index {i}") from None - - except CPLE_BaseError as exc: - raise FieldError(str(exc)) - - field_name = get_string(OGR_Fld_GetNameRef(ogr_fielddef), encoding=encoding) - - field_type = OGR_Fld_GetType(ogr_fielddef) - np_type = FIELD_TYPES[field_type] - if not np_type and not use_arrow: - skipped_fields = True - log.warning( - f"Skipping field {field_name}: unsupported OGR type: {field_type}") - continue - - field_subtype = OGR_Fld_GetSubType(ogr_fielddef) - subtype = FIELD_SUBTYPES.get(field_subtype) - if subtype is not None: - # bool, int16, float32 dtypes - np_type = subtype - - fields_view[i,0] = i - fields_view[i,1] = field_type - fields_view[i,2] = field_name - fields_view[i,3] = np_type - - if skipped_fields: - # filter out skipped fields - mask = np.array([idx is not None for idx in fields[:, 0]]) - fields = fields[mask] - - return fields - - -cdef apply_where_filter(OGRLayerH ogr_layer, str where): - """Applies where filter to layer. - - WARNING: GDAL does not raise an error for GPKG when SQL query is invalid - but instead only logs to stderr. - - Parameters - ---------- - ogr_layer : pointer to open OGR layer - where : str - See http://ogdi.sourceforge.net/prop/6.2.CapabilitiesMetadata.html - restricted_where for more information about valid expressions. - - Raises - ------ - ValueError: if SQL query is not valid - """ - - where_b = where.encode('utf-8') - where_c = where_b - err = OGR_L_SetAttributeFilter(ogr_layer, where_c) - # WARNING: GDAL does not raise this error for GPKG but instead only - # logs to stderr - if err != OGRERR_NONE: - try: - exc_check() - except CPLE_BaseError as exc: - raise ValueError(str(exc)) - - raise ValueError(f"Invalid SQL query for layer '{OGR_L_GetName(ogr_layer)}': '{where}'") - - -cdef apply_bbox_filter(OGRLayerH ogr_layer, bbox): - """Applies bounding box spatial filter to layer. - - Parameters - ---------- - ogr_layer : pointer to open OGR layer - bbox: list or tuple of xmin, ymin, xmax, ymax - - Raises - ------ - ValueError: if bbox is not a list or tuple or does not have proper number of - items - """ - - if not (isinstance(bbox, (tuple, list)) and len(bbox) == 4): - raise ValueError(f"Invalid bbox: {bbox}") - - xmin, ymin, xmax, ymax = bbox - OGR_L_SetSpatialFilterRect(ogr_layer, xmin, ymin, xmax, ymax) - - -cdef apply_geometry_filter(OGRLayerH ogr_layer, wkb): - """Applies geometry spatial filter to layer. - - Parameters - ---------- - ogr_layer : pointer to open OGR layer - wkb: WKB encoding of geometry - """ - - cdef OGRGeometryH ogr_geometry = NULL - cdef unsigned char *wkb_buffer = wkb - - err = OGR_G_CreateFromWkb(wkb_buffer, NULL, &ogr_geometry, len(wkb)) - if err: - if ogr_geometry != NULL: - OGR_G_DestroyGeometry(ogr_geometry) - raise GeometryError("Could not create mask geometry") from None - - OGR_L_SetSpatialFilter(ogr_layer, ogr_geometry) - OGR_G_DestroyGeometry(ogr_geometry) - - -cdef validate_feature_range(OGRLayerH ogr_layer, int skip_features=0, int max_features=0): - """Limit skip_features and max_features to bounds available for dataset. - - This is typically performed after applying where and spatial filters, which - reduce the available range of features. - - Parameters - ---------- - ogr_layer : pointer to open OGR layer - skip_features : number of features to skip from beginning of available range - max_features : maximum number of features to read from available range - """ - - feature_count = get_feature_count(ogr_layer, 1) - num_features = max_features - - if feature_count == 0: - return 0, 0 - - if skip_features >= feature_count: - skip_features = feature_count - - elif max_features == 0: - num_features = feature_count - skip_features - - elif max_features > feature_count: - num_features = feature_count - - return skip_features, num_features - - -@cython.boundscheck(False) # Deactivate bounds checking -@cython.wraparound(False) # Deactivate negative indexing. -cdef process_geometry(OGRFeatureH ogr_feature, int i, geom_view, uint8_t force_2d): - - cdef OGRGeometryH ogr_geometry = NULL - cdef OGRwkbGeometryType ogr_geometry_type - - cdef unsigned char *wkb = NULL - cdef int ret_length - - ogr_geometry = OGR_F_GetGeometryRef(ogr_feature) - - if ogr_geometry == NULL: - geom_view[i] = None - else: - try: - ogr_geometry_type = OGR_G_GetGeometryType(ogr_geometry) - - # if geometry has M values, these need to be removed first - if (OGR_G_IsMeasured(ogr_geometry)): - OGR_G_SetMeasured(ogr_geometry, 0) - - if force_2d and OGR_G_Is3D(ogr_geometry): - OGR_G_Set3D(ogr_geometry, 0) - - # if non-linear (e.g., curve), force to linear type - if OGR_GT_IsNonLinear(ogr_geometry_type): - ogr_geometry = OGR_G_GetLinearGeometry(ogr_geometry, 0, NULL) - - ret_length = OGR_G_WkbSize(ogr_geometry) - wkb = malloc(sizeof(unsigned char)*ret_length) - OGR_G_ExportToWkb(ogr_geometry, 1, wkb) - geom_view[i] = wkb[:ret_length] - - finally: - free(wkb) - - -@cython.boundscheck(False) # Deactivate bounds checking -@cython.wraparound(False) # Deactivate negative indexing. -cdef process_fields( - OGRFeatureH ogr_feature, - int i, - int n_fields, - object field_data, - object field_data_view, - object field_indexes, - object field_ogr_types, - encoding, - bint datetime_as_string -): - cdef int j - cdef int success - cdef int field_index - cdef int ret_length - cdef GByte *bin_value - cdef int year = 0 - cdef int month = 0 - cdef int day = 0 - cdef int hour = 0 - cdef int minute = 0 - cdef float fsecond = 0.0 - cdef int timezone = 0 - - for j in range(n_fields): - field_index = field_indexes[j] - field_type = field_ogr_types[j] - data = field_data_view[j] - - isnull = OGR_F_IsFieldSetAndNotNull(ogr_feature, field_index) == 0 - if isnull: - if field_type in (OFTInteger, OFTInteger64, OFTReal): - # if a boolean or integer type, have to cast to float to hold - # NaN values - if data.dtype.kind in ('b', 'i', 'u'): - field_data[j] = field_data[j].astype(np.float64) - field_data_view[j] = field_data[j][:] - field_data_view[j][i] = np.nan - else: - data[i] = np.nan - - elif field_type in ( OFTDate, OFTDateTime) and not datetime_as_string: - data[i] = np.datetime64('NaT') - - else: - data[i] = None - - continue - - if field_type == OFTInteger: - data[i] = OGR_F_GetFieldAsInteger(ogr_feature, field_index) - - elif field_type == OFTInteger64: - data[i] = OGR_F_GetFieldAsInteger64(ogr_feature, field_index) - - elif field_type == OFTReal: - data[i] = OGR_F_GetFieldAsDouble(ogr_feature, field_index) - - elif field_type == OFTString: - value = get_string(OGR_F_GetFieldAsString(ogr_feature, field_index), encoding=encoding) - data[i] = value - - elif field_type == OFTBinary: - bin_value = OGR_F_GetFieldAsBinary(ogr_feature, field_index, &ret_length) - data[i] = bin_value[:ret_length] - - elif field_type == OFTDateTime or field_type == OFTDate: - - if datetime_as_string: - # defer datetime parsing to user/ pandas layer - # Update to OGR_F_GetFieldAsISO8601DateTime when GDAL 3.7+ only - data[i] = get_string(OGR_F_GetFieldAsString(ogr_feature, field_index), encoding=encoding) - else: - success = OGR_F_GetFieldAsDateTimeEx( - ogr_feature, field_index, &year, &month, &day, &hour, &minute, &fsecond, &timezone) - - ms, ss = math.modf(fsecond) - second = int(ss) - # fsecond has millisecond accuracy - microsecond = round(ms * 1000) * 1000 - - if not success: - data[i] = np.datetime64('NaT') - - elif field_type == OFTDate: - data[i] = datetime.date(year, month, day).isoformat() - - elif field_type == OFTDateTime: - data[i] = datetime.datetime(year, month, day, hour, minute, second, microsecond).isoformat() - - -@cython.boundscheck(False) # Deactivate bounds checking -@cython.wraparound(False) # Deactivate negative indexing. -cdef get_features( - OGRLayerH ogr_layer, - object[:,:] fields, - encoding, - uint8_t read_geometry, - uint8_t force_2d, - int skip_features, - int num_features, - uint8_t return_fids, - bint datetime_as_string -): - - cdef OGRFeatureH ogr_feature = NULL - cdef int n_fields - cdef int i - cdef int field_index - - # make sure layer is read from beginning - OGR_L_ResetReading(ogr_layer) - - if skip_features > 0: - OGR_L_SetNextByIndex(ogr_layer, skip_features) - - if return_fids: - fid_data = np.empty(shape=(num_features), dtype=np.int64) - fid_view = fid_data[:] - else: - fid_data = None - - if read_geometry: - geometries = np.empty(shape=(num_features, ), dtype='object') - geom_view = geometries[:] - - else: - geometries = None - - n_fields = fields.shape[0] - field_indexes = fields[:,0] - field_ogr_types = fields[:,1] - - field_data = [ - np.empty(shape=(num_features, ), - dtype = ("object" if datetime_as_string and - fields[field_index,3].startswith("datetime") else fields[field_index,3]) - ) for field_index in range(n_fields) - ] - - field_data_view = [field_data[field_index][:] for field_index in range(n_fields)] - - if num_features == 0: - return fid_data, geometries, field_data - - i = 0 - while True: - try: - if num_features > 0 and i == num_features: - break - - try: - ogr_feature = exc_wrap_pointer(OGR_L_GetNextFeature(ogr_layer)) - - except NullPointerError: - # No more rows available, so stop reading - break - - except CPLE_BaseError as exc: - raise FeatureError(str(exc)) - - if i >= num_features: - raise FeatureError( - "GDAL returned more records than expected based on the count of " - "records that may meet your combination of filters against this " - "dataset. Please open an issue on Github " - "(https://github.com/geopandas/pyogrio/issues) to report encountering " - "this error." - ) from None - - if return_fids: - fid_view[i] = OGR_F_GetFID(ogr_feature) - - if read_geometry: - process_geometry(ogr_feature, i, geom_view, force_2d) - - process_fields( - ogr_feature, i, n_fields, field_data, field_data_view, - field_indexes, field_ogr_types, encoding, datetime_as_string - ) - i += 1 - finally: - if ogr_feature != NULL: - OGR_F_Destroy(ogr_feature) - ogr_feature = NULL - - # There may be fewer rows available than expected from OGR_L_GetFeatureCount, - # such as features with bounding boxes that intersect the bbox - # but do not themselves intersect the bbox. - # Empty rows are dropped. - if i < num_features: - if return_fids: - fid_data = fid_data[:i] - if read_geometry: - geometries = geometries[:i] - field_data = [data_field[:i] for data_field in field_data] - - return fid_data, geometries, field_data - - -@cython.boundscheck(False) # Deactivate bounds checking -@cython.wraparound(False) # Deactivate negative indexing. -cdef get_features_by_fid( - OGRLayerH ogr_layer, - int[:] fids, - object[:,:] fields, - encoding, - uint8_t read_geometry, - uint8_t force_2d, - bint datetime_as_string -): - - cdef OGRFeatureH ogr_feature = NULL - cdef int n_fields - cdef int i - cdef int fid - cdef int field_index - cdef int count = len(fids) - - # make sure layer is read from beginning - OGR_L_ResetReading(ogr_layer) - - if read_geometry: - geometries = np.empty(shape=(count, ), dtype='object') - geom_view = geometries[:] - - else: - geometries = None - - n_fields = fields.shape[0] - field_indexes = fields[:,0] - field_ogr_types = fields[:,1] - field_data = [ - np.empty(shape=(count, ), - dtype=("object" if datetime_as_string and fields[field_index,3].startswith("datetime") - else fields[field_index,3])) - for field_index in range(n_fields) - ] - - field_data_view = [field_data[field_index][:] for field_index in range(n_fields)] - - for i in range(count): - try: - fid = fids[i] - - try: - ogr_feature = exc_wrap_pointer(OGR_L_GetFeature(ogr_layer, fid)) - - except NullPointerError: - raise FeatureError(f"Could not read feature with fid {fid}") from None - - except CPLE_BaseError as exc: - raise FeatureError(str(exc)) - - if read_geometry: - process_geometry(ogr_feature, i, geom_view, force_2d) - - process_fields( - ogr_feature, i, n_fields, field_data, field_data_view, - field_indexes, field_ogr_types, encoding, datetime_as_string - ) - finally: - if ogr_feature != NULL: - OGR_F_Destroy(ogr_feature) - ogr_feature = NULL - - - return (geometries, field_data) - - -@cython.boundscheck(False) # Deactivate bounds checking -@cython.wraparound(False) # Deactivate negative indexing. -cdef get_bounds( - OGRLayerH ogr_layer, - int skip_features, - int num_features): - - cdef OGRFeatureH ogr_feature = NULL - cdef OGRGeometryH ogr_geometry = NULL - cdef OGREnvelope ogr_envelope # = NULL - cdef int i - - # make sure layer is read from beginning - OGR_L_ResetReading(ogr_layer) - - if skip_features > 0: - OGR_L_SetNextByIndex(ogr_layer, skip_features) - - fid_data = np.empty(shape=(num_features), dtype=np.int64) - fid_view = fid_data[:] - - bounds_data = np.empty(shape=(4, num_features), dtype='float64') - bounds_view = bounds_data[:] - - i = 0 - while True: - try: - if num_features > 0 and i == num_features: - break - - try: - ogr_feature = exc_wrap_pointer(OGR_L_GetNextFeature(ogr_layer)) - - except NullPointerError: - # No more rows available, so stop reading - break - - except CPLE_BaseError as exc: - raise FeatureError(str(exc)) - - if i >= num_features: - raise FeatureError( - "Reading more features than indicated by OGR_L_GetFeatureCount is not supported" - ) from None - - fid_view[i] = OGR_F_GetFID(ogr_feature) - - ogr_geometry = OGR_F_GetGeometryRef(ogr_feature) - - if ogr_geometry == NULL: - bounds_view[:,i] = np.nan - - else: - OGR_G_GetEnvelope(ogr_geometry, &ogr_envelope) - bounds_view[0, i] = ogr_envelope.MinX - bounds_view[1, i] = ogr_envelope.MinY - bounds_view[2, i] = ogr_envelope.MaxX - bounds_view[3, i] = ogr_envelope.MaxY - - i += 1 - finally: - if ogr_feature != NULL: - OGR_F_Destroy(ogr_feature) - ogr_feature = NULL - - # Less rows read than anticipated, so drop empty rows - if i < num_features: - fid_data = fid_data[:i] - bounds_data = bounds_data[:, :i] - - return fid_data, bounds_data - - -def ogr_read( - str path, - object dataset_kwargs, - object layer=None, - object encoding=None, - int read_geometry=True, - int force_2d=False, - object columns=None, - int skip_features=0, - int max_features=0, - object where=None, - tuple bbox=None, - object mask=None, - object fids=None, - str sql=None, - str sql_dialect=None, - int return_fids=False, - bint datetime_as_string=False - ): - - cdef int err = 0 - cdef const char *path_c = NULL - cdef char **dataset_options = NULL - cdef const char *where_c = NULL - cdef const char *field_c = NULL - cdef char **fields_c = NULL - cdef OGRDataSourceH ogr_dataset = NULL - cdef OGRLayerH ogr_layer = NULL - cdef int feature_count = 0 - cdef double xmin, ymin, xmax, ymax - - path_b = path.encode('utf-8') - path_c = path_b - - if fids is not None: - if where is not None or bbox is not None or mask is not None or sql is not None or skip_features or max_features: - raise ValueError( - "cannot set both 'fids' and any of 'where', 'bbox', 'mask', " - "'sql', 'skip_features' or 'max_features'" - ) - fids = np.asarray(fids, dtype=np.intc) - - if sql is not None and layer is not None: - raise ValueError("'sql' paramater cannot be combined with 'layer'") - - if not (read_geometry or return_fids or columns is None or len(columns) > 0): - raise ValueError( - "at least one of read_geometry or return_fids must be True or columns must " - "be None or non-empty" - ) - - if bbox and mask: - raise ValueError("cannot set both 'bbox' and 'mask'") - - if skip_features < 0: - raise ValueError("'skip_features' must be >= 0") - - if max_features < 0: - raise ValueError("'max_features' must be >= 0") - - try: - dataset_options = dict_to_options(dataset_kwargs) - ogr_dataset = ogr_open(path_c, 0, dataset_options) - - if sql is None: - # layer defaults to index 0 - if layer is None: - layer = 0 - ogr_layer = get_ogr_layer(ogr_dataset, layer) - else: - ogr_layer = execute_sql(ogr_dataset, sql, sql_dialect) - - crs = get_crs(ogr_layer) - - # Encoding is derived from the user, from the dataset capabilities / type, - # or from the system locale - encoding = ( - encoding - or detect_encoding(ogr_dataset, ogr_layer) - or locale.getpreferredencoding() - ) - - fields = get_fields(ogr_layer, encoding) - - ignored_fields = [] - if columns is not None: - # Fields are matched exactly by name, duplicates are dropped. - # Find index of each field into fields - idx = np.intersect1d(fields[:,2], columns, return_indices=True)[1] - fields = fields[idx, :] - - ignored_fields = list(set(fields[:,2]) - set(columns)) - - if not read_geometry: - ignored_fields.append("OGR_GEOMETRY") - - # Instruct GDAL to ignore reading fields not - # included in output columns for faster I/O - if ignored_fields: - for field in ignored_fields: - field_b = field.encode("utf-8") - field_c = field_b - fields_c = CSLAddString(fields_c, field_c) - - OGR_L_SetIgnoredFields(ogr_layer, fields_c) - - geometry_type = get_geometry_type(ogr_layer) - - if fids is not None: - geometries, field_data = get_features_by_fid( - ogr_layer, - fids, - fields, - encoding, - read_geometry=read_geometry and geometry_type is not None, - force_2d=force_2d, - datetime_as_string=datetime_as_string - ) - - # bypass reading fids since these should match fids used for read - if return_fids: - fid_data = fids.astype(np.int64) - else: - fid_data = None - else: - # Apply the attribute filter - if where is not None and where != "": - apply_where_filter(ogr_layer, where) - - # Apply the spatial filter - if bbox is not None: - apply_bbox_filter(ogr_layer, bbox) - - elif mask is not None: - apply_geometry_filter(ogr_layer, mask) - - # Limit feature range to available range - skip_features, num_features = validate_feature_range( - ogr_layer, skip_features, max_features - ) - - fid_data, geometries, field_data = get_features( - ogr_layer, - fields, - encoding, - read_geometry=read_geometry and geometry_type is not None, - force_2d=force_2d, - skip_features=skip_features, - num_features=num_features, - return_fids=return_fids, - datetime_as_string=datetime_as_string - ) - - meta = { - 'crs': crs, - 'encoding': encoding, - 'fields': fields[:,2], # return only names - 'dtypes':fields[:,3], - 'geometry_type': geometry_type, - } - - finally: - if dataset_options != NULL: - CSLDestroy(dataset_options) - dataset_options = NULL - - if ogr_dataset != NULL: - if sql is not None: - GDALDatasetReleaseResultSet(ogr_dataset, ogr_layer) - - GDALClose(ogr_dataset) - ogr_dataset = NULL - - return ( - meta, - fid_data, - geometries, - field_data - ) - -@contextlib.contextmanager -def ogr_open_arrow( - str path, - dataset_kwargs, - object layer=None, - object encoding=None, - int read_geometry=True, - int force_2d=False, - object columns=None, - int skip_features=0, - int max_features=0, - object where=None, - tuple bbox=None, - object mask=None, - object fids=None, - str sql=None, - str sql_dialect=None, - int return_fids=False, - int batch_size=0): - - cdef int err = 0 - cdef const char *path_c = NULL - cdef char **dataset_options = NULL - cdef const char *where_c = NULL - cdef OGRDataSourceH ogr_dataset = NULL - cdef OGRLayerH ogr_layer = NULL - cdef char **fields_c = NULL - cdef const char *field_c = NULL - cdef char **options = NULL - cdef ArrowArrayStream stream - cdef ArrowSchema schema - - IF CTE_GDAL_VERSION < (3, 6, 0): - raise RuntimeError("Need GDAL>=3.6 for Arrow support") - - path_b = path.encode('utf-8') - path_c = path_b - - if force_2d: - raise ValueError("forcing 2D is not supported for Arrow") - - if fids is not None: - raise ValueError("reading by FID is not supported for Arrow") - - IF CTE_GDAL_VERSION < (3, 8, 0): - if skip_features: - raise ValueError( - "specifying 'skip_features' is not supported for Arrow for GDAL<3.8.0" - ) - - if skip_features < 0: - raise ValueError("'skip_features' must be >= 0") - - if max_features: - raise ValueError( - "specifying 'max_features' is not supported for Arrow" - ) - - if sql is not None and layer is not None: - raise ValueError("'sql' paramater cannot be combined with 'layer'") - - if not (read_geometry or return_fids or columns is None or len(columns) > 0): - raise ValueError( - "at least one of read_geometry or return_fids must be True or columns must " - "be None or non-empty" - ) - - if bbox and mask: - raise ValueError("cannot set both 'bbox' and 'mask'") - - reader = None - try: - dataset_options = dict_to_options(dataset_kwargs) - ogr_dataset = ogr_open(path_c, 0, dataset_options) - - if sql is None: - # layer defaults to index 0 - if layer is None: - layer = 0 - ogr_layer = get_ogr_layer(ogr_dataset, layer) - else: - ogr_layer = execute_sql(ogr_dataset, sql, sql_dialect) - - crs = get_crs(ogr_layer) - - # Encoding is derived from the user, from the dataset capabilities / type, - # or from the system locale - encoding = ( - encoding - or detect_encoding(ogr_dataset, ogr_layer) - or locale.getpreferredencoding() - ) - - fields = get_fields(ogr_layer, encoding, use_arrow=True) - - ignored_fields = [] - if columns is not None: - # Fields are matched exactly by name, duplicates are dropped. - ignored_fields = list(set(fields[:,2]) - set(columns)) - if not read_geometry: - ignored_fields.append("OGR_GEOMETRY") - - geometry_type = get_geometry_type(ogr_layer) - - geometry_name = get_string(OGR_L_GetGeometryColumn(ogr_layer)) - - fid_column = get_string(OGR_L_GetFIDColumn(ogr_layer)) - # OGR_L_GetFIDColumn returns the column name if it is a custom column, - # or "" if not. For arrow, the default column name is "OGC_FID". - if fid_column == "": - fid_column = "OGC_FID" - - # Apply the attribute filter - if where is not None and where != "": - apply_where_filter(ogr_layer, where) - - # Apply the spatial filter - if bbox is not None: - apply_bbox_filter(ogr_layer, bbox) - - elif mask is not None: - apply_geometry_filter(ogr_layer, mask) - - # Limit to specified columns - if ignored_fields: - for field in ignored_fields: - field_b = field.encode("utf-8") - field_c = field_b - fields_c = CSLAddString(fields_c, field_c) - - OGR_L_SetIgnoredFields(ogr_layer, fields_c) - - if not return_fids: - options = CSLSetNameValue(options, "INCLUDE_FID", "NO") - - if batch_size > 0: - options = CSLSetNameValue( - options, - "MAX_FEATURES_IN_BATCH", - str(batch_size).encode('UTF-8') - ) - - # make sure layer is read from beginning - OGR_L_ResetReading(ogr_layer) - - if not OGR_L_GetArrowStream(ogr_layer, &stream, options): - raise RuntimeError("Failed to open ArrowArrayStream from Layer") - - stream_ptr = &stream - - if skip_features: - # only supported for GDAL >= 3.8.0; have to do this after getting - # the Arrow stream - OGR_L_SetNextByIndex(ogr_layer, skip_features) - - # stream has to be consumed before the Dataset is closed - import pyarrow as pa - reader = pa.RecordBatchStreamReader._import_from_c(stream_ptr) - - meta = { - 'crs': crs, - 'encoding': encoding, - 'fields': fields[:,2], # return only names - 'geometry_type': geometry_type, - 'geometry_name': geometry_name, - 'fid_column': fid_column, - } - - yield meta, reader - - finally: - if reader is not None: - # Mark reader as closed to prevent reading batches - reader.close() - - CSLDestroy(options) - if fields_c != NULL: - CSLDestroy(fields_c) - fields_c = NULL - - if dataset_options != NULL: - CSLDestroy(dataset_options) - dataset_options = NULL - - if ogr_dataset != NULL: - if sql is not None: - GDALDatasetReleaseResultSet(ogr_dataset, ogr_layer) - - GDALClose(ogr_dataset) - ogr_dataset = NULL - -def ogr_read_bounds( - str path, - object layer=None, - object encoding=None, - int read_geometry=True, - int force_2d=False, - object columns=None, - int skip_features=0, - int max_features=0, - object where=None, - tuple bbox=None, - object mask=None): - - cdef int err = 0 - cdef const char *path_c = NULL - cdef const char *where_c = NULL - cdef OGRDataSourceH ogr_dataset = NULL - cdef OGRLayerH ogr_layer = NULL - cdef int feature_count = 0 - cdef double xmin, ymin, xmax, ymax - - if bbox and mask: - raise ValueError("cannot set both 'bbox' and 'mask'") - - if skip_features < 0: - raise ValueError("'skip_features' must be >= 0") - - if max_features < 0: - raise ValueError("'max_features' must be >= 0") - - path_b = path.encode('utf-8') - path_c = path_b - - # layer defaults to index 0 - if layer is None: - layer = 0 - - ogr_dataset = ogr_open(path_c, 0, NULL) - ogr_layer = get_ogr_layer(ogr_dataset, layer) - - # Apply the attribute filter - if where is not None and where != "": - apply_where_filter(ogr_layer, where) - - # Apply the spatial filter - if bbox is not None: - apply_bbox_filter(ogr_layer, bbox) - - elif mask is not None: - apply_geometry_filter(ogr_layer, mask) - - # Limit feature range to available range - skip_features, num_features = validate_feature_range(ogr_layer, skip_features, max_features) - - return get_bounds(ogr_layer, skip_features, num_features) - - -def ogr_read_info( - str path, - dataset_kwargs, - object layer=None, - object encoding=None, - int force_feature_count=False, - int force_total_bounds=False): - - cdef const char *path_c = NULL - cdef char **dataset_options = NULL - cdef OGRDataSourceH ogr_dataset = NULL - cdef OGRLayerH ogr_layer = NULL - - path_b = path.encode('utf-8') - path_c = path_b - - # layer defaults to index 0 - if layer is None: - layer = 0 - - try: - dataset_options = dict_to_options(dataset_kwargs) - ogr_dataset = ogr_open(path_c, 0, dataset_options) - ogr_layer = get_ogr_layer(ogr_dataset, layer) - - # Encoding is derived from the user, from the dataset capabilities / type, - # or from the system locale - encoding = ( - encoding - or detect_encoding(ogr_dataset, ogr_layer) - or locale.getpreferredencoding() - ) - - fields = get_fields(ogr_layer, encoding) - - meta = { - 'crs': get_crs(ogr_layer), - 'encoding': encoding, - 'fields': fields[:,2], # return only names - 'dtypes': fields[:,3], - 'geometry_type': get_geometry_type(ogr_layer), - 'features': get_feature_count(ogr_layer, force_feature_count), - 'total_bounds': get_total_bounds(ogr_layer, force_total_bounds), - 'driver': get_driver(ogr_dataset), - "capabilities": { - "random_read": OGR_L_TestCapability(ogr_layer, OLCRandomRead) == 1, - "fast_set_next_by_index": OGR_L_TestCapability(ogr_layer, OLCFastSetNextByIndex) == 1, - "fast_spatial_filter": OGR_L_TestCapability(ogr_layer, OLCFastSpatialFilter) == 1, - "fast_feature_count": OGR_L_TestCapability(ogr_layer, OLCFastFeatureCount) == 1, - "fast_total_bounds": OGR_L_TestCapability(ogr_layer, OLCFastGetExtent) == 1, - }, - 'layer_metadata': get_metadata(ogr_layer), - 'dataset_metadata': get_metadata(ogr_dataset), - } - - finally: - if dataset_options != NULL: - CSLDestroy(dataset_options) - dataset_options = NULL - - if ogr_dataset != NULL: - GDALClose(ogr_dataset) - ogr_dataset = NULL - - return meta - - -def ogr_list_layers(str path): - cdef const char *path_c = NULL - cdef const char *ogr_name = NULL - cdef OGRDataSourceH ogr_dataset = NULL - cdef OGRLayerH ogr_layer = NULL - - path_b = path.encode('utf-8') - path_c = path_b - - ogr_dataset = ogr_open(path_c, 0, NULL) - - layer_count = GDALDatasetGetLayerCount(ogr_dataset) - - data = np.empty(shape=(layer_count, 2), dtype=object) - data_view = data[:] - for i in range(layer_count): - ogr_layer = GDALDatasetGetLayer(ogr_dataset, i) - - data_view[i, 0] = get_string(OGR_L_GetName(ogr_layer)) - data_view[i, 1] = get_geometry_type(ogr_layer) - - if ogr_dataset != NULL: - GDALClose(ogr_dataset) - ogr_dataset = NULL - - return data - - -# NOTE: all modes are write-only -# some data sources have multiple layers -cdef void * ogr_create(const char* path_c, const char* driver_c, char** options) except NULL: - cdef void *ogr_driver = NULL - cdef OGRDataSourceH ogr_dataset = NULL - - # Get the driver - try: - ogr_driver = exc_wrap_pointer(GDALGetDriverByName(driver_c)) - - except NullPointerError: - raise DataSourceError(f"Could not obtain driver: {driver_c.decode('utf-8')} (check that it was installed correctly into GDAL)") - - except CPLE_BaseError as exc: - raise DataSourceError(str(exc)) - - # Create the dataset - try: - ogr_dataset = exc_wrap_pointer(GDALCreate(ogr_driver, path_c, 0, 0, 0, GDT_Unknown, options)) - - except NullPointerError: - raise DataSourceError(f"Failed to create dataset with driver: {path_c.decode('utf-8')} {driver_c.decode('utf-8')}") from None - - except CPLE_NotSupportedError as exc: - raise DataSourceError(f"Driver {driver_c.decode('utf-8')} does not support write functionality") from None - - except CPLE_BaseError as exc: - raise DataSourceError(str(exc)) - - return ogr_dataset - - -cdef void * create_crs(str crs) except NULL: - cdef char *crs_c = NULL - cdef void *ogr_crs = NULL - - crs_b = crs.encode('UTF-8') - crs_c = crs_b - - try: - ogr_crs = exc_wrap_pointer(OSRNewSpatialReference(NULL)) - err = OSRSetFromUserInput(ogr_crs, crs_c) - if err: - raise CRSError("Could not set CRS: {}".format(crs_c.decode('UTF-8'))) from None - - except CPLE_BaseError as exc: - OSRRelease(ogr_crs) - raise CRSError("Could not set CRS: {}".format(exc)) - - return ogr_crs - - -cdef infer_field_types(list dtypes): - cdef int field_type = 0 - cdef int field_subtype = 0 - cdef int width = 0 - cdef int precision = 0 - - field_types = np.zeros(shape=(len(dtypes), 4), dtype=int) - field_types_view = field_types[:] - - for i in range(len(dtypes)): - dtype = dtypes[i] - - if dtype.name in DTYPE_OGR_FIELD_TYPES: - field_type, field_subtype = DTYPE_OGR_FIELD_TYPES[dtype.name] - field_types_view[i, 0] = field_type - field_types_view[i, 1] = field_subtype - - # Determine field type from ndarray values - elif dtype == np.dtype('O'): - # Object type is ambiguous: could be a string or binary data - # TODO: handle binary or other types - # for now fall back to string (same as Geopandas) - field_types_view[i, 0] = OFTString - # Convert to unicode string then take itemsize - # TODO: better implementation of this - # width = values.astype(np.unicode_).dtype.itemsize // 4 - # DO WE NEED WIDTH HERE? - - elif dtype.type is np.unicode_ or dtype.type is np.string_: - field_types_view[i, 0] = OFTString - field_types_view[i, 2] = int(dtype.itemsize // 4) - - elif dtype.name.startswith("datetime64"): - # datetime dtype precision is specified with eg. [ms], but this isn't - # usefull when writing to gdal. - field_type, field_subtype = DTYPE_OGR_FIELD_TYPES["datetime64"] - field_types_view[i, 0] = field_type - field_types_view[i, 1] = field_subtype - - else: - raise NotImplementedError(f"field type is not supported {dtype.name} (field index: {i})") - - return field_types - - -# TODO: set geometry and field data as memory views? -def ogr_write( - str path, str layer, str driver, geometry, fields, field_data, field_mask, - str crs, str geometry_type, str encoding, object dataset_kwargs, - object layer_kwargs, bint promote_to_multi=False, bint nan_as_null=True, - bint append=False, dataset_metadata=None, layer_metadata=None, - gdal_tz_offsets=None -): - cdef const char *path_c = NULL - cdef const char *layer_c = NULL - cdef const char *driver_c = NULL - cdef const char *crs_c = NULL - cdef const char *encoding_c = NULL - cdef char **dataset_options = NULL - cdef char **layer_options = NULL - cdef const char *ogr_name = NULL - cdef OGRDataSourceH ogr_dataset = NULL - cdef OGRLayerH ogr_layer = NULL - cdef OGRFeatureH ogr_feature = NULL - cdef OGRGeometryH ogr_geometry = NULL - cdef OGRGeometryH ogr_geometry_multi = NULL - cdef OGRFeatureDefnH ogr_featuredef = NULL - cdef OGRFieldDefnH ogr_fielddef = NULL - cdef unsigned char *wkb_buffer = NULL - cdef OGRSpatialReferenceH ogr_crs = NULL - cdef int layer_idx = -1 - cdef int supports_transactions = 0 - cdef OGRwkbGeometryType geometry_code - cdef int err = 0 - cdef int i = 0 - cdef int num_records = -1 - cdef int num_field_data = len(field_data) if field_data is not None else 0 - cdef int num_fields = len(fields) if fields is not None else 0 - - if num_fields != num_field_data: - raise ValueError("field_data array needs to be same length as fields array") - - if num_fields == 0 and geometry is None: - raise ValueError("You must provide at least a geometry column or a field") - - if num_fields > 0: - num_records = len(field_data[0]) - for i in range(1, len(field_data)): - if len(field_data[i]) != num_records: - raise ValueError("field_data arrays must be same length") - - if geometry is None: - # If no geometry data, we ignore the geometry_type and don't create a geometry - # column - geometry_type = None - else: - if num_fields > 0: - if len(geometry) != num_records: - raise ValueError( - "field_data arrays must be same length as geometry array" - ) - else: - num_records = len(geometry) - - if field_mask is not None: - if len(field_data) != len(field_mask): - raise ValueError("field_data and field_mask must be same length") - for i in range(0, len(field_mask)): - if field_mask[i] is not None and len(field_mask[i]) != num_records: - raise ValueError("field_mask arrays must be same length as geometry array") - else: - field_mask = [None] * num_fields - - path_b = path.encode('UTF-8') - path_c = path_b - - driver_b = driver.encode('UTF-8') - driver_c = driver_b - - if not layer: - layer = os.path.splitext(os.path.split(path)[1])[0] - - if gdal_tz_offsets is None: - gdal_tz_offsets = {} - - - # if shapefile, GeoJSON, or FlatGeobuf, always delete first - # for other types, check if we can create layers - # GPKG might be the only multi-layer writeable type. TODO: check this - if driver in ('ESRI Shapefile', 'GeoJSON', 'GeoJSONSeq', 'FlatGeobuf') and os.path.exists(path): - if not append: - os.unlink(path) - - layer_exists = False - if os.path.exists(path): - try: - ogr_dataset = ogr_open(path_c, 1, NULL) - - for i in range(GDALDatasetGetLayerCount(ogr_dataset)): - name = OGR_L_GetName(GDALDatasetGetLayer(ogr_dataset, i)) - if layer == name.decode('UTF-8'): - layer_idx = i - break - - if layer_idx >= 0: - layer_exists = True - - if not append: - GDALDatasetDeleteLayer(ogr_dataset, layer_idx) - - except DataSourceError as exc: - # open failed - if append: - raise exc - - # otherwise create from scratch - os.unlink(path) - ogr_dataset = NULL - - # either it didn't exist or could not open it in write mode - if ogr_dataset == NULL: - dataset_options = dict_to_options(dataset_kwargs) - ogr_dataset = ogr_create(path_c, driver_c, dataset_options) - - # if we are not appending to an existing layer, we need to create - # the layer and all associated properties (CRS, field defs, etc) - create_layer = not (append and layer_exists) - - ### Create the layer - if create_layer: - # Create the CRS - if crs is not None: - try: - ogr_crs = create_crs(crs) - - except Exception as exc: - OGRReleaseDataSource(ogr_dataset) - ogr_dataset = NULL - if dataset_options != NULL: - CSLDestroy(dataset_options) - dataset_options = NULL - raise exc - - # Setup layer creation options - if not encoding: - encoding = locale.getpreferredencoding() - - if driver == 'ESRI Shapefile': - # Fiona only sets encoding for shapefiles; other drivers do not support - # encoding as an option. - encoding_b = encoding.upper().encode('UTF-8') - encoding_c = encoding_b - layer_options = CSLSetNameValue(layer_options, "ENCODING", encoding_c) - - # Setup other layer creation options - for k, v in layer_kwargs.items(): - k = k.encode('UTF-8') - v = v.encode('UTF-8') - layer_options = CSLAddNameValue(layer_options, k, v) - - ### Get geometry type - # TODO: this is brittle for 3D / ZM / M types - # TODO: fail on M / ZM types - geometry_code = get_geometry_type_code(geometry_type) - - try: - if create_layer: - layer_b = layer.encode('UTF-8') - layer_c = layer_b - - ogr_layer = exc_wrap_pointer( - GDALDatasetCreateLayer(ogr_dataset, layer_c, ogr_crs, - geometry_code, layer_options)) - - else: - ogr_layer = exc_wrap_pointer(get_ogr_layer(ogr_dataset, layer)) - - # Set dataset and layer metadata - set_metadata(ogr_dataset, dataset_metadata) - set_metadata(ogr_layer, layer_metadata) - - except Exception as exc: - OGRReleaseDataSource(ogr_dataset) - ogr_dataset = NULL - raise DataLayerError(str(exc)) - - finally: - if ogr_crs != NULL: - OSRRelease(ogr_crs) - ogr_crs = NULL - - if dataset_options != NULL: - CSLDestroy(dataset_options) - dataset_options = NULL - - if layer_options != NULL: - CSLDestroy(layer_options) - layer_options = NULL - - ### Create the fields - field_types = None - if num_fields > 0: - field_types = infer_field_types([field.dtype for field in field_data]) - - ### Create the fields - if create_layer: - for i in range(num_fields): - field_type, field_subtype, width, precision = field_types[i] - - name_b = fields[i].encode(encoding) - try: - ogr_fielddef = exc_wrap_pointer(OGR_Fld_Create(name_b, field_type)) - - # subtypes, see: https://gdal.org/development/rfc/rfc50_ogr_field_subtype.html - if field_subtype != OFSTNone: - OGR_Fld_SetSubType(ogr_fielddef, field_subtype) - - if width: - OGR_Fld_SetWidth(ogr_fielddef, width) - - # TODO: set precision - - except: - if ogr_fielddef != NULL: - OGR_Fld_Destroy(ogr_fielddef) - ogr_fielddef = NULL - - OGRReleaseDataSource(ogr_dataset) - ogr_dataset = NULL - raise FieldError(f"Error creating field '{fields[i]}' from field_data") from None - - try: - exc_wrap_int(OGR_L_CreateField(ogr_layer, ogr_fielddef, 1)) - - except: - OGRReleaseDataSource(ogr_dataset) - ogr_dataset = NULL - raise FieldError(f"Error adding field '{fields[i]}' to layer") from None - - finally: - if ogr_fielddef != NULL: - OGR_Fld_Destroy(ogr_fielddef) - - - ### Create the features - ogr_featuredef = OGR_L_GetLayerDefn(ogr_layer) - - supports_transactions = OGR_L_TestCapability(ogr_layer, OLCTransactions) - if supports_transactions: - start_transaction(ogr_dataset, 0) - - for i in range(num_records): - try: - # create the feature - ogr_feature = OGR_F_Create(ogr_featuredef) - if ogr_feature == NULL: - raise FeatureError(f"Could not create feature at index {i}") from None - - # create the geometry based on specific WKB type (there might be mixed types in geometries) - # TODO: geometry must not be null or errors - wkb = None if geometry is None else geometry[i] - if wkb is not None: - wkbtype = bytearray(wkb)[1] - # may need to consider all 4 bytes: int.from_bytes(wkb[0][1:4], byteorder="little") - # use "little" if the first byte == 1 - ogr_geometry = OGR_G_CreateGeometry(wkbtype) - if ogr_geometry == NULL: - raise GeometryError(f"Could not create geometry at index {i} for WKB type {wkbtype}") from None - - # import the WKB - wkb_buffer = wkb - err = OGR_G_ImportFromWkb(ogr_geometry, wkb_buffer, len(wkb)) - if err: - if ogr_geometry != NULL: - OGR_G_DestroyGeometry(ogr_geometry) - ogr_geometry = NULL - raise GeometryError(f"Could not create geometry from WKB at index {i}") from None - - # Convert to multi type - if promote_to_multi: - if wkbtype in (wkbPoint, wkbPoint25D, wkbPointM, wkbPointZM): - ogr_geometry = OGR_G_ForceToMultiPoint(ogr_geometry) - elif wkbtype in (wkbLineString, wkbLineString25D, wkbLineStringM, wkbLineStringZM): - ogr_geometry = OGR_G_ForceToMultiLineString(ogr_geometry) - elif wkbtype in (wkbPolygon, wkbPolygon25D, wkbPolygonM, wkbPolygonZM): - ogr_geometry = OGR_G_ForceToMultiPolygon(ogr_geometry) - - # Set the geometry on the feature - # this assumes ownership of the geometry and it's cleanup - err = OGR_F_SetGeometryDirectly(ogr_feature, ogr_geometry) - if err: - raise GeometryError(f"Could not set geometry for feature at index {i}") from None - - # Set field values - for field_idx in range(num_fields): - field_value = field_data[field_idx][i] - field_type = field_types[field_idx][0] - - mask = field_mask[field_idx] - if mask is not None and mask[i]: - OGR_F_SetFieldNull(ogr_feature, field_idx) - - elif field_type == OFTString: - # TODO: encode string using approach from _get_internal_encoding which checks layer capabilities - if ( - field_value is None - or (isinstance(field_value, float) and isnan(field_value)) - ): - OGR_F_SetFieldNull(ogr_feature, field_idx) - - else: - if not isinstance(field_value, str): - field_value = str(field_value) - - try: - value_b = field_value.encode("UTF-8") - OGR_F_SetFieldString(ogr_feature, field_idx, value_b) - - except AttributeError: - raise ValueError(f"Could not encode value '{field_value}' in field '{fields[field_idx]}' to string") - - except Exception: - raise - - elif field_type == OFTInteger: - OGR_F_SetFieldInteger(ogr_feature, field_idx, field_value) - - elif field_type == OFTInteger64: - OGR_F_SetFieldInteger64(ogr_feature, field_idx, field_value) - - elif field_type == OFTReal: - if nan_as_null and isnan(field_value): - OGR_F_SetFieldNull(ogr_feature, field_idx) - else: - OGR_F_SetFieldDouble(ogr_feature, field_idx, field_value) - - elif field_type == OFTDate: - if np.isnat(field_value): - OGR_F_SetFieldNull(ogr_feature, field_idx) - else: - datetime = field_value.item() - OGR_F_SetFieldDateTimeEx( - ogr_feature, - field_idx, - datetime.year, - datetime.month, - datetime.day, - 0, - 0, - 0.0, - 0 - ) - - elif field_type == OFTDateTime: - if np.isnat(field_value): - OGR_F_SetFieldNull(ogr_feature, field_idx) - else: - datetime = field_value.astype("datetime64[ms]").item() - tz_array = gdal_tz_offsets.get(fields[field_idx], None) - if tz_array is None: - gdal_tz = 0 - else: - gdal_tz = tz_array[i] - OGR_F_SetFieldDateTimeEx( - ogr_feature, - field_idx, - datetime.year, - datetime.month, - datetime.day, - datetime.hour, - datetime.minute, - datetime.second + datetime.microsecond / 10**6, - gdal_tz - ) - - else: - raise NotImplementedError(f"OGR field type is not supported for writing: {field_type}") - - - # Add feature to the layer - try: - exc_wrap_int(OGR_L_CreateFeature(ogr_layer, ogr_feature)) - except CPLE_BaseError as exc: - raise FeatureError(f"Could not add feature to layer at index {i}: {exc}") from None - - finally: - if ogr_feature != NULL: - OGR_F_Destroy(ogr_feature) - ogr_feature = NULL - - if supports_transactions: - commit_transaction(ogr_dataset) - - log.info(f"Created {num_records:,} records" ) - - ### Final cleanup - if ogr_dataset != NULL: - GDALClose(ogr_dataset) - - # GDAL will set an error if there was an error writing the data source - # on close - exc = exc_check() - if exc: - raise DataSourceError(f"Failed to write features to dataset {path}; {exc}") \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_ogr.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/pyogrio/_ogr.cpython-312-x86_64-linux-gnu.so index b5698fe9..7c5dd1ee 100755 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/_ogr.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/pyogrio/_ogr.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_ogr.pxd b/.venv/lib/python3.12/site-packages/pyogrio/_ogr.pxd deleted file mode 100644 index 46d5bc8d..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/_ogr.pxd +++ /dev/null @@ -1,388 +0,0 @@ -# Contains declarations against GDAL / OGR API -from libc.stdint cimport int64_t, int8_t -from libc.stdio cimport FILE - - -cdef extern from "cpl_conv.h": - ctypedef unsigned char GByte - - void* CPLMalloc(size_t) - void CPLFree(void *ptr) - - const char* CPLFindFile(const char *pszClass, const char *filename) - const char* CPLGetConfigOption(const char* key, const char* value) - void CPLSetConfigOption(const char* key, const char* value) - - -cdef extern from "cpl_error.h" nogil: - ctypedef enum CPLErr: - CE_None - CE_Debug - CE_Warning - CE_Failure - CE_Fatal - - void CPLErrorReset() - int CPLGetLastErrorNo() - const char* CPLGetLastErrorMsg() - int CPLGetLastErrorType() - - ctypedef void (*CPLErrorHandler)(CPLErr, int, const char*) - void CPLDefaultErrorHandler(CPLErr, int, const char *) - void CPLPushErrorHandler(CPLErrorHandler handler) - void CPLPopErrorHandler() - - -cdef extern from "cpl_string.h": - char** CSLAddNameValue(char **list, const char *name, const char *value) - char** CSLSetNameValue(char **list, const char *name, const char *value) - void CSLDestroy(char **list) - char** CSLAddString(char **list, const char *string) - int CSLCount(char **list) - - -cdef extern from "cpl_vsi.h" nogil: - - ctypedef FILE VSILFILE - - VSILFILE *VSIFileFromMemBuffer(const char *path, void *data, - int data_len, int take_ownership) - int VSIFCloseL(VSILFILE *fp) - int VSIUnlink(const char *path) - - -cdef extern from "ogr_core.h": - ctypedef enum OGRErr: - OGRERR_NONE # success - OGRERR_NOT_ENOUGH_DATA - OGRERR_NOT_ENOUGH_MEMORY - OGRERR_UNSUPPORTED_GEOMETRY_TYPE - OGRERR_UNSUPPORTED_OPERATION - OGRERR_CORRUPT_DATA - OGRERR_FAILURE - OGRERR_UNSUPPORTED_SRS - OGRERR_INVALID_HANDLE - OGRERR_NON_EXISTING_FEATURE - - ctypedef enum OGRwkbGeometryType: - wkbUnknown - wkbPoint - wkbLineString - wkbPolygon - wkbMultiPoint - wkbMultiLineString - wkbMultiPolygon - wkbGeometryCollection - wkbCircularString - wkbCompoundCurve - wkbCurvePolygon - wkbMultiCurve - wkbMultiSurface - wkbCurve - wkbSurface - wkbPolyhedralSurface - wkbTIN - wkbTriangle - wkbNone - wkbLinearRing - wkbCircularStringZ - wkbCompoundCurveZ - wkbCurvePolygonZ - wkbMultiCurveZ - wkbMultiSurfaceZ - wkbCurveZ - wkbSurfaceZ - wkbPolyhedralSurfaceZ - wkbTINZ - wkbTriangleZ - wkbPointM - wkbLineStringM - wkbPolygonM - wkbMultiPointM - wkbMultiLineStringM - wkbMultiPolygonM - wkbGeometryCollectionM - wkbCircularStringM - wkbCompoundCurveM - wkbCurvePolygonM - wkbMultiCurveM - wkbMultiSurfaceM - wkbCurveM - wkbSurfaceM - wkbPolyhedralSurfaceM - wkbTINM - wkbTriangleM - wkbPointZM - wkbLineStringZM - wkbPolygonZM - wkbMultiPointZM - wkbMultiLineStringZM - wkbMultiPolygonZM - wkbGeometryCollectionZM - wkbCircularStringZM - wkbCompoundCurveZM - wkbCurvePolygonZM - wkbMultiCurveZM - wkbMultiSurfaceZM - wkbCurveZM - wkbSurfaceZM - wkbPolyhedralSurfaceZM - wkbTINZM - wkbTriangleZM - wkbPoint25D - wkbLineString25D - wkbPolygon25D - wkbMultiPoint25D - wkbMultiLineString25D - wkbMultiPolygon25D - wkbGeometryCollection25D - - ctypedef enum OGRFieldType: - OFTInteger - OFTIntegerList - OFTReal - OFTRealList - OFTString - OFTStringList - OFTWideString - OFTWideStringList - OFTBinary - OFTDate - OFTTime - OFTDateTime - OFTInteger64 - OFTInteger64List - OFTMaxType - - ctypedef enum OGRFieldSubType: - OFSTNone - OFSTBoolean - OFSTInt16 - OFSTFloat32 - - ctypedef void* OGRDataSourceH - ctypedef void* OGRFeatureDefnH - ctypedef void* OGRFieldDefnH - ctypedef void* OGRFeatureH - ctypedef void* OGRGeometryH - ctypedef void* OGRLayerH - ctypedef void* OGRSFDriverH - - ctypedef struct OGREnvelope: - double MinX - double MaxX - double MinY - double MaxY - - -cdef extern from "ogr_srs_api.h": - ctypedef void* OGRSpatialReferenceH - - int OSRAutoIdentifyEPSG(OGRSpatialReferenceH srs) - OGRErr OSRExportToWkt(OGRSpatialReferenceH srs, char **params) - const char* OSRGetAuthorityName(OGRSpatialReferenceH srs, const char *key) - const char* OSRGetAuthorityCode(OGRSpatialReferenceH srs, const char *key) - OGRErr OSRImportFromEPSG(OGRSpatialReferenceH srs, int code) - - int OSRSetFromUserInput(OGRSpatialReferenceH srs, const char *pszDef) - void OSRSetPROJSearchPaths(const char *const *paths) - OGRSpatialReferenceH OSRNewSpatialReference(const char *wkt) - void OSRRelease(OGRSpatialReferenceH srs) - - -cdef extern from "arrow_bridge.h": - struct ArrowSchema: - int64_t n_children - - struct ArrowArrayStream: - int (*get_schema)(ArrowArrayStream* stream, ArrowSchema* out) - - -cdef extern from "ogr_api.h": - int OGRGetDriverCount() - OGRSFDriverH OGRGetDriver(int) - - OGRDataSourceH OGR_Dr_Open(OGRSFDriverH driver, const char *path, int bupdate) - const char* OGR_Dr_GetName(OGRSFDriverH driver) - - OGRFeatureH OGR_F_Create(OGRFeatureDefnH featuredefn) - void OGR_F_Destroy(OGRFeatureH feature) - - int64_t OGR_F_GetFID(OGRFeatureH feature) - OGRGeometryH OGR_F_GetGeometryRef(OGRFeatureH feature) - GByte* OGR_F_GetFieldAsBinary(OGRFeatureH feature, int n, int *s) - int OGR_F_GetFieldAsDateTimeEx(OGRFeatureH feature, int n, int *y, int *m, int *d, int *h, int *m, float *s, int *z) - double OGR_F_GetFieldAsDouble(OGRFeatureH feature, int n) - int OGR_F_GetFieldAsInteger(OGRFeatureH feature, int n) - int64_t OGR_F_GetFieldAsInteger64(OGRFeatureH feature, int n) - const char* OGR_F_GetFieldAsString(OGRFeatureH feature, int n) - int OGR_F_IsFieldSetAndNotNull(OGRFeatureH feature, int n) - void OGR_F_SetFieldDateTime(OGRFeatureH feature, int n, int y, int m, int d, int hh, int mm, int ss, int tz) - void OGR_F_SetFieldDouble(OGRFeatureH feature, int n, double value) - void OGR_F_SetFieldInteger(OGRFeatureH feature, int n, int value) - void OGR_F_SetFieldInteger64(OGRFeatureH feature, int n, int64_t value) - void OGR_F_SetFieldString(OGRFeatureH feature, int n, char *value) - void OGR_F_SetFieldBinary(OGRFeatureH feature, int n, int l, unsigned char *value) - void OGR_F_SetFieldNull(OGRFeatureH feature, int n) # new in GDAL 2.2 - void OGR_F_SetFieldDateTimeEx( - OGRFeatureH hFeat, - int iField, - int nYear, - int nMonth, - int nDay, - int nHour, - int nMinute, - float fSecond, - int nTZFlag) - OGRErr OGR_F_SetGeometryDirectly(OGRFeatureH feature, OGRGeometryH geometry) - - OGRFeatureDefnH OGR_FD_Create(const char *name) - int OGR_FD_GetFieldCount(OGRFeatureDefnH featuredefn) - OGRFeatureDefnH OGR_FD_GetFieldDefn(OGRFeatureDefnH featuredefn, int n) - OGRwkbGeometryType OGR_FD_GetGeomType(OGRFeatureDefnH featuredefn) - - OGRFieldDefnH OGR_Fld_Create(const char *name, OGRFieldType fieldtype) - void OGR_Fld_Destroy(OGRFieldDefnH fielddefn) - const char* OGR_Fld_GetNameRef(OGRFieldDefnH fielddefn) - int OGR_Fld_GetPrecision(OGRFieldDefnH fielddefn) - OGRFieldSubType OGR_Fld_GetSubType(OGRFieldDefnH fielddefn) - int OGR_Fld_GetType(OGRFieldDefnH fielddefn) - int OGR_Fld_GetWidth(OGRFieldDefnH fielddefn) - void OGR_Fld_Set(OGRFieldDefnH fielddefn, const char *name, int fieldtype, int width, int precision, int justification) - void OGR_Fld_SetPrecision(OGRFieldDefnH fielddefn, int n) - void OGR_Fld_SetWidth(OGRFieldDefnH fielddefn, int n) - - void OGR_Fld_SetSubType(OGRFieldDefnH fielddefn, OGRFieldSubType subtype) - - OGRGeometryH OGR_G_CreateGeometry(int wkbtypecode) - OGRErr OGR_G_CreateFromWkb(const void *bytes, OGRSpatialReferenceH srs, OGRGeometryH *geometry, int nbytes) - void OGR_G_DestroyGeometry(OGRGeometryH geometry) - void OGR_G_ExportToWkb(OGRGeometryH geometry, int endianness, unsigned char *buffer) - void OGR_G_GetEnvelope(OGRGeometryH geometry, OGREnvelope* envelope) - OGRwkbGeometryType OGR_G_GetGeometryType(OGRGeometryH) - OGRGeometryH OGR_G_GetLinearGeometry(OGRGeometryH hGeom, double dfMaxAngleStepSizeDegrees, char **papszOptions) - OGRErr OGR_G_ImportFromWkb(OGRGeometryH geometry, const void *bytes, int nbytes) - int OGR_G_IsMeasured(OGRGeometryH geometry) - void OGR_G_SetMeasured(OGRGeometryH geometry, int isMeasured) - int OGR_G_Is3D(OGRGeometryH geometry) - void OGR_G_Set3D(OGRGeometryH geometry, int is3D) - int OGR_G_WkbSize(OGRGeometryH geometry) - OGRGeometryH OGR_G_ForceToMultiPoint(OGRGeometryH geometry) - OGRGeometryH OGR_G_ForceToMultiLineString(OGRGeometryH geometry) - OGRGeometryH OGR_G_ForceToMultiPolygon(OGRGeometryH geometry) - - int OGR_GT_HasM(OGRwkbGeometryType eType) - int OGR_GT_HasZ(OGRwkbGeometryType eType) - int OGR_GT_IsNonLinear(OGRwkbGeometryType eType) - OGRwkbGeometryType OGR_GT_SetModifier(OGRwkbGeometryType eType, int setZ, int setM) - - OGRErr OGR_L_CreateFeature(OGRLayerH layer, OGRFeatureH feature) - OGRErr OGR_L_CreateField(OGRLayerH layer, OGRFieldDefnH fielddefn, int flexible) - const char* OGR_L_GetName(OGRLayerH layer) - const char* OGR_L_GetFIDColumn(OGRLayerH layer) - const char* OGR_L_GetGeometryColumn(OGRLayerH layer) - OGRErr OGR_L_GetExtent(OGRLayerH layer, OGREnvelope *psExtent, int bForce) - OGRSpatialReferenceH OGR_L_GetSpatialRef(OGRLayerH layer) - int OGR_L_TestCapability(OGRLayerH layer, const char *name) - OGRFeatureDefnH OGR_L_GetLayerDefn(OGRLayerH layer) - OGRFeatureH OGR_L_GetNextFeature(OGRLayerH layer) - OGRFeatureH OGR_L_GetFeature(OGRLayerH layer, int nFeatureId) - void OGR_L_ResetReading(OGRLayerH layer) - OGRErr OGR_L_SetAttributeFilter(OGRLayerH hLayer, const char* pszQuery) - OGRErr OGR_L_SetNextByIndex(OGRLayerH layer, int nIndex) - int OGR_L_GetFeatureCount(OGRLayerH layer, int m) - void OGR_L_SetSpatialFilterRect(OGRLayerH layer, double xmin, double ymin, double xmax, double ymax) - void OGR_L_SetSpatialFilter(OGRLayerH layer, OGRGeometryH geometry) - OGRErr OGR_L_SetIgnoredFields(OGRLayerH layer, const char** fields) - - void OGRSetNonLinearGeometriesEnabledFlag(int bFlag) - int OGRGetNonLinearGeometriesEnabledFlag() - - int OGRReleaseDataSource(OGRDataSourceH ds) - - const char* OLCStringsAsUTF8 - const char* OLCRandomRead - const char* OLCFastSetNextByIndex - const char* OLCFastSpatialFilter - const char* OLCFastFeatureCount - const char* OLCFastGetExtent - const char* OLCTransactions - - -IF CTE_GDAL_VERSION >= (3, 6, 0): - - cdef extern from "ogr_api.h": - int8_t OGR_L_GetArrowStream(OGRLayerH hLayer, ArrowArrayStream *out_stream, char** papszOptions) - - -cdef extern from "gdal.h": - ctypedef enum GDALDataType: - GDT_Unknown - GDT_Byte - GDT_UInt16 - GDT_Int16 - GDT_UInt32 - GDT_Int32 - GDT_Float32 - GDT_Float64 - GDT_CInt16 - GDT_CInt32 - GDT_CFloat32 - GDT_CFloat64 - GDT_TypeCount - - int GDAL_OF_UPDATE - int GDAL_OF_READONLY - int GDAL_OF_VECTOR - int GDAL_OF_VERBOSE_ERROR - - ctypedef void* GDALDatasetH - ctypedef void* GDALDriverH - ctypedef void * GDALMajorObjectH - - void GDALAllRegister() - - GDALDatasetH GDALCreate(OGRSFDriverH driver, - const char * pszFilename, - int nXSize, - int nYSize, - int nBands, - GDALDataType eBandType, - char ** papszOptions) - - OGRLayerH GDALDatasetCreateLayer(GDALDatasetH ds, - const char * pszName, - OGRSpatialReferenceH hSpatialRef, - int eType, - char ** papszOptions) - - int GDALDatasetDeleteLayer(GDALDatasetH hDS, int iLayer) - - GDALDriverH GDALGetDatasetDriver(GDALDatasetH ds) - GDALDriverH GDALGetDriverByName(const char * pszName) - GDALDatasetH GDALOpenEx(const char * pszFilename, - unsigned int nOpenFlags, - const char *const *papszAllowedDrivers, - const char *const *papszOpenOptions, - const char *const *papszSiblingFiles) - - void GDALClose(GDALDatasetH ds) - int GDALDatasetGetLayerCount(GDALDatasetH ds) - OGRLayerH GDALDatasetGetLayer(GDALDatasetH ds, int iLayer) - OGRLayerH GDALDatasetGetLayerByName(GDALDatasetH ds, char * pszName) - OGRLayerH GDALDatasetExecuteSQL( - GDALDatasetH ds, - const char* pszStatement, - OGRGeometryH hSpatialFilter, - const char* pszDialect) - void GDALDatasetReleaseResultSet(GDALDatasetH, OGRLayerH) - OGRErr GDALDatasetStartTransaction(GDALDatasetH ds, int bForce) - OGRErr GDALDatasetCommitTransaction(GDALDatasetH ds) - OGRErr GDALDatasetRollbackTransaction(GDALDatasetH ds) - char** GDALGetMetadata(GDALMajorObjectH obj, const char *pszDomain) - const char* GDALGetMetadataItem(GDALMajorObjectH obj, const char *pszName, const char *pszDomain) - OGRErr GDALSetMetadata(GDALMajorObjectH obj, char **metadata, const char *pszDomain) - const char* GDALVersionInfo(const char *pszRequest) - - -cdef get_string(const char *c_str, str encoding=*) \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_ogr.pyx b/.venv/lib/python3.12/site-packages/pyogrio/_ogr.pyx deleted file mode 100644 index 55d19080..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/_ogr.pyx +++ /dev/null @@ -1,362 +0,0 @@ -import os -import sys -from uuid import uuid4 -import warnings - -from pyogrio._err cimport exc_wrap_int, exc_wrap_ogrerr, exc_wrap_pointer -from pyogrio._err import CPLE_BaseError, NullPointerError -from pyogrio.errors import DataSourceError - - -cdef get_string(const char *c_str, str encoding="UTF-8"): - """Get Python string from a char * - - IMPORTANT: the char * must still be freed by the caller. - - Parameters - ---------- - c_str : char * - encoding : str, optional (default: UTF-8) - - Returns - ------- - Python string - """ - cdef bytes py_str - - py_str = c_str - return py_str.decode(encoding) - - -def get_gdal_version(): - """Convert GDAL version number into tuple of (major, minor, revision)""" - version = int(GDALVersionInfo("VERSION_NUM")) - major = version // 1000000 - minor = (version - (major * 1000000)) // 10000 - revision = (version - (major * 1000000) - (minor * 10000)) // 100 - return (major, minor, revision) - - -def get_gdal_version_string(): - cdef const char* version = GDALVersionInfo("RELEASE_NAME") - return get_string(version) - - -IF CTE_GDAL_VERSION >= (3, 4, 0): - - cdef extern from "ogr_api.h": - bint OGRGetGEOSVersion(int *pnMajor, int *pnMinor, int *pnPatch) - - -def get_gdal_geos_version(): - cdef int major, minor, revision - - IF CTE_GDAL_VERSION >= (3, 4, 0): - if not OGRGetGEOSVersion(&major, &minor, &revision): - return None - return (major, minor, revision) - ELSE: - return None - - -def set_gdal_config_options(dict options): - for name, value in options.items(): - name_b = name.encode('utf-8') - name_c = name_b - - # None is a special case; this is used to clear the previous value - if value is None: - CPLSetConfigOption(name_c, NULL) - continue - - # normalize bool to ON/OFF - if isinstance(value, bool): - value_b = b'ON' if value else b'OFF' - else: - value_b = str(value).encode('utf-8') - - value_c = value_b - CPLSetConfigOption(name_c, value_c) - - -def get_gdal_config_option(str name): - name_b = name.encode('utf-8') - name_c = name_b - value = CPLGetConfigOption(name_c, NULL) - - if not value: - return None - - if value.isdigit(): - return int(value) - - if value == b'ON': - return True - if value == b'OFF': - return False - - str_value = get_string(value) - - return str_value - - -def ogr_driver_supports_write(driver): - # check metadata for driver to see if it supports write - if _get_driver_metadata_item(driver, "DCAP_CREATE") == 'YES': - return True - - return False - - -def ogr_list_drivers(): - cdef OGRSFDriverH driver = NULL - cdef int i - cdef char *name_c - - drivers = dict() - for i in range(OGRGetDriverCount()): - driver = OGRGetDriver(i) - name_c = OGR_Dr_GetName(driver) - - name = get_string(name_c) - - if ogr_driver_supports_write(name): - drivers[name] = "rw" - - else: - drivers[name] = "r" - - return drivers - - -def buffer_to_virtual_file(bytesbuf, ext=''): - """Maps a bytes buffer to a virtual file. - `ext` is empty or begins with a period and contains at most one period. - - This (and remove_virtual_file) is originally copied from the Fiona project - (https://github.com/Toblerity/Fiona/blob/c388e9adcf9d33e3bb04bf92b2ff210bbce452d9/fiona/ogrext.pyx#L1863-L1879) - """ - - vsi_filename = f"/vsimem/{uuid4().hex + ext}" - - vsi_handle = VSIFileFromMemBuffer(vsi_filename.encode("UTF-8"), bytesbuf, len(bytesbuf), 0) - - if vsi_handle == NULL: - raise OSError('failed to map buffer to file') - if VSIFCloseL(vsi_handle) != 0: - raise OSError('failed to close mapped file handle') - - return vsi_filename - - -def remove_virtual_file(vsi_filename): - return VSIUnlink(vsi_filename.encode("UTF-8")) - - -cdef void set_proj_search_path(str path): - """Set PROJ library data file search path for use in GDAL.""" - cdef char **paths = NULL - cdef const char *path_c = NULL - path_b = path.encode("utf-8") - path_c = path_b - paths = CSLAddString(paths, path_c) - OSRSetPROJSearchPaths(paths) - - -def has_gdal_data(): - """Verify that GDAL library data files are correctly found. - - Adapted from Fiona (_env.pyx). - """ - - if CPLFindFile("gdal", "header.dxf") != NULL: - return True - - return False - - -def get_gdal_data_path(): - """ - Get the path to the directory GDAL uses to read data files. - """ - cdef const char *path_c = CPLFindFile("gdal", "header.dxf") - if path_c != NULL: - return get_string(path_c).rstrip("header.dxf") - return None - - -def has_proj_data(): - """Verify that PROJ library data files are correctly found. - - Returns - ------- - bool - True if a test spatial reference object could be created, which verifies - that data files are correctly loaded. - - Adapted from Fiona (_env.pyx). - """ - cdef OGRSpatialReferenceH srs = OSRNewSpatialReference(NULL) - - try: - exc_wrap_ogrerr(exc_wrap_int(OSRImportFromEPSG(srs, 4326))) - except CPLE_BaseError: - return False - else: - return True - finally: - if srs != NULL: - OSRRelease(srs) - - -def init_gdal_data(): - """Set GDAL data search directories in the following precedence: - - wheel copy of gdal_data - - default detection by GDAL, including GDAL_DATA (detected automatically by GDAL) - - other well-known paths under sys.prefix - - Adapted from Fiona (env.py, _env.pyx). - """ - - # wheels are packaged to include GDAL data files at pyogrio/gdal_data - wheel_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "gdal_data")) - if os.path.exists(wheel_path): - set_gdal_config_options({"GDAL_DATA": wheel_path}) - if not has_gdal_data(): - raise ValueError("Could not correctly detect GDAL data files installed by pyogrio wheel") - return - - # GDAL correctly found data files from GDAL_DATA or compiled-in paths - if has_gdal_data(): - return - - wk_path = os.path.join(sys.prefix, 'share', 'gdal') - if os.path.exists(wk_path): - set_gdal_config_options({"GDAL_DATA": wk_path}) - if not has_gdal_data(): - raise ValueError(f"Found GDAL data directory at {wk_path} but it does not appear to correctly contain GDAL data files") - return - - warnings.warn("Could not detect GDAL data files. Set GDAL_DATA environment variable to the correct path.", RuntimeWarning) - - -def init_proj_data(): - """Set Proj search directories in the following precedence: - - wheel copy of proj_data - - default detection by PROJ, including PROJ_LIB (detected automatically by PROJ) - - search other well-known paths under sys.prefix - - Adapted from Fiona (env.py, _env.pyx). - """ - - # wheels are packaged to include PROJ data files at pyogrio/proj_data - wheel_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "proj_data")) - if os.path.exists(wheel_path): - set_proj_search_path(wheel_path) - # verify that this now resolves - if not has_proj_data(): - raise ValueError("Could not correctly detect PROJ data files installed by pyogrio wheel") - return - - # PROJ correctly found data files from PROJ_LIB or compiled-in paths - if has_proj_data(): - return - - wk_path = os.path.join(sys.prefix, 'share', 'proj') - if os.path.exists(wk_path): - set_proj_search_path(wk_path) - # verify that this now resolves - if not has_proj_data(): - raise ValueError(f"Found PROJ data directory at {wk_path} but it does not appear to correctly contain PROJ data files") - return - - warnings.warn("Could not detect PROJ data files. Set PROJ_LIB environment variable to the correct path.", RuntimeWarning) - - -def _register_drivers(): - # Register all drivers - GDALAllRegister() - - -def _get_driver_metadata_item(driver, metadata_item): - """ - Query driver metadata items. - - Parameters - ---------- - driver : str - Driver to query - metadata_item : str - Metadata item to query - - Returns - ------- - str or None - Metadata item - """ - cdef const char* metadata_c = NULL - cdef void *cogr_driver = NULL - - try: - cogr_driver = exc_wrap_pointer(GDALGetDriverByName(driver.encode('UTF-8'))) - except NullPointerError: - raise DataSourceError( - f"Could not obtain driver: {driver} (check that it was installed " - "correctly into GDAL)" - ) - except CPLE_BaseError as exc: - raise DataSourceError(str(exc)) - - metadata_c = GDALGetMetadataItem(cogr_driver, metadata_item.encode('UTF-8'), NULL) - - metadata = None - if metadata_c != NULL: - metadata = metadata_c - metadata = metadata.decode('UTF-8') - if len(metadata) == 0: - metadata = None - - return metadata - - -def _get_drivers_for_path(path): - cdef OGRSFDriverH driver = NULL - cdef int i - cdef char *name_c - - path = str(path).lower() - - parts = os.path.splitext(path) - if len(parts) == 2 and len(parts[1]) > 1: - ext = parts[1][1:] - else: - ext = None - - - # allow specific drivers to have a .zip extension to match GDAL behavior - if ext == 'zip': - if path.endswith('.shp.zip'): - ext = 'shp.zip' - elif path.endswith('.gpkg.zip'): - ext = 'gpkg.zip' - - drivers = [] - for i in range(OGRGetDriverCount()): - driver = OGRGetDriver(i) - name_c = OGR_Dr_GetName(driver) - name = get_string(name_c) - - if not ogr_driver_supports_write(name): - continue - - # extensions is a space-delimited list of supported extensions - # for driver - extensions = _get_driver_metadata_item(name, "DMD_EXTENSIONS") - if ext is not None and extensions is not None and ext in extensions.lower().split(' '): - drivers.append(name) - else: - prefix = _get_driver_metadata_item(name, "DMD_CONNECTION_PREFIX") - if prefix is not None and path.startswith(prefix.lower()): - drivers.append(name) - - return drivers diff --git a/.venv/lib/python3.12/site-packages/pyogrio/_version.py b/.venv/lib/python3.12/site-packages/pyogrio/_version.py index b51ac73b..8d59edec 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/_version.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/_version.py @@ -8,11 +8,11 @@ import json version_json = ''' { - "date": "2023-10-30T11:39:03-0700", + "date": "2024-09-28T11:22:57-0700", "dirty": false, "error": null, - "full-revisionid": "71acde57ef674c8622d17b29663ff4349b1fee6e", - "version": "0.7.2" + "full-revisionid": "eb8e7889224155ffa0f779360db29f07f370eef1", + "version": "0.10.0" } ''' # END VERSION_JSON diff --git a/.venv/lib/python3.12/site-packages/pyogrio/arrow_bridge.h b/.venv/lib/python3.12/site-packages/pyogrio/arrow_bridge.h deleted file mode 100644 index 920d498a..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/arrow_bridge.h +++ /dev/null @@ -1,115 +0,0 @@ -// Licensed to the Apache Software Foundation (ASF) under one -// or more contributor license agreements. See the NOTICE file -// distributed with this work for additional information -// regarding copyright ownership. The ASF licenses this file -// to you 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. - -// This file is an extract https://github.com/apache/arrow/blob/master/cpp/src/arrow/c/abi.h -// commit 9cbb8a1a626ee301cfe85905b6c18c5d880e176b (2022-06-14) -// WARNING: DO NOT MODIFY the content as it would break interoperability ! - -#pragma once - -#include - -#ifdef __cplusplus -extern "C" { -#endif - -#ifndef ARROW_C_DATA_INTERFACE -#define ARROW_C_DATA_INTERFACE - -#define ARROW_FLAG_DICTIONARY_ORDERED 1 -#define ARROW_FLAG_NULLABLE 2 -#define ARROW_FLAG_MAP_KEYS_SORTED 4 - -struct ArrowSchema { - // Array type description - const char* format; - const char* name; - const char* metadata; - int64_t flags; - int64_t n_children; - struct ArrowSchema** children; - struct ArrowSchema* dictionary; - - // Release callback - void (*release)(struct ArrowSchema*); - // Opaque producer-specific data - void* private_data; -}; - -struct ArrowArray { - // Array data description - int64_t length; - int64_t null_count; - int64_t offset; - int64_t n_buffers; - int64_t n_children; - const void** buffers; - struct ArrowArray** children; - struct ArrowArray* dictionary; - - // Release callback - void (*release)(struct ArrowArray*); - // Opaque producer-specific data - void* private_data; -}; - -#endif // ARROW_C_DATA_INTERFACE - -#ifndef ARROW_C_STREAM_INTERFACE -#define ARROW_C_STREAM_INTERFACE - -struct ArrowArrayStream { - // Callback to get the stream type - // (will be the same for all arrays in the stream). - // - // Return value: 0 if successful, an `errno`-compatible error code otherwise. - // - // If successful, the ArrowSchema must be released independently from the stream. - int (*get_schema)(struct ArrowArrayStream*, struct ArrowSchema* out); - - // Callback to get the next array - // (if no error and the array is released, the stream has ended) - // - // Return value: 0 if successful, an `errno`-compatible error code otherwise. - // - // If successful, the ArrowArray must be released independently from the stream. - int (*get_next)(struct ArrowArrayStream*, struct ArrowArray* out); - - // Callback to get optional detailed error information. - // This must only be called if the last stream operation failed - // with a non-0 return code. - // - // Return value: pointer to a null-terminated character array describing - // the last error, or NULL if no description is available. - // - // The returned pointer is only valid until the next operation on this stream - // (including release). - const char* (*get_last_error)(struct ArrowArrayStream*); - - // Release callback: release the stream's own resources. - // Note that arrays returned by `get_next` must be individually released. - void (*release)(struct ArrowArrayStream*); - - // Opaque producer-specific data - void* private_data; -}; - -#endif // ARROW_C_STREAM_INTERFACE - -#ifdef __cplusplus -} -#endif diff --git a/.venv/lib/python3.12/site-packages/pyogrio/core.py b/.venv/lib/python3.12/site-packages/pyogrio/core.py index e826261c..1fa18fa4 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/core.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/core.py @@ -1,24 +1,36 @@ -from pyogrio._env import GDALEnv -from pyogrio.util import get_vsi_path, _preprocess_options_key_value, _mask_to_wkb +"""Core functions to interact with OGR data sources.""" +from pathlib import Path +from typing import Optional, Union + +from pyogrio._env import GDALEnv +from pyogrio.util import ( + _mask_to_wkb, + _preprocess_options_key_value, + get_vsi_path_or_buffer, +) with GDALEnv(): - from pyogrio._ogr import ( - get_gdal_version, - get_gdal_version_string, - get_gdal_geos_version, - ogr_list_drivers, - set_gdal_config_options as _set_gdal_config_options, - get_gdal_config_option as _get_gdal_config_option, - get_gdal_data_path as _get_gdal_data_path, - init_gdal_data as _init_gdal_data, - init_proj_data as _init_proj_data, - remove_virtual_file, - _register_drivers, - _get_drivers_for_path, - ) from pyogrio._err import _register_error_handler from pyogrio._io import ogr_list_layers, ogr_read_bounds, ogr_read_info + from pyogrio._ogr import ( + _get_drivers_for_path, + _register_drivers, + get_gdal_config_option as _get_gdal_config_option, + get_gdal_data_path as _get_gdal_data_path, + get_gdal_geos_version, + get_gdal_version, + get_gdal_version_string, + init_gdal_data as _init_gdal_data, + init_proj_data as _init_proj_data, + ogr_list_drivers, + set_gdal_config_options as _set_gdal_config_options, + ) + from pyogrio._vsi import ( + ogr_vsi_listtree, + ogr_vsi_rmtree, + ogr_vsi_unlink, + ) _init_gdal_data() _init_proj_data() @@ -45,8 +57,8 @@ def list_drivers(read=False, write=False): dict Mapping of driver name to file mode capabilities: ``"r"``: read, ``"w"``: write. Drivers that are available but with unknown support are marked with ``"?"`` - """ + """ drivers = ogr_list_drivers() if read: @@ -59,8 +71,9 @@ def list_drivers(read=False, write=False): def detect_write_driver(path): - """Attempt to infer the driver for a path by extension or prefix. Only - drivers that support write capabilities will be detected. + """Attempt to infer the driver for a path by extension or prefix. + + Only drivers that support write capabilities will be detected. If the path cannot be resolved to a single driver, a ValueError will be raised. @@ -68,11 +81,13 @@ def detect_write_driver(path): Parameters ---------- path : str + data source path Returns ------- str name of the driver, if detected + """ # try to infer driver from path drivers = _get_drivers_for_path(path) @@ -102,22 +117,17 @@ def list_layers(path_or_buffer, /): Parameters ---------- - path : str or pathlib.Path + path_or_buffer : str, pathlib.Path, bytes, or file-like + A dataset path or URI, raw buffer, or file-like object with a read method. Returns ------- ndarray shape (2, n) array of pairs of [, ] Note: geometry is `None` for nonspatial layers. - """ - path, buffer = get_vsi_path(path_or_buffer) - try: - result = ogr_list_layers(path) - finally: - if buffer is not None: - remove_virtual_file(path) - return result + """ + return ogr_list_layers(get_vsi_path_or_buffer(path_or_buffer)) def read_bounds( @@ -138,8 +148,8 @@ def read_bounds( Parameters ---------- - path : pathlib.Path or str - data source path + path_or_buffer : str, pathlib.Path, bytes, or file-like + A dataset path or URI, raw buffer, or file-like object with a read method. layer : int or str, optional (default: first layer) If an integer is provided, it corresponds to the index of the layer with the data source. If a string is provided, it must match the name @@ -176,23 +186,17 @@ def read_bounds( fids are global IDs read from the FID field of the dataset bounds are ndarray of shape(4, n) containing ``xmin``, ``ymin``, ``xmax``, ``ymax`` - """ - path, buffer = get_vsi_path(path_or_buffer) - try: - result = ogr_read_bounds( - path, - layer=layer, - skip_features=skip_features, - max_features=max_features or 0, - where=where, - bbox=bbox, - mask=_mask_to_wkb(mask), - ) - finally: - if buffer is not None: - remove_virtual_file(path) - return result + """ + return ogr_read_bounds( + get_vsi_path_or_buffer(path_or_buffer), + layer=layer, + skip_features=skip_features, + max_features=max_features or 0, + where=where, + bbox=bbox, + mask=_mask_to_wkb(mask), + ) def read_info( @@ -217,9 +221,22 @@ def read_info( driver or if the data source is nonspatial. You can force it to be calculated using the ``force_total_bounds`` parameter. + ``fid_column`` is the name of the FID field in the data source, if the FID is + physically stored (e.g. in GPKG). If the FID is just a sequence, ``fid_column`` + will be "" (e.g. ESRI Shapefile). + + ``geometry_name`` is the name of the field where the main geometry is stored in the + data data source, if the field name can by customized (e.g. in GPKG). If no custom + name is supported, ``geometry_name`` will be "" (e.g. ESRI Shapefile). + + ``encoding`` will be ``UTF-8`` if either the native encoding is likely to be + ``UTF-8`` or GDAL can automatically convert from the detected native encoding + to ``UTF-8``. + Parameters ---------- - path : str or pathlib.Path + path_or_buffer : str, pathlib.Path, bytes, or file-like + A dataset path or URI, raw buffer, or file-like object with a read method. layer : [type], optional Name or index of layer in data source. Reads the first layer by default. encoding : [type], optional (default: None) @@ -240,11 +257,14 @@ def read_info( A dictionary with the following keys:: { + "layer_name": "", "crs": "", "fields": , "dtypes": , "encoding": "", - "geometry": "", + "fid_column": "", + "geometry_name": "", + "geometry_type": "", "features": , "total_bounds": , "driver": "", @@ -252,24 +272,18 @@ def read_info( "dataset_metadata": "" "layer_metadata": "" } - """ - path, buffer = get_vsi_path(path_or_buffer) + """ dataset_kwargs = _preprocess_options_key_value(kwargs) if kwargs else {} - try: - result = ogr_read_info( - path, - layer=layer, - encoding=encoding, - force_feature_count=force_feature_count, - force_total_bounds=force_total_bounds, - dataset_kwargs=dataset_kwargs, - ) - finally: - if buffer is not None: - remove_virtual_file(path) - return result + return ogr_read_info( + get_vsi_path_or_buffer(path_or_buffer), + layer=layer, + encoding=encoding, + force_feature_count=force_feature_count, + force_total_bounds=force_total_bounds, + dataset_kwargs=dataset_kwargs, + ) def set_gdal_config_options(options): @@ -289,8 +303,8 @@ def set_gdal_config_options(options): configuration options. ``True`` / ``False`` are normalized to ``'ON'`` / ``'OFF'``. A value of ``None`` for a config option can be used to clear out a previously set value. - """ + """ _set_gdal_config_options(options) @@ -306,8 +320,8 @@ def get_gdal_config_option(name): ------- value of the option or None if not set ``'ON'`` / ``'OFF'`` are normalized to ``True`` / ``False``. - """ + """ return _get_gdal_config_option(name) @@ -317,5 +331,56 @@ def get_gdal_data_path(): Returns ------- str, or None if data directory was not found + """ return _get_gdal_data_path() + + +def vsi_listtree(path: Union[str, Path], pattern: Optional[str] = None): + """Recursively list the contents of a VSI directory. + + An fnmatch pattern can be specified to filter the directories/files + returned. + + Parameters + ---------- + path : str or pathlib.Path + Path to the VSI directory to be listed. + pattern : str, optional + Pattern to filter results, in fnmatch format. + + """ + if isinstance(path, Path): + path = path.as_posix() + + return ogr_vsi_listtree(path, pattern=pattern) + + +def vsi_rmtree(path: Union[str, Path]): + """Recursively remove VSI directory. + + Parameters + ---------- + path : str or pathlib.Path + path to the VSI directory to be removed. + + """ + if isinstance(path, Path): + path = path.as_posix() + + ogr_vsi_rmtree(path) + + +def vsi_unlink(path: Union[str, Path]): + """Remove a VSI file. + + Parameters + ---------- + path : str or pathlib.Path + path to vsimem file to be removed + + """ + if isinstance(path, Path): + path = path.as_posix() + + ogr_vsi_unlink(path) diff --git a/.venv/lib/python3.12/site-packages/pyogrio/errors.py b/.venv/lib/python3.12/site-packages/pyogrio/errors.py index a17065dc..1e1fd149 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/errors.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/errors.py @@ -1,32 +1,25 @@ -class DataSourceError(RuntimeError): - """Errors relating to opening or closing an OGRDataSource (with >= 1 layers)""" +"""Custom errors.""" - pass + +class DataSourceError(RuntimeError): + """Errors relating to opening or closing an OGRDataSource (with >= 1 layers).""" class DataLayerError(RuntimeError): - """Errors relating to working with a single OGRLayer""" - - pass + """Errors relating to working with a single OGRLayer.""" class CRSError(DataLayerError): - """Errors relating to getting or setting CRS values""" - - pass + """Errors relating to getting or setting CRS values.""" class FeatureError(DataLayerError): - """Errors related to reading or writing a feature""" - - pass + """Errors related to reading or writing a feature.""" class GeometryError(DataLayerError): - """Errors relating to getting or setting a geometry field""" - - pass + """Errors relating to getting or setting a geometry field.""" class FieldError(DataLayerError): - """Errors relating to getting or setting a non-geometry field""" + """Errors relating to getting or setting a non-geometry field.""" diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDAL-targets-release.cmake b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDAL-targets-release.cmake index 03dc8f6c..cb13c4f8 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDAL-targets-release.cmake +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDAL-targets-release.cmake @@ -8,12 +8,12 @@ set(CMAKE_IMPORT_FILE_VERSION 1) # Import target "GDAL::GDAL" for configuration "Release" set_property(TARGET GDAL::GDAL APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE) set_target_properties(GDAL::GDAL PROPERTIES - IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libgdal.so.33.3.7.2" - IMPORTED_SONAME_RELEASE "libgdal.so.33" + IMPORTED_LOCATION_RELEASE "${_IMPORT_PREFIX}/lib/libgdal.so.35.3.9.1" + IMPORTED_SONAME_RELEASE "libgdal.so.35" ) list(APPEND _cmake_import_check_targets GDAL::GDAL ) -list(APPEND _cmake_import_check_files_for_GDAL::GDAL "${_IMPORT_PREFIX}/lib/libgdal.so.33.3.7.2" ) +list(APPEND _cmake_import_check_files_for_GDAL::GDAL "${_IMPORT_PREFIX}/lib/libgdal.so.35.3.9.1" ) # Commands beyond this point should not need to know the version. set(CMAKE_IMPORT_FILE_VERSION) diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDAL-targets.cmake b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDAL-targets.cmake index 9a662354..bcaf2e1c 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDAL-targets.cmake +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDAL-targets.cmake @@ -7,7 +7,7 @@ if(CMAKE_VERSION VERSION_LESS "2.8.3") message(FATAL_ERROR "CMake >= 2.8.3 required") endif() cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) +cmake_policy(VERSION 2.8.3...3.28) #---------------------------------------------------------------- # Generated CMake target import file. #---------------------------------------------------------------- @@ -74,9 +74,12 @@ set(_IMPORT_PREFIX) # Loop over all imported files and verify that they actually exist foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file + if(CMAKE_VERSION VERSION_LESS "3.28" + OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target} + OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}") + foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") + if(NOT EXISTS "${_cmake_file}") + message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file \"${_cmake_file}\" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. @@ -85,8 +88,9 @@ but this file does not exist. Possible reasons include: \"${CMAKE_CURRENT_LIST_FILE}\" but not all the files it references. ") - endif() - endforeach() + endif() + endforeach() + endif() unset(_cmake_file) unset("_cmake_import_check_files_for_${_cmake_target}") endforeach() diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDALConfig.cmake b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDALConfig.cmake index 8fe3dce6..e2afb787 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDALConfig.cmake +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDALConfig.cmake @@ -14,7 +14,6 @@ list(APPEND CMAKE_PROGRAM_PATH "${vcpkg_host_prefix}/tools/pkgconf") include("${CMAKE_CURRENT_LIST_DIR}/DefineFindPackage2.cmake") include("${CMAKE_CURRENT_LIST_DIR}/GdalFindModulePath.cmake") find_dependency(Threads) -find_dependency(PROJ 9 CONFIG) if(DEFINED _gdal_module_path_backup) set(CMAKE_MODULE_PATH "${_gdal_module_path_backup}") diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDALConfigVersion.cmake b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDALConfigVersion.cmake index c0dcce49..8cacf5b6 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDALConfigVersion.cmake +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/GDALConfigVersion.cmake @@ -10,13 +10,13 @@ # The variable CVF_VERSION must be set before calling configure_file(). -set(PACKAGE_VERSION "3.7.2") +set(PACKAGE_VERSION "3.9.1") if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) set(PACKAGE_VERSION_COMPATIBLE FALSE) else() - if("3.7.2" MATCHES "^([0-9]+)\\.([0-9]+)") + if("3.9.1" MATCHES "^([0-9]+)\\.([0-9]+)") set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}") set(CVF_VERSION_MINOR "${CMAKE_MATCH_2}") @@ -27,7 +27,7 @@ else() string(REGEX REPLACE "^0+" "" CVF_VERSION_MINOR "${CVF_VERSION_MINOR}") endif() else() - set(CVF_VERSION_MAJOR "3.7.2") + set(CVF_VERSION_MAJOR "3.9.1") set(CVF_VERSION_MINOR "") endif() diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/bag_template.xml b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/bag_template.xml deleted file mode 100644 index 9f592883..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/bag_template.xml +++ /dev/null @@ -1,201 +0,0 @@ - - - - eng - - - - - ${INDIVIDUAL_NAME:unknown} - - - ${ORGANISATION_NAME:unknown} - - - ${POSITION_NAME:unknown} - - - ${CONTACT_ROLE:author} - - - - - ${DATE} - - - ${METADATA_STANDARD_NAME:ISO 19139} - - - ${METADATA_STANDARD_VERSION:1.1.0} - - - - - 2 - - - - - row - - - ${HEIGHT} - - - ${RESY} - - - - - - - column - - - ${WIDTH} - - - ${RESX} - - - - - point - - - 1 - - - 0 - - - - ${CORNER_POINTS} - - - - center - - - - - - - - - ${HORIZ_WKT} - - - WKT - - - - - - - - - - - ${VERT_WKT:VERT_CS["unknown", VERT_DATUM["unknown", 2000]]} - - - WKT - - - - - - - - ${XML_IDENTIFICATION_CITATION:} - - ${ABSTRACT:} - - - grid - - - - - ${RES} - - - - - eng - - - elevation - - - - - - - ${WEST_LONGITUDE} - - - ${EAST_LONGITUDE} - - - ${SOUTH_LATITUDE} - - - ${NORTH_LATITUDE} - - - - - - - ${VERTICAL_UNCERT_CODE:unknown} - - - - - - - - - dataset - - - - - - - - - ${PROCESS_STEP_DESCRIPTION} - - - ${DATETIME} - - - - - - - - - - - ${RESTRICTION_CODE:otherRestrictions} - - - ${RESTRICTION_OTHER_CONSTRAINTS:unknown} - - - - - - - ${CLASSIFICATION:unclassified} - - - ${SECURITY_USER_NOTE:none} - - - - diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gdalinfo_output.schema.json b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gdalinfo_output.schema.json index 04055fcd..166a490d 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gdalinfo_output.schema.json +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gdalinfo_output.schema.json @@ -176,6 +176,7 @@ } }, "size": { + "$comment": "note that the order of items in side is width,height", "$ref": "#/definitions/arrayOfTwoIntegers" }, "coordinateSystem": { @@ -306,6 +307,7 @@ }, "proj:shape": { + "$comment": "note that the order of items in proj:shape is height,width starting with GDAL 3.8.5 (previous versions ordered it wrongly as width,height)", "title": "Shape", "type": "array", "minItems": 2, diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gdalvrt.xsd b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gdalvrt.xsd index dd77e7fd..9f9a91d7 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gdalvrt.xsd +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gdalvrt.xsd @@ -30,30 +30,76 @@ ****************************************************************************/ --> - - - - - - - - - - - - - - - - - - - - - - + + + Root element + + + + + + + + + + + + May be repeated + + + + + May be repeated + + + + + + Allowed only if subClass="VRTWarpedDataset" + + + + + Allowed only if subClass="VRTPansharpenedDataset" + + + + + Allowed only if subClass="VRTProcessedDataset" + + + + + Allowed only if subClass="VRTProcessedDataset" + + + + + only for multidimensional dataset + + + + + + + + + + + + + + + + + Added in GDAL 3.9 + + + + + @@ -138,6 +184,7 @@ + @@ -145,6 +192,7 @@ + @@ -156,6 +204,51 @@ + + + + + + + + + + + + + + + + + + Processing step of a VRTPansharpenedDataset + + + + + Builtin allowed names are BandAffineCombination, LUT, LocalScaleOffset, Trimming. More algorithms can be registered at run-time. + + + + + + + + + + Argument of a processing function + + + + + + Allowed names are specific of each processing function + + + + + + @@ -187,7 +280,9 @@ + + @@ -230,6 +325,7 @@ + @@ -405,6 +501,21 @@ + + + + + + + + + + + + + + + @@ -435,6 +546,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + @@ -606,4 +742,139 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gmlasconf.xml b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gmlasconf.xml deleted file mode 100644 index 029dade3..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gmlasconf.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - - true - - - - - true - false - - - false - - false - - false - false - false - true - false - - false - true - - - 60 - - true - - true - - - 10 - - - - - - - - swe:values - - - - - - - ifSWENamespaceFoundInTopElement - true - true - - - - - - - - - - - gwml2w:GW_GeologyLog/om:result - - gwml2w:GW_GeologyLogCoverage - - - - - - 10 - - 1048576 - - - - true - RawContent - 1 - false - - - true - - - - true - - - - - - gml:boundedBy - gml32:boundedBy - gml:priorityLocation - gml32:priorityLocation - gml32:descriptionReference/@owns - @xlink:show - @xlink:type - @xlink:role - @xlink:arcrole - @xlink:actuate - @gml:remoteSchema - @gml32:remoteSchema - swe:Quantity/swe:extension - swe:Quantity/@referenceFrame - swe:Quantity/@axisID - swe:Quantity/@updatable - swe:Quantity/@optional - swe:Quantity/@id - swe:Quantity/swe:identifier - - swe:Quantity/swe:label - swe:Quantity/swe:nilValues - swe:Quantity/swe:constraint - swe:Quantity/swe:quality - - - - - 2 - - NATIVE - OGC_URL - WFS2_FEATURECOLLECTION - - http://schemas.opengis.net/wfs/2.0/wfs.xsd - - - diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gmlasconf.xsd b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gmlasconf.xsd deleted file mode 100644 index 35c180e4..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/gmlasconf.xsd +++ /dev/null @@ -1,1066 +0,0 @@ - - - - - - - Configuration of GMLAS driver. - - - - - - - - - Whether downloading remote schemas is allowed. Default is true. - - - - - - - Describe working of schema cache. - - - - - - - - Name of the cache directory. If not specified, this - defaults to $HOME/.gdal/gmlas_xsd_cache. - Ignored if 'enabled' is not true. - - - - - - - - Whether the cache is enabled. Default is true. - - - - - - - - - - Describe option that affect the Xerces schema parser. - - - - - - - - Whether to enable full schema constraint checking, including checking - which may be time-consuming or memory intensive. Currently, - particle unique attribution constraint checking and particle - derivation restriction checking are controlled by this option. - Defaults to true. - - - - - - - Whether to allow multiple schemas with the same namespace - to be imported. - Defaults to false. - - - - - - - - - - - Describe if and how validation of the document against the - schema is done. - - - - - - - - Whether a validation error should prevent dataset - opening. - Ignored if 'enabled' is not true. - Default is false. - - - - - - - - Whether validation is enabled. Default is false. - - - - - - - - - Whether the _ogr_layers_metadata, _ogr_fields_metadata and - _ogr_layer_relationships layers that show how OGR layers and - fields are built from the schemas should be exposed as - available layers. - Default is false. - - - - - - - - Tunable rules that affect how layers and fields are built from - the schema. - - - - - - - - - Whether a 'ogr_pkid' attribute should always be generated, - even if the underlying XML element has a required attribute - of type ID. Turning it to true can be useful if the - uniqueness of such attributes is not trused. - Default is false. - - - - - - - - Whether to remove any OGR layer without any feature, during the - initial scan pass. - Default is false. - - - - - - - - Whether to remove any unused OGR field, during the - initial scan pass. - Default is false. - - - - - - - - Whether OGR array types (StringList, IntegerList, - Integer64List and RealList) can be used to store - repeated values of the corresponding base types. - Default is true. - - - - - - - - Whether xsi:nil="true" should be mapped from/to the OGR - null field state (new in GDAL 2.2). If set to false, then - a XXX_nil field will be added when necessary. If set to true, - then unset and null states are used (but this is not very - convenient when converting to SQL databases where both states - are equivalent). - Default is false. - - - - - - - - Settings specific to documents that import the GML namespace. - - - - - - - - Whether the XML description of a GML geometry should - be stored in a string attribute (whose name is the - element name suffixed by _xml). This is in addition - to storing the geometry as a OGR geometry. - Default is false. - - - - - - - Whether, when dealing with schemas that import the - GML namespace, and that at least one of them has - elements that derive from gml:_Feature or - gml:AbstractFeatureonly, only such elements should be - instantiated as OGR layers, during the first pass that - iterates over top level elements of the imported - schemas. - Note: for technical reasons, other elements may end - up being exposed as OGR layers, but this setting - is a first way of limiting the number of OGR layers. - Default is true. - - - - - - - - - - - Maximum size of layer and field identifiers. If identifiers - are naturally bigger than the limit, a logic truncates - them while ensuring their unicity. - When absent, unlimited size. - - - - - - - - - - - - - Whether layer and field names should be consider equal in a - case insensitive way. This is important for conversion to - Postgres when identifiers are laundered in lower case - Default is true. - - - - - - - - Whether layer and field names should be laundered like the - OGR PostgreSQL driver does by default, ie identifiers put - in lower cases and a few special characters( single quote, - dash, sharp) replaced by underscore. This can help to post- - process the _ogr_layer_relationships layers more easily or, - for write support. - Note: this laundering is safe for other backends as well. - Default is true. - - - - - - - - - - - Maximum number of fields in an element considered - for flattening. - Default is 10. - - - - - - - - XPath of element that will be considered for flattening - even if it has more than MaximumNumberOfFields fields, - or if it is referenced several times by other elements. - Note: other constraints might make it impossible to - flatten it, for example if it has repeated elements. - - - - - - - XPath of element that will NOT be considered for flattening - even if it has less or MaximumNumberOfFields fields. - - - - - - - - - - - Configuration of special processing for elements in - the http://www.opengis.net/swe/2.0 namespace. - - - - - - - - If and how SWE processing is enabled. - Default is ifSWENamespaceFoundInTopElement. - - - - - - - - If the http://www.opengis.net/swe/2.0 - namespace is found, SWE special - processing will be enabled. - - - - - - - - - - - - If swe:DataRecord must be parsed. Default is true. - - - - - - - If swe:DataArray and swe:DataStream must be parsed. - Default is true. - - - - - - - - - - - - - - - - Constraints to specify the types of children of elements of - type xs:anyType. - - - - - - - - - - - - - - - - - - - - - - - - - - - - Rules regarding resolution of xlink:href attributes - - - - - - - - - Timeout in seconds for resolving a HTTP resource. - Default: no timeout or value of GDAL_HTTP_TIMEOUT - configuration option. - - - - - - - - Maximum allowed time for resolving all XLinks in a single - document. - Default: none - - - - - - - - Maximum file size allowed. - Default: 1 MB. - - - - - - - - - - - Name and port of proxy server (server:port syntax) - Default: none or value of GDAL_HTTP_PROXY - configuration option. - - - - - - - - User name and password to use for proxy server - (username:password syntax) - Default: none or value of GDAL_HTTP_PROXYUSERPW - configuration option. - - - - - - - - Proxy authentication method: one of Basic, NTLM, Digest - or Any. - Default: none or value of GDAL_PROXY_AUTH - configuration option. - - - - - - - - Name of the cache directory for resolved documents. - If not specified, this defaults to $HOME/.gdal/gmlas_xlink_resolution_cache. - The cache is only used if enabled in DefaultResolution or - particular URLSpecificResolution rules. - - - - - - - - Default rules that apply for all URLs that are not referenced - by a dedicated URLSpecificResolution rule. - - - - - - - - - Whether downloading remote resources is allowed. - If false, only locally cached resources will be used. - Default is true. - - - - - - - - Resolution mode. Must be XMLRawContent currently - - - - - - - - The content, provided it is of text - nature, is set in a field suffixed with - _raw - - - - - - - - - - - Resolution depth. Must be 1 currently. - - - - - - - - - - - - - - Whether resolved documents should be cached. - Default is false. - - - - - - - - - - Whether default XLink resolution is enabled. - Default is false. - - - - - - - - - - - Particular rule that apply for all URLs starting with - a precise prefix. Setting at least one URLSpecificResolution will cause - a compulsory initial scan of the whole file to be done so - as to identify which xlink:href fields use which URL, so as - to create the relevant OGR fields. - - - - - - - - - URL prefix. All URLs starting with this string will - match this rule. - - - - - - - - Custom HTTP header to send in the GET request. - - - - - - - - HTTP header name - - - - - - - HTTP header value - - - - - - - - - - - Whether downloading remote resources is allowed. - If false, only locally cached resources will be used. - Default is true. - - - - - - - - Resolution mode. - Default is RawContent. - - - - - - - - The content, provided it is of text - nature, is set in a field suffixed with - _rawcontent - - - - - - - The content, assumed to be XML, will be - parsed and fields specified with Field - created. - - - - - - - - - - - Resolution depth. Must be 1 currently. - - - - - - - - - - - - - - Whether resolved documents should be cached. - Default is false. - - - - - - - - Field to create from parsed XML content. Only used - if ResolutionMode = FieldsFromXPath - - - - - - - - Field name - - - - - - - Field type - - - - - - - - - - - - - - - - XPath from the root of the resolved document - from which to extract the value of the field. - Only a restricted subset of the full XPath 1.0 - syntax is supported, namely the abbreviated syntax - with the '//' and '@' axis specifiers. - Valid XPath are for example: - - [ns1:]foo/[ns2:]bar: matches a bar element as a - direct child of a foo element, foo being at any - nesting level in the compared XPath. - - [ns1:foo]/@[ns2:]baz: matches a baz attribute of a - foo element, foo being at any nesting level in - the compared XPath - - [ns1:]foo//[ns2:]bar: matches a bar element as a - direct or indirect child of a foo element, - foo being at any nesting level in the compared - XPath. - - /[ns1:]foo/[ns2:]bar: matches a bar element as a - direct child of a foo element, foo being at the - root level. - - - - - - - - - - - - - - - - Whether xlink:href pointing to internal resources should be - resolved, so as to establish cross-layer relationships. - This options requires to keep in-memory xlink:href values - as well as feature ids, which in the case of really large - documents with many features and/or many cross-references - could consume a lot of RAM. - Default is true. - - - - - - - - - - - - Define elements and attributes that will be ignored when - building OGR layer and field definitions. - - - - - - - - Emit a warning each time an element or attribute is - found in the document parsed, but ignored because - of the ignored XPath defined. - Default is true. - - - - - - - - A XPath against which elements and attributes found - during schema analysis will be compared. If the - XPath of the element/attribute of the schema - matches this XPath, it will be ignored. - Only a restricted subset of the full XPath 1.0 - syntax is supported, namely the abbreviated syntax - with the '//' and '@' axis specifiers. - Valid XPath are for example: - - [ns1:]foo/[ns2:]bar: matches a bar element as a - direct child of a foo element, foo being at any - nesting level in the compared XPath. - - [ns1:foo]/@[ns2:]baz: matches a baz attribute of a - foo element, foo being at any nesting level in - the compared XPath - - [ns1:]foo//[ns2:]bar: matches a bar element as a - direct or indirect child of a foo element, - foo being at any nesting level in the compared - XPath. - - /[ns1:]foo/[ns2:]bar: matches a bar element as a - direct child of a foo element, foo being at the - root level. - - - - - - - - - Emit a warning each time an element or attribute is - found in the document parsed, but ignored because - of the ignored XPath defined. - Override the global setting of the - WarnIfIgnoredXPathFoundInDocInstance element - Default is true. - - - - - - - - - - - - - - Configuration of GMLAS writer - - - - - - - - - Number of spaces used to indent each level of nesting in - XML output. - Default is 2. - - - - - - - - - - - - - Comment to add at top of output XML file. - - - - - - - - Line format. - Default is platform dependant (CR-LF on Windows, LF otherwise) - - - - - - - - Platform dependant (CR-LF on Windows, LF otherwise) - - - - - - - Windows end-of-line style : CR-LF - - - - - - - Unix end-of-line style: LF - - - - - - - - - - - Format to use for srsName attributes on geometries. - Default is OGC_URL. - - - - - - - -srsName will be in the form AUTHORITY_NAME:AUTHORITY_CODE - - - - - - -srsName will be in the form urn:ogc:def:crs:AUTHORITY_NAME::AUTHORITY_CODE - - - - - - -ssrsName will be in the form http://www.opengis.net/def/crs/AUTHORITY_NAME/0/AUTHORITY_CODE - - - - - - - - - - - How to wrap features in a collection. - Default is WFS2_FEATURECOLLECTION - - - - - - - -Use wfs:FeatureCollection / wfs:member wrapping - - - - - - -Use ogr_gmlas:FeatureCollection / ogr_gmlas:featureMember wrapping - - - - - - - - - - - User-specified XML dateTime value for timestamp to use in - wfs:FeatureCollection attribute. - Only valid for WRAPPING=WFS2_FEATURECOLLECTION. - Default is current date-time. - - - - - - - - Path or URL to OGC WFS 2.0 schema. - Only valid for WRAPPING=WFS2_FEATURECOLLECTION. - Default is http://schemas.opengis.net/wfs/2.0/wfs.xsd. - - - - - - - - - - - - - - - - - - - - - - Define optional namespaces prefix/uri tuples with - which to interpret the XPath elements defined - afterwards. - This allows the user to define different rules when - different namespaces in different XML instances map - to the same prefix. E.g documents referencing - different GML versions may use "gml" as - a prefix for "http://www.opengis.net/gml" or - "http://www.opengis.net/gml/3.2", but it might be - desirable to have different exclusion rules. - When comparing the XPath exclusion rules and the - XPath of the elements/attributes of the parsed - documents, and when the namespace of the XPath - exclusion rule has been defined, the URI will be - used as the unambiguous key. Otherwise prefix - matching will be used. - - - - - - - Define a namespaces prefix/uri tuple with - which to interpret the XPath elements - defined afterwards. - - - - - - - Namespace prefix. - - - - - Namespace URI. - - - - - - - - diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/netcdf_config.xsd b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/netcdf_config.xsd deleted file mode 100644 index 5d6acc2a..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/netcdf_config.xsd +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - - - - - Define a layer creation option that applies to all layers. - - - - - Define a global attribute that must be written (or removed) and applies to all layers. - - - - - Define the characteristics of an OGR field / netCDF variable that applies to all layers (that actually uses it) - - - - - Define layer specific settings for layer creaetion options, fields and attributes. - - - - - - - - - - - - - - - - Value to set as attribute, or empty string - to delete an existing attribute - - - - - - - - - - - - - - - - - - Define an attribute that must be written (or removed) from a OGR field / netCDF variable. - - - - - OGR field name. - - - netCDF variable name. When both name - and netcdf_name are set, the OGR field {name} will be written as the - netCDF {netcdf_name} variable. When netcdf_name is set, but name is none, - then the Field definition will match an implicitly created netCDF variable, - such as x/lon, y/lat, z, ... - - - - - Name of the main dimension against which the variable must be indexed. - If not set, the record dimension will be used. Only useful when using - a layer with FeatureType!=Point. - - - - - - - - - Define a layer creation option. Overrides or appended to - existing global layer creation options. - - - - - Define a global attribute that must be written (or removed). - Overrides or appended to existing global attributes. - - - - - Define the characteristics of an OGR field / netCDF variable - (that must exist as an explicit OGR field, or an implicitly created netCDF variable). - Supersedes global Field definition. - - - - - OGR layer name. - - - netCDF group name. - - - - diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/ogrinfo_output.schema.json b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/ogrinfo_output.schema.json index 4d18033c..af23826d 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/ogrinfo_output.schema.json +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/ogrinfo_output.schema.json @@ -149,6 +149,10 @@ }, "comment": { "type": "string" + }, + "timezone": { + "type": "string", + "pattern": "^(localtime|(mixed timezones)|UTC|((\\+|-)[0-9][0-9]:[0-9][0-9]))$" } }, "required": [ @@ -208,8 +212,26 @@ "maxItems": 4 } }, + "extent3D": { + "type": "array", + "items": { + "type": [ + "null", + "number" + ], + "minItems": 6, + "maxItems": 6 + } + }, "coordinateSystem": { - "$ref": "#/definitions/coordinateSystem" + "oneOf": [ + { + "type": "null" + }, + { + "$ref": "#/definitions/coordinateSystem" + } + ] }, "supportedSRSList": { "type": "array", @@ -243,6 +265,18 @@ } ] } + }, + "xyCoordinateResolution": { + "type": "number" + }, + "zCoordinateResolution": { + "type": "number" + }, + "mCoordinateResolution": { + "type": "number" + }, + "coordinatePrecisionFormatSpecificOptions": { + "type": "object" } }, "required": [ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/ogrvrt.xsd b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/ogrvrt.xsd index 6adc7911..d7458319 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/ogrvrt.xsd +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/ogrvrt.xsd @@ -393,6 +393,9 @@ + + + diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/pci_datum.txt b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/pci_datum.txt index 8c96b0e1..68507ea0 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/pci_datum.txt +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/pci_datum.txt @@ -1,67 +1,76 @@ ! -! By email on December 2nd, 2010: +! From https://github.com/OSGeo/gdal/issues/8034, June 30, 2023 ! -! I, Louis Burry, on behalf of PCI Geomatics agree to allow the ellips.txt +! I, Michael Goldberg, on behalf of PCI Geomatics agree to allow the ellips.txt ! and datum.txt file to be distributed under the GDAL open source license. ! -! Louis Burry -! VP Technology & Delivery +! Michael Goldberg +! Development Manager ! PCI Geomatics ! -! NOTE: The range of "D900" to "D998" is set aside for +! +! NOTE: The range of "D950" to "D998" is set aside for ! the use of local customer development. ! ! And the range of "D-90" to "D-98" is set aside for ! the use of local customer development. ! +!For datums using a grid shift file entries are: +!DatumNumber,DatumName,EllipsoidNumber,Location,GridShiftTo,GridShiftFile,GridShiftFile +!If GridShiftTo is negative the shift is reversed +!For datums not using a grid shift file converting to WGS84 using coordinate frame rotation +! (EPSG:9607 which is opposite rotation to EPSG TOWGS84) entries are: +!DatumNumber,DatumName,EllipsoidNumber,XOffset,YOffset,ZOffset,Location,XSigma,YSigma,ZSigma,Doppler,XRotate,YRotate,ZRotate,Scale "DoD World Geodetic System 1984, DMA TR 8350.2" "4 JUL 1997, Third Printing, Includes 3 JAN 2000 Updates" -"D-01","NAD27 (USA, NADCON)","E000","Conterminous U.S.","conus.los","conus.las" -"D-02","NAD83 (USA, NADCON)","E008","Conterminous U.S.","conus.los","conus.las" -"D-03","NAD27 (Canada, NTv1)","E000","Canada","grid.dac" -"D-04","NAD83 (Canada, NTv1)","E008","Canada","grid.dac" -"D-07","NAD27 (USA, NADCON)","E000","Alaska","alaska.los","alaska.las" -"D-08","NAD83 (USA, NADCON)","E008","Alaska","alaska.los","alaska.las" -"D-09","NAD27 (USA, NADCON)","E000","St. George","stgeorge.los","stgeorge.las" -"D-10","NAD83 (USA, NADCON)","E008","St. George","stgeorge.los","stgeorge.las" -"D-11","NAD27 (USA, NADCON)","E000","St. Lawrence","stlrnc.los","stlrnc.las" -"D-12","NAD83 (USA, NADCON)","E008","St. Lawrence","stlrnc.los","stlrnc.las" -"D-13","NAD27 (USA, NADCON)","E000","St. Paul","stpaul.los","stpaul.las" -"D-14","NAD83 (USA, NADCON)","E008","St. Paul","stpaul.los","stpaul.las" -"D-15","Old Hawaiian (USA, NADCON)","E000","Hawaii","hawaii.los","hawaii.las" -"D-16","NAD83 (USA, NADCON)","E008","Hawaii","hawaii.los","hawaii.las" -"D-17","NAD27 (USA, NADCON)","E000","Puerto Rico Virgin Islands","prvi.los","prvi.las" -"D-18","NAD83 (USA, NADCON)","E008","Puerto Rico Virgin Islands","prvi.los","prvi.las" -!"D-19","AGD66 (NTv2)","E014","Australia","A66 National (13.09.01).gsb" -!"D-20","AGD84 (NTv2)","E014","Australia","National 84 (02.07.01).gsb" -!"D-21","GDA94 (from AGD66, NTv2)","E008","Australia","A66 National (13.09.01).gsb" -!"D-22","GDA94 (from AGD84, NTv2)","E008","Australia","National 84 (02.07.01).gsb" -!"D-23","NZGD49 (NTv2)","E004","New Zealand","nzgd2kgrid0005.gsb" -!"D-24","NZGD2000 (NTv2)","E008","New Zealand","nzgd2kgrid0005.gsb" -!"D-66","NAD27 (NTv2)","E000","Quebec","na27scrs.gsb" -!"D-67","NAD83 (SCRS) (NTv2)","E008","Quebec","na27scrs.gsb" -!"D-68","NAD27 (NTv2)","E000","Quebec","na27na83.gsb" -!"D-69","NAD83 (NTv2)","E008","Quebec","na27na83.gsb" -!"D-70","NAD27 (CGQ77) (NTv2)","E000","Quebec","cq77scrs.gsb" -!"D-71","NAD83 (SCRS) (NTv2)","E008","Quebec","cq77scrs.gsb" -!"D-72","NAD27 (CGQ77) (NTv2)","E000","Quebec","cq77na83.gsb" -!"D-73","NAD83 (NTv2)","E008","Quebec","cq77na83.gsb" -!"D-74","NAD83 (NTv2)","E008","Quebec","na83scrs.gsb" -!"D-75","NAD83 (SCRS) (NTv2)","E008","Quebec","na83scrs.gsb" -!"D-76","NAD27 (NTv2)","E000","Saskatchewan","sk27-98.gsb" -!"D-77","NAD83 (CSRS98) (NTv2)","E008","Saskatchewan","sk27-98.gsb" -!"D-78","NAD83 (NTv2)","E008","Saskatchewan","sk83-98.gsb" -!"D-79","NAD83 (CSRS98) (NTv2)","E008","Saskatchewan","sk83-98.gsb" -!"D-80","ATS77 (NTv2)","E910","Nova Scotia","ns778301.gsb" -!"D-81","NAD83 (CSRS98) (NTv2)","E008","Nova Scotia","ns778301.gsb" -!"D-82","ATS77 (NTv2)","E910","Prince Edward Island","pe7783v2.gsb" -!"D-83","NAD83 (CSRS98) (NTv2)","E008","Prince Edward Island","pe7783v2.gsb" -!"D-84","ATS77 (NTv2)","E910","New Brunswick","nb7783v2.gsb" -!"D-85","NAD83 (CSRS98) (NTv2)","E008","New Brunswick","nb7783v2.gsb" -!"D-86","NAD27 (NTv2)","E000","Canada","ntv2_0.gsb" -!"D-87","NAD83 (NTv2)","E008","Canada","ntv2_0.gsb" -!"D-88","NAD27 (1976) (NTv2)","E000","Ontario","may76v20.gsb" -!"D-89","NAD83 (NTv2)","E008","Ontario","may76v20.gsb" +"D-01","NAD27 (USA, NADCON)","E000","Conterminous U.S.","D122","conus.los","conus.las" +"D-02","NAD83 (Deprecated - use D122)","E008",0,0,0,"Conterminous U.S.",2,2,2,354 +"D-03","NAD27 (Canada, NTv1)","E000","Canada","D122","grid.dac" +"D-04","NAD83 (Deprecated - use D122)","E008",0,0,0,"Canada",2,2,2,354 +"D-07","NAD27 (USA, NADCON)","E000","Alaska","D122","alaska.los","alaska.las" +"D-08","NAD83 (Deprecated - use D122)","E008",0,0,0,"Alaska",2,2,2,354 +"D-09","NAD27 (USA, NADCON)","E000","St. George","D122","stgeorge.los","stgeorge.las" +"D-10","NAD83 (Deprecated - use D122)","E008",0,0,0,"St. George",2,2,2,354 +"D-11","NAD27 (USA, NADCON)","E000","St. Lawrence","D122","stlrnc.los","stlrnc.las" +"D-12","NAD83 (Deprecated - use D122)","E008",0,0,0,"St. Lawrence",2,2,2,354 +"D-13","NAD27 (USA, NADCON)","E000","St. Paul","D122","stpaul.los","stpaul.las" +"D-14","NAD83 (Deprecated - use D122)","E008",0,0,0,"St. Paul",2,2,2,354 +"D-15","Old Hawaiian (USA, NADCON)","E000","Hawaii","D122","hawaii.los","hawaii.las" +"D-16","NAD83 (Deprecated - use D122)","E008",0,0,0,"Hawaii",2,2,2,354 +"D-17","NAD27 (USA, NADCON)","E000","Puerto Rico Virgin Islands","D122","prvi.los","prvi.las" +"D-18","NAD83 (Deprecated - use D122)","E008",0,0,0,"Puerto Rico Virgin Islands",2,2,2,354 +"D-21","GDA94 (from AGD66, NTv2)","E008","Australia","D029","A66_National_13_09_01_.gsb" +"D-22","GDA94 (from AGD84, NTv2)","E008","Australia","D030","National_84_02.07.01.gsb" +"D-24","NZGD2000 (NTv2)","E008","New Zealand","D510","nzgd2kgrid0005.gsb" +"D-25","GDA2020 (conformal, from GDA94, NTv2)","E008","Australia","D536","GDA94_GDA2020_conformal.gsb" +"D-26","GDA2020 (conformal and distortion, from GDA94, NTv2)","E008","Australia","D536","GDA94_GDA2020_conformal_and_distortion.gsb" +"D-27","GDA2020 (conformal, from GDA94, NTv2)","E008","Australia (Christmas Island)","D536","GDA94_GDA2020_conformal_christmas_island.gsb" +"D-28","GDA2020 (conformal, from GDA94, NTv2)","E008","Australia (Cocos Islands)","D536","GDA94_GDA2020_conformal_cocos_island.gsb" +"D-55","NAD83 (CSRS 2002) (NTv2)","E008","British Columbia","D122","BC_93_05.gsb" +"D-56","NAD27 (NTv2)","E000","British Columbia","-D-55","BC_27_05.gsb" +"D-57","NAD83 (CSRS) (NTv2)","E008","BC (CRD)","D122","CRD93_00.gsb" +"D-58","NAD27 (NTv2)","E000","BC (CRD)","-D-57","CRD27_00.gsb" +"D-59","NAD83 (CSRS) (NTv2)","E008","BC (Vancouver Island)","D122","NVI93_05.gsb" +"D-62","NAD27 (NTv2)","E000","Ontario (Toronto)","-D-65","TO27CSv1.gsb" +"D-63","NAD27 (NTv2)","E000","Ontario","-D-65","ON27CSv1.gsb" +"D-64","NAD27 (1976) (NTv2)","E000","Ontario","-D-65","ON76CSv1.gsb" +"D-65","NAD83 (CSRS98) (NTv2)","E008","Ontario","D122","ON83CSv1.gsb" +"D-67","NAD83 (SCRS) (NTv2)","E008","Quebec","D-68","na27scrs.gsb" +"D-68","NAD27 (NTv2)","E000","Quebec","-D122","na27na83.gsb" +"D-71","NAD83 (SCRS) (NTv2)","E008","Quebec","D-72","cq77scrs.gsb" +"D-72","NAD27 (CGQ77) (NTv2)","E000","Quebec","D122","cq77na83.gsb" +"D-75","NAD83 (SCRS) (NTv2)","E008","Quebec","D122","na83scrs.gsb" +"D-76","NAD27 (NTv2)","E000","Saskatchewan","-D-79","sk27-98.gsb" +"D-77","NAD27 (NTv2)","E000","Saskatchewan","-D122","sk27-83.gsb" +"D-79","NAD83 (CSRS98) (NTv2)","E008","Saskatchewan","-D122","sk83-98.gsb" +"D-81","NAD83 (CSRS98) (NTv2)","E008","Nova Scotia","D895","ns778301.gsb" +"D-82","ATS77 (NTv2)","E910","Nova Scotia","-D122","GS7783.GSB" +"D-83","NAD83 (CSRS98) (NTv2)","E008","Prince Edward Island","D895","pe7783v2.gsb" +"D-84","NAD83 (CSRS98) (NTv2)","E008","New Brunswick","D122","nb2783v2.gsb" +"D-85","NAD83 (CSRS98) (NTv2)","E008","New Brunswick","D895","nb7783v2.gsb" +"D-86","NAD27 (NTv2)","E000","Canada","-D122","ntv2_0.gsb" +"D-87","NAD83 (CSRS98) (NTv2)","E008","Alberta","D122","ABCSRSV4.DAC" +"D-88","NAD27 (1976) (NTv2)","E000","Ontario","D122","may76v20.gsb" "D800","Normal Sphere","E019",0,0,0,"",0,0,0,0 "D000","WGS 1984","E012",0,0,0,"Global Definition",0,0,0,0 "D001","WGS 1972","E005",0,0,0,"Global Definition",3,3,3,1 @@ -215,7 +224,7 @@ "D149","Provisional S. American 1956","E004",-295,173,-371,"Venezuela",9,14,15,24 "D150","Provisional S. Chilean 1963","E004",16,196,93,"Chile (South, Near 53dS) (Hito XVIII)",25,25,25,2 "D151","Puerto Rico","E000",11,72,-101,"Puerto Rico, Virgin Islands",3,3,3,11 -"D152","Qatar National","E004",-128,-283,22,"Qatar",20,20,20,3 +"D152","Qatar National Datum 1995","E004",-127.78098,-283.37477,21.24081,"Qatar",20,20,20,3 "D153","Qornoq","E004",164,138,-189,"Greenland (South)",25,25,32,2 "D154","Reunion","E004",94,-948,-1262,"Mascarene Islands",25,25,25,1 "D155","Rome 1940","E004",-225,-65,9,"Italy (Sardinia)",25,25,25,1 @@ -225,7 +234,7 @@ "D159","Schwarzeck","E900",616,97,-251,"Namibia",20,20,20,3 "D160","Selvagem Grande 1938","E004",-289,-124,60,"Salvage Islands",25,25,25,1 "D161","SGS 85","E905",3,9,-9,"Soviet Geodetic System 1985",10,10,10,1 -"D162","South American 1969","E907",-57,1,-41,"MEAN Solution,",15,6,9,84 +"D162","South American 1969 (SAD69)","E907",-57,1,-41,"MEAN Solution,",15,6,9,84 "D163","South American 1969","E907",-62,-1,-37,"Argentina",5,5,5,10 "D164","South American 1969","E907",-61,2,-48,"Bolivia",15,15,15,4 "D165","South American 1969 (old)","E907",-60,-2,-41,"Brazil",3,5,5,22 @@ -316,7 +325,7 @@ "D516","SL datum 1999","E006",-0.2933,766.9499,87.7131,"Sri Lanka",0,0,0,0,-0.1957040,-1.6950677,-3.4730161,-0.0393 "D517","Cape (Supercedes D040)","E205",-134.73,-110.92,-292.66,"South Africa",0,0,0,0 "D518","Hartebeesthoek94","E012",0,0,0,"South Africa",0,0,0,0 -"D519","Abidjan 1987","E001",-124.76,53,466.79,"C\uffffte d'Ivoire",0,0,0,0 +"D519","Abidjan 1987","E001",-124.76,53,466.79,"Cote d'Ivoire",0,0,0,0 "D520","Accra","E204",-199,32,322,"Ghana",0,0,0,0 "D521","Azores Central 1948","E004",-104,167,-38,"Azores",0,0,0,0 "D522","Azores Oriental 1940","E004",-203,141,53,"Azores",0,0,0,0 @@ -351,113 +360,171 @@ "D600","D-PAF (Orbits)","E600",0.082,-0.502,-0.224,"Satellite Orbits",0,0,0,0,0.30444,0.04424,0.00609,0.9999999937 "D601","Test Data Set 1","E601",0.071,-0.509,-0.166,"Test 1",0,0,0,0,0.0179,-0.0005,0.0067,0.999999983 "D602","Test Data Set 2","E602",580.0,80.9,399.8,"Test 2",0,0,0,0,0.35,0.1,3.026,1.0000113470025 +"D610","US Standard Datum (USA, NADCON5)","E000","Conterminous U.S.","D611","nadcon5.ussd.nad27.conus.lon.trn.20160901.b","nadcon5.ussd.nad27.conus.lat.trn.20160901.b" +"D611","NAD27 (USA, NADCON5)","E000","Conterminous U.S.","D122","nadcon5.nad27.nad83_1986.conus.lon.trn.20160901.b","nadcon5.nad27.nad83_1986.conus.lat.trn.20160901.b" +"D612","NAD83 (HARN) (USA, NADCON5)","E008","Conterminous U.S.","-D122","nadcon5.nad83_1986.nad83_harn.conus.lon.trn.20160901.b","nadcon5.nad83_1986.nad83_harn.conus.lat.trn.20160901.b" +"D613","NAD83 (FBN) (USA, NADCON5)","E008","Conterminous U.S.","-D612","nadcon5.nad83_harn.nad83_fbn.conus.lon.trn.20160901.b","nadcon5.nad83_harn.nad83_fbn.conus.lat.trn.20160901.b","nadcon5.nad83_harn.nad83_fbn.conus.eht.trn.20160901.b" +"D614","NAD83 (NSRS 2007) (USA, NADCON5)","E008","Conterminous U.S.","-D613","nadcon5.nad83_fbn.nad83_2007.conus.lon.trn.20160901.b","nadcon5.nad83_fbn.nad83_2007.conus.lat.trn.20160901.b","nadcon5.nad83_fbn.nad83_2007.conus.eht.trn.20160901.b" +"D615","NAD83 (2011) (USA, NADCON5)","E008","Conterminous U.S.","-D614","nadcon5.nad83_2007.nad83_2011.conus.lon.trn.20160901.b","nadcon5.nad83_2007.nad83_2011.conus.lat.trn.20160901.b","nadcon5.nad83_2007.nad83_2011.conus.eht.trn.20160901.b" +"D620","Puerto Rico Datum, adjustment of 1940 (USA, NADCON5)","E000","Puerto Rico, Virgin Islands","D122","nadcon5.pr40.nad83_1986.prvi.lon.trn.20160901.b","nadcon5.pr40.nad83_1986.prvi.lat.trn.20160901.b" +"D621","NAD83 (1993) (USA, NADCON5)","E008","Puerto Rico, Virgin Islands","-D122","nadcon5.nad83_1986.nad83_1993.prvi.lon.trn.20160901.b","nadcon5.nad83_1986.nad83_1993.prvi.lat.trn.20160901.b" +"D622","NAD83 (1997) (USA, NADCON5)","E008","Puerto Rico, Virgin Islands","-D621","nadcon5.nad83_1993.nad83_1997.prvi.lon.trn.20160901.b","nadcon5.nad83_1993.nad83_1997.prvi.lat.trn.20160901.b","nadcon5.nad83_1993.nad83_1997.prvi.eht.trn.20160901.b" +"D623","NAD83 (2002) (USA, NADCON5)","E008","Puerto Rico, Virgin Islands","-D622","nadcon5.nad83_1997.nad83_2002.prvi.lon.trn.20160901.b","nadcon5.nad83_1997.nad83_2002.prvi.lat.trn.20160901.b","nadcon5.nad83_1997.nad83_2002.prvi.eht.trn.20160901.b" +"D624","NAD83 (NSRS 2007) (USA, NADCON5)","E008","Puerto Rico, Virgin Islands","-D623","nadcon5.nad83_2002.nad83_2007.prvi.lon.trn.20160901.b","nadcon5.nad83_2002.nad83_2007.prvi.lat.trn.20160901.b","nadcon5.nad83_2002.nad83_2007.prvi.eht.trn.20160901.b" +"D625","NAD83 (2011) (USA, NADCON5)","E008","Puerto Rico, Virgin Islands","-D624","nadcon5.nad83_2007.nad83_2011.prvi.lon.trn.20160901.b","nadcon5.nad83_2007.nad83_2011.prvi.lat.trn.20160901.b","nadcon5.nad83_2007.nad83_2011.prvi.eht.trn.20160901.b" +"D630","Old Hawaiian Datum (USA, NADCON5)","E000","Hawaii","D122","nadcon5.ohd.nad83_1986.hawaii.lon.trn.20160901.b","nadcon5.ohd.nad83_1986.hawaii.lat.trn.20160901.b" +"D631","NAD83 (1993) (USA, NADCON5)","E008","Hawaii","-D122","nadcon5.nad83_1986.nad83_1993.hawaii.lon.trn.20160901.b","nadcon5.nad83_1986.nad83_1993.hawaii.lat.trn.20160901.b" +"D632","NAD83 (PA11) (USA, NADCON5)","E008","Hawaii","-D631","nadcon5.nad83_1993.nad83_pa11.hawaii.lon.trn.20160901.b","nadcon5.nad83_1993.nad83_pa11.hawaii.lat.trn.20160901.b","nadcon5.nad83_1993.nad83_pa11.hawaii.eht.trn.20160901.b" +"D640","NAD27 (USA, NADCON5)","E000","Alaska","D122","nadcon5.nad27.nad83_1986.alaska.lon.trn.20160901.b","nadcon5.nad27.nad83_1986.alaska.lat.trn.20160901.b" +"D641","NAD83 (1992) (USA, NADCON5)","E008","Alaska","-D122","nadcon5.nad83_1986.nad83_1992.alaska.lon.trn.20160901.b","nadcon5.nad83_1986.nad83_1992.alaska.lat.trn.20160901.b" +"D642","NAD83 (NSRS 2007) (USA, NADCON5)","E008","Alaska","-D641","nadcon5.nad83_1992.nad83_2007.alaska.lon.trn.20160901.b","nadcon5.nad83_1992.nad83_2007.alaska.lat.trn.20160901.b","nadcon5.nad83_1992.nad83_2007.alaska.eht.trn.20160901.b" +"D643","NAD83 (2011) (USA, NADCON5)","E008","Alaska","-D642","nadcon5.nad83_2007.nad83_2011.alaska.lon.trn.20160901.b","nadcon5.nad83_2007.nad83_2011.alaska.lat.trn.20160901.b","nadcon5.nad83_2007.nad83_2011.alaska.eht.trn.20160901.b" +"D650","St. Paul 1897 (USA, NADCON5)","E000","St. Paul, Alaska","D651","nadcon5.sp1897.sp1952.stpaul.lon.trn.20160901.b","nadcon5.sp1897.sp1952.stpaul.lat.trn.20160901.b" +"D651","St. Paul 1952 (USA, NADCON5)","E000","St. Paul, Alaska","D122","nadcon5.sp1952.nad83_1986.stpaul.lon.trn.20160901.b","nadcon5.sp1952.nad83_1986.stpaul.lat.trn.20160901.b" +"D652","St. George 1897 (USA, NADCON5)","E000","St. George, Alaska","D653","nadcon5.sg1897.sg1952.stgeorge.lon.trn.20160901.b","nadcon5.sg1897.sg1952.stgeorge.lat.trn.20160901.b" +"D653","St. George 1952 (USA, NADCON5)","E000","St. George, Alaska","D122","nadcon5.sg1952.nad83_1986.stgeorge.lon.trn.20160901.b","nadcon5.sg1952.nad83_1986.stgeorge.lat.trn.20160901.b" +"D654","St. Lawrence 1952 (USA, NADCON5)","E000","St. Lawrence, Alaska","D122","nadcon5.sl1952.nad83_1986.stlawrence.lon.trn.20160901.b","nadcon5.sl1952.nad83_1986.stlawrence.lat.trn.20160901.b" +"D660","American Samoa 1962 (USA, NADCON5)","E000","American Samoa","D122","nadcon5.as62.nad83_1993.as.lon.trn.20160901.b","nadcon5.as62.nad83_1993.as.lat.trn.20160901.b" +"D661","NAD83 (2002) (USA, NADCON5)","E008","American Samoa","-D122","nadcon5.nad83_1993.nad83_2002.as.lon.trn.20160901.b","nadcon5.nad83_1993.nad83_2002.as.lat.trn.20160901.b","nadcon5.nad83_1993.nad83_2002.as.eht.trn.20160901.b" +"D662","NAD83 (PA11) (USA, NADCON5)","E008","American Samoa","-D661","nadcon5.nad83_2002.nad83_pa11.as.lon.trn.20160901.b","nadcon5.nad83_2002.nad83_pa11.as.lat.trn.20160901.b","nadcon5.nad83_2002.nad83_pa11.as.eht.trn.20160901.b" +"D670","Guam 1963 (USA, NADCON5)","E000","Guam and the Commonwealth of the Northern Mariana Islands","D122","nadcon5.gu63.nad83_1993.guamcnmi.lon.trn.20160901.b","nadcon5.gu63.nad83_1993.guamcnmi.lat.trn.20160901.b" +"D671","NAD83 (2002) (USA, NADCON5)","E008","Guam and the Commonwealth of the Northern Mariana Islands","-D122","nadcon5.nad83_1993.nad83_2002.guamcnmi.lon.trn.20160901.b","nadcon5.nad83_1993.nad83_2002.guamcnmi.lat.trn.20160901.b","nadcon5.nad83_1993.nad83_2002.guamcnmi.eht.trn.20160901.b" +"D672","NAD83 (MA11) (USA, NADCON5)","E008","Guam and the Commonwealth of the Northern Mariana Islands","-D671","nadcon5.nad83_2002.nad83_ma11.guamcnmi.lon.trn.20160901.b","nadcon5.nad83_2002.nad83_ma11.guamcnmi.lat.trn.20160901.b","nadcon5.nad83_2002.nad83_ma11.guamcnmi.eht.trn.20160901.b" "D700","MODIS","E700",0,0,0,"Global Definition",0,0,0,0 -"D701","NAD83 (USA, NADCON)","E008","Alabama","alhpgn.los","alhpgn.las" -"D702","NAD83 HARN (USA, NADCON)","E008","Alabama","alhpgn.los","alhpgn.las" -"D703","NAD83 (USA, NADCON)","E008","Arkansas","arhpgn.los","arhpgn.las" -"D704","NAD83 HARN (USA, NADCON)","E008","Arkansas","arhpgn.los","arhpgn.las" -"D705","NAD83 (USA, NADCON)","E008","Arizona","azhpgn.los","azhpgn.las" -"D706","NAD83 HARN (USA, NADCON)","E008","Arizona","azhpgn.los","azhpgn.las" -"D707","NAD83 (USA, NADCON)","E008","California (North of 37dN)","cnhpgn.los","cnhpgn.las" -"D708","NAD83 HARN (USA, NADCON)","E008","California (North of 37dN)","cnhpgn.los","cnhpgn.las" -"D709","NAD83 (USA, NADCON)","E008","California (South of 37dN)","cshpgn.los","cshpgn.las" -"D710","NAD83 HARN (USA, NADCON)","E008","California (South of 37dN)","cshpgn.los","cshpgn.las" -"D711","NAD83 (USA, NADCON)","E008","Colorado","cohpgn.los","cohpgn.las" -"D712","NAD83 HARN (USA, NADCON)","E008","Colorado","cohpgn.los","cohpgn.las" -"D713","NAD83 (USA, NADCON)","E008","Florida","flhpgn.los","flhpgn.las" -"D714","NAD83 HARN (USA, NADCON)","E008","Florida","flhpgn.los","flhpgn.las" -"D715","NAD83 (USA, NADCON)","E008","Georgia","gahpgn.los","gahpgn.las" -"D716","NAD83 HARN (USA, NADCON)","E008","Georgia","gahpgn.los","gahpgn.las" -"D717","Guam 1963 (USA, NADCON)","E000","Guam","guhpgn.los","guhpgn.las" -"D718","NAD83 HARN (USA, NADCON)","E008","Guam","guhpgn.los","guhpgn.las" -"D719","NAD83 (USA, NADCON)","E008","Hawaii","hihpgn.los","hihpgn.las" -"D720","NAD83 HARN (USA, NADCON)","E008","Hawaii","hihpgn.los","hihpgn.las" -"D721","NAD83 (USA, NADCON)","E008","Idaho-Montana (East of 113dW)","emhpgn.los","emhpgn.las" -"D722","NAD83 HARN (USA, NADCON)","E008","Idaho-Montana (East of 113dW)","emhpgn.los","emhpgn.las" -"D723","NAD83 (USA, NADCON)","E008","Idaho-Montana (West of 113dW)","wmhpgn.los","wmhpgn.las" -"D724","NAD83 HARN (USA, NADCON)","E008","Idaho-Montana (West of 113dW)","wmhpgn.los","wmhpgn.las" -"D725","NAD83 (USA, NADCON)","E008","Iowa","iahpgn.los","iahpgn.las" -"D726","NAD83 HARN (USA, NADCON)","E008","Iowa","iahpgn.los","iahpgn.las" -"D727","NAD83 (USA, NADCON)","E008","Illinois","ilhpgn.los","ilhpgn.las" -"D728","NAD83 HARN (USA, NADCON)","E008","Illinois","ilhpgn.los","ilhpgn.las" -"D729","NAD83 (USA, NADCON)","E008","Indiana","inhpgn.los","inhpgn.las" -"D730","NAD83 HARN (USA, NADCON)","E008","Indiana","inhpgn.los","inhpgn.las" -"D731","NAD83 (USA, NADCON)","E008","Kansas","kshpgn.los","kshpgn.las" -"D732","NAD83 HARN (USA, NADCON)","E008","Kansas","kshpgn.los","kshpgn.las" -"D733","NAD83 (USA, NADCON)","E008","Kentucky","kyhpgn.los","kyhpgn.las" -"D734","NAD83 HARN (USA, NADCON)","E008","Kentucky","kyhpgn.los","kyhpgn.las" -"D735","NAD83 (USA, NADCON)","E008","Louisiana","lahpgn.los","lahpgn.las" -"D736","NAD83 HARN (USA, NADCON)","E008","Louisiana","lahpgn.los","lahpgn.las" -"D737","NAD83 (USA, NADCON)","E008","Maryland-Delaware","mdhpgn.los","mdhpgn.las" -"D738","NAD83 HARN (USA, NADCON)","E008","Maryland-Delaware","mdhpgn.los","mdhpgn.las" -"D739","NAD83 (USA, NADCON)","E008","Maine","mehpgn.los","mehpgn.las" -"D740","NAD83 HARN (USA, NADCON)","E008","Maine","mehpgn.los","mehpgn.las" -"D741","NAD83 (USA, NADCON)","E008","Michigan","mihpgn.los","mihpgn.las" -"D742","NAD83 HARN (USA, NADCON)","E008","Michigan","mihpgn.los","mihpgn.las" -"D743","NAD83 (USA, NADCON)","E008","Minnesota","mnhpgn.los","mnhpgn.las" -"D744","NAD83 HARN (USA, NADCON)","E008","Minnesota","mnhpgn.los","mnhpgn.las" -"D745","NAD83 (USA, NADCON)","E008","Mississippi","mshpgn.los","mshpgn.las" -"D746","NAD83 HARN (USA, NADCON)","E008","Mississippi","mshpgn.los","mshpgn.las" -"D747","NAD83 (USA, NADCON)","E008","Missouri","mohpgn.los","mohpgn.las" -"D748","NAD83 HARN (USA, NADCON)","E008","Missouri","mohpgn.los","mohpgn.las" -"D749","NAD83 (USA, NADCON)","E008","Nebraska","nbhpgn.los","nbhpgn.las" -"D750","NAD83 HARN (USA, NADCON)","E008","Nebraska","nbhpgn.los","nbhpgn.las" -"D751","NAD83 (USA, NADCON)","E008","Nevada","nvhpgn.los","nvhpgn.las" -"D752","NAD83 HARN (USA, NADCON)","E008","Nevada","nvhpgn.los","nvhpgn.las" -"D753","NAD83 (USA, NADCON)","E008","New England (CT,MA,NH,RI,VT)","nehpgn.los","nehpgn.las" -"D754","NAD83 HARN (USA, NADCON)","E008","New England (CT,MA,NH,RI,VT)","nehpgn.los","nehpgn.las" -"D755","NAD83 (USA, NADCON)","E008","New Jersey","njhpgn.los","njhpgn.las" -"D756","NAD83 HARN (USA, NADCON)","E008","New Jersey","njhpgn.los","njhpgn.las" -"D757","NAD83 (USA, NADCON)","E008","New Mexico","nmhpgn.los","nmhpgn.las" -"D758","NAD83 HARN (USA, NADCON)","E008","New Mexico","nmhpgn.los","nmhpgn.las" -"D759","NAD83 (USA, NADCON)","E008","New York","nyhpgn.los","nyhpgn.las" -"D760","NAD83 HARN (USA, NADCON)","E008","New York","nyhpgn.los","nyhpgn.las" -"D761","NAD83 (USA, NADCON)","E008","North Carolina","nchpgn.los","nchpgn.las" -"D762","NAD83 HARN (USA, NADCON)","E008","North Carolina","nchpgn.los","nchpgn.las" -"D763","NAD83 (USA, NADCON)","E008","North Dakota","ndhpgn.los","ndhpgn.las" -"D764","NAD83 HARN (USA, NADCON)","E008","North Dakota","ndhpgn.los","ndhpgn.las" -"D765","NAD83 (USA, NADCON)","E008","Ohio","ohhpgn.los","ohhpgn.las" -"D766","NAD83 HARN (USA, NADCON)","E008","Ohio","ohhpgn.los","ohhpgn.las" -"D767","NAD83 (USA, NADCON)","E008","Oklahoma","okhpgn.los","okhpgn.las" -"D768","NAD83 HARN (USA, NADCON)","E008","Oklahoma","okhpgn.los","okhpgn.las" -"D769","NAD83 (USA, NADCON)","E008","Pennsylvania","pahpgn.los","pahpgn.las" -"D770","NAD83 HARN (USA, NADCON)","E008","Pennsylvania","pahpgn.los","pahpgn.las" -"D771","NAD83 (USA, NADCON)","E008","Puerto Rico-Virgin Is","pvhpgn.los","pvhpgn.las" -"D772","NAD83 HARN (USA, NADCON)","E008","Puerto Rico-Virgin Is","pvhpgn.los","pvhpgn.las" -"D773","American Samoa 1962 (USA, NADCON)","E000","Samoa (Eastern Islands)","eshpgn.los","eshpgn.las" -"D774","NAD83 HARN (USA, NADCON)","E008","Samoa (Eastern Islands)","eshpgn.los","eshpgn.las" -"D775","American Samoa 1962 (USA, NADCON)","E000","Samoa (Western Islands)","wshpgn.los","wshpgn.las" -"D776","NAD83 HARN (USA, NADCON)","E008","Samoa (Western Islands)","wshpgn.los","wshpgn.las" -"D777","NAD83 (USA, NADCON)","E008","South Carolina","schpgn.los","schpgn.las" -"D778","NAD83 HARN (USA, NADCON)","E008","South Carolina","schpgn.los","schpgn.las" -"D779","NAD83 (USA, NADCON)","E008","South Dakota","sdhpgn.los","sdhpgn.las" -"D780","NAD83 HARN (USA, NADCON)","E008","South Dakota","sdhpgn.los","sdhpgn.las" -"D781","NAD83 (USA, NADCON)","E008","Tennessee","tnhpgn.los","tnhpgn.las" -"D782","NAD83 HARN (USA, NADCON)","E008","Tennessee","tnhpgn.los","tnhpgn.las" -"D783","NAD83 (USA, NADCON)","E008","Texas (East of 100dW)","ethpgn.los","ethpgn.las" -"D784","NAD83 HARN (USA, NADCON)","E008","Texas (East of 100dW)","ethpgn.los","ethpgn.las" -"D785","NAD83 (USA, NADCON)","E008","Texas (West of 100dW)","wthpgn.los","wthpgn.las" -"D786","NAD83 HARN (USA, NADCON)","E008","Texas (West of 100dW)","wthpgn.los","wthpgn.las" -"D787","NAD83 (USA, NADCON)","E008","Utah","uthpgn.los","uthpgn.las" -"D788","NAD83 HARN (USA, NADCON)","E008","Utah","uthpgn.los","uthpgn.las" -"D789","NAD83 (USA, NADCON)","E008","Virginia","vahpgn.los","vahpgn.las" -"D790","NAD83 HARN (USA, NADCON)","E008","Virginia","vahpgn.los","vahpgn.las" -"D791","NAD83 (USA, NADCON)","E008","Washington-Oregon","wohpgn.los","wohpgn.las" -"D792","NAD83 HARN (USA, NADCON)","E008","Washington-Oregon","wohpgn.los","wohpgn.las" -"D793","NAD83 (USA, NADCON)","E008","West Virginia","wvhpgn.los","wvhpgn.las" -"D794","NAD83 HARN (USA, NADCON)","E008","West Virginia","wvhpgn.los","wvhpgn.las" -"D795","NAD83 (USA, NADCON)","E008","Wisconsin","wihpgn.los","wihpgn.las" -"D796","NAD83 HARN (USA, NADCON)","E008","Wisconsin","wihpgn.los","wihpgn.las" -"D797","NAD83 (USA, NADCON)","E008","Wyoming","wyhpgn.los","wyhpgn.las" -"D798","NAD83 HARN (USA, NADCON)","E008","Wyoming","wyhpgn.los","wyhpgn.las" -"D886","Reseau Geodesique Francais 1993","E899",-752,-358,-179,"Taiwan",0,0,0,0,-0.0000011698,0.0000018398,0.0000009822,0.00002329 -"D887","Reseau National Belge 1972","E899",-752,-358,-179,"Taiwan",0,0,0,0,-0.0000011698,0.0000018398,0.0000009822,0.00002329 +"D701","NAD83 (Deprecated - use D122)","E008",0,0,0,"Alabama",2,2,2,354 +"D702","NAD83 HARN (USA, NADCON)","E008","Alabama","D122","alhpgn.los","alhpgn.las" +"D703","NAD83 (Deprecated - use D122)","E008",0,0,0,"Arkansas",2,2,2,354 +"D704","NAD83 HARN (USA, NADCON)","E008","Arkansas","D122","arhpgn.los","arhpgn.las" +"D705","NAD83 (Deprecated - use D122)","E008",0,0,0,"Arizona",2,2,2,354 +"D706","NAD83 HARN (USA, NADCON)","E008","Arizona","D122","azhpgn.los","azhpgn.las" +"D707","NAD83 (Deprecated - use D122)","E008",0,0,0,"California (North of 37dN)",2,2,2,354 +"D708","NAD83 HARN (USA, NADCON)","E008","California (North of 37dN)","D122","cnhpgn.los","cnhpgn.las" +"D709","NAD83 (Deprecated - use D122)","E008",0,0,0,"California (South of 37dN)",2,2,2,354 +"D710","NAD83 HARN (USA, NADCON)","E008","California (South of 37dN)","D122","cshpgn.los","cshpgn.las" +"D711","NAD83 (Deprecated - use D122)","E008",0,0,0,"Colorado",2,2,2,354 +"D712","NAD83 HARN (USA, NADCON)","E008","Colorado","D122","cohpgn.los","cohpgn.las" +"D713","NAD83 (Deprecated - use D122)","E008",0,0,0,"Florida",2,2,2,354 +"D714","NAD83 HARN (USA, NADCON)","E008","Florida","D122","flhpgn.los","flhpgn.las" +"D715","NAD83 (Deprecated - use D122)","E008",0,0,0,"Georgia",2,2,2,354 +"D716","NAD83 HARN (USA, NADCON)","E008","Georgia","D122","gahpgn.los","gahpgn.las" +"D717","Guam 1963 (Deprecated - use D068)","E000",-100,-248,259,"Guam",3,3,3,5 +"D718","NAD83 HARN (USA, NADCON)","E008","Guam","D068","guhpgn.los","guhpgn.las" +"D719","NAD83 (Deprecated - use D122)","E008",0,0,0,"Hawaii",2,2,2,354 +"D720","NAD83 HARN (USA, NADCON)","E008","Hawaii","D122","hihpgn.los","hihpgn.las" +"D721","NAD83 (Deprecated - use D122)","E008",0,0,0,"Idaho-Montana (East of 113dW)",2,2,2,354 +"D722","NAD83 HARN (USA, NADCON)","E008","Idaho-Montana (East of 113dW)","D122","emhpgn.los","emhpgn.las" +"D723","NAD83 (Deprecated - use D122)","E008",0,0,0,"Idaho-Montana (West of 113dW)",2,2,2,354 +"D724","NAD83 HARN (USA, NADCON)","E008","Idaho-Montana (West of 113dW)","D122","wmhpgn.los","wmhpgn.las" +"D725","NAD83 (Deprecated - use D122)","E008",0,0,0,"Iowa",2,2,2,354 +"D726","NAD83 HARN (USA, NADCON)","E008","Iowa","D122","iahpgn.los","iahpgn.las" +"D727","NAD83 (Deprecated - use D122)","E008",0,0,0,"Illinois",2,2,2,354 +"D728","NAD83 HARN (USA, NADCON)","E008","Illinois","D122","ilhpgn.los","ilhpgn.las" +"D729","NAD83 (Deprecated - use D122)","E008",0,0,0,"Indiana",2,2,2,354 +"D730","NAD83 HARN (USA, NADCON)","E008","Indiana","D122","inhpgn.los","inhpgn.las" +"D731","NAD83 (Deprecated - use D122)","E008",0,0,0,"Kansas",2,2,2,354 +"D732","NAD83 HARN (USA, NADCON)","E008","Kansas","D122","kshpgn.los","kshpgn.las" +"D733","NAD83 (Deprecated - use D122)","E008",0,0,0,"Kentucky",2,2,2,354 +"D734","NAD83 HARN (USA, NADCON)","E008","Kentucky","D122","kyhpgn.los","kyhpgn.las" +"D735","NAD83 (Deprecated - use D122)","E008",0,0,0,"Louisiana",2,2,2,354 +"D736","NAD83 HARN (USA, NADCON)","E008","Louisiana","D122","lahpgn.los","lahpgn.las" +"D737","NAD83 (Deprecated - use D122)","E008",0,0,0,"Maryland-Delaware",2,2,2,354 +"D738","NAD83 HARN (USA, NADCON)","E008","Maryland-Delaware","D122","mdhpgn.los","mdhpgn.las" +"D739","NAD83 (Deprecated - use D122)","E008",0,0,0,"Maine",2,2,2,354 +"D740","NAD83 HARN (USA, NADCON)","E008","Maine","D122","mehpgn.los","mehpgn.las" +"D741","NAD83 (Deprecated - use D122)","E008",0,0,0,"Michigan",2,2,2,354 +"D742","NAD83 HARN (USA, NADCON)","E008","Michigan","D122","mihpgn.los","mihpgn.las" +"D743","NAD83 (Deprecated - use D122)","E008",0,0,0,"Minnesota",2,2,2,354 +"D744","NAD83 HARN (USA, NADCON)","E008","Minnesota","D122","mnhpgn.los","mnhpgn.las" +"D745","NAD83 (Deprecated - use D122)","E008",0,0,0,"Mississippi",2,2,2,354 +"D746","NAD83 HARN (USA, NADCON)","E008","Mississippi","D122","mshpgn.los","mshpgn.las" +"D747","NAD83 (Deprecated - use D122)","E008",0,0,0,"Missouri",2,2,2,354 +"D748","NAD83 HARN (USA, NADCON)","E008","Missouri","D122","mohpgn.los","mohpgn.las" +"D749","NAD83 (Deprecated - use D122)","E008",0,0,0,"Nebraska",2,2,2,354 +"D750","NAD83 HARN (USA, NADCON)","E008","Nebraska","D122","nbhpgn.los","nbhpgn.las" +"D751","NAD83 (Deprecated - use D122)","E008",0,0,0,"Nevada",2,2,2,354 +"D752","NAD83 HARN (USA, NADCON)","E008","Nevada","D122","nvhpgn.los","nvhpgn.las" +"D753","NAD83 (Deprecated - use D122)","E008",0,0,0,"New England (CT,MA,NH,RI,VT",2,2,2,354 +"D754","NAD83 HARN (USA, NADCON)","E008","New England (CT,MA,NH,RI,VT)","D122","nehpgn.los","nehpgn.las" +"D755","NAD83 (Deprecated - use D122)","E008",0,0,0,"New Jersey",2,2,2,354 +"D756","NAD83 HARN (USA, NADCON)","E008","New Jersey","D122","njhpgn.los","njhpgn.las" +"D757","NAD83 (Deprecated - use D122)","E008",0,0,0,"New Mexico",2,2,2,354 +"D758","NAD83 HARN (USA, NADCON)","E008","New Mexico","D122","nmhpgn.los","nmhpgn.las" +"D759","NAD83 (Deprecated - use D122)","E008",0,0,0,"New York",2,2,2,354 +"D760","NAD83 HARN (USA, NADCON)","E008","New York","D122","nyhpgn.los","nyhpgn.las" +"D761","NAD83 (Deprecated - use D122)","E008",0,0,0,"North Carolina",2,2,2,354 +"D762","NAD83 HARN (USA, NADCON)","E008","North Carolina","D122","nchpgn.los","nchpgn.las" +"D763","NAD83 (Deprecated - use D122)","E008",0,0,0,"North Dakota",2,2,2,354 +"D764","NAD83 HARN (USA, NADCON)","E008","North Dakota","D122","ndhpgn.los","ndhpgn.las" +"D765","NAD83 (Deprecated - use D122)","E008",0,0,0,"Ohio",2,2,2,354 +"D766","NAD83 HARN (USA, NADCON)","E008","Ohio","D122","ohhpgn.los","ohhpgn.las" +"D767","NAD83 (Deprecated - use D122)","E008",0,0,0,"Oklahoma",2,2,2,354 +"D768","NAD83 HARN (USA, NADCON)","E008","Oklahoma","D122","okhpgn.los","okhpgn.las" +"D769","NAD83 (Deprecated - use D122)","E008",0,0,0,"Pennsylvania",2,2,2,354 +"D770","NAD83 HARN (USA, NADCON)","E008","Pennsylvania","D122","pahpgn.los","pahpgn.las" +"D771","NAD83 (Deprecated - use D122)","E008",0,0,0,"Puerto Rico-Virgin Is",2,2,2,354 +"D772","NAD83 HARN (USA, NADCON)","E008","Puerto Rico-Virgin Is","D122","pvhpgn.los","pvhpgn.las" +"D773","American Samoa 1962 (Deprecated - use D189)","E000",-115,118,426,"Samoa (Eastern Islands)",25,25,25,2 +"D774","NAD83 HARN (USA, NADCON)","E008","Samoa (Eastern Islands)","D189","eshpgn.los","eshpgn.las" +"D775","American Samoa 1962 (Deprecated - use D189)","E000",-115,118,426,"Samoa (Western Islands)",25,25,25,2 +"D776","NAD83 HARN (USA, NADCON)","E008","Samoa (Western Islands)","D189","wshpgn.los","wshpgn.las" +"D777","NAD83 (Deprecated - use D122)","E008",0,0,0,"South Carolina",2,2,2,354 +"D778","NAD83 HARN (USA, NADCON)","E008","South Carolina","D122","schpgn.los","schpgn.las" +"D779","NAD83 (Deprecated - use D122)","E008",0,0,0,"South Dakota",2,2,2,354 +"D780","NAD83 HARN (USA, NADCON)","E008","South Dakota","D122","sdhpgn.los","sdhpgn.las" +"D781","NAD83 (Deprecated - use D122)","E008",0,0,0,"Tennessee",2,2,2,354 +"D782","NAD83 HARN (USA, NADCON)","E008","Tennessee","D122","tnhpgn.los","tnhpgn.las" +"D783","NAD83 (Deprecated - use D122)","E008",0,0,0,"Texas (East of 100dW)",2,2,2,354 +"D784","NAD83 HARN (USA, NADCON)","E008","Texas (East of 100dW)","D122","ethpgn.los","ethpgn.las" +"D785","NAD83 (Deprecated - use D122)","E008",0,0,0,"Texas (West of 100dW)",2,2,2,354 +"D786","NAD83 HARN (USA, NADCON)","E008","Texas (West of 100dW)","D122","wthpgn.los","wthpgn.las" +"D787","NAD83 (Deprecated - use D122)","E008",0,0,0,"Utah",2,2,2,354 +"D788","NAD83 HARN (USA, NADCON)","E008","Utah","D122","uthpgn.los","uthpgn.las" +"D789","NAD83 (Deprecated - use D122)","E008",0,0,0,"Virginia",2,2,2,354 +"D790","NAD83 HARN (USA, NADCON)","E008","Virginia","D122","vahpgn.los","vahpgn.las" +"D791","NAD83 (Deprecated - use D122)","E008",0,0,0,"Washington-Oregon",2,2,2,354 +"D792","NAD83 HARN (USA, NADCON)","E008","Washington-Oregon","D122","wohpgn.los","wohpgn.las" +"D793","NAD83 (Deprecated - use D122)","E008",0,0,0,"West Virginia",2,2,2,354 +"D794","NAD83 HARN (USA, NADCON)","E008","West Virginia","D122","wvhpgn.los","wvhpgn.las" +"D795","NAD83 (Deprecated - use D122)","E008",0,0,0,"Wisconsin",2,2,2,354 +"D796","NAD83 HARN (USA, NADCON)","E008","Wisconsin","D122","wihpgn.los","wihpgn.las" +"D797","NAD83 (Deprecated - use D122)","E008",0,0,0,"Wyoming",2,2,2,354 +"D798","NAD83 HARN (USA, NADCON)","E008","Wyoming","D122","wyhpgn.los","wyhpgn.las" "D888","Lebanon Stereographic","E012",154.2668777,107.2190767,-263.01161212,"Lebanon",0,0,0,0,0.310716,0.218736,0.191232,0.99999913 "D889","Lebanon Lambert","E202",190.9999,133.32473,-232.8391,"Lebanon",0,0,0,0,0.307836,0.216756,0.189036,0.9995341 "D890","Luxembourg (LUREF)","E004",-192.986,13.673,-39.309,"Luxembourg",0,0,0,0,0.409900,2.933200,-2.688100,1.00000043 "D891","Datum 73","E004",-223.237,110.193,36.649,"Portugal",0,0,0,0 "D892","Datum Lisboa","E004",-304.046,-60.576,103.640,"Portugal",0,0,0,0 "D893","PDO Survey Datum 1993","E001",-180.624,-225.516,173.919,"Oman",0,0,0,0,0.80970,1.89755,-8.33604,16.71006 -"D894","WGS 1984 semi-major","E020",0,0,0,"WGS 1984 Auxiliary Sphere semi-major axis",0,0,0,0 "D898","TWD97","E008",0,0,0,"Taiwan",0,0,0,0,0.0,0.0,0.0,0.0 "D899","TWD67","E899",-752,-358,-179,"Taiwan",0,0,0,0,-0.0000011698,0.0000018398,0.0000009822,0.00002329 +"D886","Reseau Geodesique Francais 1993","E899",-752,-358,-179,"France",0,0,0,0,-0.0000011698,0.0000018398,0.0000009822,0.00002329 +"D887","Reseau National Belge 1972","E899",-752,-358,-179,"Belgium",0,0,0,0,-0.0000011698,0.0000018398,0.0000009822,0.00002329 +"D819","Xian 1980","E224",0,0,0,"China",0,0,0,0,0,0,0,0 +"D820","Korea 2000","E008",0.0,0.0,0.0,"South Korea",0,0,0,0 +"D821","Pulkovo 1995","E015",24.47,-130.89,-81.56,"Russian Federation",0,0,0,0,0,0,-0.13,-0.22 +"D822","Beijing 1954","E015",15.8,-154.4,-82.3,"China",0,0,0,0 +"D823","Stockholm 1938 (RT38)","E002",0.0,0.0,0.0,"Sweden",0,0,0,0 +"D824","Greenland 1996 (GR96)","E008",0.0,0.0,0.0,"Greenland",0,0,0,0 +"D825","Libyan Geodetic Datum 2006 (LGD2006)","E004",-208.406,-109.878,-2.5764,"Libya",0,0,0,0 +"D826","Reseau Geodesique de la Polynesie Francaise (RGPF)","E008",0.072,-0.507,-0.245,"French Polynesia",0,0,0,0,0.0183,-0.0003,0.007,-0.0093 +"D827","IGC 1962 6th Parallel South","E001",0.0,0.0,0.0,"Democratic Republic of the Congo - adjacent to 6th parallel south",0,0,0,0 +"D828","Geodetic Datum of Malaysia (GDM)","E008",0.0,0.0,0.0,"Malaysia",0,0,0,0 +"D829","New Beijing","E015",0.0,0.0,0.0,"China",0,0,0,0 +"D830","Turkish National Reference Frame (TUKREF)","E008",0.0,0.0,0.0,"Turkey",0,0,0,0 +"D831","Bhutan National Geodetic Datum (DRUKREF)","E008",0.0,0.0,0.0,"Bhutan",0,0,0,0 +"D832","Ukraine 2000","E015",0.0,0.0,0.0,"Ukraine",0,0,0,0 +"D833","Japanese Geodetic Datum 2011 (JGD2011)","E008",0.0,0.0,0.0,"Japan",0,0,0,0 +"D834","Posiciones Geodesicas Argentinas 1998 (POSGAR 98)","E008",0.0,0.0,0.0,"Argentina",0,0,0,0 +"D835","Posiciones Geodesicas Argentinas 1994 (POSGAR 94)","E012",0.0,0.0,0.0,"Argentina",0,0,0,0 +"D836","Posiciones Geodesicas Argentinas 2007 (POSGAR 07)","E008",0.0,0.0,0.0,"Argentina",0,0,0,0 +"D837","Datum Geodesi Nasional 1995 (DGN95)","E012",0.0,0.0,0.0,"Indonesia",0,0,0,0 +"D838","Korea 1995","E012",0.0,0.0,0.0,"South Korea",0,0,0,0 +"D839","Institut Geographique du Congo Belge (IGCB) 1955","E001",-79.9,-158,-168.9,"The Democratic Republic of the Congo (Zaire) - Lower Congo",0,0,0,0 +"D894","WGS 1984 semi-major","E020",0,0,0,"WGS 1984 Auxiliary Sphere semi-major axis",0,0,0,0 +"D895","ATS77","E910",-95.323,166.098,-69.942,"Maritime Provinces",0,0,0,0,0.215,1.031,-0.047,1.922 +"D896","GosatCAIL1B+ EarthRadius","E025",0,0,0,"GosatCAIL1B+ EarthRadius",0,0,0,0 +"D897","Myanmar","E227",247,785,277,"Myanmar",0,0,0,0 +"D900","China 2000","E231",0,0,0,"China 2000",0,0,0,0 +"D901","Nouvelle Triangulation Francaise (grid shift)","E202","France","-D350","ntf_r93.gsb" +"D902","PRS92","E000",-127.62153,-67.24339,-47.04738,"Philippines Reference System 1992",0,0,0,0,3.06803,-4.90297,-1.57807,-1.06002 +"D903","North American 1983 2011","E008",0,0,0,"Alaska, Canada, CONUS, Central America, Mexico",2,2,2,354 diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/pci_ellips.txt b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/pci_ellips.txt index d0cc6464..ff6ae298 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/pci_ellips.txt +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/pci_ellips.txt @@ -1,57 +1,69 @@ ! -! By email on December 2nd, 2010: +! From https://github.com/OSGeo/gdal/issues/8034, June 30, 2023 ! -! I, Louis Burry, on behalf of PCI Geomatics agree to allow the ellips.txt +! I, Michael Goldberg, on behalf of PCI Geomatics agree to allow the ellips.txt ! and datum.txt file to be distributed under the GDAL open source license. ! -! Louis Burry -! VP Technology & Delivery +! Michael Goldberg +! Development Manager ! PCI Geomatics ! +! PCI Ellipsoid Database +! ---------------------- +! This file lists the different reference ellipsoids that may +! be used by PCI coordinate systems. Ellipsoid entries in datum.txt +! refer to entries in this file. +! +! Each ellipsoid is listed on a single line. The format of each record +! is as follows: +! +! Ellipsoid_code, Description_string, Semimajor_axis_m, Semiminor_axis_m [,extra comments] +! +! Ellipsoid_code is the code that uniquely identifies the ellipsoid +! within PCI software +! Description_string is a short description that helps users to identify +! the ellipsoid. It may be listed, for example, in a dropdown list in +! a PCI dialog box. +! Semimajor_axis_m is the ellipsoid semi-major (equatorial) axis length in metres. +! Semiminor_axis_m is the ellipsoid semi-minor (polar) axis length in metres. +! +! Any extra fields may be added after these four elements if desired; they will +! not be read by PCI software but may be helpful for the user. ! ! NOTE: The range of "E908" to "E998" is set aside for ! the use of local customer development. ! -"E009","Airy 1830",6377563.396,6356256.91 -"E011","Modified Airy",6377340.189,6356034.448 -"E910","ATS77",6378135.0,6356750.304922 -"E014","Australian National 1965",6378160.,6356774.719 -"E002","Bessel 1841",6377397.155,6356078.96284 -"E900","Bessel 1841 (Namibia)",6377483.865,6356165.382966 -"E333","Bessel 1841 (Japan By Law)",6377397.155,6356078.963 "E000","Clarke 1866",6378206.4,6356583.8 "E001","Clarke 1880 (RGS)",6378249.145,6356514.86955 -"E202","Clarke 1880 (IGN, France)",6378249.2,6356515.0 -"E006","Everest (India 1830)",6377276.3452,6356075.4133 -"E010","Everest (W. Malaysia and Singapore 1948)",6377304.063,6356103.039 -"E901","Everest (India 1956)",6377301.243,6356100.228368 -"E902","Everest (W. Malaysia 1969)",6377295.664,6356094.667915 -"E903","Everest (E. Malaysia and Brunei)",6377298.556,6356097.550301 -"E201","Everest (Pakistan)",6377309.613,6356108.570542 -"E017","Fischer 1960",6378166.,6356784.283666 -"E013","Modified Fischer 1960",6378155.,6356773.3205 -"E018","Fischer 1968",6378150.,6356768.337303 -"E008","GRS 1980",6378137.,6356752.31414 -"E904","Helmert 1906",6378200.,6356818.169628 -"E016","Hough 1960",6378270.,6356794.343479 -"E200","Indonesian 1974",6378160.,6356774.504086 -"E004","International 1924",6378388.,6356911.94613 -"E203","IUGG 67",6378160.,6356774.516090714 -"E015","Krassovsky 1940",6378245.,6356863.0188 -"E700","MODIS (Sphere from WGS84)",6371007.181,6371007.181 +"E002","Bessel 1841",6377397.155,6356078.96284 "E003","New International 1967",6378157.5,6356772.2 -"E019","Normal Sphere",6370997.,6370997. -"E905","SGS 85",6378136.,6356751.301569 -"E907","South American 1969",6378160.,6356774.719 -"E906","WGS 60",6378165.,6356783.286959 -"E007","WGS 66",6378145.,6356759.769356 +"E004","International 1924",6378388.,6356911.94613 "E005","WGS 72",6378135.,6356750.519915 +"E006","Everest (India 1830)",6377276.3452,6356075.4133 +"E007","WGS 66",6378145.,6356759.769356 +"E008","GRS 1980",6378137.,6356752.31414 +"E009","Airy 1830",6377563.396,6356256.91 +"E010","Everest (W. Malaysia and Singapore 1948)",6377304.063,6356103.039 +"E011","Modified Airy",6377340.189,6356034.448 "E012","WGS 84",6378137.,6356752.314245 +"E013","Modified Fischer 1960",6378155.,6356773.3205 +"E014","Australian National 1965",6378160.,6356774.719 +"E015","Krassovsky 1940",6378245.,6356863.0188 +"E016","Hough 1960",6378270.,6356794.343479 +"E017","Fischer 1960",6378166.,6356784.283666 +"E018","Fischer 1968",6378150.,6356768.337303 +"E019","Normal Sphere",6370997.,6370997. "E020","WGS 84 semimajor axis",6378137.,6378137. -"E600","D-PAF (Orbits)",6378144.0,6356759.0 -"E601","Test Data Set 1",6378144.0,6356759.0 -"E602","Test Data Set 2",6377397.2,6356079.0 -"E204","War Office",6378300.583,6356752.270 +"E021","WGS 84 semiminor axis",6356752.314245,6356752.314245 +"E022","Clarke 1866 Authalic Sphere", 6370997.000000, 6370997.000000 +"E023","GRS 1980 Authalic Sphere", 6371007.000000, 6371007.000000 +"E024","International 1924 Authalic Sphere", 6371228.000000, 6371228.000000 +"E025","GosatCAIL1B+ EarthRadius",6371008.77138,6371008.77138 +"E200","Indonesian 1974",6378160.,6356774.504086 +"E201","Everest (Pakistan)",6377309.613,6356108.570542 +"E202","Clarke 1880 (IGN, France)",6378249.2,6356515.0 +"E203","IUGG 67",6378160.,6356774.516090714 +"E204","War Office",6378300.000,6356751.689189 "E205","Clarke 1880 Arc",6378249.145,6356514.966 "E206","Bessel Modified",6377492.018,6356173.5087 "E207","Clarke 1858",6378293.639,6356617.98149 @@ -61,17 +73,57 @@ "E211","Everest Modified",6377304.063,6356103.039 "E212","Modified Everest 1969",6377295.664,6356094.668 "E213","Everest (1967 Definition)",6377298.556,6356097.550 -"E214","Clarke 1880 (Benoit)",6378300.79,6356566.43 +"E214","Clarke 1880 (Benoit)",6378300.789000,6356566.435000 "E215","Clarke 1880 (SGA)",6378249.2,6356515.0 "E216","Everest (1975 Definition)",6377299.151,6356098.1451 "E217","GEM 10C",6378137,6356752.31414 "E218","OSU 86F",6378136.2,6356751.516672 "E219","OSU 91A",6378136.3,6356751.6163367 "E220","Sphere",6371000,6371000 -"E221","Struve 1860",6378297,6356655.847 +"E221","Struve 1860",6378298.300000,6356657.142670 "E222","Walbeck",6376896,6355834.847 "E223","Plessis 1817",6376523,6355862.933 "E224","Xian 1980",6378140.0,6356755.288 "E225","EMEP Sphere",6370000,6370000 "E226","Everest (India and Nepal)",6377301.243,6356100.228368 +"E227","Everest (1830 Definition)", 6377299.365595, 6356098.359005,"EPSG:7042" +"E228","Danish 1876", 6377019.270000, 6355762.539100 +"E229","Bessel Namibia (GLM)", 6377483.865280, 6356165.383246 +"E230","PZ-90", 6378136.000000, 6356751.361746 +"E231","CGCS2000", 6378137.000000, 6356752.314140 +"E232","IAG 1975", 6378140.000000, 6356755.288158 +"E233","NWL 9D", 6378145.000000, 6356759.769489 +"E234","Hughes 1980", 6378273.000000, 6356889.449000 +"E235","Clarke 1880 (international foot)", 6378306.369600, 6356571.996000 +"E236","Clarke 1866 Michigan", 6378450.047549, 6356826.621488 +"E237","APL 4.5 (1968)", 6378144.000000, 6356757.338698 +"E238","Airy (War Office)", 6377542.178, 6356235.764 +"E239","Clarke 1858 (DIGEST)", 6378235.600, 6356560.140 +"E240","Clarke 1880 (Palestine)", 6378300.782, 6356566.427 +"E241","Clarke 1880 (Syria)", 6378247.842, 6356513.671 +"E242","Clarke 1880 (Fiji)", 6378301.000, 6356566.548 +"E243","Andrae", 6377104.430, 6355847.415 +"E244","Delambre 1810", 6376985.228, 6356323.664 +"E245","Delambre (Carte de France)", 6376985.000, 6356323.436 +"E246","Germaine (Djibouti)", 6378284.000, 6356589.156 +"E247","Hayford 1909", 6378388.000, 6356909.000 +"E248","Krayenhoff 1827", 6376950.400, 6356356.341 +"E249","Plessis Reconstituted", 6376523.994, 6355862.907 +"E250","GRS 1967", 6378160.000, 6356774.516 +"E251","Svanberg", 6376797.000, 6355837.971 +"E252","Walbeck 1819 (Planheft 1942)", 6376895.000, 6355834.000 +"E333","Bessel 1841 (Japan By Law)",6377397.155,6356078.963 +"E600","D-PAF (Orbits)",6378144.0,6356759.0 +"E601","Test Data Set 1",6378144.0,6356759.0 +"E602","Test Data Set 2",6377397.2,6356079.0 +"E700","MODIS (Sphere from WGS84)",6371007.181,6371007.181 "E899","GRS 1967 Modified",6378160.,6356774.719195306 +"E900","Bessel 1841 (Namibia)",6377483.865,6356165.382966 +"E901","Everest (India 1956)",6377301.243,6356100.228368 +"E902","Everest (W. Malaysia 1969)",6377295.664,6356094.667915 +"E903","Everest (E. Malaysia and Brunei)",6377298.556,6356097.550301 +"E904","Helmert 1906",6378200.,6356818.169628 +"E905","SGS 85",6378136.,6356751.301569 +"E906","WGS 60",6378165.,6356783.286959 +"E907","South American 1969",6378160.,6356774.719 +"E910","ATS77",6378135.0,6356750.304922 diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/template_tiles.mapml b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/template_tiles.mapml deleted file mode 100644 index 11366e15..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/template_tiles.mapml +++ /dev/null @@ -1,28 +0,0 @@ - - - states - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/vcpkg.spdx.json b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/vcpkg.spdx.json index 96aaec7b..d9d81b3e 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/vcpkg.spdx.json +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/gdal-x64-linux-dynamic-3.7.2-fd4cb879-6dde-45a2-9a33-51a5568717bc", - "name": "gdal:x64-linux-dynamic@3.7.2 d752f0ae62cbfd7d85fb923d58f88ea3dff3d13eb45f8b3b3b7590b841a97f64", + "documentNamespace": "https://spdx.org/spdxdocs/gdal-x64-linux-dynamic-release-3.9.1-b1c6bf63-bc86-4c2d-b1b0-814c8558dd6b", + "name": "gdal:x64-linux-dynamic-release@3.9.1 e8268937ca64c8e9b62f162b1b1582b4046b026c9768bde14b60a485a2ae04d0", "creationInfo": { "creators": [ - "Tool: vcpkg-ac02a9f660977426b8ec6392919fbb1d51b10998" + "Tool: vcpkg-2024-06-10-02590c430e4ed9215d27870138c2e579cc338772" ], - "created": "2023-10-25T19:08:40Z" + "created": "2024-09-28T15:35:11Z" }, "relationships": [ { @@ -117,8 +117,8 @@ { "name": "gdal", "SPDXID": "SPDXRef-port", - "versionInfo": "3.7.2", - "downloadLocation": "git+https://github.com/Microsoft/vcpkg@d01864aaa21a85e1e8f7bb6748d607e953c52e77", + "versionInfo": "3.9.1", + "downloadLocation": "git+https://github.com/Microsoft/vcpkg@65b271a32a93a9dfa4dfd3905fcd0b5388926f81", "homepage": "https://gdal.org", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", @@ -127,9 +127,9 @@ "comment": "This is the port (recipe) consumed by vcpkg." }, { - "name": "gdal:x64-linux-dynamic", + "name": "gdal:x64-linux-dynamic-release", "SPDXID": "SPDXRef-binary", - "versionInfo": "d752f0ae62cbfd7d85fb923d58f88ea3dff3d13eb45f8b3b3b7590b841a97f64", + "versionInfo": "e8268937ca64c8e9b62f162b1b1582b4046b026c9768bde14b60a485a2ae04d0", "downloadLocation": "NONE", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", @@ -139,70 +139,34 @@ { "SPDXID": "SPDXRef-resource-1", "name": "OSGeo/gdal", - "downloadLocation": "git+https://github.com/OSGeo/gdal@v3.7.2", + "downloadLocation": "git+https://github.com/OSGeo/gdal@v3.9.1", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "95b0dee07a616c8fb26ded2c538a6933ba070c0567e88af9356daea9b1df6c910edb4fcf55766839c1873829d20948b1714b3e2285e5ac57de8fcf0970ff53ff" + "checksumValue": "d9ab5d94dc870df17b010166d3ebbe897a1f673ba05bf31cd4bed437b6db303dd9e373ba5099d3a191ff3e48c995556fb5bcc77d03d975614df4aa20a2c2b085" } ] } ], "files": [ { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/libkml.patch", + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/65b271a32a93a9dfa4dfd3905fcd0b5388926f81/cmake-project-include.cmake", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "fe888df8a7c9e468cdd87640c025f48f165d5264af1fa20604bd60859e6f000f" + "checksumValue": "60c0f79155c78ec0ec4ccdc77e00f4613ae4630c6697f51f884bf8f979a48593" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/fix-jpeg.patch", + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/65b271a32a93a9dfa4dfd3905fcd0b5388926f81/usage", "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "28a04f01c92e6b99a5e918f38333c8245089a6ba2f67191e9fbc54288cfa941e" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/vcpkg.json", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "2a27cd0721793c5e2a4e66a834f3cf25f76ffafc178e1d6d703fba9e78139bd4" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/cmake-project-include.cmake", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "71c0138c71e6286cf8391e562775d853d3a29f5d58597ecc1b47a8bfb8b6412c" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/usage", - "SPDXID": "SPDXRef-file-4", "checksums": [ { "algorithm": "SHA256", @@ -213,44 +177,68 @@ "copyrightText": "NOASSERTION" }, { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/vcpkg-cmake-wrapper.cmake", + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/65b271a32a93a9dfa4dfd3905fcd0b5388926f81/portfile.cmake", + "SPDXID": "SPDXRef-file-2", + "checksums": [ + { + "algorithm": "SHA256", + "checksumValue": "92a0c437215b5fed404a2deb00ade3a8cfb4da00c518af38525a3194a7d89c1a" + } + ], + "licenseConcluded": "NOASSERTION", + "copyrightText": "NOASSERTION" + }, + { + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/65b271a32a93a9dfa4dfd3905fcd0b5388926f81/libkml.patch", + "SPDXID": "SPDXRef-file-3", + "checksums": [ + { + "algorithm": "SHA256", + "checksumValue": "fe888df8a7c9e468cdd87640c025f48f165d5264af1fa20604bd60859e6f000f" + } + ], + "licenseConcluded": "NOASSERTION", + "copyrightText": "NOASSERTION" + }, + { + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/65b271a32a93a9dfa4dfd3905fcd0b5388926f81/vcpkg.json", + "SPDXID": "SPDXRef-file-4", + "checksums": [ + { + "algorithm": "SHA256", + "checksumValue": "71bb644d1501bdc16fbe5e88a45a27c478bee667cbace588c569de28778c89ff" + } + ], + "licenseConcluded": "NOASSERTION", + "copyrightText": "NOASSERTION" + }, + { + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/65b271a32a93a9dfa4dfd3905fcd0b5388926f81/find-link-libraries.patch", "SPDXID": "SPDXRef-file-5", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "c507eaa077072e9877607fd5f70381eebf19900661e2e1fd099d84c4df1b8c24" + "checksumValue": "043cbdd6298fce33c29d128241470b71990dc13eb63bfa44b3d82b17f5384468" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/portfile.cmake", + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/65b271a32a93a9dfa4dfd3905fcd0b5388926f81/target-is-valid.patch", "SPDXID": "SPDXRef-file-6", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "47aff7e31c70f25ca782b23c4e93004c989cd346d0d18ea9737545283779573f" + "checksumValue": "6a369356c57860f97bd756d3604e7219774e2bfe5c74e5e0178496fad253900f" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/find-link-libraries.patch", + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/65b271a32a93a9dfa4dfd3905fcd0b5388926f81/fix-gdal-target-interfaces.patch", "SPDXID": "SPDXRef-file-7", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "9e390300ab79cf6fef1bb009416346a1f98d4946cb14c71ee4ea46217e3cb9d2" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/d01864aaa21a85e1e8f7bb6748d607e953c52e77/fix-gdal-target-interfaces.patch", - "SPDXID": "SPDXRef-file-8", "checksums": [ { "algorithm": "SHA256", @@ -259,6 +247,18 @@ ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" + }, + { + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/gdal/65b271a32a93a9dfa4dfd3905fcd0b5388926f81/vcpkg-cmake-wrapper.cmake", + "SPDXID": "SPDXRef-file-8", + "checksums": [ + { + "algorithm": "SHA256", + "checksumValue": "c507eaa077072e9877607fd5f70381eebf19900661e2e1fd099d84c4df1b8c24" + } + ], + "licenseConcluded": "NOASSERTION", + "copyrightText": "NOASSERTION" } ] } diff --git a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/vcpkg_abi_info.txt b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/vcpkg_abi_info.txt index 84276d28..5bfbbdd0 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/vcpkg_abi_info.txt +++ b/.venv/lib/python3.12/site-packages/pyogrio/gdal_data/vcpkg_abi_info.txt @@ -1,40 +1,41 @@ -cmake 3.27.5 -cmake-project-include.cmake 71c0138c71e6286cf8391e562775d853d3a29f5d58597ecc1b47a8bfb8b6412c -curl 5a630f18174e3f39ad6a88df7c3b93b2270527ea4b19fc579305505d17b83995 -expat 228e0fb7f10543ebd712496b6753032264bca5578f884828afc127fab3390dda -features core;curl;expat;geos;jpeg;lerc;png;qhull;recommended-features;sqlite3 -find-link-libraries.patch 9e390300ab79cf6fef1bb009416346a1f98d4946cb14c71ee4ea46217e3cb9d2 +cmake 3.30.2 +cmake-project-include.cmake 60c0f79155c78ec0ec4ccdc77e00f4613ae4630c6697f51f884bf8f979a48593 +curl 4e47bc89fe251262d304424d5c2aeb86c9a8f6c51a1d681c442b1a0db952b8a4 +expat 815990947db743a709c88ac9ccf40e997a4087a99e4011e4dd34444c4495fc81 +features core;curl;expat;geos;iconv;jpeg;lerc;png;qhull;recommended-features;sqlite3 +find-link-libraries.patch 043cbdd6298fce33c29d128241470b71990dc13eb63bfa44b3d82b17f5384468 fix-gdal-target-interfaces.patch 9dbe9d5e0dbc3a21370bb3560aa32811d10cc0b19e4b6833cd7258699d206215 -fix-jpeg.patch 28a04f01c92e6b99a5e918f38333c8245089a6ba2f67191e9fbc54288cfa941e -geos 920fd3a55a353e2d9d88cb0618bd0c36a8267c0ebfc07040d23936f6c5c547aa -json-c f3d5a2cb0c9fc5e3943d79b3df488062d4d4f4d08848112981dccd98af07baf1 -lerc ecbbf653c8f0c796f0e18f83b37c3a00214094f3b1e62f49811f25acae70b45c -libgeotiff b1d6e140841757188fe532584a6715de807b842b54ffdd36387db879ad121d0c -libjpeg-turbo a5587f913fdc8c6b5ac389f48cc735eb1882a56795a0660c88aeafbdfdb8a2f7 +geos 61c16e5774041fdf25de7838da49c82db9de6ffdc3c5a1e182b4dbed7748fabd +json-c 9375368151ef1286f2fd07b33caa9d471bb5abc0a4549fd003a6812b127283a9 +lerc 80a8808cf75be908d9cd81fa00a1d62fdcc92429f854ea53370ba3f5ed4a935f +libgeotiff 9721aa3a8b06025a3313d5ad64bc0cf95fe8346e785af55acb89a41c8051de8f +libiconv 8eecbe3acd145f92af4ca65174d4aedab696257f04f1c4938b8ab33672bce8ca +libjpeg-turbo a09c75aa61f38fa0fad85aaccd7cdfdbf37b06fab24c1b6b7b3ade75f0fe688d libkml.patch fe888df8a7c9e468cdd87640c025f48f165d5264af1fa20604bd60859e6f000f -libpng 0fa3ac702656db863ab18f963a80ca498ad751ef376a3aa3c708468165bb3e24 -pkgconf ed402270d63bd046d62d402f30cdb50abc6c646b796a474d8dc44f0bac1d7e7e -portfile.cmake 47aff7e31c70f25ca782b23c4e93004c989cd346d0d18ea9737545283779573f -ports.cmake 5a8e00cedff0c898b1f90f7d129329d0288801bc9056562b039698caf31ff3f3 +libpng b2bee40b469cacf950388bfc93cf6b17ed6abfc8399eeec44934d212e3b4ffbc +pkgconf cd4b3b9f880b4bb762f4d4c665166831469e8c35e12fc7b6b20efd4706267920 +portfile.cmake 92a0c437215b5fed404a2deb00ade3a8cfb4da00c518af38525a3194a7d89c1a +ports.cmake 3581688c16865b2026d28240d7c6257b848475ffc9fe81b3f3d304973253cf5e post_build_checks 2 -proj 790c2ab7942a33c34846f162796b4ea27574760fbde47656105c33d7f285ebbd -qhull f3c02cfbdd9202c9c9354ec017b09596818e230d68a1a4a1f8d439fe3032a37f -sqlite3 f86216823174c16c16ed1d33c1038759b2027189388633132d575e70d97656c8 -tiff c271063333073276f88917c961b3c1e15d42746004d329004ffcb4a0dc3e5dae -triplet x64-linux-dynamic -triplet_abi 96ce2ff9564a8b4b9a180f0ffb82b6584a706982ae668e328ffc092ba334721f-b3b2cd43408edc7b2c5525859d9730edbfba2e4068956c6607a21d0abdaef072-ca0d0c5903d7f43fb3dd8f702ecaa82569b715ec +proj 7a1ad719fa19418b0ccf3e6bb837ab34ed4fcc99911f810a598dfc0a2960b42c +qhull f68e9ff8accf8dcf841dd957a4c04c9272f5d722a065c6620c4b94258e7f3d9e +sqlite3 47c85d0bed92146a407dcc0edb61d0f4f8a20556dd62a6206bf5d42ced880e30 +target-is-valid.patch 6a369356c57860f97bd756d3604e7219774e2bfe5c74e5e0178496fad253900f +tiff 34d0c3db5c2929ab6f7b2a999fc538b38e2836eeb877278f2f017fee015eb5c3 +triplet x64-linux-dynamic-release +triplet_abi 96ce2ff9564a8b4b9a180f0ffb82b6584a706982ae668e328ffc092ba334721f-8f20f723a25e9787363b95fcfd14b63d82b71ac3e295a73c97d09e681decb90c-7fb5c0e06a13ccc6d1603dc7d10780c1a92b2b78 usage c85584261e2011a94b86f04c3a28dd2e165c9e6b47677a9bee26a3d387bc05f2 -vcpkg-cmake a433c5e70a35b07c67b910e7a8b1c55f3863c3927c2e874d56544673dfb5774f -vcpkg-cmake-config fe2f5adbb708be2b9a7caa1e73549d92dd41b68173ed2f187aad834b217b4491 +vcpkg-cmake c66dd076f3f67e579e976f89b74e524cdedfc182bb5cad640717708f93b8c6a0 +vcpkg-cmake-config f7f14b802b782cd918b1e9be7c6580ffb50136c5ac6f65c0a5b78c4e0466820d vcpkg-cmake-wrapper.cmake c507eaa077072e9877607fd5f70381eebf19900661e2e1fd099d84c4df1b8c24 -vcpkg-pkgconfig-get-modules 305bd6e7c5f056e620624e480170fd917f1959a43458eda008ea05c647f86171 -vcpkg.json 2a27cd0721793c5e2a4e66a834f3cf25f76ffafc178e1d6d703fba9e78139bd4 +vcpkg-pkgconfig-get-modules 535080c47934c9c171b4c747ee6a8698cd07d537b23401640ef849130d8f0c3b +vcpkg.json 71bb644d1501bdc16fbe5e88a45a27c478bee667cbace588c569de28778c89ff vcpkg_check_features 943b217e0968d64cf2cb9c272608e6a0b497377e792034f819809a79e1502c2b vcpkg_copy_pdbs d57e4f196c82dc562a9968c6155073094513c31e2de475694143d3aa47954b1c vcpkg_copy_tools 3d45ff761bddbabe8923b52330168dc3abd295fa469d3f2e47cb14dce85332d5 -vcpkg_fixup_pkgconfig 588d833ff057d3ca99c14616c7ecfb5948b5e2a9e4fc02517dceb8b803473457 -vcpkg_from_git 8f27bff0d01c6d15a3e691758df52bfbb0b1b929da45c4ebba02ef76b54b1881 +vcpkg_fixup_pkgconfig 1a15f6c6d8e2b244d83a7514a0412d339127d2217d1df60ad1388b546c85f777 +vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f vcpkg_install_copyright ba6c169ab4e59fa05682e530cdeb883767de22c8391f023d4e6844a7ec5dd3d2 -vcpkg_replace_string d43c8699ce27e25d47367c970d1c546f6bc36b6df8fb0be0c3986eb5830bd4f1 -zlib 2985ad8fb9f4ed298ef24f8add79f28cb17d4695c50e6bc7d3c786fed960a9cf +vcpkg_replace_string b450deb79207478b37119743e00808ebc42de0628e7b98c14ab24728bd5c78b8 +zlib 33478f2ce98419fe311bf0f5c7b232a77f47e3be443479f1ecb95e79acdf75ba diff --git a/.venv/lib/python3.12/site-packages/pyogrio/geopandas.py b/.venv/lib/python3.12/site-packages/pyogrio/geopandas.py index 9aa6f8e6..11672b25 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/geopandas.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/geopandas.py @@ -1,24 +1,24 @@ +"""Functions for reading and writing GeoPandas dataframes.""" + import os +import warnings import numpy as np -from pyogrio._compat import HAS_GEOPANDAS, PANDAS_GE_15, PANDAS_GE_20 +from pyogrio._compat import HAS_GEOPANDAS, PANDAS_GE_15, PANDAS_GE_20, PANDAS_GE_22 +from pyogrio.errors import DataSourceError from pyogrio.raw import ( - DRIVERS_NO_MIXED_SINGLE_MULTI, DRIVERS_NO_MIXED_DIMENSIONS, - detect_write_driver, + DRIVERS_NO_MIXED_SINGLE_MULTI, + _get_write_path_driver, read, read_arrow, write, ) -from pyogrio.errors import DataSourceError -import warnings def _stringify_path(path): - """ - Convert path-like to a string if possible, pass-through other objects - """ + """Convert path-like to a string if possible, pass-through other objects.""" if isinstance(path, str): return path @@ -33,10 +33,12 @@ def _stringify_path(path): def _try_parse_datetime(ser): import pandas as pd # only called when pandas is known to be installed - if PANDAS_GE_20: - datetime_kwargs = dict(format="ISO8601", errors="ignore") + if PANDAS_GE_22: + datetime_kwargs = {"format": "ISO8601"} + elif PANDAS_GE_20: + datetime_kwargs = {"format": "ISO8601", "errors": "ignore"} else: - datetime_kwargs = dict(yearfirst=True) + datetime_kwargs = {"yearfirst": True} with warnings.catch_warnings(): warnings.filterwarnings( "ignore", @@ -48,10 +50,13 @@ def _try_parse_datetime(ser): try: res = pd.to_datetime(ser, **datetime_kwargs) except Exception: - pass + res = ser # if object dtype, try parse as utc instead if res.dtype == "object": - res = pd.to_datetime(ser, utc=True, **datetime_kwargs) + try: + res = pd.to_datetime(ser, utc=True, **datetime_kwargs) + except Exception: + pass if res.dtype != "object": # GDAL only supports ms precision, convert outputs to match. @@ -82,10 +87,12 @@ def read_dataframe( sql_dialect=None, fid_as_index=False, use_arrow=None, + on_invalid="raise", arrow_to_pandas_kwargs=None, **kwargs, ): """Read from an OGR data source to a GeoPandas GeoDataFrame or Pandas DataFrame. + If the data source does not have a geometry column or ``read_geometry`` is False, a DataFrame will be returned. @@ -94,20 +101,23 @@ def read_dataframe( Parameters ---------- path_or_buffer : pathlib.Path or str, or bytes buffer - A dataset path or URI, or raw buffer. + A dataset path or URI, raw buffer, or file-like object with a read method. layer : int or str, optional (default: first layer) If an integer is provided, it corresponds to the index of the layer with the data source. If a string is provided, it must match the name of the layer in the data source. Defaults to first layer in data source. encoding : str, optional (default: None) If present, will be used as the encoding for reading string values from - the data source, unless encoding can be inferred directly from the data - source. + the data source. By default will automatically try to detect the native + encoding and decode to ``UTF-8``. columns : list-like, optional (default: all columns) List of column names to import from the data source. Column names must exactly match the names in the data source, and will be returned in the order they occur in the data source. To avoid reading any columns, - pass an empty list-like. + pass an empty list-like. If combined with ``where`` parameter, must + include columns referenced in the ``where`` expression or the data may + not be correctly read; the data source may return empty results or + raise an exception (behavior varies by driver). read_geometry : bool, optional (default: True) If True, will read geometry into a GeoSeries. If False, a Pandas DataFrame will be returned instead. @@ -152,7 +162,12 @@ def read_dataframe( the starting index is driver and file specific (e.g. typically 0 for Shapefile and 1 for GeoPackage, but can still depend on the specific file). The performance of reading a large number of features usings FIDs - is also driver specific. + is also driver specific and depends on the value of ``use_arrow``. The order + of the rows returned is undefined. If you would like to sort based on FID, use + ``fid_as_index=True`` to have the index of the GeoDataFrame returned set to the + FIDs of the features read. If ``use_arrow=True``, the number of FIDs is limited + to 4997 for drivers with 'OGRSQL' as default SQL dialect. To read a larger + number of FIDs, set ``user_arrow=False``. sql : str, optional (default: None) The SQL statement to execute. Look at the sql_dialect parameter for more information on the syntax to use for the query. When combined with other @@ -184,6 +199,17 @@ def read_dataframe( installed). When enabled, this provides a further speed-up. Defaults to False, but this default can also be globally overridden by setting the ``PYOGRIO_USE_ARROW=1`` environment variable. + on_invalid : str, optional (default: "raise") + The action to take when an invalid geometry is encountered. Possible + values: + + - **raise**: an exception will be raised if a WKB input geometry is + invalid. + - **warn**: invalid WKB geometries will be returned as ``None`` and a + warning will be raised. + - **ignore**: invalid WKB geometries will be returned as ``None`` + without a warning. + arrow_to_pandas_kwargs : dict, optional (default: None) When `use_arrow` is True, these kwargs will be passed to the `to_pandas`_ call for the arrow to pandas conversion. @@ -215,13 +241,13 @@ def read_dataframe( https://arrow.apache.org/docs/python/generated/pyarrow.Table.html#pyarrow.Table.to_pandas - """ # noqa: E501 + """ if not HAS_GEOPANDAS: raise ImportError("geopandas is required to use pyogrio.read_dataframe()") - import pandas as pd import geopandas as gp - from geopandas.array import from_wkb + import pandas as pd + import shapely # if geopandas is present, shapely is expected to be present path_or_buffer = _stringify_path(path_or_buffer) @@ -279,10 +305,10 @@ def read_dataframe( if PANDAS_GE_15 and wkb_values.dtype != object: # for example ArrowDtype will otherwise create numpy array with pd.NA wkb_values = wkb_values.to_numpy(na_value=None) - df["geometry"] = from_wkb(wkb_values, crs=meta["crs"]) + df["geometry"] = shapely.from_wkb(wkb_values, on_invalid=on_invalid) if force_2d: df["geometry"] = shapely.force_2d(df["geometry"]) - return gp.GeoDataFrame(df, geometry="geometry") + return gp.GeoDataFrame(df, geometry="geometry", crs=meta["crs"]) else: return df @@ -302,9 +328,9 @@ def read_dataframe( if geometry is None or not read_geometry: return df - geometry = from_wkb(geometry, crs=meta["crs"]) + geometry = shapely.from_wkb(geometry, on_invalid=on_invalid) - return gp.GeoDataFrame(df, geometry=geometry) + return gp.GeoDataFrame(df, geometry=geometry, crs=meta["crs"]) # TODO: handle index properly @@ -318,6 +344,7 @@ def write_dataframe( promote_to_multi=None, nan_as_null=True, append=False, + use_arrow=None, dataset_metadata=None, layer_metadata=None, metadata=None, @@ -325,8 +352,7 @@ def write_dataframe( layer_options=None, **kwargs, ): - """ - Write GeoPandas GeoDataFrame to an OGR file format. + """Write GeoPandas GeoDataFrame to an OGR file format. Parameters ---------- @@ -335,16 +361,21 @@ def write_dataframe( all values will be converted to strings to be written to the output file, except None and np.nan, which will be set to NULL in the output file. - path : str - path to file - layer :str, optional (default: None) - layer name + path : str or io.BytesIO + path to output file on writeable file system or an io.BytesIO object to + allow writing to memory. Will raise NotImplementedError if an open file + handle is passed; use BytesIO instead. + NOTE: support for writing to memory is limited to specific drivers. + layer : str, optional (default: None) + layer name to create. If writing to memory and layer name is not + provided, it layer name will be set to a UUID4 value. driver : string, optional (default: None) - The OGR format driver used to write the vector file. By default write_dataframe - attempts to infer driver from path. + The OGR format driver used to write the vector file. By default attempts + to infer driver from path. Must be provided to write to memory. encoding : str, optional (default: None) If present, will be used as the encoding for writing string values to - the file. + the file. Use with caution, only certain drivers support encodings + other than UTF-8. geometry_type : string, optional (default: None) By default, the geometry type of the layer will be inferred from the data, after applying the promote_to_multi logic. If the data only contains a @@ -376,8 +407,17 @@ def write_dataframe( append : bool, optional (default: False) If True, the data source specified by path already exists, and the driver supports appending to an existing data source, will cause the - data to be appended to the existing records in the data source. + data to be appended to the existing records in the data source. Not + supported for writing to in-memory files. NOTE: append support is limited to specific drivers and GDAL versions. + use_arrow : bool, optional (default: False) + Whether to use Arrow as the transfer mechanism of the data to write + from Python to GDAL (requires GDAL >= 3.8 and `pyarrow` to be + installed). When enabled, this provides a further speed-up. + Defaults to False, but this default can also be globally overridden + by setting the ``PYOGRIO_USE_ARROW=1`` environment variable. + Using Arrow does not support writing an object-dtype column with + mixed types. dataset_metadata : dict, optional (default: None) Metadata to be stored at the dataset level in the output file; limited to drivers that support writing metadata, such as GPKG, and silently @@ -389,10 +429,10 @@ def write_dataframe( metadata : dict, optional (default: None) alias of layer_metadata dataset_options : dict, optional - Dataset creation option (format specific) passed to OGR. Specify as + Dataset creation options (format specific) passed to OGR. Specify as a key-value dictionary. layer_options : dict, optional - Layer creation option (format specific) passed to OGR. Specify as + Layer creation options (format specific) passed to OGR. Specify as a key-value dictionary. **kwargs Additional driver-specific dataset or layer creation options passed @@ -402,23 +442,22 @@ def write_dataframe( explicit `dataset_options` or `layer_options` keywords to manually do this (for example if an option exists as both dataset and layer option). + """ # TODO: add examples to the docstring (e.g. OGR kwargs) if not HAS_GEOPANDAS: raise ImportError("geopandas is required to use pyogrio.write_dataframe()") - from geopandas.array import to_wkb import pandas as pd - from pyproj.enums import WktVersion # if geopandas is available so is pyproj - - path = str(path) + from geopandas.array import to_wkb if not isinstance(df, pd.DataFrame): raise ValueError("'df' must be a DataFrame or GeoDataFrame") - if driver is None: - driver = detect_write_driver(path) + if use_arrow is None: + use_arrow = bool(int(os.environ.get("PYOGRIO_USE_ARROW", "0"))) + path, driver = _get_write_path_driver(path, driver, append=append) geometry_columns = df.columns[df.dtypes == "geometry"] if len(geometry_columns) > 1: @@ -456,11 +495,11 @@ def write_dataframe( # https://gdal.org/development/rfc/rfc56_millisecond_precision.html#core-changes # Convert each row offset to a signed multiple of 15m and add to GMT value gdal_offset_representation = tz_offset // pd.Timedelta("15m") + 100 - gdal_tz_offsets[name] = gdal_offset_representation + gdal_tz_offsets[name] = gdal_offset_representation.values else: values = col.values if isinstance(values, pd.api.extensions.ExtensionArray): - from pandas.arrays import IntegerArray, FloatingArray, BooleanArray + from pandas.arrays import BooleanArray, FloatingArray, IntegerArray if isinstance(values, (IntegerArray, FloatingArray, BooleanArray)): field_data.append(values._data) @@ -473,6 +512,9 @@ def write_dataframe( field_mask.append(None) # Determine geometry_type and/or promote_to_multi + if geometry_column is not None: + geometry_types_all = geometry.geom_type + if geometry_column is not None and ( geometry_type is None or promote_to_multi is None ): @@ -482,9 +524,10 @@ def write_dataframe( # If there is data, infer layer geometry type + promote_to_multi if not df.empty: # None/Empty geometries sometimes report as Z incorrectly, so ignore them - has_z_arr = geometry[ - (geometry != np.array(None)) & (~geometry.is_empty) - ].has_z + with warnings.catch_warnings(): + warnings.filterwarnings("ignore", r"GeoSeries\.notna", UserWarning) + geometry_notna = geometry.notna() + has_z_arr = geometry[geometry_notna & (~geometry.is_empty)].has_z has_z = has_z_arr.any() all_z = has_z_arr.all() @@ -493,7 +536,7 @@ def write_dataframe( f"Mixed 2D and 3D coordinates are not supported by {driver}" ) - geometry_types = pd.Series(geometry.type.unique()).dropna().values + geometry_types = pd.Series(geometry_types_all.unique()).dropna().values if len(geometry_types) == 1: tmp_geometry_type = geometry_types[0] if promote_to_multi and tmp_geometry_type in ( @@ -539,7 +582,78 @@ def write_dataframe( if epsg: crs = f"EPSG:{epsg}" else: - crs = geometry.crs.to_wkt(WktVersion.WKT1_GDAL) + crs = geometry.crs.to_wkt("WKT1_GDAL") + + if use_arrow: + import pyarrow as pa + + from pyogrio.raw import write_arrow + + if geometry_column is not None: + # Convert to multi type + if promote_to_multi: + import shapely + + mask_points = geometry_types_all == "Point" + mask_linestrings = geometry_types_all == "LineString" + mask_polygons = geometry_types_all == "Polygon" + + if mask_points.any(): + geometry[mask_points] = shapely.multipoints( + np.atleast_2d(geometry[mask_points]), axis=0 + ) + + if mask_linestrings.any(): + geometry[mask_linestrings] = shapely.multilinestrings( + np.atleast_2d(geometry[mask_linestrings]), axis=0 + ) + + if mask_polygons.any(): + geometry[mask_polygons] = shapely.multipolygons( + np.atleast_2d(geometry[mask_polygons]), axis=0 + ) + + geometry = to_wkb(geometry.values) + df = df.copy(deep=False) + # convert to plain DataFrame to avoid warning from geopandas about + # writing non-geometries to the geometry column + df = pd.DataFrame(df, copy=False) + df[geometry_column] = geometry + + table = pa.Table.from_pandas(df, preserve_index=False) + + if geometry_column is not None: + # ensure that the geometry column is binary (for all-null geometries, + # this could be a wrong type) + geom_field = table.schema.field(geometry_column) + if not ( + pa.types.is_binary(geom_field.type) + or pa.types.is_large_binary(geom_field.type) + ): + table = table.set_column( + table.schema.get_field_index(geometry_column), + geom_field.with_type(pa.binary()), + table[geometry_column].cast(pa.binary()), + ) + + write_arrow( + table, + path, + layer=layer, + driver=driver, + geometry_name=geometry_column, + geometry_type=geometry_type, + crs=crs, + encoding=encoding, + append=append, + dataset_metadata=dataset_metadata, + layer_metadata=layer_metadata, + metadata=metadata, + dataset_options=dataset_options, + layer_options=layer_options, + **kwargs, + ) + return # If there is geometry data, prepare it to be written if geometry_column is not None: diff --git a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/ITRF2008 b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/ITRF2008 index bcb8561d..bd5f7cee 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/ITRF2008 +++ b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/ITRF2008 @@ -42,7 +42,7 @@ +proj=helmert +drx=0.000049 +dry=-0.001088 +drz=0.000664 +convention=position_vector - +proj=helmert +drx=-0.000083 +dry=0.000534 +drz=0.000750 +convention=position_vector + +proj=helmert +drx=-0.000083 +dry=-0.000534 +drz=0.000750 +convention=position_vector +proj=helmert +drx=0.001232 +dry=0.000303 +drz=0.001540 +convention=position_vector @@ -75,7 +75,7 @@ +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=0.000049 +dry=-0.001088 +drz=0.000664 +convention=position_vector - +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=-0.000083 +dry=0.000534 +drz=0.000750 +convention=position_vector + +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=-0.000083 +dry=-0.000534 +drz=0.000750 +convention=position_vector +proj=helmert +dx=0.00041 +dy=0.00022 +dz=0.00041 +drx=0.001232 +dry=0.000303 +drz=0.001540 +convention=position_vector diff --git a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-config-version.cmake b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-config-version.cmake index 7d970b14..a04fe3ec 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-config-version.cmake +++ b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-config-version.cmake @@ -1,9 +1,9 @@ # Version checking for PROJ -set (PACKAGE_VERSION "9.3.0") +set (PACKAGE_VERSION "9.4.1") set (PACKAGE_VERSION_MAJOR "9") -set (PACKAGE_VERSION_MINOR "3") -set (PACKAGE_VERSION_PATCH "0") +set (PACKAGE_VERSION_MINOR "4") +set (PACKAGE_VERSION_PATCH "1") # These variable definitions parallel those in PROJ's # cmake/CMakeLists.txt. diff --git a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-config.cmake b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-config.cmake index ba5701b7..d261af14 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-config.cmake +++ b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-config.cmake @@ -27,7 +27,8 @@ if("TRUE") endif() cmake_policy(POP) -find_dependency(unofficial-sqlite3 CONFIG) +find_dependency(SQLite3) + if(DEFINED PROJ_CONFIG_FIND_TIFF_DEP) find_dependency(TIFF) endif() diff --git a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-targets.cmake b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-targets.cmake index 21b1434c..41439c16 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-targets.cmake +++ b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj-targets.cmake @@ -3,11 +3,11 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) message(FATAL_ERROR "CMake >= 2.8.0 required") endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") +if(CMAKE_VERSION VERSION_LESS "2.8.12") + message(FATAL_ERROR "CMake >= 2.8.12 required") endif() cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) +cmake_policy(VERSION 2.8.12...3.28) #---------------------------------------------------------------- # Generated CMake target import file. #---------------------------------------------------------------- @@ -60,13 +60,9 @@ add_library(PROJ::proj STATIC IMPORTED) set_target_properties(PROJ::proj PROPERTIES INTERFACE_COMPILE_DEFINITIONS "PROJ_DLL=" INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" - INTERFACE_LINK_LIBRARIES "\$;\$;\$;\$;\$;\$;\$;\$:ws2_32>>;\$:wldap32>>;\$:advapi32>>;\$:crypt32>>;\$:normaliz>>" + INTERFACE_LINK_LIBRARIES "\$;\$;\$;\$;\$;\$;\$;\$:ws2_32>>;\$:wldap32>>;\$:advapi32>>;\$:crypt32>>;\$:normaliz>>" ) -if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") -endif() - # Load information for each installed configuration. file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/proj-targets-*.cmake") foreach(_cmake_config_file IN LISTS _cmake_config_files) @@ -80,9 +76,12 @@ set(_IMPORT_PREFIX) # Loop over all imported files and verify that they actually exist foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file + if(CMAKE_VERSION VERSION_LESS "3.28" + OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target} + OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}") + foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") + if(NOT EXISTS "${_cmake_file}") + message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file \"${_cmake_file}\" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. @@ -91,8 +90,9 @@ but this file does not exist. Possible reasons include: \"${CMAKE_CURRENT_LIST_FILE}\" but not all the files it references. ") - endif() - endforeach() + endif() + endforeach() + endif() unset(_cmake_file) unset("_cmake_import_check_files_for_${_cmake_target}") endforeach() diff --git a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj.db b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj.db index d0e24dbf..28e8f79c 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj.db and b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj.db differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj4-targets.cmake b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj4-targets.cmake index d4042756..5e0a59c4 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj4-targets.cmake +++ b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/proj4-targets.cmake @@ -3,11 +3,11 @@ if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.8) message(FATAL_ERROR "CMake >= 2.8.0 required") endif() -if(CMAKE_VERSION VERSION_LESS "2.8.3") - message(FATAL_ERROR "CMake >= 2.8.3 required") +if(CMAKE_VERSION VERSION_LESS "2.8.12") + message(FATAL_ERROR "CMake >= 2.8.12 required") endif() cmake_policy(PUSH) -cmake_policy(VERSION 2.8.3...3.25) +cmake_policy(VERSION 2.8.12...3.28) #---------------------------------------------------------------- # Generated CMake target import file. #---------------------------------------------------------------- @@ -60,13 +60,9 @@ add_library(PROJ4::proj STATIC IMPORTED) set_target_properties(PROJ4::proj PROPERTIES INTERFACE_COMPILE_DEFINITIONS "PROJ_DLL=" INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" - INTERFACE_LINK_LIBRARIES "\$;\$;\$;\$;\$;\$;\$;\$:ws2_32>>;\$:wldap32>>;\$:advapi32>>;\$:crypt32>>;\$:normaliz>>" + INTERFACE_LINK_LIBRARIES "\$;\$;\$;\$;\$;\$;\$;\$:ws2_32>>;\$:wldap32>>;\$:advapi32>>;\$:crypt32>>;\$:normaliz>>" ) -if(CMAKE_VERSION VERSION_LESS 2.8.12) - message(FATAL_ERROR "This file relies on consumers using CMake 2.8.12 or greater.") -endif() - # Load information for each installed configuration. file(GLOB _cmake_config_files "${CMAKE_CURRENT_LIST_DIR}/proj4-targets-*.cmake") foreach(_cmake_config_file IN LISTS _cmake_config_files) @@ -80,9 +76,12 @@ set(_IMPORT_PREFIX) # Loop over all imported files and verify that they actually exist foreach(_cmake_target IN LISTS _cmake_import_check_targets) - foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") - if(NOT EXISTS "${_cmake_file}") - message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file + if(CMAKE_VERSION VERSION_LESS "3.28" + OR NOT DEFINED _cmake_import_check_xcframework_for_${_cmake_target} + OR NOT IS_DIRECTORY "${_cmake_import_check_xcframework_for_${_cmake_target}}") + foreach(_cmake_file IN LISTS "_cmake_import_check_files_for_${_cmake_target}") + if(NOT EXISTS "${_cmake_file}") + message(FATAL_ERROR "The imported target \"${_cmake_target}\" references the file \"${_cmake_file}\" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. @@ -91,8 +90,9 @@ but this file does not exist. Possible reasons include: \"${CMAKE_CURRENT_LIST_FILE}\" but not all the files it references. ") - endif() - endforeach() + endif() + endforeach() + endif() unset(_cmake_file) unset("_cmake_import_check_files_for_${_cmake_target}") endforeach() diff --git a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/projjson.schema.json b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/projjson.schema.json index b2884953..a8578c81 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/projjson.schema.json +++ b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/projjson.schema.json @@ -2,7 +2,7 @@ "$id": "https://proj.org/schemas/v0.7/projjson.schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "description": "Schema for PROJJSON (v0.7)", - "$comment": "This file exists both in data/ and in schemas/vXXX/. Keep both in sync. And if changing the value of $id, change PROJJSON_DEFAULT_VERSION accordingly in io.cpp", + "$comment": "This document is copyright Even Rouault and PROJ contributors, 2019-2023, and subject to the MIT license. This file exists both in data/ and in schemas/vXXX/. Keep both in sync. And if changing the value of $id, change PROJJSON_DEFAULT_VERSION accordingly in io.cpp", "oneOf": [ { "$ref": "#/definitions/crs" }, diff --git a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/vcpkg.spdx.json b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/vcpkg.spdx.json index ce6eb9a0..5928dcd3 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/vcpkg.spdx.json +++ b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/vcpkg.spdx.json @@ -3,13 +3,13 @@ "spdxVersion": "SPDX-2.2", "dataLicense": "CC0-1.0", "SPDXID": "SPDXRef-DOCUMENT", - "documentNamespace": "https://spdx.org/spdxdocs/proj-x64-linux-dynamic-9.3.0#1-f98b5c42-8f64-46e4-b067-2b40b1ff644d", - "name": "proj:x64-linux-dynamic@9.3.0#1 790c2ab7942a33c34846f162796b4ea27574760fbde47656105c33d7f285ebbd", + "documentNamespace": "https://spdx.org/spdxdocs/proj-x64-linux-dynamic-release-9.4.1-fe5308a0-0727-46af-bf1a-452582b07786", + "name": "proj:x64-linux-dynamic-release@9.4.1 7a1ad719fa19418b0ccf3e6bb837ab34ed4fcc99911f810a598dfc0a2960b42c", "creationInfo": { "creators": [ - "Tool: vcpkg-ac02a9f660977426b8ec6392919fbb1d51b10998" + "Tool: vcpkg-2024-06-10-02590c430e4ed9215d27870138c2e579cc338772" ], - "created": "2023-10-25T18:56:46Z" + "created": "2024-09-28T15:27:15Z" }, "relationships": [ { @@ -47,11 +47,6 @@ "relationshipType": "CONTAINS", "relatedSpdxElement": "SPDXRef-file-5" }, - { - "spdxElementId": "SPDXRef-port", - "relationshipType": "CONTAINS", - "relatedSpdxElement": "SPDXRef-file-6" - }, { "spdxElementId": "SPDXRef-binary", "relationshipType": "GENERATED_FROM", @@ -86,19 +81,14 @@ "spdxElementId": "SPDXRef-file-5", "relationshipType": "CONTAINED_BY", "relatedSpdxElement": "SPDXRef-port" - }, - { - "spdxElementId": "SPDXRef-file-6", - "relationshipType": "CONTAINED_BY", - "relatedSpdxElement": "SPDXRef-port" } ], "packages": [ { "name": "proj", "SPDXID": "SPDXRef-port", - "versionInfo": "9.3.0#1", - "downloadLocation": "git+https://github.com/Microsoft/vcpkg@6e31164b906c96903b8352e6a9211ae019672ac4", + "versionInfo": "9.4.1", + "downloadLocation": "git+https://github.com/Microsoft/vcpkg@dafa38417689eb52c17a425ace8e1f3ecfb74045", "homepage": "https://proj.org/", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -107,9 +97,9 @@ "comment": "This is the port (recipe) consumed by vcpkg." }, { - "name": "proj:x64-linux-dynamic", + "name": "proj:x64-linux-dynamic-release", "SPDXID": "SPDXRef-binary", - "versionInfo": "790c2ab7942a33c34846f162796b4ea27574760fbde47656105c33d7f285ebbd", + "versionInfo": "7a1ad719fa19418b0ccf3e6bb837ab34ed4fcc99911f810a598dfc0a2960b42c", "downloadLocation": "NONE", "licenseConcluded": "MIT", "licenseDeclared": "NOASSERTION", @@ -119,70 +109,34 @@ { "SPDXID": "SPDXRef-resource-1", "name": "OSGeo/PROJ", - "downloadLocation": "git+https://github.com/OSGeo/PROJ@9.3.0", + "downloadLocation": "git+https://github.com/OSGeo/PROJ@9.4.1", "licenseConcluded": "NOASSERTION", "licenseDeclared": "NOASSERTION", "copyrightText": "NOASSERTION", "checksums": [ { "algorithm": "SHA512", - "checksumValue": "ee8170780c70e09efa4bc3fcf6ee9a2c15554a05a8562617fc5e9698fb33c6c0af380dd0de836db91955eb35623ded1fec67c6afe5fd3b692fcf4f4b3e4f0658" + "checksumValue": "4b3ceb9e3b2213b0bb2fc839f4dd70e08ee53323465c7bb473131907e4b66c836623da115c7413dfd8bafd0a992fa173003063e2233ab577139ab8462655b6cc" } ] } ], "files": [ { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/6e31164b906c96903b8352e6a9211ae019672ac4/vcpkg.json", + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/fix-proj4-targets-cmake.patch", "SPDXID": "SPDXRef-file-0", "checksums": [ { "algorithm": "SHA256", - "checksumValue": "34915344411521c3bf421a755e44461aecfbb6567f3e0f9b619ea0ea3eb0ab89" + "checksumValue": "d76e1d419d3367dda3381fd11a637f3465bc838d611fa8ceaca20048c1b3cd6e" } ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" }, { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/6e31164b906c96903b8352e6a9211ae019672ac4/fix-uwp.patch", + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/fix-win-output-name.patch", "SPDXID": "SPDXRef-file-1", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "8ca726f9cca8465fb5efdcff7f2dc0c9247fa0782f0bd1d1384d7912afb7c3b8" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/6e31164b906c96903b8352e6a9211ae019672ac4/usage", - "SPDXID": "SPDXRef-file-2", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "26169363c27e71a44cba9d703b22bbd13c191ab5e2d0612b3dd35c735c971fe6" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/6e31164b906c96903b8352e6a9211ae019672ac4/portfile.cmake", - "SPDXID": "SPDXRef-file-3", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "2d5a16a458eb429dfffb41c4e40c1815bfe58d2cdecff06ab5417fddd0cc82a5" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/6e31164b906c96903b8352e6a9211ae019672ac4/fix-win-output-name.patch", - "SPDXID": "SPDXRef-file-4", "checksums": [ { "algorithm": "SHA256", @@ -193,20 +147,8 @@ "copyrightText": "NOASSERTION" }, { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/6e31164b906c96903b8352e6a9211ae019672ac4/fix-proj4-targets-cmake.patch", - "SPDXID": "SPDXRef-file-5", - "checksums": [ - { - "algorithm": "SHA256", - "checksumValue": "0bcc51d69830a495a955cb97a8a1f91d9cec0410cbd8198f82f4fe60169d696f" - } - ], - "licenseConcluded": "NOASSERTION", - "copyrightText": "NOASSERTION" - }, - { - "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/6e31164b906c96903b8352e6a9211ae019672ac4/remove_toolset_restriction.patch", - "SPDXID": "SPDXRef-file-6", + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/remove_toolset_restriction.patch", + "SPDXID": "SPDXRef-file-2", "checksums": [ { "algorithm": "SHA256", @@ -215,6 +157,42 @@ ], "licenseConcluded": "NOASSERTION", "copyrightText": "NOASSERTION" + }, + { + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/usage", + "SPDXID": "SPDXRef-file-3", + "checksums": [ + { + "algorithm": "SHA256", + "checksumValue": "26169363c27e71a44cba9d703b22bbd13c191ab5e2d0612b3dd35c735c971fe6" + } + ], + "licenseConcluded": "NOASSERTION", + "copyrightText": "NOASSERTION" + }, + { + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/portfile.cmake", + "SPDXID": "SPDXRef-file-4", + "checksums": [ + { + "algorithm": "SHA256", + "checksumValue": "c1e2909ff16c46a449fbb7e71e14ea3d33103491f21ce5191d899cafded1822f" + } + ], + "licenseConcluded": "NOASSERTION", + "copyrightText": "NOASSERTION" + }, + { + "fileName": ".//opt/vcpkg/buildtrees/versioning_/versions/proj/dafa38417689eb52c17a425ace8e1f3ecfb74045/vcpkg.json", + "SPDXID": "SPDXRef-file-5", + "checksums": [ + { + "algorithm": "SHA256", + "checksumValue": "0dbf128c799775bc808b756ed9800d1fd349f7d41b874ad78a204d17988b8737" + } + ], + "licenseConcluded": "NOASSERTION", + "copyrightText": "NOASSERTION" } ] } diff --git a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/vcpkg_abi_info.txt b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/vcpkg_abi_info.txt index 6f6c436e..592171fe 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/proj_data/vcpkg_abi_info.txt +++ b/.venv/lib/python3.12/site-packages/pyogrio/proj_data/vcpkg_abi_info.txt @@ -1,28 +1,27 @@ -cmake 3.27.5 -curl 5a630f18174e3f39ad6a88df7c3b93b2270527ea4b19fc579305505d17b83995 +cmake 3.30.2 +curl 4e47bc89fe251262d304424d5c2aeb86c9a8f6c51a1d681c442b1a0db952b8a4 features core;net;tiff -fix-proj4-targets-cmake.patch 0bcc51d69830a495a955cb97a8a1f91d9cec0410cbd8198f82f4fe60169d696f -fix-uwp.patch 8ca726f9cca8465fb5efdcff7f2dc0c9247fa0782f0bd1d1384d7912afb7c3b8 +fix-proj4-targets-cmake.patch d76e1d419d3367dda3381fd11a637f3465bc838d611fa8ceaca20048c1b3cd6e fix-win-output-name.patch 706e536cfe9a90c1b071ab5b00932fa96bb35c67fcb0f96c0fc4feb7c0b44011 -nlohmann-json 3a067cac280f4f73d0a02f1879011a572d128fc1a8c8b8e4caccb39e75ab9364 -portfile.cmake 2d5a16a458eb429dfffb41c4e40c1815bfe58d2cdecff06ab5417fddd0cc82a5 -ports.cmake 5a8e00cedff0c898b1f90f7d129329d0288801bc9056562b039698caf31ff3f3 +nlohmann-json 44b358e958d4c5ea3b7311a0e07c50028e3cb9c79fa694374d7413da7976366d +portfile.cmake c1e2909ff16c46a449fbb7e71e14ea3d33103491f21ce5191d899cafded1822f +ports.cmake 3581688c16865b2026d28240d7c6257b848475ffc9fe81b3f3d304973253cf5e post_build_checks 2 remove_toolset_restriction.patch 25c1c986673bd539f5ec920684a08b38d0d37d9e24b6793e5b79dbd717bde04e -sqlite3 ab2561acf368ba20b7c7b8bcc1cf3178819f8bc7e3f5d009d60bf327091bf44c -sqlite3 f86216823174c16c16ed1d33c1038759b2027189388633132d575e70d97656c8 -tiff c271063333073276f88917c961b3c1e15d42746004d329004ffcb4a0dc3e5dae -triplet x64-linux-dynamic -triplet_abi 96ce2ff9564a8b4b9a180f0ffb82b6584a706982ae668e328ffc092ba334721f-b3b2cd43408edc7b2c5525859d9730edbfba2e4068956c6607a21d0abdaef072-ca0d0c5903d7f43fb3dd8f702ecaa82569b715ec +sqlite3 47c85d0bed92146a407dcc0edb61d0f4f8a20556dd62a6206bf5d42ced880e30 +sqlite3 7f9a2e4c8f8fa823aa53f04d00eff5b32047d76990d69d93d359e7a5210f33c6 +tiff 34d0c3db5c2929ab6f7b2a999fc538b38e2836eeb877278f2f017fee015eb5c3 +triplet x64-linux-dynamic-release +triplet_abi 96ce2ff9564a8b4b9a180f0ffb82b6584a706982ae668e328ffc092ba334721f-8f20f723a25e9787363b95fcfd14b63d82b71ac3e295a73c97d09e681decb90c-7fb5c0e06a13ccc6d1603dc7d10780c1a92b2b78 usage 26169363c27e71a44cba9d703b22bbd13c191ab5e2d0612b3dd35c735c971fe6 -vcpkg-cmake a433c5e70a35b07c67b910e7a8b1c55f3863c3927c2e874d56544673dfb5774f -vcpkg-cmake-config fe2f5adbb708be2b9a7caa1e73549d92dd41b68173ed2f187aad834b217b4491 -vcpkg.json 34915344411521c3bf421a755e44461aecfbb6567f3e0f9b619ea0ea3eb0ab89 +vcpkg-cmake c66dd076f3f67e579e976f89b74e524cdedfc182bb5cad640717708f93b8c6a0 +vcpkg-cmake-config f7f14b802b782cd918b1e9be7c6580ffb50136c5ac6f65c0a5b78c4e0466820d +vcpkg.json 0dbf128c799775bc808b756ed9800d1fd349f7d41b874ad78a204d17988b8737 vcpkg_check_features 943b217e0968d64cf2cb9c272608e6a0b497377e792034f819809a79e1502c2b vcpkg_copy_pdbs d57e4f196c82dc562a9968c6155073094513c31e2de475694143d3aa47954b1c vcpkg_copy_tools 3d45ff761bddbabe8923b52330168dc3abd295fa469d3f2e47cb14dce85332d5 -vcpkg_fixup_pkgconfig 588d833ff057d3ca99c14616c7ecfb5948b5e2a9e4fc02517dceb8b803473457 -vcpkg_from_git 8f27bff0d01c6d15a3e691758df52bfbb0b1b929da45c4ebba02ef76b54b1881 +vcpkg_fixup_pkgconfig 1a15f6c6d8e2b244d83a7514a0412d339127d2217d1df60ad1388b546c85f777 +vcpkg_from_git 96ed81968f76354c00096dd8cd4e63c6a235fa969334a11ab18d11c0c512ff58 vcpkg_from_github b743742296a114ea1b18ae99672e02f142c4eb2bef7f57d36c038bedbfb0502f vcpkg_list f5de3ebcbc40a4db90622ade9aca918e2cf404dc0d91342fcde457d730e6fa29 -vcpkg_replace_string d43c8699ce27e25d47367c970d1c546f6bc36b6df8fb0be0c3986eb5830bd4f1 +vcpkg_replace_string b450deb79207478b37119743e00808ebc42de0628e7b98c14ab24728bd5c78b8 diff --git a/.venv/lib/python3.12/site-packages/pyogrio/raw.py b/.venv/lib/python3.12/site-packages/pyogrio/raw.py index 4384ee9a..0f0c3063 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/raw.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/raw.py @@ -1,24 +1,28 @@ -import warnings +"""Low level functions to read and write OGR data sources.""" +import warnings +from io import BytesIO +from pathlib import Path + +from pyogrio._compat import HAS_ARROW_API, HAS_ARROW_WRITE_API, HAS_PYARROW from pyogrio._env import GDALEnv -from pyogrio._compat import HAS_ARROW_API from pyogrio.core import detect_write_driver from pyogrio.errors import DataSourceError from pyogrio.util import ( - get_vsi_path, - vsi_path, - _preprocess_options_key_value, _mask_to_wkb, + _preprocess_options_key_value, + get_vsi_path_or_buffer, + vsi_path, ) with GDALEnv(): - from pyogrio._io import ogr_open_arrow, ogr_read, ogr_write + from pyogrio._io import ogr_open_arrow, ogr_read, ogr_write, ogr_write_arrow from pyogrio._ogr import ( + _get_driver_metadata_item, get_gdal_version, get_gdal_version_string, + ogr_driver_supports_vsi, ogr_driver_supports_write, - remove_virtual_file, - _get_driver_metadata_item, ) @@ -60,20 +64,23 @@ def read( Parameters ---------- path_or_buffer : pathlib.Path or str, or bytes buffer - A dataset path or URI, or raw buffer. + A dataset path or URI, raw buffer, or file-like object with a read method. layer : int or str, optional (default: first layer) If an integer is provided, it corresponds to the index of the layer with the data source. If a string is provided, it must match the name of the layer in the data source. Defaults to first layer in data source. encoding : str, optional (default: None) If present, will be used as the encoding for reading string values from - the data source, unless encoding can be inferred directly from the data - source. + the data source. By default will automatically try to detect the native + encoding and decode to ``UTF-8``. columns : list-like, optional (default: all columns) List of column names to import from the data source. Column names must exactly match the names in the data source, and will be returned in the order they occur in the data source. To avoid reading any columns, - pass an empty list-like. + pass an empty list-like. If combined with ``where`` parameter, must + include columns referenced in the ``where`` expression or the data may + not be correctly read; the data source may return empty results or + raise an exception (behavior varies by driver). read_geometry : bool, optional (default: True) If True, will read geometry into WKB. If False, geometry will be None. force_2d : bool, optional (default: False) @@ -186,35 +193,27 @@ def read( https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html """ - path, buffer = get_vsi_path(path_or_buffer) - dataset_kwargs = _preprocess_options_key_value(kwargs) if kwargs else {} - try: - result = ogr_read( - path, - layer=layer, - encoding=encoding, - columns=columns, - read_geometry=read_geometry, - force_2d=force_2d, - skip_features=skip_features, - max_features=max_features or 0, - where=where, - bbox=bbox, - mask=_mask_to_wkb(mask), - fids=fids, - sql=sql, - sql_dialect=sql_dialect, - return_fids=return_fids, - dataset_kwargs=dataset_kwargs, - datetime_as_string=datetime_as_string, - ) - finally: - if buffer is not None: - remove_virtual_file(path) - - return result + return ogr_read( + get_vsi_path_or_buffer(path_or_buffer), + layer=layer, + encoding=encoding, + columns=columns, + read_geometry=read_geometry, + force_2d=force_2d, + skip_features=skip_features, + max_features=max_features or 0, + where=where, + bbox=bbox, + mask=_mask_to_wkb(mask), + fids=fids, + sql=sql, + sql_dialect=sql_dialect, + return_fids=return_fids, + dataset_kwargs=dataset_kwargs, + datetime_as_string=datetime_as_string, + ) def read_arrow( @@ -236,8 +235,7 @@ def read_arrow( return_fids=False, **kwargs, ): - """ - Read OGR data source into a pyarrow Table. + """Read OGR data source into a pyarrow Table. See docstring of `read` for parameters. @@ -255,9 +253,18 @@ def read_arrow( "geometry_type": "", "geometry_name": "", } + """ + if not HAS_PYARROW: + raise RuntimeError( + "pyarrow required to read using 'read_arrow'. You can use 'open_arrow' " + "to read data with an alternative Arrow implementation" + ) + from pyarrow import Table + gdal_version = get_gdal_version() + if skip_features < 0: raise ValueError("'skip_features' must be >= 0") @@ -275,7 +282,7 @@ def read_arrow( # handle skip_features internally within open_arrow if GDAL >= 3.8.0 gdal_skip_features = 0 - if get_gdal_version() >= (3, 8, 0): + if gdal_version >= (3, 8, 0): gdal_skip_features = skip_features skip_features = 0 @@ -295,6 +302,7 @@ def read_arrow( return_fids=return_fids, skip_features=gdal_skip_features, batch_size=batch_size, + use_pyarrow=True, **kwargs, ) as source: meta, reader = source @@ -349,35 +357,68 @@ def open_arrow( sql_dialect=None, return_fids=False, batch_size=65_536, + use_pyarrow=False, **kwargs, ): - """ - Open OGR data source as a stream of pyarrow record batches. + """Open OGR data source as a stream of Arrow record batches. See docstring of `read` for parameters. - The RecordBatchStreamReader is reading from a stream provided by OGR and must not be + The returned object is reading from a stream provided by OGR and must not be accessed after the OGR dataset has been closed, i.e. after the context manager has been closed. + By default this functions returns a generic stream object implementing + the `Arrow PyCapsule Protocol`_ (i.e. having an ``__arrow_c_stream__`` + method). This object can then be consumed by your Arrow implementation + of choice that supports this protocol. + Optionally, you can specify ``use_pyarrow=True`` to directly get the + stream as a `pyarrow.RecordBatchReader`. + + .. _Arrow PyCapsule Protocol: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html + + Other Parameters + ---------------- + batch_size : int (default: 65_536) + Maximum number of features to retrieve in a batch. + use_pyarrow : bool (default: False) + If True, return a pyarrow RecordBatchReader instead of a generic + ArrowStream object. In the default case, this stream object needs + to be passed to another library supporting the Arrow PyCapsule + Protocol to consume the stream of data. + Examples -------- - >>> from pyogrio.raw import open_arrow >>> import pyarrow as pa >>> import shapely >>> >>> with open_arrow(path) as source: + >>> meta, stream = source + >>> # wrap the arrow stream object in a pyarrow RecordBatchReader + >>> reader = pa.RecordBatchReader.from_stream(stream) + >>> geom_col = meta["geometry_name"] or "wkb_geometry" + >>> for batch in reader: + >>> geometries = shapely.from_wkb(batch[geom_col]) + + The returned `stream` object needs to be consumed by a library implementing + the Arrow PyCapsule Protocol. In the above example, pyarrow is used through + its RecordBatchReader. For this case, you can also specify ``use_pyarrow=True`` + to directly get this result as a short-cut: + + >>> with open_arrow(path, use_pyarrow=True) as source: >>> meta, reader = source - >>> for table in reader: - >>> geometries = shapely.from_wkb(table[meta["geometry_name"]]) + >>> geom_col = meta["geometry_name"] or "wkb_geometry" + >>> for batch in reader: + >>> geometries = shapely.from_wkb(batch[geom_col]) Returns ------- - (dict, pyarrow.RecordBatchStreamReader) + (dict, pyarrow.RecordBatchReader or ArrowStream) Returns a tuple of meta information about the data source in a dict, - and a pyarrow RecordBatchStreamReader with data. + and a data stream object (a generic ArrowStream object, or a pyarrow + RecordBatchReader if `use_pyarrow` is set to True). Meta is: { "crs": "", @@ -386,41 +427,37 @@ def open_arrow( "geometry_type": "", "geometry_name": "", } + """ if not HAS_ARROW_API: - raise RuntimeError("pyarrow and GDAL>= 3.6 required to read using arrow") - - path, buffer = get_vsi_path(path_or_buffer) + raise RuntimeError("GDAL>= 3.6 required to read using arrow") dataset_kwargs = _preprocess_options_key_value(kwargs) if kwargs else {} - try: - return ogr_open_arrow( - path, - layer=layer, - encoding=encoding, - columns=columns, - read_geometry=read_geometry, - force_2d=force_2d, - skip_features=skip_features, - max_features=max_features or 0, - where=where, - bbox=bbox, - mask=_mask_to_wkb(mask), - fids=fids, - sql=sql, - sql_dialect=sql_dialect, - return_fids=return_fids, - dataset_kwargs=dataset_kwargs, - batch_size=batch_size, - ) - finally: - if buffer is not None: - remove_virtual_file(path) + return ogr_open_arrow( + get_vsi_path_or_buffer(path_or_buffer), + layer=layer, + encoding=encoding, + columns=columns, + read_geometry=read_geometry, + force_2d=force_2d, + skip_features=skip_features, + max_features=max_features or 0, + where=where, + bbox=bbox, + mask=_mask_to_wkb(mask), + fids=fids, + sql=sql, + sql_dialect=sql_dialect, + return_fids=return_fids, + dataset_kwargs=dataset_kwargs, + batch_size=batch_size, + use_pyarrow=use_pyarrow, + ) def _parse_options_names(xml): - """Convert metadata xml to list of names""" + """Convert metadata xml to list of names.""" # Based on Fiona's meta.py # (https://github.com/Toblerity/Fiona/blob/91c13ad8424641557a4e5f038f255f9b657b1bc5/fiona/meta.py) import xml.etree.ElementTree as ET @@ -436,6 +473,117 @@ def _parse_options_names(xml): return options +def _validate_metadata(dataset_metadata, layer_metadata, metadata): + """Validate the metadata.""" + if metadata is not None: + if layer_metadata is not None: + raise ValueError("Cannot pass both metadata and layer_metadata") + layer_metadata = metadata + + # validate metadata types + for meta in [dataset_metadata, layer_metadata]: + if meta is not None: + for k, v in meta.items(): + if not isinstance(k, str): + raise ValueError(f"metadata key {k} must be a string") + + if not isinstance(v, str): + raise ValueError(f"metadata value {v} must be a string") + + return dataset_metadata, layer_metadata + + +def _preprocess_options_kwargs(driver, dataset_options, layer_options, kwargs): + """Preprocess kwargs and split in dataset and layer creation options.""" + dataset_kwargs = _preprocess_options_key_value(dataset_options or {}) + layer_kwargs = _preprocess_options_key_value(layer_options or {}) + if kwargs: + kwargs = _preprocess_options_key_value(kwargs) + dataset_option_names = _parse_options_names( + _get_driver_metadata_item(driver, "DMD_CREATIONOPTIONLIST") + ) + layer_option_names = _parse_options_names( + _get_driver_metadata_item(driver, "DS_LAYER_CREATIONOPTIONLIST") + ) + for k, v in kwargs.items(): + if k in dataset_option_names: + dataset_kwargs[k] = v + elif k in layer_option_names: + layer_kwargs[k] = v + else: + raise ValueError(f"unrecognized option '{k}' for driver '{driver}'") + + return dataset_kwargs, layer_kwargs + + +def _get_write_path_driver(path, driver, append=False): + """Validate and return path and driver. + + Parameters + ---------- + path : str or io.BytesIO + path to output file on writeable file system or an io.BytesIO object to + allow writing to memory. Will raise NotImplementedError if an open file + handle is passed. + driver : str, optional (default: None) + The OGR format driver used to write the vector file. By default attempts + to infer driver from path. Must be provided to write to a file-like + object. + append : bool, optional (default: False) + True if path and driver is being tested for append support + + Returns + ------- + (path, driver) + + """ + if isinstance(path, BytesIO): + if driver is None: + raise ValueError("driver must be provided to write to in-memory file") + + # blacklist certain drivers known not to work in current memory implementation + # because they create multiple files + if driver in {"ESRI Shapefile", "OpenFileGDB"}: + raise ValueError(f"writing to in-memory file is not supported for {driver}") + + # verify that driver supports VSI methods + if not ogr_driver_supports_vsi(driver): + raise DataSourceError( + f"{driver} does not support ability to write in-memory in GDAL " + f"{get_gdal_version_string()}" + ) + + if append: + raise NotImplementedError("append is not supported for in-memory files") + + elif hasattr(path, "write") and not isinstance(path, Path): + raise NotImplementedError( + "writing to an open file handle is not yet supported; instead, write to a " + "BytesIO instance and then read bytes from that to write to the file handle" + ) + + else: + path = vsi_path(path) + + if driver is None: + driver = detect_write_driver(path) + + # verify that driver supports writing + if not ogr_driver_supports_write(driver): + raise DataSourceError( + f"{driver} does not support write functionality in GDAL " + f"{get_gdal_version_string()}" + ) + + # prevent segfault from: https://github.com/OSGeo/gdal/issues/5739 + if append and driver == "FlatGeobuf" and get_gdal_version() <= (3, 5, 0): + raise RuntimeError( + "append to FlatGeobuf is not supported for GDAL <= 3.5.0 due to segfault" + ) + + return path, driver + + def write( path, geometry, @@ -459,41 +607,99 @@ def write( gdal_tz_offsets=None, **kwargs, ): + """Write geometry and field data to an OGR file format. + + Parameters + ---------- + path : str or io.BytesIO + path to output file on writeable file system or an io.BytesIO object to + allow writing to memory. Will raise NotImplementedError if an open file + handle is passed; use BytesIO instead. + NOTE: support for writing to memory is limited to specific drivers. + geometry : ndarray of WKB encoded geometries or None + If None, geometries will not be written to output file + field_data : list-like of shape (num_fields, num_records) + contains one record per field to be written in same order as fields + fields : list-like + contains field names + field_mask : list-like of ndarrays or None, optional (default: None) + contains mask arrays indicating null values of the field at the same + position in the outer list, or None to indicate field does not have + a mask array + layer : str, optional (default: None) + layer name to create. If writing to memory and layer name is not + provided, it layer name will be set to a UUID4 value. + driver : string, optional (default: None) + The OGR format driver used to write the vector file. By default attempts + to infer driver from path. Must be provided to write to memory. + geometry_type : str, optional (default: None) + Possible values are: "Unknown", "Point", "LineString", "Polygon", + "MultiPoint", "MultiLineString", "MultiPolygon" or "GeometryCollection". + + This parameter does not modify the geometry, but it will try to force + the layer type of the output file to this value. Use this parameter with + caution because using a wrong layer geometry type may result in errors + when writing the file, may be ignored by the driver, or may result in + invalid files. + crs : str, optional (default: None) + WKT-encoded CRS of the geometries to be written. + encoding : str, optional (default: None) + If present, will be used as the encoding for writing string values to + the file. Use with caution, only certain drivers support encodings + other than UTF-8. + promote_to_multi : bool, optional (default: None) + If True, will convert singular geometry types in the data to their + corresponding multi geometry type for writing. By default, will convert + mixed singular and multi geometry types to multi geometry types for + drivers that do not support mixed singular and multi geometry types. If + False, geometry types will not be promoted, which may result in errors + or invalid files when attempting to write mixed singular and multi + geometry types to drivers that do not support such combinations. + nan_as_null : bool, default True + For floating point columns (float32 / float64), whether NaN values are + written as "null" (missing value). Defaults to True because in pandas + NaNs are typically used as missing value. Note that when set to False, + behaviour is format specific: some formats don't support NaNs by + default (e.g. GeoJSON will skip this property) or might treat them as + null anyway (e.g. GeoPackage). + append : bool, optional (default: False) + If True, the data source specified by path already exists, and the + driver supports appending to an existing data source, will cause the + data to be appended to the existing records in the data source. Not + supported for writing to in-memory files. + NOTE: append support is limited to specific drivers and GDAL versions. + dataset_metadata : dict, optional (default: None) + Metadata to be stored at the dataset level in the output file; limited + to drivers that support writing metadata, such as GPKG, and silently + ignored otherwise. Keys and values must be strings. + layer_metadata : dict, optional (default: None) + Metadata to be stored at the layer level in the output file; limited to + drivers that support writing metadata, such as GPKG, and silently + ignored otherwise. Keys and values must be strings. + metadata : dict, optional (default: None) + alias of layer_metadata + dataset_options : dict, optional + Dataset creation options (format specific) passed to OGR. Specify as + a key-value dictionary. + layer_options : dict, optional + Layer creation options (format specific) passed to OGR. Specify as + a key-value dictionary. + gdal_tz_offsets : dict, optional (default: None) + Used to handle GDAL timezone offsets for each field contained in dict. + **kwargs + Additional driver-specific dataset creation options passed to OGR. Invalid + options will trigger a warning. + + """ # if dtypes is given, remove it from kwargs (dtypes is included in meta returned by # read, and it is convenient to pass meta directly into write for round trip tests) kwargs.pop("dtypes", None) - path = vsi_path(str(path)) - if driver is None: - driver = detect_write_driver(path) + path, driver = _get_write_path_driver(path, driver, append=append) - # verify that driver supports writing - if not ogr_driver_supports_write(driver): - raise DataSourceError( - f"{driver} does not support write functionality in GDAL " - f"{get_gdal_version_string()}" - ) - - # prevent segfault from: https://github.com/OSGeo/gdal/issues/5739 - if append and driver == "FlatGeobuf" and get_gdal_version() <= (3, 5, 0): - raise RuntimeError( - "append to FlatGeobuf is not supported for GDAL <= 3.5.0 due to segfault" - ) - - if metadata is not None: - if layer_metadata is not None: - raise ValueError("Cannot pass both metadata and layer_metadata") - layer_metadata = metadata - - # validate metadata types - for metadata in [dataset_metadata, layer_metadata]: - if metadata is not None: - for k, v in metadata.items(): - if not isinstance(k, str): - raise ValueError(f"metadata key {k} must be a string") - - if not isinstance(v, str): - raise ValueError(f"metadata value {v} must be a string") + dataset_metadata, layer_metadata = _validate_metadata( + dataset_metadata, layer_metadata, metadata + ) if geometry is not None and promote_to_multi is None: promote_to_multi = ( @@ -505,27 +711,14 @@ def write( warnings.warn( "'crs' was not provided. The output dataset will not have " "projection information defined and may not be usable in other " - "systems." + "systems.", + stacklevel=2, ) # preprocess kwargs and split in dataset and layer creation options - dataset_kwargs = _preprocess_options_key_value(dataset_options or {}) - layer_kwargs = _preprocess_options_key_value(layer_options or {}) - if kwargs: - kwargs = _preprocess_options_key_value(kwargs) - dataset_option_names = _parse_options_names( - _get_driver_metadata_item(driver, "DMD_CREATIONOPTIONLIST") - ) - layer_option_names = _parse_options_names( - _get_driver_metadata_item(driver, "DS_LAYER_CREATIONOPTIONLIST") - ) - for k, v in kwargs.items(): - if k in dataset_option_names: - dataset_kwargs[k] = v - elif k in layer_option_names: - layer_kwargs[k] = v - else: - raise ValueError(f"unrecognized option '{k}' for driver '{driver}'") + dataset_kwargs, layer_kwargs = _preprocess_options_kwargs( + driver, dataset_options, layer_options, kwargs + ) ogr_write( path, @@ -547,3 +740,148 @@ def write( layer_kwargs=layer_kwargs, gdal_tz_offsets=gdal_tz_offsets, ) + + +def write_arrow( + arrow_obj, + path, + layer=None, + driver=None, + geometry_name=None, + geometry_type=None, + crs=None, + encoding=None, + append=False, + dataset_metadata=None, + layer_metadata=None, + metadata=None, + dataset_options=None, + layer_options=None, + **kwargs, +): + """Write an Arrow-compatible data source to an OGR file format. + + .. _Arrow PyCapsule Protocol: https://arrow.apache.org/docs/format/CDataInterface/PyCapsuleInterface.html + + Parameters + ---------- + arrow_obj + The Arrow data to write. This can be any Arrow-compatible tabular data + object that implements the `Arrow PyCapsule Protocol`_ (i.e. has an + ``__arrow_c_stream__`` method), for example a pyarrow Table or + RecordBatchReader. + path : str or io.BytesIO + path to output file on writeable file system or an io.BytesIO object to + allow writing to memory + NOTE: support for writing to memory is limited to specific drivers. + layer : str, optional (default: None) + layer name to create. If writing to memory and layer name is not + provided, it layer name will be set to a UUID4 value. + driver : string, optional (default: None) + The OGR format driver used to write the vector file. By default attempts + to infer driver from path. Must be provided to write to memory. + geometry_name : str, optional (default: None) + The name of the column in the input data that will be written as the + geometry field. Will be inferred from the input data if the geometry + column is annotated as an "geoarrow.wkb" or "ogc.wkb" extension type. + Otherwise needs to be specified explicitly. + geometry_type : str + The geometry type of the written layer. Currently, this needs to be + specified explicitly when creating a new layer with geometries. + Possible values are: "Unknown", "Point", "LineString", "Polygon", + "MultiPoint", "MultiLineString", "MultiPolygon" or "GeometryCollection". + + This parameter does not modify the geometry, but it will try to force the layer + type of the output file to this value. Use this parameter with caution because + using a wrong layer geometry type may result in errors when writing the + file, may be ignored by the driver, or may result in invalid files. + crs : str, optional (default: None) + WKT-encoded CRS of the geometries to be written. + encoding : str, optional (default: None) + Only used for the .dbf file of ESRI Shapefiles. If not specified, + uses the default locale. + append : bool, optional (default: False) + If True, the data source specified by path already exists, and the + driver supports appending to an existing data source, will cause the + data to be appended to the existing records in the data source. Not + supported for writing to in-memory files. + NOTE: append support is limited to specific drivers and GDAL versions. + dataset_metadata : dict, optional (default: None) + Metadata to be stored at the dataset level in the output file; limited + to drivers that support writing metadata, such as GPKG, and silently + ignored otherwise. Keys and values must be strings. + layer_metadata : dict, optional (default: None) + Metadata to be stored at the layer level in the output file; limited to + drivers that support writing metadata, such as GPKG, and silently + ignored otherwise. Keys and values must be strings. + metadata : dict, optional (default: None) + alias of layer_metadata + dataset_options : dict, optional + Dataset creation options (format specific) passed to OGR. Specify as + a key-value dictionary. + layer_options : dict, optional + Layer creation options (format specific) passed to OGR. Specify as + a key-value dictionary. + **kwargs + Additional driver-specific dataset or layer creation options passed + to OGR. pyogrio will attempt to automatically pass those keywords + either as dataset or as layer creation option based on the known + options for the specific driver. Alternatively, you can use the + explicit `dataset_options` or `layer_options` keywords to manually + do this (for example if an option exists as both dataset and layer + option). + + """ + if not HAS_ARROW_WRITE_API: + raise RuntimeError("GDAL>=3.8 required to write using arrow") + + if not hasattr(arrow_obj, "__arrow_c_stream__"): + raise ValueError( + "The provided data is not recognized as Arrow data. The object " + "should implement the Arrow PyCapsule Protocol (i.e. have a " + "'__arrow_c_stream__' method)." + ) + + path, driver = _get_write_path_driver(path, driver, append=append) + + if "promote_to_multi" in kwargs: + raise ValueError( + "The 'promote_to_multi' option is not supported when writing using Arrow" + ) + + if geometry_name is not None: + if geometry_type is None: + raise ValueError("'geometry_type' keyword is required") + if crs is None: + # TODO: does GDAL infer CRS automatically from geometry metadata? + warnings.warn( + "'crs' was not provided. The output dataset will not have " + "projection information defined and may not be usable in other " + "systems.", + stacklevel=2, + ) + + dataset_metadata, layer_metadata = _validate_metadata( + dataset_metadata, layer_metadata, metadata + ) + + # preprocess kwargs and split in dataset and layer creation options + dataset_kwargs, layer_kwargs = _preprocess_options_kwargs( + driver, dataset_options, layer_options, kwargs + ) + + ogr_write_arrow( + path, + layer=layer, + driver=driver, + arrow_obj=arrow_obj, + geometry_type=geometry_type, + geometry_name=geometry_name, + crs=crs, + encoding=encoding, + append=append, + dataset_metadata=dataset_metadata, + layer_metadata=layer_metadata, + dataset_kwargs=dataset_kwargs, + layer_kwargs=layer_kwargs, + ) diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/__init__.cpython-312.pyc index 399a4ee1..ca2c55b2 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/conftest.cpython-312.pyc index f6a964ca..6e267470 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_arrow.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_arrow.cpython-312.pyc index f09547d3..1f6087e7 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_arrow.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_arrow.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_core.cpython-312.pyc index dda7cb15..15e35bd3 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_core.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_core.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_geopandas_io.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_geopandas_io.cpython-312.pyc index 38585a58..cd9cc05a 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_geopandas_io.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_geopandas_io.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_path.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_path.cpython-312.pyc index 458b8045..b210ba13 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_path.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_path.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_raw_io.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_raw_io.cpython-312.pyc index b10794d4..2a8bb67e 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_raw_io.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/test_raw_io.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/win32.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/win32.cpython-312.pyc deleted file mode 100644 index 61813710..00000000 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/__pycache__/win32.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/conftest.py b/.venv/lib/python3.12/site-packages/pyogrio/tests/conftest.py index 76327b4f..d6bea86b 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/conftest.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/tests/conftest.py @@ -1,16 +1,26 @@ +from io import BytesIO from pathlib import Path -from zipfile import ZipFile, ZIP_DEFLATED +from zipfile import ZIP_DEFLATED, ZipFile -import pytest +import numpy as np from pyogrio import ( __gdal_version_string__, __version__, list_drivers, ) -from pyogrio._compat import HAS_ARROW_API, HAS_GDAL_GEOS, HAS_SHAPELY +from pyogrio._compat import ( + HAS_ARROW_API, + HAS_ARROW_WRITE_API, + HAS_GDAL_GEOS, + HAS_PYARROW, + HAS_PYPROJ, + HAS_SHAPELY, +) +from pyogrio.core import vsi_rmtree from pyogrio.raw import read, write +import pytest _data_dir = Path(__file__).parent.resolve() / "fixtures" @@ -29,6 +39,15 @@ DRIVER_EXT = {driver: ext for ext, driver in DRIVERS.items()} ALL_EXTS = [".fgb", ".geojson", ".geojsonl", ".gpkg", ".shp"] +START_FID = { + ".fgb": 0, + ".geojson": 0, + ".geojsonl": 0, + ".geojsons": 0, + ".gpkg": 1, + ".shp": 0, +} + def pytest_report_header(config): drivers = ", ".join( @@ -43,8 +62,16 @@ def pytest_report_header(config): # marks to skip tests if optional dependecies are not present -requires_arrow_api = pytest.mark.skipif( - not HAS_ARROW_API, reason="GDAL>=3.6 and pyarrow required" +requires_arrow_api = pytest.mark.skipif(not HAS_ARROW_API, reason="GDAL>=3.6 required") +requires_pyarrow_api = pytest.mark.skipif( + not HAS_ARROW_API or not HAS_PYARROW, reason="GDAL>=3.6 and pyarrow required" +) + +requires_pyproj = pytest.mark.skipif(not HAS_PYPROJ, reason="pyproj required") + +requires_arrow_write_api = pytest.mark.skipif( + not HAS_ARROW_WRITE_API or not HAS_PYARROW, + reason="GDAL>=3.8 required for Arrow write API", ) requires_gdal_geos = pytest.mark.skipif( @@ -99,20 +126,51 @@ def naturalearth_lowres_all_ext(tmp_path, naturalearth_lowres, request): @pytest.fixture(scope="function") def naturalearth_lowres_vsi(tmp_path, naturalearth_lowres): - """Wrap naturalearth_lowres as a zip file for vsi tests""" + """Wrap naturalearth_lowres as a zip file for VSI tests""" path = tmp_path / f"{naturalearth_lowres.name}.zip" with ZipFile(path, mode="w", compression=ZIP_DEFLATED, compresslevel=5) as out: - for ext in ["dbf", "prj", "shp", "shx"]: + for ext in ["dbf", "prj", "shp", "shx", "cpg"]: filename = f"{naturalearth_lowres.stem}.{ext}" out.write(naturalearth_lowres.parent / filename, filename) return path, f"/vsizip/{path}/{naturalearth_lowres.name}" +@pytest.fixture(scope="function") +def naturalearth_lowres_vsimem(naturalearth_lowres): + """Write naturalearth_lowres to a vsimem file for VSI tests""" + + meta, _, geometry, field_data = read(naturalearth_lowres) + name = f"pyogrio_fixture_{naturalearth_lowres.stem}" + dst_path = Path(f"/vsimem/{name}/{name}.gpkg") + meta["spatial_index"] = False + meta["geometry_type"] = "MultiPolygon" + + write(dst_path, geometry, field_data, layer="naturalearth_lowres", **meta) + yield dst_path + + vsi_rmtree(dst_path.parent) + + @pytest.fixture(scope="session") -def test_fgdb_vsi(): - return f"/vsizip/{_data_dir}/test_fgdb.gdb.zip" +def line_zm_file(): + return _data_dir / "line_zm.gpkg" + + +@pytest.fixture(scope="session") +def curve_file(): + return _data_dir / "curve.gpkg" + + +@pytest.fixture(scope="session") +def curve_polygon_file(): + return _data_dir / "curvepolygon.gpkg" + + +@pytest.fixture(scope="session") +def multisurface_file(): + return _data_dir / "multisurface.gpkg" @pytest.fixture(scope="session") @@ -120,16 +178,221 @@ def test_gpkg_nulls(): return _data_dir / "test_gpkg_nulls.gpkg" -@pytest.fixture(scope="session") -def test_ogr_types_list(): - return _data_dir / "test_ogr_types_list.geojson" +@pytest.fixture(scope="function") +def no_geometry_file(tmp_path): + # create a GPKG layer that does not include geometry + filename = tmp_path / "test_no_geometry.gpkg" + write( + filename, + layer="no_geometry", + geometry=None, + field_data=[np.array(["a", "b", "c"])], + fields=["col"], + ) + + return filename -@pytest.fixture(scope="session") -def test_datetime(): - return _data_dir / "test_datetime.geojson" +@pytest.fixture(scope="function") +def list_field_values_file(tmp_path): + # Create a GeoJSON file with list values in a property + list_geojson = """{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { "int64": 1, "list_int64": [0, 1] }, + "geometry": { "type": "Point", "coordinates": [0, 2] } + }, + { + "type": "Feature", + "properties": { "int64": 2, "list_int64": [2, 3] }, + "geometry": { "type": "Point", "coordinates": [1, 2] } + }, + { + "type": "Feature", + "properties": { "int64": 3, "list_int64": [4, 5] }, + "geometry": { "type": "Point", "coordinates": [2, 2] } + }, + { + "type": "Feature", + "properties": { "int64": 4, "list_int64": [6, 7] }, + "geometry": { "type": "Point", "coordinates": [3, 2] } + }, + { + "type": "Feature", + "properties": { "int64": 5, "list_int64": [8, 9] }, + "geometry": { "type": "Point", "coordinates": [4, 2] } + } + ] + }""" + + filename = tmp_path / "test_ogr_types_list.geojson" + with open(filename, "w") as f: + _ = f.write(list_geojson) + + return filename -@pytest.fixture(scope="session") -def test_datetime_tz(): - return _data_dir / "test_datetime_tz.geojson" +@pytest.fixture(scope="function") +def nested_geojson_file(tmp_path): + # create GeoJSON file with nested properties + nested_geojson = """{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "geometry": { + "type": "Point", + "coordinates": [0, 0] + }, + "properties": { + "top_level": "A", + "intermediate_level": { + "bottom_level": "B" + } + } + } + ] + }""" + + filename = tmp_path / "test_nested.geojson" + with open(filename, "w") as f: + _ = f.write(nested_geojson) + + return filename + + +@pytest.fixture(scope="function") +def datetime_file(tmp_path): + # create GeoJSON file with millisecond precision + datetime_geojson = """{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { "col": "2020-01-01T09:00:00.123" }, + "geometry": { "type": "Point", "coordinates": [1, 1] } + }, + { + "type": "Feature", + "properties": { "col": "2020-01-01T10:00:00" }, + "geometry": { "type": "Point", "coordinates": [2, 2] } + } + ] + }""" + + filename = tmp_path / "test_datetime.geojson" + with open(filename, "w") as f: + _ = f.write(datetime_geojson) + + return filename + + +@pytest.fixture(scope="function") +def datetime_tz_file(tmp_path): + # create GeoJSON file with datetimes with timezone + datetime_tz_geojson = """{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { "datetime_col": "2020-01-01T09:00:00.123-05:00" }, + "geometry": { "type": "Point", "coordinates": [1, 1] } + }, + { + "type": "Feature", + "properties": { "datetime_col": "2020-01-01T10:00:00-05:00" }, + "geometry": { "type": "Point", "coordinates": [2, 2] } + } + ] + }""" + + filename = tmp_path / "test_datetime_tz.geojson" + with open(filename, "w") as f: + f.write(datetime_tz_geojson) + + return filename + + +@pytest.fixture(scope="function") +def geojson_bytes(tmp_path): + """Extracts first 3 records from naturalearth_lowres and writes to GeoJSON, + returning bytes""" + meta, _, geometry, field_data = read( + _data_dir / Path("naturalearth_lowres/naturalearth_lowres.shp"), max_features=3 + ) + + filename = tmp_path / "test.geojson" + write(filename, geometry, field_data, **meta) + + with open(filename, "rb") as f: + bytes_buffer = f.read() + + return bytes_buffer + + +@pytest.fixture(scope="function") +def geojson_filelike(tmp_path): + """Extracts first 3 records from naturalearth_lowres and writes to GeoJSON, + returning open file handle""" + meta, _, geometry, field_data = read( + _data_dir / Path("naturalearth_lowres/naturalearth_lowres.shp"), max_features=3 + ) + + filename = tmp_path / "test.geojson" + write(filename, geometry, field_data, layer="test", **meta) + + with open(filename, "rb") as f: + yield f + + +@pytest.fixture(scope="function") +def nonseekable_bytes(tmp_path): + # mock a non-seekable byte stream, such as a zstandard handle + class NonSeekableBytesIO(BytesIO): + def seekable(self): + return False + + def seek(self, *args, **kwargs): + raise OSError("cannot seek") + + # wrap GeoJSON into a non-seekable BytesIO + geojson = """{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": { }, + "geometry": { "type": "Point", "coordinates": [1, 1] } + } + ] + }""" + + return NonSeekableBytesIO(geojson.encode("UTF-8")) + + +@pytest.fixture( + scope="session", + params=[ + # Japanese + ("CP932", "ホ"), + # Chinese + ("CP936", "中文"), + # Central European + ("CP1250", "Ä"), + # Latin 1 / Western European + ("CP1252", "ÿ"), + # Greek + ("CP1253", "Φ"), + # Arabic + ("CP1256", "Ø´"), + ], +) +def encoded_text(request): + """Return tuple with encoding name and very short sample text in that encoding + NOTE: it was determined through testing that code pages for MS-DOS do not + consistently work across all Python installations (in particular, fail with conda), + but ANSI code pages appear to work properly. + """ + return request.param diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/README.md b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/README.md index 89ef7937..4cab72d0 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/README.md +++ b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/README.md @@ -1,13 +1,28 @@ # Test datasets -## Natural Earth lowres +## Obtaining / creating test datasets + +If a test dataset can be created in code, do that instead. If it is used in a +single test, create the test dataset as part of that test. If it is used in +more than a single test, add it to `pyogrio/tests/conftest.py` instead, as a +function-scoped test fixture. + +If you need to obtain 3rd party test files: + +- add a section below that describes the source location and processing steps + to derive that dataset +- make sure the license is compatible with including in Pyogrio (public domain or open-source) + and record that license below + +Please keep the test files no larger than necessary to use in tests. + +## Included test datasets + +### Natural Earth lowres `naturalearth_lowres.shp` was copied from GeoPandas. -## FGDB test dataset - -`test_fgdb.gdb.zip` -Downloaded from http://trac.osgeo.org/gdal/raw-attachment/wiki/FileGDB/test_fgdb.gdb.zip +License: public domain ### GPKG test dataset with null values @@ -75,15 +90,19 @@ NOTE: Reading boolean values into GeoPandas using Fiona backend treats those values as `None` and column dtype as `object`; Pyogrio treats those values as `np.nan` and column dtype as `float64`. -### GPKG test with MultiSurface - -This was extracted from https://prd-tnm.s3.amazonaws.com/StagedProducts/Hydrography/NHDPlusHR/Beta/GDB/NHDPLUS_H_0308_HU4_GDB.zip -`NHDWaterbody` layer using ogr2ogr: - -```bash -ogr2ogr test_mixed_surface.gpkg NHDPLUS_H_0308_HU4_GDB.gdb NHDWaterbody -where '"NHDPlusID" = 15000300070477' -select "NHDPlusID" -``` +License: same as Pyogrio ### OSM PBF test This was downloaded from https://github.com/openstreetmap/OSM-binary/blob/master/resources/sample.pbf + +License: [Open Data Commons Open Database License (ODbL)](https://opendatacommons.org/licenses/odbl/) + +### Test files for geometry types that are downgraded on read + +`line_zm.gpkg` was created using QGIS to digitize a LineString GPKG layer with Z and M enabled. Downgraded to LineString Z on read. +`curve.gpkg` was created using QGIS to digitize a Curve GPKG layer. Downgraded to LineString on read. +`curvepolygon.gpkg` was created using QGIS to digitize a CurvePolygon GPKG layer. Downgraded to Polygon on read. +`multisurface.gpkg` was created using QGIS to digitize a MultiSurface GPKG layer. Downgraded to MultiPolygon on read. + +License: same as Pyogrio diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf index d6f86998..76683d7d 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf and b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp index 9318e45c..6fded2d5 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp and b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx index c3728e0d..a96b56d9 100644 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx and b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shx differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_datetime.geojson b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_datetime.geojson deleted file mode 100644 index eb949330..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_datetime.geojson +++ /dev/null @@ -1,7 +0,0 @@ -{ -"type": "FeatureCollection", -"features": [ -{ "type": "Feature", "properties": { "col": "2020-01-01T09:00:00.123" }, "geometry": { "type": "Point", "coordinates": [ 1.0, 1.0 ] } }, -{ "type": "Feature", "properties": { "col": "2020-01-01T10:00:00" }, "geometry": { "type": "Point", "coordinates": [ 2.0, 2.0 ] } } -] -} diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_datetime_tz.geojson b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_datetime_tz.geojson deleted file mode 100644 index e6b39206..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_datetime_tz.geojson +++ /dev/null @@ -1,8 +0,0 @@ -{ -"type": "FeatureCollection", -"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, -"features": [ -{ "type": "Feature", "properties": { "datetime_col": "2020-01-01T09:00:00.123-05:00" }, "geometry": { "type": "Point", "coordinates": [ 1.0, 1.0 ] } }, -{ "type": "Feature", "properties": { "datetime_col": "2020-01-01T10:00:00-05:00" }, "geometry": { "type": "Point", "coordinates": [ 2.0, 2.0 ] } } -] -} diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_fgdb.gdb.zip b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_fgdb.gdb.zip deleted file mode 100644 index a4279f2e..00000000 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_fgdb.gdb.zip and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_multisurface.gpkg b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_multisurface.gpkg deleted file mode 100644 index 5da53695..00000000 Binary files a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_multisurface.gpkg and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_nested.geojson b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_nested.geojson deleted file mode 100644 index fdf5de80..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_nested.geojson +++ /dev/null @@ -1,18 +0,0 @@ -{ - "type": "FeatureCollection", - "features": [ - { - "type": "Feature", - "geometry": { - "type": "Point", - "coordinates": [0, 0] - }, - "properties": { - "top_level": "A", - "intermediate_level": { - "bottom_level": "B" - } - } - } - ] -} diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_ogr_types_list.geojson b/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_ogr_types_list.geojson deleted file mode 100644 index 85719696..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/fixtures/test_ogr_types_list.geojson +++ /dev/null @@ -1,12 +0,0 @@ -{ -"type": "FeatureCollection", -"name": "test", -"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, -"features": [ -{ "type": "Feature", "properties": { "int64": 1, "list_int64": [ 0, 1 ] }, "geometry": { "type": "Point", "coordinates": [ 0.0, 2.0 ] } }, -{ "type": "Feature", "properties": { "int64": 2, "list_int64": [ 2, 3 ] }, "geometry": { "type": "Point", "coordinates": [ 1.0, 2.0 ] } }, -{ "type": "Feature", "properties": { "int64": 3, "list_int64": [ 4, 5 ] }, "geometry": { "type": "Point", "coordinates": [ 2.0, 2.0 ] } }, -{ "type": "Feature", "properties": { "int64": 4, "list_int64": [ 6, 7 ] }, "geometry": { "type": "Point", "coordinates": [ 3.0, 2.0 ] } }, -{ "type": "Feature", "properties": { "int64": 5, "list_int64": [ 8, 9 ] }, "geometry": { "type": "Point", "coordinates": [ 4.0, 2.0 ] } } -] -} diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_arrow.py b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_arrow.py index dc62bff1..0a89a92a 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_arrow.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_arrow.py @@ -1,25 +1,49 @@ import contextlib +import json import math import os +import sys +from io import BytesIO +from packaging.version import Version +from zipfile import ZipFile + +import numpy as np + +import pyogrio +from pyogrio import ( + __gdal_version__, + get_gdal_config_option, + list_layers, + read_dataframe, + read_info, + set_gdal_config_options, + vsi_listtree, +) +from pyogrio.errors import DataLayerError, DataSourceError, FieldError +from pyogrio.raw import open_arrow, read_arrow, write, write_arrow +from pyogrio.tests.conftest import ( + ALL_EXTS, + DRIVER_EXT, + DRIVERS, + requires_arrow_write_api, + requires_pyarrow_api, +) import pytest -from pyogrio import __gdal_version__, read_dataframe -from pyogrio.raw import open_arrow, read_arrow -from pyogrio.tests.conftest import requires_arrow_api - try: import pandas as pd - from pandas.testing import assert_frame_equal, assert_index_equal - from geopandas.testing import assert_geodataframe_equal - import pyarrow + + from geopandas.testing import assert_geodataframe_equal + from pandas.testing import assert_frame_equal, assert_index_equal except ImportError: pass # skip all tests in this file if Arrow API or GeoPandas are unavailable -pytestmark = requires_arrow_api +pytestmark = requires_pyarrow_api pytest.importorskip("geopandas") +pa = pytest.importorskip("pyarrow") def test_read_arrow(naturalearth_lowres_all_ext): @@ -33,6 +57,12 @@ def test_read_arrow(naturalearth_lowres_all_ext): assert_geodataframe_equal(result, expected, check_less_precise=check_less_precise) +def test_read_arrow_unspecified_layer_warning(data_dir): + """Reading a multi-layer file without specifying a layer gives a warning.""" + with pytest.warns(UserWarning, match="More than one layer found "): + read_arrow(data_dir / "sample.osm.pbf") + + @pytest.mark.parametrize("skip_features, expected", [(10, 167), (200, 0)]) def test_read_arrow_skip_features(naturalearth_lowres, skip_features, expected): table = read_arrow(naturalearth_lowres, skip_features=skip_features)[1] @@ -103,23 +133,24 @@ def test_read_arrow_ignore_geometry(naturalearth_lowres): assert_frame_equal(result, expected) -def test_read_arrow_nested_types(test_ogr_types_list): +def test_read_arrow_nested_types(list_field_values_file): # with arrow, list types are supported - result = read_dataframe(test_ogr_types_list, use_arrow=True) + result = read_dataframe(list_field_values_file, use_arrow=True) assert "list_int64" in result.columns assert result["list_int64"][0].tolist() == [0, 1] -def test_read_arrow_to_pandas_kwargs(test_fgdb_vsi): +def test_read_arrow_to_pandas_kwargs(no_geometry_file): # with arrow, list types are supported arrow_to_pandas_kwargs = {"strings_to_categorical": True} - result = read_dataframe( - test_fgdb_vsi, + df = read_dataframe( + no_geometry_file, + read_geometry=False, use_arrow=True, arrow_to_pandas_kwargs=arrow_to_pandas_kwargs, ) - assert "SEGMENT_NAME" in result.columns - assert result["SEGMENT_NAME"].dtype.name == "category" + assert df.col.dtype.name == "category" + assert np.array_equal(df.col.values.categories, ["a", "b", "c"]) def test_read_arrow_raw(naturalearth_lowres): @@ -128,18 +159,59 @@ def test_read_arrow_raw(naturalearth_lowres): assert isinstance(table, pyarrow.Table) -def test_open_arrow(naturalearth_lowres): - with open_arrow(naturalearth_lowres) as (meta, reader): +def test_read_arrow_vsi(naturalearth_lowres_vsi): + table = read_arrow(naturalearth_lowres_vsi[1])[1] + assert len(table) == 177 + + # Check temp file was cleaned up. Filter to files created by pyogrio, as GDAL keeps + # cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +def test_read_arrow_bytes(geojson_bytes): + meta, table = read_arrow(geojson_bytes) + + assert meta["fields"].shape == (5,) + assert len(table) == 3 + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +def test_read_arrow_nonseekable_bytes(nonseekable_bytes): + meta, table = read_arrow(nonseekable_bytes) + assert meta["fields"].shape == (0,) + assert len(table) == 1 + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +def test_read_arrow_filelike(geojson_filelike): + meta, table = read_arrow(geojson_filelike) + + assert meta["fields"].shape == (5,) + assert len(table) == 3 + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +def test_open_arrow_pyarrow(naturalearth_lowres): + with open_arrow(naturalearth_lowres, use_pyarrow=True) as (meta, reader): assert isinstance(meta, dict) assert isinstance(reader, pyarrow.RecordBatchReader) assert isinstance(reader.read_all(), pyarrow.Table) def test_open_arrow_batch_size(naturalearth_lowres): - meta, table = read_arrow(naturalearth_lowres) + _, table = read_arrow(naturalearth_lowres) batch_size = math.ceil(len(table) / 2) - with open_arrow(naturalearth_lowres, batch_size=batch_size) as (meta, reader): + with open_arrow(naturalearth_lowres, batch_size=batch_size, use_pyarrow=True) as ( + meta, + reader, + ): assert isinstance(meta, dict) assert isinstance(reader, pyarrow.RecordBatchReader) count = 0 @@ -185,6 +257,49 @@ def test_open_arrow_max_features_unsupported(naturalearth_lowres, max_features): pass +@pytest.mark.skipif( + __gdal_version__ < (3, 8, 0), + reason="returns geoarrow metadata only for GDAL>=3.8.0", +) +def test_read_arrow_geoarrow_metadata(naturalearth_lowres): + _meta, table = read_arrow(naturalearth_lowres) + field = table.schema.field("wkb_geometry") + assert field.metadata[b"ARROW:extension:name"] == b"geoarrow.wkb" + parsed_meta = json.loads(field.metadata[b"ARROW:extension:metadata"]) + assert parsed_meta["crs"]["id"]["authority"] == "EPSG" + assert parsed_meta["crs"]["id"]["code"] == 4326 + + +def test_open_arrow_capsule_protocol(naturalearth_lowres): + pytest.importorskip("pyarrow", minversion="14") + + with open_arrow(naturalearth_lowres) as (meta, reader): + assert isinstance(meta, dict) + assert isinstance(reader, pyogrio._io._ArrowStream) + + result = pyarrow.table(reader) + + _, expected = read_arrow(naturalearth_lowres) + assert result.equals(expected) + + +def test_open_arrow_capsule_protocol_without_pyarrow(naturalearth_lowres): + pyarrow = pytest.importorskip("pyarrow", minversion="14") + + # Make PyArrow temporarily unavailable (importing will fail) + sys.modules["pyarrow"] = None + try: + with open_arrow(naturalearth_lowres) as (meta, reader): + assert isinstance(meta, dict) + assert isinstance(reader, pyogrio._io._ArrowStream) + result = pyarrow.table(reader) + finally: + sys.modules["pyarrow"] = pyarrow + + _, expected = read_arrow(naturalearth_lowres) + assert result.equals(expected) + + @contextlib.contextmanager def use_arrow_context(): original = os.environ.get("PYOGRIO_USE_ARROW", None) @@ -196,12 +311,885 @@ def use_arrow_context(): del os.environ["PYOGRIO_USE_ARROW"] -def test_enable_with_environment_variable(test_ogr_types_list): +def test_enable_with_environment_variable(list_field_values_file): # list types are only supported with arrow, so don't work by default and work # when arrow is enabled through env variable - result = read_dataframe(test_ogr_types_list) + result = read_dataframe(list_field_values_file) assert "list_int64" not in result.columns with use_arrow_context(): - result = read_dataframe(test_ogr_types_list) + result = read_dataframe(list_field_values_file) + assert "list_int64" in result.columns + + +@pytest.mark.skipif( + __gdal_version__ < (3, 8, 3), reason="Arrow bool value bug fixed in GDAL >= 3.8.3" +) +@pytest.mark.parametrize("ext", ALL_EXTS) +def test_arrow_bool_roundtrip(tmp_path, ext): + filename = tmp_path / f"test{ext}" + + # Point(0, 0) + geometry = np.array( + [bytes.fromhex("010100000000000000000000000000000000000000")] * 5, dtype=object + ) + bool_col = np.array([True, False, True, False, True]) + field_data = [bool_col] + fields = ["bool_col"] + + kwargs = {} + + if ext == ".fgb": + # For .fgb, spatial_index=False to avoid the rows being reordered + kwargs["spatial_index"] = False + + write( + filename, + geometry, + field_data, + fields, + geometry_type="Point", + crs="EPSG:4326", + **kwargs, + ) + + write( + filename, geometry, field_data, fields, geometry_type="Point", crs="EPSG:4326" + ) + table = read_arrow(filename)[1] + + assert np.array_equal(table["bool_col"].to_numpy(), bool_col) + + +@pytest.mark.skipif( + __gdal_version__ >= (3, 8, 3), reason="Arrow bool value bug fixed in GDAL >= 3.8.3" +) +@pytest.mark.parametrize("ext", ALL_EXTS) +def test_arrow_bool_exception(tmp_path, ext): + filename = tmp_path / f"test{ext}" + + # Point(0, 0) + geometry = np.array( + [bytes.fromhex("010100000000000000000000000000000000000000")] * 5, dtype=object + ) + bool_col = np.array([True, False, True, False, True]) + field_data = [bool_col] + fields = ["bool_col"] + + write( + filename, geometry, field_data, fields, geometry_type="Point", crs="EPSG:4326" + ) + + if ext in {".fgb", ".gpkg"}: + # only raise exception for GPKG / FGB + with pytest.raises( + RuntimeError, + match="GDAL < 3.8.3 does not correctly read boolean data values using " + "the Arrow API", + ): + with open_arrow(filename): + pass + + # do not raise exception if no bool columns are read + with open_arrow(filename, columns=[]): + pass + + else: + with open_arrow(filename): + pass + + +# Point(0, 0) +points = np.array( + [bytes.fromhex("010100000000000000000000000000000000000000")] * 3, + dtype=object, +) + + +@requires_arrow_write_api +def test_write_shp(tmp_path, naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + + filename = tmp_path / "test.shp" + write_arrow( + table, + filename, + crs=meta["crs"], + encoding=meta["encoding"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + assert filename.exists() + for ext in (".dbf", ".prj"): + assert filename.with_suffix(ext).exists() + + +@pytest.mark.filterwarnings("ignore:A geometry of type POLYGON is inserted") +@requires_arrow_write_api +def test_write_gpkg(tmp_path, naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + + filename = tmp_path / "test.gpkg" + write_arrow( + table, + filename, + driver="GPKG", + crs=meta["crs"], + geometry_type="MultiPolygon", + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + assert filename.exists() + + +@pytest.mark.filterwarnings("ignore:A geometry of type POLYGON is inserted") +@requires_arrow_write_api +def test_write_gpkg_multiple_layers(tmp_path, naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + meta["geometry_type"] = "MultiPolygon" + + filename = tmp_path / "test.gpkg" + write_arrow( + table, + filename, + driver="GPKG", + layer="first", + crs=meta["crs"], + geometry_type="MultiPolygon", + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + assert filename.exists() + + assert np.array_equal(list_layers(filename), [["first", "MultiPolygon"]]) + + write_arrow( + table, + filename, + driver="GPKG", + layer="second", + crs=meta["crs"], + geometry_type="MultiPolygon", + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + assert np.array_equal( + list_layers(filename), [["first", "MultiPolygon"], ["second", "MultiPolygon"]] + ) + + +@requires_arrow_write_api +def test_write_geojson(tmp_path, naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + filename = tmp_path / "test.json" + write_arrow( + table, + filename, + driver="GeoJSON", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + assert filename.exists() + + data = json.loads(open(filename).read()) + + assert data["type"] == "FeatureCollection" + assert data["name"] == "test" + assert "crs" in data + assert len(data["features"]) == len(table) + assert not len( + set(meta["fields"]).difference(data["features"][0]["properties"].keys()) + ) + + +@requires_arrow_write_api +@pytest.mark.skipif( + __gdal_version__ < (3, 6, 0), + reason="OpenFileGDB write support only available for GDAL >= 3.6.0", +) +@pytest.mark.parametrize( + "write_int64", + [ + False, + pytest.param( + True, + marks=pytest.mark.skipif( + __gdal_version__ < (3, 9, 0), + reason="OpenFileGDB write support for int64 values for GDAL >= 3.9.0", + ), + ), + ], +) +def test_write_openfilegdb(tmp_path, write_int64): + expected_field_data = [ + np.array([True, False, True], dtype="bool"), + np.array([1, 2, 3], dtype="int16"), + np.array([1, 2, 3], dtype="int32"), + np.array([1, 2, 3], dtype="int64"), + np.array([1, 2, 3], dtype="float32"), + np.array([1, 2, 3], dtype="float64"), + ] + + table = pa.table( + { + "geometry": points, + **{field.dtype.name: field for field in expected_field_data}, + } + ) + + filename = tmp_path / "test.gdb" + + expected_meta = {"crs": "EPSG:4326"} + + # int64 is not supported without additional config: https://gdal.org/en/latest/drivers/vector/openfilegdb.html#bit-integer-field-support + # it is converted to float64 by default and raises a warning + # (for GDAL >= 3.9.0 only) + write_params = ( + {"TARGET_ARCGIS_VERSION": "ARCGIS_PRO_3_2_OR_LATER"} if write_int64 else {} + ) + + if write_int64 or __gdal_version__ < (3, 9, 0): + ctx = contextlib.nullcontext() + else: + ctx = pytest.warns( + RuntimeWarning, match="Integer64 will be written as a Float64" + ) + + with ctx: + write_arrow( + table, + filename, + driver="OpenFileGDB", + geometry_type="Point", + geometry_name="geometry", + **expected_meta, + **write_params, + ) + + meta, table = read_arrow(filename) + + if not write_int64: + expected_field_data[3] = expected_field_data[3].astype("float64") + + # bool types are converted to int32 + expected_field_data[0] = expected_field_data[0].astype("int32") + + assert meta["crs"] == expected_meta["crs"] + + # NOTE: geometry name is set to "SHAPE" by GDAL + assert np.array_equal(table[meta["geometry_name"]], points) + for i in range(len(expected_field_data)): + values = table[table.schema.names[i]].to_numpy() + assert values.dtype == expected_field_data[i].dtype + assert np.array_equal(values, expected_field_data[i]) + + +@pytest.mark.parametrize( + "driver", + { + driver + for driver in DRIVERS.values() + if driver not in ("ESRI Shapefile", "GPKG", "GeoJSON") + }, +) +@requires_arrow_write_api +def test_write_supported(tmp_path, naturalearth_lowres, driver): + """Test drivers known to work that are not specifically tested above""" + meta, table = read_arrow(naturalearth_lowres, columns=["iso_a3"], max_features=1) + + # note: naturalearth_lowres contains mixed polygons / multipolygons, which + # are not supported in mixed form for all drivers. To get around this here + # we take the first record only. + meta["geometry_type"] = "MultiPolygon" + + filename = tmp_path / f"test{DRIVER_EXT[driver]}" + write_arrow( + table, + filename, + driver=driver, + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + assert filename.exists() + + +@requires_arrow_write_api +def test_write_unsupported(tmp_path, naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + + with pytest.raises(DataSourceError, match="does not support write functionality"): + write_arrow( + table, + tmp_path / "test.json", + driver="ESRIJSON", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + +@pytest.mark.parametrize("ext", DRIVERS) +@requires_arrow_write_api +def test_write_append(request, tmp_path, naturalearth_lowres, ext): + if ext.startswith(".geojson"): + # Bug in GDAL when appending int64 to GeoJSON + # (https://github.com/OSGeo/gdal/issues/9792) + request.node.add_marker( + pytest.mark.xfail(reason="Bugs with append when writing Arrow to GeoJSON") + ) + + meta, table = read_arrow(naturalearth_lowres) + + # coerce output layer to generic Geometry to avoid mixed type errors + meta["geometry_type"] = "Unknown" + + filename = tmp_path / f"test{ext}" + write_arrow( + table, + filename, + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + assert filename.exists() + assert read_info(filename)["features"] == 177 + + # write the same records again + write_arrow( + table, + filename, + append=True, + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + assert read_info(filename)["features"] == 354 + + +@pytest.mark.parametrize("driver,ext", [("GML", ".gml"), ("GeoJSONSeq", ".geojsons")]) +@requires_arrow_write_api +def test_write_append_unsupported(tmp_path, naturalearth_lowres, driver, ext): + meta, table = read_arrow(naturalearth_lowres) + + # GML does not support append functionality + filename = tmp_path / "test.gml" + write_arrow( + table, + filename, + driver="GML", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + assert filename.exists() + assert read_info(filename, force_feature_count=True)["features"] == 177 + + with pytest.raises(DataSourceError): + write_arrow( + table, + filename, + driver="GML", + append=True, + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + +@requires_arrow_write_api +def test_write_gdalclose_error(naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + + filename = "s3://non-existing-bucket/test.geojson" + + # set config options to avoid errors on open due to GDAL S3 configuration + set_gdal_config_options( + { + "AWS_ACCESS_KEY_ID": "invalid", + "AWS_SECRET_ACCESS_KEY": "invalid", + "AWS_NO_SIGN_REQUEST": True, + } + ) + + with pytest.raises(DataSourceError, match="Failed to write features to dataset"): + write_arrow( + table, + filename, + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + +@requires_arrow_write_api +@pytest.mark.parametrize("name", ["geoarrow.wkb", "ogc.wkb"]) +def test_write_geometry_extension_type(tmp_path, naturalearth_lowres, name): + # Infer geometry column based on extension name + # instead of passing `geometry_name` explicitly + meta, table = read_arrow(naturalearth_lowres) + + # change extension type name + idx = table.schema.get_field_index("wkb_geometry") + new_field = table.schema.field(idx).with_metadata({"ARROW:extension:name": name}) + new_table = table.cast(table.schema.set(idx, new_field)) + + filename = tmp_path / "test_geoarrow.shp" + write_arrow( + new_table, + filename, + crs=meta["crs"], + geometry_type=meta["geometry_type"], + ) + _, table_roundtripped = read_arrow(filename) + assert table_roundtripped.equals(table) + + +@requires_arrow_write_api +def test_write_unsupported_geoarrow(tmp_path, naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + + # change extension type name (the name doesn't match with the column type + # for correct geoarrow data, but our writing code checks it based on the name) + idx = table.schema.get_field_index("wkb_geometry") + new_field = table.schema.field(idx).with_metadata( + {"ARROW:extension:name": "geoarrow.point"} + ) + new_table = table.cast(table.schema.set(idx, new_field)) + + with pytest.raises( + NotImplementedError, + match="Writing a geometry column of type geoarrow.point is not yet supported", + ): + write_arrow( + new_table, + tmp_path / "test_geoarrow.shp", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + ) + + +@requires_arrow_write_api +def test_write_no_geom(tmp_path, naturalearth_lowres): + _, table = read_arrow(naturalearth_lowres) + table = table.drop_columns("wkb_geometry") + + # Test + filename = tmp_path / "test.gpkg" + write_arrow(table, filename) + # Check result + assert filename.exists() + meta, result = read_arrow(filename) + assert meta["crs"] is None + assert meta["geometry_type"] is None + assert table.equals(result) + + +@requires_arrow_write_api +def test_write_geometry_type(tmp_path, naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + + # Not specifying the geometry currently raises an error + with pytest.raises(ValueError, match="'geometry_type' keyword is required"): + write_arrow( + table, + tmp_path / "test.shp", + crs=meta["crs"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + # Specifying "Unknown" works and will create generic layer + filename = tmp_path / "test.gpkg" + write_arrow( + table, + filename, + crs=meta["crs"], + geometry_type="Unknown", + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + assert filename.exists() + meta_written, _ = read_arrow(filename) + assert meta_written["geometry_type"] == "Unknown" + + +@requires_arrow_write_api +def test_write_raise_promote_to_multi(tmp_path, naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + + with pytest.raises( + ValueError, match="The 'promote_to_multi' option is not supported" + ): + write_arrow( + table, + tmp_path / "test.shp", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + promote_to_multi=True, + ) + + +@requires_arrow_write_api +def test_write_no_crs(tmp_path, naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres) + + filename = tmp_path / "test.shp" + with pytest.warns(UserWarning, match="'crs' was not provided"): + write_arrow( + table, + filename, + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + # apart from CRS warning, it did write correctly + meta_result, result = read_arrow(filename) + assert table.equals(result) + assert meta_result["crs"] is None + + +@requires_arrow_write_api +def test_write_non_arrow_data(tmp_path): + data = np.array([1, 2, 3]) + with pytest.raises( + ValueError, match="The provided data is not recognized as Arrow data" + ): + write_arrow( + data, + tmp_path / "test_no_arrow_data.shp", + crs="EPSG:4326", + geometry_type="Point", + geometry_name="geometry", + ) + + +@pytest.mark.skipif( + Version(pa.__version__) < Version("16.0.0.dev0"), + reason="PyCapsule protocol only added to pyarrow.ChunkedArray in pyarrow 16", +) +@requires_arrow_write_api +def test_write_non_arrow_tabular_data(tmp_path): + data = pa.chunked_array([[1, 2, 3], [4, 5, 6]]) + with pytest.raises( + DataLayerError, + match=".*should be called on a schema that is a struct of fields", + ): + write_arrow( + data, + tmp_path / "test_no_arrow_tabular_data.shp", + crs="EPSG:4326", + geometry_type="Point", + geometry_name="geometry", + ) + + +@pytest.mark.filterwarnings("ignore:.*not handled natively:RuntimeWarning") +@requires_arrow_write_api +def test_write_batch_error_message(tmp_path): + # raise the correct error and message from GDAL when an error happens + # while writing + + # invalid dictionary array that will only error while writing (schema + # itself is OK) + arr = pa.DictionaryArray.from_buffers( + pa.dictionary(pa.int64(), pa.string()), + length=3, + buffers=pa.array([0, 1, 2]).buffers(), + dictionary=pa.array(["a", "b"]), + ) + table = pa.table({"geometry": points, "col": arr}) + + with pytest.raises(DataLayerError, match=".*invalid dictionary index"): + write_arrow( + table, + tmp_path / "test_unsupported_list_type.fgb", + crs="EPSG:4326", + geometry_type="Point", + geometry_name="geometry", + ) + + +@requires_arrow_write_api +def test_write_schema_error_message(tmp_path): + # raise the correct error and message from GDAL when an error happens + # creating the fields from the schema + # (using complex list of map of integer->integer which is not supported by GDAL) + table = pa.table( + { + "geometry": points, + "col": pa.array( + [[[(1, 2), (3, 4)], None, [(5, 6)]]] * 3, + pa.list_(pa.map_(pa.int64(), pa.int64())), + ), + } + ) + + with pytest.raises(FieldError, match=".*not supported"): + write_arrow( + table, + tmp_path / "test_unsupported_map_type.shp", + crs="EPSG:4326", + geometry_type="Point", + geometry_name="geometry", + ) + + +@requires_arrow_write_api +@pytest.mark.filterwarnings("ignore:File /vsimem:RuntimeWarning") +@pytest.mark.parametrize("driver", ["GeoJSON", "GPKG"]) +def test_write_memory(naturalearth_lowres, driver): + meta, table = read_arrow(naturalearth_lowres, max_features=1) + meta["geometry_type"] = "MultiPolygon" + + buffer = BytesIO() + write_arrow( + table, + buffer, + driver=driver, + layer="test", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + assert len(buffer.getbuffer()) > 0 + assert list_layers(buffer)[0][0] == "test" + + actual_meta, actual_table = read_arrow(buffer) + assert len(actual_table) == len(table) + assert np.array_equal(actual_meta["fields"], meta["fields"]) + + +@requires_arrow_write_api +def test_write_memory_driver_required(naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres, max_features=1) + + buffer = BytesIO() + with pytest.raises( + ValueError, + match="driver must be provided to write to in-memory file", + ): + write_arrow( + table, + buffer, + driver=None, + layer="test", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +@requires_arrow_write_api +@pytest.mark.parametrize("driver", ["ESRI Shapefile", "OpenFileGDB"]) +def test_write_memory_unsupported_driver(naturalearth_lowres, driver): + if driver == "OpenFileGDB" and __gdal_version__ < (3, 6, 0): + pytest.skip("OpenFileGDB write support only available for GDAL >= 3.6.0") + + meta, table = read_arrow(naturalearth_lowres, max_features=1) + + buffer = BytesIO() + + with pytest.raises( + ValueError, match=f"writing to in-memory file is not supported for {driver}" + ): + write_arrow( + table, + buffer, + driver=driver, + layer="test", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + +@requires_arrow_write_api +@pytest.mark.parametrize("driver", ["GeoJSON", "GPKG"]) +def test_write_memory_append_unsupported(naturalearth_lowres, driver): + meta, table = read_arrow(naturalearth_lowres, max_features=1) + meta["geometry_type"] = "MultiPolygon" + + buffer = BytesIO() + with pytest.raises( + NotImplementedError, match="append is not supported for in-memory files" + ): + write_arrow( + table, + buffer, + driver=driver, + layer="test", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + append=True, + ) + + +@requires_arrow_write_api +def test_write_memory_existing_unsupported(naturalearth_lowres): + meta, table = read_arrow(naturalearth_lowres, max_features=1) + meta["geometry_type"] = "MultiPolygon" + + buffer = BytesIO(b"0000") + with pytest.raises( + NotImplementedError, + match="writing to existing in-memory object is not supported", + ): + write_arrow( + table, + buffer, + driver="GeoJSON", + layer="test", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + +@requires_arrow_write_api +def test_write_open_file_handle(tmp_path, naturalearth_lowres): + """Verify that writing to an open file handle is not currently supported""" + + meta, table = read_arrow(naturalearth_lowres, max_features=1) + meta["geometry_type"] = "MultiPolygon" + + # verify it fails for regular file handle + with pytest.raises( + NotImplementedError, match="writing to an open file handle is not yet supported" + ): + with open(tmp_path / "test.geojson", "wb") as f: + write_arrow( + table, + f, + driver="GeoJSON", + layer="test", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + # verify it fails for ZipFile + with pytest.raises( + NotImplementedError, match="writing to an open file handle is not yet supported" + ): + with ZipFile(tmp_path / "test.geojson.zip", "w") as z: + with z.open("test.geojson", "w") as f: + write_arrow( + table, + f, + driver="GeoJSON", + layer="test", + crs=meta["crs"], + geometry_type=meta["geometry_type"], + geometry_name=meta["geometry_name"] or "wkb_geometry", + ) + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +@requires_arrow_write_api +def test_non_utf8_encoding_io_shapefile(tmp_path, encoded_text): + encoding, text = encoded_text + + table = pa.table( + { + # Point(0, 0) + "geometry": pa.array( + [bytes.fromhex("010100000000000000000000000000000000000000")] + ), + text: pa.array([text]), + } + ) + + filename = tmp_path / "test.shp" + write_arrow( + table, + filename, + geometry_type="Point", + geometry_name="geometry", + crs="EPSG:4326", + encoding=encoding, + ) + + # NOTE: GDAL automatically creates a cpg file with the encoding name, which + # means that if we read this without specifying the encoding it uses the + # correct one + schema, table = read_arrow(filename) + assert schema["fields"][0] == text + assert table[text][0].as_py() == text + + # verify that if cpg file is not present, that user-provided encoding must be used + filename.with_suffix(".cpg").unlink() + + # We will assume ISO-8859-1, which is wrong + miscoded = text.encode(encoding).decode("ISO-8859-1") + bad_schema = read_arrow(filename)[0] + assert bad_schema["fields"][0] == miscoded + # table cannot be decoded to UTF-8 without UnicodeDecodeErrors + + # If encoding is provided, that should yield correct text + schema, table = read_arrow(filename, encoding=encoding) + assert schema["fields"][0] == text + assert table[text][0].as_py() == text + + # verify that setting encoding does not corrupt SHAPE_ENCODING option if set + # globally (it is ignored during read when encoding is specified by user) + try: + set_gdal_config_options({"SHAPE_ENCODING": "CP1254"}) + _ = read_arrow(filename, encoding=encoding) + assert get_gdal_config_option("SHAPE_ENCODING") == "CP1254" + + finally: + # reset to clear between tests + set_gdal_config_options({"SHAPE_ENCODING": None}) + + +@requires_arrow_write_api +def test_encoding_write_layer_option_collision_shapefile(tmp_path, naturalearth_lowres): + """Providing both encoding parameter and ENCODING layer creation option + (even if blank) is not allowed.""" + + meta, table = read_arrow(naturalearth_lowres) + + with pytest.raises( + ValueError, + match=( + 'cannot provide both encoding parameter and "ENCODING" layer creation ' + "option" + ), + ): + write_arrow( + table, + tmp_path / "test.shp", + crs=meta["crs"], + geometry_type="MultiPolygon", + geometry_name=meta["geometry_name"] or "wkb_geometry", + encoding="CP936", + layer_options={"ENCODING": ""}, + ) + + +@requires_arrow_write_api +@pytest.mark.parametrize("ext", ["gpkg", "geojson"]) +def test_non_utf8_encoding_io_arrow_exception(tmp_path, naturalearth_lowres, ext): + meta, table = read_arrow(naturalearth_lowres) + + with pytest.raises( + ValueError, match="non-UTF-8 encoding is not supported for Arrow" + ): + write_arrow( + table, + tmp_path / f"test.{ext}", + crs=meta["crs"], + geometry_type="MultiPolygon", + geometry_name=meta["geometry_name"] or "wkb_geometry", + encoding="CP936", + ) diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_core.py b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_core.py index b3b4e2b4..e0ff6d49 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_core.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_core.py @@ -1,28 +1,35 @@ +from pathlib import Path + import numpy as np -from numpy import array_equal, allclose -import pytest +from numpy import allclose, array_equal from pyogrio import ( - __gdal_version__, __gdal_geos_version__, + __gdal_version__, + detect_write_driver, + get_gdal_config_option, + get_gdal_data_path, list_drivers, list_layers, read_bounds, read_info, set_gdal_config_options, - get_gdal_config_option, - get_gdal_data_path, + vsi_listtree, + vsi_rmtree, + vsi_unlink, ) -from pyogrio.core import detect_write_driver -from pyogrio.errors import DataSourceError, DataLayerError -from pyogrio.tests.conftest import HAS_SHAPELY, prepare_testfile - +from pyogrio._compat import GDAL_GE_38 from pyogrio._env import GDALEnv +from pyogrio.errors import DataLayerError, DataSourceError +from pyogrio.raw import read, write +from pyogrio.tests.conftest import START_FID, prepare_testfile, requires_shapely + +import pytest with GDALEnv(): # NOTE: this must be AFTER above imports, which init the GDAL and PROJ data # search paths - from pyogrio._ogr import ogr_driver_supports_write, has_gdal_data, has_proj_data + from pyogrio._ogr import has_gdal_data, has_proj_data, ogr_driver_supports_write try: @@ -150,7 +157,16 @@ def test_list_drivers(): assert len(drivers) == len(expected) -def test_list_layers(naturalearth_lowres, naturalearth_lowres_vsi, test_fgdb_vsi): +def test_list_layers( + naturalearth_lowres, + naturalearth_lowres_vsi, + naturalearth_lowres_vsimem, + line_zm_file, + curve_file, + curve_polygon_file, + multisurface_file, + no_geometry_file, +): assert array_equal( list_layers(naturalearth_lowres), [["naturalearth_lowres", "Polygon"]] ) @@ -159,38 +175,98 @@ def test_list_layers(naturalearth_lowres, naturalearth_lowres_vsi, test_fgdb_vsi list_layers(naturalearth_lowres_vsi[1]), [["naturalearth_lowres", "Polygon"]] ) + assert array_equal( + list_layers(naturalearth_lowres_vsimem), + [["naturalearth_lowres", "MultiPolygon"]], + ) + # Measured 3D is downgraded to plain 3D during read # Make sure this warning is raised with pytest.warns( UserWarning, match=r"Measured \(M\) geometry types are not supported" ): - fgdb_layers = list_layers(test_fgdb_vsi) - # GDAL >= 3.4.0 includes 'another_relationship' layer - assert len(fgdb_layers) >= 7 + assert array_equal(list_layers(line_zm_file), [["line_zm", "LineString Z"]]) - # Make sure that nonspatial layer has None for geometry - assert array_equal(fgdb_layers[0], ["basetable_2", None]) + # Curve / surface types are downgraded to plain types + assert array_equal(list_layers(curve_file), [["curve", "LineString"]]) + assert array_equal(list_layers(curve_polygon_file), [["curvepolygon", "Polygon"]]) + assert array_equal( + list_layers(multisurface_file), [["multisurface", "MultiPolygon"]] + ) - # Confirm that measured 3D is downgraded to plain 3D during read - assert array_equal(fgdb_layers[3], ["test_lines", "MultiLineString Z"]) - assert array_equal(fgdb_layers[6], ["test_areas", "MultiPolygon Z"]) + # Make sure that nonspatial layer has None for geometry + assert array_equal(list_layers(no_geometry_file), [["no_geometry", None]]) -def test_read_bounds(naturalearth_lowres): - fids, bounds = read_bounds(naturalearth_lowres) +def test_list_layers_bytes(geojson_bytes): + layers = list_layers(geojson_bytes) + + assert layers.shape == (1, 2) + assert layers[0, 0] == "test" + + +def test_list_layers_nonseekable_bytes(nonseekable_bytes): + layers = list_layers(nonseekable_bytes) + + assert layers.shape == (1, 2) + assert layers[0, 1] == "Point" + + +def test_list_layers_filelike(geojson_filelike): + layers = list_layers(geojson_filelike) + + assert layers.shape == (1, 2) + assert layers[0, 0] == "test" + + +@pytest.mark.parametrize( + "testfile", + ["naturalearth_lowres", "naturalearth_lowres_vsimem", "naturalearth_lowres_vsi"], +) +def test_read_bounds(testfile, request): + path = request.getfixturevalue(testfile) + path = path if not isinstance(path, tuple) else path[1] + + fids, bounds = read_bounds(path) assert fids.shape == (177,) assert bounds.shape == (4, 177) - - assert fids[0] == 0 + assert fids[0] == START_FID[Path(path).suffix] # Fiji; wraps antimeridian assert allclose(bounds[:, 0], [-180.0, -18.28799, 180.0, -16.02088]) +def test_read_bounds_bytes(geojson_bytes): + fids, bounds = read_bounds(geojson_bytes) + assert fids.shape == (3,) + assert bounds.shape == (4, 3) + assert allclose(bounds[:, 0], [-180.0, -18.28799, 180.0, -16.02088]) + + +def test_read_bounds_nonseekable_bytes(nonseekable_bytes): + fids, bounds = read_bounds(nonseekable_bytes) + assert fids.shape == (1,) + assert bounds.shape == (4, 1) + assert allclose(bounds[:, 0], [1, 1, 1, 1]) + + +def test_read_bounds_filelike(geojson_filelike): + fids, bounds = read_bounds(geojson_filelike) + assert fids.shape == (3,) + assert bounds.shape == (4, 3) + assert allclose(bounds[:, 0], [-180.0, -18.28799, 180.0, -16.02088]) + + def test_read_bounds_max_features(naturalearth_lowres): bounds = read_bounds(naturalearth_lowres, max_features=2)[1] assert bounds.shape == (4, 2) +def test_read_bounds_unspecified_layer_warning(data_dir): + """Reading a multi-layer file without specifying a layer gives a warning.""" + with pytest.warns(UserWarning, match="More than one layer found "): + read_bounds(data_dir / "sample.osm.pbf") + + def test_read_bounds_negative_max_features(naturalearth_lowres): with pytest.raises(ValueError, match="'max_features' must be >= 0"): read_bounds(naturalearth_lowres, max_features=-1) @@ -240,12 +316,9 @@ def test_read_bounds_bbox(naturalearth_lowres_all_ext): fids, bounds = read_bounds(naturalearth_lowres_all_ext, bbox=(-85, 8, -80, 10)) assert fids.shape == (2,) - if naturalearth_lowres_all_ext.suffix == ".gpkg": - # fid in gpkg is 1-based - assert array_equal(fids, [34, 35]) # PAN, CRI - else: - # fid in other formats is 0-based - assert array_equal(fids, [33, 34]) # PAN, CRI + fids_expected = np.array([33, 34]) # PAN, CRI + fids_expected += START_FID[naturalearth_lowres_all_ext.suffix] + assert array_equal(fids, fids_expected) assert bounds.shape == (4, 2) assert allclose( @@ -257,9 +330,7 @@ def test_read_bounds_bbox(naturalearth_lowres_all_ext): ) -@pytest.mark.skipif( - not HAS_SHAPELY, reason="Shapely is required for mask functionality" -) +@requires_shapely @pytest.mark.parametrize( "mask", [ @@ -273,9 +344,7 @@ def test_read_bounds_mask_invalid(naturalearth_lowres, mask): read_bounds(naturalearth_lowres, mask=mask) -@pytest.mark.skipif( - not HAS_SHAPELY, reason="Shapely is required for mask functionality" -) +@requires_shapely def test_read_bounds_bbox_mask_invalid(naturalearth_lowres): with pytest.raises(ValueError, match="cannot set both 'bbox' and 'mask'"): read_bounds( @@ -283,9 +352,7 @@ def test_read_bounds_bbox_mask_invalid(naturalearth_lowres): ) -@pytest.mark.skipif( - not HAS_SHAPELY, reason="Shapely is required for mask functionality" -) +@requires_shapely @pytest.mark.parametrize( "mask,expected", [ @@ -316,12 +383,8 @@ def test_read_bounds_mask(naturalearth_lowres_all_ext, mask, expected): fids = read_bounds(naturalearth_lowres_all_ext, mask=mask)[0] - if naturalearth_lowres_all_ext.suffix == ".gpkg": - # fid in gpkg is 1-based - assert array_equal(fids, np.array(expected) + 1) - else: - # fid in other formats is 0-based - assert array_equal(fids, expected) + fids_expected = np.array(expected) + START_FID[naturalearth_lowres_all_ext.suffix] + assert array_equal(fids, fids_expected) @pytest.mark.skipif( @@ -337,40 +400,87 @@ def test_read_bounds_bbox_intersects_vs_envelope_overlaps(naturalearth_lowres_al if __gdal_geos_version__ is None: # bboxes for CAN, RUS overlap but do not intersect geometries assert fids.shape == (4,) - if naturalearth_lowres_all_ext.suffix == ".gpkg": - # fid in gpkg is 1-based - assert array_equal(fids, [4, 5, 19, 28]) # CAN, USA, RUS, MEX - else: - # fid in other formats is 0-based - assert array_equal(fids, [3, 4, 18, 27]) # CAN, USA, RUS, MEX + fids_expected = np.array([3, 4, 18, 27]) # CAN, USA, RUS, MEX + fids_expected += START_FID[naturalearth_lowres_all_ext.suffix] + assert array_equal(fids, fids_expected) else: assert fids.shape == (2,) - if naturalearth_lowres_all_ext.suffix == ".gpkg": - # fid in gpkg is 1-based - assert array_equal(fids, [5, 28]) # USA, MEX - else: - # fid in other formats is 0-based - assert array_equal(fids, [4, 27]) # USA, MEX + fids_expected = np.array([4, 27]) # USA, MEX + fids_expected += START_FID[naturalearth_lowres_all_ext.suffix] + assert array_equal(fids, fids_expected) +@pytest.mark.parametrize("naturalearth_lowres", [".shp", ".gpkg"], indirect=True) def test_read_info(naturalearth_lowres): meta = read_info(naturalearth_lowres) + assert meta["layer_name"] == "naturalearth_lowres" assert meta["crs"] == "EPSG:4326" - assert meta["geometry_type"] == "Polygon" assert meta["encoding"] == "UTF-8" assert meta["fields"].shape == (5,) assert meta["dtypes"].tolist() == ["int64", "object", "object", "object", "float64"] assert meta["features"] == 177 assert allclose(meta["total_bounds"], (-180, -90, 180, 83.64513)) - assert meta["driver"] == "ESRI Shapefile" assert meta["capabilities"]["random_read"] is True - assert meta["capabilities"]["fast_set_next_by_index"] is True assert meta["capabilities"]["fast_spatial_filter"] is False assert meta["capabilities"]["fast_feature_count"] is True assert meta["capabilities"]["fast_total_bounds"] is True + if naturalearth_lowres.suffix == ".gpkg": + assert meta["fid_column"] == "fid" + assert meta["geometry_name"] == "geom" + assert meta["geometry_type"] == "MultiPolygon" + assert meta["driver"] == "GPKG" + if GDAL_GE_38: + # this capability is only True for GPKG if GDAL >= 3.8 + assert meta["capabilities"]["fast_set_next_by_index"] is True + elif naturalearth_lowres.suffix == ".shp": + # fid_column == "" for formats where fid is not physically stored + assert meta["fid_column"] == "" + # geometry_name == "" for formats where geometry column name cannot be + # customized + assert meta["geometry_name"] == "" + assert meta["geometry_type"] == "Polygon" + assert meta["driver"] == "ESRI Shapefile" + assert meta["capabilities"]["fast_set_next_by_index"] is True + else: + raise ValueError(f"test not implemented for ext {naturalearth_lowres.suffix}") + + +@pytest.mark.parametrize( + "testfile", ["naturalearth_lowres_vsimem", "naturalearth_lowres_vsi"] +) +def test_read_info_vsi(testfile, request): + path = request.getfixturevalue(testfile) + path = path if not isinstance(path, tuple) else path[1] + + meta = read_info(path) + + assert meta["fields"].shape == (5,) + assert meta["features"] == 177 + + +def test_read_info_bytes(geojson_bytes): + meta = read_info(geojson_bytes) + + assert meta["fields"].shape == (5,) + assert meta["features"] == 3 + + +def test_read_info_nonseekable_bytes(nonseekable_bytes): + meta = read_info(nonseekable_bytes) + + assert meta["fields"].shape == (0,) + assert meta["features"] == 1 + + +def test_read_info_filelike(geojson_filelike): + meta = read_info(geojson_filelike) + + assert meta["fields"].shape == (5,) + assert meta["features"] == 3 + @pytest.mark.parametrize( "dataset_kwargs,fields", @@ -399,8 +509,8 @@ def test_read_info(naturalearth_lowres): ), ], ) -def test_read_info_dataset_kwargs(data_dir, dataset_kwargs, fields): - meta = read_info(data_dir / "test_nested.geojson", **dataset_kwargs) +def test_read_info_dataset_kwargs(nested_geojson_file, dataset_kwargs, fields): + meta = read_info(nested_geojson_file, **dataset_kwargs) assert meta["fields"].tolist() == fields @@ -440,10 +550,12 @@ def test_read_info_force_feature_count(data_dir, layer, force, expected): [(True, (-180.0, -90.0, 180.0, 83.64513)), (False, None)], ) def test_read_info_force_total_bounds( - tmpdir, naturalearth_lowres, force_total_bounds, expected_total_bounds + tmp_path, naturalearth_lowres, force_total_bounds, expected_total_bounds ): - # Geojson files don't hava a fast way to determine total_bounds - geojson_path = prepare_testfile(naturalearth_lowres, dst_dir=tmpdir, ext=".geojson") + geojson_path = prepare_testfile( + naturalearth_lowres, dst_dir=tmp_path, ext=".geojsonl" + ) + info = read_info(geojson_path, force_total_bounds=force_total_bounds) if expected_total_bounds is not None: assert allclose(info["total_bounds"], expected_total_bounds) @@ -451,8 +563,14 @@ def test_read_info_force_total_bounds( assert info["total_bounds"] is None -def test_read_info_without_geometry(test_fgdb_vsi): - assert read_info(test_fgdb_vsi)["total_bounds"] is None +def test_read_info_unspecified_layer_warning(data_dir): + """Reading a multi-layer file without specifying a layer gives a warning.""" + with pytest.warns(UserWarning, match="More than one layer found "): + read_info(data_dir / "sample.osm.pbf") + + +def test_read_info_without_geometry(no_geometry_file): + assert read_info(no_geometry_file)["total_bounds"] is None @pytest.mark.parametrize( @@ -494,3 +612,67 @@ def test_error_handling_warning(capfd, naturalearth_lowres): read_info(naturalearth_lowres, INVALID="YES") assert capfd.readouterr().err == "" + + +def test_vsimem_listtree_rmtree_unlink(naturalearth_lowres): + """Test all basic functionalities of file handling in /vsimem/.""" + # Prepare test data in /vsimem + meta, _, geometry, field_data = read(naturalearth_lowres) + meta["spatial_index"] = False + meta["geometry_type"] = "MultiPolygon" + test_file_path = Path("/vsimem/pyogrio_test_naturalearth_lowres.gpkg") + test_dir_path = Path(f"/vsimem/pyogrio_dir_test/{naturalearth_lowres.stem}.gpkg") + + write(test_file_path, geometry, field_data, **meta) + write(test_dir_path, geometry, field_data, **meta) + + # Check if everything was created properly with listtree + files = vsi_listtree("/vsimem/") + assert test_file_path.as_posix() in files + assert test_dir_path.as_posix() in files + + # Check listtree with pattern + files = vsi_listtree("/vsimem/", pattern="pyogrio_dir_test*.gpkg") + assert test_file_path.as_posix() not in files + assert test_dir_path.as_posix() in files + + files = vsi_listtree("/vsimem/", pattern="pyogrio_test*.gpkg") + assert test_file_path.as_posix() in files + assert test_dir_path.as_posix() not in files + + # Remove test_dir and its contents + vsi_rmtree(test_dir_path.parent) + files = vsi_listtree("/vsimem/") + assert test_file_path.as_posix() in files + assert test_dir_path.as_posix() not in files + + # Remove test_file + vsi_unlink(test_file_path) + + +def test_vsimem_rmtree_error(naturalearth_lowres_vsimem): + with pytest.raises(NotADirectoryError, match="Path is not a directory"): + vsi_rmtree(naturalearth_lowres_vsimem) + + with pytest.raises(FileNotFoundError, match="Path does not exist"): + vsi_rmtree("/vsimem/non-existent") + + with pytest.raises( + OSError, match="path to in-memory file or directory is required" + ): + vsi_rmtree("/vsimem") + with pytest.raises( + OSError, match="path to in-memory file or directory is required" + ): + vsi_rmtree("/vsimem/") + + # Verify that naturalearth_lowres_vsimem still exists. + assert naturalearth_lowres_vsimem.as_posix() in vsi_listtree("/vsimem") + + +def test_vsimem_unlink_error(naturalearth_lowres_vsimem): + with pytest.raises(IsADirectoryError, match="Path is a directory"): + vsi_unlink(naturalearth_lowres_vsimem.parent) + + with pytest.raises(FileNotFoundError, match="Path does not exist"): + vsi_unlink("/vsimem/non-existent.gpkg") diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_geopandas_io.py b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_geopandas_io.py index a69acec9..0675c197 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_geopandas_io.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_geopandas_io.py @@ -1,12 +1,23 @@ import contextlib +import locale +import warnings from datetime import datetime -import os -import numpy as np -import pytest +from io import BytesIO +from zipfile import ZipFile -from pyogrio import list_layers, read_info, __gdal_version__ +import numpy as np + +from pyogrio import ( + __gdal_version__, + list_drivers, + list_layers, + read_info, + vsi_listtree, + vsi_unlink, +) +from pyogrio._compat import HAS_ARROW_WRITE_API, HAS_PYPROJ, PANDAS_GE_15 from pyogrio.errors import DataLayerError, DataSourceError, FeatureError, GeometryError -from pyogrio.geopandas import read_dataframe, write_dataframe, PANDAS_GE_20 +from pyogrio.geopandas import PANDAS_GE_20, read_dataframe, write_dataframe from pyogrio.raw import ( DRIVERS_NO_MIXED_DIMENSIONS, DRIVERS_NO_MIXED_SINGLE_MULTI, @@ -14,26 +25,29 @@ from pyogrio.raw import ( from pyogrio.tests.conftest import ( ALL_EXTS, DRIVERS, - requires_arrow_api, + START_FID, + requires_arrow_write_api, requires_gdal_geos, + requires_pyarrow_api, + requires_pyproj, ) -from pyogrio._compat import PANDAS_GE_15 + +import pytest try: - import pandas as pd - from pandas.testing import ( - assert_frame_equal, - assert_index_equal, - assert_series_equal, - ) - import geopandas as gp + import pandas as pd from geopandas.array import from_wkt - from geopandas.testing import assert_geodataframe_equal import shapely # if geopandas is present, shapely is expected to be present from shapely.geometry import Point + from geopandas.testing import assert_geodataframe_equal + from pandas.testing import ( + assert_index_equal, + assert_series_equal, + ) + except ImportError: pass @@ -45,13 +59,30 @@ pytest.importorskip("geopandas") scope="session", params=[ False, - pytest.param(True, marks=requires_arrow_api), + pytest.param(True, marks=requires_pyarrow_api), ], ) def use_arrow(request): return request.param +@pytest.fixture(autouse=True) +def skip_if_no_arrow_write_api(request): + # automatically skip tests with use_arrow=True and that require Arrow write + # API (marked with `@pytest.mark.requires_arrow_write_api`) if it is not available + use_arrow = ( + request.getfixturevalue("use_arrow") + if "use_arrow" in request.fixturenames + else False + ) + if ( + use_arrow + and not HAS_ARROW_WRITE_API + and request.node.get_closest_marker("requires_arrow_write_api") + ): + pytest.skip("GDAL>=3.8 required for Arrow write API") + + def spatialite_available(path): try: _ = read_dataframe( @@ -62,10 +93,50 @@ def spatialite_available(path): return False +@pytest.mark.parametrize("encoding", ["utf-8", "cp1252", None]) +def test_read_csv_encoding(tmp_path, encoding): + # Write csv test file. Depending on the os this will be written in a different + # encoding: for linux and macos this is utf-8, for windows it is cp1252. + csv_path = tmp_path / "test.csv" + with open(csv_path, "w", encoding=encoding) as csv: + csv.write("näme,city\n") + csv.write("Wilhelm Röntgen,Zürich\n") + + # Read csv. The data should be read with the same default encoding as the csv file + # was written in, but should have been converted to utf-8 in the dataframe returned. + # Hence, the asserts below, with strings in utf-8, be OK. + df = read_dataframe(csv_path, encoding=encoding) + + assert len(df) == 1 + assert df.columns.tolist() == ["näme", "city"] + assert df.city.tolist() == ["Zürich"] + assert df.näme.tolist() == ["Wilhelm Röntgen"] + + +@pytest.mark.skipif( + locale.getpreferredencoding().upper() == "UTF-8", + reason="test requires non-UTF-8 default platform", +) +def test_read_csv_platform_encoding(tmp_path): + """verify that read defaults to platform encoding; only works on Windows (CP1252)""" + csv_path = tmp_path / "test.csv" + with open(csv_path, "w", encoding=locale.getpreferredencoding()) as csv: + csv.write("näme,city\n") + csv.write("Wilhelm Röntgen,Zürich\n") + + df = read_dataframe(csv_path) + + assert len(df) == 1 + assert df.columns.tolist() == ["näme", "city"] + assert df.city.tolist() == ["Zürich"] + assert df.näme.tolist() == ["Wilhelm Röntgen"] + + def test_read_dataframe(naturalearth_lowres_all_ext): df = read_dataframe(naturalearth_lowres_all_ext) - assert df.crs == "EPSG:4326" + if HAS_PYPROJ: + assert df.crs == "EPSG:4326" assert len(df) == 177 assert df.columns.tolist() == [ "pop_est", @@ -77,20 +148,19 @@ def test_read_dataframe(naturalearth_lowres_all_ext): ] -def test_read_dataframe_vsi(naturalearth_lowres_vsi): - df = read_dataframe(naturalearth_lowres_vsi[1]) +def test_read_dataframe_vsi(naturalearth_lowres_vsi, use_arrow): + df = read_dataframe(naturalearth_lowres_vsi[1], use_arrow=use_arrow) assert len(df) == 177 @pytest.mark.parametrize( - "columns, fid_as_index, exp_len", [(None, False, 2), ([], True, 2), ([], False, 0)] + "columns, fid_as_index, exp_len", [(None, False, 3), ([], True, 3), ([], False, 0)] ) def test_read_layer_without_geometry( - test_fgdb_vsi, columns, fid_as_index, use_arrow, exp_len + no_geometry_file, columns, fid_as_index, use_arrow, exp_len ): result = read_dataframe( - test_fgdb_vsi, - layer="basetable", + no_geometry_file, columns=columns, fid_as_index=fid_as_index, use_arrow=use_arrow, @@ -136,37 +206,62 @@ def test_read_no_geometry_no_columns_no_fids(naturalearth_lowres, use_arrow): ) -def test_read_force_2d(test_fgdb_vsi, use_arrow): - with pytest.warns( - UserWarning, match=r"Measured \(M\) geometry types are not supported" - ): - df = read_dataframe(test_fgdb_vsi, layer="test_lines", max_features=1) - assert df.iloc[0].geometry.has_z +def test_read_force_2d(tmp_path, use_arrow): + filename = tmp_path / "test.gpkg" - df = read_dataframe( - test_fgdb_vsi, - layer="test_lines", - force_2d=True, - max_features=1, - use_arrow=use_arrow, - ) - assert not df.iloc[0].geometry.has_z + # create a GPKG with 3D point values + expected = gp.GeoDataFrame( + geometry=[Point(0, 0, 0), Point(1, 1, 0)], crs="EPSG:4326" + ) + write_dataframe(expected, filename) + + df = read_dataframe(filename) + assert df.iloc[0].geometry.has_z + + df = read_dataframe( + filename, + force_2d=True, + max_features=1, + use_arrow=use_arrow, + ) + assert not df.iloc[0].geometry.has_z -@pytest.mark.filterwarnings("ignore: Measured") -def test_read_layer(test_fgdb_vsi, use_arrow): - layers = list_layers(test_fgdb_vsi) - kwargs = {"use_arrow": use_arrow, "read_geometry": False, "max_features": 1} +def test_read_layer(tmp_path, use_arrow): + filename = tmp_path / "test.gpkg" - # The first layer is read by default (NOTE: first layer has no features) - df = read_dataframe(test_fgdb_vsi, **kwargs) - df2 = read_dataframe(test_fgdb_vsi, layer=layers[0][0], **kwargs) - assert_frame_equal(df, df2) + # create a multilayer GPKG + expected1 = gp.GeoDataFrame(geometry=[Point(0, 0)], crs="EPSG:4326") + write_dataframe( + expected1, + filename, + layer="layer1", + ) - # Reading a specific layer should return that layer. + expected2 = gp.GeoDataFrame(geometry=[Point(1, 1)], crs="EPSG:4326") + write_dataframe(expected2, filename, layer="layer2", append=True) + + assert np.array_equal( + list_layers(filename), [["layer1", "Point"], ["layer2", "Point"]] + ) + + kwargs = {"use_arrow": use_arrow, "max_features": 1} + + # The first layer is read by default, which will warn when there are multiple + # layers + with pytest.warns(UserWarning, match="More than one layer found"): + df = read_dataframe(filename, **kwargs) + + assert_geodataframe_equal(df, expected1) + + # Reading a specific layer by name should return that layer. # Detected here by a known column. - df = read_dataframe(test_fgdb_vsi, layer="test_lines", **kwargs) - assert "RIVER_MILE" in df.columns + df = read_dataframe(filename, layer="layer2", **kwargs) + assert_geodataframe_equal(df, expected2) + + # Reading a specific layer by index should return that layer + df = read_dataframe(filename, layer=1, **kwargs) + assert_geodataframe_equal(df, expected2) def test_read_layer_invalid(naturalearth_lowres_all_ext, use_arrow): @@ -174,20 +269,22 @@ def test_read_layer_invalid(naturalearth_lowres_all_ext, use_arrow): read_dataframe(naturalearth_lowres_all_ext, layer="wrong", use_arrow=use_arrow) -@pytest.mark.filterwarnings("ignore: Measured") -def test_read_datetime(test_fgdb_vsi, use_arrow): - df = read_dataframe( - test_fgdb_vsi, layer="test_lines", use_arrow=use_arrow, max_features=1 - ) +def test_read_datetime(datetime_file, use_arrow): + df = read_dataframe(datetime_file, use_arrow=use_arrow) if PANDAS_GE_20: # starting with pandas 2.0, it preserves the passed datetime resolution - assert df.SURVEY_DAT.dtype.name == "datetime64[ms]" + assert df.col.dtype.name == "datetime64[ms]" else: - assert df.SURVEY_DAT.dtype.name == "datetime64[ns]" + assert df.col.dtype.name == "datetime64[ns]" -def test_read_datetime_tz(test_datetime_tz, tmp_path): - df = read_dataframe(test_datetime_tz) +@pytest.mark.filterwarnings("ignore: Non-conformant content for record 1 in column ") +@pytest.mark.requires_arrow_write_api +def test_read_datetime_tz(datetime_tz_file, tmp_path, use_arrow): + df = read_dataframe(datetime_tz_file) + # Make the index non-consecutive to test this case as well. Added for issue + # https://github.com/geopandas/pyogrio/issues/324 + df = df.set_index(np.array([0, 2])) raw_expected = ["2020-01-01T09:00:00.123-05:00", "2020-01-01T10:00:00-05:00"] if PANDAS_GE_20: @@ -195,15 +292,22 @@ def test_read_datetime_tz(test_datetime_tz, tmp_path): else: expected = pd.to_datetime(raw_expected) expected = pd.Series(expected, name="datetime_col") - assert_series_equal(df.datetime_col, expected) + assert_series_equal(df.datetime_col, expected, check_index=False) # test write and read round trips fpath = tmp_path / "test.gpkg" - write_dataframe(df, fpath) - df_read = read_dataframe(fpath) + write_dataframe(df, fpath, use_arrow=use_arrow) + df_read = read_dataframe(fpath, use_arrow=use_arrow) + if use_arrow: + # with Arrow, the datetimes are always read as UTC + expected = expected.dt.tz_convert("UTC") assert_series_equal(df_read.datetime_col, expected) -def test_write_datetime_mixed_offset(tmp_path): +@pytest.mark.filterwarnings( + "ignore: Non-conformant content for record 1 in column dates" +) +@pytest.mark.requires_arrow_write_api +def test_write_datetime_mixed_offset(tmp_path, use_arrow): # Australian Summer Time AEDT (GMT+11), Standard Time AEST (GMT+10) dates = ["2023-01-01 11:00:01.111", "2023-06-01 10:00:01.111"] naive_col = pd.Series(pd.to_datetime(dates), name="dates") @@ -217,14 +321,18 @@ def test_write_datetime_mixed_offset(tmp_path): crs="EPSG:4326", ) fpath = tmp_path / "test.gpkg" - write_dataframe(df, fpath) - result = read_dataframe(fpath) + write_dataframe(df, fpath, use_arrow=use_arrow) + result = read_dataframe(fpath, use_arrow=use_arrow) # GDAL tz only encodes offsets, not timezones # check multiple offsets are read as utc datetime instead of string values assert_series_equal(result["dates"], utc_col) -def test_read_write_datetime_tz_with_nulls(tmp_path): +@pytest.mark.filterwarnings( + "ignore: Non-conformant content for record 1 in column dates" +) +@pytest.mark.requires_arrow_write_api +def test_read_write_datetime_tz_with_nulls(tmp_path, use_arrow): dates_raw = ["2020-01-01T09:00:00.123-05:00", "2020-01-01T10:00:00-05:00", pd.NaT] if PANDAS_GE_20: dates = pd.to_datetime(dates_raw, format="ISO8601").as_unit("ms") @@ -235,17 +343,25 @@ def test_read_write_datetime_tz_with_nulls(tmp_path): crs="EPSG:4326", ) fpath = tmp_path / "test.gpkg" - write_dataframe(df, fpath) - result = read_dataframe(fpath) + write_dataframe(df, fpath, use_arrow=use_arrow) + result = read_dataframe(fpath, use_arrow=use_arrow) + if use_arrow: + # with Arrow, the datetimes are always read as UTC + df["dates"] = df["dates"].dt.tz_convert("UTC") assert_geodataframe_equal(df, result) -def test_read_null_values(test_fgdb_vsi, use_arrow): - df = read_dataframe(test_fgdb_vsi, use_arrow=use_arrow, read_geometry=False) +def test_read_null_values(tmp_path, use_arrow): + filename = tmp_path / "test_null_values_no_geometry.gpkg" + + # create a GPKG with no geometries and only null values + expected = pd.DataFrame({"col": [None, None]}) + write_dataframe(expected, filename) + + df = read_dataframe(filename, use_arrow=use_arrow, read_geometry=False) # make sure that Null values are preserved - assert df.SEGMENT_NAME.isnull().max() - assert df.loc[df.SEGMENT_NAME.isnull()].SEGMENT_NAME.iloc[0] is None + assert np.array_equal(df.col.values, expected.col.values) def test_read_fid_as_index(naturalearth_lowres_all_ext, use_arrow): @@ -263,12 +379,9 @@ def test_read_fid_as_index(naturalearth_lowres_all_ext, use_arrow): fid_as_index=True, **kwargs, ) - if naturalearth_lowres_all_ext.suffix in [".gpkg"]: - # File format where fid starts at 1 - assert_index_equal(df.index, pd.Index([3, 4], name="fid")) - else: - # File format where fid starts at 0 - assert_index_equal(df.index, pd.Index([2, 3], name="fid")) + fids_expected = pd.Index([2, 3], name="fid") + fids_expected += START_FID[naturalearth_lowres_all_ext.suffix] + assert_index_equal(df.index, fids_expected) def test_read_fid_as_index_only(naturalearth_lowres, use_arrow): @@ -331,6 +444,21 @@ def test_read_where_invalid(request, naturalearth_lowres_all_ext, use_arrow): ) +def test_read_where_ignored_field(naturalearth_lowres, use_arrow): + # column included in where is not also included in list of columns, which means + # GDAL will return no features + # NOTE: this behavior is inconsistent across drivers so only shapefiles are + # tested for this + df = read_dataframe( + naturalearth_lowres, + where=""" "iso_a3" = 'CAN' """, + columns=["name"], + use_arrow=use_arrow, + ) + + assert len(df) == 0 + + @pytest.mark.parametrize("bbox", [(1,), (1, 2), (1, 2, 3)]) def test_read_bbox_invalid(naturalearth_lowres_all_ext, bbox, use_arrow): with pytest.raises(ValueError, match="Invalid bbox"): @@ -349,7 +477,7 @@ def test_read_bbox(naturalearth_lowres_all_ext, use_arrow, bbox, expected): if ( use_arrow and __gdal_version__ < (3, 8, 0) - and os.path.splitext(naturalearth_lowres_all_ext)[1] == ".gpkg" + and naturalearth_lowres_all_ext.suffix == ".gpkg" ): pytest.xfail(reason="GDAL bug: https://github.com/OSGeo/gdal/issues/8347") @@ -438,7 +566,7 @@ def test_read_mask( if ( use_arrow and __gdal_version__ < (3, 8, 0) - and os.path.splitext(naturalearth_lowres_all_ext)[1] == ".gpkg" + and naturalearth_lowres_all_ext.suffix == ".gpkg" ): pytest.xfail(reason="GDAL bug: https://github.com/OSGeo/gdal/issues/8347") @@ -470,25 +598,61 @@ def test_read_mask_where(naturalearth_lowres_all_ext, use_arrow): assert np.array_equal(df.iso_a3, ["CAN"]) -def test_read_fids(naturalearth_lowres_all_ext): +@pytest.mark.parametrize("fids", [[1, 5, 10], np.array([1, 5, 10], dtype=np.int64)]) +def test_read_fids(naturalearth_lowres_all_ext, fids, use_arrow): # ensure keyword is properly passed through - fids = np.array([1, 10, 5], dtype=np.int64) - df = read_dataframe(naturalearth_lowres_all_ext, fids=fids, fid_as_index=True) + df = read_dataframe( + naturalearth_lowres_all_ext, fids=fids, fid_as_index=True, use_arrow=use_arrow + ) assert len(df) == 3 assert np.array_equal(fids, df.index.values) -def test_read_fids_force_2d(test_fgdb_vsi): - with pytest.warns( - UserWarning, match=r"Measured \(M\) geometry types are not supported" - ): - df = read_dataframe(test_fgdb_vsi, layer="test_lines", fids=[22]) - assert len(df) == 1 - assert df.iloc[0].geometry.has_z +@requires_pyarrow_api +def test_read_fids_arrow_max_exception(naturalearth_lowres): + # Maximum number at time of writing is 4997 for "OGRSQL". For e.g. for SQLite based + # formats like Geopackage, there is no limit. + nb_fids = 4998 + fids = range(nb_fids) + with pytest.raises(ValueError, match=f"error applying filter for {nb_fids} fids"): + _ = read_dataframe(naturalearth_lowres, fids=fids, use_arrow=True) - df = read_dataframe(test_fgdb_vsi, layer="test_lines", force_2d=True, fids=[22]) + +@requires_pyarrow_api +@pytest.mark.skipif( + __gdal_version__ >= (3, 8, 0), reason="GDAL >= 3.8.0 does not need to warn" +) +def test_read_fids_arrow_warning_old_gdal(naturalearth_lowres_all_ext): + # A warning should be given for old GDAL versions, except for some file formats. + if naturalearth_lowres_all_ext.suffix not in [".gpkg", ".geojson"]: + handler = pytest.warns( + UserWarning, + match="Using 'fids' and 'use_arrow=True' with GDAL < 3.8 can be slow", + ) + else: + handler = contextlib.nullcontext() + + with handler: + df = read_dataframe(naturalearth_lowres_all_ext, fids=[22], use_arrow=True) assert len(df) == 1 - assert not df.iloc[0].geometry.has_z + + +def test_read_fids_force_2d(tmp_path): + filename = tmp_path / "test.gpkg" + + # create a GPKG with 3D point values + expected = gp.GeoDataFrame( + geometry=[Point(0, 0, 0), Point(1, 1, 0)], crs="EPSG:4326" + ) + write_dataframe(expected, filename) + + df = read_dataframe(filename, fids=[1]) + assert_geodataframe_equal(df, expected.iloc[:1]) + + df = read_dataframe(filename, force_2d=True, fids=[1]) + assert np.array_equal( + df.geometry.values, shapely.force_2d(expected.iloc[:1].geometry.values) + ) @pytest.mark.parametrize("skip_features", [10, 200]) @@ -573,13 +737,17 @@ def test_read_sql(naturalearth_lowres_all_ext, use_arrow): # The geometry column cannot be specified when using the # default OGRSQL dialect but is returned nonetheless, so 4 columns. sql = "SELECT iso_a3 AS iso_a3_renamed, name, pop_est FROM naturalearth_lowres" - df = read_dataframe(naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL") + df = read_dataframe( + naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL", use_arrow=use_arrow + ) assert len(df.columns) == 4 assert len(df) == 177 # Should return single row sql = "SELECT * FROM naturalearth_lowres WHERE iso_a3 = 'CAN'" - df = read_dataframe(naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL") + df = read_dataframe( + naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL", use_arrow=use_arrow + ) assert len(df) == 1 assert len(df.columns) == 6 assert df.iloc[0].iso_a3 == "CAN" @@ -587,7 +755,9 @@ def test_read_sql(naturalearth_lowres_all_ext, use_arrow): sql = """SELECT * FROM naturalearth_lowres WHERE iso_a3 IN ('CAN', 'USA', 'MEX')""" - df = read_dataframe(naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL") + df = read_dataframe( + naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL", use_arrow=use_arrow + ) assert len(df.columns) == 6 assert len(df) == 3 assert df.iso_a3.tolist() == ["CAN", "USA", "MEX"] @@ -596,7 +766,9 @@ def test_read_sql(naturalearth_lowres_all_ext, use_arrow): FROM naturalearth_lowres WHERE iso_a3 IN ('CAN', 'USA', 'MEX') ORDER BY name""" - df = read_dataframe(naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL") + df = read_dataframe( + naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL", use_arrow=use_arrow + ) assert len(df.columns) == 6 assert len(df) == 3 assert df.iso_a3.tolist() == ["CAN", "MEX", "USA"] @@ -605,7 +777,9 @@ def test_read_sql(naturalearth_lowres_all_ext, use_arrow): sql = """SELECT * FROM naturalearth_lowres WHERE POP_EST >= 10000000 AND POP_EST < 100000000""" - df = read_dataframe(naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL") + df = read_dataframe( + naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL", use_arrow=use_arrow + ) assert len(df) == 75 assert len(df.columns) == 6 assert df.pop_est.min() >= 10000000 @@ -613,25 +787,36 @@ def test_read_sql(naturalearth_lowres_all_ext, use_arrow): # Should match no items. sql = "SELECT * FROM naturalearth_lowres WHERE ISO_A3 = 'INVALID'" - df = read_dataframe(naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL") + df = read_dataframe( + naturalearth_lowres_all_ext, sql=sql, sql_dialect="OGRSQL", use_arrow=use_arrow + ) assert len(df) == 0 -def test_read_sql_invalid(naturalearth_lowres_all_ext): +def test_read_sql_invalid(naturalearth_lowres_all_ext, use_arrow): if naturalearth_lowres_all_ext.suffix == ".gpkg": with pytest.raises(Exception, match="In ExecuteSQL().*"): - read_dataframe(naturalearth_lowres_all_ext, sql="invalid") + read_dataframe( + naturalearth_lowres_all_ext, sql="invalid", use_arrow=use_arrow + ) else: with pytest.raises(Exception, match="SQL Expression Parsing Error"): - read_dataframe(naturalearth_lowres_all_ext, sql="invalid") + read_dataframe( + naturalearth_lowres_all_ext, sql="invalid", use_arrow=use_arrow + ) with pytest.raises( - ValueError, match="'sql' paramater cannot be combined with 'layer'" + ValueError, match="'sql' parameter cannot be combined with 'layer'" ): - read_dataframe(naturalearth_lowres_all_ext, sql="whatever", layer="invalid") + read_dataframe( + naturalearth_lowres_all_ext, + sql="whatever", + layer="invalid", + use_arrow=use_arrow, + ) -def test_read_sql_columns_where(naturalearth_lowres_all_ext): +def test_read_sql_columns_where(naturalearth_lowres_all_ext, use_arrow): sql = "SELECT iso_a3 AS iso_a3_renamed, name, pop_est FROM naturalearth_lowres" df = read_dataframe( naturalearth_lowres_all_ext, @@ -639,13 +824,14 @@ def test_read_sql_columns_where(naturalearth_lowres_all_ext): sql_dialect="OGRSQL", columns=["iso_a3_renamed", "name"], where="iso_a3_renamed IN ('CAN', 'USA', 'MEX')", + use_arrow=use_arrow, ) assert len(df.columns) == 3 assert len(df) == 3 assert df.iso_a3_renamed.tolist() == ["CAN", "USA", "MEX"] -def test_read_sql_columns_where_bbox(naturalearth_lowres_all_ext): +def test_read_sql_columns_where_bbox(naturalearth_lowres_all_ext, use_arrow): sql = "SELECT iso_a3 AS iso_a3_renamed, name, pop_est FROM naturalearth_lowres" df = read_dataframe( naturalearth_lowres_all_ext, @@ -654,13 +840,14 @@ def test_read_sql_columns_where_bbox(naturalearth_lowres_all_ext): columns=["iso_a3_renamed", "name"], where="iso_a3_renamed IN ('CRI', 'PAN')", bbox=(-85, 8, -80, 10), + use_arrow=use_arrow, ) assert len(df.columns) == 3 assert len(df) == 2 assert df.iso_a3_renamed.tolist() == ["PAN", "CRI"] -def test_read_sql_skip_max(naturalearth_lowres_all_ext): +def test_read_sql_skip_max(naturalearth_lowres_all_ext, use_arrow): sql = """SELECT * FROM naturalearth_lowres WHERE iso_a3 IN ('CAN', 'MEX', 'USA') @@ -671,6 +858,7 @@ def test_read_sql_skip_max(naturalearth_lowres_all_ext): skip_features=1, max_features=1, sql_dialect="OGRSQL", + use_arrow=use_arrow, ) assert len(df.columns) == 6 assert len(df) == 1 @@ -678,13 +866,21 @@ def test_read_sql_skip_max(naturalearth_lowres_all_ext): sql = "SELECT * FROM naturalearth_lowres LIMIT 1" df = read_dataframe( - naturalearth_lowres_all_ext, sql=sql, max_features=3, sql_dialect="OGRSQL" + naturalearth_lowres_all_ext, + sql=sql, + max_features=3, + sql_dialect="OGRSQL", + use_arrow=use_arrow, ) assert len(df) == 1 sql = "SELECT * FROM naturalearth_lowres LIMIT 1" df = read_dataframe( - naturalearth_lowres_all_ext, sql=sql, skip_features=1, sql_dialect="OGRSQL" + naturalearth_lowres_all_ext, + sql=sql, + sql_dialect="OGRSQL", + skip_features=1, + use_arrow=use_arrow, ) assert len(df) == 0 @@ -695,10 +891,12 @@ def test_read_sql_skip_max(naturalearth_lowres_all_ext): [ext for ext in ALL_EXTS if ext != ".gpkg"], indirect=["naturalearth_lowres"], ) -def test_read_sql_dialect_sqlite_nogpkg(naturalearth_lowres): +def test_read_sql_dialect_sqlite_nogpkg(naturalearth_lowres, use_arrow): # Should return singular item sql = "SELECT * FROM naturalearth_lowres WHERE iso_a3 = 'CAN'" - df = read_dataframe(naturalearth_lowres, sql=sql, sql_dialect="SQLITE") + df = read_dataframe( + naturalearth_lowres, sql=sql, sql_dialect="SQLITE", use_arrow=use_arrow + ) assert len(df) == 1 assert len(df.columns) == 6 assert df.iloc[0].iso_a3 == "CAN" @@ -708,7 +906,9 @@ def test_read_sql_dialect_sqlite_nogpkg(naturalearth_lowres): sql = """SELECT ST_Buffer(geometry, 5) AS geometry, name, pop_est, iso_a3 FROM naturalearth_lowres WHERE ISO_A3 = 'CAN'""" - df = read_dataframe(naturalearth_lowres, sql=sql, sql_dialect="SQLITE") + df = read_dataframe( + naturalearth_lowres, sql=sql, sql_dialect="SQLITE", use_arrow=use_arrow + ) assert len(df) == 1 assert len(df.columns) == 4 assert df.iloc[0].geometry.area > area_canada @@ -718,12 +918,14 @@ def test_read_sql_dialect_sqlite_nogpkg(naturalearth_lowres): @pytest.mark.parametrize( "naturalearth_lowres", [".gpkg"], indirect=["naturalearth_lowres"] ) -def test_read_sql_dialect_sqlite_gpkg(naturalearth_lowres): +def test_read_sql_dialect_sqlite_gpkg(naturalearth_lowres, use_arrow): # "INDIRECT_SQL" prohibits GDAL from passing the SQL statement to sqlite. # Because the statement is processed within GDAL it is possible to use # spatialite functions even if sqlite isn't built with spatialite support. sql = "SELECT * FROM naturalearth_lowres WHERE iso_a3 = 'CAN'" - df = read_dataframe(naturalearth_lowres, sql=sql, sql_dialect="INDIRECT_SQLITE") + df = read_dataframe( + naturalearth_lowres, sql=sql, sql_dialect="INDIRECT_SQLITE", use_arrow=use_arrow + ) assert len(df) == 1 assert len(df.columns) == 6 assert df.iloc[0].iso_a3 == "CAN" @@ -733,31 +935,69 @@ def test_read_sql_dialect_sqlite_gpkg(naturalearth_lowres): sql = """SELECT ST_Buffer(geom, 5) AS geometry, name, pop_est, iso_a3 FROM naturalearth_lowres WHERE ISO_A3 = 'CAN'""" - df = read_dataframe(naturalearth_lowres, sql=sql, sql_dialect="INDIRECT_SQLITE") + df = read_dataframe( + naturalearth_lowres, sql=sql, sql_dialect="INDIRECT_SQLITE", use_arrow=use_arrow + ) assert len(df) == 1 assert len(df.columns) == 4 assert df.iloc[0].geometry.area > area_canada +@pytest.mark.parametrize("encoding", ["utf-8", "cp1252", None]) +def test_write_csv_encoding(tmp_path, encoding): + """Test if write_dataframe uses the default encoding correctly.""" + # Write csv test file. Depending on the os this will be written in a different + # encoding: for linux and macos this is utf-8, for windows it is cp1252. + csv_path = tmp_path / "test.csv" + + with open(csv_path, "w", encoding=encoding) as csv: + csv.write("näme,city\n") + csv.write("Wilhelm Röntgen,Zürich\n") + + # Write csv test file with the same data using write_dataframe. It should use the + # same encoding as above. + df = pd.DataFrame({"näme": ["Wilhelm Röntgen"], "city": ["Zürich"]}) + csv_pyogrio_path = tmp_path / "test_pyogrio.csv" + write_dataframe(df, csv_pyogrio_path, encoding=encoding) + + # Check if the text files written both ways can be read again and give same result. + with open(csv_path, encoding=encoding) as csv: + csv_str = csv.read() + with open(csv_pyogrio_path, encoding=encoding) as csv_pyogrio: + csv_pyogrio_str = csv_pyogrio.read() + assert csv_str == csv_pyogrio_str + + # Check if they files are binary identical, to be 100% sure they were written with + # the same encoding. + with open(csv_path, "rb") as csv: + csv_bytes = csv.read() + with open(csv_pyogrio_path, "rb") as csv_pyogrio: + csv_pyogrio_bytes = csv_pyogrio.read() + assert csv_bytes == csv_pyogrio_bytes + + @pytest.mark.parametrize("ext", ALL_EXTS) -def test_write_dataframe(tmp_path, naturalearth_lowres, ext): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe(tmp_path, naturalearth_lowres, ext, use_arrow): input_gdf = read_dataframe(naturalearth_lowres) output_path = tmp_path / f"test{ext}" if ext == ".fgb": # For .fgb, spatial_index=False to avoid the rows being reordered - write_dataframe(input_gdf, output_path, spatial_index=False) + write_dataframe( + input_gdf, output_path, use_arrow=use_arrow, spatial_index=False + ) else: - write_dataframe(input_gdf, output_path) + write_dataframe(input_gdf, output_path, use_arrow=use_arrow) assert output_path.exists() result_gdf = read_dataframe(output_path) geometry_types = result_gdf.geometry.type.unique() if DRIVERS[ext] in DRIVERS_NO_MIXED_SINGLE_MULTI: - assert geometry_types == ["MultiPolygon"] + assert list(geometry_types) == ["MultiPolygon"] else: - assert set(geometry_types) == set(["MultiPolygon", "Polygon"]) + assert set(geometry_types) == {"MultiPolygon", "Polygon"} # Coordinates are not precisely equal when written to JSON # dtypes do not necessarily round-trip precisely through JSON @@ -776,14 +1016,21 @@ def test_write_dataframe(tmp_path, naturalearth_lowres, ext): @pytest.mark.filterwarnings("ignore:.*No SRS set on layer.*") +@pytest.mark.parametrize("write_geodf", [True, False]) @pytest.mark.parametrize("ext", [ext for ext in ALL_EXTS + [".xlsx"] if ext != ".fgb"]) -def test_write_dataframe_no_geom(tmp_path, naturalearth_lowres, ext): - """Test writing a dataframe without a geometry column. +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_no_geom( + request, tmp_path, naturalearth_lowres, write_geodf, ext, use_arrow +): + """Test writing a (geo)dataframe without a geometry column. FlatGeobuf (.fgb) doesn't seem to support this, and just writes an empty file. """ # Prepare test data input_df = read_dataframe(naturalearth_lowres, read_geometry=False) + if write_geodf: + input_df = gp.GeoDataFrame(input_df) + output_path = tmp_path / f"test{ext}" # A shapefile without geometry column results in only a .dbf file. @@ -793,7 +1040,7 @@ def test_write_dataframe_no_geom(tmp_path, naturalearth_lowres, ext): # Determine driver driver = DRIVERS[ext] if ext != ".xlsx" else "XLSX" - write_dataframe(input_df, output_path, driver=driver) + write_dataframe(input_df, output_path, use_arrow=use_arrow, driver=driver) assert output_path.exists() result_df = read_dataframe(output_path) @@ -806,6 +1053,9 @@ def test_write_dataframe_no_geom(tmp_path, naturalearth_lowres, ext): if ext in [".gpkg", ".shp", ".xlsx"]: # These file types return a DataFrame when read. assert not isinstance(result_df, gp.GeoDataFrame) + if isinstance(input_df, gp.GeoDataFrame): + input_df = pd.DataFrame(input_df) + pd.testing.assert_frame_equal( result_df, input_df, check_index_type=False, check_dtype=check_dtype ) @@ -822,96 +1072,164 @@ def test_write_dataframe_no_geom(tmp_path, naturalearth_lowres, ext): ) +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_index(tmp_path, naturalearth_lowres, use_arrow): + # dataframe writing ignores the index + input_gdf = read_dataframe(naturalearth_lowres) + input_gdf = input_gdf.set_index("iso_a3") + + output_path = tmp_path / "test.shp" + write_dataframe(input_gdf, output_path, use_arrow=use_arrow) + + result_gdf = read_dataframe(output_path) + assert isinstance(result_gdf.index, pd.RangeIndex) + assert_geodataframe_equal(result_gdf, input_gdf.reset_index(drop=True)) + + @pytest.mark.parametrize("ext", [ext for ext in ALL_EXTS if ext not in ".geojsonl"]) -def test_write_empty_dataframe(tmp_path, ext): +@pytest.mark.requires_arrow_write_api +def test_write_empty_dataframe(tmp_path, ext, use_arrow): expected = gp.GeoDataFrame(geometry=[], crs=4326) filename = tmp_path / f"test{ext}" - write_dataframe(expected, filename) + write_dataframe(expected, filename, use_arrow=use_arrow) assert filename.exists() df = read_dataframe(filename) assert_geodataframe_equal(df, expected) +def test_write_empty_geometry(tmp_path): + expected = gp.GeoDataFrame({"x": [0]}, geometry=from_wkt(["POINT EMPTY"]), crs=4326) + filename = tmp_path / "test.gpkg" + + # Check that no warning is raised with GeoSeries.notna() + with warnings.catch_warnings(): + warnings.simplefilter("error", UserWarning) + if not HAS_PYPROJ: + warnings.filterwarnings("ignore", message="'crs' was not provided.") + write_dataframe(expected, filename) + assert filename.exists() + + # Xref GH-436: round-tripping possible with GPKG but not others + df = read_dataframe(filename) + assert_geodataframe_equal(df, expected) + + @pytest.mark.parametrize("ext", [".geojsonl", ".geojsons"]) -def test_write_read_empty_dataframe_unsupported(tmp_path, ext): +@pytest.mark.requires_arrow_write_api +def test_write_read_empty_dataframe_unsupported(tmp_path, ext, use_arrow): # Writing empty dataframe to .geojsons or .geojsonl results logically in a 0 byte # file, but gdal isn't able to read those again at the time of writing. # Issue logged here: https://github.com/geopandas/pyogrio/issues/94 expected = gp.GeoDataFrame(geometry=[], crs=4326) filename = tmp_path / f"test{ext}" - write_dataframe(expected, filename) + write_dataframe(expected, filename, use_arrow=use_arrow) assert filename.exists() with pytest.raises( - Exception, match=".* not recognized as a supported file format." + Exception, match=".* not recognized as( being in)? a supported file format." ): - _ = read_dataframe(filename) + _ = read_dataframe(filename, use_arrow=use_arrow) -def test_write_dataframe_gpkg_multiple_layers(tmp_path, naturalearth_lowres): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_gpkg_multiple_layers(tmp_path, naturalearth_lowres, use_arrow): input_gdf = read_dataframe(naturalearth_lowres) - output_path = tmp_path / "test.gpkg" + filename = tmp_path / "test.gpkg" - write_dataframe(input_gdf, output_path, layer="first", promote_to_multi=True) + write_dataframe( + input_gdf, + filename, + layer="first", + promote_to_multi=True, + use_arrow=use_arrow, + ) - assert os.path.exists(output_path) - assert np.array_equal(list_layers(output_path), [["first", "MultiPolygon"]]) + assert filename.exists() + assert np.array_equal(list_layers(filename), [["first", "MultiPolygon"]]) - write_dataframe(input_gdf, output_path, layer="second", promote_to_multi=True) + write_dataframe( + input_gdf, + filename, + layer="second", + promote_to_multi=True, + use_arrow=use_arrow, + ) assert np.array_equal( - list_layers(output_path), + list_layers(filename), [["first", "MultiPolygon"], ["second", "MultiPolygon"]], ) @pytest.mark.parametrize("ext", ALL_EXTS) -def test_write_dataframe_append(tmp_path, naturalearth_lowres, ext): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_append(request, tmp_path, naturalearth_lowres, ext, use_arrow): if ext == ".fgb" and __gdal_version__ <= (3, 5, 0): pytest.skip("Append to FlatGeobuf fails for GDAL <= 3.5.0") if ext in (".geojsonl", ".geojsons") and __gdal_version__ <= (3, 6, 0): pytest.skip("Append to GeoJSONSeq only available for GDAL >= 3.6.0") + if use_arrow and ext.startswith(".geojson"): + # Bug in GDAL when appending int64 to GeoJSON + # (https://github.com/OSGeo/gdal/issues/9792) + request.node.add_marker( + pytest.mark.xfail(reason="Bugs with append when writing Arrow to GeoJSON") + ) + input_gdf = read_dataframe(naturalearth_lowres) - output_path = tmp_path / f"test{ext}" + filename = tmp_path / f"test{ext}" - write_dataframe(input_gdf, output_path) + write_dataframe(input_gdf, filename, use_arrow=use_arrow) - assert os.path.exists(output_path) - assert len(read_dataframe(output_path)) == 177 + filename.exists() + assert len(read_dataframe(filename)) == 177 - write_dataframe(input_gdf, output_path, append=True) - assert len(read_dataframe(output_path)) == 354 + write_dataframe(input_gdf, filename, use_arrow=use_arrow, append=True) + assert len(read_dataframe(filename)) == 354 @pytest.mark.parametrize("spatial_index", [False, True]) -def test_write_dataframe_gdal_options(tmp_path, naturalearth_lowres, spatial_index): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_gdal_options( + tmp_path, naturalearth_lowres, spatial_index, use_arrow +): df = read_dataframe(naturalearth_lowres) outfilename1 = tmp_path / "test1.shp" - write_dataframe(df, outfilename1, SPATIAL_INDEX="YES" if spatial_index else "NO") + write_dataframe( + df, + outfilename1, + use_arrow=use_arrow, + SPATIAL_INDEX="YES" if spatial_index else "NO", + ) assert outfilename1.exists() is True index_filename1 = tmp_path / "test1.qix" assert index_filename1.exists() is spatial_index # using explicit layer_options instead outfilename2 = tmp_path / "test2.shp" - write_dataframe(df, outfilename2, layer_options=dict(spatial_index=spatial_index)) + write_dataframe( + df, + outfilename2, + use_arrow=use_arrow, + layer_options={"spatial_index": spatial_index}, + ) assert outfilename2.exists() is True index_filename2 = tmp_path / "test2.qix" assert index_filename2.exists() is spatial_index -def test_write_dataframe_gdal_options_unknown(tmp_path, naturalearth_lowres): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_gdal_options_unknown(tmp_path, naturalearth_lowres, use_arrow): df = read_dataframe(naturalearth_lowres) # geojson has no spatial index, so passing keyword should raise outfilename = tmp_path / "test.geojson" with pytest.raises(ValueError, match="unrecognized option 'SPATIAL_INDEX'"): - write_dataframe(df, outfilename, spatial_index=True) + write_dataframe(df, outfilename, use_arrow=use_arrow, spatial_index=True) def _get_gpkg_table_names(path): @@ -924,22 +1242,26 @@ def _get_gpkg_table_names(path): return [res[0] for res in result] -def test_write_dataframe_gdal_options_dataset(tmp_path, naturalearth_lowres): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_gdal_options_dataset(tmp_path, naturalearth_lowres, use_arrow): df = read_dataframe(naturalearth_lowres) test_default_filename = tmp_path / "test_default.gpkg" - write_dataframe(df, test_default_filename) + write_dataframe(df, test_default_filename, use_arrow=use_arrow) assert "gpkg_ogr_contents" in _get_gpkg_table_names(test_default_filename) test_no_contents_filename = tmp_path / "test_no_contents.gpkg" - write_dataframe(df, test_default_filename, ADD_GPKG_OGR_CONTENTS="NO") + write_dataframe( + df, test_default_filename, use_arrow=use_arrow, ADD_GPKG_OGR_CONTENTS="NO" + ) assert "gpkg_ogr_contents" not in _get_gpkg_table_names(test_no_contents_filename) test_no_contents_filename2 = tmp_path / "test_no_contents2.gpkg" write_dataframe( df, test_no_contents_filename2, - dataset_options=dict(add_gpkg_ogr_contents=False), + use_arrow=use_arrow, + dataset_options={"add_gpkg_ogr_contents": False}, ) assert "gpkg_ogr_contents" not in _get_gpkg_table_names(test_no_contents_filename2) @@ -955,6 +1277,7 @@ def test_write_dataframe_gdal_options_dataset(tmp_path, naturalearth_lowres): (".geojson", False, ["MultiPolygon", "Polygon"], "Unknown"), ], ) +@pytest.mark.requires_arrow_write_api def test_write_dataframe_promote_to_multi( tmp_path, naturalearth_lowres, @@ -962,11 +1285,14 @@ def test_write_dataframe_promote_to_multi( promote_to_multi, expected_geometry_types, expected_geometry_type, + use_arrow, ): input_gdf = read_dataframe(naturalearth_lowres) output_path = tmp_path / f"test_promote{ext}" - write_dataframe(input_gdf, output_path, promote_to_multi=promote_to_multi) + write_dataframe( + input_gdf, output_path, use_arrow=use_arrow, promote_to_multi=promote_to_multi + ) assert output_path.exists() output_gdf = read_dataframe(output_path) @@ -999,6 +1325,7 @@ def test_write_dataframe_promote_to_multi( (".shp", True, "Unknown", ["MultiPolygon", "Polygon"], "Polygon"), ], ) +@pytest.mark.requires_arrow_write_api def test_write_dataframe_promote_to_multi_layer_geom_type( tmp_path, naturalearth_lowres, @@ -1007,6 +1334,7 @@ def test_write_dataframe_promote_to_multi_layer_geom_type( geometry_type, expected_geometry_types, expected_geometry_type, + use_arrow, ): input_gdf = read_dataframe(naturalearth_lowres) @@ -1023,6 +1351,7 @@ def test_write_dataframe_promote_to_multi_layer_geom_type( write_dataframe( input_gdf, output_path, + use_arrow=use_arrow, promote_to_multi=promote_to_multi, geometry_type=geometry_type, ) @@ -1041,9 +1370,16 @@ def test_write_dataframe_promote_to_multi_layer_geom_type( (".fgb", False, "Polygon", "Mismatched geometry type"), (".fgb", None, "Point", "Mismatched geometry type"), (".fgb", None, "Polygon", "Mismatched geometry type"), - (".shp", None, "Point", "Could not add feature to layer at index"), + ( + ".shp", + None, + "Point", + "Could not add feature to layer at index|Error while writing batch to OGR " + "layer", + ), ], ) +@pytest.mark.requires_arrow_write_api def test_write_dataframe_promote_to_multi_layer_geom_type_invalid( tmp_path, naturalearth_lowres, @@ -1051,31 +1387,37 @@ def test_write_dataframe_promote_to_multi_layer_geom_type_invalid( promote_to_multi, geometry_type, expected_raises_match, + use_arrow, ): input_gdf = read_dataframe(naturalearth_lowres) output_path = tmp_path / f"test{ext}" - with pytest.raises(FeatureError, match=expected_raises_match): + with pytest.raises((FeatureError, DataLayerError), match=expected_raises_match): write_dataframe( input_gdf, output_path, + use_arrow=use_arrow, promote_to_multi=promote_to_multi, geometry_type=geometry_type, ) -def test_write_dataframe_layer_geom_type_invalid(tmp_path, naturalearth_lowres): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_layer_geom_type_invalid( + tmp_path, naturalearth_lowres, use_arrow +): df = read_dataframe(naturalearth_lowres) filename = tmp_path / "test.geojson" with pytest.raises( GeometryError, match="Geometry type is not supported: NotSupported" ): - write_dataframe(df, filename, geometry_type="NotSupported") + write_dataframe(df, filename, use_arrow=use_arrow, geometry_type="NotSupported") @pytest.mark.parametrize("ext", [ext for ext in ALL_EXTS if ext not in ".shp"]) -def test_write_dataframe_truly_mixed(tmp_path, ext): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_truly_mixed(tmp_path, ext, use_arrow): geometry = [ shapely.Point(0, 0), shapely.LineString([(0, 0), (1, 1)]), @@ -1095,9 +1437,9 @@ def test_write_dataframe_truly_mixed(tmp_path, ext): if ext == ".fgb": # For .fgb, spatial_index=False to avoid the rows being reordered - write_dataframe(df, filename, spatial_index=False) + write_dataframe(df, filename, use_arrow=use_arrow, spatial_index=False) else: - write_dataframe(df, filename) + write_dataframe(df, filename, use_arrow=use_arrow) # Drivers that support mixed geometries will default to "Unknown" geometry type assert read_info(filename)["geometry_type"] == "Unknown" @@ -1105,7 +1447,8 @@ def test_write_dataframe_truly_mixed(tmp_path, ext): assert_geodataframe_equal(result, df, check_geom_type=True) -def test_write_dataframe_truly_mixed_invalid(tmp_path): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_truly_mixed_invalid(tmp_path, use_arrow): # Shapefile doesn't support generic "Geometry" / "Unknown" type # for mixed geometries @@ -1123,9 +1466,12 @@ def test_write_dataframe_truly_mixed_invalid(tmp_path): msg = ( "Could not add feature to layer at index 1: Attempt to " r"write non-point \(LINESTRING\) geometry to point shapefile." + # DataLayerError when using Arrow + "|Error while writing batch to OGR layer: Attempt to " + r"write non-point \(LINESTRING\) geometry to point shapefile." ) - with pytest.raises(FeatureError, match=msg): - write_dataframe(df, tmp_path / "test.shp") + with pytest.raises((FeatureError, DataLayerError), match=msg): + write_dataframe(df, tmp_path / "test.shp", use_arrow=use_arrow) @pytest.mark.parametrize("ext", [ext for ext in ALL_EXTS if ext not in ".fgb"]) @@ -1138,11 +1484,12 @@ def test_write_dataframe_truly_mixed_invalid(tmp_path): [None, None], ], ) -def test_write_dataframe_infer_geometry_with_nulls(tmp_path, geoms, ext): +@pytest.mark.requires_arrow_write_api +def test_write_dataframe_infer_geometry_with_nulls(tmp_path, geoms, ext, use_arrow): filename = tmp_path / f"test{ext}" df = gp.GeoDataFrame({"col": [1.0, 2.0]}, geometry=geoms, crs="EPSG:4326") - write_dataframe(df, filename) + write_dataframe(df, filename, use_arrow=use_arrow) result = read_dataframe(filename) assert_geodataframe_equal(result, df) @@ -1150,16 +1497,20 @@ def test_write_dataframe_infer_geometry_with_nulls(tmp_path, geoms, ext): @pytest.mark.filterwarnings( "ignore: You will likely lose important projection information" ) -def test_custom_crs_io(tmpdir, naturalearth_lowres_all_ext): +@pytest.mark.requires_arrow_write_api +@requires_pyproj +def test_custom_crs_io(tmp_path, naturalearth_lowres_all_ext, use_arrow): df = read_dataframe(naturalearth_lowres_all_ext) # project Belgium to a custom Albers Equal Area projection - expected = df.loc[df.name == "Belgium"].to_crs( - "+proj=aea +lat_1=49.5 +lat_2=51.5 +lon_0=4.3" + expected = ( + df.loc[df.name == "Belgium"] + .reset_index(drop=True) + .to_crs("+proj=aea +lat_1=49.5 +lat_2=51.5 +lon_0=4.3") ) - filename = os.path.join(str(tmpdir), "test.shp") - write_dataframe(expected, filename) + filename = tmp_path / "test.shp" + write_dataframe(expected, filename, use_arrow=use_arrow) - assert os.path.exists(filename) + assert filename.exists() df = read_dataframe(filename) @@ -1171,6 +1522,7 @@ def test_custom_crs_io(tmpdir, naturalearth_lowres_all_ext): def test_write_read_mixed_column_values(tmp_path): + # use_arrow=True is tested separately below mixed_values = ["test", 1.0, 1, datetime.now(), None, np.nan] geoms = [shapely.Point(0, 0) for _ in mixed_values] test_gdf = gp.GeoDataFrame( @@ -1187,7 +1539,21 @@ def test_write_read_mixed_column_values(tmp_path): assert output_gdf["mixed"][idx] == str(value) -def test_write_read_null(tmp_path): +@requires_arrow_write_api +def test_write_read_mixed_column_values_arrow(tmp_path): + # Arrow cannot represent a column of mixed types + mixed_values = ["test", 1.0, 1, datetime.now(), None, np.nan] + geoms = [shapely.Point(0, 0) for _ in mixed_values] + test_gdf = gp.GeoDataFrame( + {"geometry": geoms, "mixed": mixed_values}, crs="epsg:31370" + ) + output_path = tmp_path / "test_write_mixed_column.gpkg" + with pytest.raises(TypeError, match=".*Conversion failed for column"): + write_dataframe(test_gdf, output_path, use_arrow=True) + + +@pytest.mark.requires_arrow_write_api +def test_write_read_null(tmp_path, use_arrow): output_path = tmp_path / "test_write_nan.gpkg" geom = shapely.Point(0, 0) test_data = { @@ -1196,7 +1562,7 @@ def test_write_read_null(tmp_path): "object_str": ["test", None, np.nan], } test_gdf = gp.GeoDataFrame(test_data, crs="epsg:31370") - write_dataframe(test_gdf, output_path) + write_dataframe(test_gdf, output_path, use_arrow=use_arrow) result_gdf = read_dataframe(output_path) assert len(test_gdf) == len(result_gdf) assert result_gdf["float64"][0] == 1.0 @@ -1207,6 +1573,22 @@ def test_write_read_null(tmp_path): assert result_gdf["object_str"][2] is None +@pytest.mark.requires_arrow_write_api +def test_write_read_vsimem(naturalearth_lowres_vsi, use_arrow): + path, _ = naturalearth_lowres_vsi + mem_path = f"/vsimem/{path.name}" + + input = read_dataframe(path, use_arrow=use_arrow) + assert len(input) == 177 + + try: + write_dataframe(input, mem_path, use_arrow=use_arrow) + result = read_dataframe(mem_path, use_arrow=use_arrow) + assert len(result) == 177 + finally: + vsi_unlink(mem_path) + + @pytest.mark.parametrize( "wkt,geom_types", [ @@ -1219,7 +1601,7 @@ def test_write_read_null(tmp_path): ["2.5D MultiLineString", "MultiLineString Z"], ), ( - "MultiPolygon Z (((0 0 0, 0 1 0, 1 1 0, 0 0 0)), ((1 1 1, 1 2 1, 2 2 1, 1 1 1)))", # NOQA + "MultiPolygon Z (((0 0 0, 0 1 0, 1 1 0, 0 0 0)), ((1 1 1, 1 2 1, 2 2 1, 1 1 1)))", # noqa: E501 ["2.5D MultiPolygon", "MultiPolygon Z"], ), ( @@ -1228,11 +1610,12 @@ def test_write_read_null(tmp_path): ), ], ) -def test_write_geometry_z_types(tmp_path, wkt, geom_types): +@pytest.mark.requires_arrow_write_api +def test_write_geometry_z_types(tmp_path, wkt, geom_types, use_arrow): filename = tmp_path / "test.fgb" gdf = gp.GeoDataFrame(geometry=from_wkt([wkt]), crs="EPSG:4326") for geom_type in geom_types: - write_dataframe(gdf, filename, geometry_type=geom_type) + write_dataframe(gdf, filename, use_arrow=use_arrow, geometry_type=geom_type) df = read_dataframe(filename) assert_geodataframe_equal(df, gdf) @@ -1286,8 +1669,9 @@ def test_write_geometry_z_types(tmp_path, wkt, geom_types): ), ], ) +@pytest.mark.requires_arrow_write_api def test_write_geometry_z_types_auto( - tmp_path, ext, test_descr, exp_geometry_type, mixed_dimensions, wkt + tmp_path, ext, test_descr, exp_geometry_type, mixed_dimensions, wkt, use_arrow ): # Shapefile has some different behaviour that other file types if ext == ".shp": @@ -1314,10 +1698,10 @@ def test_write_geometry_z_types_auto( DataSourceError, match=("Mixed 2D and 3D coordinates are not supported by"), ): - write_dataframe(gdf, filename) + write_dataframe(gdf, filename, use_arrow=use_arrow) return else: - write_dataframe(gdf, filename) + write_dataframe(gdf, filename, use_arrow=use_arrow) info = read_info(filename) assert info["geometry_type"] == exp_geometry_type @@ -1329,18 +1713,76 @@ def test_write_geometry_z_types_auto( assert_geodataframe_equal(gdf, result_gdf) -def test_read_multisurface(data_dir): - df = read_dataframe(data_dir / "test_multisurface.gpkg") +@pytest.mark.parametrize( + "on_invalid, message", + [ + ( + "warn", + "Invalid WKB: geometry is returned as None. IllegalArgumentException: " + "Invalid number of points in LinearRing found 2 - must be 0 or >=", + ), + ("raise", "Invalid number of points in LinearRing found 2 - must be 0 or >="), + ("ignore", None), + ], +) +def test_read_invalid_poly_ring(tmp_path, use_arrow, on_invalid, message): + if on_invalid == "raise": + handler = pytest.raises(shapely.errors.GEOSException, match=message) + elif on_invalid == "warn": + handler = pytest.warns(match=message) + elif on_invalid == "ignore": + handler = contextlib.nullcontext() + else: + raise ValueError(f"unknown value for on_invalid: {on_invalid}") - # MultiSurface should be converted to MultiPolygon - assert df.geometry.type.tolist() == ["MultiPolygon"] + # create a GeoJSON file with an invalid exterior ring + invalid_geojson = """{ + "type": "FeatureCollection", + "features": [ + { + "type": "Feature", + "properties": {}, + "geometry": { + "type": "Polygon", + "coordinates": [ [ [0, 0], [0, 0] ] ] + } + } + ] + }""" + + filename = tmp_path / "test.geojson" + with open(filename, "w") as f: + _ = f.write(invalid_geojson) + + with handler: + df = read_dataframe( + filename, + use_arrow=use_arrow, + on_invalid=on_invalid, + ) + df.geometry.isnull().all() -def test_read_dataset_kwargs(data_dir, use_arrow): - filename = data_dir / "test_nested.geojson" +def test_read_multisurface(multisurface_file, use_arrow): + if use_arrow: + # TODO: revisit once https://github.com/geopandas/pyogrio/issues/478 + # is resolved. + pytest.skip("Shapely + GEOS 3.13 crashes in from_wkb for this case") + with pytest.raises(shapely.errors.GEOSException): + # TODO(Arrow) + # shapely fails parsing the WKB + read_dataframe(multisurface_file, use_arrow=True) + else: + df = read_dataframe(multisurface_file) + + # MultiSurface should be converted to MultiPolygon + assert df.geometry.type.tolist() == ["MultiPolygon"] + + +def test_read_dataset_kwargs(nested_geojson_file, use_arrow): # by default, nested data are not flattened - df = read_dataframe(filename, use_arrow=use_arrow) + df = read_dataframe(nested_geojson_file, use_arrow=use_arrow) expected = gp.GeoDataFrame( { @@ -1353,7 +1795,9 @@ def test_read_dataset_kwargs(data_dir, use_arrow): assert_geodataframe_equal(df, expected) - df = read_dataframe(filename, use_arrow=use_arrow, FLATTEN_NESTED_ATTRIBUTES="YES") + df = read_dataframe( + nested_geojson_file, use_arrow=use_arrow, FLATTEN_NESTED_ATTRIBUTES="YES" + ) expected = gp.GeoDataFrame( { @@ -1372,7 +1816,8 @@ def test_read_invalid_dataset_kwargs(naturalearth_lowres, use_arrow): read_dataframe(naturalearth_lowres, use_arrow=use_arrow, INVALID="YES") -def test_write_nullable_dtypes(tmp_path): +@pytest.mark.requires_arrow_write_api +def test_write_nullable_dtypes(tmp_path, use_arrow): path = tmp_path / "test_nullable_dtypes.gpkg" test_data = { "col1": pd.Series([1, 2, 3], dtype="int64"), @@ -1384,7 +1829,7 @@ def test_write_nullable_dtypes(tmp_path): input_gdf = gp.GeoDataFrame( test_data, geometry=[shapely.Point(0, 0)] * 3, crs="epsg:31370" ) - write_dataframe(input_gdf, path) + write_dataframe(input_gdf, path, use_arrow=use_arrow) output_gdf = read_dataframe(path) # We read it back as default (non-nullable) numpy dtypes, so we cast # to those for the expected result @@ -1393,19 +1838,21 @@ def test_write_nullable_dtypes(tmp_path): expected["col3"] = expected["col3"].astype("float32") expected["col4"] = expected["col4"].astype("float64") expected["col5"] = expected["col5"].astype(object) + expected.loc[1, "col5"] = None # pandas converts to pd.NA on line above assert_geodataframe_equal(output_gdf, expected) @pytest.mark.parametrize( "metadata_type", ["dataset_metadata", "layer_metadata", "metadata"] ) -def test_metadata_io(tmpdir, naturalearth_lowres, metadata_type): +@pytest.mark.requires_arrow_write_api +def test_metadata_io(tmp_path, naturalearth_lowres, metadata_type, use_arrow): metadata = {"level": metadata_type} df = read_dataframe(naturalearth_lowres) - filename = os.path.join(str(tmpdir), "test.gpkg") - write_dataframe(df, filename, **{metadata_type: metadata}) + filename = tmp_path / "test.gpkg" + write_dataframe(df, filename, use_arrow=use_arrow, **{metadata_type: metadata}) metadata_key = "layer_metadata" if metadata_type == "metadata" else metadata_type @@ -1421,22 +1868,27 @@ def test_metadata_io(tmpdir, naturalearth_lowres, metadata_type): {"key": 1}, ], ) -def test_invalid_metadata(tmpdir, naturalearth_lowres, metadata_type, metadata): +@pytest.mark.requires_arrow_write_api +def test_invalid_metadata( + tmp_path, naturalearth_lowres, metadata_type, metadata, use_arrow +): + df = read_dataframe(naturalearth_lowres) with pytest.raises(ValueError, match="must be a string"): - filename = os.path.join(str(tmpdir), "test.gpkg") write_dataframe( - read_dataframe(naturalearth_lowres), filename, **{metadata_type: metadata} + df, tmp_path / "test.gpkg", use_arrow=use_arrow, **{metadata_type: metadata} ) @pytest.mark.parametrize("metadata_type", ["dataset_metadata", "layer_metadata"]) -def test_metadata_unsupported(tmpdir, naturalearth_lowres, metadata_type): +@pytest.mark.requires_arrow_write_api +def test_metadata_unsupported(tmp_path, naturalearth_lowres, metadata_type, use_arrow): """metadata is silently ignored""" - filename = os.path.join(str(tmpdir), "test.geojson") + filename = tmp_path / "test.geojson" write_dataframe( read_dataframe(naturalearth_lowres), filename, + use_arrow=use_arrow, **{metadata_type: {"key": "value"}}, ) @@ -1466,3 +1918,397 @@ def test_read_dataframe_arrow_dtypes(tmp_path): assert isinstance(result["col"].dtype, pd.ArrowDtype) result["col"] = result["col"].astype("float64") assert_geodataframe_equal(result, df) + + +@requires_pyarrow_api +@pytest.mark.skipif( + __gdal_version__ < (3, 8, 3), reason="Arrow bool value bug fixed in GDAL >= 3.8.3" +) +@pytest.mark.parametrize("ext", ALL_EXTS) +def test_arrow_bool_roundtrip(tmp_path, ext): + filename = tmp_path / f"test{ext}" + + kwargs = {} + + if ext == ".fgb": + # For .fgb, spatial_index=False to avoid the rows being reordered + kwargs["spatial_index"] = False + + df = gp.GeoDataFrame( + {"bool_col": [True, False, True, False, True], "geometry": [Point(0, 0)] * 5}, + crs="EPSG:4326", + ) + + write_dataframe(df, filename, **kwargs) + result = read_dataframe(filename, use_arrow=True) + # Shapefiles do not support bool columns; these are returned as int32 + assert_geodataframe_equal(result, df, check_dtype=ext != ".shp") + + +@requires_pyarrow_api +@pytest.mark.skipif( + __gdal_version__ >= (3, 8, 3), reason="Arrow bool value bug fixed in GDAL >= 3.8.3" +) +@pytest.mark.parametrize("ext", ALL_EXTS) +def test_arrow_bool_exception(tmp_path, ext): + filename = tmp_path / f"test{ext}" + + df = gp.GeoDataFrame( + {"bool_col": [True, False, True, False, True], "geometry": [Point(0, 0)] * 5}, + crs="EPSG:4326", + ) + + write_dataframe(df, filename) + + if ext in {".fgb", ".gpkg"}: + # only raise exception for GPKG / FGB + with pytest.raises( + RuntimeError, + match="GDAL < 3.8.3 does not correctly read boolean data values using " + "the Arrow API", + ): + read_dataframe(filename, use_arrow=True) + + # do not raise exception if no bool columns are read + read_dataframe(filename, use_arrow=True, columns=[]) + + else: + _ = read_dataframe(filename, use_arrow=True) + + +@pytest.mark.filterwarnings("ignore:File /vsimem:RuntimeWarning") +@pytest.mark.parametrize("driver", ["GeoJSON", "GPKG"]) +def test_write_memory(naturalearth_lowres, driver): + df = read_dataframe(naturalearth_lowres) + + buffer = BytesIO() + write_dataframe(df, buffer, driver=driver, layer="test") + + assert len(buffer.getbuffer()) > 0 + + actual = read_dataframe(buffer) + assert len(actual) == len(df) + + is_json = driver == "GeoJSON" + + assert_geodataframe_equal( + actual, + df, + check_less_precise=is_json, + check_index_type=False, + check_dtype=not is_json, + ) + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +def test_write_memory_driver_required(naturalearth_lowres): + df = read_dataframe(naturalearth_lowres) + + buffer = BytesIO() + + with pytest.raises( + ValueError, + match="driver must be provided to write to in-memory file", + ): + write_dataframe(df.head(1), buffer, driver=None, layer="test") + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +@pytest.mark.parametrize("driver", ["ESRI Shapefile", "OpenFileGDB"]) +def test_write_memory_unsupported_driver(naturalearth_lowres, driver): + if driver == "OpenFileGDB" and __gdal_version__ < (3, 6, 0): + pytest.skip("OpenFileGDB write support only available for GDAL >= 3.6.0") + + df = read_dataframe(naturalearth_lowres) + + buffer = BytesIO() + + with pytest.raises( + ValueError, match=f"writing to in-memory file is not supported for {driver}" + ): + write_dataframe(df, buffer, driver=driver, layer="test") + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +@pytest.mark.parametrize("driver", ["GeoJSON", "GPKG"]) +def test_write_memory_append_unsupported(naturalearth_lowres, driver): + df = read_dataframe(naturalearth_lowres) + + buffer = BytesIO() + + with pytest.raises( + NotImplementedError, match="append is not supported for in-memory files" + ): + write_dataframe(df.head(1), buffer, driver=driver, layer="test", append=True) + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +def test_write_memory_existing_unsupported(naturalearth_lowres): + df = read_dataframe(naturalearth_lowres) + + buffer = BytesIO(b"0000") + with pytest.raises( + NotImplementedError, + match="writing to existing in-memory object is not supported", + ): + write_dataframe(df.head(1), buffer, driver="GeoJSON", layer="test") + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +def test_write_open_file_handle(tmp_path, naturalearth_lowres): + """Verify that writing to an open file handle is not currently supported""" + + df = read_dataframe(naturalearth_lowres) + + # verify it fails for regular file handle + with pytest.raises( + NotImplementedError, match="writing to an open file handle is not yet supported" + ): + with open(tmp_path / "test.geojson", "wb") as f: + write_dataframe(df.head(1), f) + + # verify it fails for ZipFile + with pytest.raises( + NotImplementedError, match="writing to an open file handle is not yet supported" + ): + with ZipFile(tmp_path / "test.geojson.zip", "w") as z: + with z.open("test.geojson", "w") as f: + write_dataframe(df.head(1), f) + + # Check temp file was cleaned up. Filter, as gdal keeps cache files in /vsimem/. + assert vsi_listtree("/vsimem/", pattern="pyogrio_*") == [] + + +@pytest.mark.parametrize("ext", ["gpkg", "geojson"]) +def test_non_utf8_encoding_io(tmp_path, ext, encoded_text): + """Verify that we write non-UTF data to the data source + + IMPORTANT: this may not be valid for the data source and will likely render + them unusable in other tools, but should successfully roundtrip unless we + disable writing using other encodings. + + NOTE: FlatGeobuff driver cannot handle non-UTF data in GDAL >= 3.9 + + NOTE: pyarrow cannot handle non-UTF-8 characters in this way + """ + + encoding, text = encoded_text + output_path = tmp_path / f"test.{ext}" + + df = gp.GeoDataFrame({text: [text], "geometry": [Point(0, 0)]}, crs="EPSG:4326") + write_dataframe(df, output_path, encoding=encoding) + + # cannot open these files without specifying encoding + with pytest.raises(UnicodeDecodeError): + read_dataframe(output_path) + + # must provide encoding to read these properly + actual = read_dataframe(output_path, encoding=encoding) + assert actual.columns[0] == text + assert actual[text].values[0] == text + + +@requires_pyarrow_api +@pytest.mark.parametrize("ext", ["gpkg", "geojson"]) +def test_non_utf8_encoding_io_arrow_exception(tmp_path, ext, encoded_text): + encoding, text = encoded_text + output_path = tmp_path / f"test.{ext}" + + df = gp.GeoDataFrame({text: [text], "geometry": [Point(0, 0)]}, crs="EPSG:4326") + write_dataframe(df, output_path, encoding=encoding) + + # cannot open these files without specifying encoding + with pytest.raises(UnicodeDecodeError): + read_dataframe(output_path) + + with pytest.raises( + ValueError, match="non-UTF-8 encoding is not supported for Arrow" + ): + read_dataframe(output_path, encoding=encoding, use_arrow=True) + + +def test_non_utf8_encoding_io_shapefile(tmp_path, encoded_text, use_arrow): + encoding, text = encoded_text + + output_path = tmp_path / "test.shp" + + df = gp.GeoDataFrame({text: [text], "geometry": [Point(0, 0)]}, crs="EPSG:4326") + write_dataframe(df, output_path, encoding=encoding) + + # NOTE: GDAL automatically creates a cpg file with the encoding name, which + # means that if we read this without specifying the encoding it uses the + # correct one + actual = read_dataframe(output_path, use_arrow=use_arrow) + assert actual.columns[0] == text + assert actual[text].values[0] == text + + # verify that if cpg file is not present, that user-provided encoding must be used + output_path.with_suffix(".cpg").unlink() + + # We will assume ISO-8859-1, which is wrong + miscoded = text.encode(encoding).decode("ISO-8859-1") + + if use_arrow: + # pyarrow cannot decode column name with incorrect encoding + with pytest.raises(UnicodeDecodeError): + read_dataframe(output_path, use_arrow=True) + else: + bad = read_dataframe(output_path, use_arrow=False) + assert bad.columns[0] == miscoded + assert bad[miscoded].values[0] == miscoded + + # If encoding is provided, that should yield correct text + actual = read_dataframe(output_path, encoding=encoding, use_arrow=use_arrow) + assert actual.columns[0] == text + assert actual[text].values[0] == text + + # if ENCODING open option, that should yield correct text + actual = read_dataframe(output_path, use_arrow=use_arrow, ENCODING=encoding) + assert actual.columns[0] == text + assert actual[text].values[0] == text + + +def test_encoding_read_option_collision_shapefile(naturalearth_lowres, use_arrow): + """Providing both encoding parameter and ENCODING open option + (even if blank) is not allowed.""" + + with pytest.raises( + ValueError, match='cannot provide both encoding parameter and "ENCODING" option' + ): + read_dataframe( + naturalearth_lowres, encoding="CP936", ENCODING="", use_arrow=use_arrow + ) + + +def test_encoding_write_layer_option_collision_shapefile(tmp_path, encoded_text): + """Providing both encoding parameter and ENCODING layer creation option + (even if blank) is not allowed.""" + encoding, text = encoded_text + + output_path = tmp_path / "test.shp" + df = gp.GeoDataFrame({text: [text], "geometry": [Point(0, 0)]}, crs="EPSG:4326") + + with pytest.raises( + ValueError, + match=( + 'cannot provide both encoding parameter and "ENCODING" layer creation ' + "option" + ), + ): + write_dataframe( + df, output_path, encoding=encoding, layer_options={"ENCODING": ""} + ) + + +def test_non_utf8_encoding_shapefile_sql(tmp_path, use_arrow): + encoding = "CP936" + + output_path = tmp_path / "test.shp" + + mandarin = "中文" + df = gp.GeoDataFrame( + {mandarin: mandarin, "geometry": [Point(0, 0)]}, crs="EPSG:4326" + ) + write_dataframe(df, output_path, encoding=encoding) + + actual = read_dataframe( + output_path, + sql=f"select * from test where \"{mandarin}\" = '{mandarin}'", + use_arrow=use_arrow, + ) + assert actual.columns[0] == mandarin + assert actual[mandarin].values[0] == mandarin + + actual = read_dataframe( + output_path, + sql=f"select * from test where \"{mandarin}\" = '{mandarin}'", + encoding=encoding, + use_arrow=use_arrow, + ) + assert actual.columns[0] == mandarin + assert actual[mandarin].values[0] == mandarin + + +@pytest.mark.requires_arrow_write_api +def test_write_kml_file_coordinate_order(tmp_path, use_arrow): + # confirm KML coordinates are written in lon, lat order even if CRS axis + # specifies otherwise + points = [Point(10, 20), Point(30, 40), Point(50, 60)] + gdf = gp.GeoDataFrame(geometry=points, crs="EPSG:4326") + output_path = tmp_path / "test.kml" + write_dataframe( + gdf, output_path, layer="tmp_layer", driver="KML", use_arrow=use_arrow + ) + + gdf_in = read_dataframe(output_path, use_arrow=use_arrow) + + assert np.array_equal(gdf_in.geometry.values, points) + + if "LIBKML" in list_drivers(): + # test appending to the existing file only if LIBKML is available + # as it appears to fall back on LIBKML driver when appending. + points_append = [Point(70, 80), Point(90, 100), Point(110, 120)] + gdf_append = gp.GeoDataFrame(geometry=points_append, crs="EPSG:4326") + + write_dataframe( + gdf_append, + output_path, + layer="tmp_layer", + driver="KML", + use_arrow=use_arrow, + append=True, + ) + # force_2d used to only compare xy geometry as z-dimension is undesirably + # introduced when the kml file is over-written. + gdf_in_appended = read_dataframe( + output_path, use_arrow=use_arrow, force_2d=True + ) + + assert np.array_equal(gdf_in_appended.geometry.values, points + points_append) + + +@pytest.mark.requires_arrow_write_api +def test_write_geojson_rfc7946_coordinates(tmp_path, use_arrow): + points = [Point(10, 20), Point(30, 40), Point(50, 60)] + gdf = gp.GeoDataFrame(geometry=points, crs="EPSG:4326") + output_path = tmp_path / "test.geojson" + write_dataframe( + gdf, + output_path, + layer="tmp_layer", + driver="GeoJSON", + RFC7946=True, + use_arrow=use_arrow, + ) + + gdf_in = read_dataframe(output_path, use_arrow=use_arrow) + + assert np.array_equal(gdf_in.geometry.values, points) + + # test appending to the existing file + + points_append = [Point(70, 80), Point(90, 100), Point(110, 120)] + gdf_append = gp.GeoDataFrame(geometry=points_append, crs="EPSG:4326") + + write_dataframe( + gdf_append, + output_path, + layer="tmp_layer", + driver="GeoJSON", + RFC7946=True, + use_arrow=use_arrow, + append=True, + ) + + gdf_in_appended = read_dataframe(output_path, use_arrow=use_arrow) + assert np.array_equal(gdf_in_appended.geometry.values, points + points_append) diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_path.py b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_path.py index 888cae4f..9cc7943c 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_path.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_path.py @@ -1,15 +1,17 @@ -import os import contextlib -from zipfile import ZipFile, ZIP_DEFLATED - -import pytest +import os +from pathlib import Path +from zipfile import ZIP_DEFLATED, ZipFile import pyogrio import pyogrio.raw -from pyogrio.util import vsi_path +from pyogrio._compat import HAS_PYPROJ +from pyogrio.util import get_vsi_path_or_buffer, vsi_path + +import pytest try: - import geopandas # NOQA + import geopandas # noqa: F401 has_geopandas = True except ImportError: @@ -31,9 +33,11 @@ def change_cwd(path): [ # local file paths that should be passed through as is ("data.gpkg", "data.gpkg"), + (Path("data.gpkg"), "data.gpkg"), ("/home/user/data.gpkg", "/home/user/data.gpkg"), (r"C:\User\Documents\data.gpkg", r"C:\User\Documents\data.gpkg"), ("file:///home/user/data.gpkg", "/home/user/data.gpkg"), + ("/home/folder # with hash/data.gpkg", "/home/folder # with hash/data.gpkg"), # cloud URIs ("https://testing/data.gpkg", "/vsicurl/https://testing/data.gpkg"), ("s3://testing/data.gpkg", "/vsis3/testing/data.gpkg"), @@ -82,6 +86,8 @@ def change_cwd(path): "s3://testing/test.zip!a/b/item.shp", "/vsizip/vsis3/testing/test.zip/a/b/item.shp", ), + ("/vsimem/data.gpkg", "/vsimem/data.gpkg"), + (Path("/vsimem/data.gpkg"), "/vsimem/data.gpkg"), ], ) def test_vsi_path(path, expected): @@ -236,6 +242,9 @@ def test_detect_zip_path(tmp_path, naturalearth_lowres): path = tmp_path / "test.zip" with ZipFile(path, mode="w", compression=ZIP_DEFLATED, compresslevel=5) as out: for ext in ["dbf", "prj", "shp", "shx"]: + if not HAS_PYPROJ and ext == "prj": + continue + filename = f"test1.{ext}" out.write(tmp_path / filename, filename) @@ -265,7 +274,7 @@ def test_detect_zip_path(tmp_path, naturalearth_lowres): @pytest.mark.network def test_url(): - url = "https://raw.githubusercontent.com/geopandas/pyogrio/main/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp" # NOQA + url = "https://raw.githubusercontent.com/geopandas/pyogrio/main/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp" result = pyogrio.raw.read(url) assert len(result[2]) == 177 @@ -277,9 +286,10 @@ def test_url(): assert len(result[0]) == 177 +@pytest.mark.network @pytest.mark.skipif(not has_geopandas, reason="GeoPandas not available") def test_url_dataframe(): - url = "https://raw.githubusercontent.com/geopandas/pyogrio/main/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp" # NOQA + url = "https://raw.githubusercontent.com/geopandas/pyogrio/main/pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp" assert len(pyogrio.read_dataframe(url)) == 177 @@ -330,3 +340,25 @@ def test_uri_s3(aws_env_setup): def test_uri_s3_dataframe(aws_env_setup): df = pyogrio.read_dataframe("zip+s3://fiona-testing/coutwildrnp.zip") assert len(df) == 67 + + +@pytest.mark.parametrize( + "path, expected", + [ + (Path("/tmp/test.gpkg"), str(Path("/tmp/test.gpkg"))), + (Path("/vsimem/test.gpkg"), "/vsimem/test.gpkg"), + ], +) +def test_get_vsi_path_or_buffer_obj_to_string(path, expected): + """Verify that get_vsi_path_or_buffer retains forward slashes in /vsimem paths. + + The /vsimem paths should keep forward slashes for GDAL to recognize them as such. + However, on Windows systems, forward slashes are by default replaced by backslashes, + so this test verifies that this doesn't happen for /vsimem paths. + """ + assert get_vsi_path_or_buffer(path) == expected + + +def test_get_vsi_path_or_buffer_fixtures_to_string(tmp_path): + path = tmp_path / "test.gpkg" + assert get_vsi_path_or_buffer(path) == str(path) diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_raw_io.py b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_raw_io.py index ca0cf5a3..54127d0b 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/test_raw_io.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/tests/test_raw_io.py @@ -1,29 +1,36 @@ import contextlib +import ctypes import json -import os import sys +from io import BytesIO +from zipfile import ZipFile import numpy as np from numpy import array_equal -import pytest +import pyogrio from pyogrio import ( - list_layers, + __gdal_version__, + get_gdal_config_option, list_drivers, + list_layers, read_info, set_gdal_config_options, - __gdal_version__, ) -from pyogrio._compat import HAS_SHAPELY -from pyogrio.raw import read, write -from pyogrio.errors import DataSourceError, DataLayerError, FeatureError +from pyogrio._compat import HAS_PYARROW, HAS_SHAPELY +from pyogrio.errors import DataLayerError, DataSourceError, FeatureError +from pyogrio.raw import open_arrow, read, write from pyogrio.tests.conftest import ( - DRIVERS, DRIVER_EXT, + DRIVERS, prepare_testfile, requires_arrow_api, + requires_pyarrow_api, + requires_shapely, ) +import pytest + try: import shapely except ImportError: @@ -79,6 +86,12 @@ def test_read_autodetect_driver(tmp_path, naturalearth_lowres, ext): assert len(geometry) == len(fields[0]) +def test_read_arrow_unspecified_layer_warning(data_dir): + """Reading a multi-layer file without specifying a layer gives a warning.""" + with pytest.warns(UserWarning, match="More than one layer found "): + read(data_dir / "sample.osm.pbf") + + def test_read_invalid_layer(naturalearth_lowres): with pytest.raises(DataLayerError, match="Layer 'invalid' could not be opened"): read(naturalearth_lowres, layer="invalid") @@ -106,6 +119,29 @@ def test_read_no_geometry(naturalearth_lowres): assert geometry is None +@requires_shapely +def test_read_no_geometry__mask(naturalearth_lowres): + geometry, fields = read( + naturalearth_lowres, + read_geometry=False, + mask=shapely.Point(-105, 55), + )[2:] + + assert np.array_equal(fields[3], ["CAN"]) + assert geometry is None + + +def test_read_no_geometry__bbox(naturalearth_lowres): + geometry, fields = read( + naturalearth_lowres, + read_geometry=False, + bbox=(-109.0, 55.0, -109.0, 55.0), + )[2:] + + assert np.array_equal(fields[3], ["CAN"]) + assert geometry is None + + def test_read_no_geometry_no_columns_no_fids(naturalearth_lowres): with pytest.raises( ValueError, @@ -245,9 +281,7 @@ def test_read_bbox_where(naturalearth_lowres_all_ext): assert np.array_equal(fields[3], ["CAN"]) -@pytest.mark.skipif( - not HAS_SHAPELY, reason="Shapely is required for mask functionality" -) +@requires_shapely @pytest.mark.parametrize( "mask", [ @@ -261,17 +295,13 @@ def test_read_mask_invalid(naturalearth_lowres, mask): read(naturalearth_lowres, mask=mask) -@pytest.mark.skipif( - not HAS_SHAPELY, reason="Shapely is required for mask functionality" -) +@requires_shapely def test_read_bbox_mask_invalid(naturalearth_lowres): with pytest.raises(ValueError, match="cannot set both 'bbox' and 'mask'"): read(naturalearth_lowres, bbox=(-85, 8, -80, 10), mask=shapely.Point(-105, 55)) -@pytest.mark.skipif( - not HAS_SHAPELY, reason="Shapely is required for mask functionality" -) +@requires_shapely @pytest.mark.parametrize( "mask,expected", [ @@ -306,9 +336,7 @@ def test_read_mask(naturalearth_lowres_all_ext, mask, expected): assert len(geometry) == len(expected) -@pytest.mark.skipif( - not HAS_SHAPELY, reason="Shapely is required for mask functionality" -) +@requires_shapely def test_read_mask_sql(naturalearth_lowres_all_ext): fields = read( naturalearth_lowres_all_ext, @@ -319,9 +347,7 @@ def test_read_mask_sql(naturalearth_lowres_all_ext): assert np.array_equal(fields[3], ["CAN"]) -@pytest.mark.skipif( - not HAS_SHAPELY, reason="Shapely is required for mask functionality" -) +@requires_shapely def test_read_mask_where(naturalearth_lowres_all_ext): fields = read( naturalearth_lowres_all_ext, @@ -414,35 +440,43 @@ def test_read_return_only_fids(naturalearth_lowres): assert len(field_data) == 0 -def test_write(tmpdir, naturalearth_lowres): +@pytest.mark.parametrize("encoding", [None, "ISO-8859-1"]) +def test_write_shp(tmp_path, naturalearth_lowres, encoding): meta, _, geometry, field_data = read(naturalearth_lowres) - filename = os.path.join(str(tmpdir), "test.shp") + filename = tmp_path / "test.shp" + meta["encoding"] = encoding write(filename, geometry, field_data, **meta) - assert os.path.exists(filename) + assert filename.exists() for ext in (".dbf", ".prj"): - assert os.path.exists(filename.replace(".shp", ext)) + assert filename.with_suffix(ext).exists() + + # We write shapefiles in UTF-8 by default on all platforms + expected_encoding = encoding if encoding is not None else "UTF-8" + with open(filename.with_suffix(".cpg")) as cpg_file: + result_encoding = cpg_file.read() + assert result_encoding == expected_encoding -def test_write_gpkg(tmpdir, naturalearth_lowres): +def test_write_gpkg(tmp_path, naturalearth_lowres): meta, _, geometry, field_data = read(naturalearth_lowres) meta.update({"geometry_type": "MultiPolygon"}) - filename = os.path.join(str(tmpdir), "test.gpkg") + filename = tmp_path / "test.gpkg" write(filename, geometry, field_data, driver="GPKG", **meta) - assert os.path.exists(filename) + assert filename.exists() -def test_write_gpkg_multiple_layers(tmpdir, naturalearth_lowres): +def test_write_gpkg_multiple_layers(tmp_path, naturalearth_lowres): meta, _, geometry, field_data = read(naturalearth_lowres) meta["geometry_type"] = "MultiPolygon" - filename = os.path.join(str(tmpdir), "test.gpkg") + filename = tmp_path / "test.gpkg" write(filename, geometry, field_data, driver="GPKG", layer="first", **meta) - assert os.path.exists(filename) + assert filename.exists() assert np.array_equal(list_layers(filename), [["first", "MultiPolygon"]]) @@ -453,13 +487,13 @@ def test_write_gpkg_multiple_layers(tmpdir, naturalearth_lowres): ) -def test_write_geojson(tmpdir, naturalearth_lowres): +def test_write_geojson(tmp_path, naturalearth_lowres): meta, _, geometry, field_data = read(naturalearth_lowres) - filename = os.path.join(str(tmpdir), "test.json") + filename = tmp_path / "test.json" write(filename, geometry, field_data, driver="GeoJSON", **meta) - assert os.path.exists(filename) + assert filename.exists() data = json.loads(open(filename).read()) @@ -478,17 +512,21 @@ def test_write_no_fields(tmp_path, naturalearth_lowres): meta, _, geometry, field_data = read(naturalearth_lowres) field_data = None meta["fields"] = None + # naturalearth_lowres actually contains MultiPolygons. A shapefile doesn't make the + # distinction, so the metadata just reports Polygon. GPKG does, so override here to + # avoid GDAL warnings. + meta["geometry_type"] = "MultiPolygon" # Test filename = tmp_path / "test.gpkg" write(filename, geometry, field_data, driver="GPKG", **meta) # Check result - assert os.path.exists(filename) + assert filename.exists() meta, _, geometry, fields = read(filename) assert meta["crs"] == "EPSG:4326" - assert meta["geometry_type"] == "Polygon" + assert meta["geometry_type"] == "MultiPolygon" assert meta["encoding"] == "UTF-8" assert meta["fields"].shape == (0,) assert len(fields) == 0 @@ -510,7 +548,7 @@ def test_write_no_geom(tmp_path, naturalearth_lowres): write(filename, geometry, field_data, driver="GPKG", **meta) # Check result - assert os.path.exists(filename) + assert filename.exists() meta, _, geometry, fields = read(filename) assert meta["crs"] is None @@ -547,7 +585,7 @@ def test_write_no_geom_data(tmp_path, naturalearth_lowres): write(filename, geometry, field_data, driver="GPKG", **meta) # Check result - assert os.path.exists(filename) + assert filename.exists() result_meta, _, result_geometry, result_field_data = read(filename) assert result_meta["crs"] is None @@ -581,17 +619,84 @@ def test_write_no_geom_no_fields(): __gdal_version__ < (3, 6, 0), reason="OpenFileGDB write support only available for GDAL >= 3.6.0", ) -def test_write_openfilegdb(tmpdir, naturalearth_lowres): - meta, _, geometry, field_data = read(naturalearth_lowres) +@pytest.mark.parametrize( + "write_int64", + [ + False, + pytest.param( + True, + marks=pytest.mark.skipif( + __gdal_version__ < (3, 9, 0), + reason="OpenFileGDB write support for int64 values for GDAL >= 3.9.0", + ), + ), + ], +) +def test_write_openfilegdb(tmp_path, write_int64): + # Point(0, 0) + expected_geometry = np.array( + [bytes.fromhex("010100000000000000000000000000000000000000")] * 3, dtype=object + ) + expected_field_data = [ + np.array([True, False, True], dtype="bool"), + np.array([1, 2, 3], dtype="int16"), + np.array([1, 2, 3], dtype="int32"), + np.array([1, 2, 3], dtype="int64"), + np.array([1, 2, 3], dtype="float32"), + np.array([1, 2, 3], dtype="float64"), + ] + expected_fields = ["bool", "int16", "int32", "int64", "float32", "float64"] + expected_meta = { + "geometry_type": "Point", + "crs": "EPSG:4326", + "fields": expected_fields, + } - filename = os.path.join(str(tmpdir), "test.gdb") - write(filename, geometry, field_data, driver="OpenFileGDB", **meta) + filename = tmp_path / "test.gdb" - assert os.path.exists(filename) + # int64 is not supported without additional config: https://gdal.org/en/latest/drivers/vector/openfilegdb.html#bit-integer-field-support + # it is converted to float64 by default and raises a warning + # (for GDAL >= 3.9.0 only) + write_params = ( + {"TARGET_ARCGIS_VERSION": "ARCGIS_PRO_3_2_OR_LATER"} if write_int64 else {} + ) + + if write_int64 or __gdal_version__ < (3, 9, 0): + ctx = contextlib.nullcontext() + else: + ctx = pytest.warns( + RuntimeWarning, match="Integer64 will be written as a Float64" + ) + + with ctx: + write( + filename, + expected_geometry, + expected_field_data, + driver="OpenFileGDB", + **expected_meta, + **write_params, + ) + + meta, _, geometry, field_data = read(filename) + + if not write_int64: + expected_field_data[3] = expected_field_data[3].astype("float64") + + # bool types are converted to int32 + expected_field_data[0] = expected_field_data[0].astype("int32") + + assert meta["crs"] == expected_meta["crs"] + assert np.array_equal(meta["fields"], expected_meta["fields"]) + + assert np.array_equal(geometry, expected_geometry) + for i in range(len(expected_field_data)): + assert field_data[i].dtype == expected_field_data[i].dtype + assert np.array_equal(field_data[i], expected_field_data[i]) @pytest.mark.parametrize("ext", DRIVERS) -def test_write_append(tmpdir, naturalearth_lowres, ext): +def test_write_append(tmp_path, naturalearth_lowres, ext): if ext == ".fgb" and __gdal_version__ <= (3, 5, 0): pytest.skip("Append to FlatGeobuf fails for GDAL <= 3.5.0") @@ -603,10 +708,10 @@ def test_write_append(tmpdir, naturalearth_lowres, ext): # coerce output layer to MultiPolygon to avoid mixed type errors meta["geometry_type"] = "MultiPolygon" - filename = os.path.join(str(tmpdir), f"test{ext}") + filename = tmp_path / f"test{ext}" write(filename, geometry, field_data, **meta) - assert os.path.exists(filename) + assert filename.exists() assert read_info(filename)["features"] == 177 @@ -617,17 +722,17 @@ def test_write_append(tmpdir, naturalearth_lowres, ext): @pytest.mark.parametrize("driver,ext", [("GML", ".gml"), ("GeoJSONSeq", ".geojsons")]) -def test_write_append_unsupported(tmpdir, naturalearth_lowres, driver, ext): +def test_write_append_unsupported(tmp_path, naturalearth_lowres, driver, ext): if ext == ".geojsons" and __gdal_version__ >= (3, 6, 0): pytest.skip("Append to GeoJSONSeq supported for GDAL >= 3.6.0") meta, _, geometry, field_data = read(naturalearth_lowres) # GML does not support append functionality - filename = os.path.join(str(tmpdir), f"test{ext}") + filename = tmp_path / f"test{ext}" write(filename, geometry, field_data, driver=driver, **meta) - assert os.path.exists(filename) + assert filename.exists() assert read_info(filename, force_feature_count=True)["features"] == 177 @@ -639,16 +744,16 @@ def test_write_append_unsupported(tmpdir, naturalearth_lowres, driver, ext): __gdal_version__ > (3, 5, 0), reason="segfaults on FlatGeobuf limited to GDAL <= 3.5.0", ) -def test_write_append_prevent_gdal_segfault(tmpdir, naturalearth_lowres): +def test_write_append_prevent_gdal_segfault(tmp_path, naturalearth_lowres): """GDAL <= 3.5.0 segfaults when appending to FlatGeobuf; this test verifies that we catch that before segfault""" meta, _, geometry, field_data = read(naturalearth_lowres) meta["geometry_type"] = "MultiPolygon" - filename = os.path.join(str(tmpdir), "test.fgb") + filename = tmp_path / "test.fgb" write(filename, geometry, field_data, **meta) - assert os.path.exists(filename) + assert filename.exists() with pytest.raises( RuntimeError, # match="append to FlatGeobuf is not supported for GDAL <= 3.5.0" @@ -664,7 +769,7 @@ def test_write_append_prevent_gdal_segfault(tmpdir, naturalearth_lowres): if driver not in ("ESRI Shapefile", "GPKG", "GeoJSON") }, ) -def test_write_supported(tmpdir, naturalearth_lowres, driver): +def test_write_supported(tmp_path, naturalearth_lowres, driver): """Test drivers known to work that are not specifically tested above""" meta, _, geometry, field_data = read(naturalearth_lowres, columns=["iso_a3"]) @@ -673,7 +778,7 @@ def test_write_supported(tmpdir, naturalearth_lowres, driver): # we take the first record only. meta["geometry_type"] = "MultiPolygon" - filename = tmpdir / f"test{DRIVER_EXT[driver]}" + filename = tmp_path / f"test{DRIVER_EXT[driver]}" write( filename, geometry[:1], @@ -688,10 +793,10 @@ def test_write_supported(tmpdir, naturalearth_lowres, driver): @pytest.mark.skipif( __gdal_version__ >= (3, 6, 0), reason="OpenFileGDB supports write for GDAL >= 3.6.0" ) -def test_write_unsupported(tmpdir, naturalearth_lowres): +def test_write_unsupported(tmp_path, naturalearth_lowres): meta, _, geometry, field_data = read(naturalearth_lowres) - filename = os.path.join(str(tmpdir), "test.gdb") + filename = tmp_path / "test.gdb" with pytest.raises(DataSourceError, match="does not support write functionality"): write(filename, geometry, field_data, driver="OpenFileGDB", **meta) @@ -721,7 +826,7 @@ def assert_equal_result(result1, result2): assert np.array_equal(meta1["fields"], meta2["fields"]) assert np.array_equal(index1, index2) - assert all([np.array_equal(f1, f2) for f1, f2 in zip(field_data1, field_data2)]) + assert all(np.array_equal(f1, f2) for f1, f2 in zip(field_data1, field_data2)) if HAS_SHAPELY: # a plain `assert np.array_equal(geometry1, geometry2)` doesn't work @@ -734,10 +839,10 @@ def assert_equal_result(result1, result2): @pytest.mark.filterwarnings("ignore:File /vsimem:RuntimeWarning") # TODO @pytest.mark.parametrize("driver,ext", [("GeoJSON", "geojson"), ("GPKG", "gpkg")]) -def test_read_from_bytes(tmpdir, naturalearth_lowres, driver, ext): +def test_read_from_bytes(tmp_path, naturalearth_lowres, driver, ext): meta, index, geometry, field_data = read(naturalearth_lowres) meta.update({"geometry_type": "Unknown"}) - filename = os.path.join(str(tmpdir), f"test.{ext}") + filename = tmp_path / f"test.{ext}" write(filename, geometry, field_data, driver=driver, **meta) with open(filename, "rb") as f: @@ -747,7 +852,7 @@ def test_read_from_bytes(tmpdir, naturalearth_lowres, driver, ext): assert_equal_result((meta, index, geometry, field_data), result2) -def test_read_from_bytes_zipped(tmpdir, naturalearth_lowres_vsi): +def test_read_from_bytes_zipped(naturalearth_lowres_vsi): path, vsi_path = naturalearth_lowres_vsi meta, index, geometry, field_data = read(vsi_path) @@ -760,10 +865,10 @@ def test_read_from_bytes_zipped(tmpdir, naturalearth_lowres_vsi): @pytest.mark.filterwarnings("ignore:File /vsimem:RuntimeWarning") # TODO @pytest.mark.parametrize("driver,ext", [("GeoJSON", "geojson"), ("GPKG", "gpkg")]) -def test_read_from_file_like(tmpdir, naturalearth_lowres, driver, ext): +def test_read_from_file_like(tmp_path, naturalearth_lowres, driver, ext): meta, index, geometry, field_data = read(naturalearth_lowres) meta.update({"geometry_type": "Unknown"}) - filename = os.path.join(str(tmpdir), f"test.{ext}") + filename = tmp_path / f"test.{ext}" write(filename, geometry, field_data, driver=driver, **meta) with open(filename, "rb") as f: @@ -772,6 +877,12 @@ def test_read_from_file_like(tmpdir, naturalearth_lowres, driver, ext): assert_equal_result((meta, index, geometry, field_data), result2) +def test_read_from_nonseekable_bytes(nonseekable_bytes): + meta, _, geometry, _ = read(nonseekable_bytes) + assert meta["fields"].shape == (0,) + assert len(geometry) == 1 + + @pytest.mark.parametrize("ext", ["gpkg", "fgb"]) def test_read_write_data_types_numeric(tmp_path, ext): # Point(0, 0) @@ -787,13 +898,13 @@ def test_read_write_data_types_numeric(tmp_path, ext): np.array([1, 2, 3], dtype="float64"), ] fields = ["bool", "int16", "int32", "int64", "float32", "float64"] - meta = dict(geometry_type="Point", crs="EPSG:4326", spatial_index=False) + meta = {"geometry_type": "Point", "crs": "EPSG:4326", "spatial_index": False} filename = tmp_path / f"test.{ext}" write(filename, geometry, field_data, fields, **meta) result = read(filename)[3] - assert all([np.array_equal(f1, f2) for f1, f2 in zip(result, field_data)]) - assert all([f1.dtype == f2.dtype for f1, f2 in zip(result, field_data)]) + assert all(np.array_equal(f1, f2) for f1, f2 in zip(result, field_data)) + assert all(f1.dtype == f2.dtype for f1, f2 in zip(result, field_data)) # other integer data types that don't roundtrip exactly # these are generally promoted to a larger integer type except for uint64 @@ -844,7 +955,7 @@ def test_read_write_datetime(tmp_path): geometry = np.array( [bytes.fromhex("010100000000000000000000000000000000000000")] * 2, dtype=object ) - meta = dict(geometry_type="Point", crs="EPSG:4326", spatial_index=False) + meta = {"geometry_type": "Point", "crs": "EPSG:4326", "spatial_index": False} filename = tmp_path / "test.gpkg" write(filename, geometry, field_data, fields, **meta) @@ -867,7 +978,7 @@ def test_read_write_int64_large(tmp_path, ext): ) field_data = [np.array([1, 2192502720, -5], dtype="int64")] fields = ["overflow_int64"] - meta = dict(geometry_type="Point", crs="EPSG:4326", spatial_index=False) + meta = {"geometry_type": "Point", "crs": "EPSG:4326", "spatial_index": False} filename = tmp_path / f"test.{ext}" write(filename, geometry, field_data, fields, **meta) @@ -890,17 +1001,17 @@ def test_read_data_types_numeric_with_null(test_gpkg_nulls): assert field.dtype == "float64" -def test_read_unsupported_types(test_ogr_types_list): - fields = read(test_ogr_types_list)[3] +def test_read_unsupported_types(list_field_values_file): + fields = read(list_field_values_file)[3] # list field gets skipped, only integer field is read assert len(fields) == 1 - fields = read(test_ogr_types_list, columns=["int64"])[3] + fields = read(list_field_values_file, columns=["int64"])[3] assert len(fields) == 1 -def test_read_datetime_millisecond(test_datetime): - field = read(test_datetime)[3][0] +def test_read_datetime_millisecond(datetime_file): + field = read(datetime_file)[3][0] assert field.dtype == "datetime64[ms]" assert field[0] == np.datetime64("2020-01-01 09:00:00.123") assert field[1] == np.datetime64("2020-01-01 10:00:00.000") @@ -929,13 +1040,14 @@ def test_read_unsupported_ext_with_prefix(tmp_path): assert field_data[0] == "data1" -def test_read_datetime_as_string(test_datetime_tz): - field = read(test_datetime_tz)[3][0] +def test_read_datetime_as_string(datetime_tz_file): + field = read(datetime_tz_file)[3][0] assert field.dtype == "datetime64[ms]" # timezone is ignored in numpy layer assert field[0] == np.datetime64("2020-01-01 09:00:00.123") assert field[1] == np.datetime64("2020-01-01 10:00:00.000") - field = read(test_datetime_tz, datetime_as_string=True)[3][0] + + field = read(datetime_tz_file, datetime_as_string=True)[3][0] assert field.dtype == "object" # GDAL doesn't return strings in ISO format (yet) assert field[0] == "2020/01/01 09:00:00.123-05" @@ -951,7 +1063,7 @@ def test_read_write_null_geometry(tmp_path, ext): ) field_data = [np.array([1, 2], dtype="int32")] fields = ["col"] - meta = dict(geometry_type="Point", crs="EPSG:4326") + meta = {"geometry_type": "Point", "crs": "EPSG:4326"} if ext == "gpkg": meta["spatial_index"] = False @@ -971,12 +1083,12 @@ def test_write_float_nan_null(tmp_path, dtype): ) field_data = [np.array([1.5, np.nan], dtype=dtype)] fields = ["col"] - meta = dict(geometry_type="Point", crs="EPSG:4326") - fname = tmp_path / "test.geojson" + meta = {"geometry_type": "Point", "crs": "EPSG:4326"} + filename = tmp_path / "test.geojson" # default nan_as_null=True - write(fname, geometry, field_data, fields, **meta) - with open(str(fname), "r") as f: + write(filename, geometry, field_data, fields, **meta) + with open(filename) as f: content = f.read() assert '{ "col": null }' in content @@ -987,14 +1099,14 @@ def test_write_float_nan_null(tmp_path, dtype): else: ctx = contextlib.nullcontext() with ctx: - write(fname, geometry, field_data, fields, **meta, nan_as_null=False) - with open(str(fname), "r") as f: + write(filename, geometry, field_data, fields, **meta, nan_as_null=False) + with open(filename) as f: content = f.read() assert '"properties": { }' in content # but can instruct GDAL to write NaN to json write( - fname, + filename, geometry, field_data, fields, @@ -1002,12 +1114,12 @@ def test_write_float_nan_null(tmp_path, dtype): nan_as_null=False, WRITE_NON_FINITE_VALUES="YES", ) - with open(str(fname), "r") as f: + with open(filename) as f: content = f.read() assert '{ "col": NaN }' in content -@requires_arrow_api +@requires_pyarrow_api @pytest.mark.skipif( "Arrow" not in list_drivers(), reason="Arrow driver is not available" ) @@ -1021,7 +1133,7 @@ def test_write_float_nan_null_arrow(tmp_path): ) field_data = [np.array([1.5, np.nan], dtype="float64")] fields = ["col"] - meta = dict(geometry_type="Point", crs="EPSG:4326") + meta = {"geometry_type": "Point", "crs": "EPSG:4326"} fname = tmp_path / "test.arrow" # default nan_as_null=True @@ -1039,6 +1151,112 @@ def test_write_float_nan_null_arrow(tmp_path): assert pc.is_nan(table["col"]).to_pylist() == [False, True] +@pytest.mark.filterwarnings("ignore:File /vsimem:RuntimeWarning") +@pytest.mark.parametrize("driver", ["GeoJSON", "GPKG"]) +def test_write_memory(naturalearth_lowres, driver): + meta, _, geometry, field_data = read(naturalearth_lowres) + meta.update({"geometry_type": "MultiPolygon"}) + + buffer = BytesIO() + write(buffer, geometry, field_data, driver=driver, layer="test", **meta) + + assert len(buffer.getbuffer()) > 0 + assert list_layers(buffer)[0][0] == "test" + + actual_meta, _, actual_geometry, actual_field_data = read(buffer) + + assert np.array_equal(actual_meta["fields"], meta["fields"]) + assert np.array_equal(actual_field_data, field_data) + assert len(actual_geometry) == len(geometry) + + +def test_write_memory_driver_required(naturalearth_lowres): + meta, _, geometry, field_data = read(naturalearth_lowres) + + buffer = BytesIO() + with pytest.raises( + ValueError, + match="driver must be provided to write to in-memory file", + ): + write(buffer, geometry, field_data, driver=None, layer="test", **meta) + + +@pytest.mark.parametrize("driver", ["ESRI Shapefile", "OpenFileGDB"]) +def test_write_memory_unsupported_driver(naturalearth_lowres, driver): + if driver == "OpenFileGDB" and __gdal_version__ < (3, 6, 0): + pytest.skip("OpenFileGDB write support only available for GDAL >= 3.6.0") + + meta, _, geometry, field_data = read(naturalearth_lowres) + + buffer = BytesIO() + + with pytest.raises( + ValueError, match=f"writing to in-memory file is not supported for {driver}" + ): + write( + buffer, + geometry, + field_data, + driver=driver, + layer="test", + append=True, + **meta, + ) + + +@pytest.mark.parametrize("driver", ["GeoJSON", "GPKG"]) +def test_write_memory_append_unsupported(naturalearth_lowres, driver): + meta, _, geometry, field_data = read(naturalearth_lowres) + meta.update({"geometry_type": "MultiPolygon"}) + + buffer = BytesIO() + + with pytest.raises( + NotImplementedError, match="append is not supported for in-memory files" + ): + write( + buffer, + geometry, + field_data, + driver=driver, + layer="test", + append=True, + **meta, + ) + + +def test_write_memory_existing_unsupported(naturalearth_lowres): + meta, _, geometry, field_data = read(naturalearth_lowres) + + buffer = BytesIO(b"0000") + with pytest.raises( + NotImplementedError, + match="writing to existing in-memory object is not supported", + ): + write(buffer, geometry, field_data, driver="GeoJSON", layer="test", **meta) + + +def test_write_open_file_handle(tmp_path, naturalearth_lowres): + """Verify that writing to an open file handle is not currently supported""" + + meta, _, geometry, field_data = read(naturalearth_lowres) + + # verify it fails for regular file handle + with pytest.raises( + NotImplementedError, match="writing to an open file handle is not yet supported" + ): + with open(tmp_path / "test.geojson", "wb") as f: + write(f, geometry, field_data, driver="GeoJSON", layer="test", **meta) + + # verify it fails for ZipFile + with pytest.raises( + NotImplementedError, match="writing to an open file handle is not yet supported" + ): + with ZipFile(tmp_path / "test.geojson.zip", "w") as z: + with z.open("test.geojson", "w") as f: + write(f, geometry, field_data, driver="GeoJSON", layer="test", **meta) + + @pytest.mark.parametrize("ext", ["fgb", "gpkg", "geojson"]) @pytest.mark.parametrize( "read_encoding,write_encoding", @@ -1075,7 +1293,7 @@ def test_encoding_io(tmp_path, ext, read_encoding, write_encoding): np.array([mandarin], dtype=object), ] fields = [arabic, cree, mandarin] - meta = dict(geometry_type="Point", crs="EPSG:4326", encoding=write_encoding) + meta = {"geometry_type": "Point", "crs": "EPSG:4326", "encoding": write_encoding} filename = tmp_path / f"test.{ext}" write(filename, geometry, field_data, fields, **meta) @@ -1125,7 +1343,7 @@ def test_encoding_io_shapefile(tmp_path, read_encoding, write_encoding): # character level) by GDAL when output to shapefile, so we have to truncate # before writing fields = [arabic[:5], cree[:3], mandarin] - meta = dict(geometry_type="Point", crs="EPSG:4326", encoding="UTF-8") + meta = {"geometry_type": "Point", "crs": "EPSG:4326", "encoding": "UTF-8"} filename = tmp_path / "test.shp" # NOTE: GDAL automatically creates a cpg file with the encoding name, which @@ -1141,7 +1359,7 @@ def test_encoding_io_shapefile(tmp_path, read_encoding, write_encoding): # verify that if cpg file is not present, that user-provided encoding is used, # otherwise it defaults to ISO-8859-1 if read_encoding is not None: - os.unlink(str(filename).replace(".shp", ".cpg")) + filename.with_suffix(".cpg").unlink() actual_meta, _, _, actual_field_data = read(filename, encoding=read_encoding) assert np.array_equal(fields, actual_meta["fields"]) assert np.array_equal(field_data, actual_field_data) @@ -1150,6 +1368,97 @@ def test_encoding_io_shapefile(tmp_path, read_encoding, write_encoding): ) +@pytest.mark.parametrize("ext", ["gpkg", "geojson"]) +def test_non_utf8_encoding_io(tmp_path, ext, encoded_text): + """Verify that we write non-UTF data to the data source + + IMPORTANT: this may not be valid for the data source and will likely render + them unusable in other tools, but should successfully roundtrip unless we + disable writing using other encodings. + + NOTE: FlatGeobuff driver cannot handle non-UTF data in GDAL >= 3.9 + """ + encoding, text = encoded_text + + # Point(0, 0) + geometry = np.array( + [bytes.fromhex("010100000000000000000000000000000000000000")], dtype=object + ) + + field_data = [np.array([text], dtype=object)] + + fields = [text] + meta = {"geometry_type": "Point", "crs": "EPSG:4326", "encoding": encoding} + + filename = tmp_path / f"test.{ext}" + write(filename, geometry, field_data, fields, **meta) + + # cannot open these files without specifying encoding + with pytest.raises(UnicodeDecodeError): + read(filename) + + with pytest.raises(UnicodeDecodeError): + read_info(filename) + + # must provide encoding to read these properly + actual_meta, _, _, actual_field_data = read(filename, encoding=encoding) + assert actual_meta["fields"][0] == text + assert actual_field_data[0] == text + assert read_info(filename, encoding=encoding)["fields"][0] == text + + +def test_non_utf8_encoding_io_shapefile(tmp_path, encoded_text): + encoding, text = encoded_text + + # Point(0, 0) + geometry = np.array( + [bytes.fromhex("010100000000000000000000000000000000000000")], dtype=object + ) + + field_data = [np.array([text], dtype=object)] + + fields = [text] + meta = {"geometry_type": "Point", "crs": "EPSG:4326", "encoding": encoding} + + filename = tmp_path / "test.shp" + write(filename, geometry, field_data, fields, **meta) + + # NOTE: GDAL automatically creates a cpg file with the encoding name, which + # means that if we read this without specifying the encoding it uses the + # correct one + actual_meta, _, _, actual_field_data = read(filename) + assert actual_meta["fields"][0] == text + assert actual_field_data[0] == text + assert read_info(filename)["fields"][0] == text + + # verify that if cpg file is not present, that user-provided encoding must be used + filename.with_suffix(".cpg").unlink() + + # We will assume ISO-8859-1, which is wrong + miscoded = text.encode(encoding).decode("ISO-8859-1") + bad_meta, _, _, bad_field_data = read(filename) + assert bad_meta["fields"][0] == miscoded + assert bad_field_data[0] == miscoded + assert read_info(filename)["fields"][0] == miscoded + + # If encoding is provided, that should yield correct text + actual_meta, _, _, actual_field_data = read(filename, encoding=encoding) + assert actual_meta["fields"][0] == text + assert actual_field_data[0] == text + assert read_info(filename, encoding=encoding)["fields"][0] == text + + # verify that setting encoding does not corrupt SHAPE_ENCODING option if set + # globally (it is ignored during read when encoding is specified by user) + try: + set_gdal_config_options({"SHAPE_ENCODING": "CP1254"}) + _ = read(filename, encoding=encoding) + assert get_gdal_config_option("SHAPE_ENCODING") == "CP1254" + + finally: + # reset to clear between tests + set_gdal_config_options({"SHAPE_ENCODING": None}) + + def test_write_with_mask(tmp_path): # Point(0, 0), null geometry = np.array( @@ -1159,7 +1468,7 @@ def test_write_with_mask(tmp_path): field_data = [np.array([1, 2, 3], dtype="int32")] field_mask = [np.array([False, True, False])] fields = ["col"] - meta = dict(geometry_type="Point", crs="EPSG:4326") + meta = {"geometry_type": "Point", "crs": "EPSG:4326"} filename = tmp_path / "test.geojson" write(filename, geometry, field_data, fields, field_mask, **meta) @@ -1176,3 +1485,31 @@ def test_write_with_mask(tmp_path): field_mask = [np.array([False, True, False])] * 2 with pytest.raises(ValueError): write(filename, geometry, field_data, fields, field_mask, **meta) + + +@requires_arrow_api +def test_open_arrow_capsule_protocol_without_pyarrow(naturalearth_lowres): + # this test is included here instead of test_arrow.py to ensure we also run + # it when pyarrow is not installed + + with open_arrow(naturalearth_lowres) as (meta, reader): + assert isinstance(meta, dict) + assert isinstance(reader, pyogrio._io._ArrowStream) + capsule = reader.__arrow_c_stream__() + assert ( + ctypes.pythonapi.PyCapsule_IsValid( + ctypes.py_object(capsule), b"arrow_array_stream" + ) + == 1 + ) + + +@pytest.mark.skipif(HAS_PYARROW, reason="pyarrow is installed") +@requires_arrow_api +def test_open_arrow_error_no_pyarrow(naturalearth_lowres): + # this test is included here instead of test_arrow.py to ensure we run + # it when pyarrow is not installed + + with pytest.raises(ImportError): + with open_arrow(naturalearth_lowres, use_pyarrow=True) as _: + pass diff --git a/.venv/lib/python3.12/site-packages/pyogrio/tests/win32.py b/.venv/lib/python3.12/site-packages/pyogrio/tests/win32.py deleted file mode 100644 index 18eec961..00000000 --- a/.venv/lib/python3.12/site-packages/pyogrio/tests/win32.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Run pytest tests manually on Windows due to import errors -""" -from pathlib import Path -import platform -from tempfile import TemporaryDirectory - - -data_dir = Path(__file__).parent.resolve() / "fixtures" - -if platform.system() == "Windows": - - naturalearth_lowres = data_dir / Path("naturalearth_lowres/naturalearth_lowres.shp") - test_fgdb_vsi = f"/vsizip/{data_dir}/test_fgdb.gdb.zip" - - from pyogrio.tests.test_core import test_read_info - - try: - test_read_info(naturalearth_lowres) - except Exception as ex: - print(ex) - - from pyogrio.tests.test_raw_io import ( - test_read, - test_read_no_geometry, - test_read_columns, - test_read_skip_features, - test_read_max_features, - test_read_where, - test_read_where_invalid, - test_write, - test_write_gpkg, - test_write_geojson, - ) - - try: - test_read(naturalearth_lowres) - except Exception as ex: - print(ex) - - try: - test_read_no_geometry(naturalearth_lowres) - except Exception as ex: - print(ex) - - try: - test_read_columns(naturalearth_lowres) - except Exception as ex: - print(ex) - - try: - test_read_skip_features(naturalearth_lowres) - except Exception as ex: - print(ex) - - try: - test_read_max_features(naturalearth_lowres) - except Exception as ex: - print(ex) - - try: - test_read_where(naturalearth_lowres) - except Exception as ex: - print(ex) - - try: - test_read_where_invalid(naturalearth_lowres) - except Exception as ex: - print(ex) - - with TemporaryDirectory() as tmpdir: - try: - test_write(tmpdir, naturalearth_lowres) - except Exception as ex: - print(ex) - - with TemporaryDirectory() as tmpdir: - try: - test_write_gpkg(tmpdir, naturalearth_lowres) - except Exception as ex: - print(ex) - - with TemporaryDirectory() as tmpdir: - try: - test_write_geojson(tmpdir, naturalearth_lowres) - except Exception as ex: - print(ex) diff --git a/.venv/lib/python3.12/site-packages/pyogrio/util.py b/.venv/lib/python3.12/site-packages/pyogrio/util.py index ac27c164..b018ad79 100644 --- a/.venv/lib/python3.12/site-packages/pyogrio/util.py +++ b/.venv/lib/python3.12/site-packages/pyogrio/util.py @@ -1,41 +1,65 @@ +"""Utility functions.""" + import re import sys +from packaging.version import Version +from pathlib import Path +from typing import Union from urllib.parse import urlparse -from packaging.version import Version - -from pyogrio._env import GDALEnv - -with GDALEnv(): - from pyogrio._ogr import buffer_to_virtual_file +from pyogrio._vsi import vsimem_rmtree_toplevel as _vsimem_rmtree_toplevel -def get_vsi_path(path_or_buffer): +def get_vsi_path_or_buffer(path_or_buffer): + """Get VSI-prefixed path or bytes buffer depending on type of path_or_buffer. + + If path_or_buffer is a bytes object, it will be returned directly and will + be read into an in-memory dataset when passed to one of the Cython functions. + + If path_or_buffer is a file-like object with a read method, bytes will be + read from the file-like object and returned. + + Otherwise, it will be converted to a string, and parsed to prefix with + appropriate GDAL /vsi*/ prefixes. + + Parameters + ---------- + path_or_buffer : str, pathlib.Path, bytes, or file-like + A dataset path or URI, raw buffer, or file-like object with a read method. + + Returns + ------- + str or bytes + + """ + # treat Path objects here already to ignore their read method + to avoid backslashes + # on Windows. + if isinstance(path_or_buffer, Path): + return vsi_path(path_or_buffer) + + if isinstance(path_or_buffer, bytes): + return path_or_buffer if hasattr(path_or_buffer, "read"): - path_or_buffer = path_or_buffer.read() + bytes_buffer = path_or_buffer.read() - buffer = None - if isinstance(path_or_buffer, bytes): - buffer = path_or_buffer - ext = "" - is_zipped = path_or_buffer[:4].startswith(b"PK\x03\x04") - if is_zipped: - ext = ".zip" - path = buffer_to_virtual_file(path_or_buffer, ext=ext) - if is_zipped: - path = "/vsizip/" + path - else: - path = vsi_path(str(path_or_buffer)) + # rewind buffer if possible so that subsequent operations do not need to rewind + if hasattr(path_or_buffer, "seekable") and path_or_buffer.seekable(): + path_or_buffer.seek(0) - return path, buffer + return bytes_buffer + + return vsi_path(str(path_or_buffer)) -def vsi_path(path: str) -> str: - """ - Ensure path is a local path or a GDAL-compatible vsi path. - - """ +def vsi_path(path: Union[str, Path]) -> str: + """Ensure path is a local path or a GDAL-compatible VSI path.""" + # Convert Path objects to string, but for VSI paths, keep posix style path. + if isinstance(path, Path): + if sys.platform == "win32" and path.as_posix().startswith("/vsi"): + path = path.as_posix() + else: + path = str(path) # path is already in GDAL format if path.startswith("/vsi"): @@ -78,12 +102,11 @@ SCHEMES = { # those are for now not added as supported URI } -CURLSCHEMES = set([k for k, v in SCHEMES.items() if v == "curl"]) +CURLSCHEMES = {k for k, v in SCHEMES.items() if v == "curl"} def _parse_uri(path: str): - """ - Parse a URI + """Parse a URI. Returns a tuples of (path, archive, scheme) @@ -95,7 +118,7 @@ def _parse_uri(path: str): scheme : str URI scheme such as "https" or "zip+s3". """ - parts = urlparse(path) + parts = urlparse(path, allow_fragments=False) # if the scheme is not one of GDAL's supported schemes, return raw path if parts.scheme and not all(p in SCHEMES for p in parts.scheme.split("+")): @@ -118,8 +141,7 @@ def _parse_uri(path: str): def _construct_vsi_path(path, archive, scheme) -> str: - """Convert a parsed path to a GDAL VSI path""" - + """Convert a parsed path to a GDAL VSI path.""" prefix = "" suffix = "" schemes = scheme.split("+") @@ -128,9 +150,7 @@ def _construct_vsi_path(path, archive, scheme) -> str: schemes.insert(0, "zip") if schemes: - prefix = "/".join( - "vsi{0}".format(SCHEMES[p]) for p in schemes if p and p != "file" - ) + prefix = "/".join(f"vsi{SCHEMES[p]}" for p in schemes if p and p != "file") if schemes[-1] in CURLSCHEMES: suffix = f"{schemes[-1]}://" @@ -139,15 +159,15 @@ def _construct_vsi_path(path, archive, scheme) -> str: if archive: return "/{}/{}{}/{}".format(prefix, suffix, archive, path.lstrip("/")) else: - return "/{}/{}{}".format(prefix, suffix, path) + return f"/{prefix}/{suffix}{path}" return path def _preprocess_options_key_value(options): - """ - Preprocess options, eg `spatial_index=True` gets converted - to `SPATIAL_INDEX="YES"`. + """Preprocess options. + + For example, `spatial_index=True` gets converted to `SPATIAL_INDEX="YES"`. """ if not isinstance(options, dict): raise TypeError(f"Expected options to be a dict, got {type(options)}") @@ -171,6 +191,7 @@ def _mask_to_wkb(mask): Parameters ---------- mask : Shapely geometry + The geometry to convert to WKB. Returns ------- @@ -181,8 +202,8 @@ def _mask_to_wkb(mask): ValueError raised if Shapely >= 2.0 is not available or mask is not a Shapely Geometry object - """ + """ if mask is None: return mask @@ -201,3 +222,26 @@ def _mask_to_wkb(mask): raise ValueError("'mask' parameter must be a Shapely geometry") return shapely.to_wkb(mask) + + +def vsimem_rmtree_toplevel(path: Union[str, Path]): + """Remove the parent directory of the file path recursively. + + This is used for final cleanup of an in-memory dataset, which may have been + created within a directory to contain sibling files. + + Additional VSI handlers may be chained to the left of /vsimem/ in path and + will be ignored. + + Remark: function is defined here to be able to run tests on it. + + Parameters + ---------- + path : str or pathlib.Path + path to in-memory file + + """ + if isinstance(path, Path): + path = path.as_posix() + + _vsimem_rmtree_toplevel(path) diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/__init__.cpython-312.pyc index 7f13ddf2..517e78df 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/__main__.cpython-312.pyc index 75a00acc..53a5ece2 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/__main__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/__main__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/_show_versions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/_show_versions.cpython-312.pyc index 11cf462a..90c1f5ef 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/_show_versions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/_show_versions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/aoi.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/aoi.cpython-312.pyc index 5a98ea35..5aabd857 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/aoi.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/aoi.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/datadir.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/datadir.cpython-312.pyc index 78df1447..31631de1 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/datadir.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/datadir.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/enums.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/enums.cpython-312.pyc index c4125081..2f893fb0 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/enums.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/enums.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/exceptions.cpython-312.pyc index 0417db89..70afe874 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/geod.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/geod.cpython-312.pyc index 84dc8a9e..00ab3197 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/geod.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/geod.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/network.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/network.cpython-312.pyc index 9adf0ae0..04fba403 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/network.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/network.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/proj.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/proj.cpython-312.pyc index 03a12622..384ed767 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/proj.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/proj.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/sync.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/sync.cpython-312.pyc index 6069e466..20bd5f41 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/sync.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/sync.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/transformer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/transformer.cpython-312.pyc index 66fce66e..459b27ba 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/transformer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/transformer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/utils.cpython-312.pyc index 1513dd8e..06866e6d 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/__pycache__/utils.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/__pycache__/utils.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/__init__.cpython-312.pyc index 58ffeaff..aa086cb5 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/_cf1x8.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/_cf1x8.cpython-312.pyc index 9fc5aad0..fffea5b3 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/_cf1x8.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/_cf1x8.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/coordinate_operation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/coordinate_operation.cpython-312.pyc index 1728df44..4a8cc751 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/coordinate_operation.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/coordinate_operation.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/coordinate_system.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/coordinate_system.cpython-312.pyc index e3528b15..33da20c5 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/coordinate_system.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/coordinate_system.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/crs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/crs.cpython-312.pyc index 0d474f7f..47435d07 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/crs.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/crs.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/datum.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/datum.cpython-312.pyc index d4472b22..ccfa7d32 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/datum.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/datum.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/enums.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/enums.cpython-312.pyc index d6cdfde9..33aadb79 100644 Binary files a/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/enums.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pyproj/crs/__pycache__/enums.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pytz/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pytz/__pycache__/__init__.cpython-312.pyc index 4dd02a37..7fb46bc1 100644 Binary files a/.venv/lib/python3.12/site-packages/pytz/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pytz/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pytz/__pycache__/exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pytz/__pycache__/exceptions.cpython-312.pyc index ce43cd16..6c4ff571 100644 Binary files a/.venv/lib/python3.12/site-packages/pytz/__pycache__/exceptions.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pytz/__pycache__/exceptions.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pytz/__pycache__/lazy.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pytz/__pycache__/lazy.cpython-312.pyc index 6f51fd70..7f465f38 100644 Binary files a/.venv/lib/python3.12/site-packages/pytz/__pycache__/lazy.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pytz/__pycache__/lazy.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pytz/__pycache__/reference.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pytz/__pycache__/reference.cpython-312.pyc index 4b2d6b82..459df141 100644 Binary files a/.venv/lib/python3.12/site-packages/pytz/__pycache__/reference.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pytz/__pycache__/reference.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pytz/__pycache__/tzfile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pytz/__pycache__/tzfile.cpython-312.pyc index 0af48a99..d1ad8bc8 100644 Binary files a/.venv/lib/python3.12/site-packages/pytz/__pycache__/tzfile.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pytz/__pycache__/tzfile.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/pytz/__pycache__/tzinfo.cpython-312.pyc b/.venv/lib/python3.12/site-packages/pytz/__pycache__/tzinfo.cpython-312.pyc index 54f0029e..a19b7b59 100644 Binary files a/.venv/lib/python3.12/site-packages/pytz/__pycache__/tzinfo.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/pytz/__pycache__/tzinfo.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/LICENSE deleted file mode 100644 index 1bb5a443..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -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/python3.12/site-packages/setuptools-75.6.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/METADATA deleted file mode 100644 index d9f4d935..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/METADATA +++ /dev/null @@ -1,142 +0,0 @@ -Metadata-Version: 2.1 -Name: setuptools -Version: 75.6.0 -Summary: Easily download, build, install, upgrade, and uninstall Python packages -Author-email: Python Packaging Authority -Project-URL: Source, https://github.com/pypa/setuptools -Project-URL: Documentation, https://setuptools.pypa.io/ -Project-URL: Changelog, https://setuptools.pypa.io/en/stable/history.html -Keywords: CPAN PyPI distutils eggs package management -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Topic :: Software Development :: Libraries :: Python Modules -Classifier: Topic :: System :: Archiving :: Packaging -Classifier: Topic :: System :: Systems Administration -Classifier: Topic :: Utilities -Requires-Python: >=3.9 -Description-Content-Type: text/x-rst -License-File: LICENSE -Provides-Extra: test -Requires-Dist: pytest!=8.1.*,>=6; extra == "test" -Requires-Dist: virtualenv>=13.0.0; extra == "test" -Requires-Dist: wheel>=0.44.0; extra == "test" -Requires-Dist: pip>=19.1; extra == "test" -Requires-Dist: packaging>=24.2; extra == "test" -Requires-Dist: jaraco.envs>=2.2; extra == "test" -Requires-Dist: pytest-xdist>=3; extra == "test" -Requires-Dist: jaraco.path>=3.2.0; extra == "test" -Requires-Dist: build[virtualenv]>=1.0.3; extra == "test" -Requires-Dist: filelock>=3.4.0; extra == "test" -Requires-Dist: ini2toml[lite]>=0.14; extra == "test" -Requires-Dist: tomli-w>=1.0.0; extra == "test" -Requires-Dist: pytest-timeout; extra == "test" -Requires-Dist: pytest-perf; sys_platform != "cygwin" and extra == "test" -Requires-Dist: jaraco.develop>=7.21; (python_version >= "3.9" and sys_platform != "cygwin") and extra == "test" -Requires-Dist: pytest-home>=0.5; extra == "test" -Requires-Dist: pytest-subprocess; extra == "test" -Requires-Dist: pyproject-hooks!=1.1; extra == "test" -Requires-Dist: jaraco.test>=5.5; extra == "test" -Provides-Extra: doc -Requires-Dist: sphinx>=3.5; extra == "doc" -Requires-Dist: jaraco.packaging>=9.3; extra == "doc" -Requires-Dist: rst.linker>=1.9; extra == "doc" -Requires-Dist: furo; extra == "doc" -Requires-Dist: sphinx-lint; extra == "doc" -Requires-Dist: jaraco.tidelift>=1.4; extra == "doc" -Requires-Dist: pygments-github-lexers==0.0.5; extra == "doc" -Requires-Dist: sphinx-favicon; extra == "doc" -Requires-Dist: sphinx-inline-tabs; extra == "doc" -Requires-Dist: sphinx-reredirects; extra == "doc" -Requires-Dist: sphinxcontrib-towncrier; extra == "doc" -Requires-Dist: sphinx-notfound-page<2,>=1; extra == "doc" -Requires-Dist: pyproject-hooks!=1.1; extra == "doc" -Requires-Dist: towncrier<24.7; extra == "doc" -Provides-Extra: ssl -Provides-Extra: certs -Provides-Extra: core -Requires-Dist: packaging>=24.2; extra == "core" -Requires-Dist: more_itertools>=8.8; extra == "core" -Requires-Dist: jaraco.text>=3.7; extra == "core" -Requires-Dist: importlib_metadata>=6; python_version < "3.10" and extra == "core" -Requires-Dist: tomli>=2.0.1; python_version < "3.11" and extra == "core" -Requires-Dist: wheel>=0.43.0; extra == "core" -Requires-Dist: platformdirs>=4.2.2; extra == "core" -Requires-Dist: jaraco.collections; extra == "core" -Requires-Dist: jaraco.functools>=4; extra == "core" -Requires-Dist: packaging; extra == "core" -Requires-Dist: more_itertools; extra == "core" -Provides-Extra: check -Requires-Dist: pytest-checkdocs>=2.4; extra == "check" -Requires-Dist: pytest-ruff>=0.2.1; sys_platform != "cygwin" and extra == "check" -Requires-Dist: ruff>=0.7.0; sys_platform != "cygwin" and extra == "check" -Provides-Extra: cover -Requires-Dist: pytest-cov; extra == "cover" -Provides-Extra: enabler -Requires-Dist: pytest-enabler>=2.2; extra == "enabler" -Provides-Extra: type -Requires-Dist: pytest-mypy; extra == "type" -Requires-Dist: mypy<1.14,>=1.12; extra == "type" -Requires-Dist: importlib_metadata>=7.0.2; python_version < "3.10" and extra == "type" -Requires-Dist: jaraco.develop>=7.21; sys_platform != "cygwin" and extra == "type" - -.. |pypi-version| image:: https://img.shields.io/pypi/v/setuptools.svg - :target: https://pypi.org/project/setuptools - -.. |py-version| image:: https://img.shields.io/pypi/pyversions/setuptools.svg - -.. |test-badge| image:: https://github.com/pypa/setuptools/actions/workflows/main.yml/badge.svg - :target: https://github.com/pypa/setuptools/actions?query=workflow%3A%22tests%22 - :alt: tests - -.. |ruff-badge| image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json - :target: https://github.com/astral-sh/ruff - :alt: Ruff - -.. |docs-badge| image:: https://img.shields.io/readthedocs/setuptools/latest.svg - :target: https://setuptools.pypa.io - -.. |skeleton-badge| image:: https://img.shields.io/badge/skeleton-2024-informational - :target: https://blog.jaraco.com/skeleton - -.. |codecov-badge| image:: https://img.shields.io/codecov/c/github/pypa/setuptools/master.svg?logo=codecov&logoColor=white - :target: https://codecov.io/gh/pypa/setuptools - -.. |tidelift-badge| image:: https://tidelift.com/badges/github/pypa/setuptools?style=flat - :target: https://tidelift.com/subscription/pkg/pypi-setuptools?utm_source=pypi-setuptools&utm_medium=readme - -.. |discord-badge| image:: https://img.shields.io/discord/803025117553754132 - :target: https://discord.com/channels/803025117553754132/815945031150993468 - :alt: Discord - -|pypi-version| |py-version| |test-badge| |ruff-badge| |docs-badge| |skeleton-badge| |codecov-badge| |discord-badge| - -See the `Quickstart `_ -and the `User's Guide `_ for -instructions on how to use Setuptools. - -Questions and comments should be directed to `GitHub Discussions -`_. -Bug reports and especially tested patches may be -submitted directly to the `bug tracker -`_. - - -Code of Conduct -=============== - -Everyone interacting in the setuptools project's codebases, issue trackers, -chat rooms, and fora is expected to follow the -`PSF Code of Conduct `_. - - -For Enterprise -============== - -Available as part of the Tidelift Subscription. - -Setuptools and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. - -`Learn more `_. diff --git a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/RECORD deleted file mode 100644 index ac018789..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/RECORD +++ /dev/null @@ -1,854 +0,0 @@ -_distutils_hack/__init__.py,sha256=34HmvLo07j45Uvd2VR-2aRQ7lJD91sTK6zJgn5fphbQ,6755 -_distutils_hack/__pycache__/__init__.cpython-312.pyc,, -_distutils_hack/__pycache__/override.cpython-312.pyc,, -_distutils_hack/override.py,sha256=Eu_s-NF6VIZ4Cqd0tbbA5wtWky2IZPNd8et6GLt1mzo,44 -distutils-precedence.pth,sha256=JjjOniUA5XKl4N5_rtZmHrVp0baW_LoHsN0iPaX10iQ,151 -pkg_resources/__init__.py,sha256=sDDxqkpuxclfavOmPykRQvLUgj01cHpe4ufOcfmlPXE,126362 -pkg_resources/__pycache__/__init__.cpython-312.pyc,, -pkg_resources/api_tests.txt,sha256=XEdvy4igHHrq2qNHNMHnlfO6XSQKNqOyLHbl6QcpfAI,12595 -pkg_resources/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pkg_resources/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pkg_resources/tests/__pycache__/__init__.cpython-312.pyc,, -pkg_resources/tests/__pycache__/test_find_distributions.cpython-312.pyc,, -pkg_resources/tests/__pycache__/test_integration_zope_interface.cpython-312.pyc,, -pkg_resources/tests/__pycache__/test_markers.cpython-312.pyc,, -pkg_resources/tests/__pycache__/test_pkg_resources.cpython-312.pyc,, -pkg_resources/tests/__pycache__/test_resources.cpython-312.pyc,, -pkg_resources/tests/__pycache__/test_working_set.cpython-312.pyc,, -pkg_resources/tests/data/my-test-package-source/__pycache__/setup.cpython-312.pyc,, -pkg_resources/tests/data/my-test-package-source/setup.cfg,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -pkg_resources/tests/data/my-test-package-source/setup.py,sha256=1VobhAZbMb7M9mfhb_NE8PwDsvukoWLs9aUAS0pYhe8,105 -pkg_resources/tests/data/my-test-package-zip/my-test-package.zip,sha256=AYRcQ39GVePPnMT8TknP1gdDHyJnXhthESmpAjnzSCI,1809 -pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/PKG-INFO,sha256=JvWv9Io2PAuYwEEw2fBW4Qc5YvdbkscpKX1kmLzsoHk,187 -pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/SOURCES.txt,sha256=4ClkH8eTovZrdVrJFsVuxdbMEF--lBVSuKonDAPE5Jc,208 -pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/dependency_links.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1 -pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1 -pkg_resources/tests/data/my-test-package_unpacked-egg/my_test_package-1.0-py3.7.egg/EGG-INFO/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1 -pkg_resources/tests/data/my-test-package_zipped-egg/my_test_package-1.0-py3.7.egg,sha256=ZTlMGxjRGiKDNkiA2c75jbQH2TWIteP00irF9gvczbo,843 -pkg_resources/tests/test_find_distributions.py,sha256=U91cov5L1COAIWLNq3Xy4plU7_MnOE1WtXMu6iV2waM,1972 -pkg_resources/tests/test_integration_zope_interface.py,sha256=nzVoK557KZQN0V3DIQ1sVeaCOgt4Kpl-CODAWsO7pmc,1652 -pkg_resources/tests/test_markers.py,sha256=0orKg7UMDf7fnuNQvRMOc-EF9EAP_JTQnk4mtGgbW50,241 -pkg_resources/tests/test_pkg_resources.py,sha256=KHuaQLdO1-n4G-q9mk8bckDrv9u9e3_OXPUk_gH88EM,15239 -pkg_resources/tests/test_resources.py,sha256=K0LqMAUGpRQ9pUb9K0vyI7GesvtlQvTH074m-E2VQlo,31252 -pkg_resources/tests/test_working_set.py,sha256=ZUJ8Su47v1YfRDkf8B6nBPHcdChVdzgRcxppHTwJs9k,8539 -setuptools-75.6.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools-75.6.0.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -setuptools-75.6.0.dist-info/METADATA,sha256=L8QwdzNFKF-8F7yo-bo450mJzXw2rZQEzTndPc6z2iA,6674 -setuptools-75.6.0.dist-info/RECORD,, -setuptools-75.6.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91 -setuptools-75.6.0.dist-info/entry_points.txt,sha256=zkgthpf_Fa9NVE9p6FKT3Xk9DR1faAcRU4coggsV7jA,2449 -setuptools-75.6.0.dist-info/top_level.txt,sha256=d9yL39v_W7qmKDDSH6sT4bE0j_Ls1M3P161OGgdsm4g,41 -setuptools/__init__.py,sha256=9Wv26UdKgYHgqV9UNeFVzIjAa9YxH2BVFT8WASq-eDE,10448 -setuptools/__pycache__/__init__.cpython-312.pyc,, -setuptools/__pycache__/_core_metadata.cpython-312.pyc,, -setuptools/__pycache__/_entry_points.cpython-312.pyc,, -setuptools/__pycache__/_imp.cpython-312.pyc,, -setuptools/__pycache__/_importlib.cpython-312.pyc,, -setuptools/__pycache__/_itertools.cpython-312.pyc,, -setuptools/__pycache__/_normalization.cpython-312.pyc,, -setuptools/__pycache__/_path.cpython-312.pyc,, -setuptools/__pycache__/_reqs.cpython-312.pyc,, -setuptools/__pycache__/_shutil.cpython-312.pyc,, -setuptools/__pycache__/archive_util.cpython-312.pyc,, -setuptools/__pycache__/build_meta.cpython-312.pyc,, -setuptools/__pycache__/depends.cpython-312.pyc,, -setuptools/__pycache__/discovery.cpython-312.pyc,, -setuptools/__pycache__/dist.cpython-312.pyc,, -setuptools/__pycache__/errors.cpython-312.pyc,, -setuptools/__pycache__/extension.cpython-312.pyc,, -setuptools/__pycache__/glob.cpython-312.pyc,, -setuptools/__pycache__/installer.cpython-312.pyc,, -setuptools/__pycache__/launch.cpython-312.pyc,, -setuptools/__pycache__/logging.cpython-312.pyc,, -setuptools/__pycache__/modified.cpython-312.pyc,, -setuptools/__pycache__/monkey.cpython-312.pyc,, -setuptools/__pycache__/msvc.cpython-312.pyc,, -setuptools/__pycache__/namespaces.cpython-312.pyc,, -setuptools/__pycache__/package_index.cpython-312.pyc,, -setuptools/__pycache__/sandbox.cpython-312.pyc,, -setuptools/__pycache__/unicode_utils.cpython-312.pyc,, -setuptools/__pycache__/version.cpython-312.pyc,, -setuptools/__pycache__/warnings.cpython-312.pyc,, -setuptools/__pycache__/wheel.cpython-312.pyc,, -setuptools/__pycache__/windows_support.cpython-312.pyc,, -setuptools/_core_metadata.py,sha256=7xeUsLocaSZQlgRQ81-HVRMWUWFXMyFJpVyjCDJgXS0,9795 -setuptools/_distutils/__init__.py,sha256=xGYuhWwLG07J0Q49BVnEjPy6wyDcd6veJMDJX7ljlyM,359 -setuptools/_distutils/__pycache__/__init__.cpython-312.pyc,, -setuptools/_distutils/__pycache__/_log.cpython-312.pyc,, -setuptools/_distutils/__pycache__/_macos_compat.cpython-312.pyc,, -setuptools/_distutils/__pycache__/_modified.cpython-312.pyc,, -setuptools/_distutils/__pycache__/_msvccompiler.cpython-312.pyc,, -setuptools/_distutils/__pycache__/archive_util.cpython-312.pyc,, -setuptools/_distutils/__pycache__/ccompiler.cpython-312.pyc,, -setuptools/_distutils/__pycache__/cmd.cpython-312.pyc,, -setuptools/_distutils/__pycache__/core.cpython-312.pyc,, -setuptools/_distutils/__pycache__/cygwinccompiler.cpython-312.pyc,, -setuptools/_distutils/__pycache__/debug.cpython-312.pyc,, -setuptools/_distutils/__pycache__/dep_util.cpython-312.pyc,, -setuptools/_distutils/__pycache__/dir_util.cpython-312.pyc,, -setuptools/_distutils/__pycache__/dist.cpython-312.pyc,, -setuptools/_distutils/__pycache__/errors.cpython-312.pyc,, -setuptools/_distutils/__pycache__/extension.cpython-312.pyc,, -setuptools/_distutils/__pycache__/fancy_getopt.cpython-312.pyc,, -setuptools/_distutils/__pycache__/file_util.cpython-312.pyc,, -setuptools/_distutils/__pycache__/filelist.cpython-312.pyc,, -setuptools/_distutils/__pycache__/log.cpython-312.pyc,, -setuptools/_distutils/__pycache__/spawn.cpython-312.pyc,, -setuptools/_distutils/__pycache__/sysconfig.cpython-312.pyc,, -setuptools/_distutils/__pycache__/text_file.cpython-312.pyc,, -setuptools/_distutils/__pycache__/unixccompiler.cpython-312.pyc,, -setuptools/_distutils/__pycache__/util.cpython-312.pyc,, -setuptools/_distutils/__pycache__/version.cpython-312.pyc,, -setuptools/_distutils/__pycache__/versionpredicate.cpython-312.pyc,, -setuptools/_distutils/__pycache__/zosccompiler.cpython-312.pyc,, -setuptools/_distutils/_log.py,sha256=i-lNTTcXS8TmWITJ6DODGvtW5z5tMattJQ76h8rZxQU,42 -setuptools/_distutils/_macos_compat.py,sha256=JzUGhF4E5yIITHbUaPobZEWjGHdrrcNV63z86S4RjBc,239 -setuptools/_distutils/_modified.py,sha256=JZvIUKHidnO_yddOaS9oaXdSrWnyQMifataAkvpsnIU,2446 -setuptools/_distutils/_msvccompiler.py,sha256=C88msUcJV1aUqK7YBXz5ZAUbkZefg6evxhjHrTTOiOs,20798 -setuptools/_distutils/archive_util.py,sha256=15jHbLmCDcnZ75J2tFFyCmCP6yF2aWEzVz-lusaeyr4,7844 -setuptools/_distutils/ccompiler.py,sha256=xvBQgcsWvjt1gd3GH3RxrBxChITq-NKhFJKUVYQPWz0,48873 -setuptools/_distutils/cmd.py,sha256=sZeDnYHuZqykNMOlX4usslxJ4jwPjAXKJvXYu5o7tns,17877 -setuptools/_distutils/command/__init__.py,sha256=GfFAzbBqk1qxSH4BdaKioKS4hRRnD44BAmwEN85C4u8,386 -setuptools/_distutils/command/__pycache__/__init__.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/_framework_compat.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/bdist.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/bdist_dumb.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/bdist_rpm.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/build.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/build_clib.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/build_ext.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/build_py.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/build_scripts.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/check.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/clean.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/config.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/install.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/install_data.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/install_egg_info.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/install_headers.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/install_lib.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/install_scripts.cpython-312.pyc,, -setuptools/_distutils/command/__pycache__/sdist.cpython-312.pyc,, -setuptools/_distutils/command/_framework_compat.py,sha256=0iZdSJYzGRWCCvzRDKE-R0-_yaAYvFMd1ylXb2eYXug,1609 -setuptools/_distutils/command/bdist.py,sha256=kALmrhET0pRKlSqY3EdvF-Y0zz-iJUx4_jorH9Mdadk,5346 -setuptools/_distutils/command/bdist_dumb.py,sha256=Gi_d1Nz4l6Gz_xU4LRfRVRKBri22WoNPM7uYyX2ksdk,4582 -setuptools/_distutils/command/bdist_rpm.py,sha256=DfZgvPmm3PTAd39YzLeQ8fmbyRGaXo-nmnUzYEtccg0,21686 -setuptools/_distutils/command/build.py,sha256=_jUqG3GWKIddOeMVktPUtVv05hSBt-_0zLrTByu3_qA,5729 -setuptools/_distutils/command/build_clib.py,sha256=qTpvz-Db2wEjKkX_kPwYQzFUCoP5HZrcbLu4HGKTJ0o,7684 -setuptools/_distutils/command/build_ext.py,sha256=gs7TV3MAaG4hysPk24hUa7M6jZnJzFhi_kMIbwOnYLs,31758 -setuptools/_distutils/command/build_py.py,sha256=cNe8vwMhyPJ2gN6jot9cOY5OuUPUvT6j9fIFcC-Fcik,16552 -setuptools/_distutils/command/build_scripts.py,sha256=EHCVyCiP9APE9X74SkOWj4AdS5iBCue7PqpLQP86e1Y,5534 -setuptools/_distutils/command/check.py,sha256=OM9_pYSz62maIzl3LtzrtTQ658OZQ93sOls86ITghaI,4897 -setuptools/_distutils/command/clean.py,sha256=qlKth74jWLZjKa2nxOay_2Fua6MVNTroApaQOva2dwc,2595 -setuptools/_distutils/command/config.py,sha256=FKd2vUSVOp0rpVUer4bj6D94-fyxyF8HJxitRlZFc9c,13008 -setuptools/_distutils/command/install.py,sha256=TG_lbTbFim2mYt1lMgMNTD9ratag0OJ1GCtyuHpe7oo,30078 -setuptools/_distutils/command/install_data.py,sha256=TqzaoQ8PIj7tTc25WKPQ81aZvP_dTYY4p9r_tqtdmg8,2816 -setuptools/_distutils/command/install_egg_info.py,sha256=Sy2fuBqvCGlQVhJcUteGbdG0KCx2BBN7jAzWEMA9rp8,2788 -setuptools/_distutils/command/install_headers.py,sha256=Wmpw2npRNUGYPR1BAbRpRaFbDFFf-KKCEVzUGyEuyvY,1184 -setuptools/_distutils/command/install_lib.py,sha256=pKLNE1rnqdoSo8bq9efQbQuQprg5TGswFpvKka1F3Fg,8330 -setuptools/_distutils/command/install_scripts.py,sha256=Qw8KrC24mcIeJEvcBNKISMpi75npSm6jzW6BOzA9G7g,1937 -setuptools/_distutils/command/sdist.py,sha256=6Wlzz2rRAcug2Eu7uNOE9EO3b6I2QjElctClgjwZ5j8,18809 -setuptools/_distutils/compat/__init__.py,sha256=AhMdi3AzX62KYnNdOCcEuNXLuBOxhvOSQHtdji4g8z8,429 -setuptools/_distutils/compat/__pycache__/__init__.cpython-312.pyc,, -setuptools/_distutils/compat/__pycache__/py38.cpython-312.pyc,, -setuptools/_distutils/compat/__pycache__/py39.cpython-312.pyc,, -setuptools/_distutils/compat/py38.py,sha256=RIpJVgHyaC_gSrLZCMk02sM8PUkR-T3OChVx8BnlHOY,775 -setuptools/_distutils/compat/py39.py,sha256=hOsD6lwZLqZoMnacNJ3P6nUA-LJQhEpVtYTzVH0o96M,1964 -setuptools/_distutils/core.py,sha256=_MmZeNIbkopW0LdHtH7w3HSOI_XTzVhTiV8nAe3UW5w,9267 -setuptools/_distutils/cygwinccompiler.py,sha256=1LQO0p-AwDSNzLJk_KPIKp62eiDpkGZ4fMMs2N3o94w,11891 -setuptools/_distutils/debug.py,sha256=N6MrTAqK6l9SVk6tWweR108PM8Ol7qNlfyV-nHcLhsY,139 -setuptools/_distutils/dep_util.py,sha256=xN75p6ZpHhMiHEc-rpL2XilJQynHnDNiafHteaZ4tjU,349 -setuptools/_distutils/dir_util.py,sha256=DXPUlfVVGsg9B-Jgg4At_j9T7vM60OgwNXkQHqTo7-I,7236 -setuptools/_distutils/dist.py,sha256=Z51-FyibouJ2Xi2KVV9GGb1OufQyIdSWgR8QYLKHLuY,50553 -setuptools/_distutils/errors.py,sha256=bZ3cL1YpmYVHJYEgw8UM8vlsLMIpeAXqi6IDSV9Yqhw,3325 -setuptools/_distutils/extension.py,sha256=2SLJ8vzYZn_HPEAIUqExIdJ22ySxlYoEEejbrMoBBSc,10358 -setuptools/_distutils/fancy_getopt.py,sha256=FfBKjfzAXOwg1wJIVDBIoTgals9-XLpQdi-YbZS82Jw,17822 -setuptools/_distutils/file_util.py,sha256=jpPCdgpEN876TFSWEKPzEbj4hZrATpZKPQDOT4G-yHQ,7962 -setuptools/_distutils/filelist.py,sha256=PjeVfpvvjY00sOwofd4d79EUjmI_c7udePCL6REbYzM,13654 -setuptools/_distutils/log.py,sha256=VyBs5j7z4-K6XTEEBThUc9HyMpoPLGtQpERqbz5ylww,1200 -setuptools/_distutils/spawn.py,sha256=u5srFcVoBxOweFlWtZRjO9L__tRcOQvLH8DAel5kZSg,3625 -setuptools/_distutils/sysconfig.py,sha256=0rBnrkIMJc4ek_5sfaNOOACpR9bXOU9GxDAK3KLHkIs,19235 -setuptools/_distutils/tests/__init__.py,sha256=bE9qRiJgLJnfPLHIU21uY7uXYCcHY9dx-V0x1vNT_-M,1476 -setuptools/_distutils/tests/__pycache__/__init__.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/support.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_archive_util.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_bdist.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_bdist_dumb.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_bdist_rpm.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_build.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_build_clib.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_build_ext.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_build_py.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_build_scripts.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_ccompiler.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_check.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_clean.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_cmd.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_config_cmd.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_core.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_cygwinccompiler.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_dir_util.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_dist.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_extension.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_file_util.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_filelist.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_install.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_install_data.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_install_headers.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_install_lib.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_install_scripts.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_log.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_mingwccompiler.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_modified.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_msvccompiler.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_sdist.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_spawn.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_sysconfig.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_text_file.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_unixccompiler.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_util.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_version.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/test_versionpredicate.cpython-312.pyc,, -setuptools/_distutils/tests/__pycache__/unix_compat.cpython-312.pyc,, -setuptools/_distutils/tests/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_distutils/tests/compat/__pycache__/__init__.cpython-312.pyc,, -setuptools/_distutils/tests/compat/__pycache__/py38.cpython-312.pyc,, -setuptools/_distutils/tests/compat/py38.py,sha256=myShQTLl-DnyAjRDJrO44HdLaEoFkKIeReHiydCiHg4,1015 -setuptools/_distutils/tests/support.py,sha256=tjsYsyxvpTK4NrkCseh2ujvDIGV0Mf_b5SI5fP2T0yM,4099 -setuptools/_distutils/tests/test_archive_util.py,sha256=jozimSwPBF-JoJfN_vDaiVGZp66BNcWZGh34FlW57DQ,11787 -setuptools/_distutils/tests/test_bdist.py,sha256=xNHxUsLlHsZQRwkzLb_iSD24s-9Mk-NX2ffBWwOyPyc,1396 -setuptools/_distutils/tests/test_bdist_dumb.py,sha256=QF05MHNhPOdZyh88Xpw8KsO64s7pRFkl8KL-RoV4XK0,2247 -setuptools/_distutils/tests/test_bdist_rpm.py,sha256=YGv9442JC4K3Mh_f1xY6xx3XFZexdIkNdjNChC6_Fe4,3933 -setuptools/_distutils/tests/test_build.py,sha256=Lf66SO9Wi_exzKgsEE5WpVPgdNYHFr1ivOhKQ2gxC1o,1698 -setuptools/_distutils/tests/test_build_clib.py,sha256=Mo1ZFb4C1VXBYOGvnallwN7YCnTtr24akLDO8Zi4CsY,4331 -setuptools/_distutils/tests/test_build_ext.py,sha256=hyxOeHXp6sDb8CHxaGkR4---nP5nwbPtr9JoAJcT9YU,19961 -setuptools/_distutils/tests/test_build_py.py,sha256=NsfmRrojOHBXNMqWR_mp5g4PLTgjhD7iZFUffGZFIdw,6882 -setuptools/_distutils/tests/test_build_scripts.py,sha256=cD-FRy-oX55sXRX5Ez5xQCaeHrWajyKc4Xuwv2fe48w,2880 -setuptools/_distutils/tests/test_ccompiler.py,sha256=eVzZZE8JMIcl4OjwiuhdSNpNdKknAPOnlIe2DnFX-38,2964 -setuptools/_distutils/tests/test_check.py,sha256=hHSV07qf7YoSxGsTbbsUQ9tssZz5RRNdbrY1s2SwaFI,6226 -setuptools/_distutils/tests/test_clean.py,sha256=hPH6jfIpGFUrvWbF1txkiNVSNaAxt2wq5XjV499zO4E,1240 -setuptools/_distutils/tests/test_cmd.py,sha256=bgRB79mitoOKR1OiyZHnCogvGxt3pWkxeTqIC04lQWQ,3254 -setuptools/_distutils/tests/test_config_cmd.py,sha256=Zs6WX0IfxDvmuC19XzuVNnYCnTr9Y-hl73TAmDSBN4Y,2664 -setuptools/_distutils/tests/test_core.py,sha256=L7XKVAxa-MGoAZeANopnuK9fRKneYhkSQpgw8XQvcF8,3829 -setuptools/_distutils/tests/test_cygwinccompiler.py,sha256=iqxsDy0Z5ZTRgxM8ARzPXakitQod2V8aG5qet_J5tTg,2753 -setuptools/_distutils/tests/test_dir_util.py,sha256=VkGBvn5NJC6teCOaWjzWAQ-eN2KPGmRk_KoJ3jIVfaA,4379 -setuptools/_distutils/tests/test_dist.py,sha256=CFlBpbM3wJH2WjsgCGsTV4n5Z3BpfLSln6dixBxeqpM,18459 -setuptools/_distutils/tests/test_extension.py,sha256=SLJYnLhshfj4u72Q91E_5jnzVpbPljv6_xqV7yKB1Ds,3094 -setuptools/_distutils/tests/test_file_util.py,sha256=r3MNC-g3BZPKRZdHGMqSatM93D_aooTHBn-Vm4IiEDU,3502 -setuptools/_distutils/tests/test_filelist.py,sha256=Co8dDWCC5K_DUw5T6TQygBsh_PQVCoOlYQOcsl2agHc,10766 -setuptools/_distutils/tests/test_install.py,sha256=TfCB0ykhIxydIC2Q4SuTAZzSHvteMHgrBL9whoSgK9Q,8618 -setuptools/_distutils/tests/test_install_data.py,sha256=vKq3K97k0hBAnOg38nmwEdf7cEDVr9rTVyCeJolgb4A,2464 -setuptools/_distutils/tests/test_install_headers.py,sha256=PVAYpo_tYl980Qf64DPOmmSvyefIHdU06f7VsJeZykE,936 -setuptools/_distutils/tests/test_install_lib.py,sha256=qri6Rl-maNTQrNDV8DbeXNl0hjsfRIKiI4rfZLrmWBI,3612 -setuptools/_distutils/tests/test_install_scripts.py,sha256=KE3v0cDkFW-90IOID-OmZZGM2mhy-ZkEuuW7UXS2SHw,1600 -setuptools/_distutils/tests/test_log.py,sha256=isFtOufloCyEdZaQOV7cVUr46GwtdVMj43mGBB5XH7k,323 -setuptools/_distutils/tests/test_mingwccompiler.py,sha256=mBl8W8QIO2xy4eOj6aAEVom4lobwpHM-HvFUIXu6q0c,2202 -setuptools/_distutils/tests/test_modified.py,sha256=h1--bOWmtJo1bpVV6uRhdnS9br71CBiNDM1MDwSGpug,4221 -setuptools/_distutils/tests/test_msvccompiler.py,sha256=xUrfyCwCO57DEsxcoL6s-YG3YIZRllYsKuagZbBPFJ0,4301 -setuptools/_distutils/tests/test_sdist.py,sha256=InsbU09aeVdJtj8QywREnUZuV32bvi47eRmH3iWQwkk,15058 -setuptools/_distutils/tests/test_spawn.py,sha256=bxk4RmNWFmCnyYpAlqtG8VfXfk5TdzcjV53lOxFyyh4,4613 -setuptools/_distutils/tests/test_sysconfig.py,sha256=iH4Y9E8UHrfl3P-VSt0lbgJMlHuoQsIOorxrsVRQnE8,12010 -setuptools/_distutils/tests/test_text_file.py,sha256=WQWSB5AfdBDZaMA8BFgipJPnsJb_2SKMfL90fSkRVtw,3460 -setuptools/_distutils/tests/test_unixccompiler.py,sha256=wcJQJhXtkUUE3I64TyDvM3Yo7G9a0ug_Mp7DbZLwT4Q,11840 -setuptools/_distutils/tests/test_util.py,sha256=H9zlZ4z4Vh4TfjNYDBsxP7wguQLpxCfJYyOcm1yZU3c,7988 -setuptools/_distutils/tests/test_version.py,sha256=b0UMdMRBofyySAhUYnziYhImdB3CzsU7696brKDP0XM,2750 -setuptools/_distutils/tests/test_versionpredicate.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_distutils/tests/unix_compat.py,sha256=z-op6C2iVdX1aq5BIBR7cqOxijKE97alNwJqHNdLpoI,386 -setuptools/_distutils/text_file.py,sha256=EV8hDCetYeKq6c_uPfwGgkUw8hugeEoSJcXpy_EkQGo,12098 -setuptools/_distutils/unixccompiler.py,sha256=QJHNcQiMtWcOQ4WzupzIv1nQwBENo-bNkeVCSVmT4Jk,15437 -setuptools/_distutils/util.py,sha256=yFXCnYoJrLum-CouY8Q-axVMnalSFC1QvsSKpRpYAcU,17654 -setuptools/_distutils/version.py,sha256=KlbDjAvGBybVJqRDxNLNMvZLl5XL2FP0dpVjgzfm0zY,12634 -setuptools/_distutils/versionpredicate.py,sha256=qBWQ6wTj12ODytoTmIydefIY2jb4uY1sdbgbuLn-IJM,5205 -setuptools/_distutils/zosccompiler.py,sha256=bb2dQoGnsv4LmoQBfjhDsaOpt_p5R7y_28l1cltmG94,6589 -setuptools/_entry_points.py,sha256=Y3QUE9JKFW_YyquDnpffNWSs6f3jKEt1e-dnx--9-Kw,2310 -setuptools/_imp.py,sha256=b5sEz-EOJKApMsmb-yJPPgkGqZBeZFeLtoWhysLre-0,2441 -setuptools/_importlib.py,sha256=aKIjcK0HKXNz2D-XTrxaixGn_juTkONwmu3dcheMOF0,223 -setuptools/_itertools.py,sha256=jWRfsIrpC7myooz3hDURj9GtvpswZeKXg2HakmEhNjo,657 -setuptools/_normalization.py,sha256=t-SeXc0jU2weQY9BA3qGlRThzBND1oYK5Hpzg1_533g,4536 -setuptools/_path.py,sha256=cPv41v03HD7uEYqCIo-E_cGRfpPVr4lywBCiK-HSrCg,2685 -setuptools/_reqs.py,sha256=QI3C9uOBSNRccu208qPnixHx51nxCry7_nPTIJaSYxM,1438 -setuptools/_shutil.py,sha256=cAOllcoyMTXs5JLoybQi29yI5gABk82hepJyOBv2bMw,1496 -setuptools/_vendor/__pycache__/typing_extensions.cpython-312.pyc,, -setuptools/_vendor/autocommand-2.2.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/autocommand-2.2.2.dist-info/LICENSE,sha256=reeNBJgtaZctREqOFKlPh6IzTdOFXMgDSOqOJAqg3y0,7634 -setuptools/_vendor/autocommand-2.2.2.dist-info/METADATA,sha256=OADZuR3O6iBlpu1ieTgzYul6w4uOVrk0P0BO5TGGAJk,15006 -setuptools/_vendor/autocommand-2.2.2.dist-info/RECORD,sha256=giu6ZrQVJvpUcYa4AiH4XaUNZSvuVJPb_l0UCFES8MM,1308 -setuptools/_vendor/autocommand-2.2.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92 -setuptools/_vendor/autocommand-2.2.2.dist-info/top_level.txt,sha256=AzfhgKKS8EdAwWUTSF8mgeVQbXOY9kokHB6kSqwwqu0,12 -setuptools/_vendor/autocommand/__init__.py,sha256=zko5Rnvolvb-UXjCx_2ArPTGBWwUK5QY4LIQIKYR7As,1037 -setuptools/_vendor/autocommand/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/autocommand/__pycache__/autoasync.cpython-312.pyc,, -setuptools/_vendor/autocommand/__pycache__/autocommand.cpython-312.pyc,, -setuptools/_vendor/autocommand/__pycache__/automain.cpython-312.pyc,, -setuptools/_vendor/autocommand/__pycache__/autoparse.cpython-312.pyc,, -setuptools/_vendor/autocommand/__pycache__/errors.cpython-312.pyc,, -setuptools/_vendor/autocommand/autoasync.py,sha256=AMdyrxNS4pqWJfP_xuoOcImOHWD-qT7x06wmKN1Vp-U,5680 -setuptools/_vendor/autocommand/autocommand.py,sha256=hmkEmQ72HtL55gnURVjDOnsfYlGd5lLXbvT4KG496Qw,2505 -setuptools/_vendor/autocommand/automain.py,sha256=A2b8i754Mxc_DjU9WFr6vqYDWlhz0cn8miu8d8EsxV8,2076 -setuptools/_vendor/autocommand/autoparse.py,sha256=WVWmZJPcbzUKXP40raQw_0HD8qPJ2V9VG1eFFmmnFxw,11642 -setuptools/_vendor/autocommand/errors.py,sha256=7aa3roh9Herd6nIKpQHNWEslWE8oq7GiHYVUuRqORnA,886 -setuptools/_vendor/backports.tarfile-1.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/backports.tarfile-1.2.0.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -setuptools/_vendor/backports.tarfile-1.2.0.dist-info/METADATA,sha256=ghXFTq132dxaEIolxr3HK1mZqm9iyUmaRANZQSr6WlE,2020 -setuptools/_vendor/backports.tarfile-1.2.0.dist-info/RECORD,sha256=JYofHISeEXUGmlWl1s41ev3QTjTNXeJwk-Ss7HqdLOE,1360 -setuptools/_vendor/backports.tarfile-1.2.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/backports.tarfile-1.2.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -setuptools/_vendor/backports.tarfile-1.2.0.dist-info/top_level.txt,sha256=cGjaLMOoBR1FK0ApojtzWVmViTtJ7JGIK_HwXiEsvtU,10 -setuptools/_vendor/backports/__init__.py,sha256=iOEMwnlORWezdO8-2vxBIPSR37D7JGjluZ8f55vzxls,81 -setuptools/_vendor/backports/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/backports/tarfile/__init__.py,sha256=Pwf2qUIfB0SolJPCKcx3vz3UEu_aids4g4sAfxy94qg,108491 -setuptools/_vendor/backports/tarfile/__main__.py,sha256=Yw2oGT1afrz2eBskzdPYL8ReB_3liApmhFkN2EbDmc4,59 -setuptools/_vendor/backports/tarfile/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/backports/tarfile/__pycache__/__main__.cpython-312.pyc,, -setuptools/_vendor/backports/tarfile/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/backports/tarfile/compat/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/backports/tarfile/compat/__pycache__/py38.cpython-312.pyc,, -setuptools/_vendor/backports/tarfile/compat/py38.py,sha256=iYkyt_gvWjLzGUTJD9TuTfMMjOk-ersXZmRlvQYN2qE,568 -setuptools/_vendor/importlib_metadata-8.0.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/importlib_metadata-8.0.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358 -setuptools/_vendor/importlib_metadata-8.0.0.dist-info/METADATA,sha256=anuQ7_7h4J1bSEzfcjIBakPi2cyVQ7y7jklLHsBeH1k,4648 -setuptools/_vendor/importlib_metadata-8.0.0.dist-info/RECORD,sha256=DY08buueu-hsrH1ghhVSQzwynanqUSSLYdAr4uXmQDA,2518 -setuptools/_vendor/importlib_metadata-8.0.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/importlib_metadata-8.0.0.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91 -setuptools/_vendor/importlib_metadata-8.0.0.dist-info/top_level.txt,sha256=CO3fD9yylANiXkrMo4qHLV_mqXL2sC5JFKgt1yWAT-A,19 -setuptools/_vendor/importlib_metadata/__init__.py,sha256=tZNB-23h8Bixi9uCrQqj9Yf0aeC--Josdy3IZRIQeB0,33798 -setuptools/_vendor/importlib_metadata/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/__pycache__/_adapters.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/__pycache__/_collections.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/__pycache__/_compat.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/__pycache__/_functools.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/__pycache__/_itertools.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/__pycache__/_meta.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/__pycache__/_text.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/__pycache__/diagnose.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/_adapters.py,sha256=rIhWTwBvYA1bV7i-5FfVX38qEXDTXFeS5cb5xJtP3ks,2317 -setuptools/_vendor/importlib_metadata/_collections.py,sha256=CJ0OTCHIjWA0ZIVS4voORAsn2R4R2cQBEtPsZEJpASY,743 -setuptools/_vendor/importlib_metadata/_compat.py,sha256=73QKrN9KNoaZzhbX5yPCCZa-FaALwXe8TPlDR72JgBU,1314 -setuptools/_vendor/importlib_metadata/_functools.py,sha256=PsY2-4rrKX4RVeRC1oGp1lB1pmC9eKN88_f-bD9uOoA,2895 -setuptools/_vendor/importlib_metadata/_itertools.py,sha256=cvr_2v8BRbxcIl5x5ldfqdHjhI8Yi8s8yk50G_nm6jQ,2068 -setuptools/_vendor/importlib_metadata/_meta.py,sha256=nxZ7C8GVlcBFAKWyVOn_dn7ot_twBcbm1NmvjIetBHI,1801 -setuptools/_vendor/importlib_metadata/_text.py,sha256=HCsFksZpJLeTP3NEk_ngrAeXVRRtTrtyh9eOABoRP4A,2166 -setuptools/_vendor/importlib_metadata/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/importlib_metadata/compat/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/compat/__pycache__/py311.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/compat/__pycache__/py39.cpython-312.pyc,, -setuptools/_vendor/importlib_metadata/compat/py311.py,sha256=uqm-K-uohyj1042TH4a9Er_I5o7667DvulcD-gC_fSA,608 -setuptools/_vendor/importlib_metadata/compat/py39.py,sha256=cPkMv6-0ilK-0Jw_Tkn0xYbOKJZc4WJKQHow0c2T44w,1102 -setuptools/_vendor/importlib_metadata/diagnose.py,sha256=nkSRMiowlmkhLYhKhvCg9glmt_11Cox-EmLzEbqYTa8,379 -setuptools/_vendor/importlib_metadata/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/inflect-7.3.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/inflect-7.3.1.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -setuptools/_vendor/inflect-7.3.1.dist-info/METADATA,sha256=ZgMNY0WAZRs-U8wZiV2SMfjSKqBrMngXyDMs_CAwMwg,21079 -setuptools/_vendor/inflect-7.3.1.dist-info/RECORD,sha256=XXg0rBuiYSxoAQUP3lenuYsPNqz4jDwtTzdv2JEbMJE,943 -setuptools/_vendor/inflect-7.3.1.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91 -setuptools/_vendor/inflect-7.3.1.dist-info/top_level.txt,sha256=m52ujdp10CqT6jh1XQxZT6kEntcnv-7Tl7UiGNTzWZA,8 -setuptools/_vendor/inflect/__init__.py,sha256=Jxy1HJXZiZ85kHeLAhkmvz6EMTdFqBe-duvt34R6IOc,103796 -setuptools/_vendor/inflect/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/inflect/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/inflect/compat/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/inflect/compat/__pycache__/py38.cpython-312.pyc,, -setuptools/_vendor/inflect/compat/py38.py,sha256=oObVfVnWX9_OpnOuEJn1mFbJxVhwyR5epbiTNXDDaso,160 -setuptools/_vendor/inflect/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/jaraco.collections-5.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/jaraco.collections-5.1.0.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -setuptools/_vendor/jaraco.collections-5.1.0.dist-info/METADATA,sha256=IMUaliNsA5X1Ox9MXUWOagch5R4Wwb_3M7erp29dBtg,3933 -setuptools/_vendor/jaraco.collections-5.1.0.dist-info/RECORD,sha256=HptivXDkpfom6VlMu4CGD_7KPev-6Hc9rvp3TNJZygY,873 -setuptools/_vendor/jaraco.collections-5.1.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/jaraco.collections-5.1.0.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91 -setuptools/_vendor/jaraco.collections-5.1.0.dist-info/top_level.txt,sha256=0JnN3LfXH4LIRfXL-QFOGCJzQWZO3ELx4R1d_louoQM,7 -setuptools/_vendor/jaraco.context-5.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/jaraco.context-5.3.0.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -setuptools/_vendor/jaraco.context-5.3.0.dist-info/METADATA,sha256=xDtguJej0tN9iEXCUvxEJh2a7xceIRVBEakBLSr__tY,4020 -setuptools/_vendor/jaraco.context-5.3.0.dist-info/RECORD,sha256=VRl7iKeEQyl7stgnp1uq50CzOJYlHYcoNdS0x17C9X4,641 -setuptools/_vendor/jaraco.context-5.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -setuptools/_vendor/jaraco.context-5.3.0.dist-info/top_level.txt,sha256=0JnN3LfXH4LIRfXL-QFOGCJzQWZO3ELx4R1d_louoQM,7 -setuptools/_vendor/jaraco.functools-4.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/jaraco.functools-4.0.1.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -setuptools/_vendor/jaraco.functools-4.0.1.dist-info/METADATA,sha256=i4aUaQDX-jjdEQK5wevhegyx8JyLfin2HyvaSk3FHso,2891 -setuptools/_vendor/jaraco.functools-4.0.1.dist-info/RECORD,sha256=YyqnwE98S8wBwCevW5vHb-iVj0oYEDW5V6O9MBS6JIs,843 -setuptools/_vendor/jaraco.functools-4.0.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -setuptools/_vendor/jaraco.functools-4.0.1.dist-info/top_level.txt,sha256=0JnN3LfXH4LIRfXL-QFOGCJzQWZO3ELx4R1d_louoQM,7 -setuptools/_vendor/jaraco.text-3.12.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/jaraco.text-3.12.1.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -setuptools/_vendor/jaraco.text-3.12.1.dist-info/METADATA,sha256=AzWdm6ViMfDOPoQMfLWn2zgBQSGJScyqeN29TcuWXVI,3658 -setuptools/_vendor/jaraco.text-3.12.1.dist-info/RECORD,sha256=gW2UV0HcokYJk4jKPu10_AZnrLqjb3C1WbJJTDl5sfY,1500 -setuptools/_vendor/jaraco.text-3.12.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/jaraco.text-3.12.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -setuptools/_vendor/jaraco.text-3.12.1.dist-info/top_level.txt,sha256=0JnN3LfXH4LIRfXL-QFOGCJzQWZO3ELx4R1d_louoQM,7 -setuptools/_vendor/jaraco/__pycache__/context.cpython-312.pyc,, -setuptools/_vendor/jaraco/collections/__init__.py,sha256=Pc1-SqjWm81ad1P0-GttpkwO_LWlnaY6gUq8gcKh2v0,26640 -setuptools/_vendor/jaraco/collections/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/jaraco/collections/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/jaraco/context.py,sha256=REoLIxDkO5MfEYowt_WoupNCRoxBS5v7YX2PbW8lIcs,9552 -setuptools/_vendor/jaraco/functools/__init__.py,sha256=hEAJaS2uSZRuF_JY4CxCHIYh79ZpxaPp9OiHyr9EJ1w,16642 -setuptools/_vendor/jaraco/functools/__init__.pyi,sha256=gk3dsgHzo5F_U74HzAvpNivFAPCkPJ1b2-yCd62dfnw,3878 -setuptools/_vendor/jaraco/functools/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/jaraco/functools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/jaraco/text/Lorem ipsum.txt,sha256=N_7c_79zxOufBY9HZ3yzMgOkNv-TkOTTio4BydrSjgs,1335 -setuptools/_vendor/jaraco/text/__init__.py,sha256=Y2YUqXR_orUoDaY4SkPRe6ZZhb5HUHB_Ah9RCNsVyho,16250 -setuptools/_vendor/jaraco/text/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/jaraco/text/__pycache__/layouts.cpython-312.pyc,, -setuptools/_vendor/jaraco/text/__pycache__/show-newlines.cpython-312.pyc,, -setuptools/_vendor/jaraco/text/__pycache__/strip-prefix.cpython-312.pyc,, -setuptools/_vendor/jaraco/text/__pycache__/to-dvorak.cpython-312.pyc,, -setuptools/_vendor/jaraco/text/__pycache__/to-qwerty.cpython-312.pyc,, -setuptools/_vendor/jaraco/text/layouts.py,sha256=HTC8aSTLZ7uXipyOXapRMC158juecjK6RVwitfmZ9_w,643 -setuptools/_vendor/jaraco/text/show-newlines.py,sha256=WGQa65e8lyhb92LUOLqVn6KaCtoeVgVws6WtSRmLk6w,904 -setuptools/_vendor/jaraco/text/strip-prefix.py,sha256=NfVXV8JVNo6nqcuYASfMV7_y4Eo8zMQqlCOGvAnRIVw,412 -setuptools/_vendor/jaraco/text/to-dvorak.py,sha256=1SNcbSsvISpXXg-LnybIHHY-RUFOQr36zcHkY1pWFqw,119 -setuptools/_vendor/jaraco/text/to-qwerty.py,sha256=s4UMQUnPwFn_dB5uZC27BurHOQcYondBfzIpVL5pEzw,119 -setuptools/_vendor/more_itertools-10.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/more_itertools-10.3.0.dist-info/LICENSE,sha256=CfHIyelBrz5YTVlkHqm4fYPAyw_QB-te85Gn4mQ8GkY,1053 -setuptools/_vendor/more_itertools-10.3.0.dist-info/METADATA,sha256=BFO90O-fLNiVQMpj7oIS5ztzgJUUQZ3TA32P5HH3N-A,36293 -setuptools/_vendor/more_itertools-10.3.0.dist-info/RECORD,sha256=d8jnPgGNwP1-ntbICwWkQEVF9kH7CFIgzkKzaLWao9M,1259 -setuptools/_vendor/more_itertools-10.3.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/more_itertools-10.3.0.dist-info/WHEEL,sha256=rSgq_JpHF9fHR1lx53qwg_1-2LypZE_qmcuXbVUq948,81 -setuptools/_vendor/more_itertools/__init__.py,sha256=dtAbGjTDmn_ghiU5YXfhyDy0phAlXVdt5klZA5fUa-Q,149 -setuptools/_vendor/more_itertools/__init__.pyi,sha256=5B3eTzON1BBuOLob1vCflyEb2lSd6usXQQ-Cv-hXkeA,43 -setuptools/_vendor/more_itertools/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/more_itertools/__pycache__/more.cpython-312.pyc,, -setuptools/_vendor/more_itertools/__pycache__/recipes.cpython-312.pyc,, -setuptools/_vendor/more_itertools/more.py,sha256=1E5kzFncRKTDw0cYv1yRXMgDdunstLQd1QStcnL6U90,148370 -setuptools/_vendor/more_itertools/more.pyi,sha256=iXXeqt48Nxe8VGmIWpkVXuKpR2FYNuu2DU8nQLWCCu0,21484 -setuptools/_vendor/more_itertools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/more_itertools/recipes.py,sha256=WedhhfhGVgr6zii8fIbGJVmRTw0ZKRiLKnYBDGJv4nY,28591 -setuptools/_vendor/more_itertools/recipes.pyi,sha256=T_mdGpcFdfrP3JSWbwzYP9JyNV-Go-7RPfpxfftAWlA,4617 -setuptools/_vendor/packaging-24.2.dist-info/INSTALLER,sha256=5hhM4Q4mYTT9z6QB6PGpUAW81PGNFrYrdXMj4oM_6ak,2 -setuptools/_vendor/packaging-24.2.dist-info/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197 -setuptools/_vendor/packaging-24.2.dist-info/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174 -setuptools/_vendor/packaging-24.2.dist-info/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344 -setuptools/_vendor/packaging-24.2.dist-info/METADATA,sha256=ohH86s6k5mIfQxY2TS0LcSfADeOFa4BiCC-bxZV-pNs,3204 -setuptools/_vendor/packaging-24.2.dist-info/RECORD,sha256=Y4DrXM0KY0ArfzhbAEa1LYFPwW3WEgEeL4iCqXe-A-M,2009 -setuptools/_vendor/packaging-24.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/packaging-24.2.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82 -setuptools/_vendor/packaging/__init__.py,sha256=dk4Ta_vmdVJxYHDcfyhvQNw8V3PgSBomKNXqg-D2JDY,494 -setuptools/_vendor/packaging/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/_parser.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/_structures.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/markers.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/metadata.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/requirements.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/tags.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/utils.cpython-312.pyc,, -setuptools/_vendor/packaging/__pycache__/version.cpython-312.pyc,, -setuptools/_vendor/packaging/_elffile.py,sha256=cflAQAkE25tzhYmq_aCi72QfbT_tn891tPzfpbeHOwE,3306 -setuptools/_vendor/packaging/_manylinux.py,sha256=vl5OCoz4kx80H5rwXKeXWjl9WNISGmr4ZgTpTP9lU9c,9612 -setuptools/_vendor/packaging/_musllinux.py,sha256=p9ZqNYiOItGee8KcZFeHF_YcdhVwGHdK6r-8lgixvGQ,2694 -setuptools/_vendor/packaging/_parser.py,sha256=s_TvTvDNK0NrM2QB3VKThdWFM4Nc0P6JnkObkl3MjpM,10236 -setuptools/_vendor/packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431 -setuptools/_vendor/packaging/_tokenizer.py,sha256=J6v5H7Jzvb-g81xp_2QACKwO7LxHQA6ikryMU7zXwN8,5273 -setuptools/_vendor/packaging/licenses/__init__.py,sha256=1x5M1nEYjcgwEbLt0dXwz2ukjr18DiCzC0sraQqJ-Ww,5715 -setuptools/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc,, -setuptools/_vendor/packaging/licenses/_spdx.py,sha256=oAm1ztPFwlsmCKe7lAAsv_OIOfS1cWDu9bNBkeu-2ns,48398 -setuptools/_vendor/packaging/markers.py,sha256=c89TNzB7ZdGYhkovm6PYmqGyHxXlYVaLW591PHUNKD8,10561 -setuptools/_vendor/packaging/metadata.py,sha256=YJibM7GYe4re8-0a3OlXmGS-XDgTEoO4tlBt2q25Bng,34762 -setuptools/_vendor/packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/packaging/requirements.py,sha256=gYyRSAdbrIyKDY66ugIDUQjRMvxkH2ALioTmX3tnL6o,2947 -setuptools/_vendor/packaging/specifiers.py,sha256=GG1wPNMcL0fMJO68vF53wKMdwnfehDcaI-r9NpTfilA,40074 -setuptools/_vendor/packaging/tags.py,sha256=CFqrJzAzc2XNGexerH__T-Y5Iwq7WbsYXsiLERLWxY0,21014 -setuptools/_vendor/packaging/utils.py,sha256=0F3Hh9OFuRgrhTgGZUl5K22Fv1YP2tZl1z_2gO6kJiA,5050 -setuptools/_vendor/packaging/version.py,sha256=olfyuk_DPbflNkJ4wBWetXQ17c74x3DB501degUv7DY,16676 -setuptools/_vendor/platformdirs-4.2.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/platformdirs-4.2.2.dist-info/METADATA,sha256=zmsie01G1MtXR0wgIv5XpVeTO7idr0WWvfmxKsKWuGk,11429 -setuptools/_vendor/platformdirs-4.2.2.dist-info/RECORD,sha256=TCEddtQu1A78Os_Mhm2JEqcYr7yit-UYSUQjZtbpn-g,1642 -setuptools/_vendor/platformdirs-4.2.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/platformdirs-4.2.2.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87 -setuptools/_vendor/platformdirs-4.2.2.dist-info/licenses/LICENSE,sha256=KeD9YukphQ6G6yjD_czwzv30-pSHkBHP-z0NS-1tTbY,1089 -setuptools/_vendor/platformdirs/__init__.py,sha256=EMGE8qeHRR9CzDFr8kL3tA8hdZZniYjXBVZd0UGTWK0,22225 -setuptools/_vendor/platformdirs/__main__.py,sha256=HnsUQHpiBaiTxwcmwVw-nFaPdVNZtQIdi1eWDtI-MzI,1493 -setuptools/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc,, -setuptools/_vendor/platformdirs/__pycache__/android.cpython-312.pyc,, -setuptools/_vendor/platformdirs/__pycache__/api.cpython-312.pyc,, -setuptools/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc,, -setuptools/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc,, -setuptools/_vendor/platformdirs/__pycache__/version.cpython-312.pyc,, -setuptools/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc,, -setuptools/_vendor/platformdirs/android.py,sha256=xZXY9Jd46WOsxT2U6-5HsNtDZ-IQqxcEUrBLl3hYk4o,9016 -setuptools/_vendor/platformdirs/api.py,sha256=QBYdUac2eC521ek_y53uD1Dcq-lJX8IgSRVd4InC6uc,8996 -setuptools/_vendor/platformdirs/macos.py,sha256=wftsbsvq6nZ0WORXSiCrZNkRHz_WKuktl0a6mC7MFkI,5580 -setuptools/_vendor/platformdirs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/platformdirs/unix.py,sha256=Cci9Wqt35dAMsg6HT9nRGHSBW5obb0pR3AE1JJnsCXg,10643 -setuptools/_vendor/platformdirs/version.py,sha256=r7F76tZRjgQKzrpx_I0_ZMQOMU-PS7eGnHD7zEK3KB0,411 -setuptools/_vendor/platformdirs/windows.py,sha256=IFpiohUBwxPtCzlyKwNtxyW4Jk8haa6W8o59mfrDXVo,10125 -setuptools/_vendor/ruff.toml,sha256=XWlfZLXLxM4O_osKQZm4zOJlCmnKpl2W05Zbxz0Junc,16 -setuptools/_vendor/tomli-2.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/tomli-2.0.1.dist-info/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072 -setuptools/_vendor/tomli-2.0.1.dist-info/METADATA,sha256=zPDceKmPwJGLWtZykrHixL7WVXWmJGzZ1jyRT5lCoPI,8875 -setuptools/_vendor/tomli-2.0.1.dist-info/RECORD,sha256=DLn5pFGh42WsVLTIhmLh2gy1SnLRalJY-wq_-dPhwCI,999 -setuptools/_vendor/tomli-2.0.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/tomli-2.0.1.dist-info/WHEEL,sha256=jPMR_Dzkc4X4icQtmz81lnNY_kAsfog7ry7qoRvYLXw,81 -setuptools/_vendor/tomli/__init__.py,sha256=JhUwV66DB1g4Hvt1UQCVMdfCu-IgAV8FXmvDU9onxd4,396 -setuptools/_vendor/tomli/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/tomli/__pycache__/_parser.cpython-312.pyc,, -setuptools/_vendor/tomli/__pycache__/_re.cpython-312.pyc,, -setuptools/_vendor/tomli/__pycache__/_types.cpython-312.pyc,, -setuptools/_vendor/tomli/_parser.py,sha256=g9-ENaALS-B8dokYpCuzUFalWlog7T-SIYMjLZSWrtM,22633 -setuptools/_vendor/tomli/_re.py,sha256=dbjg5ChZT23Ka9z9DHOXfdtSpPwUfdgMXnj8NOoly-w,2943 -setuptools/_vendor/tomli/_types.py,sha256=-GTG2VUqkpxwMqzmVO4F7ybKddIbAnuAHXfmWQcTi3Q,254 -setuptools/_vendor/tomli/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26 -setuptools/_vendor/typeguard-4.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/typeguard-4.3.0.dist-info/LICENSE,sha256=YWP3mH37ONa8MgzitwsvArhivEESZRbVUu8c1DJH51g,1130 -setuptools/_vendor/typeguard-4.3.0.dist-info/METADATA,sha256=z2dcHAp0TwhYCFU5Deh8x31nazElgujUz9tbuP0pjSE,3717 -setuptools/_vendor/typeguard-4.3.0.dist-info/RECORD,sha256=SKUZWVgkeDUidUKM7s1473fXmsna55bjmi6vJUAoJVI,2402 -setuptools/_vendor/typeguard-4.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -setuptools/_vendor/typeguard-4.3.0.dist-info/entry_points.txt,sha256=qp7NQ1aLtiSgMQqo6gWlfGpy0IIXzoMJmeQTLpzqFZQ,48 -setuptools/_vendor/typeguard-4.3.0.dist-info/top_level.txt,sha256=4z28AhuDodwRS_c1J_l8H51t5QuwfTseskYzlxp6grs,10 -setuptools/_vendor/typeguard/__init__.py,sha256=Onh4w38elPCjtlcU3JY9k3h70NjsxXIkAflmQn-Z0FY,2071 -setuptools/_vendor/typeguard/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_checkers.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_config.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_decorators.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_exceptions.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_functions.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_importhook.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_memo.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_pytest_plugin.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_suppression.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_transformer.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_union_transformer.cpython-312.pyc,, -setuptools/_vendor/typeguard/__pycache__/_utils.cpython-312.pyc,, -setuptools/_vendor/typeguard/_checkers.py,sha256=JRrgKicdOEfIBoNEtegYCEIlhpad-a1u1Em7GCj0WCI,31360 -setuptools/_vendor/typeguard/_config.py,sha256=nIz8QwDa-oFO3L9O8_6srzlmd99pSby2wOM4Wb7F_B0,2846 -setuptools/_vendor/typeguard/_decorators.py,sha256=v6dsIeWvPhExGLP_wXF-RmDUyjZf_Ak28g7gBJ_v0-0,9033 -setuptools/_vendor/typeguard/_exceptions.py,sha256=ZIPeiV-FBd5Emw2EaWd2Fvlsrwi4ocwT2fVGBIAtHcQ,1121 -setuptools/_vendor/typeguard/_functions.py,sha256=ibgSAKa5ptIm1eR9ARG0BSozAFJPFNASZqhPVyQeqig,10393 -setuptools/_vendor/typeguard/_importhook.py,sha256=ugjCDvFcdWMU7UugqlJG91IpVNpEIxtRr-99s0h1k7M,6389 -setuptools/_vendor/typeguard/_memo.py,sha256=1juQV_vxnD2JYKbSrebiQuj4oKHz6n67v9pYA-CCISg,1303 -setuptools/_vendor/typeguard/_pytest_plugin.py,sha256=-fcSqkv54rIfIF8pDavY5YQPkj4OX8GMt_lL7CQSD4I,4416 -setuptools/_vendor/typeguard/_suppression.py,sha256=VQfzxcwIbu3if0f7VBkKM7hkYOA7tNFw9a7jMBsmMg4,2266 -setuptools/_vendor/typeguard/_transformer.py,sha256=9Ha7_QhdwoUni_6hvdY-hZbuEergowHrNL2vzHIakFY,44937 -setuptools/_vendor/typeguard/_union_transformer.py,sha256=v_42r7-6HuRX2SoFwnyJ-E5PlxXpVeUJPJR1-HU9qSo,1354 -setuptools/_vendor/typeguard/_utils.py,sha256=5HhO1rPn5f1M6ymkVAEv7Xmlz1cX-j0OnTMlyHqqrR8,5270 -setuptools/_vendor/typeguard/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/typing_extensions-4.12.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/typing_extensions-4.12.2.dist-info/LICENSE,sha256=Oy-B_iHRgcSZxZolbI4ZaEVdZonSaaqFNzv7avQdo78,13936 -setuptools/_vendor/typing_extensions-4.12.2.dist-info/METADATA,sha256=BeUQIa8cnYbrjWx-N8TOznM9UGW5Gm2DicVpDtRA8W0,3018 -setuptools/_vendor/typing_extensions-4.12.2.dist-info/RECORD,sha256=dxAALYGXHmMqpqL8M9xddKr118quIgQKZdPjFQOwXuk,571 -setuptools/_vendor/typing_extensions-4.12.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81 -setuptools/_vendor/typing_extensions.py,sha256=gwekpyG9DVG3lxWKX4ni8u7nk3We5slG98mA9F3DJQw,134451 -setuptools/_vendor/wheel-0.43.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/wheel-0.43.0.dist-info/LICENSE.txt,sha256=MMI2GGeRCPPo6h0qZYx8pBe9_IkcmO8aifpP8MmChlQ,1107 -setuptools/_vendor/wheel-0.43.0.dist-info/METADATA,sha256=WbrCKwClnT5WCKVrjPjvxDgxo2tyeS7kOJyc1GaceEE,2153 -setuptools/_vendor/wheel-0.43.0.dist-info/RECORD,sha256=eD5lR0JhGviM2fAL8BpDGiGdtTZVbmP_mBx71nMHCsk,4557 -setuptools/_vendor/wheel-0.43.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/wheel-0.43.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81 -setuptools/_vendor/wheel-0.43.0.dist-info/entry_points.txt,sha256=rTY1BbkPHhkGMm4Q3F0pIzJBzW2kMxoG1oriffvGdA0,104 -setuptools/_vendor/wheel/__init__.py,sha256=D6jhH00eMzbgrXGAeOwVfD5i-lCAMMycuG1L0useDlo,59 -setuptools/_vendor/wheel/__main__.py,sha256=NkMUnuTCGcOkgY0IBLgBCVC_BGGcWORx2K8jYGS12UE,455 -setuptools/_vendor/wheel/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/wheel/__pycache__/__main__.cpython-312.pyc,, -setuptools/_vendor/wheel/__pycache__/_setuptools_logging.cpython-312.pyc,, -setuptools/_vendor/wheel/__pycache__/bdist_wheel.cpython-312.pyc,, -setuptools/_vendor/wheel/__pycache__/macosx_libfile.cpython-312.pyc,, -setuptools/_vendor/wheel/__pycache__/metadata.cpython-312.pyc,, -setuptools/_vendor/wheel/__pycache__/util.cpython-312.pyc,, -setuptools/_vendor/wheel/__pycache__/wheelfile.cpython-312.pyc,, -setuptools/_vendor/wheel/_setuptools_logging.py,sha256=NoCnjJ4DFEZ45Eo-2BdXLsWJCwGkait1tp_17paleVw,746 -setuptools/_vendor/wheel/bdist_wheel.py,sha256=OKJyp9E831zJrxoRfmM9AgOjByG1CB-pzF5kXQFmaKk,20938 -setuptools/_vendor/wheel/cli/__init__.py,sha256=eBNhnPwWTtdKAJHy77lvz7gOQ5Eu3GavGugXxhSsn-U,4264 -setuptools/_vendor/wheel/cli/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/wheel/cli/__pycache__/convert.cpython-312.pyc,, -setuptools/_vendor/wheel/cli/__pycache__/pack.cpython-312.pyc,, -setuptools/_vendor/wheel/cli/__pycache__/tags.cpython-312.pyc,, -setuptools/_vendor/wheel/cli/__pycache__/unpack.cpython-312.pyc,, -setuptools/_vendor/wheel/cli/convert.py,sha256=qJcpYGKqdfw1P6BelgN1Hn_suNgM6bvyEWFlZeuSWx0,9439 -setuptools/_vendor/wheel/cli/pack.py,sha256=CAFcHdBVulvsHYJlndKVO7KMI9JqBTZz5ii0PKxxCOs,3103 -setuptools/_vendor/wheel/cli/tags.py,sha256=lHw-LaWrkS5Jy_qWcw-6pSjeNM6yAjDnqKI3E5JTTCU,4760 -setuptools/_vendor/wheel/cli/unpack.py,sha256=Y_J7ynxPSoFFTT7H0fMgbBlVErwyDGcObgme5MBuz58,1021 -setuptools/_vendor/wheel/macosx_libfile.py,sha256=HnW6OPdN993psStvwl49xtx2kw7hoVbe6nvwmf8WsKI,16103 -setuptools/_vendor/wheel/metadata.py,sha256=q-xCCqSAK7HzyZxK9A6_HAWmhqS1oB4BFw1-rHQxBiQ,5884 -setuptools/_vendor/wheel/util.py,sha256=e0jpnsbbM9QhaaMSyap-_ZgUxcxwpyLDk6RHcrduPLg,621 -setuptools/_vendor/wheel/vendored/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/wheel/vendored/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/wheel/vendored/packaging/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/_elffile.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/_manylinux.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/_musllinux.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/_parser.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/_structures.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/_tokenizer.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/markers.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/requirements.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/specifiers.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/tags.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/utils.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/__pycache__/version.cpython-312.pyc,, -setuptools/_vendor/wheel/vendored/packaging/_elffile.py,sha256=hbmK8OD6Z7fY6hwinHEUcD1by7czkGiNYu7ShnFEk2k,3266 -setuptools/_vendor/wheel/vendored/packaging/_manylinux.py,sha256=P7sdR5_7XBY09LVYYPhHmydMJIIwPXWsh4olk74Uuj4,9588 -setuptools/_vendor/wheel/vendored/packaging/_musllinux.py,sha256=z1s8To2hQ0vpn_d-O2i5qxGwEK8WmGlLt3d_26V7NeY,2674 -setuptools/_vendor/wheel/vendored/packaging/_parser.py,sha256=4tT4emSl2qTaU7VTQE1Xa9o1jMPCsBezsYBxyNMUN-s,10347 -setuptools/_vendor/wheel/vendored/packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431 -setuptools/_vendor/wheel/vendored/packaging/_tokenizer.py,sha256=alCtbwXhOFAmFGZ6BQ-wCTSFoRAJ2z-ysIf7__MTJ_k,5292 -setuptools/_vendor/wheel/vendored/packaging/markers.py,sha256=_TSPI1BhJYO7Bp9AzTmHQxIqHEVXaTjmDh9G-w8qzPA,8232 -setuptools/_vendor/wheel/vendored/packaging/requirements.py,sha256=dgoBeVprPu2YE6Q8nGfwOPTjATHbRa_ZGLyXhFEln6Q,2933 -setuptools/_vendor/wheel/vendored/packaging/specifiers.py,sha256=IWSt0SrLSP72heWhAC8UL0eGvas7XIQHjqiViVfmPKE,39778 -setuptools/_vendor/wheel/vendored/packaging/tags.py,sha256=fedHXiOHkBxNZTXotXv8uXPmMFU9ae-TKBujgYHigcA,18950 -setuptools/_vendor/wheel/vendored/packaging/utils.py,sha256=XgdmP3yx9-wQEFjO7OvMj9RjEf5JlR5HFFR69v7SQ9E,5268 -setuptools/_vendor/wheel/vendored/packaging/version.py,sha256=PFJaYZDxBgyxkfYhH3SQw4qfE9ICCWrTmitvq14y3bs,16234 -setuptools/_vendor/wheel/vendored/vendor.txt,sha256=Z2ENjB1i5prfez8CdM1Sdr3c6Zxv2rRRolMpLmBncAE,16 -setuptools/_vendor/wheel/wheelfile.py,sha256=DtJDWoZMvnBh4leNMDPGOprQU9d_dp6q-MmV0U--4xc,7694 -setuptools/_vendor/zipp-3.19.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -setuptools/_vendor/zipp-3.19.2.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -setuptools/_vendor/zipp-3.19.2.dist-info/METADATA,sha256=UIrk_kMIHGSwsKKChYizqMw0MMZpPRZ2ZiVpQAsN_bE,3575 -setuptools/_vendor/zipp-3.19.2.dist-info/RECORD,sha256=8xby4D_ZrefrvAsVRwaEjiu4_VaLkJNRCfDY484rm_4,1039 -setuptools/_vendor/zipp-3.19.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/zipp-3.19.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -setuptools/_vendor/zipp-3.19.2.dist-info/top_level.txt,sha256=iAbdoSHfaGqBfVb2XuR9JqSQHCoOsOtG6y9C_LSpqFw,5 -setuptools/_vendor/zipp/__init__.py,sha256=QuI1g00G4fRAcGt-HqbV0oWIkmSgedCGGYsHHYzNa8A,13412 -setuptools/_vendor/zipp/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/zipp/__pycache__/glob.cpython-312.pyc,, -setuptools/_vendor/zipp/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/_vendor/zipp/compat/__pycache__/__init__.cpython-312.pyc,, -setuptools/_vendor/zipp/compat/__pycache__/py310.cpython-312.pyc,, -setuptools/_vendor/zipp/compat/py310.py,sha256=eZpkW0zRtunkhEh8jjX3gCGe22emoKCBJw72Zt4RkhA,219 -setuptools/_vendor/zipp/glob.py,sha256=etWpnfEoRyfUvrUsi6sTiGmErvPwe6HzY6pT8jg_lUI,3082 -setuptools/archive_util.py,sha256=yeHVI2dNJxDX-ZOwxVLMt3FVHgkDPBVfFDSK19RTFsE,7370 -setuptools/build_meta.py,sha256=rry-LowqvWFsxG6Qm5QWetHJGeETzRdiQ5-bs4bOkjo,20446 -setuptools/cli-32.exe,sha256=MqzBvFQxFsviz_EMuGd3LfLyVP8mNMhwrvC0bEtpb9s,11776 -setuptools/cli-64.exe,sha256=u7PeVwdinmpgoMI4zUd7KPB_AGaYL9qVP6b87DkHOko,14336 -setuptools/cli-arm64.exe,sha256=uafQjaiA36yLz1SOuksG-1m28JsX0zFIoPZhgyiSbGE,13824 -setuptools/cli.exe,sha256=MqzBvFQxFsviz_EMuGd3LfLyVP8mNMhwrvC0bEtpb9s,11776 -setuptools/command/__init__.py,sha256=wdSrlNR0P6nCz9_oFtCAiAkeFJMsZa1jPcpXT53f0SM,803 -setuptools/command/__pycache__/__init__.cpython-312.pyc,, -setuptools/command/__pycache__/_requirestxt.cpython-312.pyc,, -setuptools/command/__pycache__/alias.cpython-312.pyc,, -setuptools/command/__pycache__/bdist_egg.cpython-312.pyc,, -setuptools/command/__pycache__/bdist_rpm.cpython-312.pyc,, -setuptools/command/__pycache__/bdist_wheel.cpython-312.pyc,, -setuptools/command/__pycache__/build.cpython-312.pyc,, -setuptools/command/__pycache__/build_clib.cpython-312.pyc,, -setuptools/command/__pycache__/build_ext.cpython-312.pyc,, -setuptools/command/__pycache__/build_py.cpython-312.pyc,, -setuptools/command/__pycache__/develop.cpython-312.pyc,, -setuptools/command/__pycache__/dist_info.cpython-312.pyc,, -setuptools/command/__pycache__/easy_install.cpython-312.pyc,, -setuptools/command/__pycache__/editable_wheel.cpython-312.pyc,, -setuptools/command/__pycache__/egg_info.cpython-312.pyc,, -setuptools/command/__pycache__/install.cpython-312.pyc,, -setuptools/command/__pycache__/install_egg_info.cpython-312.pyc,, -setuptools/command/__pycache__/install_lib.cpython-312.pyc,, -setuptools/command/__pycache__/install_scripts.cpython-312.pyc,, -setuptools/command/__pycache__/rotate.cpython-312.pyc,, -setuptools/command/__pycache__/saveopts.cpython-312.pyc,, -setuptools/command/__pycache__/sdist.cpython-312.pyc,, -setuptools/command/__pycache__/setopt.cpython-312.pyc,, -setuptools/command/__pycache__/test.cpython-312.pyc,, -setuptools/command/_requirestxt.py,sha256=k-7rRREYBJysB4895tOhcz-E5FtV0M_kv9mD0nhjPhg,4233 -setuptools/command/alias.py,sha256=A6i0yxV_sTVxT9shAhuWQeLtdN9_nb1QtdUTKOZaots,2380 -setuptools/command/bdist_egg.py,sha256=g6ISVJl5lREBCqtfK-ldSFxPxD2F9LWw1CX5NfBzLnU,16980 -setuptools/command/bdist_rpm.py,sha256=LyqI49w48SKk0FmuHsE9MLzX1SuXjL7YMNbZMFZqFII,1435 -setuptools/command/bdist_wheel.py,sha256=RyczV_Cle2Hdjq88HMd10l7bQ-p5ltPt9YD50dWjOWY,22317 -setuptools/command/build.py,sha256=eI7STMERGGZEpzk1tvJN8p9IOjAAXMcGLzljv2mwI3M,6052 -setuptools/command/build_clib.py,sha256=mCqd3k7veCGyN0HAm3PMO62SGkZEZFmKrsHMqBgMwTs,4536 -setuptools/command/build_ext.py,sha256=qqwlO11bFxsyKU9tFocfgH_s4fCgX2YvKWqcZHCycMc,18379 -setuptools/command/build_py.py,sha256=GFoTdLd3-jTPXiCRGRBZi3l5Q24JetHvztWhtaIYuWI,15544 -setuptools/command/develop.py,sha256=zX22119sI1G1gfJ1gNCE4hkg2zbLKx0uUwvNmC5bIu8,6886 -setuptools/command/dist_info.py,sha256=JItFefDEZXyz3jrjo-DVQS_IFE3O4iVBszNTBnQsphA,3458 -setuptools/command/easy_install.py,sha256=JPyd-GmTAQspChVVNwimqh4XV-9irQ3HfD4wBVWYfDg,87904 -setuptools/command/editable_wheel.py,sha256=x-H-pjlQbC2MooklSbPa8N-CXR_SK--7HzNgqA8dyG4,35648 -setuptools/command/egg_info.py,sha256=USa6tS1HFh7dngoWtwHS78dtWcLIS0z0UTJ9tbz7vgg,26024 -setuptools/command/install.py,sha256=1PKfoE4F9fTDHmccflDnkb289CIcldY3aPtHyYuusHM,7045 -setuptools/command/install_egg_info.py,sha256=yw7uPWJRZkfB99z5cetZlIerJd_FFDFWQS3QPUUY3qo,2081 -setuptools/command/install_lib.py,sha256=9n1_U83eHcERL_a_rv_LhHCkhXlLdqyZ4SdBow-9qcE,4319 -setuptools/command/install_scripts.py,sha256=tVOCj3e8OTIrkoL_bGbT5pOksdxZfQblH_bdI4DtVV4,2637 -setuptools/command/launcher manifest.xml,sha256=xlLbjWrB01tKC0-hlVkOKkiSPbzMml2eOPtJ_ucCnbE,628 -setuptools/command/rotate.py,sha256=XNd_BEEOWAJHW1FcLTMUWWl4QB6zAuk7b8VWQg3FHos,2187 -setuptools/command/saveopts.py,sha256=Np0PVb7SD7oTbu9Z9sosS7D-CkkIkU7x4glu5Es1tjA,692 -setuptools/command/sdist.py,sha256=KaVJnF8MYEbMg-TkC6lmFBG6g1xT7XPLUx0NI7gcH64,7383 -setuptools/command/setopt.py,sha256=vBJNQp-RAcJDORkbO2l5L2Nj7AYEjsRKhM2It5mNTdk,5102 -setuptools/command/test.py,sha256=k7xcq7D7bEehgxarbw-dW3AtmGZORqz8HjKR6FGJ3jk,1343 -setuptools/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/compat/__pycache__/__init__.cpython-312.pyc,, -setuptools/compat/__pycache__/py310.cpython-312.pyc,, -setuptools/compat/__pycache__/py311.cpython-312.pyc,, -setuptools/compat/__pycache__/py312.cpython-312.pyc,, -setuptools/compat/__pycache__/py39.cpython-312.pyc,, -setuptools/compat/py310.py,sha256=8sqwWczIcrkzeAbhaim4pKVd4tXZdcqmebgdvzji0rc,141 -setuptools/compat/py311.py,sha256=e6tJAFwZEP82hmMBl10HYeSypelo_Ti2wTjKZVKLwOE,790 -setuptools/compat/py312.py,sha256=vYKVtdrdOTsO_R90dJkEXsFwfMJFuIFJflhIgHrjJ-Y,366 -setuptools/compat/py39.py,sha256=BJMtnkfcqyTfccqjYQxfoRtU2nTnWaEESBVkshTiXqY,493 -setuptools/config/NOTICE,sha256=Ld3wiBgpejuJ1D2V_2WdjahXQRCMkTbfo6TYVsBiO9g,493 -setuptools/config/__init__.py,sha256=aiPnL9BJn1O6MfmuNXyn8W2Lp8u9qizRVqwPiOdPIjY,1499 -setuptools/config/__pycache__/__init__.cpython-312.pyc,, -setuptools/config/__pycache__/_apply_pyprojecttoml.cpython-312.pyc,, -setuptools/config/__pycache__/expand.cpython-312.pyc,, -setuptools/config/__pycache__/pyprojecttoml.cpython-312.pyc,, -setuptools/config/__pycache__/setupcfg.cpython-312.pyc,, -setuptools/config/_apply_pyprojecttoml.py,sha256=bbnItSfeiuNZRP2lfSOYS4VtWSSBj81ebft3U8uA9Q0,15655 -setuptools/config/_validate_pyproject/NOTICE,sha256=Ccm86pXKCG-Lxb7RdOQLyDWyl9QPtfhru7Vw_gpVgac,18737 -setuptools/config/_validate_pyproject/__init__.py,sha256=dnp6T7ePP1R5z4OuC7Fd2dkFlIrtIfizUfvpGJP6nz0,1042 -setuptools/config/_validate_pyproject/__pycache__/__init__.cpython-312.pyc,, -setuptools/config/_validate_pyproject/__pycache__/error_reporting.cpython-312.pyc,, -setuptools/config/_validate_pyproject/__pycache__/extra_validations.cpython-312.pyc,, -setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_exceptions.cpython-312.pyc,, -setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_validations.cpython-312.pyc,, -setuptools/config/_validate_pyproject/__pycache__/formats.cpython-312.pyc,, -setuptools/config/_validate_pyproject/error_reporting.py,sha256=meldD7nBQdolQhvG-43r1Ue-gU1n7ORAJR86vh3Rrvk,11813 -setuptools/config/_validate_pyproject/extra_validations.py,sha256=kd0SWYrsp3IXF9KGAM8QpeaKpGyMsNgL-tjh9TPfhyY,1625 -setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py,sha256=w749JgqKi8clBFcObdcbZVqsmF4oJ_QByhZ1SGbUFNw,1612 -setuptools/config/_validate_pyproject/fastjsonschema_validations.py,sha256=T8RvJSi53YBfDB4mRPuF6gsPxx8-u8KYX56y3qokp_4,335460 -setuptools/config/_validate_pyproject/formats.py,sha256=Mjz6Rjx1BMDw2XTMAfS-sM5x5Fv5aX2Zk_q5M_7rf_c,12814 -setuptools/config/distutils.schema.json,sha256=Tcp32kRnhwORGw_9p6GEi08lj2h15tQRzOYBbzGmcBU,972 -setuptools/config/expand.py,sha256=gK9a6xgve3p9BlpSDEOJ1TfAhu_v59HQb8RFkZXwf6E,15889 -setuptools/config/pyprojecttoml.py,sha256=Tv7agKBbhzPAEQsE2vKpL2rG8cZmSBFK_hJLSkdgxsM,18325 -setuptools/config/setupcfg.py,sha256=LAnAB-ce03zL3EEDtur7TXffQT7_parl98dJiqLRzKo,25853 -setuptools/config/setuptools.schema.json,sha256=dZBRuSEnZkatoVlt1kVwG8ocTeRdO7BD0xvOWKH54PY,16071 -setuptools/depends.py,sha256=9sN0A96iocg6U-EqiSmlLFH52csbAfvQwrkZE9WDAqQ,5971 -setuptools/discovery.py,sha256=-42c3XhwzkfodDKKP50C2YBzr11fncAgmUzBdBRb0-Q,21258 -setuptools/dist.py,sha256=qs6ckNT_BJa8GdnBibykOcqXMjlgQol5BSavMZnkRGE,38696 -setuptools/errors.py,sha256=gY2x2PIaIgy01yRANRC-zcCwxDCqCScgJoCOZFe0yio,3024 -setuptools/extension.py,sha256=KCnv9p3tgm0ZVqtgE451fyILsm4hCyvOiUtOu787D-4,6683 -setuptools/glob.py,sha256=AC_B33DY8g-CHELxDsJrtwFrpiucSAZsakPFdSOQzhc,6062 -setuptools/gui-32.exe,sha256=hdrh6V13hF8stZvKw9Sv50u-TJGpvMW_SnHNQxBNvnw,11776 -setuptools/gui-64.exe,sha256=NHG2FA6txkEid9u-_j_vjDRaDxpZd2CGuAo2GMOoPjs,14336 -setuptools/gui-arm64.exe,sha256=5pT0dDQFyLWSb_RX22_n8aEt7HwWqcOGR4TT9OB64Jc,13824 -setuptools/gui.exe,sha256=hdrh6V13hF8stZvKw9Sv50u-TJGpvMW_SnHNQxBNvnw,11776 -setuptools/installer.py,sha256=_4Wegx4r3L05sMo3-IlqFp-OuxnWyBqjyMZ7LWQXmh8,5110 -setuptools/launch.py,sha256=IBb5lEv69CyuZ9ewIrmKlXh154kdLmP29LKfTMkximE,820 -setuptools/logging.py,sha256=W16iHJ1HcCXYQ0RxyrEfJ83FT4175tCtoYg-E6uSpVI,1261 -setuptools/modified.py,sha256=ZwbfBfCFP88ltvbv_dJDz-t1LsQjnM-JUpgZnnQZjjM,568 -setuptools/monkey.py,sha256=Xaf-mh-3NByUYGSVwMH_PiClK0rGZVag_S03CmA-VQE,3717 -setuptools/msvc.py,sha256=mHAoN87mbwCA4egVL93HKidp_RhvBrbGwsvqjW3raLg,41334 -setuptools/namespaces.py,sha256=2GGqYY1BNDEhMtBc1rHTv7klgmNVRdksJeW-L1f--ys,3171 -setuptools/package_index.py,sha256=fz8jf0oJ5pb9NS5jYAfVW3STUpPnobqccrsC3yMOOHM,39369 -setuptools/sandbox.py,sha256=fMqtcOuipHO6RKPh1YB5o7d985dLKo76Whp3vrIei2E,14906 -setuptools/script (dev).tmpl,sha256=RUzQzCQUaXtwdLtYHWYbIQmOaES5Brqq1FvUA_tu-5I,218 -setuptools/script.tmpl,sha256=WGTt5piezO27c-Dbx6l5Q4T3Ff20A5z7872hv3aAhYY,138 -setuptools/tests/__init__.py,sha256=AnBfls2iJbTDQzmMKeLRt-9lxhaOHUVOZEgXv89Uwvs,335 -setuptools/tests/__pycache__/__init__.cpython-312.pyc,, -setuptools/tests/__pycache__/contexts.cpython-312.pyc,, -setuptools/tests/__pycache__/environment.cpython-312.pyc,, -setuptools/tests/__pycache__/fixtures.cpython-312.pyc,, -setuptools/tests/__pycache__/mod_with_constant.cpython-312.pyc,, -setuptools/tests/__pycache__/namespaces.cpython-312.pyc,, -setuptools/tests/__pycache__/script-with-bom.cpython-312.pyc,, -setuptools/tests/__pycache__/server.cpython-312.pyc,, -setuptools/tests/__pycache__/test_archive_util.cpython-312.pyc,, -setuptools/tests/__pycache__/test_bdist_deprecations.cpython-312.pyc,, -setuptools/tests/__pycache__/test_bdist_egg.cpython-312.pyc,, -setuptools/tests/__pycache__/test_bdist_wheel.cpython-312.pyc,, -setuptools/tests/__pycache__/test_build.cpython-312.pyc,, -setuptools/tests/__pycache__/test_build_clib.cpython-312.pyc,, -setuptools/tests/__pycache__/test_build_ext.cpython-312.pyc,, -setuptools/tests/__pycache__/test_build_meta.cpython-312.pyc,, -setuptools/tests/__pycache__/test_build_py.cpython-312.pyc,, -setuptools/tests/__pycache__/test_config_discovery.cpython-312.pyc,, -setuptools/tests/__pycache__/test_core_metadata.cpython-312.pyc,, -setuptools/tests/__pycache__/test_depends.cpython-312.pyc,, -setuptools/tests/__pycache__/test_develop.cpython-312.pyc,, -setuptools/tests/__pycache__/test_dist.cpython-312.pyc,, -setuptools/tests/__pycache__/test_dist_info.cpython-312.pyc,, -setuptools/tests/__pycache__/test_distutils_adoption.cpython-312.pyc,, -setuptools/tests/__pycache__/test_easy_install.cpython-312.pyc,, -setuptools/tests/__pycache__/test_editable_install.cpython-312.pyc,, -setuptools/tests/__pycache__/test_egg_info.cpython-312.pyc,, -setuptools/tests/__pycache__/test_extern.cpython-312.pyc,, -setuptools/tests/__pycache__/test_find_packages.cpython-312.pyc,, -setuptools/tests/__pycache__/test_find_py_modules.cpython-312.pyc,, -setuptools/tests/__pycache__/test_glob.cpython-312.pyc,, -setuptools/tests/__pycache__/test_install_scripts.cpython-312.pyc,, -setuptools/tests/__pycache__/test_logging.cpython-312.pyc,, -setuptools/tests/__pycache__/test_manifest.cpython-312.pyc,, -setuptools/tests/__pycache__/test_namespaces.cpython-312.pyc,, -setuptools/tests/__pycache__/test_packageindex.cpython-312.pyc,, -setuptools/tests/__pycache__/test_sandbox.cpython-312.pyc,, -setuptools/tests/__pycache__/test_sdist.cpython-312.pyc,, -setuptools/tests/__pycache__/test_setopt.cpython-312.pyc,, -setuptools/tests/__pycache__/test_setuptools.cpython-312.pyc,, -setuptools/tests/__pycache__/test_shutil_wrapper.cpython-312.pyc,, -setuptools/tests/__pycache__/test_unicode_utils.cpython-312.pyc,, -setuptools/tests/__pycache__/test_virtualenv.cpython-312.pyc,, -setuptools/tests/__pycache__/test_warnings.cpython-312.pyc,, -setuptools/tests/__pycache__/test_wheel.cpython-312.pyc,, -setuptools/tests/__pycache__/test_windows_wrappers.cpython-312.pyc,, -setuptools/tests/__pycache__/text.cpython-312.pyc,, -setuptools/tests/__pycache__/textwrap.cpython-312.pyc,, -setuptools/tests/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/tests/compat/__pycache__/__init__.cpython-312.pyc,, -setuptools/tests/compat/__pycache__/py39.cpython-312.pyc,, -setuptools/tests/compat/py39.py,sha256=eUy7_F-6KRTOIKl-veshUu6I0EdTSdBZMh0EV0lZ1-g,135 -setuptools/tests/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/tests/config/__pycache__/__init__.cpython-312.pyc,, -setuptools/tests/config/__pycache__/test_apply_pyprojecttoml.cpython-312.pyc,, -setuptools/tests/config/__pycache__/test_expand.cpython-312.pyc,, -setuptools/tests/config/__pycache__/test_pyprojecttoml.cpython-312.pyc,, -setuptools/tests/config/__pycache__/test_pyprojecttoml_dynamic_deps.cpython-312.pyc,, -setuptools/tests/config/__pycache__/test_setupcfg.cpython-312.pyc,, -setuptools/tests/config/downloads/__init__.py,sha256=9ixnDEdyL_arKbUzfuiJftAj9bGxKz8M9alOFZMjx9Y,1827 -setuptools/tests/config/downloads/__pycache__/__init__.cpython-312.pyc,, -setuptools/tests/config/downloads/__pycache__/preload.cpython-312.pyc,, -setuptools/tests/config/downloads/preload.py,sha256=sIGGZpY3cmMpMwiJYYYYHG2ifZJkvJgEotRFtiulV1I,450 -setuptools/tests/config/setupcfg_examples.txt,sha256=cAbVvCbkFZuTUL6xRRzRgqyB0rLvJTfvw3D30glo2OE,1912 -setuptools/tests/config/test_apply_pyprojecttoml.py,sha256=A86jyUo9lPVb2YCYKhcpKDPQATSJGYjjFz-b27ctcT0,19296 -setuptools/tests/config/test_expand.py,sha256=bATQN7TCk08HOf4CetwSFysEztlhnta11lKvwCCklPY,8129 -setuptools/tests/config/test_pyprojecttoml.py,sha256=0LefSljUhA6MqtJ5AVzLhomqZcYiFKdu_1ckDeMT1LY,12406 -setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py,sha256=9W73-yLhZJmvCiO4rTiQoBpZT5wNA90Xbd5n2HCshd4,3271 -setuptools/tests/config/test_setupcfg.py,sha256=sGq-xsDA1pd257-AW0n5UHSTF7CUfTqwxkca2vKV8LA,33197 -setuptools/tests/contexts.py,sha256=TAdZKxmmodx1ExMVo01o4QpRjpIpo4X3IWKq_BnjxpU,3480 -setuptools/tests/environment.py,sha256=95_UtTaRiuvwYC9eXKEHbn02kDtZysvZq3UZJmPUj1I,3102 -setuptools/tests/fixtures.py,sha256=-V7iD6BeE2E0Rw6dVvTOCm36JG8ZTTnrXhN0GISlgrg,5197 -setuptools/tests/indexes/test_links_priority/external.html,sha256=eL9euOuE93JKZdqlXxBOlHbKwIuNuIdq7GBRpsaPMcU,92 -setuptools/tests/indexes/test_links_priority/simple/foobar/index.html,sha256=DD-TKr7UU4zAjHHz4VexYDNSAzR27levSh1c-k3ZdLE,174 -setuptools/tests/integration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -setuptools/tests/integration/__pycache__/__init__.cpython-312.pyc,, -setuptools/tests/integration/__pycache__/helpers.cpython-312.pyc,, -setuptools/tests/integration/__pycache__/test_pip_install_sdist.cpython-312.pyc,, -setuptools/tests/integration/helpers.py,sha256=3PHcS9SCA-fwVJmUP2ad5NQOttJAETI5Nnoc_xroO5k,2522 -setuptools/tests/integration/test_pip_install_sdist.py,sha256=uZW03e141p--A16Ot4YAugBS3h6yAhElPaQyTSJAnzI,8204 -setuptools/tests/mod_with_constant.py,sha256=X_Kj80M55w1tmQ4f7uZY91ZTALo4hKVT6EHxgYocUMQ,22 -setuptools/tests/namespaces.py,sha256=HPcI3nR5MCFWXpaADIJ1fwKxymcQgBkuw87Ic5PUSAQ,2774 -setuptools/tests/script-with-bom.py,sha256=hRRgIizEULGiG_ZTNoMY46HhKhxpWfy5FGcD6Qbh5fc,18 -setuptools/tests/server.py,sha256=ZRJOKKQGUoa03ijPFrFiqNId428Eb9uy_ysOZtagUNs,2403 -setuptools/tests/test_archive_util.py,sha256=buuKdY8XkW26Pe3IKAoBRGHG0MDumnuNoPg2WsAQzIg,845 -setuptools/tests/test_bdist_deprecations.py,sha256=75Xq3gYn79LIIyusEltbHan0bEgAt2e_CaL7KLS8-KQ,775 -setuptools/tests/test_bdist_egg.py,sha256=6PaYN1F3JDbIh1uK0urv7yJFcx98z5dn9SOJ8Mv91l8,1957 -setuptools/tests/test_bdist_wheel.py,sha256=C3Pp7p2fUCGvuH0Idq8lCC2ABhsu4G2iN5JaocyNHQw,19906 -setuptools/tests/test_build.py,sha256=wJgMz2hwHADcLFg-nXrwRVhus7hjmAeEGgrpIQwCGnA,798 -setuptools/tests/test_build_clib.py,sha256=bX51XRAf4uO7IuHFpjePnoK8mE74N2gsoeEqF-ofgws,3123 -setuptools/tests/test_build_ext.py,sha256=g0VuZck-HIPr3yo2uNm8kD4HyFNfwmxKU6qPLYznGWo,10024 -setuptools/tests/test_build_meta.py,sha256=iRoGOf5vehltTldbghc97pHj-8nDya_Nl9-Bsdyl8Q0,33574 -setuptools/tests/test_build_py.py,sha256=-1DnEEJgavQFPzoLgHc-QriFv0llaOp1YEr7LDXCSBo,14187 -setuptools/tests/test_config_discovery.py,sha256=FqV-lOtkqaI-ayzU2zocSdD5TaRAgCZnixNDilKA6FQ,22580 -setuptools/tests/test_core_metadata.py,sha256=hhW1mYGNgnGasAoz5O1TBfTfnGB6crK8O_m2FIgJm_4,15795 -setuptools/tests/test_depends.py,sha256=yQBXoQbNQlJit6mbRVoz6Bb553f3sNrq02lZimNz5XY,424 -setuptools/tests/test_develop.py,sha256=CLzXZ8-b5-VFTuau4P4yXEdLx1UdyTFcOfrV0qyUIdE,5142 -setuptools/tests/test_dist.py,sha256=2KlBtacaOrRLKJodNnQI_Aw0_OydoR2lPFGAaSuNXuI,8903 -setuptools/tests/test_dist_info.py,sha256=Agy3L0M3hF5dxXwSpLJwIbgJI3ODy_bsH23cEUR2OlM,7094 -setuptools/tests/test_distutils_adoption.py,sha256=_eynrOfyEqXFEmjUJhzpe8GXPyTUPvNSObs4qAAmBy8,5987 -setuptools/tests/test_easy_install.py,sha256=UMVIafA04gj0ID61V1UkJ4xbx4jRj13Oh8P-Aoo75ds,53398 -setuptools/tests/test_editable_install.py,sha256=7eTEtpT0k7QeVyZg64eh3kZn-SjckuB9LcokOuV37DI,43383 -setuptools/tests/test_egg_info.py,sha256=ojMlQZquqfkFdAn23XW-oPllxuv6atLwrl40WtYG0Qg,44063 -setuptools/tests/test_extern.py,sha256=rpKU6oCcksumLwf5TeKlDluFQ0TUfbPwTLQbpxcFrCU,296 -setuptools/tests/test_find_packages.py,sha256=CTLAcTzWGWBLCcd2aAsUVkvO3ibrlqexFBdDKOWPoq8,7819 -setuptools/tests/test_find_py_modules.py,sha256=zQjuhIG5TQN2SJPix9ARo4DL_w84Ln8QsHDUjjbrtAQ,2404 -setuptools/tests/test_glob.py,sha256=P3JvpH-kXQ4BZ3zvRF-zKxOgwyWzwIaQIz0WHdxS0kk,887 -setuptools/tests/test_install_scripts.py,sha256=bJFXiOYmMd-7ZgB9Kueh_vmiiBtTD3jDFOCSkzSys9Q,3441 -setuptools/tests/test_logging.py,sha256=zlE5DlldukC7Jc54FNvDV_7ux3ErAkrfrN5CSsnNOUQ,2099 -setuptools/tests/test_manifest.py,sha256=R20Xih-6gAPXAhNryrtRTK6IPrAKn3WuUFzX7NbZCuc,18574 -setuptools/tests/test_namespaces.py,sha256=Y6utoe5PHHqL_DlgawqB9F8XpsUDPvvw1sQMenK04e0,4515 -setuptools/tests/test_packageindex.py,sha256=qEjLHpSu2gAkegwEstzHQT-Om1uQIYjA8zeNzEX79uo,8775 -setuptools/tests/test_sandbox.py,sha256=sLaKBRkvQ3NpI0ZNewIjWiwCTmuuie8IPkJQyx-5kX0,4333 -setuptools/tests/test_sdist.py,sha256=JdADuT2MWiBSIcNLd3o9oC4y2XGP5FZIT9Dp89RdXT8,32440 -setuptools/tests/test_setopt.py,sha256=3VxxM4ATfP-P4AGnDjoWCnHr5-i9CSEQTFYU1-FTnvI,1365 -setuptools/tests/test_setuptools.py,sha256=_eIhqKf45-OtHqxRf20KndOZJlJdS0PuFLXBO3M-LN8,9008 -setuptools/tests/test_shutil_wrapper.py,sha256=g15E11PtZxG-InB2BWNFyH-svObXx2XcMhgMLJPuFnc,641 -setuptools/tests/test_unicode_utils.py,sha256=xWfEEl8jkQCt9othUTXJfFmdyATAFggJs2tTxjbumbw,316 -setuptools/tests/test_virtualenv.py,sha256=g-njC_9JTAs1YVx_1dGJ_Q6RlInO4qKVu9-XAgNb6TY,3730 -setuptools/tests/test_warnings.py,sha256=zwR2zcnCeCeDqILZlJOPAcuyPHoDvGu1OtOVYiLMk74,3347 -setuptools/tests/test_wheel.py,sha256=jkgYNG1IdQGH4eElburXBNLE5KyHGpHQYZv4tptaOok,19402 -setuptools/tests/test_windows_wrappers.py,sha256=gSgsnJTn5djTWXq5huPPhvgjd1HA1GlzgwQzhdRsHGo,7897 -setuptools/tests/text.py,sha256=a12197pMVTvB6FAWQ0ujT8fIQiLIWJlFAl1UCaDUDfg,123 -setuptools/tests/textwrap.py,sha256=FNNNq_MiaEJx88PnsbJQIRxmj1qmgcAOCXXRsODPJN4,98 -setuptools/unicode_utils.py,sha256=d9M9xmxKQIJYwNZFa4IPpIFEKTbxIAae1jNoVxu12Aw,3190 -setuptools/version.py,sha256=WJCeUuyq74Aok2TeK9-OexZOu8XrlQy7-y0BEuWNovQ,161 -setuptools/warnings.py,sha256=oY0Se5eOqje_FEyjTgonUc0XGwgsrI5cgm1kkwulz_w,3796 -setuptools/wheel.py,sha256=G88Mma4rdUkn_hn-GMwKiP0jfHXShb6nP8AdMBbQJSw,8634 -setuptools/windows_support.py,sha256=wW4IYLM1Bv7Z1MaauP2xmPjyy-wkmQnXdyvXscAf9fw,726 diff --git a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/WHEEL deleted file mode 100644 index ae527e7d..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: setuptools (75.6.0) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/entry_points.txt b/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/entry_points.txt deleted file mode 100644 index 0db0a6c8..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/entry_points.txt +++ /dev/null @@ -1,51 +0,0 @@ -[distutils.commands] -alias = setuptools.command.alias:alias -bdist_egg = setuptools.command.bdist_egg:bdist_egg -bdist_rpm = setuptools.command.bdist_rpm:bdist_rpm -bdist_wheel = setuptools.command.bdist_wheel:bdist_wheel -build = setuptools.command.build:build -build_clib = setuptools.command.build_clib:build_clib -build_ext = setuptools.command.build_ext:build_ext -build_py = setuptools.command.build_py:build_py -develop = setuptools.command.develop:develop -dist_info = setuptools.command.dist_info:dist_info -easy_install = setuptools.command.easy_install:easy_install -editable_wheel = setuptools.command.editable_wheel:editable_wheel -egg_info = setuptools.command.egg_info:egg_info -install = setuptools.command.install:install -install_egg_info = setuptools.command.install_egg_info:install_egg_info -install_lib = setuptools.command.install_lib:install_lib -install_scripts = setuptools.command.install_scripts:install_scripts -rotate = setuptools.command.rotate:rotate -saveopts = setuptools.command.saveopts:saveopts -sdist = setuptools.command.sdist:sdist -setopt = setuptools.command.setopt:setopt - -[distutils.setup_keywords] -dependency_links = setuptools.dist:assert_string_list -eager_resources = setuptools.dist:assert_string_list -entry_points = setuptools.dist:check_entry_points -exclude_package_data = setuptools.dist:check_package_data -extras_require = setuptools.dist:check_extras -include_package_data = setuptools.dist:assert_bool -install_requires = setuptools.dist:check_requirements -namespace_packages = setuptools.dist:check_nsp -package_data = setuptools.dist:check_package_data -packages = setuptools.dist:check_packages -python_requires = setuptools.dist:check_specifier -setup_requires = setuptools.dist:check_requirements -use_2to3 = setuptools.dist:invalid_unless_false -zip_safe = setuptools.dist:assert_bool - -[egg_info.writers] -PKG-INFO = setuptools.command.egg_info:write_pkg_info -dependency_links.txt = setuptools.command.egg_info:overwrite_arg -eager_resources.txt = setuptools.command.egg_info:overwrite_arg -entry_points.txt = setuptools.command.egg_info:write_entries -namespace_packages.txt = setuptools.command.egg_info:overwrite_arg -requires.txt = setuptools.command.egg_info:write_requirements -top_level.txt = setuptools.command.egg_info:write_toplevel_names - -[setuptools.finalize_distribution_options] -keywords = setuptools.dist:Distribution._finalize_setup_keywords -parent_finalize = setuptools.dist:_Distribution.finalize_options diff --git a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/top_level.txt deleted file mode 100644 index b5ac1070..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools-75.6.0.dist-info/top_level.txt +++ /dev/null @@ -1,3 +0,0 @@ -_distutils_hack -pkg_resources -setuptools diff --git a/.venv/lib/python3.12/site-packages/setuptools/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/__init__.py deleted file mode 100644 index 4f5c0170..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/__init__.py +++ /dev/null @@ -1,288 +0,0 @@ -"""Extensions to the 'distutils' for large or complex distributions""" -# mypy: disable_error_code=override -# Command.reinitialize_command has an extra **kw param that distutils doesn't have -# Can't disable on the exact line because distutils doesn't exists on Python 3.12 -# and mypy isn't aware of distutils_hack, causing distutils.core.Command to be Any, -# and a [unused-ignore] to be raised on 3.12+ - -from __future__ import annotations - -import functools -import os -import re -import sys -from abc import abstractmethod -from collections.abc import Mapping -from typing import TYPE_CHECKING, TypeVar, overload - -sys.path.extend(((vendor_path := os.path.join(os.path.dirname(os.path.dirname(__file__)), 'setuptools', '_vendor')) not in sys.path) * [vendor_path]) # fmt: skip -# workaround for #4476 -sys.modules.pop('backports', None) - -import _distutils_hack.override # noqa: F401 - -from . import logging, monkey -from .depends import Require -from .discovery import PackageFinder, PEP420PackageFinder -from .dist import Distribution -from .extension import Extension -from .version import __version__ as __version__ -from .warnings import SetuptoolsDeprecationWarning - -import distutils.core -from distutils.errors import DistutilsOptionError - -__all__ = [ - 'setup', - 'Distribution', - 'Command', - 'Extension', - 'Require', - 'SetuptoolsDeprecationWarning', - 'find_packages', - 'find_namespace_packages', -] - -_CommandT = TypeVar("_CommandT", bound="_Command") - -bootstrap_install_from = None - -find_packages = PackageFinder.find -find_namespace_packages = PEP420PackageFinder.find - - -def _install_setup_requires(attrs): - # Note: do not use `setuptools.Distribution` directly, as - # our PEP 517 backend patch `distutils.core.Distribution`. - class MinimalDistribution(distutils.core.Distribution): - """ - A minimal version of a distribution for supporting the - fetch_build_eggs interface. - """ - - def __init__(self, attrs: Mapping[str, object]) -> None: - _incl = 'dependency_links', 'setup_requires' - filtered = {k: attrs[k] for k in set(_incl) & set(attrs)} - super().__init__(filtered) - # Prevent accidentally triggering discovery with incomplete set of attrs - self.set_defaults._disable() - - def _get_project_config_files(self, filenames=None): - """Ignore ``pyproject.toml``, they are not related to setup_requires""" - try: - cfg, _toml = super()._split_standard_project_metadata(filenames) - except Exception: - return filenames, () - return cfg, () - - def finalize_options(self): - """ - Disable finalize_options to avoid building the working set. - Ref #2158. - """ - - dist = MinimalDistribution(attrs) - - # Honor setup.cfg's options. - dist.parse_config_files(ignore_option_errors=True) - if dist.setup_requires: - _fetch_build_eggs(dist) - - -def _fetch_build_eggs(dist: Distribution): - try: - dist.fetch_build_eggs(dist.setup_requires) - except Exception as ex: - msg = """ - It is possible a package already installed in your system - contains an version that is invalid according to PEP 440. - You can try `pip install --use-pep517` as a workaround for this problem, - or rely on a new virtual environment. - - If the problem refers to a package that is not installed yet, - please contact that package's maintainers or distributors. - """ - if "InvalidVersion" in ex.__class__.__name__: - if hasattr(ex, "add_note"): - ex.add_note(msg) # PEP 678 - else: - dist.announce(f"\n{msg}\n") - raise - - -def setup(**attrs): - logging.configure() - # Make sure we have any requirements needed to interpret 'attrs'. - _install_setup_requires(attrs) - return distutils.core.setup(**attrs) - - -setup.__doc__ = distutils.core.setup.__doc__ - -if TYPE_CHECKING: - # Work around a mypy issue where type[T] can't be used as a base: https://github.com/python/mypy/issues/10962 - from distutils.core import Command as _Command -else: - _Command = monkey.get_unpatched(distutils.core.Command) - - -class Command(_Command): - """ - Setuptools internal actions are organized using a *command design pattern*. - This means that each action (or group of closely related actions) executed during - the build should be implemented as a ``Command`` subclass. - - These commands are abstractions and do not necessarily correspond to a command that - can (or should) be executed via a terminal, in a CLI fashion (although historically - they would). - - When creating a new command from scratch, custom defined classes **SHOULD** inherit - from ``setuptools.Command`` and implement a few mandatory methods. - Between these mandatory methods, are listed: - :meth:`initialize_options`, :meth:`finalize_options` and :meth:`run`. - - A useful analogy for command classes is to think of them as subroutines with local - variables called "options". The options are "declared" in :meth:`initialize_options` - and "defined" (given their final values, aka "finalized") in :meth:`finalize_options`, - both of which must be defined by every command class. The "body" of the subroutine, - (where it does all the work) is the :meth:`run` method. - Between :meth:`initialize_options` and :meth:`finalize_options`, ``setuptools`` may set - the values for options/attributes based on user's input (or circumstance), - which means that the implementation should be careful to not overwrite values in - :meth:`finalize_options` unless necessary. - - Please note that other commands (or other parts of setuptools) may also overwrite - the values of the command's options/attributes multiple times during the build - process. - Therefore it is important to consistently implement :meth:`initialize_options` and - :meth:`finalize_options`. For example, all derived attributes (or attributes that - depend on the value of other attributes) **SHOULD** be recomputed in - :meth:`finalize_options`. - - When overwriting existing commands, custom defined classes **MUST** abide by the - same APIs implemented by the original class. They also **SHOULD** inherit from the - original class. - """ - - command_consumes_arguments = False - distribution: Distribution # override distutils.dist.Distribution with setuptools.dist.Distribution - - def __init__(self, dist: Distribution, **kw) -> None: - """ - Construct the command for dist, updating - vars(self) with any keyword parameters. - """ - super().__init__(dist) - vars(self).update(kw) - - def _ensure_stringlike(self, option, what, default=None): - val = getattr(self, option) - if val is None: - setattr(self, option, default) - return default - elif not isinstance(val, str): - raise DistutilsOptionError( - "'%s' must be a %s (got `%s`)" % (option, what, val) - ) - return val - - def ensure_string_list(self, option: str) -> None: - r"""Ensure that 'option' is a list of strings. If 'option' is - currently a string, we split it either on /,\s*/ or /\s+/, so - "foo bar baz", "foo,bar,baz", and "foo, bar baz" all become - ["foo", "bar", "baz"]. - - .. - TODO: This method seems to be similar to the one in ``distutils.cmd`` - Probably it is just here for backward compatibility with old Python versions? - - :meta private: - """ - val = getattr(self, option) - if val is None: - return - elif isinstance(val, str): - setattr(self, option, re.split(r',\s*|\s+', val)) - else: - if isinstance(val, list): - ok = all(isinstance(v, str) for v in val) - else: - ok = False - if not ok: - raise DistutilsOptionError( - "'%s' must be a list of strings (got %r)" % (option, val) - ) - - @overload - def reinitialize_command( - self, command: str, reinit_subcommands: bool = False, **kw - ) -> _Command: ... - @overload - def reinitialize_command( - self, command: _CommandT, reinit_subcommands: bool = False, **kw - ) -> _CommandT: ... - def reinitialize_command( - self, command: str | _Command, reinit_subcommands: bool = False, **kw - ) -> _Command: - cmd = _Command.reinitialize_command(self, command, reinit_subcommands) - vars(cmd).update(kw) - return cmd # pyright: ignore[reportReturnType] # pypa/distutils#307 - - @abstractmethod - def initialize_options(self) -> None: - """ - Set or (reset) all options/attributes/caches used by the command - to their default values. Note that these values may be overwritten during - the build. - """ - raise NotImplementedError - - @abstractmethod - def finalize_options(self) -> None: - """ - Set final values for all options/attributes used by the command. - Most of the time, each option/attribute/cache should only be set if it does not - have any value yet (e.g. ``if self.attr is None: self.attr = val``). - """ - raise NotImplementedError - - @abstractmethod - def run(self) -> None: - """ - Execute the actions intended by the command. - (Side effects **SHOULD** only take place when :meth:`run` is executed, - for example, creating new files or writing to the terminal output). - """ - raise NotImplementedError - - -def _find_all_simple(path): - """ - Find all files under 'path' - """ - results = ( - os.path.join(base, file) - for base, dirs, files in os.walk(path, followlinks=True) - for file in files - ) - return filter(os.path.isfile, results) - - -def findall(dir=os.curdir): - """ - Find all files under 'dir' and return the list of full filenames. - Unless dir is '.', return full filenames with dir prepended. - """ - files = _find_all_simple(dir) - if dir == os.curdir: - make_rel = functools.partial(os.path.relpath, start=dir) - files = map(make_rel, files) - return list(files) - - -class sic(str): - """Treat this string as-is (https://en.wikipedia.org/wiki/Sic)""" - - -# Apply monkey patches -monkey.patch_all() diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 6dd2e8d3..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_core_metadata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_core_metadata.cpython-312.pyc deleted file mode 100644 index 4627c583..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_core_metadata.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_entry_points.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_entry_points.cpython-312.pyc deleted file mode 100644 index 3f8e9394..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_entry_points.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_imp.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_imp.cpython-312.pyc deleted file mode 100644 index e9998691..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_imp.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_importlib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_importlib.cpython-312.pyc deleted file mode 100644 index 71362674..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_importlib.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_itertools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_itertools.cpython-312.pyc deleted file mode 100644 index 9311dbce..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_itertools.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_normalization.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_normalization.cpython-312.pyc deleted file mode 100644 index deee4305..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_normalization.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_path.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_path.cpython-312.pyc deleted file mode 100644 index 1c553e55..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_path.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_reqs.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_reqs.cpython-312.pyc deleted file mode 100644 index a885b8c3..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_reqs.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_shutil.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_shutil.cpython-312.pyc deleted file mode 100644 index 8a2759ec..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/_shutil.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/archive_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/archive_util.cpython-312.pyc deleted file mode 100644 index dedb959e..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/archive_util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/build_meta.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/build_meta.cpython-312.pyc deleted file mode 100644 index 719537c5..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/build_meta.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/depends.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/depends.cpython-312.pyc deleted file mode 100644 index 955c8b08..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/depends.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/discovery.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/discovery.cpython-312.pyc deleted file mode 100644 index e5eb5e28..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/discovery.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/dist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/dist.cpython-312.pyc deleted file mode 100644 index f173ac65..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/dist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/errors.cpython-312.pyc deleted file mode 100644 index 0e78b361..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/errors.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/extension.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/extension.cpython-312.pyc deleted file mode 100644 index 25a076bb..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/extension.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/glob.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/glob.cpython-312.pyc deleted file mode 100644 index ed3a81d5..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/glob.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/installer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/installer.cpython-312.pyc deleted file mode 100644 index 781f6db4..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/installer.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/launch.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/launch.cpython-312.pyc deleted file mode 100644 index a4f5d7f5..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/launch.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/logging.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/logging.cpython-312.pyc deleted file mode 100644 index 480bab80..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/logging.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/modified.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/modified.cpython-312.pyc deleted file mode 100644 index 35f6fb13..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/modified.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/monkey.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/monkey.cpython-312.pyc deleted file mode 100644 index ec408c48..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/monkey.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/msvc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/msvc.cpython-312.pyc deleted file mode 100644 index a576c98b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/msvc.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/namespaces.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/namespaces.cpython-312.pyc deleted file mode 100644 index 97599f6c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/namespaces.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/package_index.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/package_index.cpython-312.pyc deleted file mode 100644 index b6284406..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/package_index.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/sandbox.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/sandbox.cpython-312.pyc deleted file mode 100644 index eda264e6..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/sandbox.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/unicode_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/unicode_utils.cpython-312.pyc deleted file mode 100644 index 07d8f070..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/unicode_utils.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/version.cpython-312.pyc deleted file mode 100644 index 6325438c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/version.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/warnings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/warnings.cpython-312.pyc deleted file mode 100644 index 7c89d770..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/warnings.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/wheel.cpython-312.pyc deleted file mode 100644 index 2950bd06..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/wheel.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/windows_support.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/__pycache__/windows_support.cpython-312.pyc deleted file mode 100644 index d83362a1..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/__pycache__/windows_support.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_core_metadata.py b/.venv/lib/python3.12/site-packages/setuptools/_core_metadata.py deleted file mode 100644 index 2e9c48a7..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_core_metadata.py +++ /dev/null @@ -1,286 +0,0 @@ -""" -Handling of Core Metadata for Python packages (including reading and writing). - -See: https://packaging.python.org/en/latest/specifications/core-metadata/ -""" - -from __future__ import annotations - -import os -import stat -import textwrap -from email import message_from_file -from email.message import Message -from tempfile import NamedTemporaryFile - -from packaging.markers import Marker -from packaging.requirements import Requirement -from packaging.utils import canonicalize_name, canonicalize_version -from packaging.version import Version - -from . import _normalization, _reqs -from .warnings import SetuptoolsDeprecationWarning - -from distutils.util import rfc822_escape - - -def get_metadata_version(self): - mv = getattr(self, 'metadata_version', None) - if mv is None: - mv = Version('2.1') - self.metadata_version = mv - return mv - - -def rfc822_unescape(content: str) -> str: - """Reverse RFC-822 escaping by removing leading whitespaces from content.""" - lines = content.splitlines() - if len(lines) == 1: - return lines[0].lstrip() - return '\n'.join((lines[0].lstrip(), textwrap.dedent('\n'.join(lines[1:])))) - - -def _read_field_from_msg(msg: Message, field: str) -> str | None: - """Read Message header field.""" - value = msg[field] - if value == 'UNKNOWN': - return None - return value - - -def _read_field_unescaped_from_msg(msg: Message, field: str) -> str | None: - """Read Message header field and apply rfc822_unescape.""" - value = _read_field_from_msg(msg, field) - if value is None: - return value - return rfc822_unescape(value) - - -def _read_list_from_msg(msg: Message, field: str) -> list[str] | None: - """Read Message header field and return all results as list.""" - values = msg.get_all(field, None) - if values == []: - return None - return values - - -def _read_payload_from_msg(msg: Message) -> str | None: - value = str(msg.get_payload()).strip() - if value == 'UNKNOWN' or not value: - return None - return value - - -def read_pkg_file(self, file): - """Reads the metadata values from a file object.""" - msg = message_from_file(file) - - self.metadata_version = Version(msg['metadata-version']) - self.name = _read_field_from_msg(msg, 'name') - self.version = _read_field_from_msg(msg, 'version') - self.description = _read_field_from_msg(msg, 'summary') - # we are filling author only. - self.author = _read_field_from_msg(msg, 'author') - self.maintainer = None - self.author_email = _read_field_from_msg(msg, 'author-email') - self.maintainer_email = None - self.url = _read_field_from_msg(msg, 'home-page') - self.download_url = _read_field_from_msg(msg, 'download-url') - self.license = _read_field_unescaped_from_msg(msg, 'license') - - self.long_description = _read_field_unescaped_from_msg(msg, 'description') - if self.long_description is None and self.metadata_version >= Version('2.1'): - self.long_description = _read_payload_from_msg(msg) - self.description = _read_field_from_msg(msg, 'summary') - - if 'keywords' in msg: - self.keywords = _read_field_from_msg(msg, 'keywords').split(',') - - self.platforms = _read_list_from_msg(msg, 'platform') - self.classifiers = _read_list_from_msg(msg, 'classifier') - - # PEP 314 - these fields only exist in 1.1 - if self.metadata_version == Version('1.1'): - self.requires = _read_list_from_msg(msg, 'requires') - self.provides = _read_list_from_msg(msg, 'provides') - self.obsoletes = _read_list_from_msg(msg, 'obsoletes') - else: - self.requires = None - self.provides = None - self.obsoletes = None - - self.license_files = _read_list_from_msg(msg, 'license-file') - - -def single_line(val): - """ - Quick and dirty validation for Summary pypa/setuptools#1390. - """ - if '\n' in val: - # TODO: Replace with `raise ValueError("newlines not allowed")` - # after reviewing #2893. - msg = "newlines are not allowed in `summary` and will break in the future" - SetuptoolsDeprecationWarning.emit("Invalid config.", msg) - # due_date is undefined. Controversial change, there was a lot of push back. - val = val.strip().split('\n')[0] - return val - - -def write_pkg_info(self, base_dir): - """Write the PKG-INFO file into the release tree.""" - temp = "" - final = os.path.join(base_dir, 'PKG-INFO') - try: - # Use a temporary file while writing to avoid race conditions - # (e.g. `importlib.metadata` reading `.egg-info/PKG-INFO`): - with NamedTemporaryFile("w", encoding="utf-8", dir=base_dir, delete=False) as f: - temp = f.name - self.write_pkg_file(f) - permissions = stat.S_IMODE(os.lstat(temp).st_mode) - os.chmod(temp, permissions | stat.S_IRGRP | stat.S_IROTH) - os.replace(temp, final) # atomic operation. - finally: - if temp and os.path.exists(temp): - os.remove(temp) - - -# Based on Python 3.5 version -def write_pkg_file(self, file): # noqa: C901 # is too complex (14) # FIXME - """Write the PKG-INFO format data to a file object.""" - version = self.get_metadata_version() - - def write_field(key, value): - file.write("%s: %s\n" % (key, value)) - - write_field('Metadata-Version', str(version)) - write_field('Name', self.get_name()) - write_field('Version', self.get_version()) - - summary = self.get_description() - if summary: - write_field('Summary', single_line(summary)) - - optional_fields = ( - ('Home-page', 'url'), - ('Download-URL', 'download_url'), - ('Author', 'author'), - ('Author-email', 'author_email'), - ('Maintainer', 'maintainer'), - ('Maintainer-email', 'maintainer_email'), - ) - - for field, attr in optional_fields: - attr_val = getattr(self, attr, None) - if attr_val is not None: - write_field(field, attr_val) - - license = self.get_license() - if license: - write_field('License', rfc822_escape(license)) - - for project_url in self.project_urls.items(): - write_field('Project-URL', '%s, %s' % project_url) - - keywords = ','.join(self.get_keywords()) - if keywords: - write_field('Keywords', keywords) - - platforms = self.get_platforms() or [] - for platform in platforms: - write_field('Platform', platform) - - self._write_list(file, 'Classifier', self.get_classifiers()) - - # PEP 314 - self._write_list(file, 'Requires', self.get_requires()) - self._write_list(file, 'Provides', self.get_provides()) - self._write_list(file, 'Obsoletes', self.get_obsoletes()) - - # Setuptools specific for PEP 345 - if hasattr(self, 'python_requires'): - write_field('Requires-Python', self.python_requires) - - # PEP 566 - if self.long_description_content_type: - write_field('Description-Content-Type', self.long_description_content_type) - - self._write_list(file, 'License-File', self.license_files or []) - _write_requirements(self, file) - - long_description = self.get_long_description() - if long_description: - file.write("\n%s" % long_description) - if not long_description.endswith("\n"): - file.write("\n") - - -def _write_requirements(self, file): - for req in _reqs.parse(self.install_requires): - file.write(f"Requires-Dist: {req}\n") - - processed_extras = {} - for augmented_extra, reqs in self.extras_require.items(): - # Historically, setuptools allows "augmented extras": `:` - unsafe_extra, _, condition = augmented_extra.partition(":") - unsafe_extra = unsafe_extra.strip() - extra = _normalization.safe_extra(unsafe_extra) - - if extra: - _write_provides_extra(file, processed_extras, extra, unsafe_extra) - for req in _reqs.parse_strings(reqs): - r = _include_extra(req, extra, condition.strip()) - file.write(f"Requires-Dist: {r}\n") - - return processed_extras - - -def _include_extra(req: str, extra: str, condition: str) -> Requirement: - r = Requirement(req) # create a fresh object that can be modified - parts = ( - f"({r.marker})" if r.marker else None, - f"({condition})" if condition else None, - f"extra == {extra!r}" if extra else None, - ) - r.marker = Marker(" and ".join(x for x in parts if x)) - return r - - -def _write_provides_extra(file, processed_extras, safe, unsafe): - previous = processed_extras.get(safe) - if previous == unsafe: - SetuptoolsDeprecationWarning.emit( - 'Ambiguity during "extra" normalization for dependencies.', - f""" - {previous!r} and {unsafe!r} normalize to the same value:\n - {safe!r}\n - In future versions, setuptools might halt the build process. - """, - see_url="https://peps.python.org/pep-0685/", - ) - else: - processed_extras[safe] = unsafe - file.write(f"Provides-Extra: {safe}\n") - - -# from pypa/distutils#244; needed only until that logic is always available -def get_fullname(self): - return _distribution_fullname(self.get_name(), self.get_version()) - - -def _distribution_fullname(name: str, version: str) -> str: - """ - >>> _distribution_fullname('setup.tools', '1.0-2') - 'setup_tools-1.0.post2' - >>> _distribution_fullname('setup-tools', '1.2post2') - 'setup_tools-1.2.post2' - >>> _distribution_fullname('setup-tools', '1.0-r2') - 'setup_tools-1.0.post2' - >>> _distribution_fullname('setup.tools', '1.0.post') - 'setup_tools-1.0.post0' - >>> _distribution_fullname('setup.tools', '1.0+ubuntu-1') - 'setup_tools-1.0+ubuntu.1' - """ - return "{}-{}".format( - canonicalize_name(name).replace('-', '_'), - canonicalize_version(version, strip_trailing_zero=False), - ) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__init__.py deleted file mode 100644 index e374d5c5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__init__.py +++ /dev/null @@ -1,14 +0,0 @@ -import importlib -import sys - -__version__, _, _ = sys.version.partition(' ') - - -try: - # Allow Debian and pkgsrc (only) to customize system - # behavior. Ref pypa/distutils#2 and pypa/distutils#16. - # This hook is deprecated and no other environments - # should use it. - importlib.import_module('_distutils_system_mod') -except ImportError: - pass diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 33996792..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_log.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_log.cpython-312.pyc deleted file mode 100644 index 49440771..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_log.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_macos_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_macos_compat.cpython-312.pyc deleted file mode 100644 index ccd8472e..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_macos_compat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_modified.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_modified.cpython-312.pyc deleted file mode 100644 index 6f6bb5d7..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_modified.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_msvccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_msvccompiler.cpython-312.pyc deleted file mode 100644 index 5062047a..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/_msvccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/archive_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/archive_util.cpython-312.pyc deleted file mode 100644 index 478e5774..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/archive_util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/ccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/ccompiler.cpython-312.pyc deleted file mode 100644 index fa205f8d..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/ccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/cmd.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/cmd.cpython-312.pyc deleted file mode 100644 index 12cf796d..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/cmd.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/core.cpython-312.pyc deleted file mode 100644 index 67a177f2..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/core.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/cygwinccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/cygwinccompiler.cpython-312.pyc deleted file mode 100644 index cdc5c8d5..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/cygwinccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/debug.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/debug.cpython-312.pyc deleted file mode 100644 index 045f3947..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/debug.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/dep_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/dep_util.cpython-312.pyc deleted file mode 100644 index f3c34a83..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/dep_util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/dir_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/dir_util.cpython-312.pyc deleted file mode 100644 index 30c59f88..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/dir_util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/dist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/dist.cpython-312.pyc deleted file mode 100644 index ea06be46..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/dist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/errors.cpython-312.pyc deleted file mode 100644 index 64cf2ff1..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/errors.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/extension.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/extension.cpython-312.pyc deleted file mode 100644 index af3ab4a4..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/extension.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/fancy_getopt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/fancy_getopt.cpython-312.pyc deleted file mode 100644 index 48a20f2b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/fancy_getopt.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/file_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/file_util.cpython-312.pyc deleted file mode 100644 index 086da0e8..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/file_util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/filelist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/filelist.cpython-312.pyc deleted file mode 100644 index 82c2d73b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/filelist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/log.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/log.cpython-312.pyc deleted file mode 100644 index 38da7844..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/log.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/spawn.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/spawn.cpython-312.pyc deleted file mode 100644 index da460e4a..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/spawn.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/sysconfig.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/sysconfig.cpython-312.pyc deleted file mode 100644 index efea07bc..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/sysconfig.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/text_file.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/text_file.cpython-312.pyc deleted file mode 100644 index d9d4414d..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/text_file.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/unixccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/unixccompiler.cpython-312.pyc deleted file mode 100644 index cf25e621..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/unixccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/util.cpython-312.pyc deleted file mode 100644 index 453dae5d..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/version.cpython-312.pyc deleted file mode 100644 index d3f78a24..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/version.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/versionpredicate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/versionpredicate.cpython-312.pyc deleted file mode 100644 index 94794a3a..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/versionpredicate.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/zosccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/zosccompiler.cpython-312.pyc deleted file mode 100644 index 105a6ae1..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/__pycache__/zosccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/_log.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/_log.py deleted file mode 100644 index 0148f157..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/_log.py +++ /dev/null @@ -1,3 +0,0 @@ -import logging - -log = logging.getLogger() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/_macos_compat.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/_macos_compat.py deleted file mode 100644 index 76ecb96a..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/_macos_compat.py +++ /dev/null @@ -1,12 +0,0 @@ -import importlib -import sys - - -def bypass_compiler_fixup(cmd, args): - return cmd - - -if sys.platform == 'darwin': - compiler_fixup = importlib.import_module('_osx_support').compiler_fixup -else: - compiler_fixup = bypass_compiler_fixup diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/_modified.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/_modified.py deleted file mode 100644 index 7cdca939..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/_modified.py +++ /dev/null @@ -1,73 +0,0 @@ -"""Timestamp comparison of files and groups of files.""" - -import functools -import os.path - -from jaraco.functools import splat - -from .compat.py39 import zip_strict -from .errors import DistutilsFileError - - -def _newer(source, target): - return not os.path.exists(target) or ( - os.path.getmtime(source) > os.path.getmtime(target) - ) - - -def newer(source, target): - """ - Is source modified more recently than target. - - Returns True if 'source' is modified more recently than - 'target' or if 'target' does not exist. - - Raises DistutilsFileError if 'source' does not exist. - """ - if not os.path.exists(source): - raise DistutilsFileError(f"file '{os.path.abspath(source)}' does not exist") - - return _newer(source, target) - - -def newer_pairwise(sources, targets, newer=newer): - """ - Filter filenames where sources are newer than targets. - - Walk two filename iterables in parallel, testing if each source is newer - than its corresponding target. Returns a pair of lists (sources, - targets) where source is newer than target, according to the semantics - of 'newer()'. - """ - newer_pairs = filter(splat(newer), zip_strict(sources, targets)) - return tuple(map(list, zip(*newer_pairs))) or ([], []) - - -def newer_group(sources, target, missing='error'): - """ - Is target out-of-date with respect to any file in sources. - - Return True if 'target' is out-of-date with respect to any file - listed in 'sources'. In other words, if 'target' exists and is newer - than every file in 'sources', return False; otherwise return True. - ``missing`` controls how to handle a missing source file: - - - error (default): allow the ``stat()`` call to fail. - - ignore: silently disregard any missing source files. - - newer: treat missing source files as "target out of date". This - mode is handy in "dry-run" mode: it will pretend to carry out - commands that wouldn't work because inputs are missing, but - that doesn't matter because dry-run won't run the commands. - """ - - def missing_as_newer(source): - return missing == 'newer' and not os.path.exists(source) - - ignored = os.path.exists if missing == 'ignore' else None - return not os.path.exists(target) or any( - missing_as_newer(source) or _newer(source, target) - for source in filter(ignored, sources) - ) - - -newer_pairwise_group = functools.partial(newer_pairwise, newer=newer_group) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/_msvccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/_msvccompiler.py deleted file mode 100644 index 97b067c6..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/_msvccompiler.py +++ /dev/null @@ -1,604 +0,0 @@ -"""distutils._msvccompiler - -Contains MSVCCompiler, an implementation of the abstract CCompiler class -for Microsoft Visual Studio 2015. - -This module requires VS 2015 or later. -""" - -# Written by Perry Stoll -# hacked by Robin Becker and Thomas Heller to do a better job of -# finding DevStudio (through the registry) -# ported to VS 2005 and VS 2008 by Christian Heimes -# ported to VS 2015 by Steve Dower - -import contextlib -import os -import subprocess -import unittest.mock as mock -import warnings - -with contextlib.suppress(ImportError): - import winreg - -from itertools import count - -from ._log import log -from .ccompiler import CCompiler, gen_lib_options -from .errors import ( - CompileError, - DistutilsExecError, - DistutilsPlatformError, - LibError, - LinkError, -) -from .util import get_host_platform, get_platform - - -def _find_vc2015(): - try: - key = winreg.OpenKeyEx( - winreg.HKEY_LOCAL_MACHINE, - r"Software\Microsoft\VisualStudio\SxS\VC7", - access=winreg.KEY_READ | winreg.KEY_WOW64_32KEY, - ) - except OSError: - log.debug("Visual C++ is not registered") - return None, None - - best_version = 0 - best_dir = None - with key: - for i in count(): - try: - v, vc_dir, vt = winreg.EnumValue(key, i) - except OSError: - break - if v and vt == winreg.REG_SZ and os.path.isdir(vc_dir): - try: - version = int(float(v)) - except (ValueError, TypeError): - continue - if version >= 14 and version > best_version: - best_version, best_dir = version, vc_dir - return best_version, best_dir - - -def _find_vc2017(): - """Returns "15, path" based on the result of invoking vswhere.exe - If no install is found, returns "None, None" - - The version is returned to avoid unnecessarily changing the function - result. It may be ignored when the path is not None. - - If vswhere.exe is not available, by definition, VS 2017 is not - installed. - """ - root = os.environ.get("ProgramFiles(x86)") or os.environ.get("ProgramFiles") - if not root: - return None, None - - variant = 'arm64' if get_platform() == 'win-arm64' else 'x86.x64' - suitable_components = ( - f"Microsoft.VisualStudio.Component.VC.Tools.{variant}", - "Microsoft.VisualStudio.Workload.WDExpress", - ) - - for component in suitable_components: - # Workaround for `-requiresAny` (only available on VS 2017 > 15.6) - with contextlib.suppress( - subprocess.CalledProcessError, OSError, UnicodeDecodeError - ): - path = ( - subprocess.check_output([ - os.path.join( - root, "Microsoft Visual Studio", "Installer", "vswhere.exe" - ), - "-latest", - "-prerelease", - "-requires", - component, - "-property", - "installationPath", - "-products", - "*", - ]) - .decode(encoding="mbcs", errors="strict") - .strip() - ) - - path = os.path.join(path, "VC", "Auxiliary", "Build") - if os.path.isdir(path): - return 15, path - - return None, None # no suitable component found - - -PLAT_SPEC_TO_RUNTIME = { - 'x86': 'x86', - 'x86_amd64': 'x64', - 'x86_arm': 'arm', - 'x86_arm64': 'arm64', -} - - -def _find_vcvarsall(plat_spec): - # bpo-38597: Removed vcruntime return value - _, best_dir = _find_vc2017() - - if not best_dir: - best_version, best_dir = _find_vc2015() - - if not best_dir: - log.debug("No suitable Visual C++ version found") - return None, None - - vcvarsall = os.path.join(best_dir, "vcvarsall.bat") - if not os.path.isfile(vcvarsall): - log.debug("%s cannot be found", vcvarsall) - return None, None - - return vcvarsall, None - - -def _get_vc_env(plat_spec): - if os.getenv("DISTUTILS_USE_SDK"): - return {key.lower(): value for key, value in os.environ.items()} - - vcvarsall, _ = _find_vcvarsall(plat_spec) - if not vcvarsall: - raise DistutilsPlatformError( - 'Microsoft Visual C++ 14.0 or greater is required. ' - 'Get it with "Microsoft C++ Build Tools": ' - 'https://visualstudio.microsoft.com/visual-cpp-build-tools/' - ) - - try: - out = subprocess.check_output( - f'cmd /u /c "{vcvarsall}" {plat_spec} && set', - stderr=subprocess.STDOUT, - ).decode('utf-16le', errors='replace') - except subprocess.CalledProcessError as exc: - log.error(exc.output) - raise DistutilsPlatformError(f"Error executing {exc.cmd}") - - env = { - key.lower(): value - for key, _, value in (line.partition('=') for line in out.splitlines()) - if key and value - } - - return env - - -def _find_exe(exe, paths=None): - """Return path to an MSVC executable program. - - Tries to find the program in several places: first, one of the - MSVC program search paths from the registry; next, the directories - in the PATH environment variable. If any of those work, return an - absolute path that is known to exist. If none of them work, just - return the original program name, 'exe'. - """ - if not paths: - paths = os.getenv('path').split(os.pathsep) - for p in paths: - fn = os.path.join(os.path.abspath(p), exe) - if os.path.isfile(fn): - return fn - return exe - - -_vcvars_names = { - 'win32': 'x86', - 'win-amd64': 'amd64', - 'win-arm32': 'arm', - 'win-arm64': 'arm64', -} - - -def _get_vcvars_spec(host_platform, platform): - """ - Given a host platform and platform, determine the spec for vcvarsall. - - Uses the native MSVC host if the host platform would need expensive - emulation for x86. - - >>> _get_vcvars_spec('win-arm64', 'win32') - 'arm64_x86' - >>> _get_vcvars_spec('win-arm64', 'win-amd64') - 'arm64_amd64' - - Otherwise, always cross-compile from x86 to work with the - lighter-weight MSVC installs that do not include native 64-bit tools. - - >>> _get_vcvars_spec('win32', 'win32') - 'x86' - >>> _get_vcvars_spec('win-arm32', 'win-arm32') - 'x86_arm' - >>> _get_vcvars_spec('win-amd64', 'win-arm64') - 'x86_arm64' - """ - if host_platform != 'win-arm64': - host_platform = 'win32' - vc_hp = _vcvars_names[host_platform] - vc_plat = _vcvars_names[platform] - return vc_hp if vc_hp == vc_plat else f'{vc_hp}_{vc_plat}' - - -class MSVCCompiler(CCompiler): - """Concrete class that implements an interface to Microsoft Visual C++, - as defined by the CCompiler abstract class.""" - - compiler_type = 'msvc' - - # Just set this so CCompiler's constructor doesn't barf. We currently - # don't use the 'set_executables()' bureaucracy provided by CCompiler, - # as it really isn't necessary for this sort of single-compiler class. - # Would be nice to have a consistent interface with UnixCCompiler, - # though, so it's worth thinking about. - executables = {} - - # Private class data (need to distinguish C from C++ source for compiler) - _c_extensions = ['.c'] - _cpp_extensions = ['.cc', '.cpp', '.cxx'] - _rc_extensions = ['.rc'] - _mc_extensions = ['.mc'] - - # Needed for the filename generation methods provided by the - # base class, CCompiler. - src_extensions = _c_extensions + _cpp_extensions + _rc_extensions + _mc_extensions - res_extension = '.res' - obj_extension = '.obj' - static_lib_extension = '.lib' - shared_lib_extension = '.dll' - static_lib_format = shared_lib_format = '%s%s' - exe_extension = '.exe' - - def __init__(self, verbose=False, dry_run=False, force=False): - super().__init__(verbose, dry_run, force) - # target platform (.plat_name is consistent with 'bdist') - self.plat_name = None - self.initialized = False - - @classmethod - def _configure(cls, vc_env): - """ - Set class-level include/lib dirs. - """ - cls.include_dirs = cls._parse_path(vc_env.get('include', '')) - cls.library_dirs = cls._parse_path(vc_env.get('lib', '')) - - @staticmethod - def _parse_path(val): - return [dir.rstrip(os.sep) for dir in val.split(os.pathsep) if dir] - - def initialize(self, plat_name=None): - # multi-init means we would need to check platform same each time... - assert not self.initialized, "don't init multiple times" - if plat_name is None: - plat_name = get_platform() - # sanity check for platforms to prevent obscure errors later. - if plat_name not in _vcvars_names: - raise DistutilsPlatformError( - f"--plat-name must be one of {tuple(_vcvars_names)}" - ) - - plat_spec = _get_vcvars_spec(get_host_platform(), plat_name) - - vc_env = _get_vc_env(plat_spec) - if not vc_env: - raise DistutilsPlatformError( - "Unable to find a compatible Visual Studio installation." - ) - self._configure(vc_env) - - self._paths = vc_env.get('path', '') - paths = self._paths.split(os.pathsep) - self.cc = _find_exe("cl.exe", paths) - self.linker = _find_exe("link.exe", paths) - self.lib = _find_exe("lib.exe", paths) - self.rc = _find_exe("rc.exe", paths) # resource compiler - self.mc = _find_exe("mc.exe", paths) # message compiler - self.mt = _find_exe("mt.exe", paths) # message compiler - - self.preprocess_options = None - # bpo-38597: Always compile with dynamic linking - # Future releases of Python 3.x will include all past - # versions of vcruntime*.dll for compatibility. - self.compile_options = ['/nologo', '/O2', '/W3', '/GL', '/DNDEBUG', '/MD'] - - self.compile_options_debug = [ - '/nologo', - '/Od', - '/MDd', - '/Zi', - '/W3', - '/D_DEBUG', - ] - - ldflags = ['/nologo', '/INCREMENTAL:NO', '/LTCG'] - - ldflags_debug = ['/nologo', '/INCREMENTAL:NO', '/LTCG', '/DEBUG:FULL'] - - self.ldflags_exe = [*ldflags, '/MANIFEST:EMBED,ID=1'] - self.ldflags_exe_debug = [*ldflags_debug, '/MANIFEST:EMBED,ID=1'] - self.ldflags_shared = [ - *ldflags, - '/DLL', - '/MANIFEST:EMBED,ID=2', - '/MANIFESTUAC:NO', - ] - self.ldflags_shared_debug = [ - *ldflags_debug, - '/DLL', - '/MANIFEST:EMBED,ID=2', - '/MANIFESTUAC:NO', - ] - self.ldflags_static = [*ldflags] - self.ldflags_static_debug = [*ldflags_debug] - - self._ldflags = { - (CCompiler.EXECUTABLE, None): self.ldflags_exe, - (CCompiler.EXECUTABLE, False): self.ldflags_exe, - (CCompiler.EXECUTABLE, True): self.ldflags_exe_debug, - (CCompiler.SHARED_OBJECT, None): self.ldflags_shared, - (CCompiler.SHARED_OBJECT, False): self.ldflags_shared, - (CCompiler.SHARED_OBJECT, True): self.ldflags_shared_debug, - (CCompiler.SHARED_LIBRARY, None): self.ldflags_static, - (CCompiler.SHARED_LIBRARY, False): self.ldflags_static, - (CCompiler.SHARED_LIBRARY, True): self.ldflags_static_debug, - } - - self.initialized = True - - # -- Worker methods ------------------------------------------------ - - @property - def out_extensions(self): - return { - **super().out_extensions, - **{ - ext: self.res_extension - for ext in self._rc_extensions + self._mc_extensions - }, - } - - def compile( # noqa: C901 - self, - sources, - output_dir=None, - macros=None, - include_dirs=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - depends=None, - ): - if not self.initialized: - self.initialize() - compile_info = self._setup_compile( - output_dir, macros, include_dirs, sources, depends, extra_postargs - ) - macros, objects, extra_postargs, pp_opts, build = compile_info - - compile_opts = extra_preargs or [] - compile_opts.append('/c') - if debug: - compile_opts.extend(self.compile_options_debug) - else: - compile_opts.extend(self.compile_options) - - add_cpp_opts = False - - for obj in objects: - try: - src, ext = build[obj] - except KeyError: - continue - if debug: - # pass the full pathname to MSVC in debug mode, - # this allows the debugger to find the source file - # without asking the user to browse for it - src = os.path.abspath(src) - - if ext in self._c_extensions: - input_opt = "/Tc" + src - elif ext in self._cpp_extensions: - input_opt = "/Tp" + src - add_cpp_opts = True - elif ext in self._rc_extensions: - # compile .RC to .RES file - input_opt = src - output_opt = "/fo" + obj - try: - self.spawn([self.rc] + pp_opts + [output_opt, input_opt]) - except DistutilsExecError as msg: - raise CompileError(msg) - continue - elif ext in self._mc_extensions: - # Compile .MC to .RC file to .RES file. - # * '-h dir' specifies the directory for the - # generated include file - # * '-r dir' specifies the target directory of the - # generated RC file and the binary message resource - # it includes - # - # For now (since there are no options to change this), - # we use the source-directory for the include file and - # the build directory for the RC file and message - # resources. This works at least for win32all. - h_dir = os.path.dirname(src) - rc_dir = os.path.dirname(obj) - try: - # first compile .MC to .RC and .H file - self.spawn([self.mc, '-h', h_dir, '-r', rc_dir, src]) - base, _ = os.path.splitext(os.path.basename(src)) - rc_file = os.path.join(rc_dir, base + '.rc') - # then compile .RC to .RES file - self.spawn([self.rc, "/fo" + obj, rc_file]) - - except DistutilsExecError as msg: - raise CompileError(msg) - continue - else: - # how to handle this file? - raise CompileError(f"Don't know how to compile {src} to {obj}") - - args = [self.cc] + compile_opts + pp_opts - if add_cpp_opts: - args.append('/EHsc') - args.extend((input_opt, "/Fo" + obj)) - args.extend(extra_postargs) - - try: - self.spawn(args) - except DistutilsExecError as msg: - raise CompileError(msg) - - return objects - - def create_static_lib( - self, objects, output_libname, output_dir=None, debug=False, target_lang=None - ): - if not self.initialized: - self.initialize() - objects, output_dir = self._fix_object_args(objects, output_dir) - output_filename = self.library_filename(output_libname, output_dir=output_dir) - - if self._need_link(objects, output_filename): - lib_args = objects + ['/OUT:' + output_filename] - if debug: - pass # XXX what goes here? - try: - log.debug('Executing "%s" %s', self.lib, ' '.join(lib_args)) - self.spawn([self.lib] + lib_args) - except DistutilsExecError as msg: - raise LibError(msg) - else: - log.debug("skipping %s (up-to-date)", output_filename) - - def link( - self, - target_desc, - objects, - output_filename, - output_dir=None, - libraries=None, - library_dirs=None, - runtime_library_dirs=None, - export_symbols=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - build_temp=None, - target_lang=None, - ): - if not self.initialized: - self.initialize() - objects, output_dir = self._fix_object_args(objects, output_dir) - fixed_args = self._fix_lib_args(libraries, library_dirs, runtime_library_dirs) - libraries, library_dirs, runtime_library_dirs = fixed_args - - if runtime_library_dirs: - self.warn( - "I don't know what to do with 'runtime_library_dirs': " - + str(runtime_library_dirs) - ) - - lib_opts = gen_lib_options(self, library_dirs, runtime_library_dirs, libraries) - if output_dir is not None: - output_filename = os.path.join(output_dir, output_filename) - - if self._need_link(objects, output_filename): - ldflags = self._ldflags[target_desc, debug] - - export_opts = ["/EXPORT:" + sym for sym in (export_symbols or [])] - - ld_args = ( - ldflags + lib_opts + export_opts + objects + ['/OUT:' + output_filename] - ) - - # The MSVC linker generates .lib and .exp files, which cannot be - # suppressed by any linker switches. The .lib files may even be - # needed! Make sure they are generated in the temporary build - # directory. Since they have different names for debug and release - # builds, they can go into the same directory. - build_temp = os.path.dirname(objects[0]) - if export_symbols is not None: - (dll_name, dll_ext) = os.path.splitext( - os.path.basename(output_filename) - ) - implib_file = os.path.join(build_temp, self.library_filename(dll_name)) - ld_args.append('/IMPLIB:' + implib_file) - - if extra_preargs: - ld_args[:0] = extra_preargs - if extra_postargs: - ld_args.extend(extra_postargs) - - output_dir = os.path.dirname(os.path.abspath(output_filename)) - self.mkpath(output_dir) - try: - log.debug('Executing "%s" %s', self.linker, ' '.join(ld_args)) - self.spawn([self.linker] + ld_args) - except DistutilsExecError as msg: - raise LinkError(msg) - else: - log.debug("skipping %s (up-to-date)", output_filename) - - def spawn(self, cmd): - env = dict(os.environ, PATH=self._paths) - with self._fallback_spawn(cmd, env) as fallback: - return super().spawn(cmd, env=env) - return fallback.value - - @contextlib.contextmanager - def _fallback_spawn(self, cmd, env): - """ - Discovered in pypa/distutils#15, some tools monkeypatch the compiler, - so the 'env' kwarg causes a TypeError. Detect this condition and - restore the legacy, unsafe behavior. - """ - bag = type('Bag', (), {})() - try: - yield bag - except TypeError as exc: - if "unexpected keyword argument 'env'" not in str(exc): - raise - else: - return - warnings.warn("Fallback spawn triggered. Please update distutils monkeypatch.") - with mock.patch.dict('os.environ', env): - bag.value = super().spawn(cmd) - - # -- Miscellaneous methods ----------------------------------------- - # These are all used by the 'gen_lib_options() function, in - # ccompiler.py. - - def library_dir_option(self, dir): - return "/LIBPATH:" + dir - - def runtime_library_dir_option(self, dir): - raise DistutilsPlatformError( - "don't know how to set runtime library search path for MSVC" - ) - - def library_option(self, lib): - return self.library_filename(lib) - - def find_library_file(self, dirs, lib, debug=False): - # Prefer a debugging library if found (and requested), but deal - # with it if we don't have one. - if debug: - try_names = [lib + "_d", lib] - else: - try_names = [lib] - for dir in dirs: - for name in try_names: - libfile = os.path.join(dir, self.library_filename(name)) - if os.path.isfile(libfile): - return libfile - else: - # Oops, didn't find it in *any* of 'dirs' - return None diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/archive_util.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/archive_util.py deleted file mode 100644 index 5bb6df76..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/archive_util.py +++ /dev/null @@ -1,264 +0,0 @@ -"""distutils.archive_util - -Utility functions for creating archive files (tarballs, zip files, -that sort of thing).""" - -import os - -try: - import zipfile -except ImportError: - zipfile = None - - -from ._log import log -from .dir_util import mkpath -from .errors import DistutilsExecError -from .spawn import spawn - -try: - from pwd import getpwnam -except ImportError: - getpwnam = None - -try: - from grp import getgrnam -except ImportError: - getgrnam = None - - -def _get_gid(name): - """Returns a gid, given a group name.""" - if getgrnam is None or name is None: - return None - try: - result = getgrnam(name) - except KeyError: - result = None - if result is not None: - return result[2] - return None - - -def _get_uid(name): - """Returns an uid, given a user name.""" - if getpwnam is None or name is None: - return None - try: - result = getpwnam(name) - except KeyError: - result = None - if result is not None: - return result[2] - return None - - -def make_tarball( - base_name, - base_dir, - compress="gzip", - verbose=False, - dry_run=False, - owner=None, - group=None, -): - """Create a (possibly compressed) tar file from all the files under - 'base_dir'. - - 'compress' must be "gzip" (the default), "bzip2", "xz", or None. - - 'owner' and 'group' can be used to define an owner and a group for the - archive that is being built. If not provided, the current owner and group - will be used. - - The output tar file will be named 'base_dir' + ".tar", possibly plus - the appropriate compression extension (".gz", ".bz2", ".xz" or ".Z"). - - Returns the output filename. - """ - tar_compression = { - 'gzip': 'gz', - 'bzip2': 'bz2', - 'xz': 'xz', - None: '', - } - compress_ext = {'gzip': '.gz', 'bzip2': '.bz2', 'xz': '.xz'} - - # flags for compression program, each element of list will be an argument - if compress is not None and compress not in compress_ext.keys(): - raise ValueError( - "bad value for 'compress': must be None, 'gzip', 'bzip2', 'xz'" - ) - - archive_name = base_name + '.tar' - archive_name += compress_ext.get(compress, '') - - mkpath(os.path.dirname(archive_name), dry_run=dry_run) - - # creating the tarball - import tarfile # late import so Python build itself doesn't break - - log.info('Creating tar archive') - - uid = _get_uid(owner) - gid = _get_gid(group) - - def _set_uid_gid(tarinfo): - if gid is not None: - tarinfo.gid = gid - tarinfo.gname = group - if uid is not None: - tarinfo.uid = uid - tarinfo.uname = owner - return tarinfo - - if not dry_run: - tar = tarfile.open(archive_name, f'w|{tar_compression[compress]}') - try: - tar.add(base_dir, filter=_set_uid_gid) - finally: - tar.close() - - return archive_name - - -def make_zipfile(base_name, base_dir, verbose=False, dry_run=False): # noqa: C901 - """Create a zip file from all the files under 'base_dir'. - - The output zip file will be named 'base_name' + ".zip". Uses either the - "zipfile" Python module (if available) or the InfoZIP "zip" utility - (if installed and found on the default search path). If neither tool is - available, raises DistutilsExecError. Returns the name of the output zip - file. - """ - zip_filename = base_name + ".zip" - mkpath(os.path.dirname(zip_filename), dry_run=dry_run) - - # If zipfile module is not available, try spawning an external - # 'zip' command. - if zipfile is None: - if verbose: - zipoptions = "-r" - else: - zipoptions = "-rq" - - try: - spawn(["zip", zipoptions, zip_filename, base_dir], dry_run=dry_run) - except DistutilsExecError: - # XXX really should distinguish between "couldn't find - # external 'zip' command" and "zip failed". - raise DistutilsExecError( - f"unable to create zip file '{zip_filename}': " - "could neither import the 'zipfile' module nor " - "find a standalone zip utility" - ) - - else: - log.info("creating '%s' and adding '%s' to it", zip_filename, base_dir) - - if not dry_run: - try: - zip = zipfile.ZipFile( - zip_filename, "w", compression=zipfile.ZIP_DEFLATED - ) - except RuntimeError: - zip = zipfile.ZipFile(zip_filename, "w", compression=zipfile.ZIP_STORED) - - with zip: - if base_dir != os.curdir: - path = os.path.normpath(os.path.join(base_dir, '')) - zip.write(path, path) - log.info("adding '%s'", path) - for dirpath, dirnames, filenames in os.walk(base_dir): - for name in dirnames: - path = os.path.normpath(os.path.join(dirpath, name, '')) - zip.write(path, path) - log.info("adding '%s'", path) - for name in filenames: - path = os.path.normpath(os.path.join(dirpath, name)) - if os.path.isfile(path): - zip.write(path, path) - log.info("adding '%s'", path) - - return zip_filename - - -ARCHIVE_FORMATS = { - 'gztar': (make_tarball, [('compress', 'gzip')], "gzip'ed tar-file"), - 'bztar': (make_tarball, [('compress', 'bzip2')], "bzip2'ed tar-file"), - 'xztar': (make_tarball, [('compress', 'xz')], "xz'ed tar-file"), - 'ztar': (make_tarball, [('compress', 'compress')], "compressed tar file"), - 'tar': (make_tarball, [('compress', None)], "uncompressed tar file"), - 'zip': (make_zipfile, [], "ZIP file"), -} - - -def check_archive_formats(formats): - """Returns the first format from the 'format' list that is unknown. - - If all formats are known, returns None - """ - for format in formats: - if format not in ARCHIVE_FORMATS: - return format - return None - - -def make_archive( - base_name, - format, - root_dir=None, - base_dir=None, - verbose=False, - dry_run=False, - owner=None, - group=None, -): - """Create an archive file (eg. zip or tar). - - 'base_name' is the name of the file to create, minus any format-specific - extension; 'format' is the archive format: one of "zip", "tar", "gztar", - "bztar", "xztar", or "ztar". - - 'root_dir' is a directory that will be the root directory of the - archive; ie. we typically chdir into 'root_dir' before creating the - archive. 'base_dir' is the directory where we start archiving from; - ie. 'base_dir' will be the common prefix of all files and - directories in the archive. 'root_dir' and 'base_dir' both default - to the current directory. Returns the name of the archive file. - - 'owner' and 'group' are used when creating a tar archive. By default, - uses the current owner and group. - """ - save_cwd = os.getcwd() - if root_dir is not None: - log.debug("changing into '%s'", root_dir) - base_name = os.path.abspath(base_name) - if not dry_run: - os.chdir(root_dir) - - if base_dir is None: - base_dir = os.curdir - - kwargs = {'dry_run': dry_run} - - try: - format_info = ARCHIVE_FORMATS[format] - except KeyError: - raise ValueError(f"unknown archive format '{format}'") - - func = format_info[0] - kwargs.update(format_info[1]) - - if format != 'zip': - kwargs['owner'] = owner - kwargs['group'] = group - - try: - filename = func(base_name, base_dir, **kwargs) - finally: - if root_dir is not None: - log.debug("changing back to '%s'", save_cwd) - os.chdir(save_cwd) - - return filename diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py deleted file mode 100644 index 5e73e56d..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py +++ /dev/null @@ -1,1256 +0,0 @@ -"""distutils.ccompiler - -Contains CCompiler, an abstract base class that defines the interface -for the Distutils compiler abstraction model.""" - -import os -import re -import sys -import types -import warnings - -from more_itertools import always_iterable - -from ._log import log -from ._modified import newer_group -from .dir_util import mkpath -from .errors import ( - CompileError, - DistutilsModuleError, - DistutilsPlatformError, - LinkError, - UnknownFileError, -) -from .file_util import move_file -from .spawn import spawn -from .util import execute, is_mingw, split_quoted - - -class CCompiler: - """Abstract base class to define the interface that must be implemented - by real compiler classes. Also has some utility methods used by - several compiler classes. - - The basic idea behind a compiler abstraction class is that each - instance can be used for all the compile/link steps in building a - single project. Thus, attributes common to all of those compile and - link steps -- include directories, macros to define, libraries to link - against, etc. -- are attributes of the compiler instance. To allow for - variability in how individual files are treated, most of those - attributes may be varied on a per-compilation or per-link basis. - """ - - # 'compiler_type' is a class attribute that identifies this class. It - # keeps code that wants to know what kind of compiler it's dealing with - # from having to import all possible compiler classes just to do an - # 'isinstance'. In concrete CCompiler subclasses, 'compiler_type' - # should really, really be one of the keys of the 'compiler_class' - # dictionary (see below -- used by the 'new_compiler()' factory - # function) -- authors of new compiler interface classes are - # responsible for updating 'compiler_class'! - compiler_type = None - - # XXX things not handled by this compiler abstraction model: - # * client can't provide additional options for a compiler, - # e.g. warning, optimization, debugging flags. Perhaps this - # should be the domain of concrete compiler abstraction classes - # (UnixCCompiler, MSVCCompiler, etc.) -- or perhaps the base - # class should have methods for the common ones. - # * can't completely override the include or library searchg - # path, ie. no "cc -I -Idir1 -Idir2" or "cc -L -Ldir1 -Ldir2". - # I'm not sure how widely supported this is even by Unix - # compilers, much less on other platforms. And I'm even less - # sure how useful it is; maybe for cross-compiling, but - # support for that is a ways off. (And anyways, cross - # compilers probably have a dedicated binary with the - # right paths compiled in. I hope.) - # * can't do really freaky things with the library list/library - # dirs, e.g. "-Ldir1 -lfoo -Ldir2 -lfoo" to link against - # different versions of libfoo.a in different locations. I - # think this is useless without the ability to null out the - # library search path anyways. - - # Subclasses that rely on the standard filename generation methods - # implemented below should override these; see the comment near - # those methods ('object_filenames()' et. al.) for details: - src_extensions = None # list of strings - obj_extension = None # string - static_lib_extension = None - shared_lib_extension = None # string - static_lib_format = None # format string - shared_lib_format = None # prob. same as static_lib_format - exe_extension = None # string - - # Default language settings. language_map is used to detect a source - # file or Extension target language, checking source filenames. - # language_order is used to detect the language precedence, when deciding - # what language to use when mixing source types. For example, if some - # extension has two files with ".c" extension, and one with ".cpp", it - # is still linked as c++. - language_map = { - ".c": "c", - ".cc": "c++", - ".cpp": "c++", - ".cxx": "c++", - ".m": "objc", - } - language_order = ["c++", "objc", "c"] - - include_dirs = [] - """ - include dirs specific to this compiler class - """ - - library_dirs = [] - """ - library dirs specific to this compiler class - """ - - def __init__(self, verbose=False, dry_run=False, force=False): - self.dry_run = dry_run - self.force = force - self.verbose = verbose - - # 'output_dir': a common output directory for object, library, - # shared object, and shared library files - self.output_dir = None - - # 'macros': a list of macro definitions (or undefinitions). A - # macro definition is a 2-tuple (name, value), where the value is - # either a string or None (no explicit value). A macro - # undefinition is a 1-tuple (name,). - self.macros = [] - - # 'include_dirs': a list of directories to search for include files - self.include_dirs = [] - - # 'libraries': a list of libraries to include in any link - # (library names, not filenames: eg. "foo" not "libfoo.a") - self.libraries = [] - - # 'library_dirs': a list of directories to search for libraries - self.library_dirs = [] - - # 'runtime_library_dirs': a list of directories to search for - # shared libraries/objects at runtime - self.runtime_library_dirs = [] - - # 'objects': a list of object files (or similar, such as explicitly - # named library files) to include on any link - self.objects = [] - - for key in self.executables.keys(): - self.set_executable(key, self.executables[key]) - - def set_executables(self, **kwargs): - """Define the executables (and options for them) that will be run - to perform the various stages of compilation. The exact set of - executables that may be specified here depends on the compiler - class (via the 'executables' class attribute), but most will have: - compiler the C/C++ compiler - linker_so linker used to create shared objects and libraries - linker_exe linker used to create binary executables - archiver static library creator - - On platforms with a command-line (Unix, DOS/Windows), each of these - is a string that will be split into executable name and (optional) - list of arguments. (Splitting the string is done similarly to how - Unix shells operate: words are delimited by spaces, but quotes and - backslashes can override this. See - 'distutils.util.split_quoted()'.) - """ - - # Note that some CCompiler implementation classes will define class - # attributes 'cpp', 'cc', etc. with hard-coded executable names; - # this is appropriate when a compiler class is for exactly one - # compiler/OS combination (eg. MSVCCompiler). Other compiler - # classes (UnixCCompiler, in particular) are driven by information - # discovered at run-time, since there are many different ways to do - # basically the same things with Unix C compilers. - - for key in kwargs: - if key not in self.executables: - raise ValueError( - f"unknown executable '{key}' for class {self.__class__.__name__}" - ) - self.set_executable(key, kwargs[key]) - - def set_executable(self, key, value): - if isinstance(value, str): - setattr(self, key, split_quoted(value)) - else: - setattr(self, key, value) - - def _find_macro(self, name): - i = 0 - for defn in self.macros: - if defn[0] == name: - return i - i += 1 - return None - - def _check_macro_definitions(self, definitions): - """Ensure that every element of 'definitions' is valid.""" - for defn in definitions: - self._check_macro_definition(*defn) - - def _check_macro_definition(self, defn): - """ - Raise a TypeError if defn is not valid. - - A valid definition is either a (name, value) 2-tuple or a (name,) tuple. - """ - if not isinstance(defn, tuple) or not self._is_valid_macro(*defn): - raise TypeError( - f"invalid macro definition '{defn}': " - "must be tuple (string,), (string, string), or (string, None)" - ) - - @staticmethod - def _is_valid_macro(name, value=None): - """ - A valid macro is a ``name : str`` and a ``value : str | None``. - """ - return isinstance(name, str) and isinstance(value, (str, types.NoneType)) - - # -- Bookkeeping methods ------------------------------------------- - - def define_macro(self, name, value=None): - """Define a preprocessor macro for all compilations driven by this - compiler object. The optional parameter 'value' should be a - string; if it is not supplied, then the macro will be defined - without an explicit value and the exact outcome depends on the - compiler used (XXX true? does ANSI say anything about this?) - """ - # Delete from the list of macro definitions/undefinitions if - # already there (so that this one will take precedence). - i = self._find_macro(name) - if i is not None: - del self.macros[i] - - self.macros.append((name, value)) - - def undefine_macro(self, name): - """Undefine a preprocessor macro for all compilations driven by - this compiler object. If the same macro is defined by - 'define_macro()' and undefined by 'undefine_macro()' the last call - takes precedence (including multiple redefinitions or - undefinitions). If the macro is redefined/undefined on a - per-compilation basis (ie. in the call to 'compile()'), then that - takes precedence. - """ - # Delete from the list of macro definitions/undefinitions if - # already there (so that this one will take precedence). - i = self._find_macro(name) - if i is not None: - del self.macros[i] - - undefn = (name,) - self.macros.append(undefn) - - def add_include_dir(self, dir): - """Add 'dir' to the list of directories that will be searched for - header files. The compiler is instructed to search directories in - the order in which they are supplied by successive calls to - 'add_include_dir()'. - """ - self.include_dirs.append(dir) - - def set_include_dirs(self, dirs): - """Set the list of directories that will be searched to 'dirs' (a - list of strings). Overrides any preceding calls to - 'add_include_dir()'; subsequence calls to 'add_include_dir()' add - to the list passed to 'set_include_dirs()'. This does not affect - any list of standard include directories that the compiler may - search by default. - """ - self.include_dirs = dirs[:] - - def add_library(self, libname): - """Add 'libname' to the list of libraries that will be included in - all links driven by this compiler object. Note that 'libname' - should *not* be the name of a file containing a library, but the - name of the library itself: the actual filename will be inferred by - the linker, the compiler, or the compiler class (depending on the - platform). - - The linker will be instructed to link against libraries in the - order they were supplied to 'add_library()' and/or - 'set_libraries()'. It is perfectly valid to duplicate library - names; the linker will be instructed to link against libraries as - many times as they are mentioned. - """ - self.libraries.append(libname) - - def set_libraries(self, libnames): - """Set the list of libraries to be included in all links driven by - this compiler object to 'libnames' (a list of strings). This does - not affect any standard system libraries that the linker may - include by default. - """ - self.libraries = libnames[:] - - def add_library_dir(self, dir): - """Add 'dir' to the list of directories that will be searched for - libraries specified to 'add_library()' and 'set_libraries()'. The - linker will be instructed to search for libraries in the order they - are supplied to 'add_library_dir()' and/or 'set_library_dirs()'. - """ - self.library_dirs.append(dir) - - def set_library_dirs(self, dirs): - """Set the list of library search directories to 'dirs' (a list of - strings). This does not affect any standard library search path - that the linker may search by default. - """ - self.library_dirs = dirs[:] - - def add_runtime_library_dir(self, dir): - """Add 'dir' to the list of directories that will be searched for - shared libraries at runtime. - """ - self.runtime_library_dirs.append(dir) - - def set_runtime_library_dirs(self, dirs): - """Set the list of directories to search for shared libraries at - runtime to 'dirs' (a list of strings). This does not affect any - standard search path that the runtime linker may search by - default. - """ - self.runtime_library_dirs = dirs[:] - - def add_link_object(self, object): - """Add 'object' to the list of object files (or analogues, such as - explicitly named library files or the output of "resource - compilers") to be included in every link driven by this compiler - object. - """ - self.objects.append(object) - - def set_link_objects(self, objects): - """Set the list of object files (or analogues) to be included in - every link to 'objects'. This does not affect any standard object - files that the linker may include by default (such as system - libraries). - """ - self.objects = objects[:] - - # -- Private utility methods -------------------------------------- - # (here for the convenience of subclasses) - - # Helper method to prep compiler in subclass compile() methods - - def _setup_compile(self, outdir, macros, incdirs, sources, depends, extra): - """Process arguments and decide which source files to compile.""" - outdir, macros, incdirs = self._fix_compile_args(outdir, macros, incdirs) - - if extra is None: - extra = [] - - # Get the list of expected output (object) files - objects = self.object_filenames(sources, strip_dir=False, output_dir=outdir) - assert len(objects) == len(sources) - - pp_opts = gen_preprocess_options(macros, incdirs) - - build = {} - for i in range(len(sources)): - src = sources[i] - obj = objects[i] - ext = os.path.splitext(src)[1] - self.mkpath(os.path.dirname(obj)) - build[obj] = (src, ext) - - return macros, objects, extra, pp_opts, build - - def _get_cc_args(self, pp_opts, debug, before): - # works for unixccompiler, cygwinccompiler - cc_args = pp_opts + ['-c'] - if debug: - cc_args[:0] = ['-g'] - if before: - cc_args[:0] = before - return cc_args - - def _fix_compile_args(self, output_dir, macros, include_dirs): - """Typecheck and fix-up some of the arguments to the 'compile()' - method, and return fixed-up values. Specifically: if 'output_dir' - is None, replaces it with 'self.output_dir'; ensures that 'macros' - is a list, and augments it with 'self.macros'; ensures that - 'include_dirs' is a list, and augments it with 'self.include_dirs'. - Guarantees that the returned values are of the correct type, - i.e. for 'output_dir' either string or None, and for 'macros' and - 'include_dirs' either list or None. - """ - if output_dir is None: - output_dir = self.output_dir - elif not isinstance(output_dir, str): - raise TypeError("'output_dir' must be a string or None") - - if macros is None: - macros = list(self.macros) - elif isinstance(macros, list): - macros = macros + (self.macros or []) - else: - raise TypeError("'macros' (if supplied) must be a list of tuples") - - if include_dirs is None: - include_dirs = list(self.include_dirs) - elif isinstance(include_dirs, (list, tuple)): - include_dirs = list(include_dirs) + (self.include_dirs or []) - else: - raise TypeError("'include_dirs' (if supplied) must be a list of strings") - - # add include dirs for class - include_dirs += self.__class__.include_dirs - - return output_dir, macros, include_dirs - - def _prep_compile(self, sources, output_dir, depends=None): - """Decide which source files must be recompiled. - - Determine the list of object files corresponding to 'sources', - and figure out which ones really need to be recompiled. - Return a list of all object files and a dictionary telling - which source files can be skipped. - """ - # Get the list of expected output (object) files - objects = self.object_filenames(sources, output_dir=output_dir) - assert len(objects) == len(sources) - - # Return an empty dict for the "which source files can be skipped" - # return value to preserve API compatibility. - return objects, {} - - def _fix_object_args(self, objects, output_dir): - """Typecheck and fix up some arguments supplied to various methods. - Specifically: ensure that 'objects' is a list; if output_dir is - None, replace with self.output_dir. Return fixed versions of - 'objects' and 'output_dir'. - """ - if not isinstance(objects, (list, tuple)): - raise TypeError("'objects' must be a list or tuple of strings") - objects = list(objects) - - if output_dir is None: - output_dir = self.output_dir - elif not isinstance(output_dir, str): - raise TypeError("'output_dir' must be a string or None") - - return (objects, output_dir) - - def _fix_lib_args(self, libraries, library_dirs, runtime_library_dirs): - """Typecheck and fix up some of the arguments supplied to the - 'link_*' methods. Specifically: ensure that all arguments are - lists, and augment them with their permanent versions - (eg. 'self.libraries' augments 'libraries'). Return a tuple with - fixed versions of all arguments. - """ - if libraries is None: - libraries = list(self.libraries) - elif isinstance(libraries, (list, tuple)): - libraries = list(libraries) + (self.libraries or []) - else: - raise TypeError("'libraries' (if supplied) must be a list of strings") - - if library_dirs is None: - library_dirs = list(self.library_dirs) - elif isinstance(library_dirs, (list, tuple)): - library_dirs = list(library_dirs) + (self.library_dirs or []) - else: - raise TypeError("'library_dirs' (if supplied) must be a list of strings") - - # add library dirs for class - library_dirs += self.__class__.library_dirs - - if runtime_library_dirs is None: - runtime_library_dirs = list(self.runtime_library_dirs) - elif isinstance(runtime_library_dirs, (list, tuple)): - runtime_library_dirs = list(runtime_library_dirs) + ( - self.runtime_library_dirs or [] - ) - else: - raise TypeError( - "'runtime_library_dirs' (if supplied) must be a list of strings" - ) - - return (libraries, library_dirs, runtime_library_dirs) - - def _need_link(self, objects, output_file): - """Return true if we need to relink the files listed in 'objects' - to recreate 'output_file'. - """ - if self.force: - return True - else: - if self.dry_run: - newer = newer_group(objects, output_file, missing='newer') - else: - newer = newer_group(objects, output_file) - return newer - - def detect_language(self, sources): - """Detect the language of a given file, or list of files. Uses - language_map, and language_order to do the job. - """ - if not isinstance(sources, list): - sources = [sources] - lang = None - index = len(self.language_order) - for source in sources: - base, ext = os.path.splitext(source) - extlang = self.language_map.get(ext) - try: - extindex = self.language_order.index(extlang) - if extindex < index: - lang = extlang - index = extindex - except ValueError: - pass - return lang - - # -- Worker methods ------------------------------------------------ - # (must be implemented by subclasses) - - def preprocess( - self, - source, - output_file=None, - macros=None, - include_dirs=None, - extra_preargs=None, - extra_postargs=None, - ): - """Preprocess a single C/C++ source file, named in 'source'. - Output will be written to file named 'output_file', or stdout if - 'output_file' not supplied. 'macros' is a list of macro - definitions as for 'compile()', which will augment the macros set - with 'define_macro()' and 'undefine_macro()'. 'include_dirs' is a - list of directory names that will be added to the default list. - - Raises PreprocessError on failure. - """ - pass - - def compile( - self, - sources, - output_dir=None, - macros=None, - include_dirs=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - depends=None, - ): - """Compile one or more source files. - - 'sources' must be a list of filenames, most likely C/C++ - files, but in reality anything that can be handled by a - particular compiler and compiler class (eg. MSVCCompiler can - handle resource files in 'sources'). Return a list of object - filenames, one per source filename in 'sources'. Depending on - the implementation, not all source files will necessarily be - compiled, but all corresponding object filenames will be - returned. - - If 'output_dir' is given, object files will be put under it, while - retaining their original path component. That is, "foo/bar.c" - normally compiles to "foo/bar.o" (for a Unix implementation); if - 'output_dir' is "build", then it would compile to - "build/foo/bar.o". - - 'macros', if given, must be a list of macro definitions. A macro - definition is either a (name, value) 2-tuple or a (name,) 1-tuple. - The former defines a macro; if the value is None, the macro is - defined without an explicit value. The 1-tuple case undefines a - macro. Later definitions/redefinitions/ undefinitions take - precedence. - - 'include_dirs', if given, must be a list of strings, the - directories to add to the default include file search path for this - compilation only. - - 'debug' is a boolean; if true, the compiler will be instructed to - output debug symbols in (or alongside) the object file(s). - - 'extra_preargs' and 'extra_postargs' are implementation- dependent. - On platforms that have the notion of a command-line (e.g. Unix, - DOS/Windows), they are most likely lists of strings: extra - command-line arguments to prepend/append to the compiler command - line. On other platforms, consult the implementation class - documentation. In any event, they are intended as an escape hatch - for those occasions when the abstract compiler framework doesn't - cut the mustard. - - 'depends', if given, is a list of filenames that all targets - depend on. If a source file is older than any file in - depends, then the source file will be recompiled. This - supports dependency tracking, but only at a coarse - granularity. - - Raises CompileError on failure. - """ - # A concrete compiler class can either override this method - # entirely or implement _compile(). - macros, objects, extra_postargs, pp_opts, build = self._setup_compile( - output_dir, macros, include_dirs, sources, depends, extra_postargs - ) - cc_args = self._get_cc_args(pp_opts, debug, extra_preargs) - - for obj in objects: - try: - src, ext = build[obj] - except KeyError: - continue - self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) - - # Return *all* object filenames, not just the ones we just built. - return objects - - def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): - """Compile 'src' to product 'obj'.""" - # A concrete compiler class that does not override compile() - # should implement _compile(). - pass - - def create_static_lib( - self, objects, output_libname, output_dir=None, debug=False, target_lang=None - ): - """Link a bunch of stuff together to create a static library file. - The "bunch of stuff" consists of the list of object files supplied - as 'objects', the extra object files supplied to - 'add_link_object()' and/or 'set_link_objects()', the libraries - supplied to 'add_library()' and/or 'set_libraries()', and the - libraries supplied as 'libraries' (if any). - - 'output_libname' should be a library name, not a filename; the - filename will be inferred from the library name. 'output_dir' is - the directory where the library file will be put. - - 'debug' is a boolean; if true, debugging information will be - included in the library (note that on most platforms, it is the - compile step where this matters: the 'debug' flag is included here - just for consistency). - - 'target_lang' is the target language for which the given objects - are being compiled. This allows specific linkage time treatment of - certain languages. - - Raises LibError on failure. - """ - pass - - # values for target_desc parameter in link() - SHARED_OBJECT = "shared_object" - SHARED_LIBRARY = "shared_library" - EXECUTABLE = "executable" - - def link( - self, - target_desc, - objects, - output_filename, - output_dir=None, - libraries=None, - library_dirs=None, - runtime_library_dirs=None, - export_symbols=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - build_temp=None, - target_lang=None, - ): - """Link a bunch of stuff together to create an executable or - shared library file. - - The "bunch of stuff" consists of the list of object files supplied - as 'objects'. 'output_filename' should be a filename. If - 'output_dir' is supplied, 'output_filename' is relative to it - (i.e. 'output_filename' can provide directory components if - needed). - - 'libraries' is a list of libraries to link against. These are - library names, not filenames, since they're translated into - filenames in a platform-specific way (eg. "foo" becomes "libfoo.a" - on Unix and "foo.lib" on DOS/Windows). However, they can include a - directory component, which means the linker will look in that - specific directory rather than searching all the normal locations. - - 'library_dirs', if supplied, should be a list of directories to - search for libraries that were specified as bare library names - (ie. no directory component). These are on top of the system - default and those supplied to 'add_library_dir()' and/or - 'set_library_dirs()'. 'runtime_library_dirs' is a list of - directories that will be embedded into the shared library and used - to search for other shared libraries that *it* depends on at - run-time. (This may only be relevant on Unix.) - - 'export_symbols' is a list of symbols that the shared library will - export. (This appears to be relevant only on Windows.) - - 'debug' is as for 'compile()' and 'create_static_lib()', with the - slight distinction that it actually matters on most platforms (as - opposed to 'create_static_lib()', which includes a 'debug' flag - mostly for form's sake). - - 'extra_preargs' and 'extra_postargs' are as for 'compile()' (except - of course that they supply command-line arguments for the - particular linker being used). - - 'target_lang' is the target language for which the given objects - are being compiled. This allows specific linkage time treatment of - certain languages. - - Raises LinkError on failure. - """ - raise NotImplementedError - - # Old 'link_*()' methods, rewritten to use the new 'link()' method. - - def link_shared_lib( - self, - objects, - output_libname, - output_dir=None, - libraries=None, - library_dirs=None, - runtime_library_dirs=None, - export_symbols=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - build_temp=None, - target_lang=None, - ): - self.link( - CCompiler.SHARED_LIBRARY, - objects, - self.library_filename(output_libname, lib_type='shared'), - output_dir, - libraries, - library_dirs, - runtime_library_dirs, - export_symbols, - debug, - extra_preargs, - extra_postargs, - build_temp, - target_lang, - ) - - def link_shared_object( - self, - objects, - output_filename, - output_dir=None, - libraries=None, - library_dirs=None, - runtime_library_dirs=None, - export_symbols=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - build_temp=None, - target_lang=None, - ): - self.link( - CCompiler.SHARED_OBJECT, - objects, - output_filename, - output_dir, - libraries, - library_dirs, - runtime_library_dirs, - export_symbols, - debug, - extra_preargs, - extra_postargs, - build_temp, - target_lang, - ) - - def link_executable( - self, - objects, - output_progname, - output_dir=None, - libraries=None, - library_dirs=None, - runtime_library_dirs=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - target_lang=None, - ): - self.link( - CCompiler.EXECUTABLE, - objects, - self.executable_filename(output_progname), - output_dir, - libraries, - library_dirs, - runtime_library_dirs, - None, - debug, - extra_preargs, - extra_postargs, - None, - target_lang, - ) - - # -- Miscellaneous methods ----------------------------------------- - # These are all used by the 'gen_lib_options() function; there is - # no appropriate default implementation so subclasses should - # implement all of these. - - def library_dir_option(self, dir): - """Return the compiler option to add 'dir' to the list of - directories searched for libraries. - """ - raise NotImplementedError - - def runtime_library_dir_option(self, dir): - """Return the compiler option to add 'dir' to the list of - directories searched for runtime libraries. - """ - raise NotImplementedError - - def library_option(self, lib): - """Return the compiler option to add 'lib' to the list of libraries - linked into the shared library or executable. - """ - raise NotImplementedError - - def has_function( # noqa: C901 - self, - funcname, - includes=None, - include_dirs=None, - libraries=None, - library_dirs=None, - ): - """Return a boolean indicating whether funcname is provided as - a symbol on the current platform. The optional arguments can - be used to augment the compilation environment. - - The libraries argument is a list of flags to be passed to the - linker to make additional symbol definitions available for - linking. - - The includes and include_dirs arguments are deprecated. - Usually, supplying include files with function declarations - will cause function detection to fail even in cases where the - symbol is available for linking. - - """ - # this can't be included at module scope because it tries to - # import math which might not be available at that point - maybe - # the necessary logic should just be inlined? - import tempfile - - if includes is None: - includes = [] - else: - warnings.warn("includes is deprecated", DeprecationWarning) - if include_dirs is None: - include_dirs = [] - else: - warnings.warn("include_dirs is deprecated", DeprecationWarning) - if libraries is None: - libraries = [] - if library_dirs is None: - library_dirs = [] - fd, fname = tempfile.mkstemp(".c", funcname, text=True) - with os.fdopen(fd, "w", encoding='utf-8') as f: - for incl in includes: - f.write(f"""#include "{incl}"\n""") - if not includes: - # Use "char func(void);" as the prototype to follow - # what autoconf does. This prototype does not match - # any well-known function the compiler might recognize - # as a builtin, so this ends up as a true link test. - # Without a fake prototype, the test would need to - # know the exact argument types, and the has_function - # interface does not provide that level of information. - f.write( - f"""\ -#ifdef __cplusplus -extern "C" -#endif -char {funcname}(void); -""" - ) - f.write( - f"""\ -int main (int argc, char **argv) {{ - {funcname}(); - return 0; -}} -""" - ) - - try: - objects = self.compile([fname], include_dirs=include_dirs) - except CompileError: - return False - finally: - os.remove(fname) - - try: - self.link_executable( - objects, "a.out", libraries=libraries, library_dirs=library_dirs - ) - except (LinkError, TypeError): - return False - else: - os.remove( - self.executable_filename("a.out", output_dir=self.output_dir or '') - ) - finally: - for fn in objects: - os.remove(fn) - return True - - def find_library_file(self, dirs, lib, debug=False): - """Search the specified list of directories for a static or shared - library file 'lib' and return the full path to that file. If - 'debug' true, look for a debugging version (if that makes sense on - the current platform). Return None if 'lib' wasn't found in any of - the specified directories. - """ - raise NotImplementedError - - # -- Filename generation methods ----------------------------------- - - # The default implementation of the filename generating methods are - # prejudiced towards the Unix/DOS/Windows view of the world: - # * object files are named by replacing the source file extension - # (eg. .c/.cpp -> .o/.obj) - # * library files (shared or static) are named by plugging the - # library name and extension into a format string, eg. - # "lib%s.%s" % (lib_name, ".a") for Unix static libraries - # * executables are named by appending an extension (possibly - # empty) to the program name: eg. progname + ".exe" for - # Windows - # - # To reduce redundant code, these methods expect to find - # several attributes in the current object (presumably defined - # as class attributes): - # * src_extensions - - # list of C/C++ source file extensions, eg. ['.c', '.cpp'] - # * obj_extension - - # object file extension, eg. '.o' or '.obj' - # * static_lib_extension - - # extension for static library files, eg. '.a' or '.lib' - # * shared_lib_extension - - # extension for shared library/object files, eg. '.so', '.dll' - # * static_lib_format - - # format string for generating static library filenames, - # eg. 'lib%s.%s' or '%s.%s' - # * shared_lib_format - # format string for generating shared library filenames - # (probably same as static_lib_format, since the extension - # is one of the intended parameters to the format string) - # * exe_extension - - # extension for executable files, eg. '' or '.exe' - - def object_filenames(self, source_filenames, strip_dir=False, output_dir=''): - if output_dir is None: - output_dir = '' - return list( - self._make_out_path(output_dir, strip_dir, src_name) - for src_name in source_filenames - ) - - @property - def out_extensions(self): - return dict.fromkeys(self.src_extensions, self.obj_extension) - - def _make_out_path(self, output_dir, strip_dir, src_name): - base, ext = os.path.splitext(src_name) - base = self._make_relative(base) - try: - new_ext = self.out_extensions[ext] - except LookupError: - raise UnknownFileError(f"unknown file type '{ext}' (from '{src_name}')") - if strip_dir: - base = os.path.basename(base) - return os.path.join(output_dir, base + new_ext) - - @staticmethod - def _make_relative(base): - """ - In order to ensure that a filename always honors the - indicated output_dir, make sure it's relative. - Ref python/cpython#37775. - """ - # Chop off the drive - no_drive = os.path.splitdrive(base)[1] - # If abs, chop off leading / - return no_drive[os.path.isabs(no_drive) :] - - def shared_object_filename(self, basename, strip_dir=False, output_dir=''): - assert output_dir is not None - if strip_dir: - basename = os.path.basename(basename) - return os.path.join(output_dir, basename + self.shared_lib_extension) - - def executable_filename(self, basename, strip_dir=False, output_dir=''): - assert output_dir is not None - if strip_dir: - basename = os.path.basename(basename) - return os.path.join(output_dir, basename + (self.exe_extension or '')) - - def library_filename( - self, - libname, - lib_type='static', - strip_dir=False, - output_dir='', # or 'shared' - ): - assert output_dir is not None - expected = '"static", "shared", "dylib", "xcode_stub"' - if lib_type not in eval(expected): - raise ValueError(f"'lib_type' must be {expected}") - fmt = getattr(self, lib_type + "_lib_format") - ext = getattr(self, lib_type + "_lib_extension") - - dir, base = os.path.split(libname) - filename = fmt % (base, ext) - if strip_dir: - dir = '' - - return os.path.join(output_dir, dir, filename) - - # -- Utility methods ----------------------------------------------- - - def announce(self, msg, level=1): - log.debug(msg) - - def debug_print(self, msg): - from distutils.debug import DEBUG - - if DEBUG: - print(msg) - - def warn(self, msg): - sys.stderr.write(f"warning: {msg}\n") - - def execute(self, func, args, msg=None, level=1): - execute(func, args, msg, self.dry_run) - - def spawn(self, cmd, **kwargs): - spawn(cmd, dry_run=self.dry_run, **kwargs) - - def move_file(self, src, dst): - return move_file(src, dst, dry_run=self.dry_run) - - def mkpath(self, name, mode=0o777): - mkpath(name, mode, dry_run=self.dry_run) - - -# Map a sys.platform/os.name ('posix', 'nt') to the default compiler -# type for that platform. Keys are interpreted as re match -# patterns. Order is important; platform mappings are preferred over -# OS names. -_default_compilers = ( - # Platform string mappings - # on a cygwin built python we can use gcc like an ordinary UNIXish - # compiler - ('cygwin.*', 'unix'), - ('zos', 'zos'), - # OS name mappings - ('posix', 'unix'), - ('nt', 'msvc'), -) - - -def get_default_compiler(osname=None, platform=None): - """Determine the default compiler to use for the given platform. - - osname should be one of the standard Python OS names (i.e. the - ones returned by os.name) and platform the common value - returned by sys.platform for the platform in question. - - The default values are os.name and sys.platform in case the - parameters are not given. - """ - if osname is None: - osname = os.name - if platform is None: - platform = sys.platform - # Mingw is a special case where sys.platform is 'win32' but we - # want to use the 'mingw32' compiler, so check it first - if is_mingw(): - return 'mingw32' - for pattern, compiler in _default_compilers: - if ( - re.match(pattern, platform) is not None - or re.match(pattern, osname) is not None - ): - return compiler - # Default to Unix compiler - return 'unix' - - -# Map compiler types to (module_name, class_name) pairs -- ie. where to -# find the code that implements an interface to this compiler. (The module -# is assumed to be in the 'distutils' package.) -compiler_class = { - 'unix': ('unixccompiler', 'UnixCCompiler', "standard UNIX-style compiler"), - 'msvc': ('_msvccompiler', 'MSVCCompiler', "Microsoft Visual C++"), - 'cygwin': ( - 'cygwinccompiler', - 'CygwinCCompiler', - "Cygwin port of GNU C Compiler for Win32", - ), - 'mingw32': ( - 'cygwinccompiler', - 'Mingw32CCompiler', - "Mingw32 port of GNU C Compiler for Win32", - ), - 'bcpp': ('bcppcompiler', 'BCPPCompiler', "Borland C++ Compiler"), - 'zos': ('zosccompiler', 'zOSCCompiler', 'IBM XL C/C++ Compilers'), -} - - -def show_compilers(): - """Print list of available compilers (used by the "--help-compiler" - options to "build", "build_ext", "build_clib"). - """ - # XXX this "knows" that the compiler option it's describing is - # "--compiler", which just happens to be the case for the three - # commands that use it. - from distutils.fancy_getopt import FancyGetopt - - compilers = sorted( - ("compiler=" + compiler, None, compiler_class[compiler][2]) - for compiler in compiler_class.keys() - ) - pretty_printer = FancyGetopt(compilers) - pretty_printer.print_help("List of available compilers:") - - -def new_compiler(plat=None, compiler=None, verbose=False, dry_run=False, force=False): - """Generate an instance of some CCompiler subclass for the supplied - platform/compiler combination. 'plat' defaults to 'os.name' - (eg. 'posix', 'nt'), and 'compiler' defaults to the default compiler - for that platform. Currently only 'posix' and 'nt' are supported, and - the default compilers are "traditional Unix interface" (UnixCCompiler - class) and Visual C++ (MSVCCompiler class). Note that it's perfectly - possible to ask for a Unix compiler object under Windows, and a - Microsoft compiler object under Unix -- if you supply a value for - 'compiler', 'plat' is ignored. - """ - if plat is None: - plat = os.name - - try: - if compiler is None: - compiler = get_default_compiler(plat) - - (module_name, class_name, long_description) = compiler_class[compiler] - except KeyError: - msg = f"don't know how to compile C/C++ code on platform '{plat}'" - if compiler is not None: - msg = msg + f" with '{compiler}' compiler" - raise DistutilsPlatformError(msg) - - try: - module_name = "distutils." + module_name - __import__(module_name) - module = sys.modules[module_name] - klass = vars(module)[class_name] - except ImportError: - raise DistutilsModuleError( - f"can't compile C/C++ code: unable to load module '{module_name}'" - ) - except KeyError: - raise DistutilsModuleError( - f"can't compile C/C++ code: unable to find class '{class_name}' " - f"in module '{module_name}'" - ) - - # XXX The None is necessary to preserve backwards compatibility - # with classes that expect verbose to be the first positional - # argument. - return klass(None, dry_run, force) - - -def gen_preprocess_options(macros, include_dirs): - """Generate C pre-processor options (-D, -U, -I) as used by at least - two types of compilers: the typical Unix compiler and Visual C++. - 'macros' is the usual thing, a list of 1- or 2-tuples, where (name,) - means undefine (-U) macro 'name', and (name,value) means define (-D) - macro 'name' to 'value'. 'include_dirs' is just a list of directory - names to be added to the header file search path (-I). Returns a list - of command-line options suitable for either Unix compilers or Visual - C++. - """ - # XXX it would be nice (mainly aesthetic, and so we don't generate - # stupid-looking command lines) to go over 'macros' and eliminate - # redundant definitions/undefinitions (ie. ensure that only the - # latest mention of a particular macro winds up on the command - # line). I don't think it's essential, though, since most (all?) - # Unix C compilers only pay attention to the latest -D or -U - # mention of a macro on their command line. Similar situation for - # 'include_dirs'. I'm punting on both for now. Anyways, weeding out - # redundancies like this should probably be the province of - # CCompiler, since the data structures used are inherited from it - # and therefore common to all CCompiler classes. - pp_opts = [] - for macro in macros: - if not (isinstance(macro, tuple) and 1 <= len(macro) <= 2): - raise TypeError( - f"bad macro definition '{macro}': " - "each element of 'macros' list must be a 1- or 2-tuple" - ) - - if len(macro) == 1: # undefine this macro - pp_opts.append(f"-U{macro[0]}") - elif len(macro) == 2: - if macro[1] is None: # define with no explicit value - pp_opts.append(f"-D{macro[0]}") - else: - # XXX *don't* need to be clever about quoting the - # macro value here, because we're going to avoid the - # shell at all costs when we spawn the command! - pp_opts.append("-D{}={}".format(*macro)) - - pp_opts.extend(f"-I{dir}" for dir in include_dirs) - return pp_opts - - -def gen_lib_options(compiler, library_dirs, runtime_library_dirs, libraries): - """Generate linker options for searching library directories and - linking with specific libraries. 'libraries' and 'library_dirs' are, - respectively, lists of library names (not filenames!) and search - directories. Returns a list of command-line options suitable for use - with some compiler (depending on the two format strings passed in). - """ - lib_opts = [compiler.library_dir_option(dir) for dir in library_dirs] - - for dir in runtime_library_dirs: - lib_opts.extend(always_iterable(compiler.runtime_library_dir_option(dir))) - - # XXX it's important that we *not* remove redundant library mentions! - # sometimes you really do have to say "-lfoo -lbar -lfoo" in order to - # resolve all symbols. I just hope we never have to say "-lfoo obj.o - # -lbar" to get things to work -- that's certainly a possibility, but a - # pretty nasty way to arrange your C code. - - for lib in libraries: - (lib_dir, lib_name) = os.path.split(lib) - if lib_dir: - lib_file = compiler.find_library_file([lib_dir], lib_name) - if lib_file: - lib_opts.append(lib_file) - else: - compiler.warn( - f"no library file corresponding to '{lib}' found (skipping)" - ) - else: - lib_opts.append(compiler.library_option(lib)) - return lib_opts diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py deleted file mode 100644 index 2bb97956..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py +++ /dev/null @@ -1,439 +0,0 @@ -"""distutils.cmd - -Provides the Command class, the base class for the command classes -in the distutils.command package. -""" - -import logging -import os -import re -import sys - -from . import _modified, archive_util, dir_util, file_util, util -from ._log import log -from .errors import DistutilsOptionError - - -class Command: - """Abstract base class for defining command classes, the "worker bees" - of the Distutils. A useful analogy for command classes is to think of - them as subroutines with local variables called "options". The options - are "declared" in 'initialize_options()' and "defined" (given their - final values, aka "finalized") in 'finalize_options()', both of which - must be defined by every command class. The distinction between the - two is necessary because option values might come from the outside - world (command line, config file, ...), and any options dependent on - other options must be computed *after* these outside influences have - been processed -- hence 'finalize_options()'. The "body" of the - subroutine, where it does all its work based on the values of its - options, is the 'run()' method, which must also be implemented by every - command class. - """ - - # 'sub_commands' formalizes the notion of a "family" of commands, - # eg. "install" as the parent with sub-commands "install_lib", - # "install_headers", etc. The parent of a family of commands - # defines 'sub_commands' as a class attribute; it's a list of - # (command_name : string, predicate : unbound_method | string | None) - # tuples, where 'predicate' is a method of the parent command that - # determines whether the corresponding command is applicable in the - # current situation. (Eg. we "install_headers" is only applicable if - # we have any C header files to install.) If 'predicate' is None, - # that command is always applicable. - # - # 'sub_commands' is usually defined at the *end* of a class, because - # predicates can be unbound methods, so they must already have been - # defined. The canonical example is the "install" command. - sub_commands = [] - - # -- Creation/initialization methods ------------------------------- - - def __init__(self, dist): - """Create and initialize a new Command object. Most importantly, - invokes the 'initialize_options()' method, which is the real - initializer and depends on the actual command being - instantiated. - """ - # late import because of mutual dependence between these classes - from distutils.dist import Distribution - - if not isinstance(dist, Distribution): - raise TypeError("dist must be a Distribution instance") - if self.__class__ is Command: - raise RuntimeError("Command is an abstract class") - - self.distribution = dist - self.initialize_options() - - # Per-command versions of the global flags, so that the user can - # customize Distutils' behaviour command-by-command and let some - # commands fall back on the Distribution's behaviour. None means - # "not defined, check self.distribution's copy", while 0 or 1 mean - # false and true (duh). Note that this means figuring out the real - # value of each flag is a touch complicated -- hence "self._dry_run" - # will be handled by __getattr__, below. - # XXX This needs to be fixed. - self._dry_run = None - - # verbose is largely ignored, but needs to be set for - # backwards compatibility (I think)? - self.verbose = dist.verbose - - # Some commands define a 'self.force' option to ignore file - # timestamps, but methods defined *here* assume that - # 'self.force' exists for all commands. So define it here - # just to be safe. - self.force = None - - # The 'help' flag is just used for command-line parsing, so - # none of that complicated bureaucracy is needed. - self.help = False - - # 'finalized' records whether or not 'finalize_options()' has been - # called. 'finalize_options()' itself should not pay attention to - # this flag: it is the business of 'ensure_finalized()', which - # always calls 'finalize_options()', to respect/update it. - self.finalized = False - - # XXX A more explicit way to customize dry_run would be better. - def __getattr__(self, attr): - if attr == 'dry_run': - myval = getattr(self, "_" + attr) - if myval is None: - return getattr(self.distribution, attr) - else: - return myval - else: - raise AttributeError(attr) - - def ensure_finalized(self): - if not self.finalized: - self.finalize_options() - self.finalized = True - - # Subclasses must define: - # initialize_options() - # provide default values for all options; may be customized by - # setup script, by options from config file(s), or by command-line - # options - # finalize_options() - # decide on the final values for all options; this is called - # after all possible intervention from the outside world - # (command-line, option file, etc.) has been processed - # run() - # run the command: do whatever it is we're here to do, - # controlled by the command's various option values - - def initialize_options(self): - """Set default values for all the options that this command - supports. Note that these defaults may be overridden by other - commands, by the setup script, by config files, or by the - command-line. Thus, this is not the place to code dependencies - between options; generally, 'initialize_options()' implementations - are just a bunch of "self.foo = None" assignments. - - This method must be implemented by all command classes. - """ - raise RuntimeError( - f"abstract method -- subclass {self.__class__} must override" - ) - - def finalize_options(self): - """Set final values for all the options that this command supports. - This is always called as late as possible, ie. after any option - assignments from the command-line or from other commands have been - done. Thus, this is the place to code option dependencies: if - 'foo' depends on 'bar', then it is safe to set 'foo' from 'bar' as - long as 'foo' still has the same value it was assigned in - 'initialize_options()'. - - This method must be implemented by all command classes. - """ - raise RuntimeError( - f"abstract method -- subclass {self.__class__} must override" - ) - - def dump_options(self, header=None, indent=""): - from distutils.fancy_getopt import longopt_xlate - - if header is None: - header = f"command options for '{self.get_command_name()}':" - self.announce(indent + header, level=logging.INFO) - indent = indent + " " - for option, _, _ in self.user_options: - option = option.translate(longopt_xlate) - if option[-1] == "=": - option = option[:-1] - value = getattr(self, option) - self.announce(indent + f"{option} = {value}", level=logging.INFO) - - def run(self): - """A command's raison d'etre: carry out the action it exists to - perform, controlled by the options initialized in - 'initialize_options()', customized by other commands, the setup - script, the command-line, and config files, and finalized in - 'finalize_options()'. All terminal output and filesystem - interaction should be done by 'run()'. - - This method must be implemented by all command classes. - """ - raise RuntimeError( - f"abstract method -- subclass {self.__class__} must override" - ) - - def announce(self, msg, level=logging.DEBUG): - log.log(level, msg) - - def debug_print(self, msg): - """Print 'msg' to stdout if the global DEBUG (taken from the - DISTUTILS_DEBUG environment variable) flag is true. - """ - from distutils.debug import DEBUG - - if DEBUG: - print(msg) - sys.stdout.flush() - - # -- Option validation methods ------------------------------------- - # (these are very handy in writing the 'finalize_options()' method) - # - # NB. the general philosophy here is to ensure that a particular option - # value meets certain type and value constraints. If not, we try to - # force it into conformance (eg. if we expect a list but have a string, - # split the string on comma and/or whitespace). If we can't force the - # option into conformance, raise DistutilsOptionError. Thus, command - # classes need do nothing more than (eg.) - # self.ensure_string_list('foo') - # and they can be guaranteed that thereafter, self.foo will be - # a list of strings. - - def _ensure_stringlike(self, option, what, default=None): - val = getattr(self, option) - if val is None: - setattr(self, option, default) - return default - elif not isinstance(val, str): - raise DistutilsOptionError(f"'{option}' must be a {what} (got `{val}`)") - return val - - def ensure_string(self, option, default=None): - """Ensure that 'option' is a string; if not defined, set it to - 'default'. - """ - self._ensure_stringlike(option, "string", default) - - def ensure_string_list(self, option): - r"""Ensure that 'option' is a list of strings. If 'option' is - currently a string, we split it either on /,\s*/ or /\s+/, so - "foo bar baz", "foo,bar,baz", and "foo, bar baz" all become - ["foo", "bar", "baz"]. - """ - val = getattr(self, option) - if val is None: - return - elif isinstance(val, str): - setattr(self, option, re.split(r',\s*|\s+', val)) - else: - if isinstance(val, list): - ok = all(isinstance(v, str) for v in val) - else: - ok = False - if not ok: - raise DistutilsOptionError( - f"'{option}' must be a list of strings (got {val!r})" - ) - - def _ensure_tested_string(self, option, tester, what, error_fmt, default=None): - val = self._ensure_stringlike(option, what, default) - if val is not None and not tester(val): - raise DistutilsOptionError( - ("error in '%s' option: " + error_fmt) % (option, val) - ) - - def ensure_filename(self, option): - """Ensure that 'option' is the name of an existing file.""" - self._ensure_tested_string( - option, os.path.isfile, "filename", "'%s' does not exist or is not a file" - ) - - def ensure_dirname(self, option): - self._ensure_tested_string( - option, - os.path.isdir, - "directory name", - "'%s' does not exist or is not a directory", - ) - - # -- Convenience methods for commands ------------------------------ - - def get_command_name(self): - if hasattr(self, 'command_name'): - return self.command_name - else: - return self.__class__.__name__ - - def set_undefined_options(self, src_cmd, *option_pairs): - """Set the values of any "undefined" options from corresponding - option values in some other command object. "Undefined" here means - "is None", which is the convention used to indicate that an option - has not been changed between 'initialize_options()' and - 'finalize_options()'. Usually called from 'finalize_options()' for - options that depend on some other command rather than another - option of the same command. 'src_cmd' is the other command from - which option values will be taken (a command object will be created - for it if necessary); the remaining arguments are - '(src_option,dst_option)' tuples which mean "take the value of - 'src_option' in the 'src_cmd' command object, and copy it to - 'dst_option' in the current command object". - """ - # Option_pairs: list of (src_option, dst_option) tuples - src_cmd_obj = self.distribution.get_command_obj(src_cmd) - src_cmd_obj.ensure_finalized() - for src_option, dst_option in option_pairs: - if getattr(self, dst_option) is None: - setattr(self, dst_option, getattr(src_cmd_obj, src_option)) - - def get_finalized_command(self, command, create=True): - """Wrapper around Distribution's 'get_command_obj()' method: find - (create if necessary and 'create' is true) the command object for - 'command', call its 'ensure_finalized()' method, and return the - finalized command object. - """ - cmd_obj = self.distribution.get_command_obj(command, create) - cmd_obj.ensure_finalized() - return cmd_obj - - # XXX rename to 'get_reinitialized_command()'? (should do the - # same in dist.py, if so) - def reinitialize_command(self, command, reinit_subcommands=False): - return self.distribution.reinitialize_command(command, reinit_subcommands) - - def run_command(self, command): - """Run some other command: uses the 'run_command()' method of - Distribution, which creates and finalizes the command object if - necessary and then invokes its 'run()' method. - """ - self.distribution.run_command(command) - - def get_sub_commands(self): - """Determine the sub-commands that are relevant in the current - distribution (ie., that need to be run). This is based on the - 'sub_commands' class attribute: each tuple in that list may include - a method that we call to determine if the subcommand needs to be - run for the current distribution. Return a list of command names. - """ - commands = [] - for cmd_name, method in self.sub_commands: - if method is None or method(self): - commands.append(cmd_name) - return commands - - # -- External world manipulation ----------------------------------- - - def warn(self, msg): - log.warning("warning: %s: %s\n", self.get_command_name(), msg) - - def execute(self, func, args, msg=None, level=1): - util.execute(func, args, msg, dry_run=self.dry_run) - - def mkpath(self, name, mode=0o777): - dir_util.mkpath(name, mode, dry_run=self.dry_run) - - def copy_file( - self, - infile, - outfile, - preserve_mode=True, - preserve_times=True, - link=None, - level=1, - ): - """Copy a file respecting verbose, dry-run and force flags. (The - former two default to whatever is in the Distribution object, and - the latter defaults to false for commands that don't define it.)""" - return file_util.copy_file( - infile, - outfile, - preserve_mode, - preserve_times, - not self.force, - link, - dry_run=self.dry_run, - ) - - def copy_tree( - self, - infile, - outfile, - preserve_mode=True, - preserve_times=True, - preserve_symlinks=False, - level=1, - ): - """Copy an entire directory tree respecting verbose, dry-run, - and force flags. - """ - return dir_util.copy_tree( - infile, - outfile, - preserve_mode, - preserve_times, - preserve_symlinks, - not self.force, - dry_run=self.dry_run, - ) - - def move_file(self, src, dst, level=1): - """Move a file respecting dry-run flag.""" - return file_util.move_file(src, dst, dry_run=self.dry_run) - - def spawn(self, cmd, search_path=True, level=1): - """Spawn an external command respecting dry-run flag.""" - from distutils.spawn import spawn - - spawn(cmd, search_path, dry_run=self.dry_run) - - def make_archive( - self, base_name, format, root_dir=None, base_dir=None, owner=None, group=None - ): - return archive_util.make_archive( - base_name, - format, - root_dir, - base_dir, - dry_run=self.dry_run, - owner=owner, - group=group, - ) - - def make_file( - self, infiles, outfile, func, args, exec_msg=None, skip_msg=None, level=1 - ): - """Special case of 'execute()' for operations that process one or - more input files and generate one output file. Works just like - 'execute()', except the operation is skipped and a different - message printed if 'outfile' already exists and is newer than all - files listed in 'infiles'. If the command defined 'self.force', - and it is true, then the command is unconditionally run -- does no - timestamp checks. - """ - if skip_msg is None: - skip_msg = f"skipping {outfile} (inputs unchanged)" - - # Allow 'infiles' to be a single string - if isinstance(infiles, str): - infiles = (infiles,) - elif not isinstance(infiles, (list, tuple)): - raise TypeError("'infiles' must be a string, or a list or tuple of strings") - - if exec_msg is None: - exec_msg = "generating {} from {}".format(outfile, ', '.join(infiles)) - - # If 'outfile' must be regenerated (either because it doesn't - # exist, is out-of-date, or the 'force' flag is true) then - # perform the action that presumably regenerates it - if self.force or _modified.newer_group(infiles, outfile): - self.execute(func, args, exec_msg, level) - # Otherwise, print the "skip" message - else: - log.debug(skip_msg) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__init__.py deleted file mode 100644 index 0f8a1692..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -"""distutils.command - -Package containing implementation of all the standard Distutils -commands.""" - -__all__ = [ - 'build', - 'build_py', - 'build_ext', - 'build_clib', - 'build_scripts', - 'clean', - 'install', - 'install_lib', - 'install_headers', - 'install_scripts', - 'install_data', - 'sdist', - 'bdist', - 'bdist_dumb', - 'bdist_rpm', - 'check', -] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index e55b48d3..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/_framework_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/_framework_compat.cpython-312.pyc deleted file mode 100644 index 4f6252c6..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/_framework_compat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/bdist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/bdist.cpython-312.pyc deleted file mode 100644 index 3ac2fa54..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/bdist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/bdist_dumb.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/bdist_dumb.cpython-312.pyc deleted file mode 100644 index 6101b2c8..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/bdist_dumb.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/bdist_rpm.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/bdist_rpm.cpython-312.pyc deleted file mode 100644 index 481b3dab..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/bdist_rpm.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build.cpython-312.pyc deleted file mode 100644 index e9ce1113..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_clib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_clib.cpython-312.pyc deleted file mode 100644 index 68f5bfb2..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_clib.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_ext.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_ext.cpython-312.pyc deleted file mode 100644 index 3453f5c2..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_ext.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_py.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_py.cpython-312.pyc deleted file mode 100644 index dd9edc1a..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_py.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_scripts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_scripts.cpython-312.pyc deleted file mode 100644 index ca0f1c0e..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/build_scripts.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/check.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/check.cpython-312.pyc deleted file mode 100644 index 95e5c966..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/check.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/clean.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/clean.cpython-312.pyc deleted file mode 100644 index 2e8f0edf..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/clean.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/config.cpython-312.pyc deleted file mode 100644 index 2756f6d5..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/config.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install.cpython-312.pyc deleted file mode 100644 index 1515991c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_data.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_data.cpython-312.pyc deleted file mode 100644 index bed46640..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_data.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_egg_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_egg_info.cpython-312.pyc deleted file mode 100644 index 01fbb280..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_egg_info.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_headers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_headers.cpython-312.pyc deleted file mode 100644 index 3cb73a08..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_headers.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_lib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_lib.cpython-312.pyc deleted file mode 100644 index c03fb50e..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_lib.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_scripts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_scripts.cpython-312.pyc deleted file mode 100644 index cbae74ff..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/install_scripts.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/sdist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/sdist.cpython-312.pyc deleted file mode 100644 index 30535aae..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/__pycache__/sdist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/_framework_compat.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/_framework_compat.py deleted file mode 100644 index 00d34bc7..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/_framework_compat.py +++ /dev/null @@ -1,54 +0,0 @@ -""" -Backward compatibility for homebrew builds on macOS. -""" - -import functools -import os -import subprocess -import sys -import sysconfig - - -@functools.lru_cache -def enabled(): - """ - Only enabled for Python 3.9 framework homebrew builds - except ensurepip and venv. - """ - PY39 = (3, 9) < sys.version_info < (3, 10) - framework = sys.platform == 'darwin' and sys._framework - homebrew = "Cellar" in sysconfig.get_config_var('projectbase') - venv = sys.prefix != sys.base_prefix - ensurepip = os.environ.get("ENSUREPIP_OPTIONS") - return PY39 and framework and homebrew and not venv and not ensurepip - - -schemes = dict( - osx_framework_library=dict( - stdlib='{installed_base}/{platlibdir}/python{py_version_short}', - platstdlib='{platbase}/{platlibdir}/python{py_version_short}', - purelib='{homebrew_prefix}/lib/python{py_version_short}/site-packages', - platlib='{homebrew_prefix}/{platlibdir}/python{py_version_short}/site-packages', - include='{installed_base}/include/python{py_version_short}{abiflags}', - platinclude='{installed_platbase}/include/python{py_version_short}{abiflags}', - scripts='{homebrew_prefix}/bin', - data='{homebrew_prefix}', - ) -) - - -@functools.lru_cache -def vars(): - if not enabled(): - return {} - homebrew_prefix = subprocess.check_output(['brew', '--prefix'], text=True).strip() - return locals() - - -def scheme(name): - """ - Override the selected scheme for posix_prefix. - """ - if not enabled() or not name.endswith('_prefix'): - return name - return 'osx_framework_library' diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist.py deleted file mode 100644 index f3340751..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist.py +++ /dev/null @@ -1,155 +0,0 @@ -"""distutils.command.bdist - -Implements the Distutils 'bdist' command (create a built [binary] -distribution).""" - -import os -import warnings - -from ..core import Command -from ..errors import DistutilsOptionError, DistutilsPlatformError -from ..util import get_platform - - -def show_formats(): - """Print list of available formats (arguments to "--format" option).""" - from ..fancy_getopt import FancyGetopt - - formats = [ - ("formats=" + format, None, bdist.format_commands[format][1]) - for format in bdist.format_commands - ] - pretty_printer = FancyGetopt(formats) - pretty_printer.print_help("List of available distribution formats:") - - -class ListCompat(dict): - # adapter to allow for Setuptools compatibility in format_commands - def append(self, item): - warnings.warn( - """format_commands is now a dict. append is deprecated.""", - DeprecationWarning, - stacklevel=2, - ) - - -class bdist(Command): - description = "create a built (binary) distribution" - - user_options = [ - ('bdist-base=', 'b', "temporary directory for creating built distributions"), - ( - 'plat-name=', - 'p', - "platform name to embed in generated filenames " - f"[default: {get_platform()}]", - ), - ('formats=', None, "formats for distribution (comma-separated list)"), - ( - 'dist-dir=', - 'd', - "directory to put final built distributions in [default: dist]", - ), - ('skip-build', None, "skip rebuilding everything (for testing/debugging)"), - ( - 'owner=', - 'u', - "Owner name used when creating a tar file [default: current user]", - ), - ( - 'group=', - 'g', - "Group name used when creating a tar file [default: current group]", - ), - ] - - boolean_options = ['skip-build'] - - help_options = [ - ('help-formats', None, "lists available distribution formats", show_formats), - ] - - # The following commands do not take a format option from bdist - no_format_option = ('bdist_rpm',) - - # This won't do in reality: will need to distinguish RPM-ish Linux, - # Debian-ish Linux, Solaris, FreeBSD, ..., Windows, Mac OS. - default_format = {'posix': 'gztar', 'nt': 'zip'} - - # Define commands in preferred order for the --help-formats option - format_commands = ListCompat({ - 'rpm': ('bdist_rpm', "RPM distribution"), - 'gztar': ('bdist_dumb', "gzip'ed tar file"), - 'bztar': ('bdist_dumb', "bzip2'ed tar file"), - 'xztar': ('bdist_dumb', "xz'ed tar file"), - 'ztar': ('bdist_dumb', "compressed tar file"), - 'tar': ('bdist_dumb', "tar file"), - 'zip': ('bdist_dumb', "ZIP file"), - }) - - # for compatibility until consumers only reference format_commands - format_command = format_commands - - def initialize_options(self): - self.bdist_base = None - self.plat_name = None - self.formats = None - self.dist_dir = None - self.skip_build = False - self.group = None - self.owner = None - - def finalize_options(self): - # have to finalize 'plat_name' before 'bdist_base' - if self.plat_name is None: - if self.skip_build: - self.plat_name = get_platform() - else: - self.plat_name = self.get_finalized_command('build').plat_name - - # 'bdist_base' -- parent of per-built-distribution-format - # temporary directories (eg. we'll probably have - # "build/bdist./dumb", "build/bdist./rpm", etc.) - if self.bdist_base is None: - build_base = self.get_finalized_command('build').build_base - self.bdist_base = os.path.join(build_base, 'bdist.' + self.plat_name) - - self.ensure_string_list('formats') - if self.formats is None: - try: - self.formats = [self.default_format[os.name]] - except KeyError: - raise DistutilsPlatformError( - "don't know how to create built distributions " - f"on platform {os.name}" - ) - - if self.dist_dir is None: - self.dist_dir = "dist" - - def run(self): - # Figure out which sub-commands we need to run. - commands = [] - for format in self.formats: - try: - commands.append(self.format_commands[format][0]) - except KeyError: - raise DistutilsOptionError(f"invalid format '{format}'") - - # Reinitialize and run each command. - for i in range(len(self.formats)): - cmd_name = commands[i] - sub_cmd = self.reinitialize_command(cmd_name) - if cmd_name not in self.no_format_option: - sub_cmd.format = self.formats[i] - - # passing the owner and group names for tar archiving - if cmd_name == 'bdist_dumb': - sub_cmd.owner = self.owner - sub_cmd.group = self.group - - # If we're going to need to run this command again, tell it to - # keep its temporary files around so subsequent runs go faster. - if cmd_name in commands[i + 1 :]: - sub_cmd.keep_temp = True - self.run_command(cmd_name) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist_dumb.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist_dumb.py deleted file mode 100644 index 67b0c8cc..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist_dumb.py +++ /dev/null @@ -1,140 +0,0 @@ -"""distutils.command.bdist_dumb - -Implements the Distutils 'bdist_dumb' command (create a "dumb" built -distribution -- i.e., just an archive to be unpacked under $prefix or -$exec_prefix).""" - -import os -from distutils._log import log - -from ..core import Command -from ..dir_util import ensure_relative, remove_tree -from ..errors import DistutilsPlatformError -from ..sysconfig import get_python_version -from ..util import get_platform - - -class bdist_dumb(Command): - description = "create a \"dumb\" built distribution" - - user_options = [ - ('bdist-dir=', 'd', "temporary directory for creating the distribution"), - ( - 'plat-name=', - 'p', - "platform name to embed in generated filenames " - f"[default: {get_platform()}]", - ), - ( - 'format=', - 'f', - "archive format to create (tar, gztar, bztar, xztar, ztar, zip)", - ), - ( - 'keep-temp', - 'k', - "keep the pseudo-installation tree around after creating the distribution archive", - ), - ('dist-dir=', 'd', "directory to put final built distributions in"), - ('skip-build', None, "skip rebuilding everything (for testing/debugging)"), - ( - 'relative', - None, - "build the archive using relative paths [default: false]", - ), - ( - 'owner=', - 'u', - "Owner name used when creating a tar file [default: current user]", - ), - ( - 'group=', - 'g', - "Group name used when creating a tar file [default: current group]", - ), - ] - - boolean_options = ['keep-temp', 'skip-build', 'relative'] - - default_format = {'posix': 'gztar', 'nt': 'zip'} - - def initialize_options(self): - self.bdist_dir = None - self.plat_name = None - self.format = None - self.keep_temp = False - self.dist_dir = None - self.skip_build = None - self.relative = False - self.owner = None - self.group = None - - def finalize_options(self): - if self.bdist_dir is None: - bdist_base = self.get_finalized_command('bdist').bdist_base - self.bdist_dir = os.path.join(bdist_base, 'dumb') - - if self.format is None: - try: - self.format = self.default_format[os.name] - except KeyError: - raise DistutilsPlatformError( - "don't know how to create dumb built distributions " - f"on platform {os.name}" - ) - - self.set_undefined_options( - 'bdist', - ('dist_dir', 'dist_dir'), - ('plat_name', 'plat_name'), - ('skip_build', 'skip_build'), - ) - - def run(self): - if not self.skip_build: - self.run_command('build') - - install = self.reinitialize_command('install', reinit_subcommands=True) - install.root = self.bdist_dir - install.skip_build = self.skip_build - install.warn_dir = False - - log.info("installing to %s", self.bdist_dir) - self.run_command('install') - - # And make an archive relative to the root of the - # pseudo-installation tree. - archive_basename = f"{self.distribution.get_fullname()}.{self.plat_name}" - - pseudoinstall_root = os.path.join(self.dist_dir, archive_basename) - if not self.relative: - archive_root = self.bdist_dir - else: - if self.distribution.has_ext_modules() and ( - install.install_base != install.install_platbase - ): - raise DistutilsPlatformError( - "can't make a dumb built distribution where " - f"base and platbase are different ({install.install_base!r}, {install.install_platbase!r})" - ) - else: - archive_root = os.path.join( - self.bdist_dir, ensure_relative(install.install_base) - ) - - # Make the archive - filename = self.make_archive( - pseudoinstall_root, - self.format, - root_dir=archive_root, - owner=self.owner, - group=self.group, - ) - if self.distribution.has_ext_modules(): - pyversion = get_python_version() - else: - pyversion = 'any' - self.distribution.dist_files.append(('bdist_dumb', pyversion, filename)) - - if not self.keep_temp: - remove_tree(self.bdist_dir, dry_run=self.dry_run) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist_rpm.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist_rpm.py deleted file mode 100644 index d443eb09..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/bdist_rpm.py +++ /dev/null @@ -1,597 +0,0 @@ -"""distutils.command.bdist_rpm - -Implements the Distutils 'bdist_rpm' command (create RPM source and binary -distributions).""" - -import os -import subprocess -import sys -from distutils._log import log - -from ..core import Command -from ..debug import DEBUG -from ..errors import ( - DistutilsExecError, - DistutilsFileError, - DistutilsOptionError, - DistutilsPlatformError, -) -from ..file_util import write_file -from ..sysconfig import get_python_version - - -class bdist_rpm(Command): - description = "create an RPM distribution" - - user_options = [ - ('bdist-base=', None, "base directory for creating built distributions"), - ( - 'rpm-base=', - None, - "base directory for creating RPMs (defaults to \"rpm\" under " - "--bdist-base; must be specified for RPM 2)", - ), - ( - 'dist-dir=', - 'd', - "directory to put final RPM files in (and .spec files if --spec-only)", - ), - ( - 'python=', - None, - "path to Python interpreter to hard-code in the .spec file " - "[default: \"python\"]", - ), - ( - 'fix-python', - None, - "hard-code the exact path to the current Python interpreter in " - "the .spec file", - ), - ('spec-only', None, "only regenerate spec file"), - ('source-only', None, "only generate source RPM"), - ('binary-only', None, "only generate binary RPM"), - ('use-bzip2', None, "use bzip2 instead of gzip to create source distribution"), - # More meta-data: too RPM-specific to put in the setup script, - # but needs to go in the .spec file -- so we make these options - # to "bdist_rpm". The idea is that packagers would put this - # info in setup.cfg, although they are of course free to - # supply it on the command line. - ( - 'distribution-name=', - None, - "name of the (Linux) distribution to which this " - "RPM applies (*not* the name of the module distribution!)", - ), - ('group=', None, "package classification [default: \"Development/Libraries\"]"), - ('release=', None, "RPM release number"), - ('serial=', None, "RPM serial number"), - ( - 'vendor=', - None, - "RPM \"vendor\" (eg. \"Joe Blow \") " - "[default: maintainer or author from setup script]", - ), - ( - 'packager=', - None, - "RPM packager (eg. \"Jane Doe \") [default: vendor]", - ), - ('doc-files=', None, "list of documentation files (space or comma-separated)"), - ('changelog=', None, "RPM changelog"), - ('icon=', None, "name of icon file"), - ('provides=', None, "capabilities provided by this package"), - ('requires=', None, "capabilities required by this package"), - ('conflicts=', None, "capabilities which conflict with this package"), - ('build-requires=', None, "capabilities required to build this package"), - ('obsoletes=', None, "capabilities made obsolete by this package"), - ('no-autoreq', None, "do not automatically calculate dependencies"), - # Actions to take when building RPM - ('keep-temp', 'k', "don't clean up RPM build directory"), - ('no-keep-temp', None, "clean up RPM build directory [default]"), - ( - 'use-rpm-opt-flags', - None, - "compile with RPM_OPT_FLAGS when building from source RPM", - ), - ('no-rpm-opt-flags', None, "do not pass any RPM CFLAGS to compiler"), - ('rpm3-mode', None, "RPM 3 compatibility mode (default)"), - ('rpm2-mode', None, "RPM 2 compatibility mode"), - # Add the hooks necessary for specifying custom scripts - ('prep-script=', None, "Specify a script for the PREP phase of RPM building"), - ('build-script=', None, "Specify a script for the BUILD phase of RPM building"), - ( - 'pre-install=', - None, - "Specify a script for the pre-INSTALL phase of RPM building", - ), - ( - 'install-script=', - None, - "Specify a script for the INSTALL phase of RPM building", - ), - ( - 'post-install=', - None, - "Specify a script for the post-INSTALL phase of RPM building", - ), - ( - 'pre-uninstall=', - None, - "Specify a script for the pre-UNINSTALL phase of RPM building", - ), - ( - 'post-uninstall=', - None, - "Specify a script for the post-UNINSTALL phase of RPM building", - ), - ('clean-script=', None, "Specify a script for the CLEAN phase of RPM building"), - ( - 'verify-script=', - None, - "Specify a script for the VERIFY phase of the RPM build", - ), - # Allow a packager to explicitly force an architecture - ('force-arch=', None, "Force an architecture onto the RPM build process"), - ('quiet', 'q', "Run the INSTALL phase of RPM building in quiet mode"), - ] - - boolean_options = [ - 'keep-temp', - 'use-rpm-opt-flags', - 'rpm3-mode', - 'no-autoreq', - 'quiet', - ] - - negative_opt = { - 'no-keep-temp': 'keep-temp', - 'no-rpm-opt-flags': 'use-rpm-opt-flags', - 'rpm2-mode': 'rpm3-mode', - } - - def initialize_options(self): - self.bdist_base = None - self.rpm_base = None - self.dist_dir = None - self.python = None - self.fix_python = None - self.spec_only = None - self.binary_only = None - self.source_only = None - self.use_bzip2 = None - - self.distribution_name = None - self.group = None - self.release = None - self.serial = None - self.vendor = None - self.packager = None - self.doc_files = None - self.changelog = None - self.icon = None - - self.prep_script = None - self.build_script = None - self.install_script = None - self.clean_script = None - self.verify_script = None - self.pre_install = None - self.post_install = None - self.pre_uninstall = None - self.post_uninstall = None - self.prep = None - self.provides = None - self.requires = None - self.conflicts = None - self.build_requires = None - self.obsoletes = None - - self.keep_temp = False - self.use_rpm_opt_flags = True - self.rpm3_mode = True - self.no_autoreq = False - - self.force_arch = None - self.quiet = False - - def finalize_options(self): - self.set_undefined_options('bdist', ('bdist_base', 'bdist_base')) - if self.rpm_base is None: - if not self.rpm3_mode: - raise DistutilsOptionError("you must specify --rpm-base in RPM 2 mode") - self.rpm_base = os.path.join(self.bdist_base, "rpm") - - if self.python is None: - if self.fix_python: - self.python = sys.executable - else: - self.python = "python3" - elif self.fix_python: - raise DistutilsOptionError( - "--python and --fix-python are mutually exclusive options" - ) - - if os.name != 'posix': - raise DistutilsPlatformError( - f"don't know how to create RPM distributions on platform {os.name}" - ) - if self.binary_only and self.source_only: - raise DistutilsOptionError( - "cannot supply both '--source-only' and '--binary-only'" - ) - - # don't pass CFLAGS to pure python distributions - if not self.distribution.has_ext_modules(): - self.use_rpm_opt_flags = False - - self.set_undefined_options('bdist', ('dist_dir', 'dist_dir')) - self.finalize_package_data() - - def finalize_package_data(self): - self.ensure_string('group', "Development/Libraries") - self.ensure_string( - 'vendor', - f"{self.distribution.get_contact()} <{self.distribution.get_contact_email()}>", - ) - self.ensure_string('packager') - self.ensure_string_list('doc_files') - if isinstance(self.doc_files, list): - for readme in ('README', 'README.txt'): - if os.path.exists(readme) and readme not in self.doc_files: - self.doc_files.append(readme) - - self.ensure_string('release', "1") - self.ensure_string('serial') # should it be an int? - - self.ensure_string('distribution_name') - - self.ensure_string('changelog') - # Format changelog correctly - self.changelog = self._format_changelog(self.changelog) - - self.ensure_filename('icon') - - self.ensure_filename('prep_script') - self.ensure_filename('build_script') - self.ensure_filename('install_script') - self.ensure_filename('clean_script') - self.ensure_filename('verify_script') - self.ensure_filename('pre_install') - self.ensure_filename('post_install') - self.ensure_filename('pre_uninstall') - self.ensure_filename('post_uninstall') - - # XXX don't forget we punted on summaries and descriptions -- they - # should be handled here eventually! - - # Now *this* is some meta-data that belongs in the setup script... - self.ensure_string_list('provides') - self.ensure_string_list('requires') - self.ensure_string_list('conflicts') - self.ensure_string_list('build_requires') - self.ensure_string_list('obsoletes') - - self.ensure_string('force_arch') - - def run(self): # noqa: C901 - if DEBUG: - print("before _get_package_data():") - print("vendor =", self.vendor) - print("packager =", self.packager) - print("doc_files =", self.doc_files) - print("changelog =", self.changelog) - - # make directories - if self.spec_only: - spec_dir = self.dist_dir - self.mkpath(spec_dir) - else: - rpm_dir = {} - for d in ('SOURCES', 'SPECS', 'BUILD', 'RPMS', 'SRPMS'): - rpm_dir[d] = os.path.join(self.rpm_base, d) - self.mkpath(rpm_dir[d]) - spec_dir = rpm_dir['SPECS'] - - # Spec file goes into 'dist_dir' if '--spec-only specified', - # build/rpm. otherwise. - spec_path = os.path.join(spec_dir, f"{self.distribution.get_name()}.spec") - self.execute( - write_file, (spec_path, self._make_spec_file()), f"writing '{spec_path}'" - ) - - if self.spec_only: # stop if requested - return - - # Make a source distribution and copy to SOURCES directory with - # optional icon. - saved_dist_files = self.distribution.dist_files[:] - sdist = self.reinitialize_command('sdist') - if self.use_bzip2: - sdist.formats = ['bztar'] - else: - sdist.formats = ['gztar'] - self.run_command('sdist') - self.distribution.dist_files = saved_dist_files - - source = sdist.get_archive_files()[0] - source_dir = rpm_dir['SOURCES'] - self.copy_file(source, source_dir) - - if self.icon: - if os.path.exists(self.icon): - self.copy_file(self.icon, source_dir) - else: - raise DistutilsFileError(f"icon file '{self.icon}' does not exist") - - # build package - log.info("building RPMs") - rpm_cmd = ['rpmbuild'] - - if self.source_only: # what kind of RPMs? - rpm_cmd.append('-bs') - elif self.binary_only: - rpm_cmd.append('-bb') - else: - rpm_cmd.append('-ba') - rpm_cmd.extend(['--define', f'__python {self.python}']) - if self.rpm3_mode: - rpm_cmd.extend(['--define', f'_topdir {os.path.abspath(self.rpm_base)}']) - if not self.keep_temp: - rpm_cmd.append('--clean') - - if self.quiet: - rpm_cmd.append('--quiet') - - rpm_cmd.append(spec_path) - # Determine the binary rpm names that should be built out of this spec - # file - # Note that some of these may not be really built (if the file - # list is empty) - nvr_string = "%{name}-%{version}-%{release}" - src_rpm = nvr_string + ".src.rpm" - non_src_rpm = "%{arch}/" + nvr_string + ".%{arch}.rpm" - q_cmd = rf"rpm -q --qf '{src_rpm} {non_src_rpm}\n' --specfile '{spec_path}'" - - out = os.popen(q_cmd) - try: - binary_rpms = [] - source_rpm = None - while True: - line = out.readline() - if not line: - break - ell = line.strip().split() - assert len(ell) == 2 - binary_rpms.append(ell[1]) - # The source rpm is named after the first entry in the spec file - if source_rpm is None: - source_rpm = ell[0] - - status = out.close() - if status: - raise DistutilsExecError(f"Failed to execute: {q_cmd!r}") - - finally: - out.close() - - self.spawn(rpm_cmd) - - if not self.dry_run: - if self.distribution.has_ext_modules(): - pyversion = get_python_version() - else: - pyversion = 'any' - - if not self.binary_only: - srpm = os.path.join(rpm_dir['SRPMS'], source_rpm) - assert os.path.exists(srpm) - self.move_file(srpm, self.dist_dir) - filename = os.path.join(self.dist_dir, source_rpm) - self.distribution.dist_files.append(('bdist_rpm', pyversion, filename)) - - if not self.source_only: - for rpm in binary_rpms: - rpm = os.path.join(rpm_dir['RPMS'], rpm) - if os.path.exists(rpm): - self.move_file(rpm, self.dist_dir) - filename = os.path.join(self.dist_dir, os.path.basename(rpm)) - self.distribution.dist_files.append(( - 'bdist_rpm', - pyversion, - filename, - )) - - def _dist_path(self, path): - return os.path.join(self.dist_dir, os.path.basename(path)) - - def _make_spec_file(self): # noqa: C901 - """Generate the text of an RPM spec file and return it as a - list of strings (one per line). - """ - # definitions and headers - spec_file = [ - '%define name ' + self.distribution.get_name(), - '%define version ' + self.distribution.get_version().replace('-', '_'), - '%define unmangled_version ' + self.distribution.get_version(), - '%define release ' + self.release.replace('-', '_'), - '', - 'Summary: ' + (self.distribution.get_description() or "UNKNOWN"), - ] - - # Workaround for #14443 which affects some RPM based systems such as - # RHEL6 (and probably derivatives) - vendor_hook = subprocess.getoutput('rpm --eval %{__os_install_post}') - # Generate a potential replacement value for __os_install_post (whilst - # normalizing the whitespace to simplify the test for whether the - # invocation of brp-python-bytecompile passes in __python): - vendor_hook = '\n'.join([ - f' {line.strip()} \\' for line in vendor_hook.splitlines() - ]) - problem = "brp-python-bytecompile \\\n" - fixed = "brp-python-bytecompile %{__python} \\\n" - fixed_hook = vendor_hook.replace(problem, fixed) - if fixed_hook != vendor_hook: - spec_file.append('# Workaround for https://bugs.python.org/issue14443') - spec_file.append('%define __os_install_post ' + fixed_hook + '\n') - - # put locale summaries into spec file - # XXX not supported for now (hard to put a dictionary - # in a config file -- arg!) - # for locale in self.summaries.keys(): - # spec_file.append('Summary(%s): %s' % (locale, - # self.summaries[locale])) - - spec_file.extend([ - 'Name: %{name}', - 'Version: %{version}', - 'Release: %{release}', - ]) - - # XXX yuck! this filename is available from the "sdist" command, - # but only after it has run: and we create the spec file before - # running "sdist", in case of --spec-only. - if self.use_bzip2: - spec_file.append('Source0: %{name}-%{unmangled_version}.tar.bz2') - else: - spec_file.append('Source0: %{name}-%{unmangled_version}.tar.gz') - - spec_file.extend([ - 'License: ' + (self.distribution.get_license() or "UNKNOWN"), - 'Group: ' + self.group, - 'BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot', - 'Prefix: %{_prefix}', - ]) - - if not self.force_arch: - # noarch if no extension modules - if not self.distribution.has_ext_modules(): - spec_file.append('BuildArch: noarch') - else: - spec_file.append(f'BuildArch: {self.force_arch}') - - for field in ( - 'Vendor', - 'Packager', - 'Provides', - 'Requires', - 'Conflicts', - 'Obsoletes', - ): - val = getattr(self, field.lower()) - if isinstance(val, list): - spec_file.append('{}: {}'.format(field, ' '.join(val))) - elif val is not None: - spec_file.append(f'{field}: {val}') - - if self.distribution.get_url(): - spec_file.append('Url: ' + self.distribution.get_url()) - - if self.distribution_name: - spec_file.append('Distribution: ' + self.distribution_name) - - if self.build_requires: - spec_file.append('BuildRequires: ' + ' '.join(self.build_requires)) - - if self.icon: - spec_file.append('Icon: ' + os.path.basename(self.icon)) - - if self.no_autoreq: - spec_file.append('AutoReq: 0') - - spec_file.extend([ - '', - '%description', - self.distribution.get_long_description() or "", - ]) - - # put locale descriptions into spec file - # XXX again, suppressed because config file syntax doesn't - # easily support this ;-( - # for locale in self.descriptions.keys(): - # spec_file.extend([ - # '', - # '%description -l ' + locale, - # self.descriptions[locale], - # ]) - - # rpm scripts - # figure out default build script - def_setup_call = f"{self.python} {os.path.basename(sys.argv[0])}" - def_build = f"{def_setup_call} build" - if self.use_rpm_opt_flags: - def_build = 'env CFLAGS="$RPM_OPT_FLAGS" ' + def_build - - # insert contents of files - - # XXX this is kind of misleading: user-supplied options are files - # that we open and interpolate into the spec file, but the defaults - # are just text that we drop in as-is. Hmmm. - - install_cmd = f'{def_setup_call} install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES' - - script_options = [ - ('prep', 'prep_script', "%setup -n %{name}-%{unmangled_version}"), - ('build', 'build_script', def_build), - ('install', 'install_script', install_cmd), - ('clean', 'clean_script', "rm -rf $RPM_BUILD_ROOT"), - ('verifyscript', 'verify_script', None), - ('pre', 'pre_install', None), - ('post', 'post_install', None), - ('preun', 'pre_uninstall', None), - ('postun', 'post_uninstall', None), - ] - - for rpm_opt, attr, default in script_options: - # Insert contents of file referred to, if no file is referred to - # use 'default' as contents of script - val = getattr(self, attr) - if val or default: - spec_file.extend([ - '', - '%' + rpm_opt, - ]) - if val: - with open(val) as f: - spec_file.extend(f.read().split('\n')) - else: - spec_file.append(default) - - # files section - spec_file.extend([ - '', - '%files -f INSTALLED_FILES', - '%defattr(-,root,root)', - ]) - - if self.doc_files: - spec_file.append('%doc ' + ' '.join(self.doc_files)) - - if self.changelog: - spec_file.extend([ - '', - '%changelog', - ]) - spec_file.extend(self.changelog) - - return spec_file - - def _format_changelog(self, changelog): - """Format the changelog correctly and convert it to a list of strings""" - if not changelog: - return changelog - new_changelog = [] - for line in changelog.strip().split('\n'): - line = line.strip() - if line[0] == '*': - new_changelog.extend(['', line]) - elif line[0] == '-': - new_changelog.append(line) - else: - new_changelog.append(' ' + line) - - # strip trailing newline inserted by first changelog entry - if not new_changelog[0]: - del new_changelog[0] - - return new_changelog diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build.py deleted file mode 100644 index caf55073..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build.py +++ /dev/null @@ -1,156 +0,0 @@ -"""distutils.command.build - -Implements the Distutils 'build' command.""" - -import os -import sys -import sysconfig - -from ..core import Command -from ..errors import DistutilsOptionError -from ..util import get_platform - - -def show_compilers(): - from ..ccompiler import show_compilers - - show_compilers() - - -class build(Command): - description = "build everything needed to install" - - user_options = [ - ('build-base=', 'b', "base directory for build library"), - ('build-purelib=', None, "build directory for platform-neutral distributions"), - ('build-platlib=', None, "build directory for platform-specific distributions"), - ( - 'build-lib=', - None, - "build directory for all distribution (defaults to either build-purelib or build-platlib", - ), - ('build-scripts=', None, "build directory for scripts"), - ('build-temp=', 't', "temporary build directory"), - ( - 'plat-name=', - 'p', - f"platform name to build for, if supported [default: {get_platform()}]", - ), - ('compiler=', 'c', "specify the compiler type"), - ('parallel=', 'j', "number of parallel build jobs"), - ('debug', 'g', "compile extensions and libraries with debugging information"), - ('force', 'f', "forcibly build everything (ignore file timestamps)"), - ('executable=', 'e', "specify final destination interpreter path (build.py)"), - ] - - boolean_options = ['debug', 'force'] - - help_options = [ - ('help-compiler', None, "list available compilers", show_compilers), - ] - - def initialize_options(self): - self.build_base = 'build' - # these are decided only after 'build_base' has its final value - # (unless overridden by the user or client) - self.build_purelib = None - self.build_platlib = None - self.build_lib = None - self.build_temp = None - self.build_scripts = None - self.compiler = None - self.plat_name = None - self.debug = None - self.force = False - self.executable = None - self.parallel = None - - def finalize_options(self): # noqa: C901 - if self.plat_name is None: - self.plat_name = get_platform() - else: - # plat-name only supported for windows (other platforms are - # supported via ./configure flags, if at all). Avoid misleading - # other platforms. - if os.name != 'nt': - raise DistutilsOptionError( - "--plat-name only supported on Windows (try " - "using './configure --help' on your platform)" - ) - - plat_specifier = f".{self.plat_name}-{sys.implementation.cache_tag}" - - # Python 3.13+ with --disable-gil shouldn't share build directories - if sysconfig.get_config_var('Py_GIL_DISABLED'): - plat_specifier += 't' - - # Make it so Python 2.x and Python 2.x with --with-pydebug don't - # share the same build directories. Doing so confuses the build - # process for C modules - if hasattr(sys, 'gettotalrefcount'): - plat_specifier += '-pydebug' - - # 'build_purelib' and 'build_platlib' just default to 'lib' and - # 'lib.' under the base build directory. We only use one of - # them for a given distribution, though -- - if self.build_purelib is None: - self.build_purelib = os.path.join(self.build_base, 'lib') - if self.build_platlib is None: - self.build_platlib = os.path.join(self.build_base, 'lib' + plat_specifier) - - # 'build_lib' is the actual directory that we will use for this - # particular module distribution -- if user didn't supply it, pick - # one of 'build_purelib' or 'build_platlib'. - if self.build_lib is None: - if self.distribution.has_ext_modules(): - self.build_lib = self.build_platlib - else: - self.build_lib = self.build_purelib - - # 'build_temp' -- temporary directory for compiler turds, - # "build/temp." - if self.build_temp is None: - self.build_temp = os.path.join(self.build_base, 'temp' + plat_specifier) - if self.build_scripts is None: - self.build_scripts = os.path.join( - self.build_base, 'scripts-%d.%d' % sys.version_info[:2] - ) - - if self.executable is None and sys.executable: - self.executable = os.path.normpath(sys.executable) - - if isinstance(self.parallel, str): - try: - self.parallel = int(self.parallel) - except ValueError: - raise DistutilsOptionError("parallel should be an integer") - - def run(self): - # Run all relevant sub-commands. This will be some subset of: - # - build_py - pure Python modules - # - build_clib - standalone C libraries - # - build_ext - Python extensions - # - build_scripts - (Python) scripts - for cmd_name in self.get_sub_commands(): - self.run_command(cmd_name) - - # -- Predicates for the sub-command list --------------------------- - - def has_pure_modules(self): - return self.distribution.has_pure_modules() - - def has_c_libraries(self): - return self.distribution.has_c_libraries() - - def has_ext_modules(self): - return self.distribution.has_ext_modules() - - def has_scripts(self): - return self.distribution.has_scripts() - - sub_commands = [ - ('build_py', has_pure_modules), - ('build_clib', has_c_libraries), - ('build_ext', has_ext_modules), - ('build_scripts', has_scripts), - ] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_clib.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_clib.py deleted file mode 100644 index a600d093..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_clib.py +++ /dev/null @@ -1,208 +0,0 @@ -"""distutils.command.build_clib - -Implements the Distutils 'build_clib' command, to build a C/C++ library -that is included in the module distribution and needed by an extension -module.""" - - -# XXX this module has *lots* of code ripped-off quite transparently from -# build_ext.py -- not surprisingly really, as the work required to build -# a static library from a collection of C source files is not really all -# that different from what's required to build a shared object file from -# a collection of C source files. Nevertheless, I haven't done the -# necessary refactoring to account for the overlap in code between the -# two modules, mainly because a number of subtle details changed in the -# cut 'n paste. Sigh. - -import os -from distutils._log import log - -from ..core import Command -from ..errors import DistutilsSetupError -from ..sysconfig import customize_compiler - - -def show_compilers(): - from ..ccompiler import show_compilers - - show_compilers() - - -class build_clib(Command): - description = "build C/C++ libraries used by Python extensions" - - user_options = [ - ('build-clib=', 'b', "directory to build C/C++ libraries to"), - ('build-temp=', 't', "directory to put temporary build by-products"), - ('debug', 'g', "compile with debugging information"), - ('force', 'f', "forcibly build everything (ignore file timestamps)"), - ('compiler=', 'c', "specify the compiler type"), - ] - - boolean_options = ['debug', 'force'] - - help_options = [ - ('help-compiler', None, "list available compilers", show_compilers), - ] - - def initialize_options(self): - self.build_clib = None - self.build_temp = None - - # List of libraries to build - self.libraries = None - - # Compilation options for all libraries - self.include_dirs = None - self.define = None - self.undef = None - self.debug = None - self.force = False - self.compiler = None - - def finalize_options(self): - # This might be confusing: both build-clib and build-temp default - # to build-temp as defined by the "build" command. This is because - # I think that C libraries are really just temporary build - # by-products, at least from the point of view of building Python - # extensions -- but I want to keep my options open. - self.set_undefined_options( - 'build', - ('build_temp', 'build_clib'), - ('build_temp', 'build_temp'), - ('compiler', 'compiler'), - ('debug', 'debug'), - ('force', 'force'), - ) - - self.libraries = self.distribution.libraries - if self.libraries: - self.check_library_list(self.libraries) - - if self.include_dirs is None: - self.include_dirs = self.distribution.include_dirs or [] - if isinstance(self.include_dirs, str): - self.include_dirs = self.include_dirs.split(os.pathsep) - - # XXX same as for build_ext -- what about 'self.define' and - # 'self.undef' ? - - def run(self): - if not self.libraries: - return - - # Yech -- this is cut 'n pasted from build_ext.py! - from ..ccompiler import new_compiler - - self.compiler = new_compiler( - compiler=self.compiler, dry_run=self.dry_run, force=self.force - ) - customize_compiler(self.compiler) - - if self.include_dirs is not None: - self.compiler.set_include_dirs(self.include_dirs) - if self.define is not None: - # 'define' option is a list of (name,value) tuples - for name, value in self.define: - self.compiler.define_macro(name, value) - if self.undef is not None: - for macro in self.undef: - self.compiler.undefine_macro(macro) - - self.build_libraries(self.libraries) - - def check_library_list(self, libraries): - """Ensure that the list of libraries is valid. - - `library` is presumably provided as a command option 'libraries'. - This method checks that it is a list of 2-tuples, where the tuples - are (library_name, build_info_dict). - - Raise DistutilsSetupError if the structure is invalid anywhere; - just returns otherwise. - """ - if not isinstance(libraries, list): - raise DistutilsSetupError("'libraries' option must be a list of tuples") - - for lib in libraries: - if not isinstance(lib, tuple) and len(lib) != 2: - raise DistutilsSetupError("each element of 'libraries' must a 2-tuple") - - name, build_info = lib - - if not isinstance(name, str): - raise DistutilsSetupError( - "first element of each tuple in 'libraries' " - "must be a string (the library name)" - ) - - if '/' in name or (os.sep != '/' and os.sep in name): - raise DistutilsSetupError( - f"bad library name '{lib[0]}': " - "may not contain directory separators" - ) - - if not isinstance(build_info, dict): - raise DistutilsSetupError( - "second element of each tuple in 'libraries' " - "must be a dictionary (build info)" - ) - - def get_library_names(self): - # Assume the library list is valid -- 'check_library_list()' is - # called from 'finalize_options()', so it should be! - if not self.libraries: - return None - - lib_names = [] - for lib_name, _build_info in self.libraries: - lib_names.append(lib_name) - return lib_names - - def get_source_files(self): - self.check_library_list(self.libraries) - filenames = [] - for lib_name, build_info in self.libraries: - sources = build_info.get('sources') - if sources is None or not isinstance(sources, (list, tuple)): - raise DistutilsSetupError( - f"in 'libraries' option (library '{lib_name}'), " - "'sources' must be present and must be " - "a list of source filenames" - ) - - filenames.extend(sources) - return filenames - - def build_libraries(self, libraries): - for lib_name, build_info in libraries: - sources = build_info.get('sources') - if sources is None or not isinstance(sources, (list, tuple)): - raise DistutilsSetupError( - f"in 'libraries' option (library '{lib_name}'), " - "'sources' must be present and must be " - "a list of source filenames" - ) - sources = list(sources) - - log.info("building '%s' library", lib_name) - - # First, compile the source code to object files in the library - # directory. (This should probably change to putting object - # files in a temporary build directory.) - macros = build_info.get('macros') - include_dirs = build_info.get('include_dirs') - objects = self.compiler.compile( - sources, - output_dir=self.build_temp, - macros=macros, - include_dirs=include_dirs, - debug=self.debug, - ) - - # Now "link" the object files together into a static library. - # (On Unix at least, this isn't really linking -- it just - # builds an archive. Whatever.) - self.compiler.create_static_lib( - objects, lib_name, output_dir=self.build_clib, debug=self.debug - ) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py deleted file mode 100644 index a7e3038b..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py +++ /dev/null @@ -1,796 +0,0 @@ -"""distutils.command.build_ext - -Implements the Distutils 'build_ext' command, for building extension -modules (currently limited to C extensions, should accommodate C++ -extensions ASAP).""" - -import contextlib -import os -import re -import sys -from distutils._log import log -from site import USER_BASE - -from .._modified import newer_group -from ..core import Command -from ..errors import ( - CCompilerError, - CompileError, - DistutilsError, - DistutilsOptionError, - DistutilsPlatformError, - DistutilsSetupError, -) -from ..extension import Extension -from ..sysconfig import customize_compiler, get_config_h_filename, get_python_version -from ..util import get_platform, is_mingw - -# An extension name is just a dot-separated list of Python NAMEs (ie. -# the same as a fully-qualified module name). -extension_name_re = re.compile(r'^[a-zA-Z_][a-zA-Z_0-9]*(\.[a-zA-Z_][a-zA-Z_0-9]*)*$') - - -def show_compilers(): - from ..ccompiler import show_compilers - - show_compilers() - - -class build_ext(Command): - description = "build C/C++ extensions (compile/link to build directory)" - - # XXX thoughts on how to deal with complex command-line options like - # these, i.e. how to make it so fancy_getopt can suck them off the - # command line and make it look like setup.py defined the appropriate - # lists of tuples of what-have-you. - # - each command needs a callback to process its command-line options - # - Command.__init__() needs access to its share of the whole - # command line (must ultimately come from - # Distribution.parse_command_line()) - # - it then calls the current command class' option-parsing - # callback to deal with weird options like -D, which have to - # parse the option text and churn out some custom data - # structure - # - that data structure (in this case, a list of 2-tuples) - # will then be present in the command object by the time - # we get to finalize_options() (i.e. the constructor - # takes care of both command-line and client options - # in between initialize_options() and finalize_options()) - - sep_by = f" (separated by '{os.pathsep}')" - user_options = [ - ('build-lib=', 'b', "directory for compiled extension modules"), - ('build-temp=', 't', "directory for temporary files (build by-products)"), - ( - 'plat-name=', - 'p', - "platform name to cross-compile for, if supported " - f"[default: {get_platform()}]", - ), - ( - 'inplace', - 'i', - "ignore build-lib and put compiled extensions into the source " - "directory alongside your pure Python modules", - ), - ( - 'include-dirs=', - 'I', - "list of directories to search for header files" + sep_by, - ), - ('define=', 'D', "C preprocessor macros to define"), - ('undef=', 'U', "C preprocessor macros to undefine"), - ('libraries=', 'l', "external C libraries to link with"), - ( - 'library-dirs=', - 'L', - "directories to search for external C libraries" + sep_by, - ), - ('rpath=', 'R', "directories to search for shared C libraries at runtime"), - ('link-objects=', 'O', "extra explicit link objects to include in the link"), - ('debug', 'g', "compile/link with debugging information"), - ('force', 'f', "forcibly build everything (ignore file timestamps)"), - ('compiler=', 'c', "specify the compiler type"), - ('parallel=', 'j', "number of parallel build jobs"), - ('swig-cpp', None, "make SWIG create C++ files (default is C)"), - ('swig-opts=', None, "list of SWIG command line options"), - ('swig=', None, "path to the SWIG executable"), - ('user', None, "add user include, library and rpath"), - ] - - boolean_options = ['inplace', 'debug', 'force', 'swig-cpp', 'user'] - - help_options = [ - ('help-compiler', None, "list available compilers", show_compilers), - ] - - def initialize_options(self): - self.extensions = None - self.build_lib = None - self.plat_name = None - self.build_temp = None - self.inplace = False - self.package = None - - self.include_dirs = None - self.define = None - self.undef = None - self.libraries = None - self.library_dirs = None - self.rpath = None - self.link_objects = None - self.debug = None - self.force = None - self.compiler = None - self.swig = None - self.swig_cpp = None - self.swig_opts = None - self.user = None - self.parallel = None - - @staticmethod - def _python_lib_dir(sysconfig): - """ - Resolve Python's library directory for building extensions - that rely on a shared Python library. - - See python/cpython#44264 and python/cpython#48686 - """ - if not sysconfig.get_config_var('Py_ENABLE_SHARED'): - return - - if sysconfig.python_build: - yield '.' - return - - if sys.platform == 'zos': - # On z/OS, a user is not required to install Python to - # a predetermined path, but can use Python portably - installed_dir = sysconfig.get_config_var('base') - lib_dir = sysconfig.get_config_var('platlibdir') - yield os.path.join(installed_dir, lib_dir) - else: - # building third party extensions - yield sysconfig.get_config_var('LIBDIR') - - def finalize_options(self): # noqa: C901 - from distutils import sysconfig - - self.set_undefined_options( - 'build', - ('build_lib', 'build_lib'), - ('build_temp', 'build_temp'), - ('compiler', 'compiler'), - ('debug', 'debug'), - ('force', 'force'), - ('parallel', 'parallel'), - ('plat_name', 'plat_name'), - ) - - if self.package is None: - self.package = self.distribution.ext_package - - self.extensions = self.distribution.ext_modules - - # Make sure Python's include directories (for Python.h, pyconfig.h, - # etc.) are in the include search path. - py_include = sysconfig.get_python_inc() - plat_py_include = sysconfig.get_python_inc(plat_specific=True) - if self.include_dirs is None: - self.include_dirs = self.distribution.include_dirs or [] - if isinstance(self.include_dirs, str): - self.include_dirs = self.include_dirs.split(os.pathsep) - - # If in a virtualenv, add its include directory - # Issue 16116 - if sys.exec_prefix != sys.base_exec_prefix: - self.include_dirs.append(os.path.join(sys.exec_prefix, 'include')) - - # Put the Python "system" include dir at the end, so that - # any local include dirs take precedence. - self.include_dirs.extend(py_include.split(os.path.pathsep)) - if plat_py_include != py_include: - self.include_dirs.extend(plat_py_include.split(os.path.pathsep)) - - self.ensure_string_list('libraries') - self.ensure_string_list('link_objects') - - # Life is easier if we're not forever checking for None, so - # simplify these options to empty lists if unset - if self.libraries is None: - self.libraries = [] - if self.library_dirs is None: - self.library_dirs = [] - elif isinstance(self.library_dirs, str): - self.library_dirs = self.library_dirs.split(os.pathsep) - - if self.rpath is None: - self.rpath = [] - elif isinstance(self.rpath, str): - self.rpath = self.rpath.split(os.pathsep) - - # for extensions under windows use different directories - # for Release and Debug builds. - # also Python's library directory must be appended to library_dirs - if os.name == 'nt' and not is_mingw(): - # the 'libs' directory is for binary installs - we assume that - # must be the *native* platform. But we don't really support - # cross-compiling via a binary install anyway, so we let it go. - self.library_dirs.append(os.path.join(sys.exec_prefix, 'libs')) - if sys.base_exec_prefix != sys.prefix: # Issue 16116 - self.library_dirs.append(os.path.join(sys.base_exec_prefix, 'libs')) - if self.debug: - self.build_temp = os.path.join(self.build_temp, "Debug") - else: - self.build_temp = os.path.join(self.build_temp, "Release") - - # Append the source distribution include and library directories, - # this allows distutils on windows to work in the source tree - self.include_dirs.append(os.path.dirname(get_config_h_filename())) - self.library_dirs.append(sys.base_exec_prefix) - - # Use the .lib files for the correct architecture - if self.plat_name == 'win32': - suffix = 'win32' - else: - # win-amd64 - suffix = self.plat_name[4:] - new_lib = os.path.join(sys.exec_prefix, 'PCbuild') - if suffix: - new_lib = os.path.join(new_lib, suffix) - self.library_dirs.append(new_lib) - - # For extensions under Cygwin, Python's library directory must be - # appended to library_dirs - if sys.platform[:6] == 'cygwin': - if not sysconfig.python_build: - # building third party extensions - self.library_dirs.append( - os.path.join( - sys.prefix, "lib", "python" + get_python_version(), "config" - ) - ) - else: - # building python standard extensions - self.library_dirs.append('.') - - self.library_dirs.extend(self._python_lib_dir(sysconfig)) - - # The argument parsing will result in self.define being a string, but - # it has to be a list of 2-tuples. All the preprocessor symbols - # specified by the 'define' option will be set to '1'. Multiple - # symbols can be separated with commas. - - if self.define: - defines = self.define.split(',') - self.define = [(symbol, '1') for symbol in defines] - - # The option for macros to undefine is also a string from the - # option parsing, but has to be a list. Multiple symbols can also - # be separated with commas here. - if self.undef: - self.undef = self.undef.split(',') - - if self.swig_opts is None: - self.swig_opts = [] - else: - self.swig_opts = self.swig_opts.split(' ') - - # Finally add the user include and library directories if requested - if self.user: - user_include = os.path.join(USER_BASE, "include") - user_lib = os.path.join(USER_BASE, "lib") - if os.path.isdir(user_include): - self.include_dirs.append(user_include) - if os.path.isdir(user_lib): - self.library_dirs.append(user_lib) - self.rpath.append(user_lib) - - if isinstance(self.parallel, str): - try: - self.parallel = int(self.parallel) - except ValueError: - raise DistutilsOptionError("parallel should be an integer") - - def run(self): # noqa: C901 - from ..ccompiler import new_compiler - - # 'self.extensions', as supplied by setup.py, is a list of - # Extension instances. See the documentation for Extension (in - # distutils.extension) for details. - # - # For backwards compatibility with Distutils 0.8.2 and earlier, we - # also allow the 'extensions' list to be a list of tuples: - # (ext_name, build_info) - # where build_info is a dictionary containing everything that - # Extension instances do except the name, with a few things being - # differently named. We convert these 2-tuples to Extension - # instances as needed. - - if not self.extensions: - return - - # If we were asked to build any C/C++ libraries, make sure that the - # directory where we put them is in the library search path for - # linking extensions. - if self.distribution.has_c_libraries(): - build_clib = self.get_finalized_command('build_clib') - self.libraries.extend(build_clib.get_library_names() or []) - self.library_dirs.append(build_clib.build_clib) - - # Setup the CCompiler object that we'll use to do all the - # compiling and linking - self.compiler = new_compiler( - compiler=self.compiler, - verbose=self.verbose, - dry_run=self.dry_run, - force=self.force, - ) - customize_compiler(self.compiler) - # If we are cross-compiling, init the compiler now (if we are not - # cross-compiling, init would not hurt, but people may rely on - # late initialization of compiler even if they shouldn't...) - if os.name == 'nt' and self.plat_name != get_platform(): - self.compiler.initialize(self.plat_name) - - # And make sure that any compile/link-related options (which might - # come from the command-line or from the setup script) are set in - # that CCompiler object -- that way, they automatically apply to - # all compiling and linking done here. - if self.include_dirs is not None: - self.compiler.set_include_dirs(self.include_dirs) - if self.define is not None: - # 'define' option is a list of (name,value) tuples - for name, value in self.define: - self.compiler.define_macro(name, value) - if self.undef is not None: - for macro in self.undef: - self.compiler.undefine_macro(macro) - if self.libraries is not None: - self.compiler.set_libraries(self.libraries) - if self.library_dirs is not None: - self.compiler.set_library_dirs(self.library_dirs) - if self.rpath is not None: - self.compiler.set_runtime_library_dirs(self.rpath) - if self.link_objects is not None: - self.compiler.set_link_objects(self.link_objects) - - # Now actually compile and link everything. - self.build_extensions() - - def check_extensions_list(self, extensions): # noqa: C901 - """Ensure that the list of extensions (presumably provided as a - command option 'extensions') is valid, i.e. it is a list of - Extension objects. We also support the old-style list of 2-tuples, - where the tuples are (ext_name, build_info), which are converted to - Extension instances here. - - Raise DistutilsSetupError if the structure is invalid anywhere; - just returns otherwise. - """ - if not isinstance(extensions, list): - raise DistutilsSetupError( - "'ext_modules' option must be a list of Extension instances" - ) - - for i, ext in enumerate(extensions): - if isinstance(ext, Extension): - continue # OK! (assume type-checking done - # by Extension constructor) - - if not isinstance(ext, tuple) or len(ext) != 2: - raise DistutilsSetupError( - "each element of 'ext_modules' option must be an " - "Extension instance or 2-tuple" - ) - - ext_name, build_info = ext - - log.warning( - "old-style (ext_name, build_info) tuple found in " - "ext_modules for extension '%s' " - "-- please convert to Extension instance", - ext_name, - ) - - if not (isinstance(ext_name, str) and extension_name_re.match(ext_name)): - raise DistutilsSetupError( - "first element of each tuple in 'ext_modules' " - "must be the extension name (a string)" - ) - - if not isinstance(build_info, dict): - raise DistutilsSetupError( - "second element of each tuple in 'ext_modules' " - "must be a dictionary (build info)" - ) - - # OK, the (ext_name, build_info) dict is type-safe: convert it - # to an Extension instance. - ext = Extension(ext_name, build_info['sources']) - - # Easy stuff: one-to-one mapping from dict elements to - # instance attributes. - for key in ( - 'include_dirs', - 'library_dirs', - 'libraries', - 'extra_objects', - 'extra_compile_args', - 'extra_link_args', - ): - val = build_info.get(key) - if val is not None: - setattr(ext, key, val) - - # Medium-easy stuff: same syntax/semantics, different names. - ext.runtime_library_dirs = build_info.get('rpath') - if 'def_file' in build_info: - log.warning("'def_file' element of build info dict no longer supported") - - # Non-trivial stuff: 'macros' split into 'define_macros' - # and 'undef_macros'. - macros = build_info.get('macros') - if macros: - ext.define_macros = [] - ext.undef_macros = [] - for macro in macros: - if not (isinstance(macro, tuple) and len(macro) in (1, 2)): - raise DistutilsSetupError( - "'macros' element of build info dict " - "must be 1- or 2-tuple" - ) - if len(macro) == 1: - ext.undef_macros.append(macro[0]) - elif len(macro) == 2: - ext.define_macros.append(macro) - - extensions[i] = ext - - def get_source_files(self): - self.check_extensions_list(self.extensions) - filenames = [] - - # Wouldn't it be neat if we knew the names of header files too... - for ext in self.extensions: - filenames.extend(ext.sources) - return filenames - - def get_outputs(self): - # Sanity check the 'extensions' list -- can't assume this is being - # done in the same run as a 'build_extensions()' call (in fact, we - # can probably assume that it *isn't*!). - self.check_extensions_list(self.extensions) - - # And build the list of output (built) filenames. Note that this - # ignores the 'inplace' flag, and assumes everything goes in the - # "build" tree. - return [self.get_ext_fullpath(ext.name) for ext in self.extensions] - - def build_extensions(self): - # First, sanity-check the 'extensions' list - self.check_extensions_list(self.extensions) - if self.parallel: - self._build_extensions_parallel() - else: - self._build_extensions_serial() - - def _build_extensions_parallel(self): - workers = self.parallel - if self.parallel is True: - workers = os.cpu_count() # may return None - try: - from concurrent.futures import ThreadPoolExecutor - except ImportError: - workers = None - - if workers is None: - self._build_extensions_serial() - return - - with ThreadPoolExecutor(max_workers=workers) as executor: - futures = [ - executor.submit(self.build_extension, ext) for ext in self.extensions - ] - for ext, fut in zip(self.extensions, futures): - with self._filter_build_errors(ext): - fut.result() - - def _build_extensions_serial(self): - for ext in self.extensions: - with self._filter_build_errors(ext): - self.build_extension(ext) - - @contextlib.contextmanager - def _filter_build_errors(self, ext): - try: - yield - except (CCompilerError, DistutilsError, CompileError) as e: - if not ext.optional: - raise - self.warn(f'building extension "{ext.name}" failed: {e}') - - def build_extension(self, ext): - sources = ext.sources - if sources is None or not isinstance(sources, (list, tuple)): - raise DistutilsSetupError( - f"in 'ext_modules' option (extension '{ext.name}'), " - "'sources' must be present and must be " - "a list of source filenames" - ) - # sort to make the resulting .so file build reproducible - sources = sorted(sources) - - ext_path = self.get_ext_fullpath(ext.name) - depends = sources + ext.depends - if not (self.force or newer_group(depends, ext_path, 'newer')): - log.debug("skipping '%s' extension (up-to-date)", ext.name) - return - else: - log.info("building '%s' extension", ext.name) - - # First, scan the sources for SWIG definition files (.i), run - # SWIG on 'em to create .c files, and modify the sources list - # accordingly. - sources = self.swig_sources(sources, ext) - - # Next, compile the source code to object files. - - # XXX not honouring 'define_macros' or 'undef_macros' -- the - # CCompiler API needs to change to accommodate this, and I - # want to do one thing at a time! - - # Two possible sources for extra compiler arguments: - # - 'extra_compile_args' in Extension object - # - CFLAGS environment variable (not particularly - # elegant, but people seem to expect it and I - # guess it's useful) - # The environment variable should take precedence, and - # any sensible compiler will give precedence to later - # command line args. Hence we combine them in order: - extra_args = ext.extra_compile_args or [] - - macros = ext.define_macros[:] - for undef in ext.undef_macros: - macros.append((undef,)) - - objects = self.compiler.compile( - sources, - output_dir=self.build_temp, - macros=macros, - include_dirs=ext.include_dirs, - debug=self.debug, - extra_postargs=extra_args, - depends=ext.depends, - ) - - # XXX outdated variable, kept here in case third-part code - # needs it. - self._built_objects = objects[:] - - # Now link the object files together into a "shared object" -- - # of course, first we have to figure out all the other things - # that go into the mix. - if ext.extra_objects: - objects.extend(ext.extra_objects) - extra_args = ext.extra_link_args or [] - - # Detect target language, if not provided - language = ext.language or self.compiler.detect_language(sources) - - self.compiler.link_shared_object( - objects, - ext_path, - libraries=self.get_libraries(ext), - library_dirs=ext.library_dirs, - runtime_library_dirs=ext.runtime_library_dirs, - extra_postargs=extra_args, - export_symbols=self.get_export_symbols(ext), - debug=self.debug, - build_temp=self.build_temp, - target_lang=language, - ) - - def swig_sources(self, sources, extension): - """Walk the list of source files in 'sources', looking for SWIG - interface (.i) files. Run SWIG on all that are found, and - return a modified 'sources' list with SWIG source files replaced - by the generated C (or C++) files. - """ - new_sources = [] - swig_sources = [] - swig_targets = {} - - # XXX this drops generated C/C++ files into the source tree, which - # is fine for developers who want to distribute the generated - # source -- but there should be an option to put SWIG output in - # the temp dir. - - if self.swig_cpp: - log.warning("--swig-cpp is deprecated - use --swig-opts=-c++") - - if ( - self.swig_cpp - or ('-c++' in self.swig_opts) - or ('-c++' in extension.swig_opts) - ): - target_ext = '.cpp' - else: - target_ext = '.c' - - for source in sources: - (base, ext) = os.path.splitext(source) - if ext == ".i": # SWIG interface file - new_sources.append(base + '_wrap' + target_ext) - swig_sources.append(source) - swig_targets[source] = new_sources[-1] - else: - new_sources.append(source) - - if not swig_sources: - return new_sources - - swig = self.swig or self.find_swig() - swig_cmd = [swig, "-python"] - swig_cmd.extend(self.swig_opts) - if self.swig_cpp: - swig_cmd.append("-c++") - - # Do not override commandline arguments - if not self.swig_opts: - swig_cmd.extend(extension.swig_opts) - - for source in swig_sources: - target = swig_targets[source] - log.info("swigging %s to %s", source, target) - self.spawn(swig_cmd + ["-o", target, source]) - - return new_sources - - def find_swig(self): - """Return the name of the SWIG executable. On Unix, this is - just "swig" -- it should be in the PATH. Tries a bit harder on - Windows. - """ - if os.name == "posix": - return "swig" - elif os.name == "nt": - # Look for SWIG in its standard installation directory on - # Windows (or so I presume!). If we find it there, great; - # if not, act like Unix and assume it's in the PATH. - for vers in ("1.3", "1.2", "1.1"): - fn = os.path.join(f"c:\\swig{vers}", "swig.exe") - if os.path.isfile(fn): - return fn - else: - return "swig.exe" - else: - raise DistutilsPlatformError( - "I don't know how to find (much less run) SWIG " - f"on platform '{os.name}'" - ) - - # -- Name generators ----------------------------------------------- - # (extension names, filenames, whatever) - def get_ext_fullpath(self, ext_name): - """Returns the path of the filename for a given extension. - - The file is located in `build_lib` or directly in the package - (inplace option). - """ - fullname = self.get_ext_fullname(ext_name) - modpath = fullname.split('.') - filename = self.get_ext_filename(modpath[-1]) - - if not self.inplace: - # no further work needed - # returning : - # build_dir/package/path/filename - filename = os.path.join(*modpath[:-1] + [filename]) - return os.path.join(self.build_lib, filename) - - # the inplace option requires to find the package directory - # using the build_py command for that - package = '.'.join(modpath[0:-1]) - build_py = self.get_finalized_command('build_py') - package_dir = os.path.abspath(build_py.get_package_dir(package)) - - # returning - # package_dir/filename - return os.path.join(package_dir, filename) - - def get_ext_fullname(self, ext_name): - """Returns the fullname of a given extension name. - - Adds the `package.` prefix""" - if self.package is None: - return ext_name - else: - return self.package + '.' + ext_name - - def get_ext_filename(self, ext_name): - r"""Convert the name of an extension (eg. "foo.bar") into the name - of the file from which it will be loaded (eg. "foo/bar.so", or - "foo\bar.pyd"). - """ - from ..sysconfig import get_config_var - - ext_path = ext_name.split('.') - ext_suffix = get_config_var('EXT_SUFFIX') - return os.path.join(*ext_path) + ext_suffix - - def get_export_symbols(self, ext): - """Return the list of symbols that a shared extension has to - export. This either uses 'ext.export_symbols' or, if it's not - provided, "PyInit_" + module_name. Only relevant on Windows, where - the .pyd file (DLL) must export the module "PyInit_" function. - """ - name = ext.name.split('.')[-1] - try: - # Unicode module name support as defined in PEP-489 - # https://peps.python.org/pep-0489/#export-hook-name - name.encode('ascii') - except UnicodeEncodeError: - suffix = 'U_' + name.encode('punycode').replace(b'-', b'_').decode('ascii') - else: - suffix = "_" + name - - initfunc_name = "PyInit" + suffix - if initfunc_name not in ext.export_symbols: - ext.export_symbols.append(initfunc_name) - return ext.export_symbols - - def get_libraries(self, ext): # noqa: C901 - """Return the list of libraries to link against when building a - shared extension. On most platforms, this is just 'ext.libraries'; - on Windows, we add the Python library (eg. python20.dll). - """ - # The python library is always needed on Windows. For MSVC, this - # is redundant, since the library is mentioned in a pragma in - # pyconfig.h that MSVC groks. The other Windows compilers all seem - # to need it mentioned explicitly, though, so that's what we do. - # Append '_d' to the python import library on debug builds. - if sys.platform == "win32" and not is_mingw(): - from .._msvccompiler import MSVCCompiler - - if not isinstance(self.compiler, MSVCCompiler): - template = "python%d%d" - if self.debug: - template = template + '_d' - pythonlib = template % ( - sys.hexversion >> 24, - (sys.hexversion >> 16) & 0xFF, - ) - # don't extend ext.libraries, it may be shared with other - # extensions, it is a reference to the original list - return ext.libraries + [pythonlib] - else: - # On Android only the main executable and LD_PRELOADs are considered - # to be RTLD_GLOBAL, all the dependencies of the main executable - # remain RTLD_LOCAL and so the shared libraries must be linked with - # libpython when python is built with a shared python library (issue - # bpo-21536). - # On Cygwin (and if required, other POSIX-like platforms based on - # Windows like MinGW) it is simply necessary that all symbols in - # shared libraries are resolved at link time. - from ..sysconfig import get_config_var - - link_libpython = False - if get_config_var('Py_ENABLE_SHARED'): - # A native build on an Android device or on Cygwin - if hasattr(sys, 'getandroidapilevel'): - link_libpython = True - elif sys.platform == 'cygwin' or is_mingw(): - link_libpython = True - elif '_PYTHON_HOST_PLATFORM' in os.environ: - # We are cross-compiling for one of the relevant platforms - if get_config_var('ANDROID_API_LEVEL') != 0: - link_libpython = True - elif get_config_var('MACHDEP') == 'cygwin': - link_libpython = True - - if link_libpython: - ldversion = get_config_var('LDVERSION') - return ext.libraries + ['python' + ldversion] - - return ext.libraries diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_py.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_py.py deleted file mode 100644 index 49d71034..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_py.py +++ /dev/null @@ -1,406 +0,0 @@ -"""distutils.command.build_py - -Implements the Distutils 'build_py' command.""" - -import glob -import importlib.util -import os -import sys -from distutils._log import log - -from ..core import Command -from ..errors import DistutilsFileError, DistutilsOptionError -from ..util import convert_path - - -class build_py(Command): - description = "\"build\" pure Python modules (copy to build directory)" - - user_options = [ - ('build-lib=', 'd', "directory to \"build\" (copy) to"), - ('compile', 'c', "compile .py to .pyc"), - ('no-compile', None, "don't compile .py files [default]"), - ( - 'optimize=', - 'O', - "also compile with optimization: -O1 for \"python -O\", " - "-O2 for \"python -OO\", and -O0 to disable [default: -O0]", - ), - ('force', 'f', "forcibly build everything (ignore file timestamps)"), - ] - - boolean_options = ['compile', 'force'] - negative_opt = {'no-compile': 'compile'} - - def initialize_options(self): - self.build_lib = None - self.py_modules = None - self.package = None - self.package_data = None - self.package_dir = None - self.compile = False - self.optimize = 0 - self.force = None - - def finalize_options(self): - self.set_undefined_options( - 'build', ('build_lib', 'build_lib'), ('force', 'force') - ) - - # Get the distribution options that are aliases for build_py - # options -- list of packages and list of modules. - self.packages = self.distribution.packages - self.py_modules = self.distribution.py_modules - self.package_data = self.distribution.package_data - self.package_dir = {} - if self.distribution.package_dir: - for name, path in self.distribution.package_dir.items(): - self.package_dir[name] = convert_path(path) - self.data_files = self.get_data_files() - - # Ick, copied straight from install_lib.py (fancy_getopt needs a - # type system! Hell, *everything* needs a type system!!!) - if not isinstance(self.optimize, int): - try: - self.optimize = int(self.optimize) - assert 0 <= self.optimize <= 2 - except (ValueError, AssertionError): - raise DistutilsOptionError("optimize must be 0, 1, or 2") - - def run(self): - # XXX copy_file by default preserves atime and mtime. IMHO this is - # the right thing to do, but perhaps it should be an option -- in - # particular, a site administrator might want installed files to - # reflect the time of installation rather than the last - # modification time before the installed release. - - # XXX copy_file by default preserves mode, which appears to be the - # wrong thing to do: if a file is read-only in the working - # directory, we want it to be installed read/write so that the next - # installation of the same module distribution can overwrite it - # without problems. (This might be a Unix-specific issue.) Thus - # we turn off 'preserve_mode' when copying to the build directory, - # since the build directory is supposed to be exactly what the - # installation will look like (ie. we preserve mode when - # installing). - - # Two options control which modules will be installed: 'packages' - # and 'py_modules'. The former lets us work with whole packages, not - # specifying individual modules at all; the latter is for - # specifying modules one-at-a-time. - - if self.py_modules: - self.build_modules() - if self.packages: - self.build_packages() - self.build_package_data() - - self.byte_compile(self.get_outputs(include_bytecode=False)) - - def get_data_files(self): - """Generate list of '(package,src_dir,build_dir,filenames)' tuples""" - data = [] - if not self.packages: - return data - for package in self.packages: - # Locate package source directory - src_dir = self.get_package_dir(package) - - # Compute package build directory - build_dir = os.path.join(*([self.build_lib] + package.split('.'))) - - # Length of path to strip from found files - plen = 0 - if src_dir: - plen = len(src_dir) + 1 - - # Strip directory from globbed filenames - filenames = [file[plen:] for file in self.find_data_files(package, src_dir)] - data.append((package, src_dir, build_dir, filenames)) - return data - - def find_data_files(self, package, src_dir): - """Return filenames for package's data files in 'src_dir'""" - globs = self.package_data.get('', []) + self.package_data.get(package, []) - files = [] - for pattern in globs: - # Each pattern has to be converted to a platform-specific path - filelist = glob.glob( - os.path.join(glob.escape(src_dir), convert_path(pattern)) - ) - # Files that match more than one pattern are only added once - files.extend([ - fn for fn in filelist if fn not in files and os.path.isfile(fn) - ]) - return files - - def build_package_data(self): - """Copy data files into build directory""" - for _package, src_dir, build_dir, filenames in self.data_files: - for filename in filenames: - target = os.path.join(build_dir, filename) - self.mkpath(os.path.dirname(target)) - self.copy_file( - os.path.join(src_dir, filename), target, preserve_mode=False - ) - - def get_package_dir(self, package): - """Return the directory, relative to the top of the source - distribution, where package 'package' should be found - (at least according to the 'package_dir' option, if any).""" - path = package.split('.') - - if not self.package_dir: - if path: - return os.path.join(*path) - else: - return '' - else: - tail = [] - while path: - try: - pdir = self.package_dir['.'.join(path)] - except KeyError: - tail.insert(0, path[-1]) - del path[-1] - else: - tail.insert(0, pdir) - return os.path.join(*tail) - else: - # Oops, got all the way through 'path' without finding a - # match in package_dir. If package_dir defines a directory - # for the root (nameless) package, then fallback on it; - # otherwise, we might as well have not consulted - # package_dir at all, as we just use the directory implied - # by 'tail' (which should be the same as the original value - # of 'path' at this point). - pdir = self.package_dir.get('') - if pdir is not None: - tail.insert(0, pdir) - - if tail: - return os.path.join(*tail) - else: - return '' - - def check_package(self, package, package_dir): - # Empty dir name means current directory, which we can probably - # assume exists. Also, os.path.exists and isdir don't know about - # my "empty string means current dir" convention, so we have to - # circumvent them. - if package_dir != "": - if not os.path.exists(package_dir): - raise DistutilsFileError( - f"package directory '{package_dir}' does not exist" - ) - if not os.path.isdir(package_dir): - raise DistutilsFileError( - f"supposed package directory '{package_dir}' exists, " - "but is not a directory" - ) - - # Directories without __init__.py are namespace packages (PEP 420). - if package: - init_py = os.path.join(package_dir, "__init__.py") - if os.path.isfile(init_py): - return init_py - - # Either not in a package at all (__init__.py not expected), or - # __init__.py doesn't exist -- so don't return the filename. - return None - - def check_module(self, module, module_file): - if not os.path.isfile(module_file): - log.warning("file %s (for module %s) not found", module_file, module) - return False - else: - return True - - def find_package_modules(self, package, package_dir): - self.check_package(package, package_dir) - module_files = glob.glob(os.path.join(glob.escape(package_dir), "*.py")) - modules = [] - setup_script = os.path.abspath(self.distribution.script_name) - - for f in module_files: - abs_f = os.path.abspath(f) - if abs_f != setup_script: - module = os.path.splitext(os.path.basename(f))[0] - modules.append((package, module, f)) - else: - self.debug_print(f"excluding {setup_script}") - return modules - - def find_modules(self): - """Finds individually-specified Python modules, ie. those listed by - module name in 'self.py_modules'. Returns a list of tuples (package, - module_base, filename): 'package' is a tuple of the path through - package-space to the module; 'module_base' is the bare (no - packages, no dots) module name, and 'filename' is the path to the - ".py" file (relative to the distribution root) that implements the - module. - """ - # Map package names to tuples of useful info about the package: - # (package_dir, checked) - # package_dir - the directory where we'll find source files for - # this package - # checked - true if we have checked that the package directory - # is valid (exists, contains __init__.py, ... ?) - packages = {} - - # List of (package, module, filename) tuples to return - modules = [] - - # We treat modules-in-packages almost the same as toplevel modules, - # just the "package" for a toplevel is empty (either an empty - # string or empty list, depending on context). Differences: - # - don't check for __init__.py in directory for empty package - for module in self.py_modules: - path = module.split('.') - package = '.'.join(path[0:-1]) - module_base = path[-1] - - try: - (package_dir, checked) = packages[package] - except KeyError: - package_dir = self.get_package_dir(package) - checked = False - - if not checked: - init_py = self.check_package(package, package_dir) - packages[package] = (package_dir, 1) - if init_py: - modules.append((package, "__init__", init_py)) - - # XXX perhaps we should also check for just .pyc files - # (so greedy closed-source bastards can distribute Python - # modules too) - module_file = os.path.join(package_dir, module_base + ".py") - if not self.check_module(module, module_file): - continue - - modules.append((package, module_base, module_file)) - - return modules - - def find_all_modules(self): - """Compute the list of all modules that will be built, whether - they are specified one-module-at-a-time ('self.py_modules') or - by whole packages ('self.packages'). Return a list of tuples - (package, module, module_file), just like 'find_modules()' and - 'find_package_modules()' do.""" - modules = [] - if self.py_modules: - modules.extend(self.find_modules()) - if self.packages: - for package in self.packages: - package_dir = self.get_package_dir(package) - m = self.find_package_modules(package, package_dir) - modules.extend(m) - return modules - - def get_source_files(self): - return [module[-1] for module in self.find_all_modules()] - - def get_module_outfile(self, build_dir, package, module): - outfile_path = [build_dir] + list(package) + [module + ".py"] - return os.path.join(*outfile_path) - - def get_outputs(self, include_bytecode=True): - modules = self.find_all_modules() - outputs = [] - for package, module, _module_file in modules: - package = package.split('.') - filename = self.get_module_outfile(self.build_lib, package, module) - outputs.append(filename) - if include_bytecode: - if self.compile: - outputs.append( - importlib.util.cache_from_source(filename, optimization='') - ) - if self.optimize > 0: - outputs.append( - importlib.util.cache_from_source( - filename, optimization=self.optimize - ) - ) - - outputs += [ - os.path.join(build_dir, filename) - for package, src_dir, build_dir, filenames in self.data_files - for filename in filenames - ] - - return outputs - - def build_module(self, module, module_file, package): - if isinstance(package, str): - package = package.split('.') - elif not isinstance(package, (list, tuple)): - raise TypeError( - "'package' must be a string (dot-separated), list, or tuple" - ) - - # Now put the module source file into the "build" area -- this is - # easy, we just copy it somewhere under self.build_lib (the build - # directory for Python source). - outfile = self.get_module_outfile(self.build_lib, package, module) - dir = os.path.dirname(outfile) - self.mkpath(dir) - return self.copy_file(module_file, outfile, preserve_mode=False) - - def build_modules(self): - modules = self.find_modules() - for package, module, module_file in modules: - # Now "build" the module -- ie. copy the source file to - # self.build_lib (the build directory for Python source). - # (Actually, it gets copied to the directory for this package - # under self.build_lib.) - self.build_module(module, module_file, package) - - def build_packages(self): - for package in self.packages: - # Get list of (package, module, module_file) tuples based on - # scanning the package directory. 'package' is only included - # in the tuple so that 'find_modules()' and - # 'find_package_tuples()' have a consistent interface; it's - # ignored here (apart from a sanity check). Also, 'module' is - # the *unqualified* module name (ie. no dots, no package -- we - # already know its package!), and 'module_file' is the path to - # the .py file, relative to the current directory - # (ie. including 'package_dir'). - package_dir = self.get_package_dir(package) - modules = self.find_package_modules(package, package_dir) - - # Now loop over the modules we found, "building" each one (just - # copy it to self.build_lib). - for package_, module, module_file in modules: - assert package == package_ - self.build_module(module, module_file, package) - - def byte_compile(self, files): - if sys.dont_write_bytecode: - self.warn('byte-compiling is disabled, skipping.') - return - - from ..util import byte_compile - - prefix = self.build_lib - if prefix[-1] != os.sep: - prefix = prefix + os.sep - - # XXX this code is essentially the same as the 'byte_compile() - # method of the "install_lib" command, except for the determination - # of the 'prefix' string. Hmmm. - if self.compile: - byte_compile( - files, optimize=0, force=self.force, prefix=prefix, dry_run=self.dry_run - ) - if self.optimize > 0: - byte_compile( - files, - optimize=self.optimize, - force=self.force, - prefix=prefix, - dry_run=self.dry_run, - ) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_scripts.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_scripts.py deleted file mode 100644 index 9e5963c2..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/build_scripts.py +++ /dev/null @@ -1,170 +0,0 @@ -"""distutils.command.build_scripts - -Implements the Distutils 'build_scripts' command.""" - -import os -import re -import tokenize -from distutils import sysconfig -from distutils._log import log -from stat import ST_MODE - -from .._modified import newer -from ..core import Command -from ..util import convert_path - -shebang_pattern = re.compile('^#!.*python[0-9.]*([ \t].*)?$') -""" -Pattern matching a Python interpreter indicated in first line of a script. -""" - -# for Setuptools compatibility -first_line_re = shebang_pattern - - -class build_scripts(Command): - description = "\"build\" scripts (copy and fixup #! line)" - - user_options = [ - ('build-dir=', 'd', "directory to \"build\" (copy) to"), - ('force', 'f', "forcibly build everything (ignore file timestamps"), - ('executable=', 'e', "specify final destination interpreter path"), - ] - - boolean_options = ['force'] - - def initialize_options(self): - self.build_dir = None - self.scripts = None - self.force = None - self.executable = None - - def finalize_options(self): - self.set_undefined_options( - 'build', - ('build_scripts', 'build_dir'), - ('force', 'force'), - ('executable', 'executable'), - ) - self.scripts = self.distribution.scripts - - def get_source_files(self): - return self.scripts - - def run(self): - if not self.scripts: - return - self.copy_scripts() - - def copy_scripts(self): - """ - Copy each script listed in ``self.scripts``. - - If a script is marked as a Python script (first line matches - 'shebang_pattern', i.e. starts with ``#!`` and contains - "python"), then adjust in the copy the first line to refer to - the current Python interpreter. - """ - self.mkpath(self.build_dir) - outfiles = [] - updated_files = [] - for script in self.scripts: - self._copy_script(script, outfiles, updated_files) - - self._change_modes(outfiles) - - return outfiles, updated_files - - def _copy_script(self, script, outfiles, updated_files): # noqa: C901 - shebang_match = None - script = convert_path(script) - outfile = os.path.join(self.build_dir, os.path.basename(script)) - outfiles.append(outfile) - - if not self.force and not newer(script, outfile): - log.debug("not copying %s (up-to-date)", script) - return - - # Always open the file, but ignore failures in dry-run mode - # in order to attempt to copy directly. - try: - f = tokenize.open(script) - except OSError: - if not self.dry_run: - raise - f = None - else: - first_line = f.readline() - if not first_line: - self.warn(f"{script} is an empty file (skipping)") - return - - shebang_match = shebang_pattern.match(first_line) - - updated_files.append(outfile) - if shebang_match: - log.info("copying and adjusting %s -> %s", script, self.build_dir) - if not self.dry_run: - if not sysconfig.python_build: - executable = self.executable - else: - executable = os.path.join( - sysconfig.get_config_var("BINDIR"), - "python{}{}".format( - sysconfig.get_config_var("VERSION"), - sysconfig.get_config_var("EXE"), - ), - ) - post_interp = shebang_match.group(1) or '' - shebang = "#!" + executable + post_interp + "\n" - self._validate_shebang(shebang, f.encoding) - with open(outfile, "w", encoding=f.encoding) as outf: - outf.write(shebang) - outf.writelines(f.readlines()) - if f: - f.close() - else: - if f: - f.close() - self.copy_file(script, outfile) - - def _change_modes(self, outfiles): - if os.name != 'posix': - return - - for file in outfiles: - self._change_mode(file) - - def _change_mode(self, file): - if self.dry_run: - log.info("changing mode of %s", file) - return - - oldmode = os.stat(file)[ST_MODE] & 0o7777 - newmode = (oldmode | 0o555) & 0o7777 - if newmode != oldmode: - log.info("changing mode of %s from %o to %o", file, oldmode, newmode) - os.chmod(file, newmode) - - @staticmethod - def _validate_shebang(shebang, encoding): - # Python parser starts to read a script using UTF-8 until - # it gets a #coding:xxx cookie. The shebang has to be the - # first line of a file, the #coding:xxx cookie cannot be - # written before. So the shebang has to be encodable to - # UTF-8. - try: - shebang.encode('utf-8') - except UnicodeEncodeError: - raise ValueError(f"The shebang ({shebang!r}) is not encodable to utf-8") - - # If the script is encoded to a custom encoding (use a - # #coding:xxx cookie), the shebang has to be encodable to - # the script encoding too. - try: - shebang.encode(encoding) - except UnicodeEncodeError: - raise ValueError( - f"The shebang ({shebang!r}) is not encodable " - f"to the script encoding ({encoding})" - ) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/check.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/check.py deleted file mode 100644 index 93d754e7..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/check.py +++ /dev/null @@ -1,154 +0,0 @@ -"""distutils.command.check - -Implements the Distutils 'check' command. -""" - -import contextlib - -from ..core import Command -from ..errors import DistutilsSetupError - -with contextlib.suppress(ImportError): - import docutils.frontend - import docutils.nodes - import docutils.parsers.rst - import docutils.utils - - class SilentReporter(docutils.utils.Reporter): - def __init__( - self, - source, - report_level, - halt_level, - stream=None, - debug=False, - encoding='ascii', - error_handler='replace', - ): - self.messages = [] - super().__init__( - source, report_level, halt_level, stream, debug, encoding, error_handler - ) - - def system_message(self, level, message, *children, **kwargs): - self.messages.append((level, message, children, kwargs)) - return docutils.nodes.system_message( - message, *children, level=level, type=self.levels[level], **kwargs - ) - - -class check(Command): - """This command checks the meta-data of the package.""" - - description = "perform some checks on the package" - user_options = [ - ('metadata', 'm', 'Verify meta-data'), - ( - 'restructuredtext', - 'r', - ( - 'Checks if long string meta-data syntax ' - 'are reStructuredText-compliant' - ), - ), - ('strict', 's', 'Will exit with an error if a check fails'), - ] - - boolean_options = ['metadata', 'restructuredtext', 'strict'] - - def initialize_options(self): - """Sets default values for options.""" - self.restructuredtext = False - self.metadata = 1 - self.strict = False - self._warnings = 0 - - def finalize_options(self): - pass - - def warn(self, msg): - """Counts the number of warnings that occurs.""" - self._warnings += 1 - return Command.warn(self, msg) - - def run(self): - """Runs the command.""" - # perform the various tests - if self.metadata: - self.check_metadata() - if self.restructuredtext: - if 'docutils' in globals(): - try: - self.check_restructuredtext() - except TypeError as exc: - raise DistutilsSetupError(str(exc)) - elif self.strict: - raise DistutilsSetupError('The docutils package is needed.') - - # let's raise an error in strict mode, if we have at least - # one warning - if self.strict and self._warnings > 0: - raise DistutilsSetupError('Please correct your package.') - - def check_metadata(self): - """Ensures that all required elements of meta-data are supplied. - - Required fields: - name, version - - Warns if any are missing. - """ - metadata = self.distribution.metadata - - missing = [ - attr for attr in ('name', 'version') if not getattr(metadata, attr, None) - ] - - if missing: - self.warn("missing required meta-data: {}".format(', '.join(missing))) - - def check_restructuredtext(self): - """Checks if the long string fields are reST-compliant.""" - data = self.distribution.get_long_description() - for warning in self._check_rst_data(data): - line = warning[-1].get('line') - if line is None: - warning = warning[1] - else: - warning = f'{warning[1]} (line {line})' - self.warn(warning) - - def _check_rst_data(self, data): - """Returns warnings when the provided data doesn't compile.""" - # the include and csv_table directives need this to be a path - source_path = self.distribution.script_name or 'setup.py' - parser = docutils.parsers.rst.Parser() - settings = docutils.frontend.OptionParser( - components=(docutils.parsers.rst.Parser,) - ).get_default_values() - settings.tab_width = 4 - settings.pep_references = None - settings.rfc_references = None - reporter = SilentReporter( - source_path, - settings.report_level, - settings.halt_level, - stream=settings.warning_stream, - debug=settings.debug, - encoding=settings.error_encoding, - error_handler=settings.error_encoding_error_handler, - ) - - document = docutils.nodes.document(settings, reporter, source=source_path) - document.note_source(source_path, -1) - try: - parser.parse(data, document) - except AttributeError as e: - reporter.messages.append(( - -1, - f'Could not finish the parsing: {e}.', - '', - {}, - )) - - return reporter.messages diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/clean.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/clean.py deleted file mode 100644 index fb54a60e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/clean.py +++ /dev/null @@ -1,76 +0,0 @@ -"""distutils.command.clean - -Implements the Distutils 'clean' command.""" - -# contributed by Bastian Kleineidam , added 2000-03-18 - -import os -from distutils._log import log - -from ..core import Command -from ..dir_util import remove_tree - - -class clean(Command): - description = "clean up temporary files from 'build' command" - user_options = [ - ('build-base=', 'b', "base build directory [default: 'build.build-base']"), - ( - 'build-lib=', - None, - "build directory for all modules [default: 'build.build-lib']", - ), - ('build-temp=', 't', "temporary build directory [default: 'build.build-temp']"), - ( - 'build-scripts=', - None, - "build directory for scripts [default: 'build.build-scripts']", - ), - ('bdist-base=', None, "temporary directory for built distributions"), - ('all', 'a', "remove all build output, not just temporary by-products"), - ] - - boolean_options = ['all'] - - def initialize_options(self): - self.build_base = None - self.build_lib = None - self.build_temp = None - self.build_scripts = None - self.bdist_base = None - self.all = None - - def finalize_options(self): - self.set_undefined_options( - 'build', - ('build_base', 'build_base'), - ('build_lib', 'build_lib'), - ('build_scripts', 'build_scripts'), - ('build_temp', 'build_temp'), - ) - self.set_undefined_options('bdist', ('bdist_base', 'bdist_base')) - - def run(self): - # remove the build/temp. directory (unless it's already - # gone) - if os.path.exists(self.build_temp): - remove_tree(self.build_temp, dry_run=self.dry_run) - else: - log.debug("'%s' does not exist -- can't clean it", self.build_temp) - - if self.all: - # remove build directories - for directory in (self.build_lib, self.bdist_base, self.build_scripts): - if os.path.exists(directory): - remove_tree(directory, dry_run=self.dry_run) - else: - log.warning("'%s' does not exist -- can't clean it", directory) - - # just for the heck of it, try to remove the base build directory: - # we might have emptied it right now, but if not we don't care - if not self.dry_run: - try: - os.rmdir(self.build_base) - log.info("removing '%s'", self.build_base) - except OSError: - pass diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/config.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/config.py deleted file mode 100644 index fe83c292..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/config.py +++ /dev/null @@ -1,369 +0,0 @@ -"""distutils.command.config - -Implements the Distutils 'config' command, a (mostly) empty command class -that exists mainly to be sub-classed by specific module distributions and -applications. The idea is that while every "config" command is different, -at least they're all named the same, and users always see "config" in the -list of standard commands. Also, this is a good place to put common -configure-like tasks: "try to compile this C code", or "figure out where -this header file lives". -""" - -from __future__ import annotations - -import os -import pathlib -import re -from collections.abc import Sequence -from distutils._log import log - -from ..core import Command -from ..errors import DistutilsExecError -from ..sysconfig import customize_compiler - -LANG_EXT = {"c": ".c", "c++": ".cxx"} - - -class config(Command): - description = "prepare to build" - - user_options = [ - ('compiler=', None, "specify the compiler type"), - ('cc=', None, "specify the compiler executable"), - ('include-dirs=', 'I', "list of directories to search for header files"), - ('define=', 'D', "C preprocessor macros to define"), - ('undef=', 'U', "C preprocessor macros to undefine"), - ('libraries=', 'l', "external C libraries to link with"), - ('library-dirs=', 'L', "directories to search for external C libraries"), - ('noisy', None, "show every action (compile, link, run, ...) taken"), - ( - 'dump-source', - None, - "dump generated source files before attempting to compile them", - ), - ] - - # The three standard command methods: since the "config" command - # does nothing by default, these are empty. - - def initialize_options(self): - self.compiler = None - self.cc = None - self.include_dirs = None - self.libraries = None - self.library_dirs = None - - # maximal output for now - self.noisy = 1 - self.dump_source = 1 - - # list of temporary files generated along-the-way that we have - # to clean at some point - self.temp_files = [] - - def finalize_options(self): - if self.include_dirs is None: - self.include_dirs = self.distribution.include_dirs or [] - elif isinstance(self.include_dirs, str): - self.include_dirs = self.include_dirs.split(os.pathsep) - - if self.libraries is None: - self.libraries = [] - elif isinstance(self.libraries, str): - self.libraries = [self.libraries] - - if self.library_dirs is None: - self.library_dirs = [] - elif isinstance(self.library_dirs, str): - self.library_dirs = self.library_dirs.split(os.pathsep) - - def run(self): - pass - - # Utility methods for actual "config" commands. The interfaces are - # loosely based on Autoconf macros of similar names. Sub-classes - # may use these freely. - - def _check_compiler(self): - """Check that 'self.compiler' really is a CCompiler object; - if not, make it one. - """ - # We do this late, and only on-demand, because this is an expensive - # import. - from ..ccompiler import CCompiler, new_compiler - - if not isinstance(self.compiler, CCompiler): - self.compiler = new_compiler( - compiler=self.compiler, dry_run=self.dry_run, force=True - ) - customize_compiler(self.compiler) - if self.include_dirs: - self.compiler.set_include_dirs(self.include_dirs) - if self.libraries: - self.compiler.set_libraries(self.libraries) - if self.library_dirs: - self.compiler.set_library_dirs(self.library_dirs) - - def _gen_temp_sourcefile(self, body, headers, lang): - filename = "_configtest" + LANG_EXT[lang] - with open(filename, "w", encoding='utf-8') as file: - if headers: - for header in headers: - file.write(f"#include <{header}>\n") - file.write("\n") - file.write(body) - if body[-1] != "\n": - file.write("\n") - return filename - - def _preprocess(self, body, headers, include_dirs, lang): - src = self._gen_temp_sourcefile(body, headers, lang) - out = "_configtest.i" - self.temp_files.extend([src, out]) - self.compiler.preprocess(src, out, include_dirs=include_dirs) - return (src, out) - - def _compile(self, body, headers, include_dirs, lang): - src = self._gen_temp_sourcefile(body, headers, lang) - if self.dump_source: - dump_file(src, f"compiling '{src}':") - (obj,) = self.compiler.object_filenames([src]) - self.temp_files.extend([src, obj]) - self.compiler.compile([src], include_dirs=include_dirs) - return (src, obj) - - def _link(self, body, headers, include_dirs, libraries, library_dirs, lang): - (src, obj) = self._compile(body, headers, include_dirs, lang) - prog = os.path.splitext(os.path.basename(src))[0] - self.compiler.link_executable( - [obj], - prog, - libraries=libraries, - library_dirs=library_dirs, - target_lang=lang, - ) - - if self.compiler.exe_extension is not None: - prog = prog + self.compiler.exe_extension - self.temp_files.append(prog) - - return (src, obj, prog) - - def _clean(self, *filenames): - if not filenames: - filenames = self.temp_files - self.temp_files = [] - log.info("removing: %s", ' '.join(filenames)) - for filename in filenames: - try: - os.remove(filename) - except OSError: - pass - - # XXX these ignore the dry-run flag: what to do, what to do? even if - # you want a dry-run build, you still need some sort of configuration - # info. My inclination is to make it up to the real config command to - # consult 'dry_run', and assume a default (minimal) configuration if - # true. The problem with trying to do it here is that you'd have to - # return either true or false from all the 'try' methods, neither of - # which is correct. - - # XXX need access to the header search path and maybe default macros. - - def try_cpp(self, body=None, headers=None, include_dirs=None, lang="c"): - """Construct a source file from 'body' (a string containing lines - of C/C++ code) and 'headers' (a list of header files to include) - and run it through the preprocessor. Return true if the - preprocessor succeeded, false if there were any errors. - ('body' probably isn't of much use, but what the heck.) - """ - from ..ccompiler import CompileError - - self._check_compiler() - ok = True - try: - self._preprocess(body, headers, include_dirs, lang) - except CompileError: - ok = False - - self._clean() - return ok - - def search_cpp(self, pattern, body=None, headers=None, include_dirs=None, lang="c"): - """Construct a source file (just like 'try_cpp()'), run it through - the preprocessor, and return true if any line of the output matches - 'pattern'. 'pattern' should either be a compiled regex object or a - string containing a regex. If both 'body' and 'headers' are None, - preprocesses an empty file -- which can be useful to determine the - symbols the preprocessor and compiler set by default. - """ - self._check_compiler() - src, out = self._preprocess(body, headers, include_dirs, lang) - - if isinstance(pattern, str): - pattern = re.compile(pattern) - - with open(out, encoding='utf-8') as file: - match = any(pattern.search(line) for line in file) - - self._clean() - return match - - def try_compile(self, body, headers=None, include_dirs=None, lang="c"): - """Try to compile a source file built from 'body' and 'headers'. - Return true on success, false otherwise. - """ - from ..ccompiler import CompileError - - self._check_compiler() - try: - self._compile(body, headers, include_dirs, lang) - ok = True - except CompileError: - ok = False - - log.info(ok and "success!" or "failure.") - self._clean() - return ok - - def try_link( - self, - body, - headers=None, - include_dirs=None, - libraries=None, - library_dirs=None, - lang="c", - ): - """Try to compile and link a source file, built from 'body' and - 'headers', to executable form. Return true on success, false - otherwise. - """ - from ..ccompiler import CompileError, LinkError - - self._check_compiler() - try: - self._link(body, headers, include_dirs, libraries, library_dirs, lang) - ok = True - except (CompileError, LinkError): - ok = False - - log.info(ok and "success!" or "failure.") - self._clean() - return ok - - def try_run( - self, - body, - headers=None, - include_dirs=None, - libraries=None, - library_dirs=None, - lang="c", - ): - """Try to compile, link to an executable, and run a program - built from 'body' and 'headers'. Return true on success, false - otherwise. - """ - from ..ccompiler import CompileError, LinkError - - self._check_compiler() - try: - src, obj, exe = self._link( - body, headers, include_dirs, libraries, library_dirs, lang - ) - self.spawn([exe]) - ok = True - except (CompileError, LinkError, DistutilsExecError): - ok = False - - log.info(ok and "success!" or "failure.") - self._clean() - return ok - - # -- High-level methods -------------------------------------------- - # (these are the ones that are actually likely to be useful - # when implementing a real-world config command!) - - def check_func( - self, - func, - headers=None, - include_dirs=None, - libraries=None, - library_dirs=None, - decl=False, - call=False, - ): - """Determine if function 'func' is available by constructing a - source file that refers to 'func', and compiles and links it. - If everything succeeds, returns true; otherwise returns false. - - The constructed source file starts out by including the header - files listed in 'headers'. If 'decl' is true, it then declares - 'func' (as "int func()"); you probably shouldn't supply 'headers' - and set 'decl' true in the same call, or you might get errors about - a conflicting declarations for 'func'. Finally, the constructed - 'main()' function either references 'func' or (if 'call' is true) - calls it. 'libraries' and 'library_dirs' are used when - linking. - """ - self._check_compiler() - body = [] - if decl: - body.append(f"int {func} ();") - body.append("int main () {") - if call: - body.append(f" {func}();") - else: - body.append(f" {func};") - body.append("}") - body = "\n".join(body) + "\n" - - return self.try_link(body, headers, include_dirs, libraries, library_dirs) - - def check_lib( - self, - library, - library_dirs=None, - headers=None, - include_dirs=None, - other_libraries: Sequence[str] = [], - ): - """Determine if 'library' is available to be linked against, - without actually checking that any particular symbols are provided - by it. 'headers' will be used in constructing the source file to - be compiled, but the only effect of this is to check if all the - header files listed are available. Any libraries listed in - 'other_libraries' will be included in the link, in case 'library' - has symbols that depend on other libraries. - """ - self._check_compiler() - return self.try_link( - "int main (void) { }", - headers, - include_dirs, - [library] + list(other_libraries), - library_dirs, - ) - - def check_header(self, header, include_dirs=None, library_dirs=None, lang="c"): - """Determine if the system header file named by 'header_file' - exists and can be found by the preprocessor; return true if so, - false otherwise. - """ - return self.try_cpp( - body="/* No body */", headers=[header], include_dirs=include_dirs - ) - - -def dump_file(filename, head=None): - """Dumps a file content into log.info. - - If head is not None, will be dumped before the file content. - """ - if head is None: - log.info('%s', filename) - else: - log.info(head) - log.info(pathlib.Path(filename).read_text(encoding='utf-8')) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install.py deleted file mode 100644 index ceb453e0..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install.py +++ /dev/null @@ -1,811 +0,0 @@ -"""distutils.command.install - -Implements the Distutils 'install' command.""" - -import contextlib -import itertools -import os -import sys -import sysconfig -from distutils._log import log -from site import USER_BASE, USER_SITE - -import jaraco.collections - -from ..core import Command -from ..debug import DEBUG -from ..errors import DistutilsOptionError, DistutilsPlatformError -from ..file_util import write_file -from ..sysconfig import get_config_vars -from ..util import change_root, convert_path, get_platform, subst_vars -from . import _framework_compat as fw - -HAS_USER_SITE = True - -WINDOWS_SCHEME = { - 'purelib': '{base}/Lib/site-packages', - 'platlib': '{base}/Lib/site-packages', - 'headers': '{base}/Include/{dist_name}', - 'scripts': '{base}/Scripts', - 'data': '{base}', -} - -INSTALL_SCHEMES = { - 'posix_prefix': { - 'purelib': '{base}/lib/{implementation_lower}{py_version_short}/site-packages', - 'platlib': '{platbase}/{platlibdir}/{implementation_lower}' - '{py_version_short}/site-packages', - 'headers': '{base}/include/{implementation_lower}' - '{py_version_short}{abiflags}/{dist_name}', - 'scripts': '{base}/bin', - 'data': '{base}', - }, - 'posix_home': { - 'purelib': '{base}/lib/{implementation_lower}', - 'platlib': '{base}/{platlibdir}/{implementation_lower}', - 'headers': '{base}/include/{implementation_lower}/{dist_name}', - 'scripts': '{base}/bin', - 'data': '{base}', - }, - 'nt': WINDOWS_SCHEME, - 'pypy': { - 'purelib': '{base}/site-packages', - 'platlib': '{base}/site-packages', - 'headers': '{base}/include/{dist_name}', - 'scripts': '{base}/bin', - 'data': '{base}', - }, - 'pypy_nt': { - 'purelib': '{base}/site-packages', - 'platlib': '{base}/site-packages', - 'headers': '{base}/include/{dist_name}', - 'scripts': '{base}/Scripts', - 'data': '{base}', - }, -} - -# user site schemes -if HAS_USER_SITE: - INSTALL_SCHEMES['nt_user'] = { - 'purelib': '{usersite}', - 'platlib': '{usersite}', - 'headers': '{userbase}/{implementation}{py_version_nodot_plat}' - '/Include/{dist_name}', - 'scripts': '{userbase}/{implementation}{py_version_nodot_plat}/Scripts', - 'data': '{userbase}', - } - - INSTALL_SCHEMES['posix_user'] = { - 'purelib': '{usersite}', - 'platlib': '{usersite}', - 'headers': '{userbase}/include/{implementation_lower}' - '{py_version_short}{abiflags}/{dist_name}', - 'scripts': '{userbase}/bin', - 'data': '{userbase}', - } - - -INSTALL_SCHEMES.update(fw.schemes) - - -# The keys to an installation scheme; if any new types of files are to be -# installed, be sure to add an entry to every installation scheme above, -# and to SCHEME_KEYS here. -SCHEME_KEYS = ('purelib', 'platlib', 'headers', 'scripts', 'data') - - -def _load_sysconfig_schemes(): - with contextlib.suppress(AttributeError): - return { - scheme: sysconfig.get_paths(scheme, expand=False) - for scheme in sysconfig.get_scheme_names() - } - - -def _load_schemes(): - """ - Extend default schemes with schemes from sysconfig. - """ - - sysconfig_schemes = _load_sysconfig_schemes() or {} - - return { - scheme: { - **INSTALL_SCHEMES.get(scheme, {}), - **sysconfig_schemes.get(scheme, {}), - } - for scheme in set(itertools.chain(INSTALL_SCHEMES, sysconfig_schemes)) - } - - -def _get_implementation(): - if hasattr(sys, 'pypy_version_info'): - return 'PyPy' - else: - return 'Python' - - -def _select_scheme(ob, name): - scheme = _inject_headers(name, _load_scheme(_resolve_scheme(name))) - vars(ob).update(_remove_set(ob, _scheme_attrs(scheme))) - - -def _remove_set(ob, attrs): - """ - Include only attrs that are None in ob. - """ - return {key: value for key, value in attrs.items() if getattr(ob, key) is None} - - -def _resolve_scheme(name): - os_name, sep, key = name.partition('_') - try: - resolved = sysconfig.get_preferred_scheme(key) - except Exception: - resolved = fw.scheme(_pypy_hack(name)) - return resolved - - -def _load_scheme(name): - return _load_schemes()[name] - - -def _inject_headers(name, scheme): - """ - Given a scheme name and the resolved scheme, - if the scheme does not include headers, resolve - the fallback scheme for the name and use headers - from it. pypa/distutils#88 - """ - # Bypass the preferred scheme, which may not - # have defined headers. - fallback = _load_scheme(_pypy_hack(name)) - scheme.setdefault('headers', fallback['headers']) - return scheme - - -def _scheme_attrs(scheme): - """Resolve install directories by applying the install schemes.""" - return {f'install_{key}': scheme[key] for key in SCHEME_KEYS} - - -def _pypy_hack(name): - PY37 = sys.version_info < (3, 8) - old_pypy = hasattr(sys, 'pypy_version_info') and PY37 - prefix = not name.endswith(('_user', '_home')) - pypy_name = 'pypy' + '_nt' * (os.name == 'nt') - return pypy_name if old_pypy and prefix else name - - -class install(Command): - description = "install everything from build directory" - - user_options = [ - # Select installation scheme and set base director(y|ies) - ('prefix=', None, "installation prefix"), - ('exec-prefix=', None, "(Unix only) prefix for platform-specific files"), - ('home=', None, "(Unix only) home directory to install under"), - # Or, just set the base director(y|ies) - ( - 'install-base=', - None, - "base installation directory (instead of --prefix or --home)", - ), - ( - 'install-platbase=', - None, - "base installation directory for platform-specific files (instead of --exec-prefix or --home)", - ), - ('root=', None, "install everything relative to this alternate root directory"), - # Or, explicitly set the installation scheme - ( - 'install-purelib=', - None, - "installation directory for pure Python module distributions", - ), - ( - 'install-platlib=', - None, - "installation directory for non-pure module distributions", - ), - ( - 'install-lib=', - None, - "installation directory for all module distributions (overrides --install-purelib and --install-platlib)", - ), - ('install-headers=', None, "installation directory for C/C++ headers"), - ('install-scripts=', None, "installation directory for Python scripts"), - ('install-data=', None, "installation directory for data files"), - # Byte-compilation options -- see install_lib.py for details, as - # these are duplicated from there (but only install_lib does - # anything with them). - ('compile', 'c', "compile .py to .pyc [default]"), - ('no-compile', None, "don't compile .py files"), - ( - 'optimize=', - 'O', - "also compile with optimization: -O1 for \"python -O\", " - "-O2 for \"python -OO\", and -O0 to disable [default: -O0]", - ), - # Miscellaneous control options - ('force', 'f', "force installation (overwrite any existing files)"), - ('skip-build', None, "skip rebuilding everything (for testing/debugging)"), - # Where to install documentation (eventually!) - # ('doc-format=', None, "format of documentation to generate"), - # ('install-man=', None, "directory for Unix man pages"), - # ('install-html=', None, "directory for HTML documentation"), - # ('install-info=', None, "directory for GNU info files"), - ('record=', None, "filename in which to record list of installed files"), - ] - - boolean_options = ['compile', 'force', 'skip-build'] - - if HAS_USER_SITE: - user_options.append(( - 'user', - None, - f"install in user site-package '{USER_SITE}'", - )) - boolean_options.append('user') - - negative_opt = {'no-compile': 'compile'} - - def initialize_options(self): - """Initializes options.""" - # High-level options: these select both an installation base - # and scheme. - self.prefix = None - self.exec_prefix = None - self.home = None - self.user = False - - # These select only the installation base; it's up to the user to - # specify the installation scheme (currently, that means supplying - # the --install-{platlib,purelib,scripts,data} options). - self.install_base = None - self.install_platbase = None - self.root = None - - # These options are the actual installation directories; if not - # supplied by the user, they are filled in using the installation - # scheme implied by prefix/exec-prefix/home and the contents of - # that installation scheme. - self.install_purelib = None # for pure module distributions - self.install_platlib = None # non-pure (dists w/ extensions) - self.install_headers = None # for C/C++ headers - self.install_lib = None # set to either purelib or platlib - self.install_scripts = None - self.install_data = None - self.install_userbase = USER_BASE - self.install_usersite = USER_SITE - - self.compile = None - self.optimize = None - - # Deprecated - # These two are for putting non-packagized distributions into their - # own directory and creating a .pth file if it makes sense. - # 'extra_path' comes from the setup file; 'install_path_file' can - # be turned off if it makes no sense to install a .pth file. (But - # better to install it uselessly than to guess wrong and not - # install it when it's necessary and would be used!) Currently, - # 'install_path_file' is always true unless some outsider meddles - # with it. - self.extra_path = None - self.install_path_file = True - - # 'force' forces installation, even if target files are not - # out-of-date. 'skip_build' skips running the "build" command, - # handy if you know it's not necessary. 'warn_dir' (which is *not* - # a user option, it's just there so the bdist_* commands can turn - # it off) determines whether we warn about installing to a - # directory not in sys.path. - self.force = False - self.skip_build = False - self.warn_dir = True - - # These are only here as a conduit from the 'build' command to the - # 'install_*' commands that do the real work. ('build_base' isn't - # actually used anywhere, but it might be useful in future.) They - # are not user options, because if the user told the install - # command where the build directory is, that wouldn't affect the - # build command. - self.build_base = None - self.build_lib = None - - # Not defined yet because we don't know anything about - # documentation yet. - # self.install_man = None - # self.install_html = None - # self.install_info = None - - self.record = None - - # -- Option finalizing methods ------------------------------------- - # (This is rather more involved than for most commands, - # because this is where the policy for installing third- - # party Python modules on various platforms given a wide - # array of user input is decided. Yes, it's quite complex!) - - def finalize_options(self): # noqa: C901 - """Finalizes options.""" - # This method (and its helpers, like 'finalize_unix()', - # 'finalize_other()', and 'select_scheme()') is where the default - # installation directories for modules, extension modules, and - # anything else we care to install from a Python module - # distribution. Thus, this code makes a pretty important policy - # statement about how third-party stuff is added to a Python - # installation! Note that the actual work of installation is done - # by the relatively simple 'install_*' commands; they just take - # their orders from the installation directory options determined - # here. - - # Check for errors/inconsistencies in the options; first, stuff - # that's wrong on any platform. - - if (self.prefix or self.exec_prefix or self.home) and ( - self.install_base or self.install_platbase - ): - raise DistutilsOptionError( - "must supply either prefix/exec-prefix/home or install-base/install-platbase -- not both" - ) - - if self.home and (self.prefix or self.exec_prefix): - raise DistutilsOptionError( - "must supply either home or prefix/exec-prefix -- not both" - ) - - if self.user and ( - self.prefix - or self.exec_prefix - or self.home - or self.install_base - or self.install_platbase - ): - raise DistutilsOptionError( - "can't combine user with prefix, " - "exec_prefix/home, or install_(plat)base" - ) - - # Next, stuff that's wrong (or dubious) only on certain platforms. - if os.name != "posix": - if self.exec_prefix: - self.warn("exec-prefix option ignored on this platform") - self.exec_prefix = None - - # Now the interesting logic -- so interesting that we farm it out - # to other methods. The goal of these methods is to set the final - # values for the install_{lib,scripts,data,...} options, using as - # input a heady brew of prefix, exec_prefix, home, install_base, - # install_platbase, user-supplied versions of - # install_{purelib,platlib,lib,scripts,data,...}, and the - # install schemes. Phew! - - self.dump_dirs("pre-finalize_{unix,other}") - - if os.name == 'posix': - self.finalize_unix() - else: - self.finalize_other() - - self.dump_dirs("post-finalize_{unix,other}()") - - # Expand configuration variables, tilde, etc. in self.install_base - # and self.install_platbase -- that way, we can use $base or - # $platbase in the other installation directories and not worry - # about needing recursive variable expansion (shudder). - - py_version = sys.version.split()[0] - (prefix, exec_prefix) = get_config_vars('prefix', 'exec_prefix') - try: - abiflags = sys.abiflags - except AttributeError: - # sys.abiflags may not be defined on all platforms. - abiflags = '' - local_vars = { - 'dist_name': self.distribution.get_name(), - 'dist_version': self.distribution.get_version(), - 'dist_fullname': self.distribution.get_fullname(), - 'py_version': py_version, - 'py_version_short': '%d.%d' % sys.version_info[:2], - 'py_version_nodot': '%d%d' % sys.version_info[:2], - 'sys_prefix': prefix, - 'prefix': prefix, - 'sys_exec_prefix': exec_prefix, - 'exec_prefix': exec_prefix, - 'abiflags': abiflags, - 'platlibdir': getattr(sys, 'platlibdir', 'lib'), - 'implementation_lower': _get_implementation().lower(), - 'implementation': _get_implementation(), - } - - # vars for compatibility on older Pythons - compat_vars = dict( - # Python 3.9 and earlier - py_version_nodot_plat=getattr(sys, 'winver', '').replace('.', ''), - ) - - if HAS_USER_SITE: - local_vars['userbase'] = self.install_userbase - local_vars['usersite'] = self.install_usersite - - self.config_vars = jaraco.collections.DictStack([ - fw.vars(), - compat_vars, - sysconfig.get_config_vars(), - local_vars, - ]) - - self.expand_basedirs() - - self.dump_dirs("post-expand_basedirs()") - - # Now define config vars for the base directories so we can expand - # everything else. - local_vars['base'] = self.install_base - local_vars['platbase'] = self.install_platbase - - if DEBUG: - from pprint import pprint - - print("config vars:") - pprint(dict(self.config_vars)) - - # Expand "~" and configuration variables in the installation - # directories. - self.expand_dirs() - - self.dump_dirs("post-expand_dirs()") - - # Create directories in the home dir: - if self.user: - self.create_home_path() - - # Pick the actual directory to install all modules to: either - # install_purelib or install_platlib, depending on whether this - # module distribution is pure or not. Of course, if the user - # already specified install_lib, use their selection. - if self.install_lib is None: - if self.distribution.has_ext_modules(): # has extensions: non-pure - self.install_lib = self.install_platlib - else: - self.install_lib = self.install_purelib - - # Convert directories from Unix /-separated syntax to the local - # convention. - self.convert_paths( - 'lib', - 'purelib', - 'platlib', - 'scripts', - 'data', - 'headers', - 'userbase', - 'usersite', - ) - - # Deprecated - # Well, we're not actually fully completely finalized yet: we still - # have to deal with 'extra_path', which is the hack for allowing - # non-packagized module distributions (hello, Numerical Python!) to - # get their own directories. - self.handle_extra_path() - self.install_libbase = self.install_lib # needed for .pth file - self.install_lib = os.path.join(self.install_lib, self.extra_dirs) - - # If a new root directory was supplied, make all the installation - # dirs relative to it. - if self.root is not None: - self.change_roots( - 'libbase', 'lib', 'purelib', 'platlib', 'scripts', 'data', 'headers' - ) - - self.dump_dirs("after prepending root") - - # Find out the build directories, ie. where to install from. - self.set_undefined_options( - 'build', ('build_base', 'build_base'), ('build_lib', 'build_lib') - ) - - # Punt on doc directories for now -- after all, we're punting on - # documentation completely! - - def dump_dirs(self, msg): - """Dumps the list of user options.""" - if not DEBUG: - return - from ..fancy_getopt import longopt_xlate - - log.debug(msg + ":") - for opt in self.user_options: - opt_name = opt[0] - if opt_name[-1] == "=": - opt_name = opt_name[0:-1] - if opt_name in self.negative_opt: - opt_name = self.negative_opt[opt_name] - opt_name = opt_name.translate(longopt_xlate) - val = not getattr(self, opt_name) - else: - opt_name = opt_name.translate(longopt_xlate) - val = getattr(self, opt_name) - log.debug(" %s: %s", opt_name, val) - - def finalize_unix(self): - """Finalizes options for posix platforms.""" - if self.install_base is not None or self.install_platbase is not None: - incomplete_scheme = ( - ( - self.install_lib is None - and self.install_purelib is None - and self.install_platlib is None - ) - or self.install_headers is None - or self.install_scripts is None - or self.install_data is None - ) - if incomplete_scheme: - raise DistutilsOptionError( - "install-base or install-platbase supplied, but " - "installation scheme is incomplete" - ) - return - - if self.user: - if self.install_userbase is None: - raise DistutilsPlatformError("User base directory is not specified") - self.install_base = self.install_platbase = self.install_userbase - self.select_scheme("posix_user") - elif self.home is not None: - self.install_base = self.install_platbase = self.home - self.select_scheme("posix_home") - else: - if self.prefix is None: - if self.exec_prefix is not None: - raise DistutilsOptionError( - "must not supply exec-prefix without prefix" - ) - - # Allow Fedora to add components to the prefix - _prefix_addition = getattr(sysconfig, '_prefix_addition', "") - - self.prefix = os.path.normpath(sys.prefix) + _prefix_addition - self.exec_prefix = os.path.normpath(sys.exec_prefix) + _prefix_addition - - else: - if self.exec_prefix is None: - self.exec_prefix = self.prefix - - self.install_base = self.prefix - self.install_platbase = self.exec_prefix - self.select_scheme("posix_prefix") - - def finalize_other(self): - """Finalizes options for non-posix platforms""" - if self.user: - if self.install_userbase is None: - raise DistutilsPlatformError("User base directory is not specified") - self.install_base = self.install_platbase = self.install_userbase - self.select_scheme(os.name + "_user") - elif self.home is not None: - self.install_base = self.install_platbase = self.home - self.select_scheme("posix_home") - else: - if self.prefix is None: - self.prefix = os.path.normpath(sys.prefix) - - self.install_base = self.install_platbase = self.prefix - try: - self.select_scheme(os.name) - except KeyError: - raise DistutilsPlatformError( - f"I don't know how to install stuff on '{os.name}'" - ) - - def select_scheme(self, name): - _select_scheme(self, name) - - def _expand_attrs(self, attrs): - for attr in attrs: - val = getattr(self, attr) - if val is not None: - if os.name in ('posix', 'nt'): - val = os.path.expanduser(val) - val = subst_vars(val, self.config_vars) - setattr(self, attr, val) - - def expand_basedirs(self): - """Calls `os.path.expanduser` on install_base, install_platbase and - root.""" - self._expand_attrs(['install_base', 'install_platbase', 'root']) - - def expand_dirs(self): - """Calls `os.path.expanduser` on install dirs.""" - self._expand_attrs([ - 'install_purelib', - 'install_platlib', - 'install_lib', - 'install_headers', - 'install_scripts', - 'install_data', - ]) - - def convert_paths(self, *names): - """Call `convert_path` over `names`.""" - for name in names: - attr = "install_" + name - setattr(self, attr, convert_path(getattr(self, attr))) - - def handle_extra_path(self): - """Set `path_file` and `extra_dirs` using `extra_path`.""" - if self.extra_path is None: - self.extra_path = self.distribution.extra_path - - if self.extra_path is not None: - log.warning( - "Distribution option extra_path is deprecated. " - "See issue27919 for details." - ) - if isinstance(self.extra_path, str): - self.extra_path = self.extra_path.split(',') - - if len(self.extra_path) == 1: - path_file = extra_dirs = self.extra_path[0] - elif len(self.extra_path) == 2: - path_file, extra_dirs = self.extra_path - else: - raise DistutilsOptionError( - "'extra_path' option must be a list, tuple, or " - "comma-separated string with 1 or 2 elements" - ) - - # convert to local form in case Unix notation used (as it - # should be in setup scripts) - extra_dirs = convert_path(extra_dirs) - else: - path_file = None - extra_dirs = '' - - # XXX should we warn if path_file and not extra_dirs? (in which - # case the path file would be harmless but pointless) - self.path_file = path_file - self.extra_dirs = extra_dirs - - def change_roots(self, *names): - """Change the install directories pointed by name using root.""" - for name in names: - attr = "install_" + name - setattr(self, attr, change_root(self.root, getattr(self, attr))) - - def create_home_path(self): - """Create directories under ~.""" - if not self.user: - return - home = convert_path(os.path.expanduser("~")) - for path in self.config_vars.values(): - if str(path).startswith(home) and not os.path.isdir(path): - self.debug_print(f"os.makedirs('{path}', 0o700)") - os.makedirs(path, 0o700) - - # -- Command execution methods ------------------------------------- - - def run(self): - """Runs the command.""" - # Obviously have to build before we can install - if not self.skip_build: - self.run_command('build') - # If we built for any other platform, we can't install. - build_plat = self.distribution.get_command_obj('build').plat_name - # check warn_dir - it is a clue that the 'install' is happening - # internally, and not to sys.path, so we don't check the platform - # matches what we are running. - if self.warn_dir and build_plat != get_platform(): - raise DistutilsPlatformError("Can't install when cross-compiling") - - # Run all sub-commands (at least those that need to be run) - for cmd_name in self.get_sub_commands(): - self.run_command(cmd_name) - - if self.path_file: - self.create_path_file() - - # write list of installed files, if requested. - if self.record: - outputs = self.get_outputs() - if self.root: # strip any package prefix - root_len = len(self.root) - for counter in range(len(outputs)): - outputs[counter] = outputs[counter][root_len:] - self.execute( - write_file, - (self.record, outputs), - f"writing list of installed files to '{self.record}'", - ) - - sys_path = map(os.path.normpath, sys.path) - sys_path = map(os.path.normcase, sys_path) - install_lib = os.path.normcase(os.path.normpath(self.install_lib)) - if ( - self.warn_dir - and not (self.path_file and self.install_path_file) - and install_lib not in sys_path - ): - log.debug( - ( - "modules installed to '%s', which is not in " - "Python's module search path (sys.path) -- " - "you'll have to change the search path yourself" - ), - self.install_lib, - ) - - def create_path_file(self): - """Creates the .pth file""" - filename = os.path.join(self.install_libbase, self.path_file + ".pth") - if self.install_path_file: - self.execute( - write_file, (filename, [self.extra_dirs]), f"creating {filename}" - ) - else: - self.warn(f"path file '{filename}' not created") - - # -- Reporting methods --------------------------------------------- - - def get_outputs(self): - """Assembles the outputs of all the sub-commands.""" - outputs = [] - for cmd_name in self.get_sub_commands(): - cmd = self.get_finalized_command(cmd_name) - # Add the contents of cmd.get_outputs(), ensuring - # that outputs doesn't contain duplicate entries - for filename in cmd.get_outputs(): - if filename not in outputs: - outputs.append(filename) - - if self.path_file and self.install_path_file: - outputs.append(os.path.join(self.install_libbase, self.path_file + ".pth")) - - return outputs - - def get_inputs(self): - """Returns the inputs of all the sub-commands""" - # XXX gee, this looks familiar ;-( - inputs = [] - for cmd_name in self.get_sub_commands(): - cmd = self.get_finalized_command(cmd_name) - inputs.extend(cmd.get_inputs()) - - return inputs - - # -- Predicates for sub-command list ------------------------------- - - def has_lib(self): - """Returns true if the current distribution has any Python - modules to install.""" - return ( - self.distribution.has_pure_modules() or self.distribution.has_ext_modules() - ) - - def has_headers(self): - """Returns true if the current distribution has any headers to - install.""" - return self.distribution.has_headers() - - def has_scripts(self): - """Returns true if the current distribution has any scripts to. - install.""" - return self.distribution.has_scripts() - - def has_data(self): - """Returns true if the current distribution has any data to. - install.""" - return self.distribution.has_data_files() - - # 'sub_commands': a list of commands this command might have to run to - # get its work done. See cmd.py for more info. - sub_commands = [ - ('install_lib', has_lib), - ('install_headers', has_headers), - ('install_scripts', has_scripts), - ('install_data', has_data), - ('install_egg_info', lambda self: True), - ] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_data.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_data.py deleted file mode 100644 index a90ec3b4..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_data.py +++ /dev/null @@ -1,94 +0,0 @@ -"""distutils.command.install_data - -Implements the Distutils 'install_data' command, for installing -platform-independent data files.""" - -# contributed by Bastian Kleineidam - -from __future__ import annotations - -import functools -import os -from typing import Iterable - -from ..core import Command -from ..util import change_root, convert_path - - -class install_data(Command): - description = "install data files" - - user_options = [ - ( - 'install-dir=', - 'd', - "base directory for installing data files " - "[default: installation base dir]", - ), - ('root=', None, "install everything relative to this alternate root directory"), - ('force', 'f', "force installation (overwrite existing files)"), - ] - - boolean_options = ['force'] - - def initialize_options(self): - self.install_dir = None - self.outfiles = [] - self.root = None - self.force = False - self.data_files = self.distribution.data_files - self.warn_dir = True - - def finalize_options(self): - self.set_undefined_options( - 'install', - ('install_data', 'install_dir'), - ('root', 'root'), - ('force', 'force'), - ) - - def run(self): - self.mkpath(self.install_dir) - for f in self.data_files: - self._copy(f) - - @functools.singledispatchmethod - def _copy(self, f: tuple[str | os.PathLike, Iterable[str | os.PathLike]]): - # it's a tuple with path to install to and a list of files - dir = convert_path(f[0]) - if not os.path.isabs(dir): - dir = os.path.join(self.install_dir, dir) - elif self.root: - dir = change_root(self.root, dir) - self.mkpath(dir) - - if f[1] == []: - # If there are no files listed, the user must be - # trying to create an empty directory, so add the - # directory to the list of output files. - self.outfiles.append(dir) - else: - # Copy files, adding them to the list of output files. - for data in f[1]: - data = convert_path(data) - (out, _) = self.copy_file(data, dir) - self.outfiles.append(out) - - @_copy.register(str) - @_copy.register(os.PathLike) - def _(self, f: str | os.PathLike): - # it's a simple file, so copy it - f = convert_path(f) - if self.warn_dir: - self.warn( - "setup script did not provide a directory for " - f"'{f}' -- installing right in '{self.install_dir}'" - ) - (out, _) = self.copy_file(f, self.install_dir) - self.outfiles.append(out) - - def get_inputs(self): - return self.data_files or [] - - def get_outputs(self): - return self.outfiles diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_egg_info.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_egg_info.py deleted file mode 100644 index 4fbb3440..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_egg_info.py +++ /dev/null @@ -1,92 +0,0 @@ -""" -distutils.command.install_egg_info - -Implements the Distutils 'install_egg_info' command, for installing -a package's PKG-INFO metadata. -""" - -import os -import re -import sys - -from .. import dir_util -from .._log import log -from ..cmd import Command - - -class install_egg_info(Command): - """Install an .egg-info file for the package""" - - description = "Install package's PKG-INFO metadata as an .egg-info file" - user_options = [ - ('install-dir=', 'd', "directory to install to"), - ] - - def initialize_options(self): - self.install_dir = None - - @property - def basename(self): - """ - Allow basename to be overridden by child class. - Ref pypa/distutils#2. - """ - return "%s-%s-py%d.%d.egg-info" % ( - to_filename(safe_name(self.distribution.get_name())), - to_filename(safe_version(self.distribution.get_version())), - *sys.version_info[:2], - ) - - def finalize_options(self): - self.set_undefined_options('install_lib', ('install_dir', 'install_dir')) - self.target = os.path.join(self.install_dir, self.basename) - self.outputs = [self.target] - - def run(self): - target = self.target - if os.path.isdir(target) and not os.path.islink(target): - dir_util.remove_tree(target, dry_run=self.dry_run) - elif os.path.exists(target): - self.execute(os.unlink, (self.target,), "Removing " + target) - elif not os.path.isdir(self.install_dir): - self.execute( - os.makedirs, (self.install_dir,), "Creating " + self.install_dir - ) - log.info("Writing %s", target) - if not self.dry_run: - with open(target, 'w', encoding='UTF-8') as f: - self.distribution.metadata.write_pkg_file(f) - - def get_outputs(self): - return self.outputs - - -# The following routines are taken from setuptools' pkg_resources module and -# can be replaced by importing them from pkg_resources once it is included -# in the stdlib. - - -def safe_name(name): - """Convert an arbitrary string to a standard distribution name - - Any runs of non-alphanumeric/. characters are replaced with a single '-'. - """ - return re.sub('[^A-Za-z0-9.]+', '-', name) - - -def safe_version(version): - """Convert an arbitrary string to a standard version string - - Spaces become dots, and all other non-alphanumeric characters become - dashes, with runs of multiple dashes condensed to a single dash. - """ - version = version.replace(' ', '.') - return re.sub('[^A-Za-z0-9.]+', '-', version) - - -def to_filename(name): - """Convert a project or version name to its filename-escaped form - - Any '-' characters are currently replaced with '_'. - """ - return name.replace('-', '_') diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_headers.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_headers.py deleted file mode 100644 index fbb3b242..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_headers.py +++ /dev/null @@ -1,44 +0,0 @@ -"""distutils.command.install_headers - -Implements the Distutils 'install_headers' command, to install C/C++ header -files to the Python include directory.""" - -from ..core import Command - - -# XXX force is never used -class install_headers(Command): - description = "install C/C++ header files" - - user_options = [ - ('install-dir=', 'd', "directory to install header files to"), - ('force', 'f', "force installation (overwrite existing files)"), - ] - - boolean_options = ['force'] - - def initialize_options(self): - self.install_dir = None - self.force = False - self.outfiles = [] - - def finalize_options(self): - self.set_undefined_options( - 'install', ('install_headers', 'install_dir'), ('force', 'force') - ) - - def run(self): - headers = self.distribution.headers - if not headers: - return - - self.mkpath(self.install_dir) - for header in headers: - (out, _) = self.copy_file(header, self.install_dir) - self.outfiles.append(out) - - def get_inputs(self): - return self.distribution.headers or [] - - def get_outputs(self): - return self.outfiles diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_lib.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_lib.py deleted file mode 100644 index 4c1230a2..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_lib.py +++ /dev/null @@ -1,234 +0,0 @@ -"""distutils.command.install_lib - -Implements the Distutils 'install_lib' command -(install all Python modules).""" - -import importlib.util -import os -import sys - -from ..core import Command -from ..errors import DistutilsOptionError - -# Extension for Python source files. -PYTHON_SOURCE_EXTENSION = ".py" - - -class install_lib(Command): - description = "install all Python modules (extensions and pure Python)" - - # The byte-compilation options are a tad confusing. Here are the - # possible scenarios: - # 1) no compilation at all (--no-compile --no-optimize) - # 2) compile .pyc only (--compile --no-optimize; default) - # 3) compile .pyc and "opt-1" .pyc (--compile --optimize) - # 4) compile "opt-1" .pyc only (--no-compile --optimize) - # 5) compile .pyc and "opt-2" .pyc (--compile --optimize-more) - # 6) compile "opt-2" .pyc only (--no-compile --optimize-more) - # - # The UI for this is two options, 'compile' and 'optimize'. - # 'compile' is strictly boolean, and only decides whether to - # generate .pyc files. 'optimize' is three-way (0, 1, or 2), and - # decides both whether to generate .pyc files and what level of - # optimization to use. - - user_options = [ - ('install-dir=', 'd', "directory to install to"), - ('build-dir=', 'b', "build directory (where to install from)"), - ('force', 'f', "force installation (overwrite existing files)"), - ('compile', 'c', "compile .py to .pyc [default]"), - ('no-compile', None, "don't compile .py files"), - ( - 'optimize=', - 'O', - "also compile with optimization: -O1 for \"python -O\", " - "-O2 for \"python -OO\", and -O0 to disable [default: -O0]", - ), - ('skip-build', None, "skip the build steps"), - ] - - boolean_options = ['force', 'compile', 'skip-build'] - negative_opt = {'no-compile': 'compile'} - - def initialize_options(self): - # let the 'install' command dictate our installation directory - self.install_dir = None - self.build_dir = None - self.force = False - self.compile = None - self.optimize = None - self.skip_build = None - - def finalize_options(self): - # Get all the information we need to install pure Python modules - # from the umbrella 'install' command -- build (source) directory, - # install (target) directory, and whether to compile .py files. - self.set_undefined_options( - 'install', - ('build_lib', 'build_dir'), - ('install_lib', 'install_dir'), - ('force', 'force'), - ('compile', 'compile'), - ('optimize', 'optimize'), - ('skip_build', 'skip_build'), - ) - - if self.compile is None: - self.compile = True - if self.optimize is None: - self.optimize = False - - if not isinstance(self.optimize, int): - try: - self.optimize = int(self.optimize) - except ValueError: - pass - if self.optimize not in (0, 1, 2): - raise DistutilsOptionError("optimize must be 0, 1, or 2") - - def run(self): - # Make sure we have built everything we need first - self.build() - - # Install everything: simply dump the entire contents of the build - # directory to the installation directory (that's the beauty of - # having a build directory!) - outfiles = self.install() - - # (Optionally) compile .py to .pyc - if outfiles is not None and self.distribution.has_pure_modules(): - self.byte_compile(outfiles) - - # -- Top-level worker functions ------------------------------------ - # (called from 'run()') - - def build(self): - if not self.skip_build: - if self.distribution.has_pure_modules(): - self.run_command('build_py') - if self.distribution.has_ext_modules(): - self.run_command('build_ext') - - def install(self): - if os.path.isdir(self.build_dir): - outfiles = self.copy_tree(self.build_dir, self.install_dir) - else: - self.warn( - f"'{self.build_dir}' does not exist -- no Python modules to install" - ) - return - return outfiles - - def byte_compile(self, files): - if sys.dont_write_bytecode: - self.warn('byte-compiling is disabled, skipping.') - return - - from ..util import byte_compile - - # Get the "--root" directory supplied to the "install" command, - # and use it as a prefix to strip off the purported filename - # encoded in bytecode files. This is far from complete, but it - # should at least generate usable bytecode in RPM distributions. - install_root = self.get_finalized_command('install').root - - if self.compile: - byte_compile( - files, - optimize=0, - force=self.force, - prefix=install_root, - dry_run=self.dry_run, - ) - if self.optimize > 0: - byte_compile( - files, - optimize=self.optimize, - force=self.force, - prefix=install_root, - verbose=self.verbose, - dry_run=self.dry_run, - ) - - # -- Utility methods ----------------------------------------------- - - def _mutate_outputs(self, has_any, build_cmd, cmd_option, output_dir): - if not has_any: - return [] - - build_cmd = self.get_finalized_command(build_cmd) - build_files = build_cmd.get_outputs() - build_dir = getattr(build_cmd, cmd_option) - - prefix_len = len(build_dir) + len(os.sep) - outputs = [os.path.join(output_dir, file[prefix_len:]) for file in build_files] - - return outputs - - def _bytecode_filenames(self, py_filenames): - bytecode_files = [] - for py_file in py_filenames: - # Since build_py handles package data installation, the - # list of outputs can contain more than just .py files. - # Make sure we only report bytecode for the .py files. - ext = os.path.splitext(os.path.normcase(py_file))[1] - if ext != PYTHON_SOURCE_EXTENSION: - continue - if self.compile: - bytecode_files.append( - importlib.util.cache_from_source(py_file, optimization='') - ) - if self.optimize > 0: - bytecode_files.append( - importlib.util.cache_from_source( - py_file, optimization=self.optimize - ) - ) - - return bytecode_files - - # -- External interface -------------------------------------------- - # (called by outsiders) - - def get_outputs(self): - """Return the list of files that would be installed if this command - were actually run. Not affected by the "dry-run" flag or whether - modules have actually been built yet. - """ - pure_outputs = self._mutate_outputs( - self.distribution.has_pure_modules(), - 'build_py', - 'build_lib', - self.install_dir, - ) - if self.compile: - bytecode_outputs = self._bytecode_filenames(pure_outputs) - else: - bytecode_outputs = [] - - ext_outputs = self._mutate_outputs( - self.distribution.has_ext_modules(), - 'build_ext', - 'build_lib', - self.install_dir, - ) - - return pure_outputs + bytecode_outputs + ext_outputs - - def get_inputs(self): - """Get the list of files that are input to this command, ie. the - files that get installed as they are named in the build tree. - The files in this list correspond one-to-one to the output - filenames returned by 'get_outputs()'. - """ - inputs = [] - - if self.distribution.has_pure_modules(): - build_py = self.get_finalized_command('build_py') - inputs.extend(build_py.get_outputs()) - - if self.distribution.has_ext_modules(): - build_ext = self.get_finalized_command('build_ext') - inputs.extend(build_ext.get_outputs()) - - return inputs diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_scripts.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_scripts.py deleted file mode 100644 index bb43387f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/install_scripts.py +++ /dev/null @@ -1,61 +0,0 @@ -"""distutils.command.install_scripts - -Implements the Distutils 'install_scripts' command, for installing -Python scripts.""" - -# contributed by Bastian Kleineidam - -import os -from distutils._log import log -from stat import ST_MODE - -from ..core import Command - - -class install_scripts(Command): - description = "install scripts (Python or otherwise)" - - user_options = [ - ('install-dir=', 'd', "directory to install scripts to"), - ('build-dir=', 'b', "build directory (where to install from)"), - ('force', 'f', "force installation (overwrite existing files)"), - ('skip-build', None, "skip the build steps"), - ] - - boolean_options = ['force', 'skip-build'] - - def initialize_options(self): - self.install_dir = None - self.force = False - self.build_dir = None - self.skip_build = None - - def finalize_options(self): - self.set_undefined_options('build', ('build_scripts', 'build_dir')) - self.set_undefined_options( - 'install', - ('install_scripts', 'install_dir'), - ('force', 'force'), - ('skip_build', 'skip_build'), - ) - - def run(self): - if not self.skip_build: - self.run_command('build_scripts') - self.outfiles = self.copy_tree(self.build_dir, self.install_dir) - if os.name == 'posix': - # Set the executable bits (owner, group, and world) on - # all the scripts we just installed. - for file in self.get_outputs(): - if self.dry_run: - log.info("changing mode of %s", file) - else: - mode = ((os.stat(file)[ST_MODE]) | 0o555) & 0o7777 - log.info("changing mode of %s to %o", file, mode) - os.chmod(file, mode) - - def get_inputs(self): - return self.distribution.scripts or [] - - def get_outputs(self): - return self.outfiles or [] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py deleted file mode 100644 index d723a1c9..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py +++ /dev/null @@ -1,515 +0,0 @@ -"""distutils.command.sdist - -Implements the Distutils 'sdist' command (create a source distribution).""" - -import os -import sys -from distutils import archive_util, dir_util, file_util -from distutils._log import log -from glob import glob -from itertools import filterfalse - -from ..core import Command -from ..errors import DistutilsOptionError, DistutilsTemplateError -from ..filelist import FileList -from ..text_file import TextFile -from ..util import convert_path - - -def show_formats(): - """Print all possible values for the 'formats' option (used by - the "--help-formats" command-line option). - """ - from ..archive_util import ARCHIVE_FORMATS - from ..fancy_getopt import FancyGetopt - - formats = sorted( - ("formats=" + format, None, ARCHIVE_FORMATS[format][2]) - for format in ARCHIVE_FORMATS.keys() - ) - FancyGetopt(formats).print_help("List of available source distribution formats:") - - -class sdist(Command): - description = "create a source distribution (tarball, zip file, etc.)" - - def checking_metadata(self): - """Callable used for the check sub-command. - - Placed here so user_options can view it""" - return self.metadata_check - - user_options = [ - ('template=', 't', "name of manifest template file [default: MANIFEST.in]"), - ('manifest=', 'm', "name of manifest file [default: MANIFEST]"), - ( - 'use-defaults', - None, - "include the default file set in the manifest " - "[default; disable with --no-defaults]", - ), - ('no-defaults', None, "don't include the default file set"), - ( - 'prune', - None, - "specifically exclude files/directories that should not be " - "distributed (build tree, RCS/CVS dirs, etc.) " - "[default; disable with --no-prune]", - ), - ('no-prune', None, "don't automatically exclude anything"), - ( - 'manifest-only', - 'o', - "just regenerate the manifest and then stop (implies --force-manifest)", - ), - ( - 'force-manifest', - 'f', - "forcibly regenerate the manifest and carry on as usual. " - "Deprecated: now the manifest is always regenerated.", - ), - ('formats=', None, "formats for source distribution (comma-separated list)"), - ( - 'keep-temp', - 'k', - "keep the distribution tree around after creating " + "archive file(s)", - ), - ( - 'dist-dir=', - 'd', - "directory to put the source distribution archive(s) in [default: dist]", - ), - ( - 'metadata-check', - None, - "Ensure that all required elements of meta-data " - "are supplied. Warn if any missing. [default]", - ), - ( - 'owner=', - 'u', - "Owner name used when creating a tar file [default: current user]", - ), - ( - 'group=', - 'g', - "Group name used when creating a tar file [default: current group]", - ), - ] - - boolean_options = [ - 'use-defaults', - 'prune', - 'manifest-only', - 'force-manifest', - 'keep-temp', - 'metadata-check', - ] - - help_options = [ - ('help-formats', None, "list available distribution formats", show_formats), - ] - - negative_opt = {'no-defaults': 'use-defaults', 'no-prune': 'prune'} - - sub_commands = [('check', checking_metadata)] - - READMES = ('README', 'README.txt', 'README.rst') - - def initialize_options(self): - # 'template' and 'manifest' are, respectively, the names of - # the manifest template and manifest file. - self.template = None - self.manifest = None - - # 'use_defaults': if true, we will include the default file set - # in the manifest - self.use_defaults = True - self.prune = True - - self.manifest_only = False - self.force_manifest = False - - self.formats = ['gztar'] - self.keep_temp = False - self.dist_dir = None - - self.archive_files = None - self.metadata_check = 1 - self.owner = None - self.group = None - - def finalize_options(self): - if self.manifest is None: - self.manifest = "MANIFEST" - if self.template is None: - self.template = "MANIFEST.in" - - self.ensure_string_list('formats') - - bad_format = archive_util.check_archive_formats(self.formats) - if bad_format: - raise DistutilsOptionError(f"unknown archive format '{bad_format}'") - - if self.dist_dir is None: - self.dist_dir = "dist" - - def run(self): - # 'filelist' contains the list of files that will make up the - # manifest - self.filelist = FileList() - - # Run sub commands - for cmd_name in self.get_sub_commands(): - self.run_command(cmd_name) - - # Do whatever it takes to get the list of files to process - # (process the manifest template, read an existing manifest, - # whatever). File list is accumulated in 'self.filelist'. - self.get_file_list() - - # If user just wanted us to regenerate the manifest, stop now. - if self.manifest_only: - return - - # Otherwise, go ahead and create the source distribution tarball, - # or zipfile, or whatever. - self.make_distribution() - - def get_file_list(self): - """Figure out the list of files to include in the source - distribution, and put it in 'self.filelist'. This might involve - reading the manifest template (and writing the manifest), or just - reading the manifest, or just using the default file set -- it all - depends on the user's options. - """ - # new behavior when using a template: - # the file list is recalculated every time because - # even if MANIFEST.in or setup.py are not changed - # the user might have added some files in the tree that - # need to be included. - # - # This makes --force the default and only behavior with templates. - template_exists = os.path.isfile(self.template) - if not template_exists and self._manifest_is_not_generated(): - self.read_manifest() - self.filelist.sort() - self.filelist.remove_duplicates() - return - - if not template_exists: - self.warn( - ("manifest template '%s' does not exist " + "(using default file list)") - % self.template - ) - self.filelist.findall() - - if self.use_defaults: - self.add_defaults() - - if template_exists: - self.read_template() - - if self.prune: - self.prune_file_list() - - self.filelist.sort() - self.filelist.remove_duplicates() - self.write_manifest() - - def add_defaults(self): - """Add all the default files to self.filelist: - - README or README.txt - - setup.py - - tests/test*.py and test/test*.py - - all pure Python modules mentioned in setup script - - all files pointed by package_data (build_py) - - all files defined in data_files. - - all files defined as scripts. - - all C sources listed as part of extensions or C libraries - in the setup script (doesn't catch C headers!) - Warns if (README or README.txt) or setup.py are missing; everything - else is optional. - """ - self._add_defaults_standards() - self._add_defaults_optional() - self._add_defaults_python() - self._add_defaults_data_files() - self._add_defaults_ext() - self._add_defaults_c_libs() - self._add_defaults_scripts() - - @staticmethod - def _cs_path_exists(fspath): - """ - Case-sensitive path existence check - - >>> sdist._cs_path_exists(__file__) - True - >>> sdist._cs_path_exists(__file__.upper()) - False - """ - if not os.path.exists(fspath): - return False - # make absolute so we always have a directory - abspath = os.path.abspath(fspath) - directory, filename = os.path.split(abspath) - return filename in os.listdir(directory) - - def _add_defaults_standards(self): - standards = [self.READMES, self.distribution.script_name] - for fn in standards: - if isinstance(fn, tuple): - alts = fn - got_it = False - for fn in alts: - if self._cs_path_exists(fn): - got_it = True - self.filelist.append(fn) - break - - if not got_it: - self.warn( - "standard file not found: should have one of " + ', '.join(alts) - ) - else: - if self._cs_path_exists(fn): - self.filelist.append(fn) - else: - self.warn(f"standard file '{fn}' not found") - - def _add_defaults_optional(self): - optional = ['tests/test*.py', 'test/test*.py', 'setup.cfg'] - for pattern in optional: - files = filter(os.path.isfile, glob(pattern)) - self.filelist.extend(files) - - def _add_defaults_python(self): - # build_py is used to get: - # - python modules - # - files defined in package_data - build_py = self.get_finalized_command('build_py') - - # getting python files - if self.distribution.has_pure_modules(): - self.filelist.extend(build_py.get_source_files()) - - # getting package_data files - # (computed in build_py.data_files by build_py.finalize_options) - for _pkg, src_dir, _build_dir, filenames in build_py.data_files: - for filename in filenames: - self.filelist.append(os.path.join(src_dir, filename)) - - def _add_defaults_data_files(self): - # getting distribution.data_files - if self.distribution.has_data_files(): - for item in self.distribution.data_files: - if isinstance(item, str): - # plain file - item = convert_path(item) - if os.path.isfile(item): - self.filelist.append(item) - else: - # a (dirname, filenames) tuple - dirname, filenames = item - for f in filenames: - f = convert_path(f) - if os.path.isfile(f): - self.filelist.append(f) - - def _add_defaults_ext(self): - if self.distribution.has_ext_modules(): - build_ext = self.get_finalized_command('build_ext') - self.filelist.extend(build_ext.get_source_files()) - - def _add_defaults_c_libs(self): - if self.distribution.has_c_libraries(): - build_clib = self.get_finalized_command('build_clib') - self.filelist.extend(build_clib.get_source_files()) - - def _add_defaults_scripts(self): - if self.distribution.has_scripts(): - build_scripts = self.get_finalized_command('build_scripts') - self.filelist.extend(build_scripts.get_source_files()) - - def read_template(self): - """Read and parse manifest template file named by self.template. - - (usually "MANIFEST.in") The parsing and processing is done by - 'self.filelist', which updates itself accordingly. - """ - log.info("reading manifest template '%s'", self.template) - template = TextFile( - self.template, - strip_comments=True, - skip_blanks=True, - join_lines=True, - lstrip_ws=True, - rstrip_ws=True, - collapse_join=True, - ) - - try: - while True: - line = template.readline() - if line is None: # end of file - break - - try: - self.filelist.process_template_line(line) - # the call above can raise a DistutilsTemplateError for - # malformed lines, or a ValueError from the lower-level - # convert_path function - except (DistutilsTemplateError, ValueError) as msg: - self.warn( - "%s, line %d: %s" - % (template.filename, template.current_line, msg) - ) - finally: - template.close() - - def prune_file_list(self): - """Prune off branches that might slip into the file list as created - by 'read_template()', but really don't belong there: - * the build tree (typically "build") - * the release tree itself (only an issue if we ran "sdist" - previously with --keep-temp, or it aborted) - * any RCS, CVS, .svn, .hg, .git, .bzr, _darcs directories - """ - build = self.get_finalized_command('build') - base_dir = self.distribution.get_fullname() - - self.filelist.exclude_pattern(None, prefix=os.fspath(build.build_base)) - self.filelist.exclude_pattern(None, prefix=base_dir) - - if sys.platform == 'win32': - seps = r'/|\\' - else: - seps = '/' - - vcs_dirs = ['RCS', 'CVS', r'\.svn', r'\.hg', r'\.git', r'\.bzr', '_darcs'] - vcs_ptrn = r'(^|{})({})({}).*'.format(seps, '|'.join(vcs_dirs), seps) - self.filelist.exclude_pattern(vcs_ptrn, is_regex=True) - - def write_manifest(self): - """Write the file list in 'self.filelist' (presumably as filled in - by 'add_defaults()' and 'read_template()') to the manifest file - named by 'self.manifest'. - """ - if self._manifest_is_not_generated(): - log.info( - f"not writing to manually maintained manifest file '{self.manifest}'" - ) - return - - content = self.filelist.files[:] - content.insert(0, '# file GENERATED by distutils, do NOT edit') - self.execute( - file_util.write_file, - (self.manifest, content), - f"writing manifest file '{self.manifest}'", - ) - - def _manifest_is_not_generated(self): - # check for special comment used in 3.1.3 and higher - if not os.path.isfile(self.manifest): - return False - - with open(self.manifest, encoding='utf-8') as fp: - first_line = next(fp) - return first_line != '# file GENERATED by distutils, do NOT edit\n' - - def read_manifest(self): - """Read the manifest file (named by 'self.manifest') and use it to - fill in 'self.filelist', the list of files to include in the source - distribution. - """ - log.info("reading manifest file '%s'", self.manifest) - with open(self.manifest, encoding='utf-8') as lines: - self.filelist.extend( - # ignore comments and blank lines - filter(None, filterfalse(is_comment, map(str.strip, lines))) - ) - - def make_release_tree(self, base_dir, files): - """Create the directory tree that will become the source - distribution archive. All directories implied by the filenames in - 'files' are created under 'base_dir', and then we hard link or copy - (if hard linking is unavailable) those files into place. - Essentially, this duplicates the developer's source tree, but in a - directory named after the distribution, containing only the files - to be distributed. - """ - # Create all the directories under 'base_dir' necessary to - # put 'files' there; the 'mkpath()' is just so we don't die - # if the manifest happens to be empty. - self.mkpath(base_dir) - dir_util.create_tree(base_dir, files, dry_run=self.dry_run) - - # And walk over the list of files, either making a hard link (if - # os.link exists) to each one that doesn't already exist in its - # corresponding location under 'base_dir', or copying each file - # that's out-of-date in 'base_dir'. (Usually, all files will be - # out-of-date, because by default we blow away 'base_dir' when - # we're done making the distribution archives.) - - if hasattr(os, 'link'): # can make hard links on this system - link = 'hard' - msg = f"making hard links in {base_dir}..." - else: # nope, have to copy - link = None - msg = f"copying files to {base_dir}..." - - if not files: - log.warning("no files to distribute -- empty manifest?") - else: - log.info(msg) - for file in files: - if not os.path.isfile(file): - log.warning("'%s' not a regular file -- skipping", file) - else: - dest = os.path.join(base_dir, file) - self.copy_file(file, dest, link=link) - - self.distribution.metadata.write_pkg_info(base_dir) - - def make_distribution(self): - """Create the source distribution(s). First, we create the release - tree with 'make_release_tree()'; then, we create all required - archive files (according to 'self.formats') from the release tree. - Finally, we clean up by blowing away the release tree (unless - 'self.keep_temp' is true). The list of archive files created is - stored so it can be retrieved later by 'get_archive_files()'. - """ - # Don't warn about missing meta-data here -- should be (and is!) - # done elsewhere. - base_dir = self.distribution.get_fullname() - base_name = os.path.join(self.dist_dir, base_dir) - - self.make_release_tree(base_dir, self.filelist.files) - archive_files = [] # remember names of files we create - # tar archive must be created last to avoid overwrite and remove - if 'tar' in self.formats: - self.formats.append(self.formats.pop(self.formats.index('tar'))) - - for fmt in self.formats: - file = self.make_archive( - base_name, fmt, base_dir=base_dir, owner=self.owner, group=self.group - ) - archive_files.append(file) - self.distribution.dist_files.append(('sdist', '', file)) - - self.archive_files = archive_files - - if not self.keep_temp: - dir_util.remove_tree(base_dir, dry_run=self.dry_run) - - def get_archive_files(self): - """Return the list of archive files created when the command - was run, or None if the command hasn't run yet. - """ - return self.archive_files - - -def is_comment(line): - return line.startswith('#') diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__init__.py deleted file mode 100644 index e12534a3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -from __future__ import annotations - -from .py38 import removeprefix - - -def consolidate_linker_args(args: list[str]) -> list[str] | str: - """ - Ensure the return value is a string for backward compatibility. - - Retain until at least 2025-04-31. See pypa/distutils#246 - """ - - if not all(arg.startswith('-Wl,') for arg in args): - return args - return '-Wl,' + ','.join(removeprefix(arg, '-Wl,') for arg in args) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index bd6a3630..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__pycache__/py38.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__pycache__/py38.cpython-312.pyc deleted file mode 100644 index 8cbbfaea..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__pycache__/py38.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__pycache__/py39.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__pycache__/py39.cpython-312.pyc deleted file mode 100644 index 6bb7aa19..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/__pycache__/py39.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/py38.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/py38.py deleted file mode 100644 index afe53455..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/py38.py +++ /dev/null @@ -1,34 +0,0 @@ -import sys - -if sys.version_info < (3, 9): - - def removesuffix(self, suffix): - # suffix='' should not call self[:-0]. - if suffix and self.endswith(suffix): - return self[: -len(suffix)] - else: - return self[:] - - def removeprefix(self, prefix): - if self.startswith(prefix): - return self[len(prefix) :] - else: - return self[:] - -else: - - def removesuffix(self, suffix): - return self.removesuffix(suffix) - - def removeprefix(self, prefix): - return self.removeprefix(prefix) - - -def aix_platform(osname, version, release): - try: - import _aix_support - - return _aix_support.aix_platform() - except ImportError: - pass - return f"{osname}-{version}.{release}" diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/py39.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/py39.py deleted file mode 100644 index 1b436d76..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/compat/py39.py +++ /dev/null @@ -1,66 +0,0 @@ -import functools -import itertools -import platform -import sys - - -def add_ext_suffix_39(vars): - """ - Ensure vars contains 'EXT_SUFFIX'. pypa/distutils#130 - """ - import _imp - - ext_suffix = _imp.extension_suffixes()[0] - vars.update( - EXT_SUFFIX=ext_suffix, - # sysconfig sets SO to match EXT_SUFFIX, so maintain - # that expectation. - # https://github.com/python/cpython/blob/785cc6770588de087d09e89a69110af2542be208/Lib/sysconfig.py#L671-L673 - SO=ext_suffix, - ) - - -needs_ext_suffix = sys.version_info < (3, 10) and platform.system() == 'Windows' -add_ext_suffix = add_ext_suffix_39 if needs_ext_suffix else lambda vars: None - - -# from more_itertools -class UnequalIterablesError(ValueError): - def __init__(self, details=None): - msg = 'Iterables have different lengths' - if details is not None: - msg += (': index 0 has length {}; index {} has length {}').format(*details) - - super().__init__(msg) - - -# from more_itertools -def _zip_equal_generator(iterables): - _marker = object() - for combo in itertools.zip_longest(*iterables, fillvalue=_marker): - for val in combo: - if val is _marker: - raise UnequalIterablesError() - yield combo - - -# from more_itertools -def _zip_equal(*iterables): - # Check whether the iterables are all the same size. - try: - first_size = len(iterables[0]) - for i, it in enumerate(iterables[1:], 1): - size = len(it) - if size != first_size: - raise UnequalIterablesError(details=(first_size, i, size)) - # All sizes are equal, we can use the built-in zip. - return zip(*iterables) - # If any one of the iterables didn't have a length, start reading - # them until one runs out. - except TypeError: - return _zip_equal_generator(iterables) - - -zip_strict = ( - _zip_equal if sys.version_info < (3, 10) else functools.partial(zip, strict=True) -) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py deleted file mode 100644 index bc06091a..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py +++ /dev/null @@ -1,286 +0,0 @@ -"""distutils.core - -The only module that needs to be imported to use the Distutils; provides -the 'setup' function (which is to be called from the setup script). Also -indirectly provides the Distribution and Command classes, although they are -really defined in distutils.dist and distutils.cmd. -""" - -import os -import sys -import tokenize - -from .cmd import Command -from .debug import DEBUG - -# Mainly import these so setup scripts can "from distutils.core import" them. -from .dist import Distribution -from .errors import ( - CCompilerError, - DistutilsArgError, - DistutilsError, - DistutilsSetupError, -) -from .extension import Extension - -__all__ = ['Distribution', 'Command', 'Extension', 'setup'] - -# This is a barebones help message generated displayed when the user -# runs the setup script with no arguments at all. More useful help -# is generated with various --help options: global help, list commands, -# and per-command help. -USAGE = """\ -usage: %(script)s [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] - or: %(script)s --help [cmd1 cmd2 ...] - or: %(script)s --help-commands - or: %(script)s cmd --help -""" - - -def gen_usage(script_name): - script = os.path.basename(script_name) - return USAGE % locals() - - -# Some mild magic to control the behaviour of 'setup()' from 'run_setup()'. -_setup_stop_after = None -_setup_distribution = None - -# Legal keyword arguments for the setup() function -setup_keywords = ( - 'distclass', - 'script_name', - 'script_args', - 'options', - 'name', - 'version', - 'author', - 'author_email', - 'maintainer', - 'maintainer_email', - 'url', - 'license', - 'description', - 'long_description', - 'keywords', - 'platforms', - 'classifiers', - 'download_url', - 'requires', - 'provides', - 'obsoletes', -) - -# Legal keyword arguments for the Extension constructor -extension_keywords = ( - 'name', - 'sources', - 'include_dirs', - 'define_macros', - 'undef_macros', - 'library_dirs', - 'libraries', - 'runtime_library_dirs', - 'extra_objects', - 'extra_compile_args', - 'extra_link_args', - 'swig_opts', - 'export_symbols', - 'depends', - 'language', -) - - -def setup(**attrs): # noqa: C901 - """The gateway to the Distutils: do everything your setup script needs - to do, in a highly flexible and user-driven way. Briefly: create a - Distribution instance; find and parse config files; parse the command - line; run each Distutils command found there, customized by the options - supplied to 'setup()' (as keyword arguments), in config files, and on - the command line. - - The Distribution instance might be an instance of a class supplied via - the 'distclass' keyword argument to 'setup'; if no such class is - supplied, then the Distribution class (in dist.py) is instantiated. - All other arguments to 'setup' (except for 'cmdclass') are used to set - attributes of the Distribution instance. - - The 'cmdclass' argument, if supplied, is a dictionary mapping command - names to command classes. Each command encountered on the command line - will be turned into a command class, which is in turn instantiated; any - class found in 'cmdclass' is used in place of the default, which is - (for command 'foo_bar') class 'foo_bar' in module - 'distutils.command.foo_bar'. The command class must provide a - 'user_options' attribute which is a list of option specifiers for - 'distutils.fancy_getopt'. Any command-line options between the current - and the next command are used to set attributes of the current command - object. - - When the entire command-line has been successfully parsed, calls the - 'run()' method on each command object in turn. This method will be - driven entirely by the Distribution object (which each command object - has a reference to, thanks to its constructor), and the - command-specific options that became attributes of each command - object. - """ - - global _setup_stop_after, _setup_distribution - - # Determine the distribution class -- either caller-supplied or - # our Distribution (see below). - klass = attrs.get('distclass') - if klass: - attrs.pop('distclass') - else: - klass = Distribution - - if 'script_name' not in attrs: - attrs['script_name'] = os.path.basename(sys.argv[0]) - if 'script_args' not in attrs: - attrs['script_args'] = sys.argv[1:] - - # Create the Distribution instance, using the remaining arguments - # (ie. everything except distclass) to initialize it - try: - _setup_distribution = dist = klass(attrs) - except DistutilsSetupError as msg: - if 'name' not in attrs: - raise SystemExit(f"error in setup command: {msg}") - else: - raise SystemExit("error in {} setup command: {}".format(attrs['name'], msg)) - - if _setup_stop_after == "init": - return dist - - # Find and parse the config file(s): they will override options from - # the setup script, but be overridden by the command line. - dist.parse_config_files() - - if DEBUG: - print("options (after parsing config files):") - dist.dump_option_dicts() - - if _setup_stop_after == "config": - return dist - - # Parse the command line and override config files; any - # command-line errors are the end user's fault, so turn them into - # SystemExit to suppress tracebacks. - try: - ok = dist.parse_command_line() - except DistutilsArgError as msg: - raise SystemExit(gen_usage(dist.script_name) + f"\nerror: {msg}") - - if DEBUG: - print("options (after parsing command line):") - dist.dump_option_dicts() - - if _setup_stop_after == "commandline": - return dist - - # And finally, run all the commands found on the command line. - if ok: - return run_commands(dist) - - return dist - - -# setup () - - -def run_commands(dist): - """Given a Distribution object run all the commands, - raising ``SystemExit`` errors in the case of failure. - - This function assumes that either ``sys.argv`` or ``dist.script_args`` - is already set accordingly. - """ - try: - dist.run_commands() - except KeyboardInterrupt: - raise SystemExit("interrupted") - except OSError as exc: - if DEBUG: - sys.stderr.write(f"error: {exc}\n") - raise - else: - raise SystemExit(f"error: {exc}") - - except (DistutilsError, CCompilerError) as msg: - if DEBUG: - raise - else: - raise SystemExit("error: " + str(msg)) - - return dist - - -def run_setup(script_name, script_args=None, stop_after="run"): - """Run a setup script in a somewhat controlled environment, and - return the Distribution instance that drives things. This is useful - if you need to find out the distribution meta-data (passed as - keyword args from 'script' to 'setup()', or the contents of the - config files or command-line. - - 'script_name' is a file that will be read and run with 'exec()'; - 'sys.argv[0]' will be replaced with 'script' for the duration of the - call. 'script_args' is a list of strings; if supplied, - 'sys.argv[1:]' will be replaced by 'script_args' for the duration of - the call. - - 'stop_after' tells 'setup()' when to stop processing; possible - values: - init - stop after the Distribution instance has been created and - populated with the keyword arguments to 'setup()' - config - stop after config files have been parsed (and their data - stored in the Distribution instance) - commandline - stop after the command-line ('sys.argv[1:]' or 'script_args') - have been parsed (and the data stored in the Distribution) - run [default] - stop after all commands have been run (the same as if 'setup()' - had been called in the usual way - - Returns the Distribution instance, which provides all information - used to drive the Distutils. - """ - if stop_after not in ('init', 'config', 'commandline', 'run'): - raise ValueError(f"invalid value for 'stop_after': {stop_after!r}") - - global _setup_stop_after, _setup_distribution - _setup_stop_after = stop_after - - save_argv = sys.argv.copy() - g = {'__file__': script_name, '__name__': '__main__'} - try: - try: - sys.argv[0] = script_name - if script_args is not None: - sys.argv[1:] = script_args - # tokenize.open supports automatic encoding detection - with tokenize.open(script_name) as f: - code = f.read().replace(r'\r\n', r'\n') - exec(code, g) - finally: - sys.argv = save_argv - _setup_stop_after = None - except SystemExit: - # Hmm, should we do something if exiting with a non-zero code - # (ie. error)? - pass - - if _setup_distribution is None: - raise RuntimeError( - "'distutils.core.setup()' was never called -- " - f"perhaps '{script_name}' is not a Distutils setup script?" - ) - - # I wonder if the setup script's namespace -- g and l -- would be of - # any interest to callers? - # print "_setup_distribution:", _setup_distribution - return _setup_distribution - - -# run_setup () diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/cygwinccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/cygwinccompiler.py deleted file mode 100644 index 3c67524e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/cygwinccompiler.py +++ /dev/null @@ -1,339 +0,0 @@ -"""distutils.cygwinccompiler - -Provides the CygwinCCompiler class, a subclass of UnixCCompiler that -handles the Cygwin port of the GNU C compiler to Windows. It also contains -the Mingw32CCompiler class which handles the mingw32 port of GCC (same as -cygwin in no-cygwin mode). -""" - -import copy -import os -import pathlib -import shlex -import sys -import warnings -from subprocess import check_output - -from .errors import ( - CCompilerError, - CompileError, - DistutilsExecError, - DistutilsPlatformError, -) -from .file_util import write_file -from .sysconfig import get_config_vars -from .unixccompiler import UnixCCompiler -from .version import LooseVersion, suppress_known_deprecation - - -def get_msvcr(): - """No longer needed, but kept for backward compatibility.""" - return [] - - -_runtime_library_dirs_msg = ( - "Unable to set runtime library search path on Windows, " - "usually indicated by `runtime_library_dirs` parameter to Extension" -) - - -class CygwinCCompiler(UnixCCompiler): - """Handles the Cygwin port of the GNU C compiler to Windows.""" - - compiler_type = 'cygwin' - obj_extension = ".o" - static_lib_extension = ".a" - shared_lib_extension = ".dll.a" - dylib_lib_extension = ".dll" - static_lib_format = "lib%s%s" - shared_lib_format = "lib%s%s" - dylib_lib_format = "cyg%s%s" - exe_extension = ".exe" - - def __init__(self, verbose=False, dry_run=False, force=False): - super().__init__(verbose, dry_run, force) - - status, details = check_config_h() - self.debug_print(f"Python's GCC status: {status} (details: {details})") - if status is not CONFIG_H_OK: - self.warn( - "Python's pyconfig.h doesn't seem to support your compiler. " - f"Reason: {details}. " - "Compiling may fail because of undefined preprocessor macros." - ) - - self.cc, self.cxx = get_config_vars('CC', 'CXX') - - # Override 'CC' and 'CXX' environment variables for - # building using MINGW compiler for MSVC python. - self.cc = os.environ.get('CC', self.cc or 'gcc') - self.cxx = os.environ.get('CXX', self.cxx or 'g++') - - self.linker_dll = self.cc - self.linker_dll_cxx = self.cxx - shared_option = "-shared" - - self.set_executables( - compiler=f'{self.cc} -mcygwin -O -Wall', - compiler_so=f'{self.cc} -mcygwin -mdll -O -Wall', - compiler_cxx=f'{self.cxx} -mcygwin -O -Wall', - compiler_so_cxx=f'{self.cxx} -mcygwin -mdll -O -Wall', - linker_exe=f'{self.cc} -mcygwin', - linker_so=f'{self.linker_dll} -mcygwin {shared_option}', - linker_exe_cxx=f'{self.cxx} -mcygwin', - linker_so_cxx=f'{self.linker_dll_cxx} -mcygwin {shared_option}', - ) - - self.dll_libraries = get_msvcr() - - @property - def gcc_version(self): - # Older numpy depended on this existing to check for ancient - # gcc versions. This doesn't make much sense with clang etc so - # just hardcode to something recent. - # https://github.com/numpy/numpy/pull/20333 - warnings.warn( - "gcc_version attribute of CygwinCCompiler is deprecated. " - "Instead of returning actual gcc version a fixed value 11.2.0 is returned.", - DeprecationWarning, - stacklevel=2, - ) - with suppress_known_deprecation(): - return LooseVersion("11.2.0") - - def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): - """Compiles the source by spawning GCC and windres if needed.""" - if ext in ('.rc', '.res'): - # gcc needs '.res' and '.rc' compiled to object files !!! - try: - self.spawn(["windres", "-i", src, "-o", obj]) - except DistutilsExecError as msg: - raise CompileError(msg) - else: # for other files use the C-compiler - try: - if self.detect_language(src) == 'c++': - self.spawn( - self.compiler_so_cxx - + cc_args - + [src, '-o', obj] - + extra_postargs - ) - else: - self.spawn( - self.compiler_so + cc_args + [src, '-o', obj] + extra_postargs - ) - except DistutilsExecError as msg: - raise CompileError(msg) - - def link( - self, - target_desc, - objects, - output_filename, - output_dir=None, - libraries=None, - library_dirs=None, - runtime_library_dirs=None, - export_symbols=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - build_temp=None, - target_lang=None, - ): - """Link the objects.""" - # use separate copies, so we can modify the lists - extra_preargs = copy.copy(extra_preargs or []) - libraries = copy.copy(libraries or []) - objects = copy.copy(objects or []) - - if runtime_library_dirs: - self.warn(_runtime_library_dirs_msg) - - # Additional libraries - libraries.extend(self.dll_libraries) - - # handle export symbols by creating a def-file - # with executables this only works with gcc/ld as linker - if (export_symbols is not None) and ( - target_desc != self.EXECUTABLE or self.linker_dll == "gcc" - ): - # (The linker doesn't do anything if output is up-to-date. - # So it would probably better to check if we really need this, - # but for this we had to insert some unchanged parts of - # UnixCCompiler, and this is not what we want.) - - # we want to put some files in the same directory as the - # object files are, build_temp doesn't help much - # where are the object files - temp_dir = os.path.dirname(objects[0]) - # name of dll to give the helper files the same base name - (dll_name, dll_extension) = os.path.splitext( - os.path.basename(output_filename) - ) - - # generate the filenames for these files - def_file = os.path.join(temp_dir, dll_name + ".def") - - # Generate .def file - contents = [f"LIBRARY {os.path.basename(output_filename)}", "EXPORTS"] - contents.extend(export_symbols) - self.execute(write_file, (def_file, contents), f"writing {def_file}") - - # next add options for def-file - - # for gcc/ld the def-file is specified as any object files - objects.append(def_file) - - # end: if ((export_symbols is not None) and - # (target_desc != self.EXECUTABLE or self.linker_dll == "gcc")): - - # who wants symbols and a many times larger output file - # should explicitly switch the debug mode on - # otherwise we let ld strip the output file - # (On my machine: 10KiB < stripped_file < ??100KiB - # unstripped_file = stripped_file + XXX KiB - # ( XXX=254 for a typical python extension)) - if not debug: - extra_preargs.append("-s") - - UnixCCompiler.link( - self, - target_desc, - objects, - output_filename, - output_dir, - libraries, - library_dirs, - runtime_library_dirs, - None, # export_symbols, we do this in our def-file - debug, - extra_preargs, - extra_postargs, - build_temp, - target_lang, - ) - - def runtime_library_dir_option(self, dir): - # cygwin doesn't support rpath. While in theory we could error - # out like MSVC does, code might expect it to work like on Unix, so - # just warn and hope for the best. - self.warn(_runtime_library_dirs_msg) - return [] - - # -- Miscellaneous methods ----------------------------------------- - - def _make_out_path(self, output_dir, strip_dir, src_name): - # use normcase to make sure '.rc' is really '.rc' and not '.RC' - norm_src_name = os.path.normcase(src_name) - return super()._make_out_path(output_dir, strip_dir, norm_src_name) - - @property - def out_extensions(self): - """ - Add support for rc and res files. - """ - return { - **super().out_extensions, - **{ext: ext + self.obj_extension for ext in ('.res', '.rc')}, - } - - -# the same as cygwin plus some additional parameters -class Mingw32CCompiler(CygwinCCompiler): - """Handles the Mingw32 port of the GNU C compiler to Windows.""" - - compiler_type = 'mingw32' - - def __init__(self, verbose=False, dry_run=False, force=False): - super().__init__(verbose, dry_run, force) - - shared_option = "-shared" - - if is_cygwincc(self.cc): - raise CCompilerError('Cygwin gcc cannot be used with --compiler=mingw32') - - self.set_executables( - compiler=f'{self.cc} -O -Wall', - compiler_so=f'{self.cc} -shared -O -Wall', - compiler_so_cxx=f'{self.cxx} -shared -O -Wall', - compiler_cxx=f'{self.cxx} -O -Wall', - linker_exe=f'{self.cc}', - linker_so=f'{self.linker_dll} {shared_option}', - linker_exe_cxx=f'{self.cxx}', - linker_so_cxx=f'{self.linker_dll_cxx} {shared_option}', - ) - - def runtime_library_dir_option(self, dir): - raise DistutilsPlatformError(_runtime_library_dirs_msg) - - -# Because these compilers aren't configured in Python's pyconfig.h file by -# default, we should at least warn the user if he is using an unmodified -# version. - -CONFIG_H_OK = "ok" -CONFIG_H_NOTOK = "not ok" -CONFIG_H_UNCERTAIN = "uncertain" - - -def check_config_h(): - """Check if the current Python installation appears amenable to building - extensions with GCC. - - Returns a tuple (status, details), where 'status' is one of the following - constants: - - - CONFIG_H_OK: all is well, go ahead and compile - - CONFIG_H_NOTOK: doesn't look good - - CONFIG_H_UNCERTAIN: not sure -- unable to read pyconfig.h - - 'details' is a human-readable string explaining the situation. - - Note there are two ways to conclude "OK": either 'sys.version' contains - the string "GCC" (implying that this Python was built with GCC), or the - installed "pyconfig.h" contains the string "__GNUC__". - """ - - # XXX since this function also checks sys.version, it's not strictly a - # "pyconfig.h" check -- should probably be renamed... - - from distutils import sysconfig - - # if sys.version contains GCC then python was compiled with GCC, and the - # pyconfig.h file should be OK - if "GCC" in sys.version: - return CONFIG_H_OK, "sys.version mentions 'GCC'" - - # Clang would also work - if "Clang" in sys.version: - return CONFIG_H_OK, "sys.version mentions 'Clang'" - - # let's see if __GNUC__ is mentioned in python.h - fn = sysconfig.get_config_h_filename() - try: - config_h = pathlib.Path(fn).read_text(encoding='utf-8') - except OSError as exc: - return (CONFIG_H_UNCERTAIN, f"couldn't read '{fn}': {exc.strerror}") - else: - substring = '__GNUC__' - if substring in config_h: - code = CONFIG_H_OK - mention_inflected = 'mentions' - else: - code = CONFIG_H_NOTOK - mention_inflected = 'does not mention' - return code, f"{fn!r} {mention_inflected} {substring!r}" - - -def is_cygwincc(cc): - """Try to determine if the compiler that would be used is from cygwin.""" - out_string = check_output(shlex.split(cc) + ['-dumpmachine']) - return out_string.strip().endswith(b'cygwin') - - -get_versions = None -""" -A stand-in for the previous get_versions() function to prevent failures -when monkeypatched. See pypa/setuptools#2969. -""" diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/debug.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/debug.py deleted file mode 100644 index daf1660f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/debug.py +++ /dev/null @@ -1,5 +0,0 @@ -import os - -# If DISTUTILS_DEBUG is anything other than the empty string, we run in -# debug mode. -DEBUG = os.environ.get('DISTUTILS_DEBUG') diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/dep_util.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/dep_util.py deleted file mode 100644 index 09a8a2e1..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/dep_util.py +++ /dev/null @@ -1,14 +0,0 @@ -import warnings - -from . import _modified - - -def __getattr__(name): - if name not in ['newer', 'newer_group', 'newer_pairwise']: - raise AttributeError(name) - warnings.warn( - "dep_util is Deprecated. Use functions from setuptools instead.", - DeprecationWarning, - stacklevel=2, - ) - return getattr(_modified, name) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/dir_util.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/dir_util.py deleted file mode 100644 index d9782602..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/dir_util.py +++ /dev/null @@ -1,244 +0,0 @@ -"""distutils.dir_util - -Utility functions for manipulating directories and directory trees.""" - -import functools -import itertools -import os -import pathlib - -from . import file_util -from ._log import log -from .errors import DistutilsFileError, DistutilsInternalError - - -class SkipRepeatAbsolutePaths(set): - """ - Cache for mkpath. - - In addition to cheapening redundant calls, eliminates redundant - "creating /foo/bar/baz" messages in dry-run mode. - """ - - def __init__(self): - SkipRepeatAbsolutePaths.instance = self - - @classmethod - def clear(cls): - super(cls, cls.instance).clear() - - def wrap(self, func): - @functools.wraps(func) - def wrapper(path, *args, **kwargs): - if path.absolute() in self: - return - result = func(path, *args, **kwargs) - self.add(path.absolute()) - return result - - return wrapper - - -# Python 3.8 compatibility -wrapper = SkipRepeatAbsolutePaths().wrap - - -@functools.singledispatch -@wrapper -def mkpath(name: pathlib.Path, mode=0o777, verbose=True, dry_run=False) -> None: - """Create a directory and any missing ancestor directories. - - If the directory already exists (or if 'name' is the empty string, which - means the current directory, which of course exists), then do nothing. - Raise DistutilsFileError if unable to create some directory along the way - (eg. some sub-path exists, but is a file rather than a directory). - If 'verbose' is true, log the directory created. - """ - if verbose and not name.is_dir(): - log.info("creating %s", name) - - try: - dry_run or name.mkdir(mode=mode, parents=True, exist_ok=True) - except OSError as exc: - raise DistutilsFileError(f"could not create '{name}': {exc.args[-1]}") - - -@mkpath.register -def _(name: str, *args, **kwargs): - return mkpath(pathlib.Path(name), *args, **kwargs) - - -@mkpath.register -def _(name: None, *args, **kwargs): - """ - Detect a common bug -- name is None. - """ - raise DistutilsInternalError(f"mkpath: 'name' must be a string (got {name!r})") - - -def create_tree(base_dir, files, mode=0o777, verbose=True, dry_run=False): - """Create all the empty directories under 'base_dir' needed to put 'files' - there. - - 'base_dir' is just the name of a directory which doesn't necessarily - exist yet; 'files' is a list of filenames to be interpreted relative to - 'base_dir'. 'base_dir' + the directory portion of every file in 'files' - will be created if it doesn't already exist. 'mode', 'verbose' and - 'dry_run' flags are as for 'mkpath()'. - """ - # First get the list of directories to create - need_dir = set(os.path.join(base_dir, os.path.dirname(file)) for file in files) - - # Now create them - for dir in sorted(need_dir): - mkpath(dir, mode, verbose=verbose, dry_run=dry_run) - - -def copy_tree( - src, - dst, - preserve_mode=True, - preserve_times=True, - preserve_symlinks=False, - update=False, - verbose=True, - dry_run=False, -): - """Copy an entire directory tree 'src' to a new location 'dst'. - - Both 'src' and 'dst' must be directory names. If 'src' is not a - directory, raise DistutilsFileError. If 'dst' does not exist, it is - created with 'mkpath()'. The end result of the copy is that every - file in 'src' is copied to 'dst', and directories under 'src' are - recursively copied to 'dst'. Return the list of files that were - copied or might have been copied, using their output name. The - return value is unaffected by 'update' or 'dry_run': it is simply - the list of all files under 'src', with the names changed to be - under 'dst'. - - 'preserve_mode' and 'preserve_times' are the same as for - 'copy_file'; note that they only apply to regular files, not to - directories. If 'preserve_symlinks' is true, symlinks will be - copied as symlinks (on platforms that support them!); otherwise - (the default), the destination of the symlink will be copied. - 'update' and 'verbose' are the same as for 'copy_file'. - """ - if not dry_run and not os.path.isdir(src): - raise DistutilsFileError(f"cannot copy tree '{src}': not a directory") - try: - names = os.listdir(src) - except OSError as e: - if dry_run: - names = [] - else: - raise DistutilsFileError(f"error listing files in '{src}': {e.strerror}") - - if not dry_run: - mkpath(dst, verbose=verbose) - - copy_one = functools.partial( - _copy_one, - src=src, - dst=dst, - preserve_symlinks=preserve_symlinks, - verbose=verbose, - dry_run=dry_run, - preserve_mode=preserve_mode, - preserve_times=preserve_times, - update=update, - ) - return list(itertools.chain.from_iterable(map(copy_one, names))) - - -def _copy_one( - name, - *, - src, - dst, - preserve_symlinks, - verbose, - dry_run, - preserve_mode, - preserve_times, - update, -): - src_name = os.path.join(src, name) - dst_name = os.path.join(dst, name) - - if name.startswith('.nfs'): - # skip NFS rename files - return - - if preserve_symlinks and os.path.islink(src_name): - link_dest = os.readlink(src_name) - if verbose >= 1: - log.info("linking %s -> %s", dst_name, link_dest) - if not dry_run: - os.symlink(link_dest, dst_name) - yield dst_name - - elif os.path.isdir(src_name): - yield from copy_tree( - src_name, - dst_name, - preserve_mode, - preserve_times, - preserve_symlinks, - update, - verbose=verbose, - dry_run=dry_run, - ) - else: - file_util.copy_file( - src_name, - dst_name, - preserve_mode, - preserve_times, - update, - verbose=verbose, - dry_run=dry_run, - ) - yield dst_name - - -def _build_cmdtuple(path, cmdtuples): - """Helper for remove_tree().""" - for f in os.listdir(path): - real_f = os.path.join(path, f) - if os.path.isdir(real_f) and not os.path.islink(real_f): - _build_cmdtuple(real_f, cmdtuples) - else: - cmdtuples.append((os.remove, real_f)) - cmdtuples.append((os.rmdir, path)) - - -def remove_tree(directory, verbose=True, dry_run=False): - """Recursively remove an entire directory tree. - - Any errors are ignored (apart from being reported to stdout if 'verbose' - is true). - """ - if verbose >= 1: - log.info("removing '%s' (and everything under it)", directory) - if dry_run: - return - cmdtuples = [] - _build_cmdtuple(directory, cmdtuples) - for cmd in cmdtuples: - try: - cmd[0](cmd[1]) - # Clear the cache - SkipRepeatAbsolutePaths.clear() - except OSError as exc: - log.warning("error removing %s: %s", directory, exc) - - -def ensure_relative(path): - """Take the full path 'path', and make it a relative path. - - This is useful to make 'path' the second argument to os.path.join(). - """ - drive, path = os.path.splitdrive(path) - if path[0:1] == os.sep: - path = drive + path[1:] - return path diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py deleted file mode 100644 index 154301ba..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py +++ /dev/null @@ -1,1288 +0,0 @@ -"""distutils.dist - -Provides the Distribution class, which represents the module distribution -being built/installed/distributed. -""" - -import contextlib -import logging -import os -import pathlib -import re -import sys -import warnings -from collections.abc import Iterable -from email import message_from_file - -from packaging.utils import canonicalize_name, canonicalize_version - -from ._log import log -from .debug import DEBUG -from .errors import ( - DistutilsArgError, - DistutilsClassError, - DistutilsModuleError, - DistutilsOptionError, -) -from .fancy_getopt import FancyGetopt, translate_longopt -from .util import check_environ, rfc822_escape, strtobool - -# Regex to define acceptable Distutils command names. This is not *quite* -# the same as a Python NAME -- I don't allow leading underscores. The fact -# that they're very similar is no coincidence; the default naming scheme is -# to look for a Python module named after the command. -command_re = re.compile(r'^[a-zA-Z]([a-zA-Z0-9_]*)$') - - -def _ensure_list(value, fieldname): - if isinstance(value, str): - # a string containing comma separated values is okay. It will - # be converted to a list by Distribution.finalize_options(). - pass - elif not isinstance(value, list): - # passing a tuple or an iterator perhaps, warn and convert - typename = type(value).__name__ - msg = "Warning: '{fieldname}' should be a list, got type '{typename}'" - msg = msg.format(**locals()) - log.warning(msg) - value = list(value) - return value - - -class Distribution: - """The core of the Distutils. Most of the work hiding behind 'setup' - is really done within a Distribution instance, which farms the work out - to the Distutils commands specified on the command line. - - Setup scripts will almost never instantiate Distribution directly, - unless the 'setup()' function is totally inadequate to their needs. - However, it is conceivable that a setup script might wish to subclass - Distribution for some specialized purpose, and then pass the subclass - to 'setup()' as the 'distclass' keyword argument. If so, it is - necessary to respect the expectations that 'setup' has of Distribution. - See the code for 'setup()', in core.py, for details. - """ - - # 'global_options' describes the command-line options that may be - # supplied to the setup script prior to any actual commands. - # Eg. "./setup.py -n" or "./setup.py --quiet" both take advantage of - # these global options. This list should be kept to a bare minimum, - # since every global option is also valid as a command option -- and we - # don't want to pollute the commands with too many options that they - # have minimal control over. - # The fourth entry for verbose means that it can be repeated. - global_options = [ - ('verbose', 'v', "run verbosely (default)", 1), - ('quiet', 'q', "run quietly (turns verbosity off)"), - ('dry-run', 'n', "don't actually do anything"), - ('help', 'h', "show detailed help message"), - ('no-user-cfg', None, 'ignore pydistutils.cfg in your home directory'), - ] - - # 'common_usage' is a short (2-3 line) string describing the common - # usage of the setup script. - common_usage = """\ -Common commands: (see '--help-commands' for more) - - setup.py build will build the package underneath 'build/' - setup.py install will install the package -""" - - # options that are not propagated to the commands - display_options = [ - ('help-commands', None, "list all available commands"), - ('name', None, "print package name"), - ('version', 'V', "print package version"), - ('fullname', None, "print -"), - ('author', None, "print the author's name"), - ('author-email', None, "print the author's email address"), - ('maintainer', None, "print the maintainer's name"), - ('maintainer-email', None, "print the maintainer's email address"), - ('contact', None, "print the maintainer's name if known, else the author's"), - ( - 'contact-email', - None, - "print the maintainer's email address if known, else the author's", - ), - ('url', None, "print the URL for this package"), - ('license', None, "print the license of the package"), - ('licence', None, "alias for --license"), - ('description', None, "print the package description"), - ('long-description', None, "print the long package description"), - ('platforms', None, "print the list of platforms"), - ('classifiers', None, "print the list of classifiers"), - ('keywords', None, "print the list of keywords"), - ('provides', None, "print the list of packages/modules provided"), - ('requires', None, "print the list of packages/modules required"), - ('obsoletes', None, "print the list of packages/modules made obsolete"), - ] - display_option_names = [translate_longopt(x[0]) for x in display_options] - - # negative options are options that exclude other options - negative_opt = {'quiet': 'verbose'} - - # -- Creation/initialization methods ------------------------------- - - def __init__(self, attrs=None): # noqa: C901 - """Construct a new Distribution instance: initialize all the - attributes of a Distribution, and then use 'attrs' (a dictionary - mapping attribute names to values) to assign some of those - attributes their "real" values. (Any attributes not mentioned in - 'attrs' will be assigned to some null value: 0, None, an empty list - or dictionary, etc.) Most importantly, initialize the - 'command_obj' attribute to the empty dictionary; this will be - filled in with real command objects by 'parse_command_line()'. - """ - - # Default values for our command-line options - self.verbose = True - self.dry_run = False - self.help = False - for attr in self.display_option_names: - setattr(self, attr, 0) - - # Store the distribution meta-data (name, version, author, and so - # forth) in a separate object -- we're getting to have enough - # information here (and enough command-line options) that it's - # worth it. Also delegate 'get_XXX()' methods to the 'metadata' - # object in a sneaky and underhanded (but efficient!) way. - self.metadata = DistributionMetadata() - for basename in self.metadata._METHOD_BASENAMES: - method_name = "get_" + basename - setattr(self, method_name, getattr(self.metadata, method_name)) - - # 'cmdclass' maps command names to class objects, so we - # can 1) quickly figure out which class to instantiate when - # we need to create a new command object, and 2) have a way - # for the setup script to override command classes - self.cmdclass = {} - - # 'command_packages' is a list of packages in which commands - # are searched for. The factory for command 'foo' is expected - # to be named 'foo' in the module 'foo' in one of the packages - # named here. This list is searched from the left; an error - # is raised if no named package provides the command being - # searched for. (Always access using get_command_packages().) - self.command_packages = None - - # 'script_name' and 'script_args' are usually set to sys.argv[0] - # and sys.argv[1:], but they can be overridden when the caller is - # not necessarily a setup script run from the command-line. - self.script_name = None - self.script_args = None - - # 'command_options' is where we store command options between - # parsing them (from config files, the command-line, etc.) and when - # they are actually needed -- ie. when the command in question is - # instantiated. It is a dictionary of dictionaries of 2-tuples: - # command_options = { command_name : { option : (source, value) } } - self.command_options = {} - - # 'dist_files' is the list of (command, pyversion, file) that - # have been created by any dist commands run so far. This is - # filled regardless of whether the run is dry or not. pyversion - # gives sysconfig.get_python_version() if the dist file is - # specific to a Python version, 'any' if it is good for all - # Python versions on the target platform, and '' for a source - # file. pyversion should not be used to specify minimum or - # maximum required Python versions; use the metainfo for that - # instead. - self.dist_files = [] - - # These options are really the business of various commands, rather - # than of the Distribution itself. We provide aliases for them in - # Distribution as a convenience to the developer. - self.packages = None - self.package_data = {} - self.package_dir = None - self.py_modules = None - self.libraries = None - self.headers = None - self.ext_modules = None - self.ext_package = None - self.include_dirs = None - self.extra_path = None - self.scripts = None - self.data_files = None - self.password = '' - - # And now initialize bookkeeping stuff that can't be supplied by - # the caller at all. 'command_obj' maps command names to - # Command instances -- that's how we enforce that every command - # class is a singleton. - self.command_obj = {} - - # 'have_run' maps command names to boolean values; it keeps track - # of whether we have actually run a particular command, to make it - # cheap to "run" a command whenever we think we might need to -- if - # it's already been done, no need for expensive filesystem - # operations, we just check the 'have_run' dictionary and carry on. - # It's only safe to query 'have_run' for a command class that has - # been instantiated -- a false value will be inserted when the - # command object is created, and replaced with a true value when - # the command is successfully run. Thus it's probably best to use - # '.get()' rather than a straight lookup. - self.have_run = {} - - # Now we'll use the attrs dictionary (ultimately, keyword args from - # the setup script) to possibly override any or all of these - # distribution options. - - if attrs: - # Pull out the set of command options and work on them - # specifically. Note that this order guarantees that aliased - # command options will override any supplied redundantly - # through the general options dictionary. - options = attrs.get('options') - if options is not None: - del attrs['options'] - for command, cmd_options in options.items(): - opt_dict = self.get_option_dict(command) - for opt, val in cmd_options.items(): - opt_dict[opt] = ("setup script", val) - - if 'licence' in attrs: - attrs['license'] = attrs['licence'] - del attrs['licence'] - msg = "'licence' distribution option is deprecated; use 'license'" - warnings.warn(msg) - - # Now work on the rest of the attributes. Any attribute that's - # not already defined is invalid! - for key, val in attrs.items(): - if hasattr(self.metadata, "set_" + key): - getattr(self.metadata, "set_" + key)(val) - elif hasattr(self.metadata, key): - setattr(self.metadata, key, val) - elif hasattr(self, key): - setattr(self, key, val) - else: - msg = f"Unknown distribution option: {key!r}" - warnings.warn(msg) - - # no-user-cfg is handled before other command line args - # because other args override the config files, and this - # one is needed before we can load the config files. - # If attrs['script_args'] wasn't passed, assume false. - # - # This also make sure we just look at the global options - self.want_user_cfg = True - - if self.script_args is not None: - for arg in self.script_args: - if not arg.startswith('-'): - break - if arg == '--no-user-cfg': - self.want_user_cfg = False - break - - self.finalize_options() - - def get_option_dict(self, command): - """Get the option dictionary for a given command. If that - command's option dictionary hasn't been created yet, then create it - and return the new dictionary; otherwise, return the existing - option dictionary. - """ - dict = self.command_options.get(command) - if dict is None: - dict = self.command_options[command] = {} - return dict - - def dump_option_dicts(self, header=None, commands=None, indent=""): - from pprint import pformat - - if commands is None: # dump all command option dicts - commands = sorted(self.command_options.keys()) - - if header is not None: - self.announce(indent + header) - indent = indent + " " - - if not commands: - self.announce(indent + "no commands known yet") - return - - for cmd_name in commands: - opt_dict = self.command_options.get(cmd_name) - if opt_dict is None: - self.announce(indent + f"no option dict for '{cmd_name}' command") - else: - self.announce(indent + f"option dict for '{cmd_name}' command:") - out = pformat(opt_dict) - for line in out.split('\n'): - self.announce(indent + " " + line) - - # -- Config file finding/parsing methods --------------------------- - - def find_config_files(self): - """Find as many configuration files as should be processed for this - platform, and return a list of filenames in the order in which they - should be parsed. The filenames returned are guaranteed to exist - (modulo nasty race conditions). - - There are multiple possible config files: - - distutils.cfg in the Distutils installation directory (i.e. - where the top-level Distutils __inst__.py file lives) - - a file in the user's home directory named .pydistutils.cfg - on Unix and pydistutils.cfg on Windows/Mac; may be disabled - with the ``--no-user-cfg`` option - - setup.cfg in the current directory - - a file named by an environment variable - """ - check_environ() - files = [str(path) for path in self._gen_paths() if os.path.isfile(path)] - - if DEBUG: - self.announce("using config files: {}".format(', '.join(files))) - - return files - - def _gen_paths(self): - # The system-wide Distutils config file - sys_dir = pathlib.Path(sys.modules['distutils'].__file__).parent - yield sys_dir / "distutils.cfg" - - # The per-user config file - prefix = '.' * (os.name == 'posix') - filename = prefix + 'pydistutils.cfg' - if self.want_user_cfg: - with contextlib.suppress(RuntimeError): - yield pathlib.Path('~').expanduser() / filename - - # All platforms support local setup.cfg - yield pathlib.Path('setup.cfg') - - # Additional config indicated in the environment - with contextlib.suppress(TypeError): - yield pathlib.Path(os.getenv("DIST_EXTRA_CONFIG")) - - def parse_config_files(self, filenames=None): # noqa: C901 - from configparser import ConfigParser - - # Ignore install directory options if we have a venv - if sys.prefix != sys.base_prefix: - ignore_options = [ - 'install-base', - 'install-platbase', - 'install-lib', - 'install-platlib', - 'install-purelib', - 'install-headers', - 'install-scripts', - 'install-data', - 'prefix', - 'exec-prefix', - 'home', - 'user', - 'root', - ] - else: - ignore_options = [] - - ignore_options = frozenset(ignore_options) - - if filenames is None: - filenames = self.find_config_files() - - if DEBUG: - self.announce("Distribution.parse_config_files():") - - parser = ConfigParser() - for filename in filenames: - if DEBUG: - self.announce(f" reading {filename}") - parser.read(filename, encoding='utf-8') - for section in parser.sections(): - options = parser.options(section) - opt_dict = self.get_option_dict(section) - - for opt in options: - if opt != '__name__' and opt not in ignore_options: - val = parser.get(section, opt) - opt = opt.replace('-', '_') - opt_dict[opt] = (filename, val) - - # Make the ConfigParser forget everything (so we retain - # the original filenames that options come from) - parser.__init__() - - # If there was a "global" section in the config file, use it - # to set Distribution options. - - if 'global' in self.command_options: - for opt, (_src, val) in self.command_options['global'].items(): - alias = self.negative_opt.get(opt) - try: - if alias: - setattr(self, alias, not strtobool(val)) - elif opt in ('verbose', 'dry_run'): # ugh! - setattr(self, opt, strtobool(val)) - else: - setattr(self, opt, val) - except ValueError as msg: - raise DistutilsOptionError(msg) - - # -- Command-line parsing methods ---------------------------------- - - def parse_command_line(self): - """Parse the setup script's command line, taken from the - 'script_args' instance attribute (which defaults to 'sys.argv[1:]' - -- see 'setup()' in core.py). This list is first processed for - "global options" -- options that set attributes of the Distribution - instance. Then, it is alternately scanned for Distutils commands - and options for that command. Each new command terminates the - options for the previous command. The allowed options for a - command are determined by the 'user_options' attribute of the - command class -- thus, we have to be able to load command classes - in order to parse the command line. Any error in that 'options' - attribute raises DistutilsGetoptError; any error on the - command-line raises DistutilsArgError. If no Distutils commands - were found on the command line, raises DistutilsArgError. Return - true if command-line was successfully parsed and we should carry - on with executing commands; false if no errors but we shouldn't - execute commands (currently, this only happens if user asks for - help). - """ - # - # We now have enough information to show the Macintosh dialog - # that allows the user to interactively specify the "command line". - # - toplevel_options = self._get_toplevel_options() - - # We have to parse the command line a bit at a time -- global - # options, then the first command, then its options, and so on -- - # because each command will be handled by a different class, and - # the options that are valid for a particular class aren't known - # until we have loaded the command class, which doesn't happen - # until we know what the command is. - - self.commands = [] - parser = FancyGetopt(toplevel_options + self.display_options) - parser.set_negative_aliases(self.negative_opt) - parser.set_aliases({'licence': 'license'}) - args = parser.getopt(args=self.script_args, object=self) - option_order = parser.get_option_order() - logging.getLogger().setLevel(logging.WARN - 10 * self.verbose) - - # for display options we return immediately - if self.handle_display_options(option_order): - return - while args: - args = self._parse_command_opts(parser, args) - if args is None: # user asked for help (and got it) - return - - # Handle the cases of --help as a "global" option, ie. - # "setup.py --help" and "setup.py --help command ...". For the - # former, we show global options (--verbose, --dry-run, etc.) - # and display-only options (--name, --version, etc.); for the - # latter, we omit the display-only options and show help for - # each command listed on the command line. - if self.help: - self._show_help( - parser, display_options=len(self.commands) == 0, commands=self.commands - ) - return - - # Oops, no commands found -- an end-user error - if not self.commands: - raise DistutilsArgError("no commands supplied") - - # All is well: return true - return True - - def _get_toplevel_options(self): - """Return the non-display options recognized at the top level. - - This includes options that are recognized *only* at the top - level as well as options recognized for commands. - """ - return self.global_options + [ - ( - "command-packages=", - None, - "list of packages that provide distutils commands", - ), - ] - - def _parse_command_opts(self, parser, args): # noqa: C901 - """Parse the command-line options for a single command. - 'parser' must be a FancyGetopt instance; 'args' must be the list - of arguments, starting with the current command (whose options - we are about to parse). Returns a new version of 'args' with - the next command at the front of the list; will be the empty - list if there are no more commands on the command line. Returns - None if the user asked for help on this command. - """ - # late import because of mutual dependence between these modules - from distutils.cmd import Command - - # Pull the current command from the head of the command line - command = args[0] - if not command_re.match(command): - raise SystemExit(f"invalid command name '{command}'") - self.commands.append(command) - - # Dig up the command class that implements this command, so we - # 1) know that it's a valid command, and 2) know which options - # it takes. - try: - cmd_class = self.get_command_class(command) - except DistutilsModuleError as msg: - raise DistutilsArgError(msg) - - # Require that the command class be derived from Command -- want - # to be sure that the basic "command" interface is implemented. - if not issubclass(cmd_class, Command): - raise DistutilsClassError( - f"command class {cmd_class} must subclass Command" - ) - - # Also make sure that the command object provides a list of its - # known options. - if not ( - hasattr(cmd_class, 'user_options') - and isinstance(cmd_class.user_options, list) - ): - msg = ( - "command class %s must provide " - "'user_options' attribute (a list of tuples)" - ) - raise DistutilsClassError(msg % cmd_class) - - # If the command class has a list of negative alias options, - # merge it in with the global negative aliases. - negative_opt = self.negative_opt - if hasattr(cmd_class, 'negative_opt'): - negative_opt = negative_opt.copy() - negative_opt.update(cmd_class.negative_opt) - - # Check for help_options in command class. They have a different - # format (tuple of four) so we need to preprocess them here. - if hasattr(cmd_class, 'help_options') and isinstance( - cmd_class.help_options, list - ): - help_options = fix_help_options(cmd_class.help_options) - else: - help_options = [] - - # All commands support the global options too, just by adding - # in 'global_options'. - parser.set_option_table( - self.global_options + cmd_class.user_options + help_options - ) - parser.set_negative_aliases(negative_opt) - (args, opts) = parser.getopt(args[1:]) - if hasattr(opts, 'help') and opts.help: - self._show_help(parser, display_options=False, commands=[cmd_class]) - return - - if hasattr(cmd_class, 'help_options') and isinstance( - cmd_class.help_options, list - ): - help_option_found = 0 - for help_option, _short, _desc, func in cmd_class.help_options: - if hasattr(opts, parser.get_attr_name(help_option)): - help_option_found = 1 - if callable(func): - func() - else: - raise DistutilsClassError( - f"invalid help function {func!r} for help option '{help_option}': " - "must be a callable object (function, etc.)" - ) - - if help_option_found: - return - - # Put the options from the command-line into their official - # holding pen, the 'command_options' dictionary. - opt_dict = self.get_option_dict(command) - for name, value in vars(opts).items(): - opt_dict[name] = ("command line", value) - - return args - - def finalize_options(self): - """Set final values for all the options on the Distribution - instance, analogous to the .finalize_options() method of Command - objects. - """ - for attr in ('keywords', 'platforms'): - value = getattr(self.metadata, attr) - if value is None: - continue - if isinstance(value, str): - value = [elm.strip() for elm in value.split(',')] - setattr(self.metadata, attr, value) - - def _show_help( - self, parser, global_options=True, display_options=True, commands: Iterable = () - ): - """Show help for the setup script command-line in the form of - several lists of command-line options. 'parser' should be a - FancyGetopt instance; do not expect it to be returned in the - same state, as its option table will be reset to make it - generate the correct help text. - - If 'global_options' is true, lists the global options: - --verbose, --dry-run, etc. If 'display_options' is true, lists - the "display-only" options: --name, --version, etc. Finally, - lists per-command help for every command name or command class - in 'commands'. - """ - # late import because of mutual dependence between these modules - from distutils.cmd import Command - from distutils.core import gen_usage - - if global_options: - if display_options: - options = self._get_toplevel_options() - else: - options = self.global_options - parser.set_option_table(options) - parser.print_help(self.common_usage + "\nGlobal options:") - print() - - if display_options: - parser.set_option_table(self.display_options) - parser.print_help( - "Information display options (just display information, ignore any commands)" - ) - print() - - for command in commands: - if isinstance(command, type) and issubclass(command, Command): - klass = command - else: - klass = self.get_command_class(command) - if hasattr(klass, 'help_options') and isinstance(klass.help_options, list): - parser.set_option_table( - klass.user_options + fix_help_options(klass.help_options) - ) - else: - parser.set_option_table(klass.user_options) - parser.print_help(f"Options for '{klass.__name__}' command:") - print() - - print(gen_usage(self.script_name)) - - def handle_display_options(self, option_order): - """If there were any non-global "display-only" options - (--help-commands or the metadata display options) on the command - line, display the requested info and return true; else return - false. - """ - from distutils.core import gen_usage - - # User just wants a list of commands -- we'll print it out and stop - # processing now (ie. if they ran "setup --help-commands foo bar", - # we ignore "foo bar"). - if self.help_commands: - self.print_commands() - print() - print(gen_usage(self.script_name)) - return 1 - - # If user supplied any of the "display metadata" options, then - # display that metadata in the order in which the user supplied the - # metadata options. - any_display_options = 0 - is_display_option = set() - for option in self.display_options: - is_display_option.add(option[0]) - - for opt, val in option_order: - if val and opt in is_display_option: - opt = translate_longopt(opt) - value = getattr(self.metadata, "get_" + opt)() - if opt in ('keywords', 'platforms'): - print(','.join(value)) - elif opt in ('classifiers', 'provides', 'requires', 'obsoletes'): - print('\n'.join(value)) - else: - print(value) - any_display_options = 1 - - return any_display_options - - def print_command_list(self, commands, header, max_length): - """Print a subset of the list of all commands -- used by - 'print_commands()'. - """ - print(header + ":") - - for cmd in commands: - klass = self.cmdclass.get(cmd) - if not klass: - klass = self.get_command_class(cmd) - try: - description = klass.description - except AttributeError: - description = "(no description available)" - - print(" %-*s %s" % (max_length, cmd, description)) - - def print_commands(self): - """Print out a help message listing all available commands with a - description of each. The list is divided into "standard commands" - (listed in distutils.command.__all__) and "extra commands" - (mentioned in self.cmdclass, but not a standard command). The - descriptions come from the command class attribute - 'description'. - """ - import distutils.command - - std_commands = distutils.command.__all__ - is_std = set(std_commands) - - extra_commands = [cmd for cmd in self.cmdclass.keys() if cmd not in is_std] - - max_length = 0 - for cmd in std_commands + extra_commands: - if len(cmd) > max_length: - max_length = len(cmd) - - self.print_command_list(std_commands, "Standard commands", max_length) - if extra_commands: - print() - self.print_command_list(extra_commands, "Extra commands", max_length) - - def get_command_list(self): - """Get a list of (command, description) tuples. - The list is divided into "standard commands" (listed in - distutils.command.__all__) and "extra commands" (mentioned in - self.cmdclass, but not a standard command). The descriptions come - from the command class attribute 'description'. - """ - # Currently this is only used on Mac OS, for the Mac-only GUI - # Distutils interface (by Jack Jansen) - import distutils.command - - std_commands = distutils.command.__all__ - is_std = set(std_commands) - - extra_commands = [cmd for cmd in self.cmdclass.keys() if cmd not in is_std] - - rv = [] - for cmd in std_commands + extra_commands: - klass = self.cmdclass.get(cmd) - if not klass: - klass = self.get_command_class(cmd) - try: - description = klass.description - except AttributeError: - description = "(no description available)" - rv.append((cmd, description)) - return rv - - # -- Command class/object methods ---------------------------------- - - def get_command_packages(self): - """Return a list of packages from which commands are loaded.""" - pkgs = self.command_packages - if not isinstance(pkgs, list): - if pkgs is None: - pkgs = '' - pkgs = [pkg.strip() for pkg in pkgs.split(',') if pkg != ''] - if "distutils.command" not in pkgs: - pkgs.insert(0, "distutils.command") - self.command_packages = pkgs - return pkgs - - def get_command_class(self, command): - """Return the class that implements the Distutils command named by - 'command'. First we check the 'cmdclass' dictionary; if the - command is mentioned there, we fetch the class object from the - dictionary and return it. Otherwise we load the command module - ("distutils.command." + command) and fetch the command class from - the module. The loaded class is also stored in 'cmdclass' - to speed future calls to 'get_command_class()'. - - Raises DistutilsModuleError if the expected module could not be - found, or if that module does not define the expected class. - """ - klass = self.cmdclass.get(command) - if klass: - return klass - - for pkgname in self.get_command_packages(): - module_name = f"{pkgname}.{command}" - klass_name = command - - try: - __import__(module_name) - module = sys.modules[module_name] - except ImportError: - continue - - try: - klass = getattr(module, klass_name) - except AttributeError: - raise DistutilsModuleError( - f"invalid command '{command}' (no class '{klass_name}' in module '{module_name}')" - ) - - self.cmdclass[command] = klass - return klass - - raise DistutilsModuleError(f"invalid command '{command}'") - - def get_command_obj(self, command, create=True): - """Return the command object for 'command'. Normally this object - is cached on a previous call to 'get_command_obj()'; if no command - object for 'command' is in the cache, then we either create and - return it (if 'create' is true) or return None. - """ - cmd_obj = self.command_obj.get(command) - if not cmd_obj and create: - if DEBUG: - self.announce( - "Distribution.get_command_obj(): " - f"creating '{command}' command object" - ) - - klass = self.get_command_class(command) - cmd_obj = self.command_obj[command] = klass(self) - self.have_run[command] = False - - # Set any options that were supplied in config files - # or on the command line. (NB. support for error - # reporting is lame here: any errors aren't reported - # until 'finalize_options()' is called, which means - # we won't report the source of the error.) - options = self.command_options.get(command) - if options: - self._set_command_options(cmd_obj, options) - - return cmd_obj - - def _set_command_options(self, command_obj, option_dict=None): # noqa: C901 - """Set the options for 'command_obj' from 'option_dict'. Basically - this means copying elements of a dictionary ('option_dict') to - attributes of an instance ('command'). - - 'command_obj' must be a Command instance. If 'option_dict' is not - supplied, uses the standard option dictionary for this command - (from 'self.command_options'). - """ - command_name = command_obj.get_command_name() - if option_dict is None: - option_dict = self.get_option_dict(command_name) - - if DEBUG: - self.announce(f" setting options for '{command_name}' command:") - for option, (source, value) in option_dict.items(): - if DEBUG: - self.announce(f" {option} = {value} (from {source})") - try: - bool_opts = [translate_longopt(o) for o in command_obj.boolean_options] - except AttributeError: - bool_opts = [] - try: - neg_opt = command_obj.negative_opt - except AttributeError: - neg_opt = {} - - try: - is_string = isinstance(value, str) - if option in neg_opt and is_string: - setattr(command_obj, neg_opt[option], not strtobool(value)) - elif option in bool_opts and is_string: - setattr(command_obj, option, strtobool(value)) - elif hasattr(command_obj, option): - setattr(command_obj, option, value) - else: - raise DistutilsOptionError( - f"error in {source}: command '{command_name}' has no such option '{option}'" - ) - except ValueError as msg: - raise DistutilsOptionError(msg) - - def reinitialize_command(self, command, reinit_subcommands=False): - """Reinitializes a command to the state it was in when first - returned by 'get_command_obj()': ie., initialized but not yet - finalized. This provides the opportunity to sneak option - values in programmatically, overriding or supplementing - user-supplied values from the config files and command line. - You'll have to re-finalize the command object (by calling - 'finalize_options()' or 'ensure_finalized()') before using it for - real. - - 'command' should be a command name (string) or command object. If - 'reinit_subcommands' is true, also reinitializes the command's - sub-commands, as declared by the 'sub_commands' class attribute (if - it has one). See the "install" command for an example. Only - reinitializes the sub-commands that actually matter, ie. those - whose test predicates return true. - - Returns the reinitialized command object. - """ - from distutils.cmd import Command - - if not isinstance(command, Command): - command_name = command - command = self.get_command_obj(command_name) - else: - command_name = command.get_command_name() - - if not command.finalized: - return command - command.initialize_options() - command.finalized = False - self.have_run[command_name] = False - self._set_command_options(command) - - if reinit_subcommands: - for sub in command.get_sub_commands(): - self.reinitialize_command(sub, reinit_subcommands) - - return command - - # -- Methods that operate on the Distribution ---------------------- - - def announce(self, msg, level=logging.INFO): - log.log(level, msg) - - def run_commands(self): - """Run each command that was seen on the setup script command line. - Uses the list of commands found and cache of command objects - created by 'get_command_obj()'. - """ - for cmd in self.commands: - self.run_command(cmd) - - # -- Methods that operate on its Commands -------------------------- - - def run_command(self, command): - """Do whatever it takes to run a command (including nothing at all, - if the command has already been run). Specifically: if we have - already created and run the command named by 'command', return - silently without doing anything. If the command named by 'command' - doesn't even have a command object yet, create one. Then invoke - 'run()' on that command object (or an existing one). - """ - # Already been here, done that? then return silently. - if self.have_run.get(command): - return - - log.info("running %s", command) - cmd_obj = self.get_command_obj(command) - cmd_obj.ensure_finalized() - cmd_obj.run() - self.have_run[command] = True - - # -- Distribution query methods ------------------------------------ - - def has_pure_modules(self): - return len(self.packages or self.py_modules or []) > 0 - - def has_ext_modules(self): - return self.ext_modules and len(self.ext_modules) > 0 - - def has_c_libraries(self): - return self.libraries and len(self.libraries) > 0 - - def has_modules(self): - return self.has_pure_modules() or self.has_ext_modules() - - def has_headers(self): - return self.headers and len(self.headers) > 0 - - def has_scripts(self): - return self.scripts and len(self.scripts) > 0 - - def has_data_files(self): - return self.data_files and len(self.data_files) > 0 - - def is_pure(self): - return ( - self.has_pure_modules() - and not self.has_ext_modules() - and not self.has_c_libraries() - ) - - # -- Metadata query methods ---------------------------------------- - - # If you're looking for 'get_name()', 'get_version()', and so forth, - # they are defined in a sneaky way: the constructor binds self.get_XXX - # to self.metadata.get_XXX. The actual code is in the - # DistributionMetadata class, below. - - -class DistributionMetadata: - """Dummy class to hold the distribution meta-data: name, version, - author, and so forth. - """ - - _METHOD_BASENAMES = ( - "name", - "version", - "author", - "author_email", - "maintainer", - "maintainer_email", - "url", - "license", - "description", - "long_description", - "keywords", - "platforms", - "fullname", - "contact", - "contact_email", - "classifiers", - "download_url", - # PEP 314 - "provides", - "requires", - "obsoletes", - ) - - def __init__(self, path=None): - if path is not None: - self.read_pkg_file(open(path)) - else: - self.name = None - self.version = None - self.author = None - self.author_email = None - self.maintainer = None - self.maintainer_email = None - self.url = None - self.license = None - self.description = None - self.long_description = None - self.keywords = None - self.platforms = None - self.classifiers = None - self.download_url = None - # PEP 314 - self.provides = None - self.requires = None - self.obsoletes = None - - def read_pkg_file(self, file): - """Reads the metadata values from a file object.""" - msg = message_from_file(file) - - def _read_field(name): - value = msg[name] - if value and value != "UNKNOWN": - return value - - def _read_list(name): - values = msg.get_all(name, None) - if values == []: - return None - return values - - metadata_version = msg['metadata-version'] - self.name = _read_field('name') - self.version = _read_field('version') - self.description = _read_field('summary') - # we are filling author only. - self.author = _read_field('author') - self.maintainer = None - self.author_email = _read_field('author-email') - self.maintainer_email = None - self.url = _read_field('home-page') - self.license = _read_field('license') - - if 'download-url' in msg: - self.download_url = _read_field('download-url') - else: - self.download_url = None - - self.long_description = _read_field('description') - self.description = _read_field('summary') - - if 'keywords' in msg: - self.keywords = _read_field('keywords').split(',') - - self.platforms = _read_list('platform') - self.classifiers = _read_list('classifier') - - # PEP 314 - these fields only exist in 1.1 - if metadata_version == '1.1': - self.requires = _read_list('requires') - self.provides = _read_list('provides') - self.obsoletes = _read_list('obsoletes') - else: - self.requires = None - self.provides = None - self.obsoletes = None - - def write_pkg_info(self, base_dir): - """Write the PKG-INFO file into the release tree.""" - with open( - os.path.join(base_dir, 'PKG-INFO'), 'w', encoding='UTF-8' - ) as pkg_info: - self.write_pkg_file(pkg_info) - - def write_pkg_file(self, file): - """Write the PKG-INFO format data to a file object.""" - version = '1.0' - if ( - self.provides - or self.requires - or self.obsoletes - or self.classifiers - or self.download_url - ): - version = '1.1' - - # required fields - file.write(f'Metadata-Version: {version}\n') - file.write(f'Name: {self.get_name()}\n') - file.write(f'Version: {self.get_version()}\n') - - def maybe_write(header, val): - if val: - file.write(f"{header}: {val}\n") - - # optional fields - maybe_write("Summary", self.get_description()) - maybe_write("Home-page", self.get_url()) - maybe_write("Author", self.get_contact()) - maybe_write("Author-email", self.get_contact_email()) - maybe_write("License", self.get_license()) - maybe_write("Download-URL", self.download_url) - maybe_write("Description", rfc822_escape(self.get_long_description() or "")) - maybe_write("Keywords", ",".join(self.get_keywords())) - - self._write_list(file, 'Platform', self.get_platforms()) - self._write_list(file, 'Classifier', self.get_classifiers()) - - # PEP 314 - self._write_list(file, 'Requires', self.get_requires()) - self._write_list(file, 'Provides', self.get_provides()) - self._write_list(file, 'Obsoletes', self.get_obsoletes()) - - def _write_list(self, file, name, values): - values = values or [] - for value in values: - file.write(f'{name}: {value}\n') - - # -- Metadata query methods ---------------------------------------- - - def get_name(self): - return self.name or "UNKNOWN" - - def get_version(self): - return self.version or "0.0.0" - - def get_fullname(self): - return self._fullname(self.get_name(), self.get_version()) - - @staticmethod - def _fullname(name: str, version: str) -> str: - """ - >>> DistributionMetadata._fullname('setup.tools', '1.0-2') - 'setup_tools-1.0.post2' - >>> DistributionMetadata._fullname('setup-tools', '1.2post2') - 'setup_tools-1.2.post2' - >>> DistributionMetadata._fullname('setup-tools', '1.0-r2') - 'setup_tools-1.0.post2' - >>> DistributionMetadata._fullname('setup.tools', '1.0.post') - 'setup_tools-1.0.post0' - >>> DistributionMetadata._fullname('setup.tools', '1.0+ubuntu-1') - 'setup_tools-1.0+ubuntu.1' - """ - return "{}-{}".format( - canonicalize_name(name).replace('-', '_'), - canonicalize_version(version, strip_trailing_zero=False), - ) - - def get_author(self): - return self.author - - def get_author_email(self): - return self.author_email - - def get_maintainer(self): - return self.maintainer - - def get_maintainer_email(self): - return self.maintainer_email - - def get_contact(self): - return self.maintainer or self.author - - def get_contact_email(self): - return self.maintainer_email or self.author_email - - def get_url(self): - return self.url - - def get_license(self): - return self.license - - get_licence = get_license - - def get_description(self): - return self.description - - def get_long_description(self): - return self.long_description - - def get_keywords(self): - return self.keywords or [] - - def set_keywords(self, value): - self.keywords = _ensure_list(value, 'keywords') - - def get_platforms(self): - return self.platforms - - def set_platforms(self, value): - self.platforms = _ensure_list(value, 'platforms') - - def get_classifiers(self): - return self.classifiers or [] - - def set_classifiers(self, value): - self.classifiers = _ensure_list(value, 'classifiers') - - def get_download_url(self): - return self.download_url - - # PEP 314 - def get_requires(self): - return self.requires or [] - - def set_requires(self, value): - import distutils.versionpredicate - - for v in value: - distutils.versionpredicate.VersionPredicate(v) - self.requires = list(value) - - def get_provides(self): - return self.provides or [] - - def set_provides(self, value): - value = [v.strip() for v in value] - for v in value: - import distutils.versionpredicate - - distutils.versionpredicate.split_provision(v) - self.provides = value - - def get_obsoletes(self): - return self.obsoletes or [] - - def set_obsoletes(self, value): - import distutils.versionpredicate - - for v in value: - distutils.versionpredicate.VersionPredicate(v) - self.obsoletes = list(value) - - -def fix_help_options(options): - """Convert a 4-tuple 'help_options' list as found in various command - classes to the 3-tuple form required by FancyGetopt. - """ - return [opt[0:3] for opt in options] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/errors.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/errors.py deleted file mode 100644 index 3196a4f0..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/errors.py +++ /dev/null @@ -1,124 +0,0 @@ -""" -Exceptions used by the Distutils modules. - -Distutils modules may raise these or standard exceptions, -including :exc:`SystemExit`. -""" - - -class DistutilsError(Exception): - """The root of all Distutils evil.""" - - pass - - -class DistutilsModuleError(DistutilsError): - """Unable to load an expected module, or to find an expected class - within some module (in particular, command modules and classes).""" - - pass - - -class DistutilsClassError(DistutilsError): - """Some command class (or possibly distribution class, if anyone - feels a need to subclass Distribution) is found not to be holding - up its end of the bargain, ie. implementing some part of the - "command "interface.""" - - pass - - -class DistutilsGetoptError(DistutilsError): - """The option table provided to 'fancy_getopt()' is bogus.""" - - pass - - -class DistutilsArgError(DistutilsError): - """Raised by fancy_getopt in response to getopt.error -- ie. an - error in the command line usage.""" - - pass - - -class DistutilsFileError(DistutilsError): - """Any problems in the filesystem: expected file not found, etc. - Typically this is for problems that we detect before OSError - could be raised.""" - - pass - - -class DistutilsOptionError(DistutilsError): - """Syntactic/semantic errors in command options, such as use of - mutually conflicting options, or inconsistent options, - badly-spelled values, etc. No distinction is made between option - values originating in the setup script, the command line, config - files, or what-have-you -- but if we *know* something originated in - the setup script, we'll raise DistutilsSetupError instead.""" - - pass - - -class DistutilsSetupError(DistutilsError): - """For errors that can be definitely blamed on the setup script, - such as invalid keyword arguments to 'setup()'.""" - - pass - - -class DistutilsPlatformError(DistutilsError): - """We don't know how to do something on the current platform (but - we do know how to do it on some platform) -- eg. trying to compile - C files on a platform not supported by a CCompiler subclass.""" - - pass - - -class DistutilsExecError(DistutilsError): - """Any problems executing an external program (such as the C - compiler, when compiling C files).""" - - pass - - -class DistutilsInternalError(DistutilsError): - """Internal inconsistencies or impossibilities (obviously, this - should never be seen if the code is working!).""" - - pass - - -class DistutilsTemplateError(DistutilsError): - """Syntax error in a file list template.""" - - -class DistutilsByteCompileError(DistutilsError): - """Byte compile error.""" - - -# Exception classes used by the CCompiler implementation classes -class CCompilerError(Exception): - """Some compile/link operation failed.""" - - -class PreprocessError(CCompilerError): - """Failure to preprocess one or more C/C++ files.""" - - -class CompileError(CCompilerError): - """Failure to compile one or more C/C++ source files.""" - - -class LibError(CCompilerError): - """Failure to create a static library from one or more C/C++ object - files.""" - - -class LinkError(CCompilerError): - """Failure to link one or more C/C++ object files into an executable - or shared library file.""" - - -class UnknownFileError(CCompilerError): - """Attempt to process an unknown file type.""" diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/extension.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/extension.py deleted file mode 100644 index 33159079..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/extension.py +++ /dev/null @@ -1,247 +0,0 @@ -"""distutils.extension - -Provides the Extension class, used to describe C/C++ extension -modules in setup scripts.""" - -import os -import warnings - -# This class is really only used by the "build_ext" command, so it might -# make sense to put it in distutils.command.build_ext. However, that -# module is already big enough, and I want to make this class a bit more -# complex to simplify some common cases ("foo" module in "foo.c") and do -# better error-checking ("foo.c" actually exists). -# -# Also, putting this in build_ext.py means every setup script would have to -# import that large-ish module (indirectly, through distutils.core) in -# order to do anything. - - -class Extension: - """Just a collection of attributes that describes an extension - module and everything needed to build it (hopefully in a portable - way, but there are hooks that let you be as unportable as you need). - - Instance attributes: - name : string - the full name of the extension, including any packages -- ie. - *not* a filename or pathname, but Python dotted name - sources : [string | os.PathLike] - list of source filenames, relative to the distribution root - (where the setup script lives), in Unix form (slash-separated) - for portability. Source files may be C, C++, SWIG (.i), - platform-specific resource files, or whatever else is recognized - by the "build_ext" command as source for a Python extension. - include_dirs : [string] - list of directories to search for C/C++ header files (in Unix - form for portability) - define_macros : [(name : string, value : string|None)] - list of macros to define; each macro is defined using a 2-tuple, - where 'value' is either the string to define it to or None to - define it without a particular value (equivalent of "#define - FOO" in source or -DFOO on Unix C compiler command line) - undef_macros : [string] - list of macros to undefine explicitly - library_dirs : [string] - list of directories to search for C/C++ libraries at link time - libraries : [string] - list of library names (not filenames or paths) to link against - runtime_library_dirs : [string] - list of directories to search for C/C++ libraries at run time - (for shared extensions, this is when the extension is loaded) - extra_objects : [string] - list of extra files to link with (eg. object files not implied - by 'sources', static library that must be explicitly specified, - binary resource files, etc.) - extra_compile_args : [string] - any extra platform- and compiler-specific information to use - when compiling the source files in 'sources'. For platforms and - compilers where "command line" makes sense, this is typically a - list of command-line arguments, but for other platforms it could - be anything. - extra_link_args : [string] - any extra platform- and compiler-specific information to use - when linking object files together to create the extension (or - to create a new static Python interpreter). Similar - interpretation as for 'extra_compile_args'. - export_symbols : [string] - list of symbols to be exported from a shared extension. Not - used on all platforms, and not generally necessary for Python - extensions, which typically export exactly one symbol: "init" + - extension_name. - swig_opts : [string] - any extra options to pass to SWIG if a source file has the .i - extension. - depends : [string] - list of files that the extension depends on - language : string - extension language (i.e. "c", "c++", "objc"). Will be detected - from the source extensions if not provided. - optional : boolean - specifies that a build failure in the extension should not abort the - build process, but simply not install the failing extension. - """ - - # When adding arguments to this constructor, be sure to update - # setup_keywords in core.py. - def __init__( - self, - name, - sources, - include_dirs=None, - define_macros=None, - undef_macros=None, - library_dirs=None, - libraries=None, - runtime_library_dirs=None, - extra_objects=None, - extra_compile_args=None, - extra_link_args=None, - export_symbols=None, - swig_opts=None, - depends=None, - language=None, - optional=None, - **kw, # To catch unknown keywords - ): - if not isinstance(name, str): - raise AssertionError("'name' must be a string") # noqa: TRY004 - if not ( - isinstance(sources, list) - and all(isinstance(v, (str, os.PathLike)) for v in sources) - ): - raise AssertionError( - "'sources' must be a list of strings or PathLike objects." - ) - - self.name = name - self.sources = list(map(os.fspath, sources)) - self.include_dirs = include_dirs or [] - self.define_macros = define_macros or [] - self.undef_macros = undef_macros or [] - self.library_dirs = library_dirs or [] - self.libraries = libraries or [] - self.runtime_library_dirs = runtime_library_dirs or [] - self.extra_objects = extra_objects or [] - self.extra_compile_args = extra_compile_args or [] - self.extra_link_args = extra_link_args or [] - self.export_symbols = export_symbols or [] - self.swig_opts = swig_opts or [] - self.depends = depends or [] - self.language = language - self.optional = optional - - # If there are unknown keyword options, warn about them - if len(kw) > 0: - options = [repr(option) for option in kw] - options = ', '.join(sorted(options)) - msg = f"Unknown Extension options: {options}" - warnings.warn(msg) - - def __repr__(self): - return f'<{self.__class__.__module__}.{self.__class__.__qualname__}({self.name!r}) at {id(self):#x}>' - - -def read_setup_file(filename): # noqa: C901 - """Reads a Setup file and returns Extension instances.""" - from distutils.sysconfig import _variable_rx, expand_makefile_vars, parse_makefile - from distutils.text_file import TextFile - from distutils.util import split_quoted - - # First pass over the file to gather "VAR = VALUE" assignments. - vars = parse_makefile(filename) - - # Second pass to gobble up the real content: lines of the form - # ... [ ...] [ ...] [ ...] - file = TextFile( - filename, - strip_comments=True, - skip_blanks=True, - join_lines=True, - lstrip_ws=True, - rstrip_ws=True, - ) - try: - extensions = [] - - while True: - line = file.readline() - if line is None: # eof - break - if _variable_rx.match(line): # VAR=VALUE, handled in first pass - continue - - if line[0] == line[-1] == "*": - file.warn(f"'{line}' lines not handled yet") - continue - - line = expand_makefile_vars(line, vars) - words = split_quoted(line) - - # NB. this parses a slightly different syntax than the old - # makesetup script: here, there must be exactly one extension per - # line, and it must be the first word of the line. I have no idea - # why the old syntax supported multiple extensions per line, as - # they all wind up being the same. - - module = words[0] - ext = Extension(module, []) - append_next_word = None - - for word in words[1:]: - if append_next_word is not None: - append_next_word.append(word) - append_next_word = None - continue - - suffix = os.path.splitext(word)[1] - switch = word[0:2] - value = word[2:] - - if suffix in (".c", ".cc", ".cpp", ".cxx", ".c++", ".m", ".mm"): - # hmm, should we do something about C vs. C++ sources? - # or leave it up to the CCompiler implementation to - # worry about? - ext.sources.append(word) - elif switch == "-I": - ext.include_dirs.append(value) - elif switch == "-D": - equals = value.find("=") - if equals == -1: # bare "-DFOO" -- no value - ext.define_macros.append((value, None)) - else: # "-DFOO=blah" - ext.define_macros.append((value[0:equals], value[equals + 2 :])) - elif switch == "-U": - ext.undef_macros.append(value) - elif switch == "-C": # only here 'cause makesetup has it! - ext.extra_compile_args.append(word) - elif switch == "-l": - ext.libraries.append(value) - elif switch == "-L": - ext.library_dirs.append(value) - elif switch == "-R": - ext.runtime_library_dirs.append(value) - elif word == "-rpath": - append_next_word = ext.runtime_library_dirs - elif word == "-Xlinker": - append_next_word = ext.extra_link_args - elif word == "-Xcompiler": - append_next_word = ext.extra_compile_args - elif switch == "-u": - ext.extra_link_args.append(word) - if not value: - append_next_word = ext.extra_link_args - elif suffix in (".a", ".so", ".sl", ".o", ".dylib"): - # NB. a really faithful emulation of makesetup would - # append a .o file to extra_objects only if it - # had a slash in it; otherwise, it would s/.o/.c/ - # and append it to sources. Hmmmm. - ext.extra_objects.append(word) - else: - file.warn(f"unrecognized argument '{word}'") - - extensions.append(ext) - finally: - file.close() - - return extensions diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/fancy_getopt.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/fancy_getopt.py deleted file mode 100644 index 907cc2b7..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/fancy_getopt.py +++ /dev/null @@ -1,469 +0,0 @@ -"""distutils.fancy_getopt - -Wrapper around the standard getopt module that provides the following -additional features: - * short and long options are tied together - * options have help strings, so fancy_getopt could potentially - create a complete usage summary - * options set attributes of a passed-in object -""" - -import getopt -import re -import string -import sys -from typing import Any, Sequence - -from .errors import DistutilsArgError, DistutilsGetoptError - -# Much like command_re in distutils.core, this is close to but not quite -# the same as a Python NAME -- except, in the spirit of most GNU -# utilities, we use '-' in place of '_'. (The spirit of LISP lives on!) -# The similarities to NAME are again not a coincidence... -longopt_pat = r'[a-zA-Z](?:[a-zA-Z0-9-]*)' -longopt_re = re.compile(rf'^{longopt_pat}$') - -# For recognizing "negative alias" options, eg. "quiet=!verbose" -neg_alias_re = re.compile(f"^({longopt_pat})=!({longopt_pat})$") - -# This is used to translate long options to legitimate Python identifiers -# (for use as attributes of some object). -longopt_xlate = str.maketrans('-', '_') - - -class FancyGetopt: - """Wrapper around the standard 'getopt()' module that provides some - handy extra functionality: - * short and long options are tied together - * options have help strings, and help text can be assembled - from them - * options set attributes of a passed-in object - * boolean options can have "negative aliases" -- eg. if - --quiet is the "negative alias" of --verbose, then "--quiet" - on the command line sets 'verbose' to false - """ - - def __init__(self, option_table=None): - # The option table is (currently) a list of tuples. The - # tuples may have 3 or four values: - # (long_option, short_option, help_string [, repeatable]) - # if an option takes an argument, its long_option should have '=' - # appended; short_option should just be a single character, no ':' - # in any case. If a long_option doesn't have a corresponding - # short_option, short_option should be None. All option tuples - # must have long options. - self.option_table = option_table - - # 'option_index' maps long option names to entries in the option - # table (ie. those 3-tuples). - self.option_index = {} - if self.option_table: - self._build_index() - - # 'alias' records (duh) alias options; {'foo': 'bar'} means - # --foo is an alias for --bar - self.alias = {} - - # 'negative_alias' keeps track of options that are the boolean - # opposite of some other option - self.negative_alias = {} - - # These keep track of the information in the option table. We - # don't actually populate these structures until we're ready to - # parse the command-line, since the 'option_table' passed in here - # isn't necessarily the final word. - self.short_opts = [] - self.long_opts = [] - self.short2long = {} - self.attr_name = {} - self.takes_arg = {} - - # And 'option_order' is filled up in 'getopt()'; it records the - # original order of options (and their values) on the command-line, - # but expands short options, converts aliases, etc. - self.option_order = [] - - def _build_index(self): - self.option_index.clear() - for option in self.option_table: - self.option_index[option[0]] = option - - def set_option_table(self, option_table): - self.option_table = option_table - self._build_index() - - def add_option(self, long_option, short_option=None, help_string=None): - if long_option in self.option_index: - raise DistutilsGetoptError( - f"option conflict: already an option '{long_option}'" - ) - else: - option = (long_option, short_option, help_string) - self.option_table.append(option) - self.option_index[long_option] = option - - def has_option(self, long_option): - """Return true if the option table for this parser has an - option with long name 'long_option'.""" - return long_option in self.option_index - - def get_attr_name(self, long_option): - """Translate long option name 'long_option' to the form it - has as an attribute of some object: ie., translate hyphens - to underscores.""" - return long_option.translate(longopt_xlate) - - def _check_alias_dict(self, aliases, what): - assert isinstance(aliases, dict) - for alias, opt in aliases.items(): - if alias not in self.option_index: - raise DistutilsGetoptError( - f"invalid {what} '{alias}': option '{alias}' not defined" - ) - if opt not in self.option_index: - raise DistutilsGetoptError( - f"invalid {what} '{alias}': aliased option '{opt}' not defined" - ) - - def set_aliases(self, alias): - """Set the aliases for this option parser.""" - self._check_alias_dict(alias, "alias") - self.alias = alias - - def set_negative_aliases(self, negative_alias): - """Set the negative aliases for this option parser. - 'negative_alias' should be a dictionary mapping option names to - option names, both the key and value must already be defined - in the option table.""" - self._check_alias_dict(negative_alias, "negative alias") - self.negative_alias = negative_alias - - def _grok_option_table(self): # noqa: C901 - """Populate the various data structures that keep tabs on the - option table. Called by 'getopt()' before it can do anything - worthwhile. - """ - self.long_opts = [] - self.short_opts = [] - self.short2long.clear() - self.repeat = {} - - for option in self.option_table: - if len(option) == 3: - long, short, help = option - repeat = 0 - elif len(option) == 4: - long, short, help, repeat = option - else: - # the option table is part of the code, so simply - # assert that it is correct - raise ValueError(f"invalid option tuple: {option!r}") - - # Type- and value-check the option names - if not isinstance(long, str) or len(long) < 2: - raise DistutilsGetoptError( - f"invalid long option '{long}': must be a string of length >= 2" - ) - - if not ((short is None) or (isinstance(short, str) and len(short) == 1)): - raise DistutilsGetoptError( - f"invalid short option '{short}': " - "must a single character or None" - ) - - self.repeat[long] = repeat - self.long_opts.append(long) - - if long[-1] == '=': # option takes an argument? - if short: - short = short + ':' - long = long[0:-1] - self.takes_arg[long] = True - else: - # Is option is a "negative alias" for some other option (eg. - # "quiet" == "!verbose")? - alias_to = self.negative_alias.get(long) - if alias_to is not None: - if self.takes_arg[alias_to]: - raise DistutilsGetoptError( - f"invalid negative alias '{long}': " - f"aliased option '{alias_to}' takes a value" - ) - - self.long_opts[-1] = long # XXX redundant?! - self.takes_arg[long] = False - - # If this is an alias option, make sure its "takes arg" flag is - # the same as the option it's aliased to. - alias_to = self.alias.get(long) - if alias_to is not None: - if self.takes_arg[long] != self.takes_arg[alias_to]: - raise DistutilsGetoptError( - f"invalid alias '{long}': inconsistent with " - f"aliased option '{alias_to}' (one of them takes a value, " - "the other doesn't" - ) - - # Now enforce some bondage on the long option name, so we can - # later translate it to an attribute name on some object. Have - # to do this a bit late to make sure we've removed any trailing - # '='. - if not longopt_re.match(long): - raise DistutilsGetoptError( - f"invalid long option name '{long}' " - "(must be letters, numbers, hyphens only" - ) - - self.attr_name[long] = self.get_attr_name(long) - if short: - self.short_opts.append(short) - self.short2long[short[0]] = long - - def getopt(self, args=None, object=None): # noqa: C901 - """Parse command-line options in args. Store as attributes on object. - - If 'args' is None or not supplied, uses 'sys.argv[1:]'. If - 'object' is None or not supplied, creates a new OptionDummy - object, stores option values there, and returns a tuple (args, - object). If 'object' is supplied, it is modified in place and - 'getopt()' just returns 'args'; in both cases, the returned - 'args' is a modified copy of the passed-in 'args' list, which - is left untouched. - """ - if args is None: - args = sys.argv[1:] - if object is None: - object = OptionDummy() - created_object = True - else: - created_object = False - - self._grok_option_table() - - short_opts = ' '.join(self.short_opts) - try: - opts, args = getopt.getopt(args, short_opts, self.long_opts) - except getopt.error as msg: - raise DistutilsArgError(msg) - - for opt, val in opts: - if len(opt) == 2 and opt[0] == '-': # it's a short option - opt = self.short2long[opt[1]] - else: - assert len(opt) > 2 and opt[:2] == '--' - opt = opt[2:] - - alias = self.alias.get(opt) - if alias: - opt = alias - - if not self.takes_arg[opt]: # boolean option? - assert val == '', "boolean option can't have value" - alias = self.negative_alias.get(opt) - if alias: - opt = alias - val = 0 - else: - val = 1 - - attr = self.attr_name[opt] - # The only repeating option at the moment is 'verbose'. - # It has a negative option -q quiet, which should set verbose = False. - if val and self.repeat.get(attr) is not None: - val = getattr(object, attr, 0) + 1 - setattr(object, attr, val) - self.option_order.append((opt, val)) - - # for opts - if created_object: - return args, object - else: - return args - - def get_option_order(self): - """Returns the list of (option, value) tuples processed by the - previous run of 'getopt()'. Raises RuntimeError if - 'getopt()' hasn't been called yet. - """ - if self.option_order is None: - raise RuntimeError("'getopt()' hasn't been called yet") - else: - return self.option_order - - def generate_help(self, header=None): # noqa: C901 - """Generate help text (a list of strings, one per suggested line of - output) from the option table for this FancyGetopt object. - """ - # Blithely assume the option table is good: probably wouldn't call - # 'generate_help()' unless you've already called 'getopt()'. - - # First pass: determine maximum length of long option names - max_opt = 0 - for option in self.option_table: - long = option[0] - short = option[1] - ell = len(long) - if long[-1] == '=': - ell = ell - 1 - if short is not None: - ell = ell + 5 # " (-x)" where short == 'x' - if ell > max_opt: - max_opt = ell - - opt_width = max_opt + 2 + 2 + 2 # room for indent + dashes + gutter - - # Typical help block looks like this: - # --foo controls foonabulation - # Help block for longest option looks like this: - # --flimflam set the flim-flam level - # and with wrapped text: - # --flimflam set the flim-flam level (must be between - # 0 and 100, except on Tuesdays) - # Options with short names will have the short name shown (but - # it doesn't contribute to max_opt): - # --foo (-f) controls foonabulation - # If adding the short option would make the left column too wide, - # we push the explanation off to the next line - # --flimflam (-l) - # set the flim-flam level - # Important parameters: - # - 2 spaces before option block start lines - # - 2 dashes for each long option name - # - min. 2 spaces between option and explanation (gutter) - # - 5 characters (incl. space) for short option name - - # Now generate lines of help text. (If 80 columns were good enough - # for Jesus, then 78 columns are good enough for me!) - line_width = 78 - text_width = line_width - opt_width - big_indent = ' ' * opt_width - if header: - lines = [header] - else: - lines = ['Option summary:'] - - for option in self.option_table: - long, short, help = option[:3] - text = wrap_text(help, text_width) - if long[-1] == '=': - long = long[0:-1] - - # Case 1: no short option at all (makes life easy) - if short is None: - if text: - lines.append(" --%-*s %s" % (max_opt, long, text[0])) - else: - lines.append(" --%-*s " % (max_opt, long)) - - # Case 2: we have a short option, so we have to include it - # just after the long option - else: - opt_names = f"{long} (-{short})" - if text: - lines.append(" --%-*s %s" % (max_opt, opt_names, text[0])) - else: - lines.append(" --%-*s" % opt_names) - - for ell in text[1:]: - lines.append(big_indent + ell) - return lines - - def print_help(self, header=None, file=None): - if file is None: - file = sys.stdout - for line in self.generate_help(header): - file.write(line + "\n") - - -def fancy_getopt(options, negative_opt, object, args): - parser = FancyGetopt(options) - parser.set_negative_aliases(negative_opt) - return parser.getopt(args, object) - - -WS_TRANS = {ord(_wschar): ' ' for _wschar in string.whitespace} - - -def wrap_text(text, width): - """wrap_text(text : string, width : int) -> [string] - - Split 'text' into multiple lines of no more than 'width' characters - each, and return the list of strings that results. - """ - if text is None: - return [] - if len(text) <= width: - return [text] - - text = text.expandtabs() - text = text.translate(WS_TRANS) - chunks = re.split(r'( +|-+)', text) - chunks = [ch for ch in chunks if ch] # ' - ' results in empty strings - lines = [] - - while chunks: - cur_line = [] # list of chunks (to-be-joined) - cur_len = 0 # length of current line - - while chunks: - ell = len(chunks[0]) - if cur_len + ell <= width: # can squeeze (at least) this chunk in - cur_line.append(chunks[0]) - del chunks[0] - cur_len = cur_len + ell - else: # this line is full - # drop last chunk if all space - if cur_line and cur_line[-1][0] == ' ': - del cur_line[-1] - break - - if chunks: # any chunks left to process? - # if the current line is still empty, then we had a single - # chunk that's too big too fit on a line -- so we break - # down and break it up at the line width - if cur_len == 0: - cur_line.append(chunks[0][0:width]) - chunks[0] = chunks[0][width:] - - # all-whitespace chunks at the end of a line can be discarded - # (and we know from the re.split above that if a chunk has - # *any* whitespace, it is *all* whitespace) - if chunks[0][0] == ' ': - del chunks[0] - - # and store this line in the list-of-all-lines -- as a single - # string, of course! - lines.append(''.join(cur_line)) - - return lines - - -def translate_longopt(opt): - """Convert a long option name to a valid Python identifier by - changing "-" to "_". - """ - return opt.translate(longopt_xlate) - - -class OptionDummy: - """Dummy class just used as a place to hold command-line option - values as instance attributes.""" - - def __init__(self, options: Sequence[Any] = []): - """Create a new OptionDummy instance. The attributes listed in - 'options' will be initialized to None.""" - for opt in options: - setattr(self, opt, None) - - -if __name__ == "__main__": - text = """\ -Tra-la-la, supercalifragilisticexpialidocious. -How *do* you spell that odd word, anyways? -(Someone ask Mary -- she'll know [or she'll -say, "How should I know?"].)""" - - for w in (10, 20, 30, 40): - print("width: %d" % w) - print("\n".join(wrap_text(text, w))) - print() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/file_util.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/file_util.py deleted file mode 100644 index 85ee4daf..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/file_util.py +++ /dev/null @@ -1,236 +0,0 @@ -"""distutils.file_util - -Utility functions for operating on single files. -""" - -import os - -from ._log import log -from .errors import DistutilsFileError - -# for generating verbose output in 'copy_file()' -_copy_action = {None: 'copying', 'hard': 'hard linking', 'sym': 'symbolically linking'} - - -def _copy_file_contents(src, dst, buffer_size=16 * 1024): # noqa: C901 - """Copy the file 'src' to 'dst'; both must be filenames. Any error - opening either file, reading from 'src', or writing to 'dst', raises - DistutilsFileError. Data is read/written in chunks of 'buffer_size' - bytes (default 16k). No attempt is made to handle anything apart from - regular files. - """ - # Stolen from shutil module in the standard library, but with - # custom error-handling added. - fsrc = None - fdst = None - try: - try: - fsrc = open(src, 'rb') - except OSError as e: - raise DistutilsFileError(f"could not open '{src}': {e.strerror}") - - if os.path.exists(dst): - try: - os.unlink(dst) - except OSError as e: - raise DistutilsFileError(f"could not delete '{dst}': {e.strerror}") - - try: - fdst = open(dst, 'wb') - except OSError as e: - raise DistutilsFileError(f"could not create '{dst}': {e.strerror}") - - while True: - try: - buf = fsrc.read(buffer_size) - except OSError as e: - raise DistutilsFileError(f"could not read from '{src}': {e.strerror}") - - if not buf: - break - - try: - fdst.write(buf) - except OSError as e: - raise DistutilsFileError(f"could not write to '{dst}': {e.strerror}") - finally: - if fdst: - fdst.close() - if fsrc: - fsrc.close() - - -def copy_file( # noqa: C901 - src, - dst, - preserve_mode=True, - preserve_times=True, - update=False, - link=None, - verbose=True, - dry_run=False, -): - """Copy a file 'src' to 'dst'. If 'dst' is a directory, then 'src' is - copied there with the same name; otherwise, it must be a filename. (If - the file exists, it will be ruthlessly clobbered.) If 'preserve_mode' - is true (the default), the file's mode (type and permission bits, or - whatever is analogous on the current platform) is copied. If - 'preserve_times' is true (the default), the last-modified and - last-access times are copied as well. If 'update' is true, 'src' will - only be copied if 'dst' does not exist, or if 'dst' does exist but is - older than 'src'. - - 'link' allows you to make hard links (os.link) or symbolic links - (os.symlink) instead of copying: set it to "hard" or "sym"; if it is - None (the default), files are copied. Don't set 'link' on systems that - don't support it: 'copy_file()' doesn't check if hard or symbolic - linking is available. If hardlink fails, falls back to - _copy_file_contents(). - - Under Mac OS, uses the native file copy function in macostools; on - other systems, uses '_copy_file_contents()' to copy file contents. - - Return a tuple (dest_name, copied): 'dest_name' is the actual name of - the output file, and 'copied' is true if the file was copied (or would - have been copied, if 'dry_run' true). - """ - # XXX if the destination file already exists, we clobber it if - # copying, but blow up if linking. Hmmm. And I don't know what - # macostools.copyfile() does. Should definitely be consistent, and - # should probably blow up if destination exists and we would be - # changing it (ie. it's not already a hard/soft link to src OR - # (not update) and (src newer than dst). - - from distutils._modified import newer - from stat import S_IMODE, ST_ATIME, ST_MODE, ST_MTIME - - if not os.path.isfile(src): - raise DistutilsFileError( - f"can't copy '{src}': doesn't exist or not a regular file" - ) - - if os.path.isdir(dst): - dir = dst - dst = os.path.join(dst, os.path.basename(src)) - else: - dir = os.path.dirname(dst) - - if update and not newer(src, dst): - if verbose >= 1: - log.debug("not copying %s (output up-to-date)", src) - return (dst, 0) - - try: - action = _copy_action[link] - except KeyError: - raise ValueError(f"invalid value '{link}' for 'link' argument") - - if verbose >= 1: - if os.path.basename(dst) == os.path.basename(src): - log.info("%s %s -> %s", action, src, dir) - else: - log.info("%s %s -> %s", action, src, dst) - - if dry_run: - return (dst, 1) - - # If linking (hard or symbolic), use the appropriate system call - # (Unix only, of course, but that's the caller's responsibility) - elif link == 'hard': - if not (os.path.exists(dst) and os.path.samefile(src, dst)): - try: - os.link(src, dst) - except OSError: - # If hard linking fails, fall back on copying file - # (some special filesystems don't support hard linking - # even under Unix, see issue #8876). - pass - else: - return (dst, 1) - elif link == 'sym': - if not (os.path.exists(dst) and os.path.samefile(src, dst)): - os.symlink(src, dst) - return (dst, 1) - - # Otherwise (non-Mac, not linking), copy the file contents and - # (optionally) copy the times and mode. - _copy_file_contents(src, dst) - if preserve_mode or preserve_times: - st = os.stat(src) - - # According to David Ascher , utime() should be done - # before chmod() (at least under NT). - if preserve_times: - os.utime(dst, (st[ST_ATIME], st[ST_MTIME])) - if preserve_mode: - os.chmod(dst, S_IMODE(st[ST_MODE])) - - return (dst, 1) - - -# XXX I suspect this is Unix-specific -- need porting help! -def move_file(src, dst, verbose=True, dry_run=False): # noqa: C901 - """Move a file 'src' to 'dst'. If 'dst' is a directory, the file will - be moved into it with the same name; otherwise, 'src' is just renamed - to 'dst'. Return the new full name of the file. - - Handles cross-device moves on Unix using 'copy_file()'. What about - other systems??? - """ - import errno - from os.path import basename, dirname, exists, isdir, isfile - - if verbose >= 1: - log.info("moving %s -> %s", src, dst) - - if dry_run: - return dst - - if not isfile(src): - raise DistutilsFileError(f"can't move '{src}': not a regular file") - - if isdir(dst): - dst = os.path.join(dst, basename(src)) - elif exists(dst): - raise DistutilsFileError( - f"can't move '{src}': destination '{dst}' already exists" - ) - - if not isdir(dirname(dst)): - raise DistutilsFileError( - f"can't move '{src}': destination '{dst}' not a valid path" - ) - - copy_it = False - try: - os.rename(src, dst) - except OSError as e: - (num, msg) = e.args - if num == errno.EXDEV: - copy_it = True - else: - raise DistutilsFileError(f"couldn't move '{src}' to '{dst}': {msg}") - - if copy_it: - copy_file(src, dst, verbose=verbose) - try: - os.unlink(src) - except OSError as e: - (num, msg) = e.args - try: - os.unlink(dst) - except OSError: - pass - raise DistutilsFileError( - f"couldn't move '{src}' to '{dst}' by copy/delete: " - f"delete '{src}' failed: {msg}" - ) - return dst - - -def write_file(filename, contents): - """Create a file with the specified name and write 'contents' (a - sequence of strings without line terminators) to it. - """ - with open(filename, 'w', encoding='utf-8') as f: - f.writelines(line + '\n' for line in contents) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/filelist.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/filelist.py deleted file mode 100644 index 44ae9e67..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/filelist.py +++ /dev/null @@ -1,369 +0,0 @@ -"""distutils.filelist - -Provides the FileList class, used for poking about the filesystem -and building lists of files. -""" - -import fnmatch -import functools -import os -import re - -from ._log import log -from .errors import DistutilsInternalError, DistutilsTemplateError -from .util import convert_path - - -class FileList: - """A list of files built by on exploring the filesystem and filtered by - applying various patterns to what we find there. - - Instance attributes: - dir - directory from which files will be taken -- only used if - 'allfiles' not supplied to constructor - files - list of filenames currently being built/filtered/manipulated - allfiles - complete list of files under consideration (ie. without any - filtering applied) - """ - - def __init__(self, warn=None, debug_print=None): - # ignore argument to FileList, but keep them for backwards - # compatibility - self.allfiles = None - self.files = [] - - def set_allfiles(self, allfiles): - self.allfiles = allfiles - - def findall(self, dir=os.curdir): - self.allfiles = findall(dir) - - def debug_print(self, msg): - """Print 'msg' to stdout if the global DEBUG (taken from the - DISTUTILS_DEBUG environment variable) flag is true. - """ - from distutils.debug import DEBUG - - if DEBUG: - print(msg) - - # Collection methods - - def append(self, item): - self.files.append(item) - - def extend(self, items): - self.files.extend(items) - - def sort(self): - # Not a strict lexical sort! - sortable_files = sorted(map(os.path.split, self.files)) - self.files = [] - for sort_tuple in sortable_files: - self.files.append(os.path.join(*sort_tuple)) - - # Other miscellaneous utility methods - - def remove_duplicates(self): - # Assumes list has been sorted! - for i in range(len(self.files) - 1, 0, -1): - if self.files[i] == self.files[i - 1]: - del self.files[i] - - # "File template" methods - - def _parse_template_line(self, line): - words = line.split() - action = words[0] - - patterns = dir = dir_pattern = None - - if action in ('include', 'exclude', 'global-include', 'global-exclude'): - if len(words) < 2: - raise DistutilsTemplateError( - f"'{action}' expects ..." - ) - patterns = [convert_path(w) for w in words[1:]] - elif action in ('recursive-include', 'recursive-exclude'): - if len(words) < 3: - raise DistutilsTemplateError( - f"'{action}' expects ..." - ) - dir = convert_path(words[1]) - patterns = [convert_path(w) for w in words[2:]] - elif action in ('graft', 'prune'): - if len(words) != 2: - raise DistutilsTemplateError( - f"'{action}' expects a single " - ) - dir_pattern = convert_path(words[1]) - else: - raise DistutilsTemplateError(f"unknown action '{action}'") - - return (action, patterns, dir, dir_pattern) - - def process_template_line(self, line): # noqa: C901 - # 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 (dir_pattern). - (action, patterns, dir, dir_pattern) = self._parse_template_line(line) - - # 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': - self.debug_print("include " + ' '.join(patterns)) - for pattern in patterns: - if not self.include_pattern(pattern, anchor=True): - log.warning("warning: no files found matching '%s'", pattern) - - elif action == 'exclude': - self.debug_print("exclude " + ' '.join(patterns)) - for pattern in patterns: - if not self.exclude_pattern(pattern, anchor=True): - log.warning( - ( - "warning: no previously-included files " - "found matching '%s'" - ), - pattern, - ) - - elif action == 'global-include': - self.debug_print("global-include " + ' '.join(patterns)) - for pattern in patterns: - if not self.include_pattern(pattern, anchor=False): - log.warning( - ( - "warning: no files found matching '%s' " - "anywhere in distribution" - ), - pattern, - ) - - elif action == 'global-exclude': - self.debug_print("global-exclude " + ' '.join(patterns)) - for pattern in patterns: - if not self.exclude_pattern(pattern, anchor=False): - log.warning( - ( - "warning: no previously-included files matching " - "'%s' found anywhere in distribution" - ), - pattern, - ) - - elif action == 'recursive-include': - self.debug_print("recursive-include {} {}".format(dir, ' '.join(patterns))) - for pattern in patterns: - if not self.include_pattern(pattern, prefix=dir): - msg = "warning: no files found matching '%s' under directory '%s'" - log.warning(msg, pattern, dir) - - elif action == 'recursive-exclude': - self.debug_print("recursive-exclude {} {}".format(dir, ' '.join(patterns))) - for pattern in patterns: - if not self.exclude_pattern(pattern, prefix=dir): - log.warning( - ( - "warning: no previously-included files matching " - "'%s' found under directory '%s'" - ), - pattern, - dir, - ) - - elif action == 'graft': - self.debug_print("graft " + dir_pattern) - if not self.include_pattern(None, prefix=dir_pattern): - log.warning("warning: no directories found matching '%s'", dir_pattern) - - elif action == 'prune': - self.debug_print("prune " + dir_pattern) - if not self.exclude_pattern(None, prefix=dir_pattern): - log.warning( - ("no previously-included directories found matching '%s'"), - dir_pattern, - ) - else: - raise DistutilsInternalError( - f"this cannot happen: invalid action '{action}'" - ) - - # Filtering/selection methods - - 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, False otherwise. - """ - # XXX docstring lying about what the special chars are? - files_found = False - pattern_re = translate_pattern(pattern, anchor, prefix, is_regex) - self.debug_print(f"include_pattern: applying regex r'{pattern_re.pattern}'") - - # delayed loading of allfiles list - if self.allfiles is None: - self.findall() - - for name in self.allfiles: - if pattern_re.search(name): - self.debug_print(" adding " + name) - self.files.append(name) - files_found = True - return files_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, False otherwise. - """ - files_found = False - pattern_re = translate_pattern(pattern, anchor, prefix, is_regex) - self.debug_print(f"exclude_pattern: applying regex r'{pattern_re.pattern}'") - for i in range(len(self.files) - 1, -1, -1): - if pattern_re.search(self.files[i]): - self.debug_print(" removing " + self.files[i]) - del self.files[i] - files_found = True - return files_found - - -# Utility functions - - -def _find_all_simple(path): - """ - Find all files under 'path' - """ - all_unique = _UniqueDirs.filter(os.walk(path, followlinks=True)) - results = ( - os.path.join(base, file) for base, dirs, files in all_unique for file in files - ) - return filter(os.path.isfile, results) - - -class _UniqueDirs(set): - """ - Exclude previously-seen dirs from walk results, - avoiding infinite recursion. - Ref https://bugs.python.org/issue44497. - """ - - def __call__(self, walk_item): - """ - Given an item from an os.walk result, determine - if the item represents a unique dir for this instance - and if not, prevent further traversal. - """ - base, dirs, files = walk_item - stat = os.stat(base) - candidate = stat.st_dev, stat.st_ino - found = candidate in self - if found: - del dirs[:] - self.add(candidate) - return not found - - @classmethod - def filter(cls, items): - return filter(cls(), items) - - -def findall(dir=os.curdir): - """ - Find all files under 'dir' and return the list of full filenames. - Unless dir is '.', return full filenames with dir prepended. - """ - files = _find_all_simple(dir) - if dir == os.curdir: - make_rel = functools.partial(os.path.relpath, start=dir) - files = map(make_rel, files) - return list(files) - - -def glob_to_re(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 = rf'\1[^{sep}]' - pattern_re = re.sub(r'((?= 2: - set_threshold(logging.DEBUG) - - -class Log(logging.Logger): - """distutils.log.Log is deprecated, please use an alternative from `logging`.""" - - def __init__(self, threshold=WARN): - warnings.warn(Log.__doc__) # avoid DeprecationWarning to ensure warn is shown - super().__init__(__name__, level=threshold) - - @property - def threshold(self): - return self.level - - @threshold.setter - def threshold(self, level): - self.setLevel(level) - - warn = logging.Logger.warning diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/spawn.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/spawn.py deleted file mode 100644 index 107b0113..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/spawn.py +++ /dev/null @@ -1,117 +0,0 @@ -"""distutils.spawn - -Provides the 'spawn()' function, a front-end to various platform- -specific functions for launching another program in a sub-process. -""" - -from __future__ import annotations - -import os -import platform -import shutil -import subprocess -import sys -import warnings -from typing import Mapping - -from ._log import log -from .debug import DEBUG -from .errors import DistutilsExecError - - -def _debug(cmd): - """ - Render a subprocess command differently depending on DEBUG. - """ - return cmd if DEBUG else cmd[0] - - -def _inject_macos_ver(env: Mapping[str:str] | None) -> Mapping[str:str] | None: - if platform.system() != 'Darwin': - return env - - from .util import MACOSX_VERSION_VAR, get_macosx_target_ver - - target_ver = get_macosx_target_ver() - update = {MACOSX_VERSION_VAR: target_ver} if target_ver else {} - return {**_resolve(env), **update} - - -def _resolve(env: Mapping[str:str] | None) -> Mapping[str:str]: - return os.environ if env is None else env - - -def spawn(cmd, search_path=True, verbose=False, dry_run=False, env=None): - """Run another program, specified as a command list 'cmd', in a new process. - - 'cmd' is just the argument list for the new process, ie. - cmd[0] is the program to run and cmd[1:] are the rest of its arguments. - There is no way to run a program with a name different from that of its - executable. - - If 'search_path' is true (the default), the system's executable - search path will be used to find the program; otherwise, cmd[0] - must be the exact path to the executable. If 'dry_run' is true, - the command will not actually be run. - - Raise DistutilsExecError if running the program fails in any way; just - return on success. - """ - log.info(subprocess.list2cmdline(cmd)) - if dry_run: - return - - if search_path: - executable = shutil.which(cmd[0]) - if executable is not None: - cmd[0] = executable - - try: - subprocess.check_call(cmd, env=_inject_macos_ver(env)) - except OSError as exc: - raise DistutilsExecError( - f"command {_debug(cmd)!r} failed: {exc.args[-1]}" - ) from exc - except subprocess.CalledProcessError as err: - raise DistutilsExecError( - f"command {_debug(cmd)!r} failed with exit code {err.returncode}" - ) from err - - -def find_executable(executable, path=None): - """Tries to find 'executable' in the directories listed in 'path'. - - A string listing directories separated by 'os.pathsep'; defaults to - os.environ['PATH']. Returns the complete filename or None if not found. - """ - warnings.warn( - 'Use shutil.which instead of find_executable', DeprecationWarning, stacklevel=2 - ) - _, ext = os.path.splitext(executable) - if (sys.platform == 'win32') and (ext != '.exe'): - executable = executable + '.exe' - - if os.path.isfile(executable): - return executable - - if path is None: - path = os.environ.get('PATH', None) - # bpo-35755: Don't fall through if PATH is the empty string - if path is None: - try: - path = os.confstr("CS_PATH") - except (AttributeError, ValueError): - # os.confstr() or CS_PATH is not available - path = os.defpath - - # PATH='' doesn't match, whereas PATH=':' looks in the current directory - if not path: - return None - - paths = path.split(os.pathsep) - for p in paths: - f = os.path.join(p, executable) - if os.path.isfile(f): - # the file exists, we have a shot at spawn working - return f - return None diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/sysconfig.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/sysconfig.py deleted file mode 100644 index da1eecbe..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/sysconfig.py +++ /dev/null @@ -1,583 +0,0 @@ -"""Provide access to Python's configuration information. The specific -configuration variables available depend heavily on the platform and -configuration. The values may be retrieved using -get_config_var(name), and the list of variables is available via -get_config_vars().keys(). Additional convenience functions are also -available. - -Written by: Fred L. Drake, Jr. -Email: -""" - -import functools -import os -import pathlib -import re -import sys -import sysconfig - -from jaraco.functools import pass_none - -from .compat import py39 -from .errors import DistutilsPlatformError -from .util import is_mingw - -IS_PYPY = '__pypy__' in sys.builtin_module_names - -# These are needed in a couple of spots, so just compute them once. -PREFIX = os.path.normpath(sys.prefix) -EXEC_PREFIX = os.path.normpath(sys.exec_prefix) -BASE_PREFIX = os.path.normpath(sys.base_prefix) -BASE_EXEC_PREFIX = os.path.normpath(sys.base_exec_prefix) - -# Path to the base directory of the project. On Windows the binary may -# live in project/PCbuild/win32 or project/PCbuild/amd64. -# set for cross builds -if "_PYTHON_PROJECT_BASE" in os.environ: - project_base = os.path.abspath(os.environ["_PYTHON_PROJECT_BASE"]) -else: - if sys.executable: - project_base = os.path.dirname(os.path.abspath(sys.executable)) - else: - # sys.executable can be empty if argv[0] has been changed and Python is - # unable to retrieve the real program name - project_base = os.getcwd() - - -def _is_python_source_dir(d): - """ - Return True if the target directory appears to point to an - un-installed Python. - """ - modules = pathlib.Path(d).joinpath('Modules') - return any(modules.joinpath(fn).is_file() for fn in ('Setup', 'Setup.local')) - - -_sys_home = getattr(sys, '_home', None) - - -def _is_parent(dir_a, dir_b): - """ - Return True if a is a parent of b. - """ - return os.path.normcase(dir_a).startswith(os.path.normcase(dir_b)) - - -if os.name == 'nt': - - @pass_none - def _fix_pcbuild(d): - # In a venv, sys._home will be inside BASE_PREFIX rather than PREFIX. - prefixes = PREFIX, BASE_PREFIX - matched = ( - prefix - for prefix in prefixes - if _is_parent(d, os.path.join(prefix, "PCbuild")) - ) - return next(matched, d) - - project_base = _fix_pcbuild(project_base) - _sys_home = _fix_pcbuild(_sys_home) - - -def _python_build(): - if _sys_home: - return _is_python_source_dir(_sys_home) - return _is_python_source_dir(project_base) - - -python_build = _python_build() - - -# Calculate the build qualifier flags if they are defined. Adding the flags -# to the include and lib directories only makes sense for an installation, not -# an in-source build. -build_flags = '' -try: - if not python_build: - build_flags = sys.abiflags -except AttributeError: - # It's not a configure-based build, so the sys module doesn't have - # this attribute, which is fine. - pass - - -def get_python_version(): - """Return a string containing the major and minor Python version, - leaving off the patchlevel. Sample return values could be '1.5' - or '2.2'. - """ - return '%d.%d' % sys.version_info[:2] - - -def get_python_inc(plat_specific=False, prefix=None): - """Return the directory containing installed Python header files. - - If 'plat_specific' is false (the default), this is the path to the - non-platform-specific header files, i.e. Python.h and so on; - otherwise, this is the path to platform-specific header files - (namely pyconfig.h). - - If 'prefix' is supplied, use it instead of sys.base_prefix or - sys.base_exec_prefix -- i.e., ignore 'plat_specific'. - """ - default_prefix = BASE_EXEC_PREFIX if plat_specific else BASE_PREFIX - resolved_prefix = prefix if prefix is not None else default_prefix - # MinGW imitates posix like layout, but os.name != posix - os_name = "posix" if is_mingw() else os.name - try: - getter = globals()[f'_get_python_inc_{os_name}'] - except KeyError: - raise DistutilsPlatformError( - "I don't know where Python installs its C header files " - f"on platform '{os.name}'" - ) - return getter(resolved_prefix, prefix, plat_specific) - - -@pass_none -def _extant(path): - """ - Replace path with None if it doesn't exist. - """ - return path if os.path.exists(path) else None - - -def _get_python_inc_posix(prefix, spec_prefix, plat_specific): - if IS_PYPY and sys.version_info < (3, 8): - return os.path.join(prefix, 'include') - return ( - _get_python_inc_posix_python(plat_specific) - or _extant(_get_python_inc_from_config(plat_specific, spec_prefix)) - or _get_python_inc_posix_prefix(prefix) - ) - - -def _get_python_inc_posix_python(plat_specific): - """ - Assume the executable is in the build directory. The - pyconfig.h file should be in the same directory. Since - the build directory may not be the source directory, - use "srcdir" from the makefile to find the "Include" - directory. - """ - if not python_build: - return - if plat_specific: - return _sys_home or project_base - incdir = os.path.join(get_config_var('srcdir'), 'Include') - return os.path.normpath(incdir) - - -def _get_python_inc_from_config(plat_specific, spec_prefix): - """ - If no prefix was explicitly specified, provide the include - directory from the config vars. Useful when - cross-compiling, since the config vars may come from - the host - platform Python installation, while the current Python - executable is from the build platform installation. - - >>> monkeypatch = getfixture('monkeypatch') - >>> gpifc = _get_python_inc_from_config - >>> monkeypatch.setitem(gpifc.__globals__, 'get_config_var', str.lower) - >>> gpifc(False, '/usr/bin/') - >>> gpifc(False, '') - >>> gpifc(False, None) - 'includepy' - >>> gpifc(True, None) - 'confincludepy' - """ - if spec_prefix is None: - return get_config_var('CONF' * plat_specific + 'INCLUDEPY') - - -def _get_python_inc_posix_prefix(prefix): - implementation = 'pypy' if IS_PYPY else 'python' - python_dir = implementation + get_python_version() + build_flags - return os.path.join(prefix, "include", python_dir) - - -def _get_python_inc_nt(prefix, spec_prefix, plat_specific): - if python_build: - # Include both include dirs to ensure we can find pyconfig.h - return ( - os.path.join(prefix, "include") - + os.path.pathsep - + os.path.dirname(sysconfig.get_config_h_filename()) - ) - return os.path.join(prefix, "include") - - -# allow this behavior to be monkey-patched. Ref pypa/distutils#2. -def _posix_lib(standard_lib, libpython, early_prefix, prefix): - if standard_lib: - return libpython - else: - return os.path.join(libpython, "site-packages") - - -def get_python_lib(plat_specific=False, standard_lib=False, prefix=None): - """Return the directory containing the Python library (standard or - site additions). - - If 'plat_specific' is true, return the directory containing - platform-specific modules, i.e. any module from a non-pure-Python - module distribution; otherwise, return the platform-shared library - directory. If 'standard_lib' is true, return the directory - containing standard Python library modules; otherwise, return the - directory for site-specific modules. - - If 'prefix' is supplied, use it instead of sys.base_prefix or - sys.base_exec_prefix -- i.e., ignore 'plat_specific'. - """ - - if IS_PYPY and sys.version_info < (3, 8): - # PyPy-specific schema - if prefix is None: - prefix = PREFIX - if standard_lib: - return os.path.join(prefix, "lib-python", sys.version_info.major) - return os.path.join(prefix, 'site-packages') - - early_prefix = prefix - - if prefix is None: - if standard_lib: - prefix = plat_specific and BASE_EXEC_PREFIX or BASE_PREFIX - else: - prefix = plat_specific and EXEC_PREFIX or PREFIX - - if os.name == "posix" or is_mingw(): - if plat_specific or standard_lib: - # Platform-specific modules (any module from a non-pure-Python - # module distribution) or standard Python library modules. - libdir = getattr(sys, "platlibdir", "lib") - else: - # Pure Python - libdir = "lib" - implementation = 'pypy' if IS_PYPY else 'python' - libpython = os.path.join(prefix, libdir, implementation + get_python_version()) - return _posix_lib(standard_lib, libpython, early_prefix, prefix) - elif os.name == "nt": - if standard_lib: - return os.path.join(prefix, "Lib") - else: - return os.path.join(prefix, "Lib", "site-packages") - else: - raise DistutilsPlatformError( - f"I don't know where Python installs its library on platform '{os.name}'" - ) - - -@functools.lru_cache -def _customize_macos(): - """ - Perform first-time customization of compiler-related - config vars on macOS. Use after a compiler is known - to be needed. This customization exists primarily to support Pythons - from binary installers. The kind and paths to build tools on - the user system may vary significantly from the system - that Python itself was built on. Also the user OS - version and build tools may not support the same set - of CPU architectures for universal builds. - """ - - sys.platform == "darwin" and __import__('_osx_support').customize_compiler( - get_config_vars() - ) - - -def customize_compiler(compiler): - """Do any platform-specific customization of a CCompiler instance. - - Mainly needed on Unix, so we can plug in the information that - varies across Unices and is stored in Python's Makefile. - """ - if compiler.compiler_type in ["unix", "cygwin"] or ( - compiler.compiler_type == "mingw32" and is_mingw() - ): - _customize_macos() - - ( - cc, - cxx, - cflags, - ccshared, - ldshared, - ldcxxshared, - shlib_suffix, - ar, - ar_flags, - ) = get_config_vars( - 'CC', - 'CXX', - 'CFLAGS', - 'CCSHARED', - 'LDSHARED', - 'LDCXXSHARED', - 'SHLIB_SUFFIX', - 'AR', - 'ARFLAGS', - ) - - cxxflags = cflags - - if 'CC' in os.environ: - newcc = os.environ['CC'] - if 'LDSHARED' not in os.environ and ldshared.startswith(cc): - # If CC is overridden, use that as the default - # command for LDSHARED as well - ldshared = newcc + ldshared[len(cc) :] - cc = newcc - cxx = os.environ.get('CXX', cxx) - ldshared = os.environ.get('LDSHARED', ldshared) - ldcxxshared = os.environ.get('LDCXXSHARED', ldcxxshared) - cpp = os.environ.get( - 'CPP', - cc + " -E", # not always - ) - - ldshared = _add_flags(ldshared, 'LD') - ldcxxshared = _add_flags(ldcxxshared, 'LD') - cflags = _add_flags(cflags, 'C') - ldshared = _add_flags(ldshared, 'C') - cxxflags = os.environ.get('CXXFLAGS', cxxflags) - ldcxxshared = _add_flags(ldcxxshared, 'CXX') - cpp = _add_flags(cpp, 'CPP') - cflags = _add_flags(cflags, 'CPP') - cxxflags = _add_flags(cxxflags, 'CPP') - ldshared = _add_flags(ldshared, 'CPP') - ldcxxshared = _add_flags(ldcxxshared, 'CPP') - - ar = os.environ.get('AR', ar) - - archiver = ar + ' ' + os.environ.get('ARFLAGS', ar_flags) - cc_cmd = cc + ' ' + cflags - cxx_cmd = cxx + ' ' + cxxflags - - compiler.set_executables( - preprocessor=cpp, - compiler=cc_cmd, - compiler_so=cc_cmd + ' ' + ccshared, - compiler_cxx=cxx_cmd, - compiler_so_cxx=cxx_cmd + ' ' + ccshared, - linker_so=ldshared, - linker_so_cxx=ldcxxshared, - linker_exe=cc, - linker_exe_cxx=cxx, - archiver=archiver, - ) - - if 'RANLIB' in os.environ and compiler.executables.get('ranlib', None): - compiler.set_executables(ranlib=os.environ['RANLIB']) - - compiler.shared_lib_extension = shlib_suffix - - -def get_config_h_filename(): - """Return full pathname of installed pyconfig.h file.""" - return sysconfig.get_config_h_filename() - - -def get_makefile_filename(): - """Return full pathname of installed Makefile from the Python build.""" - return sysconfig.get_makefile_filename() - - -def parse_config_h(fp, g=None): - """Parse a config.h-style file. - - A dictionary containing name/value pairs is returned. If an - optional dictionary is passed in as the second argument, it is - used instead of a new dictionary. - """ - return sysconfig.parse_config_h(fp, vars=g) - - -# Regexes needed for parsing Makefile (and similar syntaxes, -# like old-style Setup files). -_variable_rx = re.compile(r"([a-zA-Z][a-zA-Z0-9_]+)\s*=\s*(.*)") -_findvar1_rx = re.compile(r"\$\(([A-Za-z][A-Za-z0-9_]*)\)") -_findvar2_rx = re.compile(r"\${([A-Za-z][A-Za-z0-9_]*)}") - - -def parse_makefile(fn, g=None): # noqa: C901 - """Parse a Makefile-style file. - - A dictionary containing name/value pairs is returned. If an - optional dictionary is passed in as the second argument, it is - used instead of a new dictionary. - """ - from distutils.text_file import TextFile - - fp = TextFile( - fn, - strip_comments=True, - skip_blanks=True, - join_lines=True, - errors="surrogateescape", - ) - - if g is None: - g = {} - done = {} - notdone = {} - - while True: - line = fp.readline() - if line is None: # eof - break - m = _variable_rx.match(line) - if m: - n, v = m.group(1, 2) - v = v.strip() - # `$$' is a literal `$' in make - tmpv = v.replace('$$', '') - - if "$" in tmpv: - notdone[n] = v - else: - try: - v = int(v) - except ValueError: - # insert literal `$' - done[n] = v.replace('$$', '$') - else: - done[n] = v - - # Variables with a 'PY_' prefix in the makefile. These need to - # be made available without that prefix through sysconfig. - # Special care is needed to ensure that variable expansion works, even - # if the expansion uses the name without a prefix. - renamed_variables = ('CFLAGS', 'LDFLAGS', 'CPPFLAGS') - - # do variable interpolation here - while notdone: - for name in list(notdone): - value = notdone[name] - m = _findvar1_rx.search(value) or _findvar2_rx.search(value) - if m: - n = m.group(1) - found = True - if n in done: - item = str(done[n]) - elif n in notdone: - # get it on a subsequent round - found = False - elif n in os.environ: - # do it like make: fall back to environment - item = os.environ[n] - - elif n in renamed_variables: - if name.startswith('PY_') and name[3:] in renamed_variables: - item = "" - - elif 'PY_' + n in notdone: - found = False - - else: - item = str(done['PY_' + n]) - else: - done[n] = item = "" - if found: - after = value[m.end() :] - value = value[: m.start()] + item + after - if "$" in after: - notdone[name] = value - else: - try: - value = int(value) - except ValueError: - done[name] = value.strip() - else: - done[name] = value - del notdone[name] - - if name.startswith('PY_') and name[3:] in renamed_variables: - name = name[3:] - if name not in done: - done[name] = value - else: - # bogus variable reference; just drop it since we can't deal - del notdone[name] - - fp.close() - - # strip spurious spaces - for k, v in done.items(): - if isinstance(v, str): - done[k] = v.strip() - - # save the results in the global dictionary - g.update(done) - return g - - -def expand_makefile_vars(s, vars): - """Expand Makefile-style variables -- "${foo}" or "$(foo)" -- in - 'string' according to 'vars' (a dictionary mapping variable names to - values). Variables not present in 'vars' are silently expanded to the - empty string. The variable values in 'vars' should not contain further - variable expansions; if 'vars' is the output of 'parse_makefile()', - you're fine. Returns a variable-expanded version of 's'. - """ - - # This algorithm does multiple expansion, so if vars['foo'] contains - # "${bar}", it will expand ${foo} to ${bar}, and then expand - # ${bar}... and so forth. This is fine as long as 'vars' comes from - # 'parse_makefile()', which takes care of such expansions eagerly, - # according to make's variable expansion semantics. - - while True: - m = _findvar1_rx.search(s) or _findvar2_rx.search(s) - if m: - (beg, end) = m.span() - s = s[0:beg] + vars.get(m.group(1)) + s[end:] - else: - break - return s - - -_config_vars = None - - -def get_config_vars(*args): - """With no arguments, return a dictionary of all configuration - variables relevant for the current platform. Generally this includes - everything needed to build extensions and install both pure modules and - extensions. On Unix, this means every variable defined in Python's - installed Makefile; on Windows it's a much smaller set. - - With arguments, return a list of values that result from looking up - each argument in the configuration variable dictionary. - """ - global _config_vars - if _config_vars is None: - _config_vars = sysconfig.get_config_vars().copy() - py39.add_ext_suffix(_config_vars) - - return [_config_vars.get(name) for name in args] if args else _config_vars - - -def get_config_var(name): - """Return the value of a single variable using the dictionary - returned by 'get_config_vars()'. Equivalent to - get_config_vars().get(name) - """ - if name == 'SO': - import warnings - - warnings.warn('SO is deprecated, use EXT_SUFFIX', DeprecationWarning, 2) - return get_config_vars().get(name) - - -@pass_none -def _add_flags(value: str, type: str) -> str: - """ - Add any flags from the environment for the given type. - - type is the prefix to FLAGS in the environment key (e.g. "C" for "CFLAGS"). - """ - flags = os.environ.get(f'{type}FLAGS') - return f'{value} {flags}' if flags else value diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__init__.py deleted file mode 100644 index 93fbf490..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__init__.py +++ /dev/null @@ -1,42 +0,0 @@ -""" -Test suite for distutils. - -Tests for the command classes in the distutils.command package are -included in distutils.tests as well, instead of using a separate -distutils.command.tests package, since command identification is done -by import rather than matching pre-defined names. -""" - -import shutil -from typing import Sequence - - -def missing_compiler_executable(cmd_names: Sequence[str] = []): # pragma: no cover - """Check if the compiler components used to build the interpreter exist. - - Check for the existence of the compiler executables whose names are listed - in 'cmd_names' or all the compiler executables when 'cmd_names' is empty - and return the first missing executable or None when none is found - missing. - - """ - from distutils import ccompiler, errors, sysconfig - - compiler = ccompiler.new_compiler() - sysconfig.customize_compiler(compiler) - if compiler.compiler_type == "msvc": - # MSVC has no executables, so check whether initialization succeeds - try: - compiler.initialize() - except errors.DistutilsPlatformError: - return "msvc" - for name in compiler.executables: - if cmd_names and name not in cmd_names: - continue - cmd = getattr(compiler, name) - if cmd_names: - assert cmd is not None, f"the '{name}' executable is not configured" - elif not cmd: - continue - if shutil.which(cmd[0]) is None: - return cmd[0] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index a005f3ca..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/support.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/support.cpython-312.pyc deleted file mode 100644 index fa6b5fc8..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/support.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_archive_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_archive_util.cpython-312.pyc deleted file mode 100644 index 6b5604f4..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_archive_util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist.cpython-312.pyc deleted file mode 100644 index 615b3ea1..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_dumb.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_dumb.cpython-312.pyc deleted file mode 100644 index c5fd4950..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_dumb.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_rpm.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_rpm.cpython-312.pyc deleted file mode 100644 index 678e6933..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_bdist_rpm.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build.cpython-312.pyc deleted file mode 100644 index b542788f..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_clib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_clib.cpython-312.pyc deleted file mode 100644 index 39bbdd5c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_clib.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_ext.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_ext.cpython-312.pyc deleted file mode 100644 index 7d38a5f0..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_ext.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_py.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_py.cpython-312.pyc deleted file mode 100644 index 9d0b723d..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_py.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_scripts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_scripts.cpython-312.pyc deleted file mode 100644 index 9f58299d..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_build_scripts.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_ccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_ccompiler.cpython-312.pyc deleted file mode 100644 index c493aa1a..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_ccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_check.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_check.cpython-312.pyc deleted file mode 100644 index 157f003c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_check.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_clean.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_clean.cpython-312.pyc deleted file mode 100644 index 545d8fbf..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_clean.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_cmd.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_cmd.cpython-312.pyc deleted file mode 100644 index 9aa871f6..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_cmd.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_config_cmd.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_config_cmd.cpython-312.pyc deleted file mode 100644 index 5bc43f12..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_config_cmd.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_core.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_core.cpython-312.pyc deleted file mode 100644 index 07aa9d4c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_core.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_cygwinccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_cygwinccompiler.cpython-312.pyc deleted file mode 100644 index 614116ec..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_cygwinccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_dir_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_dir_util.cpython-312.pyc deleted file mode 100644 index 8b91d4c5..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_dir_util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_dist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_dist.cpython-312.pyc deleted file mode 100644 index c94bbc23..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_dist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_extension.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_extension.cpython-312.pyc deleted file mode 100644 index ff7abcb8..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_extension.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_file_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_file_util.cpython-312.pyc deleted file mode 100644 index a447ec65..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_file_util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_filelist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_filelist.cpython-312.pyc deleted file mode 100644 index 77610e9c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_filelist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install.cpython-312.pyc deleted file mode 100644 index d51001fc..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_data.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_data.cpython-312.pyc deleted file mode 100644 index 0c97988b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_data.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_headers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_headers.cpython-312.pyc deleted file mode 100644 index 8169cb73..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_headers.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_lib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_lib.cpython-312.pyc deleted file mode 100644 index 4455ac4b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_lib.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_scripts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_scripts.cpython-312.pyc deleted file mode 100644 index 07032f7c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_install_scripts.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_log.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_log.cpython-312.pyc deleted file mode 100644 index a1d8a45b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_log.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_mingwccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_mingwccompiler.cpython-312.pyc deleted file mode 100644 index c613e212..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_mingwccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_modified.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_modified.cpython-312.pyc deleted file mode 100644 index 737d1988..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_modified.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_msvccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_msvccompiler.cpython-312.pyc deleted file mode 100644 index c7528699..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_msvccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_sdist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_sdist.cpython-312.pyc deleted file mode 100644 index 64d8dbe6..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_sdist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_spawn.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_spawn.cpython-312.pyc deleted file mode 100644 index 7b4869c0..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_spawn.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_sysconfig.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_sysconfig.cpython-312.pyc deleted file mode 100644 index 60ea401b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_sysconfig.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_text_file.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_text_file.cpython-312.pyc deleted file mode 100644 index bce9b2f0..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_text_file.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_unixccompiler.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_unixccompiler.cpython-312.pyc deleted file mode 100644 index 85af8a4e..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_unixccompiler.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_util.cpython-312.pyc deleted file mode 100644 index 2045c4c5..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_util.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_version.cpython-312.pyc deleted file mode 100644 index af9f73ec..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_version.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_versionpredicate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_versionpredicate.cpython-312.pyc deleted file mode 100644 index 3c25a14a..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/test_versionpredicate.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/unix_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/unix_compat.cpython-312.pyc deleted file mode 100644 index 48276b0f..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/__pycache__/unix_compat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 87c0f85b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/__pycache__/py38.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/__pycache__/py38.cpython-312.pyc deleted file mode 100644 index cf9fa5ca..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/__pycache__/py38.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/py38.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/py38.py deleted file mode 100644 index 211d3a6c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/compat/py38.py +++ /dev/null @@ -1,50 +0,0 @@ -# flake8: noqa - -import contextlib -import builtins -import sys - -from test.support import requires_zlib -import test.support - - -ModuleNotFoundError = getattr(builtins, 'ModuleNotFoundError', ImportError) - -try: - from test.support.warnings_helper import check_warnings -except (ModuleNotFoundError, ImportError): - from test.support import check_warnings - - -try: - from test.support.os_helper import ( - rmtree, - EnvironmentVarGuard, - unlink, - skip_unless_symlink, - temp_dir, - ) -except (ModuleNotFoundError, ImportError): - from test.support import ( - rmtree, - EnvironmentVarGuard, - unlink, - skip_unless_symlink, - temp_dir, - ) - - -try: - from test.support.import_helper import ( - DirsOnSysPath, - CleanImport, - ) -except (ModuleNotFoundError, ImportError): - from test.support import ( - DirsOnSysPath, - CleanImport, - ) - - -if sys.version_info < (3, 9): - requires_zlib = lambda: test.support.requires_zlib diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/support.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/support.py deleted file mode 100644 index 9cd2b8a9..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/support.py +++ /dev/null @@ -1,134 +0,0 @@ -"""Support code for distutils test cases.""" - -import itertools -import os -import pathlib -import shutil -import sys -import sysconfig -import tempfile -from distutils.core import Distribution - -import pytest -from more_itertools import always_iterable - - -@pytest.mark.usefixtures('distutils_managed_tempdir') -class TempdirManager: - """ - Mix-in class that handles temporary directories for test cases. - """ - - def mkdtemp(self): - """Create a temporary directory that will be cleaned up. - - Returns the path of the directory. - """ - d = tempfile.mkdtemp() - self.tempdirs.append(d) - return d - - def write_file(self, path, content='xxx'): - """Writes a file in the given path. - - path can be a string or a sequence. - """ - pathlib.Path(*always_iterable(path)).write_text(content, encoding='utf-8') - - def create_dist(self, pkg_name='foo', **kw): - """Will generate a test environment. - - This function creates: - - a Distribution instance using keywords - - a temporary directory with a package structure - - It returns the package directory and the distribution - instance. - """ - tmp_dir = self.mkdtemp() - pkg_dir = os.path.join(tmp_dir, pkg_name) - os.mkdir(pkg_dir) - dist = Distribution(attrs=kw) - - return pkg_dir, dist - - -class DummyCommand: - """Class to store options for retrieval via set_undefined_options().""" - - def __init__(self, **kwargs): - vars(self).update(kwargs) - - def ensure_finalized(self): - pass - - -def copy_xxmodule_c(directory): - """Helper for tests that need the xxmodule.c source file. - - Example use: - - def test_compile(self): - copy_xxmodule_c(self.tmpdir) - self.assertIn('xxmodule.c', os.listdir(self.tmpdir)) - - If the source file can be found, it will be copied to *directory*. If not, - the test will be skipped. Errors during copy are not caught. - """ - shutil.copy(_get_xxmodule_path(), os.path.join(directory, 'xxmodule.c')) - - -def _get_xxmodule_path(): - source_name = 'xxmodule.c' if sys.version_info > (3, 9) else 'xxmodule-3.8.c' - return os.path.join(os.path.dirname(__file__), source_name) - - -def fixup_build_ext(cmd): - """Function needed to make build_ext tests pass. - - When Python was built with --enable-shared on Unix, -L. is not enough to - find libpython.so, because regrtest runs in a tempdir, not in the - source directory where the .so lives. - - When Python was built with in debug mode on Windows, build_ext commands - need their debug attribute set, and it is not done automatically for - some reason. - - This function handles both of these things. Example use: - - cmd = build_ext(dist) - support.fixup_build_ext(cmd) - cmd.ensure_finalized() - - Unlike most other Unix platforms, Mac OS X embeds absolute paths - to shared libraries into executables, so the fixup is not needed there. - """ - if os.name == 'nt': - cmd.debug = sys.executable.endswith('_d.exe') - elif sysconfig.get_config_var('Py_ENABLE_SHARED'): - # To further add to the shared builds fun on Unix, we can't just add - # library_dirs to the Extension() instance because that doesn't get - # plumbed through to the final compiler command. - runshared = sysconfig.get_config_var('RUNSHARED') - if runshared is None: - cmd.library_dirs = ['.'] - else: - if sys.platform == 'darwin': - cmd.library_dirs = [] - else: - name, equals, value = runshared.partition('=') - cmd.library_dirs = [d for d in value.split(os.pathsep) if d] - - -def combine_markers(cls): - """ - pytest will honor markers as found on the class, but when - markers are on multiple subclasses, only one appears. Use - this decorator to combine those markers. - """ - cls.pytestmark = [ - mark - for base in itertools.chain([cls], cls.__bases__) - for mark in getattr(base, 'pytestmark', []) - ] - return cls diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_archive_util.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_archive_util.py deleted file mode 100644 index 3e4ed75a..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_archive_util.py +++ /dev/null @@ -1,353 +0,0 @@ -"""Tests for distutils.archive_util.""" - -import functools -import operator -import os -import pathlib -import sys -import tarfile -from distutils import archive_util -from distutils.archive_util import ( - ARCHIVE_FORMATS, - check_archive_formats, - make_archive, - make_tarball, - make_zipfile, -) -from distutils.spawn import spawn -from distutils.tests import support -from os.path import splitdrive - -import path -import pytest -from test.support import patch - -from .unix_compat import UID_0_SUPPORT, grp, pwd, require_uid_0, require_unix_id - - -def can_fs_encode(filename): - """ - Return True if the filename can be saved in the file system. - """ - if os.path.supports_unicode_filenames: - return True - try: - filename.encode(sys.getfilesystemencoding()) - except UnicodeEncodeError: - return False - return True - - -def all_equal(values): - return functools.reduce(operator.eq, values) - - -def same_drive(*paths): - return all_equal(pathlib.Path(path).drive for path in paths) - - -class ArchiveUtilTestCase(support.TempdirManager): - @pytest.mark.usefixtures('needs_zlib') - def test_make_tarball(self, name='archive'): - # creating something to tar - tmpdir = self._create_files() - self._make_tarball(tmpdir, name, '.tar.gz') - # trying an uncompressed one - self._make_tarball(tmpdir, name, '.tar', compress=None) - - @pytest.mark.usefixtures('needs_zlib') - def test_make_tarball_gzip(self): - tmpdir = self._create_files() - self._make_tarball(tmpdir, 'archive', '.tar.gz', compress='gzip') - - def test_make_tarball_bzip2(self): - pytest.importorskip('bz2') - tmpdir = self._create_files() - self._make_tarball(tmpdir, 'archive', '.tar.bz2', compress='bzip2') - - def test_make_tarball_xz(self): - pytest.importorskip('lzma') - tmpdir = self._create_files() - self._make_tarball(tmpdir, 'archive', '.tar.xz', compress='xz') - - @pytest.mark.skipif("not can_fs_encode('Ã¥rchiv')") - def test_make_tarball_latin1(self): - """ - Mirror test_make_tarball, except filename contains latin characters. - """ - self.test_make_tarball('Ã¥rchiv') # note this isn't a real word - - @pytest.mark.skipif("not can_fs_encode('ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–')") - def test_make_tarball_extended(self): - """ - Mirror test_make_tarball, except filename contains extended - characters outside the latin charset. - """ - self.test_make_tarball('ã®ã‚¢ãƒ¼ã‚«ã‚¤ãƒ–') # japanese for archive - - def _make_tarball(self, tmpdir, target_name, suffix, **kwargs): - tmpdir2 = self.mkdtemp() - if same_drive(tmpdir, tmpdir2): - pytest.skip("source and target should be on same drive") - - base_name = os.path.join(tmpdir2, target_name) - - # working with relative paths to avoid tar warnings - with path.Path(tmpdir): - make_tarball(splitdrive(base_name)[1], 'dist', **kwargs) - - # check if the compressed tarball was created - tarball = base_name + suffix - assert os.path.exists(tarball) - assert self._tarinfo(tarball) == self._created_files - - def _tarinfo(self, path): - tar = tarfile.open(path) - try: - names = tar.getnames() - names.sort() - return names - finally: - tar.close() - - _zip_created_files = [ - 'dist/', - 'dist/file1', - 'dist/file2', - 'dist/sub/', - 'dist/sub/file3', - 'dist/sub2/', - ] - _created_files = [p.rstrip('/') for p in _zip_created_files] - - def _create_files(self): - # creating something to tar - tmpdir = self.mkdtemp() - dist = os.path.join(tmpdir, 'dist') - os.mkdir(dist) - self.write_file([dist, 'file1'], 'xxx') - self.write_file([dist, 'file2'], 'xxx') - os.mkdir(os.path.join(dist, 'sub')) - self.write_file([dist, 'sub', 'file3'], 'xxx') - os.mkdir(os.path.join(dist, 'sub2')) - return tmpdir - - @pytest.mark.usefixtures('needs_zlib') - @pytest.mark.skipif("not (shutil.which('tar') and shutil.which('gzip'))") - def test_tarfile_vs_tar(self): - tmpdir = self._create_files() - tmpdir2 = self.mkdtemp() - base_name = os.path.join(tmpdir2, 'archive') - old_dir = os.getcwd() - os.chdir(tmpdir) - try: - make_tarball(base_name, 'dist') - finally: - os.chdir(old_dir) - - # check if the compressed tarball was created - tarball = base_name + '.tar.gz' - assert os.path.exists(tarball) - - # now create another tarball using `tar` - tarball2 = os.path.join(tmpdir, 'archive2.tar.gz') - tar_cmd = ['tar', '-cf', 'archive2.tar', 'dist'] - gzip_cmd = ['gzip', '-f', '-9', 'archive2.tar'] - old_dir = os.getcwd() - os.chdir(tmpdir) - try: - spawn(tar_cmd) - spawn(gzip_cmd) - finally: - os.chdir(old_dir) - - assert os.path.exists(tarball2) - # let's compare both tarballs - assert self._tarinfo(tarball) == self._created_files - assert self._tarinfo(tarball2) == self._created_files - - # trying an uncompressed one - base_name = os.path.join(tmpdir2, 'archive') - old_dir = os.getcwd() - os.chdir(tmpdir) - try: - make_tarball(base_name, 'dist', compress=None) - finally: - os.chdir(old_dir) - tarball = base_name + '.tar' - assert os.path.exists(tarball) - - # now for a dry_run - base_name = os.path.join(tmpdir2, 'archive') - old_dir = os.getcwd() - os.chdir(tmpdir) - try: - make_tarball(base_name, 'dist', compress=None, dry_run=True) - finally: - os.chdir(old_dir) - tarball = base_name + '.tar' - assert os.path.exists(tarball) - - @pytest.mark.usefixtures('needs_zlib') - def test_make_zipfile(self): - zipfile = pytest.importorskip('zipfile') - # creating something to tar - tmpdir = self._create_files() - base_name = os.path.join(self.mkdtemp(), 'archive') - with path.Path(tmpdir): - make_zipfile(base_name, 'dist') - - # check if the compressed tarball was created - tarball = base_name + '.zip' - assert os.path.exists(tarball) - with zipfile.ZipFile(tarball) as zf: - assert sorted(zf.namelist()) == self._zip_created_files - - def test_make_zipfile_no_zlib(self): - zipfile = pytest.importorskip('zipfile') - patch(self, archive_util.zipfile, 'zlib', None) # force zlib ImportError - - called = [] - zipfile_class = zipfile.ZipFile - - def fake_zipfile(*a, **kw): - if kw.get('compression', None) == zipfile.ZIP_STORED: - called.append((a, kw)) - return zipfile_class(*a, **kw) - - patch(self, archive_util.zipfile, 'ZipFile', fake_zipfile) - - # create something to tar and compress - tmpdir = self._create_files() - base_name = os.path.join(self.mkdtemp(), 'archive') - with path.Path(tmpdir): - make_zipfile(base_name, 'dist') - - tarball = base_name + '.zip' - assert called == [((tarball, "w"), {'compression': zipfile.ZIP_STORED})] - assert os.path.exists(tarball) - with zipfile.ZipFile(tarball) as zf: - assert sorted(zf.namelist()) == self._zip_created_files - - def test_check_archive_formats(self): - assert check_archive_formats(['gztar', 'xxx', 'zip']) == 'xxx' - assert ( - check_archive_formats(['gztar', 'bztar', 'xztar', 'ztar', 'tar', 'zip']) - is None - ) - - def test_make_archive(self): - tmpdir = self.mkdtemp() - base_name = os.path.join(tmpdir, 'archive') - with pytest.raises(ValueError): - make_archive(base_name, 'xxx') - - def test_make_archive_cwd(self): - current_dir = os.getcwd() - - def _breaks(*args, **kw): - raise RuntimeError() - - ARCHIVE_FORMATS['xxx'] = (_breaks, [], 'xxx file') - try: - try: - make_archive('xxx', 'xxx', root_dir=self.mkdtemp()) - except Exception: - pass - assert os.getcwd() == current_dir - finally: - ARCHIVE_FORMATS.pop('xxx') - - def test_make_archive_tar(self): - base_dir = self._create_files() - base_name = os.path.join(self.mkdtemp(), 'archive') - res = make_archive(base_name, 'tar', base_dir, 'dist') - assert os.path.exists(res) - assert os.path.basename(res) == 'archive.tar' - assert self._tarinfo(res) == self._created_files - - @pytest.mark.usefixtures('needs_zlib') - def test_make_archive_gztar(self): - base_dir = self._create_files() - base_name = os.path.join(self.mkdtemp(), 'archive') - res = make_archive(base_name, 'gztar', base_dir, 'dist') - assert os.path.exists(res) - assert os.path.basename(res) == 'archive.tar.gz' - assert self._tarinfo(res) == self._created_files - - def test_make_archive_bztar(self): - pytest.importorskip('bz2') - base_dir = self._create_files() - base_name = os.path.join(self.mkdtemp(), 'archive') - res = make_archive(base_name, 'bztar', base_dir, 'dist') - assert os.path.exists(res) - assert os.path.basename(res) == 'archive.tar.bz2' - assert self._tarinfo(res) == self._created_files - - def test_make_archive_xztar(self): - pytest.importorskip('lzma') - base_dir = self._create_files() - base_name = os.path.join(self.mkdtemp(), 'archive') - res = make_archive(base_name, 'xztar', base_dir, 'dist') - assert os.path.exists(res) - assert os.path.basename(res) == 'archive.tar.xz' - assert self._tarinfo(res) == self._created_files - - def test_make_archive_owner_group(self): - # testing make_archive with owner and group, with various combinations - # this works even if there's not gid/uid support - if UID_0_SUPPORT: - group = grp.getgrgid(0)[0] - owner = pwd.getpwuid(0)[0] - else: - group = owner = 'root' - - base_dir = self._create_files() - root_dir = self.mkdtemp() - base_name = os.path.join(self.mkdtemp(), 'archive') - res = make_archive( - base_name, 'zip', root_dir, base_dir, owner=owner, group=group - ) - assert os.path.exists(res) - - res = make_archive(base_name, 'zip', root_dir, base_dir) - assert os.path.exists(res) - - res = make_archive( - base_name, 'tar', root_dir, base_dir, owner=owner, group=group - ) - assert os.path.exists(res) - - res = make_archive( - base_name, 'tar', root_dir, base_dir, owner='kjhkjhkjg', group='oihohoh' - ) - assert os.path.exists(res) - - @pytest.mark.usefixtures('needs_zlib') - @require_unix_id - @require_uid_0 - def test_tarfile_root_owner(self): - tmpdir = self._create_files() - base_name = os.path.join(self.mkdtemp(), 'archive') - old_dir = os.getcwd() - os.chdir(tmpdir) - group = grp.getgrgid(0)[0] - owner = pwd.getpwuid(0)[0] - try: - archive_name = make_tarball( - base_name, 'dist', compress=None, owner=owner, group=group - ) - finally: - os.chdir(old_dir) - - # check if the compressed tarball was created - assert os.path.exists(archive_name) - - # now checks the rights - archive = tarfile.open(archive_name) - try: - for member in archive.getmembers(): - assert member.uid == 0 - assert member.gid == 0 - finally: - archive.close() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_bdist.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_bdist.py deleted file mode 100644 index d5696fc3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_bdist.py +++ /dev/null @@ -1,47 +0,0 @@ -"""Tests for distutils.command.bdist.""" - -from distutils.command.bdist import bdist -from distutils.tests import support - - -class TestBuild(support.TempdirManager): - def test_formats(self): - # let's create a command and make sure - # we can set the format - dist = self.create_dist()[1] - cmd = bdist(dist) - cmd.formats = ['gztar'] - cmd.ensure_finalized() - assert cmd.formats == ['gztar'] - - # what formats does bdist offer? - formats = [ - 'bztar', - 'gztar', - 'rpm', - 'tar', - 'xztar', - 'zip', - 'ztar', - ] - found = sorted(cmd.format_commands) - assert found == formats - - def test_skip_build(self): - # bug #10946: bdist --skip-build should trickle down to subcommands - dist = self.create_dist()[1] - cmd = bdist(dist) - cmd.skip_build = True - cmd.ensure_finalized() - dist.command_obj['bdist'] = cmd - - names = [ - 'bdist_dumb', - ] # bdist_rpm does not support --skip-build - - for name in names: - subcmd = cmd.get_finalized_command(name) - if getattr(subcmd, '_unsupported', False): - # command is not supported on this build - continue - assert subcmd.skip_build, f'{name} should take --skip-build from bdist' diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_bdist_dumb.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_bdist_dumb.py deleted file mode 100644 index 1fc51d24..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_bdist_dumb.py +++ /dev/null @@ -1,78 +0,0 @@ -"""Tests for distutils.command.bdist_dumb.""" - -import os -import sys -import zipfile -from distutils.command.bdist_dumb import bdist_dumb -from distutils.core import Distribution -from distutils.tests import support - -import pytest - -SETUP_PY = """\ -from distutils.core import setup -import foo - -setup(name='foo', version='0.1', py_modules=['foo'], - url='xxx', author='xxx', author_email='xxx') - -""" - - -@support.combine_markers -@pytest.mark.usefixtures('save_env') -@pytest.mark.usefixtures('save_argv') -@pytest.mark.usefixtures('save_cwd') -class TestBuildDumb( - support.TempdirManager, -): - @pytest.mark.usefixtures('needs_zlib') - def test_simple_built(self): - # let's create a simple package - tmp_dir = self.mkdtemp() - pkg_dir = os.path.join(tmp_dir, 'foo') - os.mkdir(pkg_dir) - self.write_file((pkg_dir, 'setup.py'), SETUP_PY) - self.write_file((pkg_dir, 'foo.py'), '#') - self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py') - self.write_file((pkg_dir, 'README'), '') - - dist = Distribution({ - 'name': 'foo', - 'version': '0.1', - 'py_modules': ['foo'], - 'url': 'xxx', - 'author': 'xxx', - 'author_email': 'xxx', - }) - dist.script_name = 'setup.py' - os.chdir(pkg_dir) - - sys.argv = ['setup.py'] - cmd = bdist_dumb(dist) - - # so the output is the same no matter - # what is the platform - cmd.format = 'zip' - - cmd.ensure_finalized() - cmd.run() - - # see what we have - dist_created = os.listdir(os.path.join(pkg_dir, 'dist')) - base = f"{dist.get_fullname()}.{cmd.plat_name}.zip" - - assert dist_created == [base] - - # now let's check what we have in the zip file - fp = zipfile.ZipFile(os.path.join('dist', base)) - try: - contents = fp.namelist() - finally: - fp.close() - - contents = sorted(filter(None, map(os.path.basename, contents))) - wanted = ['foo-0.1-py{}.{}.egg-info'.format(*sys.version_info[:2]), 'foo.py'] - if not sys.dont_write_bytecode: - wanted.append(f'foo.{sys.implementation.cache_tag}.pyc') - assert contents == sorted(wanted) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_bdist_rpm.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_bdist_rpm.py deleted file mode 100644 index 1109fdf1..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_bdist_rpm.py +++ /dev/null @@ -1,128 +0,0 @@ -"""Tests for distutils.command.bdist_rpm.""" - -import os -import shutil # noqa: F401 -import sys -from distutils.command.bdist_rpm import bdist_rpm -from distutils.core import Distribution -from distutils.tests import support - -import pytest - -from .compat.py38 import requires_zlib - -SETUP_PY = """\ -from distutils.core import setup -import foo - -setup(name='foo', version='0.1', py_modules=['foo'], - url='xxx', author='xxx', author_email='xxx') - -""" - - -@pytest.fixture(autouse=True) -def sys_executable_encodable(): - try: - sys.executable.encode('UTF-8') - except UnicodeEncodeError: - pytest.skip("sys.executable is not encodable to UTF-8") - - -mac_woes = pytest.mark.skipif( - "not sys.platform.startswith('linux')", - reason='spurious sdtout/stderr output under macOS', -) - - -@pytest.mark.usefixtures('save_env') -@pytest.mark.usefixtures('save_argv') -@pytest.mark.usefixtures('save_cwd') -class TestBuildRpm( - support.TempdirManager, -): - @mac_woes - @requires_zlib() - @pytest.mark.skipif("not shutil.which('rpm')") - @pytest.mark.skipif("not shutil.which('rpmbuild')") - def test_quiet(self): - # let's create a package - tmp_dir = self.mkdtemp() - os.environ['HOME'] = tmp_dir # to confine dir '.rpmdb' creation - pkg_dir = os.path.join(tmp_dir, 'foo') - os.mkdir(pkg_dir) - self.write_file((pkg_dir, 'setup.py'), SETUP_PY) - self.write_file((pkg_dir, 'foo.py'), '#') - self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py') - self.write_file((pkg_dir, 'README'), '') - - dist = Distribution({ - 'name': 'foo', - 'version': '0.1', - 'py_modules': ['foo'], - 'url': 'xxx', - 'author': 'xxx', - 'author_email': 'xxx', - }) - dist.script_name = 'setup.py' - os.chdir(pkg_dir) - - sys.argv = ['setup.py'] - cmd = bdist_rpm(dist) - cmd.fix_python = True - - # running in quiet mode - cmd.quiet = True - cmd.ensure_finalized() - cmd.run() - - dist_created = os.listdir(os.path.join(pkg_dir, 'dist')) - assert 'foo-0.1-1.noarch.rpm' in dist_created - - # bug #2945: upload ignores bdist_rpm files - assert ('bdist_rpm', 'any', 'dist/foo-0.1-1.src.rpm') in dist.dist_files - assert ('bdist_rpm', 'any', 'dist/foo-0.1-1.noarch.rpm') in dist.dist_files - - @mac_woes - @requires_zlib() - # https://bugs.python.org/issue1533164 - @pytest.mark.skipif("not shutil.which('rpm')") - @pytest.mark.skipif("not shutil.which('rpmbuild')") - def test_no_optimize_flag(self): - # let's create a package that breaks bdist_rpm - tmp_dir = self.mkdtemp() - os.environ['HOME'] = tmp_dir # to confine dir '.rpmdb' creation - pkg_dir = os.path.join(tmp_dir, 'foo') - os.mkdir(pkg_dir) - self.write_file((pkg_dir, 'setup.py'), SETUP_PY) - self.write_file((pkg_dir, 'foo.py'), '#') - self.write_file((pkg_dir, 'MANIFEST.in'), 'include foo.py') - self.write_file((pkg_dir, 'README'), '') - - dist = Distribution({ - 'name': 'foo', - 'version': '0.1', - 'py_modules': ['foo'], - 'url': 'xxx', - 'author': 'xxx', - 'author_email': 'xxx', - }) - dist.script_name = 'setup.py' - os.chdir(pkg_dir) - - sys.argv = ['setup.py'] - cmd = bdist_rpm(dist) - cmd.fix_python = True - - cmd.quiet = True - cmd.ensure_finalized() - cmd.run() - - dist_created = os.listdir(os.path.join(pkg_dir, 'dist')) - assert 'foo-0.1-1.noarch.rpm' in dist_created - - # bug #2945: upload ignores bdist_rpm files - assert ('bdist_rpm', 'any', 'dist/foo-0.1-1.src.rpm') in dist.dist_files - assert ('bdist_rpm', 'any', 'dist/foo-0.1-1.noarch.rpm') in dist.dist_files - - os.remove(os.path.join(pkg_dir, 'dist', 'foo-0.1-1.noarch.rpm')) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build.py deleted file mode 100644 index d379aca0..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build.py +++ /dev/null @@ -1,47 +0,0 @@ -"""Tests for distutils.command.build.""" - -import os -import sys -from distutils.command.build import build -from distutils.tests import support -from sysconfig import get_config_var, get_platform - - -class TestBuild(support.TempdirManager): - def test_finalize_options(self): - pkg_dir, dist = self.create_dist() - cmd = build(dist) - cmd.finalize_options() - - # if not specified, plat_name gets the current platform - assert cmd.plat_name == get_platform() - - # build_purelib is build + lib - wanted = os.path.join(cmd.build_base, 'lib') - assert cmd.build_purelib == wanted - - # build_platlib is 'build/lib.platform-cache_tag[-pydebug]' - # examples: - # build/lib.macosx-10.3-i386-cpython39 - plat_spec = f'.{cmd.plat_name}-{sys.implementation.cache_tag}' - if get_config_var('Py_GIL_DISABLED'): - plat_spec += 't' - if hasattr(sys, 'gettotalrefcount'): - assert cmd.build_platlib.endswith('-pydebug') - plat_spec += '-pydebug' - wanted = os.path.join(cmd.build_base, 'lib' + plat_spec) - assert cmd.build_platlib == wanted - - # by default, build_lib = build_purelib - assert cmd.build_lib == cmd.build_purelib - - # build_temp is build/temp. - wanted = os.path.join(cmd.build_base, 'temp' + plat_spec) - assert cmd.build_temp == wanted - - # build_scripts is build/scripts-x.x - wanted = os.path.join(cmd.build_base, 'scripts-%d.%d' % sys.version_info[:2]) - assert cmd.build_scripts == wanted - - # executable is os.path.normpath(sys.executable) - assert cmd.executable == os.path.normpath(sys.executable) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_clib.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_clib.py deleted file mode 100644 index f76f26bc..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_clib.py +++ /dev/null @@ -1,134 +0,0 @@ -"""Tests for distutils.command.build_clib.""" - -import os -from distutils.command.build_clib import build_clib -from distutils.errors import DistutilsSetupError -from distutils.tests import missing_compiler_executable, support - -import pytest - - -class TestBuildCLib(support.TempdirManager): - def test_check_library_dist(self): - pkg_dir, dist = self.create_dist() - cmd = build_clib(dist) - - # 'libraries' option must be a list - with pytest.raises(DistutilsSetupError): - cmd.check_library_list('foo') - - # each element of 'libraries' must a 2-tuple - with pytest.raises(DistutilsSetupError): - cmd.check_library_list(['foo1', 'foo2']) - - # first element of each tuple in 'libraries' - # must be a string (the library name) - with pytest.raises(DistutilsSetupError): - cmd.check_library_list([(1, 'foo1'), ('name', 'foo2')]) - - # library name may not contain directory separators - with pytest.raises(DistutilsSetupError): - cmd.check_library_list( - [('name', 'foo1'), ('another/name', 'foo2')], - ) - - # second element of each tuple must be a dictionary (build info) - with pytest.raises(DistutilsSetupError): - cmd.check_library_list( - [('name', {}), ('another', 'foo2')], - ) - - # those work - libs = [('name', {}), ('name', {'ok': 'good'})] - cmd.check_library_list(libs) - - def test_get_source_files(self): - pkg_dir, dist = self.create_dist() - cmd = build_clib(dist) - - # "in 'libraries' option 'sources' must be present and must be - # a list of source filenames - cmd.libraries = [('name', {})] - with pytest.raises(DistutilsSetupError): - cmd.get_source_files() - - cmd.libraries = [('name', {'sources': 1})] - with pytest.raises(DistutilsSetupError): - cmd.get_source_files() - - cmd.libraries = [('name', {'sources': ['a', 'b']})] - assert cmd.get_source_files() == ['a', 'b'] - - cmd.libraries = [('name', {'sources': ('a', 'b')})] - assert cmd.get_source_files() == ['a', 'b'] - - cmd.libraries = [ - ('name', {'sources': ('a', 'b')}), - ('name2', {'sources': ['c', 'd']}), - ] - assert cmd.get_source_files() == ['a', 'b', 'c', 'd'] - - def test_build_libraries(self): - pkg_dir, dist = self.create_dist() - cmd = build_clib(dist) - - class FakeCompiler: - def compile(*args, **kw): - pass - - create_static_lib = compile - - cmd.compiler = FakeCompiler() - - # build_libraries is also doing a bit of typo checking - lib = [('name', {'sources': 'notvalid'})] - with pytest.raises(DistutilsSetupError): - cmd.build_libraries(lib) - - lib = [('name', {'sources': list()})] - cmd.build_libraries(lib) - - lib = [('name', {'sources': tuple()})] - cmd.build_libraries(lib) - - def test_finalize_options(self): - pkg_dir, dist = self.create_dist() - cmd = build_clib(dist) - - cmd.include_dirs = 'one-dir' - cmd.finalize_options() - assert cmd.include_dirs == ['one-dir'] - - cmd.include_dirs = None - cmd.finalize_options() - assert cmd.include_dirs == [] - - cmd.distribution.libraries = 'WONTWORK' - with pytest.raises(DistutilsSetupError): - cmd.finalize_options() - - @pytest.mark.skipif('platform.system() == "Windows"') - def test_run(self): - pkg_dir, dist = self.create_dist() - cmd = build_clib(dist) - - foo_c = os.path.join(pkg_dir, 'foo.c') - self.write_file(foo_c, 'int main(void) { return 1;}\n') - cmd.libraries = [('foo', {'sources': [foo_c]})] - - build_temp = os.path.join(pkg_dir, 'build') - os.mkdir(build_temp) - cmd.build_temp = build_temp - cmd.build_clib = build_temp - - # Before we run the command, we want to make sure - # all commands are present on the system. - ccmd = missing_compiler_executable() - if ccmd is not None: - self.skipTest(f'The {ccmd!r} command is not found') - - # this should work - cmd.run() - - # let's check the result - assert 'libfoo.a' in os.listdir(build_temp) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_ext.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_ext.py deleted file mode 100644 index 8bd3cef8..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_ext.py +++ /dev/null @@ -1,563 +0,0 @@ -import contextlib -import importlib -import os -import platform -import re -import shutil -import site -import sys -import tempfile -import textwrap -from distutils import sysconfig -from distutils.command.build_ext import build_ext -from distutils.core import Distribution -from distutils.errors import ( - CompileError, - DistutilsPlatformError, - DistutilsSetupError, - UnknownFileError, -) -from distutils.extension import Extension -from distutils.tests import missing_compiler_executable -from distutils.tests.support import ( - TempdirManager, - copy_xxmodule_c, - fixup_build_ext, -) -from io import StringIO - -import jaraco.path -import path -import pytest -from test import support - -from .compat import py38 as import_helper - - -@pytest.fixture() -def user_site_dir(request): - self = request.instance - self.tmp_dir = self.mkdtemp() - self.tmp_path = path.Path(self.tmp_dir) - from distutils.command import build_ext - - orig_user_base = site.USER_BASE - - site.USER_BASE = self.mkdtemp() - build_ext.USER_BASE = site.USER_BASE - - # bpo-30132: On Windows, a .pdb file may be created in the current - # working directory. Create a temporary working directory to cleanup - # everything at the end of the test. - with self.tmp_path: - yield - - site.USER_BASE = orig_user_base - build_ext.USER_BASE = orig_user_base - - -@contextlib.contextmanager -def safe_extension_import(name, path): - with import_helper.CleanImport(name): - with extension_redirect(name, path) as new_path: - with import_helper.DirsOnSysPath(new_path): - yield - - -@contextlib.contextmanager -def extension_redirect(mod, path): - """ - Tests will fail to tear down an extension module if it's been imported. - - Before importing, copy the file to a temporary directory that won't - be cleaned up. Yield the new path. - """ - if platform.system() != "Windows" and sys.platform != "cygwin": - yield path - return - with import_helper.DirsOnSysPath(path): - spec = importlib.util.find_spec(mod) - filename = os.path.basename(spec.origin) - trash_dir = tempfile.mkdtemp(prefix='deleteme') - dest = os.path.join(trash_dir, os.path.basename(filename)) - shutil.copy(spec.origin, dest) - yield trash_dir - # TODO: can the file be scheduled for deletion? - - -@pytest.mark.usefixtures('user_site_dir') -class TestBuildExt(TempdirManager): - def build_ext(self, *args, **kwargs): - return build_ext(*args, **kwargs) - - def test_build_ext(self): - missing_compiler_executable() - copy_xxmodule_c(self.tmp_dir) - xx_c = os.path.join(self.tmp_dir, 'xxmodule.c') - xx_ext = Extension('xx', [xx_c]) - dist = Distribution({'name': 'xx', 'ext_modules': [xx_ext]}) - dist.package_dir = self.tmp_dir - cmd = self.build_ext(dist) - fixup_build_ext(cmd) - cmd.build_lib = self.tmp_dir - cmd.build_temp = self.tmp_dir - - old_stdout = sys.stdout - if not support.verbose: - # silence compiler output - sys.stdout = StringIO() - try: - cmd.ensure_finalized() - cmd.run() - finally: - sys.stdout = old_stdout - - with safe_extension_import('xx', self.tmp_dir): - self._test_xx() - - @staticmethod - def _test_xx(): - import xx - - for attr in ('error', 'foo', 'new', 'roj'): - assert hasattr(xx, attr) - - assert xx.foo(2, 5) == 7 - assert xx.foo(13, 15) == 28 - assert xx.new().demo() is None - if support.HAVE_DOCSTRINGS: - doc = 'This is a template module just for instruction.' - assert xx.__doc__ == doc - assert isinstance(xx.Null(), xx.Null) - assert isinstance(xx.Str(), xx.Str) - - def test_solaris_enable_shared(self): - dist = Distribution({'name': 'xx'}) - cmd = self.build_ext(dist) - old = sys.platform - - sys.platform = 'sunos' # fooling finalize_options - from distutils.sysconfig import _config_vars - - old_var = _config_vars.get('Py_ENABLE_SHARED') - _config_vars['Py_ENABLE_SHARED'] = True - try: - cmd.ensure_finalized() - finally: - sys.platform = old - if old_var is None: - del _config_vars['Py_ENABLE_SHARED'] - else: - _config_vars['Py_ENABLE_SHARED'] = old_var - - # make sure we get some library dirs under solaris - assert len(cmd.library_dirs) > 0 - - def test_user_site(self): - import site - - dist = Distribution({'name': 'xx'}) - cmd = self.build_ext(dist) - - # making sure the user option is there - options = [name for name, short, label in cmd.user_options] - assert 'user' in options - - # setting a value - cmd.user = True - - # setting user based lib and include - lib = os.path.join(site.USER_BASE, 'lib') - incl = os.path.join(site.USER_BASE, 'include') - os.mkdir(lib) - os.mkdir(incl) - - # let's run finalize - cmd.ensure_finalized() - - # see if include_dirs and library_dirs - # were set - assert lib in cmd.library_dirs - assert lib in cmd.rpath - assert incl in cmd.include_dirs - - def test_optional_extension(self): - # this extension will fail, but let's ignore this failure - # with the optional argument. - modules = [Extension('foo', ['xxx'], optional=False)] - dist = Distribution({'name': 'xx', 'ext_modules': modules}) - cmd = self.build_ext(dist) - cmd.ensure_finalized() - with pytest.raises((UnknownFileError, CompileError)): - cmd.run() # should raise an error - - modules = [Extension('foo', ['xxx'], optional=True)] - dist = Distribution({'name': 'xx', 'ext_modules': modules}) - cmd = self.build_ext(dist) - cmd.ensure_finalized() - cmd.run() # should pass - - def test_finalize_options(self): - # Make sure Python's include directories (for Python.h, pyconfig.h, - # etc.) are in the include search path. - modules = [Extension('foo', ['xxx'], optional=False)] - dist = Distribution({'name': 'xx', 'ext_modules': modules}) - cmd = self.build_ext(dist) - cmd.finalize_options() - - py_include = sysconfig.get_python_inc() - for p in py_include.split(os.path.pathsep): - assert p in cmd.include_dirs - - plat_py_include = sysconfig.get_python_inc(plat_specific=True) - for p in plat_py_include.split(os.path.pathsep): - assert p in cmd.include_dirs - - # make sure cmd.libraries is turned into a list - # if it's a string - cmd = self.build_ext(dist) - cmd.libraries = 'my_lib, other_lib lastlib' - cmd.finalize_options() - assert cmd.libraries == ['my_lib', 'other_lib', 'lastlib'] - - # make sure cmd.library_dirs is turned into a list - # if it's a string - cmd = self.build_ext(dist) - cmd.library_dirs = f'my_lib_dir{os.pathsep}other_lib_dir' - cmd.finalize_options() - assert 'my_lib_dir' in cmd.library_dirs - assert 'other_lib_dir' in cmd.library_dirs - - # make sure rpath is turned into a list - # if it's a string - cmd = self.build_ext(dist) - cmd.rpath = f'one{os.pathsep}two' - cmd.finalize_options() - assert cmd.rpath == ['one', 'two'] - - # make sure cmd.link_objects is turned into a list - # if it's a string - cmd = build_ext(dist) - cmd.link_objects = 'one two,three' - cmd.finalize_options() - assert cmd.link_objects == ['one', 'two', 'three'] - - # XXX more tests to perform for win32 - - # make sure define is turned into 2-tuples - # strings if they are ','-separated strings - cmd = self.build_ext(dist) - cmd.define = 'one,two' - cmd.finalize_options() - assert cmd.define == [('one', '1'), ('two', '1')] - - # make sure undef is turned into a list of - # strings if they are ','-separated strings - cmd = self.build_ext(dist) - cmd.undef = 'one,two' - cmd.finalize_options() - assert cmd.undef == ['one', 'two'] - - # make sure swig_opts is turned into a list - cmd = self.build_ext(dist) - cmd.swig_opts = None - cmd.finalize_options() - assert cmd.swig_opts == [] - - cmd = self.build_ext(dist) - cmd.swig_opts = '1 2' - cmd.finalize_options() - assert cmd.swig_opts == ['1', '2'] - - def test_check_extensions_list(self): - dist = Distribution() - cmd = self.build_ext(dist) - cmd.finalize_options() - - # 'extensions' option must be a list of Extension instances - with pytest.raises(DistutilsSetupError): - cmd.check_extensions_list('foo') - - # each element of 'ext_modules' option must be an - # Extension instance or 2-tuple - exts = [('bar', 'foo', 'bar'), 'foo'] - with pytest.raises(DistutilsSetupError): - cmd.check_extensions_list(exts) - - # first element of each tuple in 'ext_modules' - # must be the extension name (a string) and match - # a python dotted-separated name - exts = [('foo-bar', '')] - with pytest.raises(DistutilsSetupError): - cmd.check_extensions_list(exts) - - # second element of each tuple in 'ext_modules' - # must be a dictionary (build info) - exts = [('foo.bar', '')] - with pytest.raises(DistutilsSetupError): - cmd.check_extensions_list(exts) - - # ok this one should pass - exts = [('foo.bar', {'sources': [''], 'libraries': 'foo', 'some': 'bar'})] - cmd.check_extensions_list(exts) - ext = exts[0] - assert isinstance(ext, Extension) - - # check_extensions_list adds in ext the values passed - # when they are in ('include_dirs', 'library_dirs', 'libraries' - # 'extra_objects', 'extra_compile_args', 'extra_link_args') - assert ext.libraries == 'foo' - assert not hasattr(ext, 'some') - - # 'macros' element of build info dict must be 1- or 2-tuple - exts = [ - ( - 'foo.bar', - { - 'sources': [''], - 'libraries': 'foo', - 'some': 'bar', - 'macros': [('1', '2', '3'), 'foo'], - }, - ) - ] - with pytest.raises(DistutilsSetupError): - cmd.check_extensions_list(exts) - - exts[0][1]['macros'] = [('1', '2'), ('3',)] - cmd.check_extensions_list(exts) - assert exts[0].undef_macros == ['3'] - assert exts[0].define_macros == [('1', '2')] - - def test_get_source_files(self): - modules = [Extension('foo', ['xxx'], optional=False)] - dist = Distribution({'name': 'xx', 'ext_modules': modules}) - cmd = self.build_ext(dist) - cmd.ensure_finalized() - assert cmd.get_source_files() == ['xxx'] - - def test_unicode_module_names(self): - modules = [ - Extension('foo', ['aaa'], optional=False), - Extension('föö', ['uuu'], optional=False), - ] - dist = Distribution({'name': 'xx', 'ext_modules': modules}) - cmd = self.build_ext(dist) - cmd.ensure_finalized() - assert re.search(r'foo(_d)?\..*', cmd.get_ext_filename(modules[0].name)) - assert re.search(r'föö(_d)?\..*', cmd.get_ext_filename(modules[1].name)) - assert cmd.get_export_symbols(modules[0]) == ['PyInit_foo'] - assert cmd.get_export_symbols(modules[1]) == ['PyInitU_f_1gaa'] - - def test_compiler_option(self): - # cmd.compiler is an option and - # should not be overridden by a compiler instance - # when the command is run - dist = Distribution() - cmd = self.build_ext(dist) - cmd.compiler = 'unix' - cmd.ensure_finalized() - cmd.run() - assert cmd.compiler == 'unix' - - def test_get_outputs(self): - missing_compiler_executable() - tmp_dir = self.mkdtemp() - c_file = os.path.join(tmp_dir, 'foo.c') - self.write_file(c_file, 'void PyInit_foo(void) {}\n') - ext = Extension('foo', [c_file], optional=False) - dist = Distribution({'name': 'xx', 'ext_modules': [ext]}) - cmd = self.build_ext(dist) - fixup_build_ext(cmd) - cmd.ensure_finalized() - assert len(cmd.get_outputs()) == 1 - - cmd.build_lib = os.path.join(self.tmp_dir, 'build') - cmd.build_temp = os.path.join(self.tmp_dir, 'tempt') - - # issue #5977 : distutils build_ext.get_outputs - # returns wrong result with --inplace - other_tmp_dir = os.path.realpath(self.mkdtemp()) - old_wd = os.getcwd() - os.chdir(other_tmp_dir) - try: - cmd.inplace = True - cmd.run() - so_file = cmd.get_outputs()[0] - finally: - os.chdir(old_wd) - assert os.path.exists(so_file) - ext_suffix = sysconfig.get_config_var('EXT_SUFFIX') - assert so_file.endswith(ext_suffix) - so_dir = os.path.dirname(so_file) - assert so_dir == other_tmp_dir - - cmd.inplace = False - cmd.compiler = None - cmd.run() - so_file = cmd.get_outputs()[0] - assert os.path.exists(so_file) - assert so_file.endswith(ext_suffix) - so_dir = os.path.dirname(so_file) - assert so_dir == cmd.build_lib - - # inplace = False, cmd.package = 'bar' - build_py = cmd.get_finalized_command('build_py') - build_py.package_dir = {'': 'bar'} - path = cmd.get_ext_fullpath('foo') - # checking that the last directory is the build_dir - path = os.path.split(path)[0] - assert path == cmd.build_lib - - # inplace = True, cmd.package = 'bar' - cmd.inplace = True - other_tmp_dir = os.path.realpath(self.mkdtemp()) - old_wd = os.getcwd() - os.chdir(other_tmp_dir) - try: - path = cmd.get_ext_fullpath('foo') - finally: - os.chdir(old_wd) - # checking that the last directory is bar - path = os.path.split(path)[0] - lastdir = os.path.split(path)[-1] - assert lastdir == 'bar' - - def test_ext_fullpath(self): - ext = sysconfig.get_config_var('EXT_SUFFIX') - # building lxml.etree inplace - # etree_c = os.path.join(self.tmp_dir, 'lxml.etree.c') - # etree_ext = Extension('lxml.etree', [etree_c]) - # dist = Distribution({'name': 'lxml', 'ext_modules': [etree_ext]}) - dist = Distribution() - cmd = self.build_ext(dist) - cmd.inplace = True - cmd.distribution.package_dir = {'': 'src'} - cmd.distribution.packages = ['lxml', 'lxml.html'] - curdir = os.getcwd() - wanted = os.path.join(curdir, 'src', 'lxml', 'etree' + ext) - path = cmd.get_ext_fullpath('lxml.etree') - assert wanted == path - - # building lxml.etree not inplace - cmd.inplace = False - cmd.build_lib = os.path.join(curdir, 'tmpdir') - wanted = os.path.join(curdir, 'tmpdir', 'lxml', 'etree' + ext) - path = cmd.get_ext_fullpath('lxml.etree') - assert wanted == path - - # building twisted.runner.portmap not inplace - build_py = cmd.get_finalized_command('build_py') - build_py.package_dir = {} - cmd.distribution.packages = ['twisted', 'twisted.runner.portmap'] - path = cmd.get_ext_fullpath('twisted.runner.portmap') - wanted = os.path.join(curdir, 'tmpdir', 'twisted', 'runner', 'portmap' + ext) - assert wanted == path - - # building twisted.runner.portmap inplace - cmd.inplace = True - path = cmd.get_ext_fullpath('twisted.runner.portmap') - wanted = os.path.join(curdir, 'twisted', 'runner', 'portmap' + ext) - assert wanted == path - - @pytest.mark.skipif('platform.system() != "Darwin"') - @pytest.mark.usefixtures('save_env') - def test_deployment_target_default(self): - # Issue 9516: Test that, in the absence of the environment variable, - # an extension module is compiled with the same deployment target as - # the interpreter. - self._try_compile_deployment_target('==', None) - - @pytest.mark.skipif('platform.system() != "Darwin"') - @pytest.mark.usefixtures('save_env') - def test_deployment_target_too_low(self): - # Issue 9516: Test that an extension module is not allowed to be - # compiled with a deployment target less than that of the interpreter. - with pytest.raises(DistutilsPlatformError): - self._try_compile_deployment_target('>', '10.1') - - @pytest.mark.skipif('platform.system() != "Darwin"') - @pytest.mark.usefixtures('save_env') - def test_deployment_target_higher_ok(self): # pragma: no cover - # Issue 9516: Test that an extension module can be compiled with a - # deployment target higher than that of the interpreter: the ext - # module may depend on some newer OS feature. - deptarget = sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') - if deptarget: - # increment the minor version number (i.e. 10.6 -> 10.7) - deptarget = [int(x) for x in deptarget.split('.')] - deptarget[-1] += 1 - deptarget = '.'.join(str(i) for i in deptarget) - self._try_compile_deployment_target('<', deptarget) - - def _try_compile_deployment_target(self, operator, target): # pragma: no cover - if target is None: - if os.environ.get('MACOSX_DEPLOYMENT_TARGET'): - del os.environ['MACOSX_DEPLOYMENT_TARGET'] - else: - os.environ['MACOSX_DEPLOYMENT_TARGET'] = target - - jaraco.path.build( - { - 'deptargetmodule.c': textwrap.dedent(f"""\ - #include - - int dummy; - - #if TARGET {operator} MAC_OS_X_VERSION_MIN_REQUIRED - #else - #error "Unexpected target" - #endif - - """), - }, - self.tmp_path, - ) - - # get the deployment target that the interpreter was built with - target = sysconfig.get_config_var('MACOSX_DEPLOYMENT_TARGET') - target = tuple(map(int, target.split('.')[0:2])) - # format the target value as defined in the Apple - # Availability Macros. We can't use the macro names since - # at least one value we test with will not exist yet. - if target[:2] < (10, 10): - # for 10.1 through 10.9.x -> "10n0" - target = '%02d%01d0' % target - else: - # for 10.10 and beyond -> "10nn00" - if len(target) >= 2: - target = '%02d%02d00' % target - else: - # 11 and later can have no minor version (11 instead of 11.0) - target = '%02d0000' % target - deptarget_ext = Extension( - 'deptarget', - [self.tmp_path / 'deptargetmodule.c'], - extra_compile_args=[f'-DTARGET={target}'], - ) - dist = Distribution({'name': 'deptarget', 'ext_modules': [deptarget_ext]}) - dist.package_dir = self.tmp_dir - cmd = self.build_ext(dist) - cmd.build_lib = self.tmp_dir - cmd.build_temp = self.tmp_dir - - try: - old_stdout = sys.stdout - if not support.verbose: - # silence compiler output - sys.stdout = StringIO() - try: - cmd.ensure_finalized() - cmd.run() - finally: - sys.stdout = old_stdout - - except CompileError: - self.fail("Wrong deployment target during compilation") - - -class TestParallelBuildExt(TestBuildExt): - def build_ext(self, *args, **kwargs): - build_ext = super().build_ext(*args, **kwargs) - build_ext.parallel = True - return build_ext diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_py.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_py.py deleted file mode 100644 index b316ed43..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_py.py +++ /dev/null @@ -1,196 +0,0 @@ -"""Tests for distutils.command.build_py.""" - -import os -import sys -from distutils.command.build_py import build_py -from distutils.core import Distribution -from distutils.errors import DistutilsFileError -from distutils.tests import support - -import jaraco.path -import pytest - - -@support.combine_markers -class TestBuildPy(support.TempdirManager): - def test_package_data(self): - sources = self.mkdtemp() - jaraco.path.build( - { - '__init__.py': "# Pretend this is a package.", - 'README.txt': 'Info about this package', - }, - sources, - ) - - destination = self.mkdtemp() - - dist = Distribution({"packages": ["pkg"], "package_dir": {"pkg": sources}}) - # script_name need not exist, it just need to be initialized - dist.script_name = os.path.join(sources, "setup.py") - dist.command_obj["build"] = support.DummyCommand( - force=False, build_lib=destination - ) - dist.packages = ["pkg"] - dist.package_data = {"pkg": ["README.txt"]} - dist.package_dir = {"pkg": sources} - - cmd = build_py(dist) - cmd.compile = True - cmd.ensure_finalized() - assert cmd.package_data == dist.package_data - - cmd.run() - - # This makes sure the list of outputs includes byte-compiled - # files for Python modules but not for package data files - # (there shouldn't *be* byte-code files for those!). - assert len(cmd.get_outputs()) == 3 - pkgdest = os.path.join(destination, "pkg") - files = os.listdir(pkgdest) - pycache_dir = os.path.join(pkgdest, "__pycache__") - assert "__init__.py" in files - assert "README.txt" in files - if sys.dont_write_bytecode: - assert not os.path.exists(pycache_dir) - else: - pyc_files = os.listdir(pycache_dir) - assert f"__init__.{sys.implementation.cache_tag}.pyc" in pyc_files - - def test_empty_package_dir(self): - # See bugs #1668596/#1720897 - sources = self.mkdtemp() - jaraco.path.build({'__init__.py': '', 'doc': {'testfile': ''}}, sources) - - os.chdir(sources) - dist = Distribution({ - "packages": ["pkg"], - "package_dir": {"pkg": ""}, - "package_data": {"pkg": ["doc/*"]}, - }) - # script_name need not exist, it just need to be initialized - dist.script_name = os.path.join(sources, "setup.py") - dist.script_args = ["build"] - dist.parse_command_line() - - try: - dist.run_commands() - except DistutilsFileError: - self.fail("failed package_data test when package_dir is ''") - - @pytest.mark.skipif('sys.dont_write_bytecode') - def test_byte_compile(self): - project_dir, dist = self.create_dist(py_modules=['boiledeggs']) - os.chdir(project_dir) - self.write_file('boiledeggs.py', 'import antigravity') - cmd = build_py(dist) - cmd.compile = True - cmd.build_lib = 'here' - cmd.finalize_options() - cmd.run() - - found = os.listdir(cmd.build_lib) - assert sorted(found) == ['__pycache__', 'boiledeggs.py'] - found = os.listdir(os.path.join(cmd.build_lib, '__pycache__')) - assert found == [f'boiledeggs.{sys.implementation.cache_tag}.pyc'] - - @pytest.mark.skipif('sys.dont_write_bytecode') - def test_byte_compile_optimized(self): - project_dir, dist = self.create_dist(py_modules=['boiledeggs']) - os.chdir(project_dir) - self.write_file('boiledeggs.py', 'import antigravity') - cmd = build_py(dist) - cmd.compile = False - cmd.optimize = 1 - cmd.build_lib = 'here' - cmd.finalize_options() - cmd.run() - - found = os.listdir(cmd.build_lib) - assert sorted(found) == ['__pycache__', 'boiledeggs.py'] - found = os.listdir(os.path.join(cmd.build_lib, '__pycache__')) - expect = f'boiledeggs.{sys.implementation.cache_tag}.opt-1.pyc' - assert sorted(found) == [expect] - - def test_dir_in_package_data(self): - """ - A directory in package_data should not be added to the filelist. - """ - # See bug 19286 - sources = self.mkdtemp() - jaraco.path.build( - { - 'pkg': { - '__init__.py': '', - 'doc': { - 'testfile': '', - # create a directory that could be incorrectly detected as a file - 'otherdir': {}, - }, - } - }, - sources, - ) - - os.chdir(sources) - dist = Distribution({"packages": ["pkg"], "package_data": {"pkg": ["doc/*"]}}) - # script_name need not exist, it just need to be initialized - dist.script_name = os.path.join(sources, "setup.py") - dist.script_args = ["build"] - dist.parse_command_line() - - try: - dist.run_commands() - except DistutilsFileError: - self.fail("failed package_data when data dir includes a dir") - - def test_dont_write_bytecode(self, caplog): - # makes sure byte_compile is not used - dist = self.create_dist()[1] - cmd = build_py(dist) - cmd.compile = True - cmd.optimize = 1 - - old_dont_write_bytecode = sys.dont_write_bytecode - sys.dont_write_bytecode = True - try: - cmd.byte_compile([]) - finally: - sys.dont_write_bytecode = old_dont_write_bytecode - - assert 'byte-compiling is disabled' in caplog.records[0].message - - def test_namespace_package_does_not_warn(self, caplog): - """ - Originally distutils implementation did not account for PEP 420 - and included warns for package directories that did not contain - ``__init__.py`` files. - After the acceptance of PEP 420, these warnings don't make more sense - so we want to ensure there are not displayed to not confuse the users. - """ - # Create a fake project structure with a package namespace: - tmp = self.mkdtemp() - jaraco.path.build({'ns': {'pkg': {'module.py': ''}}}, tmp) - os.chdir(tmp) - - # Configure the package: - attrs = { - "name": "ns.pkg", - "packages": ["ns", "ns.pkg"], - "script_name": "setup.py", - } - dist = Distribution(attrs) - - # Run code paths that would trigger the trap: - cmd = dist.get_command_obj("build_py") - cmd.finalize_options() - modules = cmd.find_all_modules() - assert len(modules) == 1 - module_path = modules[0][-1] - assert module_path.replace(os.sep, "/") == "ns/pkg/module.py" - - cmd.run() - - assert not any( - "package init file" in msg and "not found" in msg for msg in caplog.messages - ) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_scripts.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_scripts.py deleted file mode 100644 index 3582f691..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_build_scripts.py +++ /dev/null @@ -1,96 +0,0 @@ -"""Tests for distutils.command.build_scripts.""" - -import os -import textwrap -from distutils import sysconfig -from distutils.command.build_scripts import build_scripts -from distutils.core import Distribution -from distutils.tests import support - -import jaraco.path - - -class TestBuildScripts(support.TempdirManager): - def test_default_settings(self): - cmd = self.get_build_scripts_cmd("/foo/bar", []) - assert not cmd.force - assert cmd.build_dir is None - - cmd.finalize_options() - - assert cmd.force - assert cmd.build_dir == "/foo/bar" - - def test_build(self): - source = self.mkdtemp() - target = self.mkdtemp() - expected = self.write_sample_scripts(source) - - cmd = self.get_build_scripts_cmd( - target, [os.path.join(source, fn) for fn in expected] - ) - cmd.finalize_options() - cmd.run() - - built = os.listdir(target) - for name in expected: - assert name in built - - def get_build_scripts_cmd(self, target, scripts): - import sys - - dist = Distribution() - dist.scripts = scripts - dist.command_obj["build"] = support.DummyCommand( - build_scripts=target, force=True, executable=sys.executable - ) - return build_scripts(dist) - - @staticmethod - def write_sample_scripts(dir): - spec = { - 'script1.py': textwrap.dedent(""" - #! /usr/bin/env python2.3 - # bogus script w/ Python sh-bang - pass - """).lstrip(), - 'script2.py': textwrap.dedent(""" - #!/usr/bin/python - # bogus script w/ Python sh-bang - pass - """).lstrip(), - 'shell.sh': textwrap.dedent(""" - #!/bin/sh - # bogus shell script w/ sh-bang - exit 0 - """).lstrip(), - } - jaraco.path.build(spec, dir) - return list(spec) - - def test_version_int(self): - source = self.mkdtemp() - target = self.mkdtemp() - expected = self.write_sample_scripts(source) - - cmd = self.get_build_scripts_cmd( - target, [os.path.join(source, fn) for fn in expected] - ) - cmd.finalize_options() - - # https://bugs.python.org/issue4524 - # - # On linux-g++-32 with command line `./configure --enable-ipv6 - # --with-suffix=3`, python is compiled okay but the build scripts - # failed when writing the name of the executable - old = sysconfig.get_config_vars().get('VERSION') - sysconfig._config_vars['VERSION'] = 4 - try: - cmd.run() - finally: - if old is not None: - sysconfig._config_vars['VERSION'] = old - - built = os.listdir(target) - for name in expected: - assert name in built diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_ccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_ccompiler.py deleted file mode 100644 index d23b907c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_ccompiler.py +++ /dev/null @@ -1,91 +0,0 @@ -import os -import platform -import sys -import sysconfig -import textwrap -from distutils import ccompiler - -import pytest - - -def _make_strs(paths): - """ - Convert paths to strings for legacy compatibility. - """ - if sys.version_info > (3, 8) and platform.system() != "Windows": - return paths - return list(map(os.fspath, paths)) - - -@pytest.fixture -def c_file(tmp_path): - c_file = tmp_path / 'foo.c' - gen_headers = ('Python.h',) - is_windows = platform.system() == "Windows" - plat_headers = ('windows.h',) * is_windows - all_headers = gen_headers + plat_headers - headers = '\n'.join(f'#include <{header}>\n' for header in all_headers) - payload = ( - textwrap.dedent( - """ - #headers - void PyInit_foo(void) {} - """ - ) - .lstrip() - .replace('#headers', headers) - ) - c_file.write_text(payload, encoding='utf-8') - return c_file - - -def test_set_include_dirs(c_file): - """ - Extensions should build even if set_include_dirs is invoked. - In particular, compiler-specific paths should not be overridden. - """ - compiler = ccompiler.new_compiler() - python = sysconfig.get_paths()['include'] - compiler.set_include_dirs([python]) - compiler.compile(_make_strs([c_file])) - - # do it again, setting include dirs after any initialization - compiler.set_include_dirs([python]) - compiler.compile(_make_strs([c_file])) - - -def test_has_function_prototype(): - # Issue https://github.com/pypa/setuptools/issues/3648 - # Test prototype-generating behavior. - - compiler = ccompiler.new_compiler() - - # Every C implementation should have these. - assert compiler.has_function('abort') - assert compiler.has_function('exit') - with pytest.deprecated_call(match='includes is deprecated'): - # abort() is a valid expression with the prototype. - assert compiler.has_function('abort', includes=['stdlib.h']) - with pytest.deprecated_call(match='includes is deprecated'): - # But exit() is not valid with the actual prototype in scope. - assert not compiler.has_function('exit', includes=['stdlib.h']) - # And setuptools_does_not_exist is not declared or defined at all. - assert not compiler.has_function('setuptools_does_not_exist') - with pytest.deprecated_call(match='includes is deprecated'): - assert not compiler.has_function( - 'setuptools_does_not_exist', includes=['stdio.h'] - ) - - -def test_include_dirs_after_multiple_compile_calls(c_file): - """ - Calling compile multiple times should not change the include dirs - (regression test for setuptools issue #3591). - """ - compiler = ccompiler.new_compiler() - python = sysconfig.get_paths()['include'] - compiler.set_include_dirs([python]) - compiler.compile(_make_strs([c_file])) - assert compiler.include_dirs == [python] - compiler.compile(_make_strs([c_file])) - assert compiler.include_dirs == [python] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_check.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_check.py deleted file mode 100644 index b672b1f9..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_check.py +++ /dev/null @@ -1,194 +0,0 @@ -"""Tests for distutils.command.check.""" - -import os -import textwrap -from distutils.command.check import check -from distutils.errors import DistutilsSetupError -from distutils.tests import support - -import pytest - -try: - import pygments -except ImportError: - pygments = None - - -HERE = os.path.dirname(__file__) - - -@support.combine_markers -class TestCheck(support.TempdirManager): - def _run(self, metadata=None, cwd=None, **options): - if metadata is None: - metadata = {} - if cwd is not None: - old_dir = os.getcwd() - os.chdir(cwd) - pkg_info, dist = self.create_dist(**metadata) - cmd = check(dist) - cmd.initialize_options() - for name, value in options.items(): - setattr(cmd, name, value) - cmd.ensure_finalized() - cmd.run() - if cwd is not None: - os.chdir(old_dir) - return cmd - - def test_check_metadata(self): - # let's run the command with no metadata at all - # by default, check is checking the metadata - # should have some warnings - cmd = self._run() - assert cmd._warnings == 1 - - # now let's add the required fields - # and run it again, to make sure we don't get - # any warning anymore - metadata = { - 'url': 'xxx', - 'author': 'xxx', - 'author_email': 'xxx', - 'name': 'xxx', - 'version': 'xxx', - } - cmd = self._run(metadata) - assert cmd._warnings == 0 - - # now with the strict mode, we should - # get an error if there are missing metadata - with pytest.raises(DistutilsSetupError): - self._run({}, **{'strict': 1}) - - # and of course, no error when all metadata are present - cmd = self._run(metadata, strict=True) - assert cmd._warnings == 0 - - # now a test with non-ASCII characters - metadata = { - 'url': 'xxx', - 'author': '\u00c9ric', - 'author_email': 'xxx', - 'name': 'xxx', - 'version': 'xxx', - 'description': 'Something about esszet \u00df', - 'long_description': 'More things about esszet \u00df', - } - cmd = self._run(metadata) - assert cmd._warnings == 0 - - def test_check_author_maintainer(self): - for kind in ("author", "maintainer"): - # ensure no warning when author_email or maintainer_email is given - # (the spec allows these fields to take the form "Name ") - metadata = { - 'url': 'xxx', - kind + '_email': 'Name ', - 'name': 'xxx', - 'version': 'xxx', - } - cmd = self._run(metadata) - assert cmd._warnings == 0 - - # the check should not warn if only email is given - metadata[kind + '_email'] = 'name@email.com' - cmd = self._run(metadata) - assert cmd._warnings == 0 - - # the check should not warn if only the name is given - metadata[kind] = "Name" - del metadata[kind + '_email'] - cmd = self._run(metadata) - assert cmd._warnings == 0 - - def test_check_document(self): - pytest.importorskip('docutils') - pkg_info, dist = self.create_dist() - cmd = check(dist) - - # let's see if it detects broken rest - broken_rest = 'title\n===\n\ntest' - msgs = cmd._check_rst_data(broken_rest) - assert len(msgs) == 1 - - # and non-broken rest - rest = 'title\n=====\n\ntest' - msgs = cmd._check_rst_data(rest) - assert len(msgs) == 0 - - def test_check_restructuredtext(self): - pytest.importorskip('docutils') - # let's see if it detects broken rest in long_description - broken_rest = 'title\n===\n\ntest' - pkg_info, dist = self.create_dist(long_description=broken_rest) - cmd = check(dist) - cmd.check_restructuredtext() - assert cmd._warnings == 1 - - # let's see if we have an error with strict=True - metadata = { - 'url': 'xxx', - 'author': 'xxx', - 'author_email': 'xxx', - 'name': 'xxx', - 'version': 'xxx', - 'long_description': broken_rest, - } - with pytest.raises(DistutilsSetupError): - self._run(metadata, **{'strict': 1, 'restructuredtext': 1}) - - # and non-broken rest, including a non-ASCII character to test #12114 - metadata['long_description'] = 'title\n=====\n\ntest \u00df' - cmd = self._run(metadata, strict=True, restructuredtext=True) - assert cmd._warnings == 0 - - # check that includes work to test #31292 - metadata['long_description'] = 'title\n=====\n\n.. include:: includetest.rst' - cmd = self._run(metadata, cwd=HERE, strict=True, restructuredtext=True) - assert cmd._warnings == 0 - - def test_check_restructuredtext_with_syntax_highlight(self): - pytest.importorskip('docutils') - # Don't fail if there is a `code` or `code-block` directive - - example_rst_docs = [ - textwrap.dedent( - """\ - Here's some code: - - .. code:: python - - def foo(): - pass - """ - ), - textwrap.dedent( - """\ - Here's some code: - - .. code-block:: python - - def foo(): - pass - """ - ), - ] - - for rest_with_code in example_rst_docs: - pkg_info, dist = self.create_dist(long_description=rest_with_code) - cmd = check(dist) - cmd.check_restructuredtext() - msgs = cmd._check_rst_data(rest_with_code) - if pygments is not None: - assert len(msgs) == 0 - else: - assert len(msgs) == 1 - assert ( - str(msgs[0][1]) - == 'Cannot analyze code. Pygments package not found.' - ) - - def test_check_all(self): - with pytest.raises(DistutilsSetupError): - self._run({}, **{'strict': 1, 'restructuredtext': 1}) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_clean.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_clean.py deleted file mode 100644 index cc78f30f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_clean.py +++ /dev/null @@ -1,45 +0,0 @@ -"""Tests for distutils.command.clean.""" - -import os -from distutils.command.clean import clean -from distutils.tests import support - - -class TestClean(support.TempdirManager): - def test_simple_run(self): - pkg_dir, dist = self.create_dist() - cmd = clean(dist) - - # let's add some elements clean should remove - dirs = [ - (d, os.path.join(pkg_dir, d)) - for d in ( - 'build_temp', - 'build_lib', - 'bdist_base', - 'build_scripts', - 'build_base', - ) - ] - - for name, path in dirs: - os.mkdir(path) - setattr(cmd, name, path) - if name == 'build_base': - continue - for f in ('one', 'two', 'three'): - self.write_file(os.path.join(path, f)) - - # let's run the command - cmd.all = 1 - cmd.ensure_finalized() - cmd.run() - - # make sure the files where removed - for _name, path in dirs: - assert not os.path.exists(path), f'{path} was not removed' - - # let's run the command again (should spit warnings but succeed) - cmd.all = 1 - cmd.ensure_finalized() - cmd.run() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_cmd.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_cmd.py deleted file mode 100644 index 76e8f598..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_cmd.py +++ /dev/null @@ -1,107 +0,0 @@ -"""Tests for distutils.cmd.""" - -import os -from distutils import debug -from distutils.cmd import Command -from distutils.dist import Distribution -from distutils.errors import DistutilsOptionError - -import pytest - - -class MyCmd(Command): - def initialize_options(self): - pass - - -@pytest.fixture -def cmd(request): - return MyCmd(Distribution()) - - -class TestCommand: - def test_ensure_string_list(self, cmd): - cmd.not_string_list = ['one', 2, 'three'] - cmd.yes_string_list = ['one', 'two', 'three'] - cmd.not_string_list2 = object() - cmd.yes_string_list2 = 'ok' - cmd.ensure_string_list('yes_string_list') - cmd.ensure_string_list('yes_string_list2') - - with pytest.raises(DistutilsOptionError): - cmd.ensure_string_list('not_string_list') - - with pytest.raises(DistutilsOptionError): - cmd.ensure_string_list('not_string_list2') - - cmd.option1 = 'ok,dok' - cmd.ensure_string_list('option1') - assert cmd.option1 == ['ok', 'dok'] - - cmd.option2 = ['xxx', 'www'] - cmd.ensure_string_list('option2') - - cmd.option3 = ['ok', 2] - with pytest.raises(DistutilsOptionError): - cmd.ensure_string_list('option3') - - def test_make_file(self, cmd): - # making sure it raises when infiles is not a string or a list/tuple - with pytest.raises(TypeError): - cmd.make_file(infiles=True, outfile='', func='func', args=()) - - # making sure execute gets called properly - def _execute(func, args, exec_msg, level): - assert exec_msg == 'generating out from in' - - cmd.force = True - cmd.execute = _execute - cmd.make_file(infiles='in', outfile='out', func='func', args=()) - - def test_dump_options(self, cmd): - msgs = [] - - def _announce(msg, level): - msgs.append(msg) - - cmd.announce = _announce - cmd.option1 = 1 - cmd.option2 = 1 - cmd.user_options = [('option1', '', ''), ('option2', '', '')] - cmd.dump_options() - - wanted = ["command options for 'MyCmd':", ' option1 = 1', ' option2 = 1'] - assert msgs == wanted - - def test_ensure_string(self, cmd): - cmd.option1 = 'ok' - cmd.ensure_string('option1') - - cmd.option2 = None - cmd.ensure_string('option2', 'xxx') - assert hasattr(cmd, 'option2') - - cmd.option3 = 1 - with pytest.raises(DistutilsOptionError): - cmd.ensure_string('option3') - - def test_ensure_filename(self, cmd): - cmd.option1 = __file__ - cmd.ensure_filename('option1') - cmd.option2 = 'xxx' - with pytest.raises(DistutilsOptionError): - cmd.ensure_filename('option2') - - def test_ensure_dirname(self, cmd): - cmd.option1 = os.path.dirname(__file__) or os.curdir - cmd.ensure_dirname('option1') - cmd.option2 = 'xxx' - with pytest.raises(DistutilsOptionError): - cmd.ensure_dirname('option2') - - def test_debug_print(self, cmd, capsys, monkeypatch): - cmd.debug_print('xxx') - assert capsys.readouterr().out == '' - monkeypatch.setattr(debug, 'DEBUG', True) - cmd.debug_print('xxx') - assert capsys.readouterr().out == 'xxx\n' diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_config_cmd.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_config_cmd.py deleted file mode 100644 index ebee2ef9..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_config_cmd.py +++ /dev/null @@ -1,87 +0,0 @@ -"""Tests for distutils.command.config.""" - -import os -import sys -from distutils._log import log -from distutils.command.config import config, dump_file -from distutils.tests import missing_compiler_executable, support - -import more_itertools -import path -import pytest - - -@pytest.fixture(autouse=True) -def info_log(request, monkeypatch): - self = request.instance - self._logs = [] - monkeypatch.setattr(log, 'info', self._info) - - -@support.combine_markers -class TestConfig(support.TempdirManager): - def _info(self, msg, *args): - for line in msg.splitlines(): - self._logs.append(line) - - def test_dump_file(self): - this_file = path.Path(__file__).with_suffix('.py') - with this_file.open(encoding='utf-8') as f: - numlines = more_itertools.ilen(f) - - dump_file(this_file, 'I am the header') - assert len(self._logs) == numlines + 1 - - @pytest.mark.skipif('platform.system() == "Windows"') - def test_search_cpp(self): - cmd = missing_compiler_executable(['preprocessor']) - if cmd is not None: - self.skipTest(f'The {cmd!r} command is not found') - pkg_dir, dist = self.create_dist() - cmd = config(dist) - cmd._check_compiler() - compiler = cmd.compiler - if sys.platform[:3] == "aix" and "xlc" in compiler.preprocessor[0].lower(): - self.skipTest( - 'xlc: The -E option overrides the -P, -o, and -qsyntaxonly options' - ) - - # simple pattern searches - match = cmd.search_cpp(pattern='xxx', body='/* xxx */') - assert match == 0 - - match = cmd.search_cpp(pattern='_configtest', body='/* xxx */') - assert match == 1 - - def test_finalize_options(self): - # finalize_options does a bit of transformation - # on options - pkg_dir, dist = self.create_dist() - cmd = config(dist) - cmd.include_dirs = f'one{os.pathsep}two' - cmd.libraries = 'one' - cmd.library_dirs = f'three{os.pathsep}four' - cmd.ensure_finalized() - - assert cmd.include_dirs == ['one', 'two'] - assert cmd.libraries == ['one'] - assert cmd.library_dirs == ['three', 'four'] - - def test_clean(self): - # _clean removes files - tmp_dir = self.mkdtemp() - f1 = os.path.join(tmp_dir, 'one') - f2 = os.path.join(tmp_dir, 'two') - - self.write_file(f1, 'xxx') - self.write_file(f2, 'xxx') - - for f in (f1, f2): - assert os.path.exists(f) - - pkg_dir, dist = self.create_dist() - cmd = config(dist) - cmd._clean(f1, f2) - - for f in (f1, f2): - assert not os.path.exists(f) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_core.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_core.py deleted file mode 100644 index bad3fb7e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_core.py +++ /dev/null @@ -1,130 +0,0 @@ -"""Tests for distutils.core.""" - -import distutils.core -import io -import os -import sys -from distutils.dist import Distribution - -import pytest - -# setup script that uses __file__ -setup_using___file__ = """\ - -__file__ - -from distutils.core import setup -setup() -""" - -setup_prints_cwd = """\ - -import os -print(os.getcwd()) - -from distutils.core import setup -setup() -""" - -setup_does_nothing = """\ -from distutils.core import setup -setup() -""" - - -setup_defines_subclass = """\ -from distutils.core import setup -from distutils.command.install import install as _install - -class install(_install): - sub_commands = _install.sub_commands + ['cmd'] - -setup(cmdclass={'install': install}) -""" - -setup_within_if_main = """\ -from distutils.core import setup - -def main(): - return setup(name="setup_within_if_main") - -if __name__ == "__main__": - main() -""" - - -@pytest.fixture(autouse=True) -def save_stdout(monkeypatch): - monkeypatch.setattr(sys, 'stdout', sys.stdout) - - -@pytest.fixture -def temp_file(tmp_path): - return tmp_path / 'file' - - -@pytest.mark.usefixtures('save_env') -@pytest.mark.usefixtures('save_argv') -class TestCore: - def test_run_setup_provides_file(self, temp_file): - # Make sure the script can use __file__; if that's missing, the test - # setup.py script will raise NameError. - temp_file.write_text(setup_using___file__, encoding='utf-8') - distutils.core.run_setup(temp_file) - - def test_run_setup_preserves_sys_argv(self, temp_file): - # Make sure run_setup does not clobber sys.argv - argv_copy = sys.argv.copy() - temp_file.write_text(setup_does_nothing, encoding='utf-8') - distutils.core.run_setup(temp_file) - assert sys.argv == argv_copy - - def test_run_setup_defines_subclass(self, temp_file): - # Make sure the script can use __file__; if that's missing, the test - # setup.py script will raise NameError. - temp_file.write_text(setup_defines_subclass, encoding='utf-8') - dist = distutils.core.run_setup(temp_file) - install = dist.get_command_obj('install') - assert 'cmd' in install.sub_commands - - def test_run_setup_uses_current_dir(self, tmp_path): - """ - Test that the setup script is run with the current directory - as its own current directory. - """ - sys.stdout = io.StringIO() - cwd = os.getcwd() - - # Create a directory and write the setup.py file there: - setup_py = tmp_path / 'setup.py' - setup_py.write_text(setup_prints_cwd, encoding='utf-8') - distutils.core.run_setup(setup_py) - - output = sys.stdout.getvalue() - if output.endswith("\n"): - output = output[:-1] - assert cwd == output - - def test_run_setup_within_if_main(self, temp_file): - temp_file.write_text(setup_within_if_main, encoding='utf-8') - dist = distutils.core.run_setup(temp_file, stop_after="config") - assert isinstance(dist, Distribution) - assert dist.get_name() == "setup_within_if_main" - - def test_run_commands(self, temp_file): - sys.argv = ['setup.py', 'build'] - temp_file.write_text(setup_within_if_main, encoding='utf-8') - dist = distutils.core.run_setup(temp_file, stop_after="commandline") - assert 'build' not in dist.have_run - distutils.core.run_commands(dist) - assert 'build' in dist.have_run - - def test_debug_mode(self, capsys, monkeypatch): - # this covers the code called when DEBUG is set - sys.argv = ['setup.py', '--name'] - distutils.core.setup(name='bar') - assert capsys.readouterr().out == 'bar\n' - monkeypatch.setattr(distutils.core, 'DEBUG', True) - distutils.core.setup(name='bar') - wanted = "options (after parsing config files):\n" - assert capsys.readouterr().out.startswith(wanted) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py deleted file mode 100644 index 677bc0ac..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_cygwinccompiler.py +++ /dev/null @@ -1,81 +0,0 @@ -"""Tests for distutils.cygwinccompiler.""" - -import os -import sys -from distutils import sysconfig -from distutils.cygwinccompiler import ( - CONFIG_H_NOTOK, - CONFIG_H_OK, - CONFIG_H_UNCERTAIN, - check_config_h, - get_msvcr, -) -from distutils.tests import support - -import pytest - - -@pytest.fixture(autouse=True) -def stuff(request, monkeypatch, distutils_managed_tempdir): - self = request.instance - self.python_h = os.path.join(self.mkdtemp(), 'python.h') - monkeypatch.setattr(sysconfig, 'get_config_h_filename', self._get_config_h_filename) - monkeypatch.setattr(sys, 'version', sys.version) - - -class TestCygwinCCompiler(support.TempdirManager): - def _get_config_h_filename(self): - return self.python_h - - @pytest.mark.skipif('sys.platform != "cygwin"') - @pytest.mark.skipif('not os.path.exists("/usr/lib/libbash.dll.a")') - def test_find_library_file(self): - from distutils.cygwinccompiler import CygwinCCompiler - - compiler = CygwinCCompiler() - link_name = "bash" - linkable_file = compiler.find_library_file(["/usr/lib"], link_name) - assert linkable_file is not None - assert os.path.exists(linkable_file) - assert linkable_file == f"/usr/lib/lib{link_name:s}.dll.a" - - @pytest.mark.skipif('sys.platform != "cygwin"') - def test_runtime_library_dir_option(self): - from distutils.cygwinccompiler import CygwinCCompiler - - compiler = CygwinCCompiler() - assert compiler.runtime_library_dir_option('/foo') == [] - - def test_check_config_h(self): - # check_config_h looks for "GCC" in sys.version first - # returns CONFIG_H_OK if found - sys.version = ( - '2.6.1 (r261:67515, Dec 6 2008, 16:42:21) \n[GCC ' - '4.0.1 (Apple Computer, Inc. build 5370)]' - ) - - assert check_config_h()[0] == CONFIG_H_OK - - # then it tries to see if it can find "__GNUC__" in pyconfig.h - sys.version = 'something without the *CC word' - - # if the file doesn't exist it returns CONFIG_H_UNCERTAIN - assert check_config_h()[0] == CONFIG_H_UNCERTAIN - - # if it exists but does not contain __GNUC__, it returns CONFIG_H_NOTOK - self.write_file(self.python_h, 'xxx') - assert check_config_h()[0] == CONFIG_H_NOTOK - - # and CONFIG_H_OK if __GNUC__ is found - self.write_file(self.python_h, 'xxx __GNUC__ xxx') - assert check_config_h()[0] == CONFIG_H_OK - - def test_get_msvcr(self): - assert get_msvcr() == [] - - @pytest.mark.skipif('sys.platform != "cygwin"') - def test_dll_libraries_not_none(self): - from distutils.cygwinccompiler import CygwinCCompiler - - compiler = CygwinCCompiler() - assert compiler.dll_libraries is not None diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_dir_util.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_dir_util.py deleted file mode 100644 index fcc37ac5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_dir_util.py +++ /dev/null @@ -1,134 +0,0 @@ -"""Tests for distutils.dir_util.""" - -import os -import pathlib -import stat -import unittest.mock as mock -from distutils import dir_util, errors -from distutils.dir_util import ( - copy_tree, - create_tree, - ensure_relative, - mkpath, - remove_tree, -) -from distutils.tests import support - -import jaraco.path -import path -import pytest - - -@pytest.fixture(autouse=True) -def stuff(request, monkeypatch, distutils_managed_tempdir): - self = request.instance - tmp_dir = self.mkdtemp() - self.root_target = os.path.join(tmp_dir, 'deep') - self.target = os.path.join(self.root_target, 'here') - self.target2 = os.path.join(tmp_dir, 'deep2') - - -class TestDirUtil(support.TempdirManager): - def test_mkpath_remove_tree_verbosity(self, caplog): - mkpath(self.target, verbose=False) - assert not caplog.records - remove_tree(self.root_target, verbose=False) - - mkpath(self.target, verbose=True) - wanted = [f'creating {self.target}'] - assert caplog.messages == wanted - caplog.clear() - - remove_tree(self.root_target, verbose=True) - wanted = [f"removing '{self.root_target}' (and everything under it)"] - assert caplog.messages == wanted - - @pytest.mark.skipif("platform.system() == 'Windows'") - def test_mkpath_with_custom_mode(self): - # Get and set the current umask value for testing mode bits. - umask = os.umask(0o002) - os.umask(umask) - mkpath(self.target, 0o700) - assert stat.S_IMODE(os.stat(self.target).st_mode) == 0o700 & ~umask - mkpath(self.target2, 0o555) - assert stat.S_IMODE(os.stat(self.target2).st_mode) == 0o555 & ~umask - - def test_create_tree_verbosity(self, caplog): - create_tree(self.root_target, ['one', 'two', 'three'], verbose=False) - assert caplog.messages == [] - remove_tree(self.root_target, verbose=False) - - wanted = [f'creating {self.root_target}'] - create_tree(self.root_target, ['one', 'two', 'three'], verbose=True) - assert caplog.messages == wanted - - remove_tree(self.root_target, verbose=False) - - def test_copy_tree_verbosity(self, caplog): - mkpath(self.target, verbose=False) - - copy_tree(self.target, self.target2, verbose=False) - assert caplog.messages == [] - - remove_tree(self.root_target, verbose=False) - - mkpath(self.target, verbose=False) - a_file = path.Path(self.target) / 'ok.txt' - jaraco.path.build({'ok.txt': 'some content'}, self.target) - - wanted = [f'copying {a_file} -> {self.target2}'] - copy_tree(self.target, self.target2, verbose=True) - assert caplog.messages == wanted - - remove_tree(self.root_target, verbose=False) - remove_tree(self.target2, verbose=False) - - def test_copy_tree_skips_nfs_temp_files(self): - mkpath(self.target, verbose=False) - - jaraco.path.build({'ok.txt': 'some content', '.nfs123abc': ''}, self.target) - - copy_tree(self.target, self.target2) - assert os.listdir(self.target2) == ['ok.txt'] - - remove_tree(self.root_target, verbose=False) - remove_tree(self.target2, verbose=False) - - def test_ensure_relative(self): - if os.sep == '/': - assert ensure_relative('/home/foo') == 'home/foo' - assert ensure_relative('some/path') == 'some/path' - else: # \\ - assert ensure_relative('c:\\home\\foo') == 'c:home\\foo' - assert ensure_relative('home\\foo') == 'home\\foo' - - def test_copy_tree_exception_in_listdir(self): - """ - An exception in listdir should raise a DistutilsFileError - """ - with mock.patch("os.listdir", side_effect=OSError()), pytest.raises( - errors.DistutilsFileError - ): - src = self.tempdirs[-1] - dir_util.copy_tree(src, None) - - def test_mkpath_exception_uncached(self, monkeypatch, tmp_path): - """ - Caching should not remember failed attempts. - - pypa/distutils#304 - """ - - class FailPath(pathlib.Path): - def mkdir(self, *args, **kwargs): - raise OSError("Failed to create directory") - - target = tmp_path / 'foodir' - - with pytest.raises(errors.DistutilsFileError): - mkpath(FailPath(target)) - - assert not target.exists() - - mkpath(target) - assert target.exists() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_dist.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_dist.py deleted file mode 100644 index 4d78a198..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_dist.py +++ /dev/null @@ -1,545 +0,0 @@ -"""Tests for distutils.dist.""" - -import email -import email.generator -import email.policy -import functools -import io -import os -import sys -import textwrap -import unittest.mock as mock -import warnings -from distutils.cmd import Command -from distutils.dist import Distribution, fix_help_options -from distutils.tests import support - -import jaraco.path -import pytest - -pydistutils_cfg = '.' * (os.name == 'posix') + 'pydistutils.cfg' - - -class test_dist(Command): - """Sample distutils extension command.""" - - user_options = [ - ("sample-option=", "S", "help text"), - ] - - def initialize_options(self): - self.sample_option = None - - -class TestDistribution(Distribution): - """Distribution subclasses that avoids the default search for - configuration files. - - The ._config_files attribute must be set before - .parse_config_files() is called. - """ - - def find_config_files(self): - return self._config_files - - -@pytest.fixture -def clear_argv(): - del sys.argv[1:] - - -@support.combine_markers -@pytest.mark.usefixtures('save_env') -@pytest.mark.usefixtures('save_argv') -class TestDistributionBehavior(support.TempdirManager): - def create_distribution(self, configfiles=()): - d = TestDistribution() - d._config_files = configfiles - d.parse_config_files() - d.parse_command_line() - return d - - def test_command_packages_unspecified(self, clear_argv): - sys.argv.append("build") - d = self.create_distribution() - assert d.get_command_packages() == ["distutils.command"] - - def test_command_packages_cmdline(self, clear_argv): - from distutils.tests.test_dist import test_dist - - sys.argv.extend([ - "--command-packages", - "foo.bar,distutils.tests", - "test_dist", - "-Ssometext", - ]) - d = self.create_distribution() - # let's actually try to load our test command: - assert d.get_command_packages() == [ - "distutils.command", - "foo.bar", - "distutils.tests", - ] - cmd = d.get_command_obj("test_dist") - assert isinstance(cmd, test_dist) - assert cmd.sample_option == "sometext" - - @pytest.mark.skipif( - 'distutils' not in Distribution.parse_config_files.__module__, - reason='Cannot test when virtualenv has monkey-patched Distribution', - ) - def test_venv_install_options(self, tmp_path, clear_argv): - sys.argv.append("install") - file = str(tmp_path / 'file') - - fakepath = '/somedir' - - jaraco.path.build({ - file: f""" - [install] - install-base = {fakepath} - install-platbase = {fakepath} - install-lib = {fakepath} - install-platlib = {fakepath} - install-purelib = {fakepath} - install-headers = {fakepath} - install-scripts = {fakepath} - install-data = {fakepath} - prefix = {fakepath} - exec-prefix = {fakepath} - home = {fakepath} - user = {fakepath} - root = {fakepath} - """, - }) - - # Base case: Not in a Virtual Environment - with mock.patch.multiple(sys, prefix='/a', base_prefix='/a'): - d = self.create_distribution([file]) - - option_tuple = (file, fakepath) - - result_dict = { - 'install_base': option_tuple, - 'install_platbase': option_tuple, - 'install_lib': option_tuple, - 'install_platlib': option_tuple, - 'install_purelib': option_tuple, - 'install_headers': option_tuple, - 'install_scripts': option_tuple, - 'install_data': option_tuple, - 'prefix': option_tuple, - 'exec_prefix': option_tuple, - 'home': option_tuple, - 'user': option_tuple, - 'root': option_tuple, - } - - assert sorted(d.command_options.get('install').keys()) == sorted( - result_dict.keys() - ) - - for key, value in d.command_options.get('install').items(): - assert value == result_dict[key] - - # Test case: In a Virtual Environment - with mock.patch.multiple(sys, prefix='/a', base_prefix='/b'): - d = self.create_distribution([file]) - - for key in result_dict.keys(): - assert key not in d.command_options.get('install', {}) - - def test_command_packages_configfile(self, tmp_path, clear_argv): - sys.argv.append("build") - file = str(tmp_path / "file") - jaraco.path.build({ - file: """ - [global] - command_packages = foo.bar, splat - """, - }) - - d = self.create_distribution([file]) - assert d.get_command_packages() == ["distutils.command", "foo.bar", "splat"] - - # ensure command line overrides config: - sys.argv[1:] = ["--command-packages", "spork", "build"] - d = self.create_distribution([file]) - assert d.get_command_packages() == ["distutils.command", "spork"] - - # Setting --command-packages to '' should cause the default to - # be used even if a config file specified something else: - sys.argv[1:] = ["--command-packages", "", "build"] - d = self.create_distribution([file]) - assert d.get_command_packages() == ["distutils.command"] - - def test_empty_options(self, request): - # an empty options dictionary should not stay in the - # list of attributes - - # catching warnings - warns = [] - - def _warn(msg): - warns.append(msg) - - request.addfinalizer( - functools.partial(setattr, warnings, 'warn', warnings.warn) - ) - warnings.warn = _warn - dist = Distribution( - attrs={ - 'author': 'xxx', - 'name': 'xxx', - 'version': 'xxx', - 'url': 'xxxx', - 'options': {}, - } - ) - - assert len(warns) == 0 - assert 'options' not in dir(dist) - - def test_finalize_options(self): - attrs = {'keywords': 'one,two', 'platforms': 'one,two'} - - dist = Distribution(attrs=attrs) - dist.finalize_options() - - # finalize_option splits platforms and keywords - assert dist.metadata.platforms == ['one', 'two'] - assert dist.metadata.keywords == ['one', 'two'] - - attrs = {'keywords': 'foo bar', 'platforms': 'foo bar'} - dist = Distribution(attrs=attrs) - dist.finalize_options() - assert dist.metadata.platforms == ['foo bar'] - assert dist.metadata.keywords == ['foo bar'] - - def test_get_command_packages(self): - dist = Distribution() - assert dist.command_packages is None - cmds = dist.get_command_packages() - assert cmds == ['distutils.command'] - assert dist.command_packages == ['distutils.command'] - - dist.command_packages = 'one,two' - cmds = dist.get_command_packages() - assert cmds == ['distutils.command', 'one', 'two'] - - def test_announce(self): - # make sure the level is known - dist = Distribution() - with pytest.raises(TypeError): - dist.announce('ok', level='ok2') - - def test_find_config_files_disable(self, temp_home): - # Ticket #1180: Allow user to disable their home config file. - jaraco.path.build({pydistutils_cfg: '[distutils]\n'}, temp_home) - - d = Distribution() - all_files = d.find_config_files() - - d = Distribution(attrs={'script_args': ['--no-user-cfg']}) - files = d.find_config_files() - - # make sure --no-user-cfg disables the user cfg file - assert len(all_files) - 1 == len(files) - - @pytest.mark.skipif( - 'platform.system() == "Windows"', - reason='Windows does not honor chmod 000', - ) - def test_find_config_files_permission_error(self, fake_home): - """ - Finding config files should not fail when directory is inaccessible. - """ - fake_home.joinpath(pydistutils_cfg).write_text('', encoding='utf-8') - fake_home.chmod(0o000) - Distribution().find_config_files() - - -@pytest.mark.usefixtures('save_env') -@pytest.mark.usefixtures('save_argv') -class TestMetadata(support.TempdirManager): - def format_metadata(self, dist): - sio = io.StringIO() - dist.metadata.write_pkg_file(sio) - return sio.getvalue() - - def test_simple_metadata(self): - attrs = {"name": "package", "version": "1.0"} - dist = Distribution(attrs) - meta = self.format_metadata(dist) - assert "Metadata-Version: 1.0" in meta - assert "provides:" not in meta.lower() - assert "requires:" not in meta.lower() - assert "obsoletes:" not in meta.lower() - - def test_provides(self): - attrs = { - "name": "package", - "version": "1.0", - "provides": ["package", "package.sub"], - } - dist = Distribution(attrs) - assert dist.metadata.get_provides() == ["package", "package.sub"] - assert dist.get_provides() == ["package", "package.sub"] - meta = self.format_metadata(dist) - assert "Metadata-Version: 1.1" in meta - assert "requires:" not in meta.lower() - assert "obsoletes:" not in meta.lower() - - def test_provides_illegal(self): - with pytest.raises(ValueError): - Distribution( - {"name": "package", "version": "1.0", "provides": ["my.pkg (splat)"]}, - ) - - def test_requires(self): - attrs = { - "name": "package", - "version": "1.0", - "requires": ["other", "another (==1.0)"], - } - dist = Distribution(attrs) - assert dist.metadata.get_requires() == ["other", "another (==1.0)"] - assert dist.get_requires() == ["other", "another (==1.0)"] - meta = self.format_metadata(dist) - assert "Metadata-Version: 1.1" in meta - assert "provides:" not in meta.lower() - assert "Requires: other" in meta - assert "Requires: another (==1.0)" in meta - assert "obsoletes:" not in meta.lower() - - def test_requires_illegal(self): - with pytest.raises(ValueError): - Distribution( - {"name": "package", "version": "1.0", "requires": ["my.pkg (splat)"]}, - ) - - def test_requires_to_list(self): - attrs = {"name": "package", "requires": iter(["other"])} - dist = Distribution(attrs) - assert isinstance(dist.metadata.requires, list) - - def test_obsoletes(self): - attrs = { - "name": "package", - "version": "1.0", - "obsoletes": ["other", "another (<1.0)"], - } - dist = Distribution(attrs) - assert dist.metadata.get_obsoletes() == ["other", "another (<1.0)"] - assert dist.get_obsoletes() == ["other", "another (<1.0)"] - meta = self.format_metadata(dist) - assert "Metadata-Version: 1.1" in meta - assert "provides:" not in meta.lower() - assert "requires:" not in meta.lower() - assert "Obsoletes: other" in meta - assert "Obsoletes: another (<1.0)" in meta - - def test_obsoletes_illegal(self): - with pytest.raises(ValueError): - Distribution( - {"name": "package", "version": "1.0", "obsoletes": ["my.pkg (splat)"]}, - ) - - def test_obsoletes_to_list(self): - attrs = {"name": "package", "obsoletes": iter(["other"])} - dist = Distribution(attrs) - assert isinstance(dist.metadata.obsoletes, list) - - def test_classifier(self): - attrs = { - 'name': 'Boa', - 'version': '3.0', - 'classifiers': ['Programming Language :: Python :: 3'], - } - dist = Distribution(attrs) - assert dist.get_classifiers() == ['Programming Language :: Python :: 3'] - meta = self.format_metadata(dist) - assert 'Metadata-Version: 1.1' in meta - - def test_classifier_invalid_type(self, caplog): - attrs = { - 'name': 'Boa', - 'version': '3.0', - 'classifiers': ('Programming Language :: Python :: 3',), - } - d = Distribution(attrs) - # should have warning about passing a non-list - assert 'should be a list' in caplog.messages[0] - # should be converted to a list - assert isinstance(d.metadata.classifiers, list) - assert d.metadata.classifiers == list(attrs['classifiers']) - - def test_keywords(self): - attrs = { - 'name': 'Monty', - 'version': '1.0', - 'keywords': ['spam', 'eggs', 'life of brian'], - } - dist = Distribution(attrs) - assert dist.get_keywords() == ['spam', 'eggs', 'life of brian'] - - def test_keywords_invalid_type(self, caplog): - attrs = { - 'name': 'Monty', - 'version': '1.0', - 'keywords': ('spam', 'eggs', 'life of brian'), - } - d = Distribution(attrs) - # should have warning about passing a non-list - assert 'should be a list' in caplog.messages[0] - # should be converted to a list - assert isinstance(d.metadata.keywords, list) - assert d.metadata.keywords == list(attrs['keywords']) - - def test_platforms(self): - attrs = { - 'name': 'Monty', - 'version': '1.0', - 'platforms': ['GNU/Linux', 'Some Evil Platform'], - } - dist = Distribution(attrs) - assert dist.get_platforms() == ['GNU/Linux', 'Some Evil Platform'] - - def test_platforms_invalid_types(self, caplog): - attrs = { - 'name': 'Monty', - 'version': '1.0', - 'platforms': ('GNU/Linux', 'Some Evil Platform'), - } - d = Distribution(attrs) - # should have warning about passing a non-list - assert 'should be a list' in caplog.messages[0] - # should be converted to a list - assert isinstance(d.metadata.platforms, list) - assert d.metadata.platforms == list(attrs['platforms']) - - def test_download_url(self): - attrs = { - 'name': 'Boa', - 'version': '3.0', - 'download_url': 'http://example.org/boa', - } - dist = Distribution(attrs) - meta = self.format_metadata(dist) - assert 'Metadata-Version: 1.1' in meta - - def test_long_description(self): - long_desc = textwrap.dedent( - """\ - example:: - We start here - and continue here - and end here.""" - ) - attrs = {"name": "package", "version": "1.0", "long_description": long_desc} - - dist = Distribution(attrs) - meta = self.format_metadata(dist) - meta = meta.replace('\n' + 8 * ' ', '\n') - assert long_desc in meta - - def test_custom_pydistutils(self, temp_home): - """ - pydistutils.cfg is found - """ - jaraco.path.build({pydistutils_cfg: ''}, temp_home) - config_path = temp_home / pydistutils_cfg - - assert str(config_path) in Distribution().find_config_files() - - def test_extra_pydistutils(self, monkeypatch, tmp_path): - jaraco.path.build({'overrides.cfg': ''}, tmp_path) - filename = tmp_path / 'overrides.cfg' - monkeypatch.setenv('DIST_EXTRA_CONFIG', str(filename)) - assert str(filename) in Distribution().find_config_files() - - def test_fix_help_options(self): - help_tuples = [('a', 'b', 'c', 'd'), (1, 2, 3, 4)] - fancy_options = fix_help_options(help_tuples) - assert fancy_options[0] == ('a', 'b', 'c') - assert fancy_options[1] == (1, 2, 3) - - def test_show_help(self, request, capsys): - # smoke test, just makes sure some help is displayed - dist = Distribution() - sys.argv = [] - dist.help = True - dist.script_name = 'setup.py' - dist.parse_command_line() - - output = [ - line for line in capsys.readouterr().out.split('\n') if line.strip() != '' - ] - assert output - - def test_read_metadata(self): - attrs = { - "name": "package", - "version": "1.0", - "long_description": "desc", - "description": "xxx", - "download_url": "http://example.com", - "keywords": ['one', 'two'], - "requires": ['foo'], - } - - dist = Distribution(attrs) - metadata = dist.metadata - - # write it then reloads it - PKG_INFO = io.StringIO() - metadata.write_pkg_file(PKG_INFO) - PKG_INFO.seek(0) - metadata.read_pkg_file(PKG_INFO) - - assert metadata.name == "package" - assert metadata.version == "1.0" - assert metadata.description == "xxx" - assert metadata.download_url == 'http://example.com' - assert metadata.keywords == ['one', 'two'] - assert metadata.platforms is None - assert metadata.obsoletes is None - assert metadata.requires == ['foo'] - - def test_round_trip_through_email_generator(self): - """ - In pypa/setuptools#4033, it was shown that once PKG-INFO is - re-generated using ``email.generator.Generator``, some control - characters might cause problems. - """ - # Given a PKG-INFO file ... - attrs = { - "name": "package", - "version": "1.0", - "long_description": "hello\x0b\nworld\n", - } - dist = Distribution(attrs) - metadata = dist.metadata - - with io.StringIO() as buffer: - metadata.write_pkg_file(buffer) - msg = buffer.getvalue() - - # ... when it is read and re-written using stdlib's email library, - orig = email.message_from_string(msg) - policy = email.policy.EmailPolicy( - utf8=True, - mangle_from_=False, - max_line_length=0, - ) - with io.StringIO() as buffer: - email.generator.Generator(buffer, policy=policy).flatten(orig) - - buffer.seek(0) - regen = email.message_from_file(buffer) - - # ... then it should be the same as the original - # (except for the specific line break characters) - orig_desc = set(orig["Description"].splitlines()) - regen_desc = set(regen["Description"].splitlines()) - assert regen_desc == orig_desc diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_extension.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_extension.py deleted file mode 100644 index 41872e04..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_extension.py +++ /dev/null @@ -1,108 +0,0 @@ -"""Tests for distutils.extension.""" - -import os -import pathlib -import warnings -from distutils.extension import Extension, read_setup_file - -import pytest - -from .compat.py38 import check_warnings - - -class TestExtension: - def test_read_setup_file(self): - # trying to read a Setup file - # (sample extracted from the PyGame project) - setup = os.path.join(os.path.dirname(__file__), 'Setup.sample') - - exts = read_setup_file(setup) - names = [ext.name for ext in exts] - names.sort() - - # here are the extensions read_setup_file should have created - # out of the file - wanted = [ - '_arraysurfarray', - '_camera', - '_numericsndarray', - '_numericsurfarray', - 'base', - 'bufferproxy', - 'cdrom', - 'color', - 'constants', - 'display', - 'draw', - 'event', - 'fastevent', - 'font', - 'gfxdraw', - 'image', - 'imageext', - 'joystick', - 'key', - 'mask', - 'mixer', - 'mixer_music', - 'mouse', - 'movie', - 'overlay', - 'pixelarray', - 'pypm', - 'rect', - 'rwobject', - 'scrap', - 'surface', - 'surflock', - 'time', - 'transform', - ] - - assert names == wanted - - def test_extension_init(self): - # the first argument, which is the name, must be a string - with pytest.raises(AssertionError): - Extension(1, []) - ext = Extension('name', []) - assert ext.name == 'name' - - # the second argument, which is the list of files, must - # be a list of strings or PathLike objects - with pytest.raises(AssertionError): - Extension('name', 'file') - with pytest.raises(AssertionError): - Extension('name', ['file', 1]) - ext = Extension('name', ['file1', 'file2']) - assert ext.sources == ['file1', 'file2'] - ext = Extension('name', [pathlib.Path('file1'), pathlib.Path('file2')]) - assert ext.sources == ['file1', 'file2'] - - # others arguments have defaults - for attr in ( - 'include_dirs', - 'define_macros', - 'undef_macros', - 'library_dirs', - 'libraries', - 'runtime_library_dirs', - 'extra_objects', - 'extra_compile_args', - 'extra_link_args', - 'export_symbols', - 'swig_opts', - 'depends', - ): - assert getattr(ext, attr) == [] - - assert ext.language is None - assert ext.optional is None - - # if there are unknown keyword options, warn about them - with check_warnings() as w: - warnings.simplefilter('always') - ext = Extension('name', ['file1', 'file2'], chic=True) - - assert len(w.warnings) == 1 - assert str(w.warnings[0].message) == "Unknown Extension options: 'chic'" diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_file_util.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_file_util.py deleted file mode 100644 index 85ac2136..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_file_util.py +++ /dev/null @@ -1,94 +0,0 @@ -"""Tests for distutils.file_util.""" - -import errno -import os -import unittest.mock as mock -from distutils.errors import DistutilsFileError -from distutils.file_util import copy_file, move_file - -import jaraco.path -import pytest - - -@pytest.fixture(autouse=True) -def stuff(request, tmp_path): - self = request.instance - self.source = tmp_path / 'f1' - self.target = tmp_path / 'f2' - self.target_dir = tmp_path / 'd1' - - -class TestFileUtil: - def test_move_file_verbosity(self, caplog): - jaraco.path.build({self.source: 'some content'}) - - move_file(self.source, self.target, verbose=False) - assert not caplog.messages - - # back to original state - move_file(self.target, self.source, verbose=False) - - move_file(self.source, self.target, verbose=True) - wanted = [f'moving {self.source} -> {self.target}'] - assert caplog.messages == wanted - - # back to original state - move_file(self.target, self.source, verbose=False) - - caplog.clear() - # now the target is a dir - os.mkdir(self.target_dir) - move_file(self.source, self.target_dir, verbose=True) - wanted = [f'moving {self.source} -> {self.target_dir}'] - assert caplog.messages == wanted - - def test_move_file_exception_unpacking_rename(self): - # see issue 22182 - with mock.patch("os.rename", side_effect=OSError("wrong", 1)), pytest.raises( - DistutilsFileError - ): - jaraco.path.build({self.source: 'spam eggs'}) - move_file(self.source, self.target, verbose=False) - - def test_move_file_exception_unpacking_unlink(self): - # see issue 22182 - with mock.patch( - "os.rename", side_effect=OSError(errno.EXDEV, "wrong") - ), mock.patch("os.unlink", side_effect=OSError("wrong", 1)), pytest.raises( - DistutilsFileError - ): - jaraco.path.build({self.source: 'spam eggs'}) - move_file(self.source, self.target, verbose=False) - - def test_copy_file_hard_link(self): - jaraco.path.build({self.source: 'some content'}) - # Check first that copy_file() will not fall back on copying the file - # instead of creating the hard link. - try: - os.link(self.source, self.target) - except OSError as e: - self.skipTest(f'os.link: {e}') - else: - self.target.unlink() - st = os.stat(self.source) - copy_file(self.source, self.target, link='hard') - st2 = os.stat(self.source) - st3 = os.stat(self.target) - assert os.path.samestat(st, st2), (st, st2) - assert os.path.samestat(st2, st3), (st2, st3) - assert self.source.read_text(encoding='utf-8') == 'some content' - - def test_copy_file_hard_link_failure(self): - # If hard linking fails, copy_file() falls back on copying file - # (some special filesystems don't support hard linking even under - # Unix, see issue #8876). - jaraco.path.build({self.source: 'some content'}) - st = os.stat(self.source) - with mock.patch("os.link", side_effect=OSError(0, "linking unsupported")): - copy_file(self.source, self.target, link='hard') - st2 = os.stat(self.source) - st3 = os.stat(self.target) - assert os.path.samestat(st, st2), (st, st2) - assert not os.path.samestat(st2, st3), (st2, st3) - for fn in (self.source, self.target): - assert fn.read_text(encoding='utf-8') == 'some content' diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_filelist.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_filelist.py deleted file mode 100644 index ec7e5cf3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_filelist.py +++ /dev/null @@ -1,336 +0,0 @@ -"""Tests for distutils.filelist.""" - -import logging -import os -import re -from distutils import debug, filelist -from distutils.errors import DistutilsTemplateError -from distutils.filelist import FileList, glob_to_re, translate_pattern - -import jaraco.path -import pytest - -from .compat import py38 as os_helper - -MANIFEST_IN = """\ -include ok -include xo -exclude xo -include foo.tmp -include buildout.cfg -global-include *.x -global-include *.txt -global-exclude *.tmp -recursive-include f *.oo -recursive-exclude global *.x -graft dir -prune dir3 -""" - - -def make_local_path(s): - """Converts '/' in a string to os.sep""" - return s.replace('/', os.sep) - - -class TestFileList: - def assertNoWarnings(self, caplog): - warnings = [rec for rec in caplog.records if rec.levelno == logging.WARNING] - assert not warnings - caplog.clear() - - def assertWarnings(self, caplog): - warnings = [rec for rec in caplog.records if rec.levelno == logging.WARNING] - assert warnings - caplog.clear() - - def test_glob_to_re(self): - sep = os.sep - if os.sep == '\\': - sep = re.escape(os.sep) - - for glob, regex in ( - # simple cases - ('foo*', r'(?s:foo[^%(sep)s]*)\Z'), - ('foo?', r'(?s:foo[^%(sep)s])\Z'), - ('foo??', r'(?s:foo[^%(sep)s][^%(sep)s])\Z'), - # special cases - (r'foo\\*', r'(?s:foo\\\\[^%(sep)s]*)\Z'), - (r'foo\\\*', r'(?s:foo\\\\\\[^%(sep)s]*)\Z'), - ('foo????', r'(?s:foo[^%(sep)s][^%(sep)s][^%(sep)s][^%(sep)s])\Z'), - (r'foo\\??', r'(?s:foo\\\\[^%(sep)s][^%(sep)s])\Z'), - ): - regex = regex % {'sep': sep} - assert glob_to_re(glob) == regex - - def test_process_template_line(self): - # testing all MANIFEST.in template patterns - file_list = FileList() - mlp = make_local_path - - # simulated file list - file_list.allfiles = [ - 'foo.tmp', - 'ok', - 'xo', - 'four.txt', - 'buildout.cfg', - # filelist does not filter out VCS directories, - # it's sdist that does - mlp('.hg/last-message.txt'), - mlp('global/one.txt'), - mlp('global/two.txt'), - mlp('global/files.x'), - mlp('global/here.tmp'), - mlp('f/o/f.oo'), - mlp('dir/graft-one'), - mlp('dir/dir2/graft2'), - mlp('dir3/ok'), - mlp('dir3/sub/ok.txt'), - ] - - for line in MANIFEST_IN.split('\n'): - if line.strip() == '': - continue - file_list.process_template_line(line) - - wanted = [ - 'ok', - 'buildout.cfg', - 'four.txt', - mlp('.hg/last-message.txt'), - mlp('global/one.txt'), - mlp('global/two.txt'), - mlp('f/o/f.oo'), - mlp('dir/graft-one'), - mlp('dir/dir2/graft2'), - ] - - assert file_list.files == wanted - - def test_debug_print(self, capsys, monkeypatch): - file_list = FileList() - file_list.debug_print('xxx') - assert capsys.readouterr().out == '' - - monkeypatch.setattr(debug, 'DEBUG', True) - file_list.debug_print('xxx') - assert capsys.readouterr().out == 'xxx\n' - - def test_set_allfiles(self): - file_list = FileList() - files = ['a', 'b', 'c'] - file_list.set_allfiles(files) - assert file_list.allfiles == files - - def test_remove_duplicates(self): - file_list = FileList() - file_list.files = ['a', 'b', 'a', 'g', 'c', 'g'] - # files must be sorted beforehand (sdist does it) - file_list.sort() - file_list.remove_duplicates() - assert file_list.files == ['a', 'b', 'c', 'g'] - - def test_translate_pattern(self): - # not regex - assert hasattr(translate_pattern('a', anchor=True, is_regex=False), 'search') - - # is a regex - regex = re.compile('a') - assert translate_pattern(regex, anchor=True, is_regex=True) == regex - - # plain string flagged as regex - assert hasattr(translate_pattern('a', anchor=True, is_regex=True), 'search') - - # glob support - assert translate_pattern('*.py', anchor=True, is_regex=False).search( - 'filelist.py' - ) - - def test_exclude_pattern(self): - # return False if no match - file_list = FileList() - assert not file_list.exclude_pattern('*.py') - - # return True if files match - file_list = FileList() - file_list.files = ['a.py', 'b.py'] - assert file_list.exclude_pattern('*.py') - - # test excludes - file_list = FileList() - file_list.files = ['a.py', 'a.txt'] - file_list.exclude_pattern('*.py') - assert file_list.files == ['a.txt'] - - def test_include_pattern(self): - # return False if no match - file_list = FileList() - file_list.set_allfiles([]) - assert not file_list.include_pattern('*.py') - - # return True if files match - file_list = FileList() - file_list.set_allfiles(['a.py', 'b.txt']) - assert file_list.include_pattern('*.py') - - # test * matches all files - file_list = FileList() - assert file_list.allfiles is None - file_list.set_allfiles(['a.py', 'b.txt']) - file_list.include_pattern('*') - assert file_list.allfiles == ['a.py', 'b.txt'] - - def test_process_template(self, caplog): - mlp = make_local_path - # invalid lines - file_list = FileList() - for action in ( - 'include', - 'exclude', - 'global-include', - 'global-exclude', - 'recursive-include', - 'recursive-exclude', - 'graft', - 'prune', - 'blarg', - ): - with pytest.raises(DistutilsTemplateError): - file_list.process_template_line(action) - - # include - file_list = FileList() - file_list.set_allfiles(['a.py', 'b.txt', mlp('d/c.py')]) - - file_list.process_template_line('include *.py') - assert file_list.files == ['a.py'] - self.assertNoWarnings(caplog) - - file_list.process_template_line('include *.rb') - assert file_list.files == ['a.py'] - self.assertWarnings(caplog) - - # exclude - file_list = FileList() - file_list.files = ['a.py', 'b.txt', mlp('d/c.py')] - - file_list.process_template_line('exclude *.py') - assert file_list.files == ['b.txt', mlp('d/c.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('exclude *.rb') - assert file_list.files == ['b.txt', mlp('d/c.py')] - self.assertWarnings(caplog) - - # global-include - file_list = FileList() - file_list.set_allfiles(['a.py', 'b.txt', mlp('d/c.py')]) - - file_list.process_template_line('global-include *.py') - assert file_list.files == ['a.py', mlp('d/c.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('global-include *.rb') - assert file_list.files == ['a.py', mlp('d/c.py')] - self.assertWarnings(caplog) - - # global-exclude - file_list = FileList() - file_list.files = ['a.py', 'b.txt', mlp('d/c.py')] - - file_list.process_template_line('global-exclude *.py') - assert file_list.files == ['b.txt'] - self.assertNoWarnings(caplog) - - file_list.process_template_line('global-exclude *.rb') - assert file_list.files == ['b.txt'] - self.assertWarnings(caplog) - - # recursive-include - file_list = FileList() - file_list.set_allfiles(['a.py', mlp('d/b.py'), mlp('d/c.txt'), mlp('d/d/e.py')]) - - file_list.process_template_line('recursive-include d *.py') - assert file_list.files == [mlp('d/b.py'), mlp('d/d/e.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('recursive-include e *.py') - assert file_list.files == [mlp('d/b.py'), mlp('d/d/e.py')] - self.assertWarnings(caplog) - - # recursive-exclude - file_list = FileList() - file_list.files = ['a.py', mlp('d/b.py'), mlp('d/c.txt'), mlp('d/d/e.py')] - - file_list.process_template_line('recursive-exclude d *.py') - assert file_list.files == ['a.py', mlp('d/c.txt')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('recursive-exclude e *.py') - assert file_list.files == ['a.py', mlp('d/c.txt')] - self.assertWarnings(caplog) - - # graft - file_list = FileList() - file_list.set_allfiles(['a.py', mlp('d/b.py'), mlp('d/d/e.py'), mlp('f/f.py')]) - - file_list.process_template_line('graft d') - assert file_list.files == [mlp('d/b.py'), mlp('d/d/e.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('graft e') - assert file_list.files == [mlp('d/b.py'), mlp('d/d/e.py')] - self.assertWarnings(caplog) - - # prune - file_list = FileList() - file_list.files = ['a.py', mlp('d/b.py'), mlp('d/d/e.py'), mlp('f/f.py')] - - file_list.process_template_line('prune d') - assert file_list.files == ['a.py', mlp('f/f.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('prune e') - assert file_list.files == ['a.py', mlp('f/f.py')] - self.assertWarnings(caplog) - - -class TestFindAll: - @os_helper.skip_unless_symlink - def test_missing_symlink(self, temp_cwd): - os.symlink('foo', 'bar') - assert filelist.findall() == [] - - def test_basic_discovery(self, temp_cwd): - """ - When findall is called with no parameters or with - '.' as the parameter, the dot should be omitted from - the results. - """ - jaraco.path.build({'foo': {'file1.txt': ''}, 'bar': {'file2.txt': ''}}) - file1 = os.path.join('foo', 'file1.txt') - file2 = os.path.join('bar', 'file2.txt') - expected = [file2, file1] - assert sorted(filelist.findall()) == expected - - def test_non_local_discovery(self, tmp_path): - """ - When findall is called with another path, the full - path name should be returned. - """ - jaraco.path.build({'file1.txt': ''}, tmp_path) - expected = [str(tmp_path / 'file1.txt')] - assert filelist.findall(tmp_path) == expected - - @os_helper.skip_unless_symlink - def test_symlink_loop(self, tmp_path): - jaraco.path.build( - { - 'link-to-parent': jaraco.path.Symlink('.'), - 'somefile': '', - }, - tmp_path, - ) - files = filelist.findall(tmp_path) - assert len(files) == 1 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install.py deleted file mode 100644 index b3ffb2e6..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install.py +++ /dev/null @@ -1,245 +0,0 @@ -"""Tests for distutils.command.install.""" - -import logging -import os -import pathlib -import site -import sys -from distutils import sysconfig -from distutils.command import install as install_module -from distutils.command.build_ext import build_ext -from distutils.command.install import INSTALL_SCHEMES, install -from distutils.core import Distribution -from distutils.errors import DistutilsOptionError -from distutils.extension import Extension -from distutils.tests import missing_compiler_executable, support -from distutils.util import is_mingw - -import pytest - - -def _make_ext_name(modname): - return modname + sysconfig.get_config_var('EXT_SUFFIX') - - -@support.combine_markers -@pytest.mark.usefixtures('save_env') -class TestInstall( - support.TempdirManager, -): - @pytest.mark.xfail( - 'platform.system() == "Windows" and sys.version_info > (3, 11)', - reason="pypa/distutils#148", - ) - def test_home_installation_scheme(self): - # This ensure two things: - # - that --home generates the desired set of directory names - # - test --home is supported on all platforms - builddir = self.mkdtemp() - destination = os.path.join(builddir, "installation") - - dist = Distribution({"name": "foopkg"}) - # script_name need not exist, it just need to be initialized - dist.script_name = os.path.join(builddir, "setup.py") - dist.command_obj["build"] = support.DummyCommand( - build_base=builddir, - build_lib=os.path.join(builddir, "lib"), - ) - - cmd = install(dist) - cmd.home = destination - cmd.ensure_finalized() - - assert cmd.install_base == destination - assert cmd.install_platbase == destination - - def check_path(got, expected): - got = os.path.normpath(got) - expected = os.path.normpath(expected) - assert got == expected - - impl_name = sys.implementation.name.replace("cpython", "python") - libdir = os.path.join(destination, "lib", impl_name) - check_path(cmd.install_lib, libdir) - _platlibdir = getattr(sys, "platlibdir", "lib") - platlibdir = os.path.join(destination, _platlibdir, impl_name) - check_path(cmd.install_platlib, platlibdir) - check_path(cmd.install_purelib, libdir) - check_path( - cmd.install_headers, - os.path.join(destination, "include", impl_name, "foopkg"), - ) - check_path(cmd.install_scripts, os.path.join(destination, "bin")) - check_path(cmd.install_data, destination) - - def test_user_site(self, monkeypatch): - # test install with --user - # preparing the environment for the test - self.tmpdir = self.mkdtemp() - orig_site = site.USER_SITE - orig_base = site.USER_BASE - monkeypatch.setattr(site, 'USER_BASE', os.path.join(self.tmpdir, 'B')) - monkeypatch.setattr(site, 'USER_SITE', os.path.join(self.tmpdir, 'S')) - monkeypatch.setattr(install_module, 'USER_BASE', site.USER_BASE) - monkeypatch.setattr(install_module, 'USER_SITE', site.USER_SITE) - - def _expanduser(path): - if path.startswith('~'): - return os.path.normpath(self.tmpdir + path[1:]) - return path - - monkeypatch.setattr(os.path, 'expanduser', _expanduser) - - for key in ('nt_user', 'posix_user'): - assert key in INSTALL_SCHEMES - - dist = Distribution({'name': 'xx'}) - cmd = install(dist) - - # making sure the user option is there - options = [name for name, short, label in cmd.user_options] - assert 'user' in options - - # setting a value - cmd.user = True - - # user base and site shouldn't be created yet - assert not os.path.exists(site.USER_BASE) - assert not os.path.exists(site.USER_SITE) - - # let's run finalize - cmd.ensure_finalized() - - # now they should - assert os.path.exists(site.USER_BASE) - assert os.path.exists(site.USER_SITE) - - assert 'userbase' in cmd.config_vars - assert 'usersite' in cmd.config_vars - - actual_headers = os.path.relpath(cmd.install_headers, site.USER_BASE) - if os.name == 'nt' and not is_mingw(): - site_path = os.path.relpath(os.path.dirname(orig_site), orig_base) - include = os.path.join(site_path, 'Include') - else: - include = sysconfig.get_python_inc(0, '') - expect_headers = os.path.join(include, 'xx') - - assert os.path.normcase(actual_headers) == os.path.normcase(expect_headers) - - def test_handle_extra_path(self): - dist = Distribution({'name': 'xx', 'extra_path': 'path,dirs'}) - cmd = install(dist) - - # two elements - cmd.handle_extra_path() - assert cmd.extra_path == ['path', 'dirs'] - assert cmd.extra_dirs == 'dirs' - assert cmd.path_file == 'path' - - # one element - cmd.extra_path = ['path'] - cmd.handle_extra_path() - assert cmd.extra_path == ['path'] - assert cmd.extra_dirs == 'path' - assert cmd.path_file == 'path' - - # none - dist.extra_path = cmd.extra_path = None - cmd.handle_extra_path() - assert cmd.extra_path is None - assert cmd.extra_dirs == '' - assert cmd.path_file is None - - # three elements (no way !) - cmd.extra_path = 'path,dirs,again' - with pytest.raises(DistutilsOptionError): - cmd.handle_extra_path() - - def test_finalize_options(self): - dist = Distribution({'name': 'xx'}) - cmd = install(dist) - - # must supply either prefix/exec-prefix/home or - # install-base/install-platbase -- not both - cmd.prefix = 'prefix' - cmd.install_base = 'base' - with pytest.raises(DistutilsOptionError): - cmd.finalize_options() - - # must supply either home or prefix/exec-prefix -- not both - cmd.install_base = None - cmd.home = 'home' - with pytest.raises(DistutilsOptionError): - cmd.finalize_options() - - # can't combine user with prefix/exec_prefix/home or - # install_(plat)base - cmd.prefix = None - cmd.user = 'user' - with pytest.raises(DistutilsOptionError): - cmd.finalize_options() - - def test_record(self): - install_dir = self.mkdtemp() - project_dir, dist = self.create_dist(py_modules=['hello'], scripts=['sayhi']) - os.chdir(project_dir) - self.write_file('hello.py', "def main(): print('o hai')") - self.write_file('sayhi', 'from hello import main; main()') - - cmd = install(dist) - dist.command_obj['install'] = cmd - cmd.root = install_dir - cmd.record = os.path.join(project_dir, 'filelist') - cmd.ensure_finalized() - cmd.run() - - content = pathlib.Path(cmd.record).read_text(encoding='utf-8') - - found = [pathlib.Path(line).name for line in content.splitlines()] - expected = [ - 'hello.py', - f'hello.{sys.implementation.cache_tag}.pyc', - 'sayhi', - 'UNKNOWN-0.0.0-py{}.{}.egg-info'.format(*sys.version_info[:2]), - ] - assert found == expected - - def test_record_extensions(self): - cmd = missing_compiler_executable() - if cmd is not None: - pytest.skip(f'The {cmd!r} command is not found') - install_dir = self.mkdtemp() - project_dir, dist = self.create_dist( - ext_modules=[Extension('xx', ['xxmodule.c'])] - ) - os.chdir(project_dir) - support.copy_xxmodule_c(project_dir) - - buildextcmd = build_ext(dist) - support.fixup_build_ext(buildextcmd) - buildextcmd.ensure_finalized() - - cmd = install(dist) - dist.command_obj['install'] = cmd - dist.command_obj['build_ext'] = buildextcmd - cmd.root = install_dir - cmd.record = os.path.join(project_dir, 'filelist') - cmd.ensure_finalized() - cmd.run() - - content = pathlib.Path(cmd.record).read_text(encoding='utf-8') - - found = [pathlib.Path(line).name for line in content.splitlines()] - expected = [ - _make_ext_name('xx'), - 'UNKNOWN-0.0.0-py{}.{}.egg-info'.format(*sys.version_info[:2]), - ] - assert found == expected - - def test_debug_mode(self, caplog, monkeypatch): - # this covers the code called when DEBUG is set - monkeypatch.setattr(install_module, 'DEBUG', True) - caplog.set_level(logging.DEBUG) - self.test_record() - assert any(rec for rec in caplog.records if rec.levelno == logging.DEBUG) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_data.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_data.py deleted file mode 100644 index c800f86c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_data.py +++ /dev/null @@ -1,74 +0,0 @@ -"""Tests for distutils.command.install_data.""" - -import os -import pathlib -from distutils.command.install_data import install_data -from distutils.tests import support - -import pytest - - -@pytest.mark.usefixtures('save_env') -class TestInstallData( - support.TempdirManager, -): - def test_simple_run(self): - pkg_dir, dist = self.create_dist() - cmd = install_data(dist) - cmd.install_dir = inst = os.path.join(pkg_dir, 'inst') - - # data_files can contain - # - simple files - # - a Path object - # - a tuple with a path, and a list of file - one = os.path.join(pkg_dir, 'one') - self.write_file(one, 'xxx') - inst2 = os.path.join(pkg_dir, 'inst2') - two = os.path.join(pkg_dir, 'two') - self.write_file(two, 'xxx') - three = pathlib.Path(pkg_dir) / 'three' - self.write_file(three, 'xxx') - - cmd.data_files = [one, (inst2, [two]), three] - assert cmd.get_inputs() == [one, (inst2, [two]), three] - - # let's run the command - cmd.ensure_finalized() - cmd.run() - - # let's check the result - assert len(cmd.get_outputs()) == 3 - rthree = os.path.split(one)[-1] - assert os.path.exists(os.path.join(inst, rthree)) - rtwo = os.path.split(two)[-1] - assert os.path.exists(os.path.join(inst2, rtwo)) - rone = os.path.split(one)[-1] - assert os.path.exists(os.path.join(inst, rone)) - cmd.outfiles = [] - - # let's try with warn_dir one - cmd.warn_dir = True - cmd.ensure_finalized() - cmd.run() - - # let's check the result - assert len(cmd.get_outputs()) == 3 - assert os.path.exists(os.path.join(inst, rthree)) - assert os.path.exists(os.path.join(inst2, rtwo)) - assert os.path.exists(os.path.join(inst, rone)) - cmd.outfiles = [] - - # now using root and empty dir - cmd.root = os.path.join(pkg_dir, 'root') - inst5 = os.path.join(pkg_dir, 'inst5') - four = os.path.join(cmd.install_dir, 'four') - self.write_file(four, 'xx') - cmd.data_files = [one, (inst2, [two]), three, ('inst5', [four]), (inst5, [])] - cmd.ensure_finalized() - cmd.run() - - # let's check the result - assert len(cmd.get_outputs()) == 5 - assert os.path.exists(os.path.join(inst, rthree)) - assert os.path.exists(os.path.join(inst2, rtwo)) - assert os.path.exists(os.path.join(inst, rone)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_headers.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_headers.py deleted file mode 100644 index 2c74f06b..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_headers.py +++ /dev/null @@ -1,33 +0,0 @@ -"""Tests for distutils.command.install_headers.""" - -import os -from distutils.command.install_headers import install_headers -from distutils.tests import support - -import pytest - - -@pytest.mark.usefixtures('save_env') -class TestInstallHeaders( - support.TempdirManager, -): - def test_simple_run(self): - # we have two headers - header_list = self.mkdtemp() - header1 = os.path.join(header_list, 'header1') - header2 = os.path.join(header_list, 'header2') - self.write_file(header1) - self.write_file(header2) - headers = [header1, header2] - - pkg_dir, dist = self.create_dist(headers=headers) - cmd = install_headers(dist) - assert cmd.get_inputs() == headers - - # let's run the command - cmd.install_dir = os.path.join(pkg_dir, 'inst') - cmd.ensure_finalized() - cmd.run() - - # let's check the results - assert len(cmd.get_outputs()) == 2 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_lib.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_lib.py deleted file mode 100644 index f685a579..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_lib.py +++ /dev/null @@ -1,110 +0,0 @@ -"""Tests for distutils.command.install_data.""" - -import importlib.util -import os -import sys -from distutils.command.install_lib import install_lib -from distutils.errors import DistutilsOptionError -from distutils.extension import Extension -from distutils.tests import support - -import pytest - - -@support.combine_markers -@pytest.mark.usefixtures('save_env') -class TestInstallLib( - support.TempdirManager, -): - def test_finalize_options(self): - dist = self.create_dist()[1] - cmd = install_lib(dist) - - cmd.finalize_options() - assert cmd.compile == 1 - assert cmd.optimize == 0 - - # optimize must be 0, 1, or 2 - cmd.optimize = 'foo' - with pytest.raises(DistutilsOptionError): - cmd.finalize_options() - cmd.optimize = '4' - with pytest.raises(DistutilsOptionError): - cmd.finalize_options() - - cmd.optimize = '2' - cmd.finalize_options() - assert cmd.optimize == 2 - - @pytest.mark.skipif('sys.dont_write_bytecode') - def test_byte_compile(self): - project_dir, dist = self.create_dist() - os.chdir(project_dir) - cmd = install_lib(dist) - cmd.compile = cmd.optimize = 1 - - f = os.path.join(project_dir, 'foo.py') - self.write_file(f, '# python file') - cmd.byte_compile([f]) - pyc_file = importlib.util.cache_from_source('foo.py', optimization='') - pyc_opt_file = importlib.util.cache_from_source( - 'foo.py', optimization=cmd.optimize - ) - assert os.path.exists(pyc_file) - assert os.path.exists(pyc_opt_file) - - def test_get_outputs(self): - project_dir, dist = self.create_dist() - os.chdir(project_dir) - os.mkdir('spam') - cmd = install_lib(dist) - - # setting up a dist environment - cmd.compile = cmd.optimize = 1 - cmd.install_dir = self.mkdtemp() - f = os.path.join(project_dir, 'spam', '__init__.py') - self.write_file(f, '# python package') - cmd.distribution.ext_modules = [Extension('foo', ['xxx'])] - cmd.distribution.packages = ['spam'] - cmd.distribution.script_name = 'setup.py' - - # get_outputs should return 4 elements: spam/__init__.py and .pyc, - # foo.import-tag-abiflags.so / foo.pyd - outputs = cmd.get_outputs() - assert len(outputs) == 4, outputs - - def test_get_inputs(self): - project_dir, dist = self.create_dist() - os.chdir(project_dir) - os.mkdir('spam') - cmd = install_lib(dist) - - # setting up a dist environment - cmd.compile = cmd.optimize = 1 - cmd.install_dir = self.mkdtemp() - f = os.path.join(project_dir, 'spam', '__init__.py') - self.write_file(f, '# python package') - cmd.distribution.ext_modules = [Extension('foo', ['xxx'])] - cmd.distribution.packages = ['spam'] - cmd.distribution.script_name = 'setup.py' - - # get_inputs should return 2 elements: spam/__init__.py and - # foo.import-tag-abiflags.so / foo.pyd - inputs = cmd.get_inputs() - assert len(inputs) == 2, inputs - - def test_dont_write_bytecode(self, caplog): - # makes sure byte_compile is not used - dist = self.create_dist()[1] - cmd = install_lib(dist) - cmd.compile = True - cmd.optimize = 1 - - old_dont_write_bytecode = sys.dont_write_bytecode - sys.dont_write_bytecode = True - try: - cmd.byte_compile([]) - finally: - sys.dont_write_bytecode = old_dont_write_bytecode - - assert 'byte-compiling is disabled' in caplog.messages[0] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_scripts.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_scripts.py deleted file mode 100644 index 868b1c22..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_install_scripts.py +++ /dev/null @@ -1,52 +0,0 @@ -"""Tests for distutils.command.install_scripts.""" - -import os -from distutils.command.install_scripts import install_scripts -from distutils.core import Distribution -from distutils.tests import support - -from . import test_build_scripts - - -class TestInstallScripts(support.TempdirManager): - def test_default_settings(self): - dist = Distribution() - dist.command_obj["build"] = support.DummyCommand(build_scripts="/foo/bar") - dist.command_obj["install"] = support.DummyCommand( - install_scripts="/splat/funk", - force=True, - skip_build=True, - ) - cmd = install_scripts(dist) - assert not cmd.force - assert not cmd.skip_build - assert cmd.build_dir is None - assert cmd.install_dir is None - - cmd.finalize_options() - - assert cmd.force - assert cmd.skip_build - assert cmd.build_dir == "/foo/bar" - assert cmd.install_dir == "/splat/funk" - - def test_installation(self): - source = self.mkdtemp() - - expected = test_build_scripts.TestBuildScripts.write_sample_scripts(source) - - target = self.mkdtemp() - dist = Distribution() - dist.command_obj["build"] = support.DummyCommand(build_scripts=source) - dist.command_obj["install"] = support.DummyCommand( - install_scripts=target, - force=True, - skip_build=True, - ) - cmd = install_scripts(dist) - cmd.finalize_options() - cmd.run() - - installed = os.listdir(target) - for name in expected: - assert name in installed diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_log.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_log.py deleted file mode 100644 index d67779fc..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_log.py +++ /dev/null @@ -1,12 +0,0 @@ -"""Tests for distutils.log""" - -import logging -from distutils._log import log - - -class TestLog: - def test_non_ascii(self, caplog): - caplog.set_level(logging.DEBUG) - log.debug('Dεbug\tMÄ—ssãge') - log.fatal('Fαtal\tÈrrÅr') - assert caplog.messages == ['Dεbug\tMÄ—ssãge', 'Fαtal\tÈrrÅr'] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_mingwccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_mingwccompiler.py deleted file mode 100644 index 3e3ad505..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_mingwccompiler.py +++ /dev/null @@ -1,56 +0,0 @@ -from distutils import sysconfig -from distutils.errors import CCompilerError, DistutilsPlatformError -from distutils.util import is_mingw, split_quoted - -import pytest - - -class TestMingw32CCompiler: - @pytest.mark.skipif(not is_mingw(), reason='not on mingw') - def test_compiler_type(self): - from distutils.cygwinccompiler import Mingw32CCompiler - - compiler = Mingw32CCompiler() - assert compiler.compiler_type == 'mingw32' - - @pytest.mark.skipif(not is_mingw(), reason='not on mingw') - def test_set_executables(self, monkeypatch): - from distutils.cygwinccompiler import Mingw32CCompiler - - monkeypatch.setenv('CC', 'cc') - monkeypatch.setenv('CXX', 'c++') - - compiler = Mingw32CCompiler() - - assert compiler.compiler == split_quoted('cc -O -Wall') - assert compiler.compiler_so == split_quoted('cc -shared -O -Wall') - assert compiler.compiler_cxx == split_quoted('c++ -O -Wall') - assert compiler.linker_exe == split_quoted('cc') - assert compiler.linker_so == split_quoted('cc -shared') - - @pytest.mark.skipif(not is_mingw(), reason='not on mingw') - def test_runtime_library_dir_option(self): - from distutils.cygwinccompiler import Mingw32CCompiler - - compiler = Mingw32CCompiler() - with pytest.raises(DistutilsPlatformError): - compiler.runtime_library_dir_option('/usr/lib') - - @pytest.mark.skipif(not is_mingw(), reason='not on mingw') - def test_cygwincc_error(self, monkeypatch): - import distutils.cygwinccompiler - - monkeypatch.setattr(distutils.cygwinccompiler, 'is_cygwincc', lambda _: True) - - with pytest.raises(CCompilerError): - distutils.cygwinccompiler.Mingw32CCompiler() - - @pytest.mark.skipif('sys.platform == "cygwin"') - def test_customize_compiler_with_msvc_python(self): - from distutils.cygwinccompiler import Mingw32CCompiler - - # In case we have an MSVC Python build, but still want to use - # Mingw32CCompiler, then customize_compiler() shouldn't fail at least. - # https://github.com/pypa/setuptools/issues/4456 - compiler = Mingw32CCompiler() - sysconfig.customize_compiler(compiler) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_modified.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_modified.py deleted file mode 100644 index e35cec2d..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_modified.py +++ /dev/null @@ -1,126 +0,0 @@ -"""Tests for distutils._modified.""" - -import os -import types -from distutils._modified import newer, newer_group, newer_pairwise, newer_pairwise_group -from distutils.errors import DistutilsFileError -from distutils.tests import support - -import pytest - - -class TestDepUtil(support.TempdirManager): - def test_newer(self): - tmpdir = self.mkdtemp() - new_file = os.path.join(tmpdir, 'new') - old_file = os.path.abspath(__file__) - - # Raise DistutilsFileError if 'new_file' does not exist. - with pytest.raises(DistutilsFileError): - newer(new_file, old_file) - - # Return true if 'new_file' exists and is more recently modified than - # 'old_file', or if 'new_file' exists and 'old_file' doesn't. - self.write_file(new_file) - assert newer(new_file, 'I_dont_exist') - assert newer(new_file, old_file) - - # Return false if both exist and 'old_file' is the same age or younger - # than 'new_file'. - assert not newer(old_file, new_file) - - def _setup_1234(self): - tmpdir = self.mkdtemp() - sources = os.path.join(tmpdir, 'sources') - targets = os.path.join(tmpdir, 'targets') - os.mkdir(sources) - os.mkdir(targets) - one = os.path.join(sources, 'one') - two = os.path.join(sources, 'two') - three = os.path.abspath(__file__) # I am the old file - four = os.path.join(targets, 'four') - self.write_file(one) - self.write_file(two) - self.write_file(four) - return one, two, three, four - - def test_newer_pairwise(self): - one, two, three, four = self._setup_1234() - - assert newer_pairwise([one, two], [three, four]) == ([one], [three]) - - def test_newer_pairwise_mismatch(self): - one, two, three, four = self._setup_1234() - - with pytest.raises(ValueError): - newer_pairwise([one], [three, four]) - - with pytest.raises(ValueError): - newer_pairwise([one, two], [three]) - - def test_newer_pairwise_empty(self): - assert newer_pairwise([], []) == ([], []) - - def test_newer_pairwise_fresh(self): - one, two, three, four = self._setup_1234() - - assert newer_pairwise([one, three], [two, four]) == ([], []) - - def test_newer_group(self): - tmpdir = self.mkdtemp() - sources = os.path.join(tmpdir, 'sources') - os.mkdir(sources) - one = os.path.join(sources, 'one') - two = os.path.join(sources, 'two') - three = os.path.join(sources, 'three') - old_file = os.path.abspath(__file__) - - # return true if 'old_file' is out-of-date with respect to any file - # listed in 'sources'. - self.write_file(one) - self.write_file(two) - self.write_file(three) - assert newer_group([one, two, three], old_file) - assert not newer_group([one, two, old_file], three) - - # missing handling - os.remove(one) - with pytest.raises(OSError): - newer_group([one, two, old_file], three) - - assert not newer_group([one, two, old_file], three, missing='ignore') - - assert newer_group([one, two, old_file], three, missing='newer') - - -@pytest.fixture -def groups_target(tmp_path): - """ - Set up some older sources, a target, and newer sources. - - Returns a simple namespace with these values. - """ - filenames = ['older.c', 'older.h', 'target.o', 'newer.c', 'newer.h'] - paths = [tmp_path / name for name in filenames] - - for mtime, path in enumerate(paths): - path.write_text('', encoding='utf-8') - - # make sure modification times are sequential - os.utime(path, (mtime, mtime)) - - return types.SimpleNamespace(older=paths[:2], target=paths[2], newer=paths[3:]) - - -def test_newer_pairwise_group(groups_target): - older = newer_pairwise_group([groups_target.older], [groups_target.target]) - newer = newer_pairwise_group([groups_target.newer], [groups_target.target]) - assert older == ([], []) - assert newer == ([groups_target.newer], [groups_target.target]) - - -def test_newer_group_no_sources_no_target(tmp_path): - """ - Consider no sources and no target "newer". - """ - assert newer_group([], str(tmp_path / 'does-not-exist')) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_msvccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_msvccompiler.py deleted file mode 100644 index ceb15d3a..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_msvccompiler.py +++ /dev/null @@ -1,137 +0,0 @@ -"""Tests for distutils._msvccompiler.""" - -import os -import sys -import sysconfig -import threading -import unittest.mock as mock -from distutils import _msvccompiler -from distutils.errors import DistutilsPlatformError -from distutils.tests import support -from distutils.util import get_platform - -import pytest - -needs_winreg = pytest.mark.skipif('not hasattr(_msvccompiler, "winreg")') - - -class Testmsvccompiler(support.TempdirManager): - def test_no_compiler(self, monkeypatch): - # makes sure query_vcvarsall raises - # a DistutilsPlatformError if the compiler - # is not found - def _find_vcvarsall(plat_spec): - return None, None - - monkeypatch.setattr(_msvccompiler, '_find_vcvarsall', _find_vcvarsall) - - with pytest.raises(DistutilsPlatformError): - _msvccompiler._get_vc_env( - 'wont find this version', - ) - - @pytest.mark.skipif( - not sysconfig.get_platform().startswith("win"), - reason="Only run test for non-mingw Windows platforms", - ) - @pytest.mark.parametrize( - "plat_name, expected", - [ - ("win-arm64", "win-arm64"), - ("win-amd64", "win-amd64"), - (None, get_platform()), - ], - ) - def test_cross_platform_compilation_paths(self, monkeypatch, plat_name, expected): - """ - Ensure a specified target platform is passed to _get_vcvars_spec. - """ - compiler = _msvccompiler.MSVCCompiler() - - def _get_vcvars_spec(host_platform, platform): - assert platform == expected - - monkeypatch.setattr(_msvccompiler, '_get_vcvars_spec', _get_vcvars_spec) - compiler.initialize(plat_name) - - @needs_winreg - def test_get_vc_env_unicode(self): - test_var = 'ṰḖṤṪ┅ṼẨṜ' - test_value = '₃â´â‚…' - - # Ensure we don't early exit from _get_vc_env - old_distutils_use_sdk = os.environ.pop('DISTUTILS_USE_SDK', None) - os.environ[test_var] = test_value - try: - env = _msvccompiler._get_vc_env('x86') - assert test_var.lower() in env - assert test_value == env[test_var.lower()] - finally: - os.environ.pop(test_var) - if old_distutils_use_sdk: - os.environ['DISTUTILS_USE_SDK'] = old_distutils_use_sdk - - @needs_winreg - @pytest.mark.parametrize('ver', (2015, 2017)) - def test_get_vc(self, ver): - # This function cannot be mocked, so pass if VC is found - # and skip otherwise. - lookup = getattr(_msvccompiler, f'_find_vc{ver}') - expected_version = {2015: 14, 2017: 15}[ver] - version, path = lookup() - if not version: - pytest.skip(f"VS {ver} is not installed") - assert version >= expected_version - assert os.path.isdir(path) - - -class CheckThread(threading.Thread): - exc_info = None - - def run(self): - try: - super().run() - except Exception: - self.exc_info = sys.exc_info() - - def __bool__(self): - return not self.exc_info - - -class TestSpawn: - def test_concurrent_safe(self): - """ - Concurrent calls to spawn should have consistent results. - """ - compiler = _msvccompiler.MSVCCompiler() - compiler._paths = "expected" - inner_cmd = 'import os; assert os.environ["PATH"] == "expected"' - command = [sys.executable, '-c', inner_cmd] - - threads = [ - CheckThread(target=compiler.spawn, args=[command]) for n in range(100) - ] - for thread in threads: - thread.start() - for thread in threads: - thread.join() - assert all(threads) - - def test_concurrent_safe_fallback(self): - """ - If CCompiler.spawn has been monkey-patched without support - for an env, it should still execute. - """ - from distutils import ccompiler - - compiler = _msvccompiler.MSVCCompiler() - compiler._paths = "expected" - - def CCompiler_spawn(self, cmd): - "A spawn without an env argument." - assert os.environ["PATH"] == "expected" - - with mock.patch.object(ccompiler.CCompiler, 'spawn', CCompiler_spawn): - compiler.spawn(["n/a"]) - - assert os.environ.get("PATH") != "expected" diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_sdist.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_sdist.py deleted file mode 100644 index 5aca43e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_sdist.py +++ /dev/null @@ -1,470 +0,0 @@ -"""Tests for distutils.command.sdist.""" - -import os -import pathlib -import shutil # noqa: F401 -import tarfile -import zipfile -from distutils.archive_util import ARCHIVE_FORMATS -from distutils.command.sdist import sdist, show_formats -from distutils.core import Distribution -from distutils.errors import DistutilsOptionError -from distutils.filelist import FileList -from os.path import join -from textwrap import dedent - -import jaraco.path -import path -import pytest -from more_itertools import ilen - -from . import support -from .unix_compat import grp, pwd, require_uid_0, require_unix_id - -SETUP_PY = """ -from distutils.core import setup -import somecode - -setup(name='fake') -""" - -MANIFEST = """\ -# file GENERATED by distutils, do NOT edit -README -buildout.cfg -inroot.txt -setup.py -data%(sep)sdata.dt -scripts%(sep)sscript.py -some%(sep)sfile.txt -some%(sep)sother_file.txt -somecode%(sep)s__init__.py -somecode%(sep)sdoc.dat -somecode%(sep)sdoc.txt -""" - - -@pytest.fixture(autouse=True) -def project_dir(request, distutils_managed_tempdir): - self = request.instance - self.tmp_dir = self.mkdtemp() - jaraco.path.build( - { - 'somecode': { - '__init__.py': '#', - }, - 'README': 'xxx', - 'setup.py': SETUP_PY, - }, - self.tmp_dir, - ) - with path.Path(self.tmp_dir): - yield - - -def clean_lines(filepath): - with pathlib.Path(filepath).open(encoding='utf-8') as f: - yield from filter(None, map(str.strip, f)) - - -class TestSDist(support.TempdirManager): - def get_cmd(self, metadata=None): - """Returns a cmd""" - if metadata is None: - metadata = { - 'name': 'ns.fake--pkg', - 'version': '1.0', - 'url': 'xxx', - 'author': 'xxx', - 'author_email': 'xxx', - } - dist = Distribution(metadata) - dist.script_name = 'setup.py' - dist.packages = ['somecode'] - dist.include_package_data = True - cmd = sdist(dist) - cmd.dist_dir = 'dist' - return dist, cmd - - @pytest.mark.usefixtures('needs_zlib') - def test_prune_file_list(self): - # this test creates a project with some VCS dirs and an NFS rename - # file, then launches sdist to check they get pruned on all systems - - # creating VCS directories with some files in them - os.mkdir(join(self.tmp_dir, 'somecode', '.svn')) - self.write_file((self.tmp_dir, 'somecode', '.svn', 'ok.py'), 'xxx') - - os.mkdir(join(self.tmp_dir, 'somecode', '.hg')) - self.write_file((self.tmp_dir, 'somecode', '.hg', 'ok'), 'xxx') - - os.mkdir(join(self.tmp_dir, 'somecode', '.git')) - self.write_file((self.tmp_dir, 'somecode', '.git', 'ok'), 'xxx') - - self.write_file((self.tmp_dir, 'somecode', '.nfs0001'), 'xxx') - - # now building a sdist - dist, cmd = self.get_cmd() - - # zip is available universally - # (tar might not be installed under win32) - cmd.formats = ['zip'] - - cmd.ensure_finalized() - cmd.run() - - # now let's check what we have - dist_folder = join(self.tmp_dir, 'dist') - files = os.listdir(dist_folder) - assert files == ['ns_fake_pkg-1.0.zip'] - - zip_file = zipfile.ZipFile(join(dist_folder, 'ns_fake_pkg-1.0.zip')) - try: - content = zip_file.namelist() - finally: - zip_file.close() - - # making sure everything has been pruned correctly - expected = [ - '', - 'PKG-INFO', - 'README', - 'setup.py', - 'somecode/', - 'somecode/__init__.py', - ] - assert sorted(content) == ['ns_fake_pkg-1.0/' + x for x in expected] - - @pytest.mark.usefixtures('needs_zlib') - @pytest.mark.skipif("not shutil.which('tar')") - @pytest.mark.skipif("not shutil.which('gzip')") - def test_make_distribution(self): - # now building a sdist - dist, cmd = self.get_cmd() - - # creating a gztar then a tar - cmd.formats = ['gztar', 'tar'] - cmd.ensure_finalized() - cmd.run() - - # making sure we have two files - dist_folder = join(self.tmp_dir, 'dist') - result = os.listdir(dist_folder) - result.sort() - assert result == ['ns_fake_pkg-1.0.tar', 'ns_fake_pkg-1.0.tar.gz'] - - os.remove(join(dist_folder, 'ns_fake_pkg-1.0.tar')) - os.remove(join(dist_folder, 'ns_fake_pkg-1.0.tar.gz')) - - # now trying a tar then a gztar - cmd.formats = ['tar', 'gztar'] - - cmd.ensure_finalized() - cmd.run() - - result = os.listdir(dist_folder) - result.sort() - assert result == ['ns_fake_pkg-1.0.tar', 'ns_fake_pkg-1.0.tar.gz'] - - @pytest.mark.usefixtures('needs_zlib') - def test_add_defaults(self): - # https://bugs.python.org/issue2279 - - # add_default should also include - # data_files and package_data - dist, cmd = self.get_cmd() - - # filling data_files by pointing files - # in package_data - dist.package_data = {'': ['*.cfg', '*.dat'], 'somecode': ['*.txt']} - self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#') - self.write_file((self.tmp_dir, 'somecode', 'doc.dat'), '#') - - # adding some data in data_files - data_dir = join(self.tmp_dir, 'data') - os.mkdir(data_dir) - self.write_file((data_dir, 'data.dt'), '#') - some_dir = join(self.tmp_dir, 'some') - os.mkdir(some_dir) - # make sure VCS directories are pruned (#14004) - hg_dir = join(self.tmp_dir, '.hg') - os.mkdir(hg_dir) - self.write_file((hg_dir, 'last-message.txt'), '#') - # a buggy regex used to prevent this from working on windows (#6884) - self.write_file((self.tmp_dir, 'buildout.cfg'), '#') - self.write_file((self.tmp_dir, 'inroot.txt'), '#') - self.write_file((some_dir, 'file.txt'), '#') - self.write_file((some_dir, 'other_file.txt'), '#') - - dist.data_files = [ - ('data', ['data/data.dt', 'buildout.cfg', 'inroot.txt', 'notexisting']), - 'some/file.txt', - 'some/other_file.txt', - ] - - # adding a script - script_dir = join(self.tmp_dir, 'scripts') - os.mkdir(script_dir) - self.write_file((script_dir, 'script.py'), '#') - dist.scripts = [join('scripts', 'script.py')] - - cmd.formats = ['zip'] - cmd.use_defaults = True - - cmd.ensure_finalized() - cmd.run() - - # now let's check what we have - dist_folder = join(self.tmp_dir, 'dist') - files = os.listdir(dist_folder) - assert files == ['ns_fake_pkg-1.0.zip'] - - zip_file = zipfile.ZipFile(join(dist_folder, 'ns_fake_pkg-1.0.zip')) - try: - content = zip_file.namelist() - finally: - zip_file.close() - - # making sure everything was added - expected = [ - '', - 'PKG-INFO', - 'README', - 'buildout.cfg', - 'data/', - 'data/data.dt', - 'inroot.txt', - 'scripts/', - 'scripts/script.py', - 'setup.py', - 'some/', - 'some/file.txt', - 'some/other_file.txt', - 'somecode/', - 'somecode/__init__.py', - 'somecode/doc.dat', - 'somecode/doc.txt', - ] - assert sorted(content) == ['ns_fake_pkg-1.0/' + x for x in expected] - - # checking the MANIFEST - manifest = pathlib.Path(self.tmp_dir, 'MANIFEST').read_text(encoding='utf-8') - assert manifest == MANIFEST % {'sep': os.sep} - - @staticmethod - def warnings(messages, prefix='warning: '): - return [msg for msg in messages if msg.startswith(prefix)] - - @pytest.mark.usefixtures('needs_zlib') - def test_metadata_check_option(self, caplog): - # testing the `medata-check` option - dist, cmd = self.get_cmd(metadata={}) - - # this should raise some warnings ! - # with the `check` subcommand - cmd.ensure_finalized() - cmd.run() - assert len(self.warnings(caplog.messages, 'warning: check: ')) == 1 - - # trying with a complete set of metadata - caplog.clear() - dist, cmd = self.get_cmd() - cmd.ensure_finalized() - cmd.metadata_check = 0 - cmd.run() - assert len(self.warnings(caplog.messages, 'warning: check: ')) == 0 - - def test_show_formats(self, capsys): - show_formats() - - # the output should be a header line + one line per format - num_formats = len(ARCHIVE_FORMATS.keys()) - output = [ - line - for line in capsys.readouterr().out.split('\n') - if line.strip().startswith('--formats=') - ] - assert len(output) == num_formats - - def test_finalize_options(self): - dist, cmd = self.get_cmd() - cmd.finalize_options() - - # default options set by finalize - assert cmd.manifest == 'MANIFEST' - assert cmd.template == 'MANIFEST.in' - assert cmd.dist_dir == 'dist' - - # formats has to be a string splitable on (' ', ',') or - # a stringlist - cmd.formats = 1 - with pytest.raises(DistutilsOptionError): - cmd.finalize_options() - cmd.formats = ['zip'] - cmd.finalize_options() - - # formats has to be known - cmd.formats = 'supazipa' - with pytest.raises(DistutilsOptionError): - cmd.finalize_options() - - # the following tests make sure there is a nice error message instead - # of a traceback when parsing an invalid manifest template - - def _check_template(self, content, caplog): - dist, cmd = self.get_cmd() - os.chdir(self.tmp_dir) - self.write_file('MANIFEST.in', content) - cmd.ensure_finalized() - cmd.filelist = FileList() - cmd.read_template() - assert len(self.warnings(caplog.messages)) == 1 - - def test_invalid_template_unknown_command(self, caplog): - self._check_template('taunt knights *', caplog) - - def test_invalid_template_wrong_arguments(self, caplog): - # this manifest command takes one argument - self._check_template('prune', caplog) - - @pytest.mark.skipif("platform.system() != 'Windows'") - def test_invalid_template_wrong_path(self, caplog): - # on Windows, trailing slashes are not allowed - # this used to crash instead of raising a warning: #8286 - self._check_template('include examples/', caplog) - - @pytest.mark.usefixtures('needs_zlib') - def test_get_file_list(self): - # make sure MANIFEST is recalculated - dist, cmd = self.get_cmd() - - # filling data_files by pointing files in package_data - dist.package_data = {'somecode': ['*.txt']} - self.write_file((self.tmp_dir, 'somecode', 'doc.txt'), '#') - cmd.formats = ['gztar'] - cmd.ensure_finalized() - cmd.run() - - assert ilen(clean_lines(cmd.manifest)) == 5 - - # adding a file - self.write_file((self.tmp_dir, 'somecode', 'doc2.txt'), '#') - - # make sure build_py is reinitialized, like a fresh run - build_py = dist.get_command_obj('build_py') - build_py.finalized = False - build_py.ensure_finalized() - - cmd.run() - - manifest2 = list(clean_lines(cmd.manifest)) - - # do we have the new file in MANIFEST ? - assert len(manifest2) == 6 - assert 'doc2.txt' in manifest2[-1] - - @pytest.mark.usefixtures('needs_zlib') - def test_manifest_marker(self): - # check that autogenerated MANIFESTs have a marker - dist, cmd = self.get_cmd() - cmd.ensure_finalized() - cmd.run() - - assert ( - next(clean_lines(cmd.manifest)) - == '# file GENERATED by distutils, do NOT edit' - ) - - @pytest.mark.usefixtures('needs_zlib') - def test_manifest_comments(self): - # make sure comments don't cause exceptions or wrong includes - contents = dedent( - """\ - # bad.py - #bad.py - good.py - """ - ) - dist, cmd = self.get_cmd() - cmd.ensure_finalized() - self.write_file((self.tmp_dir, cmd.manifest), contents) - self.write_file((self.tmp_dir, 'good.py'), '# pick me!') - self.write_file((self.tmp_dir, 'bad.py'), "# don't pick me!") - self.write_file((self.tmp_dir, '#bad.py'), "# don't pick me!") - cmd.run() - assert cmd.filelist.files == ['good.py'] - - @pytest.mark.usefixtures('needs_zlib') - def test_manual_manifest(self): - # check that a MANIFEST without a marker is left alone - dist, cmd = self.get_cmd() - cmd.formats = ['gztar'] - cmd.ensure_finalized() - self.write_file((self.tmp_dir, cmd.manifest), 'README.manual') - self.write_file( - (self.tmp_dir, 'README.manual'), - 'This project maintains its MANIFEST file itself.', - ) - cmd.run() - assert cmd.filelist.files == ['README.manual'] - - assert list(clean_lines(cmd.manifest)) == ['README.manual'] - - archive_name = join(self.tmp_dir, 'dist', 'ns_fake_pkg-1.0.tar.gz') - archive = tarfile.open(archive_name) - try: - filenames = [tarinfo.name for tarinfo in archive] - finally: - archive.close() - assert sorted(filenames) == [ - 'ns_fake_pkg-1.0', - 'ns_fake_pkg-1.0/PKG-INFO', - 'ns_fake_pkg-1.0/README.manual', - ] - - @pytest.mark.usefixtures('needs_zlib') - @require_unix_id - @require_uid_0 - @pytest.mark.skipif("not shutil.which('tar')") - @pytest.mark.skipif("not shutil.which('gzip')") - def test_make_distribution_owner_group(self): - # now building a sdist - dist, cmd = self.get_cmd() - - # creating a gztar and specifying the owner+group - cmd.formats = ['gztar'] - cmd.owner = pwd.getpwuid(0)[0] - cmd.group = grp.getgrgid(0)[0] - cmd.ensure_finalized() - cmd.run() - - # making sure we have the good rights - archive_name = join(self.tmp_dir, 'dist', 'ns_fake_pkg-1.0.tar.gz') - archive = tarfile.open(archive_name) - try: - for member in archive.getmembers(): - assert member.uid == 0 - assert member.gid == 0 - finally: - archive.close() - - # building a sdist again - dist, cmd = self.get_cmd() - - # creating a gztar - cmd.formats = ['gztar'] - cmd.ensure_finalized() - cmd.run() - - # making sure we have the good rights - archive_name = join(self.tmp_dir, 'dist', 'ns_fake_pkg-1.0.tar.gz') - archive = tarfile.open(archive_name) - - # note that we are not testing the group ownership here - # because, depending on the platforms and the container - # rights (see #7408) - try: - for member in archive.getmembers(): - assert member.uid == os.getuid() - finally: - archive.close() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_spawn.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_spawn.py deleted file mode 100644 index fd7b669c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_spawn.py +++ /dev/null @@ -1,131 +0,0 @@ -"""Tests for distutils.spawn.""" - -import os -import stat -import sys -import unittest.mock as mock -from distutils.errors import DistutilsExecError -from distutils.spawn import find_executable, spawn -from distutils.tests import support - -import path -import pytest -from test.support import unix_shell - -from .compat import py38 as os_helper - - -class TestSpawn(support.TempdirManager): - @pytest.mark.skipif("os.name not in ('nt', 'posix')") - def test_spawn(self): - tmpdir = self.mkdtemp() - - # creating something executable - # through the shell that returns 1 - if sys.platform != 'win32': - exe = os.path.join(tmpdir, 'foo.sh') - self.write_file(exe, f'#!{unix_shell}\nexit 1') - else: - exe = os.path.join(tmpdir, 'foo.bat') - self.write_file(exe, 'exit 1') - - os.chmod(exe, 0o777) - with pytest.raises(DistutilsExecError): - spawn([exe]) - - # now something that works - if sys.platform != 'win32': - exe = os.path.join(tmpdir, 'foo.sh') - self.write_file(exe, f'#!{unix_shell}\nexit 0') - else: - exe = os.path.join(tmpdir, 'foo.bat') - self.write_file(exe, 'exit 0') - - os.chmod(exe, 0o777) - spawn([exe]) # should work without any error - - def test_find_executable(self, tmp_path): - program_path = self._make_executable(tmp_path, '.exe') - program = program_path.name - program_noeext = program_path.with_suffix('').name - filename = str(program_path) - tmp_dir = path.Path(tmp_path) - - # test path parameter - rv = find_executable(program, path=tmp_dir) - assert rv == filename - - if sys.platform == 'win32': - # test without ".exe" extension - rv = find_executable(program_noeext, path=tmp_dir) - assert rv == filename - - # test find in the current directory - with tmp_dir: - rv = find_executable(program) - assert rv == program - - # test non-existent program - dont_exist_program = "dontexist_" + program - rv = find_executable(dont_exist_program, path=tmp_dir) - assert rv is None - - # PATH='': no match, except in the current directory - with os_helper.EnvironmentVarGuard() as env: - env['PATH'] = '' - with mock.patch( - 'distutils.spawn.os.confstr', return_value=tmp_dir, create=True - ), mock.patch('distutils.spawn.os.defpath', tmp_dir): - rv = find_executable(program) - assert rv is None - - # look in current directory - with tmp_dir: - rv = find_executable(program) - assert rv == program - - # PATH=':': explicitly looks in the current directory - with os_helper.EnvironmentVarGuard() as env: - env['PATH'] = os.pathsep - with mock.patch( - 'distutils.spawn.os.confstr', return_value='', create=True - ), mock.patch('distutils.spawn.os.defpath', ''): - rv = find_executable(program) - assert rv is None - - # look in current directory - with tmp_dir: - rv = find_executable(program) - assert rv == program - - # missing PATH: test os.confstr("CS_PATH") and os.defpath - with os_helper.EnvironmentVarGuard() as env: - env.pop('PATH', None) - - # without confstr - with mock.patch( - 'distutils.spawn.os.confstr', side_effect=ValueError, create=True - ), mock.patch('distutils.spawn.os.defpath', tmp_dir): - rv = find_executable(program) - assert rv == filename - - # with confstr - with mock.patch( - 'distutils.spawn.os.confstr', return_value=tmp_dir, create=True - ), mock.patch('distutils.spawn.os.defpath', ''): - rv = find_executable(program) - assert rv == filename - - @staticmethod - def _make_executable(tmp_path, ext): - # Give the temporary program a suffix regardless of platform. - # It's needed on Windows and not harmful on others. - program = tmp_path.joinpath('program').with_suffix(ext) - program.write_text("", encoding='utf-8') - program.chmod(stat.S_IXUSR) - return program - - def test_spawn_missing_exe(self): - with pytest.raises(DistutilsExecError) as ctx: - spawn(['does-not-exist']) - assert "command 'does-not-exist' failed" in str(ctx.value) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_sysconfig.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_sysconfig.py deleted file mode 100644 index 49274a36..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_sysconfig.py +++ /dev/null @@ -1,319 +0,0 @@ -"""Tests for distutils.sysconfig.""" - -import contextlib -import distutils -import os -import pathlib -import subprocess -import sys -from distutils import sysconfig -from distutils.ccompiler import new_compiler # noqa: F401 -from distutils.unixccompiler import UnixCCompiler - -import jaraco.envs -import path -import pytest -from jaraco.text import trim -from test.support import swap_item - - -def _gen_makefile(root, contents): - jaraco.path.build({'Makefile': trim(contents)}, root) - return root / 'Makefile' - - -@pytest.mark.usefixtures('save_env') -class TestSysconfig: - def test_get_config_h_filename(self): - config_h = sysconfig.get_config_h_filename() - assert os.path.isfile(config_h) - - @pytest.mark.skipif("platform.system() == 'Windows'") - @pytest.mark.skipif("sys.implementation.name != 'cpython'") - def test_get_makefile_filename(self): - makefile = sysconfig.get_makefile_filename() - assert os.path.isfile(makefile) - - def test_get_python_lib(self, tmp_path): - assert sysconfig.get_python_lib() != sysconfig.get_python_lib(prefix=tmp_path) - - def test_get_config_vars(self): - cvars = sysconfig.get_config_vars() - assert isinstance(cvars, dict) - assert cvars - - @pytest.mark.skipif('sysconfig.IS_PYPY') - @pytest.mark.skipif('sysconfig.python_build') - @pytest.mark.xfail('platform.system() == "Windows"') - def test_srcdir_simple(self): - # See #15364. - srcdir = pathlib.Path(sysconfig.get_config_var('srcdir')) - - assert srcdir.absolute() - assert srcdir.is_dir() - - makefile = pathlib.Path(sysconfig.get_makefile_filename()) - assert makefile.parent.samefile(srcdir) - - @pytest.mark.skipif('sysconfig.IS_PYPY') - @pytest.mark.skipif('not sysconfig.python_build') - def test_srcdir_python_build(self): - # See #15364. - srcdir = pathlib.Path(sysconfig.get_config_var('srcdir')) - - # The python executable has not been installed so srcdir - # should be a full source checkout. - Python_h = srcdir.joinpath('Include', 'Python.h') - assert Python_h.is_file() - assert sysconfig._is_python_source_dir(srcdir) - assert sysconfig._is_python_source_dir(str(srcdir)) - - def test_srcdir_independent_of_cwd(self): - """ - srcdir should be independent of the current working directory - """ - # See #15364. - srcdir = sysconfig.get_config_var('srcdir') - with path.Path('..'): - srcdir2 = sysconfig.get_config_var('srcdir') - assert srcdir == srcdir2 - - def customize_compiler(self): - # make sure AR gets caught - class compiler: - compiler_type = 'unix' - executables = UnixCCompiler.executables - - def __init__(self): - self.exes = {} - - def set_executables(self, **kw): - for k, v in kw.items(): - self.exes[k] = v - - sysconfig_vars = { - 'AR': 'sc_ar', - 'CC': 'sc_cc', - 'CXX': 'sc_cxx', - 'ARFLAGS': '--sc-arflags', - 'CFLAGS': '--sc-cflags', - 'CCSHARED': '--sc-ccshared', - 'LDSHARED': 'sc_ldshared', - 'SHLIB_SUFFIX': 'sc_shutil_suffix', - } - - comp = compiler() - with contextlib.ExitStack() as cm: - for key, value in sysconfig_vars.items(): - cm.enter_context(swap_item(sysconfig._config_vars, key, value)) - sysconfig.customize_compiler(comp) - - return comp - - @pytest.mark.skipif("not isinstance(new_compiler(), UnixCCompiler)") - @pytest.mark.usefixtures('disable_macos_customization') - def test_customize_compiler(self): - # Make sure that sysconfig._config_vars is initialized - sysconfig.get_config_vars() - - os.environ['AR'] = 'env_ar' - os.environ['CC'] = 'env_cc' - os.environ['CPP'] = 'env_cpp' - os.environ['CXX'] = 'env_cxx --env-cxx-flags' - os.environ['LDSHARED'] = 'env_ldshared' - os.environ['LDFLAGS'] = '--env-ldflags' - os.environ['ARFLAGS'] = '--env-arflags' - os.environ['CFLAGS'] = '--env-cflags' - os.environ['CPPFLAGS'] = '--env-cppflags' - os.environ['RANLIB'] = 'env_ranlib' - - comp = self.customize_compiler() - assert comp.exes['archiver'] == 'env_ar --env-arflags' - assert comp.exes['preprocessor'] == 'env_cpp --env-cppflags' - assert comp.exes['compiler'] == 'env_cc --sc-cflags --env-cflags --env-cppflags' - assert comp.exes['compiler_so'] == ( - 'env_cc --sc-cflags --env-cflags --env-cppflags --sc-ccshared' - ) - assert ( - comp.exes['compiler_cxx'] - == 'env_cxx --env-cxx-flags --sc-cflags --env-cppflags' - ) - assert comp.exes['linker_exe'] == 'env_cc' - assert comp.exes['linker_so'] == ( - 'env_ldshared --env-ldflags --env-cflags --env-cppflags' - ) - assert comp.shared_lib_extension == 'sc_shutil_suffix' - - if sys.platform == "darwin": - assert comp.exes['ranlib'] == 'env_ranlib' - else: - assert 'ranlib' not in comp.exes - - del os.environ['AR'] - del os.environ['CC'] - del os.environ['CPP'] - del os.environ['CXX'] - del os.environ['LDSHARED'] - del os.environ['LDFLAGS'] - del os.environ['ARFLAGS'] - del os.environ['CFLAGS'] - del os.environ['CPPFLAGS'] - del os.environ['RANLIB'] - - comp = self.customize_compiler() - assert comp.exes['archiver'] == 'sc_ar --sc-arflags' - assert comp.exes['preprocessor'] == 'sc_cc -E' - assert comp.exes['compiler'] == 'sc_cc --sc-cflags' - assert comp.exes['compiler_so'] == 'sc_cc --sc-cflags --sc-ccshared' - assert comp.exes['compiler_cxx'] == 'sc_cxx --sc-cflags' - assert comp.exes['linker_exe'] == 'sc_cc' - assert comp.exes['linker_so'] == 'sc_ldshared' - assert comp.shared_lib_extension == 'sc_shutil_suffix' - assert 'ranlib' not in comp.exes - - def test_parse_makefile_base(self, tmp_path): - makefile = _gen_makefile( - tmp_path, - """ - CONFIG_ARGS= '--arg1=optarg1' 'ENV=LIB' - VAR=$OTHER - OTHER=foo - """, - ) - d = sysconfig.parse_makefile(makefile) - assert d == {'CONFIG_ARGS': "'--arg1=optarg1' 'ENV=LIB'", 'OTHER': 'foo'} - - def test_parse_makefile_literal_dollar(self, tmp_path): - makefile = _gen_makefile( - tmp_path, - """ - CONFIG_ARGS= '--arg1=optarg1' 'ENV=\\$$LIB' - VAR=$OTHER - OTHER=foo - """, - ) - d = sysconfig.parse_makefile(makefile) - assert d == {'CONFIG_ARGS': r"'--arg1=optarg1' 'ENV=\$LIB'", 'OTHER': 'foo'} - - def test_sysconfig_module(self): - import sysconfig as global_sysconfig - - assert global_sysconfig.get_config_var('CFLAGS') == sysconfig.get_config_var( - 'CFLAGS' - ) - assert global_sysconfig.get_config_var('LDFLAGS') == sysconfig.get_config_var( - 'LDFLAGS' - ) - - # On macOS, binary installers support extension module building on - # various levels of the operating system with differing Xcode - # configurations, requiring customization of some of the - # compiler configuration directives to suit the environment on - # the installed machine. Some of these customizations may require - # running external programs and are thus deferred until needed by - # the first extension module build. Only - # the Distutils version of sysconfig is used for extension module - # builds, which happens earlier in the Distutils tests. This may - # cause the following tests to fail since no tests have caused - # the global version of sysconfig to call the customization yet. - # The solution for now is to simply skip this test in this case. - # The longer-term solution is to only have one version of sysconfig. - @pytest.mark.skipif("sysconfig.get_config_var('CUSTOMIZED_OSX_COMPILER')") - def test_sysconfig_compiler_vars(self): - import sysconfig as global_sysconfig - - if sysconfig.get_config_var('CUSTOMIZED_OSX_COMPILER'): - pytest.skip('compiler flags customized') - assert global_sysconfig.get_config_var('LDSHARED') == sysconfig.get_config_var( - 'LDSHARED' - ) - assert global_sysconfig.get_config_var('CC') == sysconfig.get_config_var('CC') - - @pytest.mark.skipif("not sysconfig.get_config_var('EXT_SUFFIX')") - def test_SO_deprecation(self): - with pytest.warns(DeprecationWarning): - sysconfig.get_config_var('SO') - - def test_customize_compiler_before_get_config_vars(self, tmp_path): - # Issue #21923: test that a Distribution compiler - # instance can be called without an explicit call to - # get_config_vars(). - jaraco.path.build( - { - 'file': trim(""" - from distutils.core import Distribution - config = Distribution().get_command_obj('config') - # try_compile may pass or it may fail if no compiler - # is found but it should not raise an exception. - rc = config.try_compile('int x;') - """) - }, - tmp_path, - ) - p = subprocess.Popen( - [sys.executable, tmp_path / 'file'], - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - universal_newlines=True, - encoding='utf-8', - ) - outs, errs = p.communicate() - assert 0 == p.returncode, "Subprocess failed: " + outs - - def test_parse_config_h(self): - config_h = sysconfig.get_config_h_filename() - input = {} - with open(config_h, encoding="utf-8") as f: - result = sysconfig.parse_config_h(f, g=input) - assert input is result - with open(config_h, encoding="utf-8") as f: - result = sysconfig.parse_config_h(f) - assert isinstance(result, dict) - - @pytest.mark.skipif("platform.system() != 'Windows'") - @pytest.mark.skipif("sys.implementation.name != 'cpython'") - def test_win_ext_suffix(self): - assert sysconfig.get_config_var("EXT_SUFFIX").endswith(".pyd") - assert sysconfig.get_config_var("EXT_SUFFIX") != ".pyd" - - @pytest.mark.skipif("platform.system() != 'Windows'") - @pytest.mark.skipif("sys.implementation.name != 'cpython'") - @pytest.mark.skipif( - '\\PCbuild\\'.casefold() not in sys.executable.casefold(), - reason='Need sys.executable to be in a source tree', - ) - def test_win_build_venv_from_source_tree(self, tmp_path): - """Ensure distutils.sysconfig detects venvs from source tree builds.""" - env = jaraco.envs.VEnv() - env.create_opts = env.clean_opts - env.root = tmp_path - env.ensure_env() - cmd = [ - env.exe(), - "-c", - "import distutils.sysconfig; print(distutils.sysconfig.python_build)", - ] - distutils_path = os.path.dirname(os.path.dirname(distutils.__file__)) - out = subprocess.check_output( - cmd, env={**os.environ, "PYTHONPATH": distutils_path} - ) - assert out == "True" - - def test_get_python_inc_missing_config_dir(self, monkeypatch): - """ - In portable Python installations, the sysconfig will be broken, - pointing to the directories where the installation was built and - not where it currently is. In this case, ensure that the missing - directory isn't used for get_python_inc. - - See pypa/distutils#178. - """ - - def override(name): - if name == 'INCLUDEPY': - return '/does-not-exist' - return sysconfig.get_config_var(name) - - monkeypatch.setattr(sysconfig, 'get_config_var', override) - - assert os.path.exists(sysconfig.get_python_inc()) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_text_file.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_text_file.py deleted file mode 100644 index f5111565..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_text_file.py +++ /dev/null @@ -1,127 +0,0 @@ -"""Tests for distutils.text_file.""" - -from distutils.tests import support -from distutils.text_file import TextFile - -import jaraco.path -import path - -TEST_DATA = """# test file - -line 3 \\ -# intervening comment - continues on next line -""" - - -class TestTextFile(support.TempdirManager): - def test_class(self): - # old tests moved from text_file.__main__ - # so they are really called by the buildbots - - # result 1: no fancy options - result1 = [ - '# test file\n', - '\n', - 'line 3 \\\n', - '# intervening comment\n', - ' continues on next line\n', - ] - - # result 2: just strip comments - result2 = ["\n", "line 3 \\\n", " continues on next line\n"] - - # result 3: just strip blank lines - result3 = [ - "# test file\n", - "line 3 \\\n", - "# intervening comment\n", - " continues on next line\n", - ] - - # result 4: default, strip comments, blank lines, - # and trailing whitespace - result4 = ["line 3 \\", " continues on next line"] - - # result 5: strip comments and blanks, plus join lines (but don't - # "collapse" joined lines - result5 = ["line 3 continues on next line"] - - # result 6: strip comments and blanks, plus join lines (and - # "collapse" joined lines - result6 = ["line 3 continues on next line"] - - def test_input(count, description, file, expected_result): - result = file.readlines() - assert result == expected_result - - tmp_path = path.Path(self.mkdtemp()) - filename = tmp_path / 'test.txt' - jaraco.path.build({filename.name: TEST_DATA}, tmp_path) - - in_file = TextFile( - filename, - strip_comments=False, - skip_blanks=False, - lstrip_ws=False, - rstrip_ws=False, - ) - try: - test_input(1, "no processing", in_file, result1) - finally: - in_file.close() - - in_file = TextFile( - filename, - strip_comments=True, - skip_blanks=False, - lstrip_ws=False, - rstrip_ws=False, - ) - try: - test_input(2, "strip comments", in_file, result2) - finally: - in_file.close() - - in_file = TextFile( - filename, - strip_comments=False, - skip_blanks=True, - lstrip_ws=False, - rstrip_ws=False, - ) - try: - test_input(3, "strip blanks", in_file, result3) - finally: - in_file.close() - - in_file = TextFile(filename) - try: - test_input(4, "default processing", in_file, result4) - finally: - in_file.close() - - in_file = TextFile( - filename, - strip_comments=True, - skip_blanks=True, - join_lines=True, - rstrip_ws=True, - ) - try: - test_input(5, "join lines without collapsing", in_file, result5) - finally: - in_file.close() - - in_file = TextFile( - filename, - strip_comments=True, - skip_blanks=True, - join_lines=True, - rstrip_ws=True, - collapse_join=True, - ) - try: - test_input(6, "join lines with collapsing", in_file, result6) - finally: - in_file.close() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_unixccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_unixccompiler.py deleted file mode 100644 index 50b66544..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_unixccompiler.py +++ /dev/null @@ -1,351 +0,0 @@ -"""Tests for distutils.unixccompiler.""" - -import os -import sys -import unittest.mock as mock -from distutils import sysconfig -from distutils.compat import consolidate_linker_args -from distutils.errors import DistutilsPlatformError -from distutils.unixccompiler import UnixCCompiler -from distutils.util import _clear_cached_macosx_ver - -import pytest - -from . import support -from .compat.py38 import EnvironmentVarGuard - - -@pytest.fixture(autouse=True) -def save_values(monkeypatch): - monkeypatch.setattr(sys, 'platform', sys.platform) - monkeypatch.setattr(sysconfig, 'get_config_var', sysconfig.get_config_var) - monkeypatch.setattr(sysconfig, 'get_config_vars', sysconfig.get_config_vars) - - -@pytest.fixture(autouse=True) -def compiler_wrapper(request): - class CompilerWrapper(UnixCCompiler): - def rpath_foo(self): - return self.runtime_library_dir_option('/foo') - - request.instance.cc = CompilerWrapper() - - -class TestUnixCCompiler(support.TempdirManager): - @pytest.mark.skipif('platform.system == "Windows"') - def test_runtime_libdir_option(self): # noqa: C901 - # Issue #5900; GitHub Issue #37 - # - # Ensure RUNPATH is added to extension modules with RPATH if - # GNU ld is used - - # darwin - sys.platform = 'darwin' - darwin_ver_var = 'MACOSX_DEPLOYMENT_TARGET' - darwin_rpath_flag = '-Wl,-rpath,/foo' - darwin_lib_flag = '-L/foo' - - # (macOS version from syscfg, macOS version from env var) -> flag - # Version value of None generates two tests: as None and as empty string - # Expected flag value of None means an mismatch exception is expected - darwin_test_cases = [ - ((None, None), darwin_lib_flag), - ((None, '11'), darwin_rpath_flag), - (('10', None), darwin_lib_flag), - (('10.3', None), darwin_lib_flag), - (('10.3.1', None), darwin_lib_flag), - (('10.5', None), darwin_rpath_flag), - (('10.5.1', None), darwin_rpath_flag), - (('10.3', '10.3'), darwin_lib_flag), - (('10.3', '10.5'), darwin_rpath_flag), - (('10.5', '10.3'), darwin_lib_flag), - (('10.5', '11'), darwin_rpath_flag), - (('10.4', '10'), None), - ] - - def make_darwin_gcv(syscfg_macosx_ver): - def gcv(var): - if var == darwin_ver_var: - return syscfg_macosx_ver - return "xxx" - - return gcv - - def do_darwin_test(syscfg_macosx_ver, env_macosx_ver, expected_flag): - env = os.environ - msg = f"macOS version = (sysconfig={syscfg_macosx_ver!r}, env={env_macosx_ver!r})" - - # Save - old_gcv = sysconfig.get_config_var - old_env_macosx_ver = env.get(darwin_ver_var) - - # Setup environment - _clear_cached_macosx_ver() - sysconfig.get_config_var = make_darwin_gcv(syscfg_macosx_ver) - if env_macosx_ver is not None: - env[darwin_ver_var] = env_macosx_ver - elif darwin_ver_var in env: - env.pop(darwin_ver_var) - - # Run the test - if expected_flag is not None: - assert self.cc.rpath_foo() == expected_flag, msg - else: - with pytest.raises( - DistutilsPlatformError, match=darwin_ver_var + r' mismatch' - ): - self.cc.rpath_foo() - - # Restore - if old_env_macosx_ver is not None: - env[darwin_ver_var] = old_env_macosx_ver - elif darwin_ver_var in env: - env.pop(darwin_ver_var) - sysconfig.get_config_var = old_gcv - _clear_cached_macosx_ver() - - for macosx_vers, expected_flag in darwin_test_cases: - syscfg_macosx_ver, env_macosx_ver = macosx_vers - do_darwin_test(syscfg_macosx_ver, env_macosx_ver, expected_flag) - # Bonus test cases with None interpreted as empty string - if syscfg_macosx_ver is None: - do_darwin_test("", env_macosx_ver, expected_flag) - if env_macosx_ver is None: - do_darwin_test(syscfg_macosx_ver, "", expected_flag) - if syscfg_macosx_ver is None and env_macosx_ver is None: - do_darwin_test("", "", expected_flag) - - old_gcv = sysconfig.get_config_var - - # hp-ux - sys.platform = 'hp-ux' - - def gcv(v): - return 'xxx' - - sysconfig.get_config_var = gcv - assert self.cc.rpath_foo() == ['+s', '-L/foo'] - - def gcv(v): - return 'gcc' - - sysconfig.get_config_var = gcv - assert self.cc.rpath_foo() == ['-Wl,+s', '-L/foo'] - - def gcv(v): - return 'g++' - - sysconfig.get_config_var = gcv - assert self.cc.rpath_foo() == ['-Wl,+s', '-L/foo'] - - sysconfig.get_config_var = old_gcv - - # GCC GNULD - sys.platform = 'bar' - - def gcv(v): - if v == 'CC': - return 'gcc' - elif v == 'GNULD': - return 'yes' - - sysconfig.get_config_var = gcv - assert self.cc.rpath_foo() == consolidate_linker_args([ - '-Wl,--enable-new-dtags', - '-Wl,-rpath,/foo', - ]) - - def gcv(v): - if v == 'CC': - return 'gcc -pthread -B /bar' - elif v == 'GNULD': - return 'yes' - - sysconfig.get_config_var = gcv - assert self.cc.rpath_foo() == consolidate_linker_args([ - '-Wl,--enable-new-dtags', - '-Wl,-rpath,/foo', - ]) - - # GCC non-GNULD - sys.platform = 'bar' - - def gcv(v): - if v == 'CC': - return 'gcc' - elif v == 'GNULD': - return 'no' - - sysconfig.get_config_var = gcv - assert self.cc.rpath_foo() == '-Wl,-R/foo' - - # GCC GNULD with fully qualified configuration prefix - # see #7617 - sys.platform = 'bar' - - def gcv(v): - if v == 'CC': - return 'x86_64-pc-linux-gnu-gcc-4.4.2' - elif v == 'GNULD': - return 'yes' - - sysconfig.get_config_var = gcv - assert self.cc.rpath_foo() == consolidate_linker_args([ - '-Wl,--enable-new-dtags', - '-Wl,-rpath,/foo', - ]) - - # non-GCC GNULD - sys.platform = 'bar' - - def gcv(v): - if v == 'CC': - return 'cc' - elif v == 'GNULD': - return 'yes' - - sysconfig.get_config_var = gcv - assert self.cc.rpath_foo() == consolidate_linker_args([ - '-Wl,--enable-new-dtags', - '-Wl,-rpath,/foo', - ]) - - # non-GCC non-GNULD - sys.platform = 'bar' - - def gcv(v): - if v == 'CC': - return 'cc' - elif v == 'GNULD': - return 'no' - - sysconfig.get_config_var = gcv - assert self.cc.rpath_foo() == '-Wl,-R/foo' - - @pytest.mark.skipif('platform.system == "Windows"') - def test_cc_overrides_ldshared(self): - # Issue #18080: - # ensure that setting CC env variable also changes default linker - def gcv(v): - if v == 'LDSHARED': - return 'gcc-4.2 -bundle -undefined dynamic_lookup ' - return 'gcc-4.2' - - def gcvs(*args, _orig=sysconfig.get_config_vars): - if args: - return list(map(sysconfig.get_config_var, args)) - return _orig() - - sysconfig.get_config_var = gcv - sysconfig.get_config_vars = gcvs - with EnvironmentVarGuard() as env: - env['CC'] = 'my_cc' - del env['LDSHARED'] - sysconfig.customize_compiler(self.cc) - assert self.cc.linker_so[0] == 'my_cc' - - @pytest.mark.skipif('platform.system == "Windows"') - @pytest.mark.usefixtures('disable_macos_customization') - def test_cc_overrides_ldshared_for_cxx_correctly(self): - """ - Ensure that setting CC env variable also changes default linker - correctly when building C++ extensions. - - pypa/distutils#126 - """ - - def gcv(v): - if v == 'LDSHARED': - return 'gcc-4.2 -bundle -undefined dynamic_lookup ' - elif v == 'LDCXXSHARED': - return 'g++-4.2 -bundle -undefined dynamic_lookup ' - elif v == 'CXX': - return 'g++-4.2' - elif v == 'CC': - return 'gcc-4.2' - return '' - - def gcvs(*args, _orig=sysconfig.get_config_vars): - if args: - return list(map(sysconfig.get_config_var, args)) - return _orig() - - sysconfig.get_config_var = gcv - sysconfig.get_config_vars = gcvs - with mock.patch.object( - self.cc, 'spawn', return_value=None - ) as mock_spawn, mock.patch.object( - self.cc, '_need_link', return_value=True - ), mock.patch.object( - self.cc, 'mkpath', return_value=None - ), EnvironmentVarGuard() as env: - env['CC'] = 'ccache my_cc' - env['CXX'] = 'my_cxx' - del env['LDSHARED'] - sysconfig.customize_compiler(self.cc) - assert self.cc.linker_so[0:2] == ['ccache', 'my_cc'] - self.cc.link(None, [], 'a.out', target_lang='c++') - call_args = mock_spawn.call_args[0][0] - expected = ['my_cxx', '-bundle', '-undefined', 'dynamic_lookup'] - assert call_args[:4] == expected - - @pytest.mark.skipif('platform.system == "Windows"') - def test_explicit_ldshared(self): - # Issue #18080: - # ensure that setting CC env variable does not change - # explicit LDSHARED setting for linker - def gcv(v): - if v == 'LDSHARED': - return 'gcc-4.2 -bundle -undefined dynamic_lookup ' - return 'gcc-4.2' - - def gcvs(*args, _orig=sysconfig.get_config_vars): - if args: - return list(map(sysconfig.get_config_var, args)) - return _orig() - - sysconfig.get_config_var = gcv - sysconfig.get_config_vars = gcvs - with EnvironmentVarGuard() as env: - env['CC'] = 'my_cc' - env['LDSHARED'] = 'my_ld -bundle -dynamic' - sysconfig.customize_compiler(self.cc) - assert self.cc.linker_so[0] == 'my_ld' - - def test_has_function(self): - # Issue https://github.com/pypa/distutils/issues/64: - # ensure that setting output_dir does not raise - # FileNotFoundError: [Errno 2] No such file or directory: 'a.out' - self.cc.output_dir = 'scratch' - os.chdir(self.mkdtemp()) - self.cc.has_function('abort') - - def test_find_library_file(self, monkeypatch): - compiler = UnixCCompiler() - compiler._library_root = lambda dir: dir - monkeypatch.setattr(os.path, 'exists', lambda d: 'existing' in d) - - libname = 'libabc.dylib' if sys.platform != 'cygwin' else 'cygabc.dll' - dirs = ('/foo/bar/missing', '/foo/bar/existing') - assert ( - compiler.find_library_file(dirs, 'abc').replace('\\', '/') - == f'/foo/bar/existing/{libname}' - ) - assert ( - compiler.find_library_file(reversed(dirs), 'abc').replace('\\', '/') - == f'/foo/bar/existing/{libname}' - ) - - monkeypatch.setattr( - os.path, - 'exists', - lambda d: 'existing' in d and '.a' in d and '.dll.a' not in d, - ) - assert ( - compiler.find_library_file(dirs, 'abc').replace('\\', '/') - == '/foo/bar/existing/libabc.a' - ) - assert ( - compiler.find_library_file(reversed(dirs), 'abc').replace('\\', '/') - == '/foo/bar/existing/libabc.a' - ) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_util.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_util.py deleted file mode 100644 index 00c9743e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_util.py +++ /dev/null @@ -1,243 +0,0 @@ -"""Tests for distutils.util.""" - -import email -import email.generator -import email.policy -import io -import os -import pathlib -import sys -import sysconfig as stdlib_sysconfig -import unittest.mock as mock -from copy import copy -from distutils import sysconfig, util -from distutils.errors import DistutilsByteCompileError, DistutilsPlatformError -from distutils.util import ( - byte_compile, - change_root, - check_environ, - convert_path, - get_host_platform, - get_platform, - grok_environment_error, - rfc822_escape, - split_quoted, - strtobool, -) - -import pytest - - -@pytest.fixture(autouse=True) -def environment(monkeypatch): - monkeypatch.setattr(os, 'name', os.name) - monkeypatch.setattr(sys, 'platform', sys.platform) - monkeypatch.setattr(sys, 'version', sys.version) - monkeypatch.setattr(os, 'sep', os.sep) - monkeypatch.setattr(os.path, 'join', os.path.join) - monkeypatch.setattr(os.path, 'isabs', os.path.isabs) - monkeypatch.setattr(os.path, 'splitdrive', os.path.splitdrive) - monkeypatch.setattr(sysconfig, '_config_vars', copy(sysconfig._config_vars)) - - -@pytest.mark.usefixtures('save_env') -class TestUtil: - def test_get_host_platform(self): - with mock.patch('os.name', 'nt'): - with mock.patch('sys.version', '... [... (ARM64)]'): - assert get_host_platform() == 'win-arm64' - with mock.patch('sys.version', '... [... (ARM)]'): - assert get_host_platform() == 'win-arm32' - - with mock.patch('sys.version_info', (3, 9, 0, 'final', 0)): - assert get_host_platform() == stdlib_sysconfig.get_platform() - - def test_get_platform(self): - with mock.patch('os.name', 'nt'): - with mock.patch.dict('os.environ', {'VSCMD_ARG_TGT_ARCH': 'x86'}): - assert get_platform() == 'win32' - with mock.patch.dict('os.environ', {'VSCMD_ARG_TGT_ARCH': 'x64'}): - assert get_platform() == 'win-amd64' - with mock.patch.dict('os.environ', {'VSCMD_ARG_TGT_ARCH': 'arm'}): - assert get_platform() == 'win-arm32' - with mock.patch.dict('os.environ', {'VSCMD_ARG_TGT_ARCH': 'arm64'}): - assert get_platform() == 'win-arm64' - - def test_convert_path(self): - expected = os.sep.join(('', 'home', 'to', 'my', 'stuff')) - assert convert_path('/home/to/my/stuff') == expected - assert convert_path(pathlib.Path('/home/to/my/stuff')) == expected - assert convert_path('.') == os.curdir - - def test_change_root(self): - # linux/mac - os.name = 'posix' - - def _isabs(path): - return path[0] == '/' - - os.path.isabs = _isabs - - def _join(*path): - return '/'.join(path) - - os.path.join = _join - - assert change_root('/root', '/old/its/here') == '/root/old/its/here' - assert change_root('/root', 'its/here') == '/root/its/here' - - # windows - os.name = 'nt' - os.sep = '\\' - - def _isabs(path): - return path.startswith('c:\\') - - os.path.isabs = _isabs - - def _splitdrive(path): - if path.startswith('c:'): - return ('', path.replace('c:', '')) - return ('', path) - - os.path.splitdrive = _splitdrive - - def _join(*path): - return '\\'.join(path) - - os.path.join = _join - - assert ( - change_root('c:\\root', 'c:\\old\\its\\here') == 'c:\\root\\old\\its\\here' - ) - assert change_root('c:\\root', 'its\\here') == 'c:\\root\\its\\here' - - # BugsBunny os (it's a great os) - os.name = 'BugsBunny' - with pytest.raises(DistutilsPlatformError): - change_root('c:\\root', 'its\\here') - - # XXX platforms to be covered: mac - - def test_check_environ(self): - util.check_environ.cache_clear() - os.environ.pop('HOME', None) - - check_environ() - - assert os.environ['PLAT'] == get_platform() - - @pytest.mark.skipif("os.name != 'posix'") - def test_check_environ_getpwuid(self): - util.check_environ.cache_clear() - os.environ.pop('HOME', None) - - import pwd - - # only set pw_dir field, other fields are not used - result = pwd.struct_passwd(( - None, - None, - None, - None, - None, - '/home/distutils', - None, - )) - with mock.patch.object(pwd, 'getpwuid', return_value=result): - check_environ() - assert os.environ['HOME'] == '/home/distutils' - - util.check_environ.cache_clear() - os.environ.pop('HOME', None) - - # bpo-10496: Catch pwd.getpwuid() error - with mock.patch.object(pwd, 'getpwuid', side_effect=KeyError): - check_environ() - assert 'HOME' not in os.environ - - def test_split_quoted(self): - assert split_quoted('""one"" "two" \'three\' \\four') == [ - 'one', - 'two', - 'three', - 'four', - ] - - def test_strtobool(self): - yes = ('y', 'Y', 'yes', 'True', 't', 'true', 'True', 'On', 'on', '1') - no = ('n', 'no', 'f', 'false', 'off', '0', 'Off', 'No', 'N') - - for y in yes: - assert strtobool(y) - - for n in no: - assert not strtobool(n) - - indent = 8 * ' ' - - @pytest.mark.parametrize( - "given,wanted", - [ - # 0x0b, 0x0c, ..., etc are also considered a line break by Python - ("hello\x0b\nworld\n", f"hello\x0b{indent}\n{indent}world\n{indent}"), - ("hello\x1eworld", f"hello\x1e{indent}world"), - ("", ""), - ( - "I am a\npoor\nlonesome\nheader\n", - f"I am a\n{indent}poor\n{indent}lonesome\n{indent}header\n{indent}", - ), - ], - ) - def test_rfc822_escape(self, given, wanted): - """ - We want to ensure a multi-line header parses correctly. - - For interoperability, the escaped value should also "round-trip" over - `email.generator.Generator.flatten` and `email.message_from_*` - (see pypa/setuptools#4033). - - The main issue is that internally `email.policy.EmailPolicy` uses - `splitlines` which will split on some control chars. If all the new lines - are not prefixed with spaces, the parser will interrupt reading - the current header and produce an incomplete value, while - incorrectly interpreting the rest of the headers as part of the payload. - """ - res = rfc822_escape(given) - - policy = email.policy.EmailPolicy( - utf8=True, - mangle_from_=False, - max_line_length=0, - ) - with io.StringIO() as buffer: - raw = f"header: {res}\nother-header: 42\n\npayload\n" - orig = email.message_from_string(raw) - email.generator.Generator(buffer, policy=policy).flatten(orig) - buffer.seek(0) - regen = email.message_from_file(buffer) - - for msg in (orig, regen): - assert msg.get_payload() == "payload\n" - assert msg["other-header"] == "42" - # Generator may replace control chars with `\n` - assert set(msg["header"].splitlines()) == set(res.splitlines()) - - assert res == wanted - - def test_dont_write_bytecode(self): - # makes sure byte_compile raise a DistutilsError - # if sys.dont_write_bytecode is True - old_dont_write_bytecode = sys.dont_write_bytecode - sys.dont_write_bytecode = True - try: - with pytest.raises(DistutilsByteCompileError): - byte_compile([]) - finally: - sys.dont_write_bytecode = old_dont_write_bytecode - - def test_grok_environment_error(self): - # test obsolete function to ensure backward compat (#4931) - exc = OSError("Unable to find batch file") - msg = grok_environment_error(exc) - assert msg == "error: Unable to find batch file" diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_version.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_version.py deleted file mode 100644 index 1508e1cc..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_version.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Tests for distutils.version.""" - -import distutils -from distutils.version import LooseVersion, StrictVersion - -import pytest - - -@pytest.fixture(autouse=True) -def suppress_deprecation(): - with distutils.version.suppress_known_deprecation(): - yield - - -class TestVersion: - def test_prerelease(self): - version = StrictVersion('1.2.3a1') - assert version.version == (1, 2, 3) - assert version.prerelease == ('a', 1) - assert str(version) == '1.2.3a1' - - version = StrictVersion('1.2.0') - assert str(version) == '1.2' - - def test_cmp_strict(self): - versions = ( - ('1.5.1', '1.5.2b2', -1), - ('161', '3.10a', ValueError), - ('8.02', '8.02', 0), - ('3.4j', '1996.07.12', ValueError), - ('3.2.pl0', '3.1.1.6', ValueError), - ('2g6', '11g', ValueError), - ('0.9', '2.2', -1), - ('1.2.1', '1.2', 1), - ('1.1', '1.2.2', -1), - ('1.2', '1.1', 1), - ('1.2.1', '1.2.2', -1), - ('1.2.2', '1.2', 1), - ('1.2', '1.2.2', -1), - ('0.4.0', '0.4', 0), - ('1.13++', '5.5.kw', ValueError), - ) - - for v1, v2, wanted in versions: - try: - res = StrictVersion(v1)._cmp(StrictVersion(v2)) - except ValueError: - if wanted is ValueError: - continue - else: - raise AssertionError(f"cmp({v1}, {v2}) shouldn't raise ValueError") - assert res == wanted, f'cmp({v1}, {v2}) should be {wanted}, got {res}' - res = StrictVersion(v1)._cmp(v2) - assert res == wanted, f'cmp({v1}, {v2}) should be {wanted}, got {res}' - res = StrictVersion(v1)._cmp(object()) - assert ( - res is NotImplemented - ), f'cmp({v1}, {v2}) should be NotImplemented, got {res}' - - def test_cmp(self): - versions = ( - ('1.5.1', '1.5.2b2', -1), - ('161', '3.10a', 1), - ('8.02', '8.02', 0), - ('3.4j', '1996.07.12', -1), - ('3.2.pl0', '3.1.1.6', 1), - ('2g6', '11g', -1), - ('0.960923', '2.2beta29', -1), - ('1.13++', '5.5.kw', -1), - ) - - for v1, v2, wanted in versions: - res = LooseVersion(v1)._cmp(LooseVersion(v2)) - assert res == wanted, f'cmp({v1}, {v2}) should be {wanted}, got {res}' - res = LooseVersion(v1)._cmp(v2) - assert res == wanted, f'cmp({v1}, {v2}) should be {wanted}, got {res}' - res = LooseVersion(v1)._cmp(object()) - assert ( - res is NotImplemented - ), f'cmp({v1}, {v2}) should be NotImplemented, got {res}' diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_versionpredicate.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/test_versionpredicate.py deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/unix_compat.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/unix_compat.py deleted file mode 100644 index a5d9ee45..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/tests/unix_compat.py +++ /dev/null @@ -1,17 +0,0 @@ -import sys - -try: - import grp - import pwd -except ImportError: - grp = pwd = None - -import pytest - -UNIX_ID_SUPPORT = grp and pwd -UID_0_SUPPORT = UNIX_ID_SUPPORT and sys.platform != "cygwin" - -require_unix_id = pytest.mark.skipif( - not UNIX_ID_SUPPORT, reason="Requires grp and pwd support" -) -require_uid_0 = pytest.mark.skipif(not UID_0_SUPPORT, reason="Requires UID 0 support") diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py deleted file mode 100644 index fec29c73..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/text_file.py +++ /dev/null @@ -1,286 +0,0 @@ -"""text_file - -provides the TextFile class, which gives an interface to text files -that (optionally) takes care of stripping comments, ignoring blank -lines, and joining lines with backslashes.""" - -import sys - - -class TextFile: - """Provides a file-like object that takes care of all the things you - commonly want to do when processing a text file that has some - line-by-line syntax: strip comments (as long as "#" is your - comment character), skip blank lines, join adjacent lines by - escaping the newline (ie. backslash at end of line), strip - leading and/or trailing whitespace. All of these are optional - and independently controllable. - - Provides a 'warn()' method so you can generate warning messages that - report physical line number, even if the logical line in question - spans multiple physical lines. Also provides 'unreadline()' for - implementing line-at-a-time lookahead. - - Constructor is called as: - - TextFile (filename=None, file=None, **options) - - It bombs (RuntimeError) if both 'filename' and 'file' are None; - 'filename' should be a string, and 'file' a file object (or - something that provides 'readline()' and 'close()' methods). It is - recommended that you supply at least 'filename', so that TextFile - can include it in warning messages. If 'file' is not supplied, - TextFile creates its own using 'io.open()'. - - The options are all boolean, and affect the value returned by - 'readline()': - strip_comments [default: true] - strip from "#" to end-of-line, as well as any whitespace - leading up to the "#" -- unless it is escaped by a backslash - lstrip_ws [default: false] - strip leading whitespace from each line before returning it - rstrip_ws [default: true] - strip trailing whitespace (including line terminator!) from - each line before returning it - skip_blanks [default: true} - skip lines that are empty *after* stripping comments and - whitespace. (If both lstrip_ws and rstrip_ws are false, - then some lines may consist of solely whitespace: these will - *not* be skipped, even if 'skip_blanks' is true.) - join_lines [default: false] - if a backslash is the last non-newline character on a line - after stripping comments and whitespace, join the following line - to it to form one "logical line"; if N consecutive lines end - with a backslash, then N+1 physical lines will be joined to - form one logical line. - collapse_join [default: false] - strip leading whitespace from lines that are joined to their - predecessor; only matters if (join_lines and not lstrip_ws) - errors [default: 'strict'] - error handler used to decode the file content - - Note that since 'rstrip_ws' can strip the trailing newline, the - semantics of 'readline()' must differ from those of the builtin file - object's 'readline()' method! In particular, 'readline()' returns - None for end-of-file: an empty string might just be a blank line (or - an all-whitespace line), if 'rstrip_ws' is true but 'skip_blanks' is - not.""" - - default_options = { - 'strip_comments': 1, - 'skip_blanks': 1, - 'lstrip_ws': 0, - 'rstrip_ws': 1, - 'join_lines': 0, - 'collapse_join': 0, - 'errors': 'strict', - } - - def __init__(self, filename=None, file=None, **options): - """Construct a new TextFile object. At least one of 'filename' - (a string) and 'file' (a file-like object) must be supplied. - They keyword argument options are described above and affect - the values returned by 'readline()'.""" - if filename is None and file is None: - raise RuntimeError( - "you must supply either or both of 'filename' and 'file'" - ) - - # set values for all options -- either from client option hash - # or fallback to default_options - for opt in self.default_options.keys(): - if opt in options: - setattr(self, opt, options[opt]) - else: - setattr(self, opt, self.default_options[opt]) - - # sanity check client option hash - for opt in options.keys(): - if opt not in self.default_options: - raise KeyError(f"invalid TextFile option '{opt}'") - - if file is None: - self.open(filename) - else: - self.filename = filename - self.file = file - self.current_line = 0 # assuming that file is at BOF! - - # 'linebuf' is a stack of lines that will be emptied before we - # actually read from the file; it's only populated by an - # 'unreadline()' operation - self.linebuf = [] - - def open(self, filename): - """Open a new file named 'filename'. This overrides both the - 'filename' and 'file' arguments to the constructor.""" - self.filename = filename - self.file = open(self.filename, errors=self.errors, encoding='utf-8') - self.current_line = 0 - - def close(self): - """Close the current file and forget everything we know about it - (filename, current line number).""" - file = self.file - self.file = None - self.filename = None - self.current_line = None - file.close() - - def gen_error(self, msg, line=None): - outmsg = [] - if line is None: - line = self.current_line - outmsg.append(self.filename + ", ") - if isinstance(line, (list, tuple)): - outmsg.append("lines %d-%d: " % tuple(line)) - else: - outmsg.append("line %d: " % line) - outmsg.append(str(msg)) - return "".join(outmsg) - - def error(self, msg, line=None): - raise ValueError("error: " + self.gen_error(msg, line)) - - def warn(self, msg, line=None): - """Print (to stderr) a warning message tied to the current logical - line in the current file. If the current logical line in the - file spans multiple physical lines, the warning refers to the - whole range, eg. "lines 3-5". If 'line' supplied, it overrides - the current line number; it may be a list or tuple to indicate a - range of physical lines, or an integer for a single physical - line.""" - sys.stderr.write("warning: " + self.gen_error(msg, line) + "\n") - - def readline(self): # noqa: C901 - """Read and return a single logical line from the current file (or - from an internal buffer if lines have previously been "unread" - with 'unreadline()'). If the 'join_lines' option is true, this - may involve reading multiple physical lines concatenated into a - single string. Updates the current line number, so calling - 'warn()' after 'readline()' emits a warning about the physical - line(s) just read. Returns None on end-of-file, since the empty - string can occur if 'rstrip_ws' is true but 'strip_blanks' is - not.""" - # If any "unread" lines waiting in 'linebuf', return the top - # one. (We don't actually buffer read-ahead data -- lines only - # get put in 'linebuf' if the client explicitly does an - # 'unreadline()'. - if self.linebuf: - line = self.linebuf[-1] - del self.linebuf[-1] - return line - - buildup_line = '' - - while True: - # read the line, make it None if EOF - line = self.file.readline() - if line == '': - line = None - - if self.strip_comments and line: - # Look for the first "#" in the line. If none, never - # mind. If we find one and it's the first character, or - # is not preceded by "\", then it starts a comment -- - # strip the comment, strip whitespace before it, and - # carry on. Otherwise, it's just an escaped "#", so - # unescape it (and any other escaped "#"'s that might be - # lurking in there) and otherwise leave the line alone. - - pos = line.find("#") - if pos == -1: # no "#" -- no comments - pass - - # It's definitely a comment -- either "#" is the first - # character, or it's elsewhere and unescaped. - elif pos == 0 or line[pos - 1] != "\\": - # Have to preserve the trailing newline, because it's - # the job of a later step (rstrip_ws) to remove it -- - # and if rstrip_ws is false, we'd better preserve it! - # (NB. this means that if the final line is all comment - # and has no trailing newline, we will think that it's - # EOF; I think that's OK.) - eol = (line[-1] == '\n') and '\n' or '' - line = line[0:pos] + eol - - # If all that's left is whitespace, then skip line - # *now*, before we try to join it to 'buildup_line' -- - # that way constructs like - # hello \\ - # # comment that should be ignored - # there - # result in "hello there". - if line.strip() == "": - continue - else: # it's an escaped "#" - line = line.replace("\\#", "#") - - # did previous line end with a backslash? then accumulate - if self.join_lines and buildup_line: - # oops: end of file - if line is None: - self.warn("continuation line immediately precedes end-of-file") - return buildup_line - - if self.collapse_join: - line = line.lstrip() - line = buildup_line + line - - # careful: pay attention to line number when incrementing it - if isinstance(self.current_line, list): - self.current_line[1] = self.current_line[1] + 1 - else: - self.current_line = [self.current_line, self.current_line + 1] - # just an ordinary line, read it as usual - else: - if line is None: # eof - return None - - # still have to be careful about incrementing the line number! - if isinstance(self.current_line, list): - self.current_line = self.current_line[1] + 1 - else: - self.current_line = self.current_line + 1 - - # strip whitespace however the client wants (leading and - # trailing, or one or the other, or neither) - if self.lstrip_ws and self.rstrip_ws: - line = line.strip() - elif self.lstrip_ws: - line = line.lstrip() - elif self.rstrip_ws: - line = line.rstrip() - - # blank line (whether we rstrip'ed or not)? skip to next line - # if appropriate - if line in ('', '\n') and self.skip_blanks: - continue - - if self.join_lines: - if line[-1] == '\\': - buildup_line = line[:-1] - continue - - if line[-2:] == '\\\n': - buildup_line = line[0:-2] + '\n' - continue - - # well, I guess there's some actual content there: return it - return line - - def readlines(self): - """Read and return the list of all logical lines remaining in the - current file.""" - lines = [] - while True: - line = self.readline() - if line is None: - return lines - lines.append(line) - - def unreadline(self, line): - """Push 'line' (a string) onto an internal buffer that will be - checked by future 'readline()' calls. Handy for implementing - a parser with line-at-a-time lookahead.""" - self.linebuf.append(line) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py deleted file mode 100644 index 6c1116ae..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py +++ /dev/null @@ -1,402 +0,0 @@ -"""distutils.unixccompiler - -Contains the UnixCCompiler class, a subclass of CCompiler that handles -the "typical" Unix-style command-line C compiler: - * macros defined with -Dname[=value] - * macros undefined with -Uname - * include search directories specified with -Idir - * libraries specified with -lllib - * library search directories specified with -Ldir - * compile handled by 'cc' (or similar) executable with -c option: - compiles .c to .o - * link static library handled by 'ar' command (possibly with 'ranlib') - * link shared library handled by 'cc -shared' -""" - -from __future__ import annotations - -import itertools -import os -import re -import shlex -import sys - -from . import sysconfig -from ._log import log -from ._macos_compat import compiler_fixup -from ._modified import newer -from .ccompiler import CCompiler, gen_lib_options, gen_preprocess_options -from .compat import consolidate_linker_args -from .errors import CompileError, DistutilsExecError, LibError, LinkError - -# XXX Things not currently handled: -# * optimization/debug/warning flags; we just use whatever's in Python's -# Makefile and live with it. Is this adequate? If not, we might -# have to have a bunch of subclasses GNUCCompiler, SGICCompiler, -# SunCCompiler, and I suspect down that road lies madness. -# * even if we don't know a warning flag from an optimization flag, -# we need some way for outsiders to feed preprocessor/compiler/linker -# flags in to us -- eg. a sysadmin might want to mandate certain flags -# via a site config file, or a user might want to set something for -# compiling this module distribution only via the setup.py command -# line, whatever. As long as these options come from something on the -# current system, they can be as system-dependent as they like, and we -# should just happily stuff them into the preprocessor/compiler/linker -# options and carry on. - - -def _split_env(cmd): - """ - For macOS, split command into 'env' portion (if any) - and the rest of the linker command. - - >>> _split_env(['a', 'b', 'c']) - ([], ['a', 'b', 'c']) - >>> _split_env(['/usr/bin/env', 'A=3', 'gcc']) - (['/usr/bin/env', 'A=3'], ['gcc']) - """ - pivot = 0 - if os.path.basename(cmd[0]) == "env": - pivot = 1 - while '=' in cmd[pivot]: - pivot += 1 - return cmd[:pivot], cmd[pivot:] - - -def _split_aix(cmd): - """ - AIX platforms prefix the compiler with the ld_so_aix - script, so split that from the linker command. - - >>> _split_aix(['a', 'b', 'c']) - ([], ['a', 'b', 'c']) - >>> _split_aix(['/bin/foo/ld_so_aix', 'gcc']) - (['/bin/foo/ld_so_aix'], ['gcc']) - """ - pivot = os.path.basename(cmd[0]) == 'ld_so_aix' - return cmd[:pivot], cmd[pivot:] - - -def _linker_params(linker_cmd, compiler_cmd): - """ - The linker command usually begins with the compiler - command (possibly multiple elements), followed by zero or more - params for shared library building. - - If the LDSHARED env variable overrides the linker command, - however, the commands may not match. - - Return the best guess of the linker parameters by stripping - the linker command. If the compiler command does not - match the linker command, assume the linker command is - just the first element. - - >>> _linker_params('gcc foo bar'.split(), ['gcc']) - ['foo', 'bar'] - >>> _linker_params('gcc foo bar'.split(), ['other']) - ['foo', 'bar'] - >>> _linker_params('ccache gcc foo bar'.split(), 'ccache gcc'.split()) - ['foo', 'bar'] - >>> _linker_params(['gcc'], ['gcc']) - [] - """ - c_len = len(compiler_cmd) - pivot = c_len if linker_cmd[:c_len] == compiler_cmd else 1 - return linker_cmd[pivot:] - - -class UnixCCompiler(CCompiler): - compiler_type = 'unix' - - # These are used by CCompiler in two places: the constructor sets - # instance attributes 'preprocessor', 'compiler', etc. from them, and - # 'set_executable()' allows any of these to be set. The defaults here - # are pretty generic; they will probably have to be set by an outsider - # (eg. using information discovered by the sysconfig about building - # Python extensions). - executables = { - 'preprocessor': None, - 'compiler': ["cc"], - 'compiler_so': ["cc"], - 'compiler_cxx': ["c++"], - 'compiler_so_cxx': ["c++"], - 'linker_so': ["cc", "-shared"], - 'linker_so_cxx': ["c++", "-shared"], - 'linker_exe': ["cc"], - 'linker_exe_cxx': ["c++", "-shared"], - 'archiver': ["ar", "-cr"], - 'ranlib': None, - } - - if sys.platform[:6] == "darwin": - executables['ranlib'] = ["ranlib"] - - # Needed for the filename generation methods provided by the base - # class, CCompiler. NB. whoever instantiates/uses a particular - # UnixCCompiler instance should set 'shared_lib_ext' -- we set a - # reasonable common default here, but it's not necessarily used on all - # Unices! - - src_extensions = [".c", ".C", ".cc", ".cxx", ".cpp", ".m"] - obj_extension = ".o" - static_lib_extension = ".a" - shared_lib_extension = ".so" - dylib_lib_extension = ".dylib" - xcode_stub_lib_extension = ".tbd" - static_lib_format = shared_lib_format = dylib_lib_format = "lib%s%s" - xcode_stub_lib_format = dylib_lib_format - if sys.platform == "cygwin": - exe_extension = ".exe" - shared_lib_extension = ".dll.a" - dylib_lib_extension = ".dll" - dylib_lib_format = "cyg%s%s" - - def preprocess( - self, - source, - output_file=None, - macros=None, - include_dirs=None, - extra_preargs=None, - extra_postargs=None, - ): - fixed_args = self._fix_compile_args(None, macros, include_dirs) - ignore, macros, include_dirs = fixed_args - pp_opts = gen_preprocess_options(macros, include_dirs) - pp_args = self.preprocessor + pp_opts - if output_file: - pp_args.extend(['-o', output_file]) - if extra_preargs: - pp_args[:0] = extra_preargs - if extra_postargs: - pp_args.extend(extra_postargs) - pp_args.append(source) - - # reasons to preprocess: - # - force is indicated - # - output is directed to stdout - # - source file is newer than the target - preprocess = self.force or output_file is None or newer(source, output_file) - if not preprocess: - return - - if output_file: - self.mkpath(os.path.dirname(output_file)) - - try: - self.spawn(pp_args) - except DistutilsExecError as msg: - raise CompileError(msg) - - def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): - compiler_so = compiler_fixup(self.compiler_so, cc_args + extra_postargs) - compiler_so_cxx = compiler_fixup(self.compiler_so_cxx, cc_args + extra_postargs) - try: - if self.detect_language(src) == 'c++': - self.spawn( - compiler_so_cxx + cc_args + [src, '-o', obj] + extra_postargs - ) - else: - self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs) - except DistutilsExecError as msg: - raise CompileError(msg) - - def create_static_lib( - self, objects, output_libname, output_dir=None, debug=False, target_lang=None - ): - objects, output_dir = self._fix_object_args(objects, output_dir) - - output_filename = self.library_filename(output_libname, output_dir=output_dir) - - if self._need_link(objects, output_filename): - self.mkpath(os.path.dirname(output_filename)) - self.spawn(self.archiver + [output_filename] + objects + self.objects) - - # Not many Unices required ranlib anymore -- SunOS 4.x is, I - # think the only major Unix that does. Maybe we need some - # platform intelligence here to skip ranlib if it's not - # needed -- or maybe Python's configure script took care of - # it for us, hence the check for leading colon. - if self.ranlib: - try: - self.spawn(self.ranlib + [output_filename]) - except DistutilsExecError as msg: - raise LibError(msg) - else: - log.debug("skipping %s (up-to-date)", output_filename) - - def link( - self, - target_desc, - objects, - output_filename, - output_dir=None, - libraries=None, - library_dirs=None, - runtime_library_dirs=None, - export_symbols=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - build_temp=None, - target_lang=None, - ): - objects, output_dir = self._fix_object_args(objects, output_dir) - fixed_args = self._fix_lib_args(libraries, library_dirs, runtime_library_dirs) - libraries, library_dirs, runtime_library_dirs = fixed_args - - lib_opts = gen_lib_options(self, library_dirs, runtime_library_dirs, libraries) - if not isinstance(output_dir, (str, type(None))): - raise TypeError("'output_dir' must be a string or None") - if output_dir is not None: - output_filename = os.path.join(output_dir, output_filename) - - if self._need_link(objects, output_filename): - ld_args = objects + self.objects + lib_opts + ['-o', output_filename] - if debug: - ld_args[:0] = ['-g'] - if extra_preargs: - ld_args[:0] = extra_preargs - if extra_postargs: - ld_args.extend(extra_postargs) - self.mkpath(os.path.dirname(output_filename)) - try: - # Select a linker based on context: linker_exe when - # building an executable or linker_so (with shared options) - # when building a shared library. - building_exe = target_desc == CCompiler.EXECUTABLE - linker = ( - self.linker_exe - if building_exe - else ( - self.linker_so_cxx if target_lang == "c++" else self.linker_so - ) - )[:] - - if target_lang == "c++" and self.compiler_cxx: - env, linker_ne = _split_env(linker) - aix, linker_na = _split_aix(linker_ne) - _, compiler_cxx_ne = _split_env(self.compiler_cxx) - _, linker_exe_ne = _split_env(self.linker_exe) - - params = _linker_params(linker_na, linker_exe_ne) - linker = env + aix + compiler_cxx_ne + params - - linker = compiler_fixup(linker, ld_args) - - self.spawn(linker + ld_args) - except DistutilsExecError as msg: - raise LinkError(msg) - else: - log.debug("skipping %s (up-to-date)", output_filename) - - # -- Miscellaneous methods ----------------------------------------- - # These are all used by the 'gen_lib_options() function, in - # ccompiler.py. - - def library_dir_option(self, dir): - return "-L" + dir - - def _is_gcc(self): - cc_var = sysconfig.get_config_var("CC") - compiler = os.path.basename(shlex.split(cc_var)[0]) - return "gcc" in compiler or "g++" in compiler - - def runtime_library_dir_option(self, dir: str) -> str | list[str]: - # XXX Hackish, at the very least. See Python bug #445902: - # https://bugs.python.org/issue445902 - # Linkers on different platforms need different options to - # specify that directories need to be added to the list of - # directories searched for dependencies when a dynamic library - # is sought. GCC on GNU systems (Linux, FreeBSD, ...) has to - # be told to pass the -R option through to the linker, whereas - # other compilers and gcc on other systems just know this. - # Other compilers may need something slightly different. At - # this time, there's no way to determine this information from - # the configuration data stored in the Python installation, so - # we use this hack. - if sys.platform[:6] == "darwin": - from distutils.util import get_macosx_target_ver, split_version - - macosx_target_ver = get_macosx_target_ver() - if macosx_target_ver and split_version(macosx_target_ver) >= [10, 5]: - return "-Wl,-rpath," + dir - else: # no support for -rpath on earlier macOS versions - return "-L" + dir - elif sys.platform[:7] == "freebsd": - return "-Wl,-rpath=" + dir - elif sys.platform[:5] == "hp-ux": - return [ - "-Wl,+s" if self._is_gcc() else "+s", - "-L" + dir, - ] - - # For all compilers, `-Wl` is the presumed way to pass a - # compiler option to the linker - if sysconfig.get_config_var("GNULD") == "yes": - return consolidate_linker_args([ - # Force RUNPATH instead of RPATH - "-Wl,--enable-new-dtags", - "-Wl,-rpath," + dir, - ]) - else: - return "-Wl,-R" + dir - - def library_option(self, lib): - return "-l" + lib - - @staticmethod - def _library_root(dir): - """ - macOS users can specify an alternate SDK using'-isysroot'. - Calculate the SDK root if it is specified. - - Note that, as of Xcode 7, Apple SDKs may contain textual stub - libraries with .tbd extensions rather than the normal .dylib - shared libraries installed in /. The Apple compiler tool - chain handles this transparently but it can cause problems - for programs that are being built with an SDK and searching - for specific libraries. Callers of find_library_file need to - keep in mind that the base filename of the returned SDK library - file might have a different extension from that of the library - file installed on the running system, for example: - /Applications/Xcode.app/Contents/Developer/Platforms/ - MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/ - usr/lib/libedit.tbd - vs - /usr/lib/libedit.dylib - """ - cflags = sysconfig.get_config_var('CFLAGS') - match = re.search(r'-isysroot\s*(\S+)', cflags) - - apply_root = ( - sys.platform == 'darwin' - and match - and ( - dir.startswith('/System/') - or (dir.startswith('/usr/') and not dir.startswith('/usr/local/')) - ) - ) - - return os.path.join(match.group(1), dir[1:]) if apply_root else dir - - def find_library_file(self, dirs, lib, debug=False): - """ - Second-guess the linker with not much hard - data to go on: GCC seems to prefer the shared library, so - assume that *all* Unix C compilers do, - ignoring even GCC's "-static" option. - """ - lib_names = ( - self.library_filename(lib, lib_type=type) - for type in 'dylib xcode_stub shared static'.split() - ) - - roots = map(self._library_root, dirs) - - searched = itertools.starmap(os.path.join, itertools.product(roots, lib_names)) - - found = filter(os.path.exists, searched) - - # Return None if it could not be found in any dir. - return next(found, None) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/util.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/util.py deleted file mode 100644 index 609c1a50..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/util.py +++ /dev/null @@ -1,505 +0,0 @@ -"""distutils.util - -Miscellaneous utility functions -- anything that doesn't fit into -one of the other *util.py modules. -""" - -from __future__ import annotations - -import functools -import importlib.util -import os -import pathlib -import re -import string -import subprocess -import sys -import sysconfig -import tempfile - -from jaraco.functools import pass_none - -from ._log import log -from ._modified import newer -from .errors import DistutilsByteCompileError, DistutilsPlatformError -from .spawn import spawn - - -def get_host_platform(): - """ - Return a string that identifies the current platform. Use this - function to distinguish platform-specific build directories and - platform-specific built distributions. - """ - - # This function initially exposed platforms as defined in Python 3.9 - # even with older Python versions when distutils was split out. - # Now it delegates to stdlib sysconfig, but maintains compatibility. - - if sys.version_info < (3, 9): - if os.name == "posix" and hasattr(os, 'uname'): - osname, host, release, version, machine = os.uname() - if osname[:3] == "aix": - from .compat.py38 import aix_platform - - return aix_platform(osname, version, release) - - return sysconfig.get_platform() - - -def get_platform(): - if os.name == 'nt': - TARGET_TO_PLAT = { - 'x86': 'win32', - 'x64': 'win-amd64', - 'arm': 'win-arm32', - 'arm64': 'win-arm64', - } - target = os.environ.get('VSCMD_ARG_TGT_ARCH') - return TARGET_TO_PLAT.get(target) or get_host_platform() - return get_host_platform() - - -if sys.platform == 'darwin': - _syscfg_macosx_ver = None # cache the version pulled from sysconfig -MACOSX_VERSION_VAR = 'MACOSX_DEPLOYMENT_TARGET' - - -def _clear_cached_macosx_ver(): - """For testing only. Do not call.""" - global _syscfg_macosx_ver - _syscfg_macosx_ver = None - - -def get_macosx_target_ver_from_syscfg(): - """Get the version of macOS latched in the Python interpreter configuration. - Returns the version as a string or None if can't obtain one. Cached.""" - global _syscfg_macosx_ver - if _syscfg_macosx_ver is None: - from distutils import sysconfig - - ver = sysconfig.get_config_var(MACOSX_VERSION_VAR) or '' - if ver: - _syscfg_macosx_ver = ver - return _syscfg_macosx_ver - - -def get_macosx_target_ver(): - """Return the version of macOS for which we are building. - - The target version defaults to the version in sysconfig latched at time - the Python interpreter was built, unless overridden by an environment - variable. If neither source has a value, then None is returned""" - - syscfg_ver = get_macosx_target_ver_from_syscfg() - env_ver = os.environ.get(MACOSX_VERSION_VAR) - - if env_ver: - # Validate overridden version against sysconfig version, if have both. - # Ensure that the deployment target of the build process is not less - # than 10.3 if the interpreter was built for 10.3 or later. This - # ensures extension modules are built with correct compatibility - # values, specifically LDSHARED which can use - # '-undefined dynamic_lookup' which only works on >= 10.3. - if ( - syscfg_ver - and split_version(syscfg_ver) >= [10, 3] - and split_version(env_ver) < [10, 3] - ): - my_msg = ( - '$' + MACOSX_VERSION_VAR + ' mismatch: ' - f'now "{env_ver}" but "{syscfg_ver}" during configure; ' - 'must use 10.3 or later' - ) - raise DistutilsPlatformError(my_msg) - return env_ver - return syscfg_ver - - -def split_version(s): - """Convert a dot-separated string into a list of numbers for comparisons""" - return [int(n) for n in s.split('.')] - - -@pass_none -def convert_path(pathname: str | os.PathLike) -> str: - r""" - Allow for pathlib.Path inputs, coax to a native path string. - - If None is passed, will just pass it through as - Setuptools relies on this behavior. - - >>> convert_path(None) is None - True - - Removes empty paths. - - >>> convert_path('foo/./bar').replace('\\', '/') - 'foo/bar' - """ - return os.fspath(pathlib.PurePath(pathname)) - - -def change_root(new_root, pathname): - """Return 'pathname' with 'new_root' prepended. If 'pathname' is - relative, this is equivalent to "os.path.join(new_root,pathname)". - Otherwise, it requires making 'pathname' relative and then joining the - two, which is tricky on DOS/Windows and Mac OS. - """ - if os.name == 'posix': - if not os.path.isabs(pathname): - return os.path.join(new_root, pathname) - else: - return os.path.join(new_root, pathname[1:]) - - elif os.name == 'nt': - (drive, path) = os.path.splitdrive(pathname) - if path[0] == os.sep: - path = path[1:] - return os.path.join(new_root, path) - - raise DistutilsPlatformError(f"nothing known about platform '{os.name}'") - - -@functools.lru_cache -def check_environ(): - """Ensure that 'os.environ' has all the environment variables we - guarantee that users can use in config files, command-line options, - etc. Currently this includes: - HOME - user's home directory (Unix only) - PLAT - description of the current platform, including hardware - and OS (see 'get_platform()') - """ - if os.name == 'posix' and 'HOME' not in os.environ: - try: - import pwd - - os.environ['HOME'] = pwd.getpwuid(os.getuid())[5] - except (ImportError, KeyError): - # bpo-10496: if the current user identifier doesn't exist in the - # password database, do nothing - pass - - if 'PLAT' not in os.environ: - os.environ['PLAT'] = get_platform() - - -def subst_vars(s, local_vars): - """ - Perform variable substitution on 'string'. - Variables are indicated by format-style braces ("{var}"). - Variable is substituted by the value found in the 'local_vars' - dictionary or in 'os.environ' if it's not in 'local_vars'. - 'os.environ' is first checked/augmented to guarantee that it contains - certain values: see 'check_environ()'. Raise ValueError for any - variables not found in either 'local_vars' or 'os.environ'. - """ - check_environ() - lookup = dict(os.environ) - lookup.update((name, str(value)) for name, value in local_vars.items()) - try: - return _subst_compat(s).format_map(lookup) - except KeyError as var: - raise ValueError(f"invalid variable {var}") - - -def _subst_compat(s): - """ - Replace shell/Perl-style variable substitution with - format-style. For compatibility. - """ - - def _subst(match): - return f'{{{match.group(1)}}}' - - repl = re.sub(r'\$([a-zA-Z_][a-zA-Z_0-9]*)', _subst, s) - if repl != s: - import warnings - - warnings.warn( - "shell/Perl-style substitutions are deprecated", - DeprecationWarning, - ) - return repl - - -def grok_environment_error(exc, prefix="error: "): - # Function kept for backward compatibility. - # Used to try clever things with EnvironmentErrors, - # but nowadays str(exception) produces good messages. - return prefix + str(exc) - - -# Needed by 'split_quoted()' -_wordchars_re = _squote_re = _dquote_re = None - - -def _init_regex(): - global _wordchars_re, _squote_re, _dquote_re - _wordchars_re = re.compile(rf'[^\\\'\"{string.whitespace} ]*') - _squote_re = re.compile(r"'(?:[^'\\]|\\.)*'") - _dquote_re = re.compile(r'"(?:[^"\\]|\\.)*"') - - -def split_quoted(s): - """Split a string up according to Unix shell-like rules for quotes and - backslashes. In short: words are delimited by spaces, as long as those - spaces are not escaped by a backslash, or inside a quoted string. - Single and double quotes are equivalent, and the quote characters can - be backslash-escaped. The backslash is stripped from any two-character - escape sequence, leaving only the escaped character. The quote - characters are stripped from any quoted string. Returns a list of - words. - """ - - # This is a nice algorithm for splitting up a single string, since it - # doesn't require character-by-character examination. It was a little - # bit of a brain-bender to get it working right, though... - if _wordchars_re is None: - _init_regex() - - s = s.strip() - words = [] - pos = 0 - - while s: - m = _wordchars_re.match(s, pos) - end = m.end() - if end == len(s): - words.append(s[:end]) - break - - if s[end] in string.whitespace: - # unescaped, unquoted whitespace: now - # we definitely have a word delimiter - words.append(s[:end]) - s = s[end:].lstrip() - pos = 0 - - elif s[end] == '\\': - # preserve whatever is being escaped; - # will become part of the current word - s = s[:end] + s[end + 1 :] - pos = end + 1 - - else: - if s[end] == "'": # slurp singly-quoted string - m = _squote_re.match(s, end) - elif s[end] == '"': # slurp doubly-quoted string - m = _dquote_re.match(s, end) - else: - raise RuntimeError("this can't happen (bad char '%c')" % s[end]) - - if m is None: - raise ValueError(f"bad string (mismatched {s[end]} quotes?)") - - (beg, end) = m.span() - s = s[:beg] + s[beg + 1 : end - 1] + s[end:] - pos = m.end() - 2 - - if pos >= len(s): - words.append(s) - break - - return words - - -# split_quoted () - - -def execute(func, args, msg=None, verbose=False, dry_run=False): - """Perform some action that affects the outside world (eg. by - writing to the filesystem). Such actions are special because they - are disabled by the 'dry_run' flag. This method takes care of all - that bureaucracy for you; all you have to do is supply the - function to call and an argument tuple for it (to embody the - "external action" being performed), and an optional message to - print. - """ - if msg is None: - msg = f"{func.__name__}{args!r}" - if msg[-2:] == ',)': # correct for singleton tuple - msg = msg[0:-2] + ')' - - log.info(msg) - if not dry_run: - func(*args) - - -def strtobool(val): - """Convert a string representation of truth to true (1) or false (0). - - True values are 'y', 'yes', 't', 'true', 'on', and '1'; false values - are 'n', 'no', 'f', 'false', 'off', and '0'. Raises ValueError if - 'val' is anything else. - """ - val = val.lower() - if val in ('y', 'yes', 't', 'true', 'on', '1'): - return 1 - elif val in ('n', 'no', 'f', 'false', 'off', '0'): - return 0 - else: - raise ValueError(f"invalid truth value {val!r}") - - -def byte_compile( # noqa: C901 - py_files, - optimize=0, - force=False, - prefix=None, - base_dir=None, - verbose=True, - dry_run=False, - direct=None, -): - """Byte-compile a collection of Python source files to .pyc - files in a __pycache__ subdirectory. 'py_files' is a list - of files to compile; any files that don't end in ".py" are silently - skipped. 'optimize' must be one of the following: - 0 - don't optimize - 1 - normal optimization (like "python -O") - 2 - extra optimization (like "python -OO") - If 'force' is true, all files are recompiled regardless of - timestamps. - - The source filename encoded in each bytecode file defaults to the - filenames listed in 'py_files'; you can modify these with 'prefix' and - 'basedir'. 'prefix' is a string that will be stripped off of each - source filename, and 'base_dir' is a directory name that will be - prepended (after 'prefix' is stripped). You can supply either or both - (or neither) of 'prefix' and 'base_dir', as you wish. - - If 'dry_run' is true, doesn't actually do anything that would - affect the filesystem. - - Byte-compilation is either done directly in this interpreter process - with the standard py_compile module, or indirectly by writing a - temporary script and executing it. Normally, you should let - 'byte_compile()' figure out to use direct compilation or not (see - the source for details). The 'direct' flag is used by the script - generated in indirect mode; unless you know what you're doing, leave - it set to None. - """ - - # nothing is done if sys.dont_write_bytecode is True - if sys.dont_write_bytecode: - raise DistutilsByteCompileError('byte-compiling is disabled.') - - # First, if the caller didn't force us into direct or indirect mode, - # figure out which mode we should be in. We take a conservative - # approach: choose direct mode *only* if the current interpreter is - # in debug mode and optimize is 0. If we're not in debug mode (-O - # or -OO), we don't know which level of optimization this - # interpreter is running with, so we can't do direct - # byte-compilation and be certain that it's the right thing. Thus, - # always compile indirectly if the current interpreter is in either - # optimize mode, or if either optimization level was requested by - # the caller. - if direct is None: - direct = __debug__ and optimize == 0 - - # "Indirect" byte-compilation: write a temporary script and then - # run it with the appropriate flags. - if not direct: - (script_fd, script_name) = tempfile.mkstemp(".py") - log.info("writing byte-compilation script '%s'", script_name) - if not dry_run: - script = os.fdopen(script_fd, "w", encoding='utf-8') - - with script: - script.write( - """\ -from distutils.util import byte_compile -files = [ -""" - ) - - # XXX would be nice to write absolute filenames, just for - # safety's sake (script should be more robust in the face of - # chdir'ing before running it). But this requires abspath'ing - # 'prefix' as well, and that breaks the hack in build_lib's - # 'byte_compile()' method that carefully tacks on a trailing - # slash (os.sep really) to make sure the prefix here is "just - # right". This whole prefix business is rather delicate -- the - # problem is that it's really a directory, but I'm treating it - # as a dumb string, so trailing slashes and so forth matter. - - script.write(",\n".join(map(repr, py_files)) + "]\n") - script.write( - f""" -byte_compile(files, optimize={optimize!r}, force={force!r}, - prefix={prefix!r}, base_dir={base_dir!r}, - verbose={verbose!r}, dry_run=False, - direct=True) -""" - ) - - cmd = [sys.executable] - cmd.extend(subprocess._optim_args_from_interpreter_flags()) - cmd.append(script_name) - spawn(cmd, dry_run=dry_run) - execute(os.remove, (script_name,), f"removing {script_name}", dry_run=dry_run) - - # "Direct" byte-compilation: use the py_compile module to compile - # right here, right now. Note that the script generated in indirect - # mode simply calls 'byte_compile()' in direct mode, a weird sort of - # cross-process recursion. Hey, it works! - else: - from py_compile import compile - - for file in py_files: - if file[-3:] != ".py": - # This lets us be lazy and not filter filenames in - # the "install_lib" command. - continue - - # Terminology from the py_compile module: - # cfile - byte-compiled file - # dfile - purported source filename (same as 'file' by default) - if optimize >= 0: - opt = '' if optimize == 0 else optimize - cfile = importlib.util.cache_from_source(file, optimization=opt) - else: - cfile = importlib.util.cache_from_source(file) - dfile = file - if prefix: - if file[: len(prefix)] != prefix: - raise ValueError( - f"invalid prefix: filename {file!r} doesn't start with {prefix!r}" - ) - dfile = dfile[len(prefix) :] - if base_dir: - dfile = os.path.join(base_dir, dfile) - - cfile_base = os.path.basename(cfile) - if direct: - if force or newer(file, cfile): - log.info("byte-compiling %s to %s", file, cfile_base) - if not dry_run: - compile(file, cfile, dfile) - else: - log.debug("skipping byte-compilation of %s to %s", file, cfile_base) - - -def rfc822_escape(header): - """Return a version of the string escaped for inclusion in an - RFC-822 header, by ensuring there are 8 spaces space after each newline. - """ - indent = 8 * " " - lines = header.splitlines(keepends=True) - - # Emulate the behaviour of `str.split` - # (the terminal line break in `splitlines` does not result in an extra line): - ends_in_newline = lines and lines[-1].splitlines()[0] != lines[-1] - suffix = indent if ends_in_newline else "" - - return indent.join(lines) + suffix - - -def is_mingw(): - """Returns True if the current platform is mingw. - - Python compiled with Mingw-w64 has sys.platform == 'win32' and - get_platform() starts with 'mingw'. - """ - return sys.platform == 'win32' and get_platform().startswith('mingw') diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/version.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/version.py deleted file mode 100644 index 942b56bf..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/version.py +++ /dev/null @@ -1,349 +0,0 @@ -# -# distutils/version.py -# -# Implements multiple version numbering conventions for the -# Python Module Distribution Utilities. -# -# $Id$ -# - -"""Provides classes to represent module version numbers (one class for -each style of version numbering). There are currently two such classes -implemented: StrictVersion and LooseVersion. - -Every version number class implements the following interface: - * the 'parse' method takes a string and parses it to some internal - representation; if the string is an invalid version number, - 'parse' raises a ValueError exception - * the class constructor takes an optional string argument which, - if supplied, is passed to 'parse' - * __str__ reconstructs the string that was passed to 'parse' (or - an equivalent string -- ie. one that will generate an equivalent - version number instance) - * __repr__ generates Python code to recreate the version number instance - * _cmp compares the current instance with either another instance - of the same class or a string (which will be parsed to an instance - of the same class, thus must follow the same rules) -""" - -import contextlib -import re -import warnings - - -@contextlib.contextmanager -def suppress_known_deprecation(): - with warnings.catch_warnings(record=True) as ctx: - warnings.filterwarnings( - action='default', - category=DeprecationWarning, - message="distutils Version classes are deprecated.", - ) - yield ctx - - -class Version: - """Abstract base class for version numbering classes. Just provides - constructor (__init__) and reproducer (__repr__), because those - seem to be the same for all version numbering classes; and route - rich comparisons to _cmp. - """ - - def __init__(self, vstring=None): - if vstring: - self.parse(vstring) - warnings.warn( - "distutils Version classes are deprecated. " - "Use packaging.version instead.", - DeprecationWarning, - stacklevel=2, - ) - - def __repr__(self): - return f"{self.__class__.__name__} ('{self}')" - - def __eq__(self, other): - c = self._cmp(other) - if c is NotImplemented: - return c - return c == 0 - - def __lt__(self, other): - c = self._cmp(other) - if c is NotImplemented: - return c - return c < 0 - - def __le__(self, other): - c = self._cmp(other) - if c is NotImplemented: - return c - return c <= 0 - - def __gt__(self, other): - c = self._cmp(other) - if c is NotImplemented: - return c - return c > 0 - - def __ge__(self, other): - c = self._cmp(other) - if c is NotImplemented: - return c - return c >= 0 - - -# Interface for version-number classes -- must be implemented -# by the following classes (the concrete ones -- Version should -# be treated as an abstract class). -# __init__ (string) - create and take same action as 'parse' -# (string parameter is optional) -# parse (string) - convert a string representation to whatever -# internal representation is appropriate for -# this style of version numbering -# __str__ (self) - convert back to a string; should be very similar -# (if not identical to) the string supplied to parse -# __repr__ (self) - generate Python code to recreate -# the instance -# _cmp (self, other) - compare two version numbers ('other' may -# be an unparsed version string, or another -# instance of your version class) - - -class StrictVersion(Version): - """Version numbering for anal retentives and software idealists. - Implements the standard interface for version number classes as - described above. A version number consists of two or three - dot-separated numeric components, with an optional "pre-release" tag - on the end. The pre-release tag consists of the letter 'a' or 'b' - followed by a number. If the numeric components of two version - numbers are equal, then one with a pre-release tag will always - be deemed earlier (lesser) than one without. - - The following are valid version numbers (shown in the order that - would be obtained by sorting according to the supplied cmp function): - - 0.4 0.4.0 (these two are equivalent) - 0.4.1 - 0.5a1 - 0.5b3 - 0.5 - 0.9.6 - 1.0 - 1.0.4a3 - 1.0.4b1 - 1.0.4 - - The following are examples of invalid version numbers: - - 1 - 2.7.2.2 - 1.3.a4 - 1.3pl1 - 1.3c4 - - The rationale for this version numbering system will be explained - in the distutils documentation. - """ - - version_re = re.compile( - r'^(\d+) \. (\d+) (\. (\d+))? ([ab](\d+))?$', re.VERBOSE | re.ASCII - ) - - def parse(self, vstring): - match = self.version_re.match(vstring) - if not match: - raise ValueError(f"invalid version number '{vstring}'") - - (major, minor, patch, prerelease, prerelease_num) = match.group(1, 2, 4, 5, 6) - - if patch: - self.version = tuple(map(int, [major, minor, patch])) - else: - self.version = tuple(map(int, [major, minor])) + (0,) - - if prerelease: - self.prerelease = (prerelease[0], int(prerelease_num)) - else: - self.prerelease = None - - def __str__(self): - if self.version[2] == 0: - vstring = '.'.join(map(str, self.version[0:2])) - else: - vstring = '.'.join(map(str, self.version)) - - if self.prerelease: - vstring = vstring + self.prerelease[0] + str(self.prerelease[1]) - - return vstring - - def _cmp(self, other): - if isinstance(other, str): - with suppress_known_deprecation(): - other = StrictVersion(other) - elif not isinstance(other, StrictVersion): - return NotImplemented - - if self.version == other.version: - # versions match; pre-release drives the comparison - return self._cmp_prerelease(other) - - return -1 if self.version < other.version else 1 - - def _cmp_prerelease(self, other): - """ - case 1: self has prerelease, other doesn't; other is greater - case 2: self doesn't have prerelease, other does: self is greater - case 3: both or neither have prerelease: compare them! - """ - if self.prerelease and not other.prerelease: - return -1 - elif not self.prerelease and other.prerelease: - return 1 - - if self.prerelease == other.prerelease: - return 0 - elif self.prerelease < other.prerelease: - return -1 - else: - return 1 - - -# end class StrictVersion - - -# The rules according to Greg Stein: -# 1) a version number has 1 or more numbers separated by a period or by -# sequences of letters. If only periods, then these are compared -# left-to-right to determine an ordering. -# 2) sequences of letters are part of the tuple for comparison and are -# compared lexicographically -# 3) recognize the numeric components may have leading zeroes -# -# The LooseVersion class below implements these rules: a version number -# string is split up into a tuple of integer and string components, and -# comparison is a simple tuple comparison. This means that version -# numbers behave in a predictable and obvious way, but a way that might -# not necessarily be how people *want* version numbers to behave. There -# wouldn't be a problem if people could stick to purely numeric version -# numbers: just split on period and compare the numbers as tuples. -# However, people insist on putting letters into their version numbers; -# the most common purpose seems to be: -# - indicating a "pre-release" version -# ('alpha', 'beta', 'a', 'b', 'pre', 'p') -# - indicating a post-release patch ('p', 'pl', 'patch') -# but of course this can't cover all version number schemes, and there's -# no way to know what a programmer means without asking him. -# -# The problem is what to do with letters (and other non-numeric -# characters) in a version number. The current implementation does the -# obvious and predictable thing: keep them as strings and compare -# lexically within a tuple comparison. This has the desired effect if -# an appended letter sequence implies something "post-release": -# eg. "0.99" < "0.99pl14" < "1.0", and "5.001" < "5.001m" < "5.002". -# -# However, if letters in a version number imply a pre-release version, -# the "obvious" thing isn't correct. Eg. you would expect that -# "1.5.1" < "1.5.2a2" < "1.5.2", but under the tuple/lexical comparison -# implemented here, this just isn't so. -# -# Two possible solutions come to mind. The first is to tie the -# comparison algorithm to a particular set of semantic rules, as has -# been done in the StrictVersion class above. This works great as long -# as everyone can go along with bondage and discipline. Hopefully a -# (large) subset of Python module programmers will agree that the -# particular flavour of bondage and discipline provided by StrictVersion -# provides enough benefit to be worth using, and will submit their -# version numbering scheme to its domination. The free-thinking -# anarchists in the lot will never give in, though, and something needs -# to be done to accommodate them. -# -# Perhaps a "moderately strict" version class could be implemented that -# lets almost anything slide (syntactically), and makes some heuristic -# assumptions about non-digits in version number strings. This could -# sink into special-case-hell, though; if I was as talented and -# idiosyncratic as Larry Wall, I'd go ahead and implement a class that -# somehow knows that "1.2.1" < "1.2.2a2" < "1.2.2" < "1.2.2pl3", and is -# just as happy dealing with things like "2g6" and "1.13++". I don't -# think I'm smart enough to do it right though. -# -# In any case, I've coded the test suite for this module (see -# ../test/test_version.py) specifically to fail on things like comparing -# "1.2a2" and "1.2". That's not because the *code* is doing anything -# wrong, it's because the simple, obvious design doesn't match my -# complicated, hairy expectations for real-world version numbers. It -# would be a snap to fix the test suite to say, "Yep, LooseVersion does -# the Right Thing" (ie. the code matches the conception). But I'd rather -# have a conception that matches common notions about version numbers. - - -class LooseVersion(Version): - """Version numbering for anarchists and software realists. - Implements the standard interface for version number classes as - described above. A version number consists of a series of numbers, - separated by either periods or strings of letters. When comparing - version numbers, the numeric components will be compared - numerically, and the alphabetic components lexically. The following - are all valid version numbers, in no particular order: - - 1.5.1 - 1.5.2b2 - 161 - 3.10a - 8.02 - 3.4j - 1996.07.12 - 3.2.pl0 - 3.1.1.6 - 2g6 - 11g - 0.960923 - 2.2beta29 - 1.13++ - 5.5.kw - 2.0b1pl0 - - In fact, there is no such thing as an invalid version number under - this scheme; the rules for comparison are simple and predictable, - but may not always give the results you want (for some definition - of "want"). - """ - - component_re = re.compile(r'(\d+ | [a-z]+ | \.)', re.VERBOSE) - - def parse(self, vstring): - # I've given up on thinking I can reconstruct the version string - # from the parsed tuple -- so I just store the string here for - # use by __str__ - self.vstring = vstring - components = [x for x in self.component_re.split(vstring) if x and x != '.'] - for i, obj in enumerate(components): - try: - components[i] = int(obj) - except ValueError: - pass - - self.version = components - - def __str__(self): - return self.vstring - - def __repr__(self): - return f"LooseVersion ('{self}')" - - def _cmp(self, other): - if isinstance(other, str): - other = LooseVersion(other) - elif not isinstance(other, LooseVersion): - return NotImplemented - - if self.version == other.version: - return 0 - if self.version < other.version: - return -1 - if self.version > other.version: - return 1 - - -# end class LooseVersion diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/versionpredicate.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/versionpredicate.py deleted file mode 100644 index fe31b0ed..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/versionpredicate.py +++ /dev/null @@ -1,175 +0,0 @@ -"""Module for parsing and testing package version predicate strings.""" - -import operator -import re - -from . import version - -re_validPackage = re.compile(r"(?i)^\s*([a-z_]\w*(?:\.[a-z_]\w*)*)(.*)", re.ASCII) -# (package) (rest) - -re_paren = re.compile(r"^\s*\((.*)\)\s*$") # (list) inside of parentheses -re_splitComparison = re.compile(r"^\s*(<=|>=|<|>|!=|==)\s*([^\s,]+)\s*$") -# (comp) (version) - - -def splitUp(pred): - """Parse a single version comparison. - - Return (comparison string, StrictVersion) - """ - res = re_splitComparison.match(pred) - if not res: - raise ValueError(f"bad package restriction syntax: {pred!r}") - comp, verStr = res.groups() - with version.suppress_known_deprecation(): - other = version.StrictVersion(verStr) - return (comp, other) - - -compmap = { - "<": operator.lt, - "<=": operator.le, - "==": operator.eq, - ">": operator.gt, - ">=": operator.ge, - "!=": operator.ne, -} - - -class VersionPredicate: - """Parse and test package version predicates. - - >>> v = VersionPredicate('pyepat.abc (>1.0, <3333.3a1, !=1555.1b3)') - - The `name` attribute provides the full dotted name that is given:: - - >>> v.name - 'pyepat.abc' - - The str() of a `VersionPredicate` provides a normalized - human-readable version of the expression:: - - >>> print(v) - pyepat.abc (> 1.0, < 3333.3a1, != 1555.1b3) - - The `satisfied_by()` method can be used to determine with a given - version number is included in the set described by the version - restrictions:: - - >>> v.satisfied_by('1.1') - True - >>> v.satisfied_by('1.4') - True - >>> v.satisfied_by('1.0') - False - >>> v.satisfied_by('4444.4') - False - >>> v.satisfied_by('1555.1b3') - False - - `VersionPredicate` is flexible in accepting extra whitespace:: - - >>> v = VersionPredicate(' pat( == 0.1 ) ') - >>> v.name - 'pat' - >>> v.satisfied_by('0.1') - True - >>> v.satisfied_by('0.2') - False - - If any version numbers passed in do not conform to the - restrictions of `StrictVersion`, a `ValueError` is raised:: - - >>> v = VersionPredicate('p1.p2.p3.p4(>=1.0, <=1.3a1, !=1.2zb3)') - Traceback (most recent call last): - ... - ValueError: invalid version number '1.2zb3' - - It the module or package name given does not conform to what's - allowed as a legal module or package name, `ValueError` is - raised:: - - >>> v = VersionPredicate('foo-bar') - Traceback (most recent call last): - ... - ValueError: expected parenthesized list: '-bar' - - >>> v = VersionPredicate('foo bar (12.21)') - Traceback (most recent call last): - ... - ValueError: expected parenthesized list: 'bar (12.21)' - - """ - - def __init__(self, versionPredicateStr): - """Parse a version predicate string.""" - # Fields: - # name: package name - # pred: list of (comparison string, StrictVersion) - - versionPredicateStr = versionPredicateStr.strip() - if not versionPredicateStr: - raise ValueError("empty package restriction") - match = re_validPackage.match(versionPredicateStr) - if not match: - raise ValueError(f"bad package name in {versionPredicateStr!r}") - self.name, paren = match.groups() - paren = paren.strip() - if paren: - match = re_paren.match(paren) - if not match: - raise ValueError(f"expected parenthesized list: {paren!r}") - str = match.groups()[0] - self.pred = [splitUp(aPred) for aPred in str.split(",")] - if not self.pred: - raise ValueError(f"empty parenthesized list in {versionPredicateStr!r}") - else: - self.pred = [] - - def __str__(self): - if self.pred: - seq = [cond + " " + str(ver) for cond, ver in self.pred] - return self.name + " (" + ", ".join(seq) + ")" - else: - return self.name - - def satisfied_by(self, version): - """True if version is compatible with all the predicates in self. - The parameter version must be acceptable to the StrictVersion - constructor. It may be either a string or StrictVersion. - """ - for cond, ver in self.pred: - if not compmap[cond](version, ver): - return False - return True - - -_provision_rx = None - - -def split_provision(value): - """Return the name and optional version number of a provision. - - The version number, if given, will be returned as a `StrictVersion` - instance, otherwise it will be `None`. - - >>> split_provision('mypkg') - ('mypkg', None) - >>> split_provision(' mypkg( 1.2 ) ') - ('mypkg', StrictVersion ('1.2')) - """ - global _provision_rx - if _provision_rx is None: - _provision_rx = re.compile( - r"([a-zA-Z_]\w*(?:\.[a-zA-Z_]\w*)*)(?:\s*\(\s*([^)\s]+)\s*\))?$", re.ASCII - ) - value = value.strip() - m = _provision_rx.match(value) - if not m: - raise ValueError(f"illegal provides specification: {value!r}") - ver = m.group(2) or None - if ver: - with version.suppress_known_deprecation(): - ver = version.StrictVersion(ver) - return m.group(1), ver diff --git a/.venv/lib/python3.12/site-packages/setuptools/_distutils/zosccompiler.py b/.venv/lib/python3.12/site-packages/setuptools/_distutils/zosccompiler.py deleted file mode 100644 index af1e7fa5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_distutils/zosccompiler.py +++ /dev/null @@ -1,229 +0,0 @@ -"""distutils.zosccompiler - -Contains the selection of the c & c++ compilers on z/OS. There are several -different c compilers on z/OS, all of them are optional, so the correct -one needs to be chosen based on the users input. This is compatible with -the following compilers: - -IBM C/C++ For Open Enterprise Languages on z/OS 2.0 -IBM Open XL C/C++ 1.1 for z/OS -IBM XL C/C++ V2.4.1 for z/OS 2.4 and 2.5 -IBM z/OS XL C/C++ -""" - -import os - -from . import sysconfig -from .errors import CompileError, DistutilsExecError -from .unixccompiler import UnixCCompiler - -_cc_args = { - 'ibm-openxl': [ - '-m64', - '-fvisibility=default', - '-fzos-le-char-mode=ascii', - '-fno-short-enums', - ], - 'ibm-xlclang': [ - '-q64', - '-qexportall', - '-qascii', - '-qstrict', - '-qnocsect', - '-Wa,asa,goff', - '-Wa,xplink', - '-qgonumber', - '-qenum=int', - '-Wc,DLL', - ], - 'ibm-xlc': [ - '-q64', - '-qexportall', - '-qascii', - '-qstrict', - '-qnocsect', - '-Wa,asa,goff', - '-Wa,xplink', - '-qgonumber', - '-qenum=int', - '-Wc,DLL', - '-qlanglvl=extc99', - ], -} - -_cxx_args = { - 'ibm-openxl': [ - '-m64', - '-fvisibility=default', - '-fzos-le-char-mode=ascii', - '-fno-short-enums', - ], - 'ibm-xlclang': [ - '-q64', - '-qexportall', - '-qascii', - '-qstrict', - '-qnocsect', - '-Wa,asa,goff', - '-Wa,xplink', - '-qgonumber', - '-qenum=int', - '-Wc,DLL', - ], - 'ibm-xlc': [ - '-q64', - '-qexportall', - '-qascii', - '-qstrict', - '-qnocsect', - '-Wa,asa,goff', - '-Wa,xplink', - '-qgonumber', - '-qenum=int', - '-Wc,DLL', - '-qlanglvl=extended0x', - ], -} - -_asm_args = { - 'ibm-openxl': ['-fasm', '-fno-integrated-as', '-Wa,--ASA', '-Wa,--GOFF'], - 'ibm-xlclang': [], - 'ibm-xlc': [], -} - -_ld_args = { - 'ibm-openxl': [], - 'ibm-xlclang': ['-Wl,dll', '-q64'], - 'ibm-xlc': ['-Wl,dll', '-q64'], -} - - -# Python on z/OS is built with no compiler specific options in it's CFLAGS. -# But each compiler requires it's own specific options to build successfully, -# though some of the options are common between them -class zOSCCompiler(UnixCCompiler): - src_extensions = ['.c', '.C', '.cc', '.cxx', '.cpp', '.m', '.s'] - _cpp_extensions = ['.cc', '.cpp', '.cxx', '.C'] - _asm_extensions = ['.s'] - - def _get_zos_compiler_name(self): - zos_compiler_names = [ - os.path.basename(binary) - for envvar in ('CC', 'CXX', 'LDSHARED') - if (binary := os.environ.get(envvar, None)) - ] - if len(zos_compiler_names) == 0: - return 'ibm-openxl' - - zos_compilers = {} - for compiler in ( - 'ibm-clang', - 'ibm-clang64', - 'ibm-clang++', - 'ibm-clang++64', - 'clang', - 'clang++', - 'clang-14', - ): - zos_compilers[compiler] = 'ibm-openxl' - - for compiler in ('xlclang', 'xlclang++', 'njsc', 'njsc++'): - zos_compilers[compiler] = 'ibm-xlclang' - - for compiler in ('xlc', 'xlC', 'xlc++'): - zos_compilers[compiler] = 'ibm-xlc' - - return zos_compilers.get(zos_compiler_names[0], 'ibm-openxl') - - def __init__(self, verbose=False, dry_run=False, force=False): - super().__init__(verbose, dry_run, force) - self.zos_compiler = self._get_zos_compiler_name() - sysconfig.customize_compiler(self) - - def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts): - local_args = [] - if ext in self._cpp_extensions: - compiler = self.compiler_cxx - local_args.extend(_cxx_args[self.zos_compiler]) - elif ext in self._asm_extensions: - compiler = self.compiler_so - local_args.extend(_cc_args[self.zos_compiler]) - local_args.extend(_asm_args[self.zos_compiler]) - else: - compiler = self.compiler_so - local_args.extend(_cc_args[self.zos_compiler]) - local_args.extend(cc_args) - - try: - self.spawn(compiler + local_args + [src, '-o', obj] + extra_postargs) - except DistutilsExecError as msg: - raise CompileError(msg) - - def runtime_library_dir_option(self, dir): - return '-L' + dir - - def link( - self, - target_desc, - objects, - output_filename, - output_dir=None, - libraries=None, - library_dirs=None, - runtime_library_dirs=None, - export_symbols=None, - debug=False, - extra_preargs=None, - extra_postargs=None, - build_temp=None, - target_lang=None, - ): - # For a built module to use functions from cpython, it needs to use Pythons - # side deck file. The side deck is located beside the libpython3.xx.so - ldversion = sysconfig.get_config_var('LDVERSION') - if sysconfig.python_build: - side_deck_path = os.path.join( - sysconfig.get_config_var('abs_builddir'), - f'libpython{ldversion}.x', - ) - else: - side_deck_path = os.path.join( - sysconfig.get_config_var('installed_base'), - sysconfig.get_config_var('platlibdir'), - f'libpython{ldversion}.x', - ) - - if os.path.exists(side_deck_path): - if extra_postargs: - extra_postargs.append(side_deck_path) - else: - extra_postargs = [side_deck_path] - - # Check and replace libraries included side deck files - if runtime_library_dirs: - for dir in runtime_library_dirs: - for library in libraries[:]: - library_side_deck = os.path.join(dir, f'{library}.x') - if os.path.exists(library_side_deck): - libraries.remove(library) - extra_postargs.append(library_side_deck) - break - - # Any required ld args for the given compiler - extra_postargs.extend(_ld_args[self.zos_compiler]) - - super().link( - target_desc, - objects, - output_filename, - output_dir, - libraries, - library_dirs, - runtime_library_dirs, - export_symbols, - debug, - extra_preargs, - extra_postargs, - build_temp, - target_lang, - ) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_entry_points.py b/.venv/lib/python3.12/site-packages/setuptools/_entry_points.py deleted file mode 100644 index e785fc7d..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_entry_points.py +++ /dev/null @@ -1,90 +0,0 @@ -import functools -import itertools -import operator - -from jaraco.functools import pass_none -from jaraco.text import yield_lines -from more_itertools import consume - -from ._importlib import metadata -from ._itertools import ensure_unique -from .errors import OptionError - - -def ensure_valid(ep): - """ - Exercise one of the dynamic properties to trigger - the pattern match. - """ - try: - ep.extras - except (AttributeError, AssertionError) as ex: - # Why both? See https://github.com/python/importlib_metadata/issues/488 - msg = ( - f"Problems to parse {ep}.\nPlease ensure entry-point follows the spec: " - "https://packaging.python.org/en/latest/specifications/entry-points/" - ) - raise OptionError(msg) from ex - - -def load_group(value, group): - """ - Given a value of an entry point or series of entry points, - return each as an EntryPoint. - """ - # normalize to a single sequence of lines - lines = yield_lines(value) - text = f'[{group}]\n' + '\n'.join(lines) - return metadata.EntryPoints._from_text(text) - - -def by_group_and_name(ep): - return ep.group, ep.name - - -def validate(eps: metadata.EntryPoints): - """ - Ensure entry points are unique by group and name and validate each. - """ - consume(map(ensure_valid, ensure_unique(eps, key=by_group_and_name))) - return eps - - -@functools.singledispatch -def load(eps): - """ - Given a Distribution.entry_points, produce EntryPoints. - """ - groups = itertools.chain.from_iterable( - load_group(value, group) for group, value in eps.items() - ) - return validate(metadata.EntryPoints(groups)) - - -@load.register(str) -def _(eps): - r""" - >>> ep, = load('[console_scripts]\nfoo=bar') - >>> ep.group - 'console_scripts' - >>> ep.name - 'foo' - >>> ep.value - 'bar' - """ - return validate(metadata.EntryPoints(metadata.EntryPoints._from_text(eps))) - - -load.register(type(None), lambda x: x) - - -@pass_none -def render(eps: metadata.EntryPoints): - by_group = operator.attrgetter('group') - groups = itertools.groupby(sorted(eps, key=by_group), by_group) - - return '\n'.join(f'[{group}]\n{render_items(items)}\n' for group, items in groups) - - -def render_items(eps): - return '\n'.join(f'{ep.name} = {ep.value}' for ep in sorted(eps)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_imp.py b/.venv/lib/python3.12/site-packages/setuptools/_imp.py deleted file mode 100644 index bddbf6a6..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_imp.py +++ /dev/null @@ -1,87 +0,0 @@ -""" -Re-implementation of find_module and get_frozen_object -from the deprecated imp module. -""" - -import importlib.machinery -import importlib.util -import os -import tokenize -from importlib.util import module_from_spec - -PY_SOURCE = 1 -PY_COMPILED = 2 -C_EXTENSION = 3 -C_BUILTIN = 6 -PY_FROZEN = 7 - - -def find_spec(module, paths): - finder = ( - importlib.machinery.PathFinder().find_spec - if isinstance(paths, list) - else importlib.util.find_spec - ) - return finder(module, paths) - - -def find_module(module, paths=None): - """Just like 'imp.find_module()', but with package support""" - spec = find_spec(module, paths) - if spec is None: - raise ImportError("Can't find %s" % module) - if not spec.has_location and hasattr(spec, 'submodule_search_locations'): - spec = importlib.util.spec_from_loader('__init__.py', spec.loader) - - kind = -1 - file = None - static = isinstance(spec.loader, type) - if ( - spec.origin == 'frozen' - or static - and issubclass(spec.loader, importlib.machinery.FrozenImporter) - ): - kind = PY_FROZEN - path = None # imp compabilty - suffix = mode = '' # imp compatibility - elif ( - spec.origin == 'built-in' - or static - and issubclass(spec.loader, importlib.machinery.BuiltinImporter) - ): - kind = C_BUILTIN - path = None # imp compabilty - suffix = mode = '' # imp compatibility - elif spec.has_location: - path = spec.origin - suffix = os.path.splitext(path)[1] - mode = 'r' if suffix in importlib.machinery.SOURCE_SUFFIXES else 'rb' - - if suffix in importlib.machinery.SOURCE_SUFFIXES: - kind = PY_SOURCE - file = tokenize.open(path) - elif suffix in importlib.machinery.BYTECODE_SUFFIXES: - kind = PY_COMPILED - file = open(path, 'rb') - elif suffix in importlib.machinery.EXTENSION_SUFFIXES: - kind = C_EXTENSION - - else: - path = None - suffix = mode = '' - - return file, path, (suffix, mode, kind) - - -def get_frozen_object(module, paths=None): - spec = find_spec(module, paths) - if not spec: - raise ImportError("Can't find %s" % module) - return spec.loader.get_code(module) - - -def get_module(module, paths, info): - spec = find_spec(module, paths) - if not spec: - raise ImportError("Can't find %s" % module) - return module_from_spec(spec) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_importlib.py b/.venv/lib/python3.12/site-packages/setuptools/_importlib.py deleted file mode 100644 index ce0fd526..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_importlib.py +++ /dev/null @@ -1,9 +0,0 @@ -import sys - -if sys.version_info < (3, 10): - import importlib_metadata as metadata # pragma: no cover -else: - import importlib.metadata as metadata # noqa: F401 - - -import importlib.resources as resources # noqa: F401 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_itertools.py b/.venv/lib/python3.12/site-packages/setuptools/_itertools.py deleted file mode 100644 index d6ca8413..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_itertools.py +++ /dev/null @@ -1,23 +0,0 @@ -from more_itertools import consume # noqa: F401 - - -# copied from jaraco.itertools 6.1 -def ensure_unique(iterable, key=lambda x: x): - """ - Wrap an iterable to raise a ValueError if non-unique values are encountered. - - >>> list(ensure_unique('abc')) - ['a', 'b', 'c'] - >>> consume(ensure_unique('abca')) - Traceback (most recent call last): - ... - ValueError: Duplicate element 'a' encountered. - """ - seen = set() - seen_add = seen.add - for element in iterable: - k = key(element) - if k in seen: - raise ValueError(f"Duplicate element {element!r} encountered.") - seen_add(k) - yield element diff --git a/.venv/lib/python3.12/site-packages/setuptools/_normalization.py b/.venv/lib/python3.12/site-packages/setuptools/_normalization.py deleted file mode 100644 index 467b643d..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_normalization.py +++ /dev/null @@ -1,144 +0,0 @@ -""" -Helpers for normalization as expected in wheel/sdist/module file names -and core metadata -""" - -import re - -import packaging - -# https://packaging.python.org/en/latest/specifications/core-metadata/#name -_VALID_NAME = re.compile(r"^([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])$", re.I) -_UNSAFE_NAME_CHARS = re.compile(r"[^A-Z0-9._-]+", re.I) -_NON_ALPHANUMERIC = re.compile(r"[^A-Z0-9]+", re.I) -_PEP440_FALLBACK = re.compile(r"^v?(?P(?:[0-9]+!)?[0-9]+(?:\.[0-9]+)*)", re.I) - - -def safe_identifier(name: str) -> str: - """Make a string safe to be used as Python identifier. - >>> safe_identifier("12abc") - '_12abc' - >>> safe_identifier("__editable__.myns.pkg-78.9.3_local") - '__editable___myns_pkg_78_9_3_local' - """ - safe = re.sub(r'\W|^(?=\d)', '_', name) - assert safe.isidentifier() - return safe - - -def safe_name(component: str) -> str: - """Escape a component used as a project name according to Core Metadata. - >>> safe_name("hello world") - 'hello-world' - >>> safe_name("hello?world") - 'hello-world' - >>> safe_name("hello_world") - 'hello_world' - """ - # See pkg_resources.safe_name - return _UNSAFE_NAME_CHARS.sub("-", component) - - -def safe_version(version: str) -> str: - """Convert an arbitrary string into a valid version string. - Can still raise an ``InvalidVersion`` exception. - To avoid exceptions use ``best_effort_version``. - >>> safe_version("1988 12 25") - '1988.12.25' - >>> safe_version("v0.2.1") - '0.2.1' - >>> safe_version("v0.2?beta") - '0.2b0' - >>> safe_version("v0.2 beta") - '0.2b0' - >>> safe_version("ubuntu lts") - Traceback (most recent call last): - ... - packaging.version.InvalidVersion: Invalid version: 'ubuntu.lts' - """ - v = version.replace(' ', '.') - try: - return str(packaging.version.Version(v)) - except packaging.version.InvalidVersion: - attempt = _UNSAFE_NAME_CHARS.sub("-", v) - return str(packaging.version.Version(attempt)) - - -def best_effort_version(version: str) -> str: - """Convert an arbitrary string into a version-like string. - Fallback when ``safe_version`` is not safe enough. - >>> best_effort_version("v0.2 beta") - '0.2b0' - >>> best_effort_version("ubuntu lts") - '0.dev0+sanitized.ubuntu.lts' - >>> best_effort_version("0.23ubuntu1") - '0.23.dev0+sanitized.ubuntu1' - >>> best_effort_version("0.23-") - '0.23.dev0+sanitized' - >>> best_effort_version("0.-_") - '0.dev0+sanitized' - >>> best_effort_version("42.+?1") - '42.dev0+sanitized.1' - """ - # See pkg_resources._forgiving_version - try: - return safe_version(version) - except packaging.version.InvalidVersion: - v = version.replace(' ', '.') - match = _PEP440_FALLBACK.search(v) - if match: - safe = match["safe"] - rest = v[len(safe) :] - else: - safe = "0" - rest = version - safe_rest = _NON_ALPHANUMERIC.sub(".", rest).strip(".") - local = f"sanitized.{safe_rest}".strip(".") - return safe_version(f"{safe}.dev0+{local}") - - -def safe_extra(extra: str) -> str: - """Normalize extra name according to PEP 685 - >>> safe_extra("_FrIeNdLy-._.-bArD") - 'friendly-bard' - >>> safe_extra("FrIeNdLy-._.-bArD__._-") - 'friendly-bard' - """ - return _NON_ALPHANUMERIC.sub("-", extra).strip("-").lower() - - -def filename_component(value: str) -> str: - """Normalize each component of a filename (e.g. distribution/version part of wheel) - Note: ``value`` needs to be already normalized. - >>> filename_component("my-pkg") - 'my_pkg' - """ - return value.replace("-", "_").strip("_") - - -def filename_component_broken(value: str) -> str: - """ - Produce the incorrect filename component for compatibility. - - See pypa/setuptools#4167 for detailed analysis. - - TODO: replace this with filename_component after pip 24 is - nearly-ubiquitous. - - >>> filename_component_broken('foo_bar-baz') - 'foo-bar-baz' - """ - return value.replace('_', '-') - - -def safer_name(value: str) -> str: - """Like ``safe_name`` but can be used as filename component for wheel""" - # See bdist_wheel.safer_name - return filename_component(safe_name(value)) - - -def safer_best_effort_version(value: str) -> str: - """Like ``best_effort_version`` but can be used as filename component for wheel""" - # See bdist_wheel.safer_verion - # TODO: Replace with only safe_version in the future (no need for best effort) - return filename_component(best_effort_version(value)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_path.py b/.venv/lib/python3.12/site-packages/setuptools/_path.py deleted file mode 100644 index 0d99b0f5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_path.py +++ /dev/null @@ -1,84 +0,0 @@ -from __future__ import annotations - -import contextlib -import os -import sys -from typing import TYPE_CHECKING, TypeVar, Union - -from more_itertools import unique_everseen - -if TYPE_CHECKING: - from typing_extensions import TypeAlias - -StrPath: TypeAlias = Union[str, os.PathLike[str]] # Same as _typeshed.StrPath -StrPathT = TypeVar("StrPathT", bound=Union[str, os.PathLike[str]]) - - -def ensure_directory(path): - """Ensure that the parent directory of `path` exists""" - dirname = os.path.dirname(path) - os.makedirs(dirname, exist_ok=True) - - -def same_path(p1: StrPath, p2: StrPath) -> bool: - """Differs from os.path.samefile because it does not require paths to exist. - Purely string based (no comparison between i-nodes). - >>> same_path("a/b", "./a/b") - True - >>> same_path("a/b", "a/./b") - True - >>> same_path("a/b", "././a/b") - True - >>> same_path("a/b", "./a/b/c/..") - True - >>> same_path("a/b", "../a/b/c") - False - >>> same_path("a", "a/b") - False - """ - return normpath(p1) == normpath(p2) - - -def normpath(filename: StrPath) -> str: - """Normalize a file/dir name for comparison purposes.""" - # See pkg_resources.normalize_path for notes about cygwin - file = os.path.abspath(filename) if sys.platform == 'cygwin' else filename - return os.path.normcase(os.path.realpath(os.path.normpath(file))) - - -@contextlib.contextmanager -def paths_on_pythonpath(paths): - """ - Add the indicated paths to the head of the PYTHONPATH environment - variable so that subprocesses will also see the packages at - these paths. - - Do this in a context that restores the value on exit. - - >>> getfixture('monkeypatch').setenv('PYTHONPATH', 'anything') - >>> with paths_on_pythonpath(['foo', 'bar']): - ... assert 'foo' in os.environ['PYTHONPATH'] - ... assert 'anything' in os.environ['PYTHONPATH'] - >>> os.environ['PYTHONPATH'] - 'anything' - - >>> getfixture('monkeypatch').delenv('PYTHONPATH') - >>> with paths_on_pythonpath(['foo', 'bar']): - ... assert 'foo' in os.environ['PYTHONPATH'] - >>> os.environ.get('PYTHONPATH') - """ - nothing = object() - orig_pythonpath = os.environ.get('PYTHONPATH', nothing) - current_pythonpath = os.environ.get('PYTHONPATH', '') - try: - prefix = os.pathsep.join(unique_everseen(paths)) - to_join = filter(None, [prefix, current_pythonpath]) - new_path = os.pathsep.join(to_join) - if new_path: - os.environ['PYTHONPATH'] = new_path - yield - finally: - if orig_pythonpath is nothing: - os.environ.pop('PYTHONPATH', None) - else: - os.environ['PYTHONPATH'] = orig_pythonpath diff --git a/.venv/lib/python3.12/site-packages/setuptools/_reqs.py b/.venv/lib/python3.12/site-packages/setuptools/_reqs.py deleted file mode 100644 index c793be4d..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_reqs.py +++ /dev/null @@ -1,42 +0,0 @@ -from __future__ import annotations - -from collections.abc import Iterable, Iterator -from functools import lru_cache -from typing import TYPE_CHECKING, Callable, TypeVar, Union, overload - -import jaraco.text as text -from packaging.requirements import Requirement - -if TYPE_CHECKING: - from typing_extensions import TypeAlias - -_T = TypeVar("_T") -_StrOrIter: TypeAlias = Union[str, Iterable[str]] - - -parse_req: Callable[[str], Requirement] = lru_cache()(Requirement) -# Setuptools parses the same requirement many times -# (e.g. first for validation than for normalisation), -# so it might be worth to cache. - - -def parse_strings(strs: _StrOrIter) -> Iterator[str]: - """ - Yield requirement strings for each specification in `strs`. - - `strs` must be a string, or a (possibly-nested) iterable thereof. - """ - return text.join_continuation(map(text.drop_comment, text.yield_lines(strs))) - - -# These overloads are only needed because of a mypy false-positive, pyright gets it right -# https://github.com/python/mypy/issues/3737 -@overload -def parse(strs: _StrOrIter) -> Iterator[Requirement]: ... -@overload -def parse(strs: _StrOrIter, parser: Callable[[str], _T]) -> Iterator[_T]: ... -def parse(strs: _StrOrIter, parser: Callable[[str], _T] = parse_req) -> Iterator[_T]: # type: ignore[assignment] - """ - Replacement for ``pkg_resources.parse_requirements`` that uses ``packaging``. - """ - return map(parser, parse_strings(strs)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_shutil.py b/.venv/lib/python3.12/site-packages/setuptools/_shutil.py deleted file mode 100644 index 6acbb428..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_shutil.py +++ /dev/null @@ -1,53 +0,0 @@ -"""Convenience layer on top of stdlib's shutil and os""" - -import os -import stat -from typing import Callable, TypeVar - -from .compat import py311 - -from distutils import log - -try: - from os import chmod # pyright: ignore[reportAssignmentType] - # Losing type-safety w/ pyright, but that's ok -except ImportError: # pragma: no cover - # Jython compatibility - def chmod(*args: object, **kwargs: object) -> None: # type: ignore[misc] # Mypy reuses the imported definition anyway - pass - - -_T = TypeVar("_T") - - -def attempt_chmod_verbose(path, mode): - log.debug("changing mode of %s to %o", path, mode) - try: - chmod(path, mode) - except OSError as e: # pragma: no cover - log.debug("chmod failed: %s", e) - - -# Must match shutil._OnExcCallback -def _auto_chmod( - func: Callable[..., _T], arg: str, exc: BaseException -) -> _T: # pragma: no cover - """shutils onexc callback to automatically call chmod for certain functions.""" - # Only retry for scenarios known to have an issue - if func in [os.unlink, os.remove] and os.name == 'nt': - attempt_chmod_verbose(arg, stat.S_IWRITE) - return func(arg) - raise exc - - -def rmtree(path, ignore_errors=False, onexc=_auto_chmod): - """ - Similar to ``shutil.rmtree`` but automatically executes ``chmod`` - for well know Windows failure scenarios. - """ - return py311.shutil_rmtree(path, ignore_errors, onexc) - - -def rmdir(path, **opts): - if os.path.isdir(path): - rmtree(path, **opts) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/__pycache__/typing_extensions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/__pycache__/typing_extensions.cpython-312.pyc deleted file mode 100644 index dfac2f18..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/__pycache__/typing_extensions.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/LICENSE deleted file mode 100644 index b49c3af0..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/LICENSE +++ /dev/null @@ -1,166 +0,0 @@ -GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - - This version of the GNU Lesser General Public License incorporates -the terms and conditions of version 3 of the GNU General Public -License, supplemented by the additional permissions listed below. - - 0. Additional Definitions. - - As used herein, "this License" refers to version 3 of the GNU Lesser -General Public License, and the "GNU GPL" refers to version 3 of the GNU -General Public License. - - "The Library" refers to a covered work governed by this License, -other than an Application or a Combined Work as defined below. - - An "Application" is any work that makes use of an interface provided -by the Library, but which is not otherwise based on the Library. -Defining a subclass of a class defined by the Library is deemed a mode -of using an interface provided by the Library. - - A "Combined Work" is a work produced by combining or linking an -Application with the Library. The particular version of the Library -with which the Combined Work was made is also called the "Linked -Version". - - The "Minimal Corresponding Source" for a Combined Work means the -Corresponding Source for the Combined Work, excluding any source code -for portions of the Combined Work that, considered in isolation, are -based on the Application, and not on the Linked Version. - - The "Corresponding Application Code" for a Combined Work means the -object code and/or source code for the Application, including any data -and utility programs needed for reproducing the Combined Work from the -Application, but excluding the System Libraries of the Combined Work. - - 1. Exception to Section 3 of the GNU GPL. - - You may convey a covered work under sections 3 and 4 of this License -without being bound by section 3 of the GNU GPL. - - 2. Conveying Modified Versions. - - If you modify a copy of the Library, and, in your modifications, a -facility refers to a function or data to be supplied by an Application -that uses the facility (other than as an argument passed when the -facility is invoked), then you may convey a copy of the modified -version: - - a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or - - b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy. - - 3. Object Code Incorporating Material from Library Header Files. - - The object code form of an Application may incorporate material from -a header file that is part of the Library. You may convey such object -code under terms of your choice, provided that, if the incorporated -material is not limited to numerical parameters, data structure -layouts and accessors, or small macros, inline functions and templates -(ten or fewer lines in length), you do both of the following: - - a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the object code with a copy of the GNU GPL and this license - document. - - 4. Combined Works. - - You may convey a Combined Work under terms of your choice that, -taken together, effectively do not restrict modification of the -portions of the Library contained in the Combined Work and reverse -engineering for debugging such modifications, if you also do each of -the following: - - a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the Combined Work with a copy of the GNU GPL and this license - document. - - c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document. - - d) Do one of the following: - - 0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source. - - 1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version. - - e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.) - - 5. Combined Libraries. - - You may place library facilities that are a work based on the -Library side by side in a single library together with other library -facilities that are not Applications and are not covered by this -License, and convey such a combined library under terms of your -choice, if you do both of the following: - - a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License. - - b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work. - - 6. Revised Versions of the GNU Lesser General Public License. - - The Free Software Foundation may publish revised and/or new versions -of the GNU Lesser 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 -Library as you received it specifies that a certain numbered version -of the GNU Lesser General Public License "or any later version" -applies to it, you have the option of following the terms and -conditions either of that published version or of any later version -published by the Free Software Foundation. If the Library as you -received it does not specify a version number of the GNU Lesser -General Public License, you may choose any version of the GNU Lesser -General Public License ever published by the Free Software Foundation. - - If the Library as you received it specifies that a proxy can decide -whether future versions of the GNU Lesser General Public License shall -apply, that proxy's public statement of acceptance of any version is -permanent authorization for you to choose that version for the -Library. - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/METADATA deleted file mode 100644 index 32214fb4..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/METADATA +++ /dev/null @@ -1,420 +0,0 @@ -Metadata-Version: 2.1 -Name: autocommand -Version: 2.2.2 -Summary: A library to create a command-line program from a function -Home-page: https://github.com/Lucretiel/autocommand -Author: Nathan West -License: LGPLv3 -Project-URL: Homepage, https://github.com/Lucretiel/autocommand -Project-URL: Bug Tracker, https://github.com/Lucretiel/autocommand/issues -Platform: any -Classifier: Development Status :: 6 - Mature -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3) -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Topic :: Software Development -Classifier: Topic :: Software Development :: Libraries -Classifier: Topic :: Software Development :: Libraries :: Python Modules -Requires-Python: >=3.7 -Description-Content-Type: text/markdown -License-File: LICENSE - -[![PyPI version](https://badge.fury.io/py/autocommand.svg)](https://badge.fury.io/py/autocommand) - -# autocommand - -A library to automatically generate and run simple argparse parsers from function signatures. - -## Installation - -Autocommand is installed via pip: - -``` -$ pip install autocommand -``` - -## Usage - -Autocommand turns a function into a command-line program. It converts the function's parameter signature into command-line arguments, and automatically runs the function if the module was called as `__main__`. In effect, it lets your create a smart main function. - -```python -from autocommand import autocommand - -# This program takes exactly one argument and echos it. -@autocommand(__name__) -def echo(thing): - print(thing) -``` - -``` -$ python echo.py hello -hello -$ python echo.py -h -usage: echo [-h] thing - -positional arguments: - thing - -optional arguments: - -h, --help show this help message and exit -$ python echo.py hello world # too many arguments -usage: echo.py [-h] thing -echo.py: error: unrecognized arguments: world -``` - -As you can see, autocommand converts the signature of the function into an argument spec. When you run the file as a program, autocommand collects the command-line arguments and turns them into function arguments. The function is executed with these arguments, and then the program exits with the return value of the function, via `sys.exit`. Autocommand also automatically creates a usage message, which can be invoked with `-h` or `--help`, and automatically prints an error message when provided with invalid arguments. - -### Types - -You can use a type annotation to give an argument a type. Any type (or in fact any callable) that returns an object when given a string argument can be used, though there are a few special cases that are described later. - -```python -@autocommand(__name__) -def net_client(host, port: int): - ... -``` - -Autocommand will catch `TypeErrors` raised by the type during argument parsing, so you can supply a callable and do some basic argument validation as well. - -### Trailing Arguments - -You can add a `*args` parameter to your function to give it trailing arguments. The command will collect 0 or more trailing arguments and supply them to `args` as a tuple. If a type annotation is supplied, the type is applied to each argument. - -```python -# Write the contents of each file, one by one -@autocommand(__name__) -def cat(*files): - for filename in files: - with open(filename) as file: - for line in file: - print(line.rstrip()) -``` - -``` -$ python cat.py -h -usage: ipython [-h] [file [file ...]] - -positional arguments: - file - -optional arguments: - -h, --help show this help message and exit -``` - -### Options - -To create `--option` switches, just assign a default. Autocommand will automatically create `--long` and `-s`hort switches. - -```python -@autocommand(__name__) -def do_with_config(argument, config='~/foo.conf'): - pass -``` - -``` -$ python example.py -h -usage: example.py [-h] [-c CONFIG] argument - -positional arguments: - argument - -optional arguments: - -h, --help show this help message and exit - -c CONFIG, --config CONFIG -``` - -The option's type is automatically deduced from the default, unless one is explicitly given in an annotation: - -```python -@autocommand(__name__) -def http_connect(host, port=80): - print('{}:{}'.format(host, port)) -``` - -``` -$ python http.py -h -usage: http.py [-h] [-p PORT] host - -positional arguments: - host - -optional arguments: - -h, --help show this help message and exit - -p PORT, --port PORT -$ python http.py localhost -localhost:80 -$ python http.py localhost -p 8080 -localhost:8080 -$ python http.py localhost -p blah -usage: http.py [-h] [-p PORT] host -http.py: error: argument -p/--port: invalid int value: 'blah' -``` - -#### None - -If an option is given a default value of `None`, it reads in a value as normal, but supplies `None` if the option isn't provided. - -#### Switches - -If an argument is given a default value of `True` or `False`, or -given an explicit `bool` type, it becomes an option switch. - -```python - @autocommand(__name__) - def example(verbose=False, quiet=False): - pass -``` - -``` -$ python example.py -h -usage: example.py [-h] [-v] [-q] - -optional arguments: - -h, --help show this help message and exit - -v, --verbose - -q, --quiet -``` - -Autocommand attempts to do the "correct thing" in these cases- if the default is `True`, then supplying the switch makes the argument `False`; if the type is `bool` and the default is some other `True` value, then supplying the switch makes the argument `False`, while not supplying the switch makes the argument the default value. - -Autocommand also supports the creation of switch inverters. Pass `add_nos=True` to `autocommand` to enable this. - -``` - @autocommand(__name__, add_nos=True) - def example(verbose=False): - pass -``` - -``` -$ python example.py -h -usage: ipython [-h] [-v] [--no-verbose] - -optional arguments: - -h, --help show this help message and exit - -v, --verbose - --no-verbose -``` - -Using the `--no-` version of a switch will pass the opposite value in as a function argument. If multiple switches are present, the last one takes precedence. - -#### Files - -If the default value is a file object, such as `sys.stdout`, then autocommand just looks for a string, for a file path. It doesn't do any special checking on the string, though (such as checking if the file exists); it's better to let the client decide how to handle errors in this case. Instead, it provides a special context manager called `smart_open`, which behaves exactly like `open` if a filename or other openable type is provided, but also lets you use already open files: - -```python -from autocommand import autocommand, smart_open -import sys - -# Write the contents of stdin, or a file, to stdout -@autocommand(__name__) -def write_out(infile=sys.stdin): - with smart_open(infile) as f: - for line in f: - print(line.rstrip()) - # If a file was opened, it is closed here. If it was just stdin, it is untouched. -``` - -``` -$ echo "Hello World!" | python write_out.py | tee hello.txt -Hello World! -$ python write_out.py --infile hello.txt -Hello World! -``` - -### Descriptions and docstrings - -The `autocommand` decorator accepts `description` and `epilog` kwargs, corresponding to the `description `_ and `epilog `_ of the `ArgumentParser`. If no description is given, but the decorated function has a docstring, then it is taken as the `description` for the `ArgumentParser`. You can also provide both the description and epilog in the docstring by splitting it into two sections with 4 or more - characters. - -```python -@autocommand(__name__) -def copy(infile=sys.stdin, outfile=sys.stdout): - ''' - Copy an the contents of a file (or stdin) to another file (or stdout) - ---------- - Some extra documentation in the epilog - ''' - with smart_open(infile) as istr: - with smart_open(outfile, 'w') as ostr: - for line in istr: - ostr.write(line) -``` - -``` -$ python copy.py -h -usage: copy.py [-h] [-i INFILE] [-o OUTFILE] - -Copy an the contents of a file (or stdin) to another file (or stdout) - -optional arguments: - -h, --help show this help message and exit - -i INFILE, --infile INFILE - -o OUTFILE, --outfile OUTFILE - -Some extra documentation in the epilog -$ echo "Hello World" | python copy.py --outfile hello.txt -$ python copy.py --infile hello.txt --outfile hello2.txt -$ python copy.py --infile hello2.txt -Hello World -``` - -### Parameter descriptions - -You can also attach description text to individual parameters in the annotation. To attach both a type and a description, supply them both in any order in a tuple - -```python -@autocommand(__name__) -def copy_net( - infile: 'The name of the file to send', - host: 'The host to send the file to', - port: (int, 'The port to connect to')): - - ''' - Copy a file over raw TCP to a remote destination. - ''' - # Left as an exercise to the reader -``` - -### Decorators and wrappers - -Autocommand automatically follows wrapper chains created by `@functools.wraps`. This means that you can apply other wrapping decorators to your main function, and autocommand will still correctly detect the signature. - -```python -from functools import wraps -from autocommand import autocommand - -def print_yielded(func): - ''' - Convert a generator into a function that prints all yielded elements - ''' - @wraps(func) - def wrapper(*args, **kwargs): - for thing in func(*args, **kwargs): - print(thing) - return wrapper - -@autocommand(__name__, - description= 'Print all the values from START to STOP, inclusive, in steps of STEP', - epilog= 'STOP and STEP default to 1') -@print_yielded -def seq(stop, start=1, step=1): - for i in range(start, stop + 1, step): - yield i -``` - -``` -$ seq.py -h -usage: seq.py [-h] [-s START] [-S STEP] stop - -Print all the values from START to STOP, inclusive, in steps of STEP - -positional arguments: - stop - -optional arguments: - -h, --help show this help message and exit - -s START, --start START - -S STEP, --step STEP - -STOP and STEP default to 1 -``` - -Even though autocommand is being applied to the `wrapper` returned by `print_yielded`, it still retreives the signature of the underlying `seq` function to create the argument parsing. - -### Custom Parser - -While autocommand's automatic parser generator is a powerful convenience, it doesn't cover all of the different features that argparse provides. If you need these features, you can provide your own parser as a kwarg to `autocommand`: - -```python -from argparse import ArgumentParser -from autocommand import autocommand - -parser = ArgumentParser() -# autocommand can't do optional positonal parameters -parser.add_argument('arg', nargs='?') -# or mutually exclusive options -group = parser.add_mutually_exclusive_group() -group.add_argument('-v', '--verbose', action='store_true') -group.add_argument('-q', '--quiet', action='store_true') - -@autocommand(__name__, parser=parser) -def main(arg, verbose, quiet): - print(arg, verbose, quiet) -``` - -``` -$ python parser.py -h -usage: write_file.py [-h] [-v | -q] [arg] - -positional arguments: - arg - -optional arguments: - -h, --help show this help message and exit - -v, --verbose - -q, --quiet -$ python parser.py -None False False -$ python parser.py hello -hello False False -$ python parser.py -v -None True False -$ python parser.py -q -None False True -$ python parser.py -vq -usage: parser.py [-h] [-v | -q] [arg] -parser.py: error: argument -q/--quiet: not allowed with argument -v/--verbose -``` - -Any parser should work fine, so long as each of the parser's arguments has a corresponding parameter in the decorated main function. The order of parameters doesn't matter, as long as they are all present. Note that when using a custom parser, autocommand doesn't modify the parser or the retrieved arguments. This means that no description/epilog will be added, and the function's type annotations and defaults (if present) will be ignored. - -## Testing and Library use - -The decorated function is only called and exited from if the first argument to `autocommand` is `'__main__'` or `True`. If it is neither of these values, or no argument is given, then a new main function is created by the decorator. This function has the signature `main(argv=None)`, and is intended to be called with arguments as if via `main(sys.argv[1:])`. The function has the attributes `parser` and `main`, which are the generated `ArgumentParser` and the original main function that was decorated. This is to facilitate testing and library use of your main. Calling the function triggers a `parse_args()` with the supplied arguments, and returns the result of the main function. Note that, while it returns instead of calling `sys.exit`, the `parse_args()` function will raise a `SystemExit` in the event of a parsing error or `-h/--help` argument. - -```python - @autocommand() - def test_prog(arg1, arg2: int, quiet=False, verbose=False): - if not quiet: - print(arg1, arg2) - if verbose: - print("LOUD NOISES") - - return 0 - - print(test_prog(['-v', 'hello', '80'])) -``` - -``` -$ python test_prog.py -hello 80 -LOUD NOISES -0 -``` - -If the function is called with no arguments, `sys.argv[1:]` is used. This is to allow the autocommand function to be used as a setuptools entry point. - -## Exceptions and limitations - -- There are a few possible exceptions that `autocommand` can raise. All of them derive from `autocommand.AutocommandError`. - - - If an invalid annotation is given (that is, it isn't a `type`, `str`, `(type, str)`, or `(str, type)`, an `AnnotationError` is raised. The `type` may be any callable, as described in the `Types`_ section. - - If the function has a `**kwargs` parameter, a `KWargError` is raised. - - If, somehow, the function has a positional-only parameter, a `PositionalArgError` is raised. This means that the argument doesn't have a name, which is currently not possible with a plain `def` or `lambda`, though many built-in functions have this kind of parameter. - -- There are a few argparse features that are not supported by autocommand. - - - It isn't possible to have an optional positional argument (as opposed to a `--option`). POSIX thinks this is bad form anyway. - - It isn't possible to have mutually exclusive arguments or options - - It isn't possible to have subcommands or subparsers, though I'm working on a few solutions involving classes or nested function definitions to allow this. - -## Development - -Autocommand cannot be important from the project root; this is to enforce separation of concerns and prevent accidental importing of `setup.py` or tests. To develop, install the project in editable mode: - -``` -$ python setup.py develop -``` - -This will create a link to the source files in the deployment directory, so that any source changes are reflected when it is imported. diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/RECORD deleted file mode 100644 index e6e12ea5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/RECORD +++ /dev/null @@ -1,18 +0,0 @@ -autocommand-2.2.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -autocommand-2.2.2.dist-info/LICENSE,sha256=reeNBJgtaZctREqOFKlPh6IzTdOFXMgDSOqOJAqg3y0,7634 -autocommand-2.2.2.dist-info/METADATA,sha256=OADZuR3O6iBlpu1ieTgzYul6w4uOVrk0P0BO5TGGAJk,15006 -autocommand-2.2.2.dist-info/RECORD,, -autocommand-2.2.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92 -autocommand-2.2.2.dist-info/top_level.txt,sha256=AzfhgKKS8EdAwWUTSF8mgeVQbXOY9kokHB6kSqwwqu0,12 -autocommand/__init__.py,sha256=zko5Rnvolvb-UXjCx_2ArPTGBWwUK5QY4LIQIKYR7As,1037 -autocommand/__pycache__/__init__.cpython-312.pyc,, -autocommand/__pycache__/autoasync.cpython-312.pyc,, -autocommand/__pycache__/autocommand.cpython-312.pyc,, -autocommand/__pycache__/automain.cpython-312.pyc,, -autocommand/__pycache__/autoparse.cpython-312.pyc,, -autocommand/__pycache__/errors.cpython-312.pyc,, -autocommand/autoasync.py,sha256=AMdyrxNS4pqWJfP_xuoOcImOHWD-qT7x06wmKN1Vp-U,5680 -autocommand/autocommand.py,sha256=hmkEmQ72HtL55gnURVjDOnsfYlGd5lLXbvT4KG496Qw,2505 -autocommand/automain.py,sha256=A2b8i754Mxc_DjU9WFr6vqYDWlhz0cn8miu8d8EsxV8,2076 -autocommand/autoparse.py,sha256=WVWmZJPcbzUKXP40raQw_0HD8qPJ2V9VG1eFFmmnFxw,11642 -autocommand/errors.py,sha256=7aa3roh9Herd6nIKpQHNWEslWE8oq7GiHYVUuRqORnA,886 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/WHEEL deleted file mode 100644 index 57e3d840..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.38.4) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/top_level.txt deleted file mode 100644 index dda5158f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand-2.2.2.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -autocommand diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__init__.py deleted file mode 100644 index 73fbfca6..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__init__.py +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2014-2016 Nathan West -# -# This file is part of autocommand. -# -# autocommand 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 3 of the License, or -# (at your option) any later version. -# -# autocommand 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 autocommand. If not, see . - -# flake8 flags all these imports as unused, hence the NOQAs everywhere. - -from .automain import automain # NOQA -from .autoparse import autoparse, smart_open # NOQA -from .autocommand import autocommand # NOQA - -try: - from .autoasync import autoasync # NOQA -except ImportError: # pragma: no cover - pass diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 74c99e52..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/autoasync.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/autoasync.cpython-312.pyc deleted file mode 100644 index b940e448..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/autoasync.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/autocommand.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/autocommand.cpython-312.pyc deleted file mode 100644 index e977b7be..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/autocommand.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/automain.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/automain.cpython-312.pyc deleted file mode 100644 index 0ffd86d7..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/automain.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/autoparse.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/autoparse.cpython-312.pyc deleted file mode 100644 index fe076d06..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/autoparse.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/errors.cpython-312.pyc deleted file mode 100644 index f924531b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/__pycache__/errors.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/autoasync.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/autoasync.py deleted file mode 100644 index 688f7e05..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/autoasync.py +++ /dev/null @@ -1,142 +0,0 @@ -# Copyright 2014-2015 Nathan West -# -# This file is part of autocommand. -# -# autocommand 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 3 of the License, or -# (at your option) any later version. -# -# autocommand 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 autocommand. If not, see . - -from asyncio import get_event_loop, iscoroutine -from functools import wraps -from inspect import signature - - -async def _run_forever_coro(coro, args, kwargs, loop): - ''' - This helper function launches an async main function that was tagged with - forever=True. There are two possibilities: - - - The function is a normal function, which handles initializing the event - loop, which is then run forever - - The function is a coroutine, which needs to be scheduled in the event - loop, which is then run forever - - There is also the possibility that the function is a normal function - wrapping a coroutine function - - The function is therefore called unconditionally and scheduled in the event - loop if the return value is a coroutine object. - - The reason this is a separate function is to make absolutely sure that all - the objects created are garbage collected after all is said and done; we - do this to ensure that any exceptions raised in the tasks are collected - ASAP. - ''' - - # Personal note: I consider this an antipattern, as it relies on the use of - # unowned resources. The setup function dumps some stuff into the event - # loop where it just whirls in the ether without a well defined owner or - # lifetime. For this reason, there's a good chance I'll remove the - # forever=True feature from autoasync at some point in the future. - thing = coro(*args, **kwargs) - if iscoroutine(thing): - await thing - - -def autoasync(coro=None, *, loop=None, forever=False, pass_loop=False): - ''' - Convert an asyncio coroutine into a function which, when called, is - evaluted in an event loop, and the return value returned. This is intented - to make it easy to write entry points into asyncio coroutines, which - otherwise need to be explictly evaluted with an event loop's - run_until_complete. - - If `loop` is given, it is used as the event loop to run the coro in. If it - is None (the default), the loop is retreived using asyncio.get_event_loop. - This call is defered until the decorated function is called, so that - callers can install custom event loops or event loop policies after - @autoasync is applied. - - If `forever` is True, the loop is run forever after the decorated coroutine - is finished. Use this for servers created with asyncio.start_server and the - like. - - If `pass_loop` is True, the event loop object is passed into the coroutine - as the `loop` kwarg when the wrapper function is called. In this case, the - wrapper function's __signature__ is updated to remove this parameter, so - that autoparse can still be used on it without generating a parameter for - `loop`. - - This coroutine can be called with ( @autoasync(...) ) or without - ( @autoasync ) arguments. - - Examples: - - @autoasync - def get_file(host, port): - reader, writer = yield from asyncio.open_connection(host, port) - data = reader.read() - sys.stdout.write(data.decode()) - - get_file(host, port) - - @autoasync(forever=True, pass_loop=True) - def server(host, port, loop): - yield_from loop.create_server(Proto, host, port) - - server('localhost', 8899) - - ''' - if coro is None: - return lambda c: autoasync( - c, loop=loop, - forever=forever, - pass_loop=pass_loop) - - # The old and new signatures are required to correctly bind the loop - # parameter in 100% of cases, even if it's a positional parameter. - # NOTE: A future release will probably require the loop parameter to be - # a kwonly parameter. - if pass_loop: - old_sig = signature(coro) - new_sig = old_sig.replace(parameters=( - param for name, param in old_sig.parameters.items() - if name != "loop")) - - @wraps(coro) - def autoasync_wrapper(*args, **kwargs): - # Defer the call to get_event_loop so that, if a custom policy is - # installed after the autoasync decorator, it is respected at call time - local_loop = get_event_loop() if loop is None else loop - - # Inject the 'loop' argument. We have to use this signature binding to - # ensure it's injected in the correct place (positional, keyword, etc) - if pass_loop: - bound_args = old_sig.bind_partial() - bound_args.arguments.update( - loop=local_loop, - **new_sig.bind(*args, **kwargs).arguments) - args, kwargs = bound_args.args, bound_args.kwargs - - if forever: - local_loop.create_task(_run_forever_coro( - coro, args, kwargs, local_loop - )) - local_loop.run_forever() - else: - return local_loop.run_until_complete(coro(*args, **kwargs)) - - # Attach the updated signature. This allows 'pass_loop' to be used with - # autoparse - if pass_loop: - autoasync_wrapper.__signature__ = new_sig - - return autoasync_wrapper diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/autocommand.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/autocommand.py deleted file mode 100644 index 097e86de..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/autocommand.py +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 2014-2015 Nathan West -# -# This file is part of autocommand. -# -# autocommand 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 3 of the License, or -# (at your option) any later version. -# -# autocommand 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 autocommand. If not, see . - -from .autoparse import autoparse -from .automain import automain -try: - from .autoasync import autoasync -except ImportError: # pragma: no cover - pass - - -def autocommand( - module, *, - description=None, - epilog=None, - add_nos=False, - parser=None, - loop=None, - forever=False, - pass_loop=False): - - if callable(module): - raise TypeError('autocommand requires a module name argument') - - def autocommand_decorator(func): - # Step 1: if requested, run it all in an asyncio event loop. autoasync - # patches the __signature__ of the decorated function, so that in the - # event that pass_loop is True, the `loop` parameter of the original - # function will *not* be interpreted as a command-line argument by - # autoparse - if loop is not None or forever or pass_loop: - func = autoasync( - func, - loop=None if loop is True else loop, - pass_loop=pass_loop, - forever=forever) - - # Step 2: create parser. We do this second so that the arguments are - # parsed and passed *before* entering the asyncio event loop, if it - # exists. This simplifies the stack trace and ensures errors are - # reported earlier. It also ensures that errors raised during parsing & - # passing are still raised if `forever` is True. - func = autoparse( - func, - description=description, - epilog=epilog, - add_nos=add_nos, - parser=parser) - - # Step 3: call the function automatically if __name__ == '__main__' (or - # if True was provided) - func = automain(module)(func) - - return func - - return autocommand_decorator diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/automain.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/automain.py deleted file mode 100644 index 6cc45db6..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/automain.py +++ /dev/null @@ -1,59 +0,0 @@ -# Copyright 2014-2015 Nathan West -# -# This file is part of autocommand. -# -# autocommand 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 3 of the License, or -# (at your option) any later version. -# -# autocommand 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 autocommand. If not, see . - -import sys -from .errors import AutocommandError - - -class AutomainRequiresModuleError(AutocommandError, TypeError): - pass - - -def automain(module, *, args=(), kwargs=None): - ''' - This decorator automatically invokes a function if the module is being run - as the "__main__" module. Optionally, provide args or kwargs with which to - call the function. If `module` is "__main__", the function is called, and - the program is `sys.exit`ed with the return value. You can also pass `True` - to cause the function to be called unconditionally. If the function is not - called, it is returned unchanged by the decorator. - - Usage: - - @automain(__name__) # Pass __name__ to check __name__=="__main__" - def main(): - ... - - If __name__ is "__main__" here, the main function is called, and then - sys.exit called with the return value. - ''' - - # Check that @automain(...) was called, rather than @automain - if callable(module): - raise AutomainRequiresModuleError(module) - - if module == '__main__' or module is True: - if kwargs is None: - kwargs = {} - - # Use a function definition instead of a lambda for a neater traceback - def automain_decorator(main): - sys.exit(main(*args, **kwargs)) - - return automain_decorator - else: - return lambda main: main diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/autoparse.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/autoparse.py deleted file mode 100644 index 0276a3fa..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/autoparse.py +++ /dev/null @@ -1,333 +0,0 @@ -# Copyright 2014-2015 Nathan West -# -# This file is part of autocommand. -# -# autocommand 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 3 of the License, or -# (at your option) any later version. -# -# autocommand 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 autocommand. If not, see . - -import sys -from re import compile as compile_regex -from inspect import signature, getdoc, Parameter -from argparse import ArgumentParser -from contextlib import contextmanager -from functools import wraps -from io import IOBase -from autocommand.errors import AutocommandError - - -_empty = Parameter.empty - - -class AnnotationError(AutocommandError): - '''Annotation error: annotation must be a string, type, or tuple of both''' - - -class PositionalArgError(AutocommandError): - ''' - Postional Arg Error: autocommand can't handle postional-only parameters - ''' - - -class KWArgError(AutocommandError): - '''kwarg Error: autocommand can't handle a **kwargs parameter''' - - -class DocstringError(AutocommandError): - '''Docstring error''' - - -class TooManySplitsError(DocstringError): - ''' - The docstring had too many ---- section splits. Currently we only support - using up to a single split, to split the docstring into description and - epilog parts. - ''' - - -def _get_type_description(annotation): - ''' - Given an annotation, return the (type, description) for the parameter. - If you provide an annotation that is somehow both a string and a callable, - the behavior is undefined. - ''' - if annotation is _empty: - return None, None - elif callable(annotation): - return annotation, None - elif isinstance(annotation, str): - return None, annotation - elif isinstance(annotation, tuple): - try: - arg1, arg2 = annotation - except ValueError as e: - raise AnnotationError(annotation) from e - else: - if callable(arg1) and isinstance(arg2, str): - return arg1, arg2 - elif isinstance(arg1, str) and callable(arg2): - return arg2, arg1 - - raise AnnotationError(annotation) - - -def _add_arguments(param, parser, used_char_args, add_nos): - ''' - Add the argument(s) to an ArgumentParser (using add_argument) for a given - parameter. used_char_args is the set of -short options currently already in - use, and is updated (if necessary) by this function. If add_nos is True, - this will also add an inverse switch for all boolean options. For - instance, for the boolean parameter "verbose", this will create --verbose - and --no-verbose. - ''' - - # Impl note: This function is kept separate from make_parser because it's - # already very long and I wanted to separate out as much as possible into - # its own call scope, to prevent even the possibility of suble mutation - # bugs. - if param.kind is param.POSITIONAL_ONLY: - raise PositionalArgError(param) - elif param.kind is param.VAR_KEYWORD: - raise KWArgError(param) - - # These are the kwargs for the add_argument function. - arg_spec = {} - is_option = False - - # Get the type and default from the annotation. - arg_type, description = _get_type_description(param.annotation) - - # Get the default value - default = param.default - - # If there is no explicit type, and the default is present and not None, - # infer the type from the default. - if arg_type is None and default not in {_empty, None}: - arg_type = type(default) - - # Add default. The presence of a default means this is an option, not an - # argument. - if default is not _empty: - arg_spec['default'] = default - is_option = True - - # Add the type - if arg_type is not None: - # Special case for bool: make it just a --switch - if arg_type is bool: - if not default or default is _empty: - arg_spec['action'] = 'store_true' - else: - arg_spec['action'] = 'store_false' - - # Switches are always options - is_option = True - - # Special case for file types: make it a string type, for filename - elif isinstance(default, IOBase): - arg_spec['type'] = str - - # TODO: special case for list type. - # - How to specificy type of list members? - # - param: [int] - # - param: int =[] - # - action='append' vs nargs='*' - - else: - arg_spec['type'] = arg_type - - # nargs: if the signature includes *args, collect them as trailing CLI - # arguments in a list. *args can't have a default value, so it can never be - # an option. - if param.kind is param.VAR_POSITIONAL: - # TODO: consider depluralizing metavar/name here. - arg_spec['nargs'] = '*' - - # Add description. - if description is not None: - arg_spec['help'] = description - - # Get the --flags - flags = [] - name = param.name - - if is_option: - # Add the first letter as a -short option. - for letter in name[0], name[0].swapcase(): - if letter not in used_char_args: - used_char_args.add(letter) - flags.append('-{}'.format(letter)) - break - - # If the parameter is a --long option, or is a -short option that - # somehow failed to get a flag, add it. - if len(name) > 1 or not flags: - flags.append('--{}'.format(name)) - - arg_spec['dest'] = name - else: - flags.append(name) - - parser.add_argument(*flags, **arg_spec) - - # Create the --no- version for boolean switches - if add_nos and arg_type is bool: - parser.add_argument( - '--no-{}'.format(name), - action='store_const', - dest=name, - const=default if default is not _empty else False) - - -def make_parser(func_sig, description, epilog, add_nos): - ''' - Given the signature of a function, create an ArgumentParser - ''' - parser = ArgumentParser(description=description, epilog=epilog) - - used_char_args = {'h'} - - # Arange the params so that single-character arguments are first. This - # esnures they don't have to get --long versions. sorted is stable, so the - # parameters will otherwise still be in relative order. - params = sorted( - func_sig.parameters.values(), - key=lambda param: len(param.name) > 1) - - for param in params: - _add_arguments(param, parser, used_char_args, add_nos) - - return parser - - -_DOCSTRING_SPLIT = compile_regex(r'\n\s*-{4,}\s*\n') - - -def parse_docstring(docstring): - ''' - Given a docstring, parse it into a description and epilog part - ''' - if docstring is None: - return '', '' - - parts = _DOCSTRING_SPLIT.split(docstring) - - if len(parts) == 1: - return docstring, '' - elif len(parts) == 2: - return parts[0], parts[1] - else: - raise TooManySplitsError() - - -def autoparse( - func=None, *, - description=None, - epilog=None, - add_nos=False, - parser=None): - ''' - This decorator converts a function that takes normal arguments into a - function which takes a single optional argument, argv, parses it using an - argparse.ArgumentParser, and calls the underlying function with the parsed - arguments. If it is not given, sys.argv[1:] is used. This is so that the - function can be used as a setuptools entry point, as well as a normal main - function. sys.argv[1:] is not evaluated until the function is called, to - allow injecting different arguments for testing. - - It uses the argument signature of the function to create an - ArgumentParser. Parameters without defaults become positional parameters, - while parameters *with* defaults become --options. Use annotations to set - the type of the parameter. - - The `desctiption` and `epilog` parameters corrospond to the same respective - argparse parameters. If no description is given, it defaults to the - decorated functions's docstring, if present. - - If add_nos is True, every boolean option (that is, every parameter with a - default of True/False or a type of bool) will have a --no- version created - as well, which inverts the option. For instance, the --verbose option will - have a --no-verbose counterpart. These are not mutually exclusive- - whichever one appears last in the argument list will have precedence. - - If a parser is given, it is used instead of one generated from the function - signature. In this case, no parser is created; instead, the given parser is - used to parse the argv argument. The parser's results' argument names must - match up with the parameter names of the decorated function. - - The decorated function is attached to the result as the `func` attribute, - and the parser is attached as the `parser` attribute. - ''' - - # If @autoparse(...) is used instead of @autoparse - if func is None: - return lambda f: autoparse( - f, description=description, - epilog=epilog, - add_nos=add_nos, - parser=parser) - - func_sig = signature(func) - - docstr_description, docstr_epilog = parse_docstring(getdoc(func)) - - if parser is None: - parser = make_parser( - func_sig, - description or docstr_description, - epilog or docstr_epilog, - add_nos) - - @wraps(func) - def autoparse_wrapper(argv=None): - if argv is None: - argv = sys.argv[1:] - - # Get empty argument binding, to fill with parsed arguments. This - # object does all the heavy lifting of turning named arguments into - # into correctly bound *args and **kwargs. - parsed_args = func_sig.bind_partial() - parsed_args.arguments.update(vars(parser.parse_args(argv))) - - return func(*parsed_args.args, **parsed_args.kwargs) - - # TODO: attach an updated __signature__ to autoparse_wrapper, just in case. - - # Attach the wrapped function and parser, and return the wrapper. - autoparse_wrapper.func = func - autoparse_wrapper.parser = parser - return autoparse_wrapper - - -@contextmanager -def smart_open(filename_or_file, *args, **kwargs): - ''' - This context manager allows you to open a filename, if you want to default - some already-existing file object, like sys.stdout, which shouldn't be - closed at the end of the context. If the filename argument is a str, bytes, - or int, the file object is created via a call to open with the given *args - and **kwargs, sent to the context, and closed at the end of the context, - just like "with open(filename) as f:". If it isn't one of the openable - types, the object simply sent to the context unchanged, and left unclosed - at the end of the context. Example: - - def work_with_file(name=sys.stdout): - with smart_open(name) as f: - # Works correctly if name is a str filename or sys.stdout - print("Some stuff", file=f) - # If it was a filename, f is closed at the end here. - ''' - if isinstance(filename_or_file, (str, bytes, int)): - with open(filename_or_file, *args, **kwargs) as file: - yield file - else: - yield filename_or_file diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/errors.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/errors.py deleted file mode 100644 index 25706073..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/autocommand/errors.py +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 2014-2016 Nathan West -# -# This file is part of autocommand. -# -# autocommand 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 3 of the License, or -# (at your option) any later version. -# -# autocommand 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 autocommand. If not, see . - - -class AutocommandError(Exception): - '''Base class for autocommand exceptions''' - pass - -# Individual modules will define errors specific to that module. diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/LICENSE deleted file mode 100644 index 1bb5a443..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -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/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/METADATA deleted file mode 100644 index db0a2dcd..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/METADATA +++ /dev/null @@ -1,46 +0,0 @@ -Metadata-Version: 2.1 -Name: backports.tarfile -Version: 1.2.0 -Summary: Backport of CPython tarfile module -Author-email: "Jason R. Coombs" -Project-URL: Homepage, https://github.com/jaraco/backports.tarfile -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.8 -Description-Content-Type: text/x-rst -License-File: LICENSE -Provides-Extra: docs -Requires-Dist: sphinx >=3.5 ; extra == 'docs' -Requires-Dist: jaraco.packaging >=9.3 ; extra == 'docs' -Requires-Dist: rst.linker >=1.9 ; extra == 'docs' -Requires-Dist: furo ; extra == 'docs' -Requires-Dist: sphinx-lint ; extra == 'docs' -Provides-Extra: testing -Requires-Dist: pytest !=8.1.*,>=6 ; extra == 'testing' -Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'testing' -Requires-Dist: pytest-cov ; extra == 'testing' -Requires-Dist: pytest-enabler >=2.2 ; extra == 'testing' -Requires-Dist: jaraco.test ; extra == 'testing' -Requires-Dist: pytest !=8.0.* ; extra == 'testing' - -.. image:: https://img.shields.io/pypi/v/backports.tarfile.svg - :target: https://pypi.org/project/backports.tarfile - -.. image:: https://img.shields.io/pypi/pyversions/backports.tarfile.svg - -.. image:: https://github.com/jaraco/backports.tarfile/actions/workflows/main.yml/badge.svg - :target: https://github.com/jaraco/backports.tarfile/actions?query=workflow%3A%22tests%22 - :alt: tests - -.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json - :target: https://github.com/astral-sh/ruff - :alt: Ruff - -.. .. image:: https://readthedocs.org/projects/backportstarfile/badge/?version=latest -.. :target: https://backportstarfile.readthedocs.io/en/latest/?badge=latest - -.. image:: https://img.shields.io/badge/skeleton-2024-informational - :target: https://blog.jaraco.com/skeleton diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/RECORD deleted file mode 100644 index 536dc2f0..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/RECORD +++ /dev/null @@ -1,17 +0,0 @@ -backports.tarfile-1.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -backports.tarfile-1.2.0.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -backports.tarfile-1.2.0.dist-info/METADATA,sha256=ghXFTq132dxaEIolxr3HK1mZqm9iyUmaRANZQSr6WlE,2020 -backports.tarfile-1.2.0.dist-info/RECORD,, -backports.tarfile-1.2.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -backports.tarfile-1.2.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -backports.tarfile-1.2.0.dist-info/top_level.txt,sha256=cGjaLMOoBR1FK0ApojtzWVmViTtJ7JGIK_HwXiEsvtU,10 -backports/__init__.py,sha256=iOEMwnlORWezdO8-2vxBIPSR37D7JGjluZ8f55vzxls,81 -backports/__pycache__/__init__.cpython-312.pyc,, -backports/tarfile/__init__.py,sha256=Pwf2qUIfB0SolJPCKcx3vz3UEu_aids4g4sAfxy94qg,108491 -backports/tarfile/__main__.py,sha256=Yw2oGT1afrz2eBskzdPYL8ReB_3liApmhFkN2EbDmc4,59 -backports/tarfile/__pycache__/__init__.cpython-312.pyc,, -backports/tarfile/__pycache__/__main__.cpython-312.pyc,, -backports/tarfile/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -backports/tarfile/compat/__pycache__/__init__.cpython-312.pyc,, -backports/tarfile/compat/__pycache__/py38.cpython-312.pyc,, -backports/tarfile/compat/py38.py,sha256=iYkyt_gvWjLzGUTJD9TuTfMMjOk-ersXZmRlvQYN2qE,568 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/WHEEL deleted file mode 100644 index bab98d67..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.43.0) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/top_level.txt deleted file mode 100644 index 99d2be5b..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports.tarfile-1.2.0.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -backports diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/__init__.py deleted file mode 100644 index 0d1f7edf..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__path__ = __import__('pkgutil').extend_path(__path__, __name__) # type: ignore diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 0b3ce841..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__init__.py deleted file mode 100644 index 8c16881c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__init__.py +++ /dev/null @@ -1,2937 +0,0 @@ -#------------------------------------------------------------------- -# tarfile.py -#------------------------------------------------------------------- -# Copyright (C) 2002 Lars Gustaebel -# All rights reserved. -# -# 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. -# -"""Read from and write to tar format archives. -""" - -version = "0.9.0" -__author__ = "Lars Gust\u00e4bel (lars@gustaebel.de)" -__credits__ = "Gustavo Niemeyer, Niels Gust\u00e4bel, Richard Townsend." - -#--------- -# Imports -#--------- -from builtins import open as bltn_open -import sys -import os -import io -import shutil -import stat -import time -import struct -import copy -import re - -from .compat.py38 import removesuffix - -try: - import pwd -except ImportError: - pwd = None -try: - import grp -except ImportError: - grp = None - -# os.symlink on Windows prior to 6.0 raises NotImplementedError -# OSError (winerror=1314) will be raised if the caller does not hold the -# SeCreateSymbolicLinkPrivilege privilege -symlink_exception = (AttributeError, NotImplementedError, OSError) - -# from tarfile import * -__all__ = ["TarFile", "TarInfo", "is_tarfile", "TarError", "ReadError", - "CompressionError", "StreamError", "ExtractError", "HeaderError", - "ENCODING", "USTAR_FORMAT", "GNU_FORMAT", "PAX_FORMAT", - "DEFAULT_FORMAT", "open","fully_trusted_filter", "data_filter", - "tar_filter", "FilterError", "AbsoluteLinkError", - "OutsideDestinationError", "SpecialFileError", "AbsolutePathError", - "LinkOutsideDestinationError"] - - -#--------------------------------------------------------- -# tar constants -#--------------------------------------------------------- -NUL = b"\0" # the null character -BLOCKSIZE = 512 # length of processing blocks -RECORDSIZE = BLOCKSIZE * 20 # length of records -GNU_MAGIC = b"ustar \0" # magic gnu tar string -POSIX_MAGIC = b"ustar\x0000" # magic posix tar string - -LENGTH_NAME = 100 # maximum length of a filename -LENGTH_LINK = 100 # maximum length of a linkname -LENGTH_PREFIX = 155 # maximum length of the prefix field - -REGTYPE = b"0" # regular file -AREGTYPE = b"\0" # regular file -LNKTYPE = b"1" # link (inside tarfile) -SYMTYPE = b"2" # symbolic link -CHRTYPE = b"3" # character special device -BLKTYPE = b"4" # block special device -DIRTYPE = b"5" # directory -FIFOTYPE = b"6" # fifo special device -CONTTYPE = b"7" # contiguous file - -GNUTYPE_LONGNAME = b"L" # GNU tar longname -GNUTYPE_LONGLINK = b"K" # GNU tar longlink -GNUTYPE_SPARSE = b"S" # GNU tar sparse file - -XHDTYPE = b"x" # POSIX.1-2001 extended header -XGLTYPE = b"g" # POSIX.1-2001 global header -SOLARIS_XHDTYPE = b"X" # Solaris extended header - -USTAR_FORMAT = 0 # POSIX.1-1988 (ustar) format -GNU_FORMAT = 1 # GNU tar format -PAX_FORMAT = 2 # POSIX.1-2001 (pax) format -DEFAULT_FORMAT = PAX_FORMAT - -#--------------------------------------------------------- -# tarfile constants -#--------------------------------------------------------- -# File types that tarfile supports: -SUPPORTED_TYPES = (REGTYPE, AREGTYPE, LNKTYPE, - SYMTYPE, DIRTYPE, FIFOTYPE, - CONTTYPE, CHRTYPE, BLKTYPE, - GNUTYPE_LONGNAME, GNUTYPE_LONGLINK, - GNUTYPE_SPARSE) - -# File types that will be treated as a regular file. -REGULAR_TYPES = (REGTYPE, AREGTYPE, - CONTTYPE, GNUTYPE_SPARSE) - -# File types that are part of the GNU tar format. -GNU_TYPES = (GNUTYPE_LONGNAME, GNUTYPE_LONGLINK, - GNUTYPE_SPARSE) - -# Fields from a pax header that override a TarInfo attribute. -PAX_FIELDS = ("path", "linkpath", "size", "mtime", - "uid", "gid", "uname", "gname") - -# Fields from a pax header that are affected by hdrcharset. -PAX_NAME_FIELDS = {"path", "linkpath", "uname", "gname"} - -# Fields in a pax header that are numbers, all other fields -# are treated as strings. -PAX_NUMBER_FIELDS = { - "atime": float, - "ctime": float, - "mtime": float, - "uid": int, - "gid": int, - "size": int -} - -#--------------------------------------------------------- -# initialization -#--------------------------------------------------------- -if os.name == "nt": - ENCODING = "utf-8" -else: - ENCODING = sys.getfilesystemencoding() - -#--------------------------------------------------------- -# Some useful functions -#--------------------------------------------------------- - -def stn(s, length, encoding, errors): - """Convert a string to a null-terminated bytes object. - """ - if s is None: - raise ValueError("metadata cannot contain None") - s = s.encode(encoding, errors) - return s[:length] + (length - len(s)) * NUL - -def nts(s, encoding, errors): - """Convert a null-terminated bytes object to a string. - """ - p = s.find(b"\0") - if p != -1: - s = s[:p] - return s.decode(encoding, errors) - -def nti(s): - """Convert a number field to a python number. - """ - # There are two possible encodings for a number field, see - # itn() below. - if s[0] in (0o200, 0o377): - n = 0 - for i in range(len(s) - 1): - n <<= 8 - n += s[i + 1] - if s[0] == 0o377: - n = -(256 ** (len(s) - 1) - n) - else: - try: - s = nts(s, "ascii", "strict") - n = int(s.strip() or "0", 8) - except ValueError: - raise InvalidHeaderError("invalid header") - return n - -def itn(n, digits=8, format=DEFAULT_FORMAT): - """Convert a python number to a number field. - """ - # POSIX 1003.1-1988 requires numbers to be encoded as a string of - # octal digits followed by a null-byte, this allows values up to - # (8**(digits-1))-1. GNU tar allows storing numbers greater than - # that if necessary. A leading 0o200 or 0o377 byte indicate this - # particular encoding, the following digits-1 bytes are a big-endian - # base-256 representation. This allows values up to (256**(digits-1))-1. - # A 0o200 byte indicates a positive number, a 0o377 byte a negative - # number. - original_n = n - n = int(n) - if 0 <= n < 8 ** (digits - 1): - s = bytes("%0*o" % (digits - 1, n), "ascii") + NUL - elif format == GNU_FORMAT and -256 ** (digits - 1) <= n < 256 ** (digits - 1): - if n >= 0: - s = bytearray([0o200]) - else: - s = bytearray([0o377]) - n = 256 ** digits + n - - for i in range(digits - 1): - s.insert(1, n & 0o377) - n >>= 8 - else: - raise ValueError("overflow in number field") - - return s - -def calc_chksums(buf): - """Calculate the checksum for a member's header by summing up all - characters except for the chksum field which is treated as if - it was filled with spaces. According to the GNU tar sources, - some tars (Sun and NeXT) calculate chksum with signed char, - which will be different if there are chars in the buffer with - the high bit set. So we calculate two checksums, unsigned and - signed. - """ - unsigned_chksum = 256 + sum(struct.unpack_from("148B8x356B", buf)) - signed_chksum = 256 + sum(struct.unpack_from("148b8x356b", buf)) - return unsigned_chksum, signed_chksum - -def copyfileobj(src, dst, length=None, exception=OSError, bufsize=None): - """Copy length bytes from fileobj src to fileobj dst. - If length is None, copy the entire content. - """ - bufsize = bufsize or 16 * 1024 - if length == 0: - return - if length is None: - shutil.copyfileobj(src, dst, bufsize) - return - - blocks, remainder = divmod(length, bufsize) - for b in range(blocks): - buf = src.read(bufsize) - if len(buf) < bufsize: - raise exception("unexpected end of data") - dst.write(buf) - - if remainder != 0: - buf = src.read(remainder) - if len(buf) < remainder: - raise exception("unexpected end of data") - dst.write(buf) - return - -def _safe_print(s): - encoding = getattr(sys.stdout, 'encoding', None) - if encoding is not None: - s = s.encode(encoding, 'backslashreplace').decode(encoding) - print(s, end=' ') - - -class TarError(Exception): - """Base exception.""" - pass -class ExtractError(TarError): - """General exception for extract errors.""" - pass -class ReadError(TarError): - """Exception for unreadable tar archives.""" - pass -class CompressionError(TarError): - """Exception for unavailable compression methods.""" - pass -class StreamError(TarError): - """Exception for unsupported operations on stream-like TarFiles.""" - pass -class HeaderError(TarError): - """Base exception for header errors.""" - pass -class EmptyHeaderError(HeaderError): - """Exception for empty headers.""" - pass -class TruncatedHeaderError(HeaderError): - """Exception for truncated headers.""" - pass -class EOFHeaderError(HeaderError): - """Exception for end of file headers.""" - pass -class InvalidHeaderError(HeaderError): - """Exception for invalid headers.""" - pass -class SubsequentHeaderError(HeaderError): - """Exception for missing and invalid extended headers.""" - pass - -#--------------------------- -# internal stream interface -#--------------------------- -class _LowLevelFile: - """Low-level file object. Supports reading and writing. - It is used instead of a regular file object for streaming - access. - """ - - def __init__(self, name, mode): - mode = { - "r": os.O_RDONLY, - "w": os.O_WRONLY | os.O_CREAT | os.O_TRUNC, - }[mode] - if hasattr(os, "O_BINARY"): - mode |= os.O_BINARY - self.fd = os.open(name, mode, 0o666) - - def close(self): - os.close(self.fd) - - def read(self, size): - return os.read(self.fd, size) - - def write(self, s): - os.write(self.fd, s) - -class _Stream: - """Class that serves as an adapter between TarFile and - a stream-like object. The stream-like object only - needs to have a read() or write() method that works with bytes, - and the method is accessed blockwise. - Use of gzip or bzip2 compression is possible. - A stream-like object could be for example: sys.stdin.buffer, - sys.stdout.buffer, a socket, a tape device etc. - - _Stream is intended to be used only internally. - """ - - def __init__(self, name, mode, comptype, fileobj, bufsize, - compresslevel): - """Construct a _Stream object. - """ - self._extfileobj = True - if fileobj is None: - fileobj = _LowLevelFile(name, mode) - self._extfileobj = False - - if comptype == '*': - # Enable transparent compression detection for the - # stream interface - fileobj = _StreamProxy(fileobj) - comptype = fileobj.getcomptype() - - self.name = name or "" - self.mode = mode - self.comptype = comptype - self.fileobj = fileobj - self.bufsize = bufsize - self.buf = b"" - self.pos = 0 - self.closed = False - - try: - if comptype == "gz": - try: - import zlib - except ImportError: - raise CompressionError("zlib module is not available") from None - self.zlib = zlib - self.crc = zlib.crc32(b"") - if mode == "r": - self.exception = zlib.error - self._init_read_gz() - else: - self._init_write_gz(compresslevel) - - elif comptype == "bz2": - try: - import bz2 - except ImportError: - raise CompressionError("bz2 module is not available") from None - if mode == "r": - self.dbuf = b"" - self.cmp = bz2.BZ2Decompressor() - self.exception = OSError - else: - self.cmp = bz2.BZ2Compressor(compresslevel) - - elif comptype == "xz": - try: - import lzma - except ImportError: - raise CompressionError("lzma module is not available") from None - if mode == "r": - self.dbuf = b"" - self.cmp = lzma.LZMADecompressor() - self.exception = lzma.LZMAError - else: - self.cmp = lzma.LZMACompressor() - - elif comptype != "tar": - raise CompressionError("unknown compression type %r" % comptype) - - except: - if not self._extfileobj: - self.fileobj.close() - self.closed = True - raise - - def __del__(self): - if hasattr(self, "closed") and not self.closed: - self.close() - - def _init_write_gz(self, compresslevel): - """Initialize for writing with gzip compression. - """ - self.cmp = self.zlib.compressobj(compresslevel, - self.zlib.DEFLATED, - -self.zlib.MAX_WBITS, - self.zlib.DEF_MEM_LEVEL, - 0) - timestamp = struct.pack(" self.bufsize: - self.fileobj.write(self.buf[:self.bufsize]) - self.buf = self.buf[self.bufsize:] - - def close(self): - """Close the _Stream object. No operation should be - done on it afterwards. - """ - if self.closed: - return - - self.closed = True - try: - if self.mode == "w" and self.comptype != "tar": - self.buf += self.cmp.flush() - - if self.mode == "w" and self.buf: - self.fileobj.write(self.buf) - self.buf = b"" - if self.comptype == "gz": - self.fileobj.write(struct.pack("= 0: - blocks, remainder = divmod(pos - self.pos, self.bufsize) - for i in range(blocks): - self.read(self.bufsize) - self.read(remainder) - else: - raise StreamError("seeking backwards is not allowed") - return self.pos - - def read(self, size): - """Return the next size number of bytes from the stream.""" - assert size is not None - buf = self._read(size) - self.pos += len(buf) - return buf - - def _read(self, size): - """Return size bytes from the stream. - """ - if self.comptype == "tar": - return self.__read(size) - - c = len(self.dbuf) - t = [self.dbuf] - while c < size: - # Skip underlying buffer to avoid unaligned double buffering. - if self.buf: - buf = self.buf - self.buf = b"" - else: - buf = self.fileobj.read(self.bufsize) - if not buf: - break - try: - buf = self.cmp.decompress(buf) - except self.exception as e: - raise ReadError("invalid compressed data") from e - t.append(buf) - c += len(buf) - t = b"".join(t) - self.dbuf = t[size:] - return t[:size] - - def __read(self, size): - """Return size bytes from stream. If internal buffer is empty, - read another block from the stream. - """ - c = len(self.buf) - t = [self.buf] - while c < size: - buf = self.fileobj.read(self.bufsize) - if not buf: - break - t.append(buf) - c += len(buf) - t = b"".join(t) - self.buf = t[size:] - return t[:size] -# class _Stream - -class _StreamProxy(object): - """Small proxy class that enables transparent compression - detection for the Stream interface (mode 'r|*'). - """ - - def __init__(self, fileobj): - self.fileobj = fileobj - self.buf = self.fileobj.read(BLOCKSIZE) - - def read(self, size): - self.read = self.fileobj.read - return self.buf - - def getcomptype(self): - if self.buf.startswith(b"\x1f\x8b\x08"): - return "gz" - elif self.buf[0:3] == b"BZh" and self.buf[4:10] == b"1AY&SY": - return "bz2" - elif self.buf.startswith((b"\x5d\x00\x00\x80", b"\xfd7zXZ")): - return "xz" - else: - return "tar" - - def close(self): - self.fileobj.close() -# class StreamProxy - -#------------------------ -# Extraction file object -#------------------------ -class _FileInFile(object): - """A thin wrapper around an existing file object that - provides a part of its data as an individual file - object. - """ - - def __init__(self, fileobj, offset, size, name, blockinfo=None): - self.fileobj = fileobj - self.offset = offset - self.size = size - self.position = 0 - self.name = name - self.closed = False - - if blockinfo is None: - blockinfo = [(0, size)] - - # Construct a map with data and zero blocks. - self.map_index = 0 - self.map = [] - lastpos = 0 - realpos = self.offset - for offset, size in blockinfo: - if offset > lastpos: - self.map.append((False, lastpos, offset, None)) - self.map.append((True, offset, offset + size, realpos)) - realpos += size - lastpos = offset + size - if lastpos < self.size: - self.map.append((False, lastpos, self.size, None)) - - def flush(self): - pass - - @property - def mode(self): - return 'rb' - - def readable(self): - return True - - def writable(self): - return False - - def seekable(self): - return self.fileobj.seekable() - - def tell(self): - """Return the current file position. - """ - return self.position - - def seek(self, position, whence=io.SEEK_SET): - """Seek to a position in the file. - """ - if whence == io.SEEK_SET: - self.position = min(max(position, 0), self.size) - elif whence == io.SEEK_CUR: - if position < 0: - self.position = max(self.position + position, 0) - else: - self.position = min(self.position + position, self.size) - elif whence == io.SEEK_END: - self.position = max(min(self.size + position, self.size), 0) - else: - raise ValueError("Invalid argument") - return self.position - - def read(self, size=None): - """Read data from the file. - """ - if size is None: - size = self.size - self.position - else: - size = min(size, self.size - self.position) - - buf = b"" - while size > 0: - while True: - data, start, stop, offset = self.map[self.map_index] - if start <= self.position < stop: - break - else: - self.map_index += 1 - if self.map_index == len(self.map): - self.map_index = 0 - length = min(size, stop - self.position) - if data: - self.fileobj.seek(offset + (self.position - start)) - b = self.fileobj.read(length) - if len(b) != length: - raise ReadError("unexpected end of data") - buf += b - else: - buf += NUL * length - size -= length - self.position += length - return buf - - def readinto(self, b): - buf = self.read(len(b)) - b[:len(buf)] = buf - return len(buf) - - def close(self): - self.closed = True -#class _FileInFile - -class ExFileObject(io.BufferedReader): - - def __init__(self, tarfile, tarinfo): - fileobj = _FileInFile(tarfile.fileobj, tarinfo.offset_data, - tarinfo.size, tarinfo.name, tarinfo.sparse) - super().__init__(fileobj) -#class ExFileObject - - -#----------------------------- -# extraction filters (PEP 706) -#----------------------------- - -class FilterError(TarError): - pass - -class AbsolutePathError(FilterError): - def __init__(self, tarinfo): - self.tarinfo = tarinfo - super().__init__(f'member {tarinfo.name!r} has an absolute path') - -class OutsideDestinationError(FilterError): - def __init__(self, tarinfo, path): - self.tarinfo = tarinfo - self._path = path - super().__init__(f'{tarinfo.name!r} would be extracted to {path!r}, ' - + 'which is outside the destination') - -class SpecialFileError(FilterError): - def __init__(self, tarinfo): - self.tarinfo = tarinfo - super().__init__(f'{tarinfo.name!r} is a special file') - -class AbsoluteLinkError(FilterError): - def __init__(self, tarinfo): - self.tarinfo = tarinfo - super().__init__(f'{tarinfo.name!r} is a link to an absolute path') - -class LinkOutsideDestinationError(FilterError): - def __init__(self, tarinfo, path): - self.tarinfo = tarinfo - self._path = path - super().__init__(f'{tarinfo.name!r} would link to {path!r}, ' - + 'which is outside the destination') - -def _get_filtered_attrs(member, dest_path, for_data=True): - new_attrs = {} - name = member.name - dest_path = os.path.realpath(dest_path) - # Strip leading / (tar's directory separator) from filenames. - # Include os.sep (target OS directory separator) as well. - if name.startswith(('/', os.sep)): - name = new_attrs['name'] = member.path.lstrip('/' + os.sep) - if os.path.isabs(name): - # Path is absolute even after stripping. - # For example, 'C:/foo' on Windows. - raise AbsolutePathError(member) - # Ensure we stay in the destination - target_path = os.path.realpath(os.path.join(dest_path, name)) - if os.path.commonpath([target_path, dest_path]) != dest_path: - raise OutsideDestinationError(member, target_path) - # Limit permissions (no high bits, and go-w) - mode = member.mode - if mode is not None: - # Strip high bits & group/other write bits - mode = mode & 0o755 - if for_data: - # For data, handle permissions & file types - if member.isreg() or member.islnk(): - if not mode & 0o100: - # Clear executable bits if not executable by user - mode &= ~0o111 - # Ensure owner can read & write - mode |= 0o600 - elif member.isdir() or member.issym(): - # Ignore mode for directories & symlinks - mode = None - else: - # Reject special files - raise SpecialFileError(member) - if mode != member.mode: - new_attrs['mode'] = mode - if for_data: - # Ignore ownership for 'data' - if member.uid is not None: - new_attrs['uid'] = None - if member.gid is not None: - new_attrs['gid'] = None - if member.uname is not None: - new_attrs['uname'] = None - if member.gname is not None: - new_attrs['gname'] = None - # Check link destination for 'data' - if member.islnk() or member.issym(): - if os.path.isabs(member.linkname): - raise AbsoluteLinkError(member) - if member.issym(): - target_path = os.path.join(dest_path, - os.path.dirname(name), - member.linkname) - else: - target_path = os.path.join(dest_path, - member.linkname) - target_path = os.path.realpath(target_path) - if os.path.commonpath([target_path, dest_path]) != dest_path: - raise LinkOutsideDestinationError(member, target_path) - return new_attrs - -def fully_trusted_filter(member, dest_path): - return member - -def tar_filter(member, dest_path): - new_attrs = _get_filtered_attrs(member, dest_path, False) - if new_attrs: - return member.replace(**new_attrs, deep=False) - return member - -def data_filter(member, dest_path): - new_attrs = _get_filtered_attrs(member, dest_path, True) - if new_attrs: - return member.replace(**new_attrs, deep=False) - return member - -_NAMED_FILTERS = { - "fully_trusted": fully_trusted_filter, - "tar": tar_filter, - "data": data_filter, -} - -#------------------ -# Exported Classes -#------------------ - -# Sentinel for replace() defaults, meaning "don't change the attribute" -_KEEP = object() - -class TarInfo(object): - """Informational class which holds the details about an - archive member given by a tar header block. - TarInfo objects are returned by TarFile.getmember(), - TarFile.getmembers() and TarFile.gettarinfo() and are - usually created internally. - """ - - __slots__ = dict( - name = 'Name of the archive member.', - mode = 'Permission bits.', - uid = 'User ID of the user who originally stored this member.', - gid = 'Group ID of the user who originally stored this member.', - size = 'Size in bytes.', - mtime = 'Time of last modification.', - chksum = 'Header checksum.', - type = ('File type. type is usually one of these constants: ' - 'REGTYPE, AREGTYPE, LNKTYPE, SYMTYPE, DIRTYPE, FIFOTYPE, ' - 'CONTTYPE, CHRTYPE, BLKTYPE, GNUTYPE_SPARSE.'), - linkname = ('Name of the target file name, which is only present ' - 'in TarInfo objects of type LNKTYPE and SYMTYPE.'), - uname = 'User name.', - gname = 'Group name.', - devmajor = 'Device major number.', - devminor = 'Device minor number.', - offset = 'The tar header starts here.', - offset_data = "The file's data starts here.", - pax_headers = ('A dictionary containing key-value pairs of an ' - 'associated pax extended header.'), - sparse = 'Sparse member information.', - _tarfile = None, - _sparse_structs = None, - _link_target = None, - ) - - def __init__(self, name=""): - """Construct a TarInfo object. name is the optional name - of the member. - """ - self.name = name # member name - self.mode = 0o644 # file permissions - self.uid = 0 # user id - self.gid = 0 # group id - self.size = 0 # file size - self.mtime = 0 # modification time - self.chksum = 0 # header checksum - self.type = REGTYPE # member type - self.linkname = "" # link name - self.uname = "" # user name - self.gname = "" # group name - self.devmajor = 0 # device major number - self.devminor = 0 # device minor number - - self.offset = 0 # the tar header starts here - self.offset_data = 0 # the file's data starts here - - self.sparse = None # sparse member information - self.pax_headers = {} # pax header information - - @property - def tarfile(self): - import warnings - warnings.warn( - 'The undocumented "tarfile" attribute of TarInfo objects ' - + 'is deprecated and will be removed in Python 3.16', - DeprecationWarning, stacklevel=2) - return self._tarfile - - @tarfile.setter - def tarfile(self, tarfile): - import warnings - warnings.warn( - 'The undocumented "tarfile" attribute of TarInfo objects ' - + 'is deprecated and will be removed in Python 3.16', - DeprecationWarning, stacklevel=2) - self._tarfile = tarfile - - @property - def path(self): - 'In pax headers, "name" is called "path".' - return self.name - - @path.setter - def path(self, name): - self.name = name - - @property - def linkpath(self): - 'In pax headers, "linkname" is called "linkpath".' - return self.linkname - - @linkpath.setter - def linkpath(self, linkname): - self.linkname = linkname - - def __repr__(self): - return "<%s %r at %#x>" % (self.__class__.__name__,self.name,id(self)) - - def replace(self, *, - name=_KEEP, mtime=_KEEP, mode=_KEEP, linkname=_KEEP, - uid=_KEEP, gid=_KEEP, uname=_KEEP, gname=_KEEP, - deep=True, _KEEP=_KEEP): - """Return a deep copy of self with the given attributes replaced. - """ - if deep: - result = copy.deepcopy(self) - else: - result = copy.copy(self) - if name is not _KEEP: - result.name = name - if mtime is not _KEEP: - result.mtime = mtime - if mode is not _KEEP: - result.mode = mode - if linkname is not _KEEP: - result.linkname = linkname - if uid is not _KEEP: - result.uid = uid - if gid is not _KEEP: - result.gid = gid - if uname is not _KEEP: - result.uname = uname - if gname is not _KEEP: - result.gname = gname - return result - - def get_info(self): - """Return the TarInfo's attributes as a dictionary. - """ - if self.mode is None: - mode = None - else: - mode = self.mode & 0o7777 - info = { - "name": self.name, - "mode": mode, - "uid": self.uid, - "gid": self.gid, - "size": self.size, - "mtime": self.mtime, - "chksum": self.chksum, - "type": self.type, - "linkname": self.linkname, - "uname": self.uname, - "gname": self.gname, - "devmajor": self.devmajor, - "devminor": self.devminor - } - - if info["type"] == DIRTYPE and not info["name"].endswith("/"): - info["name"] += "/" - - return info - - def tobuf(self, format=DEFAULT_FORMAT, encoding=ENCODING, errors="surrogateescape"): - """Return a tar header as a string of 512 byte blocks. - """ - info = self.get_info() - for name, value in info.items(): - if value is None: - raise ValueError("%s may not be None" % name) - - if format == USTAR_FORMAT: - return self.create_ustar_header(info, encoding, errors) - elif format == GNU_FORMAT: - return self.create_gnu_header(info, encoding, errors) - elif format == PAX_FORMAT: - return self.create_pax_header(info, encoding) - else: - raise ValueError("invalid format") - - def create_ustar_header(self, info, encoding, errors): - """Return the object as a ustar header block. - """ - info["magic"] = POSIX_MAGIC - - if len(info["linkname"].encode(encoding, errors)) > LENGTH_LINK: - raise ValueError("linkname is too long") - - if len(info["name"].encode(encoding, errors)) > LENGTH_NAME: - info["prefix"], info["name"] = self._posix_split_name(info["name"], encoding, errors) - - return self._create_header(info, USTAR_FORMAT, encoding, errors) - - def create_gnu_header(self, info, encoding, errors): - """Return the object as a GNU header block sequence. - """ - info["magic"] = GNU_MAGIC - - buf = b"" - if len(info["linkname"].encode(encoding, errors)) > LENGTH_LINK: - buf += self._create_gnu_long_header(info["linkname"], GNUTYPE_LONGLINK, encoding, errors) - - if len(info["name"].encode(encoding, errors)) > LENGTH_NAME: - buf += self._create_gnu_long_header(info["name"], GNUTYPE_LONGNAME, encoding, errors) - - return buf + self._create_header(info, GNU_FORMAT, encoding, errors) - - def create_pax_header(self, info, encoding): - """Return the object as a ustar header block. If it cannot be - represented this way, prepend a pax extended header sequence - with supplement information. - """ - info["magic"] = POSIX_MAGIC - pax_headers = self.pax_headers.copy() - - # Test string fields for values that exceed the field length or cannot - # be represented in ASCII encoding. - for name, hname, length in ( - ("name", "path", LENGTH_NAME), ("linkname", "linkpath", LENGTH_LINK), - ("uname", "uname", 32), ("gname", "gname", 32)): - - if hname in pax_headers: - # The pax header has priority. - continue - - # Try to encode the string as ASCII. - try: - info[name].encode("ascii", "strict") - except UnicodeEncodeError: - pax_headers[hname] = info[name] - continue - - if len(info[name]) > length: - pax_headers[hname] = info[name] - - # Test number fields for values that exceed the field limit or values - # that like to be stored as float. - for name, digits in (("uid", 8), ("gid", 8), ("size", 12), ("mtime", 12)): - needs_pax = False - - val = info[name] - val_is_float = isinstance(val, float) - val_int = round(val) if val_is_float else val - if not 0 <= val_int < 8 ** (digits - 1): - # Avoid overflow. - info[name] = 0 - needs_pax = True - elif val_is_float: - # Put rounded value in ustar header, and full - # precision value in pax header. - info[name] = val_int - needs_pax = True - - # The existing pax header has priority. - if needs_pax and name not in pax_headers: - pax_headers[name] = str(val) - - # Create a pax extended header if necessary. - if pax_headers: - buf = self._create_pax_generic_header(pax_headers, XHDTYPE, encoding) - else: - buf = b"" - - return buf + self._create_header(info, USTAR_FORMAT, "ascii", "replace") - - @classmethod - def create_pax_global_header(cls, pax_headers): - """Return the object as a pax global header block sequence. - """ - return cls._create_pax_generic_header(pax_headers, XGLTYPE, "utf-8") - - def _posix_split_name(self, name, encoding, errors): - """Split a name longer than 100 chars into a prefix - and a name part. - """ - components = name.split("/") - for i in range(1, len(components)): - prefix = "/".join(components[:i]) - name = "/".join(components[i:]) - if len(prefix.encode(encoding, errors)) <= LENGTH_PREFIX and \ - len(name.encode(encoding, errors)) <= LENGTH_NAME: - break - else: - raise ValueError("name is too long") - - return prefix, name - - @staticmethod - def _create_header(info, format, encoding, errors): - """Return a header block. info is a dictionary with file - information, format must be one of the *_FORMAT constants. - """ - has_device_fields = info.get("type") in (CHRTYPE, BLKTYPE) - if has_device_fields: - devmajor = itn(info.get("devmajor", 0), 8, format) - devminor = itn(info.get("devminor", 0), 8, format) - else: - devmajor = stn("", 8, encoding, errors) - devminor = stn("", 8, encoding, errors) - - # None values in metadata should cause ValueError. - # itn()/stn() do this for all fields except type. - filetype = info.get("type", REGTYPE) - if filetype is None: - raise ValueError("TarInfo.type must not be None") - - parts = [ - stn(info.get("name", ""), 100, encoding, errors), - itn(info.get("mode", 0) & 0o7777, 8, format), - itn(info.get("uid", 0), 8, format), - itn(info.get("gid", 0), 8, format), - itn(info.get("size", 0), 12, format), - itn(info.get("mtime", 0), 12, format), - b" ", # checksum field - filetype, - stn(info.get("linkname", ""), 100, encoding, errors), - info.get("magic", POSIX_MAGIC), - stn(info.get("uname", ""), 32, encoding, errors), - stn(info.get("gname", ""), 32, encoding, errors), - devmajor, - devminor, - stn(info.get("prefix", ""), 155, encoding, errors) - ] - - buf = struct.pack("%ds" % BLOCKSIZE, b"".join(parts)) - chksum = calc_chksums(buf[-BLOCKSIZE:])[0] - buf = buf[:-364] + bytes("%06o\0" % chksum, "ascii") + buf[-357:] - return buf - - @staticmethod - def _create_payload(payload): - """Return the string payload filled with zero bytes - up to the next 512 byte border. - """ - blocks, remainder = divmod(len(payload), BLOCKSIZE) - if remainder > 0: - payload += (BLOCKSIZE - remainder) * NUL - return payload - - @classmethod - def _create_gnu_long_header(cls, name, type, encoding, errors): - """Return a GNUTYPE_LONGNAME or GNUTYPE_LONGLINK sequence - for name. - """ - name = name.encode(encoding, errors) + NUL - - info = {} - info["name"] = "././@LongLink" - info["type"] = type - info["size"] = len(name) - info["magic"] = GNU_MAGIC - - # create extended header + name blocks. - return cls._create_header(info, USTAR_FORMAT, encoding, errors) + \ - cls._create_payload(name) - - @classmethod - def _create_pax_generic_header(cls, pax_headers, type, encoding): - """Return a POSIX.1-2008 extended or global header sequence - that contains a list of keyword, value pairs. The values - must be strings. - """ - # Check if one of the fields contains surrogate characters and thereby - # forces hdrcharset=BINARY, see _proc_pax() for more information. - binary = False - for keyword, value in pax_headers.items(): - try: - value.encode("utf-8", "strict") - except UnicodeEncodeError: - binary = True - break - - records = b"" - if binary: - # Put the hdrcharset field at the beginning of the header. - records += b"21 hdrcharset=BINARY\n" - - for keyword, value in pax_headers.items(): - keyword = keyword.encode("utf-8") - if binary: - # Try to restore the original byte representation of 'value'. - # Needless to say, that the encoding must match the string. - value = value.encode(encoding, "surrogateescape") - else: - value = value.encode("utf-8") - - l = len(keyword) + len(value) + 3 # ' ' + '=' + '\n' - n = p = 0 - while True: - n = l + len(str(p)) - if n == p: - break - p = n - records += bytes(str(p), "ascii") + b" " + keyword + b"=" + value + b"\n" - - # We use a hardcoded "././@PaxHeader" name like star does - # instead of the one that POSIX recommends. - info = {} - info["name"] = "././@PaxHeader" - info["type"] = type - info["size"] = len(records) - info["magic"] = POSIX_MAGIC - - # Create pax header + record blocks. - return cls._create_header(info, USTAR_FORMAT, "ascii", "replace") + \ - cls._create_payload(records) - - @classmethod - def frombuf(cls, buf, encoding, errors): - """Construct a TarInfo object from a 512 byte bytes object. - """ - if len(buf) == 0: - raise EmptyHeaderError("empty header") - if len(buf) != BLOCKSIZE: - raise TruncatedHeaderError("truncated header") - if buf.count(NUL) == BLOCKSIZE: - raise EOFHeaderError("end of file header") - - chksum = nti(buf[148:156]) - if chksum not in calc_chksums(buf): - raise InvalidHeaderError("bad checksum") - - obj = cls() - obj.name = nts(buf[0:100], encoding, errors) - obj.mode = nti(buf[100:108]) - obj.uid = nti(buf[108:116]) - obj.gid = nti(buf[116:124]) - obj.size = nti(buf[124:136]) - obj.mtime = nti(buf[136:148]) - obj.chksum = chksum - obj.type = buf[156:157] - obj.linkname = nts(buf[157:257], encoding, errors) - obj.uname = nts(buf[265:297], encoding, errors) - obj.gname = nts(buf[297:329], encoding, errors) - obj.devmajor = nti(buf[329:337]) - obj.devminor = nti(buf[337:345]) - prefix = nts(buf[345:500], encoding, errors) - - # Old V7 tar format represents a directory as a regular - # file with a trailing slash. - if obj.type == AREGTYPE and obj.name.endswith("/"): - obj.type = DIRTYPE - - # The old GNU sparse format occupies some of the unused - # space in the buffer for up to 4 sparse structures. - # Save them for later processing in _proc_sparse(). - if obj.type == GNUTYPE_SPARSE: - pos = 386 - structs = [] - for i in range(4): - try: - offset = nti(buf[pos:pos + 12]) - numbytes = nti(buf[pos + 12:pos + 24]) - except ValueError: - break - structs.append((offset, numbytes)) - pos += 24 - isextended = bool(buf[482]) - origsize = nti(buf[483:495]) - obj._sparse_structs = (structs, isextended, origsize) - - # Remove redundant slashes from directories. - if obj.isdir(): - obj.name = obj.name.rstrip("/") - - # Reconstruct a ustar longname. - if prefix and obj.type not in GNU_TYPES: - obj.name = prefix + "/" + obj.name - return obj - - @classmethod - def fromtarfile(cls, tarfile): - """Return the next TarInfo object from TarFile object - tarfile. - """ - buf = tarfile.fileobj.read(BLOCKSIZE) - obj = cls.frombuf(buf, tarfile.encoding, tarfile.errors) - obj.offset = tarfile.fileobj.tell() - BLOCKSIZE - return obj._proc_member(tarfile) - - #-------------------------------------------------------------------------- - # The following are methods that are called depending on the type of a - # member. The entry point is _proc_member() which can be overridden in a - # subclass to add custom _proc_*() methods. A _proc_*() method MUST - # implement the following - # operations: - # 1. Set self.offset_data to the position where the data blocks begin, - # if there is data that follows. - # 2. Set tarfile.offset to the position where the next member's header will - # begin. - # 3. Return self or another valid TarInfo object. - def _proc_member(self, tarfile): - """Choose the right processing method depending on - the type and call it. - """ - if self.type in (GNUTYPE_LONGNAME, GNUTYPE_LONGLINK): - return self._proc_gnulong(tarfile) - elif self.type == GNUTYPE_SPARSE: - return self._proc_sparse(tarfile) - elif self.type in (XHDTYPE, XGLTYPE, SOLARIS_XHDTYPE): - return self._proc_pax(tarfile) - else: - return self._proc_builtin(tarfile) - - def _proc_builtin(self, tarfile): - """Process a builtin type or an unknown type which - will be treated as a regular file. - """ - self.offset_data = tarfile.fileobj.tell() - offset = self.offset_data - if self.isreg() or self.type not in SUPPORTED_TYPES: - # Skip the following data blocks. - offset += self._block(self.size) - tarfile.offset = offset - - # Patch the TarInfo object with saved global - # header information. - self._apply_pax_info(tarfile.pax_headers, tarfile.encoding, tarfile.errors) - - # Remove redundant slashes from directories. This is to be consistent - # with frombuf(). - if self.isdir(): - self.name = self.name.rstrip("/") - - return self - - def _proc_gnulong(self, tarfile): - """Process the blocks that hold a GNU longname - or longlink member. - """ - buf = tarfile.fileobj.read(self._block(self.size)) - - # Fetch the next header and process it. - try: - next = self.fromtarfile(tarfile) - except HeaderError as e: - raise SubsequentHeaderError(str(e)) from None - - # Patch the TarInfo object from the next header with - # the longname information. - next.offset = self.offset - if self.type == GNUTYPE_LONGNAME: - next.name = nts(buf, tarfile.encoding, tarfile.errors) - elif self.type == GNUTYPE_LONGLINK: - next.linkname = nts(buf, tarfile.encoding, tarfile.errors) - - # Remove redundant slashes from directories. This is to be consistent - # with frombuf(). - if next.isdir(): - next.name = removesuffix(next.name, "/") - - return next - - def _proc_sparse(self, tarfile): - """Process a GNU sparse header plus extra headers. - """ - # We already collected some sparse structures in frombuf(). - structs, isextended, origsize = self._sparse_structs - del self._sparse_structs - - # Collect sparse structures from extended header blocks. - while isextended: - buf = tarfile.fileobj.read(BLOCKSIZE) - pos = 0 - for i in range(21): - try: - offset = nti(buf[pos:pos + 12]) - numbytes = nti(buf[pos + 12:pos + 24]) - except ValueError: - break - if offset and numbytes: - structs.append((offset, numbytes)) - pos += 24 - isextended = bool(buf[504]) - self.sparse = structs - - self.offset_data = tarfile.fileobj.tell() - tarfile.offset = self.offset_data + self._block(self.size) - self.size = origsize - return self - - def _proc_pax(self, tarfile): - """Process an extended or global header as described in - POSIX.1-2008. - """ - # Read the header information. - buf = tarfile.fileobj.read(self._block(self.size)) - - # A pax header stores supplemental information for either - # the following file (extended) or all following files - # (global). - if self.type == XGLTYPE: - pax_headers = tarfile.pax_headers - else: - pax_headers = tarfile.pax_headers.copy() - - # Check if the pax header contains a hdrcharset field. This tells us - # the encoding of the path, linkpath, uname and gname fields. Normally, - # these fields are UTF-8 encoded but since POSIX.1-2008 tar - # implementations are allowed to store them as raw binary strings if - # the translation to UTF-8 fails. - match = re.search(br"\d+ hdrcharset=([^\n]+)\n", buf) - if match is not None: - pax_headers["hdrcharset"] = match.group(1).decode("utf-8") - - # For the time being, we don't care about anything other than "BINARY". - # The only other value that is currently allowed by the standard is - # "ISO-IR 10646 2000 UTF-8" in other words UTF-8. - hdrcharset = pax_headers.get("hdrcharset") - if hdrcharset == "BINARY": - encoding = tarfile.encoding - else: - encoding = "utf-8" - - # Parse pax header information. A record looks like that: - # "%d %s=%s\n" % (length, keyword, value). length is the size - # of the complete record including the length field itself and - # the newline. keyword and value are both UTF-8 encoded strings. - regex = re.compile(br"(\d+) ([^=]+)=") - pos = 0 - while match := regex.match(buf, pos): - length, keyword = match.groups() - length = int(length) - if length == 0: - raise InvalidHeaderError("invalid header") - value = buf[match.end(2) + 1:match.start(1) + length - 1] - - # Normally, we could just use "utf-8" as the encoding and "strict" - # as the error handler, but we better not take the risk. For - # example, GNU tar <= 1.23 is known to store filenames it cannot - # translate to UTF-8 as raw strings (unfortunately without a - # hdrcharset=BINARY header). - # We first try the strict standard encoding, and if that fails we - # fall back on the user's encoding and error handler. - keyword = self._decode_pax_field(keyword, "utf-8", "utf-8", - tarfile.errors) - if keyword in PAX_NAME_FIELDS: - value = self._decode_pax_field(value, encoding, tarfile.encoding, - tarfile.errors) - else: - value = self._decode_pax_field(value, "utf-8", "utf-8", - tarfile.errors) - - pax_headers[keyword] = value - pos += length - - # Fetch the next header. - try: - next = self.fromtarfile(tarfile) - except HeaderError as e: - raise SubsequentHeaderError(str(e)) from None - - # Process GNU sparse information. - if "GNU.sparse.map" in pax_headers: - # GNU extended sparse format version 0.1. - self._proc_gnusparse_01(next, pax_headers) - - elif "GNU.sparse.size" in pax_headers: - # GNU extended sparse format version 0.0. - self._proc_gnusparse_00(next, pax_headers, buf) - - elif pax_headers.get("GNU.sparse.major") == "1" and pax_headers.get("GNU.sparse.minor") == "0": - # GNU extended sparse format version 1.0. - self._proc_gnusparse_10(next, pax_headers, tarfile) - - if self.type in (XHDTYPE, SOLARIS_XHDTYPE): - # Patch the TarInfo object with the extended header info. - next._apply_pax_info(pax_headers, tarfile.encoding, tarfile.errors) - next.offset = self.offset - - if "size" in pax_headers: - # If the extended header replaces the size field, - # we need to recalculate the offset where the next - # header starts. - offset = next.offset_data - if next.isreg() or next.type not in SUPPORTED_TYPES: - offset += next._block(next.size) - tarfile.offset = offset - - return next - - def _proc_gnusparse_00(self, next, pax_headers, buf): - """Process a GNU tar extended sparse header, version 0.0. - """ - offsets = [] - for match in re.finditer(br"\d+ GNU.sparse.offset=(\d+)\n", buf): - offsets.append(int(match.group(1))) - numbytes = [] - for match in re.finditer(br"\d+ GNU.sparse.numbytes=(\d+)\n", buf): - numbytes.append(int(match.group(1))) - next.sparse = list(zip(offsets, numbytes)) - - def _proc_gnusparse_01(self, next, pax_headers): - """Process a GNU tar extended sparse header, version 0.1. - """ - sparse = [int(x) for x in pax_headers["GNU.sparse.map"].split(",")] - next.sparse = list(zip(sparse[::2], sparse[1::2])) - - def _proc_gnusparse_10(self, next, pax_headers, tarfile): - """Process a GNU tar extended sparse header, version 1.0. - """ - fields = None - sparse = [] - buf = tarfile.fileobj.read(BLOCKSIZE) - fields, buf = buf.split(b"\n", 1) - fields = int(fields) - while len(sparse) < fields * 2: - if b"\n" not in buf: - buf += tarfile.fileobj.read(BLOCKSIZE) - number, buf = buf.split(b"\n", 1) - sparse.append(int(number)) - next.offset_data = tarfile.fileobj.tell() - next.sparse = list(zip(sparse[::2], sparse[1::2])) - - def _apply_pax_info(self, pax_headers, encoding, errors): - """Replace fields with supplemental information from a previous - pax extended or global header. - """ - for keyword, value in pax_headers.items(): - if keyword == "GNU.sparse.name": - setattr(self, "path", value) - elif keyword == "GNU.sparse.size": - setattr(self, "size", int(value)) - elif keyword == "GNU.sparse.realsize": - setattr(self, "size", int(value)) - elif keyword in PAX_FIELDS: - if keyword in PAX_NUMBER_FIELDS: - try: - value = PAX_NUMBER_FIELDS[keyword](value) - except ValueError: - value = 0 - if keyword == "path": - value = value.rstrip("/") - setattr(self, keyword, value) - - self.pax_headers = pax_headers.copy() - - def _decode_pax_field(self, value, encoding, fallback_encoding, fallback_errors): - """Decode a single field from a pax record. - """ - try: - return value.decode(encoding, "strict") - except UnicodeDecodeError: - return value.decode(fallback_encoding, fallback_errors) - - def _block(self, count): - """Round up a byte count by BLOCKSIZE and return it, - e.g. _block(834) => 1024. - """ - blocks, remainder = divmod(count, BLOCKSIZE) - if remainder: - blocks += 1 - return blocks * BLOCKSIZE - - def isreg(self): - 'Return True if the Tarinfo object is a regular file.' - return self.type in REGULAR_TYPES - - def isfile(self): - 'Return True if the Tarinfo object is a regular file.' - return self.isreg() - - def isdir(self): - 'Return True if it is a directory.' - return self.type == DIRTYPE - - def issym(self): - 'Return True if it is a symbolic link.' - return self.type == SYMTYPE - - def islnk(self): - 'Return True if it is a hard link.' - return self.type == LNKTYPE - - def ischr(self): - 'Return True if it is a character device.' - return self.type == CHRTYPE - - def isblk(self): - 'Return True if it is a block device.' - return self.type == BLKTYPE - - def isfifo(self): - 'Return True if it is a FIFO.' - return self.type == FIFOTYPE - - def issparse(self): - return self.sparse is not None - - def isdev(self): - 'Return True if it is one of character device, block device or FIFO.' - return self.type in (CHRTYPE, BLKTYPE, FIFOTYPE) -# class TarInfo - -class TarFile(object): - """The TarFile Class provides an interface to tar archives. - """ - - debug = 0 # May be set from 0 (no msgs) to 3 (all msgs) - - dereference = False # If true, add content of linked file to the - # tar file, else the link. - - ignore_zeros = False # If true, skips empty or invalid blocks and - # continues processing. - - errorlevel = 1 # If 0, fatal errors only appear in debug - # messages (if debug >= 0). If > 0, errors - # are passed to the caller as exceptions. - - format = DEFAULT_FORMAT # The format to use when creating an archive. - - encoding = ENCODING # Encoding for 8-bit character strings. - - errors = None # Error handler for unicode conversion. - - tarinfo = TarInfo # The default TarInfo class to use. - - fileobject = ExFileObject # The file-object for extractfile(). - - extraction_filter = None # The default filter for extraction. - - def __init__(self, name=None, mode="r", fileobj=None, format=None, - tarinfo=None, dereference=None, ignore_zeros=None, encoding=None, - errors="surrogateescape", pax_headers=None, debug=None, - errorlevel=None, copybufsize=None, stream=False): - """Open an (uncompressed) tar archive 'name'. 'mode' is either 'r' to - read from an existing archive, 'a' to append data to an existing - file or 'w' to create a new file overwriting an existing one. 'mode' - defaults to 'r'. - If 'fileobj' is given, it is used for reading or writing data. If it - can be determined, 'mode' is overridden by 'fileobj's mode. - 'fileobj' is not closed, when TarFile is closed. - """ - modes = {"r": "rb", "a": "r+b", "w": "wb", "x": "xb"} - if mode not in modes: - raise ValueError("mode must be 'r', 'a', 'w' or 'x'") - self.mode = mode - self._mode = modes[mode] - - if not fileobj: - if self.mode == "a" and not os.path.exists(name): - # Create nonexistent files in append mode. - self.mode = "w" - self._mode = "wb" - fileobj = bltn_open(name, self._mode) - self._extfileobj = False - else: - if (name is None and hasattr(fileobj, "name") and - isinstance(fileobj.name, (str, bytes))): - name = fileobj.name - if hasattr(fileobj, "mode"): - self._mode = fileobj.mode - self._extfileobj = True - self.name = os.path.abspath(name) if name else None - self.fileobj = fileobj - - self.stream = stream - - # Init attributes. - if format is not None: - self.format = format - if tarinfo is not None: - self.tarinfo = tarinfo - if dereference is not None: - self.dereference = dereference - if ignore_zeros is not None: - self.ignore_zeros = ignore_zeros - if encoding is not None: - self.encoding = encoding - self.errors = errors - - if pax_headers is not None and self.format == PAX_FORMAT: - self.pax_headers = pax_headers - else: - self.pax_headers = {} - - if debug is not None: - self.debug = debug - if errorlevel is not None: - self.errorlevel = errorlevel - - # Init datastructures. - self.copybufsize = copybufsize - self.closed = False - self.members = [] # list of members as TarInfo objects - self._loaded = False # flag if all members have been read - self.offset = self.fileobj.tell() - # current position in the archive file - self.inodes = {} # dictionary caching the inodes of - # archive members already added - - try: - if self.mode == "r": - self.firstmember = None - self.firstmember = self.next() - - if self.mode == "a": - # Move to the end of the archive, - # before the first empty block. - while True: - self.fileobj.seek(self.offset) - try: - tarinfo = self.tarinfo.fromtarfile(self) - self.members.append(tarinfo) - except EOFHeaderError: - self.fileobj.seek(self.offset) - break - except HeaderError as e: - raise ReadError(str(e)) from None - - if self.mode in ("a", "w", "x"): - self._loaded = True - - if self.pax_headers: - buf = self.tarinfo.create_pax_global_header(self.pax_headers.copy()) - self.fileobj.write(buf) - self.offset += len(buf) - except: - if not self._extfileobj: - self.fileobj.close() - self.closed = True - raise - - #-------------------------------------------------------------------------- - # Below are the classmethods which act as alternate constructors to the - # TarFile class. The open() method is the only one that is needed for - # public use; it is the "super"-constructor and is able to select an - # adequate "sub"-constructor for a particular compression using the mapping - # from OPEN_METH. - # - # This concept allows one to subclass TarFile without losing the comfort of - # the super-constructor. A sub-constructor is registered and made available - # by adding it to the mapping in OPEN_METH. - - @classmethod - def open(cls, name=None, mode="r", fileobj=None, bufsize=RECORDSIZE, **kwargs): - r"""Open a tar archive for reading, writing or appending. Return - an appropriate TarFile class. - - mode: - 'r' or 'r:\*' open for reading with transparent compression - 'r:' open for reading exclusively uncompressed - 'r:gz' open for reading with gzip compression - 'r:bz2' open for reading with bzip2 compression - 'r:xz' open for reading with lzma compression - 'a' or 'a:' open for appending, creating the file if necessary - 'w' or 'w:' open for writing without compression - 'w:gz' open for writing with gzip compression - 'w:bz2' open for writing with bzip2 compression - 'w:xz' open for writing with lzma compression - - 'x' or 'x:' create a tarfile exclusively without compression, raise - an exception if the file is already created - 'x:gz' create a gzip compressed tarfile, raise an exception - if the file is already created - 'x:bz2' create a bzip2 compressed tarfile, raise an exception - if the file is already created - 'x:xz' create an lzma compressed tarfile, raise an exception - if the file is already created - - 'r|\*' open a stream of tar blocks with transparent compression - 'r|' open an uncompressed stream of tar blocks for reading - 'r|gz' open a gzip compressed stream of tar blocks - 'r|bz2' open a bzip2 compressed stream of tar blocks - 'r|xz' open an lzma compressed stream of tar blocks - 'w|' open an uncompressed stream for writing - 'w|gz' open a gzip compressed stream for writing - 'w|bz2' open a bzip2 compressed stream for writing - 'w|xz' open an lzma compressed stream for writing - """ - - if not name and not fileobj: - raise ValueError("nothing to open") - - if mode in ("r", "r:*"): - # Find out which *open() is appropriate for opening the file. - def not_compressed(comptype): - return cls.OPEN_METH[comptype] == 'taropen' - error_msgs = [] - for comptype in sorted(cls.OPEN_METH, key=not_compressed): - func = getattr(cls, cls.OPEN_METH[comptype]) - if fileobj is not None: - saved_pos = fileobj.tell() - try: - return func(name, "r", fileobj, **kwargs) - except (ReadError, CompressionError) as e: - error_msgs.append(f'- method {comptype}: {e!r}') - if fileobj is not None: - fileobj.seek(saved_pos) - continue - error_msgs_summary = '\n'.join(error_msgs) - raise ReadError(f"file could not be opened successfully:\n{error_msgs_summary}") - - elif ":" in mode: - filemode, comptype = mode.split(":", 1) - filemode = filemode or "r" - comptype = comptype or "tar" - - # Select the *open() function according to - # given compression. - if comptype in cls.OPEN_METH: - func = getattr(cls, cls.OPEN_METH[comptype]) - else: - raise CompressionError("unknown compression type %r" % comptype) - return func(name, filemode, fileobj, **kwargs) - - elif "|" in mode: - filemode, comptype = mode.split("|", 1) - filemode = filemode or "r" - comptype = comptype or "tar" - - if filemode not in ("r", "w"): - raise ValueError("mode must be 'r' or 'w'") - - compresslevel = kwargs.pop("compresslevel", 9) - stream = _Stream(name, filemode, comptype, fileobj, bufsize, - compresslevel) - try: - t = cls(name, filemode, stream, **kwargs) - except: - stream.close() - raise - t._extfileobj = False - return t - - elif mode in ("a", "w", "x"): - return cls.taropen(name, mode, fileobj, **kwargs) - - raise ValueError("undiscernible mode") - - @classmethod - def taropen(cls, name, mode="r", fileobj=None, **kwargs): - """Open uncompressed tar archive name for reading or writing. - """ - if mode not in ("r", "a", "w", "x"): - raise ValueError("mode must be 'r', 'a', 'w' or 'x'") - return cls(name, mode, fileobj, **kwargs) - - @classmethod - def gzopen(cls, name, mode="r", fileobj=None, compresslevel=9, **kwargs): - """Open gzip compressed tar archive name for reading or writing. - Appending is not allowed. - """ - if mode not in ("r", "w", "x"): - raise ValueError("mode must be 'r', 'w' or 'x'") - - try: - from gzip import GzipFile - except ImportError: - raise CompressionError("gzip module is not available") from None - - try: - fileobj = GzipFile(name, mode + "b", compresslevel, fileobj) - except OSError as e: - if fileobj is not None and mode == 'r': - raise ReadError("not a gzip file") from e - raise - - try: - t = cls.taropen(name, mode, fileobj, **kwargs) - except OSError as e: - fileobj.close() - if mode == 'r': - raise ReadError("not a gzip file") from e - raise - except: - fileobj.close() - raise - t._extfileobj = False - return t - - @classmethod - def bz2open(cls, name, mode="r", fileobj=None, compresslevel=9, **kwargs): - """Open bzip2 compressed tar archive name for reading or writing. - Appending is not allowed. - """ - if mode not in ("r", "w", "x"): - raise ValueError("mode must be 'r', 'w' or 'x'") - - try: - from bz2 import BZ2File - except ImportError: - raise CompressionError("bz2 module is not available") from None - - fileobj = BZ2File(fileobj or name, mode, compresslevel=compresslevel) - - try: - t = cls.taropen(name, mode, fileobj, **kwargs) - except (OSError, EOFError) as e: - fileobj.close() - if mode == 'r': - raise ReadError("not a bzip2 file") from e - raise - except: - fileobj.close() - raise - t._extfileobj = False - return t - - @classmethod - def xzopen(cls, name, mode="r", fileobj=None, preset=None, **kwargs): - """Open lzma compressed tar archive name for reading or writing. - Appending is not allowed. - """ - if mode not in ("r", "w", "x"): - raise ValueError("mode must be 'r', 'w' or 'x'") - - try: - from lzma import LZMAFile, LZMAError - except ImportError: - raise CompressionError("lzma module is not available") from None - - fileobj = LZMAFile(fileobj or name, mode, preset=preset) - - try: - t = cls.taropen(name, mode, fileobj, **kwargs) - except (LZMAError, EOFError) as e: - fileobj.close() - if mode == 'r': - raise ReadError("not an lzma file") from e - raise - except: - fileobj.close() - raise - t._extfileobj = False - return t - - # All *open() methods are registered here. - OPEN_METH = { - "tar": "taropen", # uncompressed tar - "gz": "gzopen", # gzip compressed tar - "bz2": "bz2open", # bzip2 compressed tar - "xz": "xzopen" # lzma compressed tar - } - - #-------------------------------------------------------------------------- - # The public methods which TarFile provides: - - def close(self): - """Close the TarFile. In write-mode, two finishing zero blocks are - appended to the archive. - """ - if self.closed: - return - - self.closed = True - try: - if self.mode in ("a", "w", "x"): - self.fileobj.write(NUL * (BLOCKSIZE * 2)) - self.offset += (BLOCKSIZE * 2) - # fill up the end with zero-blocks - # (like option -b20 for tar does) - blocks, remainder = divmod(self.offset, RECORDSIZE) - if remainder > 0: - self.fileobj.write(NUL * (RECORDSIZE - remainder)) - finally: - if not self._extfileobj: - self.fileobj.close() - - def getmember(self, name): - """Return a TarInfo object for member 'name'. If 'name' can not be - found in the archive, KeyError is raised. If a member occurs more - than once in the archive, its last occurrence is assumed to be the - most up-to-date version. - """ - tarinfo = self._getmember(name.rstrip('/')) - if tarinfo is None: - raise KeyError("filename %r not found" % name) - return tarinfo - - def getmembers(self): - """Return the members of the archive as a list of TarInfo objects. The - list has the same order as the members in the archive. - """ - self._check() - if not self._loaded: # if we want to obtain a list of - self._load() # all members, we first have to - # scan the whole archive. - return self.members - - def getnames(self): - """Return the members of the archive as a list of their names. It has - the same order as the list returned by getmembers(). - """ - return [tarinfo.name for tarinfo in self.getmembers()] - - def gettarinfo(self, name=None, arcname=None, fileobj=None): - """Create a TarInfo object from the result of os.stat or equivalent - on an existing file. The file is either named by 'name', or - specified as a file object 'fileobj' with a file descriptor. If - given, 'arcname' specifies an alternative name for the file in the - archive, otherwise, the name is taken from the 'name' attribute of - 'fileobj', or the 'name' argument. The name should be a text - string. - """ - self._check("awx") - - # When fileobj is given, replace name by - # fileobj's real name. - if fileobj is not None: - name = fileobj.name - - # Building the name of the member in the archive. - # Backward slashes are converted to forward slashes, - # Absolute paths are turned to relative paths. - if arcname is None: - arcname = name - drv, arcname = os.path.splitdrive(arcname) - arcname = arcname.replace(os.sep, "/") - arcname = arcname.lstrip("/") - - # Now, fill the TarInfo object with - # information specific for the file. - tarinfo = self.tarinfo() - tarinfo._tarfile = self # To be removed in 3.16. - - # Use os.stat or os.lstat, depending on if symlinks shall be resolved. - if fileobj is None: - if not self.dereference: - statres = os.lstat(name) - else: - statres = os.stat(name) - else: - statres = os.fstat(fileobj.fileno()) - linkname = "" - - stmd = statres.st_mode - if stat.S_ISREG(stmd): - inode = (statres.st_ino, statres.st_dev) - if not self.dereference and statres.st_nlink > 1 and \ - inode in self.inodes and arcname != self.inodes[inode]: - # Is it a hardlink to an already - # archived file? - type = LNKTYPE - linkname = self.inodes[inode] - else: - # The inode is added only if its valid. - # For win32 it is always 0. - type = REGTYPE - if inode[0]: - self.inodes[inode] = arcname - elif stat.S_ISDIR(stmd): - type = DIRTYPE - elif stat.S_ISFIFO(stmd): - type = FIFOTYPE - elif stat.S_ISLNK(stmd): - type = SYMTYPE - linkname = os.readlink(name) - elif stat.S_ISCHR(stmd): - type = CHRTYPE - elif stat.S_ISBLK(stmd): - type = BLKTYPE - else: - return None - - # Fill the TarInfo object with all - # information we can get. - tarinfo.name = arcname - tarinfo.mode = stmd - tarinfo.uid = statres.st_uid - tarinfo.gid = statres.st_gid - if type == REGTYPE: - tarinfo.size = statres.st_size - else: - tarinfo.size = 0 - tarinfo.mtime = statres.st_mtime - tarinfo.type = type - tarinfo.linkname = linkname - if pwd: - try: - tarinfo.uname = pwd.getpwuid(tarinfo.uid)[0] - except KeyError: - pass - if grp: - try: - tarinfo.gname = grp.getgrgid(tarinfo.gid)[0] - except KeyError: - pass - - if type in (CHRTYPE, BLKTYPE): - if hasattr(os, "major") and hasattr(os, "minor"): - tarinfo.devmajor = os.major(statres.st_rdev) - tarinfo.devminor = os.minor(statres.st_rdev) - return tarinfo - - def list(self, verbose=True, *, members=None): - """Print a table of contents to sys.stdout. If 'verbose' is False, only - the names of the members are printed. If it is True, an 'ls -l'-like - output is produced. 'members' is optional and must be a subset of the - list returned by getmembers(). - """ - # Convert tarinfo type to stat type. - type2mode = {REGTYPE: stat.S_IFREG, SYMTYPE: stat.S_IFLNK, - FIFOTYPE: stat.S_IFIFO, CHRTYPE: stat.S_IFCHR, - DIRTYPE: stat.S_IFDIR, BLKTYPE: stat.S_IFBLK} - self._check() - - if members is None: - members = self - for tarinfo in members: - if verbose: - if tarinfo.mode is None: - _safe_print("??????????") - else: - modetype = type2mode.get(tarinfo.type, 0) - _safe_print(stat.filemode(modetype | tarinfo.mode)) - _safe_print("%s/%s" % (tarinfo.uname or tarinfo.uid, - tarinfo.gname or tarinfo.gid)) - if tarinfo.ischr() or tarinfo.isblk(): - _safe_print("%10s" % - ("%d,%d" % (tarinfo.devmajor, tarinfo.devminor))) - else: - _safe_print("%10d" % tarinfo.size) - if tarinfo.mtime is None: - _safe_print("????-??-?? ??:??:??") - else: - _safe_print("%d-%02d-%02d %02d:%02d:%02d" \ - % time.localtime(tarinfo.mtime)[:6]) - - _safe_print(tarinfo.name + ("/" if tarinfo.isdir() else "")) - - if verbose: - if tarinfo.issym(): - _safe_print("-> " + tarinfo.linkname) - if tarinfo.islnk(): - _safe_print("link to " + tarinfo.linkname) - print() - - def add(self, name, arcname=None, recursive=True, *, filter=None): - """Add the file 'name' to the archive. 'name' may be any type of file - (directory, fifo, symbolic link, etc.). If given, 'arcname' - specifies an alternative name for the file in the archive. - Directories are added recursively by default. This can be avoided by - setting 'recursive' to False. 'filter' is a function - that expects a TarInfo object argument and returns the changed - TarInfo object, if it returns None the TarInfo object will be - excluded from the archive. - """ - self._check("awx") - - if arcname is None: - arcname = name - - # Skip if somebody tries to archive the archive... - if self.name is not None and os.path.abspath(name) == self.name: - self._dbg(2, "tarfile: Skipped %r" % name) - return - - self._dbg(1, name) - - # Create a TarInfo object from the file. - tarinfo = self.gettarinfo(name, arcname) - - if tarinfo is None: - self._dbg(1, "tarfile: Unsupported type %r" % name) - return - - # Change or exclude the TarInfo object. - if filter is not None: - tarinfo = filter(tarinfo) - if tarinfo is None: - self._dbg(2, "tarfile: Excluded %r" % name) - return - - # Append the tar header and data to the archive. - if tarinfo.isreg(): - with bltn_open(name, "rb") as f: - self.addfile(tarinfo, f) - - elif tarinfo.isdir(): - self.addfile(tarinfo) - if recursive: - for f in sorted(os.listdir(name)): - self.add(os.path.join(name, f), os.path.join(arcname, f), - recursive, filter=filter) - - else: - self.addfile(tarinfo) - - def addfile(self, tarinfo, fileobj=None): - """Add the TarInfo object 'tarinfo' to the archive. If 'tarinfo' represents - a non zero-size regular file, the 'fileobj' argument should be a binary file, - and tarinfo.size bytes are read from it and added to the archive. - You can create TarInfo objects directly, or by using gettarinfo(). - """ - self._check("awx") - - if fileobj is None and tarinfo.isreg() and tarinfo.size != 0: - raise ValueError("fileobj not provided for non zero-size regular file") - - tarinfo = copy.copy(tarinfo) - - buf = tarinfo.tobuf(self.format, self.encoding, self.errors) - self.fileobj.write(buf) - self.offset += len(buf) - bufsize=self.copybufsize - # If there's data to follow, append it. - if fileobj is not None: - copyfileobj(fileobj, self.fileobj, tarinfo.size, bufsize=bufsize) - blocks, remainder = divmod(tarinfo.size, BLOCKSIZE) - if remainder > 0: - self.fileobj.write(NUL * (BLOCKSIZE - remainder)) - blocks += 1 - self.offset += blocks * BLOCKSIZE - - self.members.append(tarinfo) - - def _get_filter_function(self, filter): - if filter is None: - filter = self.extraction_filter - if filter is None: - import warnings - warnings.warn( - 'Python 3.14 will, by default, filter extracted tar ' - + 'archives and reject files or modify their metadata. ' - + 'Use the filter argument to control this behavior.', - DeprecationWarning, stacklevel=3) - return fully_trusted_filter - if isinstance(filter, str): - raise TypeError( - 'String names are not supported for ' - + 'TarFile.extraction_filter. Use a function such as ' - + 'tarfile.data_filter directly.') - return filter - if callable(filter): - return filter - try: - return _NAMED_FILTERS[filter] - except KeyError: - raise ValueError(f"filter {filter!r} not found") from None - - def extractall(self, path=".", members=None, *, numeric_owner=False, - filter=None): - """Extract all members from the archive to the current working - directory and set owner, modification time and permissions on - directories afterwards. 'path' specifies a different directory - to extract to. 'members' is optional and must be a subset of the - list returned by getmembers(). If 'numeric_owner' is True, only - the numbers for user/group names are used and not the names. - - The 'filter' function will be called on each member just - before extraction. - It can return a changed TarInfo or None to skip the member. - String names of common filters are accepted. - """ - directories = [] - - filter_function = self._get_filter_function(filter) - if members is None: - members = self - - for member in members: - tarinfo = self._get_extract_tarinfo(member, filter_function, path) - if tarinfo is None: - continue - if tarinfo.isdir(): - # For directories, delay setting attributes until later, - # since permissions can interfere with extraction and - # extracting contents can reset mtime. - directories.append(tarinfo) - self._extract_one(tarinfo, path, set_attrs=not tarinfo.isdir(), - numeric_owner=numeric_owner) - - # Reverse sort directories. - directories.sort(key=lambda a: a.name, reverse=True) - - # Set correct owner, mtime and filemode on directories. - for tarinfo in directories: - dirpath = os.path.join(path, tarinfo.name) - try: - self.chown(tarinfo, dirpath, numeric_owner=numeric_owner) - self.utime(tarinfo, dirpath) - self.chmod(tarinfo, dirpath) - except ExtractError as e: - self._handle_nonfatal_error(e) - - def extract(self, member, path="", set_attrs=True, *, numeric_owner=False, - filter=None): - """Extract a member from the archive to the current working directory, - using its full name. Its file information is extracted as accurately - as possible. 'member' may be a filename or a TarInfo object. You can - specify a different directory using 'path'. File attributes (owner, - mtime, mode) are set unless 'set_attrs' is False. If 'numeric_owner' - is True, only the numbers for user/group names are used and not - the names. - - The 'filter' function will be called before extraction. - It can return a changed TarInfo or None to skip the member. - String names of common filters are accepted. - """ - filter_function = self._get_filter_function(filter) - tarinfo = self._get_extract_tarinfo(member, filter_function, path) - if tarinfo is not None: - self._extract_one(tarinfo, path, set_attrs, numeric_owner) - - def _get_extract_tarinfo(self, member, filter_function, path): - """Get filtered TarInfo (or None) from member, which might be a str""" - if isinstance(member, str): - tarinfo = self.getmember(member) - else: - tarinfo = member - - unfiltered = tarinfo - try: - tarinfo = filter_function(tarinfo, path) - except (OSError, FilterError) as e: - self._handle_fatal_error(e) - except ExtractError as e: - self._handle_nonfatal_error(e) - if tarinfo is None: - self._dbg(2, "tarfile: Excluded %r" % unfiltered.name) - return None - # Prepare the link target for makelink(). - if tarinfo.islnk(): - tarinfo = copy.copy(tarinfo) - tarinfo._link_target = os.path.join(path, tarinfo.linkname) - return tarinfo - - def _extract_one(self, tarinfo, path, set_attrs, numeric_owner): - """Extract from filtered tarinfo to disk""" - self._check("r") - - try: - self._extract_member(tarinfo, os.path.join(path, tarinfo.name), - set_attrs=set_attrs, - numeric_owner=numeric_owner) - except OSError as e: - self._handle_fatal_error(e) - except ExtractError as e: - self._handle_nonfatal_error(e) - - def _handle_nonfatal_error(self, e): - """Handle non-fatal error (ExtractError) according to errorlevel""" - if self.errorlevel > 1: - raise - else: - self._dbg(1, "tarfile: %s" % e) - - def _handle_fatal_error(self, e): - """Handle "fatal" error according to self.errorlevel""" - if self.errorlevel > 0: - raise - elif isinstance(e, OSError): - if e.filename is None: - self._dbg(1, "tarfile: %s" % e.strerror) - else: - self._dbg(1, "tarfile: %s %r" % (e.strerror, e.filename)) - else: - self._dbg(1, "tarfile: %s %s" % (type(e).__name__, e)) - - def extractfile(self, member): - """Extract a member from the archive as a file object. 'member' may be - a filename or a TarInfo object. If 'member' is a regular file or - a link, an io.BufferedReader object is returned. For all other - existing members, None is returned. If 'member' does not appear - in the archive, KeyError is raised. - """ - self._check("r") - - if isinstance(member, str): - tarinfo = self.getmember(member) - else: - tarinfo = member - - if tarinfo.isreg() or tarinfo.type not in SUPPORTED_TYPES: - # Members with unknown types are treated as regular files. - return self.fileobject(self, tarinfo) - - elif tarinfo.islnk() or tarinfo.issym(): - if isinstance(self.fileobj, _Stream): - # A small but ugly workaround for the case that someone tries - # to extract a (sym)link as a file-object from a non-seekable - # stream of tar blocks. - raise StreamError("cannot extract (sym)link as file object") - else: - # A (sym)link's file object is its target's file object. - return self.extractfile(self._find_link_target(tarinfo)) - else: - # If there's no data associated with the member (directory, chrdev, - # blkdev, etc.), return None instead of a file object. - return None - - def _extract_member(self, tarinfo, targetpath, set_attrs=True, - numeric_owner=False): - """Extract the TarInfo object tarinfo to a physical - file called targetpath. - """ - # Fetch the TarInfo object for the given name - # and build the destination pathname, replacing - # forward slashes to platform specific separators. - targetpath = targetpath.rstrip("/") - targetpath = targetpath.replace("/", os.sep) - - # Create all upper directories. - upperdirs = os.path.dirname(targetpath) - if upperdirs and not os.path.exists(upperdirs): - # Create directories that are not part of the archive with - # default permissions. - os.makedirs(upperdirs, exist_ok=True) - - if tarinfo.islnk() or tarinfo.issym(): - self._dbg(1, "%s -> %s" % (tarinfo.name, tarinfo.linkname)) - else: - self._dbg(1, tarinfo.name) - - if tarinfo.isreg(): - self.makefile(tarinfo, targetpath) - elif tarinfo.isdir(): - self.makedir(tarinfo, targetpath) - elif tarinfo.isfifo(): - self.makefifo(tarinfo, targetpath) - elif tarinfo.ischr() or tarinfo.isblk(): - self.makedev(tarinfo, targetpath) - elif tarinfo.islnk() or tarinfo.issym(): - self.makelink(tarinfo, targetpath) - elif tarinfo.type not in SUPPORTED_TYPES: - self.makeunknown(tarinfo, targetpath) - else: - self.makefile(tarinfo, targetpath) - - if set_attrs: - self.chown(tarinfo, targetpath, numeric_owner) - if not tarinfo.issym(): - self.chmod(tarinfo, targetpath) - self.utime(tarinfo, targetpath) - - #-------------------------------------------------------------------------- - # Below are the different file methods. They are called via - # _extract_member() when extract() is called. They can be replaced in a - # subclass to implement other functionality. - - def makedir(self, tarinfo, targetpath): - """Make a directory called targetpath. - """ - try: - if tarinfo.mode is None: - # Use the system's default mode - os.mkdir(targetpath) - else: - # Use a safe mode for the directory, the real mode is set - # later in _extract_member(). - os.mkdir(targetpath, 0o700) - except FileExistsError: - if not os.path.isdir(targetpath): - raise - - def makefile(self, tarinfo, targetpath): - """Make a file called targetpath. - """ - source = self.fileobj - source.seek(tarinfo.offset_data) - bufsize = self.copybufsize - with bltn_open(targetpath, "wb") as target: - if tarinfo.sparse is not None: - for offset, size in tarinfo.sparse: - target.seek(offset) - copyfileobj(source, target, size, ReadError, bufsize) - target.seek(tarinfo.size) - target.truncate() - else: - copyfileobj(source, target, tarinfo.size, ReadError, bufsize) - - def makeunknown(self, tarinfo, targetpath): - """Make a file from a TarInfo object with an unknown type - at targetpath. - """ - self.makefile(tarinfo, targetpath) - self._dbg(1, "tarfile: Unknown file type %r, " \ - "extracted as regular file." % tarinfo.type) - - def makefifo(self, tarinfo, targetpath): - """Make a fifo called targetpath. - """ - if hasattr(os, "mkfifo"): - os.mkfifo(targetpath) - else: - raise ExtractError("fifo not supported by system") - - def makedev(self, tarinfo, targetpath): - """Make a character or block device called targetpath. - """ - if not hasattr(os, "mknod") or not hasattr(os, "makedev"): - raise ExtractError("special devices not supported by system") - - mode = tarinfo.mode - if mode is None: - # Use mknod's default - mode = 0o600 - if tarinfo.isblk(): - mode |= stat.S_IFBLK - else: - mode |= stat.S_IFCHR - - os.mknod(targetpath, mode, - os.makedev(tarinfo.devmajor, tarinfo.devminor)) - - def makelink(self, tarinfo, targetpath): - """Make a (symbolic) link called targetpath. If it cannot be created - (platform limitation), we try to make a copy of the referenced file - instead of a link. - """ - try: - # For systems that support symbolic and hard links. - if tarinfo.issym(): - if os.path.lexists(targetpath): - # Avoid FileExistsError on following os.symlink. - os.unlink(targetpath) - os.symlink(tarinfo.linkname, targetpath) - else: - if os.path.exists(tarinfo._link_target): - os.link(tarinfo._link_target, targetpath) - else: - self._extract_member(self._find_link_target(tarinfo), - targetpath) - except symlink_exception: - try: - self._extract_member(self._find_link_target(tarinfo), - targetpath) - except KeyError: - raise ExtractError("unable to resolve link inside archive") from None - - def chown(self, tarinfo, targetpath, numeric_owner): - """Set owner of targetpath according to tarinfo. If numeric_owner - is True, use .gid/.uid instead of .gname/.uname. If numeric_owner - is False, fall back to .gid/.uid when the search based on name - fails. - """ - if hasattr(os, "geteuid") and os.geteuid() == 0: - # We have to be root to do so. - g = tarinfo.gid - u = tarinfo.uid - if not numeric_owner: - try: - if grp and tarinfo.gname: - g = grp.getgrnam(tarinfo.gname)[2] - except KeyError: - pass - try: - if pwd and tarinfo.uname: - u = pwd.getpwnam(tarinfo.uname)[2] - except KeyError: - pass - if g is None: - g = -1 - if u is None: - u = -1 - try: - if tarinfo.issym() and hasattr(os, "lchown"): - os.lchown(targetpath, u, g) - else: - os.chown(targetpath, u, g) - except (OSError, OverflowError) as e: - # OverflowError can be raised if an ID doesn't fit in 'id_t' - raise ExtractError("could not change owner") from e - - def chmod(self, tarinfo, targetpath): - """Set file permissions of targetpath according to tarinfo. - """ - if tarinfo.mode is None: - return - try: - os.chmod(targetpath, tarinfo.mode) - except OSError as e: - raise ExtractError("could not change mode") from e - - def utime(self, tarinfo, targetpath): - """Set modification time of targetpath according to tarinfo. - """ - mtime = tarinfo.mtime - if mtime is None: - return - if not hasattr(os, 'utime'): - return - try: - os.utime(targetpath, (mtime, mtime)) - except OSError as e: - raise ExtractError("could not change modification time") from e - - #-------------------------------------------------------------------------- - def next(self): - """Return the next member of the archive as a TarInfo object, when - TarFile is opened for reading. Return None if there is no more - available. - """ - self._check("ra") - if self.firstmember is not None: - m = self.firstmember - self.firstmember = None - return m - - # Advance the file pointer. - if self.offset != self.fileobj.tell(): - if self.offset == 0: - return None - self.fileobj.seek(self.offset - 1) - if not self.fileobj.read(1): - raise ReadError("unexpected end of data") - - # Read the next block. - tarinfo = None - while True: - try: - tarinfo = self.tarinfo.fromtarfile(self) - except EOFHeaderError as e: - if self.ignore_zeros: - self._dbg(2, "0x%X: %s" % (self.offset, e)) - self.offset += BLOCKSIZE - continue - except InvalidHeaderError as e: - if self.ignore_zeros: - self._dbg(2, "0x%X: %s" % (self.offset, e)) - self.offset += BLOCKSIZE - continue - elif self.offset == 0: - raise ReadError(str(e)) from None - except EmptyHeaderError: - if self.offset == 0: - raise ReadError("empty file") from None - except TruncatedHeaderError as e: - if self.offset == 0: - raise ReadError(str(e)) from None - except SubsequentHeaderError as e: - raise ReadError(str(e)) from None - except Exception as e: - try: - import zlib - if isinstance(e, zlib.error): - raise ReadError(f'zlib error: {e}') from None - else: - raise e - except ImportError: - raise e - break - - if tarinfo is not None: - # if streaming the file we do not want to cache the tarinfo - if not self.stream: - self.members.append(tarinfo) - else: - self._loaded = True - - return tarinfo - - #-------------------------------------------------------------------------- - # Little helper methods: - - def _getmember(self, name, tarinfo=None, normalize=False): - """Find an archive member by name from bottom to top. - If tarinfo is given, it is used as the starting point. - """ - # Ensure that all members have been loaded. - members = self.getmembers() - - # Limit the member search list up to tarinfo. - skipping = False - if tarinfo is not None: - try: - index = members.index(tarinfo) - except ValueError: - # The given starting point might be a (modified) copy. - # We'll later skip members until we find an equivalent. - skipping = True - else: - # Happy fast path - members = members[:index] - - if normalize: - name = os.path.normpath(name) - - for member in reversed(members): - if skipping: - if tarinfo.offset == member.offset: - skipping = False - continue - if normalize: - member_name = os.path.normpath(member.name) - else: - member_name = member.name - - if name == member_name: - return member - - if skipping: - # Starting point was not found - raise ValueError(tarinfo) - - def _load(self): - """Read through the entire archive file and look for readable - members. This should not run if the file is set to stream. - """ - if not self.stream: - while self.next() is not None: - pass - self._loaded = True - - def _check(self, mode=None): - """Check if TarFile is still open, and if the operation's mode - corresponds to TarFile's mode. - """ - if self.closed: - raise OSError("%s is closed" % self.__class__.__name__) - if mode is not None and self.mode not in mode: - raise OSError("bad operation for mode %r" % self.mode) - - def _find_link_target(self, tarinfo): - """Find the target member of a symlink or hardlink member in the - archive. - """ - if tarinfo.issym(): - # Always search the entire archive. - linkname = "/".join(filter(None, (os.path.dirname(tarinfo.name), tarinfo.linkname))) - limit = None - else: - # Search the archive before the link, because a hard link is - # just a reference to an already archived file. - linkname = tarinfo.linkname - limit = tarinfo - - member = self._getmember(linkname, tarinfo=limit, normalize=True) - if member is None: - raise KeyError("linkname %r not found" % linkname) - return member - - def __iter__(self): - """Provide an iterator object. - """ - if self._loaded: - yield from self.members - return - - # Yield items using TarFile's next() method. - # When all members have been read, set TarFile as _loaded. - index = 0 - # Fix for SF #1100429: Under rare circumstances it can - # happen that getmembers() is called during iteration, - # which will have already exhausted the next() method. - if self.firstmember is not None: - tarinfo = self.next() - index += 1 - yield tarinfo - - while True: - if index < len(self.members): - tarinfo = self.members[index] - elif not self._loaded: - tarinfo = self.next() - if not tarinfo: - self._loaded = True - return - else: - return - index += 1 - yield tarinfo - - def _dbg(self, level, msg): - """Write debugging output to sys.stderr. - """ - if level <= self.debug: - print(msg, file=sys.stderr) - - def __enter__(self): - self._check() - return self - - def __exit__(self, type, value, traceback): - if type is None: - self.close() - else: - # An exception occurred. We must not call close() because - # it would try to write end-of-archive blocks and padding. - if not self._extfileobj: - self.fileobj.close() - self.closed = True - -#-------------------- -# exported functions -#-------------------- - -def is_tarfile(name): - """Return True if name points to a tar archive that we - are able to handle, else return False. - - 'name' should be a string, file, or file-like object. - """ - try: - if hasattr(name, "read"): - pos = name.tell() - t = open(fileobj=name) - name.seek(pos) - else: - t = open(name) - t.close() - return True - except TarError: - return False - -open = TarFile.open - - -def main(): - import argparse - - description = 'A simple command-line interface for tarfile module.' - parser = argparse.ArgumentParser(description=description) - parser.add_argument('-v', '--verbose', action='store_true', default=False, - help='Verbose output') - parser.add_argument('--filter', metavar='', - choices=_NAMED_FILTERS, - help='Filter for extraction') - - group = parser.add_mutually_exclusive_group(required=True) - group.add_argument('-l', '--list', metavar='', - help='Show listing of a tarfile') - group.add_argument('-e', '--extract', nargs='+', - metavar=('', ''), - help='Extract tarfile into target dir') - group.add_argument('-c', '--create', nargs='+', - metavar=('', ''), - help='Create tarfile from sources') - group.add_argument('-t', '--test', metavar='', - help='Test if a tarfile is valid') - - args = parser.parse_args() - - if args.filter and args.extract is None: - parser.exit(1, '--filter is only valid for extraction\n') - - if args.test is not None: - src = args.test - if is_tarfile(src): - with open(src, 'r') as tar: - tar.getmembers() - print(tar.getmembers(), file=sys.stderr) - if args.verbose: - print('{!r} is a tar archive.'.format(src)) - else: - parser.exit(1, '{!r} is not a tar archive.\n'.format(src)) - - elif args.list is not None: - src = args.list - if is_tarfile(src): - with TarFile.open(src, 'r:*') as tf: - tf.list(verbose=args.verbose) - else: - parser.exit(1, '{!r} is not a tar archive.\n'.format(src)) - - elif args.extract is not None: - if len(args.extract) == 1: - src = args.extract[0] - curdir = os.curdir - elif len(args.extract) == 2: - src, curdir = args.extract - else: - parser.exit(1, parser.format_help()) - - if is_tarfile(src): - with TarFile.open(src, 'r:*') as tf: - tf.extractall(path=curdir, filter=args.filter) - if args.verbose: - if curdir == '.': - msg = '{!r} file is extracted.'.format(src) - else: - msg = ('{!r} file is extracted ' - 'into {!r} directory.').format(src, curdir) - print(msg) - else: - parser.exit(1, '{!r} is not a tar archive.\n'.format(src)) - - elif args.create is not None: - tar_name = args.create.pop(0) - _, ext = os.path.splitext(tar_name) - compressions = { - # gz - '.gz': 'gz', - '.tgz': 'gz', - # xz - '.xz': 'xz', - '.txz': 'xz', - # bz2 - '.bz2': 'bz2', - '.tbz': 'bz2', - '.tbz2': 'bz2', - '.tb2': 'bz2', - } - tar_mode = 'w:' + compressions[ext] if ext in compressions else 'w' - tar_files = args.create - - with TarFile.open(tar_name, tar_mode) as tf: - for file_name in tar_files: - tf.add(file_name) - - if args.verbose: - print('{!r} file created.'.format(tar_name)) - -if __name__ == '__main__': - main() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__main__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__main__.py deleted file mode 100644 index daf55090..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__main__.py +++ /dev/null @@ -1,5 +0,0 @@ -from . import main - - -if __name__ == '__main__': - main() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 0b71f6de..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__pycache__/__main__.cpython-312.pyc deleted file mode 100644 index 72d1fa04..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/__pycache__/__main__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index e505257e..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/__pycache__/py38.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/__pycache__/py38.cpython-312.pyc deleted file mode 100644 index 8db7120d..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/__pycache__/py38.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/py38.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/py38.py deleted file mode 100644 index 20fbbfc1..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/backports/tarfile/compat/py38.py +++ /dev/null @@ -1,24 +0,0 @@ -import sys - - -if sys.version_info < (3, 9): - - def removesuffix(self, suffix): - # suffix='' should not call self[:-0]. - if suffix and self.endswith(suffix): - return self[: -len(suffix)] - else: - return self[:] - - def removeprefix(self, prefix): - if self.startswith(prefix): - return self[len(prefix) :] - else: - return self[:] -else: - - def removesuffix(self, suffix): - return self.removesuffix(suffix) - - def removeprefix(self, prefix): - return self.removeprefix(prefix) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/LICENSE deleted file mode 100644 index d6456956..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/LICENSE +++ /dev/null @@ -1,202 +0,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/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/METADATA deleted file mode 100644 index 85513e8a..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/METADATA +++ /dev/null @@ -1,129 +0,0 @@ -Metadata-Version: 2.1 -Name: importlib_metadata -Version: 8.0.0 -Summary: Read metadata from Python packages -Author-email: "Jason R. Coombs" -Project-URL: Source, https://github.com/python/importlib_metadata -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: Apache Software License -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.8 -Description-Content-Type: text/x-rst -License-File: LICENSE -Requires-Dist: zipp >=0.5 -Requires-Dist: typing-extensions >=3.6.4 ; python_version < "3.8" -Provides-Extra: doc -Requires-Dist: sphinx >=3.5 ; extra == 'doc' -Requires-Dist: jaraco.packaging >=9.3 ; extra == 'doc' -Requires-Dist: rst.linker >=1.9 ; extra == 'doc' -Requires-Dist: furo ; extra == 'doc' -Requires-Dist: sphinx-lint ; extra == 'doc' -Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'doc' -Provides-Extra: perf -Requires-Dist: ipython ; extra == 'perf' -Provides-Extra: test -Requires-Dist: pytest !=8.1.*,>=6 ; extra == 'test' -Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'test' -Requires-Dist: pytest-cov ; extra == 'test' -Requires-Dist: pytest-mypy ; extra == 'test' -Requires-Dist: pytest-enabler >=2.2 ; extra == 'test' -Requires-Dist: pytest-ruff >=0.2.1 ; extra == 'test' -Requires-Dist: packaging ; extra == 'test' -Requires-Dist: pyfakefs ; extra == 'test' -Requires-Dist: flufl.flake8 ; extra == 'test' -Requires-Dist: pytest-perf >=0.9.2 ; extra == 'test' -Requires-Dist: jaraco.test >=5.4 ; extra == 'test' -Requires-Dist: importlib-resources >=1.3 ; (python_version < "3.9") and extra == 'test' - -.. image:: https://img.shields.io/pypi/v/importlib_metadata.svg - :target: https://pypi.org/project/importlib_metadata - -.. image:: https://img.shields.io/pypi/pyversions/importlib_metadata.svg - -.. image:: https://github.com/python/importlib_metadata/actions/workflows/main.yml/badge.svg - :target: https://github.com/python/importlib_metadata/actions?query=workflow%3A%22tests%22 - :alt: tests - -.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json - :target: https://github.com/astral-sh/ruff - :alt: Ruff - -.. image:: https://readthedocs.org/projects/importlib-metadata/badge/?version=latest - :target: https://importlib-metadata.readthedocs.io/en/latest/?badge=latest - -.. image:: https://img.shields.io/badge/skeleton-2024-informational - :target: https://blog.jaraco.com/skeleton - -.. image:: https://tidelift.com/badges/package/pypi/importlib-metadata - :target: https://tidelift.com/subscription/pkg/pypi-importlib-metadata?utm_source=pypi-importlib-metadata&utm_medium=readme - -Library to access the metadata for a Python package. - -This package supplies third-party access to the functionality of -`importlib.metadata `_ -including improvements added to subsequent Python versions. - - -Compatibility -============= - -New features are introduced in this third-party library and later merged -into CPython. The following table indicates which versions of this library -were contributed to different versions in the standard library: - -.. list-table:: - :header-rows: 1 - - * - importlib_metadata - - stdlib - * - 7.0 - - 3.13 - * - 6.5 - - 3.12 - * - 4.13 - - 3.11 - * - 4.6 - - 3.10 - * - 1.4 - - 3.8 - - -Usage -===== - -See the `online documentation `_ -for usage details. - -`Finder authors -`_ can -also add support for custom package installers. See the above documentation -for details. - - -Caveats -======= - -This project primarily supports third-party packages installed by PyPA -tools (or other conforming packages). It does not support: - -- Packages in the stdlib. -- Packages installed without metadata. - -Project details -=============== - - * Project home: https://github.com/python/importlib_metadata - * Report bugs at: https://github.com/python/importlib_metadata/issues - * Code hosting: https://github.com/python/importlib_metadata - * Documentation: https://importlib-metadata.readthedocs.io/ - -For Enterprise -============== - -Available as part of the Tidelift Subscription. - -This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. - -`Learn more `_. diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/RECORD deleted file mode 100644 index 07b7dc51..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/RECORD +++ /dev/null @@ -1,32 +0,0 @@ -importlib_metadata-8.0.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -importlib_metadata-8.0.0.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358 -importlib_metadata-8.0.0.dist-info/METADATA,sha256=anuQ7_7h4J1bSEzfcjIBakPi2cyVQ7y7jklLHsBeH1k,4648 -importlib_metadata-8.0.0.dist-info/RECORD,, -importlib_metadata-8.0.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -importlib_metadata-8.0.0.dist-info/WHEEL,sha256=mguMlWGMX-VHnMpKOjjQidIo1ssRlCFu4a4mBpz1s2M,91 -importlib_metadata-8.0.0.dist-info/top_level.txt,sha256=CO3fD9yylANiXkrMo4qHLV_mqXL2sC5JFKgt1yWAT-A,19 -importlib_metadata/__init__.py,sha256=tZNB-23h8Bixi9uCrQqj9Yf0aeC--Josdy3IZRIQeB0,33798 -importlib_metadata/__pycache__/__init__.cpython-312.pyc,, -importlib_metadata/__pycache__/_adapters.cpython-312.pyc,, -importlib_metadata/__pycache__/_collections.cpython-312.pyc,, -importlib_metadata/__pycache__/_compat.cpython-312.pyc,, -importlib_metadata/__pycache__/_functools.cpython-312.pyc,, -importlib_metadata/__pycache__/_itertools.cpython-312.pyc,, -importlib_metadata/__pycache__/_meta.cpython-312.pyc,, -importlib_metadata/__pycache__/_text.cpython-312.pyc,, -importlib_metadata/__pycache__/diagnose.cpython-312.pyc,, -importlib_metadata/_adapters.py,sha256=rIhWTwBvYA1bV7i-5FfVX38qEXDTXFeS5cb5xJtP3ks,2317 -importlib_metadata/_collections.py,sha256=CJ0OTCHIjWA0ZIVS4voORAsn2R4R2cQBEtPsZEJpASY,743 -importlib_metadata/_compat.py,sha256=73QKrN9KNoaZzhbX5yPCCZa-FaALwXe8TPlDR72JgBU,1314 -importlib_metadata/_functools.py,sha256=PsY2-4rrKX4RVeRC1oGp1lB1pmC9eKN88_f-bD9uOoA,2895 -importlib_metadata/_itertools.py,sha256=cvr_2v8BRbxcIl5x5ldfqdHjhI8Yi8s8yk50G_nm6jQ,2068 -importlib_metadata/_meta.py,sha256=nxZ7C8GVlcBFAKWyVOn_dn7ot_twBcbm1NmvjIetBHI,1801 -importlib_metadata/_text.py,sha256=HCsFksZpJLeTP3NEk_ngrAeXVRRtTrtyh9eOABoRP4A,2166 -importlib_metadata/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -importlib_metadata/compat/__pycache__/__init__.cpython-312.pyc,, -importlib_metadata/compat/__pycache__/py311.cpython-312.pyc,, -importlib_metadata/compat/__pycache__/py39.cpython-312.pyc,, -importlib_metadata/compat/py311.py,sha256=uqm-K-uohyj1042TH4a9Er_I5o7667DvulcD-gC_fSA,608 -importlib_metadata/compat/py39.py,sha256=cPkMv6-0ilK-0Jw_Tkn0xYbOKJZc4WJKQHow0c2T44w,1102 -importlib_metadata/diagnose.py,sha256=nkSRMiowlmkhLYhKhvCg9glmt_11Cox-EmLzEbqYTa8,379 -importlib_metadata/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/WHEEL deleted file mode 100644 index edf4ec7c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: setuptools (70.1.1) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/top_level.txt deleted file mode 100644 index bbb07547..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata-8.0.0.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -importlib_metadata diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__init__.py deleted file mode 100644 index ed481355..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__init__.py +++ /dev/null @@ -1,1083 +0,0 @@ -from __future__ import annotations - -import os -import re -import abc -import sys -import json -import zipp -import email -import types -import inspect -import pathlib -import operator -import textwrap -import functools -import itertools -import posixpath -import collections - -from . import _meta -from .compat import py39, py311 -from ._collections import FreezableDefaultDict, Pair -from ._compat import ( - NullFinder, - install, -) -from ._functools import method_cache, pass_none -from ._itertools import always_iterable, unique_everseen -from ._meta import PackageMetadata, SimplePath - -from contextlib import suppress -from importlib import import_module -from importlib.abc import MetaPathFinder -from itertools import starmap -from typing import Any, Iterable, List, Mapping, Match, Optional, Set, cast - -__all__ = [ - 'Distribution', - 'DistributionFinder', - 'PackageMetadata', - 'PackageNotFoundError', - 'distribution', - 'distributions', - 'entry_points', - 'files', - 'metadata', - 'packages_distributions', - 'requires', - 'version', -] - - -class PackageNotFoundError(ModuleNotFoundError): - """The package was not found.""" - - def __str__(self) -> str: - return f"No package metadata was found for {self.name}" - - @property - def name(self) -> str: # type: ignore[override] - (name,) = self.args - return name - - -class Sectioned: - """ - A simple entry point config parser for performance - - >>> for item in Sectioned.read(Sectioned._sample): - ... print(item) - Pair(name='sec1', value='# comments ignored') - Pair(name='sec1', value='a = 1') - Pair(name='sec1', value='b = 2') - Pair(name='sec2', value='a = 2') - - >>> res = Sectioned.section_pairs(Sectioned._sample) - >>> item = next(res) - >>> item.name - 'sec1' - >>> item.value - Pair(name='a', value='1') - >>> item = next(res) - >>> item.value - Pair(name='b', value='2') - >>> item = next(res) - >>> item.name - 'sec2' - >>> item.value - Pair(name='a', value='2') - >>> list(res) - [] - """ - - _sample = textwrap.dedent( - """ - [sec1] - # comments ignored - a = 1 - b = 2 - - [sec2] - a = 2 - """ - ).lstrip() - - @classmethod - def section_pairs(cls, text): - return ( - section._replace(value=Pair.parse(section.value)) - for section in cls.read(text, filter_=cls.valid) - if section.name is not None - ) - - @staticmethod - def read(text, filter_=None): - lines = filter(filter_, map(str.strip, text.splitlines())) - name = None - for value in lines: - section_match = value.startswith('[') and value.endswith(']') - if section_match: - name = value.strip('[]') - continue - yield Pair(name, value) - - @staticmethod - def valid(line: str): - return line and not line.startswith('#') - - -class EntryPoint: - """An entry point as defined by Python packaging conventions. - - See `the packaging docs on entry points - `_ - for more information. - - >>> ep = EntryPoint( - ... name=None, group=None, value='package.module:attr [extra1, extra2]') - >>> ep.module - 'package.module' - >>> ep.attr - 'attr' - >>> ep.extras - ['extra1', 'extra2'] - """ - - pattern = re.compile( - r'(?P[\w.]+)\s*' - r'(:\s*(?P[\w.]+)\s*)?' - r'((?P\[.*\])\s*)?$' - ) - """ - A regular expression describing the syntax for an entry point, - which might look like: - - - module - - package.module - - package.module:attribute - - package.module:object.attribute - - package.module:attr [extra1, extra2] - - Other combinations are possible as well. - - The expression is lenient about whitespace around the ':', - following the attr, and following any extras. - """ - - name: str - value: str - group: str - - dist: Optional[Distribution] = None - - def __init__(self, name: str, value: str, group: str) -> None: - vars(self).update(name=name, value=value, group=group) - - def load(self) -> Any: - """Load the entry point from its definition. If only a module - is indicated by the value, return that module. Otherwise, - return the named object. - """ - match = cast(Match, self.pattern.match(self.value)) - module = import_module(match.group('module')) - attrs = filter(None, (match.group('attr') or '').split('.')) - return functools.reduce(getattr, attrs, module) - - @property - def module(self) -> str: - match = self.pattern.match(self.value) - assert match is not None - return match.group('module') - - @property - def attr(self) -> str: - match = self.pattern.match(self.value) - assert match is not None - return match.group('attr') - - @property - def extras(self) -> List[str]: - match = self.pattern.match(self.value) - assert match is not None - return re.findall(r'\w+', match.group('extras') or '') - - def _for(self, dist): - vars(self).update(dist=dist) - return self - - def matches(self, **params): - """ - EntryPoint matches the given parameters. - - >>> ep = EntryPoint(group='foo', name='bar', value='bing:bong [extra1, extra2]') - >>> ep.matches(group='foo') - True - >>> ep.matches(name='bar', value='bing:bong [extra1, extra2]') - True - >>> ep.matches(group='foo', name='other') - False - >>> ep.matches() - True - >>> ep.matches(extras=['extra1', 'extra2']) - True - >>> ep.matches(module='bing') - True - >>> ep.matches(attr='bong') - True - """ - attrs = (getattr(self, param) for param in params) - return all(map(operator.eq, params.values(), attrs)) - - def _key(self): - return self.name, self.value, self.group - - def __lt__(self, other): - return self._key() < other._key() - - def __eq__(self, other): - return self._key() == other._key() - - def __setattr__(self, name, value): - raise AttributeError("EntryPoint objects are immutable.") - - def __repr__(self): - return ( - f'EntryPoint(name={self.name!r}, value={self.value!r}, ' - f'group={self.group!r})' - ) - - def __hash__(self) -> int: - return hash(self._key()) - - -class EntryPoints(tuple): - """ - An immutable collection of selectable EntryPoint objects. - """ - - __slots__ = () - - def __getitem__(self, name: str) -> EntryPoint: # type: ignore[override] - """ - Get the EntryPoint in self matching name. - """ - try: - return next(iter(self.select(name=name))) - except StopIteration: - raise KeyError(name) - - def __repr__(self): - """ - Repr with classname and tuple constructor to - signal that we deviate from regular tuple behavior. - """ - return '%s(%r)' % (self.__class__.__name__, tuple(self)) - - def select(self, **params) -> EntryPoints: - """ - Select entry points from self that match the - given parameters (typically group and/or name). - """ - return EntryPoints(ep for ep in self if py39.ep_matches(ep, **params)) - - @property - def names(self) -> Set[str]: - """ - Return the set of all names of all entry points. - """ - return {ep.name for ep in self} - - @property - def groups(self) -> Set[str]: - """ - Return the set of all groups of all entry points. - """ - return {ep.group for ep in self} - - @classmethod - def _from_text_for(cls, text, dist): - return cls(ep._for(dist) for ep in cls._from_text(text)) - - @staticmethod - def _from_text(text): - return ( - EntryPoint(name=item.value.name, value=item.value.value, group=item.name) - for item in Sectioned.section_pairs(text or '') - ) - - -class PackagePath(pathlib.PurePosixPath): - """A reference to a path in a package""" - - hash: Optional[FileHash] - size: int - dist: Distribution - - def read_text(self, encoding: str = 'utf-8') -> str: # type: ignore[override] - return self.locate().read_text(encoding=encoding) - - def read_binary(self) -> bytes: - return self.locate().read_bytes() - - def locate(self) -> SimplePath: - """Return a path-like object for this path""" - return self.dist.locate_file(self) - - -class FileHash: - def __init__(self, spec: str) -> None: - self.mode, _, self.value = spec.partition('=') - - def __repr__(self) -> str: - return f'' - - -class Distribution(metaclass=abc.ABCMeta): - """ - An abstract Python distribution package. - - Custom providers may derive from this class and define - the abstract methods to provide a concrete implementation - for their environment. Some providers may opt to override - the default implementation of some properties to bypass - the file-reading mechanism. - """ - - @abc.abstractmethod - def read_text(self, filename) -> Optional[str]: - """Attempt to load metadata file given by the name. - - Python distribution metadata is organized by blobs of text - typically represented as "files" in the metadata directory - (e.g. package-1.0.dist-info). These files include things - like: - - - METADATA: The distribution metadata including fields - like Name and Version and Description. - - entry_points.txt: A series of entry points as defined in - `the entry points spec `_. - - RECORD: A record of files according to - `this recording spec `_. - - A package may provide any set of files, including those - not listed here or none at all. - - :param filename: The name of the file in the distribution info. - :return: The text if found, otherwise None. - """ - - @abc.abstractmethod - def locate_file(self, path: str | os.PathLike[str]) -> SimplePath: - """ - Given a path to a file in this distribution, return a SimplePath - to it. - """ - - @classmethod - def from_name(cls, name: str) -> Distribution: - """Return the Distribution for the given package name. - - :param name: The name of the distribution package to search for. - :return: The Distribution instance (or subclass thereof) for the named - package, if found. - :raises PackageNotFoundError: When the named package's distribution - metadata cannot be found. - :raises ValueError: When an invalid value is supplied for name. - """ - if not name: - raise ValueError("A distribution name is required.") - try: - return next(iter(cls.discover(name=name))) - except StopIteration: - raise PackageNotFoundError(name) - - @classmethod - def discover( - cls, *, context: Optional[DistributionFinder.Context] = None, **kwargs - ) -> Iterable[Distribution]: - """Return an iterable of Distribution objects for all packages. - - Pass a ``context`` or pass keyword arguments for constructing - a context. - - :context: A ``DistributionFinder.Context`` object. - :return: Iterable of Distribution objects for packages matching - the context. - """ - if context and kwargs: - raise ValueError("cannot accept context and kwargs") - context = context or DistributionFinder.Context(**kwargs) - return itertools.chain.from_iterable( - resolver(context) for resolver in cls._discover_resolvers() - ) - - @staticmethod - def at(path: str | os.PathLike[str]) -> Distribution: - """Return a Distribution for the indicated metadata path. - - :param path: a string or path-like object - :return: a concrete Distribution instance for the path - """ - return PathDistribution(pathlib.Path(path)) - - @staticmethod - def _discover_resolvers(): - """Search the meta_path for resolvers (MetadataPathFinders).""" - declared = ( - getattr(finder, 'find_distributions', None) for finder in sys.meta_path - ) - return filter(None, declared) - - @property - def metadata(self) -> _meta.PackageMetadata: - """Return the parsed metadata for this Distribution. - - The returned object will have keys that name the various bits of - metadata per the - `Core metadata specifications `_. - - Custom providers may provide the METADATA file or override this - property. - """ - # deferred for performance (python/cpython#109829) - from . import _adapters - - opt_text = ( - self.read_text('METADATA') - or self.read_text('PKG-INFO') - # This last clause is here to support old egg-info files. Its - # effect is to just end up using the PathDistribution's self._path - # (which points to the egg-info file) attribute unchanged. - or self.read_text('') - ) - text = cast(str, opt_text) - return _adapters.Message(email.message_from_string(text)) - - @property - def name(self) -> str: - """Return the 'Name' metadata for the distribution package.""" - return self.metadata['Name'] - - @property - def _normalized_name(self): - """Return a normalized version of the name.""" - return Prepared.normalize(self.name) - - @property - def version(self) -> str: - """Return the 'Version' metadata for the distribution package.""" - return self.metadata['Version'] - - @property - def entry_points(self) -> EntryPoints: - """ - Return EntryPoints for this distribution. - - Custom providers may provide the ``entry_points.txt`` file - or override this property. - """ - return EntryPoints._from_text_for(self.read_text('entry_points.txt'), self) - - @property - def files(self) -> Optional[List[PackagePath]]: - """Files in this distribution. - - :return: List of PackagePath for this distribution or None - - Result is `None` if the metadata file that enumerates files - (i.e. RECORD for dist-info, or installed-files.txt or - SOURCES.txt for egg-info) is missing. - Result may be empty if the metadata exists but is empty. - - Custom providers are recommended to provide a "RECORD" file (in - ``read_text``) or override this property to allow for callers to be - able to resolve filenames provided by the package. - """ - - def make_file(name, hash=None, size_str=None): - result = PackagePath(name) - result.hash = FileHash(hash) if hash else None - result.size = int(size_str) if size_str else None - result.dist = self - return result - - @pass_none - def make_files(lines): - # Delay csv import, since Distribution.files is not as widely used - # as other parts of importlib.metadata - import csv - - return starmap(make_file, csv.reader(lines)) - - @pass_none - def skip_missing_files(package_paths): - return list(filter(lambda path: path.locate().exists(), package_paths)) - - return skip_missing_files( - make_files( - self._read_files_distinfo() - or self._read_files_egginfo_installed() - or self._read_files_egginfo_sources() - ) - ) - - def _read_files_distinfo(self): - """ - Read the lines of RECORD. - """ - text = self.read_text('RECORD') - return text and text.splitlines() - - def _read_files_egginfo_installed(self): - """ - Read installed-files.txt and return lines in a similar - CSV-parsable format as RECORD: each file must be placed - relative to the site-packages directory and must also be - quoted (since file names can contain literal commas). - - This file is written when the package is installed by pip, - but it might not be written for other installation methods. - Assume the file is accurate if it exists. - """ - text = self.read_text('installed-files.txt') - # Prepend the .egg-info/ subdir to the lines in this file. - # But this subdir is only available from PathDistribution's - # self._path. - subdir = getattr(self, '_path', None) - if not text or not subdir: - return - - paths = ( - py311.relative_fix((subdir / name).resolve()) - .relative_to(self.locate_file('').resolve(), walk_up=True) - .as_posix() - for name in text.splitlines() - ) - return map('"{}"'.format, paths) - - def _read_files_egginfo_sources(self): - """ - Read SOURCES.txt and return lines in a similar CSV-parsable - format as RECORD: each file name must be quoted (since it - might contain literal commas). - - Note that SOURCES.txt is not a reliable source for what - files are installed by a package. This file is generated - for a source archive, and the files that are present - there (e.g. setup.py) may not correctly reflect the files - that are present after the package has been installed. - """ - text = self.read_text('SOURCES.txt') - return text and map('"{}"'.format, text.splitlines()) - - @property - def requires(self) -> Optional[List[str]]: - """Generated requirements specified for this Distribution""" - reqs = self._read_dist_info_reqs() or self._read_egg_info_reqs() - return reqs and list(reqs) - - def _read_dist_info_reqs(self): - return self.metadata.get_all('Requires-Dist') - - def _read_egg_info_reqs(self): - source = self.read_text('requires.txt') - return pass_none(self._deps_from_requires_text)(source) - - @classmethod - def _deps_from_requires_text(cls, source): - return cls._convert_egg_info_reqs_to_simple_reqs(Sectioned.read(source)) - - @staticmethod - def _convert_egg_info_reqs_to_simple_reqs(sections): - """ - Historically, setuptools would solicit and store 'extra' - requirements, including those with environment markers, - in separate sections. More modern tools expect each - dependency to be defined separately, with any relevant - extras and environment markers attached directly to that - requirement. This method converts the former to the - latter. See _test_deps_from_requires_text for an example. - """ - - def make_condition(name): - return name and f'extra == "{name}"' - - def quoted_marker(section): - section = section or '' - extra, sep, markers = section.partition(':') - if extra and markers: - markers = f'({markers})' - conditions = list(filter(None, [markers, make_condition(extra)])) - return '; ' + ' and '.join(conditions) if conditions else '' - - def url_req_space(req): - """ - PEP 508 requires a space between the url_spec and the quoted_marker. - Ref python/importlib_metadata#357. - """ - # '@' is uniquely indicative of a url_req. - return ' ' * ('@' in req) - - for section in sections: - space = url_req_space(section.value) - yield section.value + space + quoted_marker(section.name) - - @property - def origin(self): - return self._load_json('direct_url.json') - - def _load_json(self, filename): - return pass_none(json.loads)( - self.read_text(filename), - object_hook=lambda data: types.SimpleNamespace(**data), - ) - - -class DistributionFinder(MetaPathFinder): - """ - A MetaPathFinder capable of discovering installed distributions. - - Custom providers should implement this interface in order to - supply metadata. - """ - - class Context: - """ - Keyword arguments presented by the caller to - ``distributions()`` or ``Distribution.discover()`` - to narrow the scope of a search for distributions - in all DistributionFinders. - - Each DistributionFinder may expect any parameters - and should attempt to honor the canonical - parameters defined below when appropriate. - - This mechanism gives a custom provider a means to - solicit additional details from the caller beyond - "name" and "path" when searching distributions. - For example, imagine a provider that exposes suites - of packages in either a "public" or "private" ``realm``. - A caller may wish to query only for distributions in - a particular realm and could call - ``distributions(realm="private")`` to signal to the - custom provider to only include distributions from that - realm. - """ - - name = None - """ - Specific name for which a distribution finder should match. - A name of ``None`` matches all distributions. - """ - - def __init__(self, **kwargs): - vars(self).update(kwargs) - - @property - def path(self) -> List[str]: - """ - The sequence of directory path that a distribution finder - should search. - - Typically refers to Python installed package paths such as - "site-packages" directories and defaults to ``sys.path``. - """ - return vars(self).get('path', sys.path) - - @abc.abstractmethod - def find_distributions(self, context=Context()) -> Iterable[Distribution]: - """ - Find distributions. - - Return an iterable of all Distribution instances capable of - loading the metadata for packages matching the ``context``, - a DistributionFinder.Context instance. - """ - - -class FastPath: - """ - Micro-optimized class for searching a root for children. - - Root is a path on the file system that may contain metadata - directories either as natural directories or within a zip file. - - >>> FastPath('').children() - ['...'] - - FastPath objects are cached and recycled for any given root. - - >>> FastPath('foobar') is FastPath('foobar') - True - """ - - @functools.lru_cache() # type: ignore - def __new__(cls, root): - return super().__new__(cls) - - def __init__(self, root): - self.root = root - - def joinpath(self, child): - return pathlib.Path(self.root, child) - - def children(self): - with suppress(Exception): - return os.listdir(self.root or '.') - with suppress(Exception): - return self.zip_children() - return [] - - def zip_children(self): - zip_path = zipp.Path(self.root) - names = zip_path.root.namelist() - self.joinpath = zip_path.joinpath - - return dict.fromkeys(child.split(posixpath.sep, 1)[0] for child in names) - - def search(self, name): - return self.lookup(self.mtime).search(name) - - @property - def mtime(self): - with suppress(OSError): - return os.stat(self.root).st_mtime - self.lookup.cache_clear() - - @method_cache - def lookup(self, mtime): - return Lookup(self) - - -class Lookup: - """ - A micro-optimized class for searching a (fast) path for metadata. - """ - - def __init__(self, path: FastPath): - """ - Calculate all of the children representing metadata. - - From the children in the path, calculate early all of the - children that appear to represent metadata (infos) or legacy - metadata (eggs). - """ - - base = os.path.basename(path.root).lower() - base_is_egg = base.endswith(".egg") - self.infos = FreezableDefaultDict(list) - self.eggs = FreezableDefaultDict(list) - - for child in path.children(): - low = child.lower() - if low.endswith((".dist-info", ".egg-info")): - # rpartition is faster than splitext and suitable for this purpose. - name = low.rpartition(".")[0].partition("-")[0] - normalized = Prepared.normalize(name) - self.infos[normalized].append(path.joinpath(child)) - elif base_is_egg and low == "egg-info": - name = base.rpartition(".")[0].partition("-")[0] - legacy_normalized = Prepared.legacy_normalize(name) - self.eggs[legacy_normalized].append(path.joinpath(child)) - - self.infos.freeze() - self.eggs.freeze() - - def search(self, prepared: Prepared): - """ - Yield all infos and eggs matching the Prepared query. - """ - infos = ( - self.infos[prepared.normalized] - if prepared - else itertools.chain.from_iterable(self.infos.values()) - ) - eggs = ( - self.eggs[prepared.legacy_normalized] - if prepared - else itertools.chain.from_iterable(self.eggs.values()) - ) - return itertools.chain(infos, eggs) - - -class Prepared: - """ - A prepared search query for metadata on a possibly-named package. - - Pre-calculates the normalization to prevent repeated operations. - - >>> none = Prepared(None) - >>> none.normalized - >>> none.legacy_normalized - >>> bool(none) - False - >>> sample = Prepared('Sample__Pkg-name.foo') - >>> sample.normalized - 'sample_pkg_name_foo' - >>> sample.legacy_normalized - 'sample__pkg_name.foo' - >>> bool(sample) - True - """ - - normalized = None - legacy_normalized = None - - def __init__(self, name: Optional[str]): - self.name = name - if name is None: - return - self.normalized = self.normalize(name) - self.legacy_normalized = self.legacy_normalize(name) - - @staticmethod - def normalize(name): - """ - PEP 503 normalization plus dashes as underscores. - """ - return re.sub(r"[-_.]+", "-", name).lower().replace('-', '_') - - @staticmethod - def legacy_normalize(name): - """ - Normalize the package name as found in the convention in - older packaging tools versions and specs. - """ - return name.lower().replace('-', '_') - - def __bool__(self): - return bool(self.name) - - -@install -class MetadataPathFinder(NullFinder, DistributionFinder): - """A degenerate finder for distribution packages on the file system. - - This finder supplies only a find_distributions() method for versions - of Python that do not have a PathFinder find_distributions(). - """ - - @classmethod - def find_distributions( - cls, context=DistributionFinder.Context() - ) -> Iterable[PathDistribution]: - """ - Find distributions. - - Return an iterable of all Distribution instances capable of - loading the metadata for packages matching ``context.name`` - (or all names if ``None`` indicated) along the paths in the list - of directories ``context.path``. - """ - found = cls._search_paths(context.name, context.path) - return map(PathDistribution, found) - - @classmethod - def _search_paths(cls, name, paths): - """Find metadata directories in paths heuristically.""" - prepared = Prepared(name) - return itertools.chain.from_iterable( - path.search(prepared) for path in map(FastPath, paths) - ) - - @classmethod - def invalidate_caches(cls) -> None: - FastPath.__new__.cache_clear() - - -class PathDistribution(Distribution): - def __init__(self, path: SimplePath) -> None: - """Construct a distribution. - - :param path: SimplePath indicating the metadata directory. - """ - self._path = path - - def read_text(self, filename: str | os.PathLike[str]) -> Optional[str]: - with suppress( - FileNotFoundError, - IsADirectoryError, - KeyError, - NotADirectoryError, - PermissionError, - ): - return self._path.joinpath(filename).read_text(encoding='utf-8') - - return None - - read_text.__doc__ = Distribution.read_text.__doc__ - - def locate_file(self, path: str | os.PathLike[str]) -> SimplePath: - return self._path.parent / path - - @property - def _normalized_name(self): - """ - Performance optimization: where possible, resolve the - normalized name from the file system path. - """ - stem = os.path.basename(str(self._path)) - return ( - pass_none(Prepared.normalize)(self._name_from_stem(stem)) - or super()._normalized_name - ) - - @staticmethod - def _name_from_stem(stem): - """ - >>> PathDistribution._name_from_stem('foo-3.0.egg-info') - 'foo' - >>> PathDistribution._name_from_stem('CherryPy-3.0.dist-info') - 'CherryPy' - >>> PathDistribution._name_from_stem('face.egg-info') - 'face' - >>> PathDistribution._name_from_stem('foo.bar') - """ - filename, ext = os.path.splitext(stem) - if ext not in ('.dist-info', '.egg-info'): - return - name, sep, rest = filename.partition('-') - return name - - -def distribution(distribution_name: str) -> Distribution: - """Get the ``Distribution`` instance for the named package. - - :param distribution_name: The name of the distribution package as a string. - :return: A ``Distribution`` instance (or subclass thereof). - """ - return Distribution.from_name(distribution_name) - - -def distributions(**kwargs) -> Iterable[Distribution]: - """Get all ``Distribution`` instances in the current environment. - - :return: An iterable of ``Distribution`` instances. - """ - return Distribution.discover(**kwargs) - - -def metadata(distribution_name: str) -> _meta.PackageMetadata: - """Get the metadata for the named package. - - :param distribution_name: The name of the distribution package to query. - :return: A PackageMetadata containing the parsed metadata. - """ - return Distribution.from_name(distribution_name).metadata - - -def version(distribution_name: str) -> str: - """Get the version string for the named package. - - :param distribution_name: The name of the distribution package to query. - :return: The version string for the package as defined in the package's - "Version" metadata key. - """ - return distribution(distribution_name).version - - -_unique = functools.partial( - unique_everseen, - key=py39.normalized_name, -) -""" -Wrapper for ``distributions`` to return unique distributions by name. -""" - - -def entry_points(**params) -> EntryPoints: - """Return EntryPoint objects for all installed packages. - - Pass selection parameters (group or name) to filter the - result to entry points matching those properties (see - EntryPoints.select()). - - :return: EntryPoints for all installed packages. - """ - eps = itertools.chain.from_iterable( - dist.entry_points for dist in _unique(distributions()) - ) - return EntryPoints(eps).select(**params) - - -def files(distribution_name: str) -> Optional[List[PackagePath]]: - """Return a list of files for the named package. - - :param distribution_name: The name of the distribution package to query. - :return: List of files composing the distribution. - """ - return distribution(distribution_name).files - - -def requires(distribution_name: str) -> Optional[List[str]]: - """ - Return a list of requirements for the named package. - - :return: An iterable of requirements, suitable for - packaging.requirement.Requirement. - """ - return distribution(distribution_name).requires - - -def packages_distributions() -> Mapping[str, List[str]]: - """ - Return a mapping of top-level packages to their - distributions. - - >>> import collections.abc - >>> pkgs = packages_distributions() - >>> all(isinstance(dist, collections.abc.Sequence) for dist in pkgs.values()) - True - """ - pkg_to_dist = collections.defaultdict(list) - for dist in distributions(): - for pkg in _top_level_declared(dist) or _top_level_inferred(dist): - pkg_to_dist[pkg].append(dist.metadata['Name']) - return dict(pkg_to_dist) - - -def _top_level_declared(dist): - return (dist.read_text('top_level.txt') or '').split() - - -def _topmost(name: PackagePath) -> Optional[str]: - """ - Return the top-most parent as long as there is a parent. - """ - top, *rest = name.parts - return top if rest else None - - -def _get_toplevel_name(name: PackagePath) -> str: - """ - Infer a possibly importable module name from a name presumed on - sys.path. - - >>> _get_toplevel_name(PackagePath('foo.py')) - 'foo' - >>> _get_toplevel_name(PackagePath('foo')) - 'foo' - >>> _get_toplevel_name(PackagePath('foo.pyc')) - 'foo' - >>> _get_toplevel_name(PackagePath('foo/__init__.py')) - 'foo' - >>> _get_toplevel_name(PackagePath('foo.pth')) - 'foo.pth' - >>> _get_toplevel_name(PackagePath('foo.dist-info')) - 'foo.dist-info' - """ - return _topmost(name) or ( - # python/typeshed#10328 - inspect.getmodulename(name) # type: ignore - or str(name) - ) - - -def _top_level_inferred(dist): - opt_names = set(map(_get_toplevel_name, always_iterable(dist.files))) - - def importable_name(name): - return '.' not in name - - return filter(importable_name, opt_names) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 1f92a837..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_adapters.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_adapters.cpython-312.pyc deleted file mode 100644 index aa51fd9c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_adapters.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_collections.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_collections.cpython-312.pyc deleted file mode 100644 index 972a5204..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_collections.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_compat.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_compat.cpython-312.pyc deleted file mode 100644 index 67b63290..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_compat.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_functools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_functools.cpython-312.pyc deleted file mode 100644 index 201fcd95..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_functools.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_itertools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_itertools.cpython-312.pyc deleted file mode 100644 index ffb478e9..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_itertools.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_meta.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_meta.cpython-312.pyc deleted file mode 100644 index 5ede45cb..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_meta.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_text.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_text.cpython-312.pyc deleted file mode 100644 index 44f0f719..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/_text.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/diagnose.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/diagnose.cpython-312.pyc deleted file mode 100644 index 8c1fc6ac..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/__pycache__/diagnose.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_adapters.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_adapters.py deleted file mode 100644 index 6223263e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_adapters.py +++ /dev/null @@ -1,83 +0,0 @@ -import re -import textwrap -import email.message - -from ._text import FoldedCase - - -class Message(email.message.Message): - multiple_use_keys = set( - map( - FoldedCase, - [ - 'Classifier', - 'Obsoletes-Dist', - 'Platform', - 'Project-URL', - 'Provides-Dist', - 'Provides-Extra', - 'Requires-Dist', - 'Requires-External', - 'Supported-Platform', - 'Dynamic', - ], - ) - ) - """ - Keys that may be indicated multiple times per PEP 566. - """ - - def __new__(cls, orig: email.message.Message): - res = super().__new__(cls) - vars(res).update(vars(orig)) - return res - - def __init__(self, *args, **kwargs): - self._headers = self._repair_headers() - - # suppress spurious error from mypy - def __iter__(self): - return super().__iter__() - - def __getitem__(self, item): - """ - Override parent behavior to typical dict behavior. - - ``email.message.Message`` will emit None values for missing - keys. Typical mappings, including this ``Message``, will raise - a key error for missing keys. - - Ref python/importlib_metadata#371. - """ - res = super().__getitem__(item) - if res is None: - raise KeyError(item) - return res - - def _repair_headers(self): - def redent(value): - "Correct for RFC822 indentation" - if not value or '\n' not in value: - return value - return textwrap.dedent(' ' * 8 + value) - - headers = [(key, redent(value)) for key, value in vars(self)['_headers']] - if self._payload: - headers.append(('Description', self.get_payload())) - return headers - - @property - def json(self): - """ - Convert PackageMetadata to a JSON-compatible format - per PEP 0566. - """ - - def transform(key): - value = self.get_all(key) if key in self.multiple_use_keys else self[key] - if key == 'Keywords': - value = re.split(r'\s+', value) - tk = key.lower().replace('-', '_') - return tk, value - - return dict(map(transform, map(FoldedCase, self))) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_collections.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_collections.py deleted file mode 100644 index cf0954e1..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_collections.py +++ /dev/null @@ -1,30 +0,0 @@ -import collections - - -# from jaraco.collections 3.3 -class FreezableDefaultDict(collections.defaultdict): - """ - Often it is desirable to prevent the mutation of - a default dict after its initial construction, such - as to prevent mutation during iteration. - - >>> dd = FreezableDefaultDict(list) - >>> dd[0].append('1') - >>> dd.freeze() - >>> dd[1] - [] - >>> len(dd) - 1 - """ - - def __missing__(self, key): - return getattr(self, '_frozen', super().__missing__)(key) - - def freeze(self): - self._frozen = lambda key: self.default_factory() - - -class Pair(collections.namedtuple('Pair', 'name value')): - @classmethod - def parse(cls, text): - return cls(*map(str.strip, text.split("=", 1))) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_compat.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_compat.py deleted file mode 100644 index df312b1c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_compat.py +++ /dev/null @@ -1,57 +0,0 @@ -import sys -import platform - - -__all__ = ['install', 'NullFinder'] - - -def install(cls): - """ - Class decorator for installation on sys.meta_path. - - Adds the backport DistributionFinder to sys.meta_path and - attempts to disable the finder functionality of the stdlib - DistributionFinder. - """ - sys.meta_path.append(cls()) - disable_stdlib_finder() - return cls - - -def disable_stdlib_finder(): - """ - Give the backport primacy for discovering path-based distributions - by monkey-patching the stdlib O_O. - - See #91 for more background for rationale on this sketchy - behavior. - """ - - def matches(finder): - return getattr( - finder, '__module__', None - ) == '_frozen_importlib_external' and hasattr(finder, 'find_distributions') - - for finder in filter(matches, sys.meta_path): # pragma: nocover - del finder.find_distributions - - -class NullFinder: - """ - A "Finder" (aka "MetaPathFinder") that never finds any modules, - but may find distributions. - """ - - @staticmethod - def find_spec(*args, **kwargs): - return None - - -def pypy_partial(val): - """ - Adjust for variable stacklevel on partial under PyPy. - - Workaround for #327. - """ - is_pypy = platform.python_implementation() == 'PyPy' - return val + is_pypy diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_functools.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_functools.py deleted file mode 100644 index 71f66bd0..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_functools.py +++ /dev/null @@ -1,104 +0,0 @@ -import types -import functools - - -# from jaraco.functools 3.3 -def method_cache(method, cache_wrapper=None): - """ - Wrap lru_cache to support storing the cache data in the object instances. - - Abstracts the common paradigm where the method explicitly saves an - underscore-prefixed protected property on first call and returns that - subsequently. - - >>> class MyClass: - ... calls = 0 - ... - ... @method_cache - ... def method(self, value): - ... self.calls += 1 - ... return value - - >>> a = MyClass() - >>> a.method(3) - 3 - >>> for x in range(75): - ... res = a.method(x) - >>> a.calls - 75 - - Note that the apparent behavior will be exactly like that of lru_cache - except that the cache is stored on each instance, so values in one - instance will not flush values from another, and when an instance is - deleted, so are the cached values for that instance. - - >>> b = MyClass() - >>> for x in range(35): - ... res = b.method(x) - >>> b.calls - 35 - >>> a.method(0) - 0 - >>> a.calls - 75 - - Note that if method had been decorated with ``functools.lru_cache()``, - a.calls would have been 76 (due to the cached value of 0 having been - flushed by the 'b' instance). - - Clear the cache with ``.cache_clear()`` - - >>> a.method.cache_clear() - - Same for a method that hasn't yet been called. - - >>> c = MyClass() - >>> c.method.cache_clear() - - Another cache wrapper may be supplied: - - >>> cache = functools.lru_cache(maxsize=2) - >>> MyClass.method2 = method_cache(lambda self: 3, cache_wrapper=cache) - >>> a = MyClass() - >>> a.method2() - 3 - - Caution - do not subsequently wrap the method with another decorator, such - as ``@property``, which changes the semantics of the function. - - See also - http://code.activestate.com/recipes/577452-a-memoize-decorator-for-instance-methods/ - for another implementation and additional justification. - """ - cache_wrapper = cache_wrapper or functools.lru_cache() - - def wrapper(self, *args, **kwargs): - # it's the first call, replace the method with a cached, bound method - bound_method = types.MethodType(method, self) - cached_method = cache_wrapper(bound_method) - setattr(self, method.__name__, cached_method) - return cached_method(*args, **kwargs) - - # Support cache clear even before cache has been created. - wrapper.cache_clear = lambda: None - - return wrapper - - -# From jaraco.functools 3.3 -def pass_none(func): - """ - Wrap func so it's not called if its first param is None - - >>> print_text = pass_none(print) - >>> print_text('text') - text - >>> print_text(None) - """ - - @functools.wraps(func) - def wrapper(param, *args, **kwargs): - if param is not None: - return func(param, *args, **kwargs) - - return wrapper diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_itertools.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_itertools.py deleted file mode 100644 index d4ca9b91..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_itertools.py +++ /dev/null @@ -1,73 +0,0 @@ -from itertools import filterfalse - - -def unique_everseen(iterable, key=None): - "List unique elements, preserving order. Remember all elements ever seen." - # unique_everseen('AAAABBBCCDAABBB') --> A B C D - # unique_everseen('ABBCcAD', str.lower) --> A B C D - seen = set() - seen_add = seen.add - if key is None: - for element in filterfalse(seen.__contains__, iterable): - seen_add(element) - yield element - else: - for element in iterable: - k = key(element) - if k not in seen: - seen_add(k) - yield element - - -# copied from more_itertools 8.8 -def always_iterable(obj, base_type=(str, bytes)): - """If *obj* is iterable, return an iterator over its items:: - - >>> obj = (1, 2, 3) - >>> list(always_iterable(obj)) - [1, 2, 3] - - If *obj* is not iterable, return a one-item iterable containing *obj*:: - - >>> obj = 1 - >>> list(always_iterable(obj)) - [1] - - If *obj* is ``None``, return an empty iterable: - - >>> obj = None - >>> list(always_iterable(None)) - [] - - By default, binary and text strings are not considered iterable:: - - >>> obj = 'foo' - >>> list(always_iterable(obj)) - ['foo'] - - If *base_type* is set, objects for which ``isinstance(obj, base_type)`` - returns ``True`` won't be considered iterable. - - >>> obj = {'a': 1} - >>> list(always_iterable(obj)) # Iterate over the dict's keys - ['a'] - >>> list(always_iterable(obj, base_type=dict)) # Treat dicts as a unit - [{'a': 1}] - - Set *base_type* to ``None`` to avoid any special handling and treat objects - Python considers iterable as iterable: - - >>> obj = 'foo' - >>> list(always_iterable(obj, base_type=None)) - ['f', 'o', 'o'] - """ - if obj is None: - return iter(()) - - if (base_type is not None) and isinstance(obj, base_type): - return iter((obj,)) - - try: - return iter(obj) - except TypeError: - return iter((obj,)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_meta.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_meta.py deleted file mode 100644 index 1927d0f6..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_meta.py +++ /dev/null @@ -1,67 +0,0 @@ -from __future__ import annotations - -import os -from typing import Protocol -from typing import Any, Dict, Iterator, List, Optional, TypeVar, Union, overload - - -_T = TypeVar("_T") - - -class PackageMetadata(Protocol): - def __len__(self) -> int: ... # pragma: no cover - - def __contains__(self, item: str) -> bool: ... # pragma: no cover - - def __getitem__(self, key: str) -> str: ... # pragma: no cover - - def __iter__(self) -> Iterator[str]: ... # pragma: no cover - - @overload - def get( - self, name: str, failobj: None = None - ) -> Optional[str]: ... # pragma: no cover - - @overload - def get(self, name: str, failobj: _T) -> Union[str, _T]: ... # pragma: no cover - - # overload per python/importlib_metadata#435 - @overload - def get_all( - self, name: str, failobj: None = None - ) -> Optional[List[Any]]: ... # pragma: no cover - - @overload - def get_all(self, name: str, failobj: _T) -> Union[List[Any], _T]: - """ - Return all values associated with a possibly multi-valued key. - """ - - @property - def json(self) -> Dict[str, Union[str, List[str]]]: - """ - A JSON-compatible form of the metadata. - """ - - -class SimplePath(Protocol): - """ - A minimal subset of pathlib.Path required by Distribution. - """ - - def joinpath( - self, other: Union[str, os.PathLike[str]] - ) -> SimplePath: ... # pragma: no cover - - def __truediv__( - self, other: Union[str, os.PathLike[str]] - ) -> SimplePath: ... # pragma: no cover - - @property - def parent(self) -> SimplePath: ... # pragma: no cover - - def read_text(self, encoding=None) -> str: ... # pragma: no cover - - def read_bytes(self) -> bytes: ... # pragma: no cover - - def exists(self) -> bool: ... # pragma: no cover diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_text.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_text.py deleted file mode 100644 index c88cfbb2..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/_text.py +++ /dev/null @@ -1,99 +0,0 @@ -import re - -from ._functools import method_cache - - -# from jaraco.text 3.5 -class FoldedCase(str): - """ - A case insensitive string class; behaves just like str - except compares equal when the only variation is case. - - >>> s = FoldedCase('hello world') - - >>> s == 'Hello World' - True - - >>> 'Hello World' == s - True - - >>> s != 'Hello World' - False - - >>> s.index('O') - 4 - - >>> s.split('O') - ['hell', ' w', 'rld'] - - >>> sorted(map(FoldedCase, ['GAMMA', 'alpha', 'Beta'])) - ['alpha', 'Beta', 'GAMMA'] - - Sequence membership is straightforward. - - >>> "Hello World" in [s] - True - >>> s in ["Hello World"] - True - - You may test for set inclusion, but candidate and elements - must both be folded. - - >>> FoldedCase("Hello World") in {s} - True - >>> s in {FoldedCase("Hello World")} - True - - String inclusion works as long as the FoldedCase object - is on the right. - - >>> "hello" in FoldedCase("Hello World") - True - - But not if the FoldedCase object is on the left: - - >>> FoldedCase('hello') in 'Hello World' - False - - In that case, use in_: - - >>> FoldedCase('hello').in_('Hello World') - True - - >>> FoldedCase('hello') > FoldedCase('Hello') - False - """ - - def __lt__(self, other): - return self.lower() < other.lower() - - def __gt__(self, other): - return self.lower() > other.lower() - - def __eq__(self, other): - return self.lower() == other.lower() - - def __ne__(self, other): - return self.lower() != other.lower() - - def __hash__(self): - return hash(self.lower()) - - def __contains__(self, other): - return super().lower().__contains__(other.lower()) - - def in_(self, other): - "Does self appear in other?" - return self in FoldedCase(other) - - # cache lower since it's likely to be called frequently. - @method_cache - def lower(self): - return super().lower() - - def index(self, sub): - return self.lower().index(sub.lower()) - - def split(self, splitter=' ', maxsplit=0): - pattern = re.compile(re.escape(splitter), re.I) - return pattern.split(self, maxsplit) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 34deabcf..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__pycache__/py311.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__pycache__/py311.cpython-312.pyc deleted file mode 100644 index 34d03240..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__pycache__/py311.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__pycache__/py39.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__pycache__/py39.cpython-312.pyc deleted file mode 100644 index 65cd2dab..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/__pycache__/py39.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/py311.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/py311.py deleted file mode 100644 index 3a532743..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/py311.py +++ /dev/null @@ -1,22 +0,0 @@ -import os -import pathlib -import sys -import types - - -def wrap(path): # pragma: no cover - """ - Workaround for https://github.com/python/cpython/issues/84538 - to add backward compatibility for walk_up=True. - An example affected package is dask-labextension, which uses - jupyter-packaging to install JupyterLab javascript files outside - of site-packages. - """ - - def relative_to(root, *, walk_up=False): - return pathlib.Path(os.path.relpath(path, root)) - - return types.SimpleNamespace(relative_to=relative_to) - - -relative_fix = wrap if sys.version_info < (3, 12) else lambda x: x diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/py39.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/py39.py deleted file mode 100644 index 1f15bd97..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/compat/py39.py +++ /dev/null @@ -1,36 +0,0 @@ -""" -Compatibility layer with Python 3.8/3.9 -""" - -from typing import TYPE_CHECKING, Any, Optional - -if TYPE_CHECKING: # pragma: no cover - # Prevent circular imports on runtime. - from .. import Distribution, EntryPoint -else: - Distribution = EntryPoint = Any - - -def normalized_name(dist: Distribution) -> Optional[str]: - """ - Honor name normalization for distributions that don't provide ``_normalized_name``. - """ - try: - return dist._normalized_name - except AttributeError: - from .. import Prepared # -> delay to prevent circular imports. - - return Prepared.normalize(getattr(dist, "name", None) or dist.metadata['Name']) - - -def ep_matches(ep: EntryPoint, **params) -> bool: - """ - Workaround for ``EntryPoint`` objects without the ``matches`` method. - """ - try: - return ep.matches(**params) - except AttributeError: - from .. import EntryPoint # -> delay to prevent circular imports. - - # Reconstruct the EntryPoint object to make sure it is compatible. - return EntryPoint(ep.name, ep.value, ep.group).matches(**params) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/diagnose.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/diagnose.py deleted file mode 100644 index e405471a..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/diagnose.py +++ /dev/null @@ -1,21 +0,0 @@ -import sys - -from . import Distribution - - -def inspect(path): - print("Inspecting", path) - dists = list(Distribution.discover(path=[path])) - if not dists: - return - print("Found", len(dists), "packages:", end=' ') - print(', '.join(dist.name for dist in dists)) - - -def run(): - for path in sys.path: - inspect(path) - - -if __name__ == '__main__': - run() diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/py.typed b/.venv/lib/python3.12/site-packages/setuptools/_vendor/importlib_metadata/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/LICENSE deleted file mode 100644 index 1bb5a443..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -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/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/METADATA deleted file mode 100644 index 9a2097a5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/METADATA +++ /dev/null @@ -1,591 +0,0 @@ -Metadata-Version: 2.1 -Name: inflect -Version: 7.3.1 -Summary: Correctly generate plurals, singular nouns, ordinals, indefinite articles -Author-email: Paul Dyson -Maintainer-email: "Jason R. Coombs" -Project-URL: Source, https://github.com/jaraco/inflect -Keywords: plural,inflect,participle -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Natural Language :: English -Classifier: Operating System :: OS Independent -Classifier: Topic :: Software Development :: Libraries :: Python Modules -Classifier: Topic :: Text Processing :: Linguistic -Requires-Python: >=3.8 -Description-Content-Type: text/x-rst -License-File: LICENSE -Requires-Dist: more-itertools >=8.5.0 -Requires-Dist: typeguard >=4.0.1 -Requires-Dist: typing-extensions ; python_version < "3.9" -Provides-Extra: doc -Requires-Dist: sphinx >=3.5 ; extra == 'doc' -Requires-Dist: jaraco.packaging >=9.3 ; extra == 'doc' -Requires-Dist: rst.linker >=1.9 ; extra == 'doc' -Requires-Dist: furo ; extra == 'doc' -Requires-Dist: sphinx-lint ; extra == 'doc' -Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'doc' -Provides-Extra: test -Requires-Dist: pytest !=8.1.*,>=6 ; extra == 'test' -Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'test' -Requires-Dist: pytest-cov ; extra == 'test' -Requires-Dist: pytest-mypy ; extra == 'test' -Requires-Dist: pytest-enabler >=2.2 ; extra == 'test' -Requires-Dist: pytest-ruff >=0.2.1 ; extra == 'test' -Requires-Dist: pygments ; extra == 'test' - -.. image:: https://img.shields.io/pypi/v/inflect.svg - :target: https://pypi.org/project/inflect - -.. image:: https://img.shields.io/pypi/pyversions/inflect.svg - -.. image:: https://github.com/jaraco/inflect/actions/workflows/main.yml/badge.svg - :target: https://github.com/jaraco/inflect/actions?query=workflow%3A%22tests%22 - :alt: tests - -.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json - :target: https://github.com/astral-sh/ruff - :alt: Ruff - -.. image:: https://readthedocs.org/projects/inflect/badge/?version=latest - :target: https://inflect.readthedocs.io/en/latest/?badge=latest - -.. image:: https://img.shields.io/badge/skeleton-2024-informational - :target: https://blog.jaraco.com/skeleton - -.. image:: https://tidelift.com/badges/package/pypi/inflect - :target: https://tidelift.com/subscription/pkg/pypi-inflect?utm_source=pypi-inflect&utm_medium=readme - -NAME -==== - -inflect.py - Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words. - -SYNOPSIS -======== - -.. code-block:: python - - import inflect - - p = inflect.engine() - - # METHODS: - - # plural plural_noun plural_verb plural_adj singular_noun no num - # compare compare_nouns compare_nouns compare_adjs - # a an - # present_participle - # ordinal number_to_words - # join - # inflect classical gender - # defnoun defverb defadj defa defan - - - # UNCONDITIONALLY FORM THE PLURAL - - print("The plural of ", word, " is ", p.plural(word)) - - - # CONDITIONALLY FORM THE PLURAL - - print("I saw", cat_count, p.plural("cat", cat_count)) - - - # FORM PLURALS FOR SPECIFIC PARTS OF SPEECH - - print( - p.plural_noun("I", N1), - p.plural_verb("saw", N1), - p.plural_adj("my", N2), - p.plural_noun("saw", N2), - ) - - - # FORM THE SINGULAR OF PLURAL NOUNS - - print("The singular of ", word, " is ", p.singular_noun(word)) - - # SELECT THE GENDER OF SINGULAR PRONOUNS - - print(p.singular_noun("they")) # 'it' - p.gender("feminine") - print(p.singular_noun("they")) # 'she' - - - # DEAL WITH "0/1/N" -> "no/1/N" TRANSLATION: - - print("There ", p.plural_verb("was", errors), p.no(" error", errors)) - - - # USE DEFAULT COUNTS: - - print( - p.num(N1, ""), - p.plural("I"), - p.plural_verb(" saw"), - p.num(N2), - p.plural_noun(" saw"), - ) - print("There ", p.num(errors, ""), p.plural_verb("was"), p.no(" error")) - - - # COMPARE TWO WORDS "NUMBER-INSENSITIVELY": - - if p.compare(word1, word2): - print("same") - if p.compare_nouns(word1, word2): - print("same noun") - if p.compare_verbs(word1, word2): - print("same verb") - if p.compare_adjs(word1, word2): - print("same adj.") - - - # ADD CORRECT "a" OR "an" FOR A GIVEN WORD: - - print("Did you want ", p.a(thing), " or ", p.an(idea)) - - - # CONVERT NUMERALS INTO ORDINALS (i.e. 1->1st, 2->2nd, 3->3rd, etc.) - - print("It was", p.ordinal(position), " from the left\n") - - # CONVERT NUMERALS TO WORDS (i.e. 1->"one", 101->"one hundred and one", etc.) - # RETURNS A SINGLE STRING... - - words = p.number_to_words(1234) - # "one thousand, two hundred and thirty-four" - words = p.number_to_words(p.ordinal(1234)) - # "one thousand, two hundred and thirty-fourth" - - - # GET BACK A LIST OF STRINGS, ONE FOR EACH "CHUNK"... - - words = p.number_to_words(1234, wantlist=True) - # ("one thousand","two hundred and thirty-four") - - - # OPTIONAL PARAMETERS CHANGE TRANSLATION: - - words = p.number_to_words(12345, group=1) - # "one, two, three, four, five" - - words = p.number_to_words(12345, group=2) - # "twelve, thirty-four, five" - - words = p.number_to_words(12345, group=3) - # "one twenty-three, forty-five" - - words = p.number_to_words(1234, andword="") - # "one thousand, two hundred thirty-four" - - words = p.number_to_words(1234, andword=", plus") - # "one thousand, two hundred, plus thirty-four" - # TODO: I get no comma before plus: check perl - - words = p.number_to_words(555_1202, group=1, zero="oh") - # "five, five, five, one, two, oh, two" - - words = p.number_to_words(555_1202, group=1, one="unity") - # "five, five, five, unity, two, oh, two" - - words = p.number_to_words(123.456, group=1, decimal="mark") - # "one two three mark four five six" - # TODO: DOCBUG: perl gives commas here as do I - - # LITERAL STYLE ONLY NAMES NUMBERS LESS THAN A CERTAIN THRESHOLD... - - words = p.number_to_words(9, threshold=10) # "nine" - words = p.number_to_words(10, threshold=10) # "ten" - words = p.number_to_words(11, threshold=10) # "11" - words = p.number_to_words(1000, threshold=10) # "1,000" - - # JOIN WORDS INTO A LIST: - - mylist = p.join(("apple", "banana", "carrot")) - # "apple, banana, and carrot" - - mylist = p.join(("apple", "banana")) - # "apple and banana" - - mylist = p.join(("apple", "banana", "carrot"), final_sep="") - # "apple, banana and carrot" - - - # REQUIRE "CLASSICAL" PLURALS (EG: "focus"->"foci", "cherub"->"cherubim") - - p.classical() # USE ALL CLASSICAL PLURALS - - p.classical(all=True) # USE ALL CLASSICAL PLURALS - p.classical(all=False) # SWITCH OFF CLASSICAL MODE - - p.classical(zero=True) # "no error" INSTEAD OF "no errors" - p.classical(zero=False) # "no errors" INSTEAD OF "no error" - - p.classical(herd=True) # "2 buffalo" INSTEAD OF "2 buffalos" - p.classical(herd=False) # "2 buffalos" INSTEAD OF "2 buffalo" - - p.classical(persons=True) # "2 chairpersons" INSTEAD OF "2 chairpeople" - p.classical(persons=False) # "2 chairpeople" INSTEAD OF "2 chairpersons" - - p.classical(ancient=True) # "2 formulae" INSTEAD OF "2 formulas" - p.classical(ancient=False) # "2 formulas" INSTEAD OF "2 formulae" - - - # INTERPOLATE "plural()", "plural_noun()", "plural_verb()", "plural_adj()", "singular_noun()", - # a()", "an()", "num()" AND "ordinal()" WITHIN STRINGS: - - print(p.inflect("The plural of {0} is plural('{0}')".format(word))) - print(p.inflect("The singular of {0} is singular_noun('{0}')".format(word))) - print(p.inflect("I saw {0} plural('cat',{0})".format(cat_count))) - print( - p.inflect( - "plural('I',{0}) " - "plural_verb('saw',{0}) " - "plural('a',{1}) " - "plural_noun('saw',{1})".format(N1, N2) - ) - ) - print( - p.inflect( - "num({0}, False)plural('I') " - "plural_verb('saw') " - "num({1}, False)plural('a') " - "plural_noun('saw')".format(N1, N2) - ) - ) - print(p.inflect("I saw num({0}) plural('cat')\nnum()".format(cat_count))) - print(p.inflect("There plural_verb('was',{0}) no('error',{0})".format(errors))) - print(p.inflect("There num({0}, False)plural_verb('was') no('error')".format(errors))) - print(p.inflect("Did you want a('{0}') or an('{1}')".format(thing, idea))) - print(p.inflect("It was ordinal('{0}') from the left".format(position))) - - - # ADD USER-DEFINED INFLECTIONS (OVERRIDING INBUILT RULES): - - p.defnoun("VAX", "VAXen") # SINGULAR => PLURAL - - p.defverb( - "will", # 1ST PERSON SINGULAR - "shall", # 1ST PERSON PLURAL - "will", # 2ND PERSON SINGULAR - "will", # 2ND PERSON PLURAL - "will", # 3RD PERSON SINGULAR - "will", # 3RD PERSON PLURAL - ) - - p.defadj("hir", "their") # SINGULAR => PLURAL - - p.defa("h") # "AY HALWAYS SEZ 'HAITCH'!" - - p.defan("horrendous.*") # "AN HORRENDOUS AFFECTATION" - - -DESCRIPTION -=========== - -The methods of the class ``engine`` in module ``inflect.py`` provide plural -inflections, singular noun inflections, "a"/"an" selection for English words, -and manipulation of numbers as words. - -Plural forms of all nouns, most verbs, and some adjectives are -provided. Where appropriate, "classical" variants (for example: "brother" -> -"brethren", "dogma" -> "dogmata", etc.) are also provided. - -Single forms of nouns are also provided. The gender of singular pronouns -can be chosen (for example "they" -> "it" or "she" or "he" or "they"). - -Pronunciation-based "a"/"an" selection is provided for all English -words, and most initialisms. - -It is also possible to inflect numerals (1,2,3) to ordinals (1st, 2nd, 3rd) -and to English words ("one", "two", "three"). - -In generating these inflections, ``inflect.py`` follows the Oxford -English Dictionary and the guidelines in Fowler's Modern English -Usage, preferring the former where the two disagree. - -The module is built around standard British spelling, but is designed -to cope with common American variants as well. Slang, jargon, and -other English dialects are *not* explicitly catered for. - -Where two or more inflected forms exist for a single word (typically a -"classical" form and a "modern" form), ``inflect.py`` prefers the -more common form (typically the "modern" one), unless "classical" -processing has been specified -(see `MODERN VS CLASSICAL INFLECTIONS`). - -FORMING PLURALS AND SINGULARS -============================= - -Inflecting Plurals and Singulars --------------------------------- - -All of the ``plural...`` plural inflection methods take the word to be -inflected as their first argument and return the corresponding inflection. -Note that all such methods expect the *singular* form of the word. The -results of passing a plural form are undefined (and unlikely to be correct). -Similarly, the ``si...`` singular inflection method expects the *plural* -form of the word. - -The ``plural...`` methods also take an optional second argument, -which indicates the grammatical "number" of the word (or of another word -with which the word being inflected must agree). If the "number" argument is -supplied and is not ``1`` (or ``"one"`` or ``"a"``, or some other adjective that -implies the singular), the plural form of the word is returned. If the -"number" argument *does* indicate singularity, the (uninflected) word -itself is returned. If the number argument is omitted, the plural form -is returned unconditionally. - -The ``si...`` method takes a second argument in a similar fashion. If it is -some form of the number ``1``, or is omitted, the singular form is returned. -Otherwise the plural is returned unaltered. - - -The various methods of ``inflect.engine`` are: - - - -``plural_noun(word, count=None)`` - - The method ``plural_noun()`` takes a *singular* English noun or - pronoun and returns its plural. Pronouns in the nominative ("I" -> - "we") and accusative ("me" -> "us") cases are handled, as are - possessive pronouns ("mine" -> "ours"). - - -``plural_verb(word, count=None)`` - - The method ``plural_verb()`` takes the *singular* form of a - conjugated verb (that is, one which is already in the correct "person" - and "mood") and returns the corresponding plural conjugation. - - -``plural_adj(word, count=None)`` - - The method ``plural_adj()`` takes the *singular* form of - certain types of adjectives and returns the corresponding plural form. - Adjectives that are correctly handled include: "numerical" adjectives - ("a" -> "some"), demonstrative adjectives ("this" -> "these", "that" -> - "those"), and possessives ("my" -> "our", "cat's" -> "cats'", "child's" - -> "childrens'", etc.) - - -``plural(word, count=None)`` - - The method ``plural()`` takes a *singular* English noun, - pronoun, verb, or adjective and returns its plural form. Where a word - has more than one inflection depending on its part of speech (for - example, the noun "thought" inflects to "thoughts", the verb "thought" - to "thought"), the (singular) noun sense is preferred to the (singular) - verb sense. - - Hence ``plural("knife")`` will return "knives" ("knife" having been treated - as a singular noun), whereas ``plural("knifes")`` will return "knife" - ("knifes" having been treated as a 3rd person singular verb). - - The inherent ambiguity of such cases suggests that, - where the part of speech is known, ``plural_noun``, ``plural_verb``, and - ``plural_adj`` should be used in preference to ``plural``. - - -``singular_noun(word, count=None)`` - - The method ``singular_noun()`` takes a *plural* English noun or - pronoun and returns its singular. Pronouns in the nominative ("we" -> - "I") and accusative ("us" -> "me") cases are handled, as are - possessive pronouns ("ours" -> "mine"). When third person - singular pronouns are returned they take the neuter gender by default - ("they" -> "it"), not ("they"-> "she") nor ("they" -> "he"). This can be - changed with ``gender()``. - -Note that all these methods ignore any whitespace surrounding the -word being inflected, but preserve that whitespace when the result is -returned. For example, ``plural(" cat ")`` returns " cats ". - - -``gender(genderletter)`` - - The third person plural pronoun takes the same form for the female, male and - neuter (e.g. "they"). The singular however, depends upon gender (e.g. "she", - "he", "it" and "they" -- "they" being the gender neutral form.) By default - ``singular_noun`` returns the neuter form, however, the gender can be selected with - the ``gender`` method. Pass the first letter of the gender to - ``gender`` to return the f(eminine), m(asculine), n(euter) or t(hey) - form of the singular. e.g. - gender('f') followed by singular_noun('themselves') returns 'herself'. - -Numbered plurals ----------------- - -The ``plural...`` methods return only the inflected word, not the count that -was used to inflect it. Thus, in order to produce "I saw 3 ducks", it -is necessary to use: - -.. code-block:: python - - print("I saw", N, p.plural_noun(animal, N)) - -Since the usual purpose of producing a plural is to make it agree with -a preceding count, inflect.py provides a method -(``no(word, count)``) which, given a word and a(n optional) count, returns the -count followed by the correctly inflected word. Hence the previous -example can be rewritten: - -.. code-block:: python - - print("I saw ", p.no(animal, N)) - -In addition, if the count is zero (or some other term which implies -zero, such as ``"zero"``, ``"nil"``, etc.) the count is replaced by the -word "no". Hence, if ``N`` had the value zero, the previous example -would print (the somewhat more elegant):: - - I saw no animals - -rather than:: - - I saw 0 animals - -Note that the name of the method is a pun: the method -returns either a number (a *No.*) or a ``"no"``, in front of the -inflected word. - - -Reducing the number of counts required --------------------------------------- - -In some contexts, the need to supply an explicit count to the various -``plural...`` methods makes for tiresome repetition. For example: - -.. code-block:: python - - print( - plural_adj("This", errors), - plural_noun(" error", errors), - plural_verb(" was", errors), - " fatal.", - ) - -inflect.py therefore provides a method -(``num(count=None, show=None)``) which may be used to set a persistent "default number" -value. If such a value is set, it is subsequently used whenever an -optional second "number" argument is omitted. The default value thus set -can subsequently be removed by calling ``num()`` with no arguments. -Hence we could rewrite the previous example: - -.. code-block:: python - - p.num(errors) - print(p.plural_adj("This"), p.plural_noun(" error"), p.plural_verb(" was"), "fatal.") - p.num() - -Normally, ``num()`` returns its first argument, so that it may also -be "inlined" in contexts like: - -.. code-block:: python - - print(p.num(errors), p.plural_noun(" error"), p.plural_verb(" was"), " detected.") - if severity > 1: - print( - p.plural_adj("This"), p.plural_noun(" error"), p.plural_verb(" was"), "fatal." - ) - -However, in certain contexts (see `INTERPOLATING INFLECTIONS IN STRINGS`) -it is preferable that ``num()`` return an empty string. Hence ``num()`` -provides an optional second argument. If that argument is supplied (that is, if -it is defined) and evaluates to false, ``num`` returns an empty string -instead of its first argument. For example: - -.. code-block:: python - - print(p.num(errors, 0), p.no("error"), p.plural_verb(" was"), " detected.") - if severity > 1: - print( - p.plural_adj("This"), p.plural_noun(" error"), p.plural_verb(" was"), "fatal." - ) - - - -Number-insensitive equality ---------------------------- - -inflect.py also provides a solution to the problem -of comparing words of differing plurality through the methods -``compare(word1, word2)``, ``compare_nouns(word1, word2)``, -``compare_verbs(word1, word2)``, and ``compare_adjs(word1, word2)``. -Each of these methods takes two strings, and compares them -using the corresponding plural-inflection method (``plural()``, ``plural_noun()``, -``plural_verb()``, and ``plural_adj()`` respectively). - -The comparison returns true if: - -- the strings are equal, or -- one string is equal to a plural form of the other, or -- the strings are two different plural forms of the one word. - - -Hence all of the following return true: - -.. code-block:: python - - p.compare("index", "index") # RETURNS "eq" - p.compare("index", "indexes") # RETURNS "s:p" - p.compare("index", "indices") # RETURNS "s:p" - p.compare("indexes", "index") # RETURNS "p:s" - p.compare("indices", "index") # RETURNS "p:s" - p.compare("indices", "indexes") # RETURNS "p:p" - p.compare("indexes", "indices") # RETURNS "p:p" - p.compare("indices", "indices") # RETURNS "eq" - -As indicated by the comments in the previous example, the actual value -returned by the various ``compare`` methods encodes which of the -three equality rules succeeded: "eq" is returned if the strings were -identical, "s:p" if the strings were singular and plural respectively, -"p:s" for plural and singular, and "p:p" for two distinct plurals. -Inequality is indicated by returning an empty string. - -It should be noted that two distinct singular words which happen to take -the same plural form are *not* considered equal, nor are cases where -one (singular) word's plural is the other (plural) word's singular. -Hence all of the following return false: - -.. code-block:: python - - p.compare("base", "basis") # ALTHOUGH BOTH -> "bases" - p.compare("syrinx", "syringe") # ALTHOUGH BOTH -> "syringes" - p.compare("she", "he") # ALTHOUGH BOTH -> "they" - - p.compare("opus", "operas") # ALTHOUGH "opus" -> "opera" -> "operas" - p.compare("taxi", "taxes") # ALTHOUGH "taxi" -> "taxis" -> "taxes" - -Note too that, although the comparison is "number-insensitive" it is *not* -case-insensitive (that is, ``plural("time","Times")`` returns false. To obtain -both number and case insensitivity, use the ``lower()`` method on both strings -(that is, ``plural("time".lower(), "Times".lower())`` returns true). - -Related Functionality -===================== - -Shout out to these libraries that provide related functionality: - -* `WordSet `_ - parses identifiers like variable names into sets of words suitable for re-assembling - in another form. - -* `word2number `_ converts words to - a number. - - -For Enterprise -============== - -Available as part of the Tidelift Subscription. - -This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. - -`Learn more `_. diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/RECORD deleted file mode 100644 index 73ff576b..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/RECORD +++ /dev/null @@ -1,13 +0,0 @@ -inflect-7.3.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -inflect-7.3.1.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -inflect-7.3.1.dist-info/METADATA,sha256=ZgMNY0WAZRs-U8wZiV2SMfjSKqBrMngXyDMs_CAwMwg,21079 -inflect-7.3.1.dist-info/RECORD,, -inflect-7.3.1.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91 -inflect-7.3.1.dist-info/top_level.txt,sha256=m52ujdp10CqT6jh1XQxZT6kEntcnv-7Tl7UiGNTzWZA,8 -inflect/__init__.py,sha256=Jxy1HJXZiZ85kHeLAhkmvz6EMTdFqBe-duvt34R6IOc,103796 -inflect/__pycache__/__init__.cpython-312.pyc,, -inflect/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -inflect/compat/__pycache__/__init__.cpython-312.pyc,, -inflect/compat/__pycache__/py38.cpython-312.pyc,, -inflect/compat/py38.py,sha256=oObVfVnWX9_OpnOuEJn1mFbJxVhwyR5epbiTNXDDaso,160 -inflect/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/WHEEL deleted file mode 100644 index 564c6724..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: setuptools (70.2.0) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/top_level.txt deleted file mode 100644 index 0fd75fab..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect-7.3.1.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -inflect diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/__init__.py deleted file mode 100644 index 3eec27f4..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/__init__.py +++ /dev/null @@ -1,3986 +0,0 @@ -""" -inflect: english language inflection - - correctly generate plurals, ordinals, indefinite articles - - convert numbers to words - -Copyright (C) 2010 Paul Dyson - -Based upon the Perl module -`Lingua::EN::Inflect `_. - -methods: - classical inflect - plural plural_noun plural_verb plural_adj singular_noun no num a an - compare compare_nouns compare_verbs compare_adjs - present_participle - ordinal - number_to_words - join - defnoun defverb defadj defa defan - -INFLECTIONS: - classical inflect - plural plural_noun plural_verb plural_adj singular_noun compare - no num a an present_participle - -PLURALS: - classical inflect - plural plural_noun plural_verb plural_adj singular_noun no num - compare compare_nouns compare_verbs compare_adjs - -COMPARISONS: - classical - compare compare_nouns compare_verbs compare_adjs - -ARTICLES: - classical inflect num a an - -NUMERICAL: - ordinal number_to_words - -USER_DEFINED: - defnoun defverb defadj defa defan - -Exceptions: - UnknownClassicalModeError - BadNumValueError - BadChunkingOptionError - NumOutOfRangeError - BadUserDefinedPatternError - BadRcFileError - BadGenderError - -""" - -from __future__ import annotations - -import ast -import collections -import contextlib -import functools -import itertools -import re -from numbers import Number -from typing import ( - TYPE_CHECKING, - Any, - Callable, - Dict, - Iterable, - List, - Literal, - Match, - Optional, - Sequence, - Tuple, - Union, - cast, -) - -from more_itertools import windowed_complete -from typeguard import typechecked - -from .compat.py38 import Annotated - - -class UnknownClassicalModeError(Exception): - pass - - -class BadNumValueError(Exception): - pass - - -class BadChunkingOptionError(Exception): - pass - - -class NumOutOfRangeError(Exception): - pass - - -class BadUserDefinedPatternError(Exception): - pass - - -class BadRcFileError(Exception): - pass - - -class BadGenderError(Exception): - pass - - -def enclose(s: str) -> str: - return f"(?:{s})" - - -def joinstem(cutpoint: Optional[int] = 0, words: Optional[Iterable[str]] = None) -> str: - """ - Join stem of each word in words into a string for regex. - - Each word is truncated at cutpoint. - - Cutpoint is usually negative indicating the number of letters to remove - from the end of each word. - - >>> joinstem(-2, ["ephemeris", "iris", ".*itis"]) - '(?:ephemer|ir|.*it)' - - >>> joinstem(None, ["ephemeris"]) - '(?:ephemeris)' - - >>> joinstem(5, None) - '(?:)' - """ - return enclose("|".join(w[:cutpoint] for w in words or [])) - - -def bysize(words: Iterable[str]) -> Dict[int, set]: - """ - From a list of words, return a dict of sets sorted by word length. - - >>> words = ['ant', 'cat', 'dog', 'pig', 'frog', 'goat', 'horse', 'elephant'] - >>> ret = bysize(words) - >>> sorted(ret[3]) - ['ant', 'cat', 'dog', 'pig'] - >>> ret[5] - {'horse'} - """ - res: Dict[int, set] = collections.defaultdict(set) - for w in words: - res[len(w)].add(w) - return res - - -def make_pl_si_lists( - lst: Iterable[str], - plending: str, - siendingsize: Optional[int], - dojoinstem: bool = True, -): - """ - given a list of singular words: lst - - an ending to append to make the plural: plending - - the number of characters to remove from the singular - before appending plending: siendingsize - - a flag whether to create a joinstem: dojoinstem - - return: - a list of pluralised words: si_list (called si because this is what you need to - look for to make the singular) - - the pluralised words as a dict of sets sorted by word length: si_bysize - the singular words as a dict of sets sorted by word length: pl_bysize - if dojoinstem is True: a regular expression that matches any of the stems: stem - """ - if siendingsize is not None: - siendingsize = -siendingsize - si_list = [w[:siendingsize] + plending for w in lst] - pl_bysize = bysize(lst) - si_bysize = bysize(si_list) - if dojoinstem: - stem = joinstem(siendingsize, lst) - return si_list, si_bysize, pl_bysize, stem - else: - return si_list, si_bysize, pl_bysize - - -# 1. PLURALS - -pl_sb_irregular_s = { - "corpus": "corpuses|corpora", - "opus": "opuses|opera", - "genus": "genera", - "mythos": "mythoi", - "penis": "penises|penes", - "testis": "testes", - "atlas": "atlases|atlantes", - "yes": "yeses", -} - -pl_sb_irregular = { - "child": "children", - "chili": "chilis|chilies", - "brother": "brothers|brethren", - "infinity": "infinities|infinity", - "loaf": "loaves", - "lore": "lores|lore", - "hoof": "hoofs|hooves", - "beef": "beefs|beeves", - "thief": "thiefs|thieves", - "money": "monies", - "mongoose": "mongooses", - "ox": "oxen", - "cow": "cows|kine", - "graffito": "graffiti", - "octopus": "octopuses|octopodes", - "genie": "genies|genii", - "ganglion": "ganglions|ganglia", - "trilby": "trilbys", - "turf": "turfs|turves", - "numen": "numina", - "atman": "atmas", - "occiput": "occiputs|occipita", - "sabretooth": "sabretooths", - "sabertooth": "sabertooths", - "lowlife": "lowlifes", - "flatfoot": "flatfoots", - "tenderfoot": "tenderfoots", - "romany": "romanies", - "jerry": "jerries", - "mary": "maries", - "talouse": "talouses", - "rom": "roma", - "carmen": "carmina", -} - -pl_sb_irregular.update(pl_sb_irregular_s) -# pl_sb_irregular_keys = enclose('|'.join(pl_sb_irregular.keys())) - -pl_sb_irregular_caps = { - "Romany": "Romanies", - "Jerry": "Jerrys", - "Mary": "Marys", - "Rom": "Roma", -} - -pl_sb_irregular_compound = {"prima donna": "prima donnas|prime donne"} - -si_sb_irregular = {v: k for (k, v) in pl_sb_irregular.items()} -for k in list(si_sb_irregular): - if "|" in k: - k1, k2 = k.split("|") - si_sb_irregular[k1] = si_sb_irregular[k2] = si_sb_irregular[k] - del si_sb_irregular[k] -si_sb_irregular_caps = {v: k for (k, v) in pl_sb_irregular_caps.items()} -si_sb_irregular_compound = {v: k for (k, v) in pl_sb_irregular_compound.items()} -for k in list(si_sb_irregular_compound): - if "|" in k: - k1, k2 = k.split("|") - si_sb_irregular_compound[k1] = si_sb_irregular_compound[k2] = ( - si_sb_irregular_compound[k] - ) - del si_sb_irregular_compound[k] - -# si_sb_irregular_keys = enclose('|'.join(si_sb_irregular.keys())) - -# Z's that don't double - -pl_sb_z_zes_list = ("quartz", "topaz") -pl_sb_z_zes_bysize = bysize(pl_sb_z_zes_list) - -pl_sb_ze_zes_list = ("snooze",) -pl_sb_ze_zes_bysize = bysize(pl_sb_ze_zes_list) - - -# CLASSICAL "..is" -> "..ides" - -pl_sb_C_is_ides_complete = [ - # GENERAL WORDS... - "ephemeris", - "iris", - "clitoris", - "chrysalis", - "epididymis", -] - -pl_sb_C_is_ides_endings = [ - # INFLAMATIONS... - "itis" -] - -pl_sb_C_is_ides = joinstem( - -2, pl_sb_C_is_ides_complete + [f".*{w}" for w in pl_sb_C_is_ides_endings] -) - -pl_sb_C_is_ides_list = pl_sb_C_is_ides_complete + pl_sb_C_is_ides_endings - -( - si_sb_C_is_ides_list, - si_sb_C_is_ides_bysize, - pl_sb_C_is_ides_bysize, -) = make_pl_si_lists(pl_sb_C_is_ides_list, "ides", 2, dojoinstem=False) - - -# CLASSICAL "..a" -> "..ata" - -pl_sb_C_a_ata_list = ( - "anathema", - "bema", - "carcinoma", - "charisma", - "diploma", - "dogma", - "drama", - "edema", - "enema", - "enigma", - "lemma", - "lymphoma", - "magma", - "melisma", - "miasma", - "oedema", - "sarcoma", - "schema", - "soma", - "stigma", - "stoma", - "trauma", - "gumma", - "pragma", -) - -( - si_sb_C_a_ata_list, - si_sb_C_a_ata_bysize, - pl_sb_C_a_ata_bysize, - pl_sb_C_a_ata, -) = make_pl_si_lists(pl_sb_C_a_ata_list, "ata", 1) - -# UNCONDITIONAL "..a" -> "..ae" - -pl_sb_U_a_ae_list = ( - "alumna", - "alga", - "vertebra", - "persona", - "vita", -) -( - si_sb_U_a_ae_list, - si_sb_U_a_ae_bysize, - pl_sb_U_a_ae_bysize, - pl_sb_U_a_ae, -) = make_pl_si_lists(pl_sb_U_a_ae_list, "e", None) - -# CLASSICAL "..a" -> "..ae" - -pl_sb_C_a_ae_list = ( - "amoeba", - "antenna", - "formula", - "hyperbola", - "medusa", - "nebula", - "parabola", - "abscissa", - "hydra", - "nova", - "lacuna", - "aurora", - "umbra", - "flora", - "fauna", -) -( - si_sb_C_a_ae_list, - si_sb_C_a_ae_bysize, - pl_sb_C_a_ae_bysize, - pl_sb_C_a_ae, -) = make_pl_si_lists(pl_sb_C_a_ae_list, "e", None) - - -# CLASSICAL "..en" -> "..ina" - -pl_sb_C_en_ina_list = ("stamen", "foramen", "lumen") - -( - si_sb_C_en_ina_list, - si_sb_C_en_ina_bysize, - pl_sb_C_en_ina_bysize, - pl_sb_C_en_ina, -) = make_pl_si_lists(pl_sb_C_en_ina_list, "ina", 2) - - -# UNCONDITIONAL "..um" -> "..a" - -pl_sb_U_um_a_list = ( - "bacterium", - "agendum", - "desideratum", - "erratum", - "stratum", - "datum", - "ovum", - "extremum", - "candelabrum", -) -( - si_sb_U_um_a_list, - si_sb_U_um_a_bysize, - pl_sb_U_um_a_bysize, - pl_sb_U_um_a, -) = make_pl_si_lists(pl_sb_U_um_a_list, "a", 2) - -# CLASSICAL "..um" -> "..a" - -pl_sb_C_um_a_list = ( - "maximum", - "minimum", - "momentum", - "optimum", - "quantum", - "cranium", - "curriculum", - "dictum", - "phylum", - "aquarium", - "compendium", - "emporium", - "encomium", - "gymnasium", - "honorarium", - "interregnum", - "lustrum", - "memorandum", - "millennium", - "rostrum", - "spectrum", - "speculum", - "stadium", - "trapezium", - "ultimatum", - "medium", - "vacuum", - "velum", - "consortium", - "arboretum", -) - -( - si_sb_C_um_a_list, - si_sb_C_um_a_bysize, - pl_sb_C_um_a_bysize, - pl_sb_C_um_a, -) = make_pl_si_lists(pl_sb_C_um_a_list, "a", 2) - - -# UNCONDITIONAL "..us" -> "i" - -pl_sb_U_us_i_list = ( - "alumnus", - "alveolus", - "bacillus", - "bronchus", - "locus", - "nucleus", - "stimulus", - "meniscus", - "sarcophagus", -) -( - si_sb_U_us_i_list, - si_sb_U_us_i_bysize, - pl_sb_U_us_i_bysize, - pl_sb_U_us_i, -) = make_pl_si_lists(pl_sb_U_us_i_list, "i", 2) - -# CLASSICAL "..us" -> "..i" - -pl_sb_C_us_i_list = ( - "focus", - "radius", - "genius", - "incubus", - "succubus", - "nimbus", - "fungus", - "nucleolus", - "stylus", - "torus", - "umbilicus", - "uterus", - "hippopotamus", - "cactus", -) - -( - si_sb_C_us_i_list, - si_sb_C_us_i_bysize, - pl_sb_C_us_i_bysize, - pl_sb_C_us_i, -) = make_pl_si_lists(pl_sb_C_us_i_list, "i", 2) - - -# CLASSICAL "..us" -> "..us" (ASSIMILATED 4TH DECLENSION LATIN NOUNS) - -pl_sb_C_us_us = ( - "status", - "apparatus", - "prospectus", - "sinus", - "hiatus", - "impetus", - "plexus", -) -pl_sb_C_us_us_bysize = bysize(pl_sb_C_us_us) - -# UNCONDITIONAL "..on" -> "a" - -pl_sb_U_on_a_list = ( - "criterion", - "perihelion", - "aphelion", - "phenomenon", - "prolegomenon", - "noumenon", - "organon", - "asyndeton", - "hyperbaton", -) -( - si_sb_U_on_a_list, - si_sb_U_on_a_bysize, - pl_sb_U_on_a_bysize, - pl_sb_U_on_a, -) = make_pl_si_lists(pl_sb_U_on_a_list, "a", 2) - -# CLASSICAL "..on" -> "..a" - -pl_sb_C_on_a_list = ("oxymoron",) - -( - si_sb_C_on_a_list, - si_sb_C_on_a_bysize, - pl_sb_C_on_a_bysize, - pl_sb_C_on_a, -) = make_pl_si_lists(pl_sb_C_on_a_list, "a", 2) - - -# CLASSICAL "..o" -> "..i" (BUT NORMALLY -> "..os") - -pl_sb_C_o_i = [ - "solo", - "soprano", - "basso", - "alto", - "contralto", - "tempo", - "piano", - "virtuoso", -] # list not tuple so can concat for pl_sb_U_o_os - -pl_sb_C_o_i_bysize = bysize(pl_sb_C_o_i) -si_sb_C_o_i_bysize = bysize([f"{w[:-1]}i" for w in pl_sb_C_o_i]) - -pl_sb_C_o_i_stems = joinstem(-1, pl_sb_C_o_i) - -# ALWAYS "..o" -> "..os" - -pl_sb_U_o_os_complete = {"ado", "ISO", "NATO", "NCO", "NGO", "oto"} -si_sb_U_o_os_complete = {f"{w}s" for w in pl_sb_U_o_os_complete} - - -pl_sb_U_o_os_endings = [ - "aficionado", - "aggro", - "albino", - "allegro", - "ammo", - "Antananarivo", - "archipelago", - "armadillo", - "auto", - "avocado", - "Bamako", - "Barquisimeto", - "bimbo", - "bingo", - "Biro", - "bolero", - "Bolzano", - "bongo", - "Boto", - "burro", - "Cairo", - "canto", - "cappuccino", - "casino", - "cello", - "Chicago", - "Chimango", - "cilantro", - "cochito", - "coco", - "Colombo", - "Colorado", - "commando", - "concertino", - "contango", - "credo", - "crescendo", - "cyano", - "demo", - "ditto", - "Draco", - "dynamo", - "embryo", - "Esperanto", - "espresso", - "euro", - "falsetto", - "Faro", - "fiasco", - "Filipino", - "flamenco", - "furioso", - "generalissimo", - "Gestapo", - "ghetto", - "gigolo", - "gizmo", - "Greensboro", - "gringo", - "Guaiabero", - "guano", - "gumbo", - "gyro", - "hairdo", - "hippo", - "Idaho", - "impetigo", - "inferno", - "info", - "intermezzo", - "intertrigo", - "Iquico", - "jumbo", - "junto", - "Kakapo", - "kilo", - "Kinkimavo", - "Kokako", - "Kosovo", - "Lesotho", - "libero", - "libido", - "libretto", - "lido", - "Lilo", - "limbo", - "limo", - "lineno", - "lingo", - "lino", - "livedo", - "loco", - "logo", - "lumbago", - "macho", - "macro", - "mafioso", - "magneto", - "magnifico", - "Majuro", - "Malabo", - "manifesto", - "Maputo", - "Maracaibo", - "medico", - "memo", - "metro", - "Mexico", - "micro", - "Milano", - "Monaco", - "mono", - "Montenegro", - "Morocco", - "Muqdisho", - "myo", - "neutrino", - "Ningbo", - "octavo", - "oregano", - "Orinoco", - "Orlando", - "Oslo", - "panto", - "Paramaribo", - "Pardusco", - "pedalo", - "photo", - "pimento", - "pinto", - "pleco", - "Pluto", - "pogo", - "polo", - "poncho", - "Porto-Novo", - "Porto", - "pro", - "psycho", - "pueblo", - "quarto", - "Quito", - "repo", - "rhino", - "risotto", - "rococo", - "rondo", - "Sacramento", - "saddo", - "sago", - "salvo", - "Santiago", - "Sapporo", - "Sarajevo", - "scherzando", - "scherzo", - "silo", - "sirocco", - "sombrero", - "staccato", - "sterno", - "stucco", - "stylo", - "sumo", - "Taiko", - "techno", - "terrazzo", - "testudo", - "timpano", - "tiro", - "tobacco", - "Togo", - "Tokyo", - "torero", - "Torino", - "Toronto", - "torso", - "tremolo", - "typo", - "tyro", - "ufo", - "UNESCO", - "vaquero", - "vermicello", - "verso", - "vibrato", - "violoncello", - "Virgo", - "weirdo", - "WHO", - "WTO", - "Yamoussoukro", - "yo-yo", - "zero", - "Zibo", -] + pl_sb_C_o_i - -pl_sb_U_o_os_bysize = bysize(pl_sb_U_o_os_endings) -si_sb_U_o_os_bysize = bysize([f"{w}s" for w in pl_sb_U_o_os_endings]) - - -# UNCONDITIONAL "..ch" -> "..chs" - -pl_sb_U_ch_chs_list = ("czech", "eunuch", "stomach") - -( - si_sb_U_ch_chs_list, - si_sb_U_ch_chs_bysize, - pl_sb_U_ch_chs_bysize, - pl_sb_U_ch_chs, -) = make_pl_si_lists(pl_sb_U_ch_chs_list, "s", None) - - -# UNCONDITIONAL "..[ei]x" -> "..ices" - -pl_sb_U_ex_ices_list = ("codex", "murex", "silex") -( - si_sb_U_ex_ices_list, - si_sb_U_ex_ices_bysize, - pl_sb_U_ex_ices_bysize, - pl_sb_U_ex_ices, -) = make_pl_si_lists(pl_sb_U_ex_ices_list, "ices", 2) - -pl_sb_U_ix_ices_list = ("radix", "helix") -( - si_sb_U_ix_ices_list, - si_sb_U_ix_ices_bysize, - pl_sb_U_ix_ices_bysize, - pl_sb_U_ix_ices, -) = make_pl_si_lists(pl_sb_U_ix_ices_list, "ices", 2) - -# CLASSICAL "..[ei]x" -> "..ices" - -pl_sb_C_ex_ices_list = ( - "vortex", - "vertex", - "cortex", - "latex", - "pontifex", - "apex", - "index", - "simplex", -) - -( - si_sb_C_ex_ices_list, - si_sb_C_ex_ices_bysize, - pl_sb_C_ex_ices_bysize, - pl_sb_C_ex_ices, -) = make_pl_si_lists(pl_sb_C_ex_ices_list, "ices", 2) - - -pl_sb_C_ix_ices_list = ("appendix",) - -( - si_sb_C_ix_ices_list, - si_sb_C_ix_ices_bysize, - pl_sb_C_ix_ices_bysize, - pl_sb_C_ix_ices, -) = make_pl_si_lists(pl_sb_C_ix_ices_list, "ices", 2) - - -# ARABIC: ".." -> "..i" - -pl_sb_C_i_list = ("afrit", "afreet", "efreet") - -(si_sb_C_i_list, si_sb_C_i_bysize, pl_sb_C_i_bysize, pl_sb_C_i) = make_pl_si_lists( - pl_sb_C_i_list, "i", None -) - - -# HEBREW: ".." -> "..im" - -pl_sb_C_im_list = ("goy", "seraph", "cherub") - -(si_sb_C_im_list, si_sb_C_im_bysize, pl_sb_C_im_bysize, pl_sb_C_im) = make_pl_si_lists( - pl_sb_C_im_list, "im", None -) - - -# UNCONDITIONAL "..man" -> "..mans" - -pl_sb_U_man_mans_list = """ - ataman caiman cayman ceriman - desman dolman farman harman hetman - human leman ottoman shaman talisman -""".split() -pl_sb_U_man_mans_caps_list = """ - Alabaman Bahaman Burman German - Hiroshiman Liman Nakayaman Norman Oklahoman - Panaman Roman Selman Sonaman Tacoman Yakiman - Yokohaman Yuman -""".split() - -( - si_sb_U_man_mans_list, - si_sb_U_man_mans_bysize, - pl_sb_U_man_mans_bysize, -) = make_pl_si_lists(pl_sb_U_man_mans_list, "s", None, dojoinstem=False) -( - si_sb_U_man_mans_caps_list, - si_sb_U_man_mans_caps_bysize, - pl_sb_U_man_mans_caps_bysize, -) = make_pl_si_lists(pl_sb_U_man_mans_caps_list, "s", None, dojoinstem=False) - -# UNCONDITIONAL "..louse" -> "..lice" -pl_sb_U_louse_lice_list = ("booklouse", "grapelouse", "louse", "woodlouse") - -( - si_sb_U_louse_lice_list, - si_sb_U_louse_lice_bysize, - pl_sb_U_louse_lice_bysize, -) = make_pl_si_lists(pl_sb_U_louse_lice_list, "lice", 5, dojoinstem=False) - -pl_sb_uninflected_s_complete = [ - # PAIRS OR GROUPS SUBSUMED TO A SINGULAR... - "breeches", - "britches", - "pajamas", - "pyjamas", - "clippers", - "gallows", - "hijinks", - "headquarters", - "pliers", - "scissors", - "testes", - "herpes", - "pincers", - "shears", - "proceedings", - "trousers", - # UNASSIMILATED LATIN 4th DECLENSION - "cantus", - "coitus", - "nexus", - # RECENT IMPORTS... - "contretemps", - "corps", - "debris", - "siemens", - # DISEASES - "mumps", - # MISCELLANEOUS OTHERS... - "diabetes", - "jackanapes", - "series", - "species", - "subspecies", - "rabies", - "chassis", - "innings", - "news", - "mews", - "haggis", -] - -pl_sb_uninflected_s_endings = [ - # RECENT IMPORTS... - "ois", - # DISEASES - "measles", -] - -pl_sb_uninflected_s = pl_sb_uninflected_s_complete + [ - f".*{w}" for w in pl_sb_uninflected_s_endings -] - -pl_sb_uninflected_herd = ( - # DON'T INFLECT IN CLASSICAL MODE, OTHERWISE NORMAL INFLECTION - "wildebeest", - "swine", - "eland", - "bison", - "buffalo", - "cattle", - "elk", - "rhinoceros", - "zucchini", - "caribou", - "dace", - "grouse", - "guinea fowl", - "guinea-fowl", - "haddock", - "hake", - "halibut", - "herring", - "mackerel", - "pickerel", - "pike", - "roe", - "seed", - "shad", - "snipe", - "teal", - "turbot", - "water fowl", - "water-fowl", -) - -pl_sb_uninflected_complete = [ - # SOME FISH AND HERD ANIMALS - "tuna", - "salmon", - "mackerel", - "trout", - "bream", - "sea-bass", - "sea bass", - "carp", - "cod", - "flounder", - "whiting", - "moose", - # OTHER ODDITIES - "graffiti", - "djinn", - "samuri", - "offspring", - "pence", - "quid", - "hertz", -] + pl_sb_uninflected_s_complete -# SOME WORDS ENDING IN ...s (OFTEN PAIRS TAKEN AS A WHOLE) - -pl_sb_uninflected_caps = [ - # ALL NATIONALS ENDING IN -ese - "Portuguese", - "Amoyese", - "Borghese", - "Congoese", - "Faroese", - "Foochowese", - "Genevese", - "Genoese", - "Gilbertese", - "Hottentotese", - "Kiplingese", - "Kongoese", - "Lucchese", - "Maltese", - "Nankingese", - "Niasese", - "Pekingese", - "Piedmontese", - "Pistoiese", - "Sarawakese", - "Shavese", - "Vermontese", - "Wenchowese", - "Yengeese", -] - - -pl_sb_uninflected_endings = [ - # UNCOUNTABLE NOUNS - "butter", - "cash", - "furniture", - "information", - # SOME FISH AND HERD ANIMALS - "fish", - "deer", - "sheep", - # ALL NATIONALS ENDING IN -ese - "nese", - "rese", - "lese", - "mese", - # DISEASES - "pox", - # OTHER ODDITIES - "craft", -] + pl_sb_uninflected_s_endings -# SOME WORDS ENDING IN ...s (OFTEN PAIRS TAKEN AS A WHOLE) - - -pl_sb_uninflected_bysize = bysize(pl_sb_uninflected_endings) - - -# SINGULAR WORDS ENDING IN ...s (ALL INFLECT WITH ...es) - -pl_sb_singular_s_complete = [ - "acropolis", - "aegis", - "alias", - "asbestos", - "bathos", - "bias", - "bronchitis", - "bursitis", - "caddis", - "cannabis", - "canvas", - "chaos", - "cosmos", - "dais", - "digitalis", - "epidermis", - "ethos", - "eyas", - "gas", - "glottis", - "hubris", - "ibis", - "lens", - "mantis", - "marquis", - "metropolis", - "pathos", - "pelvis", - "polis", - "rhinoceros", - "sassafras", - "trellis", -] + pl_sb_C_is_ides_complete - - -pl_sb_singular_s_endings = ["ss", "us"] + pl_sb_C_is_ides_endings - -pl_sb_singular_s_bysize = bysize(pl_sb_singular_s_endings) - -si_sb_singular_s_complete = [f"{w}es" for w in pl_sb_singular_s_complete] -si_sb_singular_s_endings = [f"{w}es" for w in pl_sb_singular_s_endings] -si_sb_singular_s_bysize = bysize(si_sb_singular_s_endings) - -pl_sb_singular_s_es = ["[A-Z].*es"] - -pl_sb_singular_s = enclose( - "|".join( - pl_sb_singular_s_complete - + [f".*{w}" for w in pl_sb_singular_s_endings] - + pl_sb_singular_s_es - ) -) - - -# PLURALS ENDING IN uses -> use - - -si_sb_ois_oi_case = ("Bolshois", "Hanois") - -si_sb_uses_use_case = ("Betelgeuses", "Duses", "Meuses", "Syracuses", "Toulouses") - -si_sb_uses_use = ( - "abuses", - "applauses", - "blouses", - "carouses", - "causes", - "chartreuses", - "clauses", - "contuses", - "douses", - "excuses", - "fuses", - "grouses", - "hypotenuses", - "masseuses", - "menopauses", - "misuses", - "muses", - "overuses", - "pauses", - "peruses", - "profuses", - "recluses", - "reuses", - "ruses", - "souses", - "spouses", - "suffuses", - "transfuses", - "uses", -) - -si_sb_ies_ie_case = ( - "Addies", - "Aggies", - "Allies", - "Amies", - "Angies", - "Annies", - "Annmaries", - "Archies", - "Arties", - "Aussies", - "Barbies", - "Barries", - "Basies", - "Bennies", - "Bernies", - "Berties", - "Bessies", - "Betties", - "Billies", - "Blondies", - "Bobbies", - "Bonnies", - "Bowies", - "Brandies", - "Bries", - "Brownies", - "Callies", - "Carnegies", - "Carries", - "Cassies", - "Charlies", - "Cheries", - "Christies", - "Connies", - "Curies", - "Dannies", - "Debbies", - "Dixies", - "Dollies", - "Donnies", - "Drambuies", - "Eddies", - "Effies", - "Ellies", - "Elsies", - "Eries", - "Ernies", - "Essies", - "Eugenies", - "Fannies", - "Flossies", - "Frankies", - "Freddies", - "Gillespies", - "Goldies", - "Gracies", - "Guthries", - "Hallies", - "Hatties", - "Hetties", - "Hollies", - "Jackies", - "Jamies", - "Janies", - "Jannies", - "Jeanies", - "Jeannies", - "Jennies", - "Jessies", - "Jimmies", - "Jodies", - "Johnies", - "Johnnies", - "Josies", - "Julies", - "Kalgoorlies", - "Kathies", - "Katies", - "Kellies", - "Kewpies", - "Kristies", - "Laramies", - "Lassies", - "Lauries", - "Leslies", - "Lessies", - "Lillies", - "Lizzies", - "Lonnies", - "Lories", - "Lorries", - "Lotties", - "Louies", - "Mackenzies", - "Maggies", - "Maisies", - "Mamies", - "Marcies", - "Margies", - "Maries", - "Marjories", - "Matties", - "McKenzies", - "Melanies", - "Mickies", - "Millies", - "Minnies", - "Mollies", - "Mounties", - "Nannies", - "Natalies", - "Nellies", - "Netties", - "Ollies", - "Ozzies", - "Pearlies", - "Pottawatomies", - "Reggies", - "Richies", - "Rickies", - "Robbies", - "Ronnies", - "Rosalies", - "Rosemaries", - "Rosies", - "Roxies", - "Rushdies", - "Ruthies", - "Sadies", - "Sallies", - "Sammies", - "Scotties", - "Selassies", - "Sherries", - "Sophies", - "Stacies", - "Stefanies", - "Stephanies", - "Stevies", - "Susies", - "Sylvies", - "Tammies", - "Terries", - "Tessies", - "Tommies", - "Tracies", - "Trekkies", - "Valaries", - "Valeries", - "Valkyries", - "Vickies", - "Virgies", - "Willies", - "Winnies", - "Wylies", - "Yorkies", -) - -si_sb_ies_ie = ( - "aeries", - "baggies", - "belies", - "biggies", - "birdies", - "bogies", - "bonnies", - "boogies", - "bookies", - "bourgeoisies", - "brownies", - "budgies", - "caddies", - "calories", - "camaraderies", - "cockamamies", - "collies", - "cookies", - "coolies", - "cooties", - "coteries", - "crappies", - "curies", - "cutesies", - "dogies", - "eyries", - "floozies", - "footsies", - "freebies", - "genies", - "goalies", - "groupies", - "hies", - "jalousies", - "junkies", - "kiddies", - "laddies", - "lassies", - "lies", - "lingeries", - "magpies", - "menageries", - "mommies", - "movies", - "neckties", - "newbies", - "nighties", - "oldies", - "organdies", - "overlies", - "pies", - "pinkies", - "pixies", - "potpies", - "prairies", - "quickies", - "reveries", - "rookies", - "rotisseries", - "softies", - "sorties", - "species", - "stymies", - "sweeties", - "ties", - "underlies", - "unties", - "veggies", - "vies", - "yuppies", - "zombies", -) - - -si_sb_oes_oe_case = ( - "Chloes", - "Crusoes", - "Defoes", - "Faeroes", - "Ivanhoes", - "Joes", - "McEnroes", - "Moes", - "Monroes", - "Noes", - "Poes", - "Roscoes", - "Tahoes", - "Tippecanoes", - "Zoes", -) - -si_sb_oes_oe = ( - "aloes", - "backhoes", - "canoes", - "does", - "floes", - "foes", - "hoes", - "mistletoes", - "oboes", - "pekoes", - "roes", - "sloes", - "throes", - "tiptoes", - "toes", - "woes", -) - -si_sb_z_zes = ("quartzes", "topazes") - -si_sb_zzes_zz = ("buzzes", "fizzes", "frizzes", "razzes") - -si_sb_ches_che_case = ( - "Andromaches", - "Apaches", - "Blanches", - "Comanches", - "Nietzsches", - "Porsches", - "Roches", -) - -si_sb_ches_che = ( - "aches", - "avalanches", - "backaches", - "bellyaches", - "caches", - "cloches", - "creches", - "douches", - "earaches", - "fiches", - "headaches", - "heartaches", - "microfiches", - "niches", - "pastiches", - "psyches", - "quiches", - "stomachaches", - "toothaches", - "tranches", -) - -si_sb_xes_xe = ("annexes", "axes", "deluxes", "pickaxes") - -si_sb_sses_sse_case = ("Hesses", "Jesses", "Larousses", "Matisses") -si_sb_sses_sse = ( - "bouillabaisses", - "crevasses", - "demitasses", - "impasses", - "mousses", - "posses", -) - -si_sb_ves_ve_case = ( - # *[nwl]ives -> [nwl]live - "Clives", - "Palmolives", -) -si_sb_ves_ve = ( - # *[^d]eaves -> eave - "interweaves", - "weaves", - # *[nwl]ives -> [nwl]live - "olives", - # *[eoa]lves -> [eoa]lve - "bivalves", - "dissolves", - "resolves", - "salves", - "twelves", - "valves", -) - - -plverb_special_s = enclose( - "|".join( - [pl_sb_singular_s] - + pl_sb_uninflected_s - + list(pl_sb_irregular_s) - + ["(.*[csx])is", "(.*)ceps", "[A-Z].*s"] - ) -) - -_pl_sb_postfix_adj_defn = ( - ("general", enclose(r"(?!major|lieutenant|brigadier|adjutant|.*star)\S+")), - ("martial", enclose("court")), - ("force", enclose("pound")), -) - -pl_sb_postfix_adj: Iterable[str] = ( - enclose(val + f"(?=(?:-|\\s+){key})") for key, val in _pl_sb_postfix_adj_defn -) - -pl_sb_postfix_adj_stems = f"({'|'.join(pl_sb_postfix_adj)})(.*)" - - -# PLURAL WORDS ENDING IS es GO TO SINGULAR is - -si_sb_es_is = ( - "amanuenses", - "amniocenteses", - "analyses", - "antitheses", - "apotheoses", - "arterioscleroses", - "atheroscleroses", - "axes", - # 'bases', # bases -> basis - "catalyses", - "catharses", - "chasses", - "cirrhoses", - "cocces", - "crises", - "diagnoses", - "dialyses", - "diereses", - "electrolyses", - "emphases", - "exegeses", - "geneses", - "halitoses", - "hydrolyses", - "hypnoses", - "hypotheses", - "hystereses", - "metamorphoses", - "metastases", - "misdiagnoses", - "mitoses", - "mononucleoses", - "narcoses", - "necroses", - "nemeses", - "neuroses", - "oases", - "osmoses", - "osteoporoses", - "paralyses", - "parentheses", - "parthenogeneses", - "periphrases", - "photosyntheses", - "probosces", - "prognoses", - "prophylaxes", - "prostheses", - "preces", - "psoriases", - "psychoanalyses", - "psychokineses", - "psychoses", - "scleroses", - "scolioses", - "sepses", - "silicoses", - "symbioses", - "synopses", - "syntheses", - "taxes", - "telekineses", - "theses", - "thromboses", - "tuberculoses", - "urinalyses", -) - -pl_prep_list = """ - about above across after among around at athwart before behind - below beneath beside besides between betwixt beyond but by - during except for from in into near of off on onto out over - since till to under until unto upon with""".split() - -pl_prep_list_da = pl_prep_list + ["de", "du", "da"] - -pl_prep_bysize = bysize(pl_prep_list_da) - -pl_prep = enclose("|".join(pl_prep_list_da)) - -pl_sb_prep_dual_compound = rf"(.*?)((?:-|\s+)(?:{pl_prep})(?:-|\s+))a(?:-|\s+)(.*)" - - -singular_pronoun_genders = { - "neuter", - "feminine", - "masculine", - "gender-neutral", - "feminine or masculine", - "masculine or feminine", -} - -pl_pron_nom = { - # NOMINATIVE REFLEXIVE - "i": "we", - "myself": "ourselves", - "you": "you", - "yourself": "yourselves", - "she": "they", - "herself": "themselves", - "he": "they", - "himself": "themselves", - "it": "they", - "itself": "themselves", - "they": "they", - "themself": "themselves", - # POSSESSIVE - "mine": "ours", - "yours": "yours", - "hers": "theirs", - "his": "theirs", - "its": "theirs", - "theirs": "theirs", -} - -si_pron: Dict[str, Dict[str, Union[str, Dict[str, str]]]] = { - "nom": {v: k for (k, v) in pl_pron_nom.items()} -} -si_pron["nom"]["we"] = "I" - - -pl_pron_acc = { - # ACCUSATIVE REFLEXIVE - "me": "us", - "myself": "ourselves", - "you": "you", - "yourself": "yourselves", - "her": "them", - "herself": "themselves", - "him": "them", - "himself": "themselves", - "it": "them", - "itself": "themselves", - "them": "them", - "themself": "themselves", -} - -pl_pron_acc_keys = enclose("|".join(pl_pron_acc)) -pl_pron_acc_keys_bysize = bysize(pl_pron_acc) - -si_pron["acc"] = {v: k for (k, v) in pl_pron_acc.items()} - -for _thecase, _plur, _gend, _sing in ( - ("nom", "they", "neuter", "it"), - ("nom", "they", "feminine", "she"), - ("nom", "they", "masculine", "he"), - ("nom", "they", "gender-neutral", "they"), - ("nom", "they", "feminine or masculine", "she or he"), - ("nom", "they", "masculine or feminine", "he or she"), - ("nom", "themselves", "neuter", "itself"), - ("nom", "themselves", "feminine", "herself"), - ("nom", "themselves", "masculine", "himself"), - ("nom", "themselves", "gender-neutral", "themself"), - ("nom", "themselves", "feminine or masculine", "herself or himself"), - ("nom", "themselves", "masculine or feminine", "himself or herself"), - ("nom", "theirs", "neuter", "its"), - ("nom", "theirs", "feminine", "hers"), - ("nom", "theirs", "masculine", "his"), - ("nom", "theirs", "gender-neutral", "theirs"), - ("nom", "theirs", "feminine or masculine", "hers or his"), - ("nom", "theirs", "masculine or feminine", "his or hers"), - ("acc", "them", "neuter", "it"), - ("acc", "them", "feminine", "her"), - ("acc", "them", "masculine", "him"), - ("acc", "them", "gender-neutral", "them"), - ("acc", "them", "feminine or masculine", "her or him"), - ("acc", "them", "masculine or feminine", "him or her"), - ("acc", "themselves", "neuter", "itself"), - ("acc", "themselves", "feminine", "herself"), - ("acc", "themselves", "masculine", "himself"), - ("acc", "themselves", "gender-neutral", "themself"), - ("acc", "themselves", "feminine or masculine", "herself or himself"), - ("acc", "themselves", "masculine or feminine", "himself or herself"), -): - try: - si_pron[_thecase][_plur][_gend] = _sing # type: ignore - except TypeError: - si_pron[_thecase][_plur] = {} - si_pron[_thecase][_plur][_gend] = _sing # type: ignore - - -si_pron_acc_keys = enclose("|".join(si_pron["acc"])) -si_pron_acc_keys_bysize = bysize(si_pron["acc"]) - - -def get_si_pron(thecase, word, gender) -> str: - try: - sing = si_pron[thecase][word] - except KeyError: - raise # not a pronoun - try: - return sing[gender] # has several types due to gender - except TypeError: - return cast(str, sing) # answer independent of gender - - -# These dictionaries group verbs by first, second and third person -# conjugations. - -plverb_irregular_pres = { - "am": "are", - "are": "are", - "is": "are", - "was": "were", - "were": "were", - "have": "have", - "has": "have", - "do": "do", - "does": "do", -} - -plverb_ambiguous_pres = { - "act": "act", - "acts": "act", - "blame": "blame", - "blames": "blame", - "can": "can", - "must": "must", - "fly": "fly", - "flies": "fly", - "copy": "copy", - "copies": "copy", - "drink": "drink", - "drinks": "drink", - "fight": "fight", - "fights": "fight", - "fire": "fire", - "fires": "fire", - "like": "like", - "likes": "like", - "look": "look", - "looks": "look", - "make": "make", - "makes": "make", - "reach": "reach", - "reaches": "reach", - "run": "run", - "runs": "run", - "sink": "sink", - "sinks": "sink", - "sleep": "sleep", - "sleeps": "sleep", - "view": "view", - "views": "view", -} - -plverb_ambiguous_pres_keys = re.compile( - rf"^({enclose('|'.join(plverb_ambiguous_pres))})((\s.*)?)$", re.IGNORECASE -) - - -plverb_irregular_non_pres = ( - "did", - "had", - "ate", - "made", - "put", - "spent", - "fought", - "sank", - "gave", - "sought", - "shall", - "could", - "ought", - "should", -) - -plverb_ambiguous_non_pres = re.compile( - r"^((?:thought|saw|bent|will|might|cut))((\s.*)?)$", re.IGNORECASE -) - -# "..oes" -> "..oe" (the rest are "..oes" -> "o") - -pl_v_oes_oe = ("canoes", "floes", "oboes", "roes", "throes", "woes") -pl_v_oes_oe_endings_size4 = ("hoes", "toes") -pl_v_oes_oe_endings_size5 = ("shoes",) - - -pl_count_zero = ("0", "no", "zero", "nil") - - -pl_count_one = ("1", "a", "an", "one", "each", "every", "this", "that") - -pl_adj_special = {"a": "some", "an": "some", "this": "these", "that": "those"} - -pl_adj_special_keys = re.compile( - rf"^({enclose('|'.join(pl_adj_special))})$", re.IGNORECASE -) - -pl_adj_poss = { - "my": "our", - "your": "your", - "its": "their", - "her": "their", - "his": "their", - "their": "their", -} - -pl_adj_poss_keys = re.compile(rf"^({enclose('|'.join(pl_adj_poss))})$", re.IGNORECASE) - - -# 2. INDEFINITE ARTICLES - -# THIS PATTERN MATCHES STRINGS OF CAPITALS STARTING WITH A "VOWEL-SOUND" -# CONSONANT FOLLOWED BY ANOTHER CONSONANT, AND WHICH ARE NOT LIKELY -# TO BE REAL WORDS (OH, ALL RIGHT THEN, IT'S JUST MAGIC!) - -A_abbrev = re.compile( - r""" -^(?! FJO | [HLMNS]Y. | RY[EO] | SQU - | ( F[LR]? | [HL] | MN? | N | RH? | S[CHKLMNPTVW]? | X(YL)?) [AEIOU]) -[FHLMNRSX][A-Z] -""", - re.VERBOSE, -) - -# THIS PATTERN CODES THE BEGINNINGS OF ALL ENGLISH WORDS BEGINING WITH A -# 'y' FOLLOWED BY A CONSONANT. ANY OTHER Y-CONSONANT PREFIX THEREFORE -# IMPLIES AN ABBREVIATION. - -A_y_cons = re.compile(r"^(y(b[lor]|cl[ea]|fere|gg|p[ios]|rou|tt))", re.IGNORECASE) - -# EXCEPTIONS TO EXCEPTIONS - -A_explicit_a = re.compile(r"^((?:unabomber|unanimous|US))", re.IGNORECASE) - -A_explicit_an = re.compile( - r"^((?:euler|hour(?!i)|heir|honest|hono[ur]|mpeg))", re.IGNORECASE -) - -A_ordinal_an = re.compile(r"^([aefhilmnorsx]-?th)", re.IGNORECASE) - -A_ordinal_a = re.compile(r"^([bcdgjkpqtuvwyz]-?th)", re.IGNORECASE) - - -# NUMERICAL INFLECTIONS - -nth = { - 0: "th", - 1: "st", - 2: "nd", - 3: "rd", - 4: "th", - 5: "th", - 6: "th", - 7: "th", - 8: "th", - 9: "th", - 11: "th", - 12: "th", - 13: "th", -} -nth_suff = set(nth.values()) - -ordinal = dict( - ty="tieth", - one="first", - two="second", - three="third", - five="fifth", - eight="eighth", - nine="ninth", - twelve="twelfth", -) - -ordinal_suff = re.compile(rf"({'|'.join(ordinal)})\Z") - - -# NUMBERS - -unit = ["", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"] -teen = [ - "ten", - "eleven", - "twelve", - "thirteen", - "fourteen", - "fifteen", - "sixteen", - "seventeen", - "eighteen", - "nineteen", -] -ten = [ - "", - "", - "twenty", - "thirty", - "forty", - "fifty", - "sixty", - "seventy", - "eighty", - "ninety", -] -mill = [ - " ", - " thousand", - " million", - " billion", - " trillion", - " quadrillion", - " quintillion", - " sextillion", - " septillion", - " octillion", - " nonillion", - " decillion", -] - - -# SUPPORT CLASSICAL PLURALIZATIONS - -def_classical = dict( - all=False, zero=False, herd=False, names=True, persons=False, ancient=False -) - -all_classical = {k: True for k in def_classical} -no_classical = {k: False for k in def_classical} - - -# Maps strings to built-in constant types -string_to_constant = {"True": True, "False": False, "None": None} - - -# Pre-compiled regular expression objects -DOLLAR_DIGITS = re.compile(r"\$(\d+)") -FUNCTION_CALL = re.compile(r"((\w+)\([^)]*\)*)", re.IGNORECASE) -PARTITION_WORD = re.compile(r"\A(\s*)(.+?)(\s*)\Z") -PL_SB_POSTFIX_ADJ_STEMS_RE = re.compile( - rf"^(?:{pl_sb_postfix_adj_stems})$", re.IGNORECASE -) -PL_SB_PREP_DUAL_COMPOUND_RE = re.compile( - rf"^(?:{pl_sb_prep_dual_compound})$", re.IGNORECASE -) -DENOMINATOR = re.compile(r"(?P.+)( (per|a) .+)") -PLVERB_SPECIAL_S_RE = re.compile(rf"^({plverb_special_s})$") -WHITESPACE = re.compile(r"\s") -ENDS_WITH_S = re.compile(r"^(.*[^s])s$", re.IGNORECASE) -ENDS_WITH_APOSTROPHE_S = re.compile(r"^(.*)'s?$") -INDEFINITE_ARTICLE_TEST = re.compile(r"\A(\s*)(?:an?\s+)?(.+?)(\s*)\Z", re.IGNORECASE) -SPECIAL_AN = re.compile(r"^[aefhilmnorsx]$", re.IGNORECASE) -SPECIAL_A = re.compile(r"^[bcdgjkpqtuvwyz]$", re.IGNORECASE) -SPECIAL_ABBREV_AN = re.compile(r"^[aefhilmnorsx][.-]", re.IGNORECASE) -SPECIAL_ABBREV_A = re.compile(r"^[a-z][.-]", re.IGNORECASE) -CONSONANTS = re.compile(r"^[^aeiouy]", re.IGNORECASE) -ARTICLE_SPECIAL_EU = re.compile(r"^e[uw]", re.IGNORECASE) -ARTICLE_SPECIAL_ONCE = re.compile(r"^onc?e\b", re.IGNORECASE) -ARTICLE_SPECIAL_ONETIME = re.compile(r"^onetime\b", re.IGNORECASE) -ARTICLE_SPECIAL_UNIT = re.compile(r"^uni([^nmd]|mo)", re.IGNORECASE) -ARTICLE_SPECIAL_UBA = re.compile(r"^u[bcfghjkqrst][aeiou]", re.IGNORECASE) -ARTICLE_SPECIAL_UKR = re.compile(r"^ukr", re.IGNORECASE) -SPECIAL_CAPITALS = re.compile(r"^U[NK][AIEO]?") -VOWELS = re.compile(r"^[aeiou]", re.IGNORECASE) - -DIGIT_GROUP = re.compile(r"(\d)") -TWO_DIGITS = re.compile(r"(\d)(\d)") -THREE_DIGITS = re.compile(r"(\d)(\d)(\d)") -THREE_DIGITS_WORD = re.compile(r"(\d)(\d)(\d)(?=\D*\Z)") -TWO_DIGITS_WORD = re.compile(r"(\d)(\d)(?=\D*\Z)") -ONE_DIGIT_WORD = re.compile(r"(\d)(?=\D*\Z)") - -FOUR_DIGIT_COMMA = re.compile(r"(\d)(\d{3}(?:,|\Z))") -NON_DIGIT = re.compile(r"\D") -WHITESPACES_COMMA = re.compile(r"\s+,") -COMMA_WORD = re.compile(r", (\S+)\s+\Z") -WHITESPACES = re.compile(r"\s+") - - -PRESENT_PARTICIPLE_REPLACEMENTS = ( - (re.compile(r"ie$"), r"y"), - ( - re.compile(r"ue$"), - r"u", - ), # TODO: isn't ue$ -> u encompassed in the following rule? - (re.compile(r"([auy])e$"), r"\g<1>"), - (re.compile(r"ski$"), r"ski"), - (re.compile(r"[^b]i$"), r""), - (re.compile(r"^(are|were)$"), r"be"), - (re.compile(r"^(had)$"), r"hav"), - (re.compile(r"^(hoe)$"), r"\g<1>"), - (re.compile(r"([^e])e$"), r"\g<1>"), - (re.compile(r"er$"), r"er"), - (re.compile(r"([^aeiou][aeiouy]([bdgmnprst]))$"), r"\g<1>\g<2>"), -) - -DIGIT = re.compile(r"\d") - - -class Words(str): - lowered: str - split_: List[str] - first: str - last: str - - def __init__(self, orig) -> None: - self.lowered = self.lower() - self.split_ = self.split() - self.first = self.split_[0] - self.last = self.split_[-1] - - -Falsish = Any # ideally, falsish would only validate on bool(value) is False - - -_STATIC_TYPE_CHECKING = TYPE_CHECKING -# ^-- Workaround for typeguard AST manipulation: -# https://github.com/agronholm/typeguard/issues/353#issuecomment-1556306554 - -if _STATIC_TYPE_CHECKING: # pragma: no cover - Word = Annotated[str, "String with at least 1 character"] -else: - - class _WordMeta(type): # Too dynamic to be supported by mypy... - def __instancecheck__(self, instance: Any) -> bool: - return isinstance(instance, str) and len(instance) >= 1 - - class Word(metaclass=_WordMeta): # type: ignore[no-redef] - """String with at least 1 character""" - - -class engine: - def __init__(self) -> None: - self.classical_dict = def_classical.copy() - self.persistent_count: Optional[int] = None - self.mill_count = 0 - self.pl_sb_user_defined: List[Optional[Word]] = [] - self.pl_v_user_defined: List[Optional[Word]] = [] - self.pl_adj_user_defined: List[Optional[Word]] = [] - self.si_sb_user_defined: List[Optional[Word]] = [] - self.A_a_user_defined: List[Optional[Word]] = [] - self.thegender = "neuter" - self.__number_args: Optional[Dict[str, str]] = None - - @property - def _number_args(self): - return cast(Dict[str, str], self.__number_args) - - @_number_args.setter - def _number_args(self, val): - self.__number_args = val - - @typechecked - def defnoun(self, singular: Optional[Word], plural: Optional[Word]) -> int: - """ - Set the noun plural of singular to plural. - - """ - self.checkpat(singular) - self.checkpatplural(plural) - self.pl_sb_user_defined.extend((singular, plural)) - self.si_sb_user_defined.extend((plural, singular)) - return 1 - - @typechecked - def defverb( - self, - s1: Optional[Word], - p1: Optional[Word], - s2: Optional[Word], - p2: Optional[Word], - s3: Optional[Word], - p3: Optional[Word], - ) -> int: - """ - Set the verb plurals for s1, s2 and s3 to p1, p2 and p3 respectively. - - Where 1, 2 and 3 represent the 1st, 2nd and 3rd person forms of the verb. - - """ - self.checkpat(s1) - self.checkpat(s2) - self.checkpat(s3) - self.checkpatplural(p1) - self.checkpatplural(p2) - self.checkpatplural(p3) - self.pl_v_user_defined.extend((s1, p1, s2, p2, s3, p3)) - return 1 - - @typechecked - def defadj(self, singular: Optional[Word], plural: Optional[Word]) -> int: - """ - Set the adjective plural of singular to plural. - - """ - self.checkpat(singular) - self.checkpatplural(plural) - self.pl_adj_user_defined.extend((singular, plural)) - return 1 - - @typechecked - def defa(self, pattern: Optional[Word]) -> int: - """ - Define the indefinite article as 'a' for words matching pattern. - - """ - self.checkpat(pattern) - self.A_a_user_defined.extend((pattern, "a")) - return 1 - - @typechecked - def defan(self, pattern: Optional[Word]) -> int: - """ - Define the indefinite article as 'an' for words matching pattern. - - """ - self.checkpat(pattern) - self.A_a_user_defined.extend((pattern, "an")) - return 1 - - def checkpat(self, pattern: Optional[Word]) -> None: - """ - check for errors in a regex pattern - """ - if pattern is None: - return - try: - re.match(pattern, "") - except re.error as err: - raise BadUserDefinedPatternError(pattern) from err - - def checkpatplural(self, pattern: Optional[Word]) -> None: - """ - check for errors in a regex replace pattern - """ - return - - @typechecked - def ud_match(self, word: Word, wordlist: Sequence[Optional[Word]]) -> Optional[str]: - for i in range(len(wordlist) - 2, -2, -2): # backwards through even elements - mo = re.search(rf"^{wordlist[i]}$", word, re.IGNORECASE) - if mo: - if wordlist[i + 1] is None: - return None - pl = DOLLAR_DIGITS.sub( - r"\\1", cast(Word, wordlist[i + 1]) - ) # change $n to \n for expand - return mo.expand(pl) - return None - - def classical(self, **kwargs) -> None: - """ - turn classical mode on and off for various categories - - turn on all classical modes: - classical() - classical(all=True) - - turn on or off specific claassical modes: - e.g. - classical(herd=True) - classical(names=False) - - By default all classical modes are off except names. - - unknown value in args or key in kwargs raises - exception: UnknownClasicalModeError - - """ - if not kwargs: - self.classical_dict = all_classical.copy() - return - if "all" in kwargs: - if kwargs["all"]: - self.classical_dict = all_classical.copy() - else: - self.classical_dict = no_classical.copy() - - for k, v in kwargs.items(): - if k in def_classical: - self.classical_dict[k] = v - else: - raise UnknownClassicalModeError - - def num( - self, count: Optional[int] = None, show: Optional[int] = None - ) -> str: # (;$count,$show) - """ - Set the number to be used in other method calls. - - Returns count. - - Set show to False to return '' instead. - - """ - if count is not None: - try: - self.persistent_count = int(count) - except ValueError as err: - raise BadNumValueError from err - if (show is None) or show: - return str(count) - else: - self.persistent_count = None - return "" - - def gender(self, gender: str) -> None: - """ - set the gender for the singular of plural pronouns - - can be one of: - 'neuter' ('they' -> 'it') - 'feminine' ('they' -> 'she') - 'masculine' ('they' -> 'he') - 'gender-neutral' ('they' -> 'they') - 'feminine or masculine' ('they' -> 'she or he') - 'masculine or feminine' ('they' -> 'he or she') - """ - if gender in singular_pronoun_genders: - self.thegender = gender - else: - raise BadGenderError - - def _get_value_from_ast(self, obj): - """ - Return the value of the ast object. - """ - if isinstance(obj, ast.Num): - return obj.n - elif isinstance(obj, ast.Str): - return obj.s - elif isinstance(obj, ast.List): - return [self._get_value_from_ast(e) for e in obj.elts] - elif isinstance(obj, ast.Tuple): - return tuple([self._get_value_from_ast(e) for e in obj.elts]) - - # None, True and False are NameConstants in Py3.4 and above. - elif isinstance(obj, ast.NameConstant): - return obj.value - - # Probably passed a variable name. - # Or passed a single word without wrapping it in quotes as an argument - # ex: p.inflect("I plural(see)") instead of p.inflect("I plural('see')") - raise NameError(f"name '{obj.id}' is not defined") - - def _string_to_substitute( - self, mo: Match, methods_dict: Dict[str, Callable] - ) -> str: - """ - Return the string to be substituted for the match. - """ - matched_text, f_name = mo.groups() - # matched_text is the complete match string. e.g. plural_noun(cat) - # f_name is the function name. e.g. plural_noun - - # Return matched_text if function name is not in methods_dict - if f_name not in methods_dict: - return matched_text - - # Parse the matched text - a_tree = ast.parse(matched_text) - - # get the args and kwargs from ast objects - args_list = [ - self._get_value_from_ast(a) - for a in a_tree.body[0].value.args # type: ignore[attr-defined] - ] - kwargs_list = { - kw.arg: self._get_value_from_ast(kw.value) - for kw in a_tree.body[0].value.keywords # type: ignore[attr-defined] - } - - # Call the corresponding function - return methods_dict[f_name](*args_list, **kwargs_list) - - # 0. PERFORM GENERAL INFLECTIONS IN A STRING - - @typechecked - def inflect(self, text: Word) -> str: - """ - Perform inflections in a string. - - e.g. inflect('The plural of cat is plural(cat)') returns - 'The plural of cat is cats' - - can use plural, plural_noun, plural_verb, plural_adj, - singular_noun, a, an, no, ordinal, number_to_words, - and prespart - - """ - save_persistent_count = self.persistent_count - - # Dictionary of allowed methods - methods_dict: Dict[str, Callable] = { - "plural": self.plural, - "plural_adj": self.plural_adj, - "plural_noun": self.plural_noun, - "plural_verb": self.plural_verb, - "singular_noun": self.singular_noun, - "a": self.a, - "an": self.a, - "no": self.no, - "ordinal": self.ordinal, - "number_to_words": self.number_to_words, - "present_participle": self.present_participle, - "num": self.num, - } - - # Regular expression to find Python's function call syntax - output = FUNCTION_CALL.sub( - lambda mo: self._string_to_substitute(mo, methods_dict), text - ) - self.persistent_count = save_persistent_count - return output - - # ## PLURAL SUBROUTINES - - def postprocess(self, orig: str, inflected) -> str: - inflected = str(inflected) - if "|" in inflected: - word_options = inflected.split("|") - # When two parts of a noun need to be pluralized - if len(word_options[0].split(" ")) == len(word_options[1].split(" ")): - result = inflected.split("|")[self.classical_dict["all"]].split(" ") - # When only the last part of the noun needs to be pluralized - else: - result = inflected.split(" ") - for index, word in enumerate(result): - if "|" in word: - result[index] = word.split("|")[self.classical_dict["all"]] - else: - result = inflected.split(" ") - - # Try to fix word wise capitalization - for index, word in enumerate(orig.split(" ")): - if word == "I": - # Is this the only word for exceptions like this - # Where the original is fully capitalized - # without 'meaning' capitalization? - # Also this fails to handle a capitalizaion in context - continue - if word.capitalize() == word: - result[index] = result[index].capitalize() - if word == word.upper(): - result[index] = result[index].upper() - return " ".join(result) - - def partition_word(self, text: str) -> Tuple[str, str, str]: - mo = PARTITION_WORD.search(text) - if mo: - return mo.group(1), mo.group(2), mo.group(3) - else: - return "", "", "" - - @typechecked - def plural(self, text: Word, count: Optional[Union[str, int, Any]] = None) -> str: - """ - Return the plural of text. - - If count supplied, then return text if count is one of: - 1, a, an, one, each, every, this, that - - otherwise return the plural. - - Whitespace at the start and end is preserved. - - """ - pre, word, post = self.partition_word(text) - if not word: - return text - plural = self.postprocess( - word, - self._pl_special_adjective(word, count) - or self._pl_special_verb(word, count) - or self._plnoun(word, count), - ) - return f"{pre}{plural}{post}" - - @typechecked - def plural_noun( - self, text: Word, count: Optional[Union[str, int, Any]] = None - ) -> str: - """ - Return the plural of text, where text is a noun. - - If count supplied, then return text if count is one of: - 1, a, an, one, each, every, this, that - - otherwise return the plural. - - Whitespace at the start and end is preserved. - - """ - pre, word, post = self.partition_word(text) - if not word: - return text - plural = self.postprocess(word, self._plnoun(word, count)) - return f"{pre}{plural}{post}" - - @typechecked - def plural_verb( - self, text: Word, count: Optional[Union[str, int, Any]] = None - ) -> str: - """ - Return the plural of text, where text is a verb. - - If count supplied, then return text if count is one of: - 1, a, an, one, each, every, this, that - - otherwise return the plural. - - Whitespace at the start and end is preserved. - - """ - pre, word, post = self.partition_word(text) - if not word: - return text - plural = self.postprocess( - word, - self._pl_special_verb(word, count) or self._pl_general_verb(word, count), - ) - return f"{pre}{plural}{post}" - - @typechecked - def plural_adj( - self, text: Word, count: Optional[Union[str, int, Any]] = None - ) -> str: - """ - Return the plural of text, where text is an adjective. - - If count supplied, then return text if count is one of: - 1, a, an, one, each, every, this, that - - otherwise return the plural. - - Whitespace at the start and end is preserved. - - """ - pre, word, post = self.partition_word(text) - if not word: - return text - plural = self.postprocess(word, self._pl_special_adjective(word, count) or word) - return f"{pre}{plural}{post}" - - @typechecked - def compare(self, word1: Word, word2: Word) -> Union[str, bool]: - """ - compare word1 and word2 for equality regardless of plurality - - return values: - eq - the strings are equal - p:s - word1 is the plural of word2 - s:p - word2 is the plural of word1 - p:p - word1 and word2 are two different plural forms of the one word - False - otherwise - - >>> compare = engine().compare - >>> compare("egg", "eggs") - 's:p' - >>> compare('egg', 'egg') - 'eq' - - Words should not be empty. - - >>> compare('egg', '') - Traceback (most recent call last): - ... - typeguard.TypeCheckError:...is not an instance of inflect.Word - """ - norms = self.plural_noun, self.plural_verb, self.plural_adj - results = (self._plequal(word1, word2, norm) for norm in norms) - return next(filter(None, results), False) - - @typechecked - def compare_nouns(self, word1: Word, word2: Word) -> Union[str, bool]: - """ - compare word1 and word2 for equality regardless of plurality - word1 and word2 are to be treated as nouns - - return values: - eq - the strings are equal - p:s - word1 is the plural of word2 - s:p - word2 is the plural of word1 - p:p - word1 and word2 are two different plural forms of the one word - False - otherwise - - """ - return self._plequal(word1, word2, self.plural_noun) - - @typechecked - def compare_verbs(self, word1: Word, word2: Word) -> Union[str, bool]: - """ - compare word1 and word2 for equality regardless of plurality - word1 and word2 are to be treated as verbs - - return values: - eq - the strings are equal - p:s - word1 is the plural of word2 - s:p - word2 is the plural of word1 - p:p - word1 and word2 are two different plural forms of the one word - False - otherwise - - """ - return self._plequal(word1, word2, self.plural_verb) - - @typechecked - def compare_adjs(self, word1: Word, word2: Word) -> Union[str, bool]: - """ - compare word1 and word2 for equality regardless of plurality - word1 and word2 are to be treated as adjectives - - return values: - eq - the strings are equal - p:s - word1 is the plural of word2 - s:p - word2 is the plural of word1 - p:p - word1 and word2 are two different plural forms of the one word - False - otherwise - - """ - return self._plequal(word1, word2, self.plural_adj) - - @typechecked - def singular_noun( - self, - text: Word, - count: Optional[Union[int, str, Any]] = None, - gender: Optional[str] = None, - ) -> Union[str, Literal[False]]: - """ - Return the singular of text, where text is a plural noun. - - If count supplied, then return the singular if count is one of: - 1, a, an, one, each, every, this, that or if count is None - - otherwise return text unchanged. - - Whitespace at the start and end is preserved. - - >>> p = engine() - >>> p.singular_noun('horses') - 'horse' - >>> p.singular_noun('knights') - 'knight' - - Returns False when a singular noun is passed. - - >>> p.singular_noun('horse') - False - >>> p.singular_noun('knight') - False - >>> p.singular_noun('soldier') - False - - """ - pre, word, post = self.partition_word(text) - if not word: - return text - sing = self._sinoun(word, count=count, gender=gender) - if sing is not False: - plural = self.postprocess(word, sing) - return f"{pre}{plural}{post}" - return False - - def _plequal(self, word1: str, word2: str, pl) -> Union[str, bool]: # noqa: C901 - classval = self.classical_dict.copy() - self.classical_dict = all_classical.copy() - if word1 == word2: - return "eq" - if word1 == pl(word2): - return "p:s" - if pl(word1) == word2: - return "s:p" - self.classical_dict = no_classical.copy() - if word1 == pl(word2): - return "p:s" - if pl(word1) == word2: - return "s:p" - self.classical_dict = classval.copy() - - if pl == self.plural or pl == self.plural_noun: - if self._pl_check_plurals_N(word1, word2): - return "p:p" - if self._pl_check_plurals_N(word2, word1): - return "p:p" - if pl == self.plural or pl == self.plural_adj: - if self._pl_check_plurals_adj(word1, word2): - return "p:p" - return False - - def _pl_reg_plurals(self, pair: str, stems: str, end1: str, end2: str) -> bool: - pattern = rf"({stems})({end1}\|\1{end2}|{end2}\|\1{end1})" - return bool(re.search(pattern, pair)) - - def _pl_check_plurals_N(self, word1: str, word2: str) -> bool: - stem_endings = ( - (pl_sb_C_a_ata, "as", "ata"), - (pl_sb_C_is_ides, "is", "ides"), - (pl_sb_C_a_ae, "s", "e"), - (pl_sb_C_en_ina, "ens", "ina"), - (pl_sb_C_um_a, "ums", "a"), - (pl_sb_C_us_i, "uses", "i"), - (pl_sb_C_on_a, "ons", "a"), - (pl_sb_C_o_i_stems, "os", "i"), - (pl_sb_C_ex_ices, "exes", "ices"), - (pl_sb_C_ix_ices, "ixes", "ices"), - (pl_sb_C_i, "s", "i"), - (pl_sb_C_im, "s", "im"), - (".*eau", "s", "x"), - (".*ieu", "s", "x"), - (".*tri", "xes", "ces"), - (".{2,}[yia]n", "xes", "ges"), - ) - - words = map(Words, (word1, word2)) - pair = "|".join(word.last for word in words) - - return ( - pair in pl_sb_irregular_s.values() - or pair in pl_sb_irregular.values() - or pair in pl_sb_irregular_caps.values() - or any( - self._pl_reg_plurals(pair, stems, end1, end2) - for stems, end1, end2 in stem_endings - ) - ) - - def _pl_check_plurals_adj(self, word1: str, word2: str) -> bool: - word1a = word1[: word1.rfind("'")] if word1.endswith(("'s", "'")) else "" - word2a = word2[: word2.rfind("'")] if word2.endswith(("'s", "'")) else "" - - return ( - bool(word1a) - and bool(word2a) - and ( - self._pl_check_plurals_N(word1a, word2a) - or self._pl_check_plurals_N(word2a, word1a) - ) - ) - - def get_count(self, count: Optional[Union[str, int]] = None) -> Union[str, int]: - if count is None and self.persistent_count is not None: - count = self.persistent_count - - if count is not None: - count = ( - 1 - if ( - (str(count) in pl_count_one) - or ( - self.classical_dict["zero"] - and str(count).lower() in pl_count_zero - ) - ) - else 2 - ) - else: - count = "" - return count - - # @profile - def _plnoun( # noqa: C901 - self, word: str, count: Optional[Union[str, int]] = None - ) -> str: - count = self.get_count(count) - - # DEFAULT TO PLURAL - - if count == 1: - return word - - # HANDLE USER-DEFINED NOUNS - - value = self.ud_match(word, self.pl_sb_user_defined) - if value is not None: - return value - - # HANDLE EMPTY WORD, SINGULAR COUNT AND UNINFLECTED PLURALS - - if word == "": - return word - - word = Words(word) - - if word.last.lower() in pl_sb_uninflected_complete: - if len(word.split_) >= 3: - return self._handle_long_compounds(word, count=2) or word - return word - - if word in pl_sb_uninflected_caps: - return word - - for k, v in pl_sb_uninflected_bysize.items(): - if word.lowered[-k:] in v: - return word - - if self.classical_dict["herd"] and word.last.lower() in pl_sb_uninflected_herd: - return word - - # HANDLE COMPOUNDS ("Governor General", "mother-in-law", "aide-de-camp", ETC.) - - mo = PL_SB_POSTFIX_ADJ_STEMS_RE.search(word) - if mo and mo.group(2) != "": - return f"{self._plnoun(mo.group(1), 2)}{mo.group(2)}" - - if " a " in word.lowered or "-a-" in word.lowered: - mo = PL_SB_PREP_DUAL_COMPOUND_RE.search(word) - if mo and mo.group(2) != "" and mo.group(3) != "": - return ( - f"{self._plnoun(mo.group(1), 2)}" - f"{mo.group(2)}" - f"{self._plnoun(mo.group(3))}" - ) - - if len(word.split_) >= 3: - handled_words = self._handle_long_compounds(word, count=2) - if handled_words is not None: - return handled_words - - # only pluralize denominators in units - mo = DENOMINATOR.search(word.lowered) - if mo: - index = len(mo.group("denominator")) - return f"{self._plnoun(word[:index])}{word[index:]}" - - # handle units given in degrees (only accept if - # there is no more than one word following) - # degree Celsius => degrees Celsius but degree - # fahrenheit hour => degree fahrenheit hours - if len(word.split_) >= 2 and word.split_[-2] == "degree": - return " ".join([self._plnoun(word.first)] + word.split_[1:]) - - with contextlib.suppress(ValueError): - return self._handle_prepositional_phrase( - word.lowered, - functools.partial(self._plnoun, count=2), - '-', - ) - - # HANDLE PRONOUNS - - for k, v in pl_pron_acc_keys_bysize.items(): - if word.lowered[-k:] in v: # ends with accusative pronoun - for pk, pv in pl_prep_bysize.items(): - if word.lowered[:pk] in pv: # starts with a prep - if word.lowered.split() == [ - word.lowered[:pk], - word.lowered[-k:], - ]: - # only whitespace in between - return word.lowered[:-k] + pl_pron_acc[word.lowered[-k:]] - - try: - return pl_pron_nom[word.lowered] - except KeyError: - pass - - try: - return pl_pron_acc[word.lowered] - except KeyError: - pass - - # HANDLE ISOLATED IRREGULAR PLURALS - - if word.last in pl_sb_irregular_caps: - llen = len(word.last) - return f"{word[:-llen]}{pl_sb_irregular_caps[word.last]}" - - lowered_last = word.last.lower() - if lowered_last in pl_sb_irregular: - llen = len(lowered_last) - return f"{word[:-llen]}{pl_sb_irregular[lowered_last]}" - - dash_split = word.lowered.split('-') - if (" ".join(dash_split[-2:])).lower() in pl_sb_irregular_compound: - llen = len( - " ".join(dash_split[-2:]) - ) # TODO: what if 2 spaces between these words? - return ( - f"{word[:-llen]}" - f"{pl_sb_irregular_compound[(' '.join(dash_split[-2:])).lower()]}" - ) - - if word.lowered[-3:] == "quy": - return f"{word[:-1]}ies" - - if word.lowered[-6:] == "person": - if self.classical_dict["persons"]: - return f"{word}s" - else: - return f"{word[:-4]}ople" - - # HANDLE FAMILIES OF IRREGULAR PLURALS - - if word.lowered[-3:] == "man": - for k, v in pl_sb_U_man_mans_bysize.items(): - if word.lowered[-k:] in v: - return f"{word}s" - for k, v in pl_sb_U_man_mans_caps_bysize.items(): - if word[-k:] in v: - return f"{word}s" - return f"{word[:-3]}men" - if word.lowered[-5:] == "mouse": - return f"{word[:-5]}mice" - if word.lowered[-5:] == "louse": - v = pl_sb_U_louse_lice_bysize.get(len(word)) - if v and word.lowered in v: - return f"{word[:-5]}lice" - return f"{word}s" - if word.lowered[-5:] == "goose": - return f"{word[:-5]}geese" - if word.lowered[-5:] == "tooth": - return f"{word[:-5]}teeth" - if word.lowered[-4:] == "foot": - return f"{word[:-4]}feet" - if word.lowered[-4:] == "taco": - return f"{word[:-5]}tacos" - - if word.lowered == "die": - return "dice" - - # HANDLE UNASSIMILATED IMPORTS - - if word.lowered[-4:] == "ceps": - return word - if word.lowered[-4:] == "zoon": - return f"{word[:-2]}a" - if word.lowered[-3:] in ("cis", "sis", "xis"): - return f"{word[:-2]}es" - - for lastlet, d, numend, post in ( - ("h", pl_sb_U_ch_chs_bysize, None, "s"), - ("x", pl_sb_U_ex_ices_bysize, -2, "ices"), - ("x", pl_sb_U_ix_ices_bysize, -2, "ices"), - ("m", pl_sb_U_um_a_bysize, -2, "a"), - ("s", pl_sb_U_us_i_bysize, -2, "i"), - ("n", pl_sb_U_on_a_bysize, -2, "a"), - ("a", pl_sb_U_a_ae_bysize, None, "e"), - ): - if word.lowered[-1] == lastlet: # this test to add speed - for k, v in d.items(): - if word.lowered[-k:] in v: - return word[:numend] + post - - # HANDLE INCOMPLETELY ASSIMILATED IMPORTS - - if self.classical_dict["ancient"]: - if word.lowered[-4:] == "trix": - return f"{word[:-1]}ces" - if word.lowered[-3:] in ("eau", "ieu"): - return f"{word}x" - if word.lowered[-3:] in ("ynx", "inx", "anx") and len(word) > 4: - return f"{word[:-1]}ges" - - for lastlet, d, numend, post in ( - ("n", pl_sb_C_en_ina_bysize, -2, "ina"), - ("x", pl_sb_C_ex_ices_bysize, -2, "ices"), - ("x", pl_sb_C_ix_ices_bysize, -2, "ices"), - ("m", pl_sb_C_um_a_bysize, -2, "a"), - ("s", pl_sb_C_us_i_bysize, -2, "i"), - ("s", pl_sb_C_us_us_bysize, None, ""), - ("a", pl_sb_C_a_ae_bysize, None, "e"), - ("a", pl_sb_C_a_ata_bysize, None, "ta"), - ("s", pl_sb_C_is_ides_bysize, -1, "des"), - ("o", pl_sb_C_o_i_bysize, -1, "i"), - ("n", pl_sb_C_on_a_bysize, -2, "a"), - ): - if word.lowered[-1] == lastlet: # this test to add speed - for k, v in d.items(): - if word.lowered[-k:] in v: - return word[:numend] + post - - for d, numend, post in ( - (pl_sb_C_i_bysize, None, "i"), - (pl_sb_C_im_bysize, None, "im"), - ): - for k, v in d.items(): - if word.lowered[-k:] in v: - return word[:numend] + post - - # HANDLE SINGULAR NOUNS ENDING IN ...s OR OTHER SILIBANTS - - if lowered_last in pl_sb_singular_s_complete: - return f"{word}es" - - for k, v in pl_sb_singular_s_bysize.items(): - if word.lowered[-k:] in v: - return f"{word}es" - - if word.lowered[-2:] == "es" and word[0] == word[0].upper(): - return f"{word}es" - - if word.lowered[-1] == "z": - for k, v in pl_sb_z_zes_bysize.items(): - if word.lowered[-k:] in v: - return f"{word}es" - - if word.lowered[-2:-1] != "z": - return f"{word}zes" - - if word.lowered[-2:] == "ze": - for k, v in pl_sb_ze_zes_bysize.items(): - if word.lowered[-k:] in v: - return f"{word}s" - - if word.lowered[-2:] in ("ch", "sh", "zz", "ss") or word.lowered[-1] == "x": - return f"{word}es" - - # HANDLE ...f -> ...ves - - if word.lowered[-3:] in ("elf", "alf", "olf"): - return f"{word[:-1]}ves" - if word.lowered[-3:] == "eaf" and word.lowered[-4:-3] != "d": - return f"{word[:-1]}ves" - if word.lowered[-4:] in ("nife", "life", "wife"): - return f"{word[:-2]}ves" - if word.lowered[-3:] == "arf": - return f"{word[:-1]}ves" - - # HANDLE ...y - - if word.lowered[-1] == "y": - if word.lowered[-2:-1] in "aeiou" or len(word) == 1: - return f"{word}s" - - if self.classical_dict["names"]: - if word.lowered[-1] == "y" and word[0] == word[0].upper(): - return f"{word}s" - - return f"{word[:-1]}ies" - - # HANDLE ...o - - if lowered_last in pl_sb_U_o_os_complete: - return f"{word}s" - - for k, v in pl_sb_U_o_os_bysize.items(): - if word.lowered[-k:] in v: - return f"{word}s" - - if word.lowered[-2:] in ("ao", "eo", "io", "oo", "uo"): - return f"{word}s" - - if word.lowered[-1] == "o": - return f"{word}es" - - # OTHERWISE JUST ADD ...s - - return f"{word}s" - - @classmethod - def _handle_prepositional_phrase(cls, phrase, transform, sep): - """ - Given a word or phrase possibly separated by sep, parse out - the prepositional phrase and apply the transform to the word - preceding the prepositional phrase. - - Raise ValueError if the pivot is not found or if at least two - separators are not found. - - >>> engine._handle_prepositional_phrase("man-of-war", str.upper, '-') - 'MAN-of-war' - >>> engine._handle_prepositional_phrase("man of war", str.upper, ' ') - 'MAN of war' - """ - parts = phrase.split(sep) - if len(parts) < 3: - raise ValueError("Cannot handle words with fewer than two separators") - - pivot = cls._find_pivot(parts, pl_prep_list_da) - - transformed = transform(parts[pivot - 1]) or parts[pivot - 1] - return " ".join( - parts[: pivot - 1] + [sep.join([transformed, parts[pivot], ''])] - ) + " ".join(parts[(pivot + 1) :]) - - def _handle_long_compounds(self, word: Words, count: int) -> Union[str, None]: - """ - Handles the plural and singular for compound `Words` that - have three or more words, based on the given count. - - >>> engine()._handle_long_compounds(Words("pair of scissors"), 2) - 'pairs of scissors' - >>> engine()._handle_long_compounds(Words("men beyond hills"), 1) - 'man beyond hills' - """ - inflection = self._sinoun if count == 1 else self._plnoun - solutions = ( # type: ignore - " ".join( - itertools.chain( - leader, - [inflection(cand, count), prep], # type: ignore - trailer, - ) - ) - for leader, (cand, prep), trailer in windowed_complete(word.split_, 2) - if prep in pl_prep_list_da # type: ignore - ) - return next(solutions, None) - - @staticmethod - def _find_pivot(words, candidates): - pivots = ( - index for index in range(1, len(words) - 1) if words[index] in candidates - ) - try: - return next(pivots) - except StopIteration: - raise ValueError("No pivot found") from None - - def _pl_special_verb( # noqa: C901 - self, word: str, count: Optional[Union[str, int]] = None - ) -> Union[str, bool]: - if self.classical_dict["zero"] and str(count).lower() in pl_count_zero: - return False - count = self.get_count(count) - - if count == 1: - return word - - # HANDLE USER-DEFINED VERBS - - value = self.ud_match(word, self.pl_v_user_defined) - if value is not None: - return value - - # HANDLE IRREGULAR PRESENT TENSE (SIMPLE AND COMPOUND) - - try: - words = Words(word) - except IndexError: - return False # word is '' - - if words.first in plverb_irregular_pres: - return f"{plverb_irregular_pres[words.first]}{words[len(words.first) :]}" - - # HANDLE IRREGULAR FUTURE, PRETERITE AND PERFECT TENSES - - if words.first in plverb_irregular_non_pres: - return word - - # HANDLE PRESENT NEGATIONS (SIMPLE AND COMPOUND) - - if words.first.endswith("n't") and words.first[:-3] in plverb_irregular_pres: - return ( - f"{plverb_irregular_pres[words.first[:-3]]}n't" - f"{words[len(words.first) :]}" - ) - - if words.first.endswith("n't"): - return word - - # HANDLE SPECIAL CASES - - mo = PLVERB_SPECIAL_S_RE.search(word) - if mo: - return False - if WHITESPACE.search(word): - return False - - if words.lowered == "quizzes": - return "quiz" - - # HANDLE STANDARD 3RD PERSON (CHOP THE ...(e)s OFF SINGLE WORDS) - - if ( - words.lowered[-4:] in ("ches", "shes", "zzes", "sses") - or words.lowered[-3:] == "xes" - ): - return words[:-2] - - if words.lowered[-3:] == "ies" and len(words) > 3: - return words.lowered[:-3] + "y" - - if ( - words.last.lower() in pl_v_oes_oe - or words.lowered[-4:] in pl_v_oes_oe_endings_size4 - or words.lowered[-5:] in pl_v_oes_oe_endings_size5 - ): - return words[:-1] - - if words.lowered.endswith("oes") and len(words) > 3: - return words.lowered[:-2] - - mo = ENDS_WITH_S.search(words) - if mo: - return mo.group(1) - - # OTHERWISE, A REGULAR VERB (HANDLE ELSEWHERE) - - return False - - def _pl_general_verb( - self, word: str, count: Optional[Union[str, int]] = None - ) -> str: - count = self.get_count(count) - - if count == 1: - return word - - # HANDLE AMBIGUOUS PRESENT TENSES (SIMPLE AND COMPOUND) - - mo = plverb_ambiguous_pres_keys.search(word) - if mo: - return f"{plverb_ambiguous_pres[mo.group(1).lower()]}{mo.group(2)}" - - # HANDLE AMBIGUOUS PRETERITE AND PERFECT TENSES - - mo = plverb_ambiguous_non_pres.search(word) - if mo: - return word - - # OTHERWISE, 1st OR 2ND PERSON IS UNINFLECTED - - return word - - def _pl_special_adjective( - self, word: str, count: Optional[Union[str, int]] = None - ) -> Union[str, bool]: - count = self.get_count(count) - - if count == 1: - return word - - # HANDLE USER-DEFINED ADJECTIVES - - value = self.ud_match(word, self.pl_adj_user_defined) - if value is not None: - return value - - # HANDLE KNOWN CASES - - mo = pl_adj_special_keys.search(word) - if mo: - return pl_adj_special[mo.group(1).lower()] - - # HANDLE POSSESSIVES - - mo = pl_adj_poss_keys.search(word) - if mo: - return pl_adj_poss[mo.group(1).lower()] - - mo = ENDS_WITH_APOSTROPHE_S.search(word) - if mo: - pl = self.plural_noun(mo.group(1)) - trailing_s = "" if pl[-1] == "s" else "s" - return f"{pl}'{trailing_s}" - - # OTHERWISE, NO IDEA - - return False - - # @profile - def _sinoun( # noqa: C901 - self, - word: str, - count: Optional[Union[str, int]] = None, - gender: Optional[str] = None, - ) -> Union[str, bool]: - count = self.get_count(count) - - # DEFAULT TO PLURAL - - if count == 2: - return word - - # SET THE GENDER - - try: - if gender is None: - gender = self.thegender - elif gender not in singular_pronoun_genders: - raise BadGenderError - except (TypeError, IndexError) as err: - raise BadGenderError from err - - # HANDLE USER-DEFINED NOUNS - - value = self.ud_match(word, self.si_sb_user_defined) - if value is not None: - return value - - # HANDLE EMPTY WORD, SINGULAR COUNT AND UNINFLECTED PLURALS - - if word == "": - return word - - if word in si_sb_ois_oi_case: - return word[:-1] - - words = Words(word) - - if words.last.lower() in pl_sb_uninflected_complete: - if len(words.split_) >= 3: - return self._handle_long_compounds(words, count=1) or word - return word - - if word in pl_sb_uninflected_caps: - return word - - for k, v in pl_sb_uninflected_bysize.items(): - if words.lowered[-k:] in v: - return word - - if self.classical_dict["herd"] and words.last.lower() in pl_sb_uninflected_herd: - return word - - if words.last.lower() in pl_sb_C_us_us: - return word if self.classical_dict["ancient"] else False - - # HANDLE COMPOUNDS ("Governor General", "mother-in-law", "aide-de-camp", ETC.) - - mo = PL_SB_POSTFIX_ADJ_STEMS_RE.search(word) - if mo and mo.group(2) != "": - return f"{self._sinoun(mo.group(1), 1, gender=gender)}{mo.group(2)}" - - with contextlib.suppress(ValueError): - return self._handle_prepositional_phrase( - words.lowered, - functools.partial(self._sinoun, count=1, gender=gender), - ' ', - ) - - with contextlib.suppress(ValueError): - return self._handle_prepositional_phrase( - words.lowered, - functools.partial(self._sinoun, count=1, gender=gender), - '-', - ) - - # HANDLE PRONOUNS - - for k, v in si_pron_acc_keys_bysize.items(): - if words.lowered[-k:] in v: # ends with accusative pronoun - for pk, pv in pl_prep_bysize.items(): - if words.lowered[:pk] in pv: # starts with a prep - if words.lowered.split() == [ - words.lowered[:pk], - words.lowered[-k:], - ]: - # only whitespace in between - return words.lowered[:-k] + get_si_pron( - "acc", words.lowered[-k:], gender - ) - - try: - return get_si_pron("nom", words.lowered, gender) - except KeyError: - pass - - try: - return get_si_pron("acc", words.lowered, gender) - except KeyError: - pass - - # HANDLE ISOLATED IRREGULAR PLURALS - - if words.last in si_sb_irregular_caps: - llen = len(words.last) - return f"{word[:-llen]}{si_sb_irregular_caps[words.last]}" - - if words.last.lower() in si_sb_irregular: - llen = len(words.last.lower()) - return f"{word[:-llen]}{si_sb_irregular[words.last.lower()]}" - - dash_split = words.lowered.split("-") - if (" ".join(dash_split[-2:])).lower() in si_sb_irregular_compound: - llen = len( - " ".join(dash_split[-2:]) - ) # TODO: what if 2 spaces between these words? - return "{}{}".format( - word[:-llen], - si_sb_irregular_compound[(" ".join(dash_split[-2:])).lower()], - ) - - if words.lowered[-5:] == "quies": - return word[:-3] + "y" - - if words.lowered[-7:] == "persons": - return word[:-1] - if words.lowered[-6:] == "people": - return word[:-4] + "rson" - - # HANDLE FAMILIES OF IRREGULAR PLURALS - - if words.lowered[-4:] == "mans": - for k, v in si_sb_U_man_mans_bysize.items(): - if words.lowered[-k:] in v: - return word[:-1] - for k, v in si_sb_U_man_mans_caps_bysize.items(): - if word[-k:] in v: - return word[:-1] - if words.lowered[-3:] == "men": - return word[:-3] + "man" - if words.lowered[-4:] == "mice": - return word[:-4] + "mouse" - if words.lowered[-4:] == "lice": - v = si_sb_U_louse_lice_bysize.get(len(word)) - if v and words.lowered in v: - return word[:-4] + "louse" - if words.lowered[-5:] == "geese": - return word[:-5] + "goose" - if words.lowered[-5:] == "teeth": - return word[:-5] + "tooth" - if words.lowered[-4:] == "feet": - return word[:-4] + "foot" - - if words.lowered == "dice": - return "die" - - # HANDLE UNASSIMILATED IMPORTS - - if words.lowered[-4:] == "ceps": - return word - if words.lowered[-3:] == "zoa": - return word[:-1] + "on" - - for lastlet, d, unass_numend, post in ( - ("s", si_sb_U_ch_chs_bysize, -1, ""), - ("s", si_sb_U_ex_ices_bysize, -4, "ex"), - ("s", si_sb_U_ix_ices_bysize, -4, "ix"), - ("a", si_sb_U_um_a_bysize, -1, "um"), - ("i", si_sb_U_us_i_bysize, -1, "us"), - ("a", si_sb_U_on_a_bysize, -1, "on"), - ("e", si_sb_U_a_ae_bysize, -1, ""), - ): - if words.lowered[-1] == lastlet: # this test to add speed - for k, v in d.items(): - if words.lowered[-k:] in v: - return word[:unass_numend] + post - - # HANDLE INCOMPLETELY ASSIMILATED IMPORTS - - if self.classical_dict["ancient"]: - if words.lowered[-6:] == "trices": - return word[:-3] + "x" - if words.lowered[-4:] in ("eaux", "ieux"): - return word[:-1] - if words.lowered[-5:] in ("ynges", "inges", "anges") and len(word) > 6: - return word[:-3] + "x" - - for lastlet, d, class_numend, post in ( - ("a", si_sb_C_en_ina_bysize, -3, "en"), - ("s", si_sb_C_ex_ices_bysize, -4, "ex"), - ("s", si_sb_C_ix_ices_bysize, -4, "ix"), - ("a", si_sb_C_um_a_bysize, -1, "um"), - ("i", si_sb_C_us_i_bysize, -1, "us"), - ("s", pl_sb_C_us_us_bysize, None, ""), - ("e", si_sb_C_a_ae_bysize, -1, ""), - ("a", si_sb_C_a_ata_bysize, -2, ""), - ("s", si_sb_C_is_ides_bysize, -3, "s"), - ("i", si_sb_C_o_i_bysize, -1, "o"), - ("a", si_sb_C_on_a_bysize, -1, "on"), - ("m", si_sb_C_im_bysize, -2, ""), - ("i", si_sb_C_i_bysize, -1, ""), - ): - if words.lowered[-1] == lastlet: # this test to add speed - for k, v in d.items(): - if words.lowered[-k:] in v: - return word[:class_numend] + post - - # HANDLE PLURLS ENDING IN uses -> use - - if ( - words.lowered[-6:] == "houses" - or word in si_sb_uses_use_case - or words.last.lower() in si_sb_uses_use - ): - return word[:-1] - - # HANDLE PLURLS ENDING IN ies -> ie - - if word in si_sb_ies_ie_case or words.last.lower() in si_sb_ies_ie: - return word[:-1] - - # HANDLE PLURLS ENDING IN oes -> oe - - if ( - words.lowered[-5:] == "shoes" - or word in si_sb_oes_oe_case - or words.last.lower() in si_sb_oes_oe - ): - return word[:-1] - - # HANDLE SINGULAR NOUNS ENDING IN ...s OR OTHER SILIBANTS - - if word in si_sb_sses_sse_case or words.last.lower() in si_sb_sses_sse: - return word[:-1] - - if words.last.lower() in si_sb_singular_s_complete: - return word[:-2] - - for k, v in si_sb_singular_s_bysize.items(): - if words.lowered[-k:] in v: - return word[:-2] - - if words.lowered[-4:] == "eses" and word[0] == word[0].upper(): - return word[:-2] - - if words.last.lower() in si_sb_z_zes: - return word[:-2] - - if words.last.lower() in si_sb_zzes_zz: - return word[:-2] - - if words.lowered[-4:] == "zzes": - return word[:-3] - - if word in si_sb_ches_che_case or words.last.lower() in si_sb_ches_che: - return word[:-1] - - if words.lowered[-4:] in ("ches", "shes"): - return word[:-2] - - if words.last.lower() in si_sb_xes_xe: - return word[:-1] - - if words.lowered[-3:] == "xes": - return word[:-2] - - # HANDLE ...f -> ...ves - - if word in si_sb_ves_ve_case or words.last.lower() in si_sb_ves_ve: - return word[:-1] - - if words.lowered[-3:] == "ves": - if words.lowered[-5:-3] in ("el", "al", "ol"): - return word[:-3] + "f" - if words.lowered[-5:-3] == "ea" and word[-6:-5] != "d": - return word[:-3] + "f" - if words.lowered[-5:-3] in ("ni", "li", "wi"): - return word[:-3] + "fe" - if words.lowered[-5:-3] == "ar": - return word[:-3] + "f" - - # HANDLE ...y - - if words.lowered[-2:] == "ys": - if len(words.lowered) > 2 and words.lowered[-3] in "aeiou": - return word[:-1] - - if self.classical_dict["names"]: - if words.lowered[-2:] == "ys" and word[0] == word[0].upper(): - return word[:-1] - - if words.lowered[-3:] == "ies": - return word[:-3] + "y" - - # HANDLE ...o - - if words.lowered[-2:] == "os": - if words.last.lower() in si_sb_U_o_os_complete: - return word[:-1] - - for k, v in si_sb_U_o_os_bysize.items(): - if words.lowered[-k:] in v: - return word[:-1] - - if words.lowered[-3:] in ("aos", "eos", "ios", "oos", "uos"): - return word[:-1] - - if words.lowered[-3:] == "oes": - return word[:-2] - - # UNASSIMILATED IMPORTS FINAL RULE - - if word in si_sb_es_is: - return word[:-2] + "is" - - # OTHERWISE JUST REMOVE ...s - - if words.lowered[-1] == "s": - return word[:-1] - - # COULD NOT FIND SINGULAR - - return False - - # ADJECTIVES - - @typechecked - def a(self, text: Word, count: Optional[Union[int, str, Any]] = 1) -> str: - """ - Return the appropriate indefinite article followed by text. - - The indefinite article is either 'a' or 'an'. - - If count is not one, then return count followed by text - instead of 'a' or 'an'. - - Whitespace at the start and end is preserved. - - """ - mo = INDEFINITE_ARTICLE_TEST.search(text) - if mo: - word = mo.group(2) - if not word: - return text - pre = mo.group(1) - post = mo.group(3) - result = self._indef_article(word, count) - return f"{pre}{result}{post}" - return "" - - an = a - - _indef_article_cases = ( - # HANDLE ORDINAL FORMS - (A_ordinal_a, "a"), - (A_ordinal_an, "an"), - # HANDLE SPECIAL CASES - (A_explicit_an, "an"), - (SPECIAL_AN, "an"), - (SPECIAL_A, "a"), - # HANDLE ABBREVIATIONS - (A_abbrev, "an"), - (SPECIAL_ABBREV_AN, "an"), - (SPECIAL_ABBREV_A, "a"), - # HANDLE CONSONANTS - (CONSONANTS, "a"), - # HANDLE SPECIAL VOWEL-FORMS - (ARTICLE_SPECIAL_EU, "a"), - (ARTICLE_SPECIAL_ONCE, "a"), - (ARTICLE_SPECIAL_ONETIME, "a"), - (ARTICLE_SPECIAL_UNIT, "a"), - (ARTICLE_SPECIAL_UBA, "a"), - (ARTICLE_SPECIAL_UKR, "a"), - (A_explicit_a, "a"), - # HANDLE SPECIAL CAPITALS - (SPECIAL_CAPITALS, "a"), - # HANDLE VOWELS - (VOWELS, "an"), - # HANDLE y... - # (BEFORE CERTAIN CONSONANTS IMPLIES (UNNATURALIZED) "i.." SOUND) - (A_y_cons, "an"), - ) - - def _indef_article(self, word: str, count: Union[int, str, Any]) -> str: - mycount = self.get_count(count) - - if mycount != 1: - return f"{count} {word}" - - # HANDLE USER-DEFINED VARIANTS - - value = self.ud_match(word, self.A_a_user_defined) - if value is not None: - return f"{value} {word}" - - matches = ( - f'{article} {word}' - for regexen, article in self._indef_article_cases - if regexen.search(word) - ) - - # OTHERWISE, GUESS "a" - fallback = f'a {word}' - return next(matches, fallback) - - # 2. TRANSLATE ZERO-QUANTIFIED $word TO "no plural($word)" - - @typechecked - def no(self, text: Word, count: Optional[Union[int, str]] = None) -> str: - """ - If count is 0, no, zero or nil, return 'no' followed by the plural - of text. - - If count is one of: - 1, a, an, one, each, every, this, that - return count followed by text. - - Otherwise return count follow by the plural of text. - - In the return value count is always followed by a space. - - Whitespace at the start and end is preserved. - - """ - if count is None and self.persistent_count is not None: - count = self.persistent_count - - if count is None: - count = 0 - mo = PARTITION_WORD.search(text) - if mo: - pre = mo.group(1) - word = mo.group(2) - post = mo.group(3) - else: - pre = "" - word = "" - post = "" - - if str(count).lower() in pl_count_zero: - count = 'no' - return f"{pre}{count} {self.plural(word, count)}{post}" - - # PARTICIPLES - - @typechecked - def present_participle(self, word: Word) -> str: - """ - Return the present participle for word. - - word is the 3rd person singular verb. - - """ - plv = self.plural_verb(word, 2) - ans = plv - - for regexen, repl in PRESENT_PARTICIPLE_REPLACEMENTS: - ans, num = regexen.subn(repl, plv) - if num: - return f"{ans}ing" - return f"{ans}ing" - - # NUMERICAL INFLECTIONS - - @typechecked - def ordinal(self, num: Union[Number, Word]) -> str: - """ - Return the ordinal of num. - - >>> ordinal = engine().ordinal - >>> ordinal(1) - '1st' - >>> ordinal('one') - 'first' - """ - if DIGIT.match(str(num)): - if isinstance(num, (float, int)) and int(num) == num: - n = int(num) - else: - if "." in str(num): - try: - # numbers after decimal, - # so only need last one for ordinal - n = int(str(num)[-1]) - - except ValueError: # ends with '.', so need to use whole string - n = int(str(num)[:-1]) - else: - n = int(num) # type: ignore - try: - post = nth[n % 100] - except KeyError: - post = nth[n % 10] - return f"{num}{post}" - else: - return self._sub_ord(num) - - def millfn(self, ind: int = 0) -> str: - if ind > len(mill) - 1: - raise NumOutOfRangeError - return mill[ind] - - def unitfn(self, units: int, mindex: int = 0) -> str: - return f"{unit[units]}{self.millfn(mindex)}" - - def tenfn(self, tens, units, mindex=0) -> str: - if tens != 1: - tens_part = ten[tens] - if tens and units: - hyphen = "-" - else: - hyphen = "" - unit_part = unit[units] - mill_part = self.millfn(mindex) - return f"{tens_part}{hyphen}{unit_part}{mill_part}" - return f"{teen[units]}{mill[mindex]}" - - def hundfn(self, hundreds: int, tens: int, units: int, mindex: int) -> str: - if hundreds: - andword = f" {self._number_args['andword']} " if tens or units else "" - # use unit not unitfn as simpler - return ( - f"{unit[hundreds]} hundred{andword}" - f"{self.tenfn(tens, units)}{self.millfn(mindex)}, " - ) - if tens or units: - return f"{self.tenfn(tens, units)}{self.millfn(mindex)}, " - return "" - - def group1sub(self, mo: Match) -> str: - units = int(mo.group(1)) - if units == 1: - return f" {self._number_args['one']}, " - elif units: - return f"{unit[units]}, " - else: - return f" {self._number_args['zero']}, " - - def group1bsub(self, mo: Match) -> str: - units = int(mo.group(1)) - if units: - return f"{unit[units]}, " - else: - return f" {self._number_args['zero']}, " - - def group2sub(self, mo: Match) -> str: - tens = int(mo.group(1)) - units = int(mo.group(2)) - if tens: - return f"{self.tenfn(tens, units)}, " - if units: - return f" {self._number_args['zero']} {unit[units]}, " - return f" {self._number_args['zero']} {self._number_args['zero']}, " - - def group3sub(self, mo: Match) -> str: - hundreds = int(mo.group(1)) - tens = int(mo.group(2)) - units = int(mo.group(3)) - if hundreds == 1: - hunword = f" {self._number_args['one']}" - elif hundreds: - hunword = str(unit[hundreds]) - else: - hunword = f" {self._number_args['zero']}" - if tens: - tenword = self.tenfn(tens, units) - elif units: - tenword = f" {self._number_args['zero']} {unit[units]}" - else: - tenword = f" {self._number_args['zero']} {self._number_args['zero']}" - return f"{hunword} {tenword}, " - - def hundsub(self, mo: Match) -> str: - ret = self.hundfn( - int(mo.group(1)), int(mo.group(2)), int(mo.group(3)), self.mill_count - ) - self.mill_count += 1 - return ret - - def tensub(self, mo: Match) -> str: - return f"{self.tenfn(int(mo.group(1)), int(mo.group(2)), self.mill_count)}, " - - def unitsub(self, mo: Match) -> str: - return f"{self.unitfn(int(mo.group(1)), self.mill_count)}, " - - def enword(self, num: str, group: int) -> str: - # import pdb - # pdb.set_trace() - - if group == 1: - num = DIGIT_GROUP.sub(self.group1sub, num) - elif group == 2: - num = TWO_DIGITS.sub(self.group2sub, num) - num = DIGIT_GROUP.sub(self.group1bsub, num, 1) - elif group == 3: - num = THREE_DIGITS.sub(self.group3sub, num) - num = TWO_DIGITS.sub(self.group2sub, num, 1) - num = DIGIT_GROUP.sub(self.group1sub, num, 1) - elif int(num) == 0: - num = self._number_args["zero"] - elif int(num) == 1: - num = self._number_args["one"] - else: - num = num.lstrip().lstrip("0") - self.mill_count = 0 - # surely there's a better way to do the next bit - mo = THREE_DIGITS_WORD.search(num) - while mo: - num = THREE_DIGITS_WORD.sub(self.hundsub, num, 1) - mo = THREE_DIGITS_WORD.search(num) - num = TWO_DIGITS_WORD.sub(self.tensub, num, 1) - num = ONE_DIGIT_WORD.sub(self.unitsub, num, 1) - return num - - @staticmethod - def _sub_ord(val): - new = ordinal_suff.sub(lambda match: ordinal[match.group(1)], val) - return new + "th" * (new == val) - - @classmethod - def _chunk_num(cls, num, decimal, group): - if decimal: - max_split = -1 if group != 0 else 1 - chunks = num.split(".", max_split) - else: - chunks = [num] - return cls._remove_last_blank(chunks) - - @staticmethod - def _remove_last_blank(chunks): - """ - Remove the last item from chunks if it's a blank string. - - Return the resultant chunks and whether the last item was removed. - """ - removed = chunks[-1] == "" - result = chunks[:-1] if removed else chunks - return result, removed - - @staticmethod - def _get_sign(num): - return {'+': 'plus', '-': 'minus'}.get(num.lstrip()[0], '') - - @typechecked - def number_to_words( # noqa: C901 - self, - num: Union[Number, Word], - wantlist: bool = False, - group: int = 0, - comma: Union[Falsish, str] = ",", - andword: str = "and", - zero: str = "zero", - one: str = "one", - decimal: Union[Falsish, str] = "point", - threshold: Optional[int] = None, - ) -> Union[str, List[str]]: - """ - Return a number in words. - - group = 1, 2 or 3 to group numbers before turning into words - comma: define comma - - andword: - word for 'and'. Can be set to ''. - e.g. "one hundred and one" vs "one hundred one" - - zero: word for '0' - one: word for '1' - decimal: word for decimal point - threshold: numbers above threshold not turned into words - - parameters not remembered from last call. Departure from Perl version. - """ - self._number_args = {"andword": andword, "zero": zero, "one": one} - num = str(num) - - # Handle "stylistic" conversions (up to a given threshold)... - if threshold is not None and float(num) > threshold: - spnum = num.split(".", 1) - while comma: - (spnum[0], n) = FOUR_DIGIT_COMMA.subn(r"\1,\2", spnum[0]) - if n == 0: - break - try: - return f"{spnum[0]}.{spnum[1]}" - except IndexError: - return str(spnum[0]) - - if group < 0 or group > 3: - raise BadChunkingOptionError - - sign = self._get_sign(num) - - if num in nth_suff: - num = zero - - myord = num[-2:] in nth_suff - if myord: - num = num[:-2] - - chunks, finalpoint = self._chunk_num(num, decimal, group) - - loopstart = chunks[0] == "" - first: bool | None = not loopstart - - def _handle_chunk(chunk): - nonlocal first - - # remove all non numeric \D - chunk = NON_DIGIT.sub("", chunk) - if chunk == "": - chunk = "0" - - if group == 0 and not first: - chunk = self.enword(chunk, 1) - else: - chunk = self.enword(chunk, group) - - if chunk[-2:] == ", ": - chunk = chunk[:-2] - chunk = WHITESPACES_COMMA.sub(",", chunk) - - if group == 0 and first: - chunk = COMMA_WORD.sub(f" {andword} \\1", chunk) - chunk = WHITESPACES.sub(" ", chunk) - # chunk = re.sub(r"(\A\s|\s\Z)", self.blankfn, chunk) - chunk = chunk.strip() - if first: - first = None - return chunk - - chunks[loopstart:] = map(_handle_chunk, chunks[loopstart:]) - - numchunks = [] - if first != 0: - numchunks = chunks[0].split(f"{comma} ") - - if myord and numchunks: - numchunks[-1] = self._sub_ord(numchunks[-1]) - - for chunk in chunks[1:]: - numchunks.append(decimal) - numchunks.extend(chunk.split(f"{comma} ")) - - if finalpoint: - numchunks.append(decimal) - - if wantlist: - return [sign] * bool(sign) + numchunks - - signout = f"{sign} " if sign else "" - valout = ( - ', '.join(numchunks) - if group - else ''.join(self._render(numchunks, decimal, comma)) - ) - return signout + valout - - @staticmethod - def _render(chunks, decimal, comma): - first_item = chunks.pop(0) - yield first_item - first = decimal is None or not first_item.endswith(decimal) - for nc in chunks: - if nc == decimal: - first = False - elif first: - yield comma - yield f" {nc}" - - @typechecked - def join( - self, - words: Optional[Sequence[Word]], - sep: Optional[str] = None, - sep_spaced: bool = True, - final_sep: Optional[str] = None, - conj: str = "and", - conj_spaced: bool = True, - ) -> str: - """ - Join words into a list. - - e.g. join(['ant', 'bee', 'fly']) returns 'ant, bee, and fly' - - options: - conj: replacement for 'and' - sep: separator. default ',', unless ',' is in the list then ';' - final_sep: final separator. default ',', unless ',' is in the list then ';' - conj_spaced: boolean. Should conj have spaces around it - - """ - if not words: - return "" - if len(words) == 1: - return words[0] - - if conj_spaced: - if conj == "": - conj = " " - else: - conj = f" {conj} " - - if len(words) == 2: - return f"{words[0]}{conj}{words[1]}" - - if sep is None: - if "," in "".join(words): - sep = ";" - else: - sep = "," - if final_sep is None: - final_sep = sep - - final_sep = f"{final_sep}{conj}" - - if sep_spaced: - sep += " " - - return f"{sep.join(words[0:-1])}{final_sep}{words[-1]}" diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 67641120..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 05cb5ac7..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/__pycache__/py38.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/__pycache__/py38.cpython-312.pyc deleted file mode 100644 index 6afd7199..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/__pycache__/py38.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/py38.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/py38.py deleted file mode 100644 index a2d01bd9..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/compat/py38.py +++ /dev/null @@ -1,7 +0,0 @@ -import sys - - -if sys.version_info > (3, 9): - from typing import Annotated -else: # pragma: no cover - from typing_extensions import Annotated # noqa: F401 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/py.typed b/.venv/lib/python3.12/site-packages/setuptools/_vendor/inflect/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/LICENSE deleted file mode 100644 index 1bb5a443..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -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/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/METADATA deleted file mode 100644 index fe6ca5ad..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/METADATA +++ /dev/null @@ -1,85 +0,0 @@ -Metadata-Version: 2.1 -Name: jaraco.collections -Version: 5.1.0 -Summary: Collection objects similar to those in stdlib by jaraco -Author-email: "Jason R. Coombs" -Project-URL: Source, https://github.com/jaraco/jaraco.collections -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.8 -Description-Content-Type: text/x-rst -License-File: LICENSE -Requires-Dist: jaraco.text -Provides-Extra: check -Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'check' -Requires-Dist: pytest-ruff >=0.2.1 ; (sys_platform != "cygwin") and extra == 'check' -Provides-Extra: cover -Requires-Dist: pytest-cov ; extra == 'cover' -Provides-Extra: doc -Requires-Dist: sphinx >=3.5 ; extra == 'doc' -Requires-Dist: jaraco.packaging >=9.3 ; extra == 'doc' -Requires-Dist: rst.linker >=1.9 ; extra == 'doc' -Requires-Dist: furo ; extra == 'doc' -Requires-Dist: sphinx-lint ; extra == 'doc' -Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'doc' -Provides-Extra: enabler -Requires-Dist: pytest-enabler >=2.2 ; extra == 'enabler' -Provides-Extra: test -Requires-Dist: pytest !=8.1.*,>=6 ; extra == 'test' -Provides-Extra: type -Requires-Dist: pytest-mypy ; extra == 'type' - -.. image:: https://img.shields.io/pypi/v/jaraco.collections.svg - :target: https://pypi.org/project/jaraco.collections - -.. image:: https://img.shields.io/pypi/pyversions/jaraco.collections.svg - -.. image:: https://github.com/jaraco/jaraco.collections/actions/workflows/main.yml/badge.svg - :target: https://github.com/jaraco/jaraco.collections/actions?query=workflow%3A%22tests%22 - :alt: tests - -.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json - :target: https://github.com/astral-sh/ruff - :alt: Ruff - -.. image:: https://readthedocs.org/projects/jaracocollections/badge/?version=latest - :target: https://jaracocollections.readthedocs.io/en/latest/?badge=latest - -.. image:: https://img.shields.io/badge/skeleton-2024-informational - :target: https://blog.jaraco.com/skeleton - -.. image:: https://tidelift.com/badges/package/pypi/jaraco.collections - :target: https://tidelift.com/subscription/pkg/pypi-jaraco.collections?utm_source=pypi-jaraco.collections&utm_medium=readme - -Models and classes to supplement the stdlib 'collections' module. - -See the docs, linked above, for descriptions and usage examples. - -Highlights include: - -- RangeMap: A mapping that accepts a range of values for keys. -- Projection: A subset over an existing mapping. -- KeyTransformingDict: Generalized mapping with keys transformed by a function. -- FoldedCaseKeyedDict: A dict whose string keys are case-insensitive. -- BijectiveMap: A map where keys map to values and values back to their keys. -- ItemsAsAttributes: A mapping mix-in exposing items as attributes. -- IdentityOverrideMap: A map whose keys map by default to themselves unless overridden. -- FrozenDict: A hashable, immutable map. -- Enumeration: An object whose keys are enumerated. -- Everything: A container that contains all things. -- Least, Greatest: Objects that are always less than or greater than any other. -- pop_all: Return all items from the mutable sequence and remove them from that sequence. -- DictStack: A stack of dicts, great for sharing scopes. -- WeightedLookup: A specialized RangeMap for selecting an item by weights. - -For Enterprise -============== - -Available as part of the Tidelift Subscription. - -This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. - -`Learn more `_. diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/RECORD deleted file mode 100644 index 48b957ec..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/RECORD +++ /dev/null @@ -1,10 +0,0 @@ -jaraco.collections-5.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -jaraco.collections-5.1.0.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -jaraco.collections-5.1.0.dist-info/METADATA,sha256=IMUaliNsA5X1Ox9MXUWOagch5R4Wwb_3M7erp29dBtg,3933 -jaraco.collections-5.1.0.dist-info/RECORD,, -jaraco.collections-5.1.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -jaraco.collections-5.1.0.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91 -jaraco.collections-5.1.0.dist-info/top_level.txt,sha256=0JnN3LfXH4LIRfXL-QFOGCJzQWZO3ELx4R1d_louoQM,7 -jaraco/collections/__init__.py,sha256=Pc1-SqjWm81ad1P0-GttpkwO_LWlnaY6gUq8gcKh2v0,26640 -jaraco/collections/__pycache__/__init__.cpython-312.pyc,, -jaraco/collections/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/WHEEL deleted file mode 100644 index 50e1e84e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: setuptools (73.0.1) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/top_level.txt deleted file mode 100644 index f6205a5f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.collections-5.1.0.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -jaraco diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/LICENSE deleted file mode 100644 index 1bb5a443..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -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/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/METADATA deleted file mode 100644 index a36f7c5e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/METADATA +++ /dev/null @@ -1,75 +0,0 @@ -Metadata-Version: 2.1 -Name: jaraco.context -Version: 5.3.0 -Summary: Useful decorators and context managers -Home-page: https://github.com/jaraco/jaraco.context -Author: Jason R. Coombs -Author-email: jaraco@jaraco.com -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.8 -License-File: LICENSE -Requires-Dist: backports.tarfile ; python_version < "3.12" -Provides-Extra: docs -Requires-Dist: sphinx >=3.5 ; extra == 'docs' -Requires-Dist: jaraco.packaging >=9.3 ; extra == 'docs' -Requires-Dist: rst.linker >=1.9 ; extra == 'docs' -Requires-Dist: furo ; extra == 'docs' -Requires-Dist: sphinx-lint ; extra == 'docs' -Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'docs' -Provides-Extra: testing -Requires-Dist: pytest !=8.1.1,>=6 ; extra == 'testing' -Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'testing' -Requires-Dist: pytest-cov ; extra == 'testing' -Requires-Dist: pytest-mypy ; extra == 'testing' -Requires-Dist: pytest-enabler >=2.2 ; extra == 'testing' -Requires-Dist: pytest-ruff >=0.2.1 ; extra == 'testing' -Requires-Dist: portend ; extra == 'testing' - -.. image:: https://img.shields.io/pypi/v/jaraco.context.svg - :target: https://pypi.org/project/jaraco.context - -.. image:: https://img.shields.io/pypi/pyversions/jaraco.context.svg - -.. image:: https://github.com/jaraco/jaraco.context/actions/workflows/main.yml/badge.svg - :target: https://github.com/jaraco/jaraco.context/actions?query=workflow%3A%22tests%22 - :alt: tests - -.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json - :target: https://github.com/astral-sh/ruff - :alt: Ruff - -.. image:: https://readthedocs.org/projects/jaracocontext/badge/?version=latest - :target: https://jaracocontext.readthedocs.io/en/latest/?badge=latest - -.. image:: https://img.shields.io/badge/skeleton-2024-informational - :target: https://blog.jaraco.com/skeleton - -.. image:: https://tidelift.com/badges/package/pypi/jaraco.context - :target: https://tidelift.com/subscription/pkg/pypi-jaraco.context?utm_source=pypi-jaraco.context&utm_medium=readme - - -Highlights -========== - -See the docs linked from the badge above for the full details, but here are some features that may be of interest. - -- ``ExceptionTrap`` provides a general-purpose wrapper for trapping exceptions and then acting on the outcome. Includes ``passes`` and ``raises`` decorators to replace the result of a wrapped function by a boolean indicating the outcome of the exception trap. See `this keyring commit `_ for an example of it in production. -- ``suppress`` simply enables ``contextlib.suppress`` as a decorator. -- ``on_interrupt`` is a decorator used by CLI entry points to affect the handling of a ``KeyboardInterrupt``. Inspired by `Lucretiel/autocommand#18 `_. -- ``pushd`` is similar to pytest's ``monkeypatch.chdir`` or path's `default context `_, changes the current working directory for the duration of the context. -- ``tarball`` will download a tarball, extract it, change directory, yield, then clean up after. Convenient when working with web assets. -- ``null`` is there for those times when one code branch needs a context and the other doesn't; this null context provides symmetry across those branches. - - -For Enterprise -============== - -Available as part of the Tidelift Subscription. - -This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. - -`Learn more `_. diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/RECORD deleted file mode 100644 index 09d191f2..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/RECORD +++ /dev/null @@ -1,8 +0,0 @@ -jaraco.context-5.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -jaraco.context-5.3.0.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -jaraco.context-5.3.0.dist-info/METADATA,sha256=xDtguJej0tN9iEXCUvxEJh2a7xceIRVBEakBLSr__tY,4020 -jaraco.context-5.3.0.dist-info/RECORD,, -jaraco.context-5.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -jaraco.context-5.3.0.dist-info/top_level.txt,sha256=0JnN3LfXH4LIRfXL-QFOGCJzQWZO3ELx4R1d_louoQM,7 -jaraco/__pycache__/context.cpython-312.pyc,, -jaraco/context.py,sha256=REoLIxDkO5MfEYowt_WoupNCRoxBS5v7YX2PbW8lIcs,9552 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/WHEEL deleted file mode 100644 index bab98d67..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.43.0) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/top_level.txt deleted file mode 100644 index f6205a5f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.context-5.3.0.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -jaraco diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/LICENSE deleted file mode 100644 index 1bb5a443..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -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/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/METADATA deleted file mode 100644 index c865140a..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/METADATA +++ /dev/null @@ -1,64 +0,0 @@ -Metadata-Version: 2.1 -Name: jaraco.functools -Version: 4.0.1 -Summary: Functools like those found in stdlib -Author-email: "Jason R. Coombs" -Project-URL: Homepage, https://github.com/jaraco/jaraco.functools -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.8 -Description-Content-Type: text/x-rst -License-File: LICENSE -Requires-Dist: more-itertools -Provides-Extra: docs -Requires-Dist: sphinx >=3.5 ; extra == 'docs' -Requires-Dist: sphinx <7.2.5 ; extra == 'docs' -Requires-Dist: jaraco.packaging >=9.3 ; extra == 'docs' -Requires-Dist: rst.linker >=1.9 ; extra == 'docs' -Requires-Dist: furo ; extra == 'docs' -Requires-Dist: sphinx-lint ; extra == 'docs' -Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'docs' -Provides-Extra: testing -Requires-Dist: pytest >=6 ; extra == 'testing' -Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'testing' -Requires-Dist: pytest-cov ; extra == 'testing' -Requires-Dist: pytest-enabler >=2.2 ; extra == 'testing' -Requires-Dist: pytest-ruff >=0.2.1 ; extra == 'testing' -Requires-Dist: jaraco.classes ; extra == 'testing' -Requires-Dist: pytest-mypy ; (platform_python_implementation != "PyPy") and extra == 'testing' - -.. image:: https://img.shields.io/pypi/v/jaraco.functools.svg - :target: https://pypi.org/project/jaraco.functools - -.. image:: https://img.shields.io/pypi/pyversions/jaraco.functools.svg - -.. image:: https://github.com/jaraco/jaraco.functools/actions/workflows/main.yml/badge.svg - :target: https://github.com/jaraco/jaraco.functools/actions?query=workflow%3A%22tests%22 - :alt: tests - -.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json - :target: https://github.com/astral-sh/ruff - :alt: Ruff - -.. image:: https://readthedocs.org/projects/jaracofunctools/badge/?version=latest - :target: https://jaracofunctools.readthedocs.io/en/latest/?badge=latest - -.. image:: https://img.shields.io/badge/skeleton-2024-informational - :target: https://blog.jaraco.com/skeleton - -.. image:: https://tidelift.com/badges/package/pypi/jaraco.functools - :target: https://tidelift.com/subscription/pkg/pypi-jaraco.functools?utm_source=pypi-jaraco.functools&utm_medium=readme - -Additional functools in the spirit of stdlib's functools. - -For Enterprise -============== - -Available as part of the Tidelift Subscription. - -This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. - -`Learn more `_. diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/RECORD deleted file mode 100644 index ef3bc21e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/RECORD +++ /dev/null @@ -1,10 +0,0 @@ -jaraco.functools-4.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -jaraco.functools-4.0.1.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -jaraco.functools-4.0.1.dist-info/METADATA,sha256=i4aUaQDX-jjdEQK5wevhegyx8JyLfin2HyvaSk3FHso,2891 -jaraco.functools-4.0.1.dist-info/RECORD,, -jaraco.functools-4.0.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -jaraco.functools-4.0.1.dist-info/top_level.txt,sha256=0JnN3LfXH4LIRfXL-QFOGCJzQWZO3ELx4R1d_louoQM,7 -jaraco/functools/__init__.py,sha256=hEAJaS2uSZRuF_JY4CxCHIYh79ZpxaPp9OiHyr9EJ1w,16642 -jaraco/functools/__init__.pyi,sha256=gk3dsgHzo5F_U74HzAvpNivFAPCkPJ1b2-yCd62dfnw,3878 -jaraco/functools/__pycache__/__init__.cpython-312.pyc,, -jaraco/functools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/WHEEL deleted file mode 100644 index bab98d67..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.43.0) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/top_level.txt deleted file mode 100644 index f6205a5f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.functools-4.0.1.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -jaraco diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/LICENSE deleted file mode 100644 index 1bb5a443..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/LICENSE +++ /dev/null @@ -1,17 +0,0 @@ -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/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/METADATA deleted file mode 100644 index 0258a380..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/METADATA +++ /dev/null @@ -1,95 +0,0 @@ -Metadata-Version: 2.1 -Name: jaraco.text -Version: 3.12.1 -Summary: Module for text manipulation -Author-email: "Jason R. Coombs" -Project-URL: Homepage, https://github.com/jaraco/jaraco.text -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3 :: Only -Requires-Python: >=3.8 -Description-Content-Type: text/x-rst -License-File: LICENSE -Requires-Dist: jaraco.functools -Requires-Dist: jaraco.context >=4.1 -Requires-Dist: autocommand -Requires-Dist: inflect -Requires-Dist: more-itertools -Requires-Dist: importlib-resources ; python_version < "3.9" -Provides-Extra: doc -Requires-Dist: sphinx >=3.5 ; extra == 'doc' -Requires-Dist: jaraco.packaging >=9.3 ; extra == 'doc' -Requires-Dist: rst.linker >=1.9 ; extra == 'doc' -Requires-Dist: furo ; extra == 'doc' -Requires-Dist: sphinx-lint ; extra == 'doc' -Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'doc' -Provides-Extra: test -Requires-Dist: pytest !=8.1.*,>=6 ; extra == 'test' -Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'test' -Requires-Dist: pytest-cov ; extra == 'test' -Requires-Dist: pytest-mypy ; extra == 'test' -Requires-Dist: pytest-enabler >=2.2 ; extra == 'test' -Requires-Dist: pytest-ruff >=0.2.1 ; extra == 'test' -Requires-Dist: pathlib2 ; (python_version < "3.10") and extra == 'test' - -.. image:: https://img.shields.io/pypi/v/jaraco.text.svg - :target: https://pypi.org/project/jaraco.text - -.. image:: https://img.shields.io/pypi/pyversions/jaraco.text.svg - -.. image:: https://github.com/jaraco/jaraco.text/actions/workflows/main.yml/badge.svg - :target: https://github.com/jaraco/jaraco.text/actions?query=workflow%3A%22tests%22 - :alt: tests - -.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json - :target: https://github.com/astral-sh/ruff - :alt: Ruff - -.. image:: https://readthedocs.org/projects/jaracotext/badge/?version=latest - :target: https://jaracotext.readthedocs.io/en/latest/?badge=latest - -.. image:: https://img.shields.io/badge/skeleton-2024-informational - :target: https://blog.jaraco.com/skeleton - -.. image:: https://tidelift.com/badges/package/pypi/jaraco.text - :target: https://tidelift.com/subscription/pkg/pypi-jaraco.text?utm_source=pypi-jaraco.text&utm_medium=readme - - -This package provides handy routines for dealing with text, such as -wrapping, substitution, trimming, stripping, prefix and suffix removal, -line continuation, indentation, comment processing, identifier processing, -values parsing, case insensitive comparison, and more. See the docs -(linked in the badge above) for the detailed documentation and examples. - -Layouts -======= - -One of the features of this package is the layouts module, which -provides a simple example of translating keystrokes from one keyboard -layout to another:: - - echo qwerty | python -m jaraco.text.to-dvorak - ',.pyf - echo "',.pyf" | python -m jaraco.text.to-qwerty - qwerty - -Newline Reporting -================= - -Need to know what newlines appear in a file? - -:: - - $ python -m jaraco.text.show-newlines README.rst - newline is '\n' - -For Enterprise -============== - -Available as part of the Tidelift Subscription. - -This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use. - -`Learn more `_. diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/RECORD deleted file mode 100644 index 19e2d840..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/RECORD +++ /dev/null @@ -1,20 +0,0 @@ -jaraco.text-3.12.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -jaraco.text-3.12.1.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023 -jaraco.text-3.12.1.dist-info/METADATA,sha256=AzWdm6ViMfDOPoQMfLWn2zgBQSGJScyqeN29TcuWXVI,3658 -jaraco.text-3.12.1.dist-info/RECORD,, -jaraco.text-3.12.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -jaraco.text-3.12.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 -jaraco.text-3.12.1.dist-info/top_level.txt,sha256=0JnN3LfXH4LIRfXL-QFOGCJzQWZO3ELx4R1d_louoQM,7 -jaraco/text/Lorem ipsum.txt,sha256=N_7c_79zxOufBY9HZ3yzMgOkNv-TkOTTio4BydrSjgs,1335 -jaraco/text/__init__.py,sha256=Y2YUqXR_orUoDaY4SkPRe6ZZhb5HUHB_Ah9RCNsVyho,16250 -jaraco/text/__pycache__/__init__.cpython-312.pyc,, -jaraco/text/__pycache__/layouts.cpython-312.pyc,, -jaraco/text/__pycache__/show-newlines.cpython-312.pyc,, -jaraco/text/__pycache__/strip-prefix.cpython-312.pyc,, -jaraco/text/__pycache__/to-dvorak.cpython-312.pyc,, -jaraco/text/__pycache__/to-qwerty.cpython-312.pyc,, -jaraco/text/layouts.py,sha256=HTC8aSTLZ7uXipyOXapRMC158juecjK6RVwitfmZ9_w,643 -jaraco/text/show-newlines.py,sha256=WGQa65e8lyhb92LUOLqVn6KaCtoeVgVws6WtSRmLk6w,904 -jaraco/text/strip-prefix.py,sha256=NfVXV8JVNo6nqcuYASfMV7_y4Eo8zMQqlCOGvAnRIVw,412 -jaraco/text/to-dvorak.py,sha256=1SNcbSsvISpXXg-LnybIHHY-RUFOQr36zcHkY1pWFqw,119 -jaraco/text/to-qwerty.py,sha256=s4UMQUnPwFn_dB5uZC27BurHOQcYondBfzIpVL5pEzw,119 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/WHEEL deleted file mode 100644 index bab98d67..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.43.0) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/top_level.txt deleted file mode 100644 index f6205a5f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco.text-3.12.1.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -jaraco diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/__pycache__/context.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/__pycache__/context.cpython-312.pyc deleted file mode 100644 index 04682028..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/__pycache__/context.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/collections/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/collections/__init__.py deleted file mode 100644 index 0d501cf9..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/collections/__init__.py +++ /dev/null @@ -1,1091 +0,0 @@ -from __future__ import annotations - -import collections.abc -import copy -import functools -import itertools -import operator -import random -import re -from collections.abc import Container, Iterable, Mapping -from typing import TYPE_CHECKING, Any, Callable, Dict, TypeVar, Union, overload - -import jaraco.text - -if TYPE_CHECKING: - from _operator import _SupportsComparison - - from _typeshed import SupportsKeysAndGetItem - from typing_extensions import Self - - _RangeMapKT = TypeVar('_RangeMapKT', bound=_SupportsComparison) -else: - # _SupportsComparison doesn't exist at runtime, - # but _RangeMapKT is used in RangeMap's superclass' type parameters - _RangeMapKT = TypeVar('_RangeMapKT') - -_T = TypeVar('_T') -_VT = TypeVar('_VT') - -_Matchable = Union[Callable, Container, Iterable, re.Pattern] - - -def _dispatch(obj: _Matchable) -> Callable: - # can't rely on singledispatch for Union[Container, Iterable] - # due to ambiguity - # (https://peps.python.org/pep-0443/#abstract-base-classes). - if isinstance(obj, re.Pattern): - return obj.fullmatch - # mypy issue: https://github.com/python/mypy/issues/11071 - if not isinstance(obj, Callable): # type: ignore[arg-type] - if not isinstance(obj, Container): - obj = set(obj) # type: ignore[arg-type] - obj = obj.__contains__ - return obj # type: ignore[return-value] - - -class Projection(collections.abc.Mapping): - """ - Project a set of keys over a mapping - - >>> sample = {'a': 1, 'b': 2, 'c': 3} - >>> prj = Projection(['a', 'c', 'd'], sample) - >>> dict(prj) - {'a': 1, 'c': 3} - - Projection also accepts an iterable or callable or pattern. - - >>> iter_prj = Projection(iter('acd'), sample) - >>> call_prj = Projection(lambda k: ord(k) in (97, 99, 100), sample) - >>> pat_prj = Projection(re.compile(r'[acd]'), sample) - >>> prj == iter_prj == call_prj == pat_prj - True - - Keys should only appear if they were specified and exist in the space. - Order is retained. - - >>> list(prj) - ['a', 'c'] - - Attempting to access a key not in the projection - results in a KeyError. - - >>> prj['b'] - Traceback (most recent call last): - ... - KeyError: 'b' - - Use the projection to update another dict. - - >>> target = {'a': 2, 'b': 2} - >>> target.update(prj) - >>> target - {'a': 1, 'b': 2, 'c': 3} - - Projection keeps a reference to the original dict, so - modifying the original dict may modify the Projection. - - >>> del sample['a'] - >>> dict(prj) - {'c': 3} - """ - - def __init__(self, keys: _Matchable, space: Mapping): - self._match = _dispatch(keys) - self._space = space - - def __getitem__(self, key): - if not self._match(key): - raise KeyError(key) - return self._space[key] - - def _keys_resolved(self): - return filter(self._match, self._space) - - def __iter__(self): - return self._keys_resolved() - - def __len__(self): - return len(tuple(self._keys_resolved())) - - -class Mask(Projection): - """ - The inverse of a :class:`Projection`, masking out keys. - - >>> sample = {'a': 1, 'b': 2, 'c': 3} - >>> msk = Mask(['a', 'c', 'd'], sample) - >>> dict(msk) - {'b': 2} - """ - - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - # self._match = compose(operator.not_, self._match) - self._match = lambda key, orig=self._match: not orig(key) - - -def dict_map(function, dictionary): - """ - Return a new dict with function applied to values of dictionary. - - >>> dict_map(lambda x: x+1, dict(a=1, b=2)) - {'a': 2, 'b': 3} - """ - return dict((key, function(value)) for key, value in dictionary.items()) - - -class RangeMap(Dict[_RangeMapKT, _VT]): - """ - A dictionary-like object that uses the keys as bounds for a range. - Inclusion of the value for that range is determined by the - key_match_comparator, which defaults to less-than-or-equal. - A value is returned for a key if it is the first key that matches in - the sorted list of keys. - - One may supply keyword parameters to be passed to the sort function used - to sort keys (i.e. key, reverse) as sort_params. - - Create a map that maps 1-3 -> 'a', 4-6 -> 'b' - - >>> r = RangeMap({3: 'a', 6: 'b'}) # boy, that was easy - >>> r[1], r[2], r[3], r[4], r[5], r[6] - ('a', 'a', 'a', 'b', 'b', 'b') - - Even float values should work so long as the comparison operator - supports it. - - >>> r[4.5] - 'b' - - Notice that the way rangemap is defined, it must be open-ended - on one side. - - >>> r[0] - 'a' - >>> r[-1] - 'a' - - One can close the open-end of the RangeMap by using undefined_value - - >>> r = RangeMap({0: RangeMap.undefined_value, 3: 'a', 6: 'b'}) - >>> r[0] - Traceback (most recent call last): - ... - KeyError: 0 - - One can get the first or last elements in the range by using RangeMap.Item - - >>> last_item = RangeMap.Item(-1) - >>> r[last_item] - 'b' - - .last_item is a shortcut for Item(-1) - - >>> r[RangeMap.last_item] - 'b' - - Sometimes it's useful to find the bounds for a RangeMap - - >>> r.bounds() - (0, 6) - - RangeMap supports .get(key, default) - - >>> r.get(0, 'not found') - 'not found' - - >>> r.get(7, 'not found') - 'not found' - - One often wishes to define the ranges by their left-most values, - which requires use of sort params and a key_match_comparator. - - >>> r = RangeMap({1: 'a', 4: 'b'}, - ... sort_params=dict(reverse=True), - ... key_match_comparator=operator.ge) - >>> r[1], r[2], r[3], r[4], r[5], r[6] - ('a', 'a', 'a', 'b', 'b', 'b') - - That wasn't nearly as easy as before, so an alternate constructor - is provided: - - >>> r = RangeMap.left({1: 'a', 4: 'b', 7: RangeMap.undefined_value}) - >>> r[1], r[2], r[3], r[4], r[5], r[6] - ('a', 'a', 'a', 'b', 'b', 'b') - - """ - - def __init__( - self, - source: ( - SupportsKeysAndGetItem[_RangeMapKT, _VT] | Iterable[tuple[_RangeMapKT, _VT]] - ), - sort_params: Mapping[str, Any] = {}, - key_match_comparator: Callable[[_RangeMapKT, _RangeMapKT], bool] = operator.le, - ): - dict.__init__(self, source) - self.sort_params = sort_params - self.match = key_match_comparator - - @classmethod - def left( - cls, - source: ( - SupportsKeysAndGetItem[_RangeMapKT, _VT] | Iterable[tuple[_RangeMapKT, _VT]] - ), - ) -> Self: - return cls( - source, sort_params=dict(reverse=True), key_match_comparator=operator.ge - ) - - def __getitem__(self, item: _RangeMapKT) -> _VT: - sorted_keys = sorted(self.keys(), **self.sort_params) - if isinstance(item, RangeMap.Item): - result = self.__getitem__(sorted_keys[item]) - else: - key = self._find_first_match_(sorted_keys, item) - result = dict.__getitem__(self, key) - if result is RangeMap.undefined_value: - raise KeyError(key) - return result - - @overload # type: ignore[override] # Signature simplified over dict and Mapping - def get(self, key: _RangeMapKT, default: _T) -> _VT | _T: ... - @overload - def get(self, key: _RangeMapKT, default: None = None) -> _VT | None: ... - def get(self, key: _RangeMapKT, default: _T | None = None) -> _VT | _T | None: - """ - Return the value for key if key is in the dictionary, else default. - If default is not given, it defaults to None, so that this method - never raises a KeyError. - """ - try: - return self[key] - except KeyError: - return default - - def _find_first_match_( - self, keys: Iterable[_RangeMapKT], item: _RangeMapKT - ) -> _RangeMapKT: - is_match = functools.partial(self.match, item) - matches = filter(is_match, keys) - try: - return next(matches) - except StopIteration: - raise KeyError(item) from None - - def bounds(self) -> tuple[_RangeMapKT, _RangeMapKT]: - sorted_keys = sorted(self.keys(), **self.sort_params) - return (sorted_keys[RangeMap.first_item], sorted_keys[RangeMap.last_item]) - - # some special values for the RangeMap - undefined_value = type('RangeValueUndefined', (), {})() - - class Item(int): - """RangeMap Item""" - - first_item = Item(0) - last_item = Item(-1) - - -def __identity(x): - return x - - -def sorted_items(d, key=__identity, reverse=False): - """ - Return the items of the dictionary sorted by the keys. - - >>> sample = dict(foo=20, bar=42, baz=10) - >>> tuple(sorted_items(sample)) - (('bar', 42), ('baz', 10), ('foo', 20)) - - >>> reverse_string = lambda s: ''.join(reversed(s)) - >>> tuple(sorted_items(sample, key=reverse_string)) - (('foo', 20), ('bar', 42), ('baz', 10)) - - >>> tuple(sorted_items(sample, reverse=True)) - (('foo', 20), ('baz', 10), ('bar', 42)) - """ - - # wrap the key func so it operates on the first element of each item - def pairkey_key(item): - return key(item[0]) - - return sorted(d.items(), key=pairkey_key, reverse=reverse) - - -class KeyTransformingDict(dict): - """ - A dict subclass that transforms the keys before they're used. - Subclasses may override the default transform_key to customize behavior. - """ - - @staticmethod - def transform_key(key): # pragma: nocover - return key - - def __init__(self, *args, **kargs): - super().__init__() - # build a dictionary using the default constructs - d = dict(*args, **kargs) - # build this dictionary using transformed keys. - for item in d.items(): - self.__setitem__(*item) - - def __setitem__(self, key, val): - key = self.transform_key(key) - super().__setitem__(key, val) - - def __getitem__(self, key): - key = self.transform_key(key) - return super().__getitem__(key) - - def __contains__(self, key): - key = self.transform_key(key) - return super().__contains__(key) - - def __delitem__(self, key): - key = self.transform_key(key) - return super().__delitem__(key) - - def get(self, key, *args, **kwargs): - key = self.transform_key(key) - return super().get(key, *args, **kwargs) - - def setdefault(self, key, *args, **kwargs): - key = self.transform_key(key) - return super().setdefault(key, *args, **kwargs) - - def pop(self, key, *args, **kwargs): - key = self.transform_key(key) - return super().pop(key, *args, **kwargs) - - def matching_key_for(self, key): - """ - Given a key, return the actual key stored in self that matches. - Raise KeyError if the key isn't found. - """ - try: - return next(e_key for e_key in self.keys() if e_key == key) - except StopIteration as err: - raise KeyError(key) from err - - -class FoldedCaseKeyedDict(KeyTransformingDict): - """ - A case-insensitive dictionary (keys are compared as insensitive - if they are strings). - - >>> d = FoldedCaseKeyedDict() - >>> d['heLlo'] = 'world' - >>> list(d.keys()) == ['heLlo'] - True - >>> list(d.values()) == ['world'] - True - >>> d['hello'] == 'world' - True - >>> 'hello' in d - True - >>> 'HELLO' in d - True - >>> print(repr(FoldedCaseKeyedDict({'heLlo': 'world'}))) - {'heLlo': 'world'} - >>> d = FoldedCaseKeyedDict({'heLlo': 'world'}) - >>> print(d['hello']) - world - >>> print(d['Hello']) - world - >>> list(d.keys()) - ['heLlo'] - >>> d = FoldedCaseKeyedDict({'heLlo': 'world', 'Hello': 'world'}) - >>> list(d.values()) - ['world'] - >>> key, = d.keys() - >>> key in ['heLlo', 'Hello'] - True - >>> del d['HELLO'] - >>> d - {} - - get should work - - >>> d['Sumthin'] = 'else' - >>> d.get('SUMTHIN') - 'else' - >>> d.get('OTHER', 'thing') - 'thing' - >>> del d['sumthin'] - - setdefault should also work - - >>> d['This'] = 'that' - >>> print(d.setdefault('this', 'other')) - that - >>> len(d) - 1 - >>> print(d['this']) - that - >>> print(d.setdefault('That', 'other')) - other - >>> print(d['THAT']) - other - - Make it pop! - - >>> print(d.pop('THAT')) - other - - To retrieve the key in its originally-supplied form, use matching_key_for - - >>> print(d.matching_key_for('this')) - This - - >>> d.matching_key_for('missing') - Traceback (most recent call last): - ... - KeyError: 'missing' - """ - - @staticmethod - def transform_key(key): - return jaraco.text.FoldedCase(key) - - -class DictAdapter: - """ - Provide a getitem interface for attributes of an object. - - Let's say you want to get at the string.lowercase property in a formatted - string. It's easy with DictAdapter. - - >>> import string - >>> print("lowercase is %(ascii_lowercase)s" % DictAdapter(string)) - lowercase is abcdefghijklmnopqrstuvwxyz - """ - - def __init__(self, wrapped_ob): - self.object = wrapped_ob - - def __getitem__(self, name): - return getattr(self.object, name) - - -class ItemsAsAttributes: - """ - Mix-in class to enable a mapping object to provide items as - attributes. - - >>> C = type('C', (dict, ItemsAsAttributes), dict()) - >>> i = C() - >>> i['foo'] = 'bar' - >>> i.foo - 'bar' - - Natural attribute access takes precedence - - >>> i.foo = 'henry' - >>> i.foo - 'henry' - - But as you might expect, the mapping functionality is preserved. - - >>> i['foo'] - 'bar' - - A normal attribute error should be raised if an attribute is - requested that doesn't exist. - - >>> i.missing - Traceback (most recent call last): - ... - AttributeError: 'C' object has no attribute 'missing' - - It also works on dicts that customize __getitem__ - - >>> missing_func = lambda self, key: 'missing item' - >>> C = type( - ... 'C', - ... (dict, ItemsAsAttributes), - ... dict(__missing__ = missing_func), - ... ) - >>> i = C() - >>> i.missing - 'missing item' - >>> i.foo - 'missing item' - """ - - def __getattr__(self, key): - try: - return getattr(super(), key) - except AttributeError as e: - # attempt to get the value from the mapping (return self[key]) - # but be careful not to lose the original exception context. - noval = object() - - def _safe_getitem(cont, key, missing_result): - try: - return cont[key] - except KeyError: - return missing_result - - result = _safe_getitem(self, key, noval) - if result is not noval: - return result - # raise the original exception, but use the original class - # name, not 'super'. - (message,) = e.args - message = message.replace('super', self.__class__.__name__, 1) - e.args = (message,) - raise - - -def invert_map(map): - """ - Given a dictionary, return another dictionary with keys and values - switched. If any of the values resolve to the same key, raises - a ValueError. - - >>> numbers = dict(a=1, b=2, c=3) - >>> letters = invert_map(numbers) - >>> letters[1] - 'a' - >>> numbers['d'] = 3 - >>> invert_map(numbers) - Traceback (most recent call last): - ... - ValueError: Key conflict in inverted mapping - """ - res = dict((v, k) for k, v in map.items()) - if not len(res) == len(map): - raise ValueError('Key conflict in inverted mapping') - return res - - -class IdentityOverrideMap(dict): - """ - A dictionary that by default maps each key to itself, but otherwise - acts like a normal dictionary. - - >>> d = IdentityOverrideMap() - >>> d[42] - 42 - >>> d['speed'] = 'speedo' - >>> print(d['speed']) - speedo - """ - - def __missing__(self, key): - return key - - -class DictStack(list, collections.abc.MutableMapping): - """ - A stack of dictionaries that behaves as a view on those dictionaries, - giving preference to the last. - - >>> stack = DictStack([dict(a=1, c=2), dict(b=2, a=2)]) - >>> stack['a'] - 2 - >>> stack['b'] - 2 - >>> stack['c'] - 2 - >>> len(stack) - 3 - >>> stack.push(dict(a=3)) - >>> stack['a'] - 3 - >>> stack['a'] = 4 - >>> set(stack.keys()) == set(['a', 'b', 'c']) - True - >>> set(stack.items()) == set([('a', 4), ('b', 2), ('c', 2)]) - True - >>> dict(**stack) == dict(stack) == dict(a=4, c=2, b=2) - True - >>> d = stack.pop() - >>> stack['a'] - 2 - >>> d = stack.pop() - >>> stack['a'] - 1 - >>> stack.get('b', None) - >>> 'c' in stack - True - >>> del stack['c'] - >>> dict(stack) - {'a': 1} - """ - - def __iter__(self): - dicts = list.__iter__(self) - return iter(set(itertools.chain.from_iterable(c.keys() for c in dicts))) - - def __getitem__(self, key): - for scope in reversed(tuple(list.__iter__(self))): - if key in scope: - return scope[key] - raise KeyError(key) - - push = list.append - - def __contains__(self, other): - return collections.abc.Mapping.__contains__(self, other) - - def __len__(self): - return len(list(iter(self))) - - def __setitem__(self, key, item): - last = list.__getitem__(self, -1) - return last.__setitem__(key, item) - - def __delitem__(self, key): - last = list.__getitem__(self, -1) - return last.__delitem__(key) - - # workaround for mypy confusion - def pop(self, *args, **kwargs): - return list.pop(self, *args, **kwargs) - - -class BijectiveMap(dict): - """ - A Bijective Map (two-way mapping). - - Implemented as a simple dictionary of 2x the size, mapping values back - to keys. - - Note, this implementation may be incomplete. If there's not a test for - your use case below, it's likely to fail, so please test and send pull - requests or patches for additional functionality needed. - - - >>> m = BijectiveMap() - >>> m['a'] = 'b' - >>> m == {'a': 'b', 'b': 'a'} - True - >>> print(m['b']) - a - - >>> m['c'] = 'd' - >>> len(m) - 2 - - Some weird things happen if you map an item to itself or overwrite a - single key of a pair, so it's disallowed. - - >>> m['e'] = 'e' - Traceback (most recent call last): - ValueError: Key cannot map to itself - - >>> m['d'] = 'e' - Traceback (most recent call last): - ValueError: Key/Value pairs may not overlap - - >>> m['e'] = 'd' - Traceback (most recent call last): - ValueError: Key/Value pairs may not overlap - - >>> print(m.pop('d')) - c - - >>> 'c' in m - False - - >>> m = BijectiveMap(dict(a='b')) - >>> len(m) - 1 - >>> print(m['b']) - a - - >>> m = BijectiveMap() - >>> m.update(a='b') - >>> m['b'] - 'a' - - >>> del m['b'] - >>> len(m) - 0 - >>> 'a' in m - False - """ - - def __init__(self, *args, **kwargs): - super().__init__() - self.update(*args, **kwargs) - - def __setitem__(self, item, value): - if item == value: - raise ValueError("Key cannot map to itself") - overlap = ( - item in self - and self[item] != value - or value in self - and self[value] != item - ) - if overlap: - raise ValueError("Key/Value pairs may not overlap") - super().__setitem__(item, value) - super().__setitem__(value, item) - - def __delitem__(self, item): - self.pop(item) - - def __len__(self): - return super().__len__() // 2 - - def pop(self, key, *args, **kwargs): - mirror = self[key] - super().__delitem__(mirror) - return super().pop(key, *args, **kwargs) - - def update(self, *args, **kwargs): - # build a dictionary using the default constructs - d = dict(*args, **kwargs) - # build this dictionary using transformed keys. - for item in d.items(): - self.__setitem__(*item) - - -class FrozenDict(collections.abc.Mapping, collections.abc.Hashable): - """ - An immutable mapping. - - >>> a = FrozenDict(a=1, b=2) - >>> b = FrozenDict(a=1, b=2) - >>> a == b - True - - >>> a == dict(a=1, b=2) - True - >>> dict(a=1, b=2) == a - True - >>> 'a' in a - True - >>> type(hash(a)) is type(0) - True - >>> set(iter(a)) == {'a', 'b'} - True - >>> len(a) - 2 - >>> a['a'] == a.get('a') == 1 - True - - >>> a['c'] = 3 - Traceback (most recent call last): - ... - TypeError: 'FrozenDict' object does not support item assignment - - >>> a.update(y=3) - Traceback (most recent call last): - ... - AttributeError: 'FrozenDict' object has no attribute 'update' - - Copies should compare equal - - >>> copy.copy(a) == a - True - - Copies should be the same type - - >>> isinstance(copy.copy(a), FrozenDict) - True - - FrozenDict supplies .copy(), even though - collections.abc.Mapping doesn't demand it. - - >>> a.copy() == a - True - >>> a.copy() is not a - True - """ - - __slots__ = ['__data'] - - def __new__(cls, *args, **kwargs): - self = super().__new__(cls) - self.__data = dict(*args, **kwargs) - return self - - # Container - def __contains__(self, key): - return key in self.__data - - # Hashable - def __hash__(self): - return hash(tuple(sorted(self.__data.items()))) - - # Mapping - def __iter__(self): - return iter(self.__data) - - def __len__(self): - return len(self.__data) - - def __getitem__(self, key): - return self.__data[key] - - # override get for efficiency provided by dict - def get(self, *args, **kwargs): - return self.__data.get(*args, **kwargs) - - # override eq to recognize underlying implementation - def __eq__(self, other): - if isinstance(other, FrozenDict): - other = other.__data - return self.__data.__eq__(other) - - def copy(self): - "Return a shallow copy of self" - return copy.copy(self) - - -class Enumeration(ItemsAsAttributes, BijectiveMap): - """ - A convenient way to provide enumerated values - - >>> e = Enumeration('a b c') - >>> e['a'] - 0 - - >>> e.a - 0 - - >>> e[1] - 'b' - - >>> set(e.names) == set('abc') - True - - >>> set(e.codes) == set(range(3)) - True - - >>> e.get('d') is None - True - - Codes need not start with 0 - - >>> e = Enumeration('a b c', range(1, 4)) - >>> e['a'] - 1 - - >>> e[3] - 'c' - """ - - def __init__(self, names, codes=None): - if isinstance(names, str): - names = names.split() - if codes is None: - codes = itertools.count() - super().__init__(zip(names, codes)) - - @property - def names(self): - return (key for key in self if isinstance(key, str)) - - @property - def codes(self): - return (self[name] for name in self.names) - - -class Everything: - """ - A collection "containing" every possible thing. - - >>> 'foo' in Everything() - True - - >>> import random - >>> random.randint(1, 999) in Everything() - True - - >>> random.choice([None, 'foo', 42, ('a', 'b', 'c')]) in Everything() - True - """ - - def __contains__(self, other): - return True - - -class InstrumentedDict(collections.UserDict): - """ - Instrument an existing dictionary with additional - functionality, but always reference and mutate - the original dictionary. - - >>> orig = {'a': 1, 'b': 2} - >>> inst = InstrumentedDict(orig) - >>> inst['a'] - 1 - >>> inst['c'] = 3 - >>> orig['c'] - 3 - >>> inst.keys() == orig.keys() - True - """ - - def __init__(self, data): - super().__init__() - self.data = data - - -class Least: - """ - A value that is always lesser than any other - - >>> least = Least() - >>> 3 < least - False - >>> 3 > least - True - >>> least < 3 - True - >>> least <= 3 - True - >>> least > 3 - False - >>> 'x' > least - True - >>> None > least - True - """ - - def __le__(self, other): - return True - - __lt__ = __le__ - - def __ge__(self, other): - return False - - __gt__ = __ge__ - - -class Greatest: - """ - A value that is always greater than any other - - >>> greatest = Greatest() - >>> 3 < greatest - True - >>> 3 > greatest - False - >>> greatest < 3 - False - >>> greatest > 3 - True - >>> greatest >= 3 - True - >>> 'x' > greatest - False - >>> None > greatest - False - """ - - def __ge__(self, other): - return True - - __gt__ = __ge__ - - def __le__(self, other): - return False - - __lt__ = __le__ - - -def pop_all(items): - """ - Clear items in place and return a copy of items. - - >>> items = [1, 2, 3] - >>> popped = pop_all(items) - >>> popped is items - False - >>> popped - [1, 2, 3] - >>> items - [] - """ - result, items[:] = items[:], [] - return result - - -class FreezableDefaultDict(collections.defaultdict): - """ - Often it is desirable to prevent the mutation of - a default dict after its initial construction, such - as to prevent mutation during iteration. - - >>> dd = FreezableDefaultDict(list) - >>> dd[0].append('1') - >>> dd.freeze() - >>> dd[1] - [] - >>> len(dd) - 1 - """ - - def __missing__(self, key): - return getattr(self, '_frozen', super().__missing__)(key) - - def freeze(self): - self._frozen = lambda key: self.default_factory() - - -class Accumulator: - def __init__(self, initial=0): - self.val = initial - - def __call__(self, val): - self.val += val - return self.val - - -class WeightedLookup(RangeMap): - """ - Given parameters suitable for a dict representing keys - and a weighted proportion, return a RangeMap representing - spans of values proportial to the weights: - - >>> even = WeightedLookup(a=1, b=1) - - [0, 1) -> a - [1, 2) -> b - - >>> lk = WeightedLookup(a=1, b=2) - - [0, 1) -> a - [1, 3) -> b - - >>> lk[.5] - 'a' - >>> lk[1.5] - 'b' - - Adds ``.random()`` to select a random weighted value: - - >>> lk.random() in ['a', 'b'] - True - - >>> choices = [lk.random() for x in range(1000)] - - Statistically speaking, choices should be .5 a:b - >>> ratio = choices.count('a') / choices.count('b') - >>> .4 < ratio < .6 - True - """ - - def __init__(self, *args, **kwargs): - raw = dict(*args, **kwargs) - - # allocate keys by weight - indexes = map(Accumulator(), raw.values()) - super().__init__(zip(indexes, raw.keys()), key_match_comparator=operator.lt) - - def random(self): - lower, upper = self.bounds() - selector = random.random() * upper - return self[selector] diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/collections/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/collections/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index b42db3b8..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/collections/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/collections/py.typed b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/collections/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/context.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/context.py deleted file mode 100644 index 61b27135..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/context.py +++ /dev/null @@ -1,361 +0,0 @@ -from __future__ import annotations - -import contextlib -import functools -import operator -import os -import shutil -import subprocess -import sys -import tempfile -import urllib.request -import warnings -from typing import Iterator - - -if sys.version_info < (3, 12): - from backports import tarfile -else: - import tarfile - - -@contextlib.contextmanager -def pushd(dir: str | os.PathLike) -> Iterator[str | os.PathLike]: - """ - >>> tmp_path = getfixture('tmp_path') - >>> with pushd(tmp_path): - ... assert os.getcwd() == os.fspath(tmp_path) - >>> assert os.getcwd() != os.fspath(tmp_path) - """ - - orig = os.getcwd() - os.chdir(dir) - try: - yield dir - finally: - os.chdir(orig) - - -@contextlib.contextmanager -def tarball( - url, target_dir: str | os.PathLike | None = None -) -> Iterator[str | os.PathLike]: - """ - Get a tarball, extract it, yield, then clean up. - - >>> import urllib.request - >>> url = getfixture('tarfile_served') - >>> target = getfixture('tmp_path') / 'out' - >>> tb = tarball(url, target_dir=target) - >>> import pathlib - >>> with tb as extracted: - ... contents = pathlib.Path(extracted, 'contents.txt').read_text(encoding='utf-8') - >>> assert not os.path.exists(extracted) - """ - if target_dir is None: - target_dir = os.path.basename(url).replace('.tar.gz', '').replace('.tgz', '') - # In the tar command, use --strip-components=1 to strip the first path and - # then - # use -C to cause the files to be extracted to {target_dir}. This ensures - # that we always know where the files were extracted. - os.mkdir(target_dir) - try: - req = urllib.request.urlopen(url) - with tarfile.open(fileobj=req, mode='r|*') as tf: - tf.extractall(path=target_dir, filter=strip_first_component) - yield target_dir - finally: - shutil.rmtree(target_dir) - - -def strip_first_component( - member: tarfile.TarInfo, - path, -) -> tarfile.TarInfo: - _, member.name = member.name.split('/', 1) - return member - - -def _compose(*cmgrs): - """ - Compose any number of dependent context managers into a single one. - - The last, innermost context manager may take arbitrary arguments, but - each successive context manager should accept the result from the - previous as a single parameter. - - Like :func:`jaraco.functools.compose`, behavior works from right to - left, so the context manager should be indicated from outermost to - innermost. - - Example, to create a context manager to change to a temporary - directory: - - >>> temp_dir_as_cwd = _compose(pushd, temp_dir) - >>> with temp_dir_as_cwd() as dir: - ... assert os.path.samefile(os.getcwd(), dir) - """ - - def compose_two(inner, outer): - def composed(*args, **kwargs): - with inner(*args, **kwargs) as saved, outer(saved) as res: - yield res - - return contextlib.contextmanager(composed) - - return functools.reduce(compose_two, reversed(cmgrs)) - - -tarball_cwd = _compose(pushd, tarball) - - -@contextlib.contextmanager -def tarball_context(*args, **kwargs): - warnings.warn( - "tarball_context is deprecated. Use tarball or tarball_cwd instead.", - DeprecationWarning, - stacklevel=2, - ) - pushd_ctx = kwargs.pop('pushd', pushd) - with tarball(*args, **kwargs) as tball, pushd_ctx(tball) as dir: - yield dir - - -def infer_compression(url): - """ - Given a URL or filename, infer the compression code for tar. - - >>> infer_compression('http://foo/bar.tar.gz') - 'z' - >>> infer_compression('http://foo/bar.tgz') - 'z' - >>> infer_compression('file.bz') - 'j' - >>> infer_compression('file.xz') - 'J' - """ - warnings.warn( - "infer_compression is deprecated with no replacement", - DeprecationWarning, - stacklevel=2, - ) - # cheat and just assume it's the last two characters - compression_indicator = url[-2:] - mapping = dict(gz='z', bz='j', xz='J') - # Assume 'z' (gzip) if no match - return mapping.get(compression_indicator, 'z') - - -@contextlib.contextmanager -def temp_dir(remover=shutil.rmtree): - """ - Create a temporary directory context. Pass a custom remover - to override the removal behavior. - - >>> import pathlib - >>> with temp_dir() as the_dir: - ... assert os.path.isdir(the_dir) - ... _ = pathlib.Path(the_dir).joinpath('somefile').write_text('contents', encoding='utf-8') - >>> assert not os.path.exists(the_dir) - """ - temp_dir = tempfile.mkdtemp() - try: - yield temp_dir - finally: - remover(temp_dir) - - -@contextlib.contextmanager -def repo_context(url, branch=None, quiet=True, dest_ctx=temp_dir): - """ - Check out the repo indicated by url. - - If dest_ctx is supplied, it should be a context manager - to yield the target directory for the check out. - """ - exe = 'git' if 'git' in url else 'hg' - with dest_ctx() as repo_dir: - cmd = [exe, 'clone', url, repo_dir] - if branch: - cmd.extend(['--branch', branch]) - devnull = open(os.path.devnull, 'w') - stdout = devnull if quiet else None - subprocess.check_call(cmd, stdout=stdout) - yield repo_dir - - -def null(): - """ - A null context suitable to stand in for a meaningful context. - - >>> with null() as value: - ... assert value is None - - This context is most useful when dealing with two or more code - branches but only some need a context. Wrap the others in a null - context to provide symmetry across all options. - """ - warnings.warn( - "null is deprecated. Use contextlib.nullcontext", - DeprecationWarning, - stacklevel=2, - ) - return contextlib.nullcontext() - - -class ExceptionTrap: - """ - A context manager that will catch certain exceptions and provide an - indication they occurred. - - >>> with ExceptionTrap() as trap: - ... raise Exception() - >>> bool(trap) - True - - >>> with ExceptionTrap() as trap: - ... pass - >>> bool(trap) - False - - >>> with ExceptionTrap(ValueError) as trap: - ... raise ValueError("1 + 1 is not 3") - >>> bool(trap) - True - >>> trap.value - ValueError('1 + 1 is not 3') - >>> trap.tb - - - >>> with ExceptionTrap(ValueError) as trap: - ... raise Exception() - Traceback (most recent call last): - ... - Exception - - >>> bool(trap) - False - """ - - exc_info = None, None, None - - def __init__(self, exceptions=(Exception,)): - self.exceptions = exceptions - - def __enter__(self): - return self - - @property - def type(self): - return self.exc_info[0] - - @property - def value(self): - return self.exc_info[1] - - @property - def tb(self): - return self.exc_info[2] - - def __exit__(self, *exc_info): - type = exc_info[0] - matches = type and issubclass(type, self.exceptions) - if matches: - self.exc_info = exc_info - return matches - - def __bool__(self): - return bool(self.type) - - def raises(self, func, *, _test=bool): - """ - Wrap func and replace the result with the truth - value of the trap (True if an exception occurred). - - First, give the decorator an alias to support Python 3.8 - Syntax. - - >>> raises = ExceptionTrap(ValueError).raises - - Now decorate a function that always fails. - - >>> @raises - ... def fail(): - ... raise ValueError('failed') - >>> fail() - True - """ - - @functools.wraps(func) - def wrapper(*args, **kwargs): - with ExceptionTrap(self.exceptions) as trap: - func(*args, **kwargs) - return _test(trap) - - return wrapper - - def passes(self, func): - """ - Wrap func and replace the result with the truth - value of the trap (True if no exception). - - First, give the decorator an alias to support Python 3.8 - Syntax. - - >>> passes = ExceptionTrap(ValueError).passes - - Now decorate a function that always fails. - - >>> @passes - ... def fail(): - ... raise ValueError('failed') - - >>> fail() - False - """ - return self.raises(func, _test=operator.not_) - - -class suppress(contextlib.suppress, contextlib.ContextDecorator): - """ - A version of contextlib.suppress with decorator support. - - >>> @suppress(KeyError) - ... def key_error(): - ... {}[''] - >>> key_error() - """ - - -class on_interrupt(contextlib.ContextDecorator): - """ - Replace a KeyboardInterrupt with SystemExit(1) - - >>> def do_interrupt(): - ... raise KeyboardInterrupt() - >>> on_interrupt('error')(do_interrupt)() - Traceback (most recent call last): - ... - SystemExit: 1 - >>> on_interrupt('error', code=255)(do_interrupt)() - Traceback (most recent call last): - ... - SystemExit: 255 - >>> on_interrupt('suppress')(do_interrupt)() - >>> with __import__('pytest').raises(KeyboardInterrupt): - ... on_interrupt('ignore')(do_interrupt)() - """ - - def __init__(self, action='error', /, code=1): - self.action = action - self.code = code - - def __enter__(self): - return self - - def __exit__(self, exctype, excinst, exctb): - if exctype is not KeyboardInterrupt or self.action == 'ignore': - return - elif self.action == 'error': - raise SystemExit(self.code) from excinst - return self.action == 'suppress' diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/__init__.py deleted file mode 100644 index ca6c22fa..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/__init__.py +++ /dev/null @@ -1,633 +0,0 @@ -import collections.abc -import functools -import inspect -import itertools -import operator -import time -import types -import warnings - -import more_itertools - - -def compose(*funcs): - """ - Compose any number of unary functions into a single unary function. - - >>> import textwrap - >>> expected = str.strip(textwrap.dedent(compose.__doc__)) - >>> strip_and_dedent = compose(str.strip, textwrap.dedent) - >>> strip_and_dedent(compose.__doc__) == expected - True - - Compose also allows the innermost function to take arbitrary arguments. - - >>> round_three = lambda x: round(x, ndigits=3) - >>> f = compose(round_three, int.__truediv__) - >>> [f(3*x, x+1) for x in range(1,10)] - [1.5, 2.0, 2.25, 2.4, 2.5, 2.571, 2.625, 2.667, 2.7] - """ - - def compose_two(f1, f2): - return lambda *args, **kwargs: f1(f2(*args, **kwargs)) - - return functools.reduce(compose_two, funcs) - - -def once(func): - """ - Decorate func so it's only ever called the first time. - - This decorator can ensure that an expensive or non-idempotent function - will not be expensive on subsequent calls and is idempotent. - - >>> add_three = once(lambda a: a+3) - >>> add_three(3) - 6 - >>> add_three(9) - 6 - >>> add_three('12') - 6 - - To reset the stored value, simply clear the property ``saved_result``. - - >>> del add_three.saved_result - >>> add_three(9) - 12 - >>> add_three(8) - 12 - - Or invoke 'reset()' on it. - - >>> add_three.reset() - >>> add_three(-3) - 0 - >>> add_three(0) - 0 - """ - - @functools.wraps(func) - def wrapper(*args, **kwargs): - if not hasattr(wrapper, 'saved_result'): - wrapper.saved_result = func(*args, **kwargs) - return wrapper.saved_result - - wrapper.reset = lambda: vars(wrapper).__delitem__('saved_result') - return wrapper - - -def method_cache(method, cache_wrapper=functools.lru_cache()): - """ - Wrap lru_cache to support storing the cache data in the object instances. - - Abstracts the common paradigm where the method explicitly saves an - underscore-prefixed protected property on first call and returns that - subsequently. - - >>> class MyClass: - ... calls = 0 - ... - ... @method_cache - ... def method(self, value): - ... self.calls += 1 - ... return value - - >>> a = MyClass() - >>> a.method(3) - 3 - >>> for x in range(75): - ... res = a.method(x) - >>> a.calls - 75 - - Note that the apparent behavior will be exactly like that of lru_cache - except that the cache is stored on each instance, so values in one - instance will not flush values from another, and when an instance is - deleted, so are the cached values for that instance. - - >>> b = MyClass() - >>> for x in range(35): - ... res = b.method(x) - >>> b.calls - 35 - >>> a.method(0) - 0 - >>> a.calls - 75 - - Note that if method had been decorated with ``functools.lru_cache()``, - a.calls would have been 76 (due to the cached value of 0 having been - flushed by the 'b' instance). - - Clear the cache with ``.cache_clear()`` - - >>> a.method.cache_clear() - - Same for a method that hasn't yet been called. - - >>> c = MyClass() - >>> c.method.cache_clear() - - Another cache wrapper may be supplied: - - >>> cache = functools.lru_cache(maxsize=2) - >>> MyClass.method2 = method_cache(lambda self: 3, cache_wrapper=cache) - >>> a = MyClass() - >>> a.method2() - 3 - - Caution - do not subsequently wrap the method with another decorator, such - as ``@property``, which changes the semantics of the function. - - See also - http://code.activestate.com/recipes/577452-a-memoize-decorator-for-instance-methods/ - for another implementation and additional justification. - """ - - def wrapper(self, *args, **kwargs): - # it's the first call, replace the method with a cached, bound method - bound_method = types.MethodType(method, self) - cached_method = cache_wrapper(bound_method) - setattr(self, method.__name__, cached_method) - return cached_method(*args, **kwargs) - - # Support cache clear even before cache has been created. - wrapper.cache_clear = lambda: None - - return _special_method_cache(method, cache_wrapper) or wrapper - - -def _special_method_cache(method, cache_wrapper): - """ - Because Python treats special methods differently, it's not - possible to use instance attributes to implement the cached - methods. - - Instead, install the wrapper method under a different name - and return a simple proxy to that wrapper. - - https://github.com/jaraco/jaraco.functools/issues/5 - """ - name = method.__name__ - special_names = '__getattr__', '__getitem__' - - if name not in special_names: - return None - - wrapper_name = '__cached' + name - - def proxy(self, /, *args, **kwargs): - if wrapper_name not in vars(self): - bound = types.MethodType(method, self) - cache = cache_wrapper(bound) - setattr(self, wrapper_name, cache) - else: - cache = getattr(self, wrapper_name) - return cache(*args, **kwargs) - - return proxy - - -def apply(transform): - """ - Decorate a function with a transform function that is - invoked on results returned from the decorated function. - - >>> @apply(reversed) - ... def get_numbers(start): - ... "doc for get_numbers" - ... return range(start, start+3) - >>> list(get_numbers(4)) - [6, 5, 4] - >>> get_numbers.__doc__ - 'doc for get_numbers' - """ - - def wrap(func): - return functools.wraps(func)(compose(transform, func)) - - return wrap - - -def result_invoke(action): - r""" - Decorate a function with an action function that is - invoked on the results returned from the decorated - function (for its side effect), then return the original - result. - - >>> @result_invoke(print) - ... def add_two(a, b): - ... return a + b - >>> x = add_two(2, 3) - 5 - >>> x - 5 - """ - - def wrap(func): - @functools.wraps(func) - def wrapper(*args, **kwargs): - result = func(*args, **kwargs) - action(result) - return result - - return wrapper - - return wrap - - -def invoke(f, /, *args, **kwargs): - """ - Call a function for its side effect after initialization. - - The benefit of using the decorator instead of simply invoking a function - after defining it is that it makes explicit the author's intent for the - function to be called immediately. Whereas if one simply calls the - function immediately, it's less obvious if that was intentional or - incidental. It also avoids repeating the name - the two actions, defining - the function and calling it immediately are modeled separately, but linked - by the decorator construct. - - The benefit of having a function construct (opposed to just invoking some - behavior inline) is to serve as a scope in which the behavior occurs. It - avoids polluting the global namespace with local variables, provides an - anchor on which to attach documentation (docstring), keeps the behavior - logically separated (instead of conceptually separated or not separated at - all), and provides potential to re-use the behavior for testing or other - purposes. - - This function is named as a pithy way to communicate, "call this function - primarily for its side effect", or "while defining this function, also - take it aside and call it". It exists because there's no Python construct - for "define and call" (nor should there be, as decorators serve this need - just fine). The behavior happens immediately and synchronously. - - >>> @invoke - ... def func(): print("called") - called - >>> func() - called - - Use functools.partial to pass parameters to the initial call - - >>> @functools.partial(invoke, name='bingo') - ... def func(name): print('called with', name) - called with bingo - """ - f(*args, **kwargs) - return f - - -class Throttler: - """Rate-limit a function (or other callable).""" - - def __init__(self, func, max_rate=float('Inf')): - if isinstance(func, Throttler): - func = func.func - self.func = func - self.max_rate = max_rate - self.reset() - - def reset(self): - self.last_called = 0 - - def __call__(self, *args, **kwargs): - self._wait() - return self.func(*args, **kwargs) - - def _wait(self): - """Ensure at least 1/max_rate seconds from last call.""" - elapsed = time.time() - self.last_called - must_wait = 1 / self.max_rate - elapsed - time.sleep(max(0, must_wait)) - self.last_called = time.time() - - def __get__(self, obj, owner=None): - return first_invoke(self._wait, functools.partial(self.func, obj)) - - -def first_invoke(func1, func2): - """ - Return a function that when invoked will invoke func1 without - any parameters (for its side effect) and then invoke func2 - with whatever parameters were passed, returning its result. - """ - - def wrapper(*args, **kwargs): - func1() - return func2(*args, **kwargs) - - return wrapper - - -method_caller = first_invoke( - lambda: warnings.warn( - '`jaraco.functools.method_caller` is deprecated, ' - 'use `operator.methodcaller` instead', - DeprecationWarning, - stacklevel=3, - ), - operator.methodcaller, -) - - -def retry_call(func, cleanup=lambda: None, retries=0, trap=()): - """ - Given a callable func, trap the indicated exceptions - for up to 'retries' times, invoking cleanup on the - exception. On the final attempt, allow any exceptions - to propagate. - """ - attempts = itertools.count() if retries == float('inf') else range(retries) - for _ in attempts: - try: - return func() - except trap: - cleanup() - - return func() - - -def retry(*r_args, **r_kwargs): - """ - Decorator wrapper for retry_call. Accepts arguments to retry_call - except func and then returns a decorator for the decorated function. - - Ex: - - >>> @retry(retries=3) - ... def my_func(a, b): - ... "this is my funk" - ... print(a, b) - >>> my_func.__doc__ - 'this is my funk' - """ - - def decorate(func): - @functools.wraps(func) - def wrapper(*f_args, **f_kwargs): - bound = functools.partial(func, *f_args, **f_kwargs) - return retry_call(bound, *r_args, **r_kwargs) - - return wrapper - - return decorate - - -def print_yielded(func): - """ - Convert a generator into a function that prints all yielded elements. - - >>> @print_yielded - ... def x(): - ... yield 3; yield None - >>> x() - 3 - None - """ - print_all = functools.partial(map, print) - print_results = compose(more_itertools.consume, print_all, func) - return functools.wraps(func)(print_results) - - -def pass_none(func): - """ - Wrap func so it's not called if its first param is None. - - >>> print_text = pass_none(print) - >>> print_text('text') - text - >>> print_text(None) - """ - - @functools.wraps(func) - def wrapper(param, /, *args, **kwargs): - if param is not None: - return func(param, *args, **kwargs) - return None - - return wrapper - - -def assign_params(func, namespace): - """ - Assign parameters from namespace where func solicits. - - >>> def func(x, y=3): - ... print(x, y) - >>> assigned = assign_params(func, dict(x=2, z=4)) - >>> assigned() - 2 3 - - The usual errors are raised if a function doesn't receive - its required parameters: - - >>> assigned = assign_params(func, dict(y=3, z=4)) - >>> assigned() - Traceback (most recent call last): - TypeError: func() ...argument... - - It even works on methods: - - >>> class Handler: - ... def meth(self, arg): - ... print(arg) - >>> assign_params(Handler().meth, dict(arg='crystal', foo='clear'))() - crystal - """ - sig = inspect.signature(func) - params = sig.parameters.keys() - call_ns = {k: namespace[k] for k in params if k in namespace} - return functools.partial(func, **call_ns) - - -def save_method_args(method): - """ - Wrap a method such that when it is called, the args and kwargs are - saved on the method. - - >>> class MyClass: - ... @save_method_args - ... def method(self, a, b): - ... print(a, b) - >>> my_ob = MyClass() - >>> my_ob.method(1, 2) - 1 2 - >>> my_ob._saved_method.args - (1, 2) - >>> my_ob._saved_method.kwargs - {} - >>> my_ob.method(a=3, b='foo') - 3 foo - >>> my_ob._saved_method.args - () - >>> my_ob._saved_method.kwargs == dict(a=3, b='foo') - True - - The arguments are stored on the instance, allowing for - different instance to save different args. - - >>> your_ob = MyClass() - >>> your_ob.method({str('x'): 3}, b=[4]) - {'x': 3} [4] - >>> your_ob._saved_method.args - ({'x': 3},) - >>> my_ob._saved_method.args - () - """ - args_and_kwargs = collections.namedtuple('args_and_kwargs', 'args kwargs') - - @functools.wraps(method) - def wrapper(self, /, *args, **kwargs): - attr_name = '_saved_' + method.__name__ - attr = args_and_kwargs(args, kwargs) - setattr(self, attr_name, attr) - return method(self, *args, **kwargs) - - return wrapper - - -def except_(*exceptions, replace=None, use=None): - """ - Replace the indicated exceptions, if raised, with the indicated - literal replacement or evaluated expression (if present). - - >>> safe_int = except_(ValueError)(int) - >>> safe_int('five') - >>> safe_int('5') - 5 - - Specify a literal replacement with ``replace``. - - >>> safe_int_r = except_(ValueError, replace=0)(int) - >>> safe_int_r('five') - 0 - - Provide an expression to ``use`` to pass through particular parameters. - - >>> safe_int_pt = except_(ValueError, use='args[0]')(int) - >>> safe_int_pt('five') - 'five' - - """ - - def decorate(func): - @functools.wraps(func) - def wrapper(*args, **kwargs): - try: - return func(*args, **kwargs) - except exceptions: - try: - return eval(use) - except TypeError: - return replace - - return wrapper - - return decorate - - -def identity(x): - """ - Return the argument. - - >>> o = object() - >>> identity(o) is o - True - """ - return x - - -def bypass_when(check, *, _op=identity): - """ - Decorate a function to return its parameter when ``check``. - - >>> bypassed = [] # False - - >>> @bypass_when(bypassed) - ... def double(x): - ... return x * 2 - >>> double(2) - 4 - >>> bypassed[:] = [object()] # True - >>> double(2) - 2 - """ - - def decorate(func): - @functools.wraps(func) - def wrapper(param, /): - return param if _op(check) else func(param) - - return wrapper - - return decorate - - -def bypass_unless(check): - """ - Decorate a function to return its parameter unless ``check``. - - >>> enabled = [object()] # True - - >>> @bypass_unless(enabled) - ... def double(x): - ... return x * 2 - >>> double(2) - 4 - >>> del enabled[:] # False - >>> double(2) - 2 - """ - return bypass_when(check, _op=operator.not_) - - -@functools.singledispatch -def _splat_inner(args, func): - """Splat args to func.""" - return func(*args) - - -@_splat_inner.register -def _(args: collections.abc.Mapping, func): - """Splat kargs to func as kwargs.""" - return func(**args) - - -def splat(func): - """ - Wrap func to expect its parameters to be passed positionally in a tuple. - - Has a similar effect to that of ``itertools.starmap`` over - simple ``map``. - - >>> pairs = [(-1, 1), (0, 2)] - >>> more_itertools.consume(itertools.starmap(print, pairs)) - -1 1 - 0 2 - >>> more_itertools.consume(map(splat(print), pairs)) - -1 1 - 0 2 - - The approach generalizes to other iterators that don't have a "star" - equivalent, such as a "starfilter". - - >>> list(filter(splat(operator.add), pairs)) - [(0, 2)] - - Splat also accepts a mapping argument. - - >>> def is_nice(msg, code): - ... return "smile" in msg or code == 0 - >>> msgs = [ - ... dict(msg='smile!', code=20), - ... dict(msg='error :(', code=1), - ... dict(msg='unknown', code=0), - ... ] - >>> for msg in filter(splat(is_nice), msgs): - ... print(msg) - {'msg': 'smile!', 'code': 20} - {'msg': 'unknown', 'code': 0} - """ - return functools.wraps(func)(functools.partial(_splat_inner, func=func)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/__init__.pyi b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/__init__.pyi deleted file mode 100644 index 19191bf9..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/__init__.pyi +++ /dev/null @@ -1,125 +0,0 @@ -from collections.abc import Callable, Hashable, Iterator -from functools import partial -from operator import methodcaller -import sys -from typing import ( - Any, - Generic, - Protocol, - TypeVar, - overload, -) - -if sys.version_info >= (3, 10): - from typing import Concatenate, ParamSpec -else: - from typing_extensions import Concatenate, ParamSpec - -_P = ParamSpec('_P') -_R = TypeVar('_R') -_T = TypeVar('_T') -_R1 = TypeVar('_R1') -_R2 = TypeVar('_R2') -_V = TypeVar('_V') -_S = TypeVar('_S') -_R_co = TypeVar('_R_co', covariant=True) - -class _OnceCallable(Protocol[_P, _R]): - saved_result: _R - reset: Callable[[], None] - def __call__(self, *args: _P.args, **kwargs: _P.kwargs) -> _R: ... - -class _ProxyMethodCacheWrapper(Protocol[_R_co]): - cache_clear: Callable[[], None] - def __call__(self, *args: Hashable, **kwargs: Hashable) -> _R_co: ... - -class _MethodCacheWrapper(Protocol[_R_co]): - def cache_clear(self) -> None: ... - def __call__(self, *args: Hashable, **kwargs: Hashable) -> _R_co: ... - -# `compose()` overloads below will cover most use cases. - -@overload -def compose( - __func1: Callable[[_R], _T], - __func2: Callable[_P, _R], - /, -) -> Callable[_P, _T]: ... -@overload -def compose( - __func1: Callable[[_R], _T], - __func2: Callable[[_R1], _R], - __func3: Callable[_P, _R1], - /, -) -> Callable[_P, _T]: ... -@overload -def compose( - __func1: Callable[[_R], _T], - __func2: Callable[[_R2], _R], - __func3: Callable[[_R1], _R2], - __func4: Callable[_P, _R1], - /, -) -> Callable[_P, _T]: ... -def once(func: Callable[_P, _R]) -> _OnceCallable[_P, _R]: ... -def method_cache( - method: Callable[..., _R], - cache_wrapper: Callable[[Callable[..., _R]], _MethodCacheWrapper[_R]] = ..., -) -> _MethodCacheWrapper[_R] | _ProxyMethodCacheWrapper[_R]: ... -def apply( - transform: Callable[[_R], _T] -) -> Callable[[Callable[_P, _R]], Callable[_P, _T]]: ... -def result_invoke( - action: Callable[[_R], Any] -) -> Callable[[Callable[_P, _R]], Callable[_P, _R]]: ... -def invoke( - f: Callable[_P, _R], /, *args: _P.args, **kwargs: _P.kwargs -) -> Callable[_P, _R]: ... - -class Throttler(Generic[_R]): - last_called: float - func: Callable[..., _R] - max_rate: float - def __init__( - self, func: Callable[..., _R] | Throttler[_R], max_rate: float = ... - ) -> None: ... - def reset(self) -> None: ... - def __call__(self, *args: Any, **kwargs: Any) -> _R: ... - def __get__(self, obj: Any, owner: type[Any] | None = ...) -> Callable[..., _R]: ... - -def first_invoke( - func1: Callable[..., Any], func2: Callable[_P, _R] -) -> Callable[_P, _R]: ... - -method_caller: Callable[..., methodcaller] - -def retry_call( - func: Callable[..., _R], - cleanup: Callable[..., None] = ..., - retries: int | float = ..., - trap: type[BaseException] | tuple[type[BaseException], ...] = ..., -) -> _R: ... -def retry( - cleanup: Callable[..., None] = ..., - retries: int | float = ..., - trap: type[BaseException] | tuple[type[BaseException], ...] = ..., -) -> Callable[[Callable[..., _R]], Callable[..., _R]]: ... -def print_yielded(func: Callable[_P, Iterator[Any]]) -> Callable[_P, None]: ... -def pass_none( - func: Callable[Concatenate[_T, _P], _R] -) -> Callable[Concatenate[_T, _P], _R]: ... -def assign_params( - func: Callable[..., _R], namespace: dict[str, Any] -) -> partial[_R]: ... -def save_method_args( - method: Callable[Concatenate[_S, _P], _R] -) -> Callable[Concatenate[_S, _P], _R]: ... -def except_( - *exceptions: type[BaseException], replace: Any = ..., use: Any = ... -) -> Callable[[Callable[_P, Any]], Callable[_P, Any]]: ... -def identity(x: _T) -> _T: ... -def bypass_when( - check: _V, *, _op: Callable[[_V], Any] = ... -) -> Callable[[Callable[[_T], _R]], Callable[[_T], _T | _R]]: ... -def bypass_unless( - check: Any, -) -> Callable[[Callable[[_T], _R]], Callable[[_T], _T | _R]]: ... diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index b6c6d319..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/py.typed b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/functools/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/Lorem ipsum.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/Lorem ipsum.txt deleted file mode 100644 index 986f944b..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/Lorem ipsum.txt +++ /dev/null @@ -1,2 +0,0 @@ -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. -Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus magna felis sollicitudin mauris. Integer in mauris eu nibh euismod gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, molestie eu, feugiat in, orci. In hac habitasse platea dictumst. diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__init__.py deleted file mode 100644 index 0fabd0c3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__init__.py +++ /dev/null @@ -1,624 +0,0 @@ -import re -import itertools -import textwrap -import functools - -try: - from importlib.resources import files # type: ignore -except ImportError: # pragma: nocover - from importlib_resources import files # type: ignore - -from jaraco.functools import compose, method_cache -from jaraco.context import ExceptionTrap - - -def substitution(old, new): - """ - Return a function that will perform a substitution on a string - """ - return lambda s: s.replace(old, new) - - -def multi_substitution(*substitutions): - """ - Take a sequence of pairs specifying substitutions, and create - a function that performs those substitutions. - - >>> multi_substitution(('foo', 'bar'), ('bar', 'baz'))('foo') - 'baz' - """ - substitutions = itertools.starmap(substitution, substitutions) - # compose function applies last function first, so reverse the - # substitutions to get the expected order. - substitutions = reversed(tuple(substitutions)) - return compose(*substitutions) - - -class FoldedCase(str): - """ - A case insensitive string class; behaves just like str - except compares equal when the only variation is case. - - >>> s = FoldedCase('hello world') - - >>> s == 'Hello World' - True - - >>> 'Hello World' == s - True - - >>> s != 'Hello World' - False - - >>> s.index('O') - 4 - - >>> s.split('O') - ['hell', ' w', 'rld'] - - >>> sorted(map(FoldedCase, ['GAMMA', 'alpha', 'Beta'])) - ['alpha', 'Beta', 'GAMMA'] - - Sequence membership is straightforward. - - >>> "Hello World" in [s] - True - >>> s in ["Hello World"] - True - - Allows testing for set inclusion, but candidate and elements - must both be folded. - - >>> FoldedCase("Hello World") in {s} - True - >>> s in {FoldedCase("Hello World")} - True - - String inclusion works as long as the FoldedCase object - is on the right. - - >>> "hello" in FoldedCase("Hello World") - True - - But not if the FoldedCase object is on the left: - - >>> FoldedCase('hello') in 'Hello World' - False - - In that case, use ``in_``: - - >>> FoldedCase('hello').in_('Hello World') - True - - >>> FoldedCase('hello') > FoldedCase('Hello') - False - - >>> FoldedCase('ß') == FoldedCase('ss') - True - """ - - def __lt__(self, other): - return self.casefold() < other.casefold() - - def __gt__(self, other): - return self.casefold() > other.casefold() - - def __eq__(self, other): - return self.casefold() == other.casefold() - - def __ne__(self, other): - return self.casefold() != other.casefold() - - def __hash__(self): - return hash(self.casefold()) - - def __contains__(self, other): - return super().casefold().__contains__(other.casefold()) - - def in_(self, other): - "Does self appear in other?" - return self in FoldedCase(other) - - # cache casefold since it's likely to be called frequently. - @method_cache - def casefold(self): - return super().casefold() - - def index(self, sub): - return self.casefold().index(sub.casefold()) - - def split(self, splitter=' ', maxsplit=0): - pattern = re.compile(re.escape(splitter), re.I) - return pattern.split(self, maxsplit) - - -# Python 3.8 compatibility -_unicode_trap = ExceptionTrap(UnicodeDecodeError) - - -@_unicode_trap.passes -def is_decodable(value): - r""" - Return True if the supplied value is decodable (using the default - encoding). - - >>> is_decodable(b'\xff') - False - >>> is_decodable(b'\x32') - True - """ - value.decode() - - -def is_binary(value): - r""" - Return True if the value appears to be binary (that is, it's a byte - string and isn't decodable). - - >>> is_binary(b'\xff') - True - >>> is_binary('\xff') - False - """ - return isinstance(value, bytes) and not is_decodable(value) - - -def trim(s): - r""" - Trim something like a docstring to remove the whitespace that - is common due to indentation and formatting. - - >>> trim("\n\tfoo = bar\n\t\tbar = baz\n") - 'foo = bar\n\tbar = baz' - """ - return textwrap.dedent(s).strip() - - -def wrap(s): - """ - Wrap lines of text, retaining existing newlines as - paragraph markers. - - >>> print(wrap(lorem_ipsum)) - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do - eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad - minim veniam, quis nostrud exercitation ullamco laboris nisi ut - aliquip ex ea commodo consequat. Duis aute irure dolor in - reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla - pariatur. Excepteur sint occaecat cupidatat non proident, sunt in - culpa qui officia deserunt mollit anim id est laborum. - - Curabitur pretium tincidunt lacus. Nulla gravida orci a odio. Nullam - varius, turpis et commodo pharetra, est eros bibendum elit, nec luctus - magna felis sollicitudin mauris. Integer in mauris eu nibh euismod - gravida. Duis ac tellus et risus vulputate vehicula. Donec lobortis - risus a elit. Etiam tempor. Ut ullamcorper, ligula eu tempor congue, - eros est euismod turpis, id tincidunt sapien risus a quam. Maecenas - fermentum consequat mi. Donec fermentum. Pellentesque malesuada nulla - a mi. Duis sapien sem, aliquet nec, commodo eget, consequat quis, - neque. Aliquam faucibus, elit ut dictum aliquet, felis nisl adipiscing - sapien, sed malesuada diam lacus eget erat. Cras mollis scelerisque - nunc. Nullam arcu. Aliquam consequat. Curabitur augue lorem, dapibus - quis, laoreet et, pretium ac, nisi. Aenean magna nisl, mollis quis, - molestie eu, feugiat in, orci. In hac habitasse platea dictumst. - """ - paragraphs = s.splitlines() - wrapped = ('\n'.join(textwrap.wrap(para)) for para in paragraphs) - return '\n\n'.join(wrapped) - - -def unwrap(s): - r""" - Given a multi-line string, return an unwrapped version. - - >>> wrapped = wrap(lorem_ipsum) - >>> wrapped.count('\n') - 20 - >>> unwrapped = unwrap(wrapped) - >>> unwrapped.count('\n') - 1 - >>> print(unwrapped) - Lorem ipsum dolor sit amet, consectetur adipiscing ... - Curabitur pretium tincidunt lacus. Nulla gravida orci ... - - """ - paragraphs = re.split(r'\n\n+', s) - cleaned = (para.replace('\n', ' ') for para in paragraphs) - return '\n'.join(cleaned) - - -lorem_ipsum: str = ( - files(__name__).joinpath('Lorem ipsum.txt').read_text(encoding='utf-8') -) - - -class Splitter: - """object that will split a string with the given arguments for each call - - >>> s = Splitter(',') - >>> s('hello, world, this is your, master calling') - ['hello', ' world', ' this is your', ' master calling'] - """ - - def __init__(self, *args): - self.args = args - - def __call__(self, s): - return s.split(*self.args) - - -def indent(string, prefix=' ' * 4): - """ - >>> indent('foo') - ' foo' - """ - return prefix + string - - -class WordSet(tuple): - """ - Given an identifier, return the words that identifier represents, - whether in camel case, underscore-separated, etc. - - >>> WordSet.parse("camelCase") - ('camel', 'Case') - - >>> WordSet.parse("under_sep") - ('under', 'sep') - - Acronyms should be retained - - >>> WordSet.parse("firstSNL") - ('first', 'SNL') - - >>> WordSet.parse("you_and_I") - ('you', 'and', 'I') - - >>> WordSet.parse("A simple test") - ('A', 'simple', 'test') - - Multiple caps should not interfere with the first cap of another word. - - >>> WordSet.parse("myABCClass") - ('my', 'ABC', 'Class') - - The result is a WordSet, providing access to other forms. - - >>> WordSet.parse("myABCClass").underscore_separated() - 'my_ABC_Class' - - >>> WordSet.parse('a-command').camel_case() - 'ACommand' - - >>> WordSet.parse('someIdentifier').lowered().space_separated() - 'some identifier' - - Slices of the result should return another WordSet. - - >>> WordSet.parse('taken-out-of-context')[1:].underscore_separated() - 'out_of_context' - - >>> WordSet.from_class_name(WordSet()).lowered().space_separated() - 'word set' - - >>> example = WordSet.parse('figured it out') - >>> example.headless_camel_case() - 'figuredItOut' - >>> example.dash_separated() - 'figured-it-out' - - """ - - _pattern = re.compile('([A-Z]?[a-z]+)|([A-Z]+(?![a-z]))') - - def capitalized(self): - return WordSet(word.capitalize() for word in self) - - def lowered(self): - return WordSet(word.lower() for word in self) - - def camel_case(self): - return ''.join(self.capitalized()) - - def headless_camel_case(self): - words = iter(self) - first = next(words).lower() - new_words = itertools.chain((first,), WordSet(words).camel_case()) - return ''.join(new_words) - - def underscore_separated(self): - return '_'.join(self) - - def dash_separated(self): - return '-'.join(self) - - def space_separated(self): - return ' '.join(self) - - def trim_right(self, item): - """ - Remove the item from the end of the set. - - >>> WordSet.parse('foo bar').trim_right('foo') - ('foo', 'bar') - >>> WordSet.parse('foo bar').trim_right('bar') - ('foo',) - >>> WordSet.parse('').trim_right('bar') - () - """ - return self[:-1] if self and self[-1] == item else self - - def trim_left(self, item): - """ - Remove the item from the beginning of the set. - - >>> WordSet.parse('foo bar').trim_left('foo') - ('bar',) - >>> WordSet.parse('foo bar').trim_left('bar') - ('foo', 'bar') - >>> WordSet.parse('').trim_left('bar') - () - """ - return self[1:] if self and self[0] == item else self - - def trim(self, item): - """ - >>> WordSet.parse('foo bar').trim('foo') - ('bar',) - """ - return self.trim_left(item).trim_right(item) - - def __getitem__(self, item): - result = super().__getitem__(item) - if isinstance(item, slice): - result = WordSet(result) - return result - - @classmethod - def parse(cls, identifier): - matches = cls._pattern.finditer(identifier) - return WordSet(match.group(0) for match in matches) - - @classmethod - def from_class_name(cls, subject): - return cls.parse(subject.__class__.__name__) - - -# for backward compatibility -words = WordSet.parse - - -def simple_html_strip(s): - r""" - Remove HTML from the string `s`. - - >>> str(simple_html_strip('')) - '' - - >>> print(simple_html_strip('A stormy day in paradise')) - A stormy day in paradise - - >>> print(simple_html_strip('Somebody tell the truth.')) - Somebody tell the truth. - - >>> print(simple_html_strip('What about
\nmultiple lines?')) - What about - multiple lines? - """ - html_stripper = re.compile('()|(<[^>]*>)|([^<]+)', re.DOTALL) - texts = (match.group(3) or '' for match in html_stripper.finditer(s)) - return ''.join(texts) - - -class SeparatedValues(str): - """ - A string separated by a separator. Overrides __iter__ for getting - the values. - - >>> list(SeparatedValues('a,b,c')) - ['a', 'b', 'c'] - - Whitespace is stripped and empty values are discarded. - - >>> list(SeparatedValues(' a, b , c, ')) - ['a', 'b', 'c'] - """ - - separator = ',' - - def __iter__(self): - parts = self.split(self.separator) - return filter(None, (part.strip() for part in parts)) - - -class Stripper: - r""" - Given a series of lines, find the common prefix and strip it from them. - - >>> lines = [ - ... 'abcdefg\n', - ... 'abc\n', - ... 'abcde\n', - ... ] - >>> res = Stripper.strip_prefix(lines) - >>> res.prefix - 'abc' - >>> list(res.lines) - ['defg\n', '\n', 'de\n'] - - If no prefix is common, nothing should be stripped. - - >>> lines = [ - ... 'abcd\n', - ... '1234\n', - ... ] - >>> res = Stripper.strip_prefix(lines) - >>> res.prefix = '' - >>> list(res.lines) - ['abcd\n', '1234\n'] - """ - - def __init__(self, prefix, lines): - self.prefix = prefix - self.lines = map(self, lines) - - @classmethod - def strip_prefix(cls, lines): - prefix_lines, lines = itertools.tee(lines) - prefix = functools.reduce(cls.common_prefix, prefix_lines) - return cls(prefix, lines) - - def __call__(self, line): - if not self.prefix: - return line - null, prefix, rest = line.partition(self.prefix) - return rest - - @staticmethod - def common_prefix(s1, s2): - """ - Return the common prefix of two lines. - """ - index = min(len(s1), len(s2)) - while s1[:index] != s2[:index]: - index -= 1 - return s1[:index] - - -def remove_prefix(text, prefix): - """ - Remove the prefix from the text if it exists. - - >>> remove_prefix('underwhelming performance', 'underwhelming ') - 'performance' - - >>> remove_prefix('something special', 'sample') - 'something special' - """ - null, prefix, rest = text.rpartition(prefix) - return rest - - -def remove_suffix(text, suffix): - """ - Remove the suffix from the text if it exists. - - >>> remove_suffix('name.git', '.git') - 'name' - - >>> remove_suffix('something special', 'sample') - 'something special' - """ - rest, suffix, null = text.partition(suffix) - return rest - - -def normalize_newlines(text): - r""" - Replace alternate newlines with the canonical newline. - - >>> normalize_newlines('Lorem Ipsum\u2029') - 'Lorem Ipsum\n' - >>> normalize_newlines('Lorem Ipsum\r\n') - 'Lorem Ipsum\n' - >>> normalize_newlines('Lorem Ipsum\x85') - 'Lorem Ipsum\n' - """ - newlines = ['\r\n', '\r', '\n', '\u0085', '\u2028', '\u2029'] - pattern = '|'.join(newlines) - return re.sub(pattern, '\n', text) - - -def _nonblank(str): - return str and not str.startswith('#') - - -@functools.singledispatch -def yield_lines(iterable): - r""" - Yield valid lines of a string or iterable. - - >>> list(yield_lines('')) - [] - >>> list(yield_lines(['foo', 'bar'])) - ['foo', 'bar'] - >>> list(yield_lines('foo\nbar')) - ['foo', 'bar'] - >>> list(yield_lines('\nfoo\n#bar\nbaz #comment')) - ['foo', 'baz #comment'] - >>> list(yield_lines(['foo\nbar', 'baz', 'bing\n\n\n'])) - ['foo', 'bar', 'baz', 'bing'] - """ - return itertools.chain.from_iterable(map(yield_lines, iterable)) - - -@yield_lines.register(str) -def _(text): - return filter(_nonblank, map(str.strip, text.splitlines())) - - -def drop_comment(line): - """ - Drop comments. - - >>> drop_comment('foo # bar') - 'foo' - - A hash without a space may be in a URL. - - >>> drop_comment('http://example.com/foo#bar') - 'http://example.com/foo#bar' - """ - return line.partition(' #')[0] - - -def join_continuation(lines): - r""" - Join lines continued by a trailing backslash. - - >>> list(join_continuation(['foo \\', 'bar', 'baz'])) - ['foobar', 'baz'] - >>> list(join_continuation(['foo \\', 'bar', 'baz'])) - ['foobar', 'baz'] - >>> list(join_continuation(['foo \\', 'bar \\', 'baz'])) - ['foobarbaz'] - - Not sure why, but... - The character preceding the backslash is also elided. - - >>> list(join_continuation(['goo\\', 'dly'])) - ['godly'] - - A terrible idea, but... - If no line is available to continue, suppress the lines. - - >>> list(join_continuation(['foo', 'bar\\', 'baz\\'])) - ['foo'] - """ - lines = iter(lines) - for item in lines: - while item.endswith('\\'): - try: - item = item[:-2].strip() + next(lines) - except StopIteration: - return - yield item - - -def read_newlines(filename, limit=1024): - r""" - >>> tmp_path = getfixture('tmp_path') - >>> filename = tmp_path / 'out.txt' - >>> _ = filename.write_text('foo\n', newline='', encoding='utf-8') - >>> read_newlines(filename) - '\n' - >>> _ = filename.write_text('foo\r\n', newline='', encoding='utf-8') - >>> read_newlines(filename) - '\r\n' - >>> _ = filename.write_text('foo\r\nbar\nbing\r', newline='', encoding='utf-8') - >>> read_newlines(filename) - ('\r', '\n', '\r\n') - """ - with open(filename, encoding='utf-8') as fp: - fp.read(limit) - return fp.newlines diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 1f9a0190..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/layouts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/layouts.cpython-312.pyc deleted file mode 100644 index c8e28d8b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/layouts.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/show-newlines.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/show-newlines.cpython-312.pyc deleted file mode 100644 index 41ba6206..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/show-newlines.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/strip-prefix.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/strip-prefix.cpython-312.pyc deleted file mode 100644 index 9baebf6a..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/strip-prefix.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/to-dvorak.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/to-dvorak.cpython-312.pyc deleted file mode 100644 index 87fbe2a3..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/to-dvorak.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/to-qwerty.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/to-qwerty.cpython-312.pyc deleted file mode 100644 index e37cf089..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/__pycache__/to-qwerty.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/layouts.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/layouts.py deleted file mode 100644 index 9636f0f7..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/layouts.py +++ /dev/null @@ -1,25 +0,0 @@ -qwerty = "-=qwertyuiop[]asdfghjkl;'zxcvbnm,./_+QWERTYUIOP{}ASDFGHJKL:\"ZXCVBNM<>?" -dvorak = "[]',.pyfgcrl/=aoeuidhtns-;qjkxbmwvz{}\"<>PYFGCRL?+AOEUIDHTNS_:QJKXBMWVZ" - - -to_dvorak = str.maketrans(qwerty, dvorak) -to_qwerty = str.maketrans(dvorak, qwerty) - - -def translate(input, translation): - """ - >>> translate('dvorak', to_dvorak) - 'ekrpat' - >>> translate('qwerty', to_qwerty) - 'x,dokt' - """ - return input.translate(translation) - - -def _translate_stream(stream, translation): - """ - >>> import io - >>> _translate_stream(io.StringIO('foo'), to_dvorak) - urr - """ - print(translate(stream.read(), translation)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/show-newlines.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/show-newlines.py deleted file mode 100644 index e11d1ba4..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/show-newlines.py +++ /dev/null @@ -1,33 +0,0 @@ -import autocommand -import inflect - -from more_itertools import always_iterable - -import jaraco.text - - -def report_newlines(filename): - r""" - Report the newlines in the indicated file. - - >>> tmp_path = getfixture('tmp_path') - >>> filename = tmp_path / 'out.txt' - >>> _ = filename.write_text('foo\nbar\n', newline='', encoding='utf-8') - >>> report_newlines(filename) - newline is '\n' - >>> filename = tmp_path / 'out.txt' - >>> _ = filename.write_text('foo\nbar\r\n', newline='', encoding='utf-8') - >>> report_newlines(filename) - newlines are ('\n', '\r\n') - """ - newlines = jaraco.text.read_newlines(filename) - count = len(tuple(always_iterable(newlines))) - engine = inflect.engine() - print( - engine.plural_noun("newline", count), - engine.plural_verb("is", count), - repr(newlines), - ) - - -autocommand.autocommand(__name__)(report_newlines) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/strip-prefix.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/strip-prefix.py deleted file mode 100644 index 761717a9..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/strip-prefix.py +++ /dev/null @@ -1,21 +0,0 @@ -import sys - -import autocommand - -from jaraco.text import Stripper - - -def strip_prefix(): - r""" - Strip any common prefix from stdin. - - >>> import io, pytest - >>> getfixture('monkeypatch').setattr('sys.stdin', io.StringIO('abcdef\nabc123')) - >>> strip_prefix() - def - 123 - """ - sys.stdout.writelines(Stripper.strip_prefix(sys.stdin).lines) - - -autocommand.autocommand(__name__)(strip_prefix) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/to-dvorak.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/to-dvorak.py deleted file mode 100644 index a6d5da80..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/to-dvorak.py +++ /dev/null @@ -1,6 +0,0 @@ -import sys - -from . import layouts - - -__name__ == '__main__' and layouts._translate_stream(sys.stdin, layouts.to_dvorak) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/to-qwerty.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/to-qwerty.py deleted file mode 100644 index abe27286..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/jaraco/text/to-qwerty.py +++ /dev/null @@ -1,6 +0,0 @@ -import sys - -from . import layouts - - -__name__ == '__main__' and layouts._translate_stream(sys.stdin, layouts.to_qwerty) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/LICENSE deleted file mode 100644 index 0a523bec..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (c) 2012 Erik Rose - -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/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/METADATA deleted file mode 100644 index fb41b0cf..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/METADATA +++ /dev/null @@ -1,266 +0,0 @@ -Metadata-Version: 2.1 -Name: more-itertools -Version: 10.3.0 -Summary: More routines for operating on iterables, beyond itertools -Keywords: itertools,iterator,iteration,filter,peek,peekable,chunk,chunked -Author-email: Erik Rose -Requires-Python: >=3.8 -Description-Content-Type: text/x-rst -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: Natural Language :: English -Classifier: License :: OSI Approved :: MIT License -Classifier: Programming Language :: Python :: 3 -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 :: Only -Classifier: Programming Language :: Python :: Implementation :: CPython -Classifier: Programming Language :: Python :: Implementation :: PyPy -Classifier: Topic :: Software Development :: Libraries -Project-URL: Homepage, https://github.com/more-itertools/more-itertools - -============== -More Itertools -============== - -.. image:: https://readthedocs.org/projects/more-itertools/badge/?version=latest - :target: https://more-itertools.readthedocs.io/en/stable/ - -Python's ``itertools`` library is a gem - you can compose elegant solutions -for a variety of problems with the functions it provides. In ``more-itertools`` -we collect additional building blocks, recipes, and routines for working with -Python iterables. - -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Grouping | `chunked `_, | -| | `ichunked `_, | -| | `chunked_even `_, | -| | `sliced `_, | -| | `constrained_batches `_, | -| | `distribute `_, | -| | `divide `_, | -| | `split_at `_, | -| | `split_before `_, | -| | `split_after `_, | -| | `split_into `_, | -| | `split_when `_, | -| | `bucket `_, | -| | `unzip `_, | -| | `batched `_, | -| | `grouper `_, | -| | `partition `_, | -| | `transpose `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Lookahead and lookback | `spy `_, | -| | `peekable `_, | -| | `seekable `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Windowing | `windowed `_, | -| | `substrings `_, | -| | `substrings_indexes `_, | -| | `stagger `_, | -| | `windowed_complete `_, | -| | `pairwise `_, | -| | `triplewise `_, | -| | `sliding_window `_, | -| | `subslices `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Augmenting | `count_cycle `_, | -| | `intersperse `_, | -| | `padded `_, | -| | `repeat_each `_, | -| | `mark_ends `_, | -| | `repeat_last `_, | -| | `adjacent `_, | -| | `groupby_transform `_, | -| | `pad_none `_, | -| | `ncycles `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Combining | `collapse `_, | -| | `sort_together `_, | -| | `interleave `_, | -| | `interleave_longest `_, | -| | `interleave_evenly `_, | -| | `zip_offset `_, | -| | `zip_equal `_, | -| | `zip_broadcast `_, | -| | `flatten `_, | -| | `roundrobin `_, | -| | `prepend `_, | -| | `value_chain `_, | -| | `partial_product `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Summarizing | `ilen `_, | -| | `unique_to_each `_, | -| | `sample `_, | -| | `consecutive_groups `_, | -| | `run_length `_, | -| | `map_reduce `_, | -| | `join_mappings `_, | -| | `exactly_n `_, | -| | `is_sorted `_, | -| | `all_equal `_, | -| | `all_unique `_, | -| | `minmax `_, | -| | `first_true `_, | -| | `quantify `_, | -| | `iequals `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Selecting | `islice_extended `_, | -| | `first `_, | -| | `last `_, | -| | `one `_, | -| | `only `_, | -| | `strictly_n `_, | -| | `strip `_, | -| | `lstrip `_, | -| | `rstrip `_, | -| | `filter_except `_, | -| | `map_except `_, | -| | `filter_map `_, | -| | `iter_suppress `_, | -| | `nth_or_last `_, | -| | `unique_in_window `_, | -| | `before_and_after `_, | -| | `nth `_, | -| | `take `_, | -| | `tail `_, | -| | `unique_everseen `_, | -| | `unique_justseen `_, | -| | `unique `_, | -| | `duplicates_everseen `_, | -| | `duplicates_justseen `_, | -| | `classify_unique `_, | -| | `longest_common_prefix `_, | -| | `takewhile_inclusive `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Math | `dft `_, | -| | `idft `_, | -| | `convolve `_, | -| | `dotproduct `_, | -| | `factor `_, | -| | `matmul `_, | -| | `polynomial_from_roots `_, | -| | `polynomial_derivative `_, | -| | `polynomial_eval `_, | -| | `sieve `_, | -| | `sum_of_squares `_, | -| | `totient `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Combinatorics | `distinct_permutations `_, | -| | `distinct_combinations `_, | -| | `circular_shifts `_, | -| | `partitions `_, | -| | `set_partitions `_, | -| | `product_index `_, | -| | `combination_index `_, | -| | `permutation_index `_, | -| | `combination_with_replacement_index `_, | -| | `gray_product `_, | -| | `outer_product `_, | -| | `powerset `_, | -| | `powerset_of_sets `_, | -| | `random_product `_, | -| | `random_permutation `_, | -| | `random_combination `_, | -| | `random_combination_with_replacement `_, | -| | `nth_product `_, | -| | `nth_permutation `_, | -| | `nth_combination `_, | -| | `nth_combination_with_replacement `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Wrapping | `always_iterable `_, | -| | `always_reversible `_, | -| | `countable `_, | -| | `consumer `_, | -| | `with_iter `_, | -| | `iter_except `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ -| Others | `locate `_, | -| | `rlocate `_, | -| | `replace `_, | -| | `numeric_range `_, | -| | `side_effect `_, | -| | `iterate `_, | -| | `difference `_, | -| | `make_decorator `_, | -| | `SequenceView `_, | -| | `time_limited `_, | -| | `map_if `_, | -| | `iter_index `_, | -| | `consume `_, | -| | `tabulate `_, | -| | `repeatfunc `_, | -| | `reshape `_ | -| | `doublestarmap `_ | -+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ - - -Getting started -=============== - -To get started, install the library with `pip `_: - -.. code-block:: shell - - pip install more-itertools - -The recipes from the `itertools docs `_ -are included in the top-level package: - -.. code-block:: python - - >>> from more_itertools import flatten - >>> iterable = [(0, 1), (2, 3)] - >>> list(flatten(iterable)) - [0, 1, 2, 3] - -Several new recipes are available as well: - -.. code-block:: python - - >>> from more_itertools import chunked - >>> iterable = [0, 1, 2, 3, 4, 5, 6, 7, 8] - >>> list(chunked(iterable, 3)) - [[0, 1, 2], [3, 4, 5], [6, 7, 8]] - - >>> from more_itertools import spy - >>> iterable = (x * x for x in range(1, 6)) - >>> head, iterable = spy(iterable, n=3) - >>> list(head) - [1, 4, 9] - >>> list(iterable) - [1, 4, 9, 16, 25] - - - -For the full listing of functions, see the `API documentation `_. - - -Links elsewhere -=============== - -Blog posts about ``more-itertools``: - -* `Yo, I heard you like decorators `__ -* `Tour of Python Itertools `__ (`Alternate `__) -* `Real-World Python More Itertools `_ - - -Development -=========== - -``more-itertools`` is maintained by `@erikrose `_ -and `@bbayles `_, with help from `many others `_. -If you have a problem or suggestion, please file a bug or pull request in this -repository. Thanks for contributing! - - -Version History -=============== - -The version history can be found in `documentation `_. - diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/RECORD deleted file mode 100644 index f15f3fcd..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/RECORD +++ /dev/null @@ -1,16 +0,0 @@ -more_itertools-10.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -more_itertools-10.3.0.dist-info/LICENSE,sha256=CfHIyelBrz5YTVlkHqm4fYPAyw_QB-te85Gn4mQ8GkY,1053 -more_itertools-10.3.0.dist-info/METADATA,sha256=BFO90O-fLNiVQMpj7oIS5ztzgJUUQZ3TA32P5HH3N-A,36293 -more_itertools-10.3.0.dist-info/RECORD,, -more_itertools-10.3.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -more_itertools-10.3.0.dist-info/WHEEL,sha256=rSgq_JpHF9fHR1lx53qwg_1-2LypZE_qmcuXbVUq948,81 -more_itertools/__init__.py,sha256=dtAbGjTDmn_ghiU5YXfhyDy0phAlXVdt5klZA5fUa-Q,149 -more_itertools/__init__.pyi,sha256=5B3eTzON1BBuOLob1vCflyEb2lSd6usXQQ-Cv-hXkeA,43 -more_itertools/__pycache__/__init__.cpython-312.pyc,, -more_itertools/__pycache__/more.cpython-312.pyc,, -more_itertools/__pycache__/recipes.cpython-312.pyc,, -more_itertools/more.py,sha256=1E5kzFncRKTDw0cYv1yRXMgDdunstLQd1QStcnL6U90,148370 -more_itertools/more.pyi,sha256=iXXeqt48Nxe8VGmIWpkVXuKpR2FYNuu2DU8nQLWCCu0,21484 -more_itertools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -more_itertools/recipes.py,sha256=WedhhfhGVgr6zii8fIbGJVmRTw0ZKRiLKnYBDGJv4nY,28591 -more_itertools/recipes.pyi,sha256=T_mdGpcFdfrP3JSWbwzYP9JyNV-Go-7RPfpxfftAWlA,4617 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/WHEEL deleted file mode 100644 index db4a255f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools-10.3.0.dist-info/WHEEL +++ /dev/null @@ -1,4 +0,0 @@ -Wheel-Version: 1.0 -Generator: flit 3.8.0 -Root-Is-Purelib: true -Tag: py3-none-any diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__init__.py deleted file mode 100644 index 9c4662fc..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__init__.py +++ /dev/null @@ -1,6 +0,0 @@ -"""More routines for operating on iterables, beyond itertools""" - -from .more import * # noqa -from .recipes import * # noqa - -__version__ = '10.3.0' diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__init__.pyi b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__init__.pyi deleted file mode 100644 index 96f6e36c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__init__.pyi +++ /dev/null @@ -1,2 +0,0 @@ -from .more import * -from .recipes import * diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 44b2b7c3..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__pycache__/more.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__pycache__/more.cpython-312.pyc deleted file mode 100644 index 10a724e8..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__pycache__/more.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__pycache__/recipes.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__pycache__/recipes.cpython-312.pyc deleted file mode 100644 index c222dcb0..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/__pycache__/recipes.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/more.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/more.py deleted file mode 100644 index 7b481907..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/more.py +++ /dev/null @@ -1,4806 +0,0 @@ -import math -import warnings - -from collections import Counter, defaultdict, deque, abc -from collections.abc import Sequence -from functools import cached_property, partial, reduce, wraps -from heapq import heapify, heapreplace, heappop -from itertools import ( - chain, - combinations, - compress, - count, - cycle, - dropwhile, - groupby, - islice, - repeat, - starmap, - takewhile, - tee, - zip_longest, - product, -) -from math import comb, e, exp, factorial, floor, fsum, log, perm, tau -from queue import Empty, Queue -from random import random, randrange, uniform -from operator import itemgetter, mul, sub, gt, lt, ge, le -from sys import hexversion, maxsize -from time import monotonic - -from .recipes import ( - _marker, - _zip_equal, - UnequalIterablesError, - consume, - flatten, - pairwise, - powerset, - take, - unique_everseen, - all_equal, - batched, -) - -__all__ = [ - 'AbortThread', - 'SequenceView', - 'UnequalIterablesError', - 'adjacent', - 'all_unique', - 'always_iterable', - 'always_reversible', - 'bucket', - 'callback_iter', - 'chunked', - 'chunked_even', - 'circular_shifts', - 'collapse', - 'combination_index', - 'combination_with_replacement_index', - 'consecutive_groups', - 'constrained_batches', - 'consumer', - 'count_cycle', - 'countable', - 'dft', - 'difference', - 'distinct_combinations', - 'distinct_permutations', - 'distribute', - 'divide', - 'doublestarmap', - 'duplicates_everseen', - 'duplicates_justseen', - 'classify_unique', - 'exactly_n', - 'filter_except', - 'filter_map', - 'first', - 'gray_product', - 'groupby_transform', - 'ichunked', - 'iequals', - 'idft', - 'ilen', - 'interleave', - 'interleave_evenly', - 'interleave_longest', - 'intersperse', - 'is_sorted', - 'islice_extended', - 'iterate', - 'iter_suppress', - 'join_mappings', - 'last', - 'locate', - 'longest_common_prefix', - 'lstrip', - 'make_decorator', - 'map_except', - 'map_if', - 'map_reduce', - 'mark_ends', - 'minmax', - 'nth_or_last', - 'nth_permutation', - 'nth_product', - 'nth_combination_with_replacement', - 'numeric_range', - 'one', - 'only', - 'outer_product', - 'padded', - 'partial_product', - 'partitions', - 'peekable', - 'permutation_index', - 'powerset_of_sets', - 'product_index', - 'raise_', - 'repeat_each', - 'repeat_last', - 'replace', - 'rlocate', - 'rstrip', - 'run_length', - 'sample', - 'seekable', - 'set_partitions', - 'side_effect', - 'sliced', - 'sort_together', - 'split_after', - 'split_at', - 'split_before', - 'split_into', - 'split_when', - 'spy', - 'stagger', - 'strip', - 'strictly_n', - 'substrings', - 'substrings_indexes', - 'takewhile_inclusive', - 'time_limited', - 'unique_in_window', - 'unique_to_each', - 'unzip', - 'value_chain', - 'windowed', - 'windowed_complete', - 'with_iter', - 'zip_broadcast', - 'zip_equal', - 'zip_offset', -] - -# math.sumprod is available for Python 3.12+ -_fsumprod = getattr(math, 'sumprod', lambda x, y: fsum(map(mul, x, y))) - - -def chunked(iterable, n, strict=False): - """Break *iterable* into lists of length *n*: - - >>> list(chunked([1, 2, 3, 4, 5, 6], 3)) - [[1, 2, 3], [4, 5, 6]] - - By the default, the last yielded list will have fewer than *n* elements - if the length of *iterable* is not divisible by *n*: - - >>> list(chunked([1, 2, 3, 4, 5, 6, 7, 8], 3)) - [[1, 2, 3], [4, 5, 6], [7, 8]] - - To use a fill-in value instead, see the :func:`grouper` recipe. - - If the length of *iterable* is not divisible by *n* and *strict* is - ``True``, then ``ValueError`` will be raised before the last - list is yielded. - - """ - iterator = iter(partial(take, n, iter(iterable)), []) - if strict: - if n is None: - raise ValueError('n must not be None when using strict mode.') - - def ret(): - for chunk in iterator: - if len(chunk) != n: - raise ValueError('iterable is not divisible by n.') - yield chunk - - return iter(ret()) - else: - return iterator - - -def first(iterable, default=_marker): - """Return the first item of *iterable*, or *default* if *iterable* is - empty. - - >>> first([0, 1, 2, 3]) - 0 - >>> first([], 'some default') - 'some default' - - If *default* is not provided and there are no items in the iterable, - raise ``ValueError``. - - :func:`first` is useful when you have a generator of expensive-to-retrieve - values and want any arbitrary one. It is marginally shorter than - ``next(iter(iterable), default)``. - - """ - for item in iterable: - return item - if default is _marker: - raise ValueError( - 'first() was called on an empty iterable, and no ' - 'default value was provided.' - ) - return default - - -def last(iterable, default=_marker): - """Return the last item of *iterable*, or *default* if *iterable* is - empty. - - >>> last([0, 1, 2, 3]) - 3 - >>> last([], 'some default') - 'some default' - - If *default* is not provided and there are no items in the iterable, - raise ``ValueError``. - """ - try: - if isinstance(iterable, Sequence): - return iterable[-1] - # Work around https://bugs.python.org/issue38525 - elif hasattr(iterable, '__reversed__') and (hexversion != 0x030800F0): - return next(reversed(iterable)) - else: - return deque(iterable, maxlen=1)[-1] - except (IndexError, TypeError, StopIteration): - if default is _marker: - raise ValueError( - 'last() was called on an empty iterable, and no default was ' - 'provided.' - ) - return default - - -def nth_or_last(iterable, n, default=_marker): - """Return the nth or the last item of *iterable*, - or *default* if *iterable* is empty. - - >>> nth_or_last([0, 1, 2, 3], 2) - 2 - >>> nth_or_last([0, 1], 2) - 1 - >>> nth_or_last([], 0, 'some default') - 'some default' - - If *default* is not provided and there are no items in the iterable, - raise ``ValueError``. - """ - return last(islice(iterable, n + 1), default=default) - - -class peekable: - """Wrap an iterator to allow lookahead and prepending elements. - - Call :meth:`peek` on the result to get the value that will be returned - by :func:`next`. This won't advance the iterator: - - >>> p = peekable(['a', 'b']) - >>> p.peek() - 'a' - >>> next(p) - 'a' - - Pass :meth:`peek` a default value to return that instead of raising - ``StopIteration`` when the iterator is exhausted. - - >>> p = peekable([]) - >>> p.peek('hi') - 'hi' - - peekables also offer a :meth:`prepend` method, which "inserts" items - at the head of the iterable: - - >>> p = peekable([1, 2, 3]) - >>> p.prepend(10, 11, 12) - >>> next(p) - 10 - >>> p.peek() - 11 - >>> list(p) - [11, 12, 1, 2, 3] - - peekables can be indexed. Index 0 is the item that will be returned by - :func:`next`, index 1 is the item after that, and so on: - The values up to the given index will be cached. - - >>> p = peekable(['a', 'b', 'c', 'd']) - >>> p[0] - 'a' - >>> p[1] - 'b' - >>> next(p) - 'a' - - Negative indexes are supported, but be aware that they will cache the - remaining items in the source iterator, which may require significant - storage. - - To check whether a peekable is exhausted, check its truth value: - - >>> p = peekable(['a', 'b']) - >>> if p: # peekable has items - ... list(p) - ['a', 'b'] - >>> if not p: # peekable is exhausted - ... list(p) - [] - - """ - - def __init__(self, iterable): - self._it = iter(iterable) - self._cache = deque() - - def __iter__(self): - return self - - def __bool__(self): - try: - self.peek() - except StopIteration: - return False - return True - - def peek(self, default=_marker): - """Return the item that will be next returned from ``next()``. - - Return ``default`` if there are no items left. If ``default`` is not - provided, raise ``StopIteration``. - - """ - if not self._cache: - try: - self._cache.append(next(self._it)) - except StopIteration: - if default is _marker: - raise - return default - return self._cache[0] - - def prepend(self, *items): - """Stack up items to be the next ones returned from ``next()`` or - ``self.peek()``. The items will be returned in - first in, first out order:: - - >>> p = peekable([1, 2, 3]) - >>> p.prepend(10, 11, 12) - >>> next(p) - 10 - >>> list(p) - [11, 12, 1, 2, 3] - - It is possible, by prepending items, to "resurrect" a peekable that - previously raised ``StopIteration``. - - >>> p = peekable([]) - >>> next(p) - Traceback (most recent call last): - ... - StopIteration - >>> p.prepend(1) - >>> next(p) - 1 - >>> next(p) - Traceback (most recent call last): - ... - StopIteration - - """ - self._cache.extendleft(reversed(items)) - - def __next__(self): - if self._cache: - return self._cache.popleft() - - return next(self._it) - - def _get_slice(self, index): - # Normalize the slice's arguments - step = 1 if (index.step is None) else index.step - if step > 0: - start = 0 if (index.start is None) else index.start - stop = maxsize if (index.stop is None) else index.stop - elif step < 0: - start = -1 if (index.start is None) else index.start - stop = (-maxsize - 1) if (index.stop is None) else index.stop - else: - raise ValueError('slice step cannot be zero') - - # If either the start or stop index is negative, we'll need to cache - # the rest of the iterable in order to slice from the right side. - if (start < 0) or (stop < 0): - self._cache.extend(self._it) - # Otherwise we'll need to find the rightmost index and cache to that - # point. - else: - n = min(max(start, stop) + 1, maxsize) - cache_len = len(self._cache) - if n >= cache_len: - self._cache.extend(islice(self._it, n - cache_len)) - - return list(self._cache)[index] - - def __getitem__(self, index): - if isinstance(index, slice): - return self._get_slice(index) - - cache_len = len(self._cache) - if index < 0: - self._cache.extend(self._it) - elif index >= cache_len: - self._cache.extend(islice(self._it, index + 1 - cache_len)) - - return self._cache[index] - - -def consumer(func): - """Decorator that automatically advances a PEP-342-style "reverse iterator" - to its first yield point so you don't have to call ``next()`` on it - manually. - - >>> @consumer - ... def tally(): - ... i = 0 - ... while True: - ... print('Thing number %s is %s.' % (i, (yield))) - ... i += 1 - ... - >>> t = tally() - >>> t.send('red') - Thing number 0 is red. - >>> t.send('fish') - Thing number 1 is fish. - - Without the decorator, you would have to call ``next(t)`` before - ``t.send()`` could be used. - - """ - - @wraps(func) - def wrapper(*args, **kwargs): - gen = func(*args, **kwargs) - next(gen) - return gen - - return wrapper - - -def ilen(iterable): - """Return the number of items in *iterable*. - - >>> ilen(x for x in range(1000000) if x % 3 == 0) - 333334 - - This consumes the iterable, so handle with care. - - """ - # This approach was selected because benchmarks showed it's likely the - # fastest of the known implementations at the time of writing. - # See GitHub tracker: #236, #230. - counter = count() - deque(zip(iterable, counter), maxlen=0) - return next(counter) - - -def iterate(func, start): - """Return ``start``, ``func(start)``, ``func(func(start))``, ... - - >>> from itertools import islice - >>> list(islice(iterate(lambda x: 2*x, 1), 10)) - [1, 2, 4, 8, 16, 32, 64, 128, 256, 512] - - """ - while True: - yield start - try: - start = func(start) - except StopIteration: - break - - -def with_iter(context_manager): - """Wrap an iterable in a ``with`` statement, so it closes once exhausted. - - For example, this will close the file when the iterator is exhausted:: - - upper_lines = (line.upper() for line in with_iter(open('foo'))) - - Any context manager which returns an iterable is a candidate for - ``with_iter``. - - """ - with context_manager as iterable: - yield from iterable - - -def one(iterable, too_short=None, too_long=None): - """Return the first item from *iterable*, which is expected to contain only - that item. Raise an exception if *iterable* is empty or has more than one - item. - - :func:`one` is useful for ensuring that an iterable contains only one item. - For example, it can be used to retrieve the result of a database query - that is expected to return a single row. - - If *iterable* is empty, ``ValueError`` will be raised. You may specify a - different exception with the *too_short* keyword: - - >>> it = [] - >>> one(it) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - ValueError: too many items in iterable (expected 1)' - >>> too_short = IndexError('too few items') - >>> one(it, too_short=too_short) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - IndexError: too few items - - Similarly, if *iterable* contains more than one item, ``ValueError`` will - be raised. You may specify a different exception with the *too_long* - keyword: - - >>> it = ['too', 'many'] - >>> one(it) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - ValueError: Expected exactly one item in iterable, but got 'too', - 'many', and perhaps more. - >>> too_long = RuntimeError - >>> one(it, too_long=too_long) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - RuntimeError - - Note that :func:`one` attempts to advance *iterable* twice to ensure there - is only one item. See :func:`spy` or :func:`peekable` to check iterable - contents less destructively. - - """ - it = iter(iterable) - - try: - first_value = next(it) - except StopIteration as exc: - raise ( - too_short or ValueError('too few items in iterable (expected 1)') - ) from exc - - try: - second_value = next(it) - except StopIteration: - pass - else: - msg = ( - 'Expected exactly one item in iterable, but got {!r}, {!r}, ' - 'and perhaps more.'.format(first_value, second_value) - ) - raise too_long or ValueError(msg) - - return first_value - - -def raise_(exception, *args): - raise exception(*args) - - -def strictly_n(iterable, n, too_short=None, too_long=None): - """Validate that *iterable* has exactly *n* items and return them if - it does. If it has fewer than *n* items, call function *too_short* - with those items. If it has more than *n* items, call function - *too_long* with the first ``n + 1`` items. - - >>> iterable = ['a', 'b', 'c', 'd'] - >>> n = 4 - >>> list(strictly_n(iterable, n)) - ['a', 'b', 'c', 'd'] - - Note that the returned iterable must be consumed in order for the check to - be made. - - By default, *too_short* and *too_long* are functions that raise - ``ValueError``. - - >>> list(strictly_n('ab', 3)) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - ValueError: too few items in iterable (got 2) - - >>> list(strictly_n('abc', 2)) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - ValueError: too many items in iterable (got at least 3) - - You can instead supply functions that do something else. - *too_short* will be called with the number of items in *iterable*. - *too_long* will be called with `n + 1`. - - >>> def too_short(item_count): - ... raise RuntimeError - >>> it = strictly_n('abcd', 6, too_short=too_short) - >>> list(it) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - RuntimeError - - >>> def too_long(item_count): - ... print('The boss is going to hear about this') - >>> it = strictly_n('abcdef', 4, too_long=too_long) - >>> list(it) - The boss is going to hear about this - ['a', 'b', 'c', 'd'] - - """ - if too_short is None: - too_short = lambda item_count: raise_( - ValueError, - 'Too few items in iterable (got {})'.format(item_count), - ) - - if too_long is None: - too_long = lambda item_count: raise_( - ValueError, - 'Too many items in iterable (got at least {})'.format(item_count), - ) - - it = iter(iterable) - for i in range(n): - try: - item = next(it) - except StopIteration: - too_short(i) - return - else: - yield item - - try: - next(it) - except StopIteration: - pass - else: - too_long(n + 1) - - -def distinct_permutations(iterable, r=None): - """Yield successive distinct permutations of the elements in *iterable*. - - >>> sorted(distinct_permutations([1, 0, 1])) - [(0, 1, 1), (1, 0, 1), (1, 1, 0)] - - Equivalent to ``set(permutations(iterable))``, except duplicates are not - generated and thrown away. For larger input sequences this is much more - efficient. - - Duplicate permutations arise when there are duplicated elements in the - input iterable. The number of items returned is - `n! / (x_1! * x_2! * ... * x_n!)`, where `n` is the total number of - items input, and each `x_i` is the count of a distinct item in the input - sequence. - - If *r* is given, only the *r*-length permutations are yielded. - - >>> sorted(distinct_permutations([1, 0, 1], r=2)) - [(0, 1), (1, 0), (1, 1)] - >>> sorted(distinct_permutations(range(3), r=2)) - [(0, 1), (0, 2), (1, 0), (1, 2), (2, 0), (2, 1)] - - """ - - # Algorithm: https://w.wiki/Qai - def _full(A): - while True: - # Yield the permutation we have - yield tuple(A) - - # Find the largest index i such that A[i] < A[i + 1] - for i in range(size - 2, -1, -1): - if A[i] < A[i + 1]: - break - # If no such index exists, this permutation is the last one - else: - return - - # Find the largest index j greater than j such that A[i] < A[j] - for j in range(size - 1, i, -1): - if A[i] < A[j]: - break - - # Swap the value of A[i] with that of A[j], then reverse the - # sequence from A[i + 1] to form the new permutation - A[i], A[j] = A[j], A[i] - A[i + 1 :] = A[: i - size : -1] # A[i + 1:][::-1] - - # Algorithm: modified from the above - def _partial(A, r): - # Split A into the first r items and the last r items - head, tail = A[:r], A[r:] - right_head_indexes = range(r - 1, -1, -1) - left_tail_indexes = range(len(tail)) - - while True: - # Yield the permutation we have - yield tuple(head) - - # Starting from the right, find the first index of the head with - # value smaller than the maximum value of the tail - call it i. - pivot = tail[-1] - for i in right_head_indexes: - if head[i] < pivot: - break - pivot = head[i] - else: - return - - # Starting from the left, find the first value of the tail - # with a value greater than head[i] and swap. - for j in left_tail_indexes: - if tail[j] > head[i]: - head[i], tail[j] = tail[j], head[i] - break - # If we didn't find one, start from the right and find the first - # index of the head with a value greater than head[i] and swap. - else: - for j in right_head_indexes: - if head[j] > head[i]: - head[i], head[j] = head[j], head[i] - break - - # Reverse head[i + 1:] and swap it with tail[:r - (i + 1)] - tail += head[: i - r : -1] # head[i + 1:][::-1] - i += 1 - head[i:], tail[:] = tail[: r - i], tail[r - i :] - - items = sorted(iterable) - - size = len(items) - if r is None: - r = size - - if 0 < r <= size: - return _full(items) if (r == size) else _partial(items, r) - - return iter(() if r else ((),)) - - -def intersperse(e, iterable, n=1): - """Intersperse filler element *e* among the items in *iterable*, leaving - *n* items between each filler element. - - >>> list(intersperse('!', [1, 2, 3, 4, 5])) - [1, '!', 2, '!', 3, '!', 4, '!', 5] - - >>> list(intersperse(None, [1, 2, 3, 4, 5], n=2)) - [1, 2, None, 3, 4, None, 5] - - """ - if n == 0: - raise ValueError('n must be > 0') - elif n == 1: - # interleave(repeat(e), iterable) -> e, x_0, e, x_1, e, x_2... - # islice(..., 1, None) -> x_0, e, x_1, e, x_2... - return islice(interleave(repeat(e), iterable), 1, None) - else: - # interleave(filler, chunks) -> [e], [x_0, x_1], [e], [x_2, x_3]... - # islice(..., 1, None) -> [x_0, x_1], [e], [x_2, x_3]... - # flatten(...) -> x_0, x_1, e, x_2, x_3... - filler = repeat([e]) - chunks = chunked(iterable, n) - return flatten(islice(interleave(filler, chunks), 1, None)) - - -def unique_to_each(*iterables): - """Return the elements from each of the input iterables that aren't in the - other input iterables. - - For example, suppose you have a set of packages, each with a set of - dependencies:: - - {'pkg_1': {'A', 'B'}, 'pkg_2': {'B', 'C'}, 'pkg_3': {'B', 'D'}} - - If you remove one package, which dependencies can also be removed? - - If ``pkg_1`` is removed, then ``A`` is no longer necessary - it is not - associated with ``pkg_2`` or ``pkg_3``. Similarly, ``C`` is only needed for - ``pkg_2``, and ``D`` is only needed for ``pkg_3``:: - - >>> unique_to_each({'A', 'B'}, {'B', 'C'}, {'B', 'D'}) - [['A'], ['C'], ['D']] - - If there are duplicates in one input iterable that aren't in the others - they will be duplicated in the output. Input order is preserved:: - - >>> unique_to_each("mississippi", "missouri") - [['p', 'p'], ['o', 'u', 'r']] - - It is assumed that the elements of each iterable are hashable. - - """ - pool = [list(it) for it in iterables] - counts = Counter(chain.from_iterable(map(set, pool))) - uniques = {element for element in counts if counts[element] == 1} - return [list(filter(uniques.__contains__, it)) for it in pool] - - -def windowed(seq, n, fillvalue=None, step=1): - """Return a sliding window of width *n* over the given iterable. - - >>> all_windows = windowed([1, 2, 3, 4, 5], 3) - >>> list(all_windows) - [(1, 2, 3), (2, 3, 4), (3, 4, 5)] - - When the window is larger than the iterable, *fillvalue* is used in place - of missing values: - - >>> list(windowed([1, 2, 3], 4)) - [(1, 2, 3, None)] - - Each window will advance in increments of *step*: - - >>> list(windowed([1, 2, 3, 4, 5, 6], 3, fillvalue='!', step=2)) - [(1, 2, 3), (3, 4, 5), (5, 6, '!')] - - To slide into the iterable's items, use :func:`chain` to add filler items - to the left: - - >>> iterable = [1, 2, 3, 4] - >>> n = 3 - >>> padding = [None] * (n - 1) - >>> list(windowed(chain(padding, iterable), 3)) - [(None, None, 1), (None, 1, 2), (1, 2, 3), (2, 3, 4)] - """ - if n < 0: - raise ValueError('n must be >= 0') - if n == 0: - yield () - return - if step < 1: - raise ValueError('step must be >= 1') - - iterable = iter(seq) - - # Generate first window - window = deque(islice(iterable, n), maxlen=n) - - # Deal with the first window not being full - if not window: - return - if len(window) < n: - yield tuple(window) + ((fillvalue,) * (n - len(window))) - return - yield tuple(window) - - # Create the filler for the next windows. The padding ensures - # we have just enough elements to fill the last window. - padding = (fillvalue,) * (n - 1 if step >= n else step - 1) - filler = map(window.append, chain(iterable, padding)) - - # Generate the rest of the windows - for _ in islice(filler, step - 1, None, step): - yield tuple(window) - - -def substrings(iterable): - """Yield all of the substrings of *iterable*. - - >>> [''.join(s) for s in substrings('more')] - ['m', 'o', 'r', 'e', 'mo', 'or', 're', 'mor', 'ore', 'more'] - - Note that non-string iterables can also be subdivided. - - >>> list(substrings([0, 1, 2])) - [(0,), (1,), (2,), (0, 1), (1, 2), (0, 1, 2)] - - """ - # The length-1 substrings - seq = [] - for item in iter(iterable): - seq.append(item) - yield (item,) - seq = tuple(seq) - item_count = len(seq) - - # And the rest - for n in range(2, item_count + 1): - for i in range(item_count - n + 1): - yield seq[i : i + n] - - -def substrings_indexes(seq, reverse=False): - """Yield all substrings and their positions in *seq* - - The items yielded will be a tuple of the form ``(substr, i, j)``, where - ``substr == seq[i:j]``. - - This function only works for iterables that support slicing, such as - ``str`` objects. - - >>> for item in substrings_indexes('more'): - ... print(item) - ('m', 0, 1) - ('o', 1, 2) - ('r', 2, 3) - ('e', 3, 4) - ('mo', 0, 2) - ('or', 1, 3) - ('re', 2, 4) - ('mor', 0, 3) - ('ore', 1, 4) - ('more', 0, 4) - - Set *reverse* to ``True`` to yield the same items in the opposite order. - - - """ - r = range(1, len(seq) + 1) - if reverse: - r = reversed(r) - return ( - (seq[i : i + L], i, i + L) for L in r for i in range(len(seq) - L + 1) - ) - - -class bucket: - """Wrap *iterable* and return an object that buckets the iterable into - child iterables based on a *key* function. - - >>> iterable = ['a1', 'b1', 'c1', 'a2', 'b2', 'c2', 'b3'] - >>> s = bucket(iterable, key=lambda x: x[0]) # Bucket by 1st character - >>> sorted(list(s)) # Get the keys - ['a', 'b', 'c'] - >>> a_iterable = s['a'] - >>> next(a_iterable) - 'a1' - >>> next(a_iterable) - 'a2' - >>> list(s['b']) - ['b1', 'b2', 'b3'] - - The original iterable will be advanced and its items will be cached until - they are used by the child iterables. This may require significant storage. - - By default, attempting to select a bucket to which no items belong will - exhaust the iterable and cache all values. - If you specify a *validator* function, selected buckets will instead be - checked against it. - - >>> from itertools import count - >>> it = count(1, 2) # Infinite sequence of odd numbers - >>> key = lambda x: x % 10 # Bucket by last digit - >>> validator = lambda x: x in {1, 3, 5, 7, 9} # Odd digits only - >>> s = bucket(it, key=key, validator=validator) - >>> 2 in s - False - >>> list(s[2]) - [] - - """ - - def __init__(self, iterable, key, validator=None): - self._it = iter(iterable) - self._key = key - self._cache = defaultdict(deque) - self._validator = validator or (lambda x: True) - - def __contains__(self, value): - if not self._validator(value): - return False - - try: - item = next(self[value]) - except StopIteration: - return False - else: - self._cache[value].appendleft(item) - - return True - - def _get_values(self, value): - """ - Helper to yield items from the parent iterator that match *value*. - Items that don't match are stored in the local cache as they - are encountered. - """ - while True: - # If we've cached some items that match the target value, emit - # the first one and evict it from the cache. - if self._cache[value]: - yield self._cache[value].popleft() - # Otherwise we need to advance the parent iterator to search for - # a matching item, caching the rest. - else: - while True: - try: - item = next(self._it) - except StopIteration: - return - item_value = self._key(item) - if item_value == value: - yield item - break - elif self._validator(item_value): - self._cache[item_value].append(item) - - def __iter__(self): - for item in self._it: - item_value = self._key(item) - if self._validator(item_value): - self._cache[item_value].append(item) - - yield from self._cache.keys() - - def __getitem__(self, value): - if not self._validator(value): - return iter(()) - - return self._get_values(value) - - -def spy(iterable, n=1): - """Return a 2-tuple with a list containing the first *n* elements of - *iterable*, and an iterator with the same items as *iterable*. - This allows you to "look ahead" at the items in the iterable without - advancing it. - - There is one item in the list by default: - - >>> iterable = 'abcdefg' - >>> head, iterable = spy(iterable) - >>> head - ['a'] - >>> list(iterable) - ['a', 'b', 'c', 'd', 'e', 'f', 'g'] - - You may use unpacking to retrieve items instead of lists: - - >>> (head,), iterable = spy('abcdefg') - >>> head - 'a' - >>> (first, second), iterable = spy('abcdefg', 2) - >>> first - 'a' - >>> second - 'b' - - The number of items requested can be larger than the number of items in - the iterable: - - >>> iterable = [1, 2, 3, 4, 5] - >>> head, iterable = spy(iterable, 10) - >>> head - [1, 2, 3, 4, 5] - >>> list(iterable) - [1, 2, 3, 4, 5] - - """ - it = iter(iterable) - head = take(n, it) - - return head.copy(), chain(head, it) - - -def interleave(*iterables): - """Return a new iterable yielding from each iterable in turn, - until the shortest is exhausted. - - >>> list(interleave([1, 2, 3], [4, 5], [6, 7, 8])) - [1, 4, 6, 2, 5, 7] - - For a version that doesn't terminate after the shortest iterable is - exhausted, see :func:`interleave_longest`. - - """ - return chain.from_iterable(zip(*iterables)) - - -def interleave_longest(*iterables): - """Return a new iterable yielding from each iterable in turn, - skipping any that are exhausted. - - >>> list(interleave_longest([1, 2, 3], [4, 5], [6, 7, 8])) - [1, 4, 6, 2, 5, 7, 3, 8] - - This function produces the same output as :func:`roundrobin`, but may - perform better for some inputs (in particular when the number of iterables - is large). - - """ - i = chain.from_iterable(zip_longest(*iterables, fillvalue=_marker)) - return (x for x in i if x is not _marker) - - -def interleave_evenly(iterables, lengths=None): - """ - Interleave multiple iterables so that their elements are evenly distributed - throughout the output sequence. - - >>> iterables = [1, 2, 3, 4, 5], ['a', 'b'] - >>> list(interleave_evenly(iterables)) - [1, 2, 'a', 3, 4, 'b', 5] - - >>> iterables = [[1, 2, 3], [4, 5], [6, 7, 8]] - >>> list(interleave_evenly(iterables)) - [1, 6, 4, 2, 7, 3, 8, 5] - - This function requires iterables of known length. Iterables without - ``__len__()`` can be used by manually specifying lengths with *lengths*: - - >>> from itertools import combinations, repeat - >>> iterables = [combinations(range(4), 2), ['a', 'b', 'c']] - >>> lengths = [4 * (4 - 1) // 2, 3] - >>> list(interleave_evenly(iterables, lengths=lengths)) - [(0, 1), (0, 2), 'a', (0, 3), (1, 2), 'b', (1, 3), (2, 3), 'c'] - - Based on Bresenham's algorithm. - """ - if lengths is None: - try: - lengths = [len(it) for it in iterables] - except TypeError: - raise ValueError( - 'Iterable lengths could not be determined automatically. ' - 'Specify them with the lengths keyword.' - ) - elif len(iterables) != len(lengths): - raise ValueError('Mismatching number of iterables and lengths.') - - dims = len(lengths) - - # sort iterables by length, descending - lengths_permute = sorted( - range(dims), key=lambda i: lengths[i], reverse=True - ) - lengths_desc = [lengths[i] for i in lengths_permute] - iters_desc = [iter(iterables[i]) for i in lengths_permute] - - # the longest iterable is the primary one (Bresenham: the longest - # distance along an axis) - delta_primary, deltas_secondary = lengths_desc[0], lengths_desc[1:] - iter_primary, iters_secondary = iters_desc[0], iters_desc[1:] - errors = [delta_primary // dims] * len(deltas_secondary) - - to_yield = sum(lengths) - while to_yield: - yield next(iter_primary) - to_yield -= 1 - # update errors for each secondary iterable - errors = [e - delta for e, delta in zip(errors, deltas_secondary)] - - # those iterables for which the error is negative are yielded - # ("diagonal step" in Bresenham) - for i, e_ in enumerate(errors): - if e_ < 0: - yield next(iters_secondary[i]) - to_yield -= 1 - errors[i] += delta_primary - - -def collapse(iterable, base_type=None, levels=None): - """Flatten an iterable with multiple levels of nesting (e.g., a list of - lists of tuples) into non-iterable types. - - >>> iterable = [(1, 2), ([3, 4], [[5], [6]])] - >>> list(collapse(iterable)) - [1, 2, 3, 4, 5, 6] - - Binary and text strings are not considered iterable and - will not be collapsed. - - To avoid collapsing other types, specify *base_type*: - - >>> iterable = ['ab', ('cd', 'ef'), ['gh', 'ij']] - >>> list(collapse(iterable, base_type=tuple)) - ['ab', ('cd', 'ef'), 'gh', 'ij'] - - Specify *levels* to stop flattening after a certain level: - - >>> iterable = [('a', ['b']), ('c', ['d'])] - >>> list(collapse(iterable)) # Fully flattened - ['a', 'b', 'c', 'd'] - >>> list(collapse(iterable, levels=1)) # Only one level flattened - ['a', ['b'], 'c', ['d']] - - """ - stack = deque() - # Add our first node group, treat the iterable as a single node - stack.appendleft((0, repeat(iterable, 1))) - - while stack: - node_group = stack.popleft() - level, nodes = node_group - - # Check if beyond max level - if levels is not None and level > levels: - yield from nodes - continue - - for node in nodes: - # Check if done iterating - if isinstance(node, (str, bytes)) or ( - (base_type is not None) and isinstance(node, base_type) - ): - yield node - # Otherwise try to create child nodes - else: - try: - tree = iter(node) - except TypeError: - yield node - else: - # Save our current location - stack.appendleft(node_group) - # Append the new child node - stack.appendleft((level + 1, tree)) - # Break to process child node - break - - -def side_effect(func, iterable, chunk_size=None, before=None, after=None): - """Invoke *func* on each item in *iterable* (or on each *chunk_size* group - of items) before yielding the item. - - `func` must be a function that takes a single argument. Its return value - will be discarded. - - *before* and *after* are optional functions that take no arguments. They - will be executed before iteration starts and after it ends, respectively. - - `side_effect` can be used for logging, updating progress bars, or anything - that is not functionally "pure." - - Emitting a status message: - - >>> from more_itertools import consume - >>> func = lambda item: print('Received {}'.format(item)) - >>> consume(side_effect(func, range(2))) - Received 0 - Received 1 - - Operating on chunks of items: - - >>> pair_sums = [] - >>> func = lambda chunk: pair_sums.append(sum(chunk)) - >>> list(side_effect(func, [0, 1, 2, 3, 4, 5], 2)) - [0, 1, 2, 3, 4, 5] - >>> list(pair_sums) - [1, 5, 9] - - Writing to a file-like object: - - >>> from io import StringIO - >>> from more_itertools import consume - >>> f = StringIO() - >>> func = lambda x: print(x, file=f) - >>> before = lambda: print(u'HEADER', file=f) - >>> after = f.close - >>> it = [u'a', u'b', u'c'] - >>> consume(side_effect(func, it, before=before, after=after)) - >>> f.closed - True - - """ - try: - if before is not None: - before() - - if chunk_size is None: - for item in iterable: - func(item) - yield item - else: - for chunk in chunked(iterable, chunk_size): - func(chunk) - yield from chunk - finally: - if after is not None: - after() - - -def sliced(seq, n, strict=False): - """Yield slices of length *n* from the sequence *seq*. - - >>> list(sliced((1, 2, 3, 4, 5, 6), 3)) - [(1, 2, 3), (4, 5, 6)] - - By the default, the last yielded slice will have fewer than *n* elements - if the length of *seq* is not divisible by *n*: - - >>> list(sliced((1, 2, 3, 4, 5, 6, 7, 8), 3)) - [(1, 2, 3), (4, 5, 6), (7, 8)] - - If the length of *seq* is not divisible by *n* and *strict* is - ``True``, then ``ValueError`` will be raised before the last - slice is yielded. - - This function will only work for iterables that support slicing. - For non-sliceable iterables, see :func:`chunked`. - - """ - iterator = takewhile(len, (seq[i : i + n] for i in count(0, n))) - if strict: - - def ret(): - for _slice in iterator: - if len(_slice) != n: - raise ValueError("seq is not divisible by n.") - yield _slice - - return iter(ret()) - else: - return iterator - - -def split_at(iterable, pred, maxsplit=-1, keep_separator=False): - """Yield lists of items from *iterable*, where each list is delimited by - an item where callable *pred* returns ``True``. - - >>> list(split_at('abcdcba', lambda x: x == 'b')) - [['a'], ['c', 'd', 'c'], ['a']] - - >>> list(split_at(range(10), lambda n: n % 2 == 1)) - [[0], [2], [4], [6], [8], []] - - At most *maxsplit* splits are done. If *maxsplit* is not specified or -1, - then there is no limit on the number of splits: - - >>> list(split_at(range(10), lambda n: n % 2 == 1, maxsplit=2)) - [[0], [2], [4, 5, 6, 7, 8, 9]] - - By default, the delimiting items are not included in the output. - To include them, set *keep_separator* to ``True``. - - >>> list(split_at('abcdcba', lambda x: x == 'b', keep_separator=True)) - [['a'], ['b'], ['c', 'd', 'c'], ['b'], ['a']] - - """ - if maxsplit == 0: - yield list(iterable) - return - - buf = [] - it = iter(iterable) - for item in it: - if pred(item): - yield buf - if keep_separator: - yield [item] - if maxsplit == 1: - yield list(it) - return - buf = [] - maxsplit -= 1 - else: - buf.append(item) - yield buf - - -def split_before(iterable, pred, maxsplit=-1): - """Yield lists of items from *iterable*, where each list ends just before - an item for which callable *pred* returns ``True``: - - >>> list(split_before('OneTwo', lambda s: s.isupper())) - [['O', 'n', 'e'], ['T', 'w', 'o']] - - >>> list(split_before(range(10), lambda n: n % 3 == 0)) - [[0, 1, 2], [3, 4, 5], [6, 7, 8], [9]] - - At most *maxsplit* splits are done. If *maxsplit* is not specified or -1, - then there is no limit on the number of splits: - - >>> list(split_before(range(10), lambda n: n % 3 == 0, maxsplit=2)) - [[0, 1, 2], [3, 4, 5], [6, 7, 8, 9]] - """ - if maxsplit == 0: - yield list(iterable) - return - - buf = [] - it = iter(iterable) - for item in it: - if pred(item) and buf: - yield buf - if maxsplit == 1: - yield [item] + list(it) - return - buf = [] - maxsplit -= 1 - buf.append(item) - if buf: - yield buf - - -def split_after(iterable, pred, maxsplit=-1): - """Yield lists of items from *iterable*, where each list ends with an - item where callable *pred* returns ``True``: - - >>> list(split_after('one1two2', lambda s: s.isdigit())) - [['o', 'n', 'e', '1'], ['t', 'w', 'o', '2']] - - >>> list(split_after(range(10), lambda n: n % 3 == 0)) - [[0], [1, 2, 3], [4, 5, 6], [7, 8, 9]] - - At most *maxsplit* splits are done. If *maxsplit* is not specified or -1, - then there is no limit on the number of splits: - - >>> list(split_after(range(10), lambda n: n % 3 == 0, maxsplit=2)) - [[0], [1, 2, 3], [4, 5, 6, 7, 8, 9]] - - """ - if maxsplit == 0: - yield list(iterable) - return - - buf = [] - it = iter(iterable) - for item in it: - buf.append(item) - if pred(item) and buf: - yield buf - if maxsplit == 1: - buf = list(it) - if buf: - yield buf - return - buf = [] - maxsplit -= 1 - if buf: - yield buf - - -def split_when(iterable, pred, maxsplit=-1): - """Split *iterable* into pieces based on the output of *pred*. - *pred* should be a function that takes successive pairs of items and - returns ``True`` if the iterable should be split in between them. - - For example, to find runs of increasing numbers, split the iterable when - element ``i`` is larger than element ``i + 1``: - - >>> list(split_when([1, 2, 3, 3, 2, 5, 2, 4, 2], lambda x, y: x > y)) - [[1, 2, 3, 3], [2, 5], [2, 4], [2]] - - At most *maxsplit* splits are done. If *maxsplit* is not specified or -1, - then there is no limit on the number of splits: - - >>> list(split_when([1, 2, 3, 3, 2, 5, 2, 4, 2], - ... lambda x, y: x > y, maxsplit=2)) - [[1, 2, 3, 3], [2, 5], [2, 4, 2]] - - """ - if maxsplit == 0: - yield list(iterable) - return - - it = iter(iterable) - try: - cur_item = next(it) - except StopIteration: - return - - buf = [cur_item] - for next_item in it: - if pred(cur_item, next_item): - yield buf - if maxsplit == 1: - yield [next_item] + list(it) - return - buf = [] - maxsplit -= 1 - - buf.append(next_item) - cur_item = next_item - - yield buf - - -def split_into(iterable, sizes): - """Yield a list of sequential items from *iterable* of length 'n' for each - integer 'n' in *sizes*. - - >>> list(split_into([1,2,3,4,5,6], [1,2,3])) - [[1], [2, 3], [4, 5, 6]] - - If the sum of *sizes* is smaller than the length of *iterable*, then the - remaining items of *iterable* will not be returned. - - >>> list(split_into([1,2,3,4,5,6], [2,3])) - [[1, 2], [3, 4, 5]] - - If the sum of *sizes* is larger than the length of *iterable*, fewer items - will be returned in the iteration that overruns *iterable* and further - lists will be empty: - - >>> list(split_into([1,2,3,4], [1,2,3,4])) - [[1], [2, 3], [4], []] - - When a ``None`` object is encountered in *sizes*, the returned list will - contain items up to the end of *iterable* the same way that itertools.slice - does: - - >>> list(split_into([1,2,3,4,5,6,7,8,9,0], [2,3,None])) - [[1, 2], [3, 4, 5], [6, 7, 8, 9, 0]] - - :func:`split_into` can be useful for grouping a series of items where the - sizes of the groups are not uniform. An example would be where in a row - from a table, multiple columns represent elements of the same feature - (e.g. a point represented by x,y,z) but, the format is not the same for - all columns. - """ - # convert the iterable argument into an iterator so its contents can - # be consumed by islice in case it is a generator - it = iter(iterable) - - for size in sizes: - if size is None: - yield list(it) - return - else: - yield list(islice(it, size)) - - -def padded(iterable, fillvalue=None, n=None, next_multiple=False): - """Yield the elements from *iterable*, followed by *fillvalue*, such that - at least *n* items are emitted. - - >>> list(padded([1, 2, 3], '?', 5)) - [1, 2, 3, '?', '?'] - - If *next_multiple* is ``True``, *fillvalue* will be emitted until the - number of items emitted is a multiple of *n*: - - >>> list(padded([1, 2, 3, 4], n=3, next_multiple=True)) - [1, 2, 3, 4, None, None] - - If *n* is ``None``, *fillvalue* will be emitted indefinitely. - - To create an *iterable* of exactly size *n*, you can truncate with - :func:`islice`. - - >>> list(islice(padded([1, 2, 3], '?'), 5)) - [1, 2, 3, '?', '?'] - >>> list(islice(padded([1, 2, 3, 4, 5, 6, 7, 8], '?'), 5)) - [1, 2, 3, 4, 5] - - """ - iterable = iter(iterable) - iterable_with_repeat = chain(iterable, repeat(fillvalue)) - - if n is None: - return iterable_with_repeat - elif n < 1: - raise ValueError('n must be at least 1') - elif next_multiple: - - def slice_generator(): - for first in iterable: - yield (first,) - yield islice(iterable_with_repeat, n - 1) - - # While elements exist produce slices of size n - return chain.from_iterable(slice_generator()) - else: - # Ensure the first batch is at least size n then iterate - return chain(islice(iterable_with_repeat, n), iterable) - - -def repeat_each(iterable, n=2): - """Repeat each element in *iterable* *n* times. - - >>> list(repeat_each('ABC', 3)) - ['A', 'A', 'A', 'B', 'B', 'B', 'C', 'C', 'C'] - """ - return chain.from_iterable(map(repeat, iterable, repeat(n))) - - -def repeat_last(iterable, default=None): - """After the *iterable* is exhausted, keep yielding its last element. - - >>> list(islice(repeat_last(range(3)), 5)) - [0, 1, 2, 2, 2] - - If the iterable is empty, yield *default* forever:: - - >>> list(islice(repeat_last(range(0), 42), 5)) - [42, 42, 42, 42, 42] - - """ - item = _marker - for item in iterable: - yield item - final = default if item is _marker else item - yield from repeat(final) - - -def distribute(n, iterable): - """Distribute the items from *iterable* among *n* smaller iterables. - - >>> group_1, group_2 = distribute(2, [1, 2, 3, 4, 5, 6]) - >>> list(group_1) - [1, 3, 5] - >>> list(group_2) - [2, 4, 6] - - If the length of *iterable* is not evenly divisible by *n*, then the - length of the returned iterables will not be identical: - - >>> children = distribute(3, [1, 2, 3, 4, 5, 6, 7]) - >>> [list(c) for c in children] - [[1, 4, 7], [2, 5], [3, 6]] - - If the length of *iterable* is smaller than *n*, then the last returned - iterables will be empty: - - >>> children = distribute(5, [1, 2, 3]) - >>> [list(c) for c in children] - [[1], [2], [3], [], []] - - This function uses :func:`itertools.tee` and may require significant - storage. - - If you need the order items in the smaller iterables to match the - original iterable, see :func:`divide`. - - """ - if n < 1: - raise ValueError('n must be at least 1') - - children = tee(iterable, n) - return [islice(it, index, None, n) for index, it in enumerate(children)] - - -def stagger(iterable, offsets=(-1, 0, 1), longest=False, fillvalue=None): - """Yield tuples whose elements are offset from *iterable*. - The amount by which the `i`-th item in each tuple is offset is given by - the `i`-th item in *offsets*. - - >>> list(stagger([0, 1, 2, 3])) - [(None, 0, 1), (0, 1, 2), (1, 2, 3)] - >>> list(stagger(range(8), offsets=(0, 2, 4))) - [(0, 2, 4), (1, 3, 5), (2, 4, 6), (3, 5, 7)] - - By default, the sequence will end when the final element of a tuple is the - last item in the iterable. To continue until the first element of a tuple - is the last item in the iterable, set *longest* to ``True``:: - - >>> list(stagger([0, 1, 2, 3], longest=True)) - [(None, 0, 1), (0, 1, 2), (1, 2, 3), (2, 3, None), (3, None, None)] - - By default, ``None`` will be used to replace offsets beyond the end of the - sequence. Specify *fillvalue* to use some other value. - - """ - children = tee(iterable, len(offsets)) - - return zip_offset( - *children, offsets=offsets, longest=longest, fillvalue=fillvalue - ) - - -def zip_equal(*iterables): - """``zip`` the input *iterables* together, but raise - ``UnequalIterablesError`` if they aren't all the same length. - - >>> it_1 = range(3) - >>> it_2 = iter('abc') - >>> list(zip_equal(it_1, it_2)) - [(0, 'a'), (1, 'b'), (2, 'c')] - - >>> it_1 = range(3) - >>> it_2 = iter('abcd') - >>> list(zip_equal(it_1, it_2)) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - more_itertools.more.UnequalIterablesError: Iterables have different - lengths - - """ - if hexversion >= 0x30A00A6: - warnings.warn( - ( - 'zip_equal will be removed in a future version of ' - 'more-itertools. Use the builtin zip function with ' - 'strict=True instead.' - ), - DeprecationWarning, - ) - - return _zip_equal(*iterables) - - -def zip_offset(*iterables, offsets, longest=False, fillvalue=None): - """``zip`` the input *iterables* together, but offset the `i`-th iterable - by the `i`-th item in *offsets*. - - >>> list(zip_offset('0123', 'abcdef', offsets=(0, 1))) - [('0', 'b'), ('1', 'c'), ('2', 'd'), ('3', 'e')] - - This can be used as a lightweight alternative to SciPy or pandas to analyze - data sets in which some series have a lead or lag relationship. - - By default, the sequence will end when the shortest iterable is exhausted. - To continue until the longest iterable is exhausted, set *longest* to - ``True``. - - >>> list(zip_offset('0123', 'abcdef', offsets=(0, 1), longest=True)) - [('0', 'b'), ('1', 'c'), ('2', 'd'), ('3', 'e'), (None, 'f')] - - By default, ``None`` will be used to replace offsets beyond the end of the - sequence. Specify *fillvalue* to use some other value. - - """ - if len(iterables) != len(offsets): - raise ValueError("Number of iterables and offsets didn't match") - - staggered = [] - for it, n in zip(iterables, offsets): - if n < 0: - staggered.append(chain(repeat(fillvalue, -n), it)) - elif n > 0: - staggered.append(islice(it, n, None)) - else: - staggered.append(it) - - if longest: - return zip_longest(*staggered, fillvalue=fillvalue) - - return zip(*staggered) - - -def sort_together(iterables, key_list=(0,), key=None, reverse=False): - """Return the input iterables sorted together, with *key_list* as the - priority for sorting. All iterables are trimmed to the length of the - shortest one. - - This can be used like the sorting function in a spreadsheet. If each - iterable represents a column of data, the key list determines which - columns are used for sorting. - - By default, all iterables are sorted using the ``0``-th iterable:: - - >>> iterables = [(4, 3, 2, 1), ('a', 'b', 'c', 'd')] - >>> sort_together(iterables) - [(1, 2, 3, 4), ('d', 'c', 'b', 'a')] - - Set a different key list to sort according to another iterable. - Specifying multiple keys dictates how ties are broken:: - - >>> iterables = [(3, 1, 2), (0, 1, 0), ('c', 'b', 'a')] - >>> sort_together(iterables, key_list=(1, 2)) - [(2, 3, 1), (0, 0, 1), ('a', 'c', 'b')] - - To sort by a function of the elements of the iterable, pass a *key* - function. Its arguments are the elements of the iterables corresponding to - the key list:: - - >>> names = ('a', 'b', 'c') - >>> lengths = (1, 2, 3) - >>> widths = (5, 2, 1) - >>> def area(length, width): - ... return length * width - >>> sort_together([names, lengths, widths], key_list=(1, 2), key=area) - [('c', 'b', 'a'), (3, 2, 1), (1, 2, 5)] - - Set *reverse* to ``True`` to sort in descending order. - - >>> sort_together([(1, 2, 3), ('c', 'b', 'a')], reverse=True) - [(3, 2, 1), ('a', 'b', 'c')] - - """ - if key is None: - # if there is no key function, the key argument to sorted is an - # itemgetter - key_argument = itemgetter(*key_list) - else: - # if there is a key function, call it with the items at the offsets - # specified by the key function as arguments - key_list = list(key_list) - if len(key_list) == 1: - # if key_list contains a single item, pass the item at that offset - # as the only argument to the key function - key_offset = key_list[0] - key_argument = lambda zipped_items: key(zipped_items[key_offset]) - else: - # if key_list contains multiple items, use itemgetter to return a - # tuple of items, which we pass as *args to the key function - get_key_items = itemgetter(*key_list) - key_argument = lambda zipped_items: key( - *get_key_items(zipped_items) - ) - - return list( - zip(*sorted(zip(*iterables), key=key_argument, reverse=reverse)) - ) - - -def unzip(iterable): - """The inverse of :func:`zip`, this function disaggregates the elements - of the zipped *iterable*. - - The ``i``-th iterable contains the ``i``-th element from each element - of the zipped iterable. The first element is used to determine the - length of the remaining elements. - - >>> iterable = [('a', 1), ('b', 2), ('c', 3), ('d', 4)] - >>> letters, numbers = unzip(iterable) - >>> list(letters) - ['a', 'b', 'c', 'd'] - >>> list(numbers) - [1, 2, 3, 4] - - This is similar to using ``zip(*iterable)``, but it avoids reading - *iterable* into memory. Note, however, that this function uses - :func:`itertools.tee` and thus may require significant storage. - - """ - head, iterable = spy(iter(iterable)) - if not head: - # empty iterable, e.g. zip([], [], []) - return () - # spy returns a one-length iterable as head - head = head[0] - iterables = tee(iterable, len(head)) - - def itemgetter(i): - def getter(obj): - try: - return obj[i] - except IndexError: - # basically if we have an iterable like - # iter([(1, 2, 3), (4, 5), (6,)]) - # the second unzipped iterable would fail at the third tuple - # since it would try to access tup[1] - # same with the third unzipped iterable and the second tuple - # to support these "improperly zipped" iterables, - # we create a custom itemgetter - # which just stops the unzipped iterables - # at first length mismatch - raise StopIteration - - return getter - - return tuple(map(itemgetter(i), it) for i, it in enumerate(iterables)) - - -def divide(n, iterable): - """Divide the elements from *iterable* into *n* parts, maintaining - order. - - >>> group_1, group_2 = divide(2, [1, 2, 3, 4, 5, 6]) - >>> list(group_1) - [1, 2, 3] - >>> list(group_2) - [4, 5, 6] - - If the length of *iterable* is not evenly divisible by *n*, then the - length of the returned iterables will not be identical: - - >>> children = divide(3, [1, 2, 3, 4, 5, 6, 7]) - >>> [list(c) for c in children] - [[1, 2, 3], [4, 5], [6, 7]] - - If the length of the iterable is smaller than n, then the last returned - iterables will be empty: - - >>> children = divide(5, [1, 2, 3]) - >>> [list(c) for c in children] - [[1], [2], [3], [], []] - - This function will exhaust the iterable before returning. - If order is not important, see :func:`distribute`, which does not first - pull the iterable into memory. - - """ - if n < 1: - raise ValueError('n must be at least 1') - - try: - iterable[:0] - except TypeError: - seq = tuple(iterable) - else: - seq = iterable - - q, r = divmod(len(seq), n) - - ret = [] - stop = 0 - for i in range(1, n + 1): - start = stop - stop += q + 1 if i <= r else q - ret.append(iter(seq[start:stop])) - - return ret - - -def always_iterable(obj, base_type=(str, bytes)): - """If *obj* is iterable, return an iterator over its items:: - - >>> obj = (1, 2, 3) - >>> list(always_iterable(obj)) - [1, 2, 3] - - If *obj* is not iterable, return a one-item iterable containing *obj*:: - - >>> obj = 1 - >>> list(always_iterable(obj)) - [1] - - If *obj* is ``None``, return an empty iterable: - - >>> obj = None - >>> list(always_iterable(None)) - [] - - By default, binary and text strings are not considered iterable:: - - >>> obj = 'foo' - >>> list(always_iterable(obj)) - ['foo'] - - If *base_type* is set, objects for which ``isinstance(obj, base_type)`` - returns ``True`` won't be considered iterable. - - >>> obj = {'a': 1} - >>> list(always_iterable(obj)) # Iterate over the dict's keys - ['a'] - >>> list(always_iterable(obj, base_type=dict)) # Treat dicts as a unit - [{'a': 1}] - - Set *base_type* to ``None`` to avoid any special handling and treat objects - Python considers iterable as iterable: - - >>> obj = 'foo' - >>> list(always_iterable(obj, base_type=None)) - ['f', 'o', 'o'] - """ - if obj is None: - return iter(()) - - if (base_type is not None) and isinstance(obj, base_type): - return iter((obj,)) - - try: - return iter(obj) - except TypeError: - return iter((obj,)) - - -def adjacent(predicate, iterable, distance=1): - """Return an iterable over `(bool, item)` tuples where the `item` is - drawn from *iterable* and the `bool` indicates whether - that item satisfies the *predicate* or is adjacent to an item that does. - - For example, to find whether items are adjacent to a ``3``:: - - >>> list(adjacent(lambda x: x == 3, range(6))) - [(False, 0), (False, 1), (True, 2), (True, 3), (True, 4), (False, 5)] - - Set *distance* to change what counts as adjacent. For example, to find - whether items are two places away from a ``3``: - - >>> list(adjacent(lambda x: x == 3, range(6), distance=2)) - [(False, 0), (True, 1), (True, 2), (True, 3), (True, 4), (True, 5)] - - This is useful for contextualizing the results of a search function. - For example, a code comparison tool might want to identify lines that - have changed, but also surrounding lines to give the viewer of the diff - context. - - The predicate function will only be called once for each item in the - iterable. - - See also :func:`groupby_transform`, which can be used with this function - to group ranges of items with the same `bool` value. - - """ - # Allow distance=0 mainly for testing that it reproduces results with map() - if distance < 0: - raise ValueError('distance must be at least 0') - - i1, i2 = tee(iterable) - padding = [False] * distance - selected = chain(padding, map(predicate, i1), padding) - adjacent_to_selected = map(any, windowed(selected, 2 * distance + 1)) - return zip(adjacent_to_selected, i2) - - -def groupby_transform(iterable, keyfunc=None, valuefunc=None, reducefunc=None): - """An extension of :func:`itertools.groupby` that can apply transformations - to the grouped data. - - * *keyfunc* is a function computing a key value for each item in *iterable* - * *valuefunc* is a function that transforms the individual items from - *iterable* after grouping - * *reducefunc* is a function that transforms each group of items - - >>> iterable = 'aAAbBBcCC' - >>> keyfunc = lambda k: k.upper() - >>> valuefunc = lambda v: v.lower() - >>> reducefunc = lambda g: ''.join(g) - >>> list(groupby_transform(iterable, keyfunc, valuefunc, reducefunc)) - [('A', 'aaa'), ('B', 'bbb'), ('C', 'ccc')] - - Each optional argument defaults to an identity function if not specified. - - :func:`groupby_transform` is useful when grouping elements of an iterable - using a separate iterable as the key. To do this, :func:`zip` the iterables - and pass a *keyfunc* that extracts the first element and a *valuefunc* - that extracts the second element:: - - >>> from operator import itemgetter - >>> keys = [0, 0, 1, 1, 1, 2, 2, 2, 3] - >>> values = 'abcdefghi' - >>> iterable = zip(keys, values) - >>> grouper = groupby_transform(iterable, itemgetter(0), itemgetter(1)) - >>> [(k, ''.join(g)) for k, g in grouper] - [(0, 'ab'), (1, 'cde'), (2, 'fgh'), (3, 'i')] - - Note that the order of items in the iterable is significant. - Only adjacent items are grouped together, so if you don't want any - duplicate groups, you should sort the iterable by the key function. - - """ - ret = groupby(iterable, keyfunc) - if valuefunc: - ret = ((k, map(valuefunc, g)) for k, g in ret) - if reducefunc: - ret = ((k, reducefunc(g)) for k, g in ret) - - return ret - - -class numeric_range(abc.Sequence, abc.Hashable): - """An extension of the built-in ``range()`` function whose arguments can - be any orderable numeric type. - - With only *stop* specified, *start* defaults to ``0`` and *step* - defaults to ``1``. The output items will match the type of *stop*: - - >>> list(numeric_range(3.5)) - [0.0, 1.0, 2.0, 3.0] - - With only *start* and *stop* specified, *step* defaults to ``1``. The - output items will match the type of *start*: - - >>> from decimal import Decimal - >>> start = Decimal('2.1') - >>> stop = Decimal('5.1') - >>> list(numeric_range(start, stop)) - [Decimal('2.1'), Decimal('3.1'), Decimal('4.1')] - - With *start*, *stop*, and *step* specified the output items will match - the type of ``start + step``: - - >>> from fractions import Fraction - >>> start = Fraction(1, 2) # Start at 1/2 - >>> stop = Fraction(5, 2) # End at 5/2 - >>> step = Fraction(1, 2) # Count by 1/2 - >>> list(numeric_range(start, stop, step)) - [Fraction(1, 2), Fraction(1, 1), Fraction(3, 2), Fraction(2, 1)] - - If *step* is zero, ``ValueError`` is raised. Negative steps are supported: - - >>> list(numeric_range(3, -1, -1.0)) - [3.0, 2.0, 1.0, 0.0] - - Be aware of the limitations of floating point numbers; the representation - of the yielded numbers may be surprising. - - ``datetime.datetime`` objects can be used for *start* and *stop*, if *step* - is a ``datetime.timedelta`` object: - - >>> import datetime - >>> start = datetime.datetime(2019, 1, 1) - >>> stop = datetime.datetime(2019, 1, 3) - >>> step = datetime.timedelta(days=1) - >>> items = iter(numeric_range(start, stop, step)) - >>> next(items) - datetime.datetime(2019, 1, 1, 0, 0) - >>> next(items) - datetime.datetime(2019, 1, 2, 0, 0) - - """ - - _EMPTY_HASH = hash(range(0, 0)) - - def __init__(self, *args): - argc = len(args) - if argc == 1: - (self._stop,) = args - self._start = type(self._stop)(0) - self._step = type(self._stop - self._start)(1) - elif argc == 2: - self._start, self._stop = args - self._step = type(self._stop - self._start)(1) - elif argc == 3: - self._start, self._stop, self._step = args - elif argc == 0: - raise TypeError( - 'numeric_range expected at least ' - '1 argument, got {}'.format(argc) - ) - else: - raise TypeError( - 'numeric_range expected at most ' - '3 arguments, got {}'.format(argc) - ) - - self._zero = type(self._step)(0) - if self._step == self._zero: - raise ValueError('numeric_range() arg 3 must not be zero') - self._growing = self._step > self._zero - - def __bool__(self): - if self._growing: - return self._start < self._stop - else: - return self._start > self._stop - - def __contains__(self, elem): - if self._growing: - if self._start <= elem < self._stop: - return (elem - self._start) % self._step == self._zero - else: - if self._start >= elem > self._stop: - return (self._start - elem) % (-self._step) == self._zero - - return False - - def __eq__(self, other): - if isinstance(other, numeric_range): - empty_self = not bool(self) - empty_other = not bool(other) - if empty_self or empty_other: - return empty_self and empty_other # True if both empty - else: - return ( - self._start == other._start - and self._step == other._step - and self._get_by_index(-1) == other._get_by_index(-1) - ) - else: - return False - - def __getitem__(self, key): - if isinstance(key, int): - return self._get_by_index(key) - elif isinstance(key, slice): - step = self._step if key.step is None else key.step * self._step - - if key.start is None or key.start <= -self._len: - start = self._start - elif key.start >= self._len: - start = self._stop - else: # -self._len < key.start < self._len - start = self._get_by_index(key.start) - - if key.stop is None or key.stop >= self._len: - stop = self._stop - elif key.stop <= -self._len: - stop = self._start - else: # -self._len < key.stop < self._len - stop = self._get_by_index(key.stop) - - return numeric_range(start, stop, step) - else: - raise TypeError( - 'numeric range indices must be ' - 'integers or slices, not {}'.format(type(key).__name__) - ) - - def __hash__(self): - if self: - return hash((self._start, self._get_by_index(-1), self._step)) - else: - return self._EMPTY_HASH - - def __iter__(self): - values = (self._start + (n * self._step) for n in count()) - if self._growing: - return takewhile(partial(gt, self._stop), values) - else: - return takewhile(partial(lt, self._stop), values) - - def __len__(self): - return self._len - - @cached_property - def _len(self): - if self._growing: - start = self._start - stop = self._stop - step = self._step - else: - start = self._stop - stop = self._start - step = -self._step - distance = stop - start - if distance <= self._zero: - return 0 - else: # distance > 0 and step > 0: regular euclidean division - q, r = divmod(distance, step) - return int(q) + int(r != self._zero) - - def __reduce__(self): - return numeric_range, (self._start, self._stop, self._step) - - def __repr__(self): - if self._step == 1: - return "numeric_range({}, {})".format( - repr(self._start), repr(self._stop) - ) - else: - return "numeric_range({}, {}, {})".format( - repr(self._start), repr(self._stop), repr(self._step) - ) - - def __reversed__(self): - return iter( - numeric_range( - self._get_by_index(-1), self._start - self._step, -self._step - ) - ) - - def count(self, value): - return int(value in self) - - def index(self, value): - if self._growing: - if self._start <= value < self._stop: - q, r = divmod(value - self._start, self._step) - if r == self._zero: - return int(q) - else: - if self._start >= value > self._stop: - q, r = divmod(self._start - value, -self._step) - if r == self._zero: - return int(q) - - raise ValueError("{} is not in numeric range".format(value)) - - def _get_by_index(self, i): - if i < 0: - i += self._len - if i < 0 or i >= self._len: - raise IndexError("numeric range object index out of range") - return self._start + i * self._step - - -def count_cycle(iterable, n=None): - """Cycle through the items from *iterable* up to *n* times, yielding - the number of completed cycles along with each item. If *n* is omitted the - process repeats indefinitely. - - >>> list(count_cycle('AB', 3)) - [(0, 'A'), (0, 'B'), (1, 'A'), (1, 'B'), (2, 'A'), (2, 'B')] - - """ - iterable = tuple(iterable) - if not iterable: - return iter(()) - counter = count() if n is None else range(n) - return ((i, item) for i in counter for item in iterable) - - -def mark_ends(iterable): - """Yield 3-tuples of the form ``(is_first, is_last, item)``. - - >>> list(mark_ends('ABC')) - [(True, False, 'A'), (False, False, 'B'), (False, True, 'C')] - - Use this when looping over an iterable to take special action on its first - and/or last items: - - >>> iterable = ['Header', 100, 200, 'Footer'] - >>> total = 0 - >>> for is_first, is_last, item in mark_ends(iterable): - ... if is_first: - ... continue # Skip the header - ... if is_last: - ... continue # Skip the footer - ... total += item - >>> print(total) - 300 - """ - it = iter(iterable) - - try: - b = next(it) - except StopIteration: - return - - try: - for i in count(): - a = b - b = next(it) - yield i == 0, False, a - - except StopIteration: - yield i == 0, True, a - - -def locate(iterable, pred=bool, window_size=None): - """Yield the index of each item in *iterable* for which *pred* returns - ``True``. - - *pred* defaults to :func:`bool`, which will select truthy items: - - >>> list(locate([0, 1, 1, 0, 1, 0, 0])) - [1, 2, 4] - - Set *pred* to a custom function to, e.g., find the indexes for a particular - item. - - >>> list(locate(['a', 'b', 'c', 'b'], lambda x: x == 'b')) - [1, 3] - - If *window_size* is given, then the *pred* function will be called with - that many items. This enables searching for sub-sequences: - - >>> iterable = [0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3] - >>> pred = lambda *args: args == (1, 2, 3) - >>> list(locate(iterable, pred=pred, window_size=3)) - [1, 5, 9] - - Use with :func:`seekable` to find indexes and then retrieve the associated - items: - - >>> from itertools import count - >>> from more_itertools import seekable - >>> source = (3 * n + 1 if (n % 2) else n // 2 for n in count()) - >>> it = seekable(source) - >>> pred = lambda x: x > 100 - >>> indexes = locate(it, pred=pred) - >>> i = next(indexes) - >>> it.seek(i) - >>> next(it) - 106 - - """ - if window_size is None: - return compress(count(), map(pred, iterable)) - - if window_size < 1: - raise ValueError('window size must be at least 1') - - it = windowed(iterable, window_size, fillvalue=_marker) - return compress(count(), starmap(pred, it)) - - -def longest_common_prefix(iterables): - """Yield elements of the longest common prefix amongst given *iterables*. - - >>> ''.join(longest_common_prefix(['abcd', 'abc', 'abf'])) - 'ab' - - """ - return (c[0] for c in takewhile(all_equal, zip(*iterables))) - - -def lstrip(iterable, pred): - """Yield the items from *iterable*, but strip any from the beginning - for which *pred* returns ``True``. - - For example, to remove a set of items from the start of an iterable: - - >>> iterable = (None, False, None, 1, 2, None, 3, False, None) - >>> pred = lambda x: x in {None, False, ''} - >>> list(lstrip(iterable, pred)) - [1, 2, None, 3, False, None] - - This function is analogous to to :func:`str.lstrip`, and is essentially - an wrapper for :func:`itertools.dropwhile`. - - """ - return dropwhile(pred, iterable) - - -def rstrip(iterable, pred): - """Yield the items from *iterable*, but strip any from the end - for which *pred* returns ``True``. - - For example, to remove a set of items from the end of an iterable: - - >>> iterable = (None, False, None, 1, 2, None, 3, False, None) - >>> pred = lambda x: x in {None, False, ''} - >>> list(rstrip(iterable, pred)) - [None, False, None, 1, 2, None, 3] - - This function is analogous to :func:`str.rstrip`. - - """ - cache = [] - cache_append = cache.append - cache_clear = cache.clear - for x in iterable: - if pred(x): - cache_append(x) - else: - yield from cache - cache_clear() - yield x - - -def strip(iterable, pred): - """Yield the items from *iterable*, but strip any from the - beginning and end for which *pred* returns ``True``. - - For example, to remove a set of items from both ends of an iterable: - - >>> iterable = (None, False, None, 1, 2, None, 3, False, None) - >>> pred = lambda x: x in {None, False, ''} - >>> list(strip(iterable, pred)) - [1, 2, None, 3] - - This function is analogous to :func:`str.strip`. - - """ - return rstrip(lstrip(iterable, pred), pred) - - -class islice_extended: - """An extension of :func:`itertools.islice` that supports negative values - for *stop*, *start*, and *step*. - - >>> iterable = iter('abcdefgh') - >>> list(islice_extended(iterable, -4, -1)) - ['e', 'f', 'g'] - - Slices with negative values require some caching of *iterable*, but this - function takes care to minimize the amount of memory required. - - For example, you can use a negative step with an infinite iterator: - - >>> from itertools import count - >>> list(islice_extended(count(), 110, 99, -2)) - [110, 108, 106, 104, 102, 100] - - You can also use slice notation directly: - - >>> iterable = map(str, count()) - >>> it = islice_extended(iterable)[10:20:2] - >>> list(it) - ['10', '12', '14', '16', '18'] - - """ - - def __init__(self, iterable, *args): - it = iter(iterable) - if args: - self._iterable = _islice_helper(it, slice(*args)) - else: - self._iterable = it - - def __iter__(self): - return self - - def __next__(self): - return next(self._iterable) - - def __getitem__(self, key): - if isinstance(key, slice): - return islice_extended(_islice_helper(self._iterable, key)) - - raise TypeError('islice_extended.__getitem__ argument must be a slice') - - -def _islice_helper(it, s): - start = s.start - stop = s.stop - if s.step == 0: - raise ValueError('step argument must be a non-zero integer or None.') - step = s.step or 1 - - if step > 0: - start = 0 if (start is None) else start - - if start < 0: - # Consume all but the last -start items - cache = deque(enumerate(it, 1), maxlen=-start) - len_iter = cache[-1][0] if cache else 0 - - # Adjust start to be positive - i = max(len_iter + start, 0) - - # Adjust stop to be positive - if stop is None: - j = len_iter - elif stop >= 0: - j = min(stop, len_iter) - else: - j = max(len_iter + stop, 0) - - # Slice the cache - n = j - i - if n <= 0: - return - - for index, item in islice(cache, 0, n, step): - yield item - elif (stop is not None) and (stop < 0): - # Advance to the start position - next(islice(it, start, start), None) - - # When stop is negative, we have to carry -stop items while - # iterating - cache = deque(islice(it, -stop), maxlen=-stop) - - for index, item in enumerate(it): - cached_item = cache.popleft() - if index % step == 0: - yield cached_item - cache.append(item) - else: - # When both start and stop are positive we have the normal case - yield from islice(it, start, stop, step) - else: - start = -1 if (start is None) else start - - if (stop is not None) and (stop < 0): - # Consume all but the last items - n = -stop - 1 - cache = deque(enumerate(it, 1), maxlen=n) - len_iter = cache[-1][0] if cache else 0 - - # If start and stop are both negative they are comparable and - # we can just slice. Otherwise we can adjust start to be negative - # and then slice. - if start < 0: - i, j = start, stop - else: - i, j = min(start - len_iter, -1), None - - for index, item in list(cache)[i:j:step]: - yield item - else: - # Advance to the stop position - if stop is not None: - m = stop + 1 - next(islice(it, m, m), None) - - # stop is positive, so if start is negative they are not comparable - # and we need the rest of the items. - if start < 0: - i = start - n = None - # stop is None and start is positive, so we just need items up to - # the start index. - elif stop is None: - i = None - n = start + 1 - # Both stop and start are positive, so they are comparable. - else: - i = None - n = start - stop - if n <= 0: - return - - cache = list(islice(it, n)) - - yield from cache[i::step] - - -def always_reversible(iterable): - """An extension of :func:`reversed` that supports all iterables, not - just those which implement the ``Reversible`` or ``Sequence`` protocols. - - >>> print(*always_reversible(x for x in range(3))) - 2 1 0 - - If the iterable is already reversible, this function returns the - result of :func:`reversed()`. If the iterable is not reversible, - this function will cache the remaining items in the iterable and - yield them in reverse order, which may require significant storage. - """ - try: - return reversed(iterable) - except TypeError: - return reversed(list(iterable)) - - -def consecutive_groups(iterable, ordering=lambda x: x): - """Yield groups of consecutive items using :func:`itertools.groupby`. - The *ordering* function determines whether two items are adjacent by - returning their position. - - By default, the ordering function is the identity function. This is - suitable for finding runs of numbers: - - >>> iterable = [1, 10, 11, 12, 20, 30, 31, 32, 33, 40] - >>> for group in consecutive_groups(iterable): - ... print(list(group)) - [1] - [10, 11, 12] - [20] - [30, 31, 32, 33] - [40] - - For finding runs of adjacent letters, try using the :meth:`index` method - of a string of letters: - - >>> from string import ascii_lowercase - >>> iterable = 'abcdfgilmnop' - >>> ordering = ascii_lowercase.index - >>> for group in consecutive_groups(iterable, ordering): - ... print(list(group)) - ['a', 'b', 'c', 'd'] - ['f', 'g'] - ['i'] - ['l', 'm', 'n', 'o', 'p'] - - Each group of consecutive items is an iterator that shares it source with - *iterable*. When an an output group is advanced, the previous group is - no longer available unless its elements are copied (e.g., into a ``list``). - - >>> iterable = [1, 2, 11, 12, 21, 22] - >>> saved_groups = [] - >>> for group in consecutive_groups(iterable): - ... saved_groups.append(list(group)) # Copy group elements - >>> saved_groups - [[1, 2], [11, 12], [21, 22]] - - """ - for k, g in groupby( - enumerate(iterable), key=lambda x: x[0] - ordering(x[1]) - ): - yield map(itemgetter(1), g) - - -def difference(iterable, func=sub, *, initial=None): - """This function is the inverse of :func:`itertools.accumulate`. By default - it will compute the first difference of *iterable* using - :func:`operator.sub`: - - >>> from itertools import accumulate - >>> iterable = accumulate([0, 1, 2, 3, 4]) # produces 0, 1, 3, 6, 10 - >>> list(difference(iterable)) - [0, 1, 2, 3, 4] - - *func* defaults to :func:`operator.sub`, but other functions can be - specified. They will be applied as follows:: - - A, B, C, D, ... --> A, func(B, A), func(C, B), func(D, C), ... - - For example, to do progressive division: - - >>> iterable = [1, 2, 6, 24, 120] - >>> func = lambda x, y: x // y - >>> list(difference(iterable, func)) - [1, 2, 3, 4, 5] - - If the *initial* keyword is set, the first element will be skipped when - computing successive differences. - - >>> it = [10, 11, 13, 16] # from accumulate([1, 2, 3], initial=10) - >>> list(difference(it, initial=10)) - [1, 2, 3] - - """ - a, b = tee(iterable) - try: - first = [next(b)] - except StopIteration: - return iter([]) - - if initial is not None: - first = [] - - return chain(first, map(func, b, a)) - - -class SequenceView(Sequence): - """Return a read-only view of the sequence object *target*. - - :class:`SequenceView` objects are analogous to Python's built-in - "dictionary view" types. They provide a dynamic view of a sequence's items, - meaning that when the sequence updates, so does the view. - - >>> seq = ['0', '1', '2'] - >>> view = SequenceView(seq) - >>> view - SequenceView(['0', '1', '2']) - >>> seq.append('3') - >>> view - SequenceView(['0', '1', '2', '3']) - - Sequence views support indexing, slicing, and length queries. They act - like the underlying sequence, except they don't allow assignment: - - >>> view[1] - '1' - >>> view[1:-1] - ['1', '2'] - >>> len(view) - 4 - - Sequence views are useful as an alternative to copying, as they don't - require (much) extra storage. - - """ - - def __init__(self, target): - if not isinstance(target, Sequence): - raise TypeError - self._target = target - - def __getitem__(self, index): - return self._target[index] - - def __len__(self): - return len(self._target) - - def __repr__(self): - return '{}({})'.format(self.__class__.__name__, repr(self._target)) - - -class seekable: - """Wrap an iterator to allow for seeking backward and forward. This - progressively caches the items in the source iterable so they can be - re-visited. - - Call :meth:`seek` with an index to seek to that position in the source - iterable. - - To "reset" an iterator, seek to ``0``: - - >>> from itertools import count - >>> it = seekable((str(n) for n in count())) - >>> next(it), next(it), next(it) - ('0', '1', '2') - >>> it.seek(0) - >>> next(it), next(it), next(it) - ('0', '1', '2') - >>> next(it) - '3' - - You can also seek forward: - - >>> it = seekable((str(n) for n in range(20))) - >>> it.seek(10) - >>> next(it) - '10' - >>> it.relative_seek(-2) # Seeking relative to the current position - >>> next(it) - '9' - >>> it.seek(20) # Seeking past the end of the source isn't a problem - >>> list(it) - [] - >>> it.seek(0) # Resetting works even after hitting the end - >>> next(it), next(it), next(it) - ('0', '1', '2') - - Call :meth:`peek` to look ahead one item without advancing the iterator: - - >>> it = seekable('1234') - >>> it.peek() - '1' - >>> list(it) - ['1', '2', '3', '4'] - >>> it.peek(default='empty') - 'empty' - - Before the iterator is at its end, calling :func:`bool` on it will return - ``True``. After it will return ``False``: - - >>> it = seekable('5678') - >>> bool(it) - True - >>> list(it) - ['5', '6', '7', '8'] - >>> bool(it) - False - - You may view the contents of the cache with the :meth:`elements` method. - That returns a :class:`SequenceView`, a view that updates automatically: - - >>> it = seekable((str(n) for n in range(10))) - >>> next(it), next(it), next(it) - ('0', '1', '2') - >>> elements = it.elements() - >>> elements - SequenceView(['0', '1', '2']) - >>> next(it) - '3' - >>> elements - SequenceView(['0', '1', '2', '3']) - - By default, the cache grows as the source iterable progresses, so beware of - wrapping very large or infinite iterables. Supply *maxlen* to limit the - size of the cache (this of course limits how far back you can seek). - - >>> from itertools import count - >>> it = seekable((str(n) for n in count()), maxlen=2) - >>> next(it), next(it), next(it), next(it) - ('0', '1', '2', '3') - >>> list(it.elements()) - ['2', '3'] - >>> it.seek(0) - >>> next(it), next(it), next(it), next(it) - ('2', '3', '4', '5') - >>> next(it) - '6' - - """ - - def __init__(self, iterable, maxlen=None): - self._source = iter(iterable) - if maxlen is None: - self._cache = [] - else: - self._cache = deque([], maxlen) - self._index = None - - def __iter__(self): - return self - - def __next__(self): - if self._index is not None: - try: - item = self._cache[self._index] - except IndexError: - self._index = None - else: - self._index += 1 - return item - - item = next(self._source) - self._cache.append(item) - return item - - def __bool__(self): - try: - self.peek() - except StopIteration: - return False - return True - - def peek(self, default=_marker): - try: - peeked = next(self) - except StopIteration: - if default is _marker: - raise - return default - if self._index is None: - self._index = len(self._cache) - self._index -= 1 - return peeked - - def elements(self): - return SequenceView(self._cache) - - def seek(self, index): - self._index = index - remainder = index - len(self._cache) - if remainder > 0: - consume(self, remainder) - - def relative_seek(self, count): - index = len(self._cache) - self.seek(max(index + count, 0)) - - -class run_length: - """ - :func:`run_length.encode` compresses an iterable with run-length encoding. - It yields groups of repeated items with the count of how many times they - were repeated: - - >>> uncompressed = 'abbcccdddd' - >>> list(run_length.encode(uncompressed)) - [('a', 1), ('b', 2), ('c', 3), ('d', 4)] - - :func:`run_length.decode` decompresses an iterable that was previously - compressed with run-length encoding. It yields the items of the - decompressed iterable: - - >>> compressed = [('a', 1), ('b', 2), ('c', 3), ('d', 4)] - >>> list(run_length.decode(compressed)) - ['a', 'b', 'b', 'c', 'c', 'c', 'd', 'd', 'd', 'd'] - - """ - - @staticmethod - def encode(iterable): - return ((k, ilen(g)) for k, g in groupby(iterable)) - - @staticmethod - def decode(iterable): - return chain.from_iterable(repeat(k, n) for k, n in iterable) - - -def exactly_n(iterable, n, predicate=bool): - """Return ``True`` if exactly ``n`` items in the iterable are ``True`` - according to the *predicate* function. - - >>> exactly_n([True, True, False], 2) - True - >>> exactly_n([True, True, False], 1) - False - >>> exactly_n([0, 1, 2, 3, 4, 5], 3, lambda x: x < 3) - True - - The iterable will be advanced until ``n + 1`` truthy items are encountered, - so avoid calling it on infinite iterables. - - """ - return len(take(n + 1, filter(predicate, iterable))) == n - - -def circular_shifts(iterable): - """Return a list of circular shifts of *iterable*. - - >>> circular_shifts(range(4)) - [(0, 1, 2, 3), (1, 2, 3, 0), (2, 3, 0, 1), (3, 0, 1, 2)] - """ - lst = list(iterable) - return take(len(lst), windowed(cycle(lst), len(lst))) - - -def make_decorator(wrapping_func, result_index=0): - """Return a decorator version of *wrapping_func*, which is a function that - modifies an iterable. *result_index* is the position in that function's - signature where the iterable goes. - - This lets you use itertools on the "production end," i.e. at function - definition. This can augment what the function returns without changing the - function's code. - - For example, to produce a decorator version of :func:`chunked`: - - >>> from more_itertools import chunked - >>> chunker = make_decorator(chunked, result_index=0) - >>> @chunker(3) - ... def iter_range(n): - ... return iter(range(n)) - ... - >>> list(iter_range(9)) - [[0, 1, 2], [3, 4, 5], [6, 7, 8]] - - To only allow truthy items to be returned: - - >>> truth_serum = make_decorator(filter, result_index=1) - >>> @truth_serum(bool) - ... def boolean_test(): - ... return [0, 1, '', ' ', False, True] - ... - >>> list(boolean_test()) - [1, ' ', True] - - The :func:`peekable` and :func:`seekable` wrappers make for practical - decorators: - - >>> from more_itertools import peekable - >>> peekable_function = make_decorator(peekable) - >>> @peekable_function() - ... def str_range(*args): - ... return (str(x) for x in range(*args)) - ... - >>> it = str_range(1, 20, 2) - >>> next(it), next(it), next(it) - ('1', '3', '5') - >>> it.peek() - '7' - >>> next(it) - '7' - - """ - - # See https://sites.google.com/site/bbayles/index/decorator_factory for - # notes on how this works. - def decorator(*wrapping_args, **wrapping_kwargs): - def outer_wrapper(f): - def inner_wrapper(*args, **kwargs): - result = f(*args, **kwargs) - wrapping_args_ = list(wrapping_args) - wrapping_args_.insert(result_index, result) - return wrapping_func(*wrapping_args_, **wrapping_kwargs) - - return inner_wrapper - - return outer_wrapper - - return decorator - - -def map_reduce(iterable, keyfunc, valuefunc=None, reducefunc=None): - """Return a dictionary that maps the items in *iterable* to categories - defined by *keyfunc*, transforms them with *valuefunc*, and - then summarizes them by category with *reducefunc*. - - *valuefunc* defaults to the identity function if it is unspecified. - If *reducefunc* is unspecified, no summarization takes place: - - >>> keyfunc = lambda x: x.upper() - >>> result = map_reduce('abbccc', keyfunc) - >>> sorted(result.items()) - [('A', ['a']), ('B', ['b', 'b']), ('C', ['c', 'c', 'c'])] - - Specifying *valuefunc* transforms the categorized items: - - >>> keyfunc = lambda x: x.upper() - >>> valuefunc = lambda x: 1 - >>> result = map_reduce('abbccc', keyfunc, valuefunc) - >>> sorted(result.items()) - [('A', [1]), ('B', [1, 1]), ('C', [1, 1, 1])] - - Specifying *reducefunc* summarizes the categorized items: - - >>> keyfunc = lambda x: x.upper() - >>> valuefunc = lambda x: 1 - >>> reducefunc = sum - >>> result = map_reduce('abbccc', keyfunc, valuefunc, reducefunc) - >>> sorted(result.items()) - [('A', 1), ('B', 2), ('C', 3)] - - You may want to filter the input iterable before applying the map/reduce - procedure: - - >>> all_items = range(30) - >>> items = [x for x in all_items if 10 <= x <= 20] # Filter - >>> keyfunc = lambda x: x % 2 # Evens map to 0; odds to 1 - >>> categories = map_reduce(items, keyfunc=keyfunc) - >>> sorted(categories.items()) - [(0, [10, 12, 14, 16, 18, 20]), (1, [11, 13, 15, 17, 19])] - >>> summaries = map_reduce(items, keyfunc=keyfunc, reducefunc=sum) - >>> sorted(summaries.items()) - [(0, 90), (1, 75)] - - Note that all items in the iterable are gathered into a list before the - summarization step, which may require significant storage. - - The returned object is a :obj:`collections.defaultdict` with the - ``default_factory`` set to ``None``, such that it behaves like a normal - dictionary. - - """ - valuefunc = (lambda x: x) if (valuefunc is None) else valuefunc - - ret = defaultdict(list) - for item in iterable: - key = keyfunc(item) - value = valuefunc(item) - ret[key].append(value) - - if reducefunc is not None: - for key, value_list in ret.items(): - ret[key] = reducefunc(value_list) - - ret.default_factory = None - return ret - - -def rlocate(iterable, pred=bool, window_size=None): - """Yield the index of each item in *iterable* for which *pred* returns - ``True``, starting from the right and moving left. - - *pred* defaults to :func:`bool`, which will select truthy items: - - >>> list(rlocate([0, 1, 1, 0, 1, 0, 0])) # Truthy at 1, 2, and 4 - [4, 2, 1] - - Set *pred* to a custom function to, e.g., find the indexes for a particular - item: - - >>> iterable = iter('abcb') - >>> pred = lambda x: x == 'b' - >>> list(rlocate(iterable, pred)) - [3, 1] - - If *window_size* is given, then the *pred* function will be called with - that many items. This enables searching for sub-sequences: - - >>> iterable = [0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3] - >>> pred = lambda *args: args == (1, 2, 3) - >>> list(rlocate(iterable, pred=pred, window_size=3)) - [9, 5, 1] - - Beware, this function won't return anything for infinite iterables. - If *iterable* is reversible, ``rlocate`` will reverse it and search from - the right. Otherwise, it will search from the left and return the results - in reverse order. - - See :func:`locate` to for other example applications. - - """ - if window_size is None: - try: - len_iter = len(iterable) - return (len_iter - i - 1 for i in locate(reversed(iterable), pred)) - except TypeError: - pass - - return reversed(list(locate(iterable, pred, window_size))) - - -def replace(iterable, pred, substitutes, count=None, window_size=1): - """Yield the items from *iterable*, replacing the items for which *pred* - returns ``True`` with the items from the iterable *substitutes*. - - >>> iterable = [1, 1, 0, 1, 1, 0, 1, 1] - >>> pred = lambda x: x == 0 - >>> substitutes = (2, 3) - >>> list(replace(iterable, pred, substitutes)) - [1, 1, 2, 3, 1, 1, 2, 3, 1, 1] - - If *count* is given, the number of replacements will be limited: - - >>> iterable = [1, 1, 0, 1, 1, 0, 1, 1, 0] - >>> pred = lambda x: x == 0 - >>> substitutes = [None] - >>> list(replace(iterable, pred, substitutes, count=2)) - [1, 1, None, 1, 1, None, 1, 1, 0] - - Use *window_size* to control the number of items passed as arguments to - *pred*. This allows for locating and replacing subsequences. - - >>> iterable = [0, 1, 2, 5, 0, 1, 2, 5] - >>> window_size = 3 - >>> pred = lambda *args: args == (0, 1, 2) # 3 items passed to pred - >>> substitutes = [3, 4] # Splice in these items - >>> list(replace(iterable, pred, substitutes, window_size=window_size)) - [3, 4, 5, 3, 4, 5] - - """ - if window_size < 1: - raise ValueError('window_size must be at least 1') - - # Save the substitutes iterable, since it's used more than once - substitutes = tuple(substitutes) - - # Add padding such that the number of windows matches the length of the - # iterable - it = chain(iterable, [_marker] * (window_size - 1)) - windows = windowed(it, window_size) - - n = 0 - for w in windows: - # If the current window matches our predicate (and we haven't hit - # our maximum number of replacements), splice in the substitutes - # and then consume the following windows that overlap with this one. - # For example, if the iterable is (0, 1, 2, 3, 4...) - # and the window size is 2, we have (0, 1), (1, 2), (2, 3)... - # If the predicate matches on (0, 1), we need to zap (0, 1) and (1, 2) - if pred(*w): - if (count is None) or (n < count): - n += 1 - yield from substitutes - consume(windows, window_size - 1) - continue - - # If there was no match (or we've reached the replacement limit), - # yield the first item from the window. - if w and (w[0] is not _marker): - yield w[0] - - -def partitions(iterable): - """Yield all possible order-preserving partitions of *iterable*. - - >>> iterable = 'abc' - >>> for part in partitions(iterable): - ... print([''.join(p) for p in part]) - ['abc'] - ['a', 'bc'] - ['ab', 'c'] - ['a', 'b', 'c'] - - This is unrelated to :func:`partition`. - - """ - sequence = list(iterable) - n = len(sequence) - for i in powerset(range(1, n)): - yield [sequence[i:j] for i, j in zip((0,) + i, i + (n,))] - - -def set_partitions(iterable, k=None): - """ - Yield the set partitions of *iterable* into *k* parts. Set partitions are - not order-preserving. - - >>> iterable = 'abc' - >>> for part in set_partitions(iterable, 2): - ... print([''.join(p) for p in part]) - ['a', 'bc'] - ['ab', 'c'] - ['b', 'ac'] - - - If *k* is not given, every set partition is generated. - - >>> iterable = 'abc' - >>> for part in set_partitions(iterable): - ... print([''.join(p) for p in part]) - ['abc'] - ['a', 'bc'] - ['ab', 'c'] - ['b', 'ac'] - ['a', 'b', 'c'] - - """ - L = list(iterable) - n = len(L) - if k is not None: - if k < 1: - raise ValueError( - "Can't partition in a negative or zero number of groups" - ) - elif k > n: - return - - def set_partitions_helper(L, k): - n = len(L) - if k == 1: - yield [L] - elif n == k: - yield [[s] for s in L] - else: - e, *M = L - for p in set_partitions_helper(M, k - 1): - yield [[e], *p] - for p in set_partitions_helper(M, k): - for i in range(len(p)): - yield p[:i] + [[e] + p[i]] + p[i + 1 :] - - if k is None: - for k in range(1, n + 1): - yield from set_partitions_helper(L, k) - else: - yield from set_partitions_helper(L, k) - - -class time_limited: - """ - Yield items from *iterable* until *limit_seconds* have passed. - If the time limit expires before all items have been yielded, the - ``timed_out`` parameter will be set to ``True``. - - >>> from time import sleep - >>> def generator(): - ... yield 1 - ... yield 2 - ... sleep(0.2) - ... yield 3 - >>> iterable = time_limited(0.1, generator()) - >>> list(iterable) - [1, 2] - >>> iterable.timed_out - True - - Note that the time is checked before each item is yielded, and iteration - stops if the time elapsed is greater than *limit_seconds*. If your time - limit is 1 second, but it takes 2 seconds to generate the first item from - the iterable, the function will run for 2 seconds and not yield anything. - As a special case, when *limit_seconds* is zero, the iterator never - returns anything. - - """ - - def __init__(self, limit_seconds, iterable): - if limit_seconds < 0: - raise ValueError('limit_seconds must be positive') - self.limit_seconds = limit_seconds - self._iterable = iter(iterable) - self._start_time = monotonic() - self.timed_out = False - - def __iter__(self): - return self - - def __next__(self): - if self.limit_seconds == 0: - self.timed_out = True - raise StopIteration - item = next(self._iterable) - if monotonic() - self._start_time > self.limit_seconds: - self.timed_out = True - raise StopIteration - - return item - - -def only(iterable, default=None, too_long=None): - """If *iterable* has only one item, return it. - If it has zero items, return *default*. - If it has more than one item, raise the exception given by *too_long*, - which is ``ValueError`` by default. - - >>> only([], default='missing') - 'missing' - >>> only([1]) - 1 - >>> only([1, 2]) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - ValueError: Expected exactly one item in iterable, but got 1, 2, - and perhaps more.' - >>> only([1, 2], too_long=TypeError) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - TypeError - - Note that :func:`only` attempts to advance *iterable* twice to ensure there - is only one item. See :func:`spy` or :func:`peekable` to check - iterable contents less destructively. - """ - it = iter(iterable) - first_value = next(it, default) - - try: - second_value = next(it) - except StopIteration: - pass - else: - msg = ( - 'Expected exactly one item in iterable, but got {!r}, {!r}, ' - 'and perhaps more.'.format(first_value, second_value) - ) - raise too_long or ValueError(msg) - - return first_value - - -def _ichunk(iterable, n): - cache = deque() - chunk = islice(iterable, n) - - def generator(): - while True: - if cache: - yield cache.popleft() - else: - try: - item = next(chunk) - except StopIteration: - return - else: - yield item - - def materialize_next(n=1): - # if n not specified materialize everything - if n is None: - cache.extend(chunk) - return len(cache) - - to_cache = n - len(cache) - - # materialize up to n - if to_cache > 0: - cache.extend(islice(chunk, to_cache)) - - # return number materialized up to n - return min(n, len(cache)) - - return (generator(), materialize_next) - - -def ichunked(iterable, n): - """Break *iterable* into sub-iterables with *n* elements each. - :func:`ichunked` is like :func:`chunked`, but it yields iterables - instead of lists. - - If the sub-iterables are read in order, the elements of *iterable* - won't be stored in memory. - If they are read out of order, :func:`itertools.tee` is used to cache - elements as necessary. - - >>> from itertools import count - >>> all_chunks = ichunked(count(), 4) - >>> c_1, c_2, c_3 = next(all_chunks), next(all_chunks), next(all_chunks) - >>> list(c_2) # c_1's elements have been cached; c_3's haven't been - [4, 5, 6, 7] - >>> list(c_1) - [0, 1, 2, 3] - >>> list(c_3) - [8, 9, 10, 11] - - """ - iterable = iter(iterable) - while True: - # Create new chunk - chunk, materialize_next = _ichunk(iterable, n) - - # Check to see whether we're at the end of the source iterable - if not materialize_next(): - return - - yield chunk - - # Fill previous chunk's cache - materialize_next(None) - - -def iequals(*iterables): - """Return ``True`` if all given *iterables* are equal to each other, - which means that they contain the same elements in the same order. - - The function is useful for comparing iterables of different data types - or iterables that do not support equality checks. - - >>> iequals("abc", ['a', 'b', 'c'], ('a', 'b', 'c'), iter("abc")) - True - - >>> iequals("abc", "acb") - False - - Not to be confused with :func:`all_equal`, which checks whether all - elements of iterable are equal to each other. - - """ - return all(map(all_equal, zip_longest(*iterables, fillvalue=object()))) - - -def distinct_combinations(iterable, r): - """Yield the distinct combinations of *r* items taken from *iterable*. - - >>> list(distinct_combinations([0, 0, 1], 2)) - [(0, 0), (0, 1)] - - Equivalent to ``set(combinations(iterable))``, except duplicates are not - generated and thrown away. For larger input sequences this is much more - efficient. - - """ - if r < 0: - raise ValueError('r must be non-negative') - elif r == 0: - yield () - return - pool = tuple(iterable) - generators = [unique_everseen(enumerate(pool), key=itemgetter(1))] - current_combo = [None] * r - level = 0 - while generators: - try: - cur_idx, p = next(generators[-1]) - except StopIteration: - generators.pop() - level -= 1 - continue - current_combo[level] = p - if level + 1 == r: - yield tuple(current_combo) - else: - generators.append( - unique_everseen( - enumerate(pool[cur_idx + 1 :], cur_idx + 1), - key=itemgetter(1), - ) - ) - level += 1 - - -def filter_except(validator, iterable, *exceptions): - """Yield the items from *iterable* for which the *validator* function does - not raise one of the specified *exceptions*. - - *validator* is called for each item in *iterable*. - It should be a function that accepts one argument and raises an exception - if that item is not valid. - - >>> iterable = ['1', '2', 'three', '4', None] - >>> list(filter_except(int, iterable, ValueError, TypeError)) - ['1', '2', '4'] - - If an exception other than one given by *exceptions* is raised by - *validator*, it is raised like normal. - """ - for item in iterable: - try: - validator(item) - except exceptions: - pass - else: - yield item - - -def map_except(function, iterable, *exceptions): - """Transform each item from *iterable* with *function* and yield the - result, unless *function* raises one of the specified *exceptions*. - - *function* is called to transform each item in *iterable*. - It should accept one argument. - - >>> iterable = ['1', '2', 'three', '4', None] - >>> list(map_except(int, iterable, ValueError, TypeError)) - [1, 2, 4] - - If an exception other than one given by *exceptions* is raised by - *function*, it is raised like normal. - """ - for item in iterable: - try: - yield function(item) - except exceptions: - pass - - -def map_if(iterable, pred, func, func_else=lambda x: x): - """Evaluate each item from *iterable* using *pred*. If the result is - equivalent to ``True``, transform the item with *func* and yield it. - Otherwise, transform the item with *func_else* and yield it. - - *pred*, *func*, and *func_else* should each be functions that accept - one argument. By default, *func_else* is the identity function. - - >>> from math import sqrt - >>> iterable = list(range(-5, 5)) - >>> iterable - [-5, -4, -3, -2, -1, 0, 1, 2, 3, 4] - >>> list(map_if(iterable, lambda x: x > 3, lambda x: 'toobig')) - [-5, -4, -3, -2, -1, 0, 1, 2, 3, 'toobig'] - >>> list(map_if(iterable, lambda x: x >= 0, - ... lambda x: f'{sqrt(x):.2f}', lambda x: None)) - [None, None, None, None, None, '0.00', '1.00', '1.41', '1.73', '2.00'] - """ - for item in iterable: - yield func(item) if pred(item) else func_else(item) - - -def _sample_unweighted(iterable, k): - # Implementation of "Algorithm L" from the 1994 paper by Kim-Hung Li: - # "Reservoir-Sampling Algorithms of Time Complexity O(n(1+log(N/n)))". - - # Fill up the reservoir (collection of samples) with the first `k` samples - reservoir = take(k, iterable) - - # Generate random number that's the largest in a sample of k U(0,1) numbers - # Largest order statistic: https://en.wikipedia.org/wiki/Order_statistic - W = exp(log(random()) / k) - - # The number of elements to skip before changing the reservoir is a random - # number with a geometric distribution. Sample it using random() and logs. - next_index = k + floor(log(random()) / log(1 - W)) - - for index, element in enumerate(iterable, k): - if index == next_index: - reservoir[randrange(k)] = element - # The new W is the largest in a sample of k U(0, `old_W`) numbers - W *= exp(log(random()) / k) - next_index += floor(log(random()) / log(1 - W)) + 1 - - return reservoir - - -def _sample_weighted(iterable, k, weights): - # Implementation of "A-ExpJ" from the 2006 paper by Efraimidis et al. : - # "Weighted random sampling with a reservoir". - - # Log-transform for numerical stability for weights that are small/large - weight_keys = (log(random()) / weight for weight in weights) - - # Fill up the reservoir (collection of samples) with the first `k` - # weight-keys and elements, then heapify the list. - reservoir = take(k, zip(weight_keys, iterable)) - heapify(reservoir) - - # The number of jumps before changing the reservoir is a random variable - # with an exponential distribution. Sample it using random() and logs. - smallest_weight_key, _ = reservoir[0] - weights_to_skip = log(random()) / smallest_weight_key - - for weight, element in zip(weights, iterable): - if weight >= weights_to_skip: - # The notation here is consistent with the paper, but we store - # the weight-keys in log-space for better numerical stability. - smallest_weight_key, _ = reservoir[0] - t_w = exp(weight * smallest_weight_key) - r_2 = uniform(t_w, 1) # generate U(t_w, 1) - weight_key = log(r_2) / weight - heapreplace(reservoir, (weight_key, element)) - smallest_weight_key, _ = reservoir[0] - weights_to_skip = log(random()) / smallest_weight_key - else: - weights_to_skip -= weight - - # Equivalent to [element for weight_key, element in sorted(reservoir)] - return [heappop(reservoir)[1] for _ in range(k)] - - -def sample(iterable, k, weights=None): - """Return a *k*-length list of elements chosen (without replacement) - from the *iterable*. Like :func:`random.sample`, but works on iterables - of unknown length. - - >>> iterable = range(100) - >>> sample(iterable, 5) # doctest: +SKIP - [81, 60, 96, 16, 4] - - An iterable with *weights* may also be given: - - >>> iterable = range(100) - >>> weights = (i * i + 1 for i in range(100)) - >>> sampled = sample(iterable, 5, weights=weights) # doctest: +SKIP - [79, 67, 74, 66, 78] - - The algorithm can also be used to generate weighted random permutations. - The relative weight of each item determines the probability that it - appears late in the permutation. - - >>> data = "abcdefgh" - >>> weights = range(1, len(data) + 1) - >>> sample(data, k=len(data), weights=weights) # doctest: +SKIP - ['c', 'a', 'b', 'e', 'g', 'd', 'h', 'f'] - """ - if k == 0: - return [] - - iterable = iter(iterable) - if weights is None: - return _sample_unweighted(iterable, k) - else: - weights = iter(weights) - return _sample_weighted(iterable, k, weights) - - -def is_sorted(iterable, key=None, reverse=False, strict=False): - """Returns ``True`` if the items of iterable are in sorted order, and - ``False`` otherwise. *key* and *reverse* have the same meaning that they do - in the built-in :func:`sorted` function. - - >>> is_sorted(['1', '2', '3', '4', '5'], key=int) - True - >>> is_sorted([5, 4, 3, 1, 2], reverse=True) - False - - If *strict*, tests for strict sorting, that is, returns ``False`` if equal - elements are found: - - >>> is_sorted([1, 2, 2]) - True - >>> is_sorted([1, 2, 2], strict=True) - False - - The function returns ``False`` after encountering the first out-of-order - item. If there are no out-of-order items, the iterable is exhausted. - """ - - compare = (le if reverse else ge) if strict else (lt if reverse else gt) - it = iterable if key is None else map(key, iterable) - return not any(starmap(compare, pairwise(it))) - - -class AbortThread(BaseException): - pass - - -class callback_iter: - """Convert a function that uses callbacks to an iterator. - - Let *func* be a function that takes a `callback` keyword argument. - For example: - - >>> def func(callback=None): - ... for i, c in [(1, 'a'), (2, 'b'), (3, 'c')]: - ... if callback: - ... callback(i, c) - ... return 4 - - - Use ``with callback_iter(func)`` to get an iterator over the parameters - that are delivered to the callback. - - >>> with callback_iter(func) as it: - ... for args, kwargs in it: - ... print(args) - (1, 'a') - (2, 'b') - (3, 'c') - - The function will be called in a background thread. The ``done`` property - indicates whether it has completed execution. - - >>> it.done - True - - If it completes successfully, its return value will be available - in the ``result`` property. - - >>> it.result - 4 - - Notes: - - * If the function uses some keyword argument besides ``callback``, supply - *callback_kwd*. - * If it finished executing, but raised an exception, accessing the - ``result`` property will raise the same exception. - * If it hasn't finished executing, accessing the ``result`` - property from within the ``with`` block will raise ``RuntimeError``. - * If it hasn't finished executing, accessing the ``result`` property from - outside the ``with`` block will raise a - ``more_itertools.AbortThread`` exception. - * Provide *wait_seconds* to adjust how frequently the it is polled for - output. - - """ - - def __init__(self, func, callback_kwd='callback', wait_seconds=0.1): - self._func = func - self._callback_kwd = callback_kwd - self._aborted = False - self._future = None - self._wait_seconds = wait_seconds - # Lazily import concurrent.future - self._executor = __import__( - 'concurrent.futures' - ).futures.ThreadPoolExecutor(max_workers=1) - self._iterator = self._reader() - - def __enter__(self): - return self - - def __exit__(self, exc_type, exc_value, traceback): - self._aborted = True - self._executor.shutdown() - - def __iter__(self): - return self - - def __next__(self): - return next(self._iterator) - - @property - def done(self): - if self._future is None: - return False - return self._future.done() - - @property - def result(self): - if not self.done: - raise RuntimeError('Function has not yet completed') - - return self._future.result() - - def _reader(self): - q = Queue() - - def callback(*args, **kwargs): - if self._aborted: - raise AbortThread('canceled by user') - - q.put((args, kwargs)) - - self._future = self._executor.submit( - self._func, **{self._callback_kwd: callback} - ) - - while True: - try: - item = q.get(timeout=self._wait_seconds) - except Empty: - pass - else: - q.task_done() - yield item - - if self._future.done(): - break - - remaining = [] - while True: - try: - item = q.get_nowait() - except Empty: - break - else: - q.task_done() - remaining.append(item) - q.join() - yield from remaining - - -def windowed_complete(iterable, n): - """ - Yield ``(beginning, middle, end)`` tuples, where: - - * Each ``middle`` has *n* items from *iterable* - * Each ``beginning`` has the items before the ones in ``middle`` - * Each ``end`` has the items after the ones in ``middle`` - - >>> iterable = range(7) - >>> n = 3 - >>> for beginning, middle, end in windowed_complete(iterable, n): - ... print(beginning, middle, end) - () (0, 1, 2) (3, 4, 5, 6) - (0,) (1, 2, 3) (4, 5, 6) - (0, 1) (2, 3, 4) (5, 6) - (0, 1, 2) (3, 4, 5) (6,) - (0, 1, 2, 3) (4, 5, 6) () - - Note that *n* must be at least 0 and most equal to the length of - *iterable*. - - This function will exhaust the iterable and may require significant - storage. - """ - if n < 0: - raise ValueError('n must be >= 0') - - seq = tuple(iterable) - size = len(seq) - - if n > size: - raise ValueError('n must be <= len(seq)') - - for i in range(size - n + 1): - beginning = seq[:i] - middle = seq[i : i + n] - end = seq[i + n :] - yield beginning, middle, end - - -def all_unique(iterable, key=None): - """ - Returns ``True`` if all the elements of *iterable* are unique (no two - elements are equal). - - >>> all_unique('ABCB') - False - - If a *key* function is specified, it will be used to make comparisons. - - >>> all_unique('ABCb') - True - >>> all_unique('ABCb', str.lower) - False - - The function returns as soon as the first non-unique element is - encountered. Iterables with a mix of hashable and unhashable items can - be used, but the function will be slower for unhashable items. - """ - seenset = set() - seenset_add = seenset.add - seenlist = [] - seenlist_add = seenlist.append - for element in map(key, iterable) if key else iterable: - try: - if element in seenset: - return False - seenset_add(element) - except TypeError: - if element in seenlist: - return False - seenlist_add(element) - return True - - -def nth_product(index, *args): - """Equivalent to ``list(product(*args))[index]``. - - The products of *args* can be ordered lexicographically. - :func:`nth_product` computes the product at sort position *index* without - computing the previous products. - - >>> nth_product(8, range(2), range(2), range(2), range(2)) - (1, 0, 0, 0) - - ``IndexError`` will be raised if the given *index* is invalid. - """ - pools = list(map(tuple, reversed(args))) - ns = list(map(len, pools)) - - c = reduce(mul, ns) - - if index < 0: - index += c - - if not 0 <= index < c: - raise IndexError - - result = [] - for pool, n in zip(pools, ns): - result.append(pool[index % n]) - index //= n - - return tuple(reversed(result)) - - -def nth_permutation(iterable, r, index): - """Equivalent to ``list(permutations(iterable, r))[index]``` - - The subsequences of *iterable* that are of length *r* where order is - important can be ordered lexicographically. :func:`nth_permutation` - computes the subsequence at sort position *index* directly, without - computing the previous subsequences. - - >>> nth_permutation('ghijk', 2, 5) - ('h', 'i') - - ``ValueError`` will be raised If *r* is negative or greater than the length - of *iterable*. - ``IndexError`` will be raised if the given *index* is invalid. - """ - pool = list(iterable) - n = len(pool) - - if r is None or r == n: - r, c = n, factorial(n) - elif not 0 <= r < n: - raise ValueError - else: - c = perm(n, r) - assert c > 0 # factortial(n)>0, and r>> nth_combination_with_replacement(range(5), 3, 5) - (0, 1, 1) - - ``ValueError`` will be raised If *r* is negative or greater than the length - of *iterable*. - ``IndexError`` will be raised if the given *index* is invalid. - """ - pool = tuple(iterable) - n = len(pool) - if (r < 0) or (r > n): - raise ValueError - - c = comb(n + r - 1, r) - - if index < 0: - index += c - - if (index < 0) or (index >= c): - raise IndexError - - result = [] - i = 0 - while r: - r -= 1 - while n >= 0: - num_combs = comb(n + r - 1, r) - if index < num_combs: - break - n -= 1 - i += 1 - index -= num_combs - result.append(pool[i]) - - return tuple(result) - - -def value_chain(*args): - """Yield all arguments passed to the function in the same order in which - they were passed. If an argument itself is iterable then iterate over its - values. - - >>> list(value_chain(1, 2, 3, [4, 5, 6])) - [1, 2, 3, 4, 5, 6] - - Binary and text strings are not considered iterable and are emitted - as-is: - - >>> list(value_chain('12', '34', ['56', '78'])) - ['12', '34', '56', '78'] - - Pre- or postpend a single element to an iterable: - - >>> list(value_chain(1, [2, 3, 4, 5, 6])) - [1, 2, 3, 4, 5, 6] - >>> list(value_chain([1, 2, 3, 4, 5], 6)) - [1, 2, 3, 4, 5, 6] - - Multiple levels of nesting are not flattened. - - """ - for value in args: - if isinstance(value, (str, bytes)): - yield value - continue - try: - yield from value - except TypeError: - yield value - - -def product_index(element, *args): - """Equivalent to ``list(product(*args)).index(element)`` - - The products of *args* can be ordered lexicographically. - :func:`product_index` computes the first index of *element* without - computing the previous products. - - >>> product_index([8, 2], range(10), range(5)) - 42 - - ``ValueError`` will be raised if the given *element* isn't in the product - of *args*. - """ - index = 0 - - for x, pool in zip_longest(element, args, fillvalue=_marker): - if x is _marker or pool is _marker: - raise ValueError('element is not a product of args') - - pool = tuple(pool) - index = index * len(pool) + pool.index(x) - - return index - - -def combination_index(element, iterable): - """Equivalent to ``list(combinations(iterable, r)).index(element)`` - - The subsequences of *iterable* that are of length *r* can be ordered - lexicographically. :func:`combination_index` computes the index of the - first *element*, without computing the previous combinations. - - >>> combination_index('adf', 'abcdefg') - 10 - - ``ValueError`` will be raised if the given *element* isn't one of the - combinations of *iterable*. - """ - element = enumerate(element) - k, y = next(element, (None, None)) - if k is None: - return 0 - - indexes = [] - pool = enumerate(iterable) - for n, x in pool: - if x == y: - indexes.append(n) - tmp, y = next(element, (None, None)) - if tmp is None: - break - else: - k = tmp - else: - raise ValueError('element is not a combination of iterable') - - n, _ = last(pool, default=(n, None)) - - # Python versions below 3.8 don't have math.comb - index = 1 - for i, j in enumerate(reversed(indexes), start=1): - j = n - j - if i <= j: - index += comb(j, i) - - return comb(n + 1, k + 1) - index - - -def combination_with_replacement_index(element, iterable): - """Equivalent to - ``list(combinations_with_replacement(iterable, r)).index(element)`` - - The subsequences with repetition of *iterable* that are of length *r* can - be ordered lexicographically. :func:`combination_with_replacement_index` - computes the index of the first *element*, without computing the previous - combinations with replacement. - - >>> combination_with_replacement_index('adf', 'abcdefg') - 20 - - ``ValueError`` will be raised if the given *element* isn't one of the - combinations with replacement of *iterable*. - """ - element = tuple(element) - l = len(element) - element = enumerate(element) - - k, y = next(element, (None, None)) - if k is None: - return 0 - - indexes = [] - pool = tuple(iterable) - for n, x in enumerate(pool): - while x == y: - indexes.append(n) - tmp, y = next(element, (None, None)) - if tmp is None: - break - else: - k = tmp - if y is None: - break - else: - raise ValueError( - 'element is not a combination with replacement of iterable' - ) - - n = len(pool) - occupations = [0] * n - for p in indexes: - occupations[p] += 1 - - index = 0 - cumulative_sum = 0 - for k in range(1, n): - cumulative_sum += occupations[k - 1] - j = l + n - 1 - k - cumulative_sum - i = n - k - if i <= j: - index += comb(j, i) - - return index - - -def permutation_index(element, iterable): - """Equivalent to ``list(permutations(iterable, r)).index(element)``` - - The subsequences of *iterable* that are of length *r* where order is - important can be ordered lexicographically. :func:`permutation_index` - computes the index of the first *element* directly, without computing - the previous permutations. - - >>> permutation_index([1, 3, 2], range(5)) - 19 - - ``ValueError`` will be raised if the given *element* isn't one of the - permutations of *iterable*. - """ - index = 0 - pool = list(iterable) - for i, x in zip(range(len(pool), -1, -1), element): - r = pool.index(x) - index = index * i + r - del pool[r] - - return index - - -class countable: - """Wrap *iterable* and keep a count of how many items have been consumed. - - The ``items_seen`` attribute starts at ``0`` and increments as the iterable - is consumed: - - >>> iterable = map(str, range(10)) - >>> it = countable(iterable) - >>> it.items_seen - 0 - >>> next(it), next(it) - ('0', '1') - >>> list(it) - ['2', '3', '4', '5', '6', '7', '8', '9'] - >>> it.items_seen - 10 - """ - - def __init__(self, iterable): - self._it = iter(iterable) - self.items_seen = 0 - - def __iter__(self): - return self - - def __next__(self): - item = next(self._it) - self.items_seen += 1 - - return item - - -def chunked_even(iterable, n): - """Break *iterable* into lists of approximately length *n*. - Items are distributed such the lengths of the lists differ by at most - 1 item. - - >>> iterable = [1, 2, 3, 4, 5, 6, 7] - >>> n = 3 - >>> list(chunked_even(iterable, n)) # List lengths: 3, 2, 2 - [[1, 2, 3], [4, 5], [6, 7]] - >>> list(chunked(iterable, n)) # List lengths: 3, 3, 1 - [[1, 2, 3], [4, 5, 6], [7]] - - """ - iterable = iter(iterable) - - # Initialize a buffer to process the chunks while keeping - # some back to fill any underfilled chunks - min_buffer = (n - 1) * (n - 2) - buffer = list(islice(iterable, min_buffer)) - - # Append items until we have a completed chunk - for _ in islice(map(buffer.append, iterable), n, None, n): - yield buffer[:n] - del buffer[:n] - - # Check if any chunks need addition processing - if not buffer: - return - length = len(buffer) - - # Chunks are either size `full_size <= n` or `partial_size = full_size - 1` - q, r = divmod(length, n) - num_lists = q + (1 if r > 0 else 0) - q, r = divmod(length, num_lists) - full_size = q + (1 if r > 0 else 0) - partial_size = full_size - 1 - num_full = length - partial_size * num_lists - - # Yield chunks of full size - partial_start_idx = num_full * full_size - if full_size > 0: - for i in range(0, partial_start_idx, full_size): - yield buffer[i : i + full_size] - - # Yield chunks of partial size - if partial_size > 0: - for i in range(partial_start_idx, length, partial_size): - yield buffer[i : i + partial_size] - - -def zip_broadcast(*objects, scalar_types=(str, bytes), strict=False): - """A version of :func:`zip` that "broadcasts" any scalar - (i.e., non-iterable) items into output tuples. - - >>> iterable_1 = [1, 2, 3] - >>> iterable_2 = ['a', 'b', 'c'] - >>> scalar = '_' - >>> list(zip_broadcast(iterable_1, iterable_2, scalar)) - [(1, 'a', '_'), (2, 'b', '_'), (3, 'c', '_')] - - The *scalar_types* keyword argument determines what types are considered - scalar. It is set to ``(str, bytes)`` by default. Set it to ``None`` to - treat strings and byte strings as iterable: - - >>> list(zip_broadcast('abc', 0, 'xyz', scalar_types=None)) - [('a', 0, 'x'), ('b', 0, 'y'), ('c', 0, 'z')] - - If the *strict* keyword argument is ``True``, then - ``UnequalIterablesError`` will be raised if any of the iterables have - different lengths. - """ - - def is_scalar(obj): - if scalar_types and isinstance(obj, scalar_types): - return True - try: - iter(obj) - except TypeError: - return True - else: - return False - - size = len(objects) - if not size: - return - - new_item = [None] * size - iterables, iterable_positions = [], [] - for i, obj in enumerate(objects): - if is_scalar(obj): - new_item[i] = obj - else: - iterables.append(iter(obj)) - iterable_positions.append(i) - - if not iterables: - yield tuple(objects) - return - - zipper = _zip_equal if strict else zip - for item in zipper(*iterables): - for i, new_item[i] in zip(iterable_positions, item): - pass - yield tuple(new_item) - - -def unique_in_window(iterable, n, key=None): - """Yield the items from *iterable* that haven't been seen recently. - *n* is the size of the lookback window. - - >>> iterable = [0, 1, 0, 2, 3, 0] - >>> n = 3 - >>> list(unique_in_window(iterable, n)) - [0, 1, 2, 3, 0] - - The *key* function, if provided, will be used to determine uniqueness: - - >>> list(unique_in_window('abAcda', 3, key=lambda x: x.lower())) - ['a', 'b', 'c', 'd', 'a'] - - The items in *iterable* must be hashable. - - """ - if n <= 0: - raise ValueError('n must be greater than 0') - - window = deque(maxlen=n) - counts = defaultdict(int) - use_key = key is not None - - for item in iterable: - if len(window) == n: - to_discard = window[0] - if counts[to_discard] == 1: - del counts[to_discard] - else: - counts[to_discard] -= 1 - - k = key(item) if use_key else item - if k not in counts: - yield item - counts[k] += 1 - window.append(k) - - -def duplicates_everseen(iterable, key=None): - """Yield duplicate elements after their first appearance. - - >>> list(duplicates_everseen('mississippi')) - ['s', 'i', 's', 's', 'i', 'p', 'i'] - >>> list(duplicates_everseen('AaaBbbCccAaa', str.lower)) - ['a', 'a', 'b', 'b', 'c', 'c', 'A', 'a', 'a'] - - This function is analogous to :func:`unique_everseen` and is subject to - the same performance considerations. - - """ - seen_set = set() - seen_list = [] - use_key = key is not None - - for element in iterable: - k = key(element) if use_key else element - try: - if k not in seen_set: - seen_set.add(k) - else: - yield element - except TypeError: - if k not in seen_list: - seen_list.append(k) - else: - yield element - - -def duplicates_justseen(iterable, key=None): - """Yields serially-duplicate elements after their first appearance. - - >>> list(duplicates_justseen('mississippi')) - ['s', 's', 'p'] - >>> list(duplicates_justseen('AaaBbbCccAaa', str.lower)) - ['a', 'a', 'b', 'b', 'c', 'c', 'a', 'a'] - - This function is analogous to :func:`unique_justseen`. - - """ - return flatten(g for _, g in groupby(iterable, key) for _ in g) - - -def classify_unique(iterable, key=None): - """Classify each element in terms of its uniqueness. - - For each element in the input iterable, return a 3-tuple consisting of: - - 1. The element itself - 2. ``False`` if the element is equal to the one preceding it in the input, - ``True`` otherwise (i.e. the equivalent of :func:`unique_justseen`) - 3. ``False`` if this element has been seen anywhere in the input before, - ``True`` otherwise (i.e. the equivalent of :func:`unique_everseen`) - - >>> list(classify_unique('otto')) # doctest: +NORMALIZE_WHITESPACE - [('o', True, True), - ('t', True, True), - ('t', False, False), - ('o', True, False)] - - This function is analogous to :func:`unique_everseen` and is subject to - the same performance considerations. - - """ - seen_set = set() - seen_list = [] - use_key = key is not None - previous = None - - for i, element in enumerate(iterable): - k = key(element) if use_key else element - is_unique_justseen = not i or previous != k - previous = k - is_unique_everseen = False - try: - if k not in seen_set: - seen_set.add(k) - is_unique_everseen = True - except TypeError: - if k not in seen_list: - seen_list.append(k) - is_unique_everseen = True - yield element, is_unique_justseen, is_unique_everseen - - -def minmax(iterable_or_value, *others, key=None, default=_marker): - """Returns both the smallest and largest items in an iterable - or the largest of two or more arguments. - - >>> minmax([3, 1, 5]) - (1, 5) - - >>> minmax(4, 2, 6) - (2, 6) - - If a *key* function is provided, it will be used to transform the input - items for comparison. - - >>> minmax([5, 30], key=str) # '30' sorts before '5' - (30, 5) - - If a *default* value is provided, it will be returned if there are no - input items. - - >>> minmax([], default=(0, 0)) - (0, 0) - - Otherwise ``ValueError`` is raised. - - This function is based on the - `recipe `__ by - Raymond Hettinger and takes care to minimize the number of comparisons - performed. - """ - iterable = (iterable_or_value, *others) if others else iterable_or_value - - it = iter(iterable) - - try: - lo = hi = next(it) - except StopIteration as exc: - if default is _marker: - raise ValueError( - '`minmax()` argument is an empty iterable. ' - 'Provide a `default` value to suppress this error.' - ) from exc - return default - - # Different branches depending on the presence of key. This saves a lot - # of unimportant copies which would slow the "key=None" branch - # significantly down. - if key is None: - for x, y in zip_longest(it, it, fillvalue=lo): - if y < x: - x, y = y, x - if x < lo: - lo = x - if hi < y: - hi = y - - else: - lo_key = hi_key = key(lo) - - for x, y in zip_longest(it, it, fillvalue=lo): - x_key, y_key = key(x), key(y) - - if y_key < x_key: - x, y, x_key, y_key = y, x, y_key, x_key - if x_key < lo_key: - lo, lo_key = x, x_key - if hi_key < y_key: - hi, hi_key = y, y_key - - return lo, hi - - -def constrained_batches( - iterable, max_size, max_count=None, get_len=len, strict=True -): - """Yield batches of items from *iterable* with a combined size limited by - *max_size*. - - >>> iterable = [b'12345', b'123', b'12345678', b'1', b'1', b'12', b'1'] - >>> list(constrained_batches(iterable, 10)) - [(b'12345', b'123'), (b'12345678', b'1', b'1'), (b'12', b'1')] - - If a *max_count* is supplied, the number of items per batch is also - limited: - - >>> iterable = [b'12345', b'123', b'12345678', b'1', b'1', b'12', b'1'] - >>> list(constrained_batches(iterable, 10, max_count = 2)) - [(b'12345', b'123'), (b'12345678', b'1'), (b'1', b'12'), (b'1',)] - - If a *get_len* function is supplied, use that instead of :func:`len` to - determine item size. - - If *strict* is ``True``, raise ``ValueError`` if any single item is bigger - than *max_size*. Otherwise, allow single items to exceed *max_size*. - """ - if max_size <= 0: - raise ValueError('maximum size must be greater than zero') - - batch = [] - batch_size = 0 - batch_count = 0 - for item in iterable: - item_len = get_len(item) - if strict and item_len > max_size: - raise ValueError('item size exceeds maximum size') - - reached_count = batch_count == max_count - reached_size = item_len + batch_size > max_size - if batch_count and (reached_size or reached_count): - yield tuple(batch) - batch.clear() - batch_size = 0 - batch_count = 0 - - batch.append(item) - batch_size += item_len - batch_count += 1 - - if batch: - yield tuple(batch) - - -def gray_product(*iterables): - """Like :func:`itertools.product`, but return tuples in an order such - that only one element in the generated tuple changes from one iteration - to the next. - - >>> list(gray_product('AB','CD')) - [('A', 'C'), ('B', 'C'), ('B', 'D'), ('A', 'D')] - - This function consumes all of the input iterables before producing output. - If any of the input iterables have fewer than two items, ``ValueError`` - is raised. - - For information on the algorithm, see - `this section `__ - of Donald Knuth's *The Art of Computer Programming*. - """ - all_iterables = tuple(tuple(x) for x in iterables) - iterable_count = len(all_iterables) - for iterable in all_iterables: - if len(iterable) < 2: - raise ValueError("each iterable must have two or more items") - - # This is based on "Algorithm H" from section 7.2.1.1, page 20. - # a holds the indexes of the source iterables for the n-tuple to be yielded - # f is the array of "focus pointers" - # o is the array of "directions" - a = [0] * iterable_count - f = list(range(iterable_count + 1)) - o = [1] * iterable_count - while True: - yield tuple(all_iterables[i][a[i]] for i in range(iterable_count)) - j = f[0] - f[0] = 0 - if j == iterable_count: - break - a[j] = a[j] + o[j] - if a[j] == 0 or a[j] == len(all_iterables[j]) - 1: - o[j] = -o[j] - f[j] = f[j + 1] - f[j + 1] = j + 1 - - -def partial_product(*iterables): - """Yields tuples containing one item from each iterator, with subsequent - tuples changing a single item at a time by advancing each iterator until it - is exhausted. This sequence guarantees every value in each iterable is - output at least once without generating all possible combinations. - - This may be useful, for example, when testing an expensive function. - - >>> list(partial_product('AB', 'C', 'DEF')) - [('A', 'C', 'D'), ('B', 'C', 'D'), ('B', 'C', 'E'), ('B', 'C', 'F')] - """ - - iterators = list(map(iter, iterables)) - - try: - prod = [next(it) for it in iterators] - except StopIteration: - return - yield tuple(prod) - - for i, it in enumerate(iterators): - for prod[i] in it: - yield tuple(prod) - - -def takewhile_inclusive(predicate, iterable): - """A variant of :func:`takewhile` that yields one additional element. - - >>> list(takewhile_inclusive(lambda x: x < 5, [1, 4, 6, 4, 1])) - [1, 4, 6] - - :func:`takewhile` would return ``[1, 4]``. - """ - for x in iterable: - yield x - if not predicate(x): - break - - -def outer_product(func, xs, ys, *args, **kwargs): - """A generalized outer product that applies a binary function to all - pairs of items. Returns a 2D matrix with ``len(xs)`` rows and ``len(ys)`` - columns. - Also accepts ``*args`` and ``**kwargs`` that are passed to ``func``. - - Multiplication table: - - >>> list(outer_product(mul, range(1, 4), range(1, 6))) - [(1, 2, 3, 4, 5), (2, 4, 6, 8, 10), (3, 6, 9, 12, 15)] - - Cross tabulation: - - >>> xs = ['A', 'B', 'A', 'A', 'B', 'B', 'A', 'A', 'B', 'B'] - >>> ys = ['X', 'X', 'X', 'Y', 'Z', 'Z', 'Y', 'Y', 'Z', 'Z'] - >>> rows = list(zip(xs, ys)) - >>> count_rows = lambda x, y: rows.count((x, y)) - >>> list(outer_product(count_rows, sorted(set(xs)), sorted(set(ys)))) - [(2, 3, 0), (1, 0, 4)] - - Usage with ``*args`` and ``**kwargs``: - - >>> animals = ['cat', 'wolf', 'mouse'] - >>> list(outer_product(min, animals, animals, key=len)) - [('cat', 'cat', 'cat'), ('cat', 'wolf', 'wolf'), ('cat', 'wolf', 'mouse')] - """ - ys = tuple(ys) - return batched( - starmap(lambda x, y: func(x, y, *args, **kwargs), product(xs, ys)), - n=len(ys), - ) - - -def iter_suppress(iterable, *exceptions): - """Yield each of the items from *iterable*. If the iteration raises one of - the specified *exceptions*, that exception will be suppressed and iteration - will stop. - - >>> from itertools import chain - >>> def breaks_at_five(x): - ... while True: - ... if x >= 5: - ... raise RuntimeError - ... yield x - ... x += 1 - >>> it_1 = iter_suppress(breaks_at_five(1), RuntimeError) - >>> it_2 = iter_suppress(breaks_at_five(2), RuntimeError) - >>> list(chain(it_1, it_2)) - [1, 2, 3, 4, 2, 3, 4] - """ - try: - yield from iterable - except exceptions: - return - - -def filter_map(func, iterable): - """Apply *func* to every element of *iterable*, yielding only those which - are not ``None``. - - >>> elems = ['1', 'a', '2', 'b', '3'] - >>> list(filter_map(lambda s: int(s) if s.isnumeric() else None, elems)) - [1, 2, 3] - """ - for x in iterable: - y = func(x) - if y is not None: - yield y - - -def powerset_of_sets(iterable): - """Yields all possible subsets of the iterable. - - >>> list(powerset_of_sets([1, 2, 3])) # doctest: +SKIP - [set(), {1}, {2}, {3}, {1, 2}, {1, 3}, {2, 3}, {1, 2, 3}] - >>> list(powerset_of_sets([1, 1, 0])) # doctest: +SKIP - [set(), {1}, {0}, {0, 1}] - - :func:`powerset_of_sets` takes care to minimize the number - of hash operations performed. - """ - sets = tuple(map(set, dict.fromkeys(map(frozenset, zip(iterable))))) - for r in range(len(sets) + 1): - yield from starmap(set().union, combinations(sets, r)) - - -def join_mappings(**field_to_map): - """ - Joins multiple mappings together using their common keys. - - >>> user_scores = {'elliot': 50, 'claris': 60} - >>> user_times = {'elliot': 30, 'claris': 40} - >>> join_mappings(score=user_scores, time=user_times) - {'elliot': {'score': 50, 'time': 30}, 'claris': {'score': 60, 'time': 40}} - """ - ret = defaultdict(dict) - - for field_name, mapping in field_to_map.items(): - for key, value in mapping.items(): - ret[key][field_name] = value - - return dict(ret) - - -def _complex_sumprod(v1, v2): - """High precision sumprod() for complex numbers. - Used by :func:`dft` and :func:`idft`. - """ - - r1 = chain((p.real for p in v1), (-p.imag for p in v1)) - r2 = chain((q.real for q in v2), (q.imag for q in v2)) - i1 = chain((p.real for p in v1), (p.imag for p in v1)) - i2 = chain((q.imag for q in v2), (q.real for q in v2)) - return complex(_fsumprod(r1, r2), _fsumprod(i1, i2)) - - -def dft(xarr): - """Discrete Fourier Tranform. *xarr* is a sequence of complex numbers. - Yields the components of the corresponding transformed output vector. - - >>> import cmath - >>> xarr = [1, 2-1j, -1j, -1+2j] - >>> Xarr = [2, -2-2j, -2j, 4+4j] - >>> all(map(cmath.isclose, dft(xarr), Xarr)) - True - - See :func:`idft` for the inverse Discrete Fourier Transform. - """ - N = len(xarr) - roots_of_unity = [e ** (n / N * tau * -1j) for n in range(N)] - for k in range(N): - coeffs = [roots_of_unity[k * n % N] for n in range(N)] - yield _complex_sumprod(xarr, coeffs) - - -def idft(Xarr): - """Inverse Discrete Fourier Tranform. *Xarr* is a sequence of - complex numbers. Yields the components of the corresponding - inverse-transformed output vector. - - >>> import cmath - >>> xarr = [1, 2-1j, -1j, -1+2j] - >>> Xarr = [2, -2-2j, -2j, 4+4j] - >>> all(map(cmath.isclose, idft(Xarr), xarr)) - True - - See :func:`dft` for the Discrete Fourier Transform. - """ - N = len(Xarr) - roots_of_unity = [e ** (n / N * tau * 1j) for n in range(N)] - for k in range(N): - coeffs = [roots_of_unity[k * n % N] for n in range(N)] - yield _complex_sumprod(Xarr, coeffs) / N - - -def doublestarmap(func, iterable): - """Apply *func* to every item of *iterable* by dictionary unpacking - the item into *func*. - - The difference between :func:`itertools.starmap` and :func:`doublestarmap` - parallels the distinction between ``func(*a)`` and ``func(**a)``. - - >>> iterable = [{'a': 1, 'b': 2}, {'a': 40, 'b': 60}] - >>> list(doublestarmap(lambda a, b: a + b, iterable)) - [3, 100] - - ``TypeError`` will be raised if *func*'s signature doesn't match the - mapping contained in *iterable* or if *iterable* does not contain mappings. - """ - for item in iterable: - yield func(**item) diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/more.pyi b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/more.pyi deleted file mode 100644 index e9460232..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/more.pyi +++ /dev/null @@ -1,709 +0,0 @@ -"""Stubs for more_itertools.more""" - -from __future__ import annotations - -from types import TracebackType -from typing import ( - Any, - Callable, - Container, - ContextManager, - Generic, - Hashable, - Mapping, - Iterable, - Iterator, - Mapping, - overload, - Reversible, - Sequence, - Sized, - Type, - TypeVar, - type_check_only, -) -from typing_extensions import Protocol - -# Type and type variable definitions -_T = TypeVar('_T') -_T1 = TypeVar('_T1') -_T2 = TypeVar('_T2') -_U = TypeVar('_U') -_V = TypeVar('_V') -_W = TypeVar('_W') -_T_co = TypeVar('_T_co', covariant=True) -_GenFn = TypeVar('_GenFn', bound=Callable[..., Iterator[Any]]) -_Raisable = BaseException | Type[BaseException] - -@type_check_only -class _SizedIterable(Protocol[_T_co], Sized, Iterable[_T_co]): ... - -@type_check_only -class _SizedReversible(Protocol[_T_co], Sized, Reversible[_T_co]): ... - -@type_check_only -class _SupportsSlicing(Protocol[_T_co]): - def __getitem__(self, __k: slice) -> _T_co: ... - -def chunked( - iterable: Iterable[_T], n: int | None, strict: bool = ... -) -> Iterator[list[_T]]: ... -@overload -def first(iterable: Iterable[_T]) -> _T: ... -@overload -def first(iterable: Iterable[_T], default: _U) -> _T | _U: ... -@overload -def last(iterable: Iterable[_T]) -> _T: ... -@overload -def last(iterable: Iterable[_T], default: _U) -> _T | _U: ... -@overload -def nth_or_last(iterable: Iterable[_T], n: int) -> _T: ... -@overload -def nth_or_last(iterable: Iterable[_T], n: int, default: _U) -> _T | _U: ... - -class peekable(Generic[_T], Iterator[_T]): - def __init__(self, iterable: Iterable[_T]) -> None: ... - def __iter__(self) -> peekable[_T]: ... - def __bool__(self) -> bool: ... - @overload - def peek(self) -> _T: ... - @overload - def peek(self, default: _U) -> _T | _U: ... - def prepend(self, *items: _T) -> None: ... - def __next__(self) -> _T: ... - @overload - def __getitem__(self, index: int) -> _T: ... - @overload - def __getitem__(self, index: slice) -> list[_T]: ... - -def consumer(func: _GenFn) -> _GenFn: ... -def ilen(iterable: Iterable[_T]) -> int: ... -def iterate(func: Callable[[_T], _T], start: _T) -> Iterator[_T]: ... -def with_iter( - context_manager: ContextManager[Iterable[_T]], -) -> Iterator[_T]: ... -def one( - iterable: Iterable[_T], - too_short: _Raisable | None = ..., - too_long: _Raisable | None = ..., -) -> _T: ... -def raise_(exception: _Raisable, *args: Any) -> None: ... -def strictly_n( - iterable: Iterable[_T], - n: int, - too_short: _GenFn | None = ..., - too_long: _GenFn | None = ..., -) -> list[_T]: ... -def distinct_permutations( - iterable: Iterable[_T], r: int | None = ... -) -> Iterator[tuple[_T, ...]]: ... -def intersperse( - e: _U, iterable: Iterable[_T], n: int = ... -) -> Iterator[_T | _U]: ... -def unique_to_each(*iterables: Iterable[_T]) -> list[list[_T]]: ... -@overload -def windowed( - seq: Iterable[_T], n: int, *, step: int = ... -) -> Iterator[tuple[_T | None, ...]]: ... -@overload -def windowed( - seq: Iterable[_T], n: int, fillvalue: _U, step: int = ... -) -> Iterator[tuple[_T | _U, ...]]: ... -def substrings(iterable: Iterable[_T]) -> Iterator[tuple[_T, ...]]: ... -def substrings_indexes( - seq: Sequence[_T], reverse: bool = ... -) -> Iterator[tuple[Sequence[_T], int, int]]: ... - -class bucket(Generic[_T, _U], Container[_U]): - def __init__( - self, - iterable: Iterable[_T], - key: Callable[[_T], _U], - validator: Callable[[_U], object] | None = ..., - ) -> None: ... - def __contains__(self, value: object) -> bool: ... - def __iter__(self) -> Iterator[_U]: ... - def __getitem__(self, value: object) -> Iterator[_T]: ... - -def spy( - iterable: Iterable[_T], n: int = ... -) -> tuple[list[_T], Iterator[_T]]: ... -def interleave(*iterables: Iterable[_T]) -> Iterator[_T]: ... -def interleave_longest(*iterables: Iterable[_T]) -> Iterator[_T]: ... -def interleave_evenly( - iterables: list[Iterable[_T]], lengths: list[int] | None = ... -) -> Iterator[_T]: ... -def collapse( - iterable: Iterable[Any], - base_type: type | None = ..., - levels: int | None = ..., -) -> Iterator[Any]: ... -@overload -def side_effect( - func: Callable[[_T], object], - iterable: Iterable[_T], - chunk_size: None = ..., - before: Callable[[], object] | None = ..., - after: Callable[[], object] | None = ..., -) -> Iterator[_T]: ... -@overload -def side_effect( - func: Callable[[list[_T]], object], - iterable: Iterable[_T], - chunk_size: int, - before: Callable[[], object] | None = ..., - after: Callable[[], object] | None = ..., -) -> Iterator[_T]: ... -def sliced( - seq: _SupportsSlicing[_T], n: int, strict: bool = ... -) -> Iterator[_T]: ... -def split_at( - iterable: Iterable[_T], - pred: Callable[[_T], object], - maxsplit: int = ..., - keep_separator: bool = ..., -) -> Iterator[list[_T]]: ... -def split_before( - iterable: Iterable[_T], pred: Callable[[_T], object], maxsplit: int = ... -) -> Iterator[list[_T]]: ... -def split_after( - iterable: Iterable[_T], pred: Callable[[_T], object], maxsplit: int = ... -) -> Iterator[list[_T]]: ... -def split_when( - iterable: Iterable[_T], - pred: Callable[[_T, _T], object], - maxsplit: int = ..., -) -> Iterator[list[_T]]: ... -def split_into( - iterable: Iterable[_T], sizes: Iterable[int | None] -) -> Iterator[list[_T]]: ... -@overload -def padded( - iterable: Iterable[_T], - *, - n: int | None = ..., - next_multiple: bool = ..., -) -> Iterator[_T | None]: ... -@overload -def padded( - iterable: Iterable[_T], - fillvalue: _U, - n: int | None = ..., - next_multiple: bool = ..., -) -> Iterator[_T | _U]: ... -@overload -def repeat_last(iterable: Iterable[_T]) -> Iterator[_T]: ... -@overload -def repeat_last(iterable: Iterable[_T], default: _U) -> Iterator[_T | _U]: ... -def distribute(n: int, iterable: Iterable[_T]) -> list[Iterator[_T]]: ... -@overload -def stagger( - iterable: Iterable[_T], - offsets: _SizedIterable[int] = ..., - longest: bool = ..., -) -> Iterator[tuple[_T | None, ...]]: ... -@overload -def stagger( - iterable: Iterable[_T], - offsets: _SizedIterable[int] = ..., - longest: bool = ..., - fillvalue: _U = ..., -) -> Iterator[tuple[_T | _U, ...]]: ... - -class UnequalIterablesError(ValueError): - def __init__(self, details: tuple[int, int, int] | None = ...) -> None: ... - -@overload -def zip_equal(__iter1: Iterable[_T1]) -> Iterator[tuple[_T1]]: ... -@overload -def zip_equal( - __iter1: Iterable[_T1], __iter2: Iterable[_T2] -) -> Iterator[tuple[_T1, _T2]]: ... -@overload -def zip_equal( - __iter1: Iterable[_T], - __iter2: Iterable[_T], - __iter3: Iterable[_T], - *iterables: Iterable[_T], -) -> Iterator[tuple[_T, ...]]: ... -@overload -def zip_offset( - __iter1: Iterable[_T1], - *, - offsets: _SizedIterable[int], - longest: bool = ..., - fillvalue: None = None, -) -> Iterator[tuple[_T1 | None]]: ... -@overload -def zip_offset( - __iter1: Iterable[_T1], - __iter2: Iterable[_T2], - *, - offsets: _SizedIterable[int], - longest: bool = ..., - fillvalue: None = None, -) -> Iterator[tuple[_T1 | None, _T2 | None]]: ... -@overload -def zip_offset( - __iter1: Iterable[_T], - __iter2: Iterable[_T], - __iter3: Iterable[_T], - *iterables: Iterable[_T], - offsets: _SizedIterable[int], - longest: bool = ..., - fillvalue: None = None, -) -> Iterator[tuple[_T | None, ...]]: ... -@overload -def zip_offset( - __iter1: Iterable[_T1], - *, - offsets: _SizedIterable[int], - longest: bool = ..., - fillvalue: _U, -) -> Iterator[tuple[_T1 | _U]]: ... -@overload -def zip_offset( - __iter1: Iterable[_T1], - __iter2: Iterable[_T2], - *, - offsets: _SizedIterable[int], - longest: bool = ..., - fillvalue: _U, -) -> Iterator[tuple[_T1 | _U, _T2 | _U]]: ... -@overload -def zip_offset( - __iter1: Iterable[_T], - __iter2: Iterable[_T], - __iter3: Iterable[_T], - *iterables: Iterable[_T], - offsets: _SizedIterable[int], - longest: bool = ..., - fillvalue: _U, -) -> Iterator[tuple[_T | _U, ...]]: ... -def sort_together( - iterables: Iterable[Iterable[_T]], - key_list: Iterable[int] = ..., - key: Callable[..., Any] | None = ..., - reverse: bool = ..., -) -> list[tuple[_T, ...]]: ... -def unzip(iterable: Iterable[Sequence[_T]]) -> tuple[Iterator[_T], ...]: ... -def divide(n: int, iterable: Iterable[_T]) -> list[Iterator[_T]]: ... -def always_iterable( - obj: object, - base_type: type | tuple[type | tuple[Any, ...], ...] | None = ..., -) -> Iterator[Any]: ... -def adjacent( - predicate: Callable[[_T], bool], - iterable: Iterable[_T], - distance: int = ..., -) -> Iterator[tuple[bool, _T]]: ... -@overload -def groupby_transform( - iterable: Iterable[_T], - keyfunc: None = None, - valuefunc: None = None, - reducefunc: None = None, -) -> Iterator[tuple[_T, Iterator[_T]]]: ... -@overload -def groupby_transform( - iterable: Iterable[_T], - keyfunc: Callable[[_T], _U], - valuefunc: None, - reducefunc: None, -) -> Iterator[tuple[_U, Iterator[_T]]]: ... -@overload -def groupby_transform( - iterable: Iterable[_T], - keyfunc: None, - valuefunc: Callable[[_T], _V], - reducefunc: None, -) -> Iterable[tuple[_T, Iterable[_V]]]: ... -@overload -def groupby_transform( - iterable: Iterable[_T], - keyfunc: Callable[[_T], _U], - valuefunc: Callable[[_T], _V], - reducefunc: None, -) -> Iterable[tuple[_U, Iterator[_V]]]: ... -@overload -def groupby_transform( - iterable: Iterable[_T], - keyfunc: None, - valuefunc: None, - reducefunc: Callable[[Iterator[_T]], _W], -) -> Iterable[tuple[_T, _W]]: ... -@overload -def groupby_transform( - iterable: Iterable[_T], - keyfunc: Callable[[_T], _U], - valuefunc: None, - reducefunc: Callable[[Iterator[_T]], _W], -) -> Iterable[tuple[_U, _W]]: ... -@overload -def groupby_transform( - iterable: Iterable[_T], - keyfunc: None, - valuefunc: Callable[[_T], _V], - reducefunc: Callable[[Iterable[_V]], _W], -) -> Iterable[tuple[_T, _W]]: ... -@overload -def groupby_transform( - iterable: Iterable[_T], - keyfunc: Callable[[_T], _U], - valuefunc: Callable[[_T], _V], - reducefunc: Callable[[Iterable[_V]], _W], -) -> Iterable[tuple[_U, _W]]: ... - -class numeric_range(Generic[_T, _U], Sequence[_T], Hashable, Reversible[_T]): - @overload - def __init__(self, __stop: _T) -> None: ... - @overload - def __init__(self, __start: _T, __stop: _T) -> None: ... - @overload - def __init__(self, __start: _T, __stop: _T, __step: _U) -> None: ... - def __bool__(self) -> bool: ... - def __contains__(self, elem: object) -> bool: ... - def __eq__(self, other: object) -> bool: ... - @overload - def __getitem__(self, key: int) -> _T: ... - @overload - def __getitem__(self, key: slice) -> numeric_range[_T, _U]: ... - def __hash__(self) -> int: ... - def __iter__(self) -> Iterator[_T]: ... - def __len__(self) -> int: ... - def __reduce__( - self, - ) -> tuple[Type[numeric_range[_T, _U]], tuple[_T, _T, _U]]: ... - def __repr__(self) -> str: ... - def __reversed__(self) -> Iterator[_T]: ... - def count(self, value: _T) -> int: ... - def index(self, value: _T) -> int: ... # type: ignore - -def count_cycle( - iterable: Iterable[_T], n: int | None = ... -) -> Iterable[tuple[int, _T]]: ... -def mark_ends( - iterable: Iterable[_T], -) -> Iterable[tuple[bool, bool, _T]]: ... -def locate( - iterable: Iterable[_T], - pred: Callable[..., Any] = ..., - window_size: int | None = ..., -) -> Iterator[int]: ... -def lstrip( - iterable: Iterable[_T], pred: Callable[[_T], object] -) -> Iterator[_T]: ... -def rstrip( - iterable: Iterable[_T], pred: Callable[[_T], object] -) -> Iterator[_T]: ... -def strip( - iterable: Iterable[_T], pred: Callable[[_T], object] -) -> Iterator[_T]: ... - -class islice_extended(Generic[_T], Iterator[_T]): - def __init__(self, iterable: Iterable[_T], *args: int | None) -> None: ... - def __iter__(self) -> islice_extended[_T]: ... - def __next__(self) -> _T: ... - def __getitem__(self, index: slice) -> islice_extended[_T]: ... - -def always_reversible(iterable: Iterable[_T]) -> Iterator[_T]: ... -def consecutive_groups( - iterable: Iterable[_T], ordering: Callable[[_T], int] = ... -) -> Iterator[Iterator[_T]]: ... -@overload -def difference( - iterable: Iterable[_T], - func: Callable[[_T, _T], _U] = ..., - *, - initial: None = ..., -) -> Iterator[_T | _U]: ... -@overload -def difference( - iterable: Iterable[_T], func: Callable[[_T, _T], _U] = ..., *, initial: _U -) -> Iterator[_U]: ... - -class SequenceView(Generic[_T], Sequence[_T]): - def __init__(self, target: Sequence[_T]) -> None: ... - @overload - def __getitem__(self, index: int) -> _T: ... - @overload - def __getitem__(self, index: slice) -> Sequence[_T]: ... - def __len__(self) -> int: ... - -class seekable(Generic[_T], Iterator[_T]): - def __init__( - self, iterable: Iterable[_T], maxlen: int | None = ... - ) -> None: ... - def __iter__(self) -> seekable[_T]: ... - def __next__(self) -> _T: ... - def __bool__(self) -> bool: ... - @overload - def peek(self) -> _T: ... - @overload - def peek(self, default: _U) -> _T | _U: ... - def elements(self) -> SequenceView[_T]: ... - def seek(self, index: int) -> None: ... - def relative_seek(self, count: int) -> None: ... - -class run_length: - @staticmethod - def encode(iterable: Iterable[_T]) -> Iterator[tuple[_T, int]]: ... - @staticmethod - def decode(iterable: Iterable[tuple[_T, int]]) -> Iterator[_T]: ... - -def exactly_n( - iterable: Iterable[_T], n: int, predicate: Callable[[_T], object] = ... -) -> bool: ... -def circular_shifts(iterable: Iterable[_T]) -> list[tuple[_T, ...]]: ... -def make_decorator( - wrapping_func: Callable[..., _U], result_index: int = ... -) -> Callable[..., Callable[[Callable[..., Any]], Callable[..., _U]]]: ... -@overload -def map_reduce( - iterable: Iterable[_T], - keyfunc: Callable[[_T], _U], - valuefunc: None = ..., - reducefunc: None = ..., -) -> dict[_U, list[_T]]: ... -@overload -def map_reduce( - iterable: Iterable[_T], - keyfunc: Callable[[_T], _U], - valuefunc: Callable[[_T], _V], - reducefunc: None = ..., -) -> dict[_U, list[_V]]: ... -@overload -def map_reduce( - iterable: Iterable[_T], - keyfunc: Callable[[_T], _U], - valuefunc: None = ..., - reducefunc: Callable[[list[_T]], _W] = ..., -) -> dict[_U, _W]: ... -@overload -def map_reduce( - iterable: Iterable[_T], - keyfunc: Callable[[_T], _U], - valuefunc: Callable[[_T], _V], - reducefunc: Callable[[list[_V]], _W], -) -> dict[_U, _W]: ... -def rlocate( - iterable: Iterable[_T], - pred: Callable[..., object] = ..., - window_size: int | None = ..., -) -> Iterator[int]: ... -def replace( - iterable: Iterable[_T], - pred: Callable[..., object], - substitutes: Iterable[_U], - count: int | None = ..., - window_size: int = ..., -) -> Iterator[_T | _U]: ... -def partitions(iterable: Iterable[_T]) -> Iterator[list[list[_T]]]: ... -def set_partitions( - iterable: Iterable[_T], k: int | None = ... -) -> Iterator[list[list[_T]]]: ... - -class time_limited(Generic[_T], Iterator[_T]): - def __init__( - self, limit_seconds: float, iterable: Iterable[_T] - ) -> None: ... - def __iter__(self) -> islice_extended[_T]: ... - def __next__(self) -> _T: ... - -@overload -def only( - iterable: Iterable[_T], *, too_long: _Raisable | None = ... -) -> _T | None: ... -@overload -def only( - iterable: Iterable[_T], default: _U, too_long: _Raisable | None = ... -) -> _T | _U: ... -def ichunked(iterable: Iterable[_T], n: int) -> Iterator[Iterator[_T]]: ... -def distinct_combinations( - iterable: Iterable[_T], r: int -) -> Iterator[tuple[_T, ...]]: ... -def filter_except( - validator: Callable[[Any], object], - iterable: Iterable[_T], - *exceptions: Type[BaseException], -) -> Iterator[_T]: ... -def map_except( - function: Callable[[Any], _U], - iterable: Iterable[_T], - *exceptions: Type[BaseException], -) -> Iterator[_U]: ... -def map_if( - iterable: Iterable[Any], - pred: Callable[[Any], bool], - func: Callable[[Any], Any], - func_else: Callable[[Any], Any] | None = ..., -) -> Iterator[Any]: ... -def sample( - iterable: Iterable[_T], - k: int, - weights: Iterable[float] | None = ..., -) -> list[_T]: ... -def is_sorted( - iterable: Iterable[_T], - key: Callable[[_T], _U] | None = ..., - reverse: bool = False, - strict: bool = False, -) -> bool: ... - -class AbortThread(BaseException): - pass - -class callback_iter(Generic[_T], Iterator[_T]): - def __init__( - self, - func: Callable[..., Any], - callback_kwd: str = ..., - wait_seconds: float = ..., - ) -> None: ... - def __enter__(self) -> callback_iter[_T]: ... - def __exit__( - self, - exc_type: Type[BaseException] | None, - exc_value: BaseException | None, - traceback: TracebackType | None, - ) -> bool | None: ... - def __iter__(self) -> callback_iter[_T]: ... - def __next__(self) -> _T: ... - def _reader(self) -> Iterator[_T]: ... - @property - def done(self) -> bool: ... - @property - def result(self) -> Any: ... - -def windowed_complete( - iterable: Iterable[_T], n: int -) -> Iterator[tuple[_T, ...]]: ... -def all_unique( - iterable: Iterable[_T], key: Callable[[_T], _U] | None = ... -) -> bool: ... -def nth_product(index: int, *args: Iterable[_T]) -> tuple[_T, ...]: ... -def nth_combination_with_replacement( - iterable: Iterable[_T], r: int, index: int -) -> tuple[_T, ...]: ... -def nth_permutation( - iterable: Iterable[_T], r: int, index: int -) -> tuple[_T, ...]: ... -def value_chain(*args: _T | Iterable[_T]) -> Iterable[_T]: ... -def product_index(element: Iterable[_T], *args: Iterable[_T]) -> int: ... -def combination_index( - element: Iterable[_T], iterable: Iterable[_T] -) -> int: ... -def combination_with_replacement_index( - element: Iterable[_T], iterable: Iterable[_T] -) -> int: ... -def permutation_index( - element: Iterable[_T], iterable: Iterable[_T] -) -> int: ... -def repeat_each(iterable: Iterable[_T], n: int = ...) -> Iterator[_T]: ... - -class countable(Generic[_T], Iterator[_T]): - def __init__(self, iterable: Iterable[_T]) -> None: ... - def __iter__(self) -> countable[_T]: ... - def __next__(self) -> _T: ... - items_seen: int - -def chunked_even(iterable: Iterable[_T], n: int) -> Iterator[list[_T]]: ... -def zip_broadcast( - *objects: _T | Iterable[_T], - scalar_types: type | tuple[type | tuple[Any, ...], ...] | None = ..., - strict: bool = ..., -) -> Iterable[tuple[_T, ...]]: ... -def unique_in_window( - iterable: Iterable[_T], n: int, key: Callable[[_T], _U] | None = ... -) -> Iterator[_T]: ... -def duplicates_everseen( - iterable: Iterable[_T], key: Callable[[_T], _U] | None = ... -) -> Iterator[_T]: ... -def duplicates_justseen( - iterable: Iterable[_T], key: Callable[[_T], _U] | None = ... -) -> Iterator[_T]: ... -def classify_unique( - iterable: Iterable[_T], key: Callable[[_T], _U] | None = ... -) -> Iterator[tuple[_T, bool, bool]]: ... - -class _SupportsLessThan(Protocol): - def __lt__(self, __other: Any) -> bool: ... - -_SupportsLessThanT = TypeVar("_SupportsLessThanT", bound=_SupportsLessThan) - -@overload -def minmax( - iterable_or_value: Iterable[_SupportsLessThanT], *, key: None = None -) -> tuple[_SupportsLessThanT, _SupportsLessThanT]: ... -@overload -def minmax( - iterable_or_value: Iterable[_T], *, key: Callable[[_T], _SupportsLessThan] -) -> tuple[_T, _T]: ... -@overload -def minmax( - iterable_or_value: Iterable[_SupportsLessThanT], - *, - key: None = None, - default: _U, -) -> _U | tuple[_SupportsLessThanT, _SupportsLessThanT]: ... -@overload -def minmax( - iterable_or_value: Iterable[_T], - *, - key: Callable[[_T], _SupportsLessThan], - default: _U, -) -> _U | tuple[_T, _T]: ... -@overload -def minmax( - iterable_or_value: _SupportsLessThanT, - __other: _SupportsLessThanT, - *others: _SupportsLessThanT, -) -> tuple[_SupportsLessThanT, _SupportsLessThanT]: ... -@overload -def minmax( - iterable_or_value: _T, - __other: _T, - *others: _T, - key: Callable[[_T], _SupportsLessThan], -) -> tuple[_T, _T]: ... -def longest_common_prefix( - iterables: Iterable[Iterable[_T]], -) -> Iterator[_T]: ... -def iequals(*iterables: Iterable[Any]) -> bool: ... -def constrained_batches( - iterable: Iterable[_T], - max_size: int, - max_count: int | None = ..., - get_len: Callable[[_T], object] = ..., - strict: bool = ..., -) -> Iterator[tuple[_T]]: ... -def gray_product(*iterables: Iterable[_T]) -> Iterator[tuple[_T, ...]]: ... -def partial_product(*iterables: Iterable[_T]) -> Iterator[tuple[_T, ...]]: ... -def takewhile_inclusive( - predicate: Callable[[_T], bool], iterable: Iterable[_T] -) -> Iterator[_T]: ... -def outer_product( - func: Callable[[_T, _U], _V], - xs: Iterable[_T], - ys: Iterable[_U], - *args: Any, - **kwargs: Any, -) -> Iterator[tuple[_V, ...]]: ... -def iter_suppress( - iterable: Iterable[_T], - *exceptions: Type[BaseException], -) -> Iterator[_T]: ... -def filter_map( - func: Callable[[_T], _V | None], - iterable: Iterable[_T], -) -> Iterator[_V]: ... -def powerset_of_sets(iterable: Iterable[_T]) -> Iterator[set[_T]]: ... -def join_mappings( - **field_to_map: Mapping[_T, _V] -) -> dict[_T, dict[str, _V]]: ... -def doublestarmap( - func: Callable[..., _T], - iterable: Iterable[Mapping[str, Any]], -) -> Iterator[_T]: ... -def dft(xarr: Sequence[complex]) -> Iterator[complex]: ... -def idft(Xarr: Sequence[complex]) -> Iterator[complex]: ... diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/py.typed b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/recipes.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/recipes.py deleted file mode 100644 index b32fa955..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/recipes.py +++ /dev/null @@ -1,1046 +0,0 @@ -"""Imported from the recipes section of the itertools documentation. - -All functions taken from the recipes section of the itertools library docs -[1]_. -Some backward-compatible usability improvements have been made. - -.. [1] http://docs.python.org/library/itertools.html#recipes - -""" - -import math -import operator - -from collections import deque -from collections.abc import Sized -from functools import partial, reduce -from itertools import ( - chain, - combinations, - compress, - count, - cycle, - groupby, - islice, - product, - repeat, - starmap, - tee, - zip_longest, -) -from random import randrange, sample, choice -from sys import hexversion - -__all__ = [ - 'all_equal', - 'batched', - 'before_and_after', - 'consume', - 'convolve', - 'dotproduct', - 'first_true', - 'factor', - 'flatten', - 'grouper', - 'iter_except', - 'iter_index', - 'matmul', - 'ncycles', - 'nth', - 'nth_combination', - 'padnone', - 'pad_none', - 'pairwise', - 'partition', - 'polynomial_eval', - 'polynomial_from_roots', - 'polynomial_derivative', - 'powerset', - 'prepend', - 'quantify', - 'reshape', - 'random_combination_with_replacement', - 'random_combination', - 'random_permutation', - 'random_product', - 'repeatfunc', - 'roundrobin', - 'sieve', - 'sliding_window', - 'subslices', - 'sum_of_squares', - 'tabulate', - 'tail', - 'take', - 'totient', - 'transpose', - 'triplewise', - 'unique', - 'unique_everseen', - 'unique_justseen', -] - -_marker = object() - - -# zip with strict is available for Python 3.10+ -try: - zip(strict=True) -except TypeError: - _zip_strict = zip -else: - _zip_strict = partial(zip, strict=True) - -# math.sumprod is available for Python 3.12+ -_sumprod = getattr(math, 'sumprod', lambda x, y: dotproduct(x, y)) - - -def take(n, iterable): - """Return first *n* items of the iterable as a list. - - >>> take(3, range(10)) - [0, 1, 2] - - If there are fewer than *n* items in the iterable, all of them are - returned. - - >>> take(10, range(3)) - [0, 1, 2] - - """ - return list(islice(iterable, n)) - - -def tabulate(function, start=0): - """Return an iterator over the results of ``func(start)``, - ``func(start + 1)``, ``func(start + 2)``... - - *func* should be a function that accepts one integer argument. - - If *start* is not specified it defaults to 0. It will be incremented each - time the iterator is advanced. - - >>> square = lambda x: x ** 2 - >>> iterator = tabulate(square, -3) - >>> take(4, iterator) - [9, 4, 1, 0] - - """ - return map(function, count(start)) - - -def tail(n, iterable): - """Return an iterator over the last *n* items of *iterable*. - - >>> t = tail(3, 'ABCDEFG') - >>> list(t) - ['E', 'F', 'G'] - - """ - # If the given iterable has a length, then we can use islice to get its - # final elements. Note that if the iterable is not actually Iterable, - # either islice or deque will throw a TypeError. This is why we don't - # check if it is Iterable. - if isinstance(iterable, Sized): - yield from islice(iterable, max(0, len(iterable) - n), None) - else: - yield from iter(deque(iterable, maxlen=n)) - - -def consume(iterator, n=None): - """Advance *iterable* by *n* steps. If *n* is ``None``, consume it - entirely. - - Efficiently exhausts an iterator without returning values. Defaults to - consuming the whole iterator, but an optional second argument may be - provided to limit consumption. - - >>> i = (x for x in range(10)) - >>> next(i) - 0 - >>> consume(i, 3) - >>> next(i) - 4 - >>> consume(i) - >>> next(i) - Traceback (most recent call last): - File "", line 1, in - StopIteration - - If the iterator has fewer items remaining than the provided limit, the - whole iterator will be consumed. - - >>> i = (x for x in range(3)) - >>> consume(i, 5) - >>> next(i) - Traceback (most recent call last): - File "", line 1, in - StopIteration - - """ - # Use functions that consume iterators at C speed. - if n is None: - # feed the entire iterator into a zero-length deque - deque(iterator, maxlen=0) - else: - # advance to the empty slice starting at position n - next(islice(iterator, n, n), None) - - -def nth(iterable, n, default=None): - """Returns the nth item or a default value. - - >>> l = range(10) - >>> nth(l, 3) - 3 - >>> nth(l, 20, "zebra") - 'zebra' - - """ - return next(islice(iterable, n, None), default) - - -def all_equal(iterable, key=None): - """ - Returns ``True`` if all the elements are equal to each other. - - >>> all_equal('aaaa') - True - >>> all_equal('aaab') - False - - A function that accepts a single argument and returns a transformed version - of each input item can be specified with *key*: - - >>> all_equal('AaaA', key=str.casefold) - True - >>> all_equal([1, 2, 3], key=lambda x: x < 10) - True - - """ - return len(list(islice(groupby(iterable, key), 2))) <= 1 - - -def quantify(iterable, pred=bool): - """Return the how many times the predicate is true. - - >>> quantify([True, False, True]) - 2 - - """ - return sum(map(pred, iterable)) - - -def pad_none(iterable): - """Returns the sequence of elements and then returns ``None`` indefinitely. - - >>> take(5, pad_none(range(3))) - [0, 1, 2, None, None] - - Useful for emulating the behavior of the built-in :func:`map` function. - - See also :func:`padded`. - - """ - return chain(iterable, repeat(None)) - - -padnone = pad_none - - -def ncycles(iterable, n): - """Returns the sequence elements *n* times - - >>> list(ncycles(["a", "b"], 3)) - ['a', 'b', 'a', 'b', 'a', 'b'] - - """ - return chain.from_iterable(repeat(tuple(iterable), n)) - - -def dotproduct(vec1, vec2): - """Returns the dot product of the two iterables. - - >>> dotproduct([10, 10], [20, 20]) - 400 - - """ - return sum(map(operator.mul, vec1, vec2)) - - -def flatten(listOfLists): - """Return an iterator flattening one level of nesting in a list of lists. - - >>> list(flatten([[0, 1], [2, 3]])) - [0, 1, 2, 3] - - See also :func:`collapse`, which can flatten multiple levels of nesting. - - """ - return chain.from_iterable(listOfLists) - - -def repeatfunc(func, times=None, *args): - """Call *func* with *args* repeatedly, returning an iterable over the - results. - - If *times* is specified, the iterable will terminate after that many - repetitions: - - >>> from operator import add - >>> times = 4 - >>> args = 3, 5 - >>> list(repeatfunc(add, times, *args)) - [8, 8, 8, 8] - - If *times* is ``None`` the iterable will not terminate: - - >>> from random import randrange - >>> times = None - >>> args = 1, 11 - >>> take(6, repeatfunc(randrange, times, *args)) # doctest:+SKIP - [2, 4, 8, 1, 8, 4] - - """ - if times is None: - return starmap(func, repeat(args)) - return starmap(func, repeat(args, times)) - - -def _pairwise(iterable): - """Returns an iterator of paired items, overlapping, from the original - - >>> take(4, pairwise(count())) - [(0, 1), (1, 2), (2, 3), (3, 4)] - - On Python 3.10 and above, this is an alias for :func:`itertools.pairwise`. - - """ - a, b = tee(iterable) - next(b, None) - return zip(a, b) - - -try: - from itertools import pairwise as itertools_pairwise -except ImportError: - pairwise = _pairwise -else: - - def pairwise(iterable): - return itertools_pairwise(iterable) - - pairwise.__doc__ = _pairwise.__doc__ - - -class UnequalIterablesError(ValueError): - def __init__(self, details=None): - msg = 'Iterables have different lengths' - if details is not None: - msg += (': index 0 has length {}; index {} has length {}').format( - *details - ) - - super().__init__(msg) - - -def _zip_equal_generator(iterables): - for combo in zip_longest(*iterables, fillvalue=_marker): - for val in combo: - if val is _marker: - raise UnequalIterablesError() - yield combo - - -def _zip_equal(*iterables): - # Check whether the iterables are all the same size. - try: - first_size = len(iterables[0]) - for i, it in enumerate(iterables[1:], 1): - size = len(it) - if size != first_size: - raise UnequalIterablesError(details=(first_size, i, size)) - # All sizes are equal, we can use the built-in zip. - return zip(*iterables) - # If any one of the iterables didn't have a length, start reading - # them until one runs out. - except TypeError: - return _zip_equal_generator(iterables) - - -def grouper(iterable, n, incomplete='fill', fillvalue=None): - """Group elements from *iterable* into fixed-length groups of length *n*. - - >>> list(grouper('ABCDEF', 3)) - [('A', 'B', 'C'), ('D', 'E', 'F')] - - The keyword arguments *incomplete* and *fillvalue* control what happens for - iterables whose length is not a multiple of *n*. - - When *incomplete* is `'fill'`, the last group will contain instances of - *fillvalue*. - - >>> list(grouper('ABCDEFG', 3, incomplete='fill', fillvalue='x')) - [('A', 'B', 'C'), ('D', 'E', 'F'), ('G', 'x', 'x')] - - When *incomplete* is `'ignore'`, the last group will not be emitted. - - >>> list(grouper('ABCDEFG', 3, incomplete='ignore', fillvalue='x')) - [('A', 'B', 'C'), ('D', 'E', 'F')] - - When *incomplete* is `'strict'`, a subclass of `ValueError` will be raised. - - >>> it = grouper('ABCDEFG', 3, incomplete='strict') - >>> list(it) # doctest: +IGNORE_EXCEPTION_DETAIL - Traceback (most recent call last): - ... - UnequalIterablesError - - """ - args = [iter(iterable)] * n - if incomplete == 'fill': - return zip_longest(*args, fillvalue=fillvalue) - if incomplete == 'strict': - return _zip_equal(*args) - if incomplete == 'ignore': - return zip(*args) - else: - raise ValueError('Expected fill, strict, or ignore') - - -def roundrobin(*iterables): - """Yields an item from each iterable, alternating between them. - - >>> list(roundrobin('ABC', 'D', 'EF')) - ['A', 'D', 'E', 'B', 'F', 'C'] - - This function produces the same output as :func:`interleave_longest`, but - may perform better for some inputs (in particular when the number of - iterables is small). - - """ - # Algorithm credited to George Sakkis - iterators = map(iter, iterables) - for num_active in range(len(iterables), 0, -1): - iterators = cycle(islice(iterators, num_active)) - yield from map(next, iterators) - - -def partition(pred, iterable): - """ - Returns a 2-tuple of iterables derived from the input iterable. - The first yields the items that have ``pred(item) == False``. - The second yields the items that have ``pred(item) == True``. - - >>> is_odd = lambda x: x % 2 != 0 - >>> iterable = range(10) - >>> even_items, odd_items = partition(is_odd, iterable) - >>> list(even_items), list(odd_items) - ([0, 2, 4, 6, 8], [1, 3, 5, 7, 9]) - - If *pred* is None, :func:`bool` is used. - - >>> iterable = [0, 1, False, True, '', ' '] - >>> false_items, true_items = partition(None, iterable) - >>> list(false_items), list(true_items) - ([0, False, ''], [1, True, ' ']) - - """ - if pred is None: - pred = bool - - t1, t2, p = tee(iterable, 3) - p1, p2 = tee(map(pred, p)) - return (compress(t1, map(operator.not_, p1)), compress(t2, p2)) - - -def powerset(iterable): - """Yields all possible subsets of the iterable. - - >>> list(powerset([1, 2, 3])) - [(), (1,), (2,), (3,), (1, 2), (1, 3), (2, 3), (1, 2, 3)] - - :func:`powerset` will operate on iterables that aren't :class:`set` - instances, so repeated elements in the input will produce repeated elements - in the output. - - >>> seq = [1, 1, 0] - >>> list(powerset(seq)) - [(), (1,), (1,), (0,), (1, 1), (1, 0), (1, 0), (1, 1, 0)] - - For a variant that efficiently yields actual :class:`set` instances, see - :func:`powerset_of_sets`. - """ - s = list(iterable) - return chain.from_iterable(combinations(s, r) for r in range(len(s) + 1)) - - -def unique_everseen(iterable, key=None): - """ - Yield unique elements, preserving order. - - >>> list(unique_everseen('AAAABBBCCDAABBB')) - ['A', 'B', 'C', 'D'] - >>> list(unique_everseen('ABBCcAD', str.lower)) - ['A', 'B', 'C', 'D'] - - Sequences with a mix of hashable and unhashable items can be used. - The function will be slower (i.e., `O(n^2)`) for unhashable items. - - Remember that ``list`` objects are unhashable - you can use the *key* - parameter to transform the list to a tuple (which is hashable) to - avoid a slowdown. - - >>> iterable = ([1, 2], [2, 3], [1, 2]) - >>> list(unique_everseen(iterable)) # Slow - [[1, 2], [2, 3]] - >>> list(unique_everseen(iterable, key=tuple)) # Faster - [[1, 2], [2, 3]] - - Similarly, you may want to convert unhashable ``set`` objects with - ``key=frozenset``. For ``dict`` objects, - ``key=lambda x: frozenset(x.items())`` can be used. - - """ - seenset = set() - seenset_add = seenset.add - seenlist = [] - seenlist_add = seenlist.append - use_key = key is not None - - for element in iterable: - k = key(element) if use_key else element - try: - if k not in seenset: - seenset_add(k) - yield element - except TypeError: - if k not in seenlist: - seenlist_add(k) - yield element - - -def unique_justseen(iterable, key=None): - """Yields elements in order, ignoring serial duplicates - - >>> list(unique_justseen('AAAABBBCCDAABBB')) - ['A', 'B', 'C', 'D', 'A', 'B'] - >>> list(unique_justseen('ABBCcAD', str.lower)) - ['A', 'B', 'C', 'A', 'D'] - - """ - if key is None: - return map(operator.itemgetter(0), groupby(iterable)) - - return map(next, map(operator.itemgetter(1), groupby(iterable, key))) - - -def unique(iterable, key=None, reverse=False): - """Yields unique elements in sorted order. - - >>> list(unique([[1, 2], [3, 4], [1, 2]])) - [[1, 2], [3, 4]] - - *key* and *reverse* are passed to :func:`sorted`. - - >>> list(unique('ABBcCAD', str.casefold)) - ['A', 'B', 'c', 'D'] - >>> list(unique('ABBcCAD', str.casefold, reverse=True)) - ['D', 'c', 'B', 'A'] - - The elements in *iterable* need not be hashable, but they must be - comparable for sorting to work. - """ - return unique_justseen(sorted(iterable, key=key, reverse=reverse), key=key) - - -def iter_except(func, exception, first=None): - """Yields results from a function repeatedly until an exception is raised. - - Converts a call-until-exception interface to an iterator interface. - Like ``iter(func, sentinel)``, but uses an exception instead of a sentinel - to end the loop. - - >>> l = [0, 1, 2] - >>> list(iter_except(l.pop, IndexError)) - [2, 1, 0] - - Multiple exceptions can be specified as a stopping condition: - - >>> l = [1, 2, 3, '...', 4, 5, 6] - >>> list(iter_except(lambda: 1 + l.pop(), (IndexError, TypeError))) - [7, 6, 5] - >>> list(iter_except(lambda: 1 + l.pop(), (IndexError, TypeError))) - [4, 3, 2] - >>> list(iter_except(lambda: 1 + l.pop(), (IndexError, TypeError))) - [] - - """ - try: - if first is not None: - yield first() - while 1: - yield func() - except exception: - pass - - -def first_true(iterable, default=None, pred=None): - """ - Returns the first true value in the iterable. - - If no true value is found, returns *default* - - If *pred* is not None, returns the first item for which - ``pred(item) == True`` . - - >>> first_true(range(10)) - 1 - >>> first_true(range(10), pred=lambda x: x > 5) - 6 - >>> first_true(range(10), default='missing', pred=lambda x: x > 9) - 'missing' - - """ - return next(filter(pred, iterable), default) - - -def random_product(*args, repeat=1): - """Draw an item at random from each of the input iterables. - - >>> random_product('abc', range(4), 'XYZ') # doctest:+SKIP - ('c', 3, 'Z') - - If *repeat* is provided as a keyword argument, that many items will be - drawn from each iterable. - - >>> random_product('abcd', range(4), repeat=2) # doctest:+SKIP - ('a', 2, 'd', 3) - - This equivalent to taking a random selection from - ``itertools.product(*args, **kwarg)``. - - """ - pools = [tuple(pool) for pool in args] * repeat - return tuple(choice(pool) for pool in pools) - - -def random_permutation(iterable, r=None): - """Return a random *r* length permutation of the elements in *iterable*. - - If *r* is not specified or is ``None``, then *r* defaults to the length of - *iterable*. - - >>> random_permutation(range(5)) # doctest:+SKIP - (3, 4, 0, 1, 2) - - This equivalent to taking a random selection from - ``itertools.permutations(iterable, r)``. - - """ - pool = tuple(iterable) - r = len(pool) if r is None else r - return tuple(sample(pool, r)) - - -def random_combination(iterable, r): - """Return a random *r* length subsequence of the elements in *iterable*. - - >>> random_combination(range(5), 3) # doctest:+SKIP - (2, 3, 4) - - This equivalent to taking a random selection from - ``itertools.combinations(iterable, r)``. - - """ - pool = tuple(iterable) - n = len(pool) - indices = sorted(sample(range(n), r)) - return tuple(pool[i] for i in indices) - - -def random_combination_with_replacement(iterable, r): - """Return a random *r* length subsequence of elements in *iterable*, - allowing individual elements to be repeated. - - >>> random_combination_with_replacement(range(3), 5) # doctest:+SKIP - (0, 0, 1, 2, 2) - - This equivalent to taking a random selection from - ``itertools.combinations_with_replacement(iterable, r)``. - - """ - pool = tuple(iterable) - n = len(pool) - indices = sorted(randrange(n) for i in range(r)) - return tuple(pool[i] for i in indices) - - -def nth_combination(iterable, r, index): - """Equivalent to ``list(combinations(iterable, r))[index]``. - - The subsequences of *iterable* that are of length *r* can be ordered - lexicographically. :func:`nth_combination` computes the subsequence at - sort position *index* directly, without computing the previous - subsequences. - - >>> nth_combination(range(5), 3, 5) - (0, 3, 4) - - ``ValueError`` will be raised If *r* is negative or greater than the length - of *iterable*. - ``IndexError`` will be raised if the given *index* is invalid. - """ - pool = tuple(iterable) - n = len(pool) - if (r < 0) or (r > n): - raise ValueError - - c = 1 - k = min(r, n - r) - for i in range(1, k + 1): - c = c * (n - k + i) // i - - if index < 0: - index += c - - if (index < 0) or (index >= c): - raise IndexError - - result = [] - while r: - c, n, r = c * r // n, n - 1, r - 1 - while index >= c: - index -= c - c, n = c * (n - r) // n, n - 1 - result.append(pool[-1 - n]) - - return tuple(result) - - -def prepend(value, iterator): - """Yield *value*, followed by the elements in *iterator*. - - >>> value = '0' - >>> iterator = ['1', '2', '3'] - >>> list(prepend(value, iterator)) - ['0', '1', '2', '3'] - - To prepend multiple values, see :func:`itertools.chain` - or :func:`value_chain`. - - """ - return chain([value], iterator) - - -def convolve(signal, kernel): - """Convolve the iterable *signal* with the iterable *kernel*. - - >>> signal = (1, 2, 3, 4, 5) - >>> kernel = [3, 2, 1] - >>> list(convolve(signal, kernel)) - [3, 8, 14, 20, 26, 14, 5] - - Note: the input arguments are not interchangeable, as the *kernel* - is immediately consumed and stored. - - """ - # This implementation intentionally doesn't match the one in the itertools - # documentation. - kernel = tuple(kernel)[::-1] - n = len(kernel) - window = deque([0], maxlen=n) * n - for x in chain(signal, repeat(0, n - 1)): - window.append(x) - yield _sumprod(kernel, window) - - -def before_and_after(predicate, it): - """A variant of :func:`takewhile` that allows complete access to the - remainder of the iterator. - - >>> it = iter('ABCdEfGhI') - >>> all_upper, remainder = before_and_after(str.isupper, it) - >>> ''.join(all_upper) - 'ABC' - >>> ''.join(remainder) # takewhile() would lose the 'd' - 'dEfGhI' - - Note that the first iterator must be fully consumed before the second - iterator can generate valid results. - """ - it = iter(it) - transition = [] - - def true_iterator(): - for elem in it: - if predicate(elem): - yield elem - else: - transition.append(elem) - return - - # Note: this is different from itertools recipes to allow nesting - # before_and_after remainders into before_and_after again. See tests - # for an example. - remainder_iterator = chain(transition, it) - - return true_iterator(), remainder_iterator - - -def triplewise(iterable): - """Return overlapping triplets from *iterable*. - - >>> list(triplewise('ABCDE')) - [('A', 'B', 'C'), ('B', 'C', 'D'), ('C', 'D', 'E')] - - """ - for (a, _), (b, c) in pairwise(pairwise(iterable)): - yield a, b, c - - -def sliding_window(iterable, n): - """Return a sliding window of width *n* over *iterable*. - - >>> list(sliding_window(range(6), 4)) - [(0, 1, 2, 3), (1, 2, 3, 4), (2, 3, 4, 5)] - - If *iterable* has fewer than *n* items, then nothing is yielded: - - >>> list(sliding_window(range(3), 4)) - [] - - For a variant with more features, see :func:`windowed`. - """ - it = iter(iterable) - window = deque(islice(it, n - 1), maxlen=n) - for x in it: - window.append(x) - yield tuple(window) - - -def subslices(iterable): - """Return all contiguous non-empty subslices of *iterable*. - - >>> list(subslices('ABC')) - [['A'], ['A', 'B'], ['A', 'B', 'C'], ['B'], ['B', 'C'], ['C']] - - This is similar to :func:`substrings`, but emits items in a different - order. - """ - seq = list(iterable) - slices = starmap(slice, combinations(range(len(seq) + 1), 2)) - return map(operator.getitem, repeat(seq), slices) - - -def polynomial_from_roots(roots): - """Compute a polynomial's coefficients from its roots. - - >>> roots = [5, -4, 3] # (x - 5) * (x + 4) * (x - 3) - >>> polynomial_from_roots(roots) # x^3 - 4 * x^2 - 17 * x + 60 - [1, -4, -17, 60] - """ - factors = zip(repeat(1), map(operator.neg, roots)) - return list(reduce(convolve, factors, [1])) - - -def iter_index(iterable, value, start=0, stop=None): - """Yield the index of each place in *iterable* that *value* occurs, - beginning with index *start* and ending before index *stop*. - - - >>> list(iter_index('AABCADEAF', 'A')) - [0, 1, 4, 7] - >>> list(iter_index('AABCADEAF', 'A', 1)) # start index is inclusive - [1, 4, 7] - >>> list(iter_index('AABCADEAF', 'A', 1, 7)) # stop index is not inclusive - [1, 4] - - The behavior for non-scalar *values* matches the built-in Python types. - - >>> list(iter_index('ABCDABCD', 'AB')) - [0, 4] - >>> list(iter_index([0, 1, 2, 3, 0, 1, 2, 3], [0, 1])) - [] - >>> list(iter_index([[0, 1], [2, 3], [0, 1], [2, 3]], [0, 1])) - [0, 2] - - See :func:`locate` for a more general means of finding the indexes - associated with particular values. - - """ - seq_index = getattr(iterable, 'index', None) - if seq_index is None: - # Slow path for general iterables - it = islice(iterable, start, stop) - for i, element in enumerate(it, start): - if element is value or element == value: - yield i - else: - # Fast path for sequences - stop = len(iterable) if stop is None else stop - i = start - 1 - try: - while True: - yield (i := seq_index(value, i + 1, stop)) - except ValueError: - pass - - -def sieve(n): - """Yield the primes less than n. - - >>> list(sieve(30)) - [2, 3, 5, 7, 11, 13, 17, 19, 23, 29] - """ - if n > 2: - yield 2 - start = 3 - data = bytearray((0, 1)) * (n // 2) - limit = math.isqrt(n) + 1 - for p in iter_index(data, 1, start, limit): - yield from iter_index(data, 1, start, p * p) - data[p * p : n : p + p] = bytes(len(range(p * p, n, p + p))) - start = p * p - yield from iter_index(data, 1, start) - - -def _batched(iterable, n, *, strict=False): - """Batch data into tuples of length *n*. If the number of items in - *iterable* is not divisible by *n*: - * The last batch will be shorter if *strict* is ``False``. - * :exc:`ValueError` will be raised if *strict* is ``True``. - - >>> list(batched('ABCDEFG', 3)) - [('A', 'B', 'C'), ('D', 'E', 'F'), ('G',)] - - On Python 3.13 and above, this is an alias for :func:`itertools.batched`. - """ - if n < 1: - raise ValueError('n must be at least one') - it = iter(iterable) - while batch := tuple(islice(it, n)): - if strict and len(batch) != n: - raise ValueError('batched(): incomplete batch') - yield batch - - -if hexversion >= 0x30D00A2: - from itertools import batched as itertools_batched - - def batched(iterable, n, *, strict=False): - return itertools_batched(iterable, n, strict=strict) - -else: - batched = _batched - - batched.__doc__ = _batched.__doc__ - - -def transpose(it): - """Swap the rows and columns of the input matrix. - - >>> list(transpose([(1, 2, 3), (11, 22, 33)])) - [(1, 11), (2, 22), (3, 33)] - - The caller should ensure that the dimensions of the input are compatible. - If the input is empty, no output will be produced. - """ - return _zip_strict(*it) - - -def reshape(matrix, cols): - """Reshape the 2-D input *matrix* to have a column count given by *cols*. - - >>> matrix = [(0, 1), (2, 3), (4, 5)] - >>> cols = 3 - >>> list(reshape(matrix, cols)) - [(0, 1, 2), (3, 4, 5)] - """ - return batched(chain.from_iterable(matrix), cols) - - -def matmul(m1, m2): - """Multiply two matrices. - - >>> list(matmul([(7, 5), (3, 5)], [(2, 5), (7, 9)])) - [(49, 80), (41, 60)] - - The caller should ensure that the dimensions of the input matrices are - compatible with each other. - """ - n = len(m2[0]) - return batched(starmap(_sumprod, product(m1, transpose(m2))), n) - - -def factor(n): - """Yield the prime factors of n. - - >>> list(factor(360)) - [2, 2, 2, 3, 3, 5] - """ - for prime in sieve(math.isqrt(n) + 1): - while not n % prime: - yield prime - n //= prime - if n == 1: - return - if n > 1: - yield n - - -def polynomial_eval(coefficients, x): - """Evaluate a polynomial at a specific value. - - Example: evaluating x^3 - 4 * x^2 - 17 * x + 60 at x = 2.5: - - >>> coefficients = [1, -4, -17, 60] - >>> x = 2.5 - >>> polynomial_eval(coefficients, x) - 8.125 - """ - n = len(coefficients) - if n == 0: - return x * 0 # coerce zero to the type of x - powers = map(pow, repeat(x), reversed(range(n))) - return _sumprod(coefficients, powers) - - -def sum_of_squares(it): - """Return the sum of the squares of the input values. - - >>> sum_of_squares([10, 20, 30]) - 1400 - """ - return _sumprod(*tee(it)) - - -def polynomial_derivative(coefficients): - """Compute the first derivative of a polynomial. - - Example: evaluating the derivative of x^3 - 4 * x^2 - 17 * x + 60 - - >>> coefficients = [1, -4, -17, 60] - >>> derivative_coefficients = polynomial_derivative(coefficients) - >>> derivative_coefficients - [3, -8, -17] - """ - n = len(coefficients) - powers = reversed(range(1, n)) - return list(map(operator.mul, coefficients, powers)) - - -def totient(n): - """Return the count of natural numbers up to *n* that are coprime with *n*. - - >>> totient(9) - 6 - >>> totient(12) - 4 - """ - # The itertools docs use unique_justseen instead of set; see - # https://github.com/more-itertools/more-itertools/issues/823 - for p in set(factor(n)): - n = n // p * (p - 1) - - return n diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/recipes.pyi b/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/recipes.pyi deleted file mode 100644 index 739acec0..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/more_itertools/recipes.pyi +++ /dev/null @@ -1,136 +0,0 @@ -"""Stubs for more_itertools.recipes""" - -from __future__ import annotations - -from typing import ( - Any, - Callable, - Iterable, - Iterator, - overload, - Sequence, - Type, - TypeVar, -) - -# Type and type variable definitions -_T = TypeVar('_T') -_T1 = TypeVar('_T1') -_T2 = TypeVar('_T2') -_U = TypeVar('_U') - -def take(n: int, iterable: Iterable[_T]) -> list[_T]: ... -def tabulate( - function: Callable[[int], _T], start: int = ... -) -> Iterator[_T]: ... -def tail(n: int, iterable: Iterable[_T]) -> Iterator[_T]: ... -def consume(iterator: Iterable[_T], n: int | None = ...) -> None: ... -@overload -def nth(iterable: Iterable[_T], n: int) -> _T | None: ... -@overload -def nth(iterable: Iterable[_T], n: int, default: _U) -> _T | _U: ... -def all_equal( - iterable: Iterable[_T], key: Callable[[_T], _U] | None = ... -) -> bool: ... -def quantify( - iterable: Iterable[_T], pred: Callable[[_T], bool] = ... -) -> int: ... -def pad_none(iterable: Iterable[_T]) -> Iterator[_T | None]: ... -def padnone(iterable: Iterable[_T]) -> Iterator[_T | None]: ... -def ncycles(iterable: Iterable[_T], n: int) -> Iterator[_T]: ... -def dotproduct(vec1: Iterable[_T1], vec2: Iterable[_T2]) -> Any: ... -def flatten(listOfLists: Iterable[Iterable[_T]]) -> Iterator[_T]: ... -def repeatfunc( - func: Callable[..., _U], times: int | None = ..., *args: Any -) -> Iterator[_U]: ... -def pairwise(iterable: Iterable[_T]) -> Iterator[tuple[_T, _T]]: ... -def grouper( - iterable: Iterable[_T], - n: int, - incomplete: str = ..., - fillvalue: _U = ..., -) -> Iterator[tuple[_T | _U, ...]]: ... -def roundrobin(*iterables: Iterable[_T]) -> Iterator[_T]: ... -def partition( - pred: Callable[[_T], object] | None, iterable: Iterable[_T] -) -> tuple[Iterator[_T], Iterator[_T]]: ... -def powerset(iterable: Iterable[_T]) -> Iterator[tuple[_T, ...]]: ... -def unique_everseen( - iterable: Iterable[_T], key: Callable[[_T], _U] | None = ... -) -> Iterator[_T]: ... -def unique_justseen( - iterable: Iterable[_T], key: Callable[[_T], object] | None = ... -) -> Iterator[_T]: ... -def unique( - iterable: Iterable[_T], - key: Callable[[_T], object] | None = ..., - reverse: bool = False, -) -> Iterator[_T]: ... -@overload -def iter_except( - func: Callable[[], _T], - exception: Type[BaseException] | tuple[Type[BaseException], ...], - first: None = ..., -) -> Iterator[_T]: ... -@overload -def iter_except( - func: Callable[[], _T], - exception: Type[BaseException] | tuple[Type[BaseException], ...], - first: Callable[[], _U], -) -> Iterator[_T | _U]: ... -@overload -def first_true( - iterable: Iterable[_T], *, pred: Callable[[_T], object] | None = ... -) -> _T | None: ... -@overload -def first_true( - iterable: Iterable[_T], - default: _U, - pred: Callable[[_T], object] | None = ..., -) -> _T | _U: ... -def random_product( - *args: Iterable[_T], repeat: int = ... -) -> tuple[_T, ...]: ... -def random_permutation( - iterable: Iterable[_T], r: int | None = ... -) -> tuple[_T, ...]: ... -def random_combination(iterable: Iterable[_T], r: int) -> tuple[_T, ...]: ... -def random_combination_with_replacement( - iterable: Iterable[_T], r: int -) -> tuple[_T, ...]: ... -def nth_combination( - iterable: Iterable[_T], r: int, index: int -) -> tuple[_T, ...]: ... -def prepend(value: _T, iterator: Iterable[_U]) -> Iterator[_T | _U]: ... -def convolve(signal: Iterable[_T], kernel: Iterable[_T]) -> Iterator[_T]: ... -def before_and_after( - predicate: Callable[[_T], bool], it: Iterable[_T] -) -> tuple[Iterator[_T], Iterator[_T]]: ... -def triplewise(iterable: Iterable[_T]) -> Iterator[tuple[_T, _T, _T]]: ... -def sliding_window( - iterable: Iterable[_T], n: int -) -> Iterator[tuple[_T, ...]]: ... -def subslices(iterable: Iterable[_T]) -> Iterator[list[_T]]: ... -def polynomial_from_roots(roots: Sequence[_T]) -> list[_T]: ... -def iter_index( - iterable: Iterable[_T], - value: Any, - start: int | None = ..., - stop: int | None = ..., -) -> Iterator[int]: ... -def sieve(n: int) -> Iterator[int]: ... -def batched( - iterable: Iterable[_T], n: int, *, strict: bool = False -) -> Iterator[tuple[_T]]: ... -def transpose( - it: Iterable[Iterable[_T]], -) -> Iterator[tuple[_T, ...]]: ... -def reshape( - matrix: Iterable[Iterable[_T]], cols: int -) -> Iterator[tuple[_T, ...]]: ... -def matmul(m1: Sequence[_T], m2: Sequence[_T]) -> Iterator[tuple[_T]]: ... -def factor(n: int) -> Iterator[int]: ... -def polynomial_eval(coefficients: Sequence[_T], x: _U) -> _U: ... -def sum_of_squares(it: Iterable[_T]) -> _T: ... -def polynomial_derivative(coefficients: Sequence[_T]) -> list[_T]: ... -def totient(n: int) -> int: ... diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/INSTALLER deleted file mode 100644 index 5c69047b..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -uv \ No newline at end of file diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/LICENSE deleted file mode 100644 index 6f62d44e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/LICENSE +++ /dev/null @@ -1,3 +0,0 @@ -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/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/LICENSE.APACHE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/LICENSE.APACHE deleted file mode 100644 index f433b1a5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/LICENSE.APACHE +++ /dev/null @@ -1,177 +0,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 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/LICENSE.BSD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/LICENSE.BSD deleted file mode 100644 index 42ce7b75..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/LICENSE.BSD +++ /dev/null @@ -1,23 +0,0 @@ -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/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/METADATA deleted file mode 100644 index 1479c869..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/METADATA +++ /dev/null @@ -1,102 +0,0 @@ -Metadata-Version: 2.3 -Name: packaging -Version: 24.2 -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 -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/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/RECORD deleted file mode 100644 index 678aa5a5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/RECORD +++ /dev/null @@ -1,25 +0,0 @@ -packaging-24.2.dist-info/INSTALLER,sha256=5hhM4Q4mYTT9z6QB6PGpUAW81PGNFrYrdXMj4oM_6ak,2 -packaging-24.2.dist-info/LICENSE,sha256=ytHvW9NA1z4HS6YU0m996spceUDD2MNIUuZcSQlobEg,197 -packaging-24.2.dist-info/LICENSE.APACHE,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174 -packaging-24.2.dist-info/LICENSE.BSD,sha256=tw5-m3QvHMb5SLNMFqo5_-zpQZY2S8iP8NIYDwAo-sU,1344 -packaging-24.2.dist-info/METADATA,sha256=ohH86s6k5mIfQxY2TS0LcSfADeOFa4BiCC-bxZV-pNs,3204 -packaging-24.2.dist-info/RECORD,, -packaging-24.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -packaging-24.2.dist-info/WHEEL,sha256=CpUCUxeHQbRN5UGRQHYRJorO5Af-Qy_fHMctcQ8DSGI,82 -packaging/__init__.py,sha256=dk4Ta_vmdVJxYHDcfyhvQNw8V3PgSBomKNXqg-D2JDY,494 -packaging/_elffile.py,sha256=cflAQAkE25tzhYmq_aCi72QfbT_tn891tPzfpbeHOwE,3306 -packaging/_manylinux.py,sha256=vl5OCoz4kx80H5rwXKeXWjl9WNISGmr4ZgTpTP9lU9c,9612 -packaging/_musllinux.py,sha256=p9ZqNYiOItGee8KcZFeHF_YcdhVwGHdK6r-8lgixvGQ,2694 -packaging/_parser.py,sha256=s_TvTvDNK0NrM2QB3VKThdWFM4Nc0P6JnkObkl3MjpM,10236 -packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431 -packaging/_tokenizer.py,sha256=J6v5H7Jzvb-g81xp_2QACKwO7LxHQA6ikryMU7zXwN8,5273 -packaging/licenses/__init__.py,sha256=1x5M1nEYjcgwEbLt0dXwz2ukjr18DiCzC0sraQqJ-Ww,5715 -packaging/licenses/_spdx.py,sha256=oAm1ztPFwlsmCKe7lAAsv_OIOfS1cWDu9bNBkeu-2ns,48398 -packaging/markers.py,sha256=c89TNzB7ZdGYhkovm6PYmqGyHxXlYVaLW591PHUNKD8,10561 -packaging/metadata.py,sha256=YJibM7GYe4re8-0a3OlXmGS-XDgTEoO4tlBt2q25Bng,34762 -packaging/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -packaging/requirements.py,sha256=gYyRSAdbrIyKDY66ugIDUQjRMvxkH2ALioTmX3tnL6o,2947 -packaging/specifiers.py,sha256=GG1wPNMcL0fMJO68vF53wKMdwnfehDcaI-r9NpTfilA,40074 -packaging/tags.py,sha256=CFqrJzAzc2XNGexerH__T-Y5Iwq7WbsYXsiLERLWxY0,21014 -packaging/utils.py,sha256=0F3Hh9OFuRgrhTgGZUl5K22Fv1YP2tZl1z_2gO6kJiA,5050 -packaging/version.py,sha256=olfyuk_DPbflNkJ4wBWetXQ17c74x3DB501degUv7DY,16676 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/WHEEL deleted file mode 100644 index e3c6feef..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging-24.2.dist-info/WHEEL +++ /dev/null @@ -1,4 +0,0 @@ -Wheel-Version: 1.0 -Generator: flit 3.10.1 -Root-Is-Purelib: true -Tag: py3-none-any diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__init__.py deleted file mode 100644 index d79f73c5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# 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. - -__title__ = "packaging" -__summary__ = "Core utilities for Python packages" -__uri__ = "https://github.com/pypa/packaging" - -__version__ = "24.2" - -__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/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 681ca4a9..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc deleted file mode 100644 index 752bd9b7..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_elffile.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc deleted file mode 100644 index 9df5543c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_manylinux.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc deleted file mode 100644 index b543e035..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_musllinux.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_parser.cpython-312.pyc deleted file mode 100644 index bbe18c4c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_parser.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_structures.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_structures.cpython-312.pyc deleted file mode 100644 index 517777e0..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_structures.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc deleted file mode 100644 index 1031ae71..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/_tokenizer.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/markers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/markers.cpython-312.pyc deleted file mode 100644 index 6bed424d..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/markers.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/metadata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/metadata.cpython-312.pyc deleted file mode 100644 index ac3ec35b..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/metadata.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/requirements.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/requirements.cpython-312.pyc deleted file mode 100644 index 66405bac..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/requirements.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc deleted file mode 100644 index e50447c7..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/specifiers.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/tags.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/tags.cpython-312.pyc deleted file mode 100644 index 4226fcdc..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/tags.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/utils.cpython-312.pyc deleted file mode 100644 index d98ba752..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/utils.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/version.cpython-312.pyc deleted file mode 100644 index cf8f6379..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/__pycache__/version.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_elffile.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_elffile.py deleted file mode 100644 index 25f4282c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_elffile.py +++ /dev/null @@ -1,110 +0,0 @@ -""" -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 " - f"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/python3.12/site-packages/setuptools/_vendor/packaging/_manylinux.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_manylinux.py deleted file mode 100644 index 61339a6f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_manylinux.py +++ /dev/null @@ -1,263 +0,0 @@ -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," - f" 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/python3.12/site-packages/setuptools/_vendor/packaging/_musllinux.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_musllinux.py deleted file mode 100644 index d2bf30b5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_musllinux.py +++ /dev/null @@ -1,85 +0,0 @@ -"""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/python3.12/site-packages/setuptools/_vendor/packaging/_parser.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_parser.py deleted file mode 100644 index c1238c06..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_parser.py +++ /dev/null @@ -1,354 +0,0 @@ -"""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/python3.12/site-packages/setuptools/_vendor/packaging/_structures.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_structures.py deleted file mode 100644 index 90a6465f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_structures.py +++ /dev/null @@ -1,61 +0,0 @@ -# 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/python3.12/site-packages/setuptools/_vendor/packaging/_tokenizer.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_tokenizer.py deleted file mode 100644 index 89d04160..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/_tokenizer.py +++ /dev/null @@ -1,194 +0,0 @@ -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) - |extra - )\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/python3.12/site-packages/setuptools/_vendor/packaging/licenses/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/__init__.py deleted file mode 100644 index 569156d6..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/__init__.py +++ /dev/null @@ -1,145 +0,0 @@ -####################################################################################### -# -# 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__ = [ - "NormalizedLicenseExpression", - "InvalidLicenseExpression", - "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/python3.12/site-packages/setuptools/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 595f332c..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc deleted file mode 100644 index fa465def..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/__pycache__/_spdx.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/_spdx.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/_spdx.py deleted file mode 100644 index eac22276..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/licenses/_spdx.py +++ /dev/null @@ -1,759 +0,0 @@ - -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/python3.12/site-packages/setuptools/_vendor/packaging/markers.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/markers.py deleted file mode 100644 index fb7f49cf..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/markers.py +++ /dev/null @@ -1,331 +0,0 @@ -# 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 Any, Callable, TypedDict, 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__ = [ - "InvalidMarker", - "Marker", - "UndefinedComparison", - "UndefinedEnvironmentName", - "default_environment", -] - -Operator = Callable[[str, str], bool] - - -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) -> bool: - 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(*values: str, key: str) -> tuple[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": - return tuple(canonicalize_name(v) for v in values) - - # other environment markers don't have such standards - return values - - -def _evaluate_markers(markers: MarkerList, environment: dict[str, 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] - - 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) -> 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 environment is determined from the current Python process. - """ - current_environment = cast("dict[str, str]", default_environment()) - 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 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]) -> dict[str, str]: - """ - Work around platform.python_version() returning something that is not PEP 440 - compliant for non-tagged Python builds. - """ - if env["python_full_version"].endswith("+"): - env["python_full_version"] += "local" - return env diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/metadata.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/metadata.py deleted file mode 100644 index 721f411c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/metadata.py +++ /dev/null @@ -1,863 +0,0 @@ -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/python3.12/site-packages/setuptools/_vendor/packaging/py.typed b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/py.typed deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/requirements.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/requirements.py deleted file mode 100644 index 4e068c95..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/requirements.py +++ /dev/null @@ -1,91 +0,0 @@ -# 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/python3.12/site-packages/setuptools/_vendor/packaging/specifiers.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/specifiers.py deleted file mode 100644 index b30926af..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/specifiers.py +++ /dev/null @@ -1,1020 +0,0 @@ -# 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/python3.12/site-packages/setuptools/_vendor/packaging/tags.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/tags.py deleted file mode 100644 index f5903402..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/tags.py +++ /dev/null @@ -1,617 +0,0 @@ -# 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 _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() == "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/python3.12/site-packages/setuptools/_vendor/packaging/utils.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/utils.py deleted file mode 100644 index 23450953..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/utils.py +++ /dev/null @@ -1,163 +0,0 @@ -# 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/python3.12/site-packages/setuptools/_vendor/packaging/version.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/version.py deleted file mode 100644 index c9bbda20..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/packaging/version.py +++ /dev/null @@ -1,582 +0,0 @@ -# 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/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/INSTALLER
deleted file mode 100644
index a1b589e3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/INSTALLER
+++ /dev/null
@@ -1 +0,0 @@
-pip
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/METADATA
deleted file mode 100644
index ab51ef36..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/METADATA
+++ /dev/null
@@ -1,319 +0,0 @@
-Metadata-Version: 2.3
-Name: platformdirs
-Version: 4.2.2
-Summary: A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`.
-Project-URL: Documentation, https://platformdirs.readthedocs.io
-Project-URL: Homepage, https://github.com/platformdirs/platformdirs
-Project-URL: Source, https://github.com/platformdirs/platformdirs
-Project-URL: Tracker, https://github.com/platformdirs/platformdirs/issues
-Maintainer-email: Bernát Gábor , Julian Berman , Ofek Lev , Ronny Pfannschmidt 
-License-Expression: MIT
-License-File: LICENSE
-Keywords: appdirs,application,cache,directory,log,user
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Operating System :: OS Independent
-Classifier: Programming Language :: Python
-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 :: Implementation :: CPython
-Classifier: Programming Language :: Python :: Implementation :: PyPy
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
-Requires-Python: >=3.8
-Provides-Extra: docs
-Requires-Dist: furo>=2023.9.10; extra == 'docs'
-Requires-Dist: proselint>=0.13; extra == 'docs'
-Requires-Dist: sphinx-autodoc-typehints>=1.25.2; extra == 'docs'
-Requires-Dist: sphinx>=7.2.6; extra == 'docs'
-Provides-Extra: test
-Requires-Dist: appdirs==1.4.4; extra == 'test'
-Requires-Dist: covdefaults>=2.3; extra == 'test'
-Requires-Dist: pytest-cov>=4.1; extra == 'test'
-Requires-Dist: pytest-mock>=3.12; extra == 'test'
-Requires-Dist: pytest>=7.4.3; extra == 'test'
-Provides-Extra: type
-Requires-Dist: mypy>=1.8; extra == 'type'
-Description-Content-Type: text/x-rst
-
-The problem
-===========
-
-.. image:: https://github.com/platformdirs/platformdirs/actions/workflows/check.yml/badge.svg
-   :target: https://github.com/platformdirs/platformdirs/actions
-
-When writing desktop application, finding the right location to store user data
-and configuration varies per platform. Even for single-platform apps, there
-may by plenty of nuances in figuring out the right location.
-
-For example, if running on macOS, you should use::
-
-    ~/Library/Application Support/
-
-If on Windows (at least English Win) that should be::
-
-    C:\Documents and Settings\\Application Data\Local Settings\\
-
-or possibly::
-
-    C:\Documents and Settings\\Application Data\\
-
-for `roaming profiles `_ but that is another story.
-
-On Linux (and other Unices), according to the `XDG Basedir Spec`_, it should be::
-
-    ~/.local/share/
-
-.. _XDG Basedir Spec: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
-
-``platformdirs`` to the rescue
-==============================
-
-This kind of thing is what the ``platformdirs`` package is for.
-``platformdirs`` will help you choose an appropriate:
-
-- user data dir (``user_data_dir``)
-- user config dir (``user_config_dir``)
-- user cache dir (``user_cache_dir``)
-- site data dir (``site_data_dir``)
-- site config dir (``site_config_dir``)
-- user log dir (``user_log_dir``)
-- user documents dir (``user_documents_dir``)
-- user downloads dir (``user_downloads_dir``)
-- user pictures dir (``user_pictures_dir``)
-- user videos dir (``user_videos_dir``)
-- user music dir (``user_music_dir``)
-- user desktop dir (``user_desktop_dir``)
-- user runtime dir (``user_runtime_dir``)
-
-And also:
-
-- Is slightly opinionated on the directory names used. Look for "OPINION" in
-  documentation and code for when an opinion is being applied.
-
-Example output
-==============
-
-On macOS:
-
-.. code-block:: pycon
-
-    >>> from platformdirs import *
-    >>> appname = "SuperApp"
-    >>> appauthor = "Acme"
-    >>> user_data_dir(appname, appauthor)
-    '/Users/trentm/Library/Application Support/SuperApp'
-    >>> site_data_dir(appname, appauthor)
-    '/Library/Application Support/SuperApp'
-    >>> user_cache_dir(appname, appauthor)
-    '/Users/trentm/Library/Caches/SuperApp'
-    >>> user_log_dir(appname, appauthor)
-    '/Users/trentm/Library/Logs/SuperApp'
-    >>> user_documents_dir()
-    '/Users/trentm/Documents'
-    >>> user_downloads_dir()
-    '/Users/trentm/Downloads'
-    >>> user_pictures_dir()
-    '/Users/trentm/Pictures'
-    >>> user_videos_dir()
-    '/Users/trentm/Movies'
-    >>> user_music_dir()
-    '/Users/trentm/Music'
-    >>> user_desktop_dir()
-    '/Users/trentm/Desktop'
-    >>> user_runtime_dir(appname, appauthor)
-    '/Users/trentm/Library/Caches/TemporaryItems/SuperApp'
-
-On Windows:
-
-.. code-block:: pycon
-
-    >>> from platformdirs import *
-    >>> appname = "SuperApp"
-    >>> appauthor = "Acme"
-    >>> user_data_dir(appname, appauthor)
-    'C:\\Users\\trentm\\AppData\\Local\\Acme\\SuperApp'
-    >>> user_data_dir(appname, appauthor, roaming=True)
-    'C:\\Users\\trentm\\AppData\\Roaming\\Acme\\SuperApp'
-    >>> user_cache_dir(appname, appauthor)
-    'C:\\Users\\trentm\\AppData\\Local\\Acme\\SuperApp\\Cache'
-    >>> user_log_dir(appname, appauthor)
-    'C:\\Users\\trentm\\AppData\\Local\\Acme\\SuperApp\\Logs'
-    >>> user_documents_dir()
-    'C:\\Users\\trentm\\Documents'
-    >>> user_downloads_dir()
-    'C:\\Users\\trentm\\Downloads'
-    >>> user_pictures_dir()
-    'C:\\Users\\trentm\\Pictures'
-    >>> user_videos_dir()
-    'C:\\Users\\trentm\\Videos'
-    >>> user_music_dir()
-    'C:\\Users\\trentm\\Music'
-    >>> user_desktop_dir()
-    'C:\\Users\\trentm\\Desktop'
-    >>> user_runtime_dir(appname, appauthor)
-    'C:\\Users\\trentm\\AppData\\Local\\Temp\\Acme\\SuperApp'
-
-On Linux:
-
-.. code-block:: pycon
-
-    >>> from platformdirs import *
-    >>> appname = "SuperApp"
-    >>> appauthor = "Acme"
-    >>> user_data_dir(appname, appauthor)
-    '/home/trentm/.local/share/SuperApp'
-    >>> site_data_dir(appname, appauthor)
-    '/usr/local/share/SuperApp'
-    >>> site_data_dir(appname, appauthor, multipath=True)
-    '/usr/local/share/SuperApp:/usr/share/SuperApp'
-    >>> user_cache_dir(appname, appauthor)
-    '/home/trentm/.cache/SuperApp'
-    >>> user_log_dir(appname, appauthor)
-    '/home/trentm/.local/state/SuperApp/log'
-    >>> user_config_dir(appname)
-    '/home/trentm/.config/SuperApp'
-    >>> user_documents_dir()
-    '/home/trentm/Documents'
-    >>> user_downloads_dir()
-    '/home/trentm/Downloads'
-    >>> user_pictures_dir()
-    '/home/trentm/Pictures'
-    >>> user_videos_dir()
-    '/home/trentm/Videos'
-    >>> user_music_dir()
-    '/home/trentm/Music'
-    >>> user_desktop_dir()
-    '/home/trentm/Desktop'
-    >>> user_runtime_dir(appname, appauthor)
-    '/run/user/{os.getuid()}/SuperApp'
-    >>> site_config_dir(appname)
-    '/etc/xdg/SuperApp'
-    >>> os.environ["XDG_CONFIG_DIRS"] = "/etc:/usr/local/etc"
-    >>> site_config_dir(appname, multipath=True)
-    '/etc/SuperApp:/usr/local/etc/SuperApp'
-
-On Android::
-
-    >>> from platformdirs import *
-    >>> appname = "SuperApp"
-    >>> appauthor = "Acme"
-    >>> user_data_dir(appname, appauthor)
-    '/data/data/com.myApp/files/SuperApp'
-    >>> user_cache_dir(appname, appauthor)
-    '/data/data/com.myApp/cache/SuperApp'
-    >>> user_log_dir(appname, appauthor)
-    '/data/data/com.myApp/cache/SuperApp/log'
-    >>> user_config_dir(appname)
-    '/data/data/com.myApp/shared_prefs/SuperApp'
-    >>> user_documents_dir()
-    '/storage/emulated/0/Documents'
-    >>> user_downloads_dir()
-    '/storage/emulated/0/Downloads'
-    >>> user_pictures_dir()
-    '/storage/emulated/0/Pictures'
-    >>> user_videos_dir()
-    '/storage/emulated/0/DCIM/Camera'
-    >>> user_music_dir()
-    '/storage/emulated/0/Music'
-    >>> user_desktop_dir()
-    '/storage/emulated/0/Desktop'
-    >>> user_runtime_dir(appname, appauthor)
-    '/data/data/com.myApp/cache/SuperApp/tmp'
-
-Note: Some android apps like Termux and Pydroid are used as shells. These
-apps are used by the end user to emulate Linux environment. Presence of
-``SHELL`` environment variable is used by Platformdirs to differentiate
-between general android apps and android apps used as shells. Shell android
-apps also support ``XDG_*`` environment variables.
-
-
-``PlatformDirs`` for convenience
-================================
-
-.. code-block:: pycon
-
-    >>> from platformdirs import PlatformDirs
-    >>> dirs = PlatformDirs("SuperApp", "Acme")
-    >>> dirs.user_data_dir
-    '/Users/trentm/Library/Application Support/SuperApp'
-    >>> dirs.site_data_dir
-    '/Library/Application Support/SuperApp'
-    >>> dirs.user_cache_dir
-    '/Users/trentm/Library/Caches/SuperApp'
-    >>> dirs.user_log_dir
-    '/Users/trentm/Library/Logs/SuperApp'
-    >>> dirs.user_documents_dir
-    '/Users/trentm/Documents'
-    >>> dirs.user_downloads_dir
-    '/Users/trentm/Downloads'
-    >>> dirs.user_pictures_dir
-    '/Users/trentm/Pictures'
-    >>> dirs.user_videos_dir
-    '/Users/trentm/Movies'
-    >>> dirs.user_music_dir
-    '/Users/trentm/Music'
-    >>> dirs.user_desktop_dir
-    '/Users/trentm/Desktop'
-    >>> dirs.user_runtime_dir
-    '/Users/trentm/Library/Caches/TemporaryItems/SuperApp'
-
-Per-version isolation
-=====================
-
-If you have multiple versions of your app in use that you want to be
-able to run side-by-side, then you may want version-isolation for these
-dirs::
-
-    >>> from platformdirs import PlatformDirs
-    >>> dirs = PlatformDirs("SuperApp", "Acme", version="1.0")
-    >>> dirs.user_data_dir
-    '/Users/trentm/Library/Application Support/SuperApp/1.0'
-    >>> dirs.site_data_dir
-    '/Library/Application Support/SuperApp/1.0'
-    >>> dirs.user_cache_dir
-    '/Users/trentm/Library/Caches/SuperApp/1.0'
-    >>> dirs.user_log_dir
-    '/Users/trentm/Library/Logs/SuperApp/1.0'
-    >>> dirs.user_documents_dir
-    '/Users/trentm/Documents'
-    >>> dirs.user_downloads_dir
-    '/Users/trentm/Downloads'
-    >>> dirs.user_pictures_dir
-    '/Users/trentm/Pictures'
-    >>> dirs.user_videos_dir
-    '/Users/trentm/Movies'
-    >>> dirs.user_music_dir
-    '/Users/trentm/Music'
-    >>> dirs.user_desktop_dir
-    '/Users/trentm/Desktop'
-    >>> dirs.user_runtime_dir
-    '/Users/trentm/Library/Caches/TemporaryItems/SuperApp/1.0'
-
-Be wary of using this for configuration files though; you'll need to handle
-migrating configuration files manually.
-
-Why this Fork?
-==============
-
-This repository is a friendly fork of the wonderful work started by
-`ActiveState `_ who created
-``appdirs``, this package's ancestor.
-
-Maintaining an open source project is no easy task, particularly
-from within an organization, and the Python community is indebted
-to ``appdirs`` (and to Trent Mick and Jeff Rouse in particular) for
-creating an incredibly useful simple module, as evidenced by the wide
-number of users it has attracted over the years.
-
-Nonetheless, given the number of long-standing open issues
-and pull requests, and no clear path towards `ensuring
-that maintenance of the package would continue or grow
-`_, this fork was
-created.
-
-Contributions are most welcome.
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/RECORD
deleted file mode 100644
index 64c0c8ea..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/RECORD
+++ /dev/null
@@ -1,23 +0,0 @@
-platformdirs-4.2.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
-platformdirs-4.2.2.dist-info/METADATA,sha256=zmsie01G1MtXR0wgIv5XpVeTO7idr0WWvfmxKsKWuGk,11429
-platformdirs-4.2.2.dist-info/RECORD,,
-platformdirs-4.2.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-platformdirs-4.2.2.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
-platformdirs-4.2.2.dist-info/licenses/LICENSE,sha256=KeD9YukphQ6G6yjD_czwzv30-pSHkBHP-z0NS-1tTbY,1089
-platformdirs/__init__.py,sha256=EMGE8qeHRR9CzDFr8kL3tA8hdZZniYjXBVZd0UGTWK0,22225
-platformdirs/__main__.py,sha256=HnsUQHpiBaiTxwcmwVw-nFaPdVNZtQIdi1eWDtI-MzI,1493
-platformdirs/__pycache__/__init__.cpython-312.pyc,,
-platformdirs/__pycache__/__main__.cpython-312.pyc,,
-platformdirs/__pycache__/android.cpython-312.pyc,,
-platformdirs/__pycache__/api.cpython-312.pyc,,
-platformdirs/__pycache__/macos.cpython-312.pyc,,
-platformdirs/__pycache__/unix.cpython-312.pyc,,
-platformdirs/__pycache__/version.cpython-312.pyc,,
-platformdirs/__pycache__/windows.cpython-312.pyc,,
-platformdirs/android.py,sha256=xZXY9Jd46WOsxT2U6-5HsNtDZ-IQqxcEUrBLl3hYk4o,9016
-platformdirs/api.py,sha256=QBYdUac2eC521ek_y53uD1Dcq-lJX8IgSRVd4InC6uc,8996
-platformdirs/macos.py,sha256=wftsbsvq6nZ0WORXSiCrZNkRHz_WKuktl0a6mC7MFkI,5580
-platformdirs/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-platformdirs/unix.py,sha256=Cci9Wqt35dAMsg6HT9nRGHSBW5obb0pR3AE1JJnsCXg,10643
-platformdirs/version.py,sha256=r7F76tZRjgQKzrpx_I0_ZMQOMU-PS7eGnHD7zEK3KB0,411
-platformdirs/windows.py,sha256=IFpiohUBwxPtCzlyKwNtxyW4Jk8haa6W8o59mfrDXVo,10125
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/REQUESTED
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/WHEEL
deleted file mode 100644
index 516596c7..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/WHEEL
+++ /dev/null
@@ -1,4 +0,0 @@
-Wheel-Version: 1.0
-Generator: hatchling 1.24.2
-Root-Is-Purelib: true
-Tag: py3-none-any
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/licenses/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/licenses/LICENSE
deleted file mode 100644
index f35fed91..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs-4.2.2.dist-info/licenses/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-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/python3.12/site-packages/setuptools/_vendor/platformdirs/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__init__.py
deleted file mode 100644
index 3f7d9490..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__init__.py
+++ /dev/null
@@ -1,627 +0,0 @@
-"""
-Utilities for determining application-specific dirs.
-
-See  for details and usage.
-
-"""
-
-from __future__ import annotations
-
-import os
-import sys
-from typing import TYPE_CHECKING
-
-from .api import PlatformDirsABC
-from .version import __version__
-from .version import __version_tuple__ as __version_info__
-
-if TYPE_CHECKING:
-    from pathlib import Path
-    from typing import Literal
-
-
-def _set_platform_dir_class() -> type[PlatformDirsABC]:
-    if sys.platform == "win32":
-        from platformdirs.windows import Windows as Result  # noqa: PLC0415
-    elif sys.platform == "darwin":
-        from platformdirs.macos import MacOS as Result  # noqa: PLC0415
-    else:
-        from platformdirs.unix import Unix as Result  # noqa: PLC0415
-
-    if os.getenv("ANDROID_DATA") == "/data" and os.getenv("ANDROID_ROOT") == "/system":
-        if os.getenv("SHELL") or os.getenv("PREFIX"):
-            return Result
-
-        from platformdirs.android import _android_folder  # noqa: PLC0415
-
-        if _android_folder() is not None:
-            from platformdirs.android import Android  # noqa: PLC0415
-
-            return Android  # return to avoid redefinition of a result
-
-    return Result
-
-
-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,
-    version: str | None = None,
-    roaming: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> str:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param roaming: See `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: data directory tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        roaming=roaming,
-        ensure_exists=ensure_exists,
-    ).user_data_dir
-
-
-def site_data_dir(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
-    version: str | None = None,
-    multipath: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> str:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param multipath: See `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: data directory shared by users
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        multipath=multipath,
-        ensure_exists=ensure_exists,
-    ).site_data_dir
-
-
-def user_config_dir(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
-    version: str | None = None,
-    roaming: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> str:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param roaming: See `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: config directory tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        roaming=roaming,
-        ensure_exists=ensure_exists,
-    ).user_config_dir
-
-
-def site_config_dir(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
-    version: str | None = None,
-    multipath: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> str:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param multipath: See `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: config directory shared by the users
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        multipath=multipath,
-        ensure_exists=ensure_exists,
-    ).site_config_dir
-
-
-def user_cache_dir(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = 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 `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: cache directory tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        opinion=opinion,
-        ensure_exists=ensure_exists,
-    ).user_cache_dir
-
-
-def site_cache_dir(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = 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: cache directory tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        opinion=opinion,
-        ensure_exists=ensure_exists,
-    ).site_cache_dir
-
-
-def user_state_dir(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
-    version: str | None = None,
-    roaming: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> str:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param roaming: See `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: state directory tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        roaming=roaming,
-        ensure_exists=ensure_exists,
-    ).user_state_dir
-
-
-def user_log_dir(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = 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 `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: log directory tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        opinion=opinion,
-        ensure_exists=ensure_exists,
-    ).user_log_dir
-
-
-def user_documents_dir() -> str:
-    """:returns: documents directory tied to the user"""
-    return PlatformDirs().user_documents_dir
-
-
-def user_downloads_dir() -> str:
-    """:returns: downloads directory tied to the user"""
-    return PlatformDirs().user_downloads_dir
-
-
-def user_pictures_dir() -> str:
-    """:returns: pictures directory tied to the user"""
-    return PlatformDirs().user_pictures_dir
-
-
-def user_videos_dir() -> str:
-    """:returns: videos directory tied to the user"""
-    return PlatformDirs().user_videos_dir
-
-
-def user_music_dir() -> str:
-    """:returns: music directory tied to the user"""
-    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,
-    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 tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        opinion=opinion,
-        ensure_exists=ensure_exists,
-    ).user_runtime_dir
-
-
-def site_runtime_dir(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = 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,
-    version: str | None = None,
-    roaming: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> Path:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param roaming: See `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: data path tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        roaming=roaming,
-        ensure_exists=ensure_exists,
-    ).user_data_path
-
-
-def site_data_path(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
-    version: str | None = None,
-    multipath: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> Path:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param multipath: See `multipath `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: data path shared by users
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        multipath=multipath,
-        ensure_exists=ensure_exists,
-    ).site_data_path
-
-
-def user_config_path(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
-    version: str | None = None,
-    roaming: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> Path:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param roaming: See `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: config path tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        roaming=roaming,
-        ensure_exists=ensure_exists,
-    ).user_config_path
-
-
-def site_config_path(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
-    version: str | None = None,
-    multipath: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> Path:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param multipath: See `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: config path shared by the users
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        multipath=multipath,
-        ensure_exists=ensure_exists,
-    ).site_config_path
-
-
-def site_cache_path(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = 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: cache directory tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        opinion=opinion,
-        ensure_exists=ensure_exists,
-    ).site_cache_path
-
-
-def user_cache_path(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = 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 `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: cache path tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        opinion=opinion,
-        ensure_exists=ensure_exists,
-    ).user_cache_path
-
-
-def user_state_path(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = None,
-    version: str | None = None,
-    roaming: bool = False,  # noqa: FBT001, FBT002
-    ensure_exists: bool = False,  # noqa: FBT001, FBT002
-) -> Path:
-    """
-    :param appname: See `appname `.
-    :param appauthor: See `appauthor `.
-    :param version: See `version `.
-    :param roaming: See `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: state path tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        roaming=roaming,
-        ensure_exists=ensure_exists,
-    ).user_state_path
-
-
-def user_log_path(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = 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 `roaming `.
-    :param ensure_exists: See `ensure_exists `.
-    :returns: log path tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        opinion=opinion,
-        ensure_exists=ensure_exists,
-    ).user_log_path
-
-
-def user_documents_path() -> Path:
-    """:returns: documents a path tied to the user"""
-    return PlatformDirs().user_documents_path
-
-
-def user_downloads_path() -> Path:
-    """:returns: downloads path tied to the user"""
-    return PlatformDirs().user_downloads_path
-
-
-def user_pictures_path() -> Path:
-    """:returns: pictures path tied to the user"""
-    return PlatformDirs().user_pictures_path
-
-
-def user_videos_path() -> Path:
-    """:returns: videos path tied to the user"""
-    return PlatformDirs().user_videos_path
-
-
-def user_music_path() -> Path:
-    """:returns: music path tied to the user"""
-    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,
-    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 tied to the user
-    """
-    return PlatformDirs(
-        appname=appname,
-        appauthor=appauthor,
-        version=version,
-        opinion=opinion,
-        ensure_exists=ensure_exists,
-    ).user_runtime_path
-
-
-def site_runtime_path(
-    appname: str | None = None,
-    appauthor: str | None | Literal[False] = 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__",
-    "site_cache_dir",
-    "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/python3.12/site-packages/setuptools/_vendor/platformdirs/__main__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__main__.py
deleted file mode 100644
index 922c5213..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__main__.py
+++ /dev/null
@@ -1,55 +0,0 @@
-"""Main entry point."""
-
-from __future__ import annotations
-
-from platformdirs import PlatformDirs, __version__
-
-PROPS = (
-    "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",
-    "site_runtime_dir",
-)
-
-
-def main() -> None:
-    """Run the main entry point."""
-    app_name = "MyApp"
-    app_author = "MyCompany"
-
-    print(f"-- platformdirs {__version__} --")  # noqa: T201
-
-    print("-- app dirs (with optional 'version')")  # noqa: T201
-    dirs = PlatformDirs(app_name, app_author, version="1.0")
-    for prop in PROPS:
-        print(f"{prop}: {getattr(dirs, prop)}")  # noqa: T201
-
-    print("\n-- app dirs (without optional 'version')")  # noqa: T201
-    dirs = PlatformDirs(app_name, app_author)
-    for prop in PROPS:
-        print(f"{prop}: {getattr(dirs, prop)}")  # noqa: T201
-
-    print("\n-- app dirs (without optional 'appauthor')")  # noqa: T201
-    dirs = PlatformDirs(app_name)
-    for prop in PROPS:
-        print(f"{prop}: {getattr(dirs, prop)}")  # noqa: T201
-
-    print("\n-- app dirs (with disabled 'appauthor')")  # noqa: T201
-    dirs = PlatformDirs(app_name, appauthor=False)
-    for prop in PROPS:
-        print(f"{prop}: {getattr(dirs, prop)}")  # noqa: T201
-
-
-if __name__ == "__main__":
-    main()
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 2f36e6ed..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc
deleted file mode 100644
index 99a8f0a2..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/__main__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/android.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/android.cpython-312.pyc
deleted file mode 100644
index f7e42d9f..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/android.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/api.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/api.cpython-312.pyc
deleted file mode 100644
index 3658801b..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/api.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc
deleted file mode 100644
index c7c2ca3c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/macos.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc
deleted file mode 100644
index 4a1cb8bd..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/unix.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/version.cpython-312.pyc
deleted file mode 100644
index 1f2d2443..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/version.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc
deleted file mode 100644
index 875dbf39..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/__pycache__/windows.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/android.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/android.py
deleted file mode 100644
index afd3141c..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/android.py
+++ /dev/null
@@ -1,249 +0,0 @@
-"""Android."""
-
-from __future__ import annotations
-
-import os
-import re
-import sys
-from functools import lru_cache
-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 `.
-
-    """
-
-    @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")
-
-    @property
-    def site_data_dir(self) -> str:
-        """:return: data directory shared by users, same as `user_data_dir`"""
-        return self.user_data_dir
-
-    @property
-    def user_config_dir(self) -> str:
-        """
-        :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")
-
-    @property
-    def site_config_dir(self) -> str:
-        """:return: config directory shared by the users, same as `user_config_dir`"""
-        return self.user_config_dir
-
-    @property
-    def user_cache_dir(self) -> str:
-        """: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:
-        """:return: cache directory shared by users, same as `user_cache_dir`"""
-        return self.user_cache_dir
-
-    @property
-    def user_state_dir(self) -> str:
-        """:return: state directory tied to the user, same as `user_data_dir`"""
-        return self.user_data_dir
-
-    @property
-    def user_log_dir(self) -> str:
-        """
-        :return: log directory tied to the user, same as `user_cache_dir` if not opinionated else ``log`` in it,
-          e.g. ``/data/user///cache//log``
-        """
-        path = self.user_cache_dir
-        if self.opinion:
-            path = os.path.join(path, "log")  # noqa: PTH118
-        return path
-
-    @property
-    def user_documents_dir(self) -> str:
-        """:return: documents directory tied to the user e.g. ``/storage/emulated/0/Documents``"""
-        return _android_documents_folder()
-
-    @property
-    def user_downloads_dir(self) -> str:
-        """:return: downloads directory tied to the user e.g. ``/storage/emulated/0/Downloads``"""
-        return _android_downloads_folder()
-
-    @property
-    def user_pictures_dir(self) -> str:
-        """:return: pictures directory tied to the user e.g. ``/storage/emulated/0/Pictures``"""
-        return _android_pictures_folder()
-
-    @property
-    def user_videos_dir(self) -> str:
-        """:return: videos directory tied to the user e.g. ``/storage/emulated/0/DCIM/Camera``"""
-        return _android_videos_folder()
-
-    @property
-    def user_music_dir(self) -> str:
-        """: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:
-        """
-        :return: runtime directory tied to the user, same as `user_cache_dir` if not opinionated else ``tmp`` in it,
-          e.g. ``/data/user///cache//tmp``
-        """
-        path = self.user_cache_dir
-        if self.opinion:
-            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:  # noqa: C901, PLR0912
-    """:return: base folder for the Android OS or None if it cannot be found"""
-    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 = 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):
-                result = path.split("/files")[0]
-                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
-
-
-@lru_cache(maxsize=1)
-def _android_documents_folder() -> str:
-    """:return: documents folder for the Android OS"""
-    # Get directories with pyjnius
-    try:
-        from jnius import autoclass  # noqa: PLC0415
-
-        context = autoclass("android.content.Context")
-        environment = autoclass("android.os.Environment")
-        documents_dir: str = context.getExternalFilesDir(environment.DIRECTORY_DOCUMENTS).getAbsolutePath()
-    except Exception:  # noqa: BLE001
-        documents_dir = "/storage/emulated/0/Documents"
-
-    return documents_dir
-
-
-@lru_cache(maxsize=1)
-def _android_downloads_folder() -> str:
-    """:return: downloads folder for the Android OS"""
-    # Get directories with pyjnius
-    try:
-        from jnius import autoclass  # noqa: PLC0415
-
-        context = autoclass("android.content.Context")
-        environment = autoclass("android.os.Environment")
-        downloads_dir: str = context.getExternalFilesDir(environment.DIRECTORY_DOWNLOADS).getAbsolutePath()
-    except Exception:  # noqa: BLE001
-        downloads_dir = "/storage/emulated/0/Downloads"
-
-    return downloads_dir
-
-
-@lru_cache(maxsize=1)
-def _android_pictures_folder() -> str:
-    """:return: pictures folder for the Android OS"""
-    # Get directories with pyjnius
-    try:
-        from jnius import autoclass  # noqa: PLC0415
-
-        context = autoclass("android.content.Context")
-        environment = autoclass("android.os.Environment")
-        pictures_dir: str = context.getExternalFilesDir(environment.DIRECTORY_PICTURES).getAbsolutePath()
-    except Exception:  # noqa: BLE001
-        pictures_dir = "/storage/emulated/0/Pictures"
-
-    return pictures_dir
-
-
-@lru_cache(maxsize=1)
-def _android_videos_folder() -> str:
-    """:return: videos folder for the Android OS"""
-    # Get directories with pyjnius
-    try:
-        from jnius import autoclass  # noqa: PLC0415
-
-        context = autoclass("android.content.Context")
-        environment = autoclass("android.os.Environment")
-        videos_dir: str = context.getExternalFilesDir(environment.DIRECTORY_DCIM).getAbsolutePath()
-    except Exception:  # noqa: BLE001
-        videos_dir = "/storage/emulated/0/DCIM/Camera"
-
-    return videos_dir
-
-
-@lru_cache(maxsize=1)
-def _android_music_folder() -> str:
-    """:return: music folder for the Android OS"""
-    # Get directories with pyjnius
-    try:
-        from jnius import autoclass  # noqa: PLC0415
-
-        context = autoclass("android.content.Context")
-        environment = autoclass("android.os.Environment")
-        music_dir: str = context.getExternalFilesDir(environment.DIRECTORY_MUSIC).getAbsolutePath()
-    except Exception:  # noqa: BLE001
-        music_dir = "/storage/emulated/0/Music"
-
-    return music_dir
-
-
-__all__ = [
-    "Android",
-]
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/api.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/api.py
deleted file mode 100644
index c50caa64..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/api.py
+++ /dev/null
@@ -1,292 +0,0 @@
-"""Base API."""
-
-from __future__ import annotations
-
-import os
-from abc import ABC, abstractmethod
-from pathlib import Path
-from typing import TYPE_CHECKING
-
-if TYPE_CHECKING:
-    from typing import Iterator, Literal
-
-
-class PlatformDirsABC(ABC):  # noqa: PLR0904
-    """Abstract base class for platform directories."""
-
-    def __init__(  # noqa: PLR0913, PLR0917
-        self,
-        appname: str | None = None,
-        appauthor: str | None | Literal[False] = None,
-        version: str | None = None,
-        roaming: bool = False,  # noqa: FBT001, FBT002
-        multipath: bool = False,  # noqa: FBT001, FBT002
-        opinion: bool = True,  # noqa: FBT001, FBT002
-        ensure_exists: bool = False,  # noqa: FBT001, FBT002
-    ) -> None:
-        """
-        Create a new platform directory.
-
-        :param appname: See `appname`.
-        :param appauthor: See `appauthor`.
-        :param version: See `version`.
-        :param roaming: See `roaming`.
-        :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.
-
-        """
-        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 ``.``.
-
-        """
-        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 `_).
-
-        """
-        self.multipath = multipath
-        """
-        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:
-        params = list(base[1:])
-        if self.appname:
-            params.append(self.appname)
-            if self.version:
-                params.append(self.version)
-        path = os.path.join(base[0], *params)  # noqa: PTH118
-        self._optionally_create_directory(path)
-        return path
-
-    def _optionally_create_directory(self, path: str) -> None:
-        if self.ensure_exists:
-            Path(path).mkdir(parents=True, exist_ok=True)
-
-    @property
-    @abstractmethod
-    def user_data_dir(self) -> str:
-        """:return: data directory tied to the user"""
-
-    @property
-    @abstractmethod
-    def site_data_dir(self) -> str:
-        """:return: data directory shared by users"""
-
-    @property
-    @abstractmethod
-    def user_config_dir(self) -> str:
-        """:return: config directory tied to the user"""
-
-    @property
-    @abstractmethod
-    def site_config_dir(self) -> str:
-        """:return: config directory shared by the users"""
-
-    @property
-    @abstractmethod
-    def user_cache_dir(self) -> str:
-        """:return: cache directory tied to the user"""
-
-    @property
-    @abstractmethod
-    def site_cache_dir(self) -> str:
-        """:return: cache directory shared by users"""
-
-    @property
-    @abstractmethod
-    def user_state_dir(self) -> str:
-        """:return: state directory tied to the user"""
-
-    @property
-    @abstractmethod
-    def user_log_dir(self) -> str:
-        """:return: log directory tied to the user"""
-
-    @property
-    @abstractmethod
-    def user_documents_dir(self) -> str:
-        """:return: documents directory tied to the user"""
-
-    @property
-    @abstractmethod
-    def user_downloads_dir(self) -> str:
-        """:return: downloads directory tied to the user"""
-
-    @property
-    @abstractmethod
-    def user_pictures_dir(self) -> str:
-        """:return: pictures directory tied to the user"""
-
-    @property
-    @abstractmethod
-    def user_videos_dir(self) -> str:
-        """:return: videos directory tied to the user"""
-
-    @property
-    @abstractmethod
-    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"""
-        return Path(self.user_data_dir)
-
-    @property
-    def site_data_path(self) -> Path:
-        """:return: data path shared by users"""
-        return Path(self.site_data_dir)
-
-    @property
-    def user_config_path(self) -> Path:
-        """:return: config path tied to the user"""
-        return Path(self.user_config_dir)
-
-    @property
-    def site_config_path(self) -> Path:
-        """:return: config path shared by the users"""
-        return Path(self.site_config_dir)
-
-    @property
-    def user_cache_path(self) -> Path:
-        """:return: cache path tied to the user"""
-        return Path(self.user_cache_dir)
-
-    @property
-    def site_cache_path(self) -> Path:
-        """:return: cache path shared by users"""
-        return Path(self.site_cache_dir)
-
-    @property
-    def user_state_path(self) -> Path:
-        """:return: state path tied to the user"""
-        return Path(self.user_state_dir)
-
-    @property
-    def user_log_path(self) -> Path:
-        """:return: log path tied to the user"""
-        return Path(self.user_log_dir)
-
-    @property
-    def user_documents_path(self) -> Path:
-        """:return: documents a path tied to the user"""
-        return Path(self.user_documents_dir)
-
-    @property
-    def user_downloads_path(self) -> Path:
-        """:return: downloads path tied to the user"""
-        return Path(self.user_downloads_dir)
-
-    @property
-    def user_pictures_path(self) -> Path:
-        """:return: pictures path tied to the user"""
-        return Path(self.user_pictures_dir)
-
-    @property
-    def user_videos_path(self) -> Path:
-        """:return: videos path tied to the user"""
-        return Path(self.user_videos_dir)
-
-    @property
-    def user_music_path(self) -> Path:
-        """: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/python3.12/site-packages/setuptools/_vendor/platformdirs/macos.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/macos.py
deleted file mode 100644
index eb1ba5df..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/macos.py
+++ /dev/null
@@ -1,130 +0,0 @@
-"""macOS."""
-
-from __future__ import annotations
-
-import os.path
-import sys
-
-from .api import PlatformDirsABC
-
-
-class MacOS(PlatformDirsABC):
-    """
-    Platform directories for the macOS operating system.
-
-    Follows the guidance from
-    `Apple documentation `_.
-    Makes use of the `appname `,
-    `version `,
-    `ensure_exists `.
-
-    """
-
-    @property
-    def user_data_dir(self) -> str:
-        """:return: data directory tied to the user, e.g. ``~/Library/Application Support/$appname/$version``"""
-        return self._append_app_name_and_version(os.path.expanduser("~/Library/Application Support"))  # noqa: PTH111
-
-    @property
-    def site_data_dir(self) -> str:
-        """
-        :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 user_config_dir(self) -> str:
-        """:return: config directory tied to the user, same as `user_data_dir`"""
-        return self.user_data_dir
-
-    @property
-    def site_config_dir(self) -> str:
-        """:return: config directory shared by the users, same as `site_data_dir`"""
-        return self.site_data_dir
-
-    @property
-    def user_cache_dir(self) -> str:
-        """:return: cache directory tied to the user, e.g. ``~/Library/Caches/$appname/$version``"""
-        return self._append_app_name_and_version(os.path.expanduser("~/Library/Caches"))  # noqa: PTH111
-
-    @property
-    def site_cache_dir(self) -> str:
-        """
-        :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 user_state_dir(self) -> str:
-        """:return: state directory tied to the user, same as `user_data_dir`"""
-        return self.user_data_dir
-
-    @property
-    def user_log_dir(self) -> str:
-        """:return: log directory tied to the user, e.g. ``~/Library/Logs/$appname/$version``"""
-        return self._append_app_name_and_version(os.path.expanduser("~/Library/Logs"))  # noqa: PTH111
-
-    @property
-    def user_documents_dir(self) -> str:
-        """:return: documents directory tied to the user, e.g. ``~/Documents``"""
-        return os.path.expanduser("~/Documents")  # noqa: PTH111
-
-    @property
-    def user_downloads_dir(self) -> str:
-        """:return: downloads directory tied to the user, e.g. ``~/Downloads``"""
-        return os.path.expanduser("~/Downloads")  # noqa: PTH111
-
-    @property
-    def user_pictures_dir(self) -> str:
-        """:return: pictures directory tied to the user, e.g. ``~/Pictures``"""
-        return os.path.expanduser("~/Pictures")  # noqa: PTH111
-
-    @property
-    def user_videos_dir(self) -> str:
-        """:return: videos directory tied to the user, e.g. ``~/Movies``"""
-        return os.path.expanduser("~/Movies")  # noqa: PTH111
-
-    @property
-    def user_music_dir(self) -> str:
-        """: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/python3.12/site-packages/setuptools/_vendor/platformdirs/py.typed b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/py.typed
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/unix.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/unix.py
deleted file mode 100644
index 9500ade6..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/unix.py
+++ /dev/null
@@ -1,275 +0,0 @@
-"""Unix."""
-
-from __future__ import annotations
-
-import os
-import sys
-from configparser import ConfigParser
-from pathlib import Path
-from typing import Iterator, NoReturn
-
-from .api import PlatformDirsABC
-
-if sys.platform == "win32":
-
-    def getuid() -> NoReturn:
-        msg = "should only be used on Unix"
-        raise RuntimeError(msg)
-
-else:
-    from os import getuid
-
-
-class Unix(PlatformDirsABC):  # noqa: PLR0904
-    """
-    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
-    def user_data_dir(self) -> str:
-        """
-        :return: data directory tied to the user, e.g. ``~/.local/share/$appname/$version`` or
-         ``$XDG_DATA_HOME/$appname/$version``
-        """
-        path = os.environ.get("XDG_DATA_HOME", "")
-        if not path.strip():
-            path = os.path.expanduser("~/.local/share")  # noqa: PTH111
-        return self._append_app_name_and_version(path)
-
-    @property
-    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._append_app_name_and_version(p) for p in 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:
-            return dirs[0]
-        return os.pathsep.join(dirs)
-
-    @property
-    def user_config_dir(self) -> str:
-        """
-        :return: config directory tied to the user, e.g. ``~/.config/$appname/$version`` or
-         ``$XDG_CONFIG_HOME/$appname/$version``
-        """
-        path = os.environ.get("XDG_CONFIG_HOME", "")
-        if not path.strip():
-            path = os.path.expanduser("~/.config")  # noqa: PTH111
-        return self._append_app_name_and_version(path)
-
-    @property
-    def _site_config_dirs(self) -> list[str]:
-        path = os.environ.get("XDG_CONFIG_DIRS", "")
-        if not path.strip():
-            path = "/etc/xdg"
-        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:
-        """
-        :return: cache directory tied to the user, e.g. ``~/.cache/$appname/$version`` or
-         ``~/$XDG_CACHE_HOME/$appname/$version``
-        """
-        path = os.environ.get("XDG_CACHE_HOME", "")
-        if not path.strip():
-            path = os.path.expanduser("~/.cache")  # noqa: PTH111
-        return self._append_app_name_and_version(path)
-
-    @property
-    def site_cache_dir(self) -> str:
-        """: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:
-        """
-        :return: state directory tied to the user, e.g. ``~/.local/state/$appname/$version`` or
-         ``$XDG_STATE_HOME/$appname/$version``
-        """
-        path = os.environ.get("XDG_STATE_HOME", "")
-        if not path.strip():
-            path = os.path.expanduser("~/.local/state")  # noqa: PTH111
-        return self._append_app_name_and_version(path)
-
-    @property
-    def user_log_dir(self) -> str:
-        """:return: log directory tied to the user, same as `user_state_dir` if not opinionated else ``log`` in it"""
-        path = self.user_state_dir
-        if self.opinion:
-            path = os.path.join(path, "log")  # noqa: PTH118
-            self._optionally_create_directory(path)
-        return path
-
-    @property
-    def user_documents_dir(self) -> str:
-        """:return: documents directory tied to the user, e.g. ``~/Documents``"""
-        return _get_user_media_dir("XDG_DOCUMENTS_DIR", "~/Documents")
-
-    @property
-    def user_downloads_dir(self) -> str:
-        """:return: downloads directory tied to the user, e.g. ``~/Downloads``"""
-        return _get_user_media_dir("XDG_DOWNLOAD_DIR", "~/Downloads")
-
-    @property
-    def user_pictures_dir(self) -> str:
-        """:return: pictures directory tied to the user, e.g. ``~/Pictures``"""
-        return _get_user_media_dir("XDG_PICTURES_DIR", "~/Pictures")
-
-    @property
-    def user_videos_dir(self) -> str:
-        """:return: videos directory tied to the user, e.g. ``~/Videos``"""
-        return _get_user_media_dir("XDG_VIDEOS_DIR", "~/Videos")
-
-    @property
-    def user_music_dir(self) -> str:
-        """: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:
-        """
-        :return: runtime directory tied to the user, e.g. ``/run/user/$(id -u)/$appname/$version`` or
-         ``$XDG_RUNTIME_DIR/$appname/$version``.
-
-         For FreeBSD/OpenBSD/NetBSD, it would return ``/var/run/user/$(id -u)/$appname/$version`` if
-         exists, otherwise ``/tmp/runtime-$(id -u)/$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 = f"/var/run/user/{getuid()}"
-                if not Path(path).exists():
-                    path = f"/tmp/runtime-{getuid()}"  # noqa: S108
-            else:
-                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 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, 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 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:
-    media_dir = _get_user_dirs_folder(env_var)
-    if media_dir is None:
-        media_dir = os.environ.get(env_var, "").strip()
-        if not media_dir:
-            media_dir = os.path.expanduser(fallback_tilde_path)  # noqa: PTH111
-
-    return media_dir
-
-
-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/.
-
-    """
-    user_dirs_config_path = Path(Unix().user_config_dir) / "user-dirs.dirs"
-    if user_dirs_config_path.exists():
-        parser = ConfigParser()
-
-        with user_dirs_config_path.open() as stream:
-            # Add fake section header, so ConfigParser doesn't complain
-            parser.read_string(f"[top]\n{stream.read()}")
-
-        if key not in parser["top"]:
-            return None
-
-        path = parser["top"][key].strip('"')
-        # Handle relative home paths
-        return path.replace("$HOME", os.path.expanduser("~"))  # noqa: PTH111
-
-    return None
-
-
-__all__ = [
-    "Unix",
-]
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/version.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/version.py
deleted file mode 100644
index 6483ddce..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/version.py
+++ /dev/null
@@ -1,16 +0,0 @@
-# file generated by setuptools_scm
-# don't change, don't track in version control
-TYPE_CHECKING = False
-if TYPE_CHECKING:
-    from typing import Tuple, 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.2.2'
-__version_tuple__ = version_tuple = (4, 2, 2)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/windows.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/windows.py
deleted file mode 100644
index d7bc9609..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/platformdirs/windows.py
+++ /dev/null
@@ -1,272 +0,0 @@
-"""Windows."""
-
-from __future__ import annotations
-
-import os
-import sys
-from functools import lru_cache
-from typing import TYPE_CHECKING
-
-from .api import PlatformDirsABC
-
-if TYPE_CHECKING:
-    from collections.abc import Callable
-
-
-class Windows(PlatformDirsABC):
-    """
-    `MSDN on where to store app data files `_.
-
-    Makes use of the `appname `, `appauthor
-    `, `version `, `roaming
-    `, `opinion `, `ensure_exists
-    `.
-
-    """
-
-    @property
-    def user_data_dir(self) -> str:
-        """
-        :return: data directory tied to the user, e.g.
-         ``%USERPROFILE%\\AppData\\Local\\$appauthor\\$appname`` (not roaming) or
-         ``%USERPROFILE%\\AppData\\Roaming\\$appauthor\\$appname`` (roaming)
-        """
-        const = "CSIDL_APPDATA" if self.roaming else "CSIDL_LOCAL_APPDATA"
-        path = os.path.normpath(get_win_folder(const))
-        return self._append_parts(path)
-
-    def _append_parts(self, path: str, *, opinion_value: str | None = None) -> str:
-        params = []
-        if self.appname:
-            if self.appauthor is not False:
-                author = self.appauthor or self.appname
-                params.append(author)
-            params.append(self.appname)
-            if opinion_value is not None and self.opinion:
-                params.append(opinion_value)
-            if self.version:
-                params.append(self.version)
-        path = os.path.join(path, *params)  # noqa: PTH118
-        self._optionally_create_directory(path)
-        return path
-
-    @property
-    def site_data_dir(self) -> str:
-        """:return: data directory shared by users, e.g. ``C:\\ProgramData\\$appauthor\\$appname``"""
-        path = os.path.normpath(get_win_folder("CSIDL_COMMON_APPDATA"))
-        return self._append_parts(path)
-
-    @property
-    def user_config_dir(self) -> str:
-        """:return: config directory tied to the user, same as `user_data_dir`"""
-        return self.user_data_dir
-
-    @property
-    def site_config_dir(self) -> str:
-        """:return: config directory shared by the users, same as `site_data_dir`"""
-        return self.site_data_dir
-
-    @property
-    def user_cache_dir(self) -> str:
-        """
-        :return: cache directory tied to the user (if opinionated with ``Cache`` folder within ``$appname``) e.g.
-         ``%USERPROFILE%\\AppData\\Local\\$appauthor\\$appname\\Cache\\$version``
-        """
-        path = os.path.normpath(get_win_folder("CSIDL_LOCAL_APPDATA"))
-        return self._append_parts(path, opinion_value="Cache")
-
-    @property
-    def site_cache_dir(self) -> str:
-        """:return: cache directory shared by users, e.g. ``C:\\ProgramData\\$appauthor\\$appname\\Cache\\$version``"""
-        path = os.path.normpath(get_win_folder("CSIDL_COMMON_APPDATA"))
-        return self._append_parts(path, opinion_value="Cache")
-
-    @property
-    def user_state_dir(self) -> str:
-        """:return: state directory tied to the user, same as `user_data_dir`"""
-        return self.user_data_dir
-
-    @property
-    def user_log_dir(self) -> str:
-        """:return: log directory tied to the user, same as `user_data_dir` if not opinionated else ``Logs`` in it"""
-        path = self.user_data_dir
-        if self.opinion:
-            path = os.path.join(path, "Logs")  # noqa: PTH118
-            self._optionally_create_directory(path)
-        return path
-
-    @property
-    def user_documents_dir(self) -> str:
-        """:return: documents directory tied to the user e.g. ``%USERPROFILE%\\Documents``"""
-        return os.path.normpath(get_win_folder("CSIDL_PERSONAL"))
-
-    @property
-    def user_downloads_dir(self) -> str:
-        """:return: downloads directory tied to the user e.g. ``%USERPROFILE%\\Downloads``"""
-        return os.path.normpath(get_win_folder("CSIDL_DOWNLOADS"))
-
-    @property
-    def user_pictures_dir(self) -> str:
-        """:return: pictures directory tied to the user e.g. ``%USERPROFILE%\\Pictures``"""
-        return os.path.normpath(get_win_folder("CSIDL_MYPICTURES"))
-
-    @property
-    def user_videos_dir(self) -> str:
-        """:return: videos directory tied to the user e.g. ``%USERPROFILE%\\Videos``"""
-        return os.path.normpath(get_win_folder("CSIDL_MYVIDEO"))
-
-    @property
-    def user_music_dir(self) -> str:
-        """: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:
-        """
-        :return: runtime directory tied to the user, e.g.
-         ``%USERPROFILE%\\AppData\\Local\\Temp\\$appauthor\\$appname``
-        """
-        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."""
-    result = get_win_folder_if_csidl_name_not_env_var(csidl_name)
-    if result is not None:
-        return result
-
-    env_var_name = {
-        "CSIDL_APPDATA": "APPDATA",
-        "CSIDL_COMMON_APPDATA": "ALLUSERSPROFILE",
-        "CSIDL_LOCAL_APPDATA": "LOCALAPPDATA",
-    }.get(csidl_name)
-    if env_var_name is None:
-        msg = f"Unknown CSIDL name: {csidl_name}"
-        raise ValueError(msg)
-    result = os.environ.get(env_var_name)
-    if result is None:
-        msg = f"Unset environment variable: {env_var_name}"
-        raise ValueError(msg)
-    return result
-
-
-def get_win_folder_if_csidl_name_not_env_var(csidl_name: str) -> str | None:
-    """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
-
-    if csidl_name == "CSIDL_DOWNLOADS":
-        return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Downloads")  # noqa: PTH118
-
-    if csidl_name == "CSIDL_MYPICTURES":
-        return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Pictures")  # noqa: PTH118
-
-    if csidl_name == "CSIDL_MYVIDEO":
-        return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Videos")  # noqa: PTH118
-
-    if csidl_name == "CSIDL_MYMUSIC":
-        return os.path.join(os.path.normpath(os.environ["USERPROFILE"]), "Music")  # noqa: PTH118
-    return None
-
-
-def get_win_folder_from_registry(csidl_name: str) -> str:
-    """
-    Get folder from the registry.
-
-    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",
-        "CSIDL_COMMON_APPDATA": "Common AppData",
-        "CSIDL_LOCAL_APPDATA": "Local AppData",
-        "CSIDL_PERSONAL": "Personal",
-        "CSIDL_DOWNLOADS": "{374DE290-123F-4565-9164-39C4925E467B}",
-        "CSIDL_MYPICTURES": "My Pictures",
-        "CSIDL_MYVIDEO": "My Video",
-        "CSIDL_MYMUSIC": "My Music",
-    }.get(csidl_name)
-    if shell_folder_name is None:
-        msg = f"Unknown CSIDL name: {csidl_name}"
-        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  # noqa: PLC0415
-
-    key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, r"Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders")
-    directory, _ = winreg.QueryValueEx(key, shell_folder_name)
-    return str(directory)
-
-
-def get_win_folder_via_ctypes(csidl_name: str) -> str:
-    """Get folder with ctypes."""
-    # There is no 'CSIDL_DOWNLOADS'.
-    # 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,
-        "CSIDL_LOCAL_APPDATA": 28,
-        "CSIDL_PERSONAL": 5,
-        "CSIDL_MYPICTURES": 39,
-        "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}"
-        raise ValueError(msg)
-
-    buf = ctypes.create_unicode_buffer(1024)
-    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 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):
-            buf = buf2
-
-    if csidl_name == "CSIDL_DOWNLOADS":
-        return os.path.join(buf.value, "Downloads")  # noqa: PTH118
-
-    return buf.value
-
-
-def _pick_get_win_folder() -> Callable[[str], str]:
-    try:
-        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:
-        return get_win_folder_from_registry
-
-
-get_win_folder = lru_cache(maxsize=None)(_pick_get_win_folder())
-
-__all__ = [
-    "Windows",
-]
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/ruff.toml b/.venv/lib/python3.12/site-packages/setuptools/_vendor/ruff.toml
deleted file mode 100644
index 00fee625..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/ruff.toml
+++ /dev/null
@@ -1 +0,0 @@
-exclude = ["*"]
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/INSTALLER
deleted file mode 100644
index a1b589e3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/INSTALLER
+++ /dev/null
@@ -1 +0,0 @@
-pip
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/LICENSE
deleted file mode 100644
index e859590f..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/LICENSE
+++ /dev/null
@@ -1,21 +0,0 @@
-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/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/METADATA
deleted file mode 100644
index efd87ecc..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/METADATA
+++ /dev/null
@@ -1,206 +0,0 @@
-Metadata-Version: 2.1
-Name: tomli
-Version: 2.0.1
-Summary: A lil' TOML parser
-Keywords: toml
-Author-email: Taneli Hukkinen 
-Requires-Python: >=3.7
-Description-Content-Type: text/markdown
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Operating System :: MacOS
-Classifier: Operating System :: Microsoft :: Windows
-Classifier: Operating System :: POSIX :: Linux
-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 :: Implementation :: CPython
-Classifier: Programming Language :: Python :: Implementation :: PyPy
-Classifier: Topic :: Software Development :: Libraries :: Python Modules
-Classifier: Typing :: Typed
-Project-URL: Changelog, https://github.com/hukkin/tomli/blob/master/CHANGELOG.md
-Project-URL: Homepage, https://github.com/hukkin/tomli
-
-[![Build Status](https://github.com/hukkin/tomli/workflows/Tests/badge.svg?branch=master)](https://github.com/hukkin/tomli/actions?query=workflow%3ATests+branch%3Amaster+event%3Apush)
-[![codecov.io](https://codecov.io/gh/hukkin/tomli/branch/master/graph/badge.svg)](https://codecov.io/gh/hukkin/tomli)
-[![PyPI version](https://img.shields.io/pypi/v/tomli)](https://pypi.org/project/tomli)
-
-# Tomli
-
-> A lil' TOML parser
-
-**Table of Contents**  *generated with [mdformat-toc](https://github.com/hukkin/mdformat-toc)*
-
-
-
-- [Intro](#intro)
-- [Installation](#installation)
-- [Usage](#usage)
-  - [Parse a TOML string](#parse-a-toml-string)
-  - [Parse a TOML file](#parse-a-toml-file)
-  - [Handle invalid TOML](#handle-invalid-toml)
-  - [Construct `decimal.Decimal`s from TOML floats](#construct-decimaldecimals-from-toml-floats)
-- [FAQ](#faq)
-  - [Why this parser?](#why-this-parser)
-  - [Is comment preserving round-trip parsing supported?](#is-comment-preserving-round-trip-parsing-supported)
-  - [Is there a `dumps`, `write` or `encode` function?](#is-there-a-dumps-write-or-encode-function)
-  - [How do TOML types map into Python types?](#how-do-toml-types-map-into-python-types)
-- [Performance](#performance)
-
-
-
-## Intro
-
-Tomli is a Python library for parsing [TOML](https://toml.io).
-Tomli is fully compatible with [TOML v1.0.0](https://toml.io/en/v1.0.0).
-
-## Installation
-
-```bash
-pip install tomli
-```
-
-## Usage
-
-### Parse a TOML string
-
-```python
-import tomli
-
-toml_str = """
-           gretzky = 99
-
-           [kurri]
-           jari = 17
-           """
-
-toml_dict = tomli.loads(toml_str)
-assert toml_dict == {"gretzky": 99, "kurri": {"jari": 17}}
-```
-
-### Parse a TOML file
-
-```python
-import tomli
-
-with open("path_to_file/conf.toml", "rb") as f:
-    toml_dict = tomli.load(f)
-```
-
-The file must be opened in binary mode (with the `"rb"` flag).
-Binary mode will enforce decoding the file as UTF-8 with universal newlines disabled,
-both of which are required to correctly parse TOML.
-
-### Handle invalid TOML
-
-```python
-import tomli
-
-try:
-    toml_dict = tomli.loads("]] this is invalid TOML [[")
-except tomli.TOMLDecodeError:
-    print("Yep, definitely not valid.")
-```
-
-Note that error messages are considered informational only.
-They should not be assumed to stay constant across Tomli versions.
-
-### Construct `decimal.Decimal`s from TOML floats
-
-```python
-from decimal import Decimal
-import tomli
-
-toml_dict = tomli.loads("precision-matters = 0.982492", parse_float=Decimal)
-assert toml_dict["precision-matters"] == Decimal("0.982492")
-```
-
-Note that `decimal.Decimal` can be replaced with another callable that converts a TOML float from string to a Python type.
-The `decimal.Decimal` is, however, a practical choice for use cases where float inaccuracies can not be tolerated.
-
-Illegal types are `dict` and `list`, and their subtypes.
-A `ValueError` will be raised if `parse_float` produces illegal types.
-
-## FAQ
-
-### Why this parser?
-
-- it's lil'
-- pure Python with zero dependencies
-- the fastest pure Python parser [\*](#performance):
-  15x as fast as [tomlkit](https://pypi.org/project/tomlkit/),
-  2.4x as fast as [toml](https://pypi.org/project/toml/)
-- outputs [basic data types](#how-do-toml-types-map-into-python-types) only
-- 100% spec compliant: passes all tests in
-  [a test set](https://github.com/toml-lang/compliance/pull/8)
-  soon to be merged to the official
-  [compliance tests for TOML](https://github.com/toml-lang/compliance)
-  repository
-- thoroughly tested: 100% branch coverage
-
-### Is comment preserving round-trip parsing supported?
-
-No.
-
-The `tomli.loads` function returns a plain `dict` that is populated with builtin types and types from the standard library only.
-Preserving comments requires a custom type to be returned so will not be supported,
-at least not by the `tomli.loads` and `tomli.load` functions.
-
-Look into [TOML Kit](https://github.com/sdispater/tomlkit) if preservation of style is what you need.
-
-### Is there a `dumps`, `write` or `encode` function?
-
-[Tomli-W](https://github.com/hukkin/tomli-w) is the write-only counterpart of Tomli, providing `dump` and `dumps` functions.
-
-The core library does not include write capability, as most TOML use cases are read-only, and Tomli intends to be minimal.
-
-### How do TOML types map into Python types?
-
-| TOML type        | Python type         | Details                                                      |
-| ---------------- | ------------------- | ------------------------------------------------------------ |
-| Document Root    | `dict`              |                                                              |
-| Key              | `str`               |                                                              |
-| String           | `str`               |                                                              |
-| Integer          | `int`               |                                                              |
-| Float            | `float`             |                                                              |
-| Boolean          | `bool`              |                                                              |
-| Offset Date-Time | `datetime.datetime` | `tzinfo` attribute set to an instance of `datetime.timezone` |
-| Local Date-Time  | `datetime.datetime` | `tzinfo` attribute set to `None`                             |
-| Local Date       | `datetime.date`     |                                                              |
-| Local Time       | `datetime.time`     |                                                              |
-| Array            | `list`              |                                                              |
-| Table            | `dict`              |                                                              |
-| Inline Table     | `dict`              |                                                              |
-
-## Performance
-
-The `benchmark/` folder in this repository contains a performance benchmark for comparing the various Python TOML parsers.
-The benchmark can be run with `tox -e benchmark-pypi`.
-Running the benchmark on my personal computer output the following:
-
-```console
-foo@bar:~/dev/tomli$ tox -e benchmark-pypi
-benchmark-pypi installed: attrs==19.3.0,click==7.1.2,pytomlpp==1.0.2,qtoml==0.3.0,rtoml==0.7.0,toml==0.10.2,tomli==1.1.0,tomlkit==0.7.2
-benchmark-pypi run-test-pre: PYTHONHASHSEED='2658546909'
-benchmark-pypi run-test: commands[0] | python -c 'import datetime; print(datetime.date.today())'
-2021-07-23
-benchmark-pypi run-test: commands[1] | python --version
-Python 3.8.10
-benchmark-pypi run-test: commands[2] | python benchmark/run.py
-Parsing data.toml 5000 times:
-------------------------------------------------------
-    parser |  exec time | performance (more is better)
------------+------------+-----------------------------
-     rtoml |    0.901 s | baseline (100%)
-  pytomlpp |     1.08 s | 83.15%
-     tomli |     3.89 s | 23.15%
-      toml |     9.36 s | 9.63%
-     qtoml |     11.5 s | 7.82%
-   tomlkit |     56.8 s | 1.59%
-```
-
-The parsers are ordered from fastest to slowest, using the fastest parser as baseline.
-Tomli performed the best out of all pure Python TOML parsers,
-losing only to pytomlpp (wraps C++) and rtoml (wraps Rust).
-
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/RECORD
deleted file mode 100644
index 1db8063e..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/RECORD
+++ /dev/null
@@ -1,15 +0,0 @@
-tomli-2.0.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
-tomli-2.0.1.dist-info/LICENSE,sha256=uAgWsNUwuKzLTCIReDeQmEpuO2GSLCte6S8zcqsnQv4,1072
-tomli-2.0.1.dist-info/METADATA,sha256=zPDceKmPwJGLWtZykrHixL7WVXWmJGzZ1jyRT5lCoPI,8875
-tomli-2.0.1.dist-info/RECORD,,
-tomli-2.0.1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-tomli-2.0.1.dist-info/WHEEL,sha256=jPMR_Dzkc4X4icQtmz81lnNY_kAsfog7ry7qoRvYLXw,81
-tomli/__init__.py,sha256=JhUwV66DB1g4Hvt1UQCVMdfCu-IgAV8FXmvDU9onxd4,396
-tomli/__pycache__/__init__.cpython-312.pyc,,
-tomli/__pycache__/_parser.cpython-312.pyc,,
-tomli/__pycache__/_re.cpython-312.pyc,,
-tomli/__pycache__/_types.cpython-312.pyc,,
-tomli/_parser.py,sha256=g9-ENaALS-B8dokYpCuzUFalWlog7T-SIYMjLZSWrtM,22633
-tomli/_re.py,sha256=dbjg5ChZT23Ka9z9DHOXfdtSpPwUfdgMXnj8NOoly-w,2943
-tomli/_types.py,sha256=-GTG2VUqkpxwMqzmVO4F7ybKddIbAnuAHXfmWQcTi3Q,254
-tomli/py.typed,sha256=8PjyZ1aVoQpRVvt71muvuq5qE-jTFZkK-GLHkhdebmc,26
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/REQUESTED
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/WHEEL
deleted file mode 100644
index c727d148..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli-2.0.1.dist-info/WHEEL
+++ /dev/null
@@ -1,4 +0,0 @@
-Wheel-Version: 1.0
-Generator: flit 3.6.0
-Root-Is-Purelib: true
-Tag: py3-none-any
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__init__.py
deleted file mode 100644
index 4c6ec97e..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__init__.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# SPDX-License-Identifier: MIT
-# SPDX-FileCopyrightText: 2021 Taneli Hukkinen
-# 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
-
-from ._parser import TOMLDecodeError, load, loads
-
-# Pretend this exception was created here.
-TOMLDecodeError.__module__ = __name__
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index ead14151..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/_parser.cpython-312.pyc
deleted file mode 100644
index b6e0745c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/_parser.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/_re.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/_re.cpython-312.pyc
deleted file mode 100644
index 01c9d811..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/_re.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/_types.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/_types.cpython-312.pyc
deleted file mode 100644
index c6e549df..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/__pycache__/_types.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/_parser.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/_parser.py
deleted file mode 100644
index f1bb0aa1..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/_parser.py
+++ /dev/null
@@ -1,691 +0,0 @@
-# SPDX-License-Identifier: MIT
-# SPDX-FileCopyrightText: 2021 Taneli Hukkinen
-# Licensed to PSF under a Contributor Agreement.
-
-from __future__ import annotations
-
-from collections.abc import Iterable
-import string
-from types import MappingProxyType
-from typing import Any, BinaryIO, NamedTuple
-
-from ._re import (
-    RE_DATETIME,
-    RE_LOCALTIME,
-    RE_NUMBER,
-    match_to_datetime,
-    match_to_localtime,
-    match_to_number,
-)
-from ._types import Key, ParseFloat, Pos
-
-ASCII_CTRL = 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_LITERAL_STR_CHARS = ILLEGAL_BASIC_STR_CHARS
-ILLEGAL_MULTILINE_LITERAL_STR_CHARS = ILLEGAL_MULTILINE_BASIC_STR_CHARS
-
-ILLEGAL_COMMENT_CHARS = 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)
-
-BASIC_STR_ESCAPE_REPLACEMENTS = MappingProxyType(
-    {
-        "\\b": "\u0008",  # backspace
-        "\\t": "\u0009",  # tab
-        "\\n": "\u000A",  # linefeed
-        "\\f": "\u000C",  # form feed
-        "\\r": "\u000D",  # carriage return
-        '\\"': "\u0022",  # quote
-        "\\\\": "\u005C",  # backslash
-    }
-)
-
-
-class TOMLDecodeError(ValueError):
-    """An error raised if a document is not valid TOML."""
-
-
-def load(__fp: BinaryIO, *, parse_float: ParseFloat = float) -> dict[str, Any]:
-    """Parse TOML from a binary file object."""
-    b = __fp.read()
-    try:
-        s = b.decode()
-    except AttributeError:
-        raise TypeError(
-            "File must be opened in binary mode, e.g. use `open('foo.toml', 'rb')`"
-        ) from None
-    return loads(s, parse_float=parse_float)
-
-
-def loads(__s: str, *, parse_float: ParseFloat = float) -> dict[str, Any]:  # noqa: C901
-    """Parse TOML from a string."""
-
-    # 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")
-    pos = 0
-    out = Output(NestedDict(), Flags())
-    header: Key = ()
-    parse_float = make_safe_parse_float(parse_float)
-
-    # Parse one statement at a time
-    # (typically means one line in TOML source)
-    while True:
-        # 1. Skip line leading whitespace
-        pos = skip_chars(src, pos, TOML_WS)
-
-        # 2. Parse rules. Expect one of the following:
-        #    - end of file
-        #    - end of line
-        #    - comment
-        #    - key/value pair
-        #    - append dict to list (and move to its namespace)
-        #    - create dict (and move to its namespace)
-        # Skip trailing whitespace when applicable.
-        try:
-            char = src[pos]
-        except IndexError:
-            break
-        if char == "\n":
-            pos += 1
-            continue
-        if char in KEY_INITIAL_CHARS:
-            pos = key_value_rule(src, pos, out, header, parse_float)
-            pos = skip_chars(src, pos, TOML_WS)
-        elif char == "[":
-            try:
-                second_char: str | None = src[pos + 1]
-            except IndexError:
-                second_char = None
-            out.flags.finalize_pending()
-            if second_char == "[":
-                pos, header = create_list_rule(src, pos, out)
-            else:
-                pos, header = create_dict_rule(src, pos, out)
-            pos = skip_chars(src, pos, TOML_WS)
-        elif char != "#":
-            raise suffixed_err(src, pos, "Invalid statement")
-
-        # 3. Skip comment
-        pos = skip_comment(src, pos)
-
-        # 4. Expect end of line or end of file
-        try:
-            char = src[pos]
-        except IndexError:
-            break
-        if char != "\n":
-            raise suffixed_err(
-                src, pos, "Expected newline or end of document after a statement"
-            )
-        pos += 1
-
-    return out.data.dict
-
-
-class Flags:
-    """Flags that map to parsed keys/namespaces."""
-
-    # Marks an immutable namespace (inline array or inline table).
-    FROZEN = 0
-    # Marks a nest that has been explicitly created and can no longer
-    # be opened using the "[table]" syntax.
-    EXPLICIT_NEST = 1
-
-    def __init__(self) -> None:
-        self._flags: dict[str, dict] = {}
-        self._pending_flags: set[tuple[Key, int]] = set()
-
-    def add_pending(self, key: Key, flag: int) -> None:
-        self._pending_flags.add((key, flag))
-
-    def finalize_pending(self) -> None:
-        for key, flag in self._pending_flags:
-            self.set(key, flag, recursive=False)
-        self._pending_flags.clear()
-
-    def unset_all(self, key: Key) -> None:
-        cont = self._flags
-        for k in key[:-1]:
-            if k not in cont:
-                return
-            cont = cont[k]["nested"]
-        cont.pop(key[-1], None)
-
-    def set(self, key: Key, flag: int, *, recursive: bool) -> None:  # noqa: A003
-        cont = self._flags
-        key_parent, key_stem = key[:-1], key[-1]
-        for k in key_parent:
-            if k not in cont:
-                cont[k] = {"flags": set(), "recursive_flags": set(), "nested": {}}
-            cont = cont[k]["nested"]
-        if key_stem not in cont:
-            cont[key_stem] = {"flags": set(), "recursive_flags": set(), "nested": {}}
-        cont[key_stem]["recursive_flags" if recursive else "flags"].add(flag)
-
-    def is_(self, key: Key, flag: int) -> bool:
-        if not key:
-            return False  # document root has no flags
-        cont = self._flags
-        for k in key[:-1]:
-            if k not in cont:
-                return False
-            inner_cont = cont[k]
-            if flag in inner_cont["recursive_flags"]:
-                return True
-            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"]
-        return False
-
-
-class NestedDict:
-    def __init__(self) -> None:
-        # The parsed content of the TOML document
-        self.dict: dict[str, Any] = {}
-
-    def get_or_create_nest(
-        self,
-        key: Key,
-        *,
-        access_lists: bool = True,
-    ) -> dict:
-        cont: Any = self.dict
-        for k in key:
-            if k not in cont:
-                cont[k] = {}
-            cont = cont[k]
-            if access_lists and isinstance(cont, list):
-                cont = cont[-1]
-            if not isinstance(cont, dict):
-                raise KeyError("There is no nest behind this key")
-        return cont
-
-    def append_nest_to_list(self, key: Key) -> None:
-        cont = self.get_or_create_nest(key[:-1])
-        last_key = key[-1]
-        if last_key in cont:
-            list_ = cont[last_key]
-            if not isinstance(list_, list):
-                raise KeyError("An object other than list found behind this key")
-            list_.append({})
-        else:
-            cont[last_key] = [{}]
-
-
-class Output(NamedTuple):
-    data: NestedDict
-    flags: Flags
-
-
-def skip_chars(src: str, pos: Pos, chars: Iterable[str]) -> Pos:
-    try:
-        while src[pos] in chars:
-            pos += 1
-    except IndexError:
-        pass
-    return pos
-
-
-def skip_until(
-    src: str,
-    pos: Pos,
-    expect: str,
-    *,
-    error_on: frozenset[str],
-    error_on_eof: bool,
-) -> Pos:
-    try:
-        new_pos = src.index(expect, pos)
-    except ValueError:
-        new_pos = len(src)
-        if error_on_eof:
-            raise suffixed_err(src, new_pos, f"Expected {expect!r}") 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}")
-    return new_pos
-
-
-def skip_comment(src: str, pos: Pos) -> Pos:
-    try:
-        char: str | None = src[pos]
-    except IndexError:
-        char = None
-    if char == "#":
-        return skip_until(
-            src, pos + 1, "\n", error_on=ILLEGAL_COMMENT_CHARS, error_on_eof=False
-        )
-    return pos
-
-
-def skip_comments_and_array_ws(src: str, pos: Pos) -> Pos:
-    while True:
-        pos_before_skip = pos
-        pos = skip_chars(src, pos, TOML_WS_AND_NEWLINE)
-        pos = skip_comment(src, pos)
-        if pos == pos_before_skip:
-            return pos
-
-
-def create_dict_rule(src: str, pos: Pos, out: Output) -> tuple[Pos, Key]:
-    pos += 1  # Skip "["
-    pos = skip_chars(src, pos, TOML_WS)
-    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")
-    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
-
-    if not src.startswith("]", pos):
-        raise suffixed_err(src, pos, "Expected ']' at the end of a table declaration")
-    return pos + 1, key
-
-
-def create_list_rule(src: str, pos: Pos, out: Output) -> tuple[Pos, Key]:
-    pos += 2  # Skip "[["
-    pos = skip_chars(src, pos, TOML_WS)
-    pos, key = parse_key(src, pos)
-
-    if out.flags.is_(key, Flags.FROZEN):
-        raise suffixed_err(src, pos, f"Cannot mutate immutable namespace {key}")
-    # 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
-    out.flags.set(key, Flags.EXPLICIT_NEST, recursive=False)
-    try:
-        out.data.append_nest_to_list(key)
-    except KeyError:
-        raise suffixed_err(src, pos, "Cannot overwrite a value") from None
-
-    if not src.startswith("]]", pos):
-        raise suffixed_err(src, pos, "Expected ']]' at the end of an array declaration")
-    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)
-    key_parent, key_stem = key[:-1], key[-1]
-    abs_key_parent = header + key_parent
-
-    relative_path_cont_keys = (header + key[:i] for i in range(1, len(key)))
-    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}")
-        # 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}"
-        )
-
-    try:
-        nest = out.data.get_or_create_nest(abs_key_parent)
-    except KeyError:
-        raise suffixed_err(src, pos, "Cannot overwrite a value") from None
-    if key_stem in nest:
-        raise suffixed_err(src, pos, "Cannot overwrite a value")
-    # Mark inline table and array namespaces recursively immutable
-    if isinstance(value, (dict, list)):
-        out.flags.set(header + key, Flags.FROZEN, recursive=True)
-    nest[key_stem] = value
-    return pos
-
-
-def parse_key_value_pair(
-    src: str, pos: Pos, parse_float: ParseFloat
-) -> tuple[Pos, Key, Any]:
-    pos, key = parse_key(src, pos)
-    try:
-        char: str | None = src[pos]
-    except IndexError:
-        char = None
-    if char != "=":
-        raise suffixed_err(src, pos, "Expected '=' after a key in a key/value pair")
-    pos += 1
-    pos = skip_chars(src, pos, TOML_WS)
-    pos, value = parse_value(src, pos, parse_float)
-    return pos, key, value
-
-
-def parse_key(src: str, pos: Pos) -> tuple[Pos, Key]:
-    pos, key_part = parse_key_part(src, pos)
-    key: Key = (key_part,)
-    pos = skip_chars(src, pos, TOML_WS)
-    while True:
-        try:
-            char: str | None = src[pos]
-        except IndexError:
-            char = None
-        if char != ".":
-            return pos, key
-        pos += 1
-        pos = skip_chars(src, pos, TOML_WS)
-        pos, key_part = parse_key_part(src, pos)
-        key += (key_part,)
-        pos = skip_chars(src, pos, TOML_WS)
-
-
-def parse_key_part(src: str, pos: Pos) -> tuple[Pos, str]:
-    try:
-        char: str | None = src[pos]
-    except IndexError:
-        char = None
-    if char in BARE_KEY_CHARS:
-        start_pos = pos
-        pos = skip_chars(src, pos, BARE_KEY_CHARS)
-        return pos, src[start_pos:pos]
-    if char == "'":
-        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")
-
-
-def parse_one_line_basic_str(src: str, pos: Pos) -> tuple[Pos, str]:
-    pos += 1
-    return parse_basic_str(src, pos, multiline=False)
-
-
-def parse_array(src: str, pos: Pos, parse_float: ParseFloat) -> tuple[Pos, list]:
-    pos += 1
-    array: list = []
-
-    pos = skip_comments_and_array_ws(src, pos)
-    if src.startswith("]", pos):
-        return pos + 1, array
-    while True:
-        pos, val = parse_value(src, pos, parse_float)
-        array.append(val)
-        pos = skip_comments_and_array_ws(src, pos)
-
-        c = src[pos : pos + 1]
-        if c == "]":
-            return pos + 1, array
-        if c != ",":
-            raise suffixed_err(src, pos, "Unclosed array")
-        pos += 1
-
-        pos = skip_comments_and_array_ws(src, pos)
-        if src.startswith("]", pos):
-            return pos + 1, array
-
-
-def parse_inline_table(src: str, pos: Pos, parse_float: ParseFloat) -> tuple[Pos, dict]:
-    pos += 1
-    nested_dict = NestedDict()
-    flags = Flags()
-
-    pos = skip_chars(src, pos, TOML_WS)
-    if src.startswith("}", pos):
-        return pos + 1, nested_dict.dict
-    while True:
-        pos, key, value = parse_key_value_pair(src, pos, parse_float)
-        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}")
-        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
-        if key_stem in nest:
-            raise suffixed_err(src, pos, f"Duplicate inline table key {key_stem!r}")
-        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")
-        if isinstance(value, (dict, list)):
-            flags.set(key, Flags.FROZEN, recursive=True)
-        pos += 1
-        pos = skip_chars(src, pos, TOML_WS)
-
-
-def parse_basic_str_escape(
-    src: str, pos: Pos, *, multiline: bool = False
-) -> tuple[Pos, str]:
-    escape_id = src[pos : pos + 2]
-    pos += 2
-    if multiline and escape_id in {"\\ ", "\\\t", "\\\n"}:
-        # Skip whitespace until next non-whitespace character or end of
-        # the doc. Error if non-whitespace is found before newline.
-        if escape_id != "\\\n":
-            pos = skip_chars(src, pos, TOML_WS)
-            try:
-                char = src[pos]
-            except IndexError:
-                return pos, ""
-            if char != "\n":
-                raise suffixed_err(src, pos, "Unescaped '\\' in a string")
-            pos += 1
-        pos = skip_chars(src, pos, TOML_WS_AND_NEWLINE)
-        return pos, ""
-    if escape_id == "\\u":
-        return parse_hex_char(src, pos, 4)
-    if escape_id == "\\U":
-        return parse_hex_char(src, pos, 8)
-    try:
-        return pos, BASIC_STR_ESCAPE_REPLACEMENTS[escape_id]
-    except KeyError:
-        raise suffixed_err(src, pos, "Unescaped '\\' in a string") from None
-
-
-def parse_basic_str_escape_multiline(src: str, pos: Pos) -> tuple[Pos, str]:
-    return parse_basic_str_escape(src, pos, multiline=True)
-
-
-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")
-    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")
-    return pos, chr(hex_int)
-
-
-def parse_literal_str(src: str, pos: Pos) -> tuple[Pos, str]:
-    pos += 1  # Skip starting apostrophe
-    start_pos = pos
-    pos = skip_until(
-        src, pos, "'", error_on=ILLEGAL_LITERAL_STR_CHARS, error_on_eof=True
-    )
-    return pos + 1, src[start_pos:pos]  # Skip ending apostrophe
-
-
-def parse_multiline_str(src: str, pos: Pos, *, literal: bool) -> tuple[Pos, str]:
-    pos += 3
-    if src.startswith("\n", pos):
-        pos += 1
-
-    if literal:
-        delim = "'"
-        end_pos = skip_until(
-            src,
-            pos,
-            "'''",
-            error_on=ILLEGAL_MULTILINE_LITERAL_STR_CHARS,
-            error_on_eof=True,
-        )
-        result = src[pos:end_pos]
-        pos = end_pos + 3
-    else:
-        delim = '"'
-        pos, result = parse_basic_str(src, pos, multiline=True)
-
-    # Add at maximum two extra apostrophes/quotes if the end sequence
-    # is 4 or 5 chars long instead of just 3.
-    if not src.startswith(delim, pos):
-        return pos, result
-    pos += 1
-    if not src.startswith(delim, pos):
-        return pos, result + delim
-    pos += 1
-    return pos, result + (delim * 2)
-
-
-def parse_basic_str(src: str, pos: Pos, *, multiline: bool) -> tuple[Pos, str]:
-    if multiline:
-        error_on = ILLEGAL_MULTILINE_BASIC_STR_CHARS
-        parse_escapes = parse_basic_str_escape_multiline
-    else:
-        error_on = ILLEGAL_BASIC_STR_CHARS
-        parse_escapes = parse_basic_str_escape
-    result = ""
-    start_pos = pos
-    while True:
-        try:
-            char = src[pos]
-        except IndexError:
-            raise suffixed_err(src, pos, "Unterminated string") from None
-        if char == '"':
-            if not multiline:
-                return pos + 1, result + src[start_pos:pos]
-            if src.startswith('"""', pos):
-                return pos + 3, result + src[start_pos:pos]
-            pos += 1
-            continue
-        if char == "\\":
-            result += src[start_pos:pos]
-            pos, parsed_escape = parse_escapes(src, pos)
-            result += parsed_escape
-            start_pos = pos
-            continue
-        if char in error_on:
-            raise suffixed_err(src, pos, f"Illegal character {char!r}")
-        pos += 1
-
-
-def parse_value(  # noqa: C901
-    src: str, pos: Pos, parse_float: ParseFloat
-) -> tuple[Pos, Any]:
-    try:
-        char: str | None = src[pos]
-    except IndexError:
-        char = None
-
-    # IMPORTANT: order conditions based on speed of checking and likelihood
-
-    # Basic strings
-    if char == '"':
-        if src.startswith('"""', pos):
-            return parse_multiline_str(src, pos, literal=False)
-        return parse_one_line_basic_str(src, pos)
-
-    # Literal strings
-    if char == "'":
-        if src.startswith("'''", pos):
-            return parse_multiline_str(src, pos, literal=True)
-        return parse_literal_str(src, pos)
-
-    # Booleans
-    if char == "t":
-        if src.startswith("true", pos):
-            return pos + 4, True
-    if char == "f":
-        if src.startswith("false", pos):
-            return pos + 5, False
-
-    # Arrays
-    if char == "[":
-        return parse_array(src, pos, parse_float)
-
-    # Inline tables
-    if char == "{":
-        return parse_inline_table(src, pos, parse_float)
-
-    # Dates and times
-    datetime_match = RE_DATETIME.match(src, pos)
-    if datetime_match:
-        try:
-            datetime_obj = match_to_datetime(datetime_match)
-        except ValueError as e:
-            raise suffixed_err(src, pos, "Invalid date or datetime") from e
-        return datetime_match.end(), datetime_obj
-    localtime_match = RE_LOCALTIME.match(src, pos)
-    if localtime_match:
-        return localtime_match.end(), match_to_localtime(localtime_match)
-
-    # Integers and "normal" floats.
-    # The regex will greedily match any type starting with a decimal
-    # char, so needs to be located after handling of dates and times.
-    number_match = RE_NUMBER.match(src, pos)
-    if number_match:
-        return number_match.end(), match_to_number(number_match, parse_float)
-
-    # Special floats
-    first_three = src[pos : pos + 3]
-    if first_three in {"inf", "nan"}:
-        return pos + 3, parse_float(first_three)
-    first_four = src[pos : pos + 4]
-    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)})")
-
-
-def is_unicode_scalar_value(codepoint: int) -> bool:
-    return (0 <= codepoint <= 55295) or (57344 <= codepoint <= 1114111)
-
-
-def make_safe_parse_float(parse_float: ParseFloat) -> ParseFloat:
-    """A decorator to make `parse_float` safe.
-
-    `parse_float` must not return dicts or lists, because these types
-    would be mixed with parsed TOML tables and arrays, thus confusing
-    the parser. The returned decorated callable raises `ValueError`
-    instead of returning illegal types.
-    """
-    # The default `float` callable never returns illegal types. Optimize it.
-    if parse_float is float:  # type: ignore[comparison-overlap]
-        return float
-
-    def safe_parse_float(float_str: str) -> Any:
-        float_value = parse_float(float_str)
-        if isinstance(float_value, (dict, list)):
-            raise ValueError("parse_float must not return dicts or lists")
-        return float_value
-
-    return safe_parse_float
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/_re.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/_re.py
deleted file mode 100644
index 994bb749..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/_re.py
+++ /dev/null
@@ -1,107 +0,0 @@
-# SPDX-License-Identifier: MIT
-# SPDX-FileCopyrightText: 2021 Taneli Hukkinen
-# Licensed to PSF under a Contributor Agreement.
-
-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 ._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]*)?"
-
-RE_NUMBER = re.compile(
-    r"""
-0
-(?:
-    x[0-9A-Fa-f](?:_?[0-9A-Fa-f])*   # hex
-    |
-    b[01](?:_?[01])*                 # bin
-    |
-    o[0-7](?:_?[0-7])*               # oct
-)
-|
-[+-]?(?:0|[1-9](?:_?[0-9])*)         # dec, integer part
-(?P
-    (?:\.[0-9](?:_?[0-9])*)?         # optional fractional part
-    (?:[eE][+-]?[0-9](?:_?[0-9])*)?  # optional exponent part
-)
-""",
-    flags=re.VERBOSE,
-)
-RE_LOCALTIME = re.compile(_TIME_RE_STR)
-RE_DATETIME = 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
-(?:
-    [Tt ]
-    {_TIME_RE_STR}
-    (?:([Zz])|([+-])([01][0-9]|2[0-3]):([0-5][0-9]))?  # optional time offset
-)?
-""",
-    flags=re.VERBOSE,
-)
-
-
-def match_to_datetime(match: re.Match) -> datetime | date:
-    """Convert a `RE_DATETIME` match to `datetime.datetime` or `datetime.date`.
-
-    Raises ValueError if the match does not correspond to a valid date
-    or datetime.
-    """
-    (
-        year_str,
-        month_str,
-        day_str,
-        hour_str,
-        minute_str,
-        sec_str,
-        micros_str,
-        zulu_time,
-        offset_sign_str,
-        offset_hour_str,
-        offset_minute_str,
-    ) = match.groups()
-    year, month, day = int(year_str), int(month_str), int(day_str)
-    if hour_str is None:
-        return date(year, month, day)
-    hour, minute, sec = int(hour_str), int(minute_str), int(sec_str)
-    micros = int(micros_str.ljust(6, "0")) if micros_str else 0
-    if offset_sign_str:
-        tz: tzinfo | None = cached_tz(
-            offset_hour_str, offset_minute_str, offset_sign_str
-        )
-    elif zulu_time:
-        tz = timezone.utc
-    else:  # local date-time
-        tz = None
-    return datetime(year, month, day, hour, minute, sec, micros, tzinfo=tz)
-
-
-@lru_cache(maxsize=None)
-def cached_tz(hour_str: str, minute_str: str, sign_str: str) -> timezone:
-    sign = 1 if sign_str == "+" else -1
-    return timezone(
-        timedelta(
-            hours=sign * int(hour_str),
-            minutes=sign * int(minute_str),
-        )
-    )
-
-
-def match_to_localtime(match: re.Match) -> time:
-    hour_str, minute_str, sec_str, micros_str = match.groups()
-    micros = int(micros_str.ljust(6, "0")) if micros_str else 0
-    return time(int(hour_str), int(minute_str), int(sec_str), micros)
-
-
-def match_to_number(match: re.Match, parse_float: ParseFloat) -> Any:
-    if match.group("floatpart"):
-        return parse_float(match.group())
-    return int(match.group(), 0)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/_types.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/_types.py
deleted file mode 100644
index d949412e..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/_types.py
+++ /dev/null
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: MIT
-# SPDX-FileCopyrightText: 2021 Taneli Hukkinen
-# Licensed to PSF under a Contributor Agreement.
-
-from typing import Any, Callable, Tuple
-
-# Type annotations
-ParseFloat = Callable[[str], Any]
-Key = Tuple[str, ...]
-Pos = int
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/py.typed b/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/py.typed
deleted file mode 100644
index 7632ecf7..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/tomli/py.typed
+++ /dev/null
@@ -1 +0,0 @@
-# Marker file for PEP 561
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/INSTALLER
deleted file mode 100644
index a1b589e3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/INSTALLER
+++ /dev/null
@@ -1 +0,0 @@
-pip
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/LICENSE
deleted file mode 100644
index 07806f8a..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-This is the MIT license: http://www.opensource.org/licenses/mit-license.php
-
-Copyright (c) Alex Grönholm
-
-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/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/METADATA
deleted file mode 100644
index 6e5750b4..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/METADATA
+++ /dev/null
@@ -1,81 +0,0 @@
-Metadata-Version: 2.1
-Name: typeguard
-Version: 4.3.0
-Summary: Run-time type checker for Python
-Author-email: Alex Grönholm 
-License: MIT
-Project-URL: Documentation, https://typeguard.readthedocs.io/en/latest/
-Project-URL: Change log, https://typeguard.readthedocs.io/en/latest/versionhistory.html
-Project-URL: Source code, https://github.com/agronholm/typeguard
-Project-URL: Issue tracker, https://github.com/agronholm/typeguard/issues
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Programming Language :: Python
-Classifier: Programming Language :: Python :: 3
-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
-Requires-Python: >=3.8
-Description-Content-Type: text/x-rst
-License-File: LICENSE
-Requires-Dist: typing-extensions >=4.10.0
-Requires-Dist: importlib-metadata >=3.6 ; python_version < "3.10"
-Provides-Extra: doc
-Requires-Dist: packaging ; extra == 'doc'
-Requires-Dist: Sphinx >=7 ; extra == 'doc'
-Requires-Dist: sphinx-autodoc-typehints >=1.2.0 ; extra == 'doc'
-Requires-Dist: sphinx-rtd-theme >=1.3.0 ; extra == 'doc'
-Provides-Extra: test
-Requires-Dist: coverage[toml] >=7 ; extra == 'test'
-Requires-Dist: pytest >=7 ; extra == 'test'
-Requires-Dist: mypy >=1.2.0 ; (platform_python_implementation != "PyPy") and extra == 'test'
-
-.. image:: https://github.com/agronholm/typeguard/actions/workflows/test.yml/badge.svg
-  :target: https://github.com/agronholm/typeguard/actions/workflows/test.yml
-  :alt: Build Status
-.. image:: https://coveralls.io/repos/agronholm/typeguard/badge.svg?branch=master&service=github
-  :target: https://coveralls.io/github/agronholm/typeguard?branch=master
-  :alt: Code Coverage
-.. image:: https://readthedocs.org/projects/typeguard/badge/?version=latest
-  :target: https://typeguard.readthedocs.io/en/latest/?badge=latest
-  :alt: Documentation
-
-This library provides run-time type checking for functions defined with
-`PEP 484 `_ argument (and return) type
-annotations, and any arbitrary objects. It can be used together with static type
-checkers as an additional layer of type safety, to catch type violations that could only
-be detected at run time.
-
-Two principal ways to do type checking are provided:
-
-#. The ``check_type`` function:
-
-   * like ``isinstance()``, but supports arbitrary type annotations (within limits)
-   * can be used as a ``cast()`` replacement, but with actual checking of the value
-#. Code instrumentation:
-
-   * entire modules, or individual functions (via ``@typechecked``) are recompiled, with
-     type checking code injected into them
-   * automatically checks function arguments, return values and assignments to annotated
-     local variables
-   * for generator functions (regular and async), checks yield and send values
-   * requires the original source code of the instrumented module(s) to be accessible
-
-Two options are provided for code instrumentation:
-
-#. the ``@typechecked`` function:
-
-   * can be applied to functions individually
-#. the import hook (``typeguard.install_import_hook()``):
-
-   * automatically instruments targeted modules on import
-   * no manual code changes required in the target modules
-   * requires the import hook to be installed before the targeted modules are imported
-   * may clash with other import hooks
-
-See the documentation_ for further information.
-
-.. _documentation: https://typeguard.readthedocs.io/en/latest/
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/RECORD
deleted file mode 100644
index 801e7334..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/RECORD
+++ /dev/null
@@ -1,34 +0,0 @@
-typeguard-4.3.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
-typeguard-4.3.0.dist-info/LICENSE,sha256=YWP3mH37ONa8MgzitwsvArhivEESZRbVUu8c1DJH51g,1130
-typeguard-4.3.0.dist-info/METADATA,sha256=z2dcHAp0TwhYCFU5Deh8x31nazElgujUz9tbuP0pjSE,3717
-typeguard-4.3.0.dist-info/RECORD,,
-typeguard-4.3.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
-typeguard-4.3.0.dist-info/entry_points.txt,sha256=qp7NQ1aLtiSgMQqo6gWlfGpy0IIXzoMJmeQTLpzqFZQ,48
-typeguard-4.3.0.dist-info/top_level.txt,sha256=4z28AhuDodwRS_c1J_l8H51t5QuwfTseskYzlxp6grs,10
-typeguard/__init__.py,sha256=Onh4w38elPCjtlcU3JY9k3h70NjsxXIkAflmQn-Z0FY,2071
-typeguard/__pycache__/__init__.cpython-312.pyc,,
-typeguard/__pycache__/_checkers.cpython-312.pyc,,
-typeguard/__pycache__/_config.cpython-312.pyc,,
-typeguard/__pycache__/_decorators.cpython-312.pyc,,
-typeguard/__pycache__/_exceptions.cpython-312.pyc,,
-typeguard/__pycache__/_functions.cpython-312.pyc,,
-typeguard/__pycache__/_importhook.cpython-312.pyc,,
-typeguard/__pycache__/_memo.cpython-312.pyc,,
-typeguard/__pycache__/_pytest_plugin.cpython-312.pyc,,
-typeguard/__pycache__/_suppression.cpython-312.pyc,,
-typeguard/__pycache__/_transformer.cpython-312.pyc,,
-typeguard/__pycache__/_union_transformer.cpython-312.pyc,,
-typeguard/__pycache__/_utils.cpython-312.pyc,,
-typeguard/_checkers.py,sha256=JRrgKicdOEfIBoNEtegYCEIlhpad-a1u1Em7GCj0WCI,31360
-typeguard/_config.py,sha256=nIz8QwDa-oFO3L9O8_6srzlmd99pSby2wOM4Wb7F_B0,2846
-typeguard/_decorators.py,sha256=v6dsIeWvPhExGLP_wXF-RmDUyjZf_Ak28g7gBJ_v0-0,9033
-typeguard/_exceptions.py,sha256=ZIPeiV-FBd5Emw2EaWd2Fvlsrwi4ocwT2fVGBIAtHcQ,1121
-typeguard/_functions.py,sha256=ibgSAKa5ptIm1eR9ARG0BSozAFJPFNASZqhPVyQeqig,10393
-typeguard/_importhook.py,sha256=ugjCDvFcdWMU7UugqlJG91IpVNpEIxtRr-99s0h1k7M,6389
-typeguard/_memo.py,sha256=1juQV_vxnD2JYKbSrebiQuj4oKHz6n67v9pYA-CCISg,1303
-typeguard/_pytest_plugin.py,sha256=-fcSqkv54rIfIF8pDavY5YQPkj4OX8GMt_lL7CQSD4I,4416
-typeguard/_suppression.py,sha256=VQfzxcwIbu3if0f7VBkKM7hkYOA7tNFw9a7jMBsmMg4,2266
-typeguard/_transformer.py,sha256=9Ha7_QhdwoUni_6hvdY-hZbuEergowHrNL2vzHIakFY,44937
-typeguard/_union_transformer.py,sha256=v_42r7-6HuRX2SoFwnyJ-E5PlxXpVeUJPJR1-HU9qSo,1354
-typeguard/_utils.py,sha256=5HhO1rPn5f1M6ymkVAEv7Xmlz1cX-j0OnTMlyHqqrR8,5270
-typeguard/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/WHEEL
deleted file mode 100644
index bab98d67..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/WHEEL
+++ /dev/null
@@ -1,5 +0,0 @@
-Wheel-Version: 1.0
-Generator: bdist_wheel (0.43.0)
-Root-Is-Purelib: true
-Tag: py3-none-any
-
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/entry_points.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/entry_points.txt
deleted file mode 100644
index 47c9d0bd..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/entry_points.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-[pytest11]
-typeguard = typeguard._pytest_plugin
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/top_level.txt
deleted file mode 100644
index be5ec23e..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard-4.3.0.dist-info/top_level.txt
+++ /dev/null
@@ -1 +0,0 @@
-typeguard
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__init__.py
deleted file mode 100644
index 6781cad0..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__init__.py
+++ /dev/null
@@ -1,48 +0,0 @@
-import os
-from typing import Any
-
-from ._checkers import TypeCheckerCallable as TypeCheckerCallable
-from ._checkers import TypeCheckLookupCallback as TypeCheckLookupCallback
-from ._checkers import check_type_internal as check_type_internal
-from ._checkers import checker_lookup_functions as checker_lookup_functions
-from ._checkers import load_plugins as load_plugins
-from ._config import CollectionCheckStrategy as CollectionCheckStrategy
-from ._config import ForwardRefPolicy as ForwardRefPolicy
-from ._config import TypeCheckConfiguration as TypeCheckConfiguration
-from ._decorators import typechecked as typechecked
-from ._decorators import typeguard_ignore as typeguard_ignore
-from ._exceptions import InstrumentationWarning as InstrumentationWarning
-from ._exceptions import TypeCheckError as TypeCheckError
-from ._exceptions import TypeCheckWarning as TypeCheckWarning
-from ._exceptions import TypeHintWarning as TypeHintWarning
-from ._functions import TypeCheckFailCallback as TypeCheckFailCallback
-from ._functions import check_type as check_type
-from ._functions import warn_on_error as warn_on_error
-from ._importhook import ImportHookManager as ImportHookManager
-from ._importhook import TypeguardFinder as TypeguardFinder
-from ._importhook import install_import_hook as install_import_hook
-from ._memo import TypeCheckMemo as TypeCheckMemo
-from ._suppression import suppress_type_checks as suppress_type_checks
-from ._utils import Unset as Unset
-
-# Re-export imports so they look like they live directly in this package
-for value in list(locals().values()):
-    if getattr(value, "__module__", "").startswith(f"{__name__}."):
-        value.__module__ = __name__
-
-
-config: TypeCheckConfiguration
-
-
-def __getattr__(name: str) -> Any:
-    if name == "config":
-        from ._config import global_config
-
-        return global_config
-
-    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
-
-
-# Automatically load checker lookup functions unless explicitly disabled
-if "TYPEGUARD_DISABLE_PLUGIN_AUTOLOAD" not in os.environ:
-    load_plugins()
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 82df253c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_checkers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_checkers.cpython-312.pyc
deleted file mode 100644
index bb12d359..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_checkers.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_config.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_config.cpython-312.pyc
deleted file mode 100644
index 4b3bfa3e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_config.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_decorators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_decorators.cpython-312.pyc
deleted file mode 100644
index 2302ccf7..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_decorators.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_exceptions.cpython-312.pyc
deleted file mode 100644
index bcb8dad0..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_exceptions.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_functions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_functions.cpython-312.pyc
deleted file mode 100644
index 9f55479f..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_functions.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_importhook.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_importhook.cpython-312.pyc
deleted file mode 100644
index 22a21839..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_importhook.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_memo.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_memo.cpython-312.pyc
deleted file mode 100644
index 2f9b7bf7..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_memo.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_pytest_plugin.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_pytest_plugin.cpython-312.pyc
deleted file mode 100644
index d97d5f14..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_pytest_plugin.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_suppression.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_suppression.cpython-312.pyc
deleted file mode 100644
index a30e36ad..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_suppression.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_transformer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_transformer.cpython-312.pyc
deleted file mode 100644
index 8f61d8f0..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_transformer.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_union_transformer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_union_transformer.cpython-312.pyc
deleted file mode 100644
index 40ba2acd..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_union_transformer.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_utils.cpython-312.pyc
deleted file mode 100644
index 3246debf..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/__pycache__/_utils.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_checkers.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_checkers.py
deleted file mode 100644
index 67dd5ad4..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_checkers.py
+++ /dev/null
@@ -1,993 +0,0 @@
-from __future__ import annotations
-
-import collections.abc
-import inspect
-import sys
-import types
-import typing
-import warnings
-from enum import Enum
-from inspect import Parameter, isclass, isfunction
-from io import BufferedIOBase, IOBase, RawIOBase, TextIOBase
-from textwrap import indent
-from typing import (
-    IO,
-    AbstractSet,
-    Any,
-    BinaryIO,
-    Callable,
-    Dict,
-    ForwardRef,
-    List,
-    Mapping,
-    MutableMapping,
-    NewType,
-    Optional,
-    Sequence,
-    Set,
-    TextIO,
-    Tuple,
-    Type,
-    TypeVar,
-    Union,
-)
-from unittest.mock import Mock
-from weakref import WeakKeyDictionary
-
-try:
-    import typing_extensions
-except ImportError:
-    typing_extensions = None  # type: ignore[assignment]
-
-# Must use this because typing.is_typeddict does not recognize
-# TypedDict from typing_extensions, and as of version 4.12.0
-# typing_extensions.TypedDict is different from typing.TypedDict
-# on all versions.
-from typing_extensions import is_typeddict
-
-from ._config import ForwardRefPolicy
-from ._exceptions import TypeCheckError, TypeHintWarning
-from ._memo import TypeCheckMemo
-from ._utils import evaluate_forwardref, get_stacklevel, get_type_name, qualified_name
-
-if sys.version_info >= (3, 11):
-    from typing import (
-        Annotated,
-        NotRequired,
-        TypeAlias,
-        get_args,
-        get_origin,
-    )
-
-    SubclassableAny = Any
-else:
-    from typing_extensions import (
-        Annotated,
-        NotRequired,
-        TypeAlias,
-        get_args,
-        get_origin,
-    )
-    from typing_extensions import Any as SubclassableAny
-
-if sys.version_info >= (3, 10):
-    from importlib.metadata import entry_points
-    from typing import ParamSpec
-else:
-    from importlib_metadata import entry_points
-    from typing_extensions import ParamSpec
-
-TypeCheckerCallable: TypeAlias = Callable[
-    [Any, Any, Tuple[Any, ...], TypeCheckMemo], Any
-]
-TypeCheckLookupCallback: TypeAlias = Callable[
-    [Any, Tuple[Any, ...], Tuple[Any, ...]], Optional[TypeCheckerCallable]
-]
-
-checker_lookup_functions: list[TypeCheckLookupCallback] = []
-generic_alias_types: tuple[type, ...] = (type(List), type(List[Any]))
-if sys.version_info >= (3, 9):
-    generic_alias_types += (types.GenericAlias,)
-
-protocol_check_cache: WeakKeyDictionary[
-    type[Any], dict[type[Any], TypeCheckError | None]
-] = WeakKeyDictionary()
-
-# Sentinel
-_missing = object()
-
-# Lifted from mypy.sharedparse
-BINARY_MAGIC_METHODS = {
-    "__add__",
-    "__and__",
-    "__cmp__",
-    "__divmod__",
-    "__div__",
-    "__eq__",
-    "__floordiv__",
-    "__ge__",
-    "__gt__",
-    "__iadd__",
-    "__iand__",
-    "__idiv__",
-    "__ifloordiv__",
-    "__ilshift__",
-    "__imatmul__",
-    "__imod__",
-    "__imul__",
-    "__ior__",
-    "__ipow__",
-    "__irshift__",
-    "__isub__",
-    "__itruediv__",
-    "__ixor__",
-    "__le__",
-    "__lshift__",
-    "__lt__",
-    "__matmul__",
-    "__mod__",
-    "__mul__",
-    "__ne__",
-    "__or__",
-    "__pow__",
-    "__radd__",
-    "__rand__",
-    "__rdiv__",
-    "__rfloordiv__",
-    "__rlshift__",
-    "__rmatmul__",
-    "__rmod__",
-    "__rmul__",
-    "__ror__",
-    "__rpow__",
-    "__rrshift__",
-    "__rshift__",
-    "__rsub__",
-    "__rtruediv__",
-    "__rxor__",
-    "__sub__",
-    "__truediv__",
-    "__xor__",
-}
-
-
-def check_callable(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if not callable(value):
-        raise TypeCheckError("is not callable")
-
-    if args:
-        try:
-            signature = inspect.signature(value)
-        except (TypeError, ValueError):
-            return
-
-        argument_types = args[0]
-        if isinstance(argument_types, list) and not any(
-            type(item) is ParamSpec for item in argument_types
-        ):
-            # The callable must not have keyword-only arguments without defaults
-            unfulfilled_kwonlyargs = [
-                param.name
-                for param in signature.parameters.values()
-                if param.kind == Parameter.KEYWORD_ONLY
-                and param.default == Parameter.empty
-            ]
-            if unfulfilled_kwonlyargs:
-                raise TypeCheckError(
-                    f"has mandatory keyword-only arguments in its declaration: "
-                    f'{", ".join(unfulfilled_kwonlyargs)}'
-                )
-
-            num_positional_args = num_mandatory_pos_args = 0
-            has_varargs = False
-            for param in signature.parameters.values():
-                if param.kind in (
-                    Parameter.POSITIONAL_ONLY,
-                    Parameter.POSITIONAL_OR_KEYWORD,
-                ):
-                    num_positional_args += 1
-                    if param.default is Parameter.empty:
-                        num_mandatory_pos_args += 1
-                elif param.kind == Parameter.VAR_POSITIONAL:
-                    has_varargs = True
-
-            if num_mandatory_pos_args > len(argument_types):
-                raise TypeCheckError(
-                    f"has too many mandatory positional arguments in its declaration; "
-                    f"expected {len(argument_types)} but {num_mandatory_pos_args} "
-                    f"mandatory positional argument(s) declared"
-                )
-            elif not has_varargs and num_positional_args < len(argument_types):
-                raise TypeCheckError(
-                    f"has too few arguments in its declaration; expected "
-                    f"{len(argument_types)} but {num_positional_args} argument(s) "
-                    f"declared"
-                )
-
-
-def check_mapping(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if origin_type is Dict or origin_type is dict:
-        if not isinstance(value, dict):
-            raise TypeCheckError("is not a dict")
-    if origin_type is MutableMapping or origin_type is collections.abc.MutableMapping:
-        if not isinstance(value, collections.abc.MutableMapping):
-            raise TypeCheckError("is not a mutable mapping")
-    elif not isinstance(value, collections.abc.Mapping):
-        raise TypeCheckError("is not a mapping")
-
-    if args:
-        key_type, value_type = args
-        if key_type is not Any or value_type is not Any:
-            samples = memo.config.collection_check_strategy.iterate_samples(
-                value.items()
-            )
-            for k, v in samples:
-                try:
-                    check_type_internal(k, key_type, memo)
-                except TypeCheckError as exc:
-                    exc.append_path_element(f"key {k!r}")
-                    raise
-
-                try:
-                    check_type_internal(v, value_type, memo)
-                except TypeCheckError as exc:
-                    exc.append_path_element(f"value of key {k!r}")
-                    raise
-
-
-def check_typed_dict(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if not isinstance(value, dict):
-        raise TypeCheckError("is not a dict")
-
-    declared_keys = frozenset(origin_type.__annotations__)
-    if hasattr(origin_type, "__required_keys__"):
-        required_keys = set(origin_type.__required_keys__)
-    else:  # py3.8 and lower
-        required_keys = set(declared_keys) if origin_type.__total__ else set()
-
-    existing_keys = set(value)
-    extra_keys = existing_keys - declared_keys
-    if extra_keys:
-        keys_formatted = ", ".join(f'"{key}"' for key in sorted(extra_keys, key=repr))
-        raise TypeCheckError(f"has unexpected extra key(s): {keys_formatted}")
-
-    # Detect NotRequired fields which are hidden by get_type_hints()
-    type_hints: dict[str, type] = {}
-    for key, annotation in origin_type.__annotations__.items():
-        if isinstance(annotation, ForwardRef):
-            annotation = evaluate_forwardref(annotation, memo)
-            if get_origin(annotation) is NotRequired:
-                required_keys.discard(key)
-                annotation = get_args(annotation)[0]
-
-        type_hints[key] = annotation
-
-    missing_keys = required_keys - existing_keys
-    if missing_keys:
-        keys_formatted = ", ".join(f'"{key}"' for key in sorted(missing_keys, key=repr))
-        raise TypeCheckError(f"is missing required key(s): {keys_formatted}")
-
-    for key, argtype in type_hints.items():
-        argvalue = value.get(key, _missing)
-        if argvalue is not _missing:
-            try:
-                check_type_internal(argvalue, argtype, memo)
-            except TypeCheckError as exc:
-                exc.append_path_element(f"value of key {key!r}")
-                raise
-
-
-def check_list(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if not isinstance(value, list):
-        raise TypeCheckError("is not a list")
-
-    if args and args != (Any,):
-        samples = memo.config.collection_check_strategy.iterate_samples(value)
-        for i, v in enumerate(samples):
-            try:
-                check_type_internal(v, args[0], memo)
-            except TypeCheckError as exc:
-                exc.append_path_element(f"item {i}")
-                raise
-
-
-def check_sequence(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if not isinstance(value, collections.abc.Sequence):
-        raise TypeCheckError("is not a sequence")
-
-    if args and args != (Any,):
-        samples = memo.config.collection_check_strategy.iterate_samples(value)
-        for i, v in enumerate(samples):
-            try:
-                check_type_internal(v, args[0], memo)
-            except TypeCheckError as exc:
-                exc.append_path_element(f"item {i}")
-                raise
-
-
-def check_set(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if origin_type is frozenset:
-        if not isinstance(value, frozenset):
-            raise TypeCheckError("is not a frozenset")
-    elif not isinstance(value, AbstractSet):
-        raise TypeCheckError("is not a set")
-
-    if args and args != (Any,):
-        samples = memo.config.collection_check_strategy.iterate_samples(value)
-        for v in samples:
-            try:
-                check_type_internal(v, args[0], memo)
-            except TypeCheckError as exc:
-                exc.append_path_element(f"[{v}]")
-                raise
-
-
-def check_tuple(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    # Specialized check for NamedTuples
-    if field_types := getattr(origin_type, "__annotations__", None):
-        if not isinstance(value, origin_type):
-            raise TypeCheckError(
-                f"is not a named tuple of type {qualified_name(origin_type)}"
-            )
-
-        for name, field_type in field_types.items():
-            try:
-                check_type_internal(getattr(value, name), field_type, memo)
-            except TypeCheckError as exc:
-                exc.append_path_element(f"attribute {name!r}")
-                raise
-
-        return
-    elif not isinstance(value, tuple):
-        raise TypeCheckError("is not a tuple")
-
-    if args:
-        use_ellipsis = args[-1] is Ellipsis
-        tuple_params = args[: -1 if use_ellipsis else None]
-    else:
-        # Unparametrized Tuple or plain tuple
-        return
-
-    if use_ellipsis:
-        element_type = tuple_params[0]
-        samples = memo.config.collection_check_strategy.iterate_samples(value)
-        for i, element in enumerate(samples):
-            try:
-                check_type_internal(element, element_type, memo)
-            except TypeCheckError as exc:
-                exc.append_path_element(f"item {i}")
-                raise
-    elif tuple_params == ((),):
-        if value != ():
-            raise TypeCheckError("is not an empty tuple")
-    else:
-        if len(value) != len(tuple_params):
-            raise TypeCheckError(
-                f"has wrong number of elements (expected {len(tuple_params)}, got "
-                f"{len(value)} instead)"
-            )
-
-        for i, (element, element_type) in enumerate(zip(value, tuple_params)):
-            try:
-                check_type_internal(element, element_type, memo)
-            except TypeCheckError as exc:
-                exc.append_path_element(f"item {i}")
-                raise
-
-
-def check_union(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    errors: dict[str, TypeCheckError] = {}
-    try:
-        for type_ in args:
-            try:
-                check_type_internal(value, type_, memo)
-                return
-            except TypeCheckError as exc:
-                errors[get_type_name(type_)] = exc
-
-        formatted_errors = indent(
-            "\n".join(f"{key}: {error}" for key, error in errors.items()), "  "
-        )
-    finally:
-        del errors  # avoid creating ref cycle
-    raise TypeCheckError(f"did not match any element in the union:\n{formatted_errors}")
-
-
-def check_uniontype(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    errors: dict[str, TypeCheckError] = {}
-    for type_ in args:
-        try:
-            check_type_internal(value, type_, memo)
-            return
-        except TypeCheckError as exc:
-            errors[get_type_name(type_)] = exc
-
-    formatted_errors = indent(
-        "\n".join(f"{key}: {error}" for key, error in errors.items()), "  "
-    )
-    raise TypeCheckError(f"did not match any element in the union:\n{formatted_errors}")
-
-
-def check_class(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if not isclass(value) and not isinstance(value, generic_alias_types):
-        raise TypeCheckError("is not a class")
-
-    if not args:
-        return
-
-    if isinstance(args[0], ForwardRef):
-        expected_class = evaluate_forwardref(args[0], memo)
-    else:
-        expected_class = args[0]
-
-    if expected_class is Any:
-        return
-    elif getattr(expected_class, "_is_protocol", False):
-        check_protocol(value, expected_class, (), memo)
-    elif isinstance(expected_class, TypeVar):
-        check_typevar(value, expected_class, (), memo, subclass_check=True)
-    elif get_origin(expected_class) is Union:
-        errors: dict[str, TypeCheckError] = {}
-        for arg in get_args(expected_class):
-            if arg is Any:
-                return
-
-            try:
-                check_class(value, type, (arg,), memo)
-                return
-            except TypeCheckError as exc:
-                errors[get_type_name(arg)] = exc
-        else:
-            formatted_errors = indent(
-                "\n".join(f"{key}: {error}" for key, error in errors.items()), "  "
-            )
-            raise TypeCheckError(
-                f"did not match any element in the union:\n{formatted_errors}"
-            )
-    elif not issubclass(value, expected_class):  # type: ignore[arg-type]
-        raise TypeCheckError(f"is not a subclass of {qualified_name(expected_class)}")
-
-
-def check_newtype(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    check_type_internal(value, origin_type.__supertype__, memo)
-
-
-def check_instance(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if not isinstance(value, origin_type):
-        raise TypeCheckError(f"is not an instance of {qualified_name(origin_type)}")
-
-
-def check_typevar(
-    value: Any,
-    origin_type: TypeVar,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-    *,
-    subclass_check: bool = False,
-) -> None:
-    if origin_type.__bound__ is not None:
-        annotation = (
-            Type[origin_type.__bound__] if subclass_check else origin_type.__bound__
-        )
-        check_type_internal(value, annotation, memo)
-    elif origin_type.__constraints__:
-        for constraint in origin_type.__constraints__:
-            annotation = Type[constraint] if subclass_check else constraint
-            try:
-                check_type_internal(value, annotation, memo)
-            except TypeCheckError:
-                pass
-            else:
-                break
-        else:
-            formatted_constraints = ", ".join(
-                get_type_name(constraint) for constraint in origin_type.__constraints__
-            )
-            raise TypeCheckError(
-                f"does not match any of the constraints " f"({formatted_constraints})"
-            )
-
-
-if typing_extensions is None:
-
-    def _is_literal_type(typ: object) -> bool:
-        return typ is typing.Literal
-
-else:
-
-    def _is_literal_type(typ: object) -> bool:
-        return typ is typing.Literal or typ is typing_extensions.Literal
-
-
-def check_literal(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    def get_literal_args(literal_args: tuple[Any, ...]) -> tuple[Any, ...]:
-        retval: list[Any] = []
-        for arg in literal_args:
-            if _is_literal_type(get_origin(arg)):
-                retval.extend(get_literal_args(arg.__args__))
-            elif arg is None or isinstance(arg, (int, str, bytes, bool, Enum)):
-                retval.append(arg)
-            else:
-                raise TypeError(
-                    f"Illegal literal value: {arg}"
-                )  # TypeError here is deliberate
-
-        return tuple(retval)
-
-    final_args = tuple(get_literal_args(args))
-    try:
-        index = final_args.index(value)
-    except ValueError:
-        pass
-    else:
-        if type(final_args[index]) is type(value):
-            return
-
-    formatted_args = ", ".join(repr(arg) for arg in final_args)
-    raise TypeCheckError(f"is not any of ({formatted_args})") from None
-
-
-def check_literal_string(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    check_type_internal(value, str, memo)
-
-
-def check_typeguard(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    check_type_internal(value, bool, memo)
-
-
-def check_none(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if value is not None:
-        raise TypeCheckError("is not None")
-
-
-def check_number(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if origin_type is complex and not isinstance(value, (complex, float, int)):
-        raise TypeCheckError("is neither complex, float or int")
-    elif origin_type is float and not isinstance(value, (float, int)):
-        raise TypeCheckError("is neither float or int")
-
-
-def check_io(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if origin_type is TextIO or (origin_type is IO and args == (str,)):
-        if not isinstance(value, TextIOBase):
-            raise TypeCheckError("is not a text based I/O object")
-    elif origin_type is BinaryIO or (origin_type is IO and args == (bytes,)):
-        if not isinstance(value, (RawIOBase, BufferedIOBase)):
-            raise TypeCheckError("is not a binary I/O object")
-    elif not isinstance(value, IOBase):
-        raise TypeCheckError("is not an I/O object")
-
-
-def check_protocol(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    subject: type[Any] = value if isclass(value) else type(value)
-
-    if subject in protocol_check_cache:
-        result_map = protocol_check_cache[subject]
-        if origin_type in result_map:
-            if exc := result_map[origin_type]:
-                raise exc
-            else:
-                return
-
-    # Collect a set of methods and non-method attributes present in the protocol
-    ignored_attrs = set(dir(typing.Protocol)) | {
-        "__annotations__",
-        "__non_callable_proto_members__",
-    }
-    expected_methods: dict[str, tuple[Any, Any]] = {}
-    expected_noncallable_members: dict[str, Any] = {}
-    for attrname in dir(origin_type):
-        # Skip attributes present in typing.Protocol
-        if attrname in ignored_attrs:
-            continue
-
-        member = getattr(origin_type, attrname)
-        if callable(member):
-            signature = inspect.signature(member)
-            argtypes = [
-                (p.annotation if p.annotation is not Parameter.empty else Any)
-                for p in signature.parameters.values()
-                if p.kind is not Parameter.KEYWORD_ONLY
-            ] or Ellipsis
-            return_annotation = (
-                signature.return_annotation
-                if signature.return_annotation is not Parameter.empty
-                else Any
-            )
-            expected_methods[attrname] = argtypes, return_annotation
-        else:
-            expected_noncallable_members[attrname] = member
-
-    for attrname, annotation in typing.get_type_hints(origin_type).items():
-        expected_noncallable_members[attrname] = annotation
-
-    subject_annotations = typing.get_type_hints(subject)
-
-    # Check that all required methods are present and their signatures are compatible
-    result_map = protocol_check_cache.setdefault(subject, {})
-    try:
-        for attrname, callable_args in expected_methods.items():
-            try:
-                method = getattr(subject, attrname)
-            except AttributeError:
-                if attrname in subject_annotations:
-                    raise TypeCheckError(
-                        f"is not compatible with the {origin_type.__qualname__} protocol "
-                        f"because its {attrname!r} attribute is not a method"
-                    ) from None
-                else:
-                    raise TypeCheckError(
-                        f"is not compatible with the {origin_type.__qualname__} protocol "
-                        f"because it has no method named {attrname!r}"
-                    ) from None
-
-            if not callable(method):
-                raise TypeCheckError(
-                    f"is not compatible with the {origin_type.__qualname__} protocol "
-                    f"because its {attrname!r} attribute is not a callable"
-                )
-
-            # TODO: raise exception on added keyword-only arguments without defaults
-            try:
-                check_callable(method, Callable, callable_args, memo)
-            except TypeCheckError as exc:
-                raise TypeCheckError(
-                    f"is not compatible with the {origin_type.__qualname__} protocol "
-                    f"because its {attrname!r} method {exc}"
-                ) from None
-
-        # Check that all required non-callable members are present
-        for attrname in expected_noncallable_members:
-            # TODO: implement assignability checks for non-callable members
-            if attrname not in subject_annotations and not hasattr(subject, attrname):
-                raise TypeCheckError(
-                    f"is not compatible with the {origin_type.__qualname__} protocol "
-                    f"because it has no attribute named {attrname!r}"
-                )
-    except TypeCheckError as exc:
-        result_map[origin_type] = exc
-        raise
-    else:
-        result_map[origin_type] = None
-
-
-def check_byteslike(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if not isinstance(value, (bytearray, bytes, memoryview)):
-        raise TypeCheckError("is not bytes-like")
-
-
-def check_self(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if memo.self_type is None:
-        raise TypeCheckError("cannot be checked against Self outside of a method call")
-
-    if isclass(value):
-        if not issubclass(value, memo.self_type):
-            raise TypeCheckError(
-                f"is not an instance of the self type "
-                f"({qualified_name(memo.self_type)})"
-            )
-    elif not isinstance(value, memo.self_type):
-        raise TypeCheckError(
-            f"is not an instance of the self type ({qualified_name(memo.self_type)})"
-        )
-
-
-def check_paramspec(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    pass  # No-op for now
-
-
-def check_instanceof(
-    value: Any,
-    origin_type: Any,
-    args: tuple[Any, ...],
-    memo: TypeCheckMemo,
-) -> None:
-    if not isinstance(value, origin_type):
-        raise TypeCheckError(f"is not an instance of {qualified_name(origin_type)}")
-
-
-def check_type_internal(
-    value: Any,
-    annotation: Any,
-    memo: TypeCheckMemo,
-) -> None:
-    """
-    Check that the given object is compatible with the given type annotation.
-
-    This function should only be used by type checker callables. Applications should use
-    :func:`~.check_type` instead.
-
-    :param value: the value to check
-    :param annotation: the type annotation to check against
-    :param memo: a memo object containing configuration and information necessary for
-        looking up forward references
-    """
-
-    if isinstance(annotation, ForwardRef):
-        try:
-            annotation = evaluate_forwardref(annotation, memo)
-        except NameError:
-            if memo.config.forward_ref_policy is ForwardRefPolicy.ERROR:
-                raise
-            elif memo.config.forward_ref_policy is ForwardRefPolicy.WARN:
-                warnings.warn(
-                    f"Cannot resolve forward reference {annotation.__forward_arg__!r}",
-                    TypeHintWarning,
-                    stacklevel=get_stacklevel(),
-                )
-
-            return
-
-    if annotation is Any or annotation is SubclassableAny or isinstance(value, Mock):
-        return
-
-    # Skip type checks if value is an instance of a class that inherits from Any
-    if not isclass(value) and SubclassableAny in type(value).__bases__:
-        return
-
-    extras: tuple[Any, ...]
-    origin_type = get_origin(annotation)
-    if origin_type is Annotated:
-        annotation, *extras_ = get_args(annotation)
-        extras = tuple(extras_)
-        origin_type = get_origin(annotation)
-    else:
-        extras = ()
-
-    if origin_type is not None:
-        args = get_args(annotation)
-
-        # Compatibility hack to distinguish between unparametrized and empty tuple
-        # (tuple[()]), necessary due to https://github.com/python/cpython/issues/91137
-        if origin_type in (tuple, Tuple) and annotation is not Tuple and not args:
-            args = ((),)
-    else:
-        origin_type = annotation
-        args = ()
-
-    for lookup_func in checker_lookup_functions:
-        checker = lookup_func(origin_type, args, extras)
-        if checker:
-            checker(value, origin_type, args, memo)
-            return
-
-    if isclass(origin_type):
-        if not isinstance(value, origin_type):
-            raise TypeCheckError(f"is not an instance of {qualified_name(origin_type)}")
-    elif type(origin_type) is str:  # noqa: E721
-        warnings.warn(
-            f"Skipping type check against {origin_type!r}; this looks like a "
-            f"string-form forward reference imported from another module",
-            TypeHintWarning,
-            stacklevel=get_stacklevel(),
-        )
-
-
-# Equality checks are applied to these
-origin_type_checkers = {
-    bytes: check_byteslike,
-    AbstractSet: check_set,
-    BinaryIO: check_io,
-    Callable: check_callable,
-    collections.abc.Callable: check_callable,
-    complex: check_number,
-    dict: check_mapping,
-    Dict: check_mapping,
-    float: check_number,
-    frozenset: check_set,
-    IO: check_io,
-    list: check_list,
-    List: check_list,
-    typing.Literal: check_literal,
-    Mapping: check_mapping,
-    MutableMapping: check_mapping,
-    None: check_none,
-    collections.abc.Mapping: check_mapping,
-    collections.abc.MutableMapping: check_mapping,
-    Sequence: check_sequence,
-    collections.abc.Sequence: check_sequence,
-    collections.abc.Set: check_set,
-    set: check_set,
-    Set: check_set,
-    TextIO: check_io,
-    tuple: check_tuple,
-    Tuple: check_tuple,
-    type: check_class,
-    Type: check_class,
-    Union: check_union,
-}
-if sys.version_info >= (3, 10):
-    origin_type_checkers[types.UnionType] = check_uniontype
-    origin_type_checkers[typing.TypeGuard] = check_typeguard
-if sys.version_info >= (3, 11):
-    origin_type_checkers.update(
-        {typing.LiteralString: check_literal_string, typing.Self: check_self}
-    )
-if typing_extensions is not None:
-    # On some Python versions, these may simply be re-exports from typing,
-    # but exactly which Python versions is subject to change,
-    # so it's best to err on the safe side
-    # and update the dictionary on all Python versions
-    # if typing_extensions is installed
-    origin_type_checkers[typing_extensions.Literal] = check_literal
-    origin_type_checkers[typing_extensions.LiteralString] = check_literal_string
-    origin_type_checkers[typing_extensions.Self] = check_self
-    origin_type_checkers[typing_extensions.TypeGuard] = check_typeguard
-
-
-def builtin_checker_lookup(
-    origin_type: Any, args: tuple[Any, ...], extras: tuple[Any, ...]
-) -> TypeCheckerCallable | None:
-    checker = origin_type_checkers.get(origin_type)
-    if checker is not None:
-        return checker
-    elif is_typeddict(origin_type):
-        return check_typed_dict
-    elif isclass(origin_type) and issubclass(
-        origin_type,
-        Tuple,  # type: ignore[arg-type]
-    ):
-        # NamedTuple
-        return check_tuple
-    elif getattr(origin_type, "_is_protocol", False):
-        return check_protocol
-    elif isinstance(origin_type, ParamSpec):
-        return check_paramspec
-    elif isinstance(origin_type, TypeVar):
-        return check_typevar
-    elif origin_type.__class__ is NewType:
-        # typing.NewType on Python 3.10+
-        return check_newtype
-    elif (
-        isfunction(origin_type)
-        and getattr(origin_type, "__module__", None) == "typing"
-        and getattr(origin_type, "__qualname__", "").startswith("NewType.")
-        and hasattr(origin_type, "__supertype__")
-    ):
-        # typing.NewType on Python 3.9 and below
-        return check_newtype
-
-    return None
-
-
-checker_lookup_functions.append(builtin_checker_lookup)
-
-
-def load_plugins() -> None:
-    """
-    Load all type checker lookup functions from entry points.
-
-    All entry points from the ``typeguard.checker_lookup`` group are loaded, and the
-    returned lookup functions are added to :data:`typeguard.checker_lookup_functions`.
-
-    .. note:: This function is called implicitly on import, unless the
-        ``TYPEGUARD_DISABLE_PLUGIN_AUTOLOAD`` environment variable is present.
-    """
-
-    for ep in entry_points(group="typeguard.checker_lookup"):
-        try:
-            plugin = ep.load()
-        except Exception as exc:
-            warnings.warn(
-                f"Failed to load plugin {ep.name!r}: " f"{qualified_name(exc)}: {exc}",
-                stacklevel=2,
-            )
-            continue
-
-        if not callable(plugin):
-            warnings.warn(
-                f"Plugin {ep} returned a non-callable object: {plugin!r}", stacklevel=2
-            )
-            continue
-
-        checker_lookup_functions.insert(0, plugin)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_config.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_config.py
deleted file mode 100644
index 36efad53..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_config.py
+++ /dev/null
@@ -1,108 +0,0 @@
-from __future__ import annotations
-
-from collections.abc import Iterable
-from dataclasses import dataclass
-from enum import Enum, auto
-from typing import TYPE_CHECKING, TypeVar
-
-if TYPE_CHECKING:
-    from ._functions import TypeCheckFailCallback
-
-T = TypeVar("T")
-
-
-class ForwardRefPolicy(Enum):
-    """
-    Defines how unresolved forward references are handled.
-
-    Members:
-
-    * ``ERROR``: propagate the :exc:`NameError` when the forward reference lookup fails
-    * ``WARN``: emit a :class:`~.TypeHintWarning` if the forward reference lookup fails
-    * ``IGNORE``: silently skip checks for unresolveable forward references
-    """
-
-    ERROR = auto()
-    WARN = auto()
-    IGNORE = auto()
-
-
-class CollectionCheckStrategy(Enum):
-    """
-    Specifies how thoroughly the contents of collections are type checked.
-
-    This has an effect on the following built-in checkers:
-
-    * ``AbstractSet``
-    * ``Dict``
-    * ``List``
-    * ``Mapping``
-    * ``Set``
-    * ``Tuple[, ...]`` (arbitrarily sized tuples)
-
-    Members:
-
-    * ``FIRST_ITEM``: check only the first item
-    * ``ALL_ITEMS``: check all items
-    """
-
-    FIRST_ITEM = auto()
-    ALL_ITEMS = auto()
-
-    def iterate_samples(self, collection: Iterable[T]) -> Iterable[T]:
-        if self is CollectionCheckStrategy.FIRST_ITEM:
-            try:
-                return [next(iter(collection))]
-            except StopIteration:
-                return ()
-        else:
-            return collection
-
-
-@dataclass
-class TypeCheckConfiguration:
-    """
-     You can change Typeguard's behavior with these settings.
-
-    .. attribute:: typecheck_fail_callback
-       :type: Callable[[TypeCheckError, TypeCheckMemo], Any]
-
-         Callable that is called when type checking fails.
-
-         Default: ``None`` (the :exc:`~.TypeCheckError` is raised directly)
-
-    .. attribute:: forward_ref_policy
-       :type: ForwardRefPolicy
-
-         Specifies what to do when a forward reference fails to resolve.
-
-         Default: ``WARN``
-
-    .. attribute:: collection_check_strategy
-       :type: CollectionCheckStrategy
-
-         Specifies how thoroughly the contents of collections (list, dict, etc.) are
-         type checked.
-
-         Default: ``FIRST_ITEM``
-
-    .. attribute:: debug_instrumentation
-       :type: bool
-
-         If set to ``True``, the code of modules or functions instrumented by typeguard
-         is printed to ``sys.stderr`` after the instrumentation is done
-
-         Requires Python 3.9 or newer.
-
-         Default: ``False``
-    """
-
-    forward_ref_policy: ForwardRefPolicy = ForwardRefPolicy.WARN
-    typecheck_fail_callback: TypeCheckFailCallback | None = None
-    collection_check_strategy: CollectionCheckStrategy = (
-        CollectionCheckStrategy.FIRST_ITEM
-    )
-    debug_instrumentation: bool = False
-
-
-global_config = TypeCheckConfiguration()
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_decorators.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_decorators.py
deleted file mode 100644
index cf325335..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_decorators.py
+++ /dev/null
@@ -1,235 +0,0 @@
-from __future__ import annotations
-
-import ast
-import inspect
-import sys
-from collections.abc import Sequence
-from functools import partial
-from inspect import isclass, isfunction
-from types import CodeType, FrameType, FunctionType
-from typing import TYPE_CHECKING, Any, Callable, ForwardRef, TypeVar, cast, overload
-from warnings import warn
-
-from ._config import CollectionCheckStrategy, ForwardRefPolicy, global_config
-from ._exceptions import InstrumentationWarning
-from ._functions import TypeCheckFailCallback
-from ._transformer import TypeguardTransformer
-from ._utils import Unset, function_name, get_stacklevel, is_method_of, unset
-
-if TYPE_CHECKING:
-    from typeshed.stdlib.types import _Cell
-
-    _F = TypeVar("_F")
-
-    def typeguard_ignore(f: _F) -> _F:
-        """This decorator is a noop during static type-checking."""
-        return f
-
-else:
-    from typing import no_type_check as typeguard_ignore  # noqa: F401
-
-T_CallableOrType = TypeVar("T_CallableOrType", bound=Callable[..., Any])
-
-
-def make_cell(value: object) -> _Cell:
-    return (lambda: value).__closure__[0]  # type: ignore[index]
-
-
-def find_target_function(
-    new_code: CodeType, target_path: Sequence[str], firstlineno: int
-) -> CodeType | None:
-    target_name = target_path[0]
-    for const in new_code.co_consts:
-        if isinstance(const, CodeType):
-            if const.co_name == target_name:
-                if const.co_firstlineno == firstlineno:
-                    return const
-                elif len(target_path) > 1:
-                    target_code = find_target_function(
-                        const, target_path[1:], firstlineno
-                    )
-                    if target_code:
-                        return target_code
-
-    return None
-
-
-def instrument(f: T_CallableOrType) -> FunctionType | str:
-    if not getattr(f, "__code__", None):
-        return "no code associated"
-    elif not getattr(f, "__module__", None):
-        return "__module__ attribute is not set"
-    elif f.__code__.co_filename == "":
-        return "cannot instrument functions defined in a REPL"
-    elif hasattr(f, "__wrapped__"):
-        return (
-            "@typechecked only supports instrumenting functions wrapped with "
-            "@classmethod, @staticmethod or @property"
-        )
-
-    target_path = [item for item in f.__qualname__.split(".") if item != ""]
-    module_source = inspect.getsource(sys.modules[f.__module__])
-    module_ast = ast.parse(module_source)
-    instrumentor = TypeguardTransformer(target_path, f.__code__.co_firstlineno)
-    instrumentor.visit(module_ast)
-
-    if not instrumentor.target_node or instrumentor.target_lineno is None:
-        return "instrumentor did not find the target function"
-
-    module_code = compile(module_ast, f.__code__.co_filename, "exec", dont_inherit=True)
-    new_code = find_target_function(
-        module_code, target_path, instrumentor.target_lineno
-    )
-    if not new_code:
-        return "cannot find the target function in the AST"
-
-    if global_config.debug_instrumentation and sys.version_info >= (3, 9):
-        # Find the matching AST node, then unparse it to source and print to stdout
-        print(
-            f"Source code of {f.__qualname__}() after instrumentation:"
-            "\n----------------------------------------------",
-            file=sys.stderr,
-        )
-        print(ast.unparse(instrumentor.target_node), file=sys.stderr)
-        print(
-            "----------------------------------------------",
-            file=sys.stderr,
-        )
-
-    closure = f.__closure__
-    if new_code.co_freevars != f.__code__.co_freevars:
-        # Create a new closure and find values for the new free variables
-        frame = cast(FrameType, inspect.currentframe())
-        frame = cast(FrameType, frame.f_back)
-        frame_locals = cast(FrameType, frame.f_back).f_locals
-        cells: list[_Cell] = []
-        for key in new_code.co_freevars:
-            if key in instrumentor.names_used_in_annotations:
-                # Find the value and make a new cell from it
-                value = frame_locals.get(key) or ForwardRef(key)
-                cells.append(make_cell(value))
-            else:
-                # Reuse the cell from the existing closure
-                assert f.__closure__
-                cells.append(f.__closure__[f.__code__.co_freevars.index(key)])
-
-        closure = tuple(cells)
-
-    new_function = FunctionType(new_code, f.__globals__, f.__name__, closure=closure)
-    new_function.__module__ = f.__module__
-    new_function.__name__ = f.__name__
-    new_function.__qualname__ = f.__qualname__
-    new_function.__annotations__ = f.__annotations__
-    new_function.__doc__ = f.__doc__
-    new_function.__defaults__ = f.__defaults__
-    new_function.__kwdefaults__ = f.__kwdefaults__
-    return new_function
-
-
-@overload
-def typechecked(
-    *,
-    forward_ref_policy: ForwardRefPolicy | Unset = unset,
-    typecheck_fail_callback: TypeCheckFailCallback | Unset = unset,
-    collection_check_strategy: CollectionCheckStrategy | Unset = unset,
-    debug_instrumentation: bool | Unset = unset,
-) -> Callable[[T_CallableOrType], T_CallableOrType]: ...
-
-
-@overload
-def typechecked(target: T_CallableOrType) -> T_CallableOrType: ...
-
-
-def typechecked(
-    target: T_CallableOrType | None = None,
-    *,
-    forward_ref_policy: ForwardRefPolicy | Unset = unset,
-    typecheck_fail_callback: TypeCheckFailCallback | Unset = unset,
-    collection_check_strategy: CollectionCheckStrategy | Unset = unset,
-    debug_instrumentation: bool | Unset = unset,
-) -> Any:
-    """
-    Instrument the target function to perform run-time type checking.
-
-    This decorator recompiles the target function, injecting code to type check
-    arguments, return values, yield values (excluding ``yield from``) and assignments to
-    annotated local variables.
-
-    This can also be used as a class decorator. This will instrument all type annotated
-    methods, including :func:`@classmethod `,
-    :func:`@staticmethod `,  and :class:`@property ` decorated
-    methods in the class.
-
-    .. note:: When Python is run in optimized mode (``-O`` or ``-OO``, this decorator
-        is a no-op). This is a feature meant for selectively introducing type checking
-        into a code base where the checks aren't meant to be run in production.
-
-    :param target: the function or class to enable type checking for
-    :param forward_ref_policy: override for
-        :attr:`.TypeCheckConfiguration.forward_ref_policy`
-    :param typecheck_fail_callback: override for
-        :attr:`.TypeCheckConfiguration.typecheck_fail_callback`
-    :param collection_check_strategy: override for
-        :attr:`.TypeCheckConfiguration.collection_check_strategy`
-    :param debug_instrumentation: override for
-        :attr:`.TypeCheckConfiguration.debug_instrumentation`
-
-    """
-    if target is None:
-        return partial(
-            typechecked,
-            forward_ref_policy=forward_ref_policy,
-            typecheck_fail_callback=typecheck_fail_callback,
-            collection_check_strategy=collection_check_strategy,
-            debug_instrumentation=debug_instrumentation,
-        )
-
-    if not __debug__:
-        return target
-
-    if isclass(target):
-        for key, attr in target.__dict__.items():
-            if is_method_of(attr, target):
-                retval = instrument(attr)
-                if isfunction(retval):
-                    setattr(target, key, retval)
-            elif isinstance(attr, (classmethod, staticmethod)):
-                if is_method_of(attr.__func__, target):
-                    retval = instrument(attr.__func__)
-                    if isfunction(retval):
-                        wrapper = attr.__class__(retval)
-                        setattr(target, key, wrapper)
-            elif isinstance(attr, property):
-                kwargs: dict[str, Any] = dict(doc=attr.__doc__)
-                for name in ("fset", "fget", "fdel"):
-                    property_func = kwargs[name] = getattr(attr, name)
-                    if is_method_of(property_func, target):
-                        retval = instrument(property_func)
-                        if isfunction(retval):
-                            kwargs[name] = retval
-
-                setattr(target, key, attr.__class__(**kwargs))
-
-        return target
-
-    # Find either the first Python wrapper or the actual function
-    wrapper_class: (
-        type[classmethod[Any, Any, Any]] | type[staticmethod[Any, Any]] | None
-    ) = None
-    if isinstance(target, (classmethod, staticmethod)):
-        wrapper_class = target.__class__
-        target = target.__func__
-
-    retval = instrument(target)
-    if isinstance(retval, str):
-        warn(
-            f"{retval} -- not typechecking {function_name(target)}",
-            InstrumentationWarning,
-            stacklevel=get_stacklevel(),
-        )
-        return target
-
-    if wrapper_class is None:
-        return retval
-    else:
-        return wrapper_class(retval)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_exceptions.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_exceptions.py
deleted file mode 100644
index 625437a6..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_exceptions.py
+++ /dev/null
@@ -1,42 +0,0 @@
-from collections import deque
-from typing import Deque
-
-
-class TypeHintWarning(UserWarning):
-    """
-    A warning that is emitted when a type hint in string form could not be resolved to
-    an actual type.
-    """
-
-
-class TypeCheckWarning(UserWarning):
-    """Emitted by typeguard's type checkers when a type mismatch is detected."""
-
-    def __init__(self, message: str):
-        super().__init__(message)
-
-
-class InstrumentationWarning(UserWarning):
-    """Emitted when there's a problem with instrumenting a function for type checks."""
-
-    def __init__(self, message: str):
-        super().__init__(message)
-
-
-class TypeCheckError(Exception):
-    """
-    Raised by typeguard's type checkers when a type mismatch is detected.
-    """
-
-    def __init__(self, message: str):
-        super().__init__(message)
-        self._path: Deque[str] = deque()
-
-    def append_path_element(self, element: str) -> None:
-        self._path.append(element)
-
-    def __str__(self) -> str:
-        if self._path:
-            return " of ".join(self._path) + " " + str(self.args[0])
-        else:
-            return str(self.args[0])
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_functions.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_functions.py
deleted file mode 100644
index 28497856..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_functions.py
+++ /dev/null
@@ -1,308 +0,0 @@
-from __future__ import annotations
-
-import sys
-import warnings
-from typing import Any, Callable, NoReturn, TypeVar, Union, overload
-
-from . import _suppression
-from ._checkers import BINARY_MAGIC_METHODS, check_type_internal
-from ._config import (
-    CollectionCheckStrategy,
-    ForwardRefPolicy,
-    TypeCheckConfiguration,
-)
-from ._exceptions import TypeCheckError, TypeCheckWarning
-from ._memo import TypeCheckMemo
-from ._utils import get_stacklevel, qualified_name
-
-if sys.version_info >= (3, 11):
-    from typing import Literal, Never, TypeAlias
-else:
-    from typing_extensions import Literal, Never, TypeAlias
-
-T = TypeVar("T")
-TypeCheckFailCallback: TypeAlias = Callable[[TypeCheckError, TypeCheckMemo], Any]
-
-
-@overload
-def check_type(
-    value: object,
-    expected_type: type[T],
-    *,
-    forward_ref_policy: ForwardRefPolicy = ...,
-    typecheck_fail_callback: TypeCheckFailCallback | None = ...,
-    collection_check_strategy: CollectionCheckStrategy = ...,
-) -> T: ...
-
-
-@overload
-def check_type(
-    value: object,
-    expected_type: Any,
-    *,
-    forward_ref_policy: ForwardRefPolicy = ...,
-    typecheck_fail_callback: TypeCheckFailCallback | None = ...,
-    collection_check_strategy: CollectionCheckStrategy = ...,
-) -> Any: ...
-
-
-def check_type(
-    value: object,
-    expected_type: Any,
-    *,
-    forward_ref_policy: ForwardRefPolicy = TypeCheckConfiguration().forward_ref_policy,
-    typecheck_fail_callback: TypeCheckFailCallback | None = (
-        TypeCheckConfiguration().typecheck_fail_callback
-    ),
-    collection_check_strategy: CollectionCheckStrategy = (
-        TypeCheckConfiguration().collection_check_strategy
-    ),
-) -> Any:
-    """
-    Ensure that ``value`` matches ``expected_type``.
-
-    The types from the :mod:`typing` module do not support :func:`isinstance` or
-    :func:`issubclass` so a number of type specific checks are required. This function
-    knows which checker to call for which type.
-
-    This function wraps :func:`~.check_type_internal` in the following ways:
-
-    * Respects type checking suppression (:func:`~.suppress_type_checks`)
-    * Forms a :class:`~.TypeCheckMemo` from the current stack frame
-    * Calls the configured type check fail callback if the check fails
-
-    Note that this function is independent of the globally shared configuration in
-    :data:`typeguard.config`. This means that usage within libraries is safe from being
-    affected configuration changes made by other libraries or by the integrating
-    application. Instead, configuration options have the same default values as their
-    corresponding fields in :class:`TypeCheckConfiguration`.
-
-    :param value: value to be checked against ``expected_type``
-    :param expected_type: a class or generic type instance, or a tuple of such things
-    :param forward_ref_policy: see :attr:`TypeCheckConfiguration.forward_ref_policy`
-    :param typecheck_fail_callback:
-        see :attr`TypeCheckConfiguration.typecheck_fail_callback`
-    :param collection_check_strategy:
-        see :attr:`TypeCheckConfiguration.collection_check_strategy`
-    :return: ``value``, unmodified
-    :raises TypeCheckError: if there is a type mismatch
-
-    """
-    if type(expected_type) is tuple:
-        expected_type = Union[expected_type]
-
-    config = TypeCheckConfiguration(
-        forward_ref_policy=forward_ref_policy,
-        typecheck_fail_callback=typecheck_fail_callback,
-        collection_check_strategy=collection_check_strategy,
-    )
-
-    if _suppression.type_checks_suppressed or expected_type is Any:
-        return value
-
-    frame = sys._getframe(1)
-    memo = TypeCheckMemo(frame.f_globals, frame.f_locals, config=config)
-    try:
-        check_type_internal(value, expected_type, memo)
-    except TypeCheckError as exc:
-        exc.append_path_element(qualified_name(value, add_class_prefix=True))
-        if config.typecheck_fail_callback:
-            config.typecheck_fail_callback(exc, memo)
-        else:
-            raise
-
-    return value
-
-
-def check_argument_types(
-    func_name: str,
-    arguments: dict[str, tuple[Any, Any]],
-    memo: TypeCheckMemo,
-) -> Literal[True]:
-    if _suppression.type_checks_suppressed:
-        return True
-
-    for argname, (value, annotation) in arguments.items():
-        if annotation is NoReturn or annotation is Never:
-            exc = TypeCheckError(
-                f"{func_name}() was declared never to be called but it was"
-            )
-            if memo.config.typecheck_fail_callback:
-                memo.config.typecheck_fail_callback(exc, memo)
-            else:
-                raise exc
-
-        try:
-            check_type_internal(value, annotation, memo)
-        except TypeCheckError as exc:
-            qualname = qualified_name(value, add_class_prefix=True)
-            exc.append_path_element(f'argument "{argname}" ({qualname})')
-            if memo.config.typecheck_fail_callback:
-                memo.config.typecheck_fail_callback(exc, memo)
-            else:
-                raise
-
-    return True
-
-
-def check_return_type(
-    func_name: str,
-    retval: T,
-    annotation: Any,
-    memo: TypeCheckMemo,
-) -> T:
-    if _suppression.type_checks_suppressed:
-        return retval
-
-    if annotation is NoReturn or annotation is Never:
-        exc = TypeCheckError(f"{func_name}() was declared never to return but it did")
-        if memo.config.typecheck_fail_callback:
-            memo.config.typecheck_fail_callback(exc, memo)
-        else:
-            raise exc
-
-    try:
-        check_type_internal(retval, annotation, memo)
-    except TypeCheckError as exc:
-        # Allow NotImplemented if this is a binary magic method (__eq__() et al)
-        if retval is NotImplemented and annotation is bool:
-            # This does (and cannot) not check if it's actually a method
-            func_name = func_name.rsplit(".", 1)[-1]
-            if func_name in BINARY_MAGIC_METHODS:
-                return retval
-
-        qualname = qualified_name(retval, add_class_prefix=True)
-        exc.append_path_element(f"the return value ({qualname})")
-        if memo.config.typecheck_fail_callback:
-            memo.config.typecheck_fail_callback(exc, memo)
-        else:
-            raise
-
-    return retval
-
-
-def check_send_type(
-    func_name: str,
-    sendval: T,
-    annotation: Any,
-    memo: TypeCheckMemo,
-) -> T:
-    if _suppression.type_checks_suppressed:
-        return sendval
-
-    if annotation is NoReturn or annotation is Never:
-        exc = TypeCheckError(
-            f"{func_name}() was declared never to be sent a value to but it was"
-        )
-        if memo.config.typecheck_fail_callback:
-            memo.config.typecheck_fail_callback(exc, memo)
-        else:
-            raise exc
-
-    try:
-        check_type_internal(sendval, annotation, memo)
-    except TypeCheckError as exc:
-        qualname = qualified_name(sendval, add_class_prefix=True)
-        exc.append_path_element(f"the value sent to generator ({qualname})")
-        if memo.config.typecheck_fail_callback:
-            memo.config.typecheck_fail_callback(exc, memo)
-        else:
-            raise
-
-    return sendval
-
-
-def check_yield_type(
-    func_name: str,
-    yieldval: T,
-    annotation: Any,
-    memo: TypeCheckMemo,
-) -> T:
-    if _suppression.type_checks_suppressed:
-        return yieldval
-
-    if annotation is NoReturn or annotation is Never:
-        exc = TypeCheckError(f"{func_name}() was declared never to yield but it did")
-        if memo.config.typecheck_fail_callback:
-            memo.config.typecheck_fail_callback(exc, memo)
-        else:
-            raise exc
-
-    try:
-        check_type_internal(yieldval, annotation, memo)
-    except TypeCheckError as exc:
-        qualname = qualified_name(yieldval, add_class_prefix=True)
-        exc.append_path_element(f"the yielded value ({qualname})")
-        if memo.config.typecheck_fail_callback:
-            memo.config.typecheck_fail_callback(exc, memo)
-        else:
-            raise
-
-    return yieldval
-
-
-def check_variable_assignment(
-    value: object, varname: str, annotation: Any, memo: TypeCheckMemo
-) -> Any:
-    if _suppression.type_checks_suppressed:
-        return value
-
-    try:
-        check_type_internal(value, annotation, memo)
-    except TypeCheckError as exc:
-        qualname = qualified_name(value, add_class_prefix=True)
-        exc.append_path_element(f"value assigned to {varname} ({qualname})")
-        if memo.config.typecheck_fail_callback:
-            memo.config.typecheck_fail_callback(exc, memo)
-        else:
-            raise
-
-    return value
-
-
-def check_multi_variable_assignment(
-    value: Any, targets: list[dict[str, Any]], memo: TypeCheckMemo
-) -> Any:
-    if max(len(target) for target in targets) == 1:
-        iterated_values = [value]
-    else:
-        iterated_values = list(value)
-
-    if not _suppression.type_checks_suppressed:
-        for expected_types in targets:
-            value_index = 0
-            for ann_index, (varname, expected_type) in enumerate(
-                expected_types.items()
-            ):
-                if varname.startswith("*"):
-                    varname = varname[1:]
-                    keys_left = len(expected_types) - 1 - ann_index
-                    next_value_index = len(iterated_values) - keys_left
-                    obj: object = iterated_values[value_index:next_value_index]
-                    value_index = next_value_index
-                else:
-                    obj = iterated_values[value_index]
-                    value_index += 1
-
-                try:
-                    check_type_internal(obj, expected_type, memo)
-                except TypeCheckError as exc:
-                    qualname = qualified_name(obj, add_class_prefix=True)
-                    exc.append_path_element(f"value assigned to {varname} ({qualname})")
-                    if memo.config.typecheck_fail_callback:
-                        memo.config.typecheck_fail_callback(exc, memo)
-                    else:
-                        raise
-
-    return iterated_values[0] if len(iterated_values) == 1 else iterated_values
-
-
-def warn_on_error(exc: TypeCheckError, memo: TypeCheckMemo) -> None:
-    """
-    Emit a warning on a type mismatch.
-
-    This is intended to be used as an error handler in
-    :attr:`TypeCheckConfiguration.typecheck_fail_callback`.
-
-    """
-    warnings.warn(TypeCheckWarning(str(exc)), stacklevel=get_stacklevel())
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_importhook.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_importhook.py
deleted file mode 100644
index 8590540a..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_importhook.py
+++ /dev/null
@@ -1,213 +0,0 @@
-from __future__ import annotations
-
-import ast
-import sys
-import types
-from collections.abc import Callable, Iterable
-from importlib.abc import MetaPathFinder
-from importlib.machinery import ModuleSpec, SourceFileLoader
-from importlib.util import cache_from_source, decode_source
-from inspect import isclass
-from os import PathLike
-from types import CodeType, ModuleType, TracebackType
-from typing import Sequence, TypeVar
-from unittest.mock import patch
-
-from ._config import global_config
-from ._transformer import TypeguardTransformer
-
-if sys.version_info >= (3, 12):
-    from collections.abc import Buffer
-else:
-    from typing_extensions import Buffer
-
-if sys.version_info >= (3, 11):
-    from typing import ParamSpec
-else:
-    from typing_extensions import ParamSpec
-
-if sys.version_info >= (3, 10):
-    from importlib.metadata import PackageNotFoundError, version
-else:
-    from importlib_metadata import PackageNotFoundError, version
-
-try:
-    OPTIMIZATION = "typeguard" + "".join(version("typeguard").split(".")[:3])
-except PackageNotFoundError:
-    OPTIMIZATION = "typeguard"
-
-P = ParamSpec("P")
-T = TypeVar("T")
-
-
-# The name of this function is magical
-def _call_with_frames_removed(
-    f: Callable[P, T], *args: P.args, **kwargs: P.kwargs
-) -> T:
-    return f(*args, **kwargs)
-
-
-def optimized_cache_from_source(path: str, debug_override: bool | None = None) -> str:
-    return cache_from_source(path, debug_override, optimization=OPTIMIZATION)
-
-
-class TypeguardLoader(SourceFileLoader):
-    @staticmethod
-    def source_to_code(
-        data: Buffer | str | ast.Module | ast.Expression | ast.Interactive,
-        path: Buffer | str | PathLike[str] = "",
-    ) -> CodeType:
-        if isinstance(data, (ast.Module, ast.Expression, ast.Interactive)):
-            tree = data
-        else:
-            if isinstance(data, str):
-                source = data
-            else:
-                source = decode_source(data)
-
-            tree = _call_with_frames_removed(
-                ast.parse,
-                source,
-                path,
-                "exec",
-            )
-
-        tree = TypeguardTransformer().visit(tree)
-        ast.fix_missing_locations(tree)
-
-        if global_config.debug_instrumentation and sys.version_info >= (3, 9):
-            print(
-                f"Source code of {path!r} after instrumentation:\n"
-                "----------------------------------------------",
-                file=sys.stderr,
-            )
-            print(ast.unparse(tree), file=sys.stderr)
-            print("----------------------------------------------", file=sys.stderr)
-
-        return _call_with_frames_removed(
-            compile, tree, path, "exec", 0, dont_inherit=True
-        )
-
-    def exec_module(self, module: ModuleType) -> None:
-        # Use a custom optimization marker – the import lock should make this monkey
-        # patch safe
-        with patch(
-            "importlib._bootstrap_external.cache_from_source",
-            optimized_cache_from_source,
-        ):
-            super().exec_module(module)
-
-
-class TypeguardFinder(MetaPathFinder):
-    """
-    Wraps another path finder and instruments the module with
-    :func:`@typechecked ` if :meth:`should_instrument` returns
-    ``True``.
-
-    Should not be used directly, but rather via :func:`~.install_import_hook`.
-
-    .. versionadded:: 2.6
-    """
-
-    def __init__(self, packages: list[str] | None, original_pathfinder: MetaPathFinder):
-        self.packages = packages
-        self._original_pathfinder = original_pathfinder
-
-    def find_spec(
-        self,
-        fullname: str,
-        path: Sequence[str] | None,
-        target: types.ModuleType | None = None,
-    ) -> ModuleSpec | None:
-        if self.should_instrument(fullname):
-            spec = self._original_pathfinder.find_spec(fullname, path, target)
-            if spec is not None and isinstance(spec.loader, SourceFileLoader):
-                spec.loader = TypeguardLoader(spec.loader.name, spec.loader.path)
-                return spec
-
-        return None
-
-    def should_instrument(self, module_name: str) -> bool:
-        """
-        Determine whether the module with the given name should be instrumented.
-
-        :param module_name: full name of the module that is about to be imported (e.g.
-            ``xyz.abc``)
-
-        """
-        if self.packages is None:
-            return True
-
-        for package in self.packages:
-            if module_name == package or module_name.startswith(package + "."):
-                return True
-
-        return False
-
-
-class ImportHookManager:
-    """
-    A handle that can be used to uninstall the Typeguard import hook.
-    """
-
-    def __init__(self, hook: MetaPathFinder):
-        self.hook = hook
-
-    def __enter__(self) -> None:
-        pass
-
-    def __exit__(
-        self,
-        exc_type: type[BaseException],
-        exc_val: BaseException,
-        exc_tb: TracebackType,
-    ) -> None:
-        self.uninstall()
-
-    def uninstall(self) -> None:
-        """Uninstall the import hook."""
-        try:
-            sys.meta_path.remove(self.hook)
-        except ValueError:
-            pass  # already removed
-
-
-def install_import_hook(
-    packages: Iterable[str] | None = None,
-    *,
-    cls: type[TypeguardFinder] = TypeguardFinder,
-) -> ImportHookManager:
-    """
-    Install an import hook that instruments functions for automatic type checking.
-
-    This only affects modules loaded **after** this hook has been installed.
-
-    :param packages: an iterable of package names to instrument, or ``None`` to
-        instrument all packages
-    :param cls: a custom meta path finder class
-    :return: a context manager that uninstalls the hook on exit (or when you call
-        ``.uninstall()``)
-
-    .. versionadded:: 2.6
-
-    """
-    if packages is None:
-        target_packages: list[str] | None = None
-    elif isinstance(packages, str):
-        target_packages = [packages]
-    else:
-        target_packages = list(packages)
-
-    for finder in sys.meta_path:
-        if (
-            isclass(finder)
-            and finder.__name__ == "PathFinder"
-            and hasattr(finder, "find_spec")
-        ):
-            break
-    else:
-        raise RuntimeError("Cannot find a PathFinder in sys.meta_path")
-
-    hook = cls(target_packages, finder)
-    sys.meta_path.insert(0, hook)
-    return ImportHookManager(hook)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_memo.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_memo.py
deleted file mode 100644
index 1d0d80c6..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_memo.py
+++ /dev/null
@@ -1,48 +0,0 @@
-from __future__ import annotations
-
-from typing import Any
-
-from typeguard._config import TypeCheckConfiguration, global_config
-
-
-class TypeCheckMemo:
-    """
-    Contains information necessary for type checkers to do their work.
-
-    .. attribute:: globals
-       :type: dict[str, Any]
-
-        Dictionary of global variables to use for resolving forward references.
-
-    .. attribute:: locals
-       :type: dict[str, Any]
-
-        Dictionary of local variables to use for resolving forward references.
-
-    .. attribute:: self_type
-       :type: type | None
-
-        When running type checks within an instance method or class method, this is the
-        class object that the first argument (usually named ``self`` or ``cls``) refers
-        to.
-
-    .. attribute:: config
-       :type: TypeCheckConfiguration
-
-         Contains the configuration for a particular set of type checking operations.
-    """
-
-    __slots__ = "globals", "locals", "self_type", "config"
-
-    def __init__(
-        self,
-        globals: dict[str, Any],
-        locals: dict[str, Any],
-        *,
-        self_type: type | None = None,
-        config: TypeCheckConfiguration = global_config,
-    ):
-        self.globals = globals
-        self.locals = locals
-        self.self_type = self_type
-        self.config = config
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_pytest_plugin.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_pytest_plugin.py
deleted file mode 100644
index 7b2f494e..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_pytest_plugin.py
+++ /dev/null
@@ -1,127 +0,0 @@
-from __future__ import annotations
-
-import sys
-import warnings
-from typing import TYPE_CHECKING, Any, Literal
-
-from typeguard._config import CollectionCheckStrategy, ForwardRefPolicy, global_config
-from typeguard._exceptions import InstrumentationWarning
-from typeguard._importhook import install_import_hook
-from typeguard._utils import qualified_name, resolve_reference
-
-if TYPE_CHECKING:
-    from pytest import Config, Parser
-
-
-def pytest_addoption(parser: Parser) -> None:
-    def add_ini_option(
-        opt_type: (
-            Literal["string", "paths", "pathlist", "args", "linelist", "bool"] | None
-        ),
-    ) -> None:
-        parser.addini(
-            group.options[-1].names()[0][2:],
-            group.options[-1].attrs()["help"],
-            opt_type,
-        )
-
-    group = parser.getgroup("typeguard")
-    group.addoption(
-        "--typeguard-packages",
-        action="store",
-        help="comma separated name list of packages and modules to instrument for "
-        "type checking, or :all: to instrument all modules loaded after typeguard",
-    )
-    add_ini_option("linelist")
-
-    group.addoption(
-        "--typeguard-debug-instrumentation",
-        action="store_true",
-        help="print all instrumented code to stderr",
-    )
-    add_ini_option("bool")
-
-    group.addoption(
-        "--typeguard-typecheck-fail-callback",
-        action="store",
-        help=(
-            "a module:varname (e.g. typeguard:warn_on_error) reference to a function "
-            "that is called (with the exception, and memo object as arguments) to "
-            "handle a TypeCheckError"
-        ),
-    )
-    add_ini_option("string")
-
-    group.addoption(
-        "--typeguard-forward-ref-policy",
-        action="store",
-        choices=list(ForwardRefPolicy.__members__),
-        help=(
-            "determines how to deal with unresolveable forward references in type "
-            "annotations"
-        ),
-    )
-    add_ini_option("string")
-
-    group.addoption(
-        "--typeguard-collection-check-strategy",
-        action="store",
-        choices=list(CollectionCheckStrategy.__members__),
-        help="determines how thoroughly to check collections (list, dict, etc)",
-    )
-    add_ini_option("string")
-
-
-def pytest_configure(config: Config) -> None:
-    def getoption(name: str) -> Any:
-        return config.getoption(name.replace("-", "_")) or config.getini(name)
-
-    packages: list[str] | None = []
-    if packages_option := config.getoption("typeguard_packages"):
-        packages = [pkg.strip() for pkg in packages_option.split(",")]
-    elif packages_ini := config.getini("typeguard-packages"):
-        packages = packages_ini
-
-    if packages:
-        if packages == [":all:"]:
-            packages = None
-        else:
-            already_imported_packages = sorted(
-                package for package in packages if package in sys.modules
-            )
-            if already_imported_packages:
-                warnings.warn(
-                    f"typeguard cannot check these packages because they are already "
-                    f"imported: {', '.join(already_imported_packages)}",
-                    InstrumentationWarning,
-                    stacklevel=1,
-                )
-
-        install_import_hook(packages=packages)
-
-    debug_option = getoption("typeguard-debug-instrumentation")
-    if debug_option:
-        global_config.debug_instrumentation = True
-
-    fail_callback_option = getoption("typeguard-typecheck-fail-callback")
-    if fail_callback_option:
-        callback = resolve_reference(fail_callback_option)
-        if not callable(callback):
-            raise TypeError(
-                f"{fail_callback_option} ({qualified_name(callback.__class__)}) is not "
-                f"a callable"
-            )
-
-        global_config.typecheck_fail_callback = callback
-
-    forward_ref_policy_option = getoption("typeguard-forward-ref-policy")
-    if forward_ref_policy_option:
-        forward_ref_policy = ForwardRefPolicy.__members__[forward_ref_policy_option]
-        global_config.forward_ref_policy = forward_ref_policy
-
-    collection_check_strategy_option = getoption("typeguard-collection-check-strategy")
-    if collection_check_strategy_option:
-        collection_check_strategy = CollectionCheckStrategy.__members__[
-            collection_check_strategy_option
-        ]
-        global_config.collection_check_strategy = collection_check_strategy
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_suppression.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_suppression.py
deleted file mode 100644
index bbbfbfbe..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_suppression.py
+++ /dev/null
@@ -1,86 +0,0 @@
-from __future__ import annotations
-
-import sys
-from collections.abc import Callable, Generator
-from contextlib import contextmanager
-from functools import update_wrapper
-from threading import Lock
-from typing import ContextManager, TypeVar, overload
-
-if sys.version_info >= (3, 10):
-    from typing import ParamSpec
-else:
-    from typing_extensions import ParamSpec
-
-P = ParamSpec("P")
-T = TypeVar("T")
-
-type_checks_suppressed = 0
-type_checks_suppress_lock = Lock()
-
-
-@overload
-def suppress_type_checks(func: Callable[P, T]) -> Callable[P, T]: ...
-
-
-@overload
-def suppress_type_checks() -> ContextManager[None]: ...
-
-
-def suppress_type_checks(
-    func: Callable[P, T] | None = None,
-) -> Callable[P, T] | ContextManager[None]:
-    """
-    Temporarily suppress all type checking.
-
-    This function has two operating modes, based on how it's used:
-
-    #. as a context manager (``with suppress_type_checks(): ...``)
-    #. as a decorator (``@suppress_type_checks``)
-
-    When used as a context manager, :func:`check_type` and any automatically
-    instrumented functions skip the actual type checking. These context managers can be
-    nested.
-
-    When used as a decorator, all type checking is suppressed while the function is
-    running.
-
-    Type checking will resume once no more context managers are active and no decorated
-    functions are running.
-
-    Both operating modes are thread-safe.
-
-    """
-
-    def wrapper(*args: P.args, **kwargs: P.kwargs) -> T:
-        global type_checks_suppressed
-
-        with type_checks_suppress_lock:
-            type_checks_suppressed += 1
-
-        assert func is not None
-        try:
-            return func(*args, **kwargs)
-        finally:
-            with type_checks_suppress_lock:
-                type_checks_suppressed -= 1
-
-    def cm() -> Generator[None, None, None]:
-        global type_checks_suppressed
-
-        with type_checks_suppress_lock:
-            type_checks_suppressed += 1
-
-        try:
-            yield
-        finally:
-            with type_checks_suppress_lock:
-                type_checks_suppressed -= 1
-
-    if func is None:
-        # Context manager mode
-        return contextmanager(cm)()
-    else:
-        # Decorator mode
-        update_wrapper(wrapper, func)
-        return wrapper
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_transformer.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_transformer.py
deleted file mode 100644
index 13ac3630..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_transformer.py
+++ /dev/null
@@ -1,1229 +0,0 @@
-from __future__ import annotations
-
-import ast
-import builtins
-import sys
-import typing
-from ast import (
-    AST,
-    Add,
-    AnnAssign,
-    Assign,
-    AsyncFunctionDef,
-    Attribute,
-    AugAssign,
-    BinOp,
-    BitAnd,
-    BitOr,
-    BitXor,
-    Call,
-    ClassDef,
-    Constant,
-    Dict,
-    Div,
-    Expr,
-    Expression,
-    FloorDiv,
-    FunctionDef,
-    If,
-    Import,
-    ImportFrom,
-    Index,
-    List,
-    Load,
-    LShift,
-    MatMult,
-    Mod,
-    Module,
-    Mult,
-    Name,
-    NamedExpr,
-    NodeTransformer,
-    NodeVisitor,
-    Pass,
-    Pow,
-    Return,
-    RShift,
-    Starred,
-    Store,
-    Sub,
-    Subscript,
-    Tuple,
-    Yield,
-    YieldFrom,
-    alias,
-    copy_location,
-    expr,
-    fix_missing_locations,
-    keyword,
-    walk,
-)
-from collections import defaultdict
-from collections.abc import Generator, Sequence
-from contextlib import contextmanager
-from copy import deepcopy
-from dataclasses import dataclass, field
-from typing import Any, ClassVar, cast, overload
-
-generator_names = (
-    "typing.Generator",
-    "collections.abc.Generator",
-    "typing.Iterator",
-    "collections.abc.Iterator",
-    "typing.Iterable",
-    "collections.abc.Iterable",
-    "typing.AsyncIterator",
-    "collections.abc.AsyncIterator",
-    "typing.AsyncIterable",
-    "collections.abc.AsyncIterable",
-    "typing.AsyncGenerator",
-    "collections.abc.AsyncGenerator",
-)
-anytype_names = (
-    "typing.Any",
-    "typing_extensions.Any",
-)
-literal_names = (
-    "typing.Literal",
-    "typing_extensions.Literal",
-)
-annotated_names = (
-    "typing.Annotated",
-    "typing_extensions.Annotated",
-)
-ignore_decorators = (
-    "typing.no_type_check",
-    "typeguard.typeguard_ignore",
-)
-aug_assign_functions = {
-    Add: "iadd",
-    Sub: "isub",
-    Mult: "imul",
-    MatMult: "imatmul",
-    Div: "itruediv",
-    FloorDiv: "ifloordiv",
-    Mod: "imod",
-    Pow: "ipow",
-    LShift: "ilshift",
-    RShift: "irshift",
-    BitAnd: "iand",
-    BitXor: "ixor",
-    BitOr: "ior",
-}
-
-
-@dataclass
-class TransformMemo:
-    node: Module | ClassDef | FunctionDef | AsyncFunctionDef | None
-    parent: TransformMemo | None
-    path: tuple[str, ...]
-    joined_path: Constant = field(init=False)
-    return_annotation: expr | None = None
-    yield_annotation: expr | None = None
-    send_annotation: expr | None = None
-    is_async: bool = False
-    local_names: set[str] = field(init=False, default_factory=set)
-    imported_names: dict[str, str] = field(init=False, default_factory=dict)
-    ignored_names: set[str] = field(init=False, default_factory=set)
-    load_names: defaultdict[str, dict[str, Name]] = field(
-        init=False, default_factory=lambda: defaultdict(dict)
-    )
-    has_yield_expressions: bool = field(init=False, default=False)
-    has_return_expressions: bool = field(init=False, default=False)
-    memo_var_name: Name | None = field(init=False, default=None)
-    should_instrument: bool = field(init=False, default=True)
-    variable_annotations: dict[str, expr] = field(init=False, default_factory=dict)
-    configuration_overrides: dict[str, Any] = field(init=False, default_factory=dict)
-    code_inject_index: int = field(init=False, default=0)
-
-    def __post_init__(self) -> None:
-        elements: list[str] = []
-        memo = self
-        while isinstance(memo.node, (ClassDef, FunctionDef, AsyncFunctionDef)):
-            elements.insert(0, memo.node.name)
-            if not memo.parent:
-                break
-
-            memo = memo.parent
-            if isinstance(memo.node, (FunctionDef, AsyncFunctionDef)):
-                elements.insert(0, "")
-
-        self.joined_path = Constant(".".join(elements))
-
-        # Figure out where to insert instrumentation code
-        if self.node:
-            for index, child in enumerate(self.node.body):
-                if isinstance(child, ImportFrom) and child.module == "__future__":
-                    # (module only) __future__ imports must come first
-                    continue
-                elif (
-                    isinstance(child, Expr)
-                    and isinstance(child.value, Constant)
-                    and isinstance(child.value.value, str)
-                ):
-                    continue  # docstring
-
-                self.code_inject_index = index
-                break
-
-    def get_unused_name(self, name: str) -> str:
-        memo: TransformMemo | None = self
-        while memo is not None:
-            if name in memo.local_names:
-                memo = self
-                name += "_"
-            else:
-                memo = memo.parent
-
-        self.local_names.add(name)
-        return name
-
-    def is_ignored_name(self, expression: expr | Expr | None) -> bool:
-        top_expression = (
-            expression.value if isinstance(expression, Expr) else expression
-        )
-
-        if isinstance(top_expression, Attribute) and isinstance(
-            top_expression.value, Name
-        ):
-            name = top_expression.value.id
-        elif isinstance(top_expression, Name):
-            name = top_expression.id
-        else:
-            return False
-
-        memo: TransformMemo | None = self
-        while memo is not None:
-            if name in memo.ignored_names:
-                return True
-
-            memo = memo.parent
-
-        return False
-
-    def get_memo_name(self) -> Name:
-        if not self.memo_var_name:
-            self.memo_var_name = Name(id="memo", ctx=Load())
-
-        return self.memo_var_name
-
-    def get_import(self, module: str, name: str) -> Name:
-        if module in self.load_names and name in self.load_names[module]:
-            return self.load_names[module][name]
-
-        qualified_name = f"{module}.{name}"
-        if name in self.imported_names and self.imported_names[name] == qualified_name:
-            return Name(id=name, ctx=Load())
-
-        alias = self.get_unused_name(name)
-        node = self.load_names[module][name] = Name(id=alias, ctx=Load())
-        self.imported_names[name] = qualified_name
-        return node
-
-    def insert_imports(self, node: Module | FunctionDef | AsyncFunctionDef) -> None:
-        """Insert imports needed by injected code."""
-        if not self.load_names:
-            return
-
-        # Insert imports after any "from __future__ ..." imports and any docstring
-        for modulename, names in self.load_names.items():
-            aliases = [
-                alias(orig_name, new_name.id if orig_name != new_name.id else None)
-                for orig_name, new_name in sorted(names.items())
-            ]
-            node.body.insert(self.code_inject_index, ImportFrom(modulename, aliases, 0))
-
-    def name_matches(self, expression: expr | Expr | None, *names: str) -> bool:
-        if expression is None:
-            return False
-
-        path: list[str] = []
-        top_expression = (
-            expression.value if isinstance(expression, Expr) else expression
-        )
-
-        if isinstance(top_expression, Subscript):
-            top_expression = top_expression.value
-        elif isinstance(top_expression, Call):
-            top_expression = top_expression.func
-
-        while isinstance(top_expression, Attribute):
-            path.insert(0, top_expression.attr)
-            top_expression = top_expression.value
-
-        if not isinstance(top_expression, Name):
-            return False
-
-        if top_expression.id in self.imported_names:
-            translated = self.imported_names[top_expression.id]
-        elif hasattr(builtins, top_expression.id):
-            translated = "builtins." + top_expression.id
-        else:
-            translated = top_expression.id
-
-        path.insert(0, translated)
-        joined_path = ".".join(path)
-        if joined_path in names:
-            return True
-        elif self.parent:
-            return self.parent.name_matches(expression, *names)
-        else:
-            return False
-
-    def get_config_keywords(self) -> list[keyword]:
-        if self.parent and isinstance(self.parent.node, ClassDef):
-            overrides = self.parent.configuration_overrides.copy()
-        else:
-            overrides = {}
-
-        overrides.update(self.configuration_overrides)
-        return [keyword(key, value) for key, value in overrides.items()]
-
-
-class NameCollector(NodeVisitor):
-    def __init__(self) -> None:
-        self.names: set[str] = set()
-
-    def visit_Import(self, node: Import) -> None:
-        for name in node.names:
-            self.names.add(name.asname or name.name)
-
-    def visit_ImportFrom(self, node: ImportFrom) -> None:
-        for name in node.names:
-            self.names.add(name.asname or name.name)
-
-    def visit_Assign(self, node: Assign) -> None:
-        for target in node.targets:
-            if isinstance(target, Name):
-                self.names.add(target.id)
-
-    def visit_NamedExpr(self, node: NamedExpr) -> Any:
-        if isinstance(node.target, Name):
-            self.names.add(node.target.id)
-
-    def visit_FunctionDef(self, node: FunctionDef) -> None:
-        pass
-
-    def visit_ClassDef(self, node: ClassDef) -> None:
-        pass
-
-
-class GeneratorDetector(NodeVisitor):
-    """Detects if a function node is a generator function."""
-
-    contains_yields: bool = False
-    in_root_function: bool = False
-
-    def visit_Yield(self, node: Yield) -> Any:
-        self.contains_yields = True
-
-    def visit_YieldFrom(self, node: YieldFrom) -> Any:
-        self.contains_yields = True
-
-    def visit_ClassDef(self, node: ClassDef) -> Any:
-        pass
-
-    def visit_FunctionDef(self, node: FunctionDef | AsyncFunctionDef) -> Any:
-        if not self.in_root_function:
-            self.in_root_function = True
-            self.generic_visit(node)
-            self.in_root_function = False
-
-    def visit_AsyncFunctionDef(self, node: AsyncFunctionDef) -> Any:
-        self.visit_FunctionDef(node)
-
-
-class AnnotationTransformer(NodeTransformer):
-    type_substitutions: ClassVar[dict[str, tuple[str, str]]] = {
-        "builtins.dict": ("typing", "Dict"),
-        "builtins.list": ("typing", "List"),
-        "builtins.tuple": ("typing", "Tuple"),
-        "builtins.set": ("typing", "Set"),
-        "builtins.frozenset": ("typing", "FrozenSet"),
-    }
-
-    def __init__(self, transformer: TypeguardTransformer):
-        self.transformer = transformer
-        self._memo = transformer._memo
-        self._level = 0
-
-    def visit(self, node: AST) -> Any:
-        # Don't process Literals
-        if isinstance(node, expr) and self._memo.name_matches(node, *literal_names):
-            return node
-
-        self._level += 1
-        new_node = super().visit(node)
-        self._level -= 1
-
-        if isinstance(new_node, Expression) and not hasattr(new_node, "body"):
-            return None
-
-        # Return None if this new node matches a variation of typing.Any
-        if (
-            self._level == 0
-            and isinstance(new_node, expr)
-            and self._memo.name_matches(new_node, *anytype_names)
-        ):
-            return None
-
-        return new_node
-
-    def visit_BinOp(self, node: BinOp) -> Any:
-        self.generic_visit(node)
-
-        if isinstance(node.op, BitOr):
-            # If either branch of the BinOp has been transformed to `None`, it means
-            # that a type in the union was ignored, so the entire annotation should e
-            # ignored
-            if not hasattr(node, "left") or not hasattr(node, "right"):
-                return None
-
-            # Return Any if either side is Any
-            if self._memo.name_matches(node.left, *anytype_names):
-                return node.left
-            elif self._memo.name_matches(node.right, *anytype_names):
-                return node.right
-
-            if sys.version_info < (3, 10):
-                union_name = self.transformer._get_import("typing", "Union")
-                return Subscript(
-                    value=union_name,
-                    slice=Index(
-                        Tuple(elts=[node.left, node.right], ctx=Load()), ctx=Load()
-                    ),
-                    ctx=Load(),
-                )
-
-        return node
-
-    def visit_Attribute(self, node: Attribute) -> Any:
-        if self._memo.is_ignored_name(node):
-            return None
-
-        return node
-
-    def visit_Subscript(self, node: Subscript) -> Any:
-        if self._memo.is_ignored_name(node.value):
-            return None
-
-        # The subscript of typing(_extensions).Literal can be any arbitrary string, so
-        # don't try to evaluate it as code
-        if node.slice:
-            if isinstance(node.slice, Index):
-                # Python 3.8
-                slice_value = node.slice.value  # type: ignore[attr-defined]
-            else:
-                slice_value = node.slice
-
-            if isinstance(slice_value, Tuple):
-                if self._memo.name_matches(node.value, *annotated_names):
-                    # Only treat the first argument to typing.Annotated as a potential
-                    # forward reference
-                    items = cast(
-                        typing.List[expr],
-                        [self.visit(slice_value.elts[0])] + slice_value.elts[1:],
-                    )
-                else:
-                    items = cast(
-                        typing.List[expr],
-                        [self.visit(item) for item in slice_value.elts],
-                    )
-
-                # If this is a Union and any of the items is Any, erase the entire
-                # annotation
-                if self._memo.name_matches(node.value, "typing.Union") and any(
-                    item is None
-                    or (
-                        isinstance(item, expr)
-                        and self._memo.name_matches(item, *anytype_names)
-                    )
-                    for item in items
-                ):
-                    return None
-
-                # If all items in the subscript were Any, erase the subscript entirely
-                if all(item is None for item in items):
-                    return node.value
-
-                for index, item in enumerate(items):
-                    if item is None:
-                        items[index] = self.transformer._get_import("typing", "Any")
-
-                slice_value.elts = items
-            else:
-                self.generic_visit(node)
-
-                # If the transformer erased the slice entirely, just return the node
-                # value without the subscript (unless it's Optional, in which case erase
-                # the node entirely
-                if self._memo.name_matches(
-                    node.value, "typing.Optional"
-                ) and not hasattr(node, "slice"):
-                    return None
-                if sys.version_info >= (3, 9) and not hasattr(node, "slice"):
-                    return node.value
-                elif sys.version_info < (3, 9) and not hasattr(node.slice, "value"):
-                    return node.value
-
-        return node
-
-    def visit_Name(self, node: Name) -> Any:
-        if self._memo.is_ignored_name(node):
-            return None
-
-        if sys.version_info < (3, 9):
-            for typename, substitute in self.type_substitutions.items():
-                if self._memo.name_matches(node, typename):
-                    new_node = self.transformer._get_import(*substitute)
-                    return copy_location(new_node, node)
-
-        return node
-
-    def visit_Call(self, node: Call) -> Any:
-        # Don't recurse into calls
-        return node
-
-    def visit_Constant(self, node: Constant) -> Any:
-        if isinstance(node.value, str):
-            expression = ast.parse(node.value, mode="eval")
-            new_node = self.visit(expression)
-            if new_node:
-                return copy_location(new_node.body, node)
-            else:
-                return None
-
-        return node
-
-
-class TypeguardTransformer(NodeTransformer):
-    def __init__(
-        self, target_path: Sequence[str] | None = None, target_lineno: int | None = None
-    ) -> None:
-        self._target_path = tuple(target_path) if target_path else None
-        self._memo = self._module_memo = TransformMemo(None, None, ())
-        self.names_used_in_annotations: set[str] = set()
-        self.target_node: FunctionDef | AsyncFunctionDef | None = None
-        self.target_lineno = target_lineno
-
-    def generic_visit(self, node: AST) -> AST:
-        has_non_empty_body_initially = bool(getattr(node, "body", None))
-        initial_type = type(node)
-
-        node = super().generic_visit(node)
-
-        if (
-            type(node) is initial_type
-            and has_non_empty_body_initially
-            and hasattr(node, "body")
-            and not node.body
-        ):
-            # If we have still the same node type after transformation
-            # but we've optimised it's body away, we add a `pass` statement.
-            node.body = [Pass()]
-
-        return node
-
-    @contextmanager
-    def _use_memo(
-        self, node: ClassDef | FunctionDef | AsyncFunctionDef
-    ) -> Generator[None, Any, None]:
-        new_memo = TransformMemo(node, self._memo, self._memo.path + (node.name,))
-        old_memo = self._memo
-        self._memo = new_memo
-
-        if isinstance(node, (FunctionDef, AsyncFunctionDef)):
-            new_memo.should_instrument = (
-                self._target_path is None or new_memo.path == self._target_path
-            )
-            if new_memo.should_instrument:
-                # Check if the function is a generator function
-                detector = GeneratorDetector()
-                detector.visit(node)
-
-                # Extract yield, send and return types where possible from a subscripted
-                # annotation like Generator[int, str, bool]
-                return_annotation = deepcopy(node.returns)
-                if detector.contains_yields and new_memo.name_matches(
-                    return_annotation, *generator_names
-                ):
-                    if isinstance(return_annotation, Subscript):
-                        annotation_slice = return_annotation.slice
-
-                        # Python < 3.9
-                        if isinstance(annotation_slice, Index):
-                            annotation_slice = (
-                                annotation_slice.value  # type: ignore[attr-defined]
-                            )
-
-                        if isinstance(annotation_slice, Tuple):
-                            items = annotation_slice.elts
-                        else:
-                            items = [annotation_slice]
-
-                        if len(items) > 0:
-                            new_memo.yield_annotation = self._convert_annotation(
-                                items[0]
-                            )
-
-                        if len(items) > 1:
-                            new_memo.send_annotation = self._convert_annotation(
-                                items[1]
-                            )
-
-                        if len(items) > 2:
-                            new_memo.return_annotation = self._convert_annotation(
-                                items[2]
-                            )
-                else:
-                    new_memo.return_annotation = self._convert_annotation(
-                        return_annotation
-                    )
-
-        if isinstance(node, AsyncFunctionDef):
-            new_memo.is_async = True
-
-        yield
-        self._memo = old_memo
-
-    def _get_import(self, module: str, name: str) -> Name:
-        memo = self._memo if self._target_path else self._module_memo
-        return memo.get_import(module, name)
-
-    @overload
-    def _convert_annotation(self, annotation: None) -> None: ...
-
-    @overload
-    def _convert_annotation(self, annotation: expr) -> expr: ...
-
-    def _convert_annotation(self, annotation: expr | None) -> expr | None:
-        if annotation is None:
-            return None
-
-        # Convert PEP 604 unions (x | y) and generic built-in collections where
-        # necessary, and undo forward references
-        new_annotation = cast(expr, AnnotationTransformer(self).visit(annotation))
-        if isinstance(new_annotation, expr):
-            new_annotation = ast.copy_location(new_annotation, annotation)
-
-            # Store names used in the annotation
-            names = {node.id for node in walk(new_annotation) if isinstance(node, Name)}
-            self.names_used_in_annotations.update(names)
-
-        return new_annotation
-
-    def visit_Name(self, node: Name) -> Name:
-        self._memo.local_names.add(node.id)
-        return node
-
-    def visit_Module(self, node: Module) -> Module:
-        self._module_memo = self._memo = TransformMemo(node, None, ())
-        self.generic_visit(node)
-        self._module_memo.insert_imports(node)
-
-        fix_missing_locations(node)
-        return node
-
-    def visit_Import(self, node: Import) -> Import:
-        for name in node.names:
-            self._memo.local_names.add(name.asname or name.name)
-            self._memo.imported_names[name.asname or name.name] = name.name
-
-        return node
-
-    def visit_ImportFrom(self, node: ImportFrom) -> ImportFrom:
-        for name in node.names:
-            if name.name != "*":
-                alias = name.asname or name.name
-                self._memo.local_names.add(alias)
-                self._memo.imported_names[alias] = f"{node.module}.{name.name}"
-
-        return node
-
-    def visit_ClassDef(self, node: ClassDef) -> ClassDef | None:
-        self._memo.local_names.add(node.name)
-
-        # Eliminate top level classes not belonging to the target path
-        if (
-            self._target_path is not None
-            and not self._memo.path
-            and node.name != self._target_path[0]
-        ):
-            return None
-
-        with self._use_memo(node):
-            for decorator in node.decorator_list.copy():
-                if self._memo.name_matches(decorator, "typeguard.typechecked"):
-                    # Remove the decorator to prevent duplicate instrumentation
-                    node.decorator_list.remove(decorator)
-
-                    # Store any configuration overrides
-                    if isinstance(decorator, Call) and decorator.keywords:
-                        self._memo.configuration_overrides.update(
-                            {kw.arg: kw.value for kw in decorator.keywords if kw.arg}
-                        )
-
-            self.generic_visit(node)
-            return node
-
-    def visit_FunctionDef(
-        self, node: FunctionDef | AsyncFunctionDef
-    ) -> FunctionDef | AsyncFunctionDef | None:
-        """
-        Injects type checks for function arguments, and for a return of None if the
-        function is annotated to return something else than Any or None, and the body
-        ends without an explicit "return".
-
-        """
-        self._memo.local_names.add(node.name)
-
-        # Eliminate top level functions not belonging to the target path
-        if (
-            self._target_path is not None
-            and not self._memo.path
-            and node.name != self._target_path[0]
-        ):
-            return None
-
-        # Skip instrumentation if we're instrumenting the whole module and the function
-        # contains either @no_type_check or @typeguard_ignore
-        if self._target_path is None:
-            for decorator in node.decorator_list:
-                if self._memo.name_matches(decorator, *ignore_decorators):
-                    return node
-
-        with self._use_memo(node):
-            arg_annotations: dict[str, Any] = {}
-            if self._target_path is None or self._memo.path == self._target_path:
-                # Find line number we're supposed to match against
-                if node.decorator_list:
-                    first_lineno = node.decorator_list[0].lineno
-                else:
-                    first_lineno = node.lineno
-
-                for decorator in node.decorator_list.copy():
-                    if self._memo.name_matches(decorator, "typing.overload"):
-                        # Remove overloads entirely
-                        return None
-                    elif self._memo.name_matches(decorator, "typeguard.typechecked"):
-                        # Remove the decorator to prevent duplicate instrumentation
-                        node.decorator_list.remove(decorator)
-
-                        # Store any configuration overrides
-                        if isinstance(decorator, Call) and decorator.keywords:
-                            self._memo.configuration_overrides = {
-                                kw.arg: kw.value for kw in decorator.keywords if kw.arg
-                            }
-
-                if self.target_lineno == first_lineno:
-                    assert self.target_node is None
-                    self.target_node = node
-                    if node.decorator_list:
-                        self.target_lineno = node.decorator_list[0].lineno
-                    else:
-                        self.target_lineno = node.lineno
-
-                all_args = node.args.args + node.args.kwonlyargs + node.args.posonlyargs
-
-                # Ensure that any type shadowed by the positional or keyword-only
-                # argument names are ignored in this function
-                for arg in all_args:
-                    self._memo.ignored_names.add(arg.arg)
-
-                # Ensure that any type shadowed by the variable positional argument name
-                # (e.g. "args" in *args) is ignored this function
-                if node.args.vararg:
-                    self._memo.ignored_names.add(node.args.vararg.arg)
-
-                # Ensure that any type shadowed by the variable keywrod argument name
-                # (e.g. "kwargs" in *kwargs) is ignored this function
-                if node.args.kwarg:
-                    self._memo.ignored_names.add(node.args.kwarg.arg)
-
-                for arg in all_args:
-                    annotation = self._convert_annotation(deepcopy(arg.annotation))
-                    if annotation:
-                        arg_annotations[arg.arg] = annotation
-
-                if node.args.vararg:
-                    annotation_ = self._convert_annotation(node.args.vararg.annotation)
-                    if annotation_:
-                        if sys.version_info >= (3, 9):
-                            container = Name("tuple", ctx=Load())
-                        else:
-                            container = self._get_import("typing", "Tuple")
-
-                        subscript_slice: Tuple | Index = Tuple(
-                            [
-                                annotation_,
-                                Constant(Ellipsis),
-                            ],
-                            ctx=Load(),
-                        )
-                        if sys.version_info < (3, 9):
-                            subscript_slice = Index(subscript_slice, ctx=Load())
-
-                        arg_annotations[node.args.vararg.arg] = Subscript(
-                            container, subscript_slice, ctx=Load()
-                        )
-
-                if node.args.kwarg:
-                    annotation_ = self._convert_annotation(node.args.kwarg.annotation)
-                    if annotation_:
-                        if sys.version_info >= (3, 9):
-                            container = Name("dict", ctx=Load())
-                        else:
-                            container = self._get_import("typing", "Dict")
-
-                        subscript_slice = Tuple(
-                            [
-                                Name("str", ctx=Load()),
-                                annotation_,
-                            ],
-                            ctx=Load(),
-                        )
-                        if sys.version_info < (3, 9):
-                            subscript_slice = Index(subscript_slice, ctx=Load())
-
-                        arg_annotations[node.args.kwarg.arg] = Subscript(
-                            container, subscript_slice, ctx=Load()
-                        )
-
-                if arg_annotations:
-                    self._memo.variable_annotations.update(arg_annotations)
-
-            self.generic_visit(node)
-
-            if arg_annotations:
-                annotations_dict = Dict(
-                    keys=[Constant(key) for key in arg_annotations.keys()],
-                    values=[
-                        Tuple([Name(key, ctx=Load()), annotation], ctx=Load())
-                        for key, annotation in arg_annotations.items()
-                    ],
-                )
-                func_name = self._get_import(
-                    "typeguard._functions", "check_argument_types"
-                )
-                args = [
-                    self._memo.joined_path,
-                    annotations_dict,
-                    self._memo.get_memo_name(),
-                ]
-                node.body.insert(
-                    self._memo.code_inject_index, Expr(Call(func_name, args, []))
-                )
-
-            # Add a checked "return None" to the end if there's no explicit return
-            # Skip if the return annotation is None or Any
-            if (
-                self._memo.return_annotation
-                and (not self._memo.is_async or not self._memo.has_yield_expressions)
-                and not isinstance(node.body[-1], Return)
-                and (
-                    not isinstance(self._memo.return_annotation, Constant)
-                    or self._memo.return_annotation.value is not None
-                )
-            ):
-                func_name = self._get_import(
-                    "typeguard._functions", "check_return_type"
-                )
-                return_node = Return(
-                    Call(
-                        func_name,
-                        [
-                            self._memo.joined_path,
-                            Constant(None),
-                            self._memo.return_annotation,
-                            self._memo.get_memo_name(),
-                        ],
-                        [],
-                    )
-                )
-
-                # Replace a placeholder "pass" at the end
-                if isinstance(node.body[-1], Pass):
-                    copy_location(return_node, node.body[-1])
-                    del node.body[-1]
-
-                node.body.append(return_node)
-
-            # Insert code to create the call memo, if it was ever needed for this
-            # function
-            if self._memo.memo_var_name:
-                memo_kwargs: dict[str, Any] = {}
-                if self._memo.parent and isinstance(self._memo.parent.node, ClassDef):
-                    for decorator in node.decorator_list:
-                        if (
-                            isinstance(decorator, Name)
-                            and decorator.id == "staticmethod"
-                        ):
-                            break
-                        elif (
-                            isinstance(decorator, Name)
-                            and decorator.id == "classmethod"
-                        ):
-                            memo_kwargs["self_type"] = Name(
-                                id=node.args.args[0].arg, ctx=Load()
-                            )
-                            break
-                    else:
-                        if node.args.args:
-                            if node.name == "__new__":
-                                memo_kwargs["self_type"] = Name(
-                                    id=node.args.args[0].arg, ctx=Load()
-                                )
-                            else:
-                                memo_kwargs["self_type"] = Attribute(
-                                    Name(id=node.args.args[0].arg, ctx=Load()),
-                                    "__class__",
-                                    ctx=Load(),
-                                )
-
-                # Construct the function reference
-                # Nested functions get special treatment: the function name is added
-                # to free variables (and the closure of the resulting function)
-                names: list[str] = [node.name]
-                memo = self._memo.parent
-                while memo:
-                    if isinstance(memo.node, (FunctionDef, AsyncFunctionDef)):
-                        # This is a nested function. Use the function name as-is.
-                        del names[:-1]
-                        break
-                    elif not isinstance(memo.node, ClassDef):
-                        break
-
-                    names.insert(0, memo.node.name)
-                    memo = memo.parent
-
-                config_keywords = self._memo.get_config_keywords()
-                if config_keywords:
-                    memo_kwargs["config"] = Call(
-                        self._get_import("dataclasses", "replace"),
-                        [self._get_import("typeguard._config", "global_config")],
-                        config_keywords,
-                    )
-
-                self._memo.memo_var_name.id = self._memo.get_unused_name("memo")
-                memo_store_name = Name(id=self._memo.memo_var_name.id, ctx=Store())
-                globals_call = Call(Name(id="globals", ctx=Load()), [], [])
-                locals_call = Call(Name(id="locals", ctx=Load()), [], [])
-                memo_expr = Call(
-                    self._get_import("typeguard", "TypeCheckMemo"),
-                    [globals_call, locals_call],
-                    [keyword(key, value) for key, value in memo_kwargs.items()],
-                )
-                node.body.insert(
-                    self._memo.code_inject_index,
-                    Assign([memo_store_name], memo_expr),
-                )
-
-                self._memo.insert_imports(node)
-
-                # Special case the __new__() method to create a local alias from the
-                # class name to the first argument (usually "cls")
-                if (
-                    isinstance(node, FunctionDef)
-                    and node.args
-                    and self._memo.parent is not None
-                    and isinstance(self._memo.parent.node, ClassDef)
-                    and node.name == "__new__"
-                ):
-                    first_args_expr = Name(node.args.args[0].arg, ctx=Load())
-                    cls_name = Name(self._memo.parent.node.name, ctx=Store())
-                    node.body.insert(
-                        self._memo.code_inject_index,
-                        Assign([cls_name], first_args_expr),
-                    )
-
-                # Rmove any placeholder "pass" at the end
-                if isinstance(node.body[-1], Pass):
-                    del node.body[-1]
-
-        return node
-
-    def visit_AsyncFunctionDef(
-        self, node: AsyncFunctionDef
-    ) -> FunctionDef | AsyncFunctionDef | None:
-        return self.visit_FunctionDef(node)
-
-    def visit_Return(self, node: Return) -> Return:
-        """This injects type checks into "return" statements."""
-        self.generic_visit(node)
-        if (
-            self._memo.return_annotation
-            and self._memo.should_instrument
-            and not self._memo.is_ignored_name(self._memo.return_annotation)
-        ):
-            func_name = self._get_import("typeguard._functions", "check_return_type")
-            old_node = node
-            retval = old_node.value or Constant(None)
-            node = Return(
-                Call(
-                    func_name,
-                    [
-                        self._memo.joined_path,
-                        retval,
-                        self._memo.return_annotation,
-                        self._memo.get_memo_name(),
-                    ],
-                    [],
-                )
-            )
-            copy_location(node, old_node)
-
-        return node
-
-    def visit_Yield(self, node: Yield) -> Yield | Call:
-        """
-        This injects type checks into "yield" expressions, checking both the yielded
-        value and the value sent back to the generator, when appropriate.
-
-        """
-        self._memo.has_yield_expressions = True
-        self.generic_visit(node)
-
-        if (
-            self._memo.yield_annotation
-            and self._memo.should_instrument
-            and not self._memo.is_ignored_name(self._memo.yield_annotation)
-        ):
-            func_name = self._get_import("typeguard._functions", "check_yield_type")
-            yieldval = node.value or Constant(None)
-            node.value = Call(
-                func_name,
-                [
-                    self._memo.joined_path,
-                    yieldval,
-                    self._memo.yield_annotation,
-                    self._memo.get_memo_name(),
-                ],
-                [],
-            )
-
-        if (
-            self._memo.send_annotation
-            and self._memo.should_instrument
-            and not self._memo.is_ignored_name(self._memo.send_annotation)
-        ):
-            func_name = self._get_import("typeguard._functions", "check_send_type")
-            old_node = node
-            call_node = Call(
-                func_name,
-                [
-                    self._memo.joined_path,
-                    old_node,
-                    self._memo.send_annotation,
-                    self._memo.get_memo_name(),
-                ],
-                [],
-            )
-            copy_location(call_node, old_node)
-            return call_node
-
-        return node
-
-    def visit_AnnAssign(self, node: AnnAssign) -> Any:
-        """
-        This injects a type check into a local variable annotation-assignment within a
-        function body.
-
-        """
-        self.generic_visit(node)
-
-        if (
-            isinstance(self._memo.node, (FunctionDef, AsyncFunctionDef))
-            and node.annotation
-            and isinstance(node.target, Name)
-        ):
-            self._memo.ignored_names.add(node.target.id)
-            annotation = self._convert_annotation(deepcopy(node.annotation))
-            if annotation:
-                self._memo.variable_annotations[node.target.id] = annotation
-                if node.value:
-                    func_name = self._get_import(
-                        "typeguard._functions", "check_variable_assignment"
-                    )
-                    node.value = Call(
-                        func_name,
-                        [
-                            node.value,
-                            Constant(node.target.id),
-                            annotation,
-                            self._memo.get_memo_name(),
-                        ],
-                        [],
-                    )
-
-        return node
-
-    def visit_Assign(self, node: Assign) -> Any:
-        """
-        This injects a type check into a local variable assignment within a function
-        body. The variable must have been annotated earlier in the function body.
-
-        """
-        self.generic_visit(node)
-
-        # Only instrument function-local assignments
-        if isinstance(self._memo.node, (FunctionDef, AsyncFunctionDef)):
-            targets: list[dict[Constant, expr | None]] = []
-            check_required = False
-            for target in node.targets:
-                elts: Sequence[expr]
-                if isinstance(target, Name):
-                    elts = [target]
-                elif isinstance(target, Tuple):
-                    elts = target.elts
-                else:
-                    continue
-
-                annotations_: dict[Constant, expr | None] = {}
-                for exp in elts:
-                    prefix = ""
-                    if isinstance(exp, Starred):
-                        exp = exp.value
-                        prefix = "*"
-
-                    if isinstance(exp, Name):
-                        self._memo.ignored_names.add(exp.id)
-                        name = prefix + exp.id
-                        annotation = self._memo.variable_annotations.get(exp.id)
-                        if annotation:
-                            annotations_[Constant(name)] = annotation
-                            check_required = True
-                        else:
-                            annotations_[Constant(name)] = None
-
-                targets.append(annotations_)
-
-            if check_required:
-                # Replace missing annotations with typing.Any
-                for item in targets:
-                    for key, expression in item.items():
-                        if expression is None:
-                            item[key] = self._get_import("typing", "Any")
-
-                if len(targets) == 1 and len(targets[0]) == 1:
-                    func_name = self._get_import(
-                        "typeguard._functions", "check_variable_assignment"
-                    )
-                    target_varname = next(iter(targets[0]))
-                    node.value = Call(
-                        func_name,
-                        [
-                            node.value,
-                            target_varname,
-                            targets[0][target_varname],
-                            self._memo.get_memo_name(),
-                        ],
-                        [],
-                    )
-                elif targets:
-                    func_name = self._get_import(
-                        "typeguard._functions", "check_multi_variable_assignment"
-                    )
-                    targets_arg = List(
-                        [
-                            Dict(keys=list(target), values=list(target.values()))
-                            for target in targets
-                        ],
-                        ctx=Load(),
-                    )
-                    node.value = Call(
-                        func_name,
-                        [node.value, targets_arg, self._memo.get_memo_name()],
-                        [],
-                    )
-
-        return node
-
-    def visit_NamedExpr(self, node: NamedExpr) -> Any:
-        """This injects a type check into an assignment expression (a := foo())."""
-        self.generic_visit(node)
-
-        # Only instrument function-local assignments
-        if isinstance(self._memo.node, (FunctionDef, AsyncFunctionDef)) and isinstance(
-            node.target, Name
-        ):
-            self._memo.ignored_names.add(node.target.id)
-
-            # Bail out if no matching annotation is found
-            annotation = self._memo.variable_annotations.get(node.target.id)
-            if annotation is None:
-                return node
-
-            func_name = self._get_import(
-                "typeguard._functions", "check_variable_assignment"
-            )
-            node.value = Call(
-                func_name,
-                [
-                    node.value,
-                    Constant(node.target.id),
-                    annotation,
-                    self._memo.get_memo_name(),
-                ],
-                [],
-            )
-
-        return node
-
-    def visit_AugAssign(self, node: AugAssign) -> Any:
-        """
-        This injects a type check into an augmented assignment expression (a += 1).
-
-        """
-        self.generic_visit(node)
-
-        # Only instrument function-local assignments
-        if isinstance(self._memo.node, (FunctionDef, AsyncFunctionDef)) and isinstance(
-            node.target, Name
-        ):
-            # Bail out if no matching annotation is found
-            annotation = self._memo.variable_annotations.get(node.target.id)
-            if annotation is None:
-                return node
-
-            # Bail out if the operator is not found (newer Python version?)
-            try:
-                operator_func_name = aug_assign_functions[node.op.__class__]
-            except KeyError:
-                return node
-
-            operator_func = self._get_import("operator", operator_func_name)
-            operator_call = Call(
-                operator_func, [Name(node.target.id, ctx=Load()), node.value], []
-            )
-            check_call = Call(
-                self._get_import("typeguard._functions", "check_variable_assignment"),
-                [
-                    operator_call,
-                    Constant(node.target.id),
-                    annotation,
-                    self._memo.get_memo_name(),
-                ],
-                [],
-            )
-            return Assign(targets=[node.target], value=check_call)
-
-        return node
-
-    def visit_If(self, node: If) -> Any:
-        """
-        This blocks names from being collected from a module-level
-        "if typing.TYPE_CHECKING:" block, so that they won't be type checked.
-
-        """
-        self.generic_visit(node)
-
-        if (
-            self._memo is self._module_memo
-            and isinstance(node.test, Name)
-            and self._memo.name_matches(node.test, "typing.TYPE_CHECKING")
-        ):
-            collector = NameCollector()
-            collector.visit(node)
-            self._memo.ignored_names.update(collector.names)
-
-        return node
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_union_transformer.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_union_transformer.py
deleted file mode 100644
index 19617e6a..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_union_transformer.py
+++ /dev/null
@@ -1,55 +0,0 @@
-"""
-Transforms lazily evaluated PEP 604 unions into typing.Unions, for compatibility with
-Python versions older than 3.10.
-"""
-
-from __future__ import annotations
-
-from ast import (
-    BinOp,
-    BitOr,
-    Index,
-    Load,
-    Name,
-    NodeTransformer,
-    Subscript,
-    fix_missing_locations,
-    parse,
-)
-from ast import Tuple as ASTTuple
-from types import CodeType
-from typing import Any, Dict, FrozenSet, List, Set, Tuple, Union
-
-type_substitutions = {
-    "dict": Dict,
-    "list": List,
-    "tuple": Tuple,
-    "set": Set,
-    "frozenset": FrozenSet,
-    "Union": Union,
-}
-
-
-class UnionTransformer(NodeTransformer):
-    def __init__(self, union_name: Name | None = None):
-        self.union_name = union_name or Name(id="Union", ctx=Load())
-
-    def visit_BinOp(self, node: BinOp) -> Any:
-        self.generic_visit(node)
-        if isinstance(node.op, BitOr):
-            return Subscript(
-                value=self.union_name,
-                slice=Index(
-                    ASTTuple(elts=[node.left, node.right], ctx=Load()), ctx=Load()
-                ),
-                ctx=Load(),
-            )
-
-        return node
-
-
-def compile_type_hint(hint: str) -> CodeType:
-    parsed = parse(hint, "", "eval")
-    UnionTransformer().visit(parsed)
-    fix_missing_locations(parsed)
-    return compile(parsed, "", "eval", flags=0)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_utils.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_utils.py
deleted file mode 100644
index 9bcc8417..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/_utils.py
+++ /dev/null
@@ -1,173 +0,0 @@
-from __future__ import annotations
-
-import inspect
-import sys
-from importlib import import_module
-from inspect import currentframe
-from types import CodeType, FrameType, FunctionType
-from typing import TYPE_CHECKING, Any, Callable, ForwardRef, Union, cast, final
-from weakref import WeakValueDictionary
-
-if TYPE_CHECKING:
-    from ._memo import TypeCheckMemo
-
-if sys.version_info >= (3, 13):
-    from typing import get_args, get_origin
-
-    def evaluate_forwardref(forwardref: ForwardRef, memo: TypeCheckMemo) -> Any:
-        return forwardref._evaluate(
-            memo.globals, memo.locals, type_params=(), recursive_guard=frozenset()
-        )
-
-elif sys.version_info >= (3, 10):
-    from typing import get_args, get_origin
-
-    def evaluate_forwardref(forwardref: ForwardRef, memo: TypeCheckMemo) -> Any:
-        return forwardref._evaluate(
-            memo.globals, memo.locals, recursive_guard=frozenset()
-        )
-
-else:
-    from typing_extensions import get_args, get_origin
-
-    evaluate_extra_args: tuple[frozenset[Any], ...] = (
-        (frozenset(),) if sys.version_info >= (3, 9) else ()
-    )
-
-    def evaluate_forwardref(forwardref: ForwardRef, memo: TypeCheckMemo) -> Any:
-        from ._union_transformer import compile_type_hint, type_substitutions
-
-        if not forwardref.__forward_evaluated__:
-            forwardref.__forward_code__ = compile_type_hint(forwardref.__forward_arg__)
-
-        try:
-            return forwardref._evaluate(memo.globals, memo.locals, *evaluate_extra_args)
-        except NameError:
-            if sys.version_info < (3, 10):
-                # Try again, with the type substitutions (list -> List etc.) in place
-                new_globals = memo.globals.copy()
-                new_globals.setdefault("Union", Union)
-                if sys.version_info < (3, 9):
-                    new_globals.update(type_substitutions)
-
-                return forwardref._evaluate(
-                    new_globals, memo.locals or new_globals, *evaluate_extra_args
-                )
-
-            raise
-
-
-_functions_map: WeakValueDictionary[CodeType, FunctionType] = WeakValueDictionary()
-
-
-def get_type_name(type_: Any) -> str:
-    name: str
-    for attrname in "__name__", "_name", "__forward_arg__":
-        candidate = getattr(type_, attrname, None)
-        if isinstance(candidate, str):
-            name = candidate
-            break
-    else:
-        origin = get_origin(type_)
-        candidate = getattr(origin, "_name", None)
-        if candidate is None:
-            candidate = type_.__class__.__name__.strip("_")
-
-        if isinstance(candidate, str):
-            name = candidate
-        else:
-            return "(unknown)"
-
-    args = get_args(type_)
-    if args:
-        if name == "Literal":
-            formatted_args = ", ".join(repr(arg) for arg in args)
-        else:
-            formatted_args = ", ".join(get_type_name(arg) for arg in args)
-
-        name += f"[{formatted_args}]"
-
-    module = getattr(type_, "__module__", None)
-    if module and module not in (None, "typing", "typing_extensions", "builtins"):
-        name = module + "." + name
-
-    return name
-
-
-def qualified_name(obj: Any, *, add_class_prefix: bool = False) -> str:
-    """
-    Return the qualified name (e.g. package.module.Type) for the given object.
-
-    Builtins and types from the :mod:`typing` package get special treatment by having
-    the module name stripped from the generated name.
-
-    """
-    if obj is None:
-        return "None"
-    elif inspect.isclass(obj):
-        prefix = "class " if add_class_prefix else ""
-        type_ = obj
-    else:
-        prefix = ""
-        type_ = type(obj)
-
-    module = type_.__module__
-    qualname = type_.__qualname__
-    name = qualname if module in ("typing", "builtins") else f"{module}.{qualname}"
-    return prefix + name
-
-
-def function_name(func: Callable[..., Any]) -> str:
-    """
-    Return the qualified name of the given function.
-
-    Builtins and types from the :mod:`typing` package get special treatment by having
-    the module name stripped from the generated name.
-
-    """
-    # For partial functions and objects with __call__ defined, __qualname__ does not
-    # exist
-    module = getattr(func, "__module__", "")
-    qualname = (module + ".") if module not in ("builtins", "") else ""
-    return qualname + getattr(func, "__qualname__", repr(func))
-
-
-def resolve_reference(reference: str) -> Any:
-    modulename, varname = reference.partition(":")[::2]
-    if not modulename or not varname:
-        raise ValueError(f"{reference!r} is not a module:varname reference")
-
-    obj = import_module(modulename)
-    for attr in varname.split("."):
-        obj = getattr(obj, attr)
-
-    return obj
-
-
-def is_method_of(obj: object, cls: type) -> bool:
-    return (
-        inspect.isfunction(obj)
-        and obj.__module__ == cls.__module__
-        and obj.__qualname__.startswith(cls.__qualname__ + ".")
-    )
-
-
-def get_stacklevel() -> int:
-    level = 1
-    frame = cast(FrameType, currentframe()).f_back
-    while frame and frame.f_globals.get("__name__", "").startswith("typeguard."):
-        level += 1
-        frame = frame.f_back
-
-    return level
-
-
-@final
-class Unset:
-    __slots__ = ()
-
-    def __repr__(self) -> str:
-        return ""
-
-
-unset = Unset()
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/py.typed b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typeguard/py.typed
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/INSTALLER
deleted file mode 100644
index a1b589e3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/INSTALLER
+++ /dev/null
@@ -1 +0,0 @@
-pip
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/LICENSE
deleted file mode 100644
index f26bcf4d..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/LICENSE
+++ /dev/null
@@ -1,279 +0,0 @@
-A. HISTORY OF THE SOFTWARE
-==========================
-
-Python was created in the early 1990s by Guido van Rossum at Stichting
-Mathematisch Centrum (CWI, see https://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 https://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, which became
-Zope Corporation.  In 2001, the Python Software Foundation (PSF, see
-https://www.python.org/psf/) was formed, a non-profit organization
-created specifically to own Python-related Intellectual Property.
-Zope Corporation was a sponsoring member of the PSF.
-
-All Python releases are Open Source (see https://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.1.2           2.1.1       2002        PSF         yes
-    2.1.3           2.1.2       2002        PSF         yes
-    2.2 and above   2.1.1       2001-now    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 and documentation are licensed under the
-Python Software Foundation License Version 2.
-
-Starting with Python 3.8.6, examples, recipes, and other code in
-the documentation are dual licensed under the PSF License Version 2
-and the Zero-Clause BSD license.
-
-Some software incorporated into Python is under different licenses.
-The licenses are listed with code falling under that license.
-
-
-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,
-2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 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.
-
-ZERO-CLAUSE BSD LICENSE FOR CODE IN THE PYTHON DOCUMENTATION
-----------------------------------------------------------------------
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-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/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/METADATA
deleted file mode 100644
index f15e2b38..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/METADATA
+++ /dev/null
@@ -1,67 +0,0 @@
-Metadata-Version: 2.1
-Name: typing_extensions
-Version: 4.12.2
-Summary: Backported and Experimental Type Hints for Python 3.8+
-Keywords: annotations,backport,checker,checking,function,hinting,hints,type,typechecking,typehinting,typehints,typing
-Author-email: "Guido van Rossum, Jukka Lehtosalo, Åukasz Langa, Michael Lee" 
-Requires-Python: >=3.8
-Description-Content-Type: text/markdown
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Environment :: Console
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: Python Software Foundation License
-Classifier: Operating System :: OS Independent
-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: Topic :: Software Development
-Project-URL: Bug Tracker, https://github.com/python/typing_extensions/issues
-Project-URL: Changes, https://github.com/python/typing_extensions/blob/main/CHANGELOG.md
-Project-URL: Documentation, https://typing-extensions.readthedocs.io/
-Project-URL: Home, https://github.com/python/typing_extensions
-Project-URL: Q & A, https://github.com/python/typing/discussions
-Project-URL: Repository, https://github.com/python/typing_extensions
-
-# Typing Extensions
-
-[![Chat at https://gitter.im/python/typing](https://badges.gitter.im/python/typing.svg)](https://gitter.im/python/typing)
-
-[Documentation](https://typing-extensions.readthedocs.io/en/latest/#) –
-[PyPI](https://pypi.org/project/typing-extensions/)
-
-## Overview
-
-The `typing_extensions` module serves two related purposes:
-
-- Enable use of new type system features on older Python versions. For example,
-  `typing.TypeGuard` is new in Python 3.10, but `typing_extensions` allows
-  users on previous Python versions to use it too.
-- Enable experimentation with new type system PEPs before they are accepted and
-  added to the `typing` module.
-
-`typing_extensions` is treated specially by static type checkers such as
-mypy and pyright. Objects defined in `typing_extensions` are treated the same
-way as equivalent forms in `typing`.
-
-`typing_extensions` uses
-[Semantic Versioning](https://semver.org/). The
-major version will be incremented only for backwards-incompatible changes.
-Therefore, it's safe to depend
-on `typing_extensions` like this: `typing_extensions >=x.y, <(x+1)`,
-where `x.y` is the first version that includes all features you need.
-
-## Included items
-
-See [the documentation](https://typing-extensions.readthedocs.io/en/latest/#) for a
-complete listing of module contents.
-
-## Contributing
-
-See [CONTRIBUTING.md](https://github.com/python/typing_extensions/blob/main/CONTRIBUTING.md)
-for how to contribute to `typing_extensions`.
-
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/RECORD
deleted file mode 100644
index bc7b4533..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/RECORD
+++ /dev/null
@@ -1,7 +0,0 @@
-__pycache__/typing_extensions.cpython-312.pyc,,
-typing_extensions-4.12.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
-typing_extensions-4.12.2.dist-info/LICENSE,sha256=Oy-B_iHRgcSZxZolbI4ZaEVdZonSaaqFNzv7avQdo78,13936
-typing_extensions-4.12.2.dist-info/METADATA,sha256=BeUQIa8cnYbrjWx-N8TOznM9UGW5Gm2DicVpDtRA8W0,3018
-typing_extensions-4.12.2.dist-info/RECORD,,
-typing_extensions-4.12.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
-typing_extensions.py,sha256=gwekpyG9DVG3lxWKX4ni8u7nk3We5slG98mA9F3DJQw,134451
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/WHEEL
deleted file mode 100644
index 3b5e64b5..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions-4.12.2.dist-info/WHEEL
+++ /dev/null
@@ -1,4 +0,0 @@
-Wheel-Version: 1.0
-Generator: flit 3.9.0
-Root-Is-Purelib: true
-Tag: py3-none-any
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions.py
deleted file mode 100644
index dec429ca..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/typing_extensions.py
+++ /dev/null
@@ -1,3641 +0,0 @@
-import abc
-import collections
-import collections.abc
-import contextlib
-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',
-    'Doc',
-    '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',
-    'TypeIs',
-    'TYPE_CHECKING',
-    'Never',
-    'NoReturn',
-    'ReadOnly',
-    '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',
-    'NoDefault',
-    '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
-_PEP_696_IMPLEMENTED = sys.version_info >= (3, 13, 0, "beta")
-
-# 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()
-
-
-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
-
-
-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
-
-
-Final = typing.Final
-
-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
-DefaultDict = typing.DefaultDict
-OrderedDict = typing.OrderedDict
-Counter = typing.Counter
-ChainMap = typing.ChainMap
-Text = typing.Text
-TYPE_CHECKING = typing.TYPE_CHECKING
-
-
-if sys.version_info >= (3, 13, 0, "beta"):
-    from typing import AsyncContextManager, AsyncGenerator, ContextManager, Generator
-else:
-    def _is_dunder(attr):
-        return attr.startswith('__') and attr.endswith('__')
-
-    # Python <3.9 doesn't have typing._SpecialGenericAlias
-    _special_generic_alias_base = getattr(
-        typing, "_SpecialGenericAlias", typing._GenericAlias
-    )
-
-    class _SpecialGenericAlias(_special_generic_alias_base, _root=True):
-        def __init__(self, origin, nparams, *, inst=True, name=None, defaults=()):
-            if _special_generic_alias_base is typing._GenericAlias:
-                # Python <3.9
-                self.__origin__ = origin
-                self._nparams = nparams
-                super().__init__(origin, nparams, special=True, inst=inst, name=name)
-            else:
-                # Python >= 3.9
-                super().__init__(origin, nparams, inst=inst, name=name)
-            self._defaults = defaults
-
-        def __setattr__(self, attr, val):
-            allowed_attrs = {'_name', '_inst', '_nparams', '_defaults'}
-            if _special_generic_alias_base is typing._GenericAlias:
-                # Python <3.9
-                allowed_attrs.add("__origin__")
-            if _is_dunder(attr) or attr in allowed_attrs:
-                object.__setattr__(self, attr, val)
-            else:
-                setattr(self.__origin__, attr, val)
-
-        @typing._tp_cache
-        def __getitem__(self, params):
-            if not isinstance(params, tuple):
-                params = (params,)
-            msg = "Parameters to generic types must be types."
-            params = tuple(typing._type_check(p, msg) for p in params)
-            if (
-                self._defaults
-                and len(params) < self._nparams
-                and len(params) + len(self._defaults) >= self._nparams
-            ):
-                params = (*params, *self._defaults[len(params) - self._nparams:])
-            actual_len = len(params)
-
-            if actual_len != self._nparams:
-                if self._defaults:
-                    expected = f"at least {self._nparams - len(self._defaults)}"
-                else:
-                    expected = str(self._nparams)
-                if not self._nparams:
-                    raise TypeError(f"{self} is not a generic class")
-                raise TypeError(
-                    f"Too {'many' if actual_len > self._nparams else 'few'}"
-                    f" arguments for {self};"
-                    f" actual {actual_len}, expected {expected}"
-                )
-            return self.copy_with(params)
-
-    _NoneType = type(None)
-    Generator = _SpecialGenericAlias(
-        collections.abc.Generator, 3, defaults=(_NoneType, _NoneType)
-    )
-    AsyncGenerator = _SpecialGenericAlias(
-        collections.abc.AsyncGenerator, 2, defaults=(_NoneType,)
-    )
-    ContextManager = _SpecialGenericAlias(
-        contextlib.AbstractContextManager,
-        2,
-        name="ContextManager",
-        defaults=(typing.Optional[bool],)
-    )
-    AsyncContextManager = _SpecialGenericAlias(
-        contextlib.AbstractAsyncContextManager,
-        2,
-        name="AsyncContextManager",
-        defaults=(typing.Optional[bool],)
-    )
-
-
-_PROTO_ALLOWLIST = {
-    'collections.abc': [
-        'Callable', 'Awaitable', 'Iterable', 'Iterator', 'AsyncIterable',
-        'Hashable', 'Sized', 'Container', 'Collection', 'Reversible', 'Buffer',
-    ],
-    'contextlib': ['AbstractContextManager', 'AbstractAsyncContextManager'],
-    'typing_extensions': ['Buffer'],
-}
-
-
-_EXCLUDED_ATTRS = frozenset(typing.EXCLUDED_ATTRIBUTES) | {
-    "__match_args__", "__protocol_attrs__", "__non_callable_proto_members__",
-    "__final__",
-}
-
-
-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 _caller(depth=2):
-    try:
-        return sys._getframe(depth).f_globals.get('__name__', '__main__')
-    except (AttributeError, ValueError):  # For platforms without _getframe()
-        return None
-
-
-# `__match_args__` attribute was removed from protocol members in 3.13,
-# we want to backport this change to older Python versions.
-if sys.version_info >= (3, 13):
-    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')
-
-    def _type_check_issubclass_arg_1(arg):
-        """Raise TypeError if `arg` is not an instance of `type`
-        in `issubclass(arg, )`.
-
-        In most cases, this is verified by type.__subclasscheck__.
-        Checking it again unnecessarily would slow down issubclass() checks,
-        so, we don't perform this check unless we absolutely have to.
-
-        For various error paths, however,
-        we want to ensure that *this* error message is shown to the user
-        where relevant, rather than a typing.py-specific error message.
-        """
-        if not isinstance(arg, type):
-            # Same error message as for issubclass(1, int).
-            raise TypeError('issubclass() arg 1 must be a class')
-
-    # 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"
-    class _ProtocolMeta(type(typing.Protocol)):
-        # 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)
-
-        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 getattr(cls, '_is_runtime_protocol', False):
-                    _type_check_issubclass_arg_1(other)
-                    raise TypeError(
-                        "Instance and class checks can only be used with "
-                        "@runtime_checkable protocols"
-                    )
-                if (
-                    # this attribute is set by @runtime_checkable:
-                    cls.__non_callable_proto_members__
-                    and cls.__dict__.get("__subclasshook__") is _proto_hook
-                ):
-                    _type_check_issubclass_arg_1(other)
-                    non_method_attrs = sorted(cls.__non_callable_proto_members__)
-                    raise TypeError(
-                        "Protocols with non-method members don't support issubclass()."
-                        f" Non-method members: {str(non_method_attrs)[1:-1]}."
-                    )
-            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
-                # this attribute is set by @runtime_checkable:
-                if val is None and attr not in cls.__non_callable_proto_members__:
-                    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
-            if abc.ABCMeta.__eq__(cls, other) is True:
-                return True
-            return cls is Protocol and other is typing.Protocol
-
-        # 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
-
-    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
-
-
-if sys.version_info >= (3, 13):
-    runtime_checkable = typing.runtime_checkable
-else:
-    def runtime_checkable(cls):
-        """Mark a protocol class as a runtime protocol.
-
-        Such protocol 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
-        one trick ponies in collections.abc such as Iterable.
-
-        For example::
-
-            @runtime_checkable
-            class Closable(Protocol):
-                def close(self): ...
-
-            assert isinstance(open('/some/file'), Closable)
-
-        Warning: this will check only the presence of the required methods,
-        not their type signatures!
-        """
-        if not issubclass(cls, typing.Generic) or not getattr(cls, '_is_protocol', False):
-            raise TypeError(f'@runtime_checkable can be only applied to protocol classes,'
-                            f' got {cls!r}')
-        cls._is_runtime_protocol = True
-
-        # typing.Protocol classes on <=3.11 break if we execute this block,
-        # because typing.Protocol classes on <=3.11 don't have a
-        # `__protocol_attrs__` attribute, and this block relies on the
-        # `__protocol_attrs__` attribute. Meanwhile, typing.Protocol classes on 3.12.2+
-        # break if we *don't* execute this block, because *they* assume that all
-        # protocol classes have a `__non_callable_proto_members__` attribute
-        # (which this block sets)
-        if isinstance(cls, _ProtocolMeta) or sys.version_info >= (3, 12, 2):
-            # PEP 544 prohibits using issubclass()
-            # with protocols that have non-method members.
-            # See gh-113320 for why we compute this attribute here,
-            # rather than in `_ProtocolMeta.__init__`
-            cls.__non_callable_proto_members__ = set()
-            for attr in cls.__protocol_attrs__:
-                try:
-                    is_callable = callable(getattr(cls, attr, None))
-                except Exception as e:
-                    raise TypeError(
-                        f"Failed to determine whether protocol member {attr!r} "
-                        "is a method member"
-                    ) from e
-                else:
-                    if not is_callable:
-                        cls.__non_callable_proto_members__.add(attr)
-
-        return cls
-
-
-# The "runtime" alias exists for backwards compatibility.
-runtime = runtime_checkable
-
-
-# Our version of runtime-checkable protocols is faster on Python 3.8-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
-
-
-# Update this to something like >=3.13.0b1 if and when
-# PEP 728 is implemented in CPython
-_PEP_728_IMPLEMENTED = False
-
-if _PEP_728_IMPLEMENTED:
-    # 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.
-    # Also on 3.13, PEP 705 adds the ReadOnly[] qualifier.
-    # PEP 728 (still pending) makes more changes.
-    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
-
-    def _get_typeddict_qualifiers(annotation_type):
-        while True:
-            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]
-                else:
-                    break
-            elif annotation_origin is Required:
-                yield Required
-                annotation_type, = get_args(annotation_type)
-            elif annotation_origin is NotRequired:
-                yield NotRequired
-                annotation_type, = get_args(annotation_type)
-            elif annotation_origin is ReadOnly:
-                yield ReadOnly
-                annotation_type, = get_args(annotation_type)
-            else:
-                break
-
-    class _TypedDictMeta(type):
-        def __new__(cls, name, bases, ns, *, total=True, closed=False):
-            """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"
-            tp_dict = type.__new__(_TypedDictMeta, "Protocol", (*generic_base, dict), ns)
-            tp_dict.__name__ = name
-            if tp_dict.__qualname__ == "Protocol":
-                tp_dict.__qualname__ = name
-
-            if not hasattr(tp_dict, '__orig_bases__'):
-                tp_dict.__orig_bases__ = bases
-
-            annotations = {}
-            if "__annotations__" in ns:
-                own_annotations = ns["__annotations__"]
-            elif "__annotate__" in ns:
-                # TODO: Use inspect.VALUE here, and make the annotations lazily evaluated
-                own_annotations = ns["__annotate__"](1)
-            else:
-                own_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()
-            readonly_keys = set()
-            mutable_keys = set()
-            extra_items_type = None
-
-            for base in bases:
-                base_dict = base.__dict__
-
-                annotations.update(base_dict.get('__annotations__', {}))
-                required_keys.update(base_dict.get('__required_keys__', ()))
-                optional_keys.update(base_dict.get('__optional_keys__', ()))
-                readonly_keys.update(base_dict.get('__readonly_keys__', ()))
-                mutable_keys.update(base_dict.get('__mutable_keys__', ()))
-                base_extra_items_type = base_dict.get('__extra_items__', None)
-                if base_extra_items_type is not None:
-                    extra_items_type = base_extra_items_type
-
-            if closed and extra_items_type is None:
-                extra_items_type = Never
-            if closed and "__extra_items__" in own_annotations:
-                annotation_type = own_annotations.pop("__extra_items__")
-                qualifiers = set(_get_typeddict_qualifiers(annotation_type))
-                if Required in qualifiers:
-                    raise TypeError(
-                        "Special key __extra_items__ does not support "
-                        "Required"
-                    )
-                if NotRequired in qualifiers:
-                    raise TypeError(
-                        "Special key __extra_items__ does not support "
-                        "NotRequired"
-                    )
-                extra_items_type = annotation_type
-
-            annotations.update(own_annotations)
-            for annotation_key, annotation_type in own_annotations.items():
-                qualifiers = set(_get_typeddict_qualifiers(annotation_type))
-
-                if Required in qualifiers:
-                    required_keys.add(annotation_key)
-                elif NotRequired in qualifiers:
-                    optional_keys.add(annotation_key)
-                elif total:
-                    required_keys.add(annotation_key)
-                else:
-                    optional_keys.add(annotation_key)
-                if ReadOnly in qualifiers:
-                    mutable_keys.discard(annotation_key)
-                    readonly_keys.add(annotation_key)
-                else:
-                    mutable_keys.add(annotation_key)
-                    readonly_keys.discard(annotation_key)
-
-            tp_dict.__annotations__ = annotations
-            tp_dict.__required_keys__ = frozenset(required_keys)
-            tp_dict.__optional_keys__ = frozenset(optional_keys)
-            tp_dict.__readonly_keys__ = frozenset(readonly_keys)
-            tp_dict.__mutable_keys__ = frozenset(mutable_keys)
-            if not hasattr(tp_dict, '__total__'):
-                tp_dict.__total__ = total
-            tp_dict.__closed__ = closed
-            tp_dict.__extra_items__ = extra_items_type
-            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, closed=False, **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)
-            if closed is not False and closed is not True:
-                kwargs["closed"] = closed
-                closed = False
-            fields = kwargs
-        elif kwargs:
-            raise TypeError("TypedDict takes either a dict or keyword arguments,"
-                            " but not both")
-        if kwargs:
-            if sys.version_info >= (3, 13):
-                raise TypeError("TypedDict takes no keyword arguments")
-            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, closed=closed)
-        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, "ReadOnly"):  # 3.13+
-    get_type_hints = typing.get_type_hints
-else:  # <=3.13
-    # 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, ReadOnly):
-            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"):  # 3.9+
-            hint = typing.get_type_hints(
-                obj, globalns=globalns, localns=localns, include_extras=True
-            )
-        else:  # 3.8
-            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.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.8-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.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."""
-    )
-
-
-if hasattr(typing, "NoDefault"):
-    NoDefault = typing.NoDefault
-else:
-    class NoDefaultTypeMeta(type):
-        def __setattr__(cls, attr, value):
-            # TypeError is consistent with the behavior of NoneType
-            raise TypeError(
-                f"cannot set {attr!r} attribute of immutable type {cls.__name__!r}"
-            )
-
-    class NoDefaultType(metaclass=NoDefaultTypeMeta):
-        """The type of the NoDefault singleton."""
-
-        __slots__ = ()
-
-        def __new__(cls):
-            return globals().get("NoDefault") or object.__new__(cls)
-
-        def __repr__(self):
-            return "typing_extensions.NoDefault"
-
-        def __reduce__(self):
-            return "NoDefault"
-
-    NoDefault = NoDefaultType()
-    del NoDefaultType, NoDefaultTypeMeta
-
-
-def _set_default(type_param, default):
-    type_param.has_default = lambda: default is not NoDefault
-    type_param.__default__ = default
-
-
-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)
-
-
-if _PEP_696_IMPLEMENTED:
-    from typing import TypeVar
-else:
-    # 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=NoDefault, infer_variance=False):
-            if hasattr(typing, "TypeAliasType"):
-                # PEP 695 implemented (3.12+), 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)
-
-            def _tvar_prepare_subst(alias, args):
-                if (
-                    typevar.has_default()
-                    and alias.__parameters__.index(typevar) == len(args)
-                ):
-                    args += (typevar.__default__,)
-                return args
-
-            typevar.__typing_prepare_subst__ = _tvar_prepare_subst
-            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.8-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__
-
-
-if _PEP_696_IMPLEMENTED:
-    from typing import ParamSpec
-
-# 3.10+
-elif 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=NoDefault):
-            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)
-
-            def _paramspec_prepare_subst(alias, args):
-                params = alias.__parameters__
-                i = params.index(paramspec)
-                if i == len(args) and paramspec.has_default():
-                    args = [*args, paramspec.__default__]
-                if i >= len(args):
-                    raise TypeError(f"Too few arguments for {alias}")
-                # Special case where Z[[int, str, bool]] == Z[int, str, bool] in PEP 612.
-                if len(params) == 1 and not typing._is_param_expr(args[0]):
-                    assert i == 0
-                    args = (args,)
-                # Convert lists to tuples to help other libraries cache the results.
-                elif isinstance(args[i], list):
-                    args = (*args[:i], tuple(args[i]), *args[i + 1:])
-                return args
-
-            paramspec.__typing_prepare_subst__ = _paramspec_prepare_subst
-            return paramspec
-
-        def __init_subclass__(cls) -> None:
-            raise TypeError(f"type '{__name__}.ParamSpec' is not an acceptable base type")
-
-# 3.8-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=NoDefault):
-            list.__init__(self, [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.8-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.8-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
-# 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.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.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).
-        """)
-
-# 3.13+
-if hasattr(typing, 'TypeIs'):
-    TypeIs = typing.TypeIs
-# 3.9
-elif sys.version_info[:2] >= (3, 9):
-    @_ExtensionsSpecialForm
-    def TypeIs(self, parameters):
-        """Special typing form used to annotate the return type of a user-defined
-        type narrower function.  ``TypeIs`` only accepts a single type argument.
-        At runtime, functions marked this way should return a boolean.
-
-        ``TypeIs`` 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 ``TypeIs[...]`` as its
-        return type to alert static type checkers to this intention.
-
-        Using  ``-> TypeIs`` 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 intersection of the type inside ``TypeGuard`` and the argument's
-        previously known type.
-
-        For example::
-
-            def is_awaitable(val: object) -> TypeIs[Awaitable[Any]]:
-                return hasattr(val, '__await__')
-
-            def f(val: Union[int, Awaitable[int]]) -> int:
-                if is_awaitable(val):
-                    assert_type(val, Awaitable[int])
-                else:
-                    assert_type(val, int)
-
-        ``TypeIs`` also works with type variables.  For more information, see
-        PEP 742 (Narrowing types with TypeIs).
-        """
-        item = typing._type_check(parameters, f'{self} accepts only a single type.')
-        return typing._GenericAlias(self, (item,))
-# 3.8
-else:
-    class _TypeIsForm(_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,))
-
-    TypeIs = _TypeIsForm(
-        'TypeIs',
-        doc="""Special typing form used to annotate the return type of a user-defined
-        type narrower function.  ``TypeIs`` only accepts a single type argument.
-        At runtime, functions marked this way should return a boolean.
-
-        ``TypeIs`` 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 ``TypeIs[...]`` as its
-        return type to alert static type checkers to this intention.
-
-        Using  ``-> TypeIs`` 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 intersection of the type inside ``TypeGuard`` and the argument's
-        previously known type.
-
-        For example::
-
-            def is_awaitable(val: object) -> TypeIs[Awaitable[Any]]:
-                return hasattr(val, '__await__')
-
-            def f(val: Union[int, Awaitable[int]]) -> int:
-                if is_awaitable(val):
-                    assert_type(val, Awaitable[int])
-                else:
-                    assert_type(val, int)
-
-        ``TypeIs`` also works with type variables.  For more information, see
-        PEP 742 (Narrowing types with TypeIs).
-        """)
-
-
-# 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"):  # 3.11+
-    LiteralString = typing.LiteralString
-else:
-    @_SpecialForm
-    def LiteralString(self, params):
-        """Represents an arbitrary literal string.
-
-        Example::
-
-          from 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"):  # 3.11+
-    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"):  # 3.11+
-    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 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'):  # 3.11+
-    Required = typing.Required
-    NotRequired = typing.NotRequired
-elif sys.version_info[:2] >= (3, 9):  # 3.9-3.10
-    @_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:  # 3.8
-    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,
-            )
-        """)
-
-
-if hasattr(typing, 'ReadOnly'):
-    ReadOnly = typing.ReadOnly
-elif sys.version_info[:2] >= (3, 9):  # 3.9-3.12
-    @_ExtensionsSpecialForm
-    def ReadOnly(self, parameters):
-        """A special typing construct to mark an item of a TypedDict as read-only.
-
-        For example:
-
-            class Movie(TypedDict):
-                title: ReadOnly[str]
-                year: int
-
-            def mutate_movie(m: Movie) -> None:
-                m["year"] = 1992  # allowed
-                m["title"] = "The Matrix"  # typechecker error
-
-        There is no runtime checking for this property.
-        """
-        item = typing._type_check(parameters, f'{self._name} accepts only a single type.')
-        return typing._GenericAlias(self, (item,))
-
-else:  # 3.8
-    class _ReadOnlyForm(_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,))
-
-    ReadOnly = _ReadOnlyForm(
-        'ReadOnly',
-        doc="""A special typing construct to mark a key of a TypedDict as read-only.
-
-        For example:
-
-            class Movie(TypedDict):
-                title: ReadOnly[str]
-                year: int
-
-            def mutate_movie(m: Movie) -> None:
-                m["year"] = 1992  # allowed
-                m["title"] = "The Matrix"  # typechecker error
-
-        There is no runtime checking for this propery.
-        """)
-
-
-_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):  # 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
-
-        @property
-        def __typing_unpacked_tuple_args__(self):
-            assert self.__origin__ is Unpack
-            assert len(self.__args__) == 1
-            arg, = self.__args__
-            if isinstance(arg, (typing._GenericAlias, _types.GenericAlias)):
-                if arg.__origin__ is not tuple:
-                    raise TypeError("Unpack[...] must be used with a tuple type")
-                return arg.__args__
-            return None
-
-    @_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:  # 3.8
-    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 _PEP_696_IMPLEMENTED:
-    from typing import TypeVarTuple
-
-elif hasattr(typing, "TypeVarTuple"):  # 3.11+
-
-    def _unpack_args(*args):
-        newargs = []
-        for arg in args:
-            subargs = getattr(arg, '__typing_unpacked_tuple_args__', None)
-            if subargs is not None and not (subargs and subargs[-1] is ...):
-                newargs.extend(subargs)
-            else:
-                newargs.append(arg)
-        return newargs
-
-    # Add default parameter - PEP 696
-    class TypeVarTuple(metaclass=_TypeVarLikeMeta):
-        """Type variable tuple."""
-
-        _backported_typevarlike = typing.TypeVarTuple
-
-        def __new__(cls, name, *, default=NoDefault):
-            tvt = typing.TypeVarTuple(name)
-            _set_default(tvt, default)
-            _set_module(tvt)
-
-            def _typevartuple_prepare_subst(alias, args):
-                params = alias.__parameters__
-                typevartuple_index = params.index(tvt)
-                for param in params[typevartuple_index + 1:]:
-                    if isinstance(param, TypeVarTuple):
-                        raise TypeError(
-                            f"More than one TypeVarTuple parameter in {alias}"
-                        )
-
-                alen = len(args)
-                plen = len(params)
-                left = typevartuple_index
-                right = plen - typevartuple_index - 1
-                var_tuple_index = None
-                fillarg = None
-                for k, arg in enumerate(args):
-                    if not isinstance(arg, type):
-                        subargs = getattr(arg, '__typing_unpacked_tuple_args__', None)
-                        if subargs and len(subargs) == 2 and subargs[-1] is ...:
-                            if var_tuple_index is not None:
-                                raise TypeError(
-                                    "More than one unpacked "
-                                    "arbitrary-length tuple argument"
-                                )
-                            var_tuple_index = k
-                            fillarg = subargs[0]
-                if var_tuple_index is not None:
-                    left = min(left, var_tuple_index)
-                    right = min(right, alen - var_tuple_index - 1)
-                elif left + right > alen:
-                    raise TypeError(f"Too few arguments for {alias};"
-                                    f" actual {alen}, expected at least {plen - 1}")
-                if left == alen - right and tvt.has_default():
-                    replacement = _unpack_args(tvt.__default__)
-                else:
-                    replacement = args[left: alen - right]
-
-                return (
-                    *args[:left],
-                    *([fillarg] * (typevartuple_index - left)),
-                    replacement,
-                    *([fillarg] * (plen - right - left - typevartuple_index - 1)),
-                    *args[alen - right:],
-                )
-
-            tvt.__typing_prepare_subst__ = _typevartuple_prepare_subst
-            return tvt
-
-        def __init_subclass__(self, *args, **kwds):
-            raise TypeError("Cannot subclass special typing classes")
-
-else:  # <=3.10
-    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=NoDefault):
-            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"):  # 3.11+
-    reveal_type = typing.reveal_type
-else:  # <=3.10
-    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_REPR_MAX_LENGTH"):  # 3.11+
-    _ASSERT_NEVER_REPR_MAX_LENGTH = typing._ASSERT_NEVER_REPR_MAX_LENGTH
-else:  # <=3.10
-    _ASSERT_NEVER_REPR_MAX_LENGTH = 100
-
-
-if hasattr(typing, "assert_never"):  # 3.11+
-    assert_never = typing.assert_never
-else:  # <=3.10
-    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.
-
-        """
-        value = repr(arg)
-        if len(value) > _ASSERT_NEVER_REPR_MAX_LENGTH:
-            value = value[:_ASSERT_NEVER_REPR_MAX_LENGTH] + '...'
-        raise AssertionError(f"Expected code to be unreachable, but got: {value}")
-
-
-if sys.version_info >= (3, 12):  # 3.12+
-    # dataclass_transform exists in 3.11 but lacks the frozen_default parameter
-    dataclass_transform = typing.dataclass_transform
-else:  # <=3.11
-    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 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"):  # 3.12+
-    override = typing.override
-else:  # <=3.11
-    _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(warnings, "deprecated"):
-    deprecated = warnings.deprecated
-else:
-    _T = typing.TypeVar("_T")
-
-    class deprecated:
-        """Indicate that a class, function or overload is deprecated.
-
-        When this decorator is applied to an object, the type checker
-        will generate a diagnostic on usage of the deprecated object.
-
-        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: ...
-
-        The warning specified by *category* will be emitted at runtime
-        on use of deprecated objects. For functions, that happens on calls;
-        for classes, on instantiation and on creation of subclasses.
-        If the *category* is ``None``, no warning is emitted at runtime.
-        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.
-        Static type checker behavior is not affected by the *category*
-        and *stacklevel* arguments.
-
-        The deprecation message passed to the decorator is saved in the
-        ``__deprecated__`` attribute on the decorated object.
-        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 __init__(
-            self,
-            message: str,
-            /,
-            *,
-            category: typing.Optional[typing.Type[Warning]] = DeprecationWarning,
-            stacklevel: int = 1,
-        ) -> None:
-            if not isinstance(message, str):
-                raise TypeError(
-                    "Expected an object of type str for 'message', not "
-                    f"{type(message).__name__!r}"
-                )
-            self.message = message
-            self.category = category
-            self.stacklevel = stacklevel
-
-        def __call__(self, arg: _T, /) -> _T:
-            # Make sure the inner functions created below don't
-            # retain a reference to self.
-            msg = self.message
-            category = self.category
-            stacklevel = self.stacklevel
-            if category is None:
-                arg.__deprecated__ = msg
-                return arg
-            elif isinstance(arg, type):
-                import functools
-                from types import MethodType
-
-                original_new = arg.__new__
-
-                @functools.wraps(original_new)
-                def __new__(cls, *args, **kwargs):
-                    if cls is arg:
-                        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 cls.__init__ is object.__init__ and (args or kwargs):
-                        raise TypeError(f"{cls.__name__}() takes no arguments")
-                    else:
-                        return original_new(cls)
-
-                arg.__new__ = staticmethod(__new__)
-
-                original_init_subclass = arg.__init_subclass__
-                # We need slightly different behavior if __init_subclass__
-                # is a bound method (likely if it was implemented in Python)
-                if isinstance(original_init_subclass, MethodType):
-                    original_init_subclass = original_init_subclass.__func__
-
-                    @functools.wraps(original_init_subclass)
-                    def __init_subclass__(*args, **kwargs):
-                        warnings.warn(msg, category=category, stacklevel=stacklevel + 1)
-                        return original_init_subclass(*args, **kwargs)
-
-                    arg.__init_subclass__ = classmethod(__init_subclass__)
-                # Or otherwise, which likely means it's a builtin such as
-                # object's implementation of __init_subclass__.
-                else:
-                    @functools.wraps(original_init_subclass)
-                    def __init_subclass__(*args, **kwargs):
-                        warnings.warn(msg, category=category, stacklevel=stacklevel + 1)
-                        return original_init_subclass(*args, **kwargs)
-
-                    arg.__init_subclass__ = __init_subclass__
-
-                arg.__deprecated__ = __new__.__deprecated__ = msg
-                __init_subclass__.__deprecated__ = msg
-                return arg
-            elif callable(arg):
-                import functools
-
-                @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}"
-                )
-
-
-# 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"):
-    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:
-            expect_val = 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
-
-                # deal with TypeVarLike defaults
-                # required TypeVarLikes cannot appear after a defaulted one.
-                if alen < elen:
-                    # since we validate TypeVarLike default in _collect_type_vars
-                    # or _collect_parameters we can safely check parameters[alen]
-                    if (
-                        getattr(parameters[alen], '__default__', NoDefault)
-                        is not NoDefault
-                    ):
-                        return
-
-                    num_default_tv = sum(getattr(p, '__default__', NoDefault)
-                                         is not NoDefault for p in parameters)
-
-                    elen -= num_default_tv
-
-                    expect_val = f"at least {elen}"
-
-            things = "arguments" if sys.version_info >= (3, 10) else "parameters"
-            raise TypeError(f"Too {'many' if alen > elen else 'few'} {things}"
-                            f" for {cls}; actual {alen}, expected {expect_val}")
-else:
-    # Python 3.11+
-
-    def _check_generic(cls, parameters, elen):
-        """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")
-        alen = len(parameters)
-        if alen != elen:
-            expect_val = elen
-            if hasattr(cls, "__parameters__"):
-                parameters = [p for p in cls.__parameters__ if not _is_unpack(p)]
-
-                # deal with TypeVarLike defaults
-                # required TypeVarLikes cannot appear after a defaulted one.
-                if alen < elen:
-                    # since we validate TypeVarLike default in _collect_type_vars
-                    # or _collect_parameters we can safely check parameters[alen]
-                    if (
-                        getattr(parameters[alen], '__default__', NoDefault)
-                        is not NoDefault
-                    ):
-                        return
-
-                    num_default_tv = sum(getattr(p, '__default__', NoDefault)
-                                         is not NoDefault for p in parameters)
-
-                    elen -= num_default_tv
-
-                    expect_val = f"at least {elen}"
-
-            raise TypeError(f"Too {'many' if alen > elen else 'few'} arguments"
-                            f" for {cls}; actual {alen}, expected {expect_val}")
-
-if not _PEP_696_IMPLEMENTED:
-    typing._check_generic = _check_generic
-
-
-def _has_generic_or_protocol_as_origin() -> bool:
-    try:
-        frame = sys._getframe(2)
-    # - Catch AttributeError: not all Python implementations have sys._getframe()
-    # - Catch ValueError: maybe we're called from an unexpected module
-    #   and the call stack isn't deep enough
-    except (AttributeError, ValueError):
-        return False  # err on the side of leniency
-    else:
-        # If we somehow get invoked from outside typing.py,
-        # also err on the side of leniency
-        if frame.f_globals.get("__name__") != "typing":
-            return False
-        origin = frame.f_locals.get("origin")
-        # Cannot use "in" because origin may be an object with a buggy __eq__ that
-        # throws an error.
-        return origin is typing.Generic or origin is Protocol or origin is typing.Protocol
-
-
-_TYPEVARTUPLE_TYPES = {TypeVarTuple, getattr(typing, "TypeVarTuple", None)}
-
-
-def _is_unpacked_typevartuple(x) -> bool:
-    if get_origin(x) is not Unpack:
-        return False
-    args = get_args(x)
-    return (
-        bool(args)
-        and len(args) == 1
-        and type(args[0]) in _TYPEVARTUPLE_TYPES
-    )
-
-
-# Python 3.11+ _collect_type_vars was renamed to _collect_parameters
-if hasattr(typing, '_collect_type_vars'):
-    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 = []
-
-        # A required TypeVarLike cannot appear after a TypeVarLike with a default
-        # if it was a direct call to `Generic[]` or `Protocol[]`
-        enforce_default_ordering = _has_generic_or_protocol_as_origin()
-        default_encountered = False
-
-        # Also, a TypeVarLike with a default cannot appear after a TypeVarTuple
-        type_var_tuple_encountered = False
-
-        for t in types:
-            if _is_unpacked_typevartuple(t):
-                type_var_tuple_encountered = True
-            elif isinstance(t, typevar_types) and t not in tvars:
-                if enforce_default_ordering:
-                    has_default = getattr(t, '__default__', NoDefault) is not NoDefault
-                    if has_default:
-                        if type_var_tuple_encountered:
-                            raise TypeError('Type parameter with a default'
-                                            ' follows TypeVarTuple')
-                        default_encountered = True
-                    elif default_encountered:
-                        raise TypeError(f'Type parameter {t!r} without a default'
-                                        ' follows type parameter with a default')
-
-                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)
-
-    typing._collect_type_vars = _collect_type_vars
-else:
-    def _collect_parameters(args):
-        """Collect all type variables and parameter specifications in args
-        in order of first appearance (lexicographic order).
-
-        For example::
-
-            assert _collect_parameters((T, Callable[P, T])) == (T, P)
-        """
-        parameters = []
-
-        # A required TypeVarLike cannot appear after a TypeVarLike with default
-        # if it was a direct call to `Generic[]` or `Protocol[]`
-        enforce_default_ordering = _has_generic_or_protocol_as_origin()
-        default_encountered = False
-
-        # Also, a TypeVarLike with a default cannot appear after a TypeVarTuple
-        type_var_tuple_encountered = False
-
-        for t in args:
-            if isinstance(t, type):
-                # We don't want __parameters__ descriptor of a bare Python class.
-                pass
-            elif isinstance(t, tuple):
-                # `t` might be a tuple, when `ParamSpec` is substituted with
-                # `[T, int]`, or `[int, *Ts]`, etc.
-                for x in t:
-                    for collected in _collect_parameters([x]):
-                        if collected not in parameters:
-                            parameters.append(collected)
-            elif hasattr(t, '__typing_subst__'):
-                if t not in parameters:
-                    if enforce_default_ordering:
-                        has_default = (
-                            getattr(t, '__default__', NoDefault) is not NoDefault
-                        )
-
-                        if type_var_tuple_encountered and has_default:
-                            raise TypeError('Type parameter with a default'
-                                            ' follows TypeVarTuple')
-
-                        if has_default:
-                            default_encountered = True
-                        elif default_encountered:
-                            raise TypeError(f'Type parameter {t!r} without a default'
-                                            ' follows type parameter with a default')
-
-                    parameters.append(t)
-            else:
-                if _is_unpacked_typevartuple(t):
-                    type_var_tuple_encountered = True
-                for x in getattr(t, '__parameters__', ()):
-                    if x not in parameters:
-                        parameters.append(x)
-
-        return tuple(parameters)
-
-    if not _PEP_696_IMPLEMENTED:
-        typing._collect_parameters = _collect_parameters
-
-# Backport typing.NamedTuple as it exists in Python 3.13.
-# 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)
-            if "__annotations__" in ns:
-                types = ns["__annotations__"]
-            elif "__annotate__" in ns:
-                # TODO: Use inspect.VALUE here, and make the annotations lazily evaluated
-                types = ns["__annotate__"](1)
-            else:
-                types = {}
-            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, val in ns.items():
-                if key in _prohibited_namedtuple_fields:
-                    raise AttributeError("Cannot overwrite NamedTuple attribute " + key)
-                elif key not in _special_namedtuple_fields:
-                    if key not in nm_tpl._fields:
-                        setattr(nm_tpl, key, ns[key])
-                    try:
-                        set_name = type(val).__set_name__
-                    except AttributeError:
-                        pass
-                    else:
-                        try:
-                            set_name(val, nm_tpl, key)
-                        except BaseException as e:
-                            msg = (
-                                f"Error calling __set_name__ on {type(val).__name__!r} "
-                                f"instance {key!r} in {typename!r}"
-                            )
-                            # BaseException.add_note() existed on py311,
-                            # but the __set_name__ machinery didn't start
-                            # using add_note() until py312.
-                            # Making sure exceptions are raised in the same way
-                            # as in "normal" classes seems most important here.
-                            if sys.version_info >= (3, 12):
-                                e.add_note(msg)
-                                raise
-                            else:
-                                raise RuntimeError(msg) from e
-
-            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
-
-
-if hasattr(collections.abc, "Buffer"):
-    Buffer = collections.abc.Buffer
-else:
-    class Buffer(abc.ABC):  # noqa: B024
-        """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 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.__dict__.get("__orig_bases__", 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 typing.Protocol
-        )
-
-    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))
-
-
-if hasattr(typing, "Doc"):
-    Doc = typing.Doc
-else:
-    class Doc:
-        """Define the documentation of a type annotation using ``Annotated``, to be
-         used in class attributes, function and method parameters, return values,
-         and variables.
-
-        The value should be a positional-only string literal to allow static tools
-        like editors and documentation generators to use it.
-
-        This complements docstrings.
-
-        The string value passed is available in the attribute ``documentation``.
-
-        Example::
-
-            >>> from typing_extensions import Annotated, Doc
-            >>> def hi(to: Annotated[str, Doc("Who to say hi to")]) -> None: ...
-        """
-        def __init__(self, documentation: str, /) -> None:
-            self.documentation = documentation
-
-        def __repr__(self) -> str:
-            return f"Doc({self.documentation!r})"
-
-        def __hash__(self) -> int:
-            return hash(self.documentation)
-
-        def __eq__(self, other: object) -> bool:
-            if not isinstance(other, Doc):
-                return NotImplemented
-            return self.documentation == other.documentation
-
-
-_CapsuleType = getattr(_types, "CapsuleType", None)
-
-if _CapsuleType is None:
-    try:
-        import _socket
-    except ImportError:
-        pass
-    else:
-        _CAPI = getattr(_socket, "CAPI", None)
-        if _CAPI is not None:
-            _CapsuleType = type(_CAPI)
-
-if _CapsuleType is not None:
-    CapsuleType = _CapsuleType
-    __all__.append("CapsuleType")
-
-
-# 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
-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/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/INSTALLER
deleted file mode 100644
index a1b589e3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/INSTALLER
+++ /dev/null
@@ -1 +0,0 @@
-pip
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/LICENSE.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/LICENSE.txt
deleted file mode 100644
index a31470f1..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/LICENSE.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-MIT License
-
-Copyright (c) 2012 Daniel Holth  and contributors
-
-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/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/METADATA
deleted file mode 100644
index e3722c00..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/METADATA
+++ /dev/null
@@ -1,61 +0,0 @@
-Metadata-Version: 2.1
-Name: wheel
-Version: 0.43.0
-Summary: A built-package format for Python
-Keywords: wheel,packaging
-Author-email: Daniel Holth 
-Maintainer-email: Alex Grönholm 
-Requires-Python: >=3.8
-Description-Content-Type: text/x-rst
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Intended Audience :: Developers
-Classifier: Topic :: System :: Archiving :: Packaging
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Programming Language :: Python
-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
-Requires-Dist: pytest >= 6.0.0 ; extra == "test"
-Requires-Dist: setuptools >= 65 ; extra == "test"
-Project-URL: Changelog, https://wheel.readthedocs.io/en/stable/news.html
-Project-URL: Documentation, https://wheel.readthedocs.io/
-Project-URL: Issue Tracker, https://github.com/pypa/wheel/issues
-Project-URL: Source, https://github.com/pypa/wheel
-Provides-Extra: test
-
-wheel
-=====
-
-This library is the reference implementation of the Python wheel packaging
-standard, as defined in `PEP 427`_.
-
-It has two different roles:
-
-#. A setuptools_ extension for building wheels that provides the
-   ``bdist_wheel`` setuptools command
-#. A command line tool for working with wheel files
-
-It should be noted that wheel is **not** intended to be used as a library, and
-as such there is no stable, public API.
-
-.. _PEP 427: https://www.python.org/dev/peps/pep-0427/
-.. _setuptools: https://pypi.org/project/setuptools/
-
-Documentation
--------------
-
-The documentation_ can be found on Read The Docs.
-
-.. _documentation: https://wheel.readthedocs.io/
-
-Code of Conduct
----------------
-
-Everyone interacting in the wheel 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
-
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/RECORD
deleted file mode 100644
index a3c6c3ea..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/RECORD
+++ /dev/null
@@ -1,63 +0,0 @@
-../../bin/wheel,sha256=cT2EHbrv-J-UyUXu26cDY-0I7RgcruysJeHFanT1Xfo,249
-wheel-0.43.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
-wheel-0.43.0.dist-info/LICENSE.txt,sha256=MMI2GGeRCPPo6h0qZYx8pBe9_IkcmO8aifpP8MmChlQ,1107
-wheel-0.43.0.dist-info/METADATA,sha256=WbrCKwClnT5WCKVrjPjvxDgxo2tyeS7kOJyc1GaceEE,2153
-wheel-0.43.0.dist-info/RECORD,,
-wheel-0.43.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-wheel-0.43.0.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
-wheel-0.43.0.dist-info/entry_points.txt,sha256=rTY1BbkPHhkGMm4Q3F0pIzJBzW2kMxoG1oriffvGdA0,104
-wheel/__init__.py,sha256=D6jhH00eMzbgrXGAeOwVfD5i-lCAMMycuG1L0useDlo,59
-wheel/__main__.py,sha256=NkMUnuTCGcOkgY0IBLgBCVC_BGGcWORx2K8jYGS12UE,455
-wheel/__pycache__/__init__.cpython-312.pyc,,
-wheel/__pycache__/__main__.cpython-312.pyc,,
-wheel/__pycache__/_setuptools_logging.cpython-312.pyc,,
-wheel/__pycache__/bdist_wheel.cpython-312.pyc,,
-wheel/__pycache__/macosx_libfile.cpython-312.pyc,,
-wheel/__pycache__/metadata.cpython-312.pyc,,
-wheel/__pycache__/util.cpython-312.pyc,,
-wheel/__pycache__/wheelfile.cpython-312.pyc,,
-wheel/_setuptools_logging.py,sha256=NoCnjJ4DFEZ45Eo-2BdXLsWJCwGkait1tp_17paleVw,746
-wheel/bdist_wheel.py,sha256=OKJyp9E831zJrxoRfmM9AgOjByG1CB-pzF5kXQFmaKk,20938
-wheel/cli/__init__.py,sha256=eBNhnPwWTtdKAJHy77lvz7gOQ5Eu3GavGugXxhSsn-U,4264
-wheel/cli/__pycache__/__init__.cpython-312.pyc,,
-wheel/cli/__pycache__/convert.cpython-312.pyc,,
-wheel/cli/__pycache__/pack.cpython-312.pyc,,
-wheel/cli/__pycache__/tags.cpython-312.pyc,,
-wheel/cli/__pycache__/unpack.cpython-312.pyc,,
-wheel/cli/convert.py,sha256=qJcpYGKqdfw1P6BelgN1Hn_suNgM6bvyEWFlZeuSWx0,9439
-wheel/cli/pack.py,sha256=CAFcHdBVulvsHYJlndKVO7KMI9JqBTZz5ii0PKxxCOs,3103
-wheel/cli/tags.py,sha256=lHw-LaWrkS5Jy_qWcw-6pSjeNM6yAjDnqKI3E5JTTCU,4760
-wheel/cli/unpack.py,sha256=Y_J7ynxPSoFFTT7H0fMgbBlVErwyDGcObgme5MBuz58,1021
-wheel/macosx_libfile.py,sha256=HnW6OPdN993psStvwl49xtx2kw7hoVbe6nvwmf8WsKI,16103
-wheel/metadata.py,sha256=q-xCCqSAK7HzyZxK9A6_HAWmhqS1oB4BFw1-rHQxBiQ,5884
-wheel/util.py,sha256=e0jpnsbbM9QhaaMSyap-_ZgUxcxwpyLDk6RHcrduPLg,621
-wheel/vendored/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-wheel/vendored/__pycache__/__init__.cpython-312.pyc,,
-wheel/vendored/packaging/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-wheel/vendored/packaging/__pycache__/__init__.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/_elffile.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/_manylinux.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/_musllinux.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/_parser.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/_structures.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/_tokenizer.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/markers.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/requirements.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/specifiers.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/tags.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/utils.cpython-312.pyc,,
-wheel/vendored/packaging/__pycache__/version.cpython-312.pyc,,
-wheel/vendored/packaging/_elffile.py,sha256=hbmK8OD6Z7fY6hwinHEUcD1by7czkGiNYu7ShnFEk2k,3266
-wheel/vendored/packaging/_manylinux.py,sha256=P7sdR5_7XBY09LVYYPhHmydMJIIwPXWsh4olk74Uuj4,9588
-wheel/vendored/packaging/_musllinux.py,sha256=z1s8To2hQ0vpn_d-O2i5qxGwEK8WmGlLt3d_26V7NeY,2674
-wheel/vendored/packaging/_parser.py,sha256=4tT4emSl2qTaU7VTQE1Xa9o1jMPCsBezsYBxyNMUN-s,10347
-wheel/vendored/packaging/_structures.py,sha256=q3eVNmbWJGG_S0Dit_S3Ao8qQqz_5PYTXFAKBZe5yr4,1431
-wheel/vendored/packaging/_tokenizer.py,sha256=alCtbwXhOFAmFGZ6BQ-wCTSFoRAJ2z-ysIf7__MTJ_k,5292
-wheel/vendored/packaging/markers.py,sha256=_TSPI1BhJYO7Bp9AzTmHQxIqHEVXaTjmDh9G-w8qzPA,8232
-wheel/vendored/packaging/requirements.py,sha256=dgoBeVprPu2YE6Q8nGfwOPTjATHbRa_ZGLyXhFEln6Q,2933
-wheel/vendored/packaging/specifiers.py,sha256=IWSt0SrLSP72heWhAC8UL0eGvas7XIQHjqiViVfmPKE,39778
-wheel/vendored/packaging/tags.py,sha256=fedHXiOHkBxNZTXotXv8uXPmMFU9ae-TKBujgYHigcA,18950
-wheel/vendored/packaging/utils.py,sha256=XgdmP3yx9-wQEFjO7OvMj9RjEf5JlR5HFFR69v7SQ9E,5268
-wheel/vendored/packaging/version.py,sha256=PFJaYZDxBgyxkfYhH3SQw4qfE9ICCWrTmitvq14y3bs,16234
-wheel/vendored/vendor.txt,sha256=Z2ENjB1i5prfez8CdM1Sdr3c6Zxv2rRRolMpLmBncAE,16
-wheel/wheelfile.py,sha256=DtJDWoZMvnBh4leNMDPGOprQU9d_dp6q-MmV0U--4xc,7694
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/REQUESTED
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/WHEEL
deleted file mode 100644
index 3b5e64b5..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/WHEEL
+++ /dev/null
@@ -1,4 +0,0 @@
-Wheel-Version: 1.0
-Generator: flit 3.9.0
-Root-Is-Purelib: true
-Tag: py3-none-any
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/entry_points.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/entry_points.txt
deleted file mode 100644
index 06c9f69d..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel-0.43.0.dist-info/entry_points.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-[console_scripts]
-wheel=wheel.cli:main
-
-[distutils.commands]
-bdist_wheel=wheel.bdist_wheel:bdist_wheel
-
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__init__.py
deleted file mode 100644
index a773bbbc..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__init__.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from __future__ import annotations
-
-__version__ = "0.43.0"
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__main__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__main__.py
deleted file mode 100644
index 0be74537..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__main__.py
+++ /dev/null
@@ -1,23 +0,0 @@
-"""
-Wheel command line tool (enable python -m wheel syntax)
-"""
-
-from __future__ import annotations
-
-import sys
-
-
-def main():  # needed for console script
-    if __package__ == "":
-        # To be able to run 'python wheel-0.9.whl/wheel':
-        import os.path
-
-        path = os.path.dirname(os.path.dirname(__file__))
-        sys.path[0:0] = [path]
-    import wheel.cli
-
-    sys.exit(wheel.cli.main())
-
-
-if __name__ == "__main__":
-    sys.exit(main())
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 7dd85677..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/__main__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/__main__.cpython-312.pyc
deleted file mode 100644
index 617a4962..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/__main__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/_setuptools_logging.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/_setuptools_logging.cpython-312.pyc
deleted file mode 100644
index 489743a9..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/_setuptools_logging.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/bdist_wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/bdist_wheel.cpython-312.pyc
deleted file mode 100644
index 1a4a26ce..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/bdist_wheel.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/macosx_libfile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/macosx_libfile.cpython-312.pyc
deleted file mode 100644
index a68fe7a3..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/macosx_libfile.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/metadata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/metadata.cpython-312.pyc
deleted file mode 100644
index bddea5a0..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/metadata.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/util.cpython-312.pyc
deleted file mode 100644
index 3989de15..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/util.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/wheelfile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/wheelfile.cpython-312.pyc
deleted file mode 100644
index 4b713bf0..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/__pycache__/wheelfile.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py
deleted file mode 100644
index 006c0985..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/_setuptools_logging.py
+++ /dev/null
@@ -1,26 +0,0 @@
-# copied from setuptools.logging, omitting monkeypatching
-from __future__ import annotations
-
-import logging
-import sys
-
-
-def _not_warning(record):
-    return record.levelno < logging.WARNING
-
-
-def configure():
-    """
-    Configure logging to emit warning and above to stderr
-    and everything else to stdout. This behavior is provided
-    for compatibility with distutils.log but may change in
-    the future.
-    """
-    err_handler = logging.StreamHandler()
-    err_handler.setLevel(logging.WARNING)
-    out_handler = logging.StreamHandler(sys.stdout)
-    out_handler.addFilter(_not_warning)
-    handlers = err_handler, out_handler
-    logging.basicConfig(
-        format="{message}", style="{", handlers=handlers, level=logging.DEBUG
-    )
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py
deleted file mode 100644
index 6b811ee3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/bdist_wheel.py
+++ /dev/null
@@ -1,595 +0,0 @@
-"""
-Create a wheel (.whl) distribution.
-
-A wheel is a built archive format.
-"""
-
-from __future__ import annotations
-
-import os
-import re
-import shutil
-import stat
-import struct
-import sys
-import sysconfig
-import warnings
-from email.generator import BytesGenerator, Generator
-from email.policy import EmailPolicy
-from glob import iglob
-from shutil import rmtree
-from zipfile import ZIP_DEFLATED, ZIP_STORED
-
-import setuptools
-from setuptools import Command
-
-from . import __version__ as wheel_version
-from .macosx_libfile import calculate_macosx_platform_tag
-from .metadata import pkginfo_to_metadata
-from .util import log
-from .vendored.packaging import tags
-from .vendored.packaging import version as _packaging_version
-from .wheelfile import WheelFile
-
-
-def safe_name(name):
-    """Convert an arbitrary string to a standard distribution name
-    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
-    """
-    return re.sub("[^A-Za-z0-9.]+", "-", name)
-
-
-def safe_version(version):
-    """
-    Convert an arbitrary string to a standard version string
-    """
-    try:
-        # normalize the version
-        return str(_packaging_version.Version(version))
-    except _packaging_version.InvalidVersion:
-        version = version.replace(" ", ".")
-        return re.sub("[^A-Za-z0-9.]+", "-", version)
-
-
-setuptools_major_version = int(setuptools.__version__.split(".")[0])
-
-PY_LIMITED_API_PATTERN = r"cp3\d"
-
-
-def _is_32bit_interpreter():
-    return struct.calcsize("P") == 4
-
-
-def python_tag():
-    return f"py{sys.version_info[0]}"
-
-
-def get_platform(archive_root):
-    """Return our platform name 'win32', 'linux_x86_64'"""
-    result = sysconfig.get_platform()
-    if result.startswith("macosx") and archive_root is not None:
-        result = calculate_macosx_platform_tag(archive_root, result)
-    elif _is_32bit_interpreter():
-        if result == "linux-x86_64":
-            # pip pull request #3497
-            result = "linux-i686"
-        elif result == "linux-aarch64":
-            # packaging pull request #234
-            # TODO armv8l, packaging pull request #690 => this did not land
-            # in pip/packaging yet
-            result = "linux-armv7l"
-
-    return result.replace("-", "_")
-
-
-def get_flag(var, fallback, expected=True, warn=True):
-    """Use a fallback value for determining SOABI flags if the needed config
-    var is unset or unavailable."""
-    val = sysconfig.get_config_var(var)
-    if val is None:
-        if warn:
-            warnings.warn(
-                f"Config variable '{var}' is unset, Python ABI tag may " "be incorrect",
-                RuntimeWarning,
-                stacklevel=2,
-            )
-        return fallback
-    return val == expected
-
-
-def get_abi_tag():
-    """Return the ABI tag based on SOABI (if available) or emulate SOABI (PyPy2)."""
-    soabi = sysconfig.get_config_var("SOABI")
-    impl = tags.interpreter_name()
-    if not soabi and impl in ("cp", "pp") and hasattr(sys, "maxunicode"):
-        d = ""
-        m = ""
-        u = ""
-        if get_flag("Py_DEBUG", hasattr(sys, "gettotalrefcount"), warn=(impl == "cp")):
-            d = "d"
-
-        if get_flag(
-            "WITH_PYMALLOC",
-            impl == "cp",
-            warn=(impl == "cp" and sys.version_info < (3, 8)),
-        ) and sys.version_info < (3, 8):
-            m = "m"
-
-        abi = f"{impl}{tags.interpreter_version()}{d}{m}{u}"
-    elif soabi and impl == "cp" and soabi.startswith("cpython"):
-        # non-Windows
-        abi = "cp" + soabi.split("-")[1]
-    elif soabi and impl == "cp" and soabi.startswith("cp"):
-        # Windows
-        abi = soabi.split("-")[0]
-    elif soabi and impl == "pp":
-        # we want something like pypy36-pp73
-        abi = "-".join(soabi.split("-")[:2])
-        abi = abi.replace(".", "_").replace("-", "_")
-    elif soabi and impl == "graalpy":
-        abi = "-".join(soabi.split("-")[:3])
-        abi = abi.replace(".", "_").replace("-", "_")
-    elif soabi:
-        abi = soabi.replace(".", "_").replace("-", "_")
-    else:
-        abi = None
-
-    return abi
-
-
-def safer_name(name):
-    return safe_name(name).replace("-", "_")
-
-
-def safer_version(version):
-    return safe_version(version).replace("-", "_")
-
-
-def remove_readonly(func, path, excinfo):
-    remove_readonly_exc(func, path, excinfo[1])
-
-
-def remove_readonly_exc(func, path, exc):
-    os.chmod(path, stat.S_IWRITE)
-    func(path)
-
-
-class bdist_wheel(Command):
-    description = "create a wheel distribution"
-
-    supported_compressions = {
-        "stored": ZIP_STORED,
-        "deflated": ZIP_DEFLATED,
-    }
-
-    user_options = [
-        ("bdist-dir=", "b", "temporary directory for creating the distribution"),
-        (
-            "plat-name=",
-            "p",
-            "platform name to embed in generated filenames "
-            "(default: %s)" % get_platform(None),
-        ),
-        (
-            "keep-temp",
-            "k",
-            "keep the pseudo-installation tree around after "
-            "creating the distribution archive",
-        ),
-        ("dist-dir=", "d", "directory to put final built distributions in"),
-        ("skip-build", None, "skip rebuilding everything (for testing/debugging)"),
-        (
-            "relative",
-            None,
-            "build the archive using relative paths " "(default: false)",
-        ),
-        (
-            "owner=",
-            "u",
-            "Owner name used when creating a tar file" " [default: current user]",
-        ),
-        (
-            "group=",
-            "g",
-            "Group name used when creating a tar file" " [default: current group]",
-        ),
-        ("universal", None, "make a universal wheel" " (default: false)"),
-        (
-            "compression=",
-            None,
-            "zipfile compression (one of: {})" " (default: 'deflated')".format(
-                ", ".join(supported_compressions)
-            ),
-        ),
-        (
-            "python-tag=",
-            None,
-            "Python implementation compatibility tag"
-            " (default: '%s')" % (python_tag()),
-        ),
-        (
-            "build-number=",
-            None,
-            "Build number for this particular version. "
-            "As specified in PEP-0427, this must start with a digit. "
-            "[default: None]",
-        ),
-        (
-            "py-limited-api=",
-            None,
-            "Python tag (cp32|cp33|cpNN) for abi3 wheel tag" " (default: false)",
-        ),
-    ]
-
-    boolean_options = ["keep-temp", "skip-build", "relative", "universal"]
-
-    def initialize_options(self):
-        self.bdist_dir = None
-        self.data_dir = None
-        self.plat_name = None
-        self.plat_tag = None
-        self.format = "zip"
-        self.keep_temp = False
-        self.dist_dir = None
-        self.egginfo_dir = None
-        self.root_is_pure = None
-        self.skip_build = None
-        self.relative = False
-        self.owner = None
-        self.group = None
-        self.universal = False
-        self.compression = "deflated"
-        self.python_tag = python_tag()
-        self.build_number = None
-        self.py_limited_api = False
-        self.plat_name_supplied = False
-
-    def finalize_options(self):
-        if self.bdist_dir is None:
-            bdist_base = self.get_finalized_command("bdist").bdist_base
-            self.bdist_dir = os.path.join(bdist_base, "wheel")
-
-        egg_info = self.distribution.get_command_obj("egg_info")
-        egg_info.ensure_finalized()  # needed for correct `wheel_dist_name`
-
-        self.data_dir = self.wheel_dist_name + ".data"
-        self.plat_name_supplied = self.plat_name is not None
-
-        try:
-            self.compression = self.supported_compressions[self.compression]
-        except KeyError:
-            raise ValueError(f"Unsupported compression: {self.compression}") from None
-
-        need_options = ("dist_dir", "plat_name", "skip_build")
-
-        self.set_undefined_options("bdist", *zip(need_options, need_options))
-
-        self.root_is_pure = not (
-            self.distribution.has_ext_modules() or self.distribution.has_c_libraries()
-        )
-
-        if self.py_limited_api and not re.match(
-            PY_LIMITED_API_PATTERN, self.py_limited_api
-        ):
-            raise ValueError("py-limited-api must match '%s'" % PY_LIMITED_API_PATTERN)
-
-        # Support legacy [wheel] section for setting universal
-        wheel = self.distribution.get_option_dict("wheel")
-        if "universal" in wheel:
-            # please don't define this in your global configs
-            log.warning(
-                "The [wheel] section is deprecated. Use [bdist_wheel] instead.",
-            )
-            val = wheel["universal"][1].strip()
-            if val.lower() in ("1", "true", "yes"):
-                self.universal = True
-
-        if self.build_number is not None and not self.build_number[:1].isdigit():
-            raise ValueError("Build tag (build-number) must start with a digit.")
-
-    @property
-    def wheel_dist_name(self):
-        """Return distribution full name with - replaced with _"""
-        components = (
-            safer_name(self.distribution.get_name()),
-            safer_version(self.distribution.get_version()),
-        )
-        if self.build_number:
-            components += (self.build_number,)
-        return "-".join(components)
-
-    def get_tag(self):
-        # bdist sets self.plat_name if unset, we should only use it for purepy
-        # wheels if the user supplied it.
-        if self.plat_name_supplied:
-            plat_name = self.plat_name
-        elif self.root_is_pure:
-            plat_name = "any"
-        else:
-            # macosx contains system version in platform name so need special handle
-            if self.plat_name and not self.plat_name.startswith("macosx"):
-                plat_name = self.plat_name
-            else:
-                # on macosx always limit the platform name to comply with any
-                # c-extension modules in bdist_dir, since the user can specify
-                # a higher MACOSX_DEPLOYMENT_TARGET via tools like CMake
-
-                # on other platforms, and on macosx if there are no c-extension
-                # modules, use the default platform name.
-                plat_name = get_platform(self.bdist_dir)
-
-            if _is_32bit_interpreter():
-                if plat_name in ("linux-x86_64", "linux_x86_64"):
-                    plat_name = "linux_i686"
-                if plat_name in ("linux-aarch64", "linux_aarch64"):
-                    # TODO armv8l, packaging pull request #690 => this did not land
-                    # in pip/packaging yet
-                    plat_name = "linux_armv7l"
-
-        plat_name = (
-            plat_name.lower().replace("-", "_").replace(".", "_").replace(" ", "_")
-        )
-
-        if self.root_is_pure:
-            if self.universal:
-                impl = "py2.py3"
-            else:
-                impl = self.python_tag
-            tag = (impl, "none", plat_name)
-        else:
-            impl_name = tags.interpreter_name()
-            impl_ver = tags.interpreter_version()
-            impl = impl_name + impl_ver
-            # We don't work on CPython 3.1, 3.0.
-            if self.py_limited_api and (impl_name + impl_ver).startswith("cp3"):
-                impl = self.py_limited_api
-                abi_tag = "abi3"
-            else:
-                abi_tag = str(get_abi_tag()).lower()
-            tag = (impl, abi_tag, plat_name)
-            # issue gh-374: allow overriding plat_name
-            supported_tags = [
-                (t.interpreter, t.abi, plat_name) for t in tags.sys_tags()
-            ]
-            assert (
-                tag in supported_tags
-            ), f"would build wheel with unsupported tag {tag}"
-        return tag
-
-    def run(self):
-        build_scripts = self.reinitialize_command("build_scripts")
-        build_scripts.executable = "python"
-        build_scripts.force = True
-
-        build_ext = self.reinitialize_command("build_ext")
-        build_ext.inplace = False
-
-        if not self.skip_build:
-            self.run_command("build")
-
-        install = self.reinitialize_command("install", reinit_subcommands=True)
-        install.root = self.bdist_dir
-        install.compile = False
-        install.skip_build = self.skip_build
-        install.warn_dir = False
-
-        # A wheel without setuptools scripts is more cross-platform.
-        # Use the (undocumented) `no_ep` option to setuptools'
-        # install_scripts command to avoid creating entry point scripts.
-        install_scripts = self.reinitialize_command("install_scripts")
-        install_scripts.no_ep = True
-
-        # Use a custom scheme for the archive, because we have to decide
-        # at installation time which scheme to use.
-        for key in ("headers", "scripts", "data", "purelib", "platlib"):
-            setattr(install, "install_" + key, os.path.join(self.data_dir, key))
-
-        basedir_observed = ""
-
-        if os.name == "nt":
-            # win32 barfs if any of these are ''; could be '.'?
-            # (distutils.command.install:change_roots bug)
-            basedir_observed = os.path.normpath(os.path.join(self.data_dir, ".."))
-            self.install_libbase = self.install_lib = basedir_observed
-
-        setattr(
-            install,
-            "install_purelib" if self.root_is_pure else "install_platlib",
-            basedir_observed,
-        )
-
-        log.info(f"installing to {self.bdist_dir}")
-
-        self.run_command("install")
-
-        impl_tag, abi_tag, plat_tag = self.get_tag()
-        archive_basename = f"{self.wheel_dist_name}-{impl_tag}-{abi_tag}-{plat_tag}"
-        if not self.relative:
-            archive_root = self.bdist_dir
-        else:
-            archive_root = os.path.join(
-                self.bdist_dir, self._ensure_relative(install.install_base)
-            )
-
-        self.set_undefined_options("install_egg_info", ("target", "egginfo_dir"))
-        distinfo_dirname = (
-            f"{safer_name(self.distribution.get_name())}-"
-            f"{safer_version(self.distribution.get_version())}.dist-info"
-        )
-        distinfo_dir = os.path.join(self.bdist_dir, distinfo_dirname)
-        self.egg2dist(self.egginfo_dir, distinfo_dir)
-
-        self.write_wheelfile(distinfo_dir)
-
-        # Make the archive
-        if not os.path.exists(self.dist_dir):
-            os.makedirs(self.dist_dir)
-
-        wheel_path = os.path.join(self.dist_dir, archive_basename + ".whl")
-        with WheelFile(wheel_path, "w", self.compression) as wf:
-            wf.write_files(archive_root)
-
-        # Add to 'Distribution.dist_files' so that the "upload" command works
-        getattr(self.distribution, "dist_files", []).append(
-            (
-                "bdist_wheel",
-                "{}.{}".format(*sys.version_info[:2]),  # like 3.7
-                wheel_path,
-            )
-        )
-
-        if not self.keep_temp:
-            log.info(f"removing {self.bdist_dir}")
-            if not self.dry_run:
-                if sys.version_info < (3, 12):
-                    rmtree(self.bdist_dir, onerror=remove_readonly)
-                else:
-                    rmtree(self.bdist_dir, onexc=remove_readonly_exc)
-
-    def write_wheelfile(
-        self, wheelfile_base, generator="bdist_wheel (" + wheel_version + ")"
-    ):
-        from email.message import Message
-
-        msg = Message()
-        msg["Wheel-Version"] = "1.0"  # of the spec
-        msg["Generator"] = generator
-        msg["Root-Is-Purelib"] = str(self.root_is_pure).lower()
-        if self.build_number is not None:
-            msg["Build"] = self.build_number
-
-        # Doesn't work for bdist_wininst
-        impl_tag, abi_tag, plat_tag = self.get_tag()
-        for impl in impl_tag.split("."):
-            for abi in abi_tag.split("."):
-                for plat in plat_tag.split("."):
-                    msg["Tag"] = "-".join((impl, abi, plat))
-
-        wheelfile_path = os.path.join(wheelfile_base, "WHEEL")
-        log.info(f"creating {wheelfile_path}")
-        with open(wheelfile_path, "wb") as f:
-            BytesGenerator(f, maxheaderlen=0).flatten(msg)
-
-    def _ensure_relative(self, path):
-        # copied from dir_util, deleted
-        drive, path = os.path.splitdrive(path)
-        if path[0:1] == os.sep:
-            path = drive + path[1:]
-        return path
-
-    @property
-    def license_paths(self):
-        if setuptools_major_version >= 57:
-            # Setuptools has resolved any patterns to actual file names
-            return self.distribution.metadata.license_files or ()
-
-        files = set()
-        metadata = self.distribution.get_option_dict("metadata")
-        if setuptools_major_version >= 42:
-            # Setuptools recognizes the license_files option but does not do globbing
-            patterns = self.distribution.metadata.license_files
-        else:
-            # Prior to those, wheel is entirely responsible for handling license files
-            if "license_files" in metadata:
-                patterns = metadata["license_files"][1].split()
-            else:
-                patterns = ()
-
-        if "license_file" in metadata:
-            warnings.warn(
-                'The "license_file" option is deprecated. Use "license_files" instead.',
-                DeprecationWarning,
-                stacklevel=2,
-            )
-            files.add(metadata["license_file"][1])
-
-        if not files and not patterns and not isinstance(patterns, list):
-            patterns = ("LICEN[CS]E*", "COPYING*", "NOTICE*", "AUTHORS*")
-
-        for pattern in patterns:
-            for path in iglob(pattern):
-                if path.endswith("~"):
-                    log.debug(
-                        f'ignoring license file "{path}" as it looks like a backup'
-                    )
-                    continue
-
-                if path not in files and os.path.isfile(path):
-                    log.info(
-                        f'adding license file "{path}" (matched pattern "{pattern}")'
-                    )
-                    files.add(path)
-
-        return files
-
-    def egg2dist(self, egginfo_path, distinfo_path):
-        """Convert an .egg-info directory into a .dist-info directory"""
-
-        def adios(p):
-            """Appropriately delete directory, file or link."""
-            if os.path.exists(p) and not os.path.islink(p) and os.path.isdir(p):
-                shutil.rmtree(p)
-            elif os.path.exists(p):
-                os.unlink(p)
-
-        adios(distinfo_path)
-
-        if not os.path.exists(egginfo_path):
-            # There is no egg-info. This is probably because the egg-info
-            # file/directory is not named matching the distribution name used
-            # to name the archive file. Check for this case and report
-            # accordingly.
-            import glob
-
-            pat = os.path.join(os.path.dirname(egginfo_path), "*.egg-info")
-            possible = glob.glob(pat)
-            err = f"Egg metadata expected at {egginfo_path} but not found"
-            if possible:
-                alt = os.path.basename(possible[0])
-                err += f" ({alt} found - possible misnamed archive file?)"
-
-            raise ValueError(err)
-
-        if os.path.isfile(egginfo_path):
-            # .egg-info is a single file
-            pkginfo_path = egginfo_path
-            pkg_info = pkginfo_to_metadata(egginfo_path, egginfo_path)
-            os.mkdir(distinfo_path)
-        else:
-            # .egg-info is a directory
-            pkginfo_path = os.path.join(egginfo_path, "PKG-INFO")
-            pkg_info = pkginfo_to_metadata(egginfo_path, pkginfo_path)
-
-            # ignore common egg metadata that is useless to wheel
-            shutil.copytree(
-                egginfo_path,
-                distinfo_path,
-                ignore=lambda x, y: {
-                    "PKG-INFO",
-                    "requires.txt",
-                    "SOURCES.txt",
-                    "not-zip-safe",
-                },
-            )
-
-            # delete dependency_links if it is only whitespace
-            dependency_links_path = os.path.join(distinfo_path, "dependency_links.txt")
-            with open(dependency_links_path, encoding="utf-8") as dependency_links_file:
-                dependency_links = dependency_links_file.read().strip()
-            if not dependency_links:
-                adios(dependency_links_path)
-
-        pkg_info_path = os.path.join(distinfo_path, "METADATA")
-        serialization_policy = EmailPolicy(
-            utf8=True,
-            mangle_from_=False,
-            max_line_length=0,
-        )
-        with open(pkg_info_path, "w", encoding="utf-8") as out:
-            Generator(out, policy=serialization_policy).flatten(pkg_info)
-
-        for license_path in self.license_paths:
-            filename = os.path.basename(license_path)
-            shutil.copy(license_path, os.path.join(distinfo_path, filename))
-
-        adios(egginfo_path)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__init__.py
deleted file mode 100644
index a38860f5..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__init__.py
+++ /dev/null
@@ -1,155 +0,0 @@
-"""
-Wheel command-line utility.
-"""
-
-from __future__ import annotations
-
-import argparse
-import os
-import sys
-from argparse import ArgumentTypeError
-
-
-class WheelError(Exception):
-    pass
-
-
-def unpack_f(args):
-    from .unpack import unpack
-
-    unpack(args.wheelfile, args.dest)
-
-
-def pack_f(args):
-    from .pack import pack
-
-    pack(args.directory, args.dest_dir, args.build_number)
-
-
-def convert_f(args):
-    from .convert import convert
-
-    convert(args.files, args.dest_dir, args.verbose)
-
-
-def tags_f(args):
-    from .tags import tags
-
-    names = (
-        tags(
-            wheel,
-            args.python_tag,
-            args.abi_tag,
-            args.platform_tag,
-            args.build,
-            args.remove,
-        )
-        for wheel in args.wheel
-    )
-
-    for name in names:
-        print(name)
-
-
-def version_f(args):
-    from .. import __version__
-
-    print("wheel %s" % __version__)
-
-
-def parse_build_tag(build_tag: str) -> str:
-    if build_tag and not build_tag[0].isdigit():
-        raise ArgumentTypeError("build tag must begin with a digit")
-    elif "-" in build_tag:
-        raise ArgumentTypeError("invalid character ('-') in build tag")
-
-    return build_tag
-
-
-TAGS_HELP = """\
-Make a new wheel with given tags. Any tags unspecified will remain the same.
-Starting the tags with a "+" will append to the existing tags. Starting with a
-"-" will remove a tag (use --option=-TAG syntax). Multiple tags can be
-separated by ".". The original file will remain unless --remove is given.  The
-output filename(s) will be displayed on stdout for further processing.
-"""
-
-
-def parser():
-    p = argparse.ArgumentParser()
-    s = p.add_subparsers(help="commands")
-
-    unpack_parser = s.add_parser("unpack", help="Unpack wheel")
-    unpack_parser.add_argument(
-        "--dest", "-d", help="Destination directory", default="."
-    )
-    unpack_parser.add_argument("wheelfile", help="Wheel file")
-    unpack_parser.set_defaults(func=unpack_f)
-
-    repack_parser = s.add_parser("pack", help="Repack wheel")
-    repack_parser.add_argument("directory", help="Root directory of the unpacked wheel")
-    repack_parser.add_argument(
-        "--dest-dir",
-        "-d",
-        default=os.path.curdir,
-        help="Directory to store the wheel (default %(default)s)",
-    )
-    repack_parser.add_argument(
-        "--build-number", help="Build tag to use in the wheel name"
-    )
-    repack_parser.set_defaults(func=pack_f)
-
-    convert_parser = s.add_parser("convert", help="Convert egg or wininst to wheel")
-    convert_parser.add_argument("files", nargs="*", help="Files to convert")
-    convert_parser.add_argument(
-        "--dest-dir",
-        "-d",
-        default=os.path.curdir,
-        help="Directory to store wheels (default %(default)s)",
-    )
-    convert_parser.add_argument("--verbose", "-v", action="store_true")
-    convert_parser.set_defaults(func=convert_f)
-
-    tags_parser = s.add_parser(
-        "tags", help="Add or replace the tags on a wheel", description=TAGS_HELP
-    )
-    tags_parser.add_argument("wheel", nargs="*", help="Existing wheel(s) to retag")
-    tags_parser.add_argument(
-        "--remove",
-        action="store_true",
-        help="Remove the original files, keeping only the renamed ones",
-    )
-    tags_parser.add_argument(
-        "--python-tag", metavar="TAG", help="Specify an interpreter tag(s)"
-    )
-    tags_parser.add_argument("--abi-tag", metavar="TAG", help="Specify an ABI tag(s)")
-    tags_parser.add_argument(
-        "--platform-tag", metavar="TAG", help="Specify a platform tag(s)"
-    )
-    tags_parser.add_argument(
-        "--build", type=parse_build_tag, metavar="BUILD", help="Specify a build tag"
-    )
-    tags_parser.set_defaults(func=tags_f)
-
-    version_parser = s.add_parser("version", help="Print version and exit")
-    version_parser.set_defaults(func=version_f)
-
-    help_parser = s.add_parser("help", help="Show this help")
-    help_parser.set_defaults(func=lambda args: p.print_help())
-
-    return p
-
-
-def main():
-    p = parser()
-    args = p.parse_args()
-    if not hasattr(args, "func"):
-        p.print_help()
-    else:
-        try:
-            args.func(args)
-            return 0
-        except WheelError as e:
-            print(e, file=sys.stderr)
-
-    return 1
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 828746bc..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/convert.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/convert.cpython-312.pyc
deleted file mode 100644
index 41675388..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/convert.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/pack.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/pack.cpython-312.pyc
deleted file mode 100644
index 48be2dba..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/pack.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/tags.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/tags.cpython-312.pyc
deleted file mode 100644
index 084e9228..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/tags.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/unpack.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/unpack.cpython-312.pyc
deleted file mode 100644
index 689e50f1..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/__pycache__/unpack.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/convert.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/convert.py
deleted file mode 100644
index 29153404..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/convert.py
+++ /dev/null
@@ -1,273 +0,0 @@
-from __future__ import annotations
-
-import os.path
-import re
-import shutil
-import tempfile
-import zipfile
-from glob import iglob
-
-from ..bdist_wheel import bdist_wheel
-from ..wheelfile import WheelFile
-from . import WheelError
-
-try:
-    from setuptools import Distribution
-except ImportError:
-    from distutils.dist import Distribution
-
-egg_info_re = re.compile(
-    r"""
-    (?P.+?)-(?P.+?)
-    (-(?Ppy\d\.\d+)
-     (-(?P.+?))?
-    )?.egg$""",
-    re.VERBOSE,
-)
-
-
-class _bdist_wheel_tag(bdist_wheel):
-    # allow the client to override the default generated wheel tag
-    # The default bdist_wheel implementation uses python and abi tags
-    # of the running python process. This is not suitable for
-    # generating/repackaging prebuild binaries.
-
-    full_tag_supplied = False
-    full_tag = None  # None or a (pytag, soabitag, plattag) triple
-
-    def get_tag(self):
-        if self.full_tag_supplied and self.full_tag is not None:
-            return self.full_tag
-        else:
-            return bdist_wheel.get_tag(self)
-
-
-def egg2wheel(egg_path: str, dest_dir: str) -> None:
-    filename = os.path.basename(egg_path)
-    match = egg_info_re.match(filename)
-    if not match:
-        raise WheelError(f"Invalid egg file name: {filename}")
-
-    egg_info = match.groupdict()
-    dir = tempfile.mkdtemp(suffix="_e2w")
-    if os.path.isfile(egg_path):
-        # assume we have a bdist_egg otherwise
-        with zipfile.ZipFile(egg_path) as egg:
-            egg.extractall(dir)
-    else:
-        # support buildout-style installed eggs directories
-        for pth in os.listdir(egg_path):
-            src = os.path.join(egg_path, pth)
-            if os.path.isfile(src):
-                shutil.copy2(src, dir)
-            else:
-                shutil.copytree(src, os.path.join(dir, pth))
-
-    pyver = egg_info["pyver"]
-    if pyver:
-        pyver = egg_info["pyver"] = pyver.replace(".", "")
-
-    arch = (egg_info["arch"] or "any").replace(".", "_").replace("-", "_")
-
-    # assume all binary eggs are for CPython
-    abi = "cp" + pyver[2:] if arch != "any" else "none"
-
-    root_is_purelib = egg_info["arch"] is None
-    if root_is_purelib:
-        bw = bdist_wheel(Distribution())
-    else:
-        bw = _bdist_wheel_tag(Distribution())
-
-    bw.root_is_pure = root_is_purelib
-    bw.python_tag = pyver
-    bw.plat_name_supplied = True
-    bw.plat_name = egg_info["arch"] or "any"
-    if not root_is_purelib:
-        bw.full_tag_supplied = True
-        bw.full_tag = (pyver, abi, arch)
-
-    dist_info_dir = os.path.join(dir, "{name}-{ver}.dist-info".format(**egg_info))
-    bw.egg2dist(os.path.join(dir, "EGG-INFO"), dist_info_dir)
-    bw.write_wheelfile(dist_info_dir, generator="egg2wheel")
-    wheel_name = "{name}-{ver}-{pyver}-{}-{}.whl".format(abi, arch, **egg_info)
-    with WheelFile(os.path.join(dest_dir, wheel_name), "w") as wf:
-        wf.write_files(dir)
-
-    shutil.rmtree(dir)
-
-
-def parse_wininst_info(wininfo_name, egginfo_name):
-    """Extract metadata from filenames.
-
-    Extracts the 4 metadataitems needed (name, version, pyversion, arch) from
-    the installer filename and the name of the egg-info directory embedded in
-    the zipfile (if any).
-
-    The egginfo filename has the format::
-
-        name-ver(-pyver)(-arch).egg-info
-
-    The installer filename has the format::
-
-        name-ver.arch(-pyver).exe
-
-    Some things to note:
-
-    1. The installer filename is not definitive. An installer can be renamed
-       and work perfectly well as an installer. So more reliable data should
-       be used whenever possible.
-    2. The egg-info data should be preferred for the name and version, because
-       these come straight from the distutils metadata, and are mandatory.
-    3. The pyver from the egg-info data should be ignored, as it is
-       constructed from the version of Python used to build the installer,
-       which is irrelevant - the installer filename is correct here (even to
-       the point that when it's not there, any version is implied).
-    4. The architecture must be taken from the installer filename, as it is
-       not included in the egg-info data.
-    5. Architecture-neutral installers still have an architecture because the
-       installer format itself (being executable) is architecture-specific. We
-       should therefore ignore the architecture if the content is pure-python.
-    """
-
-    egginfo = None
-    if egginfo_name:
-        egginfo = egg_info_re.search(egginfo_name)
-        if not egginfo:
-            raise ValueError(f"Egg info filename {egginfo_name} is not valid")
-
-    # Parse the wininst filename
-    # 1. Distribution name (up to the first '-')
-    w_name, sep, rest = wininfo_name.partition("-")
-    if not sep:
-        raise ValueError(f"Installer filename {wininfo_name} is not valid")
-
-    # Strip '.exe'
-    rest = rest[:-4]
-    # 2. Python version (from the last '-', must start with 'py')
-    rest2, sep, w_pyver = rest.rpartition("-")
-    if sep and w_pyver.startswith("py"):
-        rest = rest2
-        w_pyver = w_pyver.replace(".", "")
-    else:
-        # Not version specific - use py2.py3. While it is possible that
-        # pure-Python code is not compatible with both Python 2 and 3, there
-        # is no way of knowing from the wininst format, so we assume the best
-        # here (the user can always manually rename the wheel to be more
-        # restrictive if needed).
-        w_pyver = "py2.py3"
-    # 3. Version and architecture
-    w_ver, sep, w_arch = rest.rpartition(".")
-    if not sep:
-        raise ValueError(f"Installer filename {wininfo_name} is not valid")
-
-    if egginfo:
-        w_name = egginfo.group("name")
-        w_ver = egginfo.group("ver")
-
-    return {"name": w_name, "ver": w_ver, "arch": w_arch, "pyver": w_pyver}
-
-
-def wininst2wheel(path, dest_dir):
-    with zipfile.ZipFile(path) as bdw:
-        # Search for egg-info in the archive
-        egginfo_name = None
-        for filename in bdw.namelist():
-            if ".egg-info" in filename:
-                egginfo_name = filename
-                break
-
-        info = parse_wininst_info(os.path.basename(path), egginfo_name)
-
-        root_is_purelib = True
-        for zipinfo in bdw.infolist():
-            if zipinfo.filename.startswith("PLATLIB"):
-                root_is_purelib = False
-                break
-        if root_is_purelib:
-            paths = {"purelib": ""}
-        else:
-            paths = {"platlib": ""}
-
-        dist_info = "{name}-{ver}".format(**info)
-        datadir = "%s.data/" % dist_info
-
-        # rewrite paths to trick ZipFile into extracting an egg
-        # XXX grab wininst .ini - between .exe, padding, and first zip file.
-        members = []
-        egginfo_name = ""
-        for zipinfo in bdw.infolist():
-            key, basename = zipinfo.filename.split("/", 1)
-            key = key.lower()
-            basepath = paths.get(key, None)
-            if basepath is None:
-                basepath = datadir + key.lower() + "/"
-            oldname = zipinfo.filename
-            newname = basepath + basename
-            zipinfo.filename = newname
-            del bdw.NameToInfo[oldname]
-            bdw.NameToInfo[newname] = zipinfo
-            # Collect member names, but omit '' (from an entry like "PLATLIB/"
-            if newname:
-                members.append(newname)
-            # Remember egg-info name for the egg2dist call below
-            if not egginfo_name:
-                if newname.endswith(".egg-info"):
-                    egginfo_name = newname
-                elif ".egg-info/" in newname:
-                    egginfo_name, sep, _ = newname.rpartition("/")
-        dir = tempfile.mkdtemp(suffix="_b2w")
-        bdw.extractall(dir, members)
-
-    # egg2wheel
-    abi = "none"
-    pyver = info["pyver"]
-    arch = (info["arch"] or "any").replace(".", "_").replace("-", "_")
-    # Wininst installers always have arch even if they are not
-    # architecture-specific (because the format itself is).
-    # So, assume the content is architecture-neutral if root is purelib.
-    if root_is_purelib:
-        arch = "any"
-    # If the installer is architecture-specific, it's almost certainly also
-    # CPython-specific.
-    if arch != "any":
-        pyver = pyver.replace("py", "cp")
-    wheel_name = "-".join((dist_info, pyver, abi, arch))
-    if root_is_purelib:
-        bw = bdist_wheel(Distribution())
-    else:
-        bw = _bdist_wheel_tag(Distribution())
-
-    bw.root_is_pure = root_is_purelib
-    bw.python_tag = pyver
-    bw.plat_name_supplied = True
-    bw.plat_name = info["arch"] or "any"
-
-    if not root_is_purelib:
-        bw.full_tag_supplied = True
-        bw.full_tag = (pyver, abi, arch)
-
-    dist_info_dir = os.path.join(dir, "%s.dist-info" % dist_info)
-    bw.egg2dist(os.path.join(dir, egginfo_name), dist_info_dir)
-    bw.write_wheelfile(dist_info_dir, generator="wininst2wheel")
-
-    wheel_path = os.path.join(dest_dir, wheel_name)
-    with WheelFile(wheel_path, "w") as wf:
-        wf.write_files(dir)
-
-    shutil.rmtree(dir)
-
-
-def convert(files, dest_dir, verbose):
-    for pat in files:
-        for installer in iglob(pat):
-            if os.path.splitext(installer)[1] == ".egg":
-                conv = egg2wheel
-            else:
-                conv = wininst2wheel
-
-            if verbose:
-                print(f"{installer}... ", flush=True)
-
-            conv(installer, dest_dir)
-            if verbose:
-                print("OK")
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/pack.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/pack.py
deleted file mode 100644
index 64469c0c..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/pack.py
+++ /dev/null
@@ -1,85 +0,0 @@
-from __future__ import annotations
-
-import email.policy
-import os.path
-import re
-from email.generator import BytesGenerator
-from email.parser import BytesParser
-
-from wheel.cli import WheelError
-from wheel.wheelfile import WheelFile
-
-DIST_INFO_RE = re.compile(r"^(?P(?P.+?)-(?P\d.*?))\.dist-info$")
-
-
-def pack(directory: str, dest_dir: str, build_number: str | None) -> None:
-    """Repack a previously unpacked wheel directory into a new wheel file.
-
-    The .dist-info/WHEEL file must contain one or more tags so that the target
-    wheel file name can be determined.
-
-    :param directory: The unpacked wheel directory
-    :param dest_dir: Destination directory (defaults to the current directory)
-    """
-    # Find the .dist-info directory
-    dist_info_dirs = [
-        fn
-        for fn in os.listdir(directory)
-        if os.path.isdir(os.path.join(directory, fn)) and DIST_INFO_RE.match(fn)
-    ]
-    if len(dist_info_dirs) > 1:
-        raise WheelError(f"Multiple .dist-info directories found in {directory}")
-    elif not dist_info_dirs:
-        raise WheelError(f"No .dist-info directories found in {directory}")
-
-    # Determine the target wheel filename
-    dist_info_dir = dist_info_dirs[0]
-    name_version = DIST_INFO_RE.match(dist_info_dir).group("namever")
-
-    # Read the tags and the existing build number from .dist-info/WHEEL
-    wheel_file_path = os.path.join(directory, dist_info_dir, "WHEEL")
-    with open(wheel_file_path, "rb") as f:
-        info = BytesParser(policy=email.policy.compat32).parse(f)
-        tags: list[str] = info.get_all("Tag", [])
-        existing_build_number = info.get("Build")
-
-        if not tags:
-            raise WheelError(
-                f"No tags present in {dist_info_dir}/WHEEL; cannot determine target "
-                f"wheel filename"
-            )
-
-    # Set the wheel file name and add/replace/remove the Build tag in .dist-info/WHEEL
-    build_number = build_number if build_number is not None else existing_build_number
-    if build_number is not None:
-        del info["Build"]
-        if build_number:
-            info["Build"] = build_number
-            name_version += "-" + build_number
-
-        if build_number != existing_build_number:
-            with open(wheel_file_path, "wb") as f:
-                BytesGenerator(f, maxheaderlen=0).flatten(info)
-
-    # Reassemble the tags for the wheel file
-    tagline = compute_tagline(tags)
-
-    # Repack the wheel
-    wheel_path = os.path.join(dest_dir, f"{name_version}-{tagline}.whl")
-    with WheelFile(wheel_path, "w") as wf:
-        print(f"Repacking wheel as {wheel_path}...", end="", flush=True)
-        wf.write_files(directory)
-
-    print("OK")
-
-
-def compute_tagline(tags: list[str]) -> str:
-    """Compute a tagline from a list of tags.
-
-    :param tags: A list of tags
-    :return: A tagline
-    """
-    impls = sorted({tag.split("-")[0] for tag in tags})
-    abivers = sorted({tag.split("-")[1] for tag in tags})
-    platforms = sorted({tag.split("-")[2] for tag in tags})
-    return "-".join([".".join(impls), ".".join(abivers), ".".join(platforms)])
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/tags.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/tags.py
deleted file mode 100644
index 88da72e9..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/tags.py
+++ /dev/null
@@ -1,139 +0,0 @@
-from __future__ import annotations
-
-import email.policy
-import itertools
-import os
-from collections.abc import Iterable
-from email.parser import BytesParser
-
-from ..wheelfile import WheelFile
-
-
-def _compute_tags(original_tags: Iterable[str], new_tags: str | None) -> set[str]:
-    """Add or replace tags. Supports dot-separated tags"""
-    if new_tags is None:
-        return set(original_tags)
-
-    if new_tags.startswith("+"):
-        return {*original_tags, *new_tags[1:].split(".")}
-
-    if new_tags.startswith("-"):
-        return set(original_tags) - set(new_tags[1:].split("."))
-
-    return set(new_tags.split("."))
-
-
-def tags(
-    wheel: str,
-    python_tags: str | None = None,
-    abi_tags: str | None = None,
-    platform_tags: str | None = None,
-    build_tag: str | None = None,
-    remove: bool = False,
-) -> str:
-    """Change the tags on a wheel file.
-
-    The tags are left unchanged if they are not specified. To specify "none",
-    use ["none"]. To append to the previous tags, a tag should start with a
-    "+".  If a tag starts with "-", it will be removed from existing tags.
-    Processing is done left to right.
-
-    :param wheel: The paths to the wheels
-    :param python_tags: The Python tags to set
-    :param abi_tags: The ABI tags to set
-    :param platform_tags: The platform tags to set
-    :param build_tag: The build tag to set
-    :param remove: Remove the original wheel
-    """
-    with WheelFile(wheel, "r") as f:
-        assert f.filename, f"{f.filename} must be available"
-
-        wheel_info = f.read(f.dist_info_path + "/WHEEL")
-        info = BytesParser(policy=email.policy.compat32).parsebytes(wheel_info)
-
-        original_wheel_name = os.path.basename(f.filename)
-        namever = f.parsed_filename.group("namever")
-        build = f.parsed_filename.group("build")
-        original_python_tags = f.parsed_filename.group("pyver").split(".")
-        original_abi_tags = f.parsed_filename.group("abi").split(".")
-        original_plat_tags = f.parsed_filename.group("plat").split(".")
-
-    tags: list[str] = info.get_all("Tag", [])
-    existing_build_tag = info.get("Build")
-
-    impls = {tag.split("-")[0] for tag in tags}
-    abivers = {tag.split("-")[1] for tag in tags}
-    platforms = {tag.split("-")[2] for tag in tags}
-
-    if impls != set(original_python_tags):
-        msg = f"Wheel internal tags {impls!r} != filename tags {original_python_tags!r}"
-        raise AssertionError(msg)
-
-    if abivers != set(original_abi_tags):
-        msg = f"Wheel internal tags {abivers!r} != filename tags {original_abi_tags!r}"
-        raise AssertionError(msg)
-
-    if platforms != set(original_plat_tags):
-        msg = (
-            f"Wheel internal tags {platforms!r} != filename tags {original_plat_tags!r}"
-        )
-        raise AssertionError(msg)
-
-    if existing_build_tag != build:
-        msg = (
-            f"Incorrect filename '{build}' "
-            f"& *.dist-info/WHEEL '{existing_build_tag}' build numbers"
-        )
-        raise AssertionError(msg)
-
-    # Start changing as needed
-    if build_tag is not None:
-        build = build_tag
-
-    final_python_tags = sorted(_compute_tags(original_python_tags, python_tags))
-    final_abi_tags = sorted(_compute_tags(original_abi_tags, abi_tags))
-    final_plat_tags = sorted(_compute_tags(original_plat_tags, platform_tags))
-
-    final_tags = [
-        namever,
-        ".".join(final_python_tags),
-        ".".join(final_abi_tags),
-        ".".join(final_plat_tags),
-    ]
-    if build:
-        final_tags.insert(1, build)
-
-    final_wheel_name = "-".join(final_tags) + ".whl"
-
-    if original_wheel_name != final_wheel_name:
-        del info["Tag"], info["Build"]
-        for a, b, c in itertools.product(
-            final_python_tags, final_abi_tags, final_plat_tags
-        ):
-            info["Tag"] = f"{a}-{b}-{c}"
-        if build:
-            info["Build"] = build
-
-        original_wheel_path = os.path.join(
-            os.path.dirname(f.filename), original_wheel_name
-        )
-        final_wheel_path = os.path.join(os.path.dirname(f.filename), final_wheel_name)
-
-        with WheelFile(original_wheel_path, "r") as fin, WheelFile(
-            final_wheel_path, "w"
-        ) as fout:
-            fout.comment = fin.comment  # preserve the comment
-            for item in fin.infolist():
-                if item.is_dir():
-                    continue
-                if item.filename == f.dist_info_path + "/RECORD":
-                    continue
-                if item.filename == f.dist_info_path + "/WHEEL":
-                    fout.writestr(item, info.as_bytes())
-                else:
-                    fout.writestr(item, fin.read(item))
-
-        if remove:
-            os.remove(original_wheel_path)
-
-    return final_wheel_name
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/unpack.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/unpack.py
deleted file mode 100644
index d48840e6..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/cli/unpack.py
+++ /dev/null
@@ -1,30 +0,0 @@
-from __future__ import annotations
-
-from pathlib import Path
-
-from ..wheelfile import WheelFile
-
-
-def unpack(path: str, dest: str = ".") -> None:
-    """Unpack a wheel.
-
-    Wheel content will be unpacked to {dest}/{name}-{ver}, where {name}
-    is the package name and {ver} its version.
-
-    :param path: The path to the wheel.
-    :param dest: Destination directory (default to current directory).
-    """
-    with WheelFile(path) as wf:
-        namever = wf.parsed_filename.group("namever")
-        destination = Path(dest) / namever
-        print(f"Unpacking to: {destination}...", end="", flush=True)
-        for zinfo in wf.filelist:
-            wf.extract(zinfo, destination)
-
-            # Set permissions to the same values as they were set in the archive
-            # We have to do this manually due to
-            # https://github.com/python/cpython/issues/59999
-            permissions = zinfo.external_attr >> 16 & 0o777
-            destination.joinpath(zinfo.filename).chmod(permissions)
-
-    print("OK")
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/macosx_libfile.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/macosx_libfile.py
deleted file mode 100644
index 8953c3f8..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/macosx_libfile.py
+++ /dev/null
@@ -1,469 +0,0 @@
-"""
-This module contains function to analyse dynamic library
-headers to extract system information
-
-Currently only for MacOSX
-
-Library file on macosx system starts with Mach-O or Fat field.
-This can be distinguish by first 32 bites and it is called magic number.
-Proper value of magic number is with suffix _MAGIC. Suffix _CIGAM means
-reversed bytes order.
-Both fields can occur in two types: 32 and 64 bytes.
-
-FAT field inform that this library contains few version of library
-(typically for different types version). It contains
-information where Mach-O headers starts.
-
-Each section started with Mach-O header contains one library
-(So if file starts with this field it contains only one version).
-
-After filed Mach-O there are section fields.
-Each of them starts with two fields:
-cmd - magic number for this command
-cmdsize - total size occupied by this section information.
-
-In this case only sections LC_VERSION_MIN_MACOSX (for macosx 10.13 and earlier)
-and LC_BUILD_VERSION (for macosx 10.14 and newer) are interesting,
-because them contains information about minimal system version.
-
-Important remarks:
-- For fat files this implementation looks for maximum number version.
-  It not check if it is 32 or 64 and do not compare it with currently built package.
-  So it is possible to false report higher version that needed.
-- All structures signatures are taken form macosx header files.
-- I think that binary format will be more stable than `otool` output.
-  and if apple introduce some changes both implementation will need to be updated.
-- The system compile will set the deployment target no lower than
-  11.0 for arm64 builds. For "Universal 2" builds use the x86_64 deployment
-  target when the arm64 target is 11.0.
-"""
-
-from __future__ import annotations
-
-import ctypes
-import os
-import sys
-
-"""here the needed const and struct from mach-o header files"""
-
-FAT_MAGIC = 0xCAFEBABE
-FAT_CIGAM = 0xBEBAFECA
-FAT_MAGIC_64 = 0xCAFEBABF
-FAT_CIGAM_64 = 0xBFBAFECA
-MH_MAGIC = 0xFEEDFACE
-MH_CIGAM = 0xCEFAEDFE
-MH_MAGIC_64 = 0xFEEDFACF
-MH_CIGAM_64 = 0xCFFAEDFE
-
-LC_VERSION_MIN_MACOSX = 0x24
-LC_BUILD_VERSION = 0x32
-
-CPU_TYPE_ARM64 = 0x0100000C
-
-mach_header_fields = [
-    ("magic", ctypes.c_uint32),
-    ("cputype", ctypes.c_int),
-    ("cpusubtype", ctypes.c_int),
-    ("filetype", ctypes.c_uint32),
-    ("ncmds", ctypes.c_uint32),
-    ("sizeofcmds", ctypes.c_uint32),
-    ("flags", ctypes.c_uint32),
-]
-"""
-struct mach_header {
-    uint32_t	magic;		/* mach magic number identifier */
-    cpu_type_t	cputype;	/* cpu specifier */
-    cpu_subtype_t	cpusubtype;	/* machine specifier */
-    uint32_t	filetype;	/* type of file */
-    uint32_t	ncmds;		/* number of load commands */
-    uint32_t	sizeofcmds;	/* the size of all the load commands */
-    uint32_t	flags;		/* flags */
-};
-typedef integer_t cpu_type_t;
-typedef integer_t cpu_subtype_t;
-"""
-
-mach_header_fields_64 = mach_header_fields + [("reserved", ctypes.c_uint32)]
-"""
-struct mach_header_64 {
-    uint32_t	magic;		/* mach magic number identifier */
-    cpu_type_t	cputype;	/* cpu specifier */
-    cpu_subtype_t	cpusubtype;	/* machine specifier */
-    uint32_t	filetype;	/* type of file */
-    uint32_t	ncmds;		/* number of load commands */
-    uint32_t	sizeofcmds;	/* the size of all the load commands */
-    uint32_t	flags;		/* flags */
-    uint32_t	reserved;	/* reserved */
-};
-"""
-
-fat_header_fields = [("magic", ctypes.c_uint32), ("nfat_arch", ctypes.c_uint32)]
-"""
-struct fat_header {
-    uint32_t	magic;		/* FAT_MAGIC or FAT_MAGIC_64 */
-    uint32_t	nfat_arch;	/* number of structs that follow */
-};
-"""
-
-fat_arch_fields = [
-    ("cputype", ctypes.c_int),
-    ("cpusubtype", ctypes.c_int),
-    ("offset", ctypes.c_uint32),
-    ("size", ctypes.c_uint32),
-    ("align", ctypes.c_uint32),
-]
-"""
-struct fat_arch {
-    cpu_type_t	cputype;	/* cpu specifier (int) */
-    cpu_subtype_t	cpusubtype;	/* machine specifier (int) */
-    uint32_t	offset;		/* file offset to this object file */
-    uint32_t	size;		/* size of this object file */
-    uint32_t	align;		/* alignment as a power of 2 */
-};
-"""
-
-fat_arch_64_fields = [
-    ("cputype", ctypes.c_int),
-    ("cpusubtype", ctypes.c_int),
-    ("offset", ctypes.c_uint64),
-    ("size", ctypes.c_uint64),
-    ("align", ctypes.c_uint32),
-    ("reserved", ctypes.c_uint32),
-]
-"""
-struct fat_arch_64 {
-    cpu_type_t	cputype;	/* cpu specifier (int) */
-    cpu_subtype_t	cpusubtype;	/* machine specifier (int) */
-    uint64_t	offset;		/* file offset to this object file */
-    uint64_t	size;		/* size of this object file */
-    uint32_t	align;		/* alignment as a power of 2 */
-    uint32_t	reserved;	/* reserved */
-};
-"""
-
-segment_base_fields = [("cmd", ctypes.c_uint32), ("cmdsize", ctypes.c_uint32)]
-"""base for reading segment info"""
-
-segment_command_fields = [
-    ("cmd", ctypes.c_uint32),
-    ("cmdsize", ctypes.c_uint32),
-    ("segname", ctypes.c_char * 16),
-    ("vmaddr", ctypes.c_uint32),
-    ("vmsize", ctypes.c_uint32),
-    ("fileoff", ctypes.c_uint32),
-    ("filesize", ctypes.c_uint32),
-    ("maxprot", ctypes.c_int),
-    ("initprot", ctypes.c_int),
-    ("nsects", ctypes.c_uint32),
-    ("flags", ctypes.c_uint32),
-]
-"""
-struct segment_command { /* for 32-bit architectures */
-    uint32_t	cmd;		/* LC_SEGMENT */
-    uint32_t	cmdsize;	/* includes sizeof section structs */
-    char		segname[16];	/* segment name */
-    uint32_t	vmaddr;		/* memory address of this segment */
-    uint32_t	vmsize;		/* memory size of this segment */
-    uint32_t	fileoff;	/* file offset of this segment */
-    uint32_t	filesize;	/* amount to map from the file */
-    vm_prot_t	maxprot;	/* maximum VM protection */
-    vm_prot_t	initprot;	/* initial VM protection */
-    uint32_t	nsects;		/* number of sections in segment */
-    uint32_t	flags;		/* flags */
-};
-typedef int vm_prot_t;
-"""
-
-segment_command_fields_64 = [
-    ("cmd", ctypes.c_uint32),
-    ("cmdsize", ctypes.c_uint32),
-    ("segname", ctypes.c_char * 16),
-    ("vmaddr", ctypes.c_uint64),
-    ("vmsize", ctypes.c_uint64),
-    ("fileoff", ctypes.c_uint64),
-    ("filesize", ctypes.c_uint64),
-    ("maxprot", ctypes.c_int),
-    ("initprot", ctypes.c_int),
-    ("nsects", ctypes.c_uint32),
-    ("flags", ctypes.c_uint32),
-]
-"""
-struct segment_command_64 { /* for 64-bit architectures */
-    uint32_t	cmd;		/* LC_SEGMENT_64 */
-    uint32_t	cmdsize;	/* includes sizeof section_64 structs */
-    char		segname[16];	/* segment name */
-    uint64_t	vmaddr;		/* memory address of this segment */
-    uint64_t	vmsize;		/* memory size of this segment */
-    uint64_t	fileoff;	/* file offset of this segment */
-    uint64_t	filesize;	/* amount to map from the file */
-    vm_prot_t	maxprot;	/* maximum VM protection */
-    vm_prot_t	initprot;	/* initial VM protection */
-    uint32_t	nsects;		/* number of sections in segment */
-    uint32_t	flags;		/* flags */
-};
-"""
-
-version_min_command_fields = segment_base_fields + [
-    ("version", ctypes.c_uint32),
-    ("sdk", ctypes.c_uint32),
-]
-"""
-struct version_min_command {
-    uint32_t	cmd;		/* LC_VERSION_MIN_MACOSX or
-                               LC_VERSION_MIN_IPHONEOS or
-                               LC_VERSION_MIN_WATCHOS or
-                               LC_VERSION_MIN_TVOS */
-    uint32_t	cmdsize;	/* sizeof(struct min_version_command) */
-    uint32_t	version;	/* X.Y.Z is encoded in nibbles xxxx.yy.zz */
-    uint32_t	sdk;		/* X.Y.Z is encoded in nibbles xxxx.yy.zz */
-};
-"""
-
-build_version_command_fields = segment_base_fields + [
-    ("platform", ctypes.c_uint32),
-    ("minos", ctypes.c_uint32),
-    ("sdk", ctypes.c_uint32),
-    ("ntools", ctypes.c_uint32),
-]
-"""
-struct build_version_command {
-    uint32_t	cmd;		/* LC_BUILD_VERSION */
-    uint32_t	cmdsize;	/* sizeof(struct build_version_command) plus */
-                                /* ntools * sizeof(struct build_tool_version) */
-    uint32_t	platform;	/* platform */
-    uint32_t	minos;		/* X.Y.Z is encoded in nibbles xxxx.yy.zz */
-    uint32_t	sdk;		/* X.Y.Z is encoded in nibbles xxxx.yy.zz */
-    uint32_t	ntools;		/* number of tool entries following this */
-};
-"""
-
-
-def swap32(x):
-    return (
-        ((x << 24) & 0xFF000000)
-        | ((x << 8) & 0x00FF0000)
-        | ((x >> 8) & 0x0000FF00)
-        | ((x >> 24) & 0x000000FF)
-    )
-
-
-def get_base_class_and_magic_number(lib_file, seek=None):
-    if seek is None:
-        seek = lib_file.tell()
-    else:
-        lib_file.seek(seek)
-    magic_number = ctypes.c_uint32.from_buffer_copy(
-        lib_file.read(ctypes.sizeof(ctypes.c_uint32))
-    ).value
-
-    # Handle wrong byte order
-    if magic_number in [FAT_CIGAM, FAT_CIGAM_64, MH_CIGAM, MH_CIGAM_64]:
-        if sys.byteorder == "little":
-            BaseClass = ctypes.BigEndianStructure
-        else:
-            BaseClass = ctypes.LittleEndianStructure
-
-        magic_number = swap32(magic_number)
-    else:
-        BaseClass = ctypes.Structure
-
-    lib_file.seek(seek)
-    return BaseClass, magic_number
-
-
-def read_data(struct_class, lib_file):
-    return struct_class.from_buffer_copy(lib_file.read(ctypes.sizeof(struct_class)))
-
-
-def extract_macosx_min_system_version(path_to_lib):
-    with open(path_to_lib, "rb") as lib_file:
-        BaseClass, magic_number = get_base_class_and_magic_number(lib_file, 0)
-        if magic_number not in [FAT_MAGIC, FAT_MAGIC_64, MH_MAGIC, MH_MAGIC_64]:
-            return
-
-        if magic_number in [FAT_MAGIC, FAT_CIGAM_64]:
-
-            class FatHeader(BaseClass):
-                _fields_ = fat_header_fields
-
-            fat_header = read_data(FatHeader, lib_file)
-            if magic_number == FAT_MAGIC:
-
-                class FatArch(BaseClass):
-                    _fields_ = fat_arch_fields
-
-            else:
-
-                class FatArch(BaseClass):
-                    _fields_ = fat_arch_64_fields
-
-            fat_arch_list = [
-                read_data(FatArch, lib_file) for _ in range(fat_header.nfat_arch)
-            ]
-
-            versions_list = []
-            for el in fat_arch_list:
-                try:
-                    version = read_mach_header(lib_file, el.offset)
-                    if version is not None:
-                        if el.cputype == CPU_TYPE_ARM64 and len(fat_arch_list) != 1:
-                            # Xcode will not set the deployment target below 11.0.0
-                            # for the arm64 architecture. Ignore the arm64 deployment
-                            # in fat binaries when the target is 11.0.0, that way
-                            # the other architectures can select a lower deployment
-                            # target.
-                            # This is safe because there is no arm64 variant for
-                            # macOS 10.15 or earlier.
-                            if version == (11, 0, 0):
-                                continue
-                        versions_list.append(version)
-                except ValueError:
-                    pass
-
-            if len(versions_list) > 0:
-                return max(versions_list)
-            else:
-                return None
-
-        else:
-            try:
-                return read_mach_header(lib_file, 0)
-            except ValueError:
-                """when some error during read library files"""
-                return None
-
-
-def read_mach_header(lib_file, seek=None):
-    """
-    This function parses a Mach-O header and extracts
-    information about the minimal macOS version.
-
-    :param lib_file: reference to opened library file with pointer
-    """
-    base_class, magic_number = get_base_class_and_magic_number(lib_file, seek)
-    arch = "32" if magic_number == MH_MAGIC else "64"
-
-    class SegmentBase(base_class):
-        _fields_ = segment_base_fields
-
-    if arch == "32":
-
-        class MachHeader(base_class):
-            _fields_ = mach_header_fields
-
-    else:
-
-        class MachHeader(base_class):
-            _fields_ = mach_header_fields_64
-
-    mach_header = read_data(MachHeader, lib_file)
-    for _i in range(mach_header.ncmds):
-        pos = lib_file.tell()
-        segment_base = read_data(SegmentBase, lib_file)
-        lib_file.seek(pos)
-        if segment_base.cmd == LC_VERSION_MIN_MACOSX:
-
-            class VersionMinCommand(base_class):
-                _fields_ = version_min_command_fields
-
-            version_info = read_data(VersionMinCommand, lib_file)
-            return parse_version(version_info.version)
-        elif segment_base.cmd == LC_BUILD_VERSION:
-
-            class VersionBuild(base_class):
-                _fields_ = build_version_command_fields
-
-            version_info = read_data(VersionBuild, lib_file)
-            return parse_version(version_info.minos)
-        else:
-            lib_file.seek(pos + segment_base.cmdsize)
-            continue
-
-
-def parse_version(version):
-    x = (version & 0xFFFF0000) >> 16
-    y = (version & 0x0000FF00) >> 8
-    z = version & 0x000000FF
-    return x, y, z
-
-
-def calculate_macosx_platform_tag(archive_root, platform_tag):
-    """
-    Calculate proper macosx platform tag basing on files which are included to wheel
-
-    Example platform tag `macosx-10.14-x86_64`
-    """
-    prefix, base_version, suffix = platform_tag.split("-")
-    base_version = tuple(int(x) for x in base_version.split("."))
-    base_version = base_version[:2]
-    if base_version[0] > 10:
-        base_version = (base_version[0], 0)
-    assert len(base_version) == 2
-    if "MACOSX_DEPLOYMENT_TARGET" in os.environ:
-        deploy_target = tuple(
-            int(x) for x in os.environ["MACOSX_DEPLOYMENT_TARGET"].split(".")
-        )
-        deploy_target = deploy_target[:2]
-        if deploy_target[0] > 10:
-            deploy_target = (deploy_target[0], 0)
-        if deploy_target < base_version:
-            sys.stderr.write(
-                "[WARNING] MACOSX_DEPLOYMENT_TARGET is set to a lower value ({}) than "
-                "the version on which the Python interpreter was compiled ({}), and "
-                "will be ignored.\n".format(
-                    ".".join(str(x) for x in deploy_target),
-                    ".".join(str(x) for x in base_version),
-                )
-            )
-        else:
-            base_version = deploy_target
-
-    assert len(base_version) == 2
-    start_version = base_version
-    versions_dict = {}
-    for dirpath, _dirnames, filenames in os.walk(archive_root):
-        for filename in filenames:
-            if filename.endswith(".dylib") or filename.endswith(".so"):
-                lib_path = os.path.join(dirpath, filename)
-                min_ver = extract_macosx_min_system_version(lib_path)
-                if min_ver is not None:
-                    min_ver = min_ver[0:2]
-                    if min_ver[0] > 10:
-                        min_ver = (min_ver[0], 0)
-                    versions_dict[lib_path] = min_ver
-
-    if len(versions_dict) > 0:
-        base_version = max(base_version, max(versions_dict.values()))
-
-    # macosx platform tag do not support minor bugfix release
-    fin_base_version = "_".join([str(x) for x in base_version])
-    if start_version < base_version:
-        problematic_files = [k for k, v in versions_dict.items() if v > start_version]
-        problematic_files = "\n".join(problematic_files)
-        if len(problematic_files) == 1:
-            files_form = "this file"
-        else:
-            files_form = "these files"
-        error_message = (
-            "[WARNING] This wheel needs a higher macOS version than {}  "
-            "To silence this warning, set MACOSX_DEPLOYMENT_TARGET to at least "
-            + fin_base_version
-            + " or recreate "
-            + files_form
-            + " with lower "
-            "MACOSX_DEPLOYMENT_TARGET:  \n" + problematic_files
-        )
-
-        if "MACOSX_DEPLOYMENT_TARGET" in os.environ:
-            error_message = error_message.format(
-                "is set in MACOSX_DEPLOYMENT_TARGET variable."
-            )
-        else:
-            error_message = error_message.format(
-                "the version your Python interpreter is compiled against."
-            )
-
-        sys.stderr.write(error_message)
-
-    platform_tag = prefix + "_" + fin_base_version + "_" + suffix
-    return platform_tag
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/metadata.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/metadata.py
deleted file mode 100644
index 6aa43628..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/metadata.py
+++ /dev/null
@@ -1,180 +0,0 @@
-"""
-Tools for converting old- to new-style metadata.
-"""
-
-from __future__ import annotations
-
-import functools
-import itertools
-import os.path
-import re
-import textwrap
-from email.message import Message
-from email.parser import Parser
-from typing import Iterator
-
-from .vendored.packaging.requirements import Requirement
-
-
-def _nonblank(str):
-    return str and not str.startswith("#")
-
-
-@functools.singledispatch
-def yield_lines(iterable):
-    r"""
-    Yield valid lines of a string or iterable.
-    >>> list(yield_lines(''))
-    []
-    >>> list(yield_lines(['foo', 'bar']))
-    ['foo', 'bar']
-    >>> list(yield_lines('foo\nbar'))
-    ['foo', 'bar']
-    >>> list(yield_lines('\nfoo\n#bar\nbaz #comment'))
-    ['foo', 'baz #comment']
-    >>> list(yield_lines(['foo\nbar', 'baz', 'bing\n\n\n']))
-    ['foo', 'bar', 'baz', 'bing']
-    """
-    return itertools.chain.from_iterable(map(yield_lines, iterable))
-
-
-@yield_lines.register(str)
-def _(text):
-    return filter(_nonblank, map(str.strip, text.splitlines()))
-
-
-def split_sections(s):
-    """Split a string or iterable thereof into (section, content) pairs
-    Each ``section`` is a stripped version of the section header ("[section]")
-    and each ``content`` is a list of stripped lines excluding blank lines and
-    comment-only lines.  If there are any such lines before the first section
-    header, they're returned in a first ``section`` of ``None``.
-    """
-    section = None
-    content = []
-    for line in yield_lines(s):
-        if line.startswith("["):
-            if line.endswith("]"):
-                if section or content:
-                    yield section, content
-                section = line[1:-1].strip()
-                content = []
-            else:
-                raise ValueError("Invalid section heading", line)
-        else:
-            content.append(line)
-
-    # wrap up last segment
-    yield section, content
-
-
-def safe_extra(extra):
-    """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.
-    """
-    return re.sub("[^A-Za-z0-9.-]+", "_", extra).lower()
-
-
-def safe_name(name):
-    """Convert an arbitrary string to a standard distribution name
-    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
-    """
-    return re.sub("[^A-Za-z0-9.]+", "-", name)
-
-
-def requires_to_requires_dist(requirement: Requirement) -> str:
-    """Return the version specifier for a requirement in PEP 345/566 fashion."""
-    if getattr(requirement, "url", None):
-        return " @ " + requirement.url
-
-    requires_dist = []
-    for spec in requirement.specifier:
-        requires_dist.append(spec.operator + spec.version)
-
-    if requires_dist:
-        return " " + ",".join(sorted(requires_dist))
-    else:
-        return ""
-
-
-def convert_requirements(requirements: list[str]) -> Iterator[str]:
-    """Yield Requires-Dist: strings for parsed requirements strings."""
-    for req in requirements:
-        parsed_requirement = Requirement(req)
-        spec = requires_to_requires_dist(parsed_requirement)
-        extras = ",".join(sorted(safe_extra(e) for e in parsed_requirement.extras))
-        if extras:
-            extras = f"[{extras}]"
-
-        yield safe_name(parsed_requirement.name) + extras + spec
-
-
-def generate_requirements(
-    extras_require: dict[str, list[str]],
-) -> Iterator[tuple[str, str]]:
-    """
-    Convert requirements from a setup()-style dictionary to
-    ('Requires-Dist', 'requirement') and ('Provides-Extra', 'extra') tuples.
-
-    extras_require is a dictionary of {extra: [requirements]} as passed to setup(),
-    using the empty extra {'': [requirements]} to hold install_requires.
-    """
-    for extra, depends in extras_require.items():
-        condition = ""
-        extra = extra or ""
-        if ":" in extra:  # setuptools extra:condition syntax
-            extra, condition = extra.split(":", 1)
-
-        extra = safe_extra(extra)
-        if extra:
-            yield "Provides-Extra", extra
-            if condition:
-                condition = "(" + condition + ") and "
-            condition += "extra == '%s'" % extra
-
-        if condition:
-            condition = " ; " + condition
-
-        for new_req in convert_requirements(depends):
-            yield "Requires-Dist", new_req + condition
-
-
-def pkginfo_to_metadata(egg_info_path: str, pkginfo_path: str) -> Message:
-    """
-    Convert .egg-info directory with PKG-INFO to the Metadata 2.1 format
-    """
-    with open(pkginfo_path, encoding="utf-8") as headers:
-        pkg_info = Parser().parse(headers)
-
-    pkg_info.replace_header("Metadata-Version", "2.1")
-    # Those will be regenerated from `requires.txt`.
-    del pkg_info["Provides-Extra"]
-    del pkg_info["Requires-Dist"]
-    requires_path = os.path.join(egg_info_path, "requires.txt")
-    if os.path.exists(requires_path):
-        with open(requires_path, encoding="utf-8") as requires_file:
-            requires = requires_file.read()
-
-        parsed_requirements = sorted(split_sections(requires), key=lambda x: x[0] or "")
-        for extra, reqs in parsed_requirements:
-            for key, value in generate_requirements({extra: reqs}):
-                if (key, value) not in pkg_info.items():
-                    pkg_info[key] = value
-
-    description = pkg_info["Description"]
-    if description:
-        description_lines = pkg_info["Description"].splitlines()
-        dedented_description = "\n".join(
-            # if the first line of long_description is blank,
-            # the first line here will be indented.
-            (
-                description_lines[0].lstrip(),
-                textwrap.dedent("\n".join(description_lines[1:])),
-                "\n",
-            )
-        )
-        pkg_info.set_payload(dedented_description)
-        del pkg_info["Description"]
-
-    return pkg_info
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/util.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/util.py
deleted file mode 100644
index d98d98cb..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/util.py
+++ /dev/null
@@ -1,26 +0,0 @@
-from __future__ import annotations
-
-import base64
-import logging
-
-log = logging.getLogger("wheel")
-
-# ensure Python logging is configured
-try:
-    __import__("setuptools.logging")
-except ImportError:
-    # setuptools < ??
-    from . import _setuptools_logging
-
-    _setuptools_logging.configure()
-
-
-def urlsafe_b64encode(data: bytes) -> bytes:
-    """urlsafe_b64encode without padding"""
-    return base64.urlsafe_b64encode(data).rstrip(b"=")
-
-
-def urlsafe_b64decode(data: bytes) -> bytes:
-    """urlsafe_b64decode without padding"""
-    pad = b"=" * (4 - (len(data) & 3))
-    return base64.urlsafe_b64decode(data + pad)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 24ff3f3f..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 75a6852f..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_elffile.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_elffile.cpython-312.pyc
deleted file mode 100644
index 2dc001b2..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_elffile.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_manylinux.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_manylinux.cpython-312.pyc
deleted file mode 100644
index e4fd9890..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_manylinux.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_musllinux.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_musllinux.cpython-312.pyc
deleted file mode 100644
index e4a5766e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_musllinux.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_parser.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_parser.cpython-312.pyc
deleted file mode 100644
index 61f04a45..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_parser.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_structures.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_structures.cpython-312.pyc
deleted file mode 100644
index e1975967..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_structures.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_tokenizer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_tokenizer.cpython-312.pyc
deleted file mode 100644
index f38b1fed..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/_tokenizer.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/markers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/markers.cpython-312.pyc
deleted file mode 100644
index 01cf257c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/markers.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/requirements.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/requirements.cpython-312.pyc
deleted file mode 100644
index f5232173..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/requirements.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/specifiers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/specifiers.cpython-312.pyc
deleted file mode 100644
index daeb716e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/specifiers.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/tags.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/tags.cpython-312.pyc
deleted file mode 100644
index 460493b1..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/tags.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/utils.cpython-312.pyc
deleted file mode 100644
index 708fcbe7..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/utils.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/version.cpython-312.pyc
deleted file mode 100644
index 082908d8..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/__pycache__/version.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_elffile.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_elffile.py
deleted file mode 100644
index 6fb19b30..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_elffile.py
+++ /dev/null
@@ -1,108 +0,0 @@
-"""
-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
-"""
-
-import enum
-import os
-import struct
-from typing import IO, Optional, Tuple
-
-
-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:
-            raise ELFInvalid("unable to parse identification")
-        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:
-            raise ELFInvalid(
-                f"unrecognized capacity ({self.capacity}) or "
-                f"encoding ({self.encoding})"
-            )
-
-        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) -> Optional[str]:
-        """
-        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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_manylinux.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_manylinux.py
deleted file mode 100644
index 1f5f4ab3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_manylinux.py
+++ /dev/null
@@ -1,260 +0,0 @@
-import collections
-import contextlib
-import functools
-import os
-import re
-import sys
-import warnings
-from typing import Dict, Generator, Iterator, NamedTuple, Optional, Sequence, Tuple
-
-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[Optional[ELFFile], 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() -> Optional[str]:
-    """
-    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: Optional[str] = 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() -> Optional[str]:
-    """
-    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() -> Optional[str]:
-    """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,"
-            f" got: {version_str}",
-            RuntimeWarning,
-        )
-        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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_musllinux.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_musllinux.py
deleted file mode 100644
index eb4251b5..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_musllinux.py
+++ /dev/null
@@ -1,83 +0,0 @@
-"""PEP 656 support.
-
-This module implements logic to detect if the currently running Python is
-linked against musl, and what musl version is used.
-"""
-
-import functools
-import re
-import subprocess
-import sys
-from typing import Iterator, NamedTuple, Optional, Sequence
-
-from ._elffile import ELFFile
-
-
-class _MuslVersion(NamedTuple):
-    major: int
-    minor: int
-
-
-def _parse_musl_version(output: str) -> Optional[_MuslVersion]:
-    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) -> Optional[_MuslVersion]:
-    """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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_parser.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_parser.py
deleted file mode 100644
index 513686a2..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_parser.py
+++ /dev/null
@@ -1,356 +0,0 @@
-"""Handwritten parser of dependency specifiers.
-
-The docstring for each __parse_* function contains EBNF-inspired grammar representing
-the implementation.
-"""
-
-import ast
-from typing import Any, List, NamedTuple, Optional, 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, List["MarkerAtom"]]
-# MarkerList = List[Union["MarkerList", MarkerAtom, str]]
-# mypy does not support recursive type definition
-# https://github.com/python/mypy/issues/731
-MarkerAtom = Any
-MarkerList = List[Any]
-
-
-class ParsedRequirement(NamedTuple):
-    name: str
-    url: str
-    extras: List[str]
-    specifier: str
-    marker: Optional[MarkerList]
-
-
-# --------------------------------------------------------------------------------------
-# 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, Optional[MarkerList]]:
-    """
-    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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_structures.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_structures.py
deleted file mode 100644
index 90a6465f..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_structures.py
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_tokenizer.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_tokenizer.py
deleted file mode 100644
index dd0d648d..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/_tokenizer.py
+++ /dev/null
@@ -1,192 +0,0 @@
-import contextlib
-import re
-from dataclasses import dataclass
-from typing import Dict, Iterator, NoReturn, Optional, Tuple, Union
-
-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, Union[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)
-                |extra
-            )\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, Union[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: Optional[Token] = 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: Optional[int] = None,
-        span_end: Optional[int] = 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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/markers.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/markers.py
deleted file mode 100644
index c96d22a5..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/markers.py
+++ /dev/null
@@ -1,253 +0,0 @@
-# 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.
-
-import operator
-import os
-import platform
-import sys
-from typing import Any, Callable, Dict, List, Optional, Tuple, Union
-
-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__ = [
-    "InvalidMarker",
-    "UndefinedComparison",
-    "UndefinedEnvironmentName",
-    "Marker",
-    "default_environment",
-]
-
-Operator = Callable[[str, str], bool]
-
-
-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.
-    """
-
-
-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], MarkerAtom, str], first: Optional[bool] = 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) -> bool:
-    try:
-        spec = Specifier("".join([op.serialize(), rhs]))
-    except InvalidSpecifier:
-        pass
-    else:
-        return spec.contains(lhs, prereleases=True)
-
-    oper: Optional[Operator] = _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(*values: str, key: str) -> Tuple[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":
-        return tuple(canonicalize_name(v) for v in values)
-
-    # other environment markers don't have such standards
-    return values
-
-
-def _evaluate_markers(markers: MarkerList, environment: Dict[str, 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]
-
-            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 = "{0.major}.{0.minor}.{0.micro}".format(info)
-    kind = info.releaselevel
-    if kind != "final":
-        version += kind[0] + str(info.serial)
-    return version
-
-
-def default_environment() -> Dict[str, str]:
-    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: Optional[Dict[str, str]] = None) -> 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 environment is determined from the current Python process.
-        """
-        current_environment = default_environment()
-        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 current_environment["extra"] is None:
-                current_environment["extra"] = ""
-
-        return _evaluate_markers(self._markers, current_environment)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/requirements.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/requirements.py
deleted file mode 100644
index bdc43a7e..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/requirements.py
+++ /dev/null
@@ -1,90 +0,0 @@
-# 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 typing import Any, Iterator, Optional, Set
-
-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: Optional[str] = parsed.url or None
-        self.extras: Set[str] = set(parsed.extras or [])
-        self.specifier: SpecifierSet = SpecifierSet(parsed.specifier)
-        self.marker: Optional[Marker] = 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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/specifiers.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/specifiers.py
deleted file mode 100644
index 6d4066ae..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/specifiers.py
+++ /dev/null
@@ -1,1011 +0,0 @@
-# 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
-"""
-
-import abc
-import itertools
-import re
-from typing import Callable, Iterable, Iterator, List, Optional, Tuple, 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) -> Optional[bool]:
-        """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: Optional[bool] = None) -> bool:
-        """
-        Determines if the given item is contained within this specifier.
-        """
-
-    @abc.abstractmethod
-    def filter(
-        self, iterable: Iterable[UnparsedVersionVar], prereleases: Optional[bool] = 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: Optional[bool] = 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}'")
-
-        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: Union[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: Optional[bool] = 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: Optional[bool] = 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 = "", prereleases: Optional[bool] = 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.
-        :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.
-        """
-
-        # 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()]
-
-        # Make each individual specifier a Specifier and save in a frozen set for later.
-        self._specs = frozenset(map(Specifier, split_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) -> Optional[bool]:
-        # 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: Union["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,
-        installed: Optional[bool] = 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: Optional[bool] = 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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/tags.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/tags.py
deleted file mode 100644
index 89f19261..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/tags.py
+++ /dev/null
@@ -1,571 +0,0 @@
-# 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.
-
-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,
-)
-
-from . import _manylinux, _musllinux
-
-logger = logging.getLogger(__name__)
-
-PythonVersion = Sequence[int]
-MacVersion = 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__ = ["_interpreter", "_abi", "_platform", "_hash"]
-
-    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) -> Union[int, str, None]:
-    value: Union[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: Optional[PythonVersion] = None,
-    abis: Optional[Iterable[str]] = None,
-    platforms: Optional[Iterable[str]] = 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:
-                interpreter = "cp{version}".format(
-                    version=_version_nodot((python_version[0], minor_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: Optional[str] = None,
-    abis: Optional[Iterable[str]] = None,
-    platforms: Optional[Iterable[str]] = 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: Optional[PythonVersion] = None,
-    interpreter: Optional[str] = None,
-    platforms: Optional[Iterable[str]] = 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: MacVersion, 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: Optional[MacVersion] = None, arch: Optional[str] = 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("MacVersion", 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("MacVersion", 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.
-        for minor_version in range(version[1], -1, -1):
-            compat_version = 10, 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
-                )
-
-    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.
-        for major_version in range(version[0], 10, -1):
-            compat_version = major_version, 0
-            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
-                )
-
-    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.
-        if arch == "x86_64":
-            for minor_version in range(16, 3, -1):
-                compat_version = 10, 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,
-                    )
-        else:
-            for minor_version in range(16, 3, -1):
-                compat_version = 10, minor_version
-                binary_format = "universal2"
-                yield "macosx_{major}_{minor}_{binary_format}".format(
-                    major=compat_version[0],
-                    minor=compat_version[1],
-                    binary_format=binary_format,
-                )
-
-
-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() == "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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/utils.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/utils.py
deleted file mode 100644
index c2c2f75a..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/utils.py
+++ /dev/null
@@ -1,172 +0,0 @@
-# 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.
-
-import re
-from typing import FrozenSet, NewType, Tuple, Union, cast
-
-from .tags import Tag, parse_tag
-from .version import InvalidVersion, Version
-
-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
-
-
-def canonicalize_version(
-    version: Union[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.
-    """
-    if isinstance(version, str):
-        try:
-            parsed = Version(version)
-        except InvalidVersion:
-            # Legacy versions cannot be normalized
-            return version
-    else:
-        parsed = version
-
-    parts = []
-
-    # Epoch
-    if parsed.epoch != 0:
-        parts.append(f"{parsed.epoch}!")
-
-    # Release segment
-    release_segment = ".".join(str(x) for x in parsed.release)
-    if strip_trailing_zero:
-        # NB: This strips trailing '.0's to normalize
-        release_segment = re.sub(r"(\.0)+$", "", release_segment)
-    parts.append(release_segment)
-
-    # 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)
-
-
-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}"
-        )
-
-    filename = filename[:-4]
-    dashes = filename.count("-")
-    if dashes not in (4, 5):
-        raise InvalidWheelFilename(
-            f"Invalid wheel filename (wrong number of parts): {filename}"
-        )
-
-    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}")
-    name = canonicalize_name(name_part)
-
-    try:
-        version = Version(parts[1])
-    except InvalidVersion as e:
-        raise InvalidWheelFilename(
-            f"Invalid wheel filename (invalid version): {filename}"
-        ) 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}'"
-            )
-        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}"
-        )
-
-    # 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}")
-
-    name = canonicalize_name(name_part)
-
-    try:
-        version = Version(version_part)
-    except InvalidVersion as e:
-        raise InvalidSdistFilename(
-            f"Invalid sdist filename (invalid version): {filename}"
-        ) from e
-
-    return (name, version)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/version.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/version.py
deleted file mode 100644
index cda8e999..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/packaging/version.py
+++ /dev/null
@@ -1,561 +0,0 @@
-# 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
-"""
-
-import itertools
-import re
-from typing import Any, Callable, NamedTuple, Optional, SupportsInt, Tuple, Union
-
-from ._structures import Infinity, InfinityType, NegativeInfinity, NegativeInfinityType
-
-__all__ = ["VERSION_PATTERN", "parse", "Version", "InvalidVersion"]
-
-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: Optional[Tuple[str, int]]
-    pre: Optional[Tuple[str, int]]
-    post: Optional[Tuple[str, int]]
-    local: Optional[LocalType]
-
-
-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}'")
-
-        # 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 rounded-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) -> Optional[Tuple[str, int]]:
-        """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]:
-        """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]:
-        """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]:
-        """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.2.3+abc.dev1").public
-        '1.2.3'
-        """
-        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.3+abc.dev1").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
-
-
-def _parse_letter_version(
-    letter: Optional[str], number: Union[str, bytes, SupportsInt, None]
-) -> Optional[Tuple[str, int]]:
-    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)
-    if not letter and 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: Optional[str]) -> Optional[LocalType]:
-    """
-    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: Optional[Tuple[str, int]],
-    post: Optional[Tuple[str, int]],
-    dev: Optional[Tuple[str, int]],
-    local: Optional[LocalType],
-) -> 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/python3.12/site-packages/setuptools/_vendor/wheel/vendored/vendor.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/vendor.txt
deleted file mode 100644
index 14666103..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/vendored/vendor.txt
+++ /dev/null
@@ -1 +0,0 @@
-packaging==24.0
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/wheelfile.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/wheelfile.py
deleted file mode 100644
index 6440e90a..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/wheel/wheelfile.py
+++ /dev/null
@@ -1,196 +0,0 @@
-from __future__ import annotations
-
-import csv
-import hashlib
-import os.path
-import re
-import stat
-import time
-from io import StringIO, TextIOWrapper
-from zipfile import ZIP_DEFLATED, ZipFile, ZipInfo
-
-from wheel.cli import WheelError
-from wheel.util import log, urlsafe_b64decode, urlsafe_b64encode
-
-# Non-greedy matching of an optional build number may be too clever (more
-# invalid wheel filenames will match). Separate regex for .dist-info?
-WHEEL_INFO_RE = re.compile(
-    r"""^(?P(?P[^\s-]+?)-(?P[^\s-]+?))(-(?P\d[^\s-]*))?
-     -(?P[^\s-]+?)-(?P[^\s-]+?)-(?P\S+)\.whl$""",
-    re.VERBOSE,
-)
-MINIMUM_TIMESTAMP = 315532800  # 1980-01-01 00:00:00 UTC
-
-
-def get_zipinfo_datetime(timestamp=None):
-    # Some applications need reproducible .whl files, but they can't do this without
-    # forcing the timestamp of the individual ZipInfo objects. See issue #143.
-    timestamp = int(os.environ.get("SOURCE_DATE_EPOCH", timestamp or time.time()))
-    timestamp = max(timestamp, MINIMUM_TIMESTAMP)
-    return time.gmtime(timestamp)[0:6]
-
-
-class WheelFile(ZipFile):
-    """A ZipFile derivative class that also reads SHA-256 hashes from
-    .dist-info/RECORD and checks any read files against those.
-    """
-
-    _default_algorithm = hashlib.sha256
-
-    def __init__(self, file, mode="r", compression=ZIP_DEFLATED):
-        basename = os.path.basename(file)
-        self.parsed_filename = WHEEL_INFO_RE.match(basename)
-        if not basename.endswith(".whl") or self.parsed_filename is None:
-            raise WheelError(f"Bad wheel filename {basename!r}")
-
-        ZipFile.__init__(self, file, mode, compression=compression, allowZip64=True)
-
-        self.dist_info_path = "{}.dist-info".format(
-            self.parsed_filename.group("namever")
-        )
-        self.record_path = self.dist_info_path + "/RECORD"
-        self._file_hashes = {}
-        self._file_sizes = {}
-        if mode == "r":
-            # Ignore RECORD and any embedded wheel signatures
-            self._file_hashes[self.record_path] = None, None
-            self._file_hashes[self.record_path + ".jws"] = None, None
-            self._file_hashes[self.record_path + ".p7s"] = None, None
-
-            # Fill in the expected hashes by reading them from RECORD
-            try:
-                record = self.open(self.record_path)
-            except KeyError:
-                raise WheelError(f"Missing {self.record_path} file") from None
-
-            with record:
-                for line in csv.reader(
-                    TextIOWrapper(record, newline="", encoding="utf-8")
-                ):
-                    path, hash_sum, size = line
-                    if not hash_sum:
-                        continue
-
-                    algorithm, hash_sum = hash_sum.split("=")
-                    try:
-                        hashlib.new(algorithm)
-                    except ValueError:
-                        raise WheelError(
-                            f"Unsupported hash algorithm: {algorithm}"
-                        ) from None
-
-                    if algorithm.lower() in {"md5", "sha1"}:
-                        raise WheelError(
-                            f"Weak hash algorithm ({algorithm}) is not permitted by "
-                            f"PEP 427"
-                        )
-
-                    self._file_hashes[path] = (
-                        algorithm,
-                        urlsafe_b64decode(hash_sum.encode("ascii")),
-                    )
-
-    def open(self, name_or_info, mode="r", pwd=None):
-        def _update_crc(newdata):
-            eof = ef._eof
-            update_crc_orig(newdata)
-            running_hash.update(newdata)
-            if eof and running_hash.digest() != expected_hash:
-                raise WheelError(f"Hash mismatch for file '{ef_name}'")
-
-        ef_name = (
-            name_or_info.filename if isinstance(name_or_info, ZipInfo) else name_or_info
-        )
-        if (
-            mode == "r"
-            and not ef_name.endswith("/")
-            and ef_name not in self._file_hashes
-        ):
-            raise WheelError(f"No hash found for file '{ef_name}'")
-
-        ef = ZipFile.open(self, name_or_info, mode, pwd)
-        if mode == "r" and not ef_name.endswith("/"):
-            algorithm, expected_hash = self._file_hashes[ef_name]
-            if expected_hash is not None:
-                # Monkey patch the _update_crc method to also check for the hash from
-                # RECORD
-                running_hash = hashlib.new(algorithm)
-                update_crc_orig, ef._update_crc = ef._update_crc, _update_crc
-
-        return ef
-
-    def write_files(self, base_dir):
-        log.info(f"creating '{self.filename}' and adding '{base_dir}' to it")
-        deferred = []
-        for root, dirnames, filenames in os.walk(base_dir):
-            # Sort the directory names so that `os.walk` will walk them in a
-            # defined order on the next iteration.
-            dirnames.sort()
-            for name in sorted(filenames):
-                path = os.path.normpath(os.path.join(root, name))
-                if os.path.isfile(path):
-                    arcname = os.path.relpath(path, base_dir).replace(os.path.sep, "/")
-                    if arcname == self.record_path:
-                        pass
-                    elif root.endswith(".dist-info"):
-                        deferred.append((path, arcname))
-                    else:
-                        self.write(path, arcname)
-
-        deferred.sort()
-        for path, arcname in deferred:
-            self.write(path, arcname)
-
-    def write(self, filename, arcname=None, compress_type=None):
-        with open(filename, "rb") as f:
-            st = os.fstat(f.fileno())
-            data = f.read()
-
-        zinfo = ZipInfo(
-            arcname or filename, date_time=get_zipinfo_datetime(st.st_mtime)
-        )
-        zinfo.external_attr = (stat.S_IMODE(st.st_mode) | stat.S_IFMT(st.st_mode)) << 16
-        zinfo.compress_type = compress_type or self.compression
-        self.writestr(zinfo, data, compress_type)
-
-    def writestr(self, zinfo_or_arcname, data, compress_type=None):
-        if isinstance(zinfo_or_arcname, str):
-            zinfo_or_arcname = ZipInfo(
-                zinfo_or_arcname, date_time=get_zipinfo_datetime()
-            )
-            zinfo_or_arcname.compress_type = self.compression
-            zinfo_or_arcname.external_attr = (0o664 | stat.S_IFREG) << 16
-
-        if isinstance(data, str):
-            data = data.encode("utf-8")
-
-        ZipFile.writestr(self, zinfo_or_arcname, data, compress_type)
-        fname = (
-            zinfo_or_arcname.filename
-            if isinstance(zinfo_or_arcname, ZipInfo)
-            else zinfo_or_arcname
-        )
-        log.info(f"adding '{fname}'")
-        if fname != self.record_path:
-            hash_ = self._default_algorithm(data)
-            self._file_hashes[fname] = (
-                hash_.name,
-                urlsafe_b64encode(hash_.digest()).decode("ascii"),
-            )
-            self._file_sizes[fname] = len(data)
-
-    def close(self):
-        # Write RECORD
-        if self.fp is not None and self.mode == "w" and self._file_hashes:
-            data = StringIO()
-            writer = csv.writer(data, delimiter=",", quotechar='"', lineterminator="\n")
-            writer.writerows(
-                (
-                    (fname, algorithm + "=" + hash_, self._file_sizes[fname])
-                    for fname, (algorithm, hash_) in self._file_hashes.items()
-                )
-            )
-            writer.writerow((format(self.record_path), "", ""))
-            self.writestr(self.record_path, data.getvalue())
-
-        ZipFile.close(self)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/INSTALLER
deleted file mode 100644
index a1b589e3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/INSTALLER
+++ /dev/null
@@ -1 +0,0 @@
-pip
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/LICENSE
deleted file mode 100644
index 1bb5a443..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/LICENSE
+++ /dev/null
@@ -1,17 +0,0 @@
-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/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/METADATA
deleted file mode 100644
index 13992817..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/METADATA
+++ /dev/null
@@ -1,102 +0,0 @@
-Metadata-Version: 2.1
-Name: zipp
-Version: 3.19.2
-Summary: Backport of pathlib-compatible object wrapper for zip files
-Author-email: "Jason R. Coombs" 
-Project-URL: Homepage, https://github.com/jaraco/zipp
-Classifier: Development Status :: 5 - Production/Stable
-Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3 :: Only
-Requires-Python: >=3.8
-Description-Content-Type: text/x-rst
-License-File: LICENSE
-Provides-Extra: doc
-Requires-Dist: sphinx >=3.5 ; extra == 'doc'
-Requires-Dist: jaraco.packaging >=9.3 ; extra == 'doc'
-Requires-Dist: rst.linker >=1.9 ; extra == 'doc'
-Requires-Dist: furo ; extra == 'doc'
-Requires-Dist: sphinx-lint ; extra == 'doc'
-Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'doc'
-Provides-Extra: test
-Requires-Dist: pytest !=8.1.*,>=6 ; extra == 'test'
-Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'test'
-Requires-Dist: pytest-cov ; extra == 'test'
-Requires-Dist: pytest-mypy ; extra == 'test'
-Requires-Dist: pytest-enabler >=2.2 ; extra == 'test'
-Requires-Dist: pytest-ruff >=0.2.1 ; extra == 'test'
-Requires-Dist: jaraco.itertools ; extra == 'test'
-Requires-Dist: jaraco.functools ; extra == 'test'
-Requires-Dist: more-itertools ; extra == 'test'
-Requires-Dist: big-O ; extra == 'test'
-Requires-Dist: pytest-ignore-flaky ; extra == 'test'
-Requires-Dist: jaraco.test ; extra == 'test'
-Requires-Dist: importlib-resources ; (python_version < "3.9") and extra == 'test'
-
-.. image:: https://img.shields.io/pypi/v/zipp.svg
-   :target: https://pypi.org/project/zipp
-
-.. image:: https://img.shields.io/pypi/pyversions/zipp.svg
-
-.. image:: https://github.com/jaraco/zipp/actions/workflows/main.yml/badge.svg
-   :target: https://github.com/jaraco/zipp/actions?query=workflow%3A%22tests%22
-   :alt: tests
-
-.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
-    :target: https://github.com/astral-sh/ruff
-    :alt: Ruff
-
-.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
-..    :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest
-
-.. image:: https://img.shields.io/badge/skeleton-2024-informational
-   :target: https://blog.jaraco.com/skeleton
-
-.. image:: https://tidelift.com/badges/package/pypi/zipp
-   :target: https://tidelift.com/subscription/pkg/pypi-zipp?utm_source=pypi-zipp&utm_medium=readme
-
-
-A pathlib-compatible Zipfile object wrapper. Official backport of the standard library
-`Path object `_.
-
-
-Compatibility
-=============
-
-New features are introduced in this third-party library and later merged
-into CPython. The following table indicates which versions of this library
-were contributed to different versions in the standard library:
-
-.. list-table::
-   :header-rows: 1
-
-   * - zipp
-     - stdlib
-   * - 3.18
-     - 3.13
-   * - 3.16
-     - 3.12
-   * - 3.5
-     - 3.11
-   * - 3.2
-     - 3.10
-   * - 3.3 ??
-     - 3.9
-   * - 1.0
-     - 3.8
-
-
-Usage
-=====
-
-Use ``zipp.Path`` in place of ``zipfile.Path`` on any Python.
-
-For Enterprise
-==============
-
-Available as part of the Tidelift Subscription.
-
-This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.
-
-`Learn more `_.
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/RECORD
deleted file mode 100644
index 77c02835..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/RECORD
+++ /dev/null
@@ -1,15 +0,0 @@
-zipp-3.19.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
-zipp-3.19.2.dist-info/LICENSE,sha256=htoPAa6uRjSKPD1GUZXcHOzN55956HdppkuNoEsqR0E,1023
-zipp-3.19.2.dist-info/METADATA,sha256=UIrk_kMIHGSwsKKChYizqMw0MMZpPRZ2ZiVpQAsN_bE,3575
-zipp-3.19.2.dist-info/RECORD,,
-zipp-3.19.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-zipp-3.19.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
-zipp-3.19.2.dist-info/top_level.txt,sha256=iAbdoSHfaGqBfVb2XuR9JqSQHCoOsOtG6y9C_LSpqFw,5
-zipp/__init__.py,sha256=QuI1g00G4fRAcGt-HqbV0oWIkmSgedCGGYsHHYzNa8A,13412
-zipp/__pycache__/__init__.cpython-312.pyc,,
-zipp/__pycache__/glob.cpython-312.pyc,,
-zipp/compat/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-zipp/compat/__pycache__/__init__.cpython-312.pyc,,
-zipp/compat/__pycache__/py310.cpython-312.pyc,,
-zipp/compat/py310.py,sha256=eZpkW0zRtunkhEh8jjX3gCGe22emoKCBJw72Zt4RkhA,219
-zipp/glob.py,sha256=etWpnfEoRyfUvrUsi6sTiGmErvPwe6HzY6pT8jg_lUI,3082
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/REQUESTED
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/WHEEL
deleted file mode 100644
index bab98d67..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/WHEEL
+++ /dev/null
@@ -1,5 +0,0 @@
-Wheel-Version: 1.0
-Generator: bdist_wheel (0.43.0)
-Root-Is-Purelib: true
-Tag: py3-none-any
-
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/top_level.txt
deleted file mode 100644
index e82f676f..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp-3.19.2.dist-info/top_level.txt
+++ /dev/null
@@ -1 +0,0 @@
-zipp
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/__init__.py
deleted file mode 100644
index d65297b8..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/__init__.py
+++ /dev/null
@@ -1,501 +0,0 @@
-import io
-import posixpath
-import zipfile
-import itertools
-import contextlib
-import pathlib
-import re
-import stat
-import sys
-
-from .compat.py310 import text_encoding
-from .glob import Translator
-
-
-__all__ = ['Path']
-
-
-def _parents(path):
-    """
-    Given a path with elements separated by
-    posixpath.sep, generate all parents of that path.
-
-    >>> list(_parents('b/d'))
-    ['b']
-    >>> list(_parents('/b/d/'))
-    ['/b']
-    >>> list(_parents('b/d/f/'))
-    ['b/d', 'b']
-    >>> list(_parents('b'))
-    []
-    >>> list(_parents(''))
-    []
-    """
-    return itertools.islice(_ancestry(path), 1, None)
-
-
-def _ancestry(path):
-    """
-    Given a path with elements separated by
-    posixpath.sep, generate all elements of that path
-
-    >>> list(_ancestry('b/d'))
-    ['b/d', 'b']
-    >>> list(_ancestry('/b/d/'))
-    ['/b/d', '/b']
-    >>> list(_ancestry('b/d/f/'))
-    ['b/d/f', 'b/d', 'b']
-    >>> list(_ancestry('b'))
-    ['b']
-    >>> list(_ancestry(''))
-    []
-    """
-    path = path.rstrip(posixpath.sep)
-    while path and path != posixpath.sep:
-        yield path
-        path, tail = posixpath.split(path)
-
-
-_dedupe = dict.fromkeys
-"""Deduplicate an iterable in original order"""
-
-
-def _difference(minuend, subtrahend):
-    """
-    Return items in minuend not in subtrahend, retaining order
-    with O(1) lookup.
-    """
-    return itertools.filterfalse(set(subtrahend).__contains__, minuend)
-
-
-class InitializedState:
-    """
-    Mix-in to save the initialization state for pickling.
-    """
-
-    def __init__(self, *args, **kwargs):
-        self.__args = args
-        self.__kwargs = kwargs
-        super().__init__(*args, **kwargs)
-
-    def __getstate__(self):
-        return self.__args, self.__kwargs
-
-    def __setstate__(self, state):
-        args, kwargs = state
-        super().__init__(*args, **kwargs)
-
-
-class SanitizedNames:
-    """
-    ZipFile mix-in to ensure names are sanitized.
-    """
-
-    def namelist(self):
-        return list(map(self._sanitize, super().namelist()))
-
-    @staticmethod
-    def _sanitize(name):
-        r"""
-        Ensure a relative path with posix separators and no dot names.
-
-        Modeled after
-        https://github.com/python/cpython/blob/bcc1be39cb1d04ad9fc0bd1b9193d3972835a57c/Lib/zipfile/__init__.py#L1799-L1813
-        but provides consistent cross-platform behavior.
-
-        >>> san = SanitizedNames._sanitize
-        >>> san('/foo/bar')
-        'foo/bar'
-        >>> san('//foo.txt')
-        'foo.txt'
-        >>> san('foo/.././bar.txt')
-        'foo/bar.txt'
-        >>> san('foo../.bar.txt')
-        'foo../.bar.txt'
-        >>> san('\\foo\\bar.txt')
-        'foo/bar.txt'
-        >>> san('D:\\foo.txt')
-        'D/foo.txt'
-        >>> san('\\\\server\\share\\file.txt')
-        'server/share/file.txt'
-        >>> san('\\\\?\\GLOBALROOT\\Volume3')
-        '?/GLOBALROOT/Volume3'
-        >>> san('\\\\.\\PhysicalDrive1\\root')
-        'PhysicalDrive1/root'
-
-        Retain any trailing slash.
-        >>> san('abc/')
-        'abc/'
-
-        Raises a ValueError if the result is empty.
-        >>> san('../..')
-        Traceback (most recent call last):
-        ...
-        ValueError: Empty filename
-        """
-
-        def allowed(part):
-            return part and part not in {'..', '.'}
-
-        # Remove the drive letter.
-        # Don't use ntpath.splitdrive, because that also strips UNC paths
-        bare = re.sub('^([A-Z]):', r'\1', name, flags=re.IGNORECASE)
-        clean = bare.replace('\\', '/')
-        parts = clean.split('/')
-        joined = '/'.join(filter(allowed, parts))
-        if not joined:
-            raise ValueError("Empty filename")
-        return joined + '/' * name.endswith('/')
-
-
-class CompleteDirs(InitializedState, SanitizedNames, zipfile.ZipFile):
-    """
-    A ZipFile subclass that ensures that implied directories
-    are always included in the namelist.
-
-    >>> list(CompleteDirs._implied_dirs(['foo/bar.txt', 'foo/bar/baz.txt']))
-    ['foo/', 'foo/bar/']
-    >>> list(CompleteDirs._implied_dirs(['foo/bar.txt', 'foo/bar/baz.txt', 'foo/bar/']))
-    ['foo/']
-    """
-
-    @staticmethod
-    def _implied_dirs(names):
-        parents = itertools.chain.from_iterable(map(_parents, names))
-        as_dirs = (p + posixpath.sep for p in parents)
-        return _dedupe(_difference(as_dirs, names))
-
-    def namelist(self):
-        names = super().namelist()
-        return names + list(self._implied_dirs(names))
-
-    def _name_set(self):
-        return set(self.namelist())
-
-    def resolve_dir(self, name):
-        """
-        If the name represents a directory, return that name
-        as a directory (with the trailing slash).
-        """
-        names = self._name_set()
-        dirname = name + '/'
-        dir_match = name not in names and dirname in names
-        return dirname if dir_match else name
-
-    def getinfo(self, name):
-        """
-        Supplement getinfo for implied dirs.
-        """
-        try:
-            return super().getinfo(name)
-        except KeyError:
-            if not name.endswith('/') or name not in self._name_set():
-                raise
-            return zipfile.ZipInfo(filename=name)
-
-    @classmethod
-    def make(cls, source):
-        """
-        Given a source (filename or zipfile), return an
-        appropriate CompleteDirs subclass.
-        """
-        if isinstance(source, CompleteDirs):
-            return source
-
-        if not isinstance(source, zipfile.ZipFile):
-            return cls(source)
-
-        # Only allow for FastLookup when supplied zipfile is read-only
-        if 'r' not in source.mode:
-            cls = CompleteDirs
-
-        source.__class__ = cls
-        return source
-
-    @classmethod
-    def inject(cls, zf: zipfile.ZipFile) -> zipfile.ZipFile:
-        """
-        Given a writable zip file zf, inject directory entries for
-        any directories implied by the presence of children.
-        """
-        for name in cls._implied_dirs(zf.namelist()):
-            zf.writestr(name, b"")
-        return zf
-
-
-class FastLookup(CompleteDirs):
-    """
-    ZipFile subclass to ensure implicit
-    dirs exist and are resolved rapidly.
-    """
-
-    def namelist(self):
-        with contextlib.suppress(AttributeError):
-            return self.__names
-        self.__names = super().namelist()
-        return self.__names
-
-    def _name_set(self):
-        with contextlib.suppress(AttributeError):
-            return self.__lookup
-        self.__lookup = super()._name_set()
-        return self.__lookup
-
-
-def _extract_text_encoding(encoding=None, *args, **kwargs):
-    # compute stack level so that the caller of the caller sees any warning.
-    is_pypy = sys.implementation.name == 'pypy'
-    stack_level = 3 + is_pypy
-    return text_encoding(encoding, stack_level), args, kwargs
-
-
-class Path:
-    """
-    A :class:`importlib.resources.abc.Traversable` interface for zip files.
-
-    Implements many of the features users enjoy from
-    :class:`pathlib.Path`.
-
-    Consider a zip file with this structure::
-
-        .
-        ├── a.txt
-        └── b
-            ├── c.txt
-            └── d
-                └── e.txt
-
-    >>> data = io.BytesIO()
-    >>> zf = zipfile.ZipFile(data, 'w')
-    >>> zf.writestr('a.txt', 'content of a')
-    >>> zf.writestr('b/c.txt', 'content of c')
-    >>> zf.writestr('b/d/e.txt', 'content of e')
-    >>> zf.filename = 'mem/abcde.zip'
-
-    Path accepts the zipfile object itself or a filename
-
-    >>> path = Path(zf)
-
-    From there, several path operations are available.
-
-    Directory iteration (including the zip file itself):
-
-    >>> a, b = path.iterdir()
-    >>> a
-    Path('mem/abcde.zip', 'a.txt')
-    >>> b
-    Path('mem/abcde.zip', 'b/')
-
-    name property:
-
-    >>> b.name
-    'b'
-
-    join with divide operator:
-
-    >>> c = b / 'c.txt'
-    >>> c
-    Path('mem/abcde.zip', 'b/c.txt')
-    >>> c.name
-    'c.txt'
-
-    Read text:
-
-    >>> c.read_text(encoding='utf-8')
-    'content of c'
-
-    existence:
-
-    >>> c.exists()
-    True
-    >>> (b / 'missing.txt').exists()
-    False
-
-    Coercion to string:
-
-    >>> import os
-    >>> str(c).replace(os.sep, posixpath.sep)
-    'mem/abcde.zip/b/c.txt'
-
-    At the root, ``name``, ``filename``, and ``parent``
-    resolve to the zipfile.
-
-    >>> str(path)
-    'mem/abcde.zip/'
-    >>> path.name
-    'abcde.zip'
-    >>> path.filename == pathlib.Path('mem/abcde.zip')
-    True
-    >>> str(path.parent)
-    'mem'
-
-    If the zipfile has no filename, such attributes are not
-    valid and accessing them will raise an Exception.
-
-    >>> zf.filename = None
-    >>> path.name
-    Traceback (most recent call last):
-    ...
-    TypeError: ...
-
-    >>> path.filename
-    Traceback (most recent call last):
-    ...
-    TypeError: ...
-
-    >>> path.parent
-    Traceback (most recent call last):
-    ...
-    TypeError: ...
-
-    # workaround python/cpython#106763
-    >>> pass
-    """
-
-    __repr = "{self.__class__.__name__}({self.root.filename!r}, {self.at!r})"
-
-    def __init__(self, root, at=""):
-        """
-        Construct a Path from a ZipFile or filename.
-
-        Note: When the source is an existing ZipFile object,
-        its type (__class__) will be mutated to a
-        specialized type. If the caller wishes to retain the
-        original type, the caller should either create a
-        separate ZipFile object or pass a filename.
-        """
-        self.root = FastLookup.make(root)
-        self.at = at
-
-    def __eq__(self, other):
-        """
-        >>> Path(zipfile.ZipFile(io.BytesIO(), 'w')) == 'foo'
-        False
-        """
-        if self.__class__ is not other.__class__:
-            return NotImplemented
-        return (self.root, self.at) == (other.root, other.at)
-
-    def __hash__(self):
-        return hash((self.root, self.at))
-
-    def open(self, mode='r', *args, pwd=None, **kwargs):
-        """
-        Open this entry as text or binary following the semantics
-        of ``pathlib.Path.open()`` by passing arguments through
-        to io.TextIOWrapper().
-        """
-        if self.is_dir():
-            raise IsADirectoryError(self)
-        zip_mode = mode[0]
-        if not self.exists() and zip_mode == 'r':
-            raise FileNotFoundError(self)
-        stream = self.root.open(self.at, zip_mode, pwd=pwd)
-        if 'b' in mode:
-            if args or kwargs:
-                raise ValueError("encoding args invalid for binary operation")
-            return stream
-        # Text mode:
-        encoding, args, kwargs = _extract_text_encoding(*args, **kwargs)
-        return io.TextIOWrapper(stream, encoding, *args, **kwargs)
-
-    def _base(self):
-        return pathlib.PurePosixPath(self.at or self.root.filename)
-
-    @property
-    def name(self):
-        return self._base().name
-
-    @property
-    def suffix(self):
-        return self._base().suffix
-
-    @property
-    def suffixes(self):
-        return self._base().suffixes
-
-    @property
-    def stem(self):
-        return self._base().stem
-
-    @property
-    def filename(self):
-        return pathlib.Path(self.root.filename).joinpath(self.at)
-
-    def read_text(self, *args, **kwargs):
-        encoding, args, kwargs = _extract_text_encoding(*args, **kwargs)
-        with self.open('r', encoding, *args, **kwargs) as strm:
-            return strm.read()
-
-    def read_bytes(self):
-        with self.open('rb') as strm:
-            return strm.read()
-
-    def _is_child(self, path):
-        return posixpath.dirname(path.at.rstrip("/")) == self.at.rstrip("/")
-
-    def _next(self, at):
-        return self.__class__(self.root, at)
-
-    def is_dir(self):
-        return not self.at or self.at.endswith("/")
-
-    def is_file(self):
-        return self.exists() and not self.is_dir()
-
-    def exists(self):
-        return self.at in self.root._name_set()
-
-    def iterdir(self):
-        if not self.is_dir():
-            raise ValueError("Can't listdir a file")
-        subs = map(self._next, self.root.namelist())
-        return filter(self._is_child, subs)
-
-    def match(self, path_pattern):
-        return pathlib.PurePosixPath(self.at).match(path_pattern)
-
-    def is_symlink(self):
-        """
-        Return whether this path is a symlink.
-        """
-        info = self.root.getinfo(self.at)
-        mode = info.external_attr >> 16
-        return stat.S_ISLNK(mode)
-
-    def glob(self, pattern):
-        if not pattern:
-            raise ValueError(f"Unacceptable pattern: {pattern!r}")
-
-        prefix = re.escape(self.at)
-        tr = Translator(seps='/')
-        matches = re.compile(prefix + tr.translate(pattern)).fullmatch
-        names = (data.filename for data in self.root.filelist)
-        return map(self._next, filter(matches, names))
-
-    def rglob(self, pattern):
-        return self.glob(f'**/{pattern}')
-
-    def relative_to(self, other, *extra):
-        return posixpath.relpath(str(self), str(other.joinpath(*extra)))
-
-    def __str__(self):
-        return posixpath.join(self.root.filename, self.at)
-
-    def __repr__(self):
-        return self.__repr.format(self=self)
-
-    def joinpath(self, *other):
-        next = posixpath.join(self.at, *other)
-        return self._next(self.root.resolve_dir(next))
-
-    __truediv__ = joinpath
-
-    @property
-    def parent(self):
-        if not self.at:
-            return self.filename.parent
-        parent_at = posixpath.dirname(self.at.rstrip('/'))
-        if parent_at:
-            parent_at += '/'
-        return self._next(parent_at)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index b258b276..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/__pycache__/glob.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/__pycache__/glob.cpython-312.pyc
deleted file mode 100644
index cecfbfef..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/__pycache__/glob.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index a442f34e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/__pycache__/py310.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/__pycache__/py310.cpython-312.pyc
deleted file mode 100644
index ad887884..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/__pycache__/py310.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/py310.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/py310.py
deleted file mode 100644
index d5ca53e0..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/compat/py310.py
+++ /dev/null
@@ -1,11 +0,0 @@
-import sys
-import io
-
-
-def _text_encoding(encoding, stacklevel=2, /):  # pragma: no cover
-    return encoding
-
-
-text_encoding = (
-    io.text_encoding if sys.version_info > (3, 10) else _text_encoding  # type: ignore
-)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/glob.py b/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/glob.py
deleted file mode 100644
index 69c41d77..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/_vendor/zipp/glob.py
+++ /dev/null
@@ -1,106 +0,0 @@
-import os
-import re
-
-
-_default_seps = os.sep + str(os.altsep) * bool(os.altsep)
-
-
-class Translator:
-    """
-    >>> Translator('xyz')
-    Traceback (most recent call last):
-    ...
-    AssertionError: Invalid separators
-
-    >>> Translator('')
-    Traceback (most recent call last):
-    ...
-    AssertionError: Invalid separators
-    """
-
-    seps: str
-
-    def __init__(self, seps: str = _default_seps):
-        assert seps and set(seps) <= set(_default_seps), "Invalid separators"
-        self.seps = seps
-
-    def translate(self, pattern):
-        """
-        Given a glob pattern, produce a regex that matches it.
-        """
-        return self.extend(self.translate_core(pattern))
-
-    def extend(self, pattern):
-        r"""
-        Extend regex for pattern-wide concerns.
-
-        Apply '(?s:)' to create a non-matching group that
-        matches newlines (valid on Unix).
-
-        Append '\Z' to imply fullmatch even when match is used.
-        """
-        return rf'(?s:{pattern})\Z'
-
-    def translate_core(self, pattern):
-        r"""
-        Given a glob pattern, produce a regex that matches it.
-
-        >>> t = Translator()
-        >>> t.translate_core('*.txt').replace('\\\\', '')
-        '[^/]*\\.txt'
-        >>> t.translate_core('a?txt')
-        'a[^/]txt'
-        >>> t.translate_core('**/*').replace('\\\\', '')
-        '.*/[^/][^/]*'
-        """
-        self.restrict_rglob(pattern)
-        return ''.join(map(self.replace, separate(self.star_not_empty(pattern))))
-
-    def replace(self, match):
-        """
-        Perform the replacements for a match from :func:`separate`.
-        """
-        return match.group('set') or (
-            re.escape(match.group(0))
-            .replace('\\*\\*', r'.*')
-            .replace('\\*', rf'[^{re.escape(self.seps)}]*')
-            .replace('\\?', r'[^/]')
-        )
-
-    def restrict_rglob(self, pattern):
-        """
-        Raise ValueError if ** appears in anything but a full path segment.
-
-        >>> Translator().translate('**foo')
-        Traceback (most recent call last):
-        ...
-        ValueError: ** must appear alone in a path segment
-        """
-        seps_pattern = rf'[{re.escape(self.seps)}]+'
-        segments = re.split(seps_pattern, pattern)
-        if any('**' in segment and segment != '**' for segment in segments):
-            raise ValueError("** must appear alone in a path segment")
-
-    def star_not_empty(self, pattern):
-        """
-        Ensure that * will not match an empty segment.
-        """
-
-        def handle_segment(match):
-            segment = match.group(0)
-            return '?*' if segment == '*' else segment
-
-        not_seps_pattern = rf'[^{re.escape(self.seps)}]+'
-        return re.sub(not_seps_pattern, handle_segment, pattern)
-
-
-def separate(pattern):
-    """
-    Separate out character sets to avoid translating their contents.
-
-    >>> [m.group(0) for m in separate('*.txt')]
-    ['*.txt']
-    >>> [m.group(0) for m in separate('a[?]txt')]
-    ['a', '[?]', 'txt']
-    """
-    return re.finditer(r'([^\[]+)|(?P[\[].*?[\]])|([\[][^\]]*$)', pattern)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/archive_util.py b/.venv/lib/python3.12/site-packages/setuptools/archive_util.py
deleted file mode 100644
index cd9cf9c0..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/archive_util.py
+++ /dev/null
@@ -1,219 +0,0 @@
-"""Utilities for extracting common archive formats"""
-
-import contextlib
-import os
-import posixpath
-import shutil
-import tarfile
-import zipfile
-
-from ._path import ensure_directory
-
-from distutils.errors import DistutilsError
-
-__all__ = [
-    "unpack_archive",
-    "unpack_zipfile",
-    "unpack_tarfile",
-    "default_filter",
-    "UnrecognizedFormat",
-    "extraction_drivers",
-    "unpack_directory",
-]
-
-
-class UnrecognizedFormat(DistutilsError):
-    """Couldn't recognize the archive type"""
-
-
-def default_filter(src, dst):
-    """The default progress/filter callback; returns True for all files"""
-    return dst
-
-
-def unpack_archive(
-    filename, extract_dir, progress_filter=default_filter, drivers=None
-) -> None:
-    """Unpack `filename` to `extract_dir`, or raise ``UnrecognizedFormat``
-
-    `progress_filter` is a function taking two arguments: a source path
-    internal to the archive ('/'-separated), and a filesystem path where it
-    will be extracted.  The callback must return the desired extract path
-    (which may be the same as the one passed in), or else ``None`` to skip
-    that file or directory.  The callback can thus be used to report on the
-    progress of the extraction, as well as to filter the items extracted or
-    alter their extraction paths.
-
-    `drivers`, if supplied, must be a non-empty sequence of functions with the
-    same signature as this function (minus the `drivers` argument), that raise
-    ``UnrecognizedFormat`` if they do not support extracting the designated
-    archive type.  The `drivers` are tried in sequence until one is found that
-    does not raise an error, or until all are exhausted (in which case
-    ``UnrecognizedFormat`` is raised).  If you do not supply a sequence of
-    drivers, the module's ``extraction_drivers`` constant will be used, which
-    means that ``unpack_zipfile`` and ``unpack_tarfile`` will be tried, in that
-    order.
-    """
-    for driver in drivers or extraction_drivers:
-        try:
-            driver(filename, extract_dir, progress_filter)
-        except UnrecognizedFormat:
-            continue
-        else:
-            return
-    else:
-        raise UnrecognizedFormat("Not a recognized archive type: %s" % filename)
-
-
-def unpack_directory(filename, extract_dir, progress_filter=default_filter) -> None:
-    """ "Unpack" a directory, using the same interface as for archives
-
-    Raises ``UnrecognizedFormat`` if `filename` is not a directory
-    """
-    if not os.path.isdir(filename):
-        raise UnrecognizedFormat("%s is not a directory" % filename)
-
-    paths = {
-        filename: ('', extract_dir),
-    }
-    for base, dirs, files in os.walk(filename):
-        src, dst = paths[base]
-        for d in dirs:
-            paths[os.path.join(base, d)] = src + d + '/', os.path.join(dst, d)
-        for f in files:
-            target = os.path.join(dst, f)
-            target = progress_filter(src + f, target)
-            if not target:
-                # skip non-files
-                continue
-            ensure_directory(target)
-            f = os.path.join(base, f)
-            shutil.copyfile(f, target)
-            shutil.copystat(f, target)
-
-
-def unpack_zipfile(filename, extract_dir, progress_filter=default_filter) -> None:
-    """Unpack zip `filename` to `extract_dir`
-
-    Raises ``UnrecognizedFormat`` if `filename` is not a zipfile (as determined
-    by ``zipfile.is_zipfile()``).  See ``unpack_archive()`` for an explanation
-    of the `progress_filter` argument.
-    """
-
-    if not zipfile.is_zipfile(filename):
-        raise UnrecognizedFormat("%s is not a zip file" % (filename,))
-
-    with zipfile.ZipFile(filename) as z:
-        _unpack_zipfile_obj(z, extract_dir, progress_filter)
-
-
-def _unpack_zipfile_obj(zipfile_obj, extract_dir, progress_filter=default_filter):
-    """Internal/private API used by other parts of setuptools.
-    Similar to ``unpack_zipfile``, but receives an already opened :obj:`zipfile.ZipFile`
-    object instead of a filename.
-    """
-    for info in zipfile_obj.infolist():
-        name = info.filename
-
-        # don't extract absolute paths or ones with .. in them
-        if name.startswith('/') or '..' in name.split('/'):
-            continue
-
-        target = os.path.join(extract_dir, *name.split('/'))
-        target = progress_filter(name, target)
-        if not target:
-            continue
-        if name.endswith('/'):
-            # directory
-            ensure_directory(target)
-        else:
-            # file
-            ensure_directory(target)
-            data = zipfile_obj.read(info.filename)
-            with open(target, 'wb') as f:
-                f.write(data)
-        unix_attributes = info.external_attr >> 16
-        if unix_attributes:
-            os.chmod(target, unix_attributes)
-
-
-def _resolve_tar_file_or_dir(tar_obj, tar_member_obj):
-    """Resolve any links and extract link targets as normal files."""
-    while tar_member_obj is not None and (
-        tar_member_obj.islnk() or tar_member_obj.issym()
-    ):
-        linkpath = tar_member_obj.linkname
-        if tar_member_obj.issym():
-            base = posixpath.dirname(tar_member_obj.name)
-            linkpath = posixpath.join(base, linkpath)
-            linkpath = posixpath.normpath(linkpath)
-        tar_member_obj = tar_obj._getmember(linkpath)
-
-    is_file_or_dir = tar_member_obj is not None and (
-        tar_member_obj.isfile() or tar_member_obj.isdir()
-    )
-    if is_file_or_dir:
-        return tar_member_obj
-
-    raise LookupError('Got unknown file type')
-
-
-def _iter_open_tar(tar_obj, extract_dir, progress_filter):
-    """Emit member-destination pairs from a tar archive."""
-    # don't do any chowning!
-    tar_obj.chown = lambda *args: None
-
-    with contextlib.closing(tar_obj):
-        for member in tar_obj:
-            name = member.name
-            # don't extract absolute paths or ones with .. in them
-            if name.startswith('/') or '..' in name.split('/'):
-                continue
-
-            prelim_dst = os.path.join(extract_dir, *name.split('/'))
-
-            try:
-                member = _resolve_tar_file_or_dir(tar_obj, member)
-            except LookupError:
-                continue
-
-            final_dst = progress_filter(name, prelim_dst)
-            if not final_dst:
-                continue
-
-            if final_dst.endswith(os.sep):
-                final_dst = final_dst[:-1]
-
-            yield member, final_dst
-
-
-def unpack_tarfile(filename, extract_dir, progress_filter=default_filter) -> bool:
-    """Unpack tar/tar.gz/tar.bz2 `filename` to `extract_dir`
-
-    Raises ``UnrecognizedFormat`` if `filename` is not a tarfile (as determined
-    by ``tarfile.open()``).  See ``unpack_archive()`` for an explanation
-    of the `progress_filter` argument.
-    """
-    try:
-        tarobj = tarfile.open(filename)
-    except tarfile.TarError as e:
-        raise UnrecognizedFormat(
-            "%s is not a compressed or uncompressed tar file" % (filename,)
-        ) from e
-
-    for member, final_dst in _iter_open_tar(
-        tarobj,
-        extract_dir,
-        progress_filter,
-    ):
-        try:
-            # XXX Ugh
-            tarobj._extract_member(member, final_dst)
-        except tarfile.ExtractError:
-            # chown/chmod/mkfifo/mknode/makedev failed
-            pass
-
-    return True
-
-
-extraction_drivers = unpack_directory, unpack_zipfile, unpack_tarfile
diff --git a/.venv/lib/python3.12/site-packages/setuptools/build_meta.py b/.venv/lib/python3.12/site-packages/setuptools/build_meta.py
deleted file mode 100644
index 00fa5e1f..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/build_meta.py
+++ /dev/null
@@ -1,560 +0,0 @@
-"""A PEP 517 interface to setuptools
-
-Previously, when a user or a command line tool (let's call it a "frontend")
-needed to make a request of setuptools to take a certain action, for
-example, generating a list of installation requirements, the frontend
-would call "setup.py egg_info" or "setup.py bdist_wheel" on the command line.
-
-PEP 517 defines a different method of interfacing with setuptools. Rather
-than calling "setup.py" directly, the frontend should:
-
-  1. Set the current directory to the directory with a setup.py file
-  2. Import this module into a safe python interpreter (one in which
-     setuptools can potentially set global variables or crash hard).
-  3. Call one of the functions defined in PEP 517.
-
-What each function does is defined in PEP 517. However, here is a "casual"
-definition of the functions (this definition should not be relied on for
-bug reports or API stability):
-
-  - `build_wheel`: build a wheel in the folder and return the basename
-  - `get_requires_for_build_wheel`: get the `setup_requires` to build
-  - `prepare_metadata_for_build_wheel`: get the `install_requires`
-  - `build_sdist`: build an sdist in the folder and return the basename
-  - `get_requires_for_build_sdist`: get the `setup_requires` to build
-
-Again, this is not a formal definition! Just a "taste" of the module.
-"""
-
-from __future__ import annotations
-
-import contextlib
-import io
-import os
-import shlex
-import shutil
-import sys
-import tempfile
-import tokenize
-import warnings
-from collections.abc import Iterable, Iterator, Mapping
-from pathlib import Path
-from typing import TYPE_CHECKING, Union
-
-import setuptools
-
-from . import errors
-from ._path import StrPath, same_path
-from ._reqs import parse_strings
-from .warnings import SetuptoolsDeprecationWarning
-
-import distutils
-from distutils.util import strtobool
-
-if TYPE_CHECKING:
-    from typing_extensions import TypeAlias
-
-__all__ = [
-    'get_requires_for_build_sdist',
-    'get_requires_for_build_wheel',
-    'prepare_metadata_for_build_wheel',
-    'build_wheel',
-    'build_sdist',
-    'get_requires_for_build_editable',
-    'prepare_metadata_for_build_editable',
-    'build_editable',
-    '__legacy__',
-    'SetupRequirementsError',
-]
-
-SETUPTOOLS_ENABLE_FEATURES = os.getenv("SETUPTOOLS_ENABLE_FEATURES", "").lower()
-LEGACY_EDITABLE = "legacy-editable" in SETUPTOOLS_ENABLE_FEATURES.replace("_", "-")
-
-
-class SetupRequirementsError(BaseException):
-    def __init__(self, specifiers) -> None:
-        self.specifiers = specifiers
-
-
-class Distribution(setuptools.dist.Distribution):
-    def fetch_build_eggs(self, specifiers):
-        specifier_list = list(parse_strings(specifiers))
-
-        raise SetupRequirementsError(specifier_list)
-
-    @classmethod
-    @contextlib.contextmanager
-    def patch(cls):
-        """
-        Replace
-        distutils.dist.Distribution with this class
-        for the duration of this context.
-        """
-        orig = distutils.core.Distribution
-        distutils.core.Distribution = cls  # type: ignore[misc] # monkeypatching
-        try:
-            yield
-        finally:
-            distutils.core.Distribution = orig  # type: ignore[misc] # monkeypatching
-
-
-@contextlib.contextmanager
-def no_install_setup_requires():
-    """Temporarily disable installing setup_requires
-
-    Under PEP 517, the backend reports build dependencies to the frontend,
-    and the frontend is responsible for ensuring they're installed.
-    So setuptools (acting as a backend) should not try to install them.
-    """
-    orig = setuptools._install_setup_requires
-    setuptools._install_setup_requires = lambda attrs: None
-    try:
-        yield
-    finally:
-        setuptools._install_setup_requires = orig
-
-
-def _get_immediate_subdirectories(a_dir):
-    return [
-        name for name in os.listdir(a_dir) if os.path.isdir(os.path.join(a_dir, name))
-    ]
-
-
-def _file_with_extension(directory: StrPath, extension: str | tuple[str, ...]):
-    matching = (f for f in os.listdir(directory) if f.endswith(extension))
-    try:
-        (file,) = matching
-    except ValueError:
-        raise ValueError(
-            'No distribution was found. Ensure that `setup.py` '
-            'is not empty and that it calls `setup()`.'
-        ) from None
-    return file
-
-
-def _open_setup_script(setup_script):
-    if not os.path.exists(setup_script):
-        # Supply a default setup.py
-        return io.StringIO("from setuptools import setup; setup()")
-
-    return tokenize.open(setup_script)
-
-
-@contextlib.contextmanager
-def suppress_known_deprecation():
-    with warnings.catch_warnings():
-        warnings.filterwarnings('ignore', 'setup.py install is deprecated')
-        yield
-
-
-_ConfigSettings: TypeAlias = Union[Mapping[str, Union[str, list[str], None]], None]
-"""
-Currently the user can run::
-
-    pip install -e . --config-settings key=value
-    python -m build -C--key=value -C key=value
-
-- pip will pass both key and value as strings and overwriting repeated keys
-  (pypa/pip#11059).
-- build will accumulate values associated with repeated keys in a list.
-  It will also accept keys with no associated value.
-  This means that an option passed by build can be ``str | list[str] | None``.
-- PEP 517 specifies that ``config_settings`` is an optional dict.
-"""
-
-
-class _ConfigSettingsTranslator:
-    """Translate ``config_settings`` into distutils-style command arguments.
-    Only a limited number of options is currently supported.
-    """
-
-    # See pypa/setuptools#1928 pypa/setuptools#2491
-
-    def _get_config(self, key: str, config_settings: _ConfigSettings) -> list[str]:
-        """
-        Get the value of a specific key in ``config_settings`` as a list of strings.
-
-        >>> fn = _ConfigSettingsTranslator()._get_config
-        >>> fn("--global-option", None)
-        []
-        >>> fn("--global-option", {})
-        []
-        >>> fn("--global-option", {'--global-option': 'foo'})
-        ['foo']
-        >>> fn("--global-option", {'--global-option': ['foo']})
-        ['foo']
-        >>> fn("--global-option", {'--global-option': 'foo'})
-        ['foo']
-        >>> fn("--global-option", {'--global-option': 'foo bar'})
-        ['foo', 'bar']
-        """
-        cfg = config_settings or {}
-        opts = cfg.get(key) or []
-        return shlex.split(opts) if isinstance(opts, str) else opts
-
-    def _global_args(self, config_settings: _ConfigSettings) -> Iterator[str]:
-        """
-        Let the user specify ``verbose`` or ``quiet`` + escape hatch via
-        ``--global-option``.
-        Note: ``-v``, ``-vv``, ``-vvv`` have similar effects in setuptools,
-        so we just have to cover the basic scenario ``-v``.
-
-        >>> fn = _ConfigSettingsTranslator()._global_args
-        >>> list(fn(None))
-        []
-        >>> list(fn({"verbose": "False"}))
-        ['-q']
-        >>> list(fn({"verbose": "1"}))
-        ['-v']
-        >>> list(fn({"--verbose": None}))
-        ['-v']
-        >>> list(fn({"verbose": "true", "--global-option": "-q --no-user-cfg"}))
-        ['-v', '-q', '--no-user-cfg']
-        >>> list(fn({"--quiet": None}))
-        ['-q']
-        """
-        cfg = config_settings or {}
-        falsey = {"false", "no", "0", "off"}
-        if "verbose" in cfg or "--verbose" in cfg:
-            level = str(cfg.get("verbose") or cfg.get("--verbose") or "1")
-            yield ("-q" if level.lower() in falsey else "-v")
-        if "quiet" in cfg or "--quiet" in cfg:
-            level = str(cfg.get("quiet") or cfg.get("--quiet") or "1")
-            yield ("-v" if level.lower() in falsey else "-q")
-
-        yield from self._get_config("--global-option", config_settings)
-
-    def __dist_info_args(self, config_settings: _ConfigSettings) -> Iterator[str]:
-        """
-        The ``dist_info`` command accepts ``tag-date`` and ``tag-build``.
-
-        .. warning::
-           We cannot use this yet as it requires the ``sdist`` and ``bdist_wheel``
-           commands run in ``build_sdist`` and ``build_wheel`` to reuse the egg-info
-           directory created in ``prepare_metadata_for_build_wheel``.
-
-        >>> fn = _ConfigSettingsTranslator()._ConfigSettingsTranslator__dist_info_args
-        >>> list(fn(None))
-        []
-        >>> list(fn({"tag-date": "False"}))
-        ['--no-date']
-        >>> list(fn({"tag-date": None}))
-        ['--no-date']
-        >>> list(fn({"tag-date": "true", "tag-build": ".a"}))
-        ['--tag-date', '--tag-build', '.a']
-        """
-        cfg = config_settings or {}
-        if "tag-date" in cfg:
-            val = strtobool(str(cfg["tag-date"] or "false"))
-            yield ("--tag-date" if val else "--no-date")
-        if "tag-build" in cfg:
-            yield from ["--tag-build", str(cfg["tag-build"])]
-
-    def _editable_args(self, config_settings: _ConfigSettings) -> Iterator[str]:
-        """
-        The ``editable_wheel`` command accepts ``editable-mode=strict``.
-
-        >>> fn = _ConfigSettingsTranslator()._editable_args
-        >>> list(fn(None))
-        []
-        >>> list(fn({"editable-mode": "strict"}))
-        ['--mode', 'strict']
-        """
-        cfg = config_settings or {}
-        mode = cfg.get("editable-mode") or cfg.get("editable_mode")
-        if not mode:
-            return
-        yield from ["--mode", str(mode)]
-
-    def _arbitrary_args(self, config_settings: _ConfigSettings) -> Iterator[str]:
-        """
-        Users may expect to pass arbitrary lists of arguments to a command
-        via "--global-option" (example provided in PEP 517 of a "escape hatch").
-
-        >>> fn = _ConfigSettingsTranslator()._arbitrary_args
-        >>> list(fn(None))
-        []
-        >>> list(fn({}))
-        []
-        >>> list(fn({'--build-option': 'foo'}))
-        ['foo']
-        >>> list(fn({'--build-option': ['foo']}))
-        ['foo']
-        >>> list(fn({'--build-option': 'foo'}))
-        ['foo']
-        >>> list(fn({'--build-option': 'foo bar'}))
-        ['foo', 'bar']
-        >>> list(fn({'--global-option': 'foo'}))
-        []
-        """
-        yield from self._get_config("--build-option", config_settings)
-
-
-class _BuildMetaBackend(_ConfigSettingsTranslator):
-    def _get_build_requires(
-        self, config_settings: _ConfigSettings, requirements: list[str]
-    ):
-        sys.argv = [
-            *sys.argv[:1],
-            *self._global_args(config_settings),
-            "egg_info",
-        ]
-        try:
-            with Distribution.patch():
-                self.run_setup()
-        except SetupRequirementsError as e:
-            requirements += e.specifiers
-
-        return requirements
-
-    def run_setup(self, setup_script: str = 'setup.py'):
-        # Note that we can reuse our build directory between calls
-        # Correctness comes first, then optimization later
-        __file__ = os.path.abspath(setup_script)
-        __name__ = '__main__'
-
-        with _open_setup_script(__file__) as f:
-            code = f.read().replace(r'\r\n', r'\n')
-
-        try:
-            exec(code, locals())
-        except SystemExit as e:
-            if e.code:
-                raise
-            # We ignore exit code indicating success
-            SetuptoolsDeprecationWarning.emit(
-                "Running `setup.py` directly as CLI tool is deprecated.",
-                "Please avoid using `sys.exit(0)` or similar statements "
-                "that don't fit in the paradigm of a configuration file.",
-                see_url="https://blog.ganssle.io/articles/2021/10/"
-                "setup-py-deprecated.html",
-            )
-
-    def get_requires_for_build_wheel(self, config_settings: _ConfigSettings = None):
-        return self._get_build_requires(config_settings, requirements=[])
-
-    def get_requires_for_build_sdist(self, config_settings: _ConfigSettings = None):
-        return self._get_build_requires(config_settings, requirements=[])
-
-    def _bubble_up_info_directory(
-        self, metadata_directory: StrPath, suffix: str
-    ) -> str:
-        """
-        PEP 517 requires that the .dist-info directory be placed in the
-        metadata_directory. To comply, we MUST copy the directory to the root.
-
-        Returns the basename of the info directory, e.g. `proj-0.0.0.dist-info`.
-        """
-        info_dir = self._find_info_directory(metadata_directory, suffix)
-        if not same_path(info_dir.parent, metadata_directory):
-            shutil.move(str(info_dir), metadata_directory)
-            # PEP 517 allow other files and dirs to exist in metadata_directory
-        return info_dir.name
-
-    def _find_info_directory(self, metadata_directory: StrPath, suffix: str) -> Path:
-        for parent, dirs, _ in os.walk(metadata_directory):
-            candidates = [f for f in dirs if f.endswith(suffix)]
-
-            if len(candidates) != 0 or len(dirs) != 1:
-                assert len(candidates) == 1, f"Multiple {suffix} directories found"
-                return Path(parent, candidates[0])
-
-        msg = f"No {suffix} directory found in {metadata_directory}"
-        raise errors.InternalError(msg)
-
-    def prepare_metadata_for_build_wheel(
-        self, metadata_directory: StrPath, config_settings: _ConfigSettings = None
-    ):
-        sys.argv = [
-            *sys.argv[:1],
-            *self._global_args(config_settings),
-            "dist_info",
-            "--output-dir",
-            str(metadata_directory),
-            "--keep-egg-info",
-        ]
-        with no_install_setup_requires():
-            self.run_setup()
-
-        self._bubble_up_info_directory(metadata_directory, ".egg-info")
-        return self._bubble_up_info_directory(metadata_directory, ".dist-info")
-
-    def _build_with_temp_dir(
-        self,
-        setup_command: Iterable[str],
-        result_extension: str | tuple[str, ...],
-        result_directory: StrPath,
-        config_settings: _ConfigSettings,
-        arbitrary_args: Iterable[str] = (),
-    ):
-        result_directory = os.path.abspath(result_directory)
-
-        # Build in a temporary directory, then copy to the target.
-        os.makedirs(result_directory, exist_ok=True)
-
-        with tempfile.TemporaryDirectory(
-            prefix=".tmp-", dir=result_directory
-        ) as tmp_dist_dir:
-            sys.argv = [
-                *sys.argv[:1],
-                *self._global_args(config_settings),
-                *setup_command,
-                "--dist-dir",
-                tmp_dist_dir,
-                *arbitrary_args,
-            ]
-            with no_install_setup_requires():
-                self.run_setup()
-
-            result_basename = _file_with_extension(tmp_dist_dir, result_extension)
-            result_path = os.path.join(result_directory, result_basename)
-            if os.path.exists(result_path):
-                # os.rename will fail overwriting on non-Unix.
-                os.remove(result_path)
-            os.rename(os.path.join(tmp_dist_dir, result_basename), result_path)
-
-        return result_basename
-
-    def build_wheel(
-        self,
-        wheel_directory: StrPath,
-        config_settings: _ConfigSettings = None,
-        metadata_directory: StrPath | None = None,
-    ):
-        def _build(cmd: list[str]):
-            with suppress_known_deprecation():
-                return self._build_with_temp_dir(
-                    cmd,
-                    '.whl',
-                    wheel_directory,
-                    config_settings,
-                    self._arbitrary_args(config_settings),
-                )
-
-        if metadata_directory is None:
-            return _build(['bdist_wheel'])
-
-        try:
-            return _build(['bdist_wheel', '--dist-info-dir', str(metadata_directory)])
-        except SystemExit as ex:  # pragma: nocover
-            # pypa/setuptools#4683
-            if "--dist-info-dir not recognized" not in str(ex):
-                raise
-            _IncompatibleBdistWheel.emit()
-            return _build(['bdist_wheel'])
-
-    def build_sdist(
-        self, sdist_directory: StrPath, config_settings: _ConfigSettings = None
-    ):
-        return self._build_with_temp_dir(
-            ['sdist', '--formats', 'gztar'], '.tar.gz', sdist_directory, config_settings
-        )
-
-    def _get_dist_info_dir(self, metadata_directory: StrPath | None) -> str | None:
-        if not metadata_directory:
-            return None
-        dist_info_candidates = list(Path(metadata_directory).glob("*.dist-info"))
-        assert len(dist_info_candidates) <= 1
-        return str(dist_info_candidates[0]) if dist_info_candidates else None
-
-    if not LEGACY_EDITABLE:
-        # PEP660 hooks:
-        # build_editable
-        # get_requires_for_build_editable
-        # prepare_metadata_for_build_editable
-        def build_editable(
-            self,
-            wheel_directory: StrPath,
-            config_settings: _ConfigSettings = None,
-            metadata_directory: StrPath | None = None,
-        ):
-            # XXX can or should we hide our editable_wheel command normally?
-            info_dir = self._get_dist_info_dir(metadata_directory)
-            opts = ["--dist-info-dir", info_dir] if info_dir else []
-            cmd = ["editable_wheel", *opts, *self._editable_args(config_settings)]
-            with suppress_known_deprecation():
-                return self._build_with_temp_dir(
-                    cmd, ".whl", wheel_directory, config_settings
-                )
-
-        def get_requires_for_build_editable(
-            self, config_settings: _ConfigSettings = None
-        ):
-            return self.get_requires_for_build_wheel(config_settings)
-
-        def prepare_metadata_for_build_editable(
-            self, metadata_directory: StrPath, config_settings: _ConfigSettings = None
-        ):
-            return self.prepare_metadata_for_build_wheel(
-                metadata_directory, config_settings
-            )
-
-
-class _BuildMetaLegacyBackend(_BuildMetaBackend):
-    """Compatibility backend for setuptools
-
-    This is a version of setuptools.build_meta that endeavors
-    to maintain backwards
-    compatibility with pre-PEP 517 modes of invocation. It
-    exists as a temporary
-    bridge between the old packaging mechanism and the new
-    packaging mechanism,
-    and will eventually be removed.
-    """
-
-    def run_setup(self, setup_script: str = 'setup.py'):
-        # In order to maintain compatibility with scripts assuming that
-        # the setup.py script is in a directory on the PYTHONPATH, inject
-        # '' into sys.path. (pypa/setuptools#1642)
-        sys_path = list(sys.path)  # Save the original path
-
-        script_dir = os.path.dirname(os.path.abspath(setup_script))
-        if script_dir not in sys.path:
-            sys.path.insert(0, script_dir)
-
-        # Some setup.py scripts (e.g. in pygame and numpy) use sys.argv[0] to
-        # get the directory of the source code. They expect it to refer to the
-        # setup.py script.
-        sys_argv_0 = sys.argv[0]
-        sys.argv[0] = setup_script
-
-        try:
-            super().run_setup(setup_script=setup_script)
-        finally:
-            # While PEP 517 frontends should be calling each hook in a fresh
-            # subprocess according to the standard (and thus it should not be
-            # strictly necessary to restore the old sys.path), we'll restore
-            # the original path so that the path manipulation does not persist
-            # within the hook after run_setup is called.
-            sys.path[:] = sys_path
-            sys.argv[0] = sys_argv_0
-
-
-class _IncompatibleBdistWheel(SetuptoolsDeprecationWarning):
-    _SUMMARY = "wheel.bdist_wheel is deprecated, please import it from setuptools"
-    _DETAILS = """
-    Ensure that any custom bdist_wheel implementation is a subclass of
-    setuptools.command.bdist_wheel.bdist_wheel.
-    """
-    _DUE_DATE = (2025, 10, 15)
-    # Initially introduced in 2024/10/15, but maybe too disruptive to be enforced?
-    _SEE_URL = "https://github.com/pypa/wheel/pull/631"
-
-
-# The primary backend
-_BACKEND = _BuildMetaBackend()
-
-get_requires_for_build_wheel = _BACKEND.get_requires_for_build_wheel
-get_requires_for_build_sdist = _BACKEND.get_requires_for_build_sdist
-prepare_metadata_for_build_wheel = _BACKEND.prepare_metadata_for_build_wheel
-build_wheel = _BACKEND.build_wheel
-build_sdist = _BACKEND.build_sdist
-
-if not LEGACY_EDITABLE:
-    get_requires_for_build_editable = _BACKEND.get_requires_for_build_editable
-    prepare_metadata_for_build_editable = _BACKEND.prepare_metadata_for_build_editable
-    build_editable = _BACKEND.build_editable
-
-
-# The legacy backend
-__legacy__ = _BuildMetaLegacyBackend()
diff --git a/.venv/lib/python3.12/site-packages/setuptools/cli-32.exe b/.venv/lib/python3.12/site-packages/setuptools/cli-32.exe
deleted file mode 100644
index 65c3cd99..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/cli-32.exe and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/cli-64.exe b/.venv/lib/python3.12/site-packages/setuptools/cli-64.exe
deleted file mode 100644
index 3ea50eeb..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/cli-64.exe and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/cli-arm64.exe b/.venv/lib/python3.12/site-packages/setuptools/cli-arm64.exe
deleted file mode 100644
index da96455a..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/cli-arm64.exe and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/cli.exe b/.venv/lib/python3.12/site-packages/setuptools/cli.exe
deleted file mode 100644
index 65c3cd99..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/cli.exe and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/command/__init__.py
deleted file mode 100644
index 50e6c2f5..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/__init__.py
+++ /dev/null
@@ -1,21 +0,0 @@
-# mypy: disable_error_code=call-overload
-# pyright: reportCallIssue=false, reportArgumentType=false
-# Can't disable on the exact line because distutils doesn't exists on Python 3.12
-# and type-checkers aren't aware of distutils_hack,
-# causing distutils.command.bdist.bdist.format_commands to be Any.
-
-import sys
-
-from distutils.command.bdist import bdist
-
-if 'egg' not in bdist.format_commands:
-    try:
-        # format_commands is a dict in vendored distutils
-        # It used to be a list in older (stdlib) distutils
-        # We support both for backwards compatibility
-        bdist.format_commands['egg'] = ('bdist_egg', "Python .egg file")
-    except TypeError:
-        bdist.format_command['egg'] = ('bdist_egg', "Python .egg file")
-        bdist.format_commands.append('egg')
-
-del bdist, sys
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 3fab643c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/_requirestxt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/_requirestxt.cpython-312.pyc
deleted file mode 100644
index c891ca96..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/_requirestxt.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/alias.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/alias.cpython-312.pyc
deleted file mode 100644
index e5e5a987..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/alias.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/bdist_egg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/bdist_egg.cpython-312.pyc
deleted file mode 100644
index 2646871e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/bdist_egg.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/bdist_rpm.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/bdist_rpm.cpython-312.pyc
deleted file mode 100644
index 7f4ae3d0..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/bdist_rpm.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/bdist_wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/bdist_wheel.cpython-312.pyc
deleted file mode 100644
index 7308fb1a..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/bdist_wheel.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build.cpython-312.pyc
deleted file mode 100644
index aff73a41..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build_clib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build_clib.cpython-312.pyc
deleted file mode 100644
index 86313d06..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build_clib.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build_ext.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build_ext.cpython-312.pyc
deleted file mode 100644
index 8bd25684..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build_ext.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build_py.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build_py.cpython-312.pyc
deleted file mode 100644
index 9b48179d..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/build_py.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/develop.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/develop.cpython-312.pyc
deleted file mode 100644
index 26229459..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/develop.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/dist_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/dist_info.cpython-312.pyc
deleted file mode 100644
index 7f7eb143..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/dist_info.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/easy_install.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/easy_install.cpython-312.pyc
deleted file mode 100644
index cc8007bb..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/easy_install.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/editable_wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/editable_wheel.cpython-312.pyc
deleted file mode 100644
index c99becbc..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/editable_wheel.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/egg_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/egg_info.cpython-312.pyc
deleted file mode 100644
index 85a583d3..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/egg_info.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install.cpython-312.pyc
deleted file mode 100644
index 6daf628e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install_egg_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install_egg_info.cpython-312.pyc
deleted file mode 100644
index b3d3119e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install_egg_info.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install_lib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install_lib.cpython-312.pyc
deleted file mode 100644
index 4f5f56c9..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install_lib.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install_scripts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install_scripts.cpython-312.pyc
deleted file mode 100644
index ffa2325e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/install_scripts.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/rotate.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/rotate.cpython-312.pyc
deleted file mode 100644
index 91e4ce4c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/rotate.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/saveopts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/saveopts.cpython-312.pyc
deleted file mode 100644
index 449b1676..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/saveopts.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/sdist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/sdist.cpython-312.pyc
deleted file mode 100644
index dde0820e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/sdist.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/setopt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/setopt.cpython-312.pyc
deleted file mode 100644
index a3869589..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/setopt.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/test.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/test.cpython-312.pyc
deleted file mode 100644
index bde97e15..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/command/__pycache__/test.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/_requirestxt.py b/.venv/lib/python3.12/site-packages/setuptools/command/_requirestxt.py
deleted file mode 100644
index 171f41b8..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/_requirestxt.py
+++ /dev/null
@@ -1,131 +0,0 @@
-"""Helper code used to generate ``requires.txt`` files in the egg-info directory.
-
-The ``requires.txt`` file has an specific format:
-    - Environment markers need to be part of the section headers and
-      should not be part of the requirement spec itself.
-
-See https://setuptools.pypa.io/en/latest/deprecated/python_eggs.html#requires-txt
-"""
-
-from __future__ import annotations
-
-import io
-from collections import defaultdict
-from collections.abc import Mapping
-from itertools import filterfalse
-from typing import TypeVar
-
-from jaraco.text import yield_lines
-from packaging.requirements import Requirement
-
-from .. import _reqs
-from .._reqs import _StrOrIter
-
-# dict can work as an ordered set
-_T = TypeVar("_T")
-_Ordered = dict[_T, None]
-
-
-def _prepare(
-    install_requires: _StrOrIter, extras_require: Mapping[str, _StrOrIter]
-) -> tuple[list[str], dict[str, list[str]]]:
-    """Given values for ``install_requires`` and ``extras_require``
-    create modified versions in a way that can be written in ``requires.txt``
-    """
-    extras = _convert_extras_requirements(extras_require)
-    return _move_install_requirements_markers(install_requires, extras)
-
-
-def _convert_extras_requirements(
-    extras_require: Mapping[str, _StrOrIter],
-) -> Mapping[str, _Ordered[Requirement]]:
-    """
-    Convert requirements in `extras_require` of the form
-    `"extra": ["barbazquux; {marker}"]` to
-    `"extra:{marker}": ["barbazquux"]`.
-    """
-    output: Mapping[str, _Ordered[Requirement]] = defaultdict(dict)
-    for section, v in extras_require.items():
-        # Do not strip empty sections.
-        output[section]
-        for r in _reqs.parse(v):
-            output[section + _suffix_for(r)].setdefault(r)
-
-    return output
-
-
-def _move_install_requirements_markers(
-    install_requires: _StrOrIter, extras_require: Mapping[str, _Ordered[Requirement]]
-) -> tuple[list[str], dict[str, list[str]]]:
-    """
-    The ``requires.txt`` file has an specific format:
-        - Environment markers need to be part of the section headers and
-          should not be part of the requirement spec itself.
-
-    Move requirements in ``install_requires`` that are using environment
-    markers ``extras_require``.
-    """
-
-    # divide the install_requires into two sets, simple ones still
-    # handled by install_requires and more complex ones handled by extras_require.
-
-    inst_reqs = list(_reqs.parse(install_requires))
-    simple_reqs = filter(_no_marker, inst_reqs)
-    complex_reqs = filterfalse(_no_marker, inst_reqs)
-    simple_install_requires = list(map(str, simple_reqs))
-
-    for r in complex_reqs:
-        extras_require[':' + str(r.marker)].setdefault(r)
-
-    expanded_extras = dict(
-        # list(dict.fromkeys(...))  ensures a list of unique strings
-        (k, list(dict.fromkeys(str(r) for r in map(_clean_req, v))))
-        for k, v in extras_require.items()
-    )
-
-    return simple_install_requires, expanded_extras
-
-
-def _suffix_for(req):
-    """Return the 'extras_require' suffix for a given requirement."""
-    return ':' + str(req.marker) if req.marker else ''
-
-
-def _clean_req(req):
-    """Given a Requirement, remove environment markers and return it"""
-    r = Requirement(str(req))  # create a copy before modifying
-    r.marker = None
-    return r
-
-
-def _no_marker(req):
-    return not req.marker
-
-
-def _write_requirements(stream, reqs):
-    lines = yield_lines(reqs or ())
-
-    def append_cr(line):
-        return line + '\n'
-
-    lines = map(append_cr, lines)
-    stream.writelines(lines)
-
-
-def write_requirements(cmd, basename, filename):
-    dist = cmd.distribution
-    data = io.StringIO()
-    install_requires, extras_require = _prepare(
-        dist.install_requires or (), dist.extras_require or {}
-    )
-    _write_requirements(data, install_requires)
-    for extra in sorted(extras_require):
-        data.write('\n[{extra}]\n'.format(**vars()))
-        _write_requirements(data, extras_require[extra])
-    cmd.write_or_delete_file("requirements", filename, data.getvalue())
-
-
-def write_setup_requirements(cmd, basename, filename):
-    data = io.StringIO()
-    _write_requirements(data, cmd.distribution.setup_requires)
-    cmd.write_or_delete_file("setup-requirements", filename, data.getvalue())
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/alias.py b/.venv/lib/python3.12/site-packages/setuptools/command/alias.py
deleted file mode 100644
index 388830d7..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/alias.py
+++ /dev/null
@@ -1,77 +0,0 @@
-from setuptools.command.setopt import config_file, edit_config, option_base
-
-from distutils.errors import DistutilsOptionError
-
-
-def shquote(arg):
-    """Quote an argument for later parsing by shlex.split()"""
-    for c in '"', "'", "\\", "#":
-        if c in arg:
-            return repr(arg)
-    if arg.split() != [arg]:
-        return repr(arg)
-    return arg
-
-
-class alias(option_base):
-    """Define a shortcut that invokes one or more commands"""
-
-    description = "define a shortcut to invoke one or more commands"
-    command_consumes_arguments = True
-
-    user_options = [
-        ('remove', 'r', 'remove (unset) the alias'),
-    ] + option_base.user_options
-
-    boolean_options = option_base.boolean_options + ['remove']
-
-    def initialize_options(self):
-        option_base.initialize_options(self)
-        self.args = None
-        self.remove = None
-
-    def finalize_options(self) -> None:
-        option_base.finalize_options(self)
-        if self.remove and len(self.args) != 1:
-            raise DistutilsOptionError(
-                "Must specify exactly one argument (the alias name) when using --remove"
-            )
-
-    def run(self) -> None:
-        aliases = self.distribution.get_option_dict('aliases')
-
-        if not self.args:
-            print("Command Aliases")
-            print("---------------")
-            for alias in aliases:
-                print("setup.py alias", format_alias(alias, aliases))
-            return
-
-        elif len(self.args) == 1:
-            (alias,) = self.args
-            if self.remove:
-                command = None
-            elif alias in aliases:
-                print("setup.py alias", format_alias(alias, aliases))
-                return
-            else:
-                print("No alias definition found for %r" % alias)
-                return
-        else:
-            alias = self.args[0]
-            command = ' '.join(map(shquote, self.args[1:]))
-
-        edit_config(self.filename, {'aliases': {alias: command}}, self.dry_run)
-
-
-def format_alias(name, aliases):
-    source, command = aliases[name]
-    if source == config_file('global'):
-        source = '--global-config '
-    elif source == config_file('user'):
-        source = '--user-config '
-    elif source == config_file('local'):
-        source = ''
-    else:
-        source = '--filename=%r' % source
-    return source + name + ' ' + command
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/bdist_egg.py b/.venv/lib/python3.12/site-packages/setuptools/command/bdist_egg.py
deleted file mode 100644
index ac3e6ef1..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/bdist_egg.py
+++ /dev/null
@@ -1,479 +0,0 @@
-"""setuptools.command.bdist_egg
-
-Build .egg distributions"""
-
-from __future__ import annotations
-
-import marshal
-import os
-import re
-import sys
-import textwrap
-from sysconfig import get_path, get_python_version
-from types import CodeType
-from typing import TYPE_CHECKING, Literal
-
-from setuptools import Command
-from setuptools.extension import Library
-
-from .._path import StrPathT, ensure_directory
-
-from distutils import log
-from distutils.dir_util import mkpath, remove_tree
-
-if TYPE_CHECKING:
-    from typing_extensions import TypeAlias
-
-# Same as zipfile._ZipFileMode from typeshed
-_ZipFileMode: TypeAlias = Literal["r", "w", "x", "a"]
-
-
-def _get_purelib():
-    return get_path("purelib")
-
-
-def strip_module(filename):
-    if '.' in filename:
-        filename = os.path.splitext(filename)[0]
-    if filename.endswith('module'):
-        filename = filename[:-6]
-    return filename
-
-
-def sorted_walk(dir):
-    """Do os.walk in a reproducible way,
-    independent of indeterministic filesystem readdir order
-    """
-    for base, dirs, files in os.walk(dir):
-        dirs.sort()
-        files.sort()
-        yield base, dirs, files
-
-
-def write_stub(resource, pyfile) -> None:
-    _stub_template = textwrap.dedent(
-        """
-        def __bootstrap__():
-            global __bootstrap__, __loader__, __file__
-            import sys, pkg_resources, importlib.util
-            __file__ = pkg_resources.resource_filename(__name__, %r)
-            __loader__ = None; del __bootstrap__, __loader__
-            spec = importlib.util.spec_from_file_location(__name__,__file__)
-            mod = importlib.util.module_from_spec(spec)
-            spec.loader.exec_module(mod)
-        __bootstrap__()
-        """
-    ).lstrip()
-    with open(pyfile, 'w', encoding="utf-8") as f:
-        f.write(_stub_template % resource)
-
-
-class bdist_egg(Command):
-    description = "create an \"egg\" distribution"
-
-    user_options = [
-        ('bdist-dir=', 'b', "temporary directory for creating the distribution"),
-        (
-            'plat-name=',
-            'p',
-            "platform name to embed in generated filenames "
-            "(by default uses `pkg_resources.get_build_platform()`)",
-        ),
-        ('exclude-source-files', None, "remove all .py files from the generated egg"),
-        (
-            'keep-temp',
-            'k',
-            "keep the pseudo-installation tree around after "
-            "creating the distribution archive",
-        ),
-        ('dist-dir=', 'd', "directory to put final built distributions in"),
-        ('skip-build', None, "skip rebuilding everything (for testing/debugging)"),
-    ]
-
-    boolean_options = ['keep-temp', 'skip-build', 'exclude-source-files']
-
-    def initialize_options(self):
-        self.bdist_dir = None
-        self.plat_name = None
-        self.keep_temp = False
-        self.dist_dir = None
-        self.skip_build = False
-        self.egg_output = None
-        self.exclude_source_files = None
-
-    def finalize_options(self) -> None:
-        ei_cmd = self.ei_cmd = self.get_finalized_command("egg_info")
-        self.egg_info = ei_cmd.egg_info
-
-        if self.bdist_dir is None:
-            bdist_base = self.get_finalized_command('bdist').bdist_base
-            self.bdist_dir = os.path.join(bdist_base, 'egg')
-
-        if self.plat_name is None:
-            from pkg_resources import get_build_platform
-
-            self.plat_name = get_build_platform()
-
-        self.set_undefined_options('bdist', ('dist_dir', 'dist_dir'))
-
-        if self.egg_output is None:
-            # Compute filename of the output egg
-            basename = ei_cmd._get_egg_basename(
-                py_version=get_python_version(),
-                platform=self.distribution.has_ext_modules() and self.plat_name,
-            )
-
-            self.egg_output = os.path.join(self.dist_dir, basename + '.egg')
-
-    def do_install_data(self) -> None:
-        # Hack for packages that install data to install's --install-lib
-        self.get_finalized_command('install').install_lib = self.bdist_dir
-
-        site_packages = os.path.normcase(os.path.realpath(_get_purelib()))
-        old, self.distribution.data_files = self.distribution.data_files, []
-
-        for item in old:
-            if isinstance(item, tuple) and len(item) == 2:
-                if os.path.isabs(item[0]):
-                    realpath = os.path.realpath(item[0])
-                    normalized = os.path.normcase(realpath)
-                    if normalized == site_packages or normalized.startswith(
-                        site_packages + os.sep
-                    ):
-                        item = realpath[len(site_packages) + 1 :], item[1]
-                        # XXX else: raise ???
-            self.distribution.data_files.append(item)
-
-        try:
-            log.info("installing package data to %s", self.bdist_dir)
-            self.call_command('install_data', force=False, root=None)
-        finally:
-            self.distribution.data_files = old
-
-    def get_outputs(self):
-        return [self.egg_output]
-
-    def call_command(self, cmdname, **kw):
-        """Invoke reinitialized command `cmdname` with keyword args"""
-        for dirname in INSTALL_DIRECTORY_ATTRS:
-            kw.setdefault(dirname, self.bdist_dir)
-        kw.setdefault('skip_build', self.skip_build)
-        kw.setdefault('dry_run', self.dry_run)
-        cmd = self.reinitialize_command(cmdname, **kw)
-        self.run_command(cmdname)
-        return cmd
-
-    def run(self):  # noqa: C901  # is too complex (14)  # FIXME
-        # Generate metadata first
-        self.run_command("egg_info")
-        # We run install_lib before install_data, because some data hacks
-        # pull their data path from the install_lib command.
-        log.info("installing library code to %s", self.bdist_dir)
-        instcmd = self.get_finalized_command('install')
-        old_root = instcmd.root
-        instcmd.root = None
-        if self.distribution.has_c_libraries() and not self.skip_build:
-            self.run_command('build_clib')
-        cmd = self.call_command('install_lib', warn_dir=False)
-        instcmd.root = old_root
-
-        all_outputs, ext_outputs = self.get_ext_outputs()
-        self.stubs = []
-        to_compile = []
-        for p, ext_name in enumerate(ext_outputs):
-            filename, _ext = os.path.splitext(ext_name)
-            pyfile = os.path.join(self.bdist_dir, strip_module(filename) + '.py')
-            self.stubs.append(pyfile)
-            log.info("creating stub loader for %s", ext_name)
-            if not self.dry_run:
-                write_stub(os.path.basename(ext_name), pyfile)
-            to_compile.append(pyfile)
-            ext_outputs[p] = ext_name.replace(os.sep, '/')
-
-        if to_compile:
-            cmd.byte_compile(to_compile)
-        if self.distribution.data_files:
-            self.do_install_data()
-
-        # Make the EGG-INFO directory
-        archive_root = self.bdist_dir
-        egg_info = os.path.join(archive_root, 'EGG-INFO')
-        self.mkpath(egg_info)
-        if self.distribution.scripts:
-            script_dir = os.path.join(egg_info, 'scripts')
-            log.info("installing scripts to %s", script_dir)
-            self.call_command('install_scripts', install_dir=script_dir, no_ep=True)
-
-        self.copy_metadata_to(egg_info)
-        native_libs = os.path.join(egg_info, "native_libs.txt")
-        if all_outputs:
-            log.info("writing %s", native_libs)
-            if not self.dry_run:
-                ensure_directory(native_libs)
-                with open(native_libs, 'wt', encoding="utf-8") as libs_file:
-                    libs_file.write('\n'.join(all_outputs))
-                    libs_file.write('\n')
-        elif os.path.isfile(native_libs):
-            log.info("removing %s", native_libs)
-            if not self.dry_run:
-                os.unlink(native_libs)
-
-        write_safety_flag(os.path.join(archive_root, 'EGG-INFO'), self.zip_safe())
-
-        if os.path.exists(os.path.join(self.egg_info, 'depends.txt')):
-            log.warn(
-                "WARNING: 'depends.txt' will not be used by setuptools 0.6!\n"
-                "Use the install_requires/extras_require setup() args instead."
-            )
-
-        if self.exclude_source_files:
-            self.zap_pyfiles()
-
-        # Make the archive
-        make_zipfile(
-            self.egg_output,
-            archive_root,
-            verbose=self.verbose,
-            dry_run=self.dry_run,
-            mode=self.gen_header(),
-        )
-        if not self.keep_temp:
-            remove_tree(self.bdist_dir, dry_run=self.dry_run)
-
-        # Add to 'Distribution.dist_files' so that the "upload" command works
-        getattr(self.distribution, 'dist_files', []).append((
-            'bdist_egg',
-            get_python_version(),
-            self.egg_output,
-        ))
-
-    def zap_pyfiles(self):
-        log.info("Removing .py files from temporary directory")
-        for base, dirs, files in walk_egg(self.bdist_dir):
-            for name in files:
-                path = os.path.join(base, name)
-
-                if name.endswith('.py'):
-                    log.debug("Deleting %s", path)
-                    os.unlink(path)
-
-                if base.endswith('__pycache__'):
-                    path_old = path
-
-                    pattern = r'(?P.+)\.(?P[^.]+)\.pyc'
-                    m = re.match(pattern, name)
-                    path_new = os.path.join(base, os.pardir, m.group('name') + '.pyc')
-                    log.info("Renaming file from [%s] to [%s]" % (path_old, path_new))
-                    try:
-                        os.remove(path_new)
-                    except OSError:
-                        pass
-                    os.rename(path_old, path_new)
-
-    def zip_safe(self):
-        safe = getattr(self.distribution, 'zip_safe', None)
-        if safe is not None:
-            return safe
-        log.warn("zip_safe flag not set; analyzing archive contents...")
-        return analyze_egg(self.bdist_dir, self.stubs)
-
-    def gen_header(self) -> Literal["w"]:
-        return 'w'
-
-    def copy_metadata_to(self, target_dir) -> None:
-        "Copy metadata (egg info) to the target_dir"
-        # normalize the path (so that a forward-slash in egg_info will
-        # match using startswith below)
-        norm_egg_info = os.path.normpath(self.egg_info)
-        prefix = os.path.join(norm_egg_info, '')
-        for path in self.ei_cmd.filelist.files:
-            if path.startswith(prefix):
-                target = os.path.join(target_dir, path[len(prefix) :])
-                ensure_directory(target)
-                self.copy_file(path, target)
-
-    def get_ext_outputs(self):
-        """Get a list of relative paths to C extensions in the output distro"""
-
-        all_outputs = []
-        ext_outputs = []
-
-        paths = {self.bdist_dir: ''}
-        for base, dirs, files in sorted_walk(self.bdist_dir):
-            all_outputs.extend(
-                paths[base] + filename
-                for filename in files
-                if os.path.splitext(filename)[1].lower() in NATIVE_EXTENSIONS
-            )
-            for filename in dirs:
-                paths[os.path.join(base, filename)] = paths[base] + filename + '/'
-
-        if self.distribution.has_ext_modules():
-            build_cmd = self.get_finalized_command('build_ext')
-            for ext in build_cmd.extensions:
-                if isinstance(ext, Library):
-                    continue
-                fullname = build_cmd.get_ext_fullname(ext.name)
-                filename = build_cmd.get_ext_filename(fullname)
-                if not os.path.basename(filename).startswith('dl-'):
-                    if os.path.exists(os.path.join(self.bdist_dir, filename)):
-                        ext_outputs.append(filename)
-
-        return all_outputs, ext_outputs
-
-
-NATIVE_EXTENSIONS: dict[str, None] = dict.fromkeys('.dll .so .dylib .pyd'.split())
-
-
-def walk_egg(egg_dir):
-    """Walk an unpacked egg's contents, skipping the metadata directory"""
-    walker = sorted_walk(egg_dir)
-    base, dirs, files = next(walker)
-    if 'EGG-INFO' in dirs:
-        dirs.remove('EGG-INFO')
-    yield base, dirs, files
-    yield from walker
-
-
-def analyze_egg(egg_dir, stubs):
-    # check for existing flag in EGG-INFO
-    for flag, fn in safety_flags.items():
-        if os.path.exists(os.path.join(egg_dir, 'EGG-INFO', fn)):
-            return flag
-    if not can_scan():
-        return False
-    safe = True
-    for base, dirs, files in walk_egg(egg_dir):
-        for name in files:
-            if name.endswith('.py') or name.endswith('.pyw'):
-                continue
-            elif name.endswith('.pyc') or name.endswith('.pyo'):
-                # always scan, even if we already know we're not safe
-                safe = scan_module(egg_dir, base, name, stubs) and safe
-    return safe
-
-
-def write_safety_flag(egg_dir, safe) -> None:
-    # Write or remove zip safety flag file(s)
-    for flag, fn in safety_flags.items():
-        fn = os.path.join(egg_dir, fn)
-        if os.path.exists(fn):
-            if safe is None or bool(safe) != flag:
-                os.unlink(fn)
-        elif safe is not None and bool(safe) == flag:
-            with open(fn, 'wt', encoding="utf-8") as f:
-                f.write('\n')
-
-
-safety_flags = {
-    True: 'zip-safe',
-    False: 'not-zip-safe',
-}
-
-
-def scan_module(egg_dir, base, name, stubs):
-    """Check whether module possibly uses unsafe-for-zipfile stuff"""
-
-    filename = os.path.join(base, name)
-    if filename[:-1] in stubs:
-        return True  # Extension module
-    pkg = base[len(egg_dir) + 1 :].replace(os.sep, '.')
-    module = pkg + (pkg and '.' or '') + os.path.splitext(name)[0]
-    skip = 16  # skip magic & reserved? & date & file size
-    f = open(filename, 'rb')
-    f.read(skip)
-    code = marshal.load(f)
-    f.close()
-    safe = True
-    symbols = dict.fromkeys(iter_symbols(code))
-    for bad in ['__file__', '__path__']:
-        if bad in symbols:
-            log.warn("%s: module references %s", module, bad)
-            safe = False
-    if 'inspect' in symbols:
-        for bad in [
-            'getsource',
-            'getabsfile',
-            'getfile',
-            'getsourcefile',
-            'getsourcelines',
-            'findsource',
-            'getcomments',
-            'getframeinfo',
-            'getinnerframes',
-            'getouterframes',
-            'stack',
-            'trace',
-        ]:
-            if bad in symbols:
-                log.warn("%s: module MAY be using inspect.%s", module, bad)
-                safe = False
-    return safe
-
-
-def iter_symbols(code):
-    """Yield names and strings used by `code` and its nested code objects"""
-    yield from code.co_names
-    for const in code.co_consts:
-        if isinstance(const, str):
-            yield const
-        elif isinstance(const, CodeType):
-            yield from iter_symbols(const)
-
-
-def can_scan() -> bool:
-    if not sys.platform.startswith('java') and sys.platform != 'cli':
-        # CPython, PyPy, etc.
-        return True
-    log.warn("Unable to analyze compiled code on this platform.")
-    log.warn(
-        "Please ask the author to include a 'zip_safe'"
-        " setting (either True or False) in the package's setup.py"
-    )
-    return False
-
-
-# Attribute names of options for commands that might need to be convinced to
-# install to the egg build directory
-
-INSTALL_DIRECTORY_ATTRS = ['install_lib', 'install_dir', 'install_data', 'install_base']
-
-
-def make_zipfile(
-    zip_filename: StrPathT,
-    base_dir,
-    verbose: bool = False,
-    dry_run: bool = False,
-    compress=True,
-    mode: _ZipFileMode = 'w',
-) -> StrPathT:
-    """Create a zip file from all the files under 'base_dir'.  The output
-    zip file will be named 'base_dir' + ".zip".  Uses either the "zipfile"
-    Python module (if available) or the InfoZIP "zip" utility (if installed
-    and found on the default search path).  If neither tool is available,
-    raises DistutilsExecError.  Returns the name of the output zip file.
-    """
-    import zipfile
-
-    mkpath(os.path.dirname(zip_filename), dry_run=dry_run)  # type: ignore[arg-type] # python/mypy#18075
-    log.info("creating '%s' and adding '%s' to it", zip_filename, base_dir)
-
-    def visit(z, dirname, names):
-        for name in names:
-            path = os.path.normpath(os.path.join(dirname, name))
-            if os.path.isfile(path):
-                p = path[len(base_dir) + 1 :]
-                if not dry_run:
-                    z.write(path, p)
-                log.debug("adding '%s'", p)
-
-    compression = zipfile.ZIP_DEFLATED if compress else zipfile.ZIP_STORED
-    if not dry_run:
-        z = zipfile.ZipFile(zip_filename, mode, compression=compression)
-        for dirname, dirs, files in sorted_walk(base_dir):
-            visit(z, dirname, files)
-        z.close()
-    else:
-        for dirname, dirs, files in sorted_walk(base_dir):
-            visit(None, dirname, files)
-    return zip_filename
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/bdist_rpm.py b/.venv/lib/python3.12/site-packages/setuptools/command/bdist_rpm.py
deleted file mode 100644
index 6dbb2700..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/bdist_rpm.py
+++ /dev/null
@@ -1,42 +0,0 @@
-from ..dist import Distribution
-from ..warnings import SetuptoolsDeprecationWarning
-
-import distutils.command.bdist_rpm as orig
-
-
-class bdist_rpm(orig.bdist_rpm):
-    """
-    Override the default bdist_rpm behavior to do the following:
-
-    1. Run egg_info to ensure the name and version are properly calculated.
-    2. Always run 'install' using --single-version-externally-managed to
-       disable eggs in RPM distributions.
-    """
-
-    distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
-
-    def run(self) -> None:
-        SetuptoolsDeprecationWarning.emit(
-            "Deprecated command",
-            """
-            bdist_rpm is deprecated and will be removed in a future version.
-            Use bdist_wheel (wheel packages) instead.
-            """,
-            see_url="https://github.com/pypa/setuptools/issues/1988",
-            due_date=(2023, 10, 30),  # Deprecation introduced in 22 Oct 2021.
-        )
-
-        # ensure distro name is up-to-date
-        self.run_command('egg_info')
-
-        orig.bdist_rpm.run(self)
-
-    def _make_spec_file(self):
-        spec = orig.bdist_rpm._make_spec_file(self)
-        return [
-            line.replace(
-                "setup.py install ",
-                "setup.py install --single-version-externally-managed ",
-            ).replace("%setup", "%setup -n %{name}-%{unmangled_version}")
-            for line in spec
-        ]
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/bdist_wheel.py b/.venv/lib/python3.12/site-packages/setuptools/command/bdist_wheel.py
deleted file mode 100644
index 234df2a7..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/bdist_wheel.py
+++ /dev/null
@@ -1,612 +0,0 @@
-"""
-Create a wheel (.whl) distribution.
-
-A wheel is a built archive format.
-"""
-
-from __future__ import annotations
-
-import os
-import re
-import shutil
-import struct
-import sys
-import sysconfig
-import warnings
-from collections.abc import Iterable, Sequence
-from email.generator import BytesGenerator
-from glob import iglob
-from typing import Literal, cast
-from zipfile import ZIP_DEFLATED, ZIP_STORED
-
-from packaging import tags, version as _packaging_version
-from wheel.wheelfile import WheelFile
-
-from .. import Command, __version__, _shutil
-from ..warnings import SetuptoolsDeprecationWarning
-from .egg_info import egg_info as egg_info_cls
-
-from distutils import log
-
-
-def safe_name(name: str) -> str:
-    """Convert an arbitrary string to a standard distribution name
-    Any runs of non-alphanumeric/. characters are replaced with a single '-'.
-    """
-    return re.sub("[^A-Za-z0-9.]+", "-", name)
-
-
-def safe_version(version: str) -> str:
-    """
-    Convert an arbitrary string to a standard version string
-    """
-    try:
-        # normalize the version
-        return str(_packaging_version.Version(version))
-    except _packaging_version.InvalidVersion:
-        version = version.replace(" ", ".")
-        return re.sub("[^A-Za-z0-9.]+", "-", version)
-
-
-setuptools_major_version = int(__version__.split(".")[0])
-
-PY_LIMITED_API_PATTERN = r"cp3\d"
-
-
-def _is_32bit_interpreter() -> bool:
-    return struct.calcsize("P") == 4
-
-
-def python_tag() -> str:
-    return f"py{sys.version_info.major}"
-
-
-def get_platform(archive_root: str | None) -> str:
-    """Return our platform name 'win32', 'linux_x86_64'"""
-    result = sysconfig.get_platform()
-    if result.startswith("macosx") and archive_root is not None:  # pragma: no cover
-        from wheel.macosx_libfile import calculate_macosx_platform_tag
-
-        result = calculate_macosx_platform_tag(archive_root, result)
-    elif _is_32bit_interpreter():
-        if result == "linux-x86_64":
-            # pip pull request #3497
-            result = "linux-i686"
-        elif result == "linux-aarch64":
-            # packaging pull request #234
-            # TODO armv8l, packaging pull request #690 => this did not land
-            # in pip/packaging yet
-            result = "linux-armv7l"
-
-    return result.replace("-", "_")
-
-
-def get_flag(
-    var: str, fallback: bool, expected: bool = True, warn: bool = True
-) -> bool:
-    """Use a fallback value for determining SOABI flags if the needed config
-    var is unset or unavailable."""
-    val = sysconfig.get_config_var(var)
-    if val is None:
-        if warn:
-            warnings.warn(
-                f"Config variable '{var}' is unset, Python ABI tag may be incorrect",
-                RuntimeWarning,
-                stacklevel=2,
-            )
-        return fallback
-    return val == expected
-
-
-def get_abi_tag() -> str | None:
-    """Return the ABI tag based on SOABI (if available) or emulate SOABI (PyPy2)."""
-    soabi: str = sysconfig.get_config_var("SOABI")
-    impl = tags.interpreter_name()
-    if not soabi and impl in ("cp", "pp") and hasattr(sys, "maxunicode"):
-        d = ""
-        u = ""
-        if get_flag("Py_DEBUG", hasattr(sys, "gettotalrefcount"), warn=(impl == "cp")):
-            d = "d"
-
-        abi = f"{impl}{tags.interpreter_version()}{d}{u}"
-    elif soabi and impl == "cp" and soabi.startswith("cpython"):
-        # non-Windows
-        abi = "cp" + soabi.split("-")[1]
-    elif soabi and impl == "cp" and soabi.startswith("cp"):
-        # Windows
-        abi = soabi.split("-")[0]
-        if hasattr(sys, "gettotalrefcount"):
-            # using debug build; append "d" flag
-            abi += "d"
-    elif soabi and impl == "pp":
-        # we want something like pypy36-pp73
-        abi = "-".join(soabi.split("-")[:2])
-        abi = abi.replace(".", "_").replace("-", "_")
-    elif soabi and impl == "graalpy":
-        abi = "-".join(soabi.split("-")[:3])
-        abi = abi.replace(".", "_").replace("-", "_")
-    elif soabi:
-        abi = soabi.replace(".", "_").replace("-", "_")
-    else:
-        abi = None
-
-    return abi
-
-
-def safer_name(name: str) -> str:
-    return safe_name(name).replace("-", "_")
-
-
-def safer_version(version: str) -> str:
-    return safe_version(version).replace("-", "_")
-
-
-class bdist_wheel(Command):
-    description = "create a wheel distribution"
-
-    supported_compressions = {
-        "stored": ZIP_STORED,
-        "deflated": ZIP_DEFLATED,
-    }
-
-    user_options = [
-        ("bdist-dir=", "b", "temporary directory for creating the distribution"),
-        (
-            "plat-name=",
-            "p",
-            "platform name to embed in generated filenames "
-            f"[default: {get_platform(None)}]",
-        ),
-        (
-            "keep-temp",
-            "k",
-            "keep the pseudo-installation tree around after "
-            "creating the distribution archive",
-        ),
-        ("dist-dir=", "d", "directory to put final built distributions in"),
-        ("skip-build", None, "skip rebuilding everything (for testing/debugging)"),
-        (
-            "relative",
-            None,
-            "build the archive using relative paths [default: false]",
-        ),
-        (
-            "owner=",
-            "u",
-            "Owner name used when creating a tar file [default: current user]",
-        ),
-        (
-            "group=",
-            "g",
-            "Group name used when creating a tar file [default: current group]",
-        ),
-        ("universal", None, "*DEPRECATED* make a universal wheel [default: false]"),
-        (
-            "compression=",
-            None,
-            "zipfile compression (one of: {}) [default: 'deflated']".format(
-                ", ".join(supported_compressions)
-            ),
-        ),
-        (
-            "python-tag=",
-            None,
-            f"Python implementation compatibility tag [default: '{python_tag()}']",
-        ),
-        (
-            "build-number=",
-            None,
-            "Build number for this particular version. "
-            "As specified in PEP-0427, this must start with a digit. "
-            "[default: None]",
-        ),
-        (
-            "py-limited-api=",
-            None,
-            "Python tag (cp32|cp33|cpNN) for abi3 wheel tag [default: false]",
-        ),
-        (
-            "dist-info-dir=",
-            None,
-            "directory where a pre-generated dist-info can be found (e.g. as a "
-            "result of calling the PEP517 'prepare_metadata_for_build_wheel' "
-            "method)",
-        ),
-    ]
-
-    boolean_options = ["keep-temp", "skip-build", "relative", "universal"]
-
-    def initialize_options(self) -> None:
-        self.bdist_dir: str | None = None
-        self.data_dir = ""
-        self.plat_name: str | None = None
-        self.plat_tag: str | None = None
-        self.format = "zip"
-        self.keep_temp = False
-        self.dist_dir: str | None = None
-        self.dist_info_dir = None
-        self.egginfo_dir: str | None = None
-        self.root_is_pure: bool | None = None
-        self.skip_build = False
-        self.relative = False
-        self.owner = None
-        self.group = None
-        self.universal = False
-        self.compression: str | int = "deflated"
-        self.python_tag = python_tag()
-        self.build_number: str | None = None
-        self.py_limited_api: str | Literal[False] = False
-        self.plat_name_supplied = False
-
-    def finalize_options(self) -> None:
-        if not self.bdist_dir:
-            bdist_base = self.get_finalized_command("bdist").bdist_base
-            self.bdist_dir = os.path.join(bdist_base, "wheel")
-
-        if self.dist_info_dir is None:
-            egg_info = cast(egg_info_cls, self.distribution.get_command_obj("egg_info"))
-            egg_info.ensure_finalized()  # needed for correct `wheel_dist_name`
-
-        self.data_dir = self.wheel_dist_name + ".data"
-        self.plat_name_supplied = bool(self.plat_name)
-
-        need_options = ("dist_dir", "plat_name", "skip_build")
-
-        self.set_undefined_options("bdist", *zip(need_options, need_options))
-
-        self.root_is_pure = not (
-            self.distribution.has_ext_modules() or self.distribution.has_c_libraries()
-        )
-
-        self._validate_py_limited_api()
-
-        # Support legacy [wheel] section for setting universal
-        wheel = self.distribution.get_option_dict("wheel")
-        if "universal" in wheel:  # pragma: no cover
-            # please don't define this in your global configs
-            log.warn("The [wheel] section is deprecated. Use [bdist_wheel] instead.")
-            val = wheel["universal"][1].strip()
-            if val.lower() in ("1", "true", "yes"):
-                self.universal = True
-
-        if self.universal:
-            SetuptoolsDeprecationWarning.emit(
-                "bdist_wheel.universal is deprecated",
-                """
-                With Python 2.7 end-of-life, support for building universal wheels
-                (i.e., wheels that support both Python 2 and Python 3)
-                is being obviated.
-                Please discontinue using this option, or if you still need it,
-                file an issue with pypa/setuptools describing your use case.
-                """,
-                due_date=(2025, 8, 30),  # Introduced in 2024-08-30
-            )
-
-        if self.build_number is not None and not self.build_number[:1].isdigit():
-            raise ValueError("Build tag (build-number) must start with a digit.")
-
-    def _validate_py_limited_api(self) -> None:
-        if not self.py_limited_api:
-            return
-
-        if not re.match(PY_LIMITED_API_PATTERN, self.py_limited_api):
-            raise ValueError(f"py-limited-api must match '{PY_LIMITED_API_PATTERN}'")
-
-        if sysconfig.get_config_var("Py_GIL_DISABLED"):
-            raise ValueError(
-                f"`py_limited_api={self.py_limited_api!r}` not supported. "
-                "`Py_LIMITED_API` is currently incompatible with "
-                f"`Py_GIL_DISABLED` ({sys.abiflags=!r}). "
-                "See https://github.com/python/cpython/issues/111506."
-            )
-
-    @property
-    def wheel_dist_name(self) -> str:
-        """Return distribution full name with - replaced with _"""
-        components = [
-            safer_name(self.distribution.get_name()),
-            safer_version(self.distribution.get_version()),
-        ]
-        if self.build_number:
-            components.append(self.build_number)
-        return "-".join(components)
-
-    def get_tag(self) -> tuple[str, str, str]:
-        # bdist sets self.plat_name if unset, we should only use it for purepy
-        # wheels if the user supplied it.
-        if self.plat_name_supplied and self.plat_name:
-            plat_name = self.plat_name
-        elif self.root_is_pure:
-            plat_name = "any"
-        else:
-            # macosx contains system version in platform name so need special handle
-            if self.plat_name and not self.plat_name.startswith("macosx"):
-                plat_name = self.plat_name
-            else:
-                # on macosx always limit the platform name to comply with any
-                # c-extension modules in bdist_dir, since the user can specify
-                # a higher MACOSX_DEPLOYMENT_TARGET via tools like CMake
-
-                # on other platforms, and on macosx if there are no c-extension
-                # modules, use the default platform name.
-                plat_name = get_platform(self.bdist_dir)
-
-            if _is_32bit_interpreter():
-                if plat_name in ("linux-x86_64", "linux_x86_64"):
-                    plat_name = "linux_i686"
-                if plat_name in ("linux-aarch64", "linux_aarch64"):
-                    # TODO armv8l, packaging pull request #690 => this did not land
-                    # in pip/packaging yet
-                    plat_name = "linux_armv7l"
-
-        plat_name = (
-            plat_name.lower().replace("-", "_").replace(".", "_").replace(" ", "_")
-        )
-
-        if self.root_is_pure:
-            if self.universal:
-                impl = "py2.py3"
-            else:
-                impl = self.python_tag
-            tag = (impl, "none", plat_name)
-        else:
-            impl_name = tags.interpreter_name()
-            impl_ver = tags.interpreter_version()
-            impl = impl_name + impl_ver
-            # We don't work on CPython 3.1, 3.0.
-            if self.py_limited_api and (impl_name + impl_ver).startswith("cp3"):
-                impl = self.py_limited_api
-                abi_tag = "abi3"
-            else:
-                abi_tag = str(get_abi_tag()).lower()
-            tag = (impl, abi_tag, plat_name)
-            # issue gh-374: allow overriding plat_name
-            supported_tags = [
-                (t.interpreter, t.abi, plat_name) for t in tags.sys_tags()
-            ]
-            assert tag in supported_tags, (
-                f"would build wheel with unsupported tag {tag}"
-            )
-        return tag
-
-    def run(self):
-        build_scripts = self.reinitialize_command("build_scripts")
-        build_scripts.executable = "python"
-        build_scripts.force = True
-
-        build_ext = self.reinitialize_command("build_ext")
-        build_ext.inplace = False
-
-        if not self.skip_build:
-            self.run_command("build")
-
-        install = self.reinitialize_command("install", reinit_subcommands=True)
-        install.root = self.bdist_dir
-        install.compile = False
-        install.skip_build = self.skip_build
-        install.warn_dir = False
-
-        # A wheel without setuptools scripts is more cross-platform.
-        # Use the (undocumented) `no_ep` option to setuptools'
-        # install_scripts command to avoid creating entry point scripts.
-        install_scripts = self.reinitialize_command("install_scripts")
-        install_scripts.no_ep = True
-
-        # Use a custom scheme for the archive, because we have to decide
-        # at installation time which scheme to use.
-        for key in ("headers", "scripts", "data", "purelib", "platlib"):
-            setattr(install, "install_" + key, os.path.join(self.data_dir, key))
-
-        basedir_observed = ""
-
-        if os.name == "nt":
-            # win32 barfs if any of these are ''; could be '.'?
-            # (distutils.command.install:change_roots bug)
-            basedir_observed = os.path.normpath(os.path.join(self.data_dir, ".."))
-            self.install_libbase = self.install_lib = basedir_observed
-
-        setattr(
-            install,
-            "install_purelib" if self.root_is_pure else "install_platlib",
-            basedir_observed,
-        )
-
-        log.info(f"installing to {self.bdist_dir}")
-
-        self.run_command("install")
-
-        impl_tag, abi_tag, plat_tag = self.get_tag()
-        archive_basename = f"{self.wheel_dist_name}-{impl_tag}-{abi_tag}-{plat_tag}"
-        if not self.relative:
-            archive_root = self.bdist_dir
-        else:
-            archive_root = os.path.join(
-                self.bdist_dir, self._ensure_relative(install.install_base)
-            )
-
-        self.set_undefined_options("install_egg_info", ("target", "egginfo_dir"))
-        distinfo_dirname = (
-            f"{safer_name(self.distribution.get_name())}-"
-            f"{safer_version(self.distribution.get_version())}.dist-info"
-        )
-        distinfo_dir = os.path.join(self.bdist_dir, distinfo_dirname)
-        if self.dist_info_dir:
-            # Use the given dist-info directly.
-            log.debug(f"reusing {self.dist_info_dir}")
-            shutil.copytree(self.dist_info_dir, distinfo_dir)
-            # Egg info is still generated, so remove it now to avoid it getting
-            # copied into the wheel.
-            _shutil.rmtree(self.egginfo_dir)
-        else:
-            # Convert the generated egg-info into dist-info.
-            self.egg2dist(self.egginfo_dir, distinfo_dir)
-
-        self.write_wheelfile(distinfo_dir)
-
-        # Make the archive
-        if not os.path.exists(self.dist_dir):
-            os.makedirs(self.dist_dir)
-
-        wheel_path = os.path.join(self.dist_dir, archive_basename + ".whl")
-        with WheelFile(wheel_path, "w", self._zip_compression()) as wf:
-            wf.write_files(archive_root)
-
-        # Add to 'Distribution.dist_files' so that the "upload" command works
-        getattr(self.distribution, "dist_files", []).append((
-            "bdist_wheel",
-            f"{sys.version_info.major}.{sys.version_info.minor}",
-            wheel_path,
-        ))
-
-        if not self.keep_temp:
-            log.info(f"removing {self.bdist_dir}")
-            if not self.dry_run:
-                _shutil.rmtree(self.bdist_dir)
-
-    def write_wheelfile(
-        self, wheelfile_base: str, generator: str = f"setuptools ({__version__})"
-    ) -> None:
-        from email.message import Message
-
-        msg = Message()
-        msg["Wheel-Version"] = "1.0"  # of the spec
-        msg["Generator"] = generator
-        msg["Root-Is-Purelib"] = str(self.root_is_pure).lower()
-        if self.build_number is not None:
-            msg["Build"] = self.build_number
-
-        # Doesn't work for bdist_wininst
-        impl_tag, abi_tag, plat_tag = self.get_tag()
-        for impl in impl_tag.split("."):
-            for abi in abi_tag.split("."):
-                for plat in plat_tag.split("."):
-                    msg["Tag"] = "-".join((impl, abi, plat))
-
-        wheelfile_path = os.path.join(wheelfile_base, "WHEEL")
-        log.info(f"creating {wheelfile_path}")
-        with open(wheelfile_path, "wb") as f:
-            BytesGenerator(f, maxheaderlen=0).flatten(msg)
-
-    def _ensure_relative(self, path: str) -> str:
-        # copied from dir_util, deleted
-        drive, path = os.path.splitdrive(path)
-        if path[0:1] == os.sep:
-            path = drive + path[1:]
-        return path
-
-    @property
-    def license_paths(self) -> Iterable[str]:
-        if setuptools_major_version >= 57:
-            # Setuptools has resolved any patterns to actual file names
-            return self.distribution.metadata.license_files or ()
-
-        files: set[str] = set()
-        metadata = self.distribution.get_option_dict("metadata")
-        if setuptools_major_version >= 42:
-            # Setuptools recognizes the license_files option but does not do globbing
-            patterns = cast(Sequence[str], self.distribution.metadata.license_files)
-        else:
-            # Prior to those, wheel is entirely responsible for handling license files
-            if "license_files" in metadata:
-                patterns = metadata["license_files"][1].split()
-            else:
-                patterns = ()
-
-        if "license_file" in metadata:
-            warnings.warn(
-                'The "license_file" option is deprecated. Use "license_files" instead.',
-                DeprecationWarning,
-                stacklevel=2,
-            )
-            files.add(metadata["license_file"][1])
-
-        if not files and not patterns and not isinstance(patterns, list):
-            patterns = ("LICEN[CS]E*", "COPYING*", "NOTICE*", "AUTHORS*")
-
-        for pattern in patterns:
-            for path in iglob(pattern):
-                if path.endswith("~"):
-                    log.debug(
-                        f'ignoring license file "{path}" as it looks like a backup'
-                    )
-                    continue
-
-                if path not in files and os.path.isfile(path):
-                    log.info(
-                        f'adding license file "{path}" (matched pattern "{pattern}")'
-                    )
-                    files.add(path)
-
-        return files
-
-    def egg2dist(self, egginfo_path: str, distinfo_path: str) -> None:
-        """Convert an .egg-info directory into a .dist-info directory"""
-
-        def adios(p: str) -> None:
-            """Appropriately delete directory, file or link."""
-            if os.path.exists(p) and not os.path.islink(p) and os.path.isdir(p):
-                _shutil.rmtree(p)
-            elif os.path.exists(p):
-                os.unlink(p)
-
-        adios(distinfo_path)
-
-        if not os.path.exists(egginfo_path):
-            # There is no egg-info. This is probably because the egg-info
-            # file/directory is not named matching the distribution name used
-            # to name the archive file. Check for this case and report
-            # accordingly.
-            import glob
-
-            pat = os.path.join(os.path.dirname(egginfo_path), "*.egg-info")
-            possible = glob.glob(pat)
-            err = f"Egg metadata expected at {egginfo_path} but not found"
-            if possible:
-                alt = os.path.basename(possible[0])
-                err += f" ({alt} found - possible misnamed archive file?)"
-
-            raise ValueError(err)
-
-        # .egg-info is a directory
-        pkginfo_path = os.path.join(egginfo_path, "PKG-INFO")
-
-        # ignore common egg metadata that is useless to wheel
-        shutil.copytree(
-            egginfo_path,
-            distinfo_path,
-            ignore=lambda x, y: {
-                "PKG-INFO",
-                "requires.txt",
-                "SOURCES.txt",
-                "not-zip-safe",
-            },
-        )
-
-        # delete dependency_links if it is only whitespace
-        dependency_links_path = os.path.join(distinfo_path, "dependency_links.txt")
-        with open(dependency_links_path, encoding="utf-8") as dependency_links_file:
-            dependency_links = dependency_links_file.read().strip()
-        if not dependency_links:
-            adios(dependency_links_path)
-
-        metadata_path = os.path.join(distinfo_path, "METADATA")
-        shutil.copy(pkginfo_path, metadata_path)
-
-        for license_path in self.license_paths:
-            filename = os.path.basename(license_path)
-            shutil.copy(license_path, os.path.join(distinfo_path, filename))
-
-        adios(egginfo_path)
-
-    def _zip_compression(self) -> int:
-        if (
-            isinstance(self.compression, int)
-            and self.compression in self.supported_compressions.values()
-        ):
-            return self.compression
-
-        compression = self.supported_compressions.get(str(self.compression))
-        if compression is not None:
-            return compression
-
-        raise ValueError(f"Unsupported compression: {self.compression!r}")
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/build.py b/.venv/lib/python3.12/site-packages/setuptools/command/build.py
deleted file mode 100644
index 54cbb8d2..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/build.py
+++ /dev/null
@@ -1,135 +0,0 @@
-from __future__ import annotations
-
-from typing import Protocol
-
-from ..dist import Distribution
-
-from distutils.command.build import build as _build
-
-_ORIGINAL_SUBCOMMANDS = {"build_py", "build_clib", "build_ext", "build_scripts"}
-
-
-class build(_build):
-    distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
-
-    # copy to avoid sharing the object with parent class
-    sub_commands = _build.sub_commands[:]
-
-
-class SubCommand(Protocol):
-    """In order to support editable installations (see :pep:`660`) all
-    build subcommands **SHOULD** implement this protocol. They also **MUST** inherit
-    from ``setuptools.Command``.
-
-    When creating an :pep:`editable wheel <660>`, ``setuptools`` will try to evaluate
-    custom ``build`` subcommands using the following procedure:
-
-    1. ``setuptools`` will set the ``editable_mode`` attribute to ``True``
-    2. ``setuptools`` will execute the ``run()`` command.
-
-       .. important::
-          Subcommands **SHOULD** take advantage of ``editable_mode=True`` to adequate
-          its behaviour or perform optimisations.
-
-          For example, if a subcommand doesn't need to generate an extra file and
-          all it does is to copy a source file into the build directory,
-          ``run()`` **SHOULD** simply "early return".
-
-          Similarly, if the subcommand creates files that would be placed alongside
-          Python files in the final distribution, during an editable install
-          the command **SHOULD** generate these files "in place" (i.e. write them to
-          the original source directory, instead of using the build directory).
-          Note that ``get_output_mapping()`` should reflect that and include mappings
-          for "in place" builds accordingly.
-
-    3. ``setuptools`` use any knowledge it can derive from the return values of
-       ``get_outputs()`` and ``get_output_mapping()`` to create an editable wheel.
-       When relevant ``setuptools`` **MAY** attempt to use file links based on the value
-       of ``get_output_mapping()``. Alternatively, ``setuptools`` **MAY** attempt to use
-       :doc:`import hooks ` to redirect any attempt to import
-       to the directory with the original source code and other files built in place.
-
-    Please note that custom sub-commands **SHOULD NOT** rely on ``run()`` being
-    executed (or not) to provide correct return values for ``get_outputs()``,
-    ``get_output_mapping()`` or ``get_source_files()``. The ``get_*`` methods should
-    work independently of ``run()``.
-    """
-
-    editable_mode: bool = False
-    """Boolean flag that will be set to ``True`` when setuptools is used for an
-    editable installation (see :pep:`660`).
-    Implementations **SHOULD** explicitly set the default value of this attribute to
-    ``False``.
-    When subcommands run, they can use this flag to perform optimizations or change
-    their behaviour accordingly.
-    """
-
-    build_lib: str
-    """String representing the directory where the build artifacts should be stored,
-    e.g. ``build/lib``.
-    For example, if a distribution wants to provide a Python module named ``pkg.mod``,
-    then a corresponding file should be written to ``{build_lib}/package/module.py``.
-    A way of thinking about this is that the files saved under ``build_lib``
-    would be eventually copied to one of the directories in :obj:`site.PREFIXES`
-    upon installation.
-
-    A command that produces platform-independent files (e.g. compiling text templates
-    into Python functions), **CAN** initialize ``build_lib`` by copying its value from
-    the ``build_py`` command. On the other hand, a command that produces
-    platform-specific files **CAN** initialize ``build_lib`` by copying its value from
-    the ``build_ext`` command. In general this is done inside the ``finalize_options``
-    method with the help of the ``set_undefined_options`` command::
-
-        def finalize_options(self):
-            self.set_undefined_options("build_py", ("build_lib", "build_lib"))
-            ...
-    """
-
-    def initialize_options(self) -> None:
-        """(Required by the original :class:`setuptools.Command` interface)"""
-        ...
-
-    def finalize_options(self) -> None:
-        """(Required by the original :class:`setuptools.Command` interface)"""
-        ...
-
-    def run(self) -> None:
-        """(Required by the original :class:`setuptools.Command` interface)"""
-        ...
-
-    def get_source_files(self) -> list[str]:
-        """
-        Return a list of all files that are used by the command to create the expected
-        outputs.
-        For example, if your build command transpiles Java files into Python, you should
-        list here all the Java files.
-        The primary purpose of this function is to help populating the ``sdist``
-        with all the files necessary to build the distribution.
-        All files should be strings relative to the project root directory.
-        """
-        ...
-
-    def get_outputs(self) -> list[str]:
-        """
-        Return a list of files intended for distribution as they would have been
-        produced by the build.
-        These files should be strings in the form of
-        ``"{build_lib}/destination/file/path"``.
-
-        .. note::
-           The return value of ``get_output()`` should include all files used as keys
-           in ``get_output_mapping()`` plus files that are generated during the build
-           and don't correspond to any source file already present in the project.
-        """
-        ...
-
-    def get_output_mapping(self) -> dict[str, str]:
-        """
-        Return a mapping between destination files as they would be produced by the
-        build (dict keys) into the respective existing (source) files (dict values).
-        Existing (source) files should be represented as strings relative to the project
-        root directory.
-        Destination files should be strings in the form of
-        ``"{build_lib}/destination/file/path"``.
-        """
-        ...
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/build_clib.py b/.venv/lib/python3.12/site-packages/setuptools/command/build_clib.py
deleted file mode 100644
index bee3d58c..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/build_clib.py
+++ /dev/null
@@ -1,103 +0,0 @@
-from ..dist import Distribution
-from ..modified import newer_pairwise_group
-
-import distutils.command.build_clib as orig
-from distutils import log
-from distutils.errors import DistutilsSetupError
-
-
-class build_clib(orig.build_clib):
-    """
-    Override the default build_clib behaviour to do the following:
-
-    1. Implement a rudimentary timestamp-based dependency system
-       so 'compile()' doesn't run every time.
-    2. Add more keys to the 'build_info' dictionary:
-        * obj_deps - specify dependencies for each object compiled.
-                     this should be a dictionary mapping a key
-                     with the source filename to a list of
-                     dependencies. Use an empty string for global
-                     dependencies.
-        * cflags   - specify a list of additional flags to pass to
-                     the compiler.
-    """
-
-    distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
-
-    def build_libraries(self, libraries) -> None:
-        for lib_name, build_info in libraries:
-            sources = build_info.get('sources')
-            if sources is None or not isinstance(sources, (list, tuple)):
-                raise DistutilsSetupError(
-                    "in 'libraries' option (library '%s'), "
-                    "'sources' must be present and must be "
-                    "a list of source filenames" % lib_name
-                )
-            sources = sorted(list(sources))
-
-            log.info("building '%s' library", lib_name)
-
-            # Make sure everything is the correct type.
-            # obj_deps should be a dictionary of keys as sources
-            # and a list/tuple of files that are its dependencies.
-            obj_deps = build_info.get('obj_deps', dict())
-            if not isinstance(obj_deps, dict):
-                raise DistutilsSetupError(
-                    "in 'libraries' option (library '%s'), "
-                    "'obj_deps' must be a dictionary of "
-                    "type 'source: list'" % lib_name
-                )
-            dependencies = []
-
-            # Get the global dependencies that are specified by the '' key.
-            # These will go into every source's dependency list.
-            global_deps = obj_deps.get('', list())
-            if not isinstance(global_deps, (list, tuple)):
-                raise DistutilsSetupError(
-                    "in 'libraries' option (library '%s'), "
-                    "'obj_deps' must be a dictionary of "
-                    "type 'source: list'" % lib_name
-                )
-
-            # Build the list to be used by newer_pairwise_group
-            # each source will be auto-added to its dependencies.
-            for source in sources:
-                src_deps = [source]
-                src_deps.extend(global_deps)
-                extra_deps = obj_deps.get(source, list())
-                if not isinstance(extra_deps, (list, tuple)):
-                    raise DistutilsSetupError(
-                        "in 'libraries' option (library '%s'), "
-                        "'obj_deps' must be a dictionary of "
-                        "type 'source: list'" % lib_name
-                    )
-                src_deps.extend(extra_deps)
-                dependencies.append(src_deps)
-
-            expected_objects = self.compiler.object_filenames(
-                sources,
-                output_dir=self.build_temp,
-            )
-
-            if newer_pairwise_group(dependencies, expected_objects) != ([], []):
-                # First, compile the source code to object files in the library
-                # directory.  (This should probably change to putting object
-                # files in a temporary build directory.)
-                macros = build_info.get('macros')
-                include_dirs = build_info.get('include_dirs')
-                cflags = build_info.get('cflags')
-                self.compiler.compile(
-                    sources,
-                    output_dir=self.build_temp,
-                    macros=macros,
-                    include_dirs=include_dirs,
-                    extra_postargs=cflags,
-                    debug=self.debug,
-                )
-
-            # Now "link" the object files together into a static library.
-            # (On Unix at least, this isn't really linking -- it just
-            # builds an archive.  Whatever.)
-            self.compiler.create_static_lib(
-                expected_objects, lib_name, output_dir=self.build_clib, debug=self.debug
-            )
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/build_ext.py b/.venv/lib/python3.12/site-packages/setuptools/command/build_ext.py
deleted file mode 100644
index e5c6b76b..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/build_ext.py
+++ /dev/null
@@ -1,469 +0,0 @@
-from __future__ import annotations
-
-import itertools
-import os
-import sys
-from collections.abc import Iterator
-from importlib.machinery import EXTENSION_SUFFIXES
-from importlib.util import cache_from_source as _compiled_file_name
-from pathlib import Path
-from typing import TYPE_CHECKING
-
-from setuptools.dist import Distribution
-from setuptools.errors import BaseError
-from setuptools.extension import Extension, Library
-
-from distutils import log
-from distutils.ccompiler import new_compiler
-from distutils.sysconfig import customize_compiler, get_config_var
-
-if TYPE_CHECKING:
-    # Cython not installed on CI tests, causing _build_ext to be `Any`
-    from distutils.command.build_ext import build_ext as _build_ext
-else:
-    try:
-        # Attempt to use Cython for building extensions, if available
-        from Cython.Distutils.build_ext import build_ext as _build_ext
-
-        # Additionally, assert that the compiler module will load
-        # also. Ref #1229.
-        __import__('Cython.Compiler.Main')
-    except ImportError:
-        from distutils.command.build_ext import build_ext as _build_ext
-
-# make sure _config_vars is initialized
-get_config_var("LDSHARED")
-# Not publicly exposed in typeshed distutils stubs, but this is done on purpose
-# See https://github.com/pypa/setuptools/pull/4228#issuecomment-1959856400
-from distutils.sysconfig import _config_vars as _CONFIG_VARS  # noqa: E402
-
-
-def _customize_compiler_for_shlib(compiler):
-    if sys.platform == "darwin":
-        # building .dylib requires additional compiler flags on OSX; here we
-        # temporarily substitute the pyconfig.h variables so that distutils'
-        # 'customize_compiler' uses them before we build the shared libraries.
-        tmp = _CONFIG_VARS.copy()
-        try:
-            # XXX Help!  I don't have any idea whether these are right...
-            _CONFIG_VARS['LDSHARED'] = (
-                "gcc -Wl,-x -dynamiclib -undefined dynamic_lookup"
-            )
-            _CONFIG_VARS['CCSHARED'] = " -dynamiclib"
-            _CONFIG_VARS['SO'] = ".dylib"
-            customize_compiler(compiler)
-        finally:
-            _CONFIG_VARS.clear()
-            _CONFIG_VARS.update(tmp)
-    else:
-        customize_compiler(compiler)
-
-
-have_rtld = False
-use_stubs = False
-libtype = 'shared'
-
-if sys.platform == "darwin":
-    use_stubs = True
-elif os.name != 'nt':
-    try:
-        import dl  # type: ignore[import-not-found] # https://github.com/python/mypy/issues/13002
-
-        use_stubs = have_rtld = hasattr(dl, 'RTLD_NOW')
-    except ImportError:
-        pass
-
-
-def if_dl(s):
-    return s if have_rtld else ''
-
-
-def get_abi3_suffix():
-    """Return the file extension for an abi3-compliant Extension()"""
-    for suffix in EXTENSION_SUFFIXES:
-        if '.abi3' in suffix:  # Unix
-            return suffix
-        elif suffix == '.pyd':  # Windows
-            return suffix
-    return None
-
-
-class build_ext(_build_ext):
-    distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
-    editable_mode = False
-    inplace = False
-
-    def run(self):
-        """Build extensions in build directory, then copy if --inplace"""
-        old_inplace, self.inplace = self.inplace, False
-        _build_ext.run(self)
-        self.inplace = old_inplace
-        if old_inplace:
-            self.copy_extensions_to_source()
-
-    def _get_inplace_equivalent(self, build_py, ext: Extension) -> tuple[str, str]:
-        fullname = self.get_ext_fullname(ext.name)
-        filename = self.get_ext_filename(fullname)
-        modpath = fullname.split('.')
-        package = '.'.join(modpath[:-1])
-        package_dir = build_py.get_package_dir(package)
-        inplace_file = os.path.join(package_dir, os.path.basename(filename))
-        regular_file = os.path.join(self.build_lib, filename)
-        return (inplace_file, regular_file)
-
-    def copy_extensions_to_source(self) -> None:
-        build_py = self.get_finalized_command('build_py')
-        for ext in self.extensions:
-            inplace_file, regular_file = self._get_inplace_equivalent(build_py, ext)
-
-            # Always copy, even if source is older than destination, to ensure
-            # that the right extensions for the current Python/platform are
-            # used.
-            if os.path.exists(regular_file) or not ext.optional:
-                self.copy_file(regular_file, inplace_file, level=self.verbose)
-
-            if ext._needs_stub:
-                inplace_stub = self._get_equivalent_stub(ext, inplace_file)
-                self._write_stub_file(inplace_stub, ext, compile=True)
-                # Always compile stub and remove the original (leave the cache behind)
-                # (this behaviour was observed in previous iterations of the code)
-
-    def _get_equivalent_stub(self, ext: Extension, output_file: str) -> str:
-        dir_ = os.path.dirname(output_file)
-        _, _, name = ext.name.rpartition(".")
-        return f"{os.path.join(dir_, name)}.py"
-
-    def _get_output_mapping(self) -> Iterator[tuple[str, str]]:
-        if not self.inplace:
-            return
-
-        build_py = self.get_finalized_command('build_py')
-        opt = self.get_finalized_command('install_lib').optimize or ""
-
-        for ext in self.extensions:
-            inplace_file, regular_file = self._get_inplace_equivalent(build_py, ext)
-            yield (regular_file, inplace_file)
-
-            if ext._needs_stub:
-                # This version of `build_ext` always builds artifacts in another dir,
-                # when "inplace=True" is given it just copies them back.
-                # This is done in the `copy_extensions_to_source` function, which
-                # always compile stub files via `_compile_and_remove_stub`.
-                # At the end of the process, a `.pyc` stub file is created without the
-                # corresponding `.py`.
-
-                inplace_stub = self._get_equivalent_stub(ext, inplace_file)
-                regular_stub = self._get_equivalent_stub(ext, regular_file)
-                inplace_cache = _compiled_file_name(inplace_stub, optimization=opt)
-                output_cache = _compiled_file_name(regular_stub, optimization=opt)
-                yield (output_cache, inplace_cache)
-
-    def get_ext_filename(self, fullname: str) -> str:
-        so_ext = os.getenv('SETUPTOOLS_EXT_SUFFIX')
-        if so_ext:
-            filename = os.path.join(*fullname.split('.')) + so_ext
-        else:
-            filename = _build_ext.get_ext_filename(self, fullname)
-            ext_suffix = get_config_var('EXT_SUFFIX')
-            if not isinstance(ext_suffix, str):
-                raise OSError(
-                    "Configuration variable EXT_SUFFIX not found for this platform "
-                    + "and environment variable SETUPTOOLS_EXT_SUFFIX is missing"
-                )
-            so_ext = ext_suffix
-
-        if fullname in self.ext_map:
-            ext = self.ext_map[fullname]
-            abi3_suffix = get_abi3_suffix()
-            if ext.py_limited_api and abi3_suffix:  # Use abi3
-                filename = filename[: -len(so_ext)] + abi3_suffix
-            if isinstance(ext, Library):
-                fn, ext = os.path.splitext(filename)
-                return self.shlib_compiler.library_filename(fn, libtype)
-            elif use_stubs and ext._links_to_dynamic:
-                d, fn = os.path.split(filename)
-                return os.path.join(d, 'dl-' + fn)
-        return filename
-
-    def initialize_options(self):
-        _build_ext.initialize_options(self)
-        self.shlib_compiler = None
-        self.shlibs = []
-        self.ext_map = {}
-        self.editable_mode = False
-
-    def finalize_options(self) -> None:
-        _build_ext.finalize_options(self)
-        self.extensions = self.extensions or []
-        self.check_extensions_list(self.extensions)
-        self.shlibs = [ext for ext in self.extensions if isinstance(ext, Library)]
-        if self.shlibs:
-            self.setup_shlib_compiler()
-        for ext in self.extensions:
-            ext._full_name = self.get_ext_fullname(ext.name)
-        for ext in self.extensions:
-            fullname = ext._full_name
-            self.ext_map[fullname] = ext
-
-            # distutils 3.1 will also ask for module names
-            # XXX what to do with conflicts?
-            self.ext_map[fullname.split('.')[-1]] = ext
-
-            ltd = self.shlibs and self.links_to_dynamic(ext) or False
-            ns = ltd and use_stubs and not isinstance(ext, Library)
-            ext._links_to_dynamic = ltd
-            ext._needs_stub = ns
-            filename = ext._file_name = self.get_ext_filename(fullname)
-            libdir = os.path.dirname(os.path.join(self.build_lib, filename))
-            if ltd and libdir not in ext.library_dirs:
-                ext.library_dirs.append(libdir)
-            if ltd and use_stubs and os.curdir not in ext.runtime_library_dirs:
-                ext.runtime_library_dirs.append(os.curdir)
-
-        if self.editable_mode:
-            self.inplace = True
-
-    def setup_shlib_compiler(self):
-        compiler = self.shlib_compiler = new_compiler(
-            compiler=self.compiler, dry_run=self.dry_run, force=self.force
-        )
-        _customize_compiler_for_shlib(compiler)
-
-        if self.include_dirs is not None:
-            compiler.set_include_dirs(self.include_dirs)
-        if self.define is not None:
-            # 'define' option is a list of (name,value) tuples
-            for name, value in self.define:
-                compiler.define_macro(name, value)
-        if self.undef is not None:
-            for macro in self.undef:
-                compiler.undefine_macro(macro)
-        if self.libraries is not None:
-            compiler.set_libraries(self.libraries)
-        if self.library_dirs is not None:
-            compiler.set_library_dirs(self.library_dirs)
-        if self.rpath is not None:
-            compiler.set_runtime_library_dirs(self.rpath)
-        if self.link_objects is not None:
-            compiler.set_link_objects(self.link_objects)
-
-        # hack so distutils' build_extension() builds a library instead
-        compiler.link_shared_object = link_shared_object.__get__(compiler)  # type: ignore[method-assign]
-
-    def get_export_symbols(self, ext):
-        if isinstance(ext, Library):
-            return ext.export_symbols
-        return _build_ext.get_export_symbols(self, ext)
-
-    def build_extension(self, ext) -> None:
-        ext._convert_pyx_sources_to_lang()
-        _compiler = self.compiler
-        try:
-            if isinstance(ext, Library):
-                self.compiler = self.shlib_compiler
-            _build_ext.build_extension(self, ext)
-            if ext._needs_stub:
-                build_lib = self.get_finalized_command('build_py').build_lib
-                self.write_stub(build_lib, ext)
-        finally:
-            self.compiler = _compiler
-
-    def links_to_dynamic(self, ext):
-        """Return true if 'ext' links to a dynamic lib in the same package"""
-        # XXX this should check to ensure the lib is actually being built
-        # XXX as dynamic, and not just using a locally-found version or a
-        # XXX static-compiled version
-        libnames = dict.fromkeys([lib._full_name for lib in self.shlibs])
-        pkg = '.'.join(ext._full_name.split('.')[:-1] + [''])
-        return any(pkg + libname in libnames for libname in ext.libraries)
-
-    def get_source_files(self) -> list[str]:
-        return [*_build_ext.get_source_files(self), *self._get_internal_depends()]
-
-    def _get_internal_depends(self) -> Iterator[str]:
-        """Yield ``ext.depends`` that are contained by the project directory"""
-        project_root = Path(self.distribution.src_root or os.curdir).resolve()
-        depends = (dep for ext in self.extensions for dep in ext.depends)
-
-        def skip(orig_path: str, reason: str) -> None:
-            log.info(
-                "dependency %s won't be automatically "
-                "included in the manifest: the path %s",
-                orig_path,
-                reason,
-            )
-
-        for dep in depends:
-            path = Path(dep)
-
-            if path.is_absolute():
-                skip(dep, "must be relative")
-                continue
-
-            if ".." in path.parts:
-                skip(dep, "can't have `..` segments")
-                continue
-
-            try:
-                resolved = (project_root / path).resolve(strict=True)
-            except OSError:
-                skip(dep, "doesn't exist")
-                continue
-
-            try:
-                resolved.relative_to(project_root)
-            except ValueError:
-                skip(dep, "must be inside the project root")
-                continue
-
-            yield path.as_posix()
-
-    def get_outputs(self) -> list[str]:
-        if self.inplace:
-            return list(self.get_output_mapping().keys())
-        return sorted(_build_ext.get_outputs(self) + self.__get_stubs_outputs())
-
-    def get_output_mapping(self) -> dict[str, str]:
-        """See :class:`setuptools.commands.build.SubCommand`"""
-        mapping = self._get_output_mapping()
-        return dict(sorted(mapping, key=lambda x: x[0]))
-
-    def __get_stubs_outputs(self):
-        # assemble the base name for each extension that needs a stub
-        ns_ext_bases = (
-            os.path.join(self.build_lib, *ext._full_name.split('.'))
-            for ext in self.extensions
-            if ext._needs_stub
-        )
-        # pair each base with the extension
-        pairs = itertools.product(ns_ext_bases, self.__get_output_extensions())
-        return list(base + fnext for base, fnext in pairs)
-
-    def __get_output_extensions(self):
-        yield '.py'
-        yield '.pyc'
-        if self.get_finalized_command('build_py').optimize:
-            yield '.pyo'
-
-    def write_stub(self, output_dir, ext, compile=False) -> None:
-        stub_file = os.path.join(output_dir, *ext._full_name.split('.')) + '.py'
-        self._write_stub_file(stub_file, ext, compile)
-
-    def _write_stub_file(self, stub_file: str, ext: Extension, compile=False):
-        log.info("writing stub loader for %s to %s", ext._full_name, stub_file)
-        if compile and os.path.exists(stub_file):
-            raise BaseError(stub_file + " already exists! Please delete.")
-        if not self.dry_run:
-            with open(stub_file, 'w', encoding="utf-8") as f:
-                content = '\n'.join([
-                    "def __bootstrap__():",
-                    "   global __bootstrap__, __file__, __loader__",
-                    "   import sys, os, pkg_resources, importlib.util" + if_dl(", dl"),
-                    "   __file__ = pkg_resources.resource_filename"
-                    "(__name__,%r)" % os.path.basename(ext._file_name),
-                    "   del __bootstrap__",
-                    "   if '__loader__' in globals():",
-                    "       del __loader__",
-                    if_dl("   old_flags = sys.getdlopenflags()"),
-                    "   old_dir = os.getcwd()",
-                    "   try:",
-                    "     os.chdir(os.path.dirname(__file__))",
-                    if_dl("     sys.setdlopenflags(dl.RTLD_NOW)"),
-                    "     spec = importlib.util.spec_from_file_location(",
-                    "                __name__, __file__)",
-                    "     mod = importlib.util.module_from_spec(spec)",
-                    "     spec.loader.exec_module(mod)",
-                    "   finally:",
-                    if_dl("     sys.setdlopenflags(old_flags)"),
-                    "     os.chdir(old_dir)",
-                    "__bootstrap__()",
-                    "",  # terminal \n
-                ])
-                f.write(content)
-        if compile:
-            self._compile_and_remove_stub(stub_file)
-
-    def _compile_and_remove_stub(self, stub_file: str):
-        from distutils.util import byte_compile
-
-        byte_compile([stub_file], optimize=0, force=True, dry_run=self.dry_run)
-        optimize = self.get_finalized_command('install_lib').optimize
-        if optimize > 0:
-            byte_compile(
-                [stub_file],
-                optimize=optimize,
-                force=True,
-                dry_run=self.dry_run,
-            )
-        if os.path.exists(stub_file) and not self.dry_run:
-            os.unlink(stub_file)
-
-
-if use_stubs or os.name == 'nt':
-    # Build shared libraries
-    #
-    def link_shared_object(
-        self,
-        objects,
-        output_libname,
-        output_dir=None,
-        libraries=None,
-        library_dirs=None,
-        runtime_library_dirs=None,
-        export_symbols=None,
-        debug: bool = False,
-        extra_preargs=None,
-        extra_postargs=None,
-        build_temp=None,
-        target_lang=None,
-    ) -> None:
-        self.link(
-            self.SHARED_LIBRARY,
-            objects,
-            output_libname,
-            output_dir,
-            libraries,
-            library_dirs,
-            runtime_library_dirs,
-            export_symbols,
-            debug,
-            extra_preargs,
-            extra_postargs,
-            build_temp,
-            target_lang,
-        )
-
-else:
-    # Build static libraries everywhere else
-    libtype = 'static'
-
-    def link_shared_object(
-        self,
-        objects,
-        output_libname,
-        output_dir=None,
-        libraries=None,
-        library_dirs=None,
-        runtime_library_dirs=None,
-        export_symbols=None,
-        debug: bool = False,
-        extra_preargs=None,
-        extra_postargs=None,
-        build_temp=None,
-        target_lang=None,
-    ) -> None:
-        # XXX we need to either disallow these attrs on Library instances,
-        # or warn/abort here if set, or something...
-        # libraries=None, library_dirs=None, runtime_library_dirs=None,
-        # export_symbols=None, extra_preargs=None, extra_postargs=None,
-        # build_temp=None
-
-        assert output_dir is None  # distutils build_ext doesn't pass this
-        output_dir, filename = os.path.split(output_libname)
-        basename, _ext = os.path.splitext(filename)
-        if self.library_filename("x").startswith('lib'):
-            # strip 'lib' prefix; this is kludgy if some platform uses
-            # a different prefix
-            basename = basename[3:]
-
-        self.create_static_lib(objects, basename, output_dir, debug, target_lang)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/build_py.py b/.venv/lib/python3.12/site-packages/setuptools/command/build_py.py
deleted file mode 100644
index e7d60c64..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/build_py.py
+++ /dev/null
@@ -1,400 +0,0 @@
-from __future__ import annotations
-
-import fnmatch
-import itertools
-import os
-import stat
-import textwrap
-from collections.abc import Iterable, Iterator
-from functools import partial
-from glob import glob
-from pathlib import Path
-
-from more_itertools import unique_everseen
-
-from .._path import StrPath, StrPathT
-from ..dist import Distribution
-from ..warnings import SetuptoolsDeprecationWarning
-
-import distutils.command.build_py as orig
-import distutils.errors
-from distutils.util import convert_path
-
-_IMPLICIT_DATA_FILES = ('*.pyi', 'py.typed')
-
-
-def make_writable(target) -> None:
-    os.chmod(target, os.stat(target).st_mode | stat.S_IWRITE)
-
-
-class build_py(orig.build_py):
-    """Enhanced 'build_py' command that includes data files with packages
-
-    The data files are specified via a 'package_data' argument to 'setup()'.
-    See 'setuptools.dist.Distribution' for more details.
-
-    Also, this version of the 'build_py' command allows you to specify both
-    'py_modules' and 'packages' in the same setup operation.
-    """
-
-    distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
-    editable_mode: bool = False
-    existing_egg_info_dir: StrPath | None = None  #: Private API, internal use only.
-
-    def finalize_options(self):
-        orig.build_py.finalize_options(self)
-        self.package_data = self.distribution.package_data
-        self.exclude_package_data = self.distribution.exclude_package_data or {}
-        if 'data_files' in self.__dict__:
-            del self.__dict__['data_files']
-
-    def copy_file(  # type: ignore[override] # No overload, no bytes support
-        self,
-        infile: StrPath,
-        outfile: StrPathT,
-        preserve_mode: bool = True,
-        preserve_times: bool = True,
-        link: str | None = None,
-        level: object = 1,
-    ) -> tuple[StrPathT | str, bool]:
-        # Overwrite base class to allow using links
-        if link:
-            infile = str(Path(infile).resolve())
-            outfile = str(Path(outfile).resolve())  # type: ignore[assignment] # Re-assigning a str when outfile is StrPath is ok
-        return super().copy_file(  # pyright: ignore[reportReturnType] # pypa/distutils#309
-            infile, outfile, preserve_mode, preserve_times, link, level
-        )
-
-    def run(self) -> None:
-        """Build modules, packages, and copy data files to build directory"""
-        if not (self.py_modules or self.packages) or self.editable_mode:
-            return
-
-        if self.py_modules:
-            self.build_modules()
-
-        if self.packages:
-            self.build_packages()
-            self.build_package_data()
-
-        # Only compile actual .py files, using our base class' idea of what our
-        # output files are.
-        self.byte_compile(orig.build_py.get_outputs(self, include_bytecode=False))
-
-    def __getattr__(self, attr: str):
-        "lazily compute data files"
-        if attr == 'data_files':
-            self.data_files = self._get_data_files()
-            return self.data_files
-        return orig.build_py.__getattr__(self, attr)
-
-    def _get_data_files(self):
-        """Generate list of '(package,src_dir,build_dir,filenames)' tuples"""
-        self.analyze_manifest()
-        return list(map(self._get_pkg_data_files, self.packages or ()))
-
-    def get_data_files_without_manifest(self):
-        """
-        Generate list of ``(package,src_dir,build_dir,filenames)`` tuples,
-        but without triggering any attempt to analyze or build the manifest.
-        """
-        # Prevent eventual errors from unset `manifest_files`
-        # (that would otherwise be set by `analyze_manifest`)
-        self.__dict__.setdefault('manifest_files', {})
-        return list(map(self._get_pkg_data_files, self.packages or ()))
-
-    def _get_pkg_data_files(self, package):
-        # Locate package source directory
-        src_dir = self.get_package_dir(package)
-
-        # Compute package build directory
-        build_dir = os.path.join(*([self.build_lib] + package.split('.')))
-
-        # Strip directory from globbed filenames
-        filenames = [
-            os.path.relpath(file, src_dir)
-            for file in self.find_data_files(package, src_dir)
-        ]
-        return package, src_dir, build_dir, filenames
-
-    def find_data_files(self, package, src_dir):
-        """Return filenames for package's data files in 'src_dir'"""
-        patterns = self._get_platform_patterns(
-            self.package_data,
-            package,
-            src_dir,
-            extra_patterns=_IMPLICIT_DATA_FILES,
-        )
-        globs_expanded = map(partial(glob, recursive=True), patterns)
-        # flatten the expanded globs into an iterable of matches
-        globs_matches = itertools.chain.from_iterable(globs_expanded)
-        glob_files = filter(os.path.isfile, globs_matches)
-        files = itertools.chain(
-            self.manifest_files.get(package, []),
-            glob_files,
-        )
-        return self.exclude_data_files(package, src_dir, files)
-
-    def get_outputs(self, include_bytecode: bool = True) -> list[str]:  # type: ignore[override] # Using a real boolean instead of 0|1
-        """See :class:`setuptools.commands.build.SubCommand`"""
-        if self.editable_mode:
-            return list(self.get_output_mapping().keys())
-        return super().get_outputs(include_bytecode)
-
-    def get_output_mapping(self) -> dict[str, str]:
-        """See :class:`setuptools.commands.build.SubCommand`"""
-        mapping = itertools.chain(
-            self._get_package_data_output_mapping(),
-            self._get_module_mapping(),
-        )
-        return dict(sorted(mapping, key=lambda x: x[0]))
-
-    def _get_module_mapping(self) -> Iterator[tuple[str, str]]:
-        """Iterate over all modules producing (dest, src) pairs."""
-        for package, module, module_file in self.find_all_modules():
-            package = package.split('.')
-            filename = self.get_module_outfile(self.build_lib, package, module)
-            yield (filename, module_file)
-
-    def _get_package_data_output_mapping(self) -> Iterator[tuple[str, str]]:
-        """Iterate over package data producing (dest, src) pairs."""
-        for package, src_dir, build_dir, filenames in self.data_files:
-            for filename in filenames:
-                target = os.path.join(build_dir, filename)
-                srcfile = os.path.join(src_dir, filename)
-                yield (target, srcfile)
-
-    def build_package_data(self) -> None:
-        """Copy data files into build directory"""
-        for target, srcfile in self._get_package_data_output_mapping():
-            self.mkpath(os.path.dirname(target))
-            _outf, _copied = self.copy_file(srcfile, target)
-            make_writable(target)
-
-    def analyze_manifest(self) -> None:
-        self.manifest_files: dict[str, list[str]] = {}
-        if not self.distribution.include_package_data:
-            return
-        src_dirs: dict[str, str] = {}
-        for package in self.packages or ():
-            # Locate package source directory
-            src_dirs[assert_relative(self.get_package_dir(package))] = package
-
-        if (
-            self.existing_egg_info_dir
-            and Path(self.existing_egg_info_dir, "SOURCES.txt").exists()
-        ):
-            egg_info_dir = self.existing_egg_info_dir
-            manifest = Path(egg_info_dir, "SOURCES.txt")
-            files = manifest.read_text(encoding="utf-8").splitlines()
-        else:
-            self.run_command('egg_info')
-            ei_cmd = self.get_finalized_command('egg_info')
-            egg_info_dir = ei_cmd.egg_info
-            files = ei_cmd.filelist.files
-
-        check = _IncludePackageDataAbuse()
-        for path in self._filter_build_files(files, egg_info_dir):
-            d, f = os.path.split(assert_relative(path))
-            prev = None
-            oldf = f
-            while d and d != prev and d not in src_dirs:
-                prev = d
-                d, df = os.path.split(d)
-                f = os.path.join(df, f)
-            if d in src_dirs:
-                if f == oldf:
-                    if check.is_module(f):
-                        continue  # it's a module, not data
-                else:
-                    importable = check.importable_subpackage(src_dirs[d], f)
-                    if importable:
-                        check.warn(importable)
-                self.manifest_files.setdefault(src_dirs[d], []).append(path)
-
-    def _filter_build_files(
-        self, files: Iterable[str], egg_info: StrPath
-    ) -> Iterator[str]:
-        """
-        ``build_meta`` may try to create egg_info outside of the project directory,
-        and this can be problematic for certain plugins (reported in issue #3500).
-
-        Extensions might also include between their sources files created on the
-        ``build_lib`` and ``build_temp`` directories.
-
-        This function should filter this case of invalid files out.
-        """
-        build = self.get_finalized_command("build")
-        build_dirs = (egg_info, self.build_lib, build.build_temp, build.build_base)
-        norm_dirs = [os.path.normpath(p) for p in build_dirs if p]
-
-        for file in files:
-            norm_path = os.path.normpath(file)
-            if not os.path.isabs(file) or all(d not in norm_path for d in norm_dirs):
-                yield file
-
-    def get_data_files(self) -> None:
-        pass  # Lazily compute data files in _get_data_files() function.
-
-    def check_package(self, package, package_dir):
-        """Check namespace packages' __init__ for declare_namespace"""
-        try:
-            return self.packages_checked[package]
-        except KeyError:
-            pass
-
-        init_py = orig.build_py.check_package(self, package, package_dir)
-        self.packages_checked[package] = init_py
-
-        if not init_py or not self.distribution.namespace_packages:
-            return init_py
-
-        for pkg in self.distribution.namespace_packages:
-            if pkg == package or pkg.startswith(package + '.'):
-                break
-        else:
-            return init_py
-
-        with open(init_py, 'rb') as f:
-            contents = f.read()
-        if b'declare_namespace' not in contents:
-            raise distutils.errors.DistutilsError(
-                "Namespace package problem: %s is a namespace package, but "
-                "its\n__init__.py does not call declare_namespace()! Please "
-                'fix it.\n(See the setuptools manual under '
-                '"Namespace Packages" for details.)\n"' % (package,)
-            )
-        return init_py
-
-    def initialize_options(self):
-        self.packages_checked = {}
-        orig.build_py.initialize_options(self)
-        self.editable_mode = False
-        self.existing_egg_info_dir = None
-
-    def get_package_dir(self, package):
-        res = orig.build_py.get_package_dir(self, package)
-        if self.distribution.src_root is not None:
-            return os.path.join(self.distribution.src_root, res)
-        return res
-
-    def exclude_data_files(self, package, src_dir, files):
-        """Filter filenames for package's data files in 'src_dir'"""
-        files = list(files)
-        patterns = self._get_platform_patterns(
-            self.exclude_package_data,
-            package,
-            src_dir,
-        )
-        match_groups = (fnmatch.filter(files, pattern) for pattern in patterns)
-        # flatten the groups of matches into an iterable of matches
-        matches = itertools.chain.from_iterable(match_groups)
-        bad = set(matches)
-        keepers = (fn for fn in files if fn not in bad)
-        # ditch dupes
-        return list(unique_everseen(keepers))
-
-    @staticmethod
-    def _get_platform_patterns(spec, package, src_dir, extra_patterns=()):
-        """
-        yield platform-specific path patterns (suitable for glob
-        or fn_match) from a glob-based spec (such as
-        self.package_data or self.exclude_package_data)
-        matching package in src_dir.
-        """
-        raw_patterns = itertools.chain(
-            extra_patterns,
-            spec.get('', []),
-            spec.get(package, []),
-        )
-        return (
-            # Each pattern has to be converted to a platform-specific path
-            os.path.join(src_dir, convert_path(pattern))
-            for pattern in raw_patterns
-        )
-
-
-def assert_relative(path):
-    if not os.path.isabs(path):
-        return path
-    from distutils.errors import DistutilsSetupError
-
-    msg = (
-        textwrap.dedent(
-            """
-        Error: setup script specifies an absolute path:
-
-            %s
-
-        setup() arguments must *always* be /-separated paths relative to the
-        setup.py directory, *never* absolute paths.
-        """
-        ).lstrip()
-        % path
-    )
-    raise DistutilsSetupError(msg)
-
-
-class _IncludePackageDataAbuse:
-    """Inform users that package or module is included as 'data file'"""
-
-    class _Warning(SetuptoolsDeprecationWarning):
-        _SUMMARY = """
-        Package {importable!r} is absent from the `packages` configuration.
-        """
-
-        _DETAILS = """
-        ############################
-        # Package would be ignored #
-        ############################
-        Python recognizes {importable!r} as an importable package[^1],
-        but it is absent from setuptools' `packages` configuration.
-
-        This leads to an ambiguous overall configuration. If you want to distribute this
-        package, please make sure that {importable!r} is explicitly added
-        to the `packages` configuration field.
-
-        Alternatively, you can also rely on setuptools' discovery methods
-        (for example by using `find_namespace_packages(...)`/`find_namespace:`
-        instead of `find_packages(...)`/`find:`).
-
-        You can read more about "package discovery" on setuptools documentation page:
-
-        - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
-
-        If you don't want {importable!r} to be distributed and are
-        already explicitly excluding {importable!r} via
-        `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
-        you can try to use `exclude_package_data`, or `include-package-data=False` in
-        combination with a more fine grained `package-data` configuration.
-
-        You can read more about "package data files" on setuptools documentation page:
-
-        - https://setuptools.pypa.io/en/latest/userguide/datafiles.html
-
-
-        [^1]: For Python, any directory (with suitable naming) can be imported,
-              even if it does not contain any `.py` files.
-              On the other hand, currently there is no concept of package data
-              directory, all directories are treated like packages.
-        """
-        # _DUE_DATE: still not defined as this is particularly controversial.
-        # Warning initially introduced in May 2022. See issue #3340 for discussion.
-
-    def __init__(self):
-        self._already_warned = set()
-
-    def is_module(self, file):
-        return file.endswith(".py") and file[: -len(".py")].isidentifier()
-
-    def importable_subpackage(self, parent, file):
-        pkg = Path(file).parent
-        parts = list(itertools.takewhile(str.isidentifier, pkg.parts))
-        if parts:
-            return ".".join([parent, *parts])
-        return None
-
-    def warn(self, importable):
-        if importable not in self._already_warned:
-            self._Warning.emit(importable=importable)
-            self._already_warned.add(importable)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/develop.py b/.venv/lib/python3.12/site-packages/setuptools/command/develop.py
deleted file mode 100644
index 7eee29d4..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/develop.py
+++ /dev/null
@@ -1,195 +0,0 @@
-import glob
-import os
-
-import setuptools
-from setuptools import _normalization, _path, namespaces
-from setuptools.command.easy_install import easy_install
-
-from ..unicode_utils import _read_utf8_with_fallback
-
-from distutils import log
-from distutils.errors import DistutilsOptionError
-from distutils.util import convert_path
-
-
-class develop(namespaces.DevelopInstaller, easy_install):
-    """Set up package for development"""
-
-    description = "install package in 'development mode'"
-
-    user_options = easy_install.user_options + [
-        ("uninstall", "u", "Uninstall this source package"),
-        ("egg-path=", None, "Set the path to be used in the .egg-link file"),
-    ]
-
-    boolean_options = easy_install.boolean_options + ['uninstall']
-
-    command_consumes_arguments = False  # override base
-
-    def run(self):
-        if self.uninstall:
-            self.multi_version = True
-            self.uninstall_link()
-            self.uninstall_namespaces()
-        else:
-            self.install_for_development()
-        self.warn_deprecated_options()
-
-    def initialize_options(self):
-        self.uninstall = None
-        self.egg_path = None
-        easy_install.initialize_options(self)
-        self.setup_path = None
-        self.always_copy_from = '.'  # always copy eggs installed in curdir
-
-    def finalize_options(self) -> None:
-        import pkg_resources
-
-        ei = self.get_finalized_command("egg_info")
-        self.args = [ei.egg_name]
-
-        easy_install.finalize_options(self)
-        self.expand_basedirs()
-        self.expand_dirs()
-        # pick up setup-dir .egg files only: no .egg-info
-        self.package_index.scan(glob.glob('*.egg'))
-
-        egg_link_fn = (
-            _normalization.filename_component_broken(ei.egg_name) + '.egg-link'
-        )
-        self.egg_link = os.path.join(self.install_dir, egg_link_fn)
-        self.egg_base = ei.egg_base
-        if self.egg_path is None:
-            self.egg_path = os.path.abspath(ei.egg_base)
-
-        target = _path.normpath(self.egg_base)
-        egg_path = _path.normpath(os.path.join(self.install_dir, self.egg_path))
-        if egg_path != target:
-            raise DistutilsOptionError(
-                "--egg-path must be a relative path from the install"
-                " directory to " + target
-            )
-
-        # Make a distribution for the package's source
-        self.dist = pkg_resources.Distribution(
-            target,
-            pkg_resources.PathMetadata(target, os.path.abspath(ei.egg_info)),
-            project_name=ei.egg_name,
-        )
-
-        self.setup_path = self._resolve_setup_path(
-            self.egg_base,
-            self.install_dir,
-            self.egg_path,
-        )
-
-    @staticmethod
-    def _resolve_setup_path(egg_base, install_dir, egg_path):
-        """
-        Generate a path from egg_base back to '.' where the
-        setup script resides and ensure that path points to the
-        setup path from $install_dir/$egg_path.
-        """
-        path_to_setup = egg_base.replace(os.sep, '/').rstrip('/')
-        if path_to_setup != os.curdir:
-            path_to_setup = '../' * (path_to_setup.count('/') + 1)
-        resolved = _path.normpath(os.path.join(install_dir, egg_path, path_to_setup))
-        curdir = _path.normpath(os.curdir)
-        if resolved != curdir:
-            raise DistutilsOptionError(
-                "Can't get a consistent path to setup script from"
-                " installation directory",
-                resolved,
-                curdir,
-            )
-        return path_to_setup
-
-    def install_for_development(self) -> None:
-        self.run_command('egg_info')
-
-        # Build extensions in-place
-        self.reinitialize_command('build_ext', inplace=True)
-        self.run_command('build_ext')
-
-        if setuptools.bootstrap_install_from:
-            self.easy_install(setuptools.bootstrap_install_from)
-            setuptools.bootstrap_install_from = None
-
-        self.install_namespaces()
-
-        # create an .egg-link in the installation dir, pointing to our egg
-        log.info("Creating %s (link to %s)", self.egg_link, self.egg_base)
-        if not self.dry_run:
-            with open(self.egg_link, "w", encoding="utf-8") as f:
-                f.write(self.egg_path + "\n" + self.setup_path)
-        # postprocess the installed distro, fixing up .pth, installing scripts,
-        # and handling requirements
-        self.process_distribution(None, self.dist, not self.no_deps)
-
-    def uninstall_link(self) -> None:
-        if os.path.exists(self.egg_link):
-            log.info("Removing %s (link to %s)", self.egg_link, self.egg_base)
-
-            contents = [
-                line.rstrip()
-                for line in _read_utf8_with_fallback(self.egg_link).splitlines()
-            ]
-
-            if contents not in ([self.egg_path], [self.egg_path, self.setup_path]):
-                log.warn("Link points to %s: uninstall aborted", contents)
-                return
-            if not self.dry_run:
-                os.unlink(self.egg_link)
-        if not self.dry_run:
-            self.update_pth(self.dist)  # remove any .pth link to us
-        if self.distribution.scripts:
-            # XXX should also check for entry point scripts!
-            log.warn("Note: you must uninstall or replace scripts manually!")
-
-    def install_egg_scripts(self, dist):
-        if dist is not self.dist:
-            # Installing a dependency, so fall back to normal behavior
-            return easy_install.install_egg_scripts(self, dist)
-
-        # create wrapper scripts in the script dir, pointing to dist.scripts
-
-        # new-style...
-        self.install_wrapper_scripts(dist)
-
-        # ...and old-style
-        for script_name in self.distribution.scripts or []:
-            script_path = os.path.abspath(convert_path(script_name))
-            script_name = os.path.basename(script_path)
-            script_text = _read_utf8_with_fallback(script_path)
-            self.install_script(dist, script_name, script_text, script_path)
-
-        return None
-
-    def install_wrapper_scripts(self, dist):
-        dist = VersionlessRequirement(dist)
-        return easy_install.install_wrapper_scripts(self, dist)
-
-
-class VersionlessRequirement:
-    """
-    Adapt a pkg_resources.Distribution to simply return the project
-    name as the 'requirement' so that scripts will work across
-    multiple versions.
-
-    >>> from pkg_resources import Distribution
-    >>> dist = Distribution(project_name='foo', version='1.0')
-    >>> str(dist.as_requirement())
-    'foo==1.0'
-    >>> adapted_dist = VersionlessRequirement(dist)
-    >>> str(adapted_dist.as_requirement())
-    'foo'
-    """
-
-    def __init__(self, dist) -> None:
-        self.__dist = dist
-
-    def __getattr__(self, name: str):
-        return getattr(self.__dist, name)
-
-    def as_requirement(self):
-        return self.project_name
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/dist_info.py b/.venv/lib/python3.12/site-packages/setuptools/command/dist_info.py
deleted file mode 100644
index 0192ebb2..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/dist_info.py
+++ /dev/null
@@ -1,103 +0,0 @@
-"""
-Create a dist_info directory
-As defined in the wheel specification
-"""
-
-import os
-import shutil
-from contextlib import contextmanager
-from pathlib import Path
-from typing import cast
-
-from .. import _normalization
-from .._shutil import rmdir as _rm
-from .egg_info import egg_info as egg_info_cls
-
-from distutils import log
-from distutils.core import Command
-
-
-class dist_info(Command):
-    """
-    This command is private and reserved for internal use of setuptools,
-    users should rely on ``setuptools.build_meta`` APIs.
-    """
-
-    description = "DO NOT CALL DIRECTLY, INTERNAL ONLY: create .dist-info directory"
-
-    user_options = [
-        (
-            'output-dir=',
-            'o',
-            "directory inside of which the .dist-info will be"
-            "created [default: top of the source tree]",
-        ),
-        ('tag-date', 'd', "Add date stamp (e.g. 20050528) to version number"),
-        ('tag-build=', 'b', "Specify explicit tag to add to version number"),
-        ('no-date', 'D', "Don't include date stamp [default]"),
-        ('keep-egg-info', None, "*TRANSITIONAL* will be removed in the future"),
-    ]
-
-    boolean_options = ['tag-date', 'keep-egg-info']
-    negative_opt = {'no-date': 'tag-date'}
-
-    def initialize_options(self):
-        self.output_dir = None
-        self.name = None
-        self.dist_info_dir = None
-        self.tag_date = None
-        self.tag_build = None
-        self.keep_egg_info = False
-
-    def finalize_options(self) -> None:
-        dist = self.distribution
-        project_dir = dist.src_root or os.curdir
-        self.output_dir = Path(self.output_dir or project_dir)
-
-        egg_info = cast(egg_info_cls, self.reinitialize_command("egg_info"))
-        egg_info.egg_base = str(self.output_dir)
-
-        if self.tag_date:
-            egg_info.tag_date = self.tag_date
-        else:
-            self.tag_date = egg_info.tag_date
-
-        if self.tag_build:
-            egg_info.tag_build = self.tag_build
-        else:
-            self.tag_build = egg_info.tag_build
-
-        egg_info.finalize_options()
-        self.egg_info = egg_info
-
-        name = _normalization.safer_name(dist.get_name())
-        version = _normalization.safer_best_effort_version(dist.get_version())
-        self.name = f"{name}-{version}"
-        self.dist_info_dir = os.path.join(self.output_dir, f"{self.name}.dist-info")
-
-    @contextmanager
-    def _maybe_bkp_dir(self, dir_path: str, requires_bkp: bool):
-        if requires_bkp:
-            bkp_name = f"{dir_path}.__bkp__"
-            _rm(bkp_name, ignore_errors=True)
-            shutil.copytree(dir_path, bkp_name, dirs_exist_ok=True, symlinks=True)
-            try:
-                yield
-            finally:
-                _rm(dir_path, ignore_errors=True)
-                shutil.move(bkp_name, dir_path)
-        else:
-            yield
-
-    def run(self) -> None:
-        self.output_dir.mkdir(parents=True, exist_ok=True)
-        self.egg_info.run()
-        egg_info_dir = self.egg_info.egg_info
-        assert os.path.isdir(egg_info_dir), ".egg-info dir should have been created"
-
-        log.info("creating '{}'".format(os.path.abspath(self.dist_info_dir)))
-        bdist_wheel = self.get_finalized_command('bdist_wheel')
-
-        # TODO: if bdist_wheel if merged into setuptools, just add "keep_egg_info" there
-        with self._maybe_bkp_dir(egg_info_dir, self.keep_egg_info):
-            bdist_wheel.egg2dist(egg_info_dir, self.dist_info_dir)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/easy_install.py b/.venv/lib/python3.12/site-packages/setuptools/command/easy_install.py
deleted file mode 100644
index 66fe68f7..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/easy_install.py
+++ /dev/null
@@ -1,2365 +0,0 @@
-"""
-Easy Install
-------------
-
-A tool for doing automatic download/extract/build of distutils-based Python
-packages.  For detailed documentation, see the accompanying EasyInstall.txt
-file, or visit the `EasyInstall home page`__.
-
-__ https://setuptools.pypa.io/en/latest/deprecated/easy_install.html
-
-"""
-
-from __future__ import annotations
-
-import configparser
-import contextlib
-import io
-import os
-import random
-import re
-import shlex
-import shutil
-import site
-import stat
-import struct
-import subprocess
-import sys
-import sysconfig
-import tempfile
-import textwrap
-import warnings
-import zipfile
-import zipimport
-from collections.abc import Iterable
-from glob import glob
-from sysconfig import get_path
-from typing import TYPE_CHECKING, NoReturn, TypedDict
-
-from jaraco.text import yield_lines
-
-import pkg_resources
-from pkg_resources import (
-    DEVELOP_DIST,
-    Distribution,
-    DistributionNotFound,
-    EggMetadata,
-    Environment,
-    PathMetadata,
-    Requirement,
-    VersionConflict,
-    WorkingSet,
-    find_distributions,
-    get_distribution,
-    normalize_path,
-    resource_string,
-)
-from setuptools import Command
-from setuptools.archive_util import unpack_archive
-from setuptools.command import bdist_egg, egg_info, setopt
-from setuptools.package_index import URL_SCHEME, PackageIndex, parse_requirement_arg
-from setuptools.sandbox import run_setup
-from setuptools.warnings import SetuptoolsDeprecationWarning, SetuptoolsWarning
-from setuptools.wheel import Wheel
-
-from .._path import ensure_directory
-from .._shutil import attempt_chmod_verbose as chmod, rmtree as _rmtree
-from ..compat import py39, py312
-
-from distutils import dir_util, log
-from distutils.command import install
-from distutils.command.build_scripts import first_line_re
-from distutils.errors import (
-    DistutilsArgError,
-    DistutilsError,
-    DistutilsOptionError,
-    DistutilsPlatformError,
-)
-from distutils.util import convert_path, get_platform, subst_vars
-
-if TYPE_CHECKING:
-    from typing_extensions import Self
-
-# Turn on PEP440Warnings
-warnings.filterwarnings("default", category=pkg_resources.PEP440Warning)
-
-__all__ = [
-    'easy_install',
-    'PthDistributions',
-    'extract_wininst_cfg',
-    'get_exe_prefixes',
-]
-
-
-def is_64bit():
-    return struct.calcsize("P") == 8
-
-
-def _to_bytes(s):
-    return s.encode('utf8')
-
-
-def isascii(s):
-    try:
-        s.encode('ascii')
-    except UnicodeError:
-        return False
-    return True
-
-
-def _one_liner(text):
-    return textwrap.dedent(text).strip().replace('\n', '; ')
-
-
-class easy_install(Command):
-    """Manage a download/build/install process"""
-
-    description = "Find/get/install Python packages"
-    command_consumes_arguments = True
-
-    user_options = [
-        ('prefix=', None, "installation prefix"),
-        ("zip-ok", "z", "install package as a zipfile"),
-        ("multi-version", "m", "make apps have to require() a version"),
-        ("upgrade", "U", "force upgrade (searches PyPI for latest versions)"),
-        ("install-dir=", "d", "install package to DIR"),
-        ("script-dir=", "s", "install scripts to DIR"),
-        ("exclude-scripts", "x", "Don't install scripts"),
-        ("always-copy", "a", "Copy all needed packages to install dir"),
-        ("index-url=", "i", "base URL of Python Package Index"),
-        ("find-links=", "f", "additional URL(s) to search for packages"),
-        ("build-directory=", "b", "download/extract/build in DIR; keep the results"),
-        (
-            'optimize=',
-            'O',
-            "also compile with optimization: -O1 for \"python -O\", "
-            "-O2 for \"python -OO\", and -O0 to disable [default: -O0]",
-        ),
-        ('record=', None, "filename in which to record list of installed files"),
-        ('always-unzip', 'Z', "don't install as a zipfile, no matter what"),
-        ('site-dirs=', 'S', "list of directories where .pth files work"),
-        ('editable', 'e', "Install specified packages in editable form"),
-        ('no-deps', 'N', "don't install dependencies"),
-        ('allow-hosts=', 'H', "pattern(s) that hostnames must match"),
-        ('local-snapshots-ok', 'l', "allow building eggs from local checkouts"),
-        ('version', None, "print version information and exit"),
-        (
-            'no-find-links',
-            None,
-            "Don't load find-links defined in packages being installed",
-        ),
-        ('user', None, "install in user site-package '%s'" % site.USER_SITE),
-    ]
-    boolean_options = [
-        'zip-ok',
-        'multi-version',
-        'exclude-scripts',
-        'upgrade',
-        'always-copy',
-        'editable',
-        'no-deps',
-        'local-snapshots-ok',
-        'version',
-        'user',
-    ]
-
-    negative_opt = {'always-unzip': 'zip-ok'}
-    create_index = PackageIndex
-
-    def initialize_options(self):
-        EasyInstallDeprecationWarning.emit()
-
-        # the --user option seems to be an opt-in one,
-        # so the default should be False.
-        self.user = False
-        self.zip_ok = self.local_snapshots_ok = None
-        self.install_dir = self.script_dir = self.exclude_scripts = None
-        self.index_url = None
-        self.find_links = None
-        self.build_directory = None
-        self.args = None
-        self.optimize = self.record = None
-        self.upgrade = self.always_copy = self.multi_version = None
-        self.editable = self.no_deps = self.allow_hosts = None
-        self.root = self.prefix = self.no_report = None
-        self.version = None
-        self.install_purelib = None  # for pure module distributions
-        self.install_platlib = None  # non-pure (dists w/ extensions)
-        self.install_headers = None  # for C/C++ headers
-        self.install_lib = None  # set to either purelib or platlib
-        self.install_scripts = None
-        self.install_data = None
-        self.install_base = None
-        self.install_platbase = None
-        self.install_userbase = site.USER_BASE
-        self.install_usersite = site.USER_SITE
-        self.no_find_links = None
-
-        # Options not specifiable via command line
-        self.package_index = None
-        self.pth_file = self.always_copy_from = None
-        self.site_dirs = None
-        self.installed_projects = {}
-        # Always read easy_install options, even if we are subclassed, or have
-        # an independent instance created.  This ensures that defaults will
-        # always come from the standard configuration file(s)' "easy_install"
-        # section, even if this is a "develop" or "install" command, or some
-        # other embedding.
-        self._dry_run = None
-        self.verbose = self.distribution.verbose
-        self.distribution._set_command_options(
-            self, self.distribution.get_option_dict('easy_install')
-        )
-
-    def delete_blockers(self, blockers) -> None:
-        extant_blockers = (
-            filename
-            for filename in blockers
-            if os.path.exists(filename) or os.path.islink(filename)
-        )
-        list(map(self._delete_path, extant_blockers))
-
-    def _delete_path(self, path):
-        log.info("Deleting %s", path)
-        if self.dry_run:
-            return
-
-        is_tree = os.path.isdir(path) and not os.path.islink(path)
-        remover = _rmtree if is_tree else os.unlink
-        remover(path)
-
-    @staticmethod
-    def _render_version():
-        """
-        Render the Setuptools version and installation details, then exit.
-        """
-        ver = f'{sys.version_info.major}.{sys.version_info.minor}'
-        dist = get_distribution('setuptools')
-        print(f'setuptools {dist.version} from {dist.location} (Python {ver})')
-        raise SystemExit
-
-    def finalize_options(self) -> None:  # noqa: C901  # is too complex (25)  # FIXME
-        self.version and self._render_version()
-
-        py_version = sys.version.split()[0]
-
-        self.config_vars = dict(sysconfig.get_config_vars())
-
-        self.config_vars.update({
-            'dist_name': self.distribution.get_name(),
-            'dist_version': self.distribution.get_version(),
-            'dist_fullname': self.distribution.get_fullname(),
-            'py_version': py_version,
-            'py_version_short': f'{sys.version_info.major}.{sys.version_info.minor}',
-            'py_version_nodot': f'{sys.version_info.major}{sys.version_info.minor}',
-            'sys_prefix': self.config_vars['prefix'],
-            'sys_exec_prefix': self.config_vars['exec_prefix'],
-            # Only POSIX systems have abiflags
-            'abiflags': getattr(sys, 'abiflags', ''),
-            # Only python 3.9+ has platlibdir
-            'platlibdir': getattr(sys, 'platlibdir', 'lib'),
-        })
-        with contextlib.suppress(AttributeError):
-            # only for distutils outside stdlib
-            self.config_vars.update({
-                'implementation_lower': install._get_implementation().lower(),
-                'implementation': install._get_implementation(),
-            })
-
-        # pypa/distutils#113 Python 3.9 compat
-        self.config_vars.setdefault(
-            'py_version_nodot_plat',
-            getattr(sys, 'windir', '').replace('.', ''),
-        )
-
-        self.config_vars['userbase'] = self.install_userbase
-        self.config_vars['usersite'] = self.install_usersite
-        if self.user and not site.ENABLE_USER_SITE:
-            log.warn("WARNING: The user site-packages directory is disabled.")
-
-        self._fix_install_dir_for_user_site()
-
-        self.expand_basedirs()
-        self.expand_dirs()
-
-        self._expand(
-            'install_dir',
-            'script_dir',
-            'build_directory',
-            'site_dirs',
-        )
-        # If a non-default installation directory was specified, default the
-        # script directory to match it.
-        if self.script_dir is None:
-            self.script_dir = self.install_dir
-
-        if self.no_find_links is None:
-            self.no_find_links = False
-
-        # Let install_dir get set by install_lib command, which in turn
-        # gets its info from the install command, and takes into account
-        # --prefix and --home and all that other crud.
-        self.set_undefined_options('install_lib', ('install_dir', 'install_dir'))
-        # Likewise, set default script_dir from 'install_scripts.install_dir'
-        self.set_undefined_options('install_scripts', ('install_dir', 'script_dir'))
-
-        if self.user and self.install_purelib:
-            self.install_dir = self.install_purelib
-            self.script_dir = self.install_scripts
-        # default --record from the install command
-        self.set_undefined_options('install', ('record', 'record'))
-        self.all_site_dirs = get_site_dirs()
-        self.all_site_dirs.extend(self._process_site_dirs(self.site_dirs))
-
-        if not self.editable:
-            self.check_site_dir()
-        default_index = os.getenv("__EASYINSTALL_INDEX", "https://pypi.org/simple/")
-        # ^ Private API for testing purposes only
-        self.index_url = self.index_url or default_index
-        self.shadow_path = self.all_site_dirs[:]
-        for path_item in self.install_dir, normalize_path(self.script_dir):
-            if path_item not in self.shadow_path:
-                self.shadow_path.insert(0, path_item)
-
-        if self.allow_hosts is not None:
-            hosts = [s.strip() for s in self.allow_hosts.split(',')]
-        else:
-            hosts = ['*']
-        if self.package_index is None:
-            self.package_index = self.create_index(
-                self.index_url,
-                search_path=self.shadow_path,
-                hosts=hosts,
-            )
-        self.local_index = Environment(self.shadow_path + sys.path)
-
-        if self.find_links is not None:
-            if isinstance(self.find_links, str):
-                self.find_links = self.find_links.split()
-        else:
-            self.find_links = []
-        if self.local_snapshots_ok:
-            self.package_index.scan_egg_links(self.shadow_path + sys.path)
-        if not self.no_find_links:
-            self.package_index.add_find_links(self.find_links)
-        self.set_undefined_options('install_lib', ('optimize', 'optimize'))
-        self.optimize = self._validate_optimize(self.optimize)
-
-        if self.editable and not self.build_directory:
-            raise DistutilsArgError(
-                "Must specify a build directory (-b) when using --editable"
-            )
-        if not self.args:
-            raise DistutilsArgError(
-                "No urls, filenames, or requirements specified (see --help)"
-            )
-
-        self.outputs: list[str] = []
-
-    @staticmethod
-    def _process_site_dirs(site_dirs):
-        if site_dirs is None:
-            return
-
-        normpath = map(normalize_path, sys.path)
-        site_dirs = [os.path.expanduser(s.strip()) for s in site_dirs.split(',')]
-        for d in site_dirs:
-            if not os.path.isdir(d):
-                log.warn("%s (in --site-dirs) does not exist", d)
-            elif normalize_path(d) not in normpath:
-                raise DistutilsOptionError(d + " (in --site-dirs) is not on sys.path")
-            else:
-                yield normalize_path(d)
-
-    @staticmethod
-    def _validate_optimize(value):
-        try:
-            value = int(value)
-            if value not in range(3):
-                raise ValueError
-        except ValueError as e:
-            raise DistutilsOptionError("--optimize must be 0, 1, or 2") from e
-
-        return value
-
-    def _fix_install_dir_for_user_site(self):
-        """
-        Fix the install_dir if "--user" was used.
-        """
-        if not self.user:
-            return
-
-        self.create_home_path()
-        if self.install_userbase is None:
-            msg = "User base directory is not specified"
-            raise DistutilsPlatformError(msg)
-        self.install_base = self.install_platbase = self.install_userbase
-        scheme_name = f'{os.name}_user'
-        self.select_scheme(scheme_name)
-
-    def _expand_attrs(self, attrs):
-        for attr in attrs:
-            val = getattr(self, attr)
-            if val is not None:
-                if os.name == 'posix' or os.name == 'nt':
-                    val = os.path.expanduser(val)
-                val = subst_vars(val, self.config_vars)
-                setattr(self, attr, val)
-
-    def expand_basedirs(self) -> None:
-        """Calls `os.path.expanduser` on install_base, install_platbase and
-        root."""
-        self._expand_attrs(['install_base', 'install_platbase', 'root'])
-
-    def expand_dirs(self) -> None:
-        """Calls `os.path.expanduser` on install dirs."""
-        dirs = [
-            'install_purelib',
-            'install_platlib',
-            'install_lib',
-            'install_headers',
-            'install_scripts',
-            'install_data',
-        ]
-        self._expand_attrs(dirs)
-
-    def run(self, show_deprecation: bool = True) -> None:
-        if show_deprecation:
-            self.announce(
-                "WARNING: The easy_install command is deprecated "
-                "and will be removed in a future version.",
-                log.WARN,
-            )
-        if self.verbose != self.distribution.verbose:
-            log.set_verbosity(self.verbose)
-        try:
-            for spec in self.args:
-                self.easy_install(spec, not self.no_deps)
-            if self.record:
-                outputs = self.outputs
-                if self.root:  # strip any package prefix
-                    root_len = len(self.root)
-                    for counter in range(len(outputs)):
-                        outputs[counter] = outputs[counter][root_len:]
-                from distutils import file_util
-
-                self.execute(
-                    file_util.write_file,
-                    (self.record, outputs),
-                    "writing list of installed files to '%s'" % self.record,
-                )
-            self.warn_deprecated_options()
-        finally:
-            log.set_verbosity(self.distribution.verbose)
-
-    def pseudo_tempname(self):
-        """Return a pseudo-tempname base in the install directory.
-        This code is intentionally naive; if a malicious party can write to
-        the target directory you're already in deep doodoo.
-        """
-        try:
-            pid = os.getpid()
-        except Exception:
-            pid = random.randint(0, sys.maxsize)
-        return os.path.join(self.install_dir, "test-easy-install-%s" % pid)
-
-    def warn_deprecated_options(self) -> None:
-        pass
-
-    def check_site_dir(self) -> None:  # is too complex (12)  # FIXME
-        """Verify that self.install_dir is .pth-capable dir, if needed"""
-
-        instdir = normalize_path(self.install_dir)
-        pth_file = os.path.join(instdir, 'easy-install.pth')
-
-        if not os.path.exists(instdir):
-            try:
-                os.makedirs(instdir)
-            except OSError:
-                self.cant_write_to_target()
-
-        # Is it a configured, PYTHONPATH, implicit, or explicit site dir?
-        is_site_dir = instdir in self.all_site_dirs
-
-        if not is_site_dir and not self.multi_version:
-            # No?  Then directly test whether it does .pth file processing
-            is_site_dir = self.check_pth_processing()
-        else:
-            # make sure we can write to target dir
-            testfile = self.pseudo_tempname() + '.write-test'
-            test_exists = os.path.exists(testfile)
-            try:
-                if test_exists:
-                    os.unlink(testfile)
-                open(testfile, 'wb').close()
-                os.unlink(testfile)
-            except OSError:
-                self.cant_write_to_target()
-
-        if not is_site_dir and not self.multi_version:
-            # Can't install non-multi to non-site dir with easy_install
-            pythonpath = os.environ.get('PYTHONPATH', '')
-            log.warn(self.__no_default_msg, self.install_dir, pythonpath)
-
-        if is_site_dir:
-            if self.pth_file is None:
-                self.pth_file = PthDistributions(pth_file, self.all_site_dirs)
-        else:
-            self.pth_file = None
-
-        if self.multi_version and not os.path.exists(pth_file):
-            self.pth_file = None  # don't create a .pth file
-        self.install_dir = instdir
-
-    __cant_write_msg = textwrap.dedent(
-        """
-        can't create or remove files in install directory
-
-        The following error occurred while trying to add or remove files in the
-        installation directory:
-
-            %s
-
-        The installation directory you specified (via --install-dir, --prefix, or
-        the distutils default setting) was:
-
-            %s
-        """
-    ).lstrip()
-
-    __not_exists_id = textwrap.dedent(
-        """
-        This directory does not currently exist.  Please create it and try again, or
-        choose a different installation directory (using the -d or --install-dir
-        option).
-        """
-    ).lstrip()
-
-    __access_msg = textwrap.dedent(
-        """
-        Perhaps your account does not have write access to this directory?  If the
-        installation directory is a system-owned directory, you may need to sign in
-        as the administrator or "root" account.  If you do not have administrative
-        access to this machine, you may wish to choose a different installation
-        directory, preferably one that is listed in your PYTHONPATH environment
-        variable.
-
-        For information on other options, you may wish to consult the
-        documentation at:
-
-          https://setuptools.pypa.io/en/latest/deprecated/easy_install.html
-
-        Please make the appropriate changes for your system and try again.
-        """
-    ).lstrip()
-
-    def cant_write_to_target(self) -> NoReturn:
-        msg = self.__cant_write_msg % (
-            sys.exc_info()[1],
-            self.install_dir,
-        )
-
-        if not os.path.exists(self.install_dir):
-            msg += '\n' + self.__not_exists_id
-        else:
-            msg += '\n' + self.__access_msg
-        raise DistutilsError(msg)
-
-    def check_pth_processing(self):  # noqa: C901
-        """Empirically verify whether .pth files are supported in inst. dir"""
-        instdir = self.install_dir
-        log.info("Checking .pth file support in %s", instdir)
-        pth_file = self.pseudo_tempname() + ".pth"
-        ok_file = pth_file + '.ok'
-        ok_exists = os.path.exists(ok_file)
-        tmpl = (
-            _one_liner(
-                """
-            import os
-            f = open({ok_file!r}, 'w', encoding="utf-8")
-            f.write('OK')
-            f.close()
-            """
-            )
-            + '\n'
-        )
-        try:
-            if ok_exists:
-                os.unlink(ok_file)
-            dirname = os.path.dirname(ok_file)
-            os.makedirs(dirname, exist_ok=True)
-            f = open(pth_file, 'w', encoding=py312.PTH_ENCODING)
-            # ^-- Python<3.13 require encoding="locale" instead of "utf-8",
-            #     see python/cpython#77102.
-        except OSError:
-            self.cant_write_to_target()
-        else:
-            try:
-                f.write(tmpl.format(**locals()))
-                f.close()
-                f = None
-                executable = sys.executable
-                if os.name == 'nt':
-                    dirname, basename = os.path.split(executable)
-                    alt = os.path.join(dirname, 'pythonw.exe')
-                    use_alt = basename.lower() == 'python.exe' and os.path.exists(alt)
-                    if use_alt:
-                        # use pythonw.exe to avoid opening a console window
-                        executable = alt
-
-                from distutils.spawn import spawn
-
-                spawn([executable, '-E', '-c', 'pass'], 0)
-
-                if os.path.exists(ok_file):
-                    log.info("TEST PASSED: %s appears to support .pth files", instdir)
-                    return True
-            finally:
-                if f:
-                    f.close()
-                if os.path.exists(ok_file):
-                    os.unlink(ok_file)
-                if os.path.exists(pth_file):
-                    os.unlink(pth_file)
-        if not self.multi_version:
-            log.warn("TEST FAILED: %s does NOT support .pth files", instdir)
-        return False
-
-    def install_egg_scripts(self, dist) -> None:
-        """Write all the scripts for `dist`, unless scripts are excluded"""
-        if not self.exclude_scripts and dist.metadata_isdir('scripts'):
-            for script_name in dist.metadata_listdir('scripts'):
-                if dist.metadata_isdir('scripts/' + script_name):
-                    # The "script" is a directory, likely a Python 3
-                    # __pycache__ directory, so skip it.
-                    continue
-                self.install_script(
-                    dist, script_name, dist.get_metadata('scripts/' + script_name)
-                )
-        self.install_wrapper_scripts(dist)
-
-    def add_output(self, path) -> None:
-        if os.path.isdir(path):
-            for base, dirs, files in os.walk(path):
-                for filename in files:
-                    self.outputs.append(os.path.join(base, filename))
-        else:
-            self.outputs.append(path)
-
-    def not_editable(self, spec) -> None:
-        if self.editable:
-            raise DistutilsArgError(
-                "Invalid argument %r: you can't use filenames or URLs "
-                "with --editable (except via the --find-links option)." % (spec,)
-            )
-
-    def check_editable(self, spec) -> None:
-        if not self.editable:
-            return
-
-        if os.path.exists(os.path.join(self.build_directory, spec.key)):
-            raise DistutilsArgError(
-                "%r already exists in %s; can't do a checkout there"
-                % (spec.key, self.build_directory)
-            )
-
-    @contextlib.contextmanager
-    def _tmpdir(self):
-        tmpdir = tempfile.mkdtemp(prefix="easy_install-")
-        try:
-            # cast to str as workaround for #709 and #710 and #712
-            yield str(tmpdir)
-        finally:
-            os.path.exists(tmpdir) and _rmtree(tmpdir)
-
-    def easy_install(self, spec, deps: bool = False) -> Distribution | None:
-        with self._tmpdir() as tmpdir:
-            if not isinstance(spec, Requirement):
-                if URL_SCHEME(spec):
-                    # It's a url, download it to tmpdir and process
-                    self.not_editable(spec)
-                    dl = self.package_index.download(spec, tmpdir)
-                    return self.install_item(None, dl, tmpdir, deps, True)
-
-                elif os.path.exists(spec):
-                    # Existing file or directory, just process it directly
-                    self.not_editable(spec)
-                    return self.install_item(None, spec, tmpdir, deps, True)
-                else:
-                    spec = parse_requirement_arg(spec)
-
-            self.check_editable(spec)
-            dist = self.package_index.fetch_distribution(
-                spec,
-                tmpdir,
-                self.upgrade,
-                self.editable,
-                not self.always_copy,
-                self.local_index,
-            )
-            if dist is None:
-                msg = "Could not find suitable distribution for %r" % spec
-                if self.always_copy:
-                    msg += " (--always-copy skips system and development eggs)"
-                raise DistutilsError(msg)
-            elif dist.precedence == DEVELOP_DIST:
-                # .egg-info dists don't need installing, just process deps
-                self.process_distribution(spec, dist, deps, "Using")
-                return dist
-            else:
-                return self.install_item(spec, dist.location, tmpdir, deps)
-
-    def install_item(
-        self, spec, download, tmpdir, deps, install_needed: bool = False
-    ) -> Distribution | None:
-        # Installation is also needed if file in tmpdir or is not an egg
-        install_needed = install_needed or bool(self.always_copy)
-        install_needed = install_needed or os.path.dirname(download) == tmpdir
-        install_needed = install_needed or not download.endswith('.egg')
-        install_needed = install_needed or (
-            self.always_copy_from is not None
-            and os.path.dirname(normalize_path(download))
-            == normalize_path(self.always_copy_from)
-        )
-
-        if spec and not install_needed:
-            # at this point, we know it's a local .egg, we just don't know if
-            # it's already installed.
-            for dist in self.local_index[spec.project_name]:
-                if dist.location == download:
-                    break
-            else:
-                install_needed = True  # it's not in the local index
-
-        log.info("Processing %s", os.path.basename(download))
-
-        if install_needed:
-            dists = self.install_eggs(spec, download, tmpdir)
-            for dist in dists:
-                self.process_distribution(spec, dist, deps)
-        else:
-            dists = [self.egg_distribution(download)]
-            self.process_distribution(spec, dists[0], deps, "Using")
-
-        if spec is not None:
-            for dist in dists:
-                if dist in spec:
-                    return dist
-        return None
-
-    def select_scheme(self, name):
-        try:
-            install._select_scheme(self, name)
-        except AttributeError:
-            # stdlib distutils
-            install.install.select_scheme(self, name.replace('posix', 'unix'))
-
-    # FIXME: 'easy_install.process_distribution' is too complex (12)
-    def process_distribution(  # noqa: C901
-        self,
-        requirement,
-        dist,
-        deps: bool = True,
-        *info,
-    ) -> None:
-        self.update_pth(dist)
-        self.package_index.add(dist)
-        if dist in self.local_index[dist.key]:
-            self.local_index.remove(dist)
-        self.local_index.add(dist)
-        self.install_egg_scripts(dist)
-        self.installed_projects[dist.key] = dist
-        log.info(self.installation_report(requirement, dist, *info))
-        if dist.has_metadata('dependency_links.txt') and not self.no_find_links:
-            self.package_index.add_find_links(
-                dist.get_metadata_lines('dependency_links.txt')
-            )
-        if not deps and not self.always_copy:
-            return
-        elif requirement is not None and dist.key != requirement.key:
-            log.warn("Skipping dependencies for %s", dist)
-            return  # XXX this is not the distribution we were looking for
-        elif requirement is None or dist not in requirement:
-            # if we wound up with a different version, resolve what we've got
-            distreq = dist.as_requirement()
-            requirement = Requirement(str(distreq))
-        log.info("Processing dependencies for %s", requirement)
-        try:
-            distros = WorkingSet([]).resolve(
-                [requirement], self.local_index, self.easy_install
-            )
-        except DistributionNotFound as e:
-            raise DistutilsError(str(e)) from e
-        except VersionConflict as e:
-            raise DistutilsError(e.report()) from e
-        if self.always_copy or self.always_copy_from:
-            # Force all the relevant distros to be copied or activated
-            for dist in distros:
-                if dist.key not in self.installed_projects:
-                    self.easy_install(dist.as_requirement())
-        log.info("Finished processing dependencies for %s", requirement)
-
-    def should_unzip(self, dist) -> bool:
-        if self.zip_ok is not None:
-            return not self.zip_ok
-        if dist.has_metadata('not-zip-safe'):
-            return True
-        if not dist.has_metadata('zip-safe'):
-            return True
-        return False
-
-    def maybe_move(self, spec, dist_filename, setup_base):
-        dst = os.path.join(self.build_directory, spec.key)
-        if os.path.exists(dst):
-            msg = "%r already exists in %s; build directory %s will not be kept"
-            log.warn(msg, spec.key, self.build_directory, setup_base)
-            return setup_base
-        if os.path.isdir(dist_filename):
-            setup_base = dist_filename
-        else:
-            if os.path.dirname(dist_filename) == setup_base:
-                os.unlink(dist_filename)  # get it out of the tmp dir
-            contents = os.listdir(setup_base)
-            if len(contents) == 1:
-                dist_filename = os.path.join(setup_base, contents[0])
-                if os.path.isdir(dist_filename):
-                    # if the only thing there is a directory, move it instead
-                    setup_base = dist_filename
-        ensure_directory(dst)
-        shutil.move(setup_base, dst)
-        return dst
-
-    def install_wrapper_scripts(self, dist) -> None:
-        if self.exclude_scripts:
-            return
-        for args in ScriptWriter.best().get_args(dist):
-            self.write_script(*args)
-
-    def install_script(self, dist, script_name, script_text, dev_path=None) -> None:
-        """Generate a legacy script wrapper and install it"""
-        spec = str(dist.as_requirement())
-        is_script = is_python_script(script_text, script_name)
-
-        if is_script:
-            body = self._load_template(dev_path) % locals()
-            script_text = ScriptWriter.get_header(script_text) + body
-        self.write_script(script_name, _to_bytes(script_text), 'b')
-
-    @staticmethod
-    def _load_template(dev_path):
-        """
-        There are a couple of template scripts in the package. This
-        function loads one of them and prepares it for use.
-        """
-        # See https://github.com/pypa/setuptools/issues/134 for info
-        # on script file naming and downstream issues with SVR4
-        name = 'script.tmpl'
-        if dev_path:
-            name = name.replace('.tmpl', ' (dev).tmpl')
-
-        raw_bytes = resource_string('setuptools', name)
-        return raw_bytes.decode('utf-8')
-
-    def write_script(self, script_name, contents, mode: str = "t", blockers=()) -> None:
-        """Write an executable file to the scripts directory"""
-        self.delete_blockers(  # clean up old .py/.pyw w/o a script
-            [os.path.join(self.script_dir, x) for x in blockers]
-        )
-        log.info("Installing %s script to %s", script_name, self.script_dir)
-        target = os.path.join(self.script_dir, script_name)
-        self.add_output(target)
-
-        if self.dry_run:
-            return
-
-        mask = current_umask()
-        ensure_directory(target)
-        if os.path.exists(target):
-            os.unlink(target)
-
-        encoding = None if "b" in mode else "utf-8"
-        with open(target, "w" + mode, encoding=encoding) as f:
-            f.write(contents)
-        chmod(target, 0o777 - mask)
-
-    def install_eggs(self, spec, dist_filename, tmpdir) -> list[Distribution]:
-        # .egg dirs or files are already built, so just return them
-        installer_map = {
-            '.egg': self.install_egg,
-            '.exe': self.install_exe,
-            '.whl': self.install_wheel,
-        }
-        try:
-            install_dist = installer_map[dist_filename.lower()[-4:]]
-        except KeyError:
-            pass
-        else:
-            return [install_dist(dist_filename, tmpdir)]
-
-        # Anything else, try to extract and build
-        setup_base = tmpdir
-        if os.path.isfile(dist_filename) and not dist_filename.endswith('.py'):
-            unpack_archive(dist_filename, tmpdir, self.unpack_progress)
-        elif os.path.isdir(dist_filename):
-            setup_base = os.path.abspath(dist_filename)
-
-        if (
-            setup_base.startswith(tmpdir)  # something we downloaded
-            and self.build_directory
-            and spec is not None
-        ):
-            setup_base = self.maybe_move(spec, dist_filename, setup_base)
-
-        # Find the setup.py file
-        setup_script = os.path.join(setup_base, 'setup.py')
-
-        if not os.path.exists(setup_script):
-            setups = glob(os.path.join(setup_base, '*', 'setup.py'))
-            if not setups:
-                raise DistutilsError(
-                    "Couldn't find a setup script in %s"
-                    % os.path.abspath(dist_filename)
-                )
-            if len(setups) > 1:
-                raise DistutilsError(
-                    "Multiple setup scripts in %s" % os.path.abspath(dist_filename)
-                )
-            setup_script = setups[0]
-
-        # Now run it, and return the result
-        if self.editable:
-            log.info(self.report_editable(spec, setup_script))
-            return []
-        else:
-            return self.build_and_install(setup_script, setup_base)
-
-    def egg_distribution(self, egg_path):
-        if os.path.isdir(egg_path):
-            metadata = PathMetadata(egg_path, os.path.join(egg_path, 'EGG-INFO'))
-        else:
-            metadata = EggMetadata(zipimport.zipimporter(egg_path))
-        return Distribution.from_filename(egg_path, metadata=metadata)
-
-    # FIXME: 'easy_install.install_egg' is too complex (11)
-    def install_egg(self, egg_path, tmpdir):
-        destination = os.path.join(
-            self.install_dir,
-            os.path.basename(egg_path),
-        )
-        destination = os.path.abspath(destination)
-        if not self.dry_run:
-            ensure_directory(destination)
-
-        dist = self.egg_distribution(egg_path)
-        if not (
-            os.path.exists(destination) and os.path.samefile(egg_path, destination)
-        ):
-            if os.path.isdir(destination) and not os.path.islink(destination):
-                dir_util.remove_tree(destination, dry_run=self.dry_run)
-            elif os.path.exists(destination):
-                self.execute(
-                    os.unlink,
-                    (destination,),
-                    "Removing " + destination,
-                )
-            try:
-                new_dist_is_zipped = False
-                if os.path.isdir(egg_path):
-                    if egg_path.startswith(tmpdir):
-                        f, m = shutil.move, "Moving"
-                    else:
-                        f, m = shutil.copytree, "Copying"
-                elif self.should_unzip(dist):
-                    self.mkpath(destination)
-                    f, m = self.unpack_and_compile, "Extracting"
-                else:
-                    new_dist_is_zipped = True
-                    if egg_path.startswith(tmpdir):
-                        f, m = shutil.move, "Moving"
-                    else:
-                        f, m = shutil.copy2, "Copying"
-                self.execute(
-                    f,
-                    (egg_path, destination),
-                    (m + " %s to %s")
-                    % (os.path.basename(egg_path), os.path.dirname(destination)),
-                )
-                update_dist_caches(
-                    destination,
-                    fix_zipimporter_caches=new_dist_is_zipped,
-                )
-            except Exception:
-                update_dist_caches(destination, fix_zipimporter_caches=False)
-                raise
-
-        self.add_output(destination)
-        return self.egg_distribution(destination)
-
-    def install_exe(self, dist_filename, tmpdir):
-        # See if it's valid, get data
-        cfg = extract_wininst_cfg(dist_filename)
-        if cfg is None:
-            raise DistutilsError(
-                "%s is not a valid distutils Windows .exe" % dist_filename
-            )
-        # Create a dummy distribution object until we build the real distro
-        dist = Distribution(
-            None,
-            project_name=cfg.get('metadata', 'name'),
-            version=cfg.get('metadata', 'version'),
-            platform=get_platform(),
-        )
-
-        # Convert the .exe to an unpacked egg
-        egg_path = os.path.join(tmpdir, dist.egg_name() + '.egg')
-        dist.location = egg_path
-        egg_tmp = egg_path + '.tmp'
-        _egg_info = os.path.join(egg_tmp, 'EGG-INFO')
-        pkg_inf = os.path.join(_egg_info, 'PKG-INFO')
-        ensure_directory(pkg_inf)  # make sure EGG-INFO dir exists
-        dist._provider = PathMetadata(egg_tmp, _egg_info)  # XXX
-        self.exe_to_egg(dist_filename, egg_tmp)
-
-        # Write EGG-INFO/PKG-INFO
-        if not os.path.exists(pkg_inf):
-            with open(pkg_inf, 'w', encoding="utf-8") as f:
-                f.write('Metadata-Version: 1.0\n')
-                for k, v in cfg.items('metadata'):
-                    if k != 'target_version':
-                        f.write('%s: %s\n' % (k.replace('_', '-').title(), v))
-        script_dir = os.path.join(_egg_info, 'scripts')
-        # delete entry-point scripts to avoid duping
-        self.delete_blockers([
-            os.path.join(script_dir, args[0]) for args in ScriptWriter.get_args(dist)
-        ])
-        # Build .egg file from tmpdir
-        bdist_egg.make_zipfile(
-            egg_path,
-            egg_tmp,
-            verbose=self.verbose,
-            dry_run=self.dry_run,
-        )
-        # install the .egg
-        return self.install_egg(egg_path, tmpdir)
-
-    # FIXME: 'easy_install.exe_to_egg' is too complex (12)
-    def exe_to_egg(self, dist_filename, egg_tmp) -> None:  # noqa: C901
-        """Extract a bdist_wininst to the directories an egg would use"""
-        # Check for .pth file and set up prefix translations
-        prefixes = get_exe_prefixes(dist_filename)
-        to_compile = []
-        native_libs = []
-        top_level = set()
-
-        def process(src, dst):
-            s = src.lower()
-            for old, new in prefixes:
-                if s.startswith(old):
-                    src = new + src[len(old) :]
-                    parts = src.split('/')
-                    dst = os.path.join(egg_tmp, *parts)
-                    dl = dst.lower()
-                    if dl.endswith('.pyd') or dl.endswith('.dll'):
-                        parts[-1] = bdist_egg.strip_module(parts[-1])
-                        top_level.add([os.path.splitext(parts[0])[0]])
-                        native_libs.append(src)
-                    elif dl.endswith('.py') and old != 'SCRIPTS/':
-                        top_level.add([os.path.splitext(parts[0])[0]])
-                        to_compile.append(dst)
-                    return dst
-            if not src.endswith('.pth'):
-                log.warn("WARNING: can't process %s", src)
-            return None
-
-        # extract, tracking .pyd/.dll->native_libs and .py -> to_compile
-        unpack_archive(dist_filename, egg_tmp, process)
-        stubs = []
-        for res in native_libs:
-            if res.lower().endswith('.pyd'):  # create stubs for .pyd's
-                parts = res.split('/')
-                resource = parts[-1]
-                parts[-1] = bdist_egg.strip_module(parts[-1]) + '.py'
-                pyfile = os.path.join(egg_tmp, *parts)
-                to_compile.append(pyfile)
-                stubs.append(pyfile)
-                bdist_egg.write_stub(resource, pyfile)
-        self.byte_compile(to_compile)  # compile .py's
-        bdist_egg.write_safety_flag(
-            os.path.join(egg_tmp, 'EGG-INFO'), bdist_egg.analyze_egg(egg_tmp, stubs)
-        )  # write zip-safety flag
-
-        for name in 'top_level', 'native_libs':
-            if locals()[name]:
-                txt = os.path.join(egg_tmp, 'EGG-INFO', name + '.txt')
-                if not os.path.exists(txt):
-                    with open(txt, 'w', encoding="utf-8") as f:
-                        f.write('\n'.join(locals()[name]) + '\n')
-
-    def install_wheel(self, wheel_path, tmpdir):
-        wheel = Wheel(wheel_path)
-        assert wheel.is_compatible()
-        destination = os.path.join(self.install_dir, wheel.egg_name())
-        destination = os.path.abspath(destination)
-        if not self.dry_run:
-            ensure_directory(destination)
-        if os.path.isdir(destination) and not os.path.islink(destination):
-            dir_util.remove_tree(destination, dry_run=self.dry_run)
-        elif os.path.exists(destination):
-            self.execute(
-                os.unlink,
-                (destination,),
-                "Removing " + destination,
-            )
-        try:
-            self.execute(
-                wheel.install_as_egg,
-                (destination,),
-                ("Installing %s to %s")
-                % (os.path.basename(wheel_path), os.path.dirname(destination)),
-            )
-        finally:
-            update_dist_caches(destination, fix_zipimporter_caches=False)
-        self.add_output(destination)
-        return self.egg_distribution(destination)
-
-    __mv_warning = textwrap.dedent(
-        """
-        Because this distribution was installed --multi-version, before you can
-        import modules from this package in an application, you will need to
-        'import pkg_resources' and then use a 'require()' call similar to one of
-        these examples, in order to select the desired version:
-
-            pkg_resources.require("%(name)s")  # latest installed version
-            pkg_resources.require("%(name)s==%(version)s")  # this exact version
-            pkg_resources.require("%(name)s>=%(version)s")  # this version or higher
-        """
-    ).lstrip()
-
-    __id_warning = textwrap.dedent(
-        """
-        Note also that the installation directory must be on sys.path at runtime for
-        this to work.  (e.g. by being the application's script directory, by being on
-        PYTHONPATH, or by being added to sys.path by your code.)
-        """
-    )
-
-    def installation_report(self, req, dist, what: str = "Installed") -> str:
-        """Helpful installation message for display to package users"""
-        msg = "\n%(what)s %(eggloc)s%(extras)s"
-        if self.multi_version and not self.no_report:
-            msg += '\n' + self.__mv_warning
-            if self.install_dir not in map(normalize_path, sys.path):
-                msg += '\n' + self.__id_warning
-
-        eggloc = dist.location
-        name = dist.project_name
-        version = dist.version
-        extras = ''  # TODO: self.report_extras(req, dist)
-        return msg % locals()
-
-    __editable_msg = textwrap.dedent(
-        """
-        Extracted editable version of %(spec)s to %(dirname)s
-
-        If it uses setuptools in its setup script, you can activate it in
-        "development" mode by going to that directory and running::
-
-            %(python)s setup.py develop
-
-        See the setuptools documentation for the "develop" command for more info.
-        """
-    ).lstrip()
-
-    def report_editable(self, spec, setup_script):
-        dirname = os.path.dirname(setup_script)
-        python = sys.executable
-        return '\n' + self.__editable_msg % locals()
-
-    def run_setup(self, setup_script, setup_base, args) -> None:
-        sys.modules.setdefault('distutils.command.bdist_egg', bdist_egg)
-        sys.modules.setdefault('distutils.command.egg_info', egg_info)
-
-        args = list(args)
-        if self.verbose > 2:
-            v = 'v' * (self.verbose - 1)
-            args.insert(0, '-' + v)
-        elif self.verbose < 2:
-            args.insert(0, '-q')
-        if self.dry_run:
-            args.insert(0, '-n')
-        log.info("Running %s %s", setup_script[len(setup_base) + 1 :], ' '.join(args))
-        try:
-            run_setup(setup_script, args)
-        except SystemExit as v:
-            raise DistutilsError("Setup script exited with %s" % (v.args[0],)) from v
-
-    def build_and_install(self, setup_script, setup_base):
-        args = ['bdist_egg', '--dist-dir']
-
-        dist_dir = tempfile.mkdtemp(
-            prefix='egg-dist-tmp-', dir=os.path.dirname(setup_script)
-        )
-        try:
-            self._set_fetcher_options(os.path.dirname(setup_script))
-            args.append(dist_dir)
-
-            self.run_setup(setup_script, setup_base, args)
-            all_eggs = Environment([dist_dir])
-            eggs = [
-                self.install_egg(dist.location, setup_base)
-                for key in all_eggs
-                for dist in all_eggs[key]
-            ]
-            if not eggs and not self.dry_run:
-                log.warn("No eggs found in %s (setup script problem?)", dist_dir)
-            return eggs
-        finally:
-            _rmtree(dist_dir)
-            log.set_verbosity(self.verbose)  # restore our log verbosity
-
-    def _set_fetcher_options(self, base):
-        """
-        When easy_install is about to run bdist_egg on a source dist, that
-        source dist might have 'setup_requires' directives, requiring
-        additional fetching. Ensure the fetcher options given to easy_install
-        are available to that command as well.
-        """
-        # find the fetch options from easy_install and write them out
-        # to the setup.cfg file.
-        ei_opts = self.distribution.get_option_dict('easy_install').copy()
-        fetch_directives = (
-            'find_links',
-            'site_dirs',
-            'index_url',
-            'optimize',
-            'allow_hosts',
-        )
-        fetch_options = {}
-        for key, val in ei_opts.items():
-            if key not in fetch_directives:
-                continue
-            fetch_options[key] = val[1]
-        # create a settings dictionary suitable for `edit_config`
-        settings = dict(easy_install=fetch_options)
-        cfg_filename = os.path.join(base, 'setup.cfg')
-        setopt.edit_config(cfg_filename, settings)
-
-    def update_pth(self, dist) -> None:  # noqa: C901  # is too complex (11)  # FIXME
-        if self.pth_file is None:
-            return
-
-        for d in self.pth_file[dist.key]:  # drop old entries
-            if not self.multi_version and d.location == dist.location:
-                continue
-
-            log.info("Removing %s from easy-install.pth file", d)
-            self.pth_file.remove(d)
-            if d.location in self.shadow_path:
-                self.shadow_path.remove(d.location)
-
-        if not self.multi_version:
-            if dist.location in self.pth_file.paths:
-                log.info(
-                    "%s is already the active version in easy-install.pth",
-                    dist,
-                )
-            else:
-                log.info("Adding %s to easy-install.pth file", dist)
-                self.pth_file.add(dist)  # add new entry
-                if dist.location not in self.shadow_path:
-                    self.shadow_path.append(dist.location)
-
-        if self.dry_run:
-            return
-
-        self.pth_file.save()
-
-        if dist.key != 'setuptools':
-            return
-
-        # Ensure that setuptools itself never becomes unavailable!
-        # XXX should this check for latest version?
-        filename = os.path.join(self.install_dir, 'setuptools.pth')
-        if os.path.islink(filename):
-            os.unlink(filename)
-
-        with open(filename, 'wt', encoding=py312.PTH_ENCODING) as f:
-            # ^-- Python<3.13 require encoding="locale" instead of "utf-8",
-            #     see python/cpython#77102.
-            f.write(self.pth_file.make_relative(dist.location) + '\n')
-
-    def unpack_progress(self, src, dst):
-        # Progress filter for unpacking
-        log.debug("Unpacking %s to %s", src, dst)
-        return dst  # only unpack-and-compile skips files for dry run
-
-    def unpack_and_compile(self, egg_path, destination) -> None:
-        to_compile = []
-        to_chmod = []
-
-        def pf(src, dst):
-            if dst.endswith('.py') and not src.startswith('EGG-INFO/'):
-                to_compile.append(dst)
-            elif dst.endswith('.dll') or dst.endswith('.so'):
-                to_chmod.append(dst)
-            self.unpack_progress(src, dst)
-            return not self.dry_run and dst or None
-
-        unpack_archive(egg_path, destination, pf)
-        self.byte_compile(to_compile)
-        if not self.dry_run:
-            for f in to_chmod:
-                mode = ((os.stat(f)[stat.ST_MODE]) | 0o555) & 0o7755
-                chmod(f, mode)
-
-    def byte_compile(self, to_compile) -> None:
-        if sys.dont_write_bytecode:
-            return
-
-        from distutils.util import byte_compile
-
-        try:
-            # try to make the byte compile messages quieter
-            log.set_verbosity(self.verbose - 1)
-
-            byte_compile(to_compile, optimize=0, force=True, dry_run=self.dry_run)
-            if self.optimize:
-                byte_compile(
-                    to_compile,
-                    optimize=self.optimize,
-                    force=True,
-                    dry_run=self.dry_run,
-                )
-        finally:
-            log.set_verbosity(self.verbose)  # restore original verbosity
-
-    __no_default_msg = textwrap.dedent(
-        """
-        bad install directory or PYTHONPATH
-
-        You are attempting to install a package to a directory that is not
-        on PYTHONPATH and which Python does not read ".pth" files from.  The
-        installation directory you specified (via --install-dir, --prefix, or
-        the distutils default setting) was:
-
-            %s
-
-        and your PYTHONPATH environment variable currently contains:
-
-            %r
-
-        Here are some of your options for correcting the problem:
-
-        * You can choose a different installation directory, i.e., one that is
-          on PYTHONPATH or supports .pth files
-
-        * You can add the installation directory to the PYTHONPATH environment
-          variable.  (It must then also be on PYTHONPATH whenever you run
-          Python and want to use the package(s) you are installing.)
-
-        * You can set up the installation directory to support ".pth" files by
-          using one of the approaches described here:
-
-          https://setuptools.pypa.io/en/latest/deprecated/easy_install.html#custom-installation-locations
-
-
-        Please make the appropriate changes for your system and try again.
-        """
-    ).strip()
-
-    def create_home_path(self) -> None:
-        """Create directories under ~."""
-        if not self.user:
-            return
-        home = convert_path(os.path.expanduser("~"))
-        for path in only_strs(self.config_vars.values()):
-            if path.startswith(home) and not os.path.isdir(path):
-                self.debug_print("os.makedirs('%s', 0o700)" % path)
-                os.makedirs(path, 0o700)
-
-    INSTALL_SCHEMES = dict(
-        posix=dict(
-            install_dir='$base/lib/python$py_version_short/site-packages',
-            script_dir='$base/bin',
-        ),
-    )
-
-    DEFAULT_SCHEME = dict(
-        install_dir='$base/Lib/site-packages',
-        script_dir='$base/Scripts',
-    )
-
-    def _expand(self, *attrs):
-        config_vars = self.get_finalized_command('install').config_vars
-
-        if self.prefix:
-            # Set default install_dir/scripts from --prefix
-            config_vars = dict(config_vars)
-            config_vars['base'] = self.prefix
-            scheme = self.INSTALL_SCHEMES.get(os.name, self.DEFAULT_SCHEME)
-            for attr, val in scheme.items():
-                if getattr(self, attr, None) is None:
-                    setattr(self, attr, val)
-
-        from distutils.util import subst_vars
-
-        for attr in attrs:
-            val = getattr(self, attr)
-            if val is not None:
-                val = subst_vars(val, config_vars)
-                if os.name == 'posix':
-                    val = os.path.expanduser(val)
-                setattr(self, attr, val)
-
-
-def _pythonpath():
-    items = os.environ.get('PYTHONPATH', '').split(os.pathsep)
-    return filter(None, items)
-
-
-def get_site_dirs():
-    """
-    Return a list of 'site' dirs
-    """
-
-    sitedirs = []
-
-    # start with PYTHONPATH
-    sitedirs.extend(_pythonpath())
-
-    prefixes = [sys.prefix]
-    if sys.exec_prefix != sys.prefix:
-        prefixes.append(sys.exec_prefix)
-    for prefix in prefixes:
-        if not prefix:
-            continue
-
-        if sys.platform in ('os2emx', 'riscos'):
-            sitedirs.append(os.path.join(prefix, "Lib", "site-packages"))
-        elif os.sep == '/':
-            sitedirs.extend([
-                os.path.join(
-                    prefix,
-                    "lib",
-                    f"python{sys.version_info.major}.{sys.version_info.minor}",
-                    "site-packages",
-                ),
-                os.path.join(prefix, "lib", "site-python"),
-            ])
-        else:
-            sitedirs.extend([
-                prefix,
-                os.path.join(prefix, "lib", "site-packages"),
-            ])
-        if sys.platform != 'darwin':
-            continue
-
-        # for framework builds *only* we add the standard Apple
-        # locations. Currently only per-user, but /Library and
-        # /Network/Library could be added too
-        if 'Python.framework' not in prefix:
-            continue
-
-        home = os.environ.get('HOME')
-        if not home:
-            continue
-
-        home_sp = os.path.join(
-            home,
-            'Library',
-            'Python',
-            f'{sys.version_info.major}.{sys.version_info.minor}',
-            'site-packages',
-        )
-        sitedirs.append(home_sp)
-    lib_paths = get_path('purelib'), get_path('platlib')
-
-    sitedirs.extend(s for s in lib_paths if s not in sitedirs)
-
-    if site.ENABLE_USER_SITE:
-        sitedirs.append(site.USER_SITE)
-
-    with contextlib.suppress(AttributeError):
-        sitedirs.extend(site.getsitepackages())
-
-    return list(map(normalize_path, sitedirs))
-
-
-def expand_paths(inputs):  # noqa: C901  # is too complex (11)  # FIXME
-    """Yield sys.path directories that might contain "old-style" packages"""
-
-    seen = set()
-
-    for dirname in inputs:
-        dirname = normalize_path(dirname)
-        if dirname in seen:
-            continue
-
-        seen.add(dirname)
-        if not os.path.isdir(dirname):
-            continue
-
-        files = os.listdir(dirname)
-        yield dirname, files
-
-        for name in files:
-            if not name.endswith('.pth'):
-                # We only care about the .pth files
-                continue
-            if name in ('easy-install.pth', 'setuptools.pth'):
-                # Ignore .pth files that we control
-                continue
-
-            # Read the .pth file
-            content = _read_pth(os.path.join(dirname, name))
-            lines = list(yield_lines(content))
-
-            # Yield existing non-dupe, non-import directory lines from it
-            for line in lines:
-                if line.startswith("import"):
-                    continue
-
-                line = normalize_path(line.rstrip())
-                if line in seen:
-                    continue
-
-                seen.add(line)
-                if not os.path.isdir(line):
-                    continue
-
-                yield line, os.listdir(line)
-
-
-def extract_wininst_cfg(dist_filename):
-    """Extract configuration data from a bdist_wininst .exe
-
-    Returns a configparser.RawConfigParser, or None
-    """
-    f = open(dist_filename, 'rb')
-    try:
-        endrec = zipfile._EndRecData(f)
-        if endrec is None:
-            return None
-
-        prepended = (endrec[9] - endrec[5]) - endrec[6]
-        if prepended < 12:  # no wininst data here
-            return None
-        f.seek(prepended - 12)
-
-        tag, cfglen, _bmlen = struct.unpack("egg path translations for a given .exe file"""
-
-    prefixes = [
-        ('PURELIB/', ''),
-        ('PLATLIB/pywin32_system32', ''),
-        ('PLATLIB/', ''),
-        ('SCRIPTS/', 'EGG-INFO/scripts/'),
-        ('DATA/lib/site-packages', ''),
-    ]
-    z = zipfile.ZipFile(exe_filename)
-    try:
-        for info in z.infolist():
-            name = info.filename
-            parts = name.split('/')
-            if len(parts) == 3 and parts[2] == 'PKG-INFO':
-                if parts[1].endswith('.egg-info'):
-                    prefixes.insert(0, ('/'.join(parts[:2]), 'EGG-INFO/'))
-                    break
-            if len(parts) != 2 or not name.endswith('.pth'):
-                continue
-            if name.endswith('-nspkg.pth'):
-                continue
-            if parts[0].upper() in ('PURELIB', 'PLATLIB'):
-                contents = z.read(name).decode()
-                for pth in yield_lines(contents):
-                    pth = pth.strip().replace('\\', '/')
-                    if not pth.startswith('import'):
-                        prefixes.append((('%s/%s/' % (parts[0], pth)), ''))
-    finally:
-        z.close()
-    prefixes = [(x.lower(), y) for x, y in prefixes]
-    prefixes.sort()
-    prefixes.reverse()
-    return prefixes
-
-
-class PthDistributions(Environment):
-    """A .pth file with Distribution paths in it"""
-
-    def __init__(self, filename, sitedirs=()) -> None:
-        self.filename = filename
-        self.sitedirs = list(map(normalize_path, sitedirs))
-        self.basedir = normalize_path(os.path.dirname(self.filename))
-        self.paths, self.dirty = self._load()
-        # keep a copy if someone manually updates the paths attribute on the instance
-        self._init_paths = self.paths[:]
-        super().__init__([], None, None)
-        for path in yield_lines(self.paths):
-            list(map(self.add, find_distributions(path, True)))
-
-    def _load_raw(self):
-        paths = []
-        dirty = saw_import = False
-        seen = set(self.sitedirs)
-        content = _read_pth(self.filename)
-        for line in content.splitlines():
-            path = line.rstrip()
-            # still keep imports and empty/commented lines for formatting
-            paths.append(path)
-            if line.startswith(('import ', 'from ')):
-                saw_import = True
-                continue
-            stripped_path = path.strip()
-            if not stripped_path or stripped_path.startswith('#'):
-                continue
-            # skip non-existent paths, in case somebody deleted a package
-            # manually, and duplicate paths as well
-            normalized_path = normalize_path(os.path.join(self.basedir, path))
-            if normalized_path in seen or not os.path.exists(normalized_path):
-                log.debug("cleaned up dirty or duplicated %r", path)
-                dirty = True
-                paths.pop()
-                continue
-            seen.add(normalized_path)
-        # remove any trailing empty/blank line
-        while paths and not paths[-1].strip():
-            paths.pop()
-            dirty = True
-        return paths, dirty or (paths and saw_import)
-
-    def _load(self):
-        if os.path.isfile(self.filename):
-            return self._load_raw()
-        return [], False
-
-    def save(self) -> None:
-        """Write changed .pth file back to disk"""
-        # first reload the file
-        last_paths, last_dirty = self._load()
-        # and check that there are no difference with what we have.
-        # there can be difference if someone else has written to the file
-        # since we first loaded it.
-        # we don't want to lose the eventual new paths added since then.
-        for path in last_paths[:]:
-            if path not in self.paths:
-                self.paths.append(path)
-                log.info("detected new path %r", path)
-                last_dirty = True
-            else:
-                last_paths.remove(path)
-        # also, re-check that all paths are still valid before saving them
-        for path in self.paths[:]:
-            if path not in last_paths and not path.startswith((
-                'import ',
-                'from ',
-                '#',
-            )):
-                absolute_path = os.path.join(self.basedir, path)
-                if not os.path.exists(absolute_path):
-                    self.paths.remove(path)
-                    log.info("removing now non-existent path %r", path)
-                    last_dirty = True
-
-        self.dirty |= last_dirty or self.paths != self._init_paths
-        if not self.dirty:
-            return
-
-        rel_paths = list(map(self.make_relative, self.paths))
-        if rel_paths:
-            log.debug("Saving %s", self.filename)
-            lines = self._wrap_lines(rel_paths)
-            data = '\n'.join(lines) + '\n'
-            if os.path.islink(self.filename):
-                os.unlink(self.filename)
-            with open(self.filename, 'wt', encoding=py312.PTH_ENCODING) as f:
-                # ^-- Python<3.13 require encoding="locale" instead of "utf-8",
-                #     see python/cpython#77102.
-                f.write(data)
-        elif os.path.exists(self.filename):
-            log.debug("Deleting empty %s", self.filename)
-            os.unlink(self.filename)
-
-        self.dirty = False
-        self._init_paths[:] = self.paths[:]
-
-    @staticmethod
-    def _wrap_lines(lines):
-        return lines
-
-    def add(self, dist) -> None:
-        """Add `dist` to the distribution map"""
-        new_path = dist.location not in self.paths and (
-            dist.location not in self.sitedirs
-            or
-            # account for '.' being in PYTHONPATH
-            dist.location == os.getcwd()
-        )
-        if new_path:
-            self.paths.append(dist.location)
-            self.dirty = True
-        super().add(dist)
-
-    def remove(self, dist) -> None:
-        """Remove `dist` from the distribution map"""
-        while dist.location in self.paths:
-            self.paths.remove(dist.location)
-            self.dirty = True
-        super().remove(dist)
-
-    def make_relative(self, path):
-        npath, last = os.path.split(normalize_path(path))
-        baselen = len(self.basedir)
-        parts = [last]
-        sep = os.altsep == '/' and '/' or os.sep
-        while len(npath) >= baselen:
-            if npath == self.basedir:
-                parts.append(os.curdir)
-                parts.reverse()
-                return sep.join(parts)
-            npath, last = os.path.split(npath)
-            parts.append(last)
-        else:
-            return path
-
-
-class RewritePthDistributions(PthDistributions):
-    @classmethod
-    def _wrap_lines(cls, lines):
-        yield cls.prelude
-        yield from lines
-        yield cls.postlude
-
-    prelude = _one_liner(
-        """
-        import sys
-        sys.__plen = len(sys.path)
-        """
-    )
-    postlude = _one_liner(
-        """
-        import sys
-        new = sys.path[sys.__plen:]
-        del sys.path[sys.__plen:]
-        p = getattr(sys, '__egginsert', 0)
-        sys.path[p:p] = new
-        sys.__egginsert = p + len(new)
-        """
-    )
-
-
-if os.environ.get('SETUPTOOLS_SYS_PATH_TECHNIQUE', 'raw') == 'rewrite':
-    PthDistributions = RewritePthDistributions  # type: ignore[misc]  # Overwriting type
-
-
-def _first_line_re():
-    """
-    Return a regular expression based on first_line_re suitable for matching
-    strings.
-    """
-    if isinstance(first_line_re.pattern, str):
-        return first_line_re
-
-    # first_line_re in Python >=3.1.4 and >=3.2.1 is a bytes pattern.
-    return re.compile(first_line_re.pattern.decode())
-
-
-def update_dist_caches(dist_path, fix_zipimporter_caches):
-    """
-    Fix any globally cached `dist_path` related data
-
-    `dist_path` should be a path of a newly installed egg distribution (zipped
-    or unzipped).
-
-    sys.path_importer_cache contains finder objects that have been cached when
-    importing data from the original distribution. Any such finders need to be
-    cleared since the replacement distribution might be packaged differently,
-    e.g. a zipped egg distribution might get replaced with an unzipped egg
-    folder or vice versa. Having the old finders cached may then cause Python
-    to attempt loading modules from the replacement distribution using an
-    incorrect loader.
-
-    zipimport.zipimporter objects are Python loaders charged with importing
-    data packaged inside zip archives. If stale loaders referencing the
-    original distribution, are left behind, they can fail to load modules from
-    the replacement distribution. E.g. if an old zipimport.zipimporter instance
-    is used to load data from a new zipped egg archive, it may cause the
-    operation to attempt to locate the requested data in the wrong location -
-    one indicated by the original distribution's zip archive directory
-    information. Such an operation may then fail outright, e.g. report having
-    read a 'bad local file header', or even worse, it may fail silently &
-    return invalid data.
-
-    zipimport._zip_directory_cache contains cached zip archive directory
-    information for all existing zipimport.zipimporter instances and all such
-    instances connected to the same archive share the same cached directory
-    information.
-
-    If asked, and the underlying Python implementation allows it, we can fix
-    all existing zipimport.zipimporter instances instead of having to track
-    them down and remove them one by one, by updating their shared cached zip
-    archive directory information. This, of course, assumes that the
-    replacement distribution is packaged as a zipped egg.
-
-    If not asked to fix existing zipimport.zipimporter instances, we still do
-    our best to clear any remaining zipimport.zipimporter related cached data
-    that might somehow later get used when attempting to load data from the new
-    distribution and thus cause such load operations to fail. Note that when
-    tracking down such remaining stale data, we can not catch every conceivable
-    usage from here, and we clear only those that we know of and have found to
-    cause problems if left alive. Any remaining caches should be updated by
-    whomever is in charge of maintaining them, i.e. they should be ready to
-    handle us replacing their zip archives with new distributions at runtime.
-
-    """
-    # There are several other known sources of stale zipimport.zipimporter
-    # instances that we do not clear here, but might if ever given a reason to
-    # do so:
-    # * Global setuptools pkg_resources.working_set (a.k.a. 'master working
-    # set') may contain distributions which may in turn contain their
-    #   zipimport.zipimporter loaders.
-    # * Several zipimport.zipimporter loaders held by local variables further
-    #   up the function call stack when running the setuptools installation.
-    # * Already loaded modules may have their __loader__ attribute set to the
-    #   exact loader instance used when importing them. Python 3.4 docs state
-    #   that this information is intended mostly for introspection and so is
-    #   not expected to cause us problems.
-    normalized_path = normalize_path(dist_path)
-    _uncache(normalized_path, sys.path_importer_cache)
-    if fix_zipimporter_caches:
-        _replace_zip_directory_cache_data(normalized_path)
-    else:
-        # Here, even though we do not want to fix existing and now stale
-        # zipimporter cache information, we still want to remove it. Related to
-        # Python's zip archive directory information cache, we clear each of
-        # its stale entries in two phases:
-        #   1. Clear the entry so attempting to access zip archive information
-        #      via any existing stale zipimport.zipimporter instances fails.
-        #   2. Remove the entry from the cache so any newly constructed
-        #      zipimport.zipimporter instances do not end up using old stale
-        #      zip archive directory information.
-        # This whole stale data removal step does not seem strictly necessary,
-        # but has been left in because it was done before we started replacing
-        # the zip archive directory information cache content if possible, and
-        # there are no relevant unit tests that we can depend on to tell us if
-        # this is really needed.
-        _remove_and_clear_zip_directory_cache_data(normalized_path)
-
-
-def _collect_zipimporter_cache_entries(normalized_path, cache):
-    """
-    Return zipimporter cache entry keys related to a given normalized path.
-
-    Alternative path spellings (e.g. those using different character case or
-    those using alternative path separators) related to the same path are
-    included. Any sub-path entries are included as well, i.e. those
-    corresponding to zip archives embedded in other zip archives.
-
-    """
-    result = []
-    prefix_len = len(normalized_path)
-    for p in cache:
-        np = normalize_path(p)
-        if np.startswith(normalized_path) and np[prefix_len : prefix_len + 1] in (
-            os.sep,
-            '',
-        ):
-            result.append(p)
-    return result
-
-
-def _update_zipimporter_cache(normalized_path, cache, updater=None):
-    """
-    Update zipimporter cache data for a given normalized path.
-
-    Any sub-path entries are processed as well, i.e. those corresponding to zip
-    archives embedded in other zip archives.
-
-    Given updater is a callable taking a cache entry key and the original entry
-    (after already removing the entry from the cache), and expected to update
-    the entry and possibly return a new one to be inserted in its place.
-    Returning None indicates that the entry should not be replaced with a new
-    one. If no updater is given, the cache entries are simply removed without
-    any additional processing, the same as if the updater simply returned None.
-
-    """
-    for p in _collect_zipimporter_cache_entries(normalized_path, cache):
-        # N.B. pypy's custom zipimport._zip_directory_cache implementation does
-        # not support the complete dict interface:
-        # * Does not support item assignment, thus not allowing this function
-        #    to be used only for removing existing cache entries.
-        #  * Does not support the dict.pop() method, forcing us to use the
-        #    get/del patterns instead. For more detailed information see the
-        #    following links:
-        #      https://github.com/pypa/setuptools/issues/202#issuecomment-202913420
-        #      https://foss.heptapod.net/pypy/pypy/-/blob/144c4e65cb6accb8e592f3a7584ea38265d1873c/pypy/module/zipimport/interp_zipimport.py
-        old_entry = cache[p]
-        del cache[p]
-        new_entry = updater and updater(p, old_entry)
-        if new_entry is not None:
-            cache[p] = new_entry
-
-
-def _uncache(normalized_path, cache):
-    _update_zipimporter_cache(normalized_path, cache)
-
-
-def _remove_and_clear_zip_directory_cache_data(normalized_path):
-    def clear_and_remove_cached_zip_archive_directory_data(path, old_entry):
-        old_entry.clear()
-
-    _update_zipimporter_cache(
-        normalized_path,
-        zipimport._zip_directory_cache,
-        updater=clear_and_remove_cached_zip_archive_directory_data,
-    )
-
-
-# PyPy Python implementation does not allow directly writing to the
-# zipimport._zip_directory_cache and so prevents us from attempting to correct
-# its content. The best we can do there is clear the problematic cache content
-# and have PyPy repopulate it as needed. The downside is that if there are any
-# stale zipimport.zipimporter instances laying around, attempting to use them
-# will fail due to not having its zip archive directory information available
-# instead of being automatically corrected to use the new correct zip archive
-# directory information.
-if '__pypy__' in sys.builtin_module_names:
-    _replace_zip_directory_cache_data = _remove_and_clear_zip_directory_cache_data
-else:
-
-    def _replace_zip_directory_cache_data(normalized_path):
-        def replace_cached_zip_archive_directory_data(path, old_entry):
-            # N.B. In theory, we could load the zip directory information just
-            # once for all updated path spellings, and then copy it locally and
-            # update its contained path strings to contain the correct
-            # spelling, but that seems like a way too invasive move (this cache
-            # structure is not officially documented anywhere and could in
-            # theory change with new Python releases) for no significant
-            # benefit.
-            old_entry.clear()
-            zipimport.zipimporter(path)
-            old_entry.update(zipimport._zip_directory_cache[path])
-            return old_entry
-
-        _update_zipimporter_cache(
-            normalized_path,
-            zipimport._zip_directory_cache,
-            updater=replace_cached_zip_archive_directory_data,
-        )
-
-
-def is_python(text, filename=''):
-    "Is this string a valid Python script?"
-    try:
-        compile(text, filename, 'exec')
-    except (SyntaxError, TypeError):
-        return False
-    else:
-        return True
-
-
-def is_sh(executable):
-    """Determine if the specified executable is a .sh (contains a #! line)"""
-    try:
-        with open(executable, encoding='latin-1') as fp:
-            magic = fp.read(2)
-    except OSError:
-        return executable
-    return magic == '#!'
-
-
-def nt_quote_arg(arg):
-    """Quote a command line argument according to Windows parsing rules"""
-    return subprocess.list2cmdline([arg])
-
-
-def is_python_script(script_text, filename):
-    """Is this text, as a whole, a Python script? (as opposed to shell/bat/etc."""
-    if filename.endswith('.py') or filename.endswith('.pyw'):
-        return True  # extension says it's Python
-    if is_python(script_text, filename):
-        return True  # it's syntactically valid Python
-    if script_text.startswith('#!'):
-        # It begins with a '#!' line, so check if 'python' is in it somewhere
-        return 'python' in script_text.splitlines()[0].lower()
-
-    return False  # Not any Python I can recognize
-
-
-class _SplitArgs(TypedDict, total=False):
-    comments: bool
-    posix: bool
-
-
-class CommandSpec(list):
-    """
-    A command spec for a #! header, specified as a list of arguments akin to
-    those passed to Popen.
-    """
-
-    options: list[str] = []
-    split_args = _SplitArgs()
-
-    @classmethod
-    def best(cls):
-        """
-        Choose the best CommandSpec class based on environmental conditions.
-        """
-        return cls
-
-    @classmethod
-    def _sys_executable(cls):
-        _default = os.path.normpath(sys.executable)
-        return os.environ.get('__PYVENV_LAUNCHER__', _default)
-
-    @classmethod
-    def from_param(cls, param: Self | str | Iterable[str] | None) -> Self:
-        """
-        Construct a CommandSpec from a parameter to build_scripts, which may
-        be None.
-        """
-        if isinstance(param, cls):
-            return param
-        if isinstance(param, str):
-            return cls.from_string(param)
-        if isinstance(param, Iterable):
-            return cls(param)
-        if param is None:
-            return cls.from_environment()
-        raise TypeError(f"Argument has an unsupported type {type(param)}")
-
-    @classmethod
-    def from_environment(cls):
-        return cls([cls._sys_executable()])
-
-    @classmethod
-    def from_string(cls, string: str) -> Self:
-        """
-        Construct a command spec from a simple string representing a command
-        line parseable by shlex.split.
-        """
-        items = shlex.split(string, **cls.split_args)
-        return cls(items)
-
-    def install_options(self, script_text: str):
-        self.options = shlex.split(self._extract_options(script_text))
-        cmdline = subprocess.list2cmdline(self)
-        if not isascii(cmdline):
-            self.options[:0] = ['-x']
-
-    @staticmethod
-    def _extract_options(orig_script):
-        """
-        Extract any options from the first line of the script.
-        """
-        first = (orig_script + '\n').splitlines()[0]
-        match = _first_line_re().match(first)
-        options = match.group(1) or '' if match else ''
-        return options.strip()
-
-    def as_header(self):
-        return self._render(self + list(self.options))
-
-    @staticmethod
-    def _strip_quotes(item):
-        _QUOTES = '"\''
-        for q in _QUOTES:
-            if item.startswith(q) and item.endswith(q):
-                return item[1:-1]
-        return item
-
-    @staticmethod
-    def _render(items):
-        cmdline = subprocess.list2cmdline(
-            CommandSpec._strip_quotes(item.strip()) for item in items
-        )
-        return '#!' + cmdline + '\n'
-
-
-# For pbr compat; will be removed in a future version.
-sys_executable = CommandSpec._sys_executable()
-
-
-class WindowsCommandSpec(CommandSpec):
-    split_args = _SplitArgs(posix=False)
-
-
-class ScriptWriter:
-    """
-    Encapsulates behavior around writing entry point scripts for console and
-    gui apps.
-    """
-
-    template = textwrap.dedent(
-        r"""
-        # EASY-INSTALL-ENTRY-SCRIPT: %(spec)r,%(group)r,%(name)r
-        import re
-        import sys
-
-        # for compatibility with easy_install; see #2198
-        __requires__ = %(spec)r
-
-        try:
-            from importlib.metadata import distribution
-        except ImportError:
-            try:
-                from importlib_metadata import distribution
-            except ImportError:
-                from pkg_resources import load_entry_point
-
-
-        def importlib_load_entry_point(spec, group, name):
-            dist_name, _, _ = spec.partition('==')
-            matches = (
-                entry_point
-                for entry_point in distribution(dist_name).entry_points
-                if entry_point.group == group and entry_point.name == name
-            )
-            return next(matches).load()
-
-
-        globals().setdefault('load_entry_point', importlib_load_entry_point)
-
-
-        if __name__ == '__main__':
-            sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
-            sys.exit(load_entry_point(%(spec)r, %(group)r, %(name)r)())
-        """
-    ).lstrip()
-
-    command_spec_class = CommandSpec
-
-    @classmethod
-    def get_args(cls, dist, header=None):
-        """
-        Yield write_script() argument tuples for a distribution's
-        console_scripts and gui_scripts entry points.
-        """
-        if header is None:
-            header = cls.get_header()
-        spec = str(dist.as_requirement())
-        for type_ in 'console', 'gui':
-            group = type_ + '_scripts'
-            for name in dist.get_entry_map(group).keys():
-                cls._ensure_safe_name(name)
-                script_text = cls.template % locals()
-                args = cls._get_script_args(type_, name, header, script_text)
-                yield from args
-
-    @staticmethod
-    def _ensure_safe_name(name):
-        """
-        Prevent paths in *_scripts entry point names.
-        """
-        has_path_sep = re.search(r'[\\/]', name)
-        if has_path_sep:
-            raise ValueError("Path separators not allowed in script names")
-
-    @classmethod
-    def best(cls):
-        """
-        Select the best ScriptWriter for this environment.
-        """
-        if sys.platform == 'win32' or (os.name == 'java' and os._name == 'nt'):
-            return WindowsScriptWriter.best()
-        else:
-            return cls
-
-    @classmethod
-    def _get_script_args(cls, type_, name, header, script_text):
-        # Simply write the stub with no extension.
-        yield (name, header + script_text)
-
-    @classmethod
-    def get_header(
-        cls,
-        script_text: str = "",
-        executable: str | CommandSpec | Iterable[str] | None = None,
-    ) -> str:
-        """Create a #! line, getting options (if any) from script_text"""
-        cmd = cls.command_spec_class.best().from_param(executable)
-        cmd.install_options(script_text)
-        return cmd.as_header()
-
-
-class WindowsScriptWriter(ScriptWriter):
-    command_spec_class = WindowsCommandSpec
-
-    @classmethod
-    def best(cls):
-        """
-        Select the best ScriptWriter suitable for Windows
-        """
-        writer_lookup = dict(
-            executable=WindowsExecutableLauncherWriter,
-            natural=cls,
-        )
-        # for compatibility, use the executable launcher by default
-        launcher = os.environ.get('SETUPTOOLS_LAUNCHER', 'executable')
-        return writer_lookup[launcher]
-
-    @classmethod
-    def _get_script_args(cls, type_, name, header, script_text):
-        "For Windows, add a .py extension"
-        ext = dict(console='.pya', gui='.pyw')[type_]
-        if ext not in os.environ['PATHEXT'].lower().split(';'):
-            msg = (
-                "{ext} not listed in PATHEXT; scripts will not be "
-                "recognized as executables."
-            ).format(**locals())
-            SetuptoolsWarning.emit(msg)
-        old = ['.pya', '.py', '-script.py', '.pyc', '.pyo', '.pyw', '.exe']
-        old.remove(ext)
-        header = cls._adjust_header(type_, header)
-        blockers = [name + x for x in old]
-        yield name + ext, header + script_text, 't', blockers
-
-    @classmethod
-    def _adjust_header(cls, type_, orig_header):
-        """
-        Make sure 'pythonw' is used for gui and 'python' is used for
-        console (regardless of what sys.executable is).
-        """
-        pattern = 'pythonw.exe'
-        repl = 'python.exe'
-        if type_ == 'gui':
-            pattern, repl = repl, pattern
-        pattern_ob = re.compile(re.escape(pattern), re.IGNORECASE)
-        new_header = pattern_ob.sub(string=orig_header, repl=repl)
-        return new_header if cls._use_header(new_header) else orig_header
-
-    @staticmethod
-    def _use_header(new_header):
-        """
-        Should _adjust_header use the replaced header?
-
-        On non-windows systems, always use. On
-        Windows systems, only use the replaced header if it resolves
-        to an executable on the system.
-        """
-        clean_header = new_header[2:-1].strip('"')
-        return sys.platform != 'win32' or shutil.which(clean_header)
-
-
-class WindowsExecutableLauncherWriter(WindowsScriptWriter):
-    @classmethod
-    def _get_script_args(cls, type_, name, header, script_text):
-        """
-        For Windows, add a .py extension and an .exe launcher
-        """
-        if type_ == 'gui':
-            launcher_type = 'gui'
-            ext = '-script.pyw'
-            old = ['.pyw']
-        else:
-            launcher_type = 'cli'
-            ext = '-script.py'
-            old = ['.py', '.pyc', '.pyo']
-        hdr = cls._adjust_header(type_, header)
-        blockers = [name + x for x in old]
-        yield (name + ext, hdr + script_text, 't', blockers)
-        yield (
-            name + '.exe',
-            get_win_launcher(launcher_type),
-            'b',  # write in binary mode
-        )
-        if not is_64bit():
-            # install a manifest for the launcher to prevent Windows
-            # from detecting it as an installer (which it will for
-            #  launchers like easy_install.exe). Consider only
-            #  adding a manifest for launchers detected as installers.
-            #  See Distribute #143 for details.
-            m_name = name + '.exe.manifest'
-            yield (m_name, load_launcher_manifest(name), 't')
-
-
-def get_win_launcher(type):
-    """
-    Load the Windows launcher (executable) suitable for launching a script.
-
-    `type` should be either 'cli' or 'gui'
-
-    Returns the executable as a byte string.
-    """
-    launcher_fn = '%s.exe' % type
-    if is_64bit():
-        if get_platform() == "win-arm64":
-            launcher_fn = launcher_fn.replace(".", "-arm64.")
-        else:
-            launcher_fn = launcher_fn.replace(".", "-64.")
-    else:
-        launcher_fn = launcher_fn.replace(".", "-32.")
-    return resource_string('setuptools', launcher_fn)
-
-
-def load_launcher_manifest(name):
-    manifest = pkg_resources.resource_string(__name__, 'launcher manifest.xml')
-    return manifest.decode('utf-8') % vars()
-
-
-def current_umask():
-    tmp = os.umask(0o022)
-    os.umask(tmp)
-    return tmp
-
-
-def only_strs(values):
-    """
-    Exclude non-str values. Ref #3063.
-    """
-    return filter(lambda val: isinstance(val, str), values)
-
-
-def _read_pth(fullname: str) -> str:
-    # Python<3.13 require encoding="locale" instead of "utf-8", see python/cpython#77102
-    # In the case old versions of setuptools are producing `pth` files with
-    # different encodings that might be problematic... So we fallback to "locale".
-
-    try:
-        with open(fullname, encoding=py312.PTH_ENCODING) as f:
-            return f.read()
-    except UnicodeDecodeError:  # pragma: no cover
-        # This error may only happen for Python >= 3.13
-        # TODO: Possible deprecation warnings to be added in the future:
-        #       ``.pth file {fullname!r} is not UTF-8.``
-        #       Your environment contain {fullname!r} that cannot be read as UTF-8.
-        #       This is likely to have been produced with an old version of setuptools.
-        #       Please be mindful that this is deprecated and in the future, non-utf8
-        #       .pth files may cause setuptools to fail.
-        with open(fullname, encoding=py39.LOCALE_ENCODING) as f:
-            return f.read()
-
-
-class EasyInstallDeprecationWarning(SetuptoolsDeprecationWarning):
-    _SUMMARY = "easy_install command is deprecated."
-    _DETAILS = """
-    Please avoid running ``setup.py`` and ``easy_install``.
-    Instead, use pypa/build, pypa/installer or other
-    standards-based tools.
-    """
-    _SEE_URL = "https://github.com/pypa/setuptools/issues/917"
-    # _DUE_DATE not defined yet
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/editable_wheel.py b/.venv/lib/python3.12/site-packages/setuptools/command/editable_wheel.py
deleted file mode 100644
index 6d23d11f..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/editable_wheel.py
+++ /dev/null
@@ -1,925 +0,0 @@
-"""
-Create a wheel that, when installed, will make the source package 'editable'
-(add it to the interpreter's path, including metadata) per PEP 660. Replaces
-'setup.py develop'.
-
-.. note::
-   One of the mechanisms briefly mentioned in PEP 660 to implement editable installs is
-   to create a separated directory inside ``build`` and use a .pth file to point to that
-   directory. In the context of this file such directory is referred as
-   *auxiliary build directory* or ``auxiliary_dir``.
-"""
-
-from __future__ import annotations
-
-import io
-import logging
-import os
-import shutil
-import traceback
-from collections.abc import Iterable, Iterator, Mapping
-from contextlib import suppress
-from enum import Enum
-from inspect import cleandoc
-from itertools import chain, starmap
-from pathlib import Path
-from tempfile import TemporaryDirectory
-from types import TracebackType
-from typing import TYPE_CHECKING, Protocol, TypeVar, cast
-
-from .. import Command, _normalization, _path, _shutil, errors, namespaces
-from .._path import StrPath
-from ..compat import py312
-from ..discovery import find_package_path
-from ..dist import Distribution
-from ..warnings import InformationOnly, SetuptoolsDeprecationWarning, SetuptoolsWarning
-from .build import build as build_cls
-from .build_py import build_py as build_py_cls
-from .dist_info import dist_info as dist_info_cls
-from .egg_info import egg_info as egg_info_cls
-from .install import install as install_cls
-from .install_scripts import install_scripts as install_scripts_cls
-
-if TYPE_CHECKING:
-    from typing_extensions import Self
-
-    from .._vendor.wheel.wheelfile import WheelFile
-
-_P = TypeVar("_P", bound=StrPath)
-_logger = logging.getLogger(__name__)
-
-
-class _EditableMode(Enum):
-    """
-    Possible editable installation modes:
-    `lenient` (new files automatically added to the package - DEFAULT);
-    `strict` (requires a new installation when files are added/removed); or
-    `compat` (attempts to emulate `python setup.py develop` - DEPRECATED).
-    """
-
-    STRICT = "strict"
-    LENIENT = "lenient"
-    COMPAT = "compat"  # TODO: Remove `compat` after Dec/2022.
-
-    @classmethod
-    def convert(cls, mode: str | None) -> _EditableMode:
-        if not mode:
-            return _EditableMode.LENIENT  # default
-
-        _mode = mode.upper()
-        if _mode not in _EditableMode.__members__:
-            raise errors.OptionError(f"Invalid editable mode: {mode!r}. Try: 'strict'.")
-
-        if _mode == "COMPAT":
-            SetuptoolsDeprecationWarning.emit(
-                "Compat editable installs",
-                """
-                The 'compat' editable mode is transitional and will be removed
-                in future versions of `setuptools`.
-                Please adapt your code accordingly to use either the 'strict' or the
-                'lenient' modes.
-                """,
-                see_docs="userguide/development_mode.html",
-                # TODO: define due_date
-                # There is a series of shortcomings with the available editable install
-                # methods, and they are very controversial. This is something that still
-                # needs work.
-                # Moreover, `pip` is still hiding this warning, so users are not aware.
-            )
-
-        return _EditableMode[_mode]
-
-
-_STRICT_WARNING = """
-New or renamed files may not be automatically picked up without a new installation.
-"""
-
-_LENIENT_WARNING = """
-Options like `package-data`, `include/exclude-package-data` or
-`packages.find.exclude/include` may have no effect.
-"""
-
-
-class editable_wheel(Command):
-    """Build 'editable' wheel for development.
-    This command is private and reserved for internal use of setuptools,
-    users should rely on ``setuptools.build_meta`` APIs.
-    """
-
-    description = "DO NOT CALL DIRECTLY, INTERNAL ONLY: create PEP 660 editable wheel"
-
-    user_options = [
-        ("dist-dir=", "d", "directory to put final built distributions in"),
-        ("dist-info-dir=", "I", "path to a pre-build .dist-info directory"),
-        ("mode=", None, cleandoc(_EditableMode.__doc__ or "")),
-    ]
-
-    def initialize_options(self):
-        self.dist_dir = None
-        self.dist_info_dir = None
-        self.project_dir = None
-        self.mode = None
-
-    def finalize_options(self) -> None:
-        dist = self.distribution
-        self.project_dir = dist.src_root or os.curdir
-        self.package_dir = dist.package_dir or {}
-        self.dist_dir = Path(self.dist_dir or os.path.join(self.project_dir, "dist"))
-
-    def run(self) -> None:
-        try:
-            self.dist_dir.mkdir(exist_ok=True)
-            self._ensure_dist_info()
-
-            # Add missing dist_info files
-            self.reinitialize_command("bdist_wheel")
-            bdist_wheel = self.get_finalized_command("bdist_wheel")
-            bdist_wheel.write_wheelfile(self.dist_info_dir)
-
-            self._create_wheel_file(bdist_wheel)
-        except Exception:
-            traceback.print_exc()
-            project = self.distribution.name or self.distribution.get_name()
-            _DebuggingTips.emit(project=project)
-            raise
-
-    def _ensure_dist_info(self):
-        if self.dist_info_dir is None:
-            dist_info = cast(dist_info_cls, self.reinitialize_command("dist_info"))
-            dist_info.output_dir = self.dist_dir
-            dist_info.ensure_finalized()
-            dist_info.run()
-            self.dist_info_dir = dist_info.dist_info_dir
-        else:
-            assert str(self.dist_info_dir).endswith(".dist-info")
-            assert Path(self.dist_info_dir, "METADATA").exists()
-
-    def _install_namespaces(self, installation_dir, pth_prefix):
-        # XXX: Only required to support the deprecated namespace practice
-        dist = self.distribution
-        if not dist.namespace_packages:
-            return
-
-        src_root = Path(self.project_dir, self.package_dir.get("", ".")).resolve()
-        installer = _NamespaceInstaller(dist, installation_dir, pth_prefix, src_root)
-        installer.install_namespaces()
-
-    def _find_egg_info_dir(self) -> str | None:
-        parent_dir = Path(self.dist_info_dir).parent if self.dist_info_dir else Path()
-        candidates = map(str, parent_dir.glob("*.egg-info"))
-        return next(candidates, None)
-
-    def _configure_build(
-        self, name: str, unpacked_wheel: StrPath, build_lib: StrPath, tmp_dir: StrPath
-    ):
-        """Configure commands to behave in the following ways:
-
-        - Build commands can write to ``build_lib`` if they really want to...
-          (but this folder is expected to be ignored and modules are expected to live
-          in the project directory...)
-        - Binary extensions should be built in-place (editable_mode = True)
-        - Data/header/script files are not part of the "editable" specification
-          so they are written directly to the unpacked_wheel directory.
-        """
-        # Non-editable files (data, headers, scripts) are written directly to the
-        # unpacked_wheel
-
-        dist = self.distribution
-        wheel = str(unpacked_wheel)
-        build_lib = str(build_lib)
-        data = str(Path(unpacked_wheel, f"{name}.data", "data"))
-        headers = str(Path(unpacked_wheel, f"{name}.data", "headers"))
-        scripts = str(Path(unpacked_wheel, f"{name}.data", "scripts"))
-
-        # egg-info may be generated again to create a manifest (used for package data)
-        egg_info = cast(
-            egg_info_cls, dist.reinitialize_command("egg_info", reinit_subcommands=True)
-        )
-        egg_info.egg_base = str(tmp_dir)
-        egg_info.ignore_egg_info_in_manifest = True
-
-        build = cast(
-            build_cls, dist.reinitialize_command("build", reinit_subcommands=True)
-        )
-        install = cast(
-            install_cls, dist.reinitialize_command("install", reinit_subcommands=True)
-        )
-
-        build.build_platlib = build.build_purelib = build.build_lib = build_lib
-        install.install_purelib = install.install_platlib = install.install_lib = wheel
-        install.install_scripts = build.build_scripts = scripts
-        install.install_headers = headers
-        install.install_data = data
-
-        install_scripts = cast(
-            install_scripts_cls, dist.get_command_obj("install_scripts")
-        )
-        install_scripts.no_ep = True
-
-        build.build_temp = str(tmp_dir)
-
-        build_py = cast(build_py_cls, dist.get_command_obj("build_py"))
-        build_py.compile = False
-        build_py.existing_egg_info_dir = self._find_egg_info_dir()
-
-        self._set_editable_mode()
-
-        build.ensure_finalized()
-        install.ensure_finalized()
-
-    def _set_editable_mode(self):
-        """Set the ``editable_mode`` flag in the build sub-commands"""
-        dist = self.distribution
-        build = dist.get_command_obj("build")
-        for cmd_name in build.get_sub_commands():
-            cmd = dist.get_command_obj(cmd_name)
-            if hasattr(cmd, "editable_mode"):
-                cmd.editable_mode = True
-            elif hasattr(cmd, "inplace"):
-                cmd.inplace = True  # backward compatibility with distutils
-
-    def _collect_build_outputs(self) -> tuple[list[str], dict[str, str]]:
-        files: list[str] = []
-        mapping: dict[str, str] = {}
-        build = self.get_finalized_command("build")
-
-        for cmd_name in build.get_sub_commands():
-            cmd = self.get_finalized_command(cmd_name)
-            if hasattr(cmd, "get_outputs"):
-                files.extend(cmd.get_outputs() or [])
-            if hasattr(cmd, "get_output_mapping"):
-                mapping.update(cmd.get_output_mapping() or {})
-
-        return files, mapping
-
-    def _run_build_commands(
-        self,
-        dist_name: str,
-        unpacked_wheel: StrPath,
-        build_lib: StrPath,
-        tmp_dir: StrPath,
-    ) -> tuple[list[str], dict[str, str]]:
-        self._configure_build(dist_name, unpacked_wheel, build_lib, tmp_dir)
-        self._run_build_subcommands()
-        files, mapping = self._collect_build_outputs()
-        self._run_install("headers")
-        self._run_install("scripts")
-        self._run_install("data")
-        return files, mapping
-
-    def _run_build_subcommands(self) -> None:
-        """
-        Issue #3501 indicates that some plugins/customizations might rely on:
-
-        1. ``build_py`` not running
-        2. ``build_py`` always copying files to ``build_lib``
-
-        However both these assumptions may be false in editable_wheel.
-        This method implements a temporary workaround to support the ecosystem
-        while the implementations catch up.
-        """
-        # TODO: Once plugins/customisations had the chance to catch up, replace
-        #       `self._run_build_subcommands()` with `self.run_command("build")`.
-        #       Also remove _safely_run, TestCustomBuildPy. Suggested date: Aug/2023.
-        build = self.get_finalized_command("build")
-        for name in build.get_sub_commands():
-            cmd = self.get_finalized_command(name)
-            if name == "build_py" and type(cmd) is not build_py_cls:
-                self._safely_run(name)
-            else:
-                self.run_command(name)
-
-    def _safely_run(self, cmd_name: str):
-        try:
-            return self.run_command(cmd_name)
-        except Exception:
-            SetuptoolsDeprecationWarning.emit(
-                "Customization incompatible with editable install",
-                f"""
-                {traceback.format_exc()}
-
-                If you are seeing this warning it is very likely that a setuptools
-                plugin or customization overrides the `{cmd_name}` command, without
-                taking into consideration how editable installs run build steps
-                starting from setuptools v64.0.0.
-
-                Plugin authors and developers relying on custom build steps are
-                encouraged to update their `{cmd_name}` implementation considering the
-                information about editable installs in
-                https://setuptools.pypa.io/en/latest/userguide/extension.html.
-
-                For the time being `setuptools` will silence this error and ignore
-                the faulty command, but this behaviour will change in future versions.
-                """,
-                # TODO: define due_date
-                # There is a series of shortcomings with the available editable install
-                # methods, and they are very controversial. This is something that still
-                # needs work.
-            )
-
-    def _create_wheel_file(self, bdist_wheel):
-        from wheel.wheelfile import WheelFile
-
-        dist_info = self.get_finalized_command("dist_info")
-        dist_name = dist_info.name
-        tag = "-".join(bdist_wheel.get_tag())
-        build_tag = "0.editable"  # According to PEP 427 needs to start with digit
-        archive_name = f"{dist_name}-{build_tag}-{tag}.whl"
-        wheel_path = Path(self.dist_dir, archive_name)
-        if wheel_path.exists():
-            wheel_path.unlink()
-
-        unpacked_wheel = TemporaryDirectory(suffix=archive_name)
-        build_lib = TemporaryDirectory(suffix=".build-lib")
-        build_tmp = TemporaryDirectory(suffix=".build-temp")
-
-        with unpacked_wheel as unpacked, build_lib as lib, build_tmp as tmp:
-            unpacked_dist_info = Path(unpacked, Path(self.dist_info_dir).name)
-            shutil.copytree(self.dist_info_dir, unpacked_dist_info)
-            self._install_namespaces(unpacked, dist_name)
-            files, mapping = self._run_build_commands(dist_name, unpacked, lib, tmp)
-            strategy = self._select_strategy(dist_name, tag, lib)
-            with strategy, WheelFile(wheel_path, "w") as wheel_obj:
-                strategy(wheel_obj, files, mapping)
-                wheel_obj.write_files(unpacked)
-
-        return wheel_path
-
-    def _run_install(self, category: str):
-        has_category = getattr(self.distribution, f"has_{category}", None)
-        if has_category and has_category():
-            _logger.info(f"Installing {category} as non editable")
-            self.run_command(f"install_{category}")
-
-    def _select_strategy(
-        self,
-        name: str,
-        tag: str,
-        build_lib: StrPath,
-    ) -> EditableStrategy:
-        """Decides which strategy to use to implement an editable installation."""
-        build_name = f"__editable__.{name}-{tag}"
-        project_dir = Path(self.project_dir)
-        mode = _EditableMode.convert(self.mode)
-
-        if mode is _EditableMode.STRICT:
-            auxiliary_dir = _empty_dir(Path(self.project_dir, "build", build_name))
-            return _LinkTree(self.distribution, name, auxiliary_dir, build_lib)
-
-        packages = _find_packages(self.distribution)
-        has_simple_layout = _simple_layout(packages, self.package_dir, project_dir)
-        is_compat_mode = mode is _EditableMode.COMPAT
-        if set(self.package_dir) == {""} and has_simple_layout or is_compat_mode:
-            # src-layout(ish) is relatively safe for a simple pth file
-            src_dir = self.package_dir.get("", ".")
-            return _StaticPth(self.distribution, name, [Path(project_dir, src_dir)])
-
-        # Use a MetaPathFinder to avoid adding accidental top-level packages/modules
-        return _TopLevelFinder(self.distribution, name)
-
-
-class EditableStrategy(Protocol):
-    def __call__(
-        self, wheel: WheelFile, files: list[str], mapping: Mapping[str, str]
-    ) -> object: ...
-    def __enter__(self) -> Self: ...
-    def __exit__(
-        self,
-        _exc_type: type[BaseException] | None,
-        _exc_value: BaseException | None,
-        _traceback: TracebackType | None,
-    ) -> object: ...
-
-
-class _StaticPth:
-    def __init__(self, dist: Distribution, name: str, path_entries: list[Path]) -> None:
-        self.dist = dist
-        self.name = name
-        self.path_entries = path_entries
-
-    def __call__(self, wheel: WheelFile, files: list[str], mapping: Mapping[str, str]):
-        entries = "\n".join(str(p.resolve()) for p in self.path_entries)
-        contents = _encode_pth(f"{entries}\n")
-        wheel.writestr(f"__editable__.{self.name}.pth", contents)
-
-    def __enter__(self) -> Self:
-        msg = f"""
-        Editable install will be performed using .pth file to extend `sys.path` with:
-        {list(map(os.fspath, self.path_entries))!r}
-        """
-        _logger.warning(msg + _LENIENT_WARNING)
-        return self
-
-    def __exit__(
-        self,
-        _exc_type: object,
-        _exc_value: object,
-        _traceback: object,
-    ) -> None:
-        pass
-
-
-class _LinkTree(_StaticPth):
-    """
-    Creates a ``.pth`` file that points to a link tree in the ``auxiliary_dir``.
-
-    This strategy will only link files (not dirs), so it can be implemented in
-    any OS, even if that means using hardlinks instead of symlinks.
-
-    By collocating ``auxiliary_dir`` and the original source code, limitations
-    with hardlinks should be avoided.
-    """
-
-    def __init__(
-        self,
-        dist: Distribution,
-        name: str,
-        auxiliary_dir: StrPath,
-        build_lib: StrPath,
-    ) -> None:
-        self.auxiliary_dir = Path(auxiliary_dir)
-        self.build_lib = Path(build_lib).resolve()
-        self._file = dist.get_command_obj("build_py").copy_file
-        super().__init__(dist, name, [self.auxiliary_dir])
-
-    def __call__(self, wheel: WheelFile, files: list[str], mapping: Mapping[str, str]):
-        self._create_links(files, mapping)
-        super().__call__(wheel, files, mapping)
-
-    def _normalize_output(self, file: str) -> str | None:
-        # Files relative to build_lib will be normalized to None
-        with suppress(ValueError):
-            path = Path(file).resolve().relative_to(self.build_lib)
-            return str(path).replace(os.sep, '/')
-        return None
-
-    def _create_file(self, relative_output: str, src_file: str, link=None):
-        dest = self.auxiliary_dir / relative_output
-        if not dest.parent.is_dir():
-            dest.parent.mkdir(parents=True)
-        self._file(src_file, dest, link=link)
-
-    def _create_links(self, outputs, output_mapping: Mapping[str, str]):
-        self.auxiliary_dir.mkdir(parents=True, exist_ok=True)
-        link_type = "sym" if _can_symlink_files(self.auxiliary_dir) else "hard"
-        normalised = ((self._normalize_output(k), v) for k, v in output_mapping.items())
-        # remove files that are not relative to build_lib
-        mappings = {k: v for k, v in normalised if k is not None}
-
-        for output in outputs:
-            relative = self._normalize_output(output)
-            if relative and relative not in mappings:
-                self._create_file(relative, output)
-
-        for relative, src in mappings.items():
-            self._create_file(relative, src, link=link_type)
-
-    def __enter__(self) -> Self:
-        msg = "Strict editable install will be performed using a link tree.\n"
-        _logger.warning(msg + _STRICT_WARNING)
-        return self
-
-    def __exit__(
-        self,
-        _exc_type: object,
-        _exc_value: object,
-        _traceback: object,
-    ) -> None:
-        msg = f"""\n
-        Strict editable installation performed using the auxiliary directory:
-            {self.auxiliary_dir}
-
-        Please be careful to not remove this directory, otherwise you might not be able
-        to import/use your package.
-        """
-        InformationOnly.emit("Editable installation.", msg)
-
-
-class _TopLevelFinder:
-    def __init__(self, dist: Distribution, name: str) -> None:
-        self.dist = dist
-        self.name = name
-
-    def template_vars(self) -> tuple[str, str, dict[str, str], dict[str, list[str]]]:
-        src_root = self.dist.src_root or os.curdir
-        top_level = chain(_find_packages(self.dist), _find_top_level_modules(self.dist))
-        package_dir = self.dist.package_dir or {}
-        roots = _find_package_roots(top_level, package_dir, src_root)
-
-        namespaces_: dict[str, list[str]] = dict(
-            chain(
-                _find_namespaces(self.dist.packages or [], roots),
-                ((ns, []) for ns in _find_virtual_namespaces(roots)),
-            )
-        )
-
-        legacy_namespaces = {
-            pkg: find_package_path(pkg, roots, self.dist.src_root or "")
-            for pkg in self.dist.namespace_packages or []
-        }
-
-        mapping = {**roots, **legacy_namespaces}
-        # ^-- We need to explicitly add the legacy_namespaces to the mapping to be
-        #     able to import their modules even if another package sharing the same
-        #     namespace is installed in a conventional (non-editable) way.
-
-        name = f"__editable__.{self.name}.finder"
-        finder = _normalization.safe_identifier(name)
-        return finder, name, mapping, namespaces_
-
-    def get_implementation(self) -> Iterator[tuple[str, bytes]]:
-        finder, name, mapping, namespaces_ = self.template_vars()
-
-        content = bytes(_finder_template(name, mapping, namespaces_), "utf-8")
-        yield (f"{finder}.py", content)
-
-        content = _encode_pth(f"import {finder}; {finder}.install()")
-        yield (f"__editable__.{self.name}.pth", content)
-
-    def __call__(self, wheel: WheelFile, files: list[str], mapping: Mapping[str, str]):
-        for file, content in self.get_implementation():
-            wheel.writestr(file, content)
-
-    def __enter__(self) -> Self:
-        msg = "Editable install will be performed using a meta path finder.\n"
-        _logger.warning(msg + _LENIENT_WARNING)
-        return self
-
-    def __exit__(
-        self,
-        _exc_type: object,
-        _exc_value: object,
-        _traceback: object,
-    ) -> None:
-        msg = """\n
-        Please be careful with folders in your working directory with the same
-        name as your package as they may take precedence during imports.
-        """
-        InformationOnly.emit("Editable installation.", msg)
-
-
-def _encode_pth(content: str) -> bytes:
-    """
-    Prior to Python 3.13 (see https://github.com/python/cpython/issues/77102),
-    .pth files are always read with 'locale' encoding, the recommendation
-    from the cpython core developers is to write them as ``open(path, "w")``
-    and ignore warnings (see python/cpython#77102, pypa/setuptools#3937).
-    This function tries to simulate this behaviour without having to create an
-    actual file, in a way that supports a range of active Python versions.
-    (There seems to be some variety in the way different version of Python handle
-    ``encoding=None``, not all of them use ``locale.getpreferredencoding(False)``
-    or ``locale.getencoding()``).
-    """
-    with io.BytesIO() as buffer:
-        wrapper = io.TextIOWrapper(buffer, encoding=py312.PTH_ENCODING)
-        # TODO: Python 3.13 replace the whole function with `bytes(content, "utf-8")`
-        wrapper.write(content)
-        wrapper.flush()
-        buffer.seek(0)
-        return buffer.read()
-
-
-def _can_symlink_files(base_dir: Path) -> bool:
-    with TemporaryDirectory(dir=str(base_dir.resolve())) as tmp:
-        path1, path2 = Path(tmp, "file1.txt"), Path(tmp, "file2.txt")
-        path1.write_text("file1", encoding="utf-8")
-        with suppress(AttributeError, NotImplementedError, OSError):
-            os.symlink(path1, path2)
-            if path2.is_symlink() and path2.read_text(encoding="utf-8") == "file1":
-                return True
-
-        try:
-            os.link(path1, path2)  # Ensure hard links can be created
-        except Exception as ex:
-            msg = (
-                "File system does not seem to support either symlinks or hard links. "
-                "Strict editable installs require one of them to be supported."
-            )
-            raise LinksNotSupported(msg) from ex
-        return False
-
-
-def _simple_layout(
-    packages: Iterable[str], package_dir: dict[str, str], project_dir: StrPath
-) -> bool:
-    """Return ``True`` if:
-    - all packages are contained by the same parent directory, **and**
-    - all packages become importable if the parent directory is added to ``sys.path``.
-
-    >>> _simple_layout(['a'], {"": "src"}, "/tmp/myproj")
-    True
-    >>> _simple_layout(['a', 'a.b'], {"": "src"}, "/tmp/myproj")
-    True
-    >>> _simple_layout(['a', 'a.b'], {}, "/tmp/myproj")
-    True
-    >>> _simple_layout(['a', 'a.a1', 'a.a1.a2', 'b'], {"": "src"}, "/tmp/myproj")
-    True
-    >>> _simple_layout(['a', 'a.a1', 'a.a1.a2', 'b'], {"a": "a", "b": "b"}, ".")
-    True
-    >>> _simple_layout(['a', 'a.a1', 'a.a1.a2', 'b'], {"a": "_a", "b": "_b"}, ".")
-    False
-    >>> _simple_layout(['a', 'a.a1', 'a.a1.a2', 'b'], {"a": "_a"}, "/tmp/myproj")
-    False
-    >>> _simple_layout(['a', 'a.a1', 'a.a1.a2', 'b'], {"a.a1.a2": "_a2"}, ".")
-    False
-    >>> _simple_layout(['a', 'a.b'], {"": "src", "a.b": "_ab"}, "/tmp/myproj")
-    False
-    >>> # Special cases, no packages yet:
-    >>> _simple_layout([], {"": "src"}, "/tmp/myproj")
-    True
-    >>> _simple_layout([], {"a": "_a", "": "src"}, "/tmp/myproj")
-    False
-    """
-    layout = {pkg: find_package_path(pkg, package_dir, project_dir) for pkg in packages}
-    if not layout:
-        return set(package_dir) in ({}, {""})
-    parent = os.path.commonpath(starmap(_parent_path, layout.items()))
-    return all(
-        _path.same_path(Path(parent, *key.split('.')), value)
-        for key, value in layout.items()
-    )
-
-
-def _parent_path(pkg, pkg_path):
-    """Infer the parent path containing a package, that if added to ``sys.path`` would
-    allow importing that package.
-    When ``pkg`` is directly mapped into a directory with a different name, return its
-    own path.
-    >>> _parent_path("a", "src/a")
-    'src'
-    >>> _parent_path("b", "src/c")
-    'src/c'
-    """
-    parent = pkg_path[: -len(pkg)] if pkg_path.endswith(pkg) else pkg_path
-    return parent.rstrip("/" + os.sep)
-
-
-def _find_packages(dist: Distribution) -> Iterator[str]:
-    yield from iter(dist.packages or [])
-
-    py_modules = dist.py_modules or []
-    nested_modules = [mod for mod in py_modules if "." in mod]
-    if dist.ext_package:
-        yield dist.ext_package
-    else:
-        ext_modules = dist.ext_modules or []
-        nested_modules += [x.name for x in ext_modules if "." in x.name]
-
-    for module in nested_modules:
-        package, _, _ = module.rpartition(".")
-        yield package
-
-
-def _find_top_level_modules(dist: Distribution) -> Iterator[str]:
-    py_modules = dist.py_modules or []
-    yield from (mod for mod in py_modules if "." not in mod)
-
-    if not dist.ext_package:
-        ext_modules = dist.ext_modules or []
-        yield from (x.name for x in ext_modules if "." not in x.name)
-
-
-def _find_package_roots(
-    packages: Iterable[str],
-    package_dir: Mapping[str, str],
-    src_root: StrPath,
-) -> dict[str, str]:
-    pkg_roots: dict[str, str] = {
-        pkg: _absolute_root(find_package_path(pkg, package_dir, src_root))
-        for pkg in sorted(packages)
-    }
-
-    return _remove_nested(pkg_roots)
-
-
-def _absolute_root(path: StrPath) -> str:
-    """Works for packages and top-level modules"""
-    path_ = Path(path)
-    parent = path_.parent
-
-    if path_.exists():
-        return str(path_.resolve())
-    else:
-        return str(parent.resolve() / path_.name)
-
-
-def _find_virtual_namespaces(pkg_roots: dict[str, str]) -> Iterator[str]:
-    """By carefully designing ``package_dir``, it is possible to implement the logical
-    structure of PEP 420 in a package without the corresponding directories.
-
-    Moreover a parent package can be purposefully/accidentally skipped in the discovery
-    phase (e.g. ``find_packages(include=["mypkg.*"])``, when ``mypkg.foo`` is included
-    by ``mypkg`` itself is not).
-    We consider this case to also be a virtual namespace (ignoring the original
-    directory) to emulate a non-editable installation.
-
-    This function will try to find these kinds of namespaces.
-    """
-    for pkg in pkg_roots:
-        if "." not in pkg:
-            continue
-        parts = pkg.split(".")
-        for i in range(len(parts) - 1, 0, -1):
-            partial_name = ".".join(parts[:i])
-            path = Path(find_package_path(partial_name, pkg_roots, ""))
-            if not path.exists() or partial_name not in pkg_roots:
-                # partial_name not in pkg_roots ==> purposefully/accidentally skipped
-                yield partial_name
-
-
-def _find_namespaces(
-    packages: list[str], pkg_roots: dict[str, str]
-) -> Iterator[tuple[str, list[str]]]:
-    for pkg in packages:
-        path = find_package_path(pkg, pkg_roots, "")
-        if Path(path).exists() and not Path(path, "__init__.py").exists():
-            yield (pkg, [path])
-
-
-def _remove_nested(pkg_roots: dict[str, str]) -> dict[str, str]:
-    output = dict(pkg_roots.copy())
-
-    for pkg, path in reversed(list(pkg_roots.items())):
-        if any(
-            pkg != other and _is_nested(pkg, path, other, other_path)
-            for other, other_path in pkg_roots.items()
-        ):
-            output.pop(pkg)
-
-    return output
-
-
-def _is_nested(pkg: str, pkg_path: str, parent: str, parent_path: str) -> bool:
-    """
-    Return ``True`` if ``pkg`` is nested inside ``parent`` both logically and in the
-    file system.
-    >>> _is_nested("a.b", "path/a/b", "a", "path/a")
-    True
-    >>> _is_nested("a.b", "path/a/b", "a", "otherpath/a")
-    False
-    >>> _is_nested("a.b", "path/a/b", "c", "path/c")
-    False
-    >>> _is_nested("a.a", "path/a/a", "a", "path/a")
-    True
-    >>> _is_nested("b.a", "path/b/a", "a", "path/a")
-    False
-    """
-    norm_pkg_path = _path.normpath(pkg_path)
-    rest = pkg.replace(parent, "", 1).strip(".").split(".")
-    return pkg.startswith(parent) and norm_pkg_path == _path.normpath(
-        Path(parent_path, *rest)
-    )
-
-
-def _empty_dir(dir_: _P) -> _P:
-    """Create a directory ensured to be empty. Existing files may be removed."""
-    _shutil.rmtree(dir_, ignore_errors=True)
-    os.makedirs(dir_)
-    return dir_
-
-
-class _NamespaceInstaller(namespaces.Installer):
-    def __init__(self, distribution, installation_dir, editable_name, src_root) -> None:
-        self.distribution = distribution
-        self.src_root = src_root
-        self.installation_dir = installation_dir
-        self.editable_name = editable_name
-        self.outputs: list[str] = []
-        self.dry_run = False
-
-    def _get_nspkg_file(self):
-        """Installation target."""
-        return os.path.join(self.installation_dir, self.editable_name + self.nspkg_ext)
-
-    def _get_root(self):
-        """Where the modules/packages should be loaded from."""
-        return repr(str(self.src_root))
-
-
-_FINDER_TEMPLATE = """\
-from __future__ import annotations
-import sys
-from importlib.machinery import ModuleSpec, PathFinder
-from importlib.machinery import all_suffixes as module_suffixes
-from importlib.util import spec_from_file_location
-from itertools import chain
-from pathlib import Path
-
-MAPPING: dict[str, str] = {mapping!r}
-NAMESPACES: dict[str, list[str]] = {namespaces!r}
-PATH_PLACEHOLDER = {name!r} + ".__path_hook__"
-
-
-class _EditableFinder:  # MetaPathFinder
-    @classmethod
-    def find_spec(cls, fullname: str, path=None, target=None) -> ModuleSpec | None:  # type: ignore
-        # Top-level packages and modules (we know these exist in the FS)
-        if fullname in MAPPING:
-            pkg_path = MAPPING[fullname]
-            return cls._find_spec(fullname, Path(pkg_path))
-
-        # Handle immediate children modules (required for namespaces to work)
-        # To avoid problems with case sensitivity in the file system we delegate
-        # to the importlib.machinery implementation.
-        parent, _, child = fullname.rpartition(".")
-        if parent and parent in MAPPING:
-            return PathFinder.find_spec(fullname, path=[MAPPING[parent]])
-
-        # Other levels of nesting should be handled automatically by importlib
-        # using the parent path.
-        return None
-
-    @classmethod
-    def _find_spec(cls, fullname: str, candidate_path: Path) -> ModuleSpec | None:
-        init = candidate_path / "__init__.py"
-        candidates = (candidate_path.with_suffix(x) for x in module_suffixes())
-        for candidate in chain([init], candidates):
-            if candidate.exists():
-                return spec_from_file_location(fullname, candidate)
-        return None
-
-
-class _EditableNamespaceFinder:  # PathEntryFinder
-    @classmethod
-    def _path_hook(cls, path) -> type[_EditableNamespaceFinder]:
-        if path == PATH_PLACEHOLDER:
-            return cls
-        raise ImportError
-
-    @classmethod
-    def _paths(cls, fullname: str) -> list[str]:
-        paths = NAMESPACES[fullname]
-        if not paths and fullname in MAPPING:
-            paths = [MAPPING[fullname]]
-        # Always add placeholder, for 2 reasons:
-        # 1. __path__ cannot be empty for the spec to be considered namespace.
-        # 2. In the case of nested namespaces, we need to force
-        #    import machinery to query _EditableNamespaceFinder again.
-        return [*paths, PATH_PLACEHOLDER]
-
-    @classmethod
-    def find_spec(cls, fullname: str, target=None) -> ModuleSpec | None:  # type: ignore
-        if fullname in NAMESPACES:
-            spec = ModuleSpec(fullname, None, is_package=True)
-            spec.submodule_search_locations = cls._paths(fullname)
-            return spec
-        return None
-
-    @classmethod
-    def find_module(cls, _fullname) -> None:
-        return None
-
-
-def install():
-    if not any(finder == _EditableFinder for finder in sys.meta_path):
-        sys.meta_path.append(_EditableFinder)
-
-    if not NAMESPACES:
-        return
-
-    if not any(hook == _EditableNamespaceFinder._path_hook for hook in sys.path_hooks):
-        # PathEntryFinder is needed to create NamespaceSpec without private APIS
-        sys.path_hooks.append(_EditableNamespaceFinder._path_hook)
-    if PATH_PLACEHOLDER not in sys.path:
-        sys.path.append(PATH_PLACEHOLDER)  # Used just to trigger the path hook
-"""
-
-
-def _finder_template(
-    name: str, mapping: Mapping[str, str], namespaces: dict[str, list[str]]
-) -> str:
-    """Create a string containing the code for the``MetaPathFinder`` and
-    ``PathEntryFinder``.
-    """
-    mapping = dict(sorted(mapping.items(), key=lambda p: p[0]))
-    return _FINDER_TEMPLATE.format(name=name, mapping=mapping, namespaces=namespaces)
-
-
-class LinksNotSupported(errors.FileError):
-    """File system does not seem to support either symlinks or hard links."""
-
-
-class _DebuggingTips(SetuptoolsWarning):
-    _SUMMARY = "Problem in editable installation."
-    _DETAILS = """
-    An error happened while installing `{project}` in editable mode.
-
-    The following steps are recommended to help debug this problem:
-
-    - Try to install the project normally, without using the editable mode.
-      Does the error still persist?
-      (If it does, try fixing the problem before attempting the editable mode).
-    - If you are using binary extensions, make sure you have all OS-level
-      dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
-    - Try the latest version of setuptools (maybe the error was already fixed).
-    - If you (or your project dependencies) are using any setuptools extension
-      or customization, make sure they support the editable mode.
-
-    After following the steps above, if the problem still persists and
-    you think this is related to how setuptools handles editable installations,
-    please submit a reproducible example
-    (see https://stackoverflow.com/help/minimal-reproducible-example) to:
-
-        https://github.com/pypa/setuptools/issues
-    """
-    _SEE_DOCS = "userguide/development_mode.html"
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py b/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py
deleted file mode 100644
index a300356d..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py
+++ /dev/null
@@ -1,721 +0,0 @@
-"""setuptools.command.egg_info
-
-Create a distribution's .egg-info directory and contents"""
-
-import functools
-import os
-import re
-import sys
-import time
-from collections.abc import Callable
-
-import packaging
-import packaging.requirements
-import packaging.version
-
-import setuptools.unicode_utils as unicode_utils
-from setuptools import Command
-from setuptools.command import bdist_egg
-from setuptools.command.sdist import sdist, walk_revctrl
-from setuptools.command.setopt import edit_config
-from setuptools.glob import glob
-
-from .. import _entry_points, _normalization
-from .._importlib import metadata
-from ..warnings import SetuptoolsDeprecationWarning
-from . import _requirestxt
-
-import distutils.errors
-import distutils.filelist
-from distutils import log
-from distutils.errors import DistutilsInternalError
-from distutils.filelist import FileList as _FileList
-from distutils.util import convert_path
-
-PY_MAJOR = f'{sys.version_info.major}.{sys.version_info.minor}'
-
-
-def translate_pattern(glob):  # noqa: C901  # is too complex (14)  # FIXME
-    """
-    Translate a file path glob like '*.txt' in to a regular expression.
-    This differs from fnmatch.translate which allows wildcards to match
-    directory separators. It also knows about '**/' which matches any number of
-    directories.
-    """
-    pat = ''
-
-    # This will split on '/' within [character classes]. This is deliberate.
-    chunks = glob.split(os.path.sep)
-
-    sep = re.escape(os.sep)
-    valid_char = '[^%s]' % (sep,)
-
-    for c, chunk in enumerate(chunks):
-        last_chunk = c == len(chunks) - 1
-
-        # Chunks that are a literal ** are globstars. They match anything.
-        if chunk == '**':
-            if last_chunk:
-                # Match anything if this is the last component
-                pat += '.*'
-            else:
-                # Match '(name/)*'
-                pat += '(?:%s+%s)*' % (valid_char, sep)
-            continue  # Break here as the whole path component has been handled
-
-        # Find any special characters in the remainder
-        i = 0
-        chunk_len = len(chunk)
-        while i < chunk_len:
-            char = chunk[i]
-            if char == '*':
-                # Match any number of name characters
-                pat += valid_char + '*'
-            elif char == '?':
-                # Match a name character
-                pat += valid_char
-            elif char == '[':
-                # Character class
-                inner_i = i + 1
-                # Skip initial !/] chars
-                if inner_i < chunk_len and chunk[inner_i] == '!':
-                    inner_i = inner_i + 1
-                if inner_i < chunk_len and chunk[inner_i] == ']':
-                    inner_i = inner_i + 1
-
-                # Loop till the closing ] is found
-                while inner_i < chunk_len and chunk[inner_i] != ']':
-                    inner_i = inner_i + 1
-
-                if inner_i >= chunk_len:
-                    # Got to the end of the string without finding a closing ]
-                    # Do not treat this as a matching group, but as a literal [
-                    pat += re.escape(char)
-                else:
-                    # Grab the insides of the [brackets]
-                    inner = chunk[i + 1 : inner_i]
-                    char_class = ''
-
-                    # Class negation
-                    if inner[0] == '!':
-                        char_class = '^'
-                        inner = inner[1:]
-
-                    char_class += re.escape(inner)
-                    pat += '[%s]' % (char_class,)
-
-                    # Skip to the end ]
-                    i = inner_i
-            else:
-                pat += re.escape(char)
-            i += 1
-
-        # Join each chunk with the dir separator
-        if not last_chunk:
-            pat += sep
-
-    pat += r'\Z'
-    return re.compile(pat, flags=re.MULTILINE | re.DOTALL)
-
-
-class InfoCommon:
-    tag_build = None
-    tag_date = None
-
-    @property
-    def name(self):
-        return _normalization.safe_name(self.distribution.get_name())
-
-    def tagged_version(self):
-        tagged = self._maybe_tag(self.distribution.get_version())
-        return _normalization.safe_version(tagged)
-
-    def _maybe_tag(self, version):
-        """
-        egg_info may be called more than once for a distribution,
-        in which case the version string already contains all tags.
-        """
-        return (
-            version
-            if self.vtags and self._already_tagged(version)
-            else version + self.vtags
-        )
-
-    def _already_tagged(self, version: str) -> bool:
-        # Depending on their format, tags may change with version normalization.
-        # So in addition the regular tags, we have to search for the normalized ones.
-        return version.endswith(self.vtags) or version.endswith(self._safe_tags())
-
-    def _safe_tags(self) -> str:
-        # To implement this we can rely on `safe_version` pretending to be version 0
-        # followed by tags. Then we simply discard the starting 0 (fake version number)
-        try:
-            return _normalization.safe_version(f"0{self.vtags}")[1:]
-        except packaging.version.InvalidVersion:
-            return _normalization.safe_name(self.vtags.replace(' ', '.'))
-
-    def tags(self) -> str:
-        version = ''
-        if self.tag_build:
-            version += self.tag_build
-        if self.tag_date:
-            version += time.strftime("%Y%m%d")
-        return version
-
-    vtags = property(tags)
-
-
-class egg_info(InfoCommon, Command):
-    description = "create a distribution's .egg-info directory"
-
-    user_options = [
-        (
-            'egg-base=',
-            'e',
-            "directory containing .egg-info directories"
-            " [default: top of the source tree]",
-        ),
-        ('tag-date', 'd', "Add date stamp (e.g. 20050528) to version number"),
-        ('tag-build=', 'b', "Specify explicit tag to add to version number"),
-        ('no-date', 'D', "Don't include date stamp [default]"),
-    ]
-
-    boolean_options = ['tag-date']
-    negative_opt = {
-        'no-date': 'tag-date',
-    }
-
-    def initialize_options(self):
-        self.egg_base = None
-        self.egg_name = None
-        self.egg_info = None
-        self.egg_version = None
-        self.ignore_egg_info_in_manifest = False
-
-    ####################################
-    # allow the 'tag_svn_revision' to be detected and
-    # set, supporting sdists built on older Setuptools.
-    @property
-    def tag_svn_revision(self) -> None:
-        pass
-
-    @tag_svn_revision.setter
-    def tag_svn_revision(self, value):
-        pass
-
-    ####################################
-
-    def save_version_info(self, filename) -> None:
-        """
-        Materialize the value of date into the
-        build tag. Install build keys in a deterministic order
-        to avoid arbitrary reordering on subsequent builds.
-        """
-        # follow the order these keys would have been added
-        # when PYTHONHASHSEED=0
-        egg_info = dict(tag_build=self.tags(), tag_date=0)
-        edit_config(filename, dict(egg_info=egg_info))
-
-    def finalize_options(self) -> None:
-        # Note: we need to capture the current value returned
-        # by `self.tagged_version()`, so we can later update
-        # `self.distribution.metadata.version` without
-        # repercussions.
-        self.egg_name = self.name
-        self.egg_version = self.tagged_version()
-        parsed_version = packaging.version.Version(self.egg_version)
-
-        try:
-            is_version = isinstance(parsed_version, packaging.version.Version)
-            spec = "%s==%s" if is_version else "%s===%s"
-            packaging.requirements.Requirement(spec % (self.egg_name, self.egg_version))
-        except ValueError as e:
-            raise distutils.errors.DistutilsOptionError(
-                "Invalid distribution name or version syntax: %s-%s"
-                % (self.egg_name, self.egg_version)
-            ) from e
-
-        if self.egg_base is None:
-            dirs = self.distribution.package_dir
-            self.egg_base = (dirs or {}).get('', os.curdir)
-
-        self.ensure_dirname('egg_base')
-        self.egg_info = _normalization.filename_component(self.egg_name) + '.egg-info'
-        if self.egg_base != os.curdir:
-            self.egg_info = os.path.join(self.egg_base, self.egg_info)
-
-        # Set package version for the benefit of dumber commands
-        # (e.g. sdist, bdist_wininst, etc.)
-        #
-        self.distribution.metadata.version = self.egg_version
-
-    def _get_egg_basename(self, py_version=PY_MAJOR, platform=None):
-        """Compute filename of the output egg. Private API."""
-        return _egg_basename(self.egg_name, self.egg_version, py_version, platform)
-
-    def write_or_delete_file(self, what, filename, data, force: bool = False) -> None:
-        """Write `data` to `filename` or delete if empty
-
-        If `data` is non-empty, this routine is the same as ``write_file()``.
-        If `data` is empty but not ``None``, this is the same as calling
-        ``delete_file(filename)`.  If `data` is ``None``, then this is a no-op
-        unless `filename` exists, in which case a warning is issued about the
-        orphaned file (if `force` is false), or deleted (if `force` is true).
-        """
-        if data:
-            self.write_file(what, filename, data)
-        elif os.path.exists(filename):
-            if data is None and not force:
-                log.warn("%s not set in setup(), but %s exists", what, filename)
-                return
-            else:
-                self.delete_file(filename)
-
-    def write_file(self, what, filename, data) -> None:
-        """Write `data` to `filename` (if not a dry run) after announcing it
-
-        `what` is used in a log message to identify what is being written
-        to the file.
-        """
-        log.info("writing %s to %s", what, filename)
-        data = data.encode("utf-8")
-        if not self.dry_run:
-            f = open(filename, 'wb')
-            f.write(data)
-            f.close()
-
-    def delete_file(self, filename) -> None:
-        """Delete `filename` (if not a dry run) after announcing it"""
-        log.info("deleting %s", filename)
-        if not self.dry_run:
-            os.unlink(filename)
-
-    def run(self) -> None:
-        # Pre-load to avoid iterating over entry-points while an empty .egg-info
-        # exists in sys.path. See pypa/pyproject-hooks#206
-        writers = list(metadata.entry_points(group='egg_info.writers'))
-
-        self.mkpath(self.egg_info)
-        try:
-            os.utime(self.egg_info, None)
-        except OSError as e:
-            msg = f"Cannot update time stamp of directory '{self.egg_info}'"
-            raise distutils.errors.DistutilsFileError(msg) from e
-        for ep in writers:
-            writer = ep.load()
-            writer(self, ep.name, os.path.join(self.egg_info, ep.name))
-
-        # Get rid of native_libs.txt if it was put there by older bdist_egg
-        nl = os.path.join(self.egg_info, "native_libs.txt")
-        if os.path.exists(nl):
-            self.delete_file(nl)
-
-        self.find_sources()
-
-    def find_sources(self) -> None:
-        """Generate SOURCES.txt manifest file"""
-        manifest_filename = os.path.join(self.egg_info, "SOURCES.txt")
-        mm = manifest_maker(self.distribution)
-        mm.ignore_egg_info_dir = self.ignore_egg_info_in_manifest
-        mm.manifest = manifest_filename
-        mm.run()
-        self.filelist = mm.filelist
-
-
-class FileList(_FileList):
-    # Implementations of the various MANIFEST.in commands
-
-    def __init__(
-        self, warn=None, debug_print=None, ignore_egg_info_dir: bool = False
-    ) -> None:
-        super().__init__(warn, debug_print)
-        self.ignore_egg_info_dir = ignore_egg_info_dir
-
-    def process_template_line(self, line) -> None:
-        # 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 (dir_pattern).
-        (action, patterns, dir, dir_pattern) = self._parse_template_line(line)
-
-        action_map: dict[str, Callable] = {
-            'include': self.include,
-            'exclude': self.exclude,
-            'global-include': self.global_include,
-            'global-exclude': self.global_exclude,
-            'recursive-include': functools.partial(
-                self.recursive_include,
-                dir,
-            ),
-            'recursive-exclude': functools.partial(
-                self.recursive_exclude,
-                dir,
-            ),
-            'graft': self.graft,
-            'prune': self.prune,
-        }
-        log_map = {
-            'include': "warning: no files found matching '%s'",
-            'exclude': ("warning: no previously-included files found matching '%s'"),
-            'global-include': (
-                "warning: no files found matching '%s' anywhere in distribution"
-            ),
-            'global-exclude': (
-                "warning: no previously-included files matching "
-                "'%s' found anywhere in distribution"
-            ),
-            'recursive-include': (
-                "warning: no files found matching '%s' under directory '%s'"
-            ),
-            'recursive-exclude': (
-                "warning: no previously-included files matching "
-                "'%s' found under directory '%s'"
-            ),
-            'graft': "warning: no directories found matching '%s'",
-            'prune': "no previously-included directories found matching '%s'",
-        }
-
-        try:
-            process_action = action_map[action]
-        except KeyError:
-            msg = f"Invalid MANIFEST.in: unknown action {action!r} in {line!r}"
-            raise DistutilsInternalError(msg) from None
-
-        # 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.
-
-        action_is_recursive = action.startswith('recursive-')
-        if action in {'graft', 'prune'}:
-            patterns = [dir_pattern]
-        extra_log_args = (dir,) if action_is_recursive else ()
-        log_tmpl = log_map[action]
-
-        self.debug_print(
-            ' '.join(
-                [action] + ([dir] if action_is_recursive else []) + patterns,
-            )
-        )
-        for pattern in patterns:
-            if not process_action(pattern):
-                log.warn(log_tmpl, pattern, *extra_log_args)
-
-    def _remove_files(self, predicate):
-        """
-        Remove all files from the file list that match the predicate.
-        Return True if any matching files were removed
-        """
-        found = False
-        for i in range(len(self.files) - 1, -1, -1):
-            if predicate(self.files[i]):
-                self.debug_print(" removing " + self.files[i])
-                del self.files[i]
-                found = True
-        return found
-
-    def include(self, pattern):
-        """Include files that match 'pattern'."""
-        found = [f for f in glob(pattern) if not os.path.isdir(f)]
-        self.extend(found)
-        return bool(found)
-
-    def exclude(self, pattern):
-        """Exclude files that match 'pattern'."""
-        match = translate_pattern(pattern)
-        return self._remove_files(match.match)
-
-    def recursive_include(self, dir, pattern):
-        """
-        Include all files anywhere in 'dir/' that match the pattern.
-        """
-        full_pattern = os.path.join(dir, '**', pattern)
-        found = [f for f in glob(full_pattern, recursive=True) if not os.path.isdir(f)]
-        self.extend(found)
-        return bool(found)
-
-    def recursive_exclude(self, dir, pattern):
-        """
-        Exclude any file anywhere in 'dir/' that match the pattern.
-        """
-        match = translate_pattern(os.path.join(dir, '**', pattern))
-        return self._remove_files(match.match)
-
-    def graft(self, dir):
-        """Include all files from 'dir/'."""
-        found = [
-            item
-            for match_dir in glob(dir)
-            for item in distutils.filelist.findall(match_dir)
-        ]
-        self.extend(found)
-        return bool(found)
-
-    def prune(self, dir):
-        """Filter out files from 'dir/'."""
-        match = translate_pattern(os.path.join(dir, '**'))
-        return self._remove_files(match.match)
-
-    def global_include(self, pattern):
-        """
-        Include all files anywhere in the current directory that match the
-        pattern. This is very inefficient on large file trees.
-        """
-        if self.allfiles is None:
-            self.findall()
-        match = translate_pattern(os.path.join('**', pattern))
-        found = [f for f in self.allfiles if match.match(f)]
-        self.extend(found)
-        return bool(found)
-
-    def global_exclude(self, pattern):
-        """
-        Exclude all files anywhere that match the pattern.
-        """
-        match = translate_pattern(os.path.join('**', pattern))
-        return self._remove_files(match.match)
-
-    def append(self, item) -> None:
-        if item.endswith('\r'):  # Fix older sdists built on Windows
-            item = item[:-1]
-        path = convert_path(item)
-
-        if self._safe_path(path):
-            self.files.append(path)
-
-    def extend(self, paths) -> None:
-        self.files.extend(filter(self._safe_path, paths))
-
-    def _repair(self):
-        """
-        Replace self.files with only safe paths
-
-        Because some owners of FileList manipulate the underlying
-        ``files`` attribute directly, this method must be called to
-        repair those paths.
-        """
-        self.files = list(filter(self._safe_path, self.files))
-
-    def _safe_path(self, path):
-        enc_warn = "'%s' not %s encodable -- skipping"
-
-        # To avoid accidental trans-codings errors, first to unicode
-        u_path = unicode_utils.filesys_decode(path)
-        if u_path is None:
-            log.warn("'%s' in unexpected encoding -- skipping" % path)
-            return False
-
-        # Must ensure utf-8 encodability
-        utf8_path = unicode_utils.try_encode(u_path, "utf-8")
-        if utf8_path is None:
-            log.warn(enc_warn, path, 'utf-8')
-            return False
-
-        try:
-            # ignore egg-info paths
-            is_egg_info = ".egg-info" in u_path or b".egg-info" in utf8_path
-            if self.ignore_egg_info_dir and is_egg_info:
-                return False
-            # accept is either way checks out
-            if os.path.exists(u_path) or os.path.exists(utf8_path):
-                return True
-        # this will catch any encode errors decoding u_path
-        except UnicodeEncodeError:
-            log.warn(enc_warn, path, sys.getfilesystemencoding())
-
-
-class manifest_maker(sdist):
-    template = "MANIFEST.in"
-
-    def initialize_options(self) -> None:
-        self.use_defaults = True
-        self.prune = True
-        self.manifest_only = True
-        self.force_manifest = True
-        self.ignore_egg_info_dir = False
-
-    def finalize_options(self) -> None:
-        pass
-
-    def run(self) -> None:
-        self.filelist = FileList(ignore_egg_info_dir=self.ignore_egg_info_dir)
-        if not os.path.exists(self.manifest):
-            self.write_manifest()  # it must exist so it'll get in the list
-        self.add_defaults()
-        if os.path.exists(self.template):
-            self.read_template()
-        self.add_license_files()
-        self._add_referenced_files()
-        self.prune_file_list()
-        self.filelist.sort()
-        self.filelist.remove_duplicates()
-        self.write_manifest()
-
-    def _manifest_normalize(self, path):
-        path = unicode_utils.filesys_decode(path)
-        return path.replace(os.sep, '/')
-
-    def write_manifest(self) -> None:
-        """
-        Write the file list in 'self.filelist' to the manifest file
-        named by 'self.manifest'.
-        """
-        self.filelist._repair()
-
-        # Now _repairs should encodability, but not unicode
-        files = [self._manifest_normalize(f) for f in self.filelist.files]
-        msg = "writing manifest file '%s'" % self.manifest
-        self.execute(write_file, (self.manifest, files), msg)
-
-    def warn(self, msg) -> None:
-        if not self._should_suppress_warning(msg):
-            sdist.warn(self, msg)
-
-    @staticmethod
-    def _should_suppress_warning(msg):
-        """
-        suppress missing-file warnings from sdist
-        """
-        return re.match(r"standard file .*not found", msg)
-
-    def add_defaults(self) -> None:
-        sdist.add_defaults(self)
-        self.filelist.append(self.template)
-        self.filelist.append(self.manifest)
-        rcfiles = list(walk_revctrl())
-        if rcfiles:
-            self.filelist.extend(rcfiles)
-        elif os.path.exists(self.manifest):
-            self.read_manifest()
-
-        if os.path.exists("setup.py"):
-            # setup.py should be included by default, even if it's not
-            # the script called to create the sdist
-            self.filelist.append("setup.py")
-
-        ei_cmd = self.get_finalized_command('egg_info')
-        self.filelist.graft(ei_cmd.egg_info)
-
-    def add_license_files(self) -> None:
-        license_files = self.distribution.metadata.license_files or []
-        for lf in license_files:
-            log.info("adding license file '%s'", lf)
-        self.filelist.extend(license_files)
-
-    def _add_referenced_files(self):
-        """Add files referenced by the config (e.g. `file:` directive) to filelist"""
-        referenced = getattr(self.distribution, '_referenced_files', [])
-        # ^-- fallback if dist comes from distutils or is a custom class
-        for rf in referenced:
-            log.debug("adding file referenced by config '%s'", rf)
-        self.filelist.extend(referenced)
-
-    def _safe_data_files(self, build_py):
-        """
-        The parent class implementation of this method
-        (``sdist``) will try to include data files, which
-        might cause recursion problems when
-        ``include_package_data=True``.
-
-        Therefore, avoid triggering any attempt of
-        analyzing/building the manifest again.
-        """
-        if hasattr(build_py, 'get_data_files_without_manifest'):
-            return build_py.get_data_files_without_manifest()
-
-        SetuptoolsDeprecationWarning.emit(
-            "`build_py` command does not inherit from setuptools' `build_py`.",
-            """
-            Custom 'build_py' does not implement 'get_data_files_without_manifest'.
-            Please extend command classes from setuptools instead of distutils.
-            """,
-            see_url="https://peps.python.org/pep-0632/",
-            # due_date not defined yet, old projects might still do it?
-        )
-        return build_py.get_data_files()
-
-
-def write_file(filename, contents) -> None:
-    """Create a file with the specified name and write 'contents' (a
-    sequence of strings without line terminators) to it.
-    """
-    contents = "\n".join(contents)
-
-    # assuming the contents has been vetted for utf-8 encoding
-    contents = contents.encode("utf-8")
-
-    with open(filename, "wb") as f:  # always write POSIX-style manifest
-        f.write(contents)
-
-
-def write_pkg_info(cmd, basename, filename) -> None:
-    log.info("writing %s", filename)
-    if not cmd.dry_run:
-        metadata = cmd.distribution.metadata
-        metadata.version, oldver = cmd.egg_version, metadata.version
-        metadata.name, oldname = cmd.egg_name, metadata.name
-
-        try:
-            # write unescaped data to PKG-INFO, so older pkg_resources
-            # can still parse it
-            metadata.write_pkg_info(cmd.egg_info)
-        finally:
-            metadata.name, metadata.version = oldname, oldver
-
-        safe = getattr(cmd.distribution, 'zip_safe', None)
-
-        bdist_egg.write_safety_flag(cmd.egg_info, safe)
-
-
-def warn_depends_obsolete(cmd, basename, filename) -> None:
-    """
-    Unused: left to avoid errors when updating (from source) from <= 67.8.
-    Old installations have a .dist-info directory with the entry-point
-    ``depends.txt = setuptools.command.egg_info:warn_depends_obsolete``.
-    This may trigger errors when running the first egg_info in build_meta.
-    TODO: Remove this function in a version sufficiently > 68.
-    """
-
-
-# Export API used in entry_points
-write_requirements = _requirestxt.write_requirements
-write_setup_requirements = _requirestxt.write_setup_requirements
-
-
-def write_toplevel_names(cmd, basename, filename) -> None:
-    pkgs = dict.fromkeys([
-        k.split('.', 1)[0] for k in cmd.distribution.iter_distribution_names()
-    ])
-    cmd.write_file("top-level names", filename, '\n'.join(sorted(pkgs)) + '\n')
-
-
-def overwrite_arg(cmd, basename, filename) -> None:
-    write_arg(cmd, basename, filename, True)
-
-
-def write_arg(cmd, basename, filename, force: bool = False) -> None:
-    argname = os.path.splitext(basename)[0]
-    value = getattr(cmd.distribution, argname, None)
-    if value is not None:
-        value = '\n'.join(value) + '\n'
-    cmd.write_or_delete_file(argname, filename, value, force)
-
-
-def write_entries(cmd, basename, filename) -> None:
-    eps = _entry_points.load(cmd.distribution.entry_points)
-    defn = _entry_points.render(eps)
-    cmd.write_or_delete_file('entry points', filename, defn, True)
-
-
-def _egg_basename(egg_name, egg_version, py_version=None, platform=None):
-    """Compute filename of the output egg. Private API."""
-    name = _normalization.filename_component(egg_name)
-    version = _normalization.filename_component(egg_version)
-    egg = f"{name}-{version}-py{py_version or PY_MAJOR}"
-    if platform:
-        egg += f"-{platform}"
-    return egg
-
-
-class EggInfoDeprecationWarning(SetuptoolsDeprecationWarning):
-    """Deprecated behavior warning for EggInfo, bypassing suppression."""
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/install.py b/.venv/lib/python3.12/site-packages/setuptools/command/install.py
deleted file mode 100644
index 741b140c..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/install.py
+++ /dev/null
@@ -1,183 +0,0 @@
-from __future__ import annotations
-
-import glob
-import inspect
-import platform
-from collections.abc import Callable
-from typing import TYPE_CHECKING, Any, ClassVar, cast
-
-import setuptools
-
-from ..dist import Distribution
-from ..warnings import SetuptoolsDeprecationWarning, SetuptoolsWarning
-from .bdist_egg import bdist_egg as bdist_egg_cls
-
-import distutils.command.install as orig
-from distutils.errors import DistutilsArgError
-
-if TYPE_CHECKING:
-    # This is only used for a type-cast, don't import at runtime or it'll cause deprecation warnings
-    from .easy_install import easy_install as easy_install_cls
-else:
-    easy_install_cls = None
-
-
-def __getattr__(name: str):  # pragma: no cover
-    if name == "_install":
-        SetuptoolsDeprecationWarning.emit(
-            "`setuptools.command._install` was an internal implementation detail "
-            + "that was left in for numpy<1.9 support.",
-            due_date=(2025, 5, 2),  # Originally added on 2024-11-01
-        )
-        return orig.install
-    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
-
-
-class install(orig.install):
-    """Use easy_install to install the package, w/dependencies"""
-
-    distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
-
-    user_options = orig.install.user_options + [
-        ('old-and-unmanageable', None, "Try not to use this!"),
-        (
-            'single-version-externally-managed',
-            None,
-            "used by system package builders to create 'flat' eggs",
-        ),
-    ]
-    boolean_options = orig.install.boolean_options + [
-        'old-and-unmanageable',
-        'single-version-externally-managed',
-    ]
-    # Type the same as distutils.command.install.install.sub_commands
-    # Must keep the second tuple item potentially None due to invariance
-    new_commands: ClassVar[list[tuple[str, Callable[[Any], bool] | None]]] = [
-        ('install_egg_info', lambda self: True),
-        ('install_scripts', lambda self: True),
-    ]
-    _nc = dict(new_commands)
-
-    def initialize_options(self):
-        SetuptoolsDeprecationWarning.emit(
-            "setup.py install is deprecated.",
-            """
-            Please avoid running ``setup.py`` directly.
-            Instead, use pypa/build, pypa/installer or other
-            standards-based tools.
-            """,
-            see_url="https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html",
-            # TODO: Document how to bootstrap setuptools without install
-            #       (e.g. by unziping the wheel file)
-            #       and then add a due_date to this warning.
-        )
-
-        super().initialize_options()
-        self.old_and_unmanageable = None
-        self.single_version_externally_managed = None
-
-    def finalize_options(self) -> None:
-        super().finalize_options()
-        if self.root:
-            self.single_version_externally_managed = True
-        elif self.single_version_externally_managed:
-            if not self.root and not self.record:
-                raise DistutilsArgError(
-                    "You must specify --record or --root when building system packages"
-                )
-
-    def handle_extra_path(self):
-        if self.root or self.single_version_externally_managed:
-            # explicit backward-compatibility mode, allow extra_path to work
-            return orig.install.handle_extra_path(self)
-
-        # Ignore extra_path when installing an egg (or being run by another
-        # command without --root or --single-version-externally-managed
-        self.path_file = None
-        self.extra_dirs = ''
-        return None
-
-    def run(self):
-        # Explicit request for old-style install?  Just do it
-        if self.old_and_unmanageable or self.single_version_externally_managed:
-            return super().run()
-
-        if not self._called_from_setup(inspect.currentframe()):
-            # Run in backward-compatibility mode to support bdist_* commands.
-            super().run()
-        else:
-            self.do_egg_install()
-
-        return None
-
-    @staticmethod
-    def _called_from_setup(run_frame):
-        """
-        Attempt to detect whether run() was called from setup() or by another
-        command.  If called by setup(), the parent caller will be the
-        'run_command' method in 'distutils.dist', and *its* caller will be
-        the 'run_commands' method.  If called any other way, the
-        immediate caller *might* be 'run_command', but it won't have been
-        called by 'run_commands'. Return True in that case or if a call stack
-        is unavailable. Return False otherwise.
-        """
-        if run_frame is None:
-            msg = "Call stack not available. bdist_* commands may fail."
-            SetuptoolsWarning.emit(msg)
-            if platform.python_implementation() == 'IronPython':
-                msg = "For best results, pass -X:Frames to enable call stack."
-                SetuptoolsWarning.emit(msg)
-            return True
-
-        frames = inspect.getouterframes(run_frame)
-        for frame in frames[2:4]:
-            (caller,) = frame[:1]
-            info = inspect.getframeinfo(caller)
-            caller_module = caller.f_globals.get('__name__', '')
-
-            if caller_module == "setuptools.dist" and info.function == "run_command":
-                # Starting from v61.0.0 setuptools overwrites dist.run_command
-                continue
-
-            return caller_module == 'distutils.dist' and info.function == 'run_commands'
-
-        return False
-
-    def do_egg_install(self) -> None:
-        easy_install = self.distribution.get_command_class('easy_install')
-
-        cmd = cast(
-            # We'd want to cast easy_install as type[easy_install_cls] but a bug in
-            # mypy makes it think easy_install() returns a Command on Python 3.12+
-            # https://github.com/python/mypy/issues/18088
-            easy_install_cls,
-            easy_install(  # type: ignore[call-arg]
-                self.distribution,
-                args="x",
-                root=self.root,
-                record=self.record,
-            ),
-        )
-        cmd.ensure_finalized()  # finalize before bdist_egg munges install cmd
-        cmd.always_copy_from = '.'  # make sure local-dir eggs get installed
-
-        # pick up setup-dir .egg files only: no .egg-info
-        cmd.package_index.scan(glob.glob('*.egg'))
-
-        self.run_command('bdist_egg')
-        bdist_egg = cast(bdist_egg_cls, self.distribution.get_command_obj('bdist_egg'))
-        args = [bdist_egg.egg_output]
-
-        if setuptools.bootstrap_install_from:
-            # Bootstrap self-installation of setuptools
-            args.insert(0, setuptools.bootstrap_install_from)
-
-        cmd.args = args
-        cmd.run(show_deprecation=False)
-        setuptools.bootstrap_install_from = None
-
-
-# XXX Python 3.1 doesn't see _nc if this is inside the class
-install.sub_commands = [
-    cmd for cmd in orig.install.sub_commands if cmd[0] not in install._nc
-] + install.new_commands
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/install_egg_info.py b/.venv/lib/python3.12/site-packages/setuptools/command/install_egg_info.py
deleted file mode 100644
index a6e6ec64..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/install_egg_info.py
+++ /dev/null
@@ -1,58 +0,0 @@
-import os
-
-from setuptools import Command, namespaces
-from setuptools.archive_util import unpack_archive
-
-from .._path import ensure_directory
-
-from distutils import dir_util, log
-
-
-class install_egg_info(namespaces.Installer, Command):
-    """Install an .egg-info directory for the package"""
-
-    description = "Install an .egg-info directory for the package"
-
-    user_options = [
-        ('install-dir=', 'd', "directory to install to"),
-    ]
-
-    def initialize_options(self):
-        self.install_dir = None
-
-    def finalize_options(self) -> None:
-        self.set_undefined_options('install_lib', ('install_dir', 'install_dir'))
-        ei_cmd = self.get_finalized_command("egg_info")
-        basename = f"{ei_cmd._get_egg_basename()}.egg-info"
-        self.source = ei_cmd.egg_info
-        self.target = os.path.join(self.install_dir, basename)
-        self.outputs: list[str] = []
-
-    def run(self) -> None:
-        self.run_command('egg_info')
-        if os.path.isdir(self.target) and not os.path.islink(self.target):
-            dir_util.remove_tree(self.target, dry_run=self.dry_run)
-        elif os.path.exists(self.target):
-            self.execute(os.unlink, (self.target,), "Removing " + self.target)
-        if not self.dry_run:
-            ensure_directory(self.target)
-        self.execute(self.copytree, (), "Copying %s to %s" % (self.source, self.target))
-        self.install_namespaces()
-
-    def get_outputs(self):
-        return self.outputs
-
-    def copytree(self) -> None:
-        # Copy the .egg-info tree to site-packages
-        def skimmer(src, dst):
-            # filter out source-control directories; note that 'src' is always
-            # a '/'-separated path, regardless of platform.  'dst' is a
-            # platform-specific path.
-            for skip in '.svn/', 'CVS/':
-                if src.startswith(skip) or '/' + skip in src:
-                    return None
-            self.outputs.append(dst)
-            log.debug("Copying %s to %s", src, dst)
-            return dst
-
-        unpack_archive(self.source, self.target, skimmer)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/install_lib.py b/.venv/lib/python3.12/site-packages/setuptools/command/install_lib.py
deleted file mode 100644
index 8e1e0727..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/install_lib.py
+++ /dev/null
@@ -1,137 +0,0 @@
-from __future__ import annotations
-
-import os
-import sys
-from itertools import product, starmap
-
-from .._path import StrPath
-from ..dist import Distribution
-
-import distutils.command.install_lib as orig
-
-
-class install_lib(orig.install_lib):
-    """Don't add compiled flags to filenames of non-Python files"""
-
-    distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
-
-    def run(self) -> None:
-        self.build()
-        outfiles = self.install()
-        if outfiles is not None:
-            # always compile, in case we have any extension stubs to deal with
-            self.byte_compile(outfiles)
-
-    def get_exclusions(self):
-        """
-        Return a collections.Sized collections.Container of paths to be
-        excluded for single_version_externally_managed installations.
-        """
-        all_packages = (
-            pkg
-            for ns_pkg in self._get_SVEM_NSPs()
-            for pkg in self._all_packages(ns_pkg)
-        )
-
-        excl_specs = product(all_packages, self._gen_exclusion_paths())
-        return set(starmap(self._exclude_pkg_path, excl_specs))
-
-    def _exclude_pkg_path(self, pkg, exclusion_path):
-        """
-        Given a package name and exclusion path within that package,
-        compute the full exclusion path.
-        """
-        parts = pkg.split('.') + [exclusion_path]
-        return os.path.join(self.install_dir, *parts)
-
-    @staticmethod
-    def _all_packages(pkg_name):
-        """
-        >>> list(install_lib._all_packages('foo.bar.baz'))
-        ['foo.bar.baz', 'foo.bar', 'foo']
-        """
-        while pkg_name:
-            yield pkg_name
-            pkg_name, _sep, _child = pkg_name.rpartition('.')
-
-    def _get_SVEM_NSPs(self):
-        """
-        Get namespace packages (list) but only for
-        single_version_externally_managed installations and empty otherwise.
-        """
-        # TODO: is it necessary to short-circuit here? i.e. what's the cost
-        # if get_finalized_command is called even when namespace_packages is
-        # False?
-        if not self.distribution.namespace_packages:
-            return []
-
-        install_cmd = self.get_finalized_command('install')
-        svem = install_cmd.single_version_externally_managed
-
-        return self.distribution.namespace_packages if svem else []
-
-    @staticmethod
-    def _gen_exclusion_paths():
-        """
-        Generate file paths to be excluded for namespace packages (bytecode
-        cache files).
-        """
-        # always exclude the package module itself
-        yield '__init__.py'
-
-        yield '__init__.pyc'
-        yield '__init__.pyo'
-
-        if not hasattr(sys, 'implementation'):
-            return
-
-        base = os.path.join('__pycache__', '__init__.' + sys.implementation.cache_tag)
-        yield base + '.pyc'
-        yield base + '.pyo'
-        yield base + '.opt-1.pyc'
-        yield base + '.opt-2.pyc'
-
-    def copy_tree(
-        self,
-        infile: StrPath,
-        outfile: str,
-        # override: Using actual booleans
-        preserve_mode: bool = True,  # type: ignore[override]
-        preserve_times: bool = True,  # type: ignore[override]
-        preserve_symlinks: bool = False,  # type: ignore[override]
-        level: object = 1,
-    ) -> list[str]:
-        assert preserve_mode
-        assert preserve_times
-        assert not preserve_symlinks
-        exclude = self.get_exclusions()
-
-        if not exclude:
-            return orig.install_lib.copy_tree(self, infile, outfile)
-
-        # Exclude namespace package __init__.py* files from the output
-
-        from setuptools.archive_util import unpack_directory
-
-        from distutils import log
-
-        outfiles: list[str] = []
-
-        def pf(src: str, dst: str):
-            if dst in exclude:
-                log.warn("Skipping installation of %s (namespace package)", dst)
-                return False
-
-            log.info("copying %s -> %s", src, os.path.dirname(dst))
-            outfiles.append(dst)
-            return dst
-
-        unpack_directory(infile, outfile, pf)
-        return outfiles
-
-    def get_outputs(self):
-        outputs = orig.install_lib.get_outputs(self)
-        exclude = self.get_exclusions()
-        if exclude:
-            return [f for f in outputs if f not in exclude]
-        return outputs
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/install_scripts.py b/.venv/lib/python3.12/site-packages/setuptools/command/install_scripts.py
deleted file mode 100644
index 4401cf69..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/install_scripts.py
+++ /dev/null
@@ -1,73 +0,0 @@
-from __future__ import annotations
-
-import os
-import sys
-
-from .._path import ensure_directory
-from ..dist import Distribution
-
-import distutils.command.install_scripts as orig
-from distutils import log
-
-
-class install_scripts(orig.install_scripts):
-    """Do normal script install, plus any egg_info wrapper scripts"""
-
-    distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
-
-    def initialize_options(self) -> None:
-        orig.install_scripts.initialize_options(self)
-        self.no_ep = False
-
-    def run(self) -> None:
-        self.run_command("egg_info")
-        if self.distribution.scripts:
-            orig.install_scripts.run(self)  # run first to set up self.outfiles
-        else:
-            self.outfiles: list[str] = []
-        if self.no_ep:
-            # don't install entry point scripts into .egg file!
-            return
-        self._install_ep_scripts()
-
-    def _install_ep_scripts(self):
-        # Delay import side-effects
-        from pkg_resources import Distribution, PathMetadata
-
-        from . import easy_install as ei
-
-        ei_cmd = self.get_finalized_command("egg_info")
-        dist = Distribution(
-            ei_cmd.egg_base,
-            PathMetadata(ei_cmd.egg_base, ei_cmd.egg_info),
-            ei_cmd.egg_name,
-            ei_cmd.egg_version,
-        )
-        bs_cmd = self.get_finalized_command('build_scripts')
-        exec_param = getattr(bs_cmd, 'executable', None)
-        writer = ei.ScriptWriter
-        if exec_param == sys.executable:
-            # In case the path to the Python executable contains a space, wrap
-            # it so it's not split up.
-            exec_param = [exec_param]
-        # resolve the writer to the environment
-        writer = writer.best()
-        cmd = writer.command_spec_class.best().from_param(exec_param)
-        for args in writer.get_args(dist, cmd.as_header()):
-            self.write_script(*args)
-
-    def write_script(self, script_name, contents, mode: str = "t", *ignored) -> None:
-        """Write an executable file to the scripts directory"""
-        from setuptools.command.easy_install import chmod, current_umask
-
-        log.info("Installing %s script to %s", script_name, self.install_dir)
-        target = os.path.join(self.install_dir, script_name)
-        self.outfiles.append(target)
-
-        encoding = None if "b" in mode else "utf-8"
-        mask = current_umask()
-        if not self.dry_run:
-            ensure_directory(target)
-            with open(target, "w" + mode, encoding=encoding) as f:
-                f.write(contents)
-            chmod(target, 0o777 - mask)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/launcher manifest.xml b/.venv/lib/python3.12/site-packages/setuptools/command/launcher manifest.xml
deleted file mode 100644
index 5972a96d..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/launcher manifest.xml	
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
-    
-    
-    
-        
-            
-                
-            
-        
-    
-
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/rotate.py b/.venv/lib/python3.12/site-packages/setuptools/command/rotate.py
deleted file mode 100644
index acdce07b..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/rotate.py
+++ /dev/null
@@ -1,65 +0,0 @@
-from __future__ import annotations
-
-import os
-from typing import ClassVar
-
-from .. import Command, _shutil
-
-from distutils import log
-from distutils.errors import DistutilsOptionError
-from distutils.util import convert_path
-
-
-class rotate(Command):
-    """Delete older distributions"""
-
-    description = "delete older distributions, keeping N newest files"
-    user_options = [
-        ('match=', 'm', "patterns to match (required)"),
-        ('dist-dir=', 'd', "directory where the distributions are"),
-        ('keep=', 'k', "number of matching distributions to keep"),
-    ]
-
-    boolean_options: ClassVar[list[str]] = []
-
-    def initialize_options(self):
-        self.match = None
-        self.dist_dir = None
-        self.keep = None
-
-    def finalize_options(self) -> None:
-        if self.match is None:
-            raise DistutilsOptionError(
-                "Must specify one or more (comma-separated) match patterns "
-                "(e.g. '.zip' or '.egg')"
-            )
-        if self.keep is None:
-            raise DistutilsOptionError("Must specify number of files to keep")
-        try:
-            self.keep = int(self.keep)
-        except ValueError as e:
-            raise DistutilsOptionError("--keep must be an integer") from e
-        if isinstance(self.match, str):
-            self.match = [convert_path(p.strip()) for p in self.match.split(',')]
-        self.set_undefined_options('bdist', ('dist_dir', 'dist_dir'))
-
-    def run(self) -> None:
-        self.run_command("egg_info")
-        from glob import glob
-
-        for pattern in self.match:
-            pattern = self.distribution.get_name() + '*' + pattern
-            files = glob(os.path.join(self.dist_dir, pattern))
-            files = [(os.path.getmtime(f), f) for f in files]
-            files.sort()
-            files.reverse()
-
-            log.info("%d file(s) matching %s", len(files), pattern)
-            files = files[self.keep :]
-            for t, f in files:
-                log.info("Deleting %s", f)
-                if not self.dry_run:
-                    if os.path.isdir(f):
-                        _shutil.rmtree(f)
-                    else:
-                        os.unlink(f)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/saveopts.py b/.venv/lib/python3.12/site-packages/setuptools/command/saveopts.py
deleted file mode 100644
index 2a2cbce6..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/saveopts.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from setuptools.command.setopt import edit_config, option_base
-
-
-class saveopts(option_base):
-    """Save command-line options to a file"""
-
-    description = "save supplied options to setup.cfg or other config file"
-
-    def run(self) -> None:
-        dist = self.distribution
-        settings: dict[str, dict[str, str]] = {}
-
-        for cmd in dist.command_options:
-            if cmd == 'saveopts':
-                continue  # don't save our own options!
-
-            for opt, (src, val) in dist.get_option_dict(cmd).items():
-                if src == "command line":
-                    settings.setdefault(cmd, {})[opt] = val
-
-        edit_config(self.filename, settings, self.dry_run)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/sdist.py b/.venv/lib/python3.12/site-packages/setuptools/command/sdist.py
deleted file mode 100644
index 64e866c9..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/sdist.py
+++ /dev/null
@@ -1,217 +0,0 @@
-from __future__ import annotations
-
-import contextlib
-import os
-import re
-from itertools import chain
-from typing import ClassVar
-
-from .._importlib import metadata
-from ..dist import Distribution
-from .build import _ORIGINAL_SUBCOMMANDS
-
-import distutils.command.sdist as orig
-from distutils import log
-
-_default_revctrl = list
-
-
-def walk_revctrl(dirname=''):
-    """Find all files under revision control"""
-    for ep in metadata.entry_points(group='setuptools.file_finders'):
-        yield from ep.load()(dirname)
-
-
-class sdist(orig.sdist):
-    """Smart sdist that finds anything supported by revision control"""
-
-    user_options = [
-        ('formats=', None, "formats for source distribution (comma-separated list)"),
-        (
-            'keep-temp',
-            'k',
-            "keep the distribution tree around after creating " + "archive file(s)",
-        ),
-        (
-            'dist-dir=',
-            'd',
-            "directory to put the source distribution archive(s) in [default: dist]",
-        ),
-        (
-            'owner=',
-            'u',
-            "Owner name used when creating a tar file [default: current user]",
-        ),
-        (
-            'group=',
-            'g',
-            "Group name used when creating a tar file [default: current group]",
-        ),
-    ]
-
-    distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
-    negative_opt: ClassVar[dict[str, str]] = {}
-
-    README_EXTENSIONS = ['', '.rst', '.txt', '.md']
-    READMES = tuple('README{0}'.format(ext) for ext in README_EXTENSIONS)
-
-    def run(self) -> None:
-        self.run_command('egg_info')
-        ei_cmd = self.get_finalized_command('egg_info')
-        self.filelist = ei_cmd.filelist
-        self.filelist.append(os.path.join(ei_cmd.egg_info, 'SOURCES.txt'))
-        self.check_readme()
-
-        # Run sub commands
-        for cmd_name in self.get_sub_commands():
-            self.run_command(cmd_name)
-
-        self.make_distribution()
-
-        dist_files = getattr(self.distribution, 'dist_files', [])
-        for file in self.archive_files:
-            data = ('sdist', '', file)
-            if data not in dist_files:
-                dist_files.append(data)
-
-    def initialize_options(self) -> None:
-        orig.sdist.initialize_options(self)
-
-    def make_distribution(self) -> None:
-        """
-        Workaround for #516
-        """
-        with self._remove_os_link():
-            orig.sdist.make_distribution(self)
-
-    @staticmethod
-    @contextlib.contextmanager
-    def _remove_os_link():
-        """
-        In a context, remove and restore os.link if it exists
-        """
-
-        class NoValue:
-            pass
-
-        orig_val = getattr(os, 'link', NoValue)
-        try:
-            del os.link
-        except Exception:
-            pass
-        try:
-            yield
-        finally:
-            if orig_val is not NoValue:
-                os.link = orig_val
-
-    def add_defaults(self) -> None:
-        super().add_defaults()
-        self._add_defaults_build_sub_commands()
-
-    def _add_defaults_optional(self):
-        super()._add_defaults_optional()
-        if os.path.isfile('pyproject.toml'):
-            self.filelist.append('pyproject.toml')
-
-    def _add_defaults_python(self):
-        """getting python files"""
-        if self.distribution.has_pure_modules():
-            build_py = self.get_finalized_command('build_py')
-            self.filelist.extend(build_py.get_source_files())
-            self._add_data_files(self._safe_data_files(build_py))
-
-    def _add_defaults_build_sub_commands(self):
-        build = self.get_finalized_command("build")
-        missing_cmds = set(build.get_sub_commands()) - _ORIGINAL_SUBCOMMANDS
-        # ^-- the original built-in sub-commands are already handled by default.
-        cmds = (self.get_finalized_command(c) for c in missing_cmds)
-        files = (c.get_source_files() for c in cmds if hasattr(c, "get_source_files"))
-        self.filelist.extend(chain.from_iterable(files))
-
-    def _safe_data_files(self, build_py):
-        """
-        Since the ``sdist`` class is also used to compute the MANIFEST
-        (via :obj:`setuptools.command.egg_info.manifest_maker`),
-        there might be recursion problems when trying to obtain the list of
-        data_files and ``include_package_data=True`` (which in turn depends on
-        the files included in the MANIFEST).
-
-        To avoid that, ``manifest_maker`` should be able to overwrite this
-        method and avoid recursive attempts to build/analyze the MANIFEST.
-        """
-        return build_py.data_files
-
-    def _add_data_files(self, data_files):
-        """
-        Add data files as found in build_py.data_files.
-        """
-        self.filelist.extend(
-            os.path.join(src_dir, name)
-            for _, src_dir, _, filenames in data_files
-            for name in filenames
-        )
-
-    def _add_defaults_data_files(self):
-        try:
-            super()._add_defaults_data_files()
-        except TypeError:
-            log.warn("data_files contains unexpected objects")
-
-    def prune_file_list(self) -> None:
-        super().prune_file_list()
-        # Prevent accidental inclusion of test-related cache dirs at the project root
-        sep = re.escape(os.sep)
-        self.filelist.exclude_pattern(r"^(\.tox|\.nox|\.venv)" + sep, is_regex=True)
-
-    def check_readme(self) -> None:
-        for f in self.READMES:
-            if os.path.exists(f):
-                return
-        else:
-            self.warn(
-                "standard file not found: should have one of " + ', '.join(self.READMES)
-            )
-
-    def make_release_tree(self, base_dir, files) -> None:
-        orig.sdist.make_release_tree(self, base_dir, files)
-
-        # Save any egg_info command line options used to create this sdist
-        dest = os.path.join(base_dir, 'setup.cfg')
-        if hasattr(os, 'link') and os.path.exists(dest):
-            # unlink and re-copy, since it might be hard-linked, and
-            # we don't want to change the source version
-            os.unlink(dest)
-            self.copy_file('setup.cfg', dest)
-
-        self.get_finalized_command('egg_info').save_version_info(dest)
-
-    def _manifest_is_not_generated(self):
-        # check for special comment used in 2.7.1 and higher
-        if not os.path.isfile(self.manifest):
-            return False
-
-        with open(self.manifest, 'rb') as fp:
-            first_line = fp.readline()
-        return first_line != b'# file GENERATED by distutils, do NOT edit\n'
-
-    def read_manifest(self):
-        """Read the manifest file (named by 'self.manifest') and use it to
-        fill in 'self.filelist', the list of files to include in the source
-        distribution.
-        """
-        log.info("reading manifest file '%s'", self.manifest)
-        manifest = open(self.manifest, 'rb')
-        for bytes_line in manifest:
-            # The manifest must contain UTF-8. See #303.
-            try:
-                line = bytes_line.decode('UTF-8')
-            except UnicodeDecodeError:
-                log.warn("%r not UTF-8 decodable -- skipping" % line)
-                continue
-            # ignore comments and blank lines
-            line = line.strip()
-            if line.startswith('#') or not line:
-                continue
-            self.filelist.append(line)
-        manifest.close()
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/setopt.py b/.venv/lib/python3.12/site-packages/setuptools/command/setopt.py
deleted file mode 100644
index 200cdff0..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/setopt.py
+++ /dev/null
@@ -1,141 +0,0 @@
-import configparser
-import os
-
-from .. import Command
-from ..unicode_utils import _cfg_read_utf8_with_fallback
-
-import distutils
-from distutils import log
-from distutils.errors import DistutilsOptionError
-from distutils.util import convert_path
-
-__all__ = ['config_file', 'edit_config', 'option_base', 'setopt']
-
-
-def config_file(kind="local"):
-    """Get the filename of the distutils, local, global, or per-user config
-
-    `kind` must be one of "local", "global", or "user"
-    """
-    if kind == 'local':
-        return 'setup.cfg'
-    if kind == 'global':
-        return os.path.join(os.path.dirname(distutils.__file__), 'distutils.cfg')
-    if kind == 'user':
-        dot = os.name == 'posix' and '.' or ''
-        return os.path.expanduser(convert_path("~/%spydistutils.cfg" % dot))
-    raise ValueError("config_file() type must be 'local', 'global', or 'user'", kind)
-
-
-def edit_config(filename, settings, dry_run=False):
-    """Edit a configuration file to include `settings`
-
-    `settings` is a dictionary of dictionaries or ``None`` values, keyed by
-    command/section name.  A ``None`` value means to delete the entire section,
-    while a dictionary lists settings to be changed or deleted in that section.
-    A setting of ``None`` means to delete that setting.
-    """
-    log.debug("Reading configuration from %s", filename)
-    opts = configparser.RawConfigParser()
-    opts.optionxform = lambda optionstr: optionstr  # type: ignore[method-assign] # overriding method
-    _cfg_read_utf8_with_fallback(opts, filename)
-
-    for section, options in settings.items():
-        if options is None:
-            log.info("Deleting section [%s] from %s", section, filename)
-            opts.remove_section(section)
-        else:
-            if not opts.has_section(section):
-                log.debug("Adding new section [%s] to %s", section, filename)
-                opts.add_section(section)
-            for option, value in options.items():
-                if value is None:
-                    log.debug("Deleting %s.%s from %s", section, option, filename)
-                    opts.remove_option(section, option)
-                    if not opts.options(section):
-                        log.info(
-                            "Deleting empty [%s] section from %s", section, filename
-                        )
-                        opts.remove_section(section)
-                else:
-                    log.debug(
-                        "Setting %s.%s to %r in %s", section, option, value, filename
-                    )
-                    opts.set(section, option, value)
-
-    log.info("Writing %s", filename)
-    if not dry_run:
-        with open(filename, 'w', encoding="utf-8") as f:
-            opts.write(f)
-
-
-class option_base(Command):
-    """Abstract base class for commands that mess with config files"""
-
-    user_options = [
-        ('global-config', 'g', "save options to the site-wide distutils.cfg file"),
-        ('user-config', 'u', "save options to the current user's pydistutils.cfg file"),
-        ('filename=', 'f', "configuration file to use (default=setup.cfg)"),
-    ]
-
-    boolean_options = [
-        'global-config',
-        'user-config',
-    ]
-
-    def initialize_options(self):
-        self.global_config = None
-        self.user_config = None
-        self.filename = None
-
-    def finalize_options(self):
-        filenames = []
-        if self.global_config:
-            filenames.append(config_file('global'))
-        if self.user_config:
-            filenames.append(config_file('user'))
-        if self.filename is not None:
-            filenames.append(self.filename)
-        if not filenames:
-            filenames.append(config_file('local'))
-        if len(filenames) > 1:
-            raise DistutilsOptionError(
-                "Must specify only one configuration file option", filenames
-            )
-        (self.filename,) = filenames
-
-
-class setopt(option_base):
-    """Save command-line options to a file"""
-
-    description = "set an option in setup.cfg or another config file"
-
-    user_options = [
-        ('command=', 'c', 'command to set an option for'),
-        ('option=', 'o', 'option to set'),
-        ('set-value=', 's', 'value of the option'),
-        ('remove', 'r', 'remove (unset) the value'),
-    ] + option_base.user_options
-
-    boolean_options = option_base.boolean_options + ['remove']
-
-    def initialize_options(self):
-        option_base.initialize_options(self)
-        self.command = None
-        self.option = None
-        self.set_value = None
-        self.remove = None
-
-    def finalize_options(self) -> None:
-        option_base.finalize_options(self)
-        if self.command is None or self.option is None:
-            raise DistutilsOptionError("Must specify --command *and* --option")
-        if self.set_value is None and not self.remove:
-            raise DistutilsOptionError("Must specify --set-value or --remove")
-
-    def run(self) -> None:
-        edit_config(
-            self.filename,
-            {self.command: {self.option.replace('-', '_'): self.set_value}},
-            self.dry_run,
-        )
diff --git a/.venv/lib/python3.12/site-packages/setuptools/command/test.py b/.venv/lib/python3.12/site-packages/setuptools/command/test.py
deleted file mode 100644
index 341b11a2..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/command/test.py
+++ /dev/null
@@ -1,45 +0,0 @@
-from __future__ import annotations
-
-from setuptools import Command
-from setuptools.warnings import SetuptoolsDeprecationWarning
-
-
-# Would restrict to Literal["test"], but mypy doesn't support it: https://github.com/python/mypy/issues/8203
-def __getattr__(name: str) -> type[_test]:
-    if name == 'test':
-        SetuptoolsDeprecationWarning.emit(
-            "The test command is disabled and references to it are deprecated.",
-            "Please remove any references to `setuptools.command.test` in all "
-            "supported versions of the affected package.",
-            due_date=(2024, 11, 15),
-            stacklevel=2,
-        )
-        return _test
-    raise AttributeError(name)
-
-
-class _test(Command):
-    """
-    Stub to warn when test command is referenced or used.
-    """
-
-    description = "stub for old test command (do not use)"
-
-    user_options = [
-        ('test-module=', 'm', "Run 'test_suite' in specified module"),
-        (
-            'test-suite=',
-            's',
-            "Run single test, case or suite (e.g. 'module.test_suite')",
-        ),
-        ('test-runner=', 'r', "Test runner to use"),
-    ]
-
-    def initialize_options(self):
-        pass
-
-    def finalize_options(self):
-        pass
-
-    def run(self):
-        raise RuntimeError("Support for the test command was removed in Setuptools 72")
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/compat/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index e2f95a69..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py310.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py310.cpython-312.pyc
deleted file mode 100644
index a13b6a49..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py310.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py311.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py311.cpython-312.pyc
deleted file mode 100644
index 8be62a79..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py311.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py312.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py312.cpython-312.pyc
deleted file mode 100644
index ef867e38..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py312.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py39.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py39.cpython-312.pyc
deleted file mode 100644
index f46508ea..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/compat/__pycache__/py39.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/py310.py b/.venv/lib/python3.12/site-packages/setuptools/compat/py310.py
deleted file mode 100644
index b3912f8e..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/compat/py310.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import sys
-
-__all__ = ['tomllib']
-
-
-if sys.version_info >= (3, 11):
-    import tomllib
-else:  # pragma: no cover
-    import tomli as tomllib
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/py311.py b/.venv/lib/python3.12/site-packages/setuptools/compat/py311.py
deleted file mode 100644
index 52b58af3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/compat/py311.py
+++ /dev/null
@@ -1,27 +0,0 @@
-from __future__ import annotations
-
-import shutil
-import sys
-from typing import TYPE_CHECKING, Any, Callable
-
-if TYPE_CHECKING:
-    from _typeshed import ExcInfo, StrOrBytesPath
-    from typing_extensions import TypeAlias
-
-# Same as shutil._OnExcCallback from typeshed
-_OnExcCallback: TypeAlias = Callable[[Callable[..., Any], str, BaseException], object]
-
-
-def shutil_rmtree(
-    path: StrOrBytesPath,
-    ignore_errors: bool = False,
-    onexc: _OnExcCallback | None = None,
-) -> None:
-    if sys.version_info >= (3, 12):
-        return shutil.rmtree(path, ignore_errors, onexc=onexc)
-
-    def _handler(fn: Callable[..., Any], path: str, excinfo: ExcInfo) -> None:
-        if onexc:
-            onexc(fn, path, excinfo[1])
-
-    return shutil.rmtree(path, ignore_errors, onerror=_handler)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/py312.py b/.venv/lib/python3.12/site-packages/setuptools/compat/py312.py
deleted file mode 100644
index b20c5f69..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/compat/py312.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from __future__ import annotations
-
-import sys
-
-if sys.version_info >= (3, 12, 4):
-    # Python 3.13 should support `.pth` files encoded in UTF-8
-    # See discussion in https://github.com/python/cpython/issues/77102
-    PTH_ENCODING: str | None = "utf-8"
-else:
-    from .py39 import LOCALE_ENCODING
-
-    # PTH_ENCODING = "locale"
-    PTH_ENCODING = LOCALE_ENCODING
diff --git a/.venv/lib/python3.12/site-packages/setuptools/compat/py39.py b/.venv/lib/python3.12/site-packages/setuptools/compat/py39.py
deleted file mode 100644
index 04a4abe5..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/compat/py39.py
+++ /dev/null
@@ -1,9 +0,0 @@
-import sys
-
-# Explicitly use the ``"locale"`` encoding in versions that support it,
-# otherwise just rely on the implicit handling of ``encoding=None``.
-# Since all platforms that support ``EncodingWarning`` also support
-# ``encoding="locale"``, this can be used to suppress the warning.
-# However, please try to use UTF-8 when possible
-# (.pth files are the notorious exception: python/cpython#77102, pypa/setuptools#3937).
-LOCALE_ENCODING = "locale" if sys.version_info >= (3, 10) else None
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/NOTICE b/.venv/lib/python3.12/site-packages/setuptools/config/NOTICE
deleted file mode 100644
index 01864511..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/NOTICE
+++ /dev/null
@@ -1,10 +0,0 @@
-The following files include code from opensource projects
-(either as direct copies or modified versions):
-
-- `setuptools.schema.json`, `distutils.schema.json`:
-    - project: `validate-pyproject` - licensed under MPL-2.0
-      (https://github.com/abravalheri/validate-pyproject):
-
-      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 https://mozilla.org/MPL/2.0/.
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/config/__init__.py
deleted file mode 100644
index fcc7d008..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/__init__.py
+++ /dev/null
@@ -1,43 +0,0 @@
-"""For backward compatibility, expose main functions from
-``setuptools.config.setupcfg``
-"""
-
-from functools import wraps
-from typing import Callable, TypeVar, cast
-
-from ..warnings import SetuptoolsDeprecationWarning
-from . import setupcfg
-
-Fn = TypeVar("Fn", bound=Callable)
-
-__all__ = ('parse_configuration', 'read_configuration')
-
-
-def _deprecation_notice(fn: Fn) -> Fn:
-    @wraps(fn)
-    def _wrapper(*args, **kwargs):
-        SetuptoolsDeprecationWarning.emit(
-            "Deprecated API usage.",
-            f"""
-            As setuptools moves its configuration towards `pyproject.toml`,
-            `{__name__}.{fn.__name__}` became deprecated.
-
-            For the time being, you can use the `{setupcfg.__name__}` module
-            to access a backward compatible API, but this module is provisional
-            and might be removed in the future.
-
-            To read project metadata, consider using
-            ``build.util.project_wheel_metadata`` (https://pypi.org/project/build/).
-            For simple scenarios, you can also try parsing the file directly
-            with the help of ``configparser``.
-            """,
-            # due_date not defined yet, because the community still heavily relies on it
-            # Warning introduced in 24 Mar 2022
-        )
-        return fn(*args, **kwargs)
-
-    return cast(Fn, _wrapper)
-
-
-read_configuration = _deprecation_notice(setupcfg.read_configuration)
-parse_configuration = _deprecation_notice(setupcfg.parse_configuration)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index a736d7f2..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/_apply_pyprojecttoml.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/_apply_pyprojecttoml.cpython-312.pyc
deleted file mode 100644
index 2147ce9b..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/_apply_pyprojecttoml.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/expand.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/expand.cpython-312.pyc
deleted file mode 100644
index d09da617..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/expand.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/pyprojecttoml.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/pyprojecttoml.cpython-312.pyc
deleted file mode 100644
index 03a097bd..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/pyprojecttoml.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/setupcfg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/setupcfg.cpython-312.pyc
deleted file mode 100644
index fe97d0dc..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/__pycache__/setupcfg.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py b/.venv/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py
deleted file mode 100644
index c4bbcff7..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py
+++ /dev/null
@@ -1,462 +0,0 @@
-"""Translation layer between pyproject config and setuptools distribution and
-metadata objects.
-
-The distribution and metadata objects are modeled after (an old version of)
-core metadata, therefore configs in the format specified for ``pyproject.toml``
-need to be processed before being applied.
-
-**PRIVATE MODULE**: API reserved for setuptools internal usage only.
-"""
-
-from __future__ import annotations
-
-import logging
-import os
-from collections.abc import Mapping
-from email.headerregistry import Address
-from functools import partial, reduce
-from inspect import cleandoc
-from itertools import chain
-from types import MappingProxyType
-from typing import TYPE_CHECKING, Any, Callable, TypeVar, Union
-
-from .._path import StrPath
-from ..errors import RemovedConfigError
-from ..extension import Extension
-from ..warnings import SetuptoolsWarning
-
-if TYPE_CHECKING:
-    from typing_extensions import TypeAlias
-
-    from setuptools._importlib import metadata
-    from setuptools.dist import Distribution
-
-    from distutils.dist import _OptionsList  # Comes from typeshed
-
-
-EMPTY: Mapping = MappingProxyType({})  # Immutable dict-like
-_ProjectReadmeValue: TypeAlias = Union[str, dict[str, str]]
-_Correspondence: TypeAlias = Callable[["Distribution", Any, Union[StrPath, None]], None]
-_T = TypeVar("_T")
-
-_logger = logging.getLogger(__name__)
-
-
-def apply(dist: Distribution, config: dict, filename: StrPath) -> Distribution:
-    """Apply configuration dict read with :func:`read_configuration`"""
-
-    if not config:
-        return dist  # short-circuit unrelated pyproject.toml file
-
-    root_dir = os.path.dirname(filename) or "."
-
-    _apply_project_table(dist, config, root_dir)
-    _apply_tool_table(dist, config, filename)
-
-    current_directory = os.getcwd()
-    os.chdir(root_dir)
-    try:
-        dist._finalize_requires()
-        dist._finalize_license_files()
-    finally:
-        os.chdir(current_directory)
-
-    return dist
-
-
-def _apply_project_table(dist: Distribution, config: dict, root_dir: StrPath):
-    project_table = config.get("project", {}).copy()
-    if not project_table:
-        return  # short-circuit
-
-    _handle_missing_dynamic(dist, project_table)
-    _unify_entry_points(project_table)
-
-    for field, value in project_table.items():
-        norm_key = json_compatible_key(field)
-        corresp = PYPROJECT_CORRESPONDENCE.get(norm_key, norm_key)
-        if callable(corresp):
-            corresp(dist, value, root_dir)
-        else:
-            _set_config(dist, corresp, value)
-
-
-def _apply_tool_table(dist: Distribution, config: dict, filename: StrPath):
-    tool_table = config.get("tool", {}).get("setuptools", {})
-    if not tool_table:
-        return  # short-circuit
-
-    for field, value in tool_table.items():
-        norm_key = json_compatible_key(field)
-
-        if norm_key in TOOL_TABLE_REMOVALS:
-            suggestion = cleandoc(TOOL_TABLE_REMOVALS[norm_key])
-            msg = f"""
-            The parameter `tool.setuptools.{field}` was long deprecated
-            and has been removed from `pyproject.toml`.
-            """
-            raise RemovedConfigError("\n".join([cleandoc(msg), suggestion]))
-
-        norm_key = TOOL_TABLE_RENAMES.get(norm_key, norm_key)
-        _set_config(dist, norm_key, value)
-
-    _copy_command_options(config, dist, filename)
-
-
-def _handle_missing_dynamic(dist: Distribution, project_table: dict):
-    """Be temporarily forgiving with ``dynamic`` fields not listed in ``dynamic``"""
-    dynamic = set(project_table.get("dynamic", []))
-    for field, getter in _PREVIOUSLY_DEFINED.items():
-        if not (field in project_table or field in dynamic):
-            value = getter(dist)
-            if value:
-                _MissingDynamic.emit(field=field, value=value)
-                project_table[field] = _RESET_PREVIOUSLY_DEFINED.get(field)
-
-
-def json_compatible_key(key: str) -> str:
-    """As defined in :pep:`566#json-compatible-metadata`"""
-    return key.lower().replace("-", "_")
-
-
-def _set_config(dist: Distribution, field: str, value: Any):
-    val = _PREPROCESS.get(field, _noop)(dist, value)
-    setter = getattr(dist.metadata, f"set_{field}", None)
-    if setter:
-        setter(val)
-    elif hasattr(dist.metadata, field) or field in SETUPTOOLS_PATCHES:
-        setattr(dist.metadata, field, val)
-    else:
-        setattr(dist, field, val)
-
-
-_CONTENT_TYPES = {
-    ".md": "text/markdown",
-    ".rst": "text/x-rst",
-    ".txt": "text/plain",
-}
-
-
-def _guess_content_type(file: str) -> str | None:
-    _, ext = os.path.splitext(file.lower())
-    if not ext:
-        return None
-
-    if ext in _CONTENT_TYPES:
-        return _CONTENT_TYPES[ext]
-
-    valid = ", ".join(f"{k} ({v})" for k, v in _CONTENT_TYPES.items())
-    msg = f"only the following file extensions are recognized: {valid}."
-    raise ValueError(f"Undefined content type for {file}, {msg}")
-
-
-def _long_description(
-    dist: Distribution, val: _ProjectReadmeValue, root_dir: StrPath | None
-):
-    from setuptools.config import expand
-
-    file: str | tuple[()]
-    if isinstance(val, str):
-        file = val
-        text = expand.read_files(file, root_dir)
-        ctype = _guess_content_type(file)
-    else:
-        file = val.get("file") or ()
-        text = val.get("text") or expand.read_files(file, root_dir)
-        ctype = val["content-type"]
-
-    _set_config(dist, "long_description", text)
-
-    if ctype:
-        _set_config(dist, "long_description_content_type", ctype)
-
-    if file:
-        dist._referenced_files.add(file)
-
-
-def _license(dist: Distribution, val: dict, root_dir: StrPath | None):
-    from setuptools.config import expand
-
-    if "file" in val:
-        _set_config(dist, "license", expand.read_files([val["file"]], root_dir))
-        dist._referenced_files.add(val["file"])
-    else:
-        _set_config(dist, "license", val["text"])
-
-
-def _people(dist: Distribution, val: list[dict], _root_dir: StrPath | None, kind: str):
-    field = []
-    email_field = []
-    for person in val:
-        if "name" not in person:
-            email_field.append(person["email"])
-        elif "email" not in person:
-            field.append(person["name"])
-        else:
-            addr = Address(display_name=person["name"], addr_spec=person["email"])
-            email_field.append(str(addr))
-
-    if field:
-        _set_config(dist, kind, ", ".join(field))
-    if email_field:
-        _set_config(dist, f"{kind}_email", ", ".join(email_field))
-
-
-def _project_urls(dist: Distribution, val: dict, _root_dir: StrPath | None):
-    _set_config(dist, "project_urls", val)
-
-
-def _python_requires(dist: Distribution, val: str, _root_dir: StrPath | None):
-    from packaging.specifiers import SpecifierSet
-
-    _set_config(dist, "python_requires", SpecifierSet(val))
-
-
-def _dependencies(dist: Distribution, val: list, _root_dir: StrPath | None):
-    if getattr(dist, "install_requires", []):
-        msg = "`install_requires` overwritten in `pyproject.toml` (dependencies)"
-        SetuptoolsWarning.emit(msg)
-    dist.install_requires = val
-
-
-def _optional_dependencies(dist: Distribution, val: dict, _root_dir: StrPath | None):
-    if getattr(dist, "extras_require", None):
-        msg = "`extras_require` overwritten in `pyproject.toml` (optional-dependencies)"
-        SetuptoolsWarning.emit(msg)
-    dist.extras_require = val
-
-
-def _ext_modules(dist: Distribution, val: list[dict]) -> list[Extension]:
-    existing = dist.ext_modules or []
-    args = ({k.replace("-", "_"): v for k, v in x.items()} for x in val)
-    new = [Extension(**kw) for kw in args]
-    return [*existing, *new]
-
-
-def _noop(_dist: Distribution, val: _T) -> _T:
-    return val
-
-
-def _unify_entry_points(project_table: dict):
-    project = project_table
-    entry_points = project.pop("entry-points", project.pop("entry_points", {}))
-    renaming = {"scripts": "console_scripts", "gui_scripts": "gui_scripts"}
-    for key, value in list(project.items()):  # eager to allow modifications
-        norm_key = json_compatible_key(key)
-        if norm_key in renaming:
-            # Don't skip even if value is empty (reason: reset missing `dynamic`)
-            entry_points[renaming[norm_key]] = project.pop(key)
-
-    if entry_points:
-        project["entry-points"] = {
-            name: [f"{k} = {v}" for k, v in group.items()]
-            for name, group in entry_points.items()
-            if group  # now we can skip empty groups
-        }
-        # Sometimes this will set `project["entry-points"] = {}`, and that is
-        # intentional (for resetting configurations that are missing `dynamic`).
-
-
-def _copy_command_options(pyproject: dict, dist: Distribution, filename: StrPath):
-    tool_table = pyproject.get("tool", {})
-    cmdclass = tool_table.get("setuptools", {}).get("cmdclass", {})
-    valid_options = _valid_command_options(cmdclass)
-
-    cmd_opts = dist.command_options
-    for cmd, config in pyproject.get("tool", {}).get("distutils", {}).items():
-        cmd = json_compatible_key(cmd)
-        valid = valid_options.get(cmd, set())
-        cmd_opts.setdefault(cmd, {})
-        for key, value in config.items():
-            key = json_compatible_key(key)
-            cmd_opts[cmd][key] = (str(filename), value)
-            if key not in valid:
-                # To avoid removing options that are specified dynamically we
-                # just log a warn...
-                _logger.warning(f"Command option {cmd}.{key} is not defined")
-
-
-def _valid_command_options(cmdclass: Mapping = EMPTY) -> dict[str, set[str]]:
-    from setuptools.dist import Distribution
-
-    from .._importlib import metadata
-
-    valid_options = {"global": _normalise_cmd_options(Distribution.global_options)}
-
-    unloaded_entry_points = metadata.entry_points(group='distutils.commands')
-    loaded_entry_points = (_load_ep(ep) for ep in unloaded_entry_points)
-    entry_points = (ep for ep in loaded_entry_points if ep)
-    for cmd, cmd_class in chain(entry_points, cmdclass.items()):
-        opts = valid_options.get(cmd, set())
-        opts = opts | _normalise_cmd_options(getattr(cmd_class, "user_options", []))
-        valid_options[cmd] = opts
-
-    return valid_options
-
-
-def _load_ep(ep: metadata.EntryPoint) -> tuple[str, type] | None:
-    if ep.value.startswith("wheel.bdist_wheel"):
-        # Ignore deprecated entrypoint from wheel and avoid warning pypa/wheel#631
-        # TODO: remove check when `bdist_wheel` has been fully removed from pypa/wheel
-        return None
-
-    # Ignore all the errors
-    try:
-        return (ep.name, ep.load())
-    except Exception as ex:
-        msg = f"{ex.__class__.__name__} while trying to load entry-point {ep.name}"
-        _logger.warning(f"{msg}: {ex}")
-        return None
-
-
-def _normalise_cmd_option_key(name: str) -> str:
-    return json_compatible_key(name).strip("_=")
-
-
-def _normalise_cmd_options(desc: _OptionsList) -> set[str]:
-    return {_normalise_cmd_option_key(fancy_option[0]) for fancy_option in desc}
-
-
-def _get_previous_entrypoints(dist: Distribution) -> dict[str, list]:
-    ignore = ("console_scripts", "gui_scripts")
-    value = getattr(dist, "entry_points", None) or {}
-    return {k: v for k, v in value.items() if k not in ignore}
-
-
-def _get_previous_scripts(dist: Distribution) -> list | None:
-    value = getattr(dist, "entry_points", None) or {}
-    return value.get("console_scripts")
-
-
-def _get_previous_gui_scripts(dist: Distribution) -> list | None:
-    value = getattr(dist, "entry_points", None) or {}
-    return value.get("gui_scripts")
-
-
-def _attrgetter(attr):
-    """
-    Similar to ``operator.attrgetter`` but returns None if ``attr`` is not found
-    >>> from types import SimpleNamespace
-    >>> obj = SimpleNamespace(a=42, b=SimpleNamespace(c=13))
-    >>> _attrgetter("a")(obj)
-    42
-    >>> _attrgetter("b.c")(obj)
-    13
-    >>> _attrgetter("d")(obj) is None
-    True
-    """
-    return partial(reduce, lambda acc, x: getattr(acc, x, None), attr.split("."))
-
-
-def _some_attrgetter(*items):
-    """
-    Return the first "truth-y" attribute or None
-    >>> from types import SimpleNamespace
-    >>> obj = SimpleNamespace(a=42, b=SimpleNamespace(c=13))
-    >>> _some_attrgetter("d", "a", "b.c")(obj)
-    42
-    >>> _some_attrgetter("d", "e", "b.c", "a")(obj)
-    13
-    >>> _some_attrgetter("d", "e", "f")(obj) is None
-    True
-    """
-
-    def _acessor(obj):
-        values = (_attrgetter(i)(obj) for i in items)
-        return next((i for i in values if i is not None), None)
-
-    return _acessor
-
-
-PYPROJECT_CORRESPONDENCE: dict[str, _Correspondence] = {
-    "readme": _long_description,
-    "license": _license,
-    "authors": partial(_people, kind="author"),
-    "maintainers": partial(_people, kind="maintainer"),
-    "urls": _project_urls,
-    "dependencies": _dependencies,
-    "optional_dependencies": _optional_dependencies,
-    "requires_python": _python_requires,
-}
-
-TOOL_TABLE_RENAMES = {"script_files": "scripts"}
-TOOL_TABLE_REMOVALS = {
-    "namespace_packages": """
-        Please migrate to implicit native namespaces instead.
-        See https://packaging.python.org/en/latest/guides/packaging-namespace-packages/.
-        """,
-}
-
-SETUPTOOLS_PATCHES = {
-    "long_description_content_type",
-    "project_urls",
-    "provides_extras",
-    "license_file",
-    "license_files",
-}
-
-_PREPROCESS = {
-    "ext_modules": _ext_modules,
-}
-
-_PREVIOUSLY_DEFINED = {
-    "name": _attrgetter("metadata.name"),
-    "version": _attrgetter("metadata.version"),
-    "description": _attrgetter("metadata.description"),
-    "readme": _attrgetter("metadata.long_description"),
-    "requires-python": _some_attrgetter("python_requires", "metadata.python_requires"),
-    "license": _attrgetter("metadata.license"),
-    "authors": _some_attrgetter("metadata.author", "metadata.author_email"),
-    "maintainers": _some_attrgetter("metadata.maintainer", "metadata.maintainer_email"),
-    "keywords": _attrgetter("metadata.keywords"),
-    "classifiers": _attrgetter("metadata.classifiers"),
-    "urls": _attrgetter("metadata.project_urls"),
-    "entry-points": _get_previous_entrypoints,
-    "scripts": _get_previous_scripts,
-    "gui-scripts": _get_previous_gui_scripts,
-    "dependencies": _attrgetter("install_requires"),
-    "optional-dependencies": _attrgetter("extras_require"),
-}
-
-
-_RESET_PREVIOUSLY_DEFINED: dict = {
-    # Fix improper setting: given in `setup.py`, but not listed in `dynamic`
-    # dict: pyproject name => value to which reset
-    "license": {},
-    "authors": [],
-    "maintainers": [],
-    "keywords": [],
-    "classifiers": [],
-    "urls": {},
-    "entry-points": {},
-    "scripts": {},
-    "gui-scripts": {},
-    "dependencies": [],
-    "optional-dependencies": {},
-}
-
-
-class _MissingDynamic(SetuptoolsWarning):
-    _SUMMARY = "`{field}` defined outside of `pyproject.toml` is ignored."
-
-    _DETAILS = """
-    The following seems to be defined outside of `pyproject.toml`:
-
-    `{field} = {value!r}`
-
-    According to the spec (see the link below), however, setuptools CANNOT
-    consider this value unless `{field}` is listed as `dynamic`.
-
-    https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table
-
-    To prevent this problem, you can list `{field}` under `dynamic` or alternatively
-    remove the `[project]` table from your file and rely entirely on other means of
-    configuration.
-    """
-    # TODO: Consider removing this check in the future?
-    #       There is a trade-off here between improving "debug-ability" and the cost
-    #       of running/testing/maintaining these unnecessary checks...
-
-    @classmethod
-    def details(cls, field: str, value: Any) -> str:
-        return cls._DETAILS.format(field=field, value=value)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/NOTICE b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/NOTICE
deleted file mode 100644
index 74e8821f..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/NOTICE
+++ /dev/null
@@ -1,438 +0,0 @@
-The code contained in this directory was automatically generated using the
-following command:
-
-    python -m validate_pyproject.pre_compile --output-dir=setuptools/config/_validate_pyproject --enable-plugins setuptools distutils --very-verbose -t distutils=setuptools/config/distutils.schema.json -t setuptools=setuptools/config/setuptools.schema.json
-
-Please avoid changing it manually.
-
-
-You can report issues or suggest changes directly to `validate-pyproject`
-(or to the relevant plugin repository)
-
-- https://github.com/abravalheri/validate-pyproject/issues
-
-
-***
-
-The following files include code from opensource projects
-(either as direct copies or modified versions):
-
-- `fastjsonschema_exceptions.py`:
-    - project: `fastjsonschema` - licensed under BSD-3-Clause
-      (https://github.com/horejsek/python-fastjsonschema)
-- `extra_validations.py` and `format.py`, `error_reporting.py`:
-    - project: `validate-pyproject` - licensed under MPL-2.0
-      (https://github.com/abravalheri/validate-pyproject)
-
-
-Additionally the following files are automatically generated by tools provided
-by the same projects:
-
-- `__init__.py`
-- `fastjsonschema_validations.py`
-
-The relevant copyright notes and licenses are included below.
-
-
-***
-
-`fastjsonschema`
-================
-
-Copyright (c) 2018, Michal Horejsek
-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 the {organization} 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.
-
-
-
-***
-
-`validate-pyproject`
-====================
-
-Mozilla Public License, version 2.0
-
-1. Definitions
-
-1.1. "Contributor"
-
-     means each individual or legal entity that creates, contributes to the
-     creation of, or owns Covered Software.
-
-1.2. "Contributor Version"
-
-     means the combination of the Contributions of others (if any) used by a
-     Contributor and that particular Contributor's Contribution.
-
-1.3. "Contribution"
-
-     means Covered Software of a particular Contributor.
-
-1.4. "Covered Software"
-
-     means Source Code Form to which the initial Contributor has attached the
-     notice in Exhibit A, the Executable Form of such Source Code Form, and
-     Modifications of such Source Code Form, in each case including portions
-     thereof.
-
-1.5. "Incompatible With Secondary Licenses"
-     means
-
-     a. that the initial Contributor has attached the notice described in
-        Exhibit B to the Covered Software; or
-
-     b. that the Covered Software was made available under the terms of
-        version 1.1 or earlier of the License, but not also under the terms of
-        a Secondary License.
-
-1.6. "Executable Form"
-
-     means any form of the work other than Source Code Form.
-
-1.7. "Larger Work"
-
-     means a work that combines Covered Software with other material, in a
-     separate file or files, that is not Covered Software.
-
-1.8. "License"
-
-     means this document.
-
-1.9. "Licensable"
-
-     means having the right to grant, to the maximum extent possible, whether
-     at the time of the initial grant or subsequently, any and all of the
-     rights conveyed by this License.
-
-1.10. "Modifications"
-
-     means any of the following:
-
-     a. any file in Source Code Form that results from an addition to,
-        deletion from, or modification of the contents of Covered Software; or
-
-     b. any new file in Source Code Form that contains any Covered Software.
-
-1.11. "Patent Claims" of a Contributor
-
-      means any patent claim(s), including without limitation, method,
-      process, and apparatus claims, in any patent Licensable by such
-      Contributor that would be infringed, but for the grant of the License,
-      by the making, using, selling, offering for sale, having made, import,
-      or transfer of either its Contributions or its Contributor Version.
-
-1.12. "Secondary License"
-
-      means either the GNU General Public License, Version 2.0, the GNU Lesser
-      General Public License, Version 2.1, the GNU Affero General Public
-      License, Version 3.0, or any later versions of those licenses.
-
-1.13. "Source Code Form"
-
-      means the form of the work preferred for making modifications.
-
-1.14. "You" (or "Your")
-
-      means an individual or a legal entity exercising rights under this
-      License. For legal entities, "You" includes any entity that controls, is
-      controlled by, or is under common control with You. For purposes of this
-      definition, "control" means (a) the power, direct or indirect, to cause
-      the direction or management of such entity, whether by contract or
-      otherwise, or (b) ownership of more than fifty percent (50%) of the
-      outstanding shares or beneficial ownership of such entity.
-
-
-2. License Grants and Conditions
-
-2.1. Grants
-
-     Each Contributor hereby grants You a world-wide, royalty-free,
-     non-exclusive license:
-
-     a. under intellectual property rights (other than patent or trademark)
-        Licensable by such Contributor to use, reproduce, make available,
-        modify, display, perform, distribute, and otherwise exploit its
-        Contributions, either on an unmodified basis, with Modifications, or
-        as part of a Larger Work; and
-
-     b. under Patent Claims of such Contributor to make, use, sell, offer for
-        sale, have made, import, and otherwise transfer either its
-        Contributions or its Contributor Version.
-
-2.2. Effective Date
-
-     The licenses granted in Section 2.1 with respect to any Contribution
-     become effective for each Contribution on the date the Contributor first
-     distributes such Contribution.
-
-2.3. Limitations on Grant Scope
-
-     The licenses granted in this Section 2 are the only rights granted under
-     this License. No additional rights or licenses will be implied from the
-     distribution or licensing of Covered Software under this License.
-     Notwithstanding Section 2.1(b) above, no patent license is granted by a
-     Contributor:
-
-     a. for any code that a Contributor has removed from Covered Software; or
-
-     b. for infringements caused by: (i) Your and any other third party's
-        modifications of Covered Software, or (ii) the combination of its
-        Contributions with other software (except as part of its Contributor
-        Version); or
-
-     c. under Patent Claims infringed by Covered Software in the absence of
-        its Contributions.
-
-     This License does not grant any rights in the trademarks, service marks,
-     or logos of any Contributor (except as may be necessary to comply with
-     the notice requirements in Section 3.4).
-
-2.4. Subsequent Licenses
-
-     No Contributor makes additional grants as a result of Your choice to
-     distribute the Covered Software under a subsequent version of this
-     License (see Section 10.2) or under the terms of a Secondary License (if
-     permitted under the terms of Section 3.3).
-
-2.5. Representation
-
-     Each Contributor represents that the Contributor believes its
-     Contributions are its original creation(s) or it has sufficient rights to
-     grant the rights to its Contributions conveyed by this License.
-
-2.6. Fair Use
-
-     This License is not intended to limit any rights You have under
-     applicable copyright doctrines of fair use, fair dealing, or other
-     equivalents.
-
-2.7. Conditions
-
-     Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
-     Section 2.1.
-
-
-3. Responsibilities
-
-3.1. Distribution of Source Form
-
-     All distribution of Covered Software in Source Code Form, including any
-     Modifications that You create or to which You contribute, must be under
-     the terms of this License. You must inform recipients that the Source
-     Code Form of the Covered Software is governed by the terms of this
-     License, and how they can obtain a copy of this License. You may not
-     attempt to alter or restrict the recipients' rights in the Source Code
-     Form.
-
-3.2. Distribution of Executable Form
-
-     If You distribute Covered Software in Executable Form then:
-
-     a. such Covered Software must also be made available in Source Code Form,
-        as described in Section 3.1, and You must inform recipients of the
-        Executable Form how they can obtain a copy of such Source Code Form by
-        reasonable means in a timely manner, at a charge no more than the cost
-        of distribution to the recipient; and
-
-     b. You may distribute such Executable Form under the terms of this
-        License, or sublicense it under different terms, provided that the
-        license for the Executable Form does not attempt to limit or alter the
-        recipients' rights in the Source Code Form under this License.
-
-3.3. Distribution of a Larger Work
-
-     You may create and distribute a Larger Work under terms of Your choice,
-     provided that You also comply with the requirements of this License for
-     the Covered Software. If the Larger Work is a combination of Covered
-     Software with a work governed by one or more Secondary Licenses, and the
-     Covered Software is not Incompatible With Secondary Licenses, this
-     License permits You to additionally distribute such Covered Software
-     under the terms of such Secondary License(s), so that the recipient of
-     the Larger Work may, at their option, further distribute the Covered
-     Software under the terms of either this License or such Secondary
-     License(s).
-
-3.4. Notices
-
-     You may not remove or alter the substance of any license notices
-     (including copyright notices, patent notices, disclaimers of warranty, or
-     limitations of liability) contained within the Source Code Form of the
-     Covered Software, except that You may alter any license notices to the
-     extent required to remedy known factual inaccuracies.
-
-3.5. Application of Additional Terms
-
-     You may choose to offer, and to charge a fee for, warranty, support,
-     indemnity or liability obligations to one or more recipients of Covered
-     Software. However, You may do so only on Your own behalf, and not on
-     behalf of any Contributor. You must make it absolutely clear that any
-     such warranty, support, indemnity, or liability obligation is offered by
-     You alone, and You hereby agree to indemnify every Contributor for any
-     liability incurred by such Contributor as a result of warranty, support,
-     indemnity or liability terms You offer. You may include additional
-     disclaimers of warranty and limitations of liability specific to any
-     jurisdiction.
-
-4. Inability to Comply Due to Statute or Regulation
-
-   If it is impossible for You to comply with any of the terms of this License
-   with respect to some or all of the Covered Software due to statute,
-   judicial order, or regulation then You must: (a) comply with the terms of
-   this License to the maximum extent possible; and (b) describe the
-   limitations and the code they affect. Such description must be placed in a
-   text file included with all distributions of the Covered Software under
-   this License. Except to the extent prohibited by statute or regulation,
-   such description must be sufficiently detailed for a recipient of ordinary
-   skill to be able to understand it.
-
-5. Termination
-
-5.1. The rights granted under this License will terminate automatically if You
-     fail to comply with any of its terms. However, if You become compliant,
-     then the rights granted under this License from a particular Contributor
-     are reinstated (a) provisionally, unless and until such Contributor
-     explicitly and finally terminates Your grants, and (b) on an ongoing
-     basis, if such Contributor fails to notify You of the non-compliance by
-     some reasonable means prior to 60 days after You have come back into
-     compliance. Moreover, Your grants from a particular Contributor are
-     reinstated on an ongoing basis if such Contributor notifies You of the
-     non-compliance by some reasonable means, this is the first time You have
-     received notice of non-compliance with this License from such
-     Contributor, and You become compliant prior to 30 days after Your receipt
-     of the notice.
-
-5.2. If You initiate litigation against any entity by asserting a patent
-     infringement claim (excluding declaratory judgment actions,
-     counter-claims, and cross-claims) alleging that a Contributor Version
-     directly or indirectly infringes any patent, then the rights granted to
-     You by any and all Contributors for the Covered Software under Section
-     2.1 of this License shall terminate.
-
-5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
-     license agreements (excluding distributors and resellers) which have been
-     validly granted by You or Your distributors under this License prior to
-     termination shall survive termination.
-
-6. Disclaimer of Warranty
-
-   Covered Software is provided under this License on an "as is" basis,
-   without warranty of any kind, either expressed, implied, or statutory,
-   including, without limitation, warranties that the Covered Software is free
-   of defects, merchantable, fit for a particular purpose or non-infringing.
-   The entire risk as to the quality and performance of the Covered Software
-   is with You. Should any Covered Software prove defective in any respect,
-   You (not any Contributor) assume the cost of any necessary servicing,
-   repair, or correction. This disclaimer of warranty constitutes an essential
-   part of this License. No use of  any Covered Software is authorized under
-   this License except under this disclaimer.
-
-7. Limitation of Liability
-
-   Under no circumstances and under no legal theory, whether tort (including
-   negligence), contract, or otherwise, shall any Contributor, or anyone who
-   distributes Covered Software as permitted above, be liable to You for any
-   direct, indirect, special, incidental, or consequential damages of any
-   character including, without limitation, damages for lost profits, loss of
-   goodwill, work stoppage, computer failure or malfunction, or any and all
-   other commercial damages or losses, even if such party shall have been
-   informed of the possibility of such damages. This limitation of liability
-   shall not apply to liability for death or personal injury resulting from
-   such party's negligence to the extent applicable law prohibits such
-   limitation. Some jurisdictions do not allow the exclusion or limitation of
-   incidental or consequential damages, so this exclusion and limitation may
-   not apply to You.
-
-8. Litigation
-
-   Any litigation relating to this License may be brought only in the courts
-   of a jurisdiction where the defendant maintains its principal place of
-   business and such litigation shall be governed by laws of that
-   jurisdiction, without reference to its conflict-of-law provisions. Nothing
-   in this Section shall prevent a party's ability to bring cross-claims or
-   counter-claims.
-
-9. Miscellaneous
-
-   This License represents the complete agreement concerning the subject
-   matter hereof. If any provision of this License is held to be
-   unenforceable, such provision shall be reformed only to the extent
-   necessary to make it enforceable. Any law or regulation which provides that
-   the language of a contract shall be construed against the drafter shall not
-   be used to construe this License against a Contributor.
-
-
-10. Versions of the License
-
-10.1. New Versions
-
-      Mozilla Foundation is the license steward. Except as provided in Section
-      10.3, no one other than the license steward has the right to modify or
-      publish new versions of this License. Each version will be given a
-      distinguishing version number.
-
-10.2. Effect of New Versions
-
-      You may distribute the Covered Software under the terms of the version
-      of the License under which You originally received the Covered Software,
-      or under the terms of any subsequent version published by the license
-      steward.
-
-10.3. Modified Versions
-
-      If you create software not governed by this License, and you want to
-      create a new license for such software, you may create and use a
-      modified version of this License if you rename the license and remove
-      any references to the name of the license steward (except to note that
-      such modified license differs from this License).
-
-10.4. Distributing Source Code Form that is Incompatible With Secondary
-      Licenses If You choose to distribute Source Code Form that is
-      Incompatible With Secondary Licenses under the terms of this version of
-      the License, the notice described in Exhibit B of this License must be
-      attached.
-
-Exhibit A - Source Code Form License Notice
-
-      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
-      https://mozilla.org/MPL/2.0/.
-
-If it is not possible or desirable to put the notice in a particular file,
-then You may include the notice in a location (such as a LICENSE file in a
-relevant directory) where a recipient would be likely to look for such a
-notice.
-
-You may add additional accurate notices of copyright ownership.
-
-Exhibit B - "Incompatible With Secondary Licenses" Notice
-
-      This Source Code Form is "Incompatible
-      With Secondary Licenses", as defined by
-      the Mozilla Public License, v. 2.0.
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__init__.py
deleted file mode 100644
index 4f612bd5..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__init__.py
+++ /dev/null
@@ -1,34 +0,0 @@
-from functools import reduce
-from typing import Any, Callable, Dict
-
-from . import formats
-from .error_reporting import detailed_errors, ValidationError
-from .extra_validations import EXTRA_VALIDATIONS
-from .fastjsonschema_exceptions import JsonSchemaException, JsonSchemaValueException
-from .fastjsonschema_validations import validate as _validate
-
-__all__ = [
-    "validate",
-    "FORMAT_FUNCTIONS",
-    "EXTRA_VALIDATIONS",
-    "ValidationError",
-    "JsonSchemaException",
-    "JsonSchemaValueException",
-]
-
-
-FORMAT_FUNCTIONS: Dict[str, Callable[[str], bool]] = {
-    fn.__name__.replace("_", "-"): fn
-    for fn in formats.__dict__.values()
-    if callable(fn) and not fn.__name__.startswith("_")
-}
-
-
-def validate(data: Any) -> bool:
-    """Validate the given ``data`` object using JSON Schema
-    This function raises ``ValidationError`` if ``data`` is invalid.
-    """
-    with detailed_errors():
-        _validate(data, custom_formats=FORMAT_FUNCTIONS)
-        reduce(lambda acc, fn: fn(acc), EXTRA_VALIDATIONS, data)
-    return True
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 22b92018..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/error_reporting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/error_reporting.cpython-312.pyc
deleted file mode 100644
index 36b3c3fa..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/error_reporting.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/extra_validations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/extra_validations.cpython-312.pyc
deleted file mode 100644
index f93aeeba..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/extra_validations.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_exceptions.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_exceptions.cpython-312.pyc
deleted file mode 100644
index 7308f280..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_exceptions.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_validations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_validations.cpython-312.pyc
deleted file mode 100644
index 6e68f0d6..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/fastjsonschema_validations.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/formats.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/formats.cpython-312.pyc
deleted file mode 100644
index 099a65c3..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/__pycache__/formats.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/error_reporting.py b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/error_reporting.py
deleted file mode 100644
index 3591231c..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/error_reporting.py
+++ /dev/null
@@ -1,336 +0,0 @@
-import io
-import json
-import logging
-import os
-import re
-import typing
-from contextlib import contextmanager
-from textwrap import indent, wrap
-from typing import Any, Dict, Generator, Iterator, List, Optional, Sequence, Union
-
-from .fastjsonschema_exceptions import JsonSchemaValueException
-
-if typing.TYPE_CHECKING:
-    import sys
-
-    if sys.version_info < (3, 11):
-        from typing_extensions import Self
-    else:
-        from typing import Self
-
-_logger = logging.getLogger(__name__)
-
-_MESSAGE_REPLACEMENTS = {
-    "must be named by propertyName definition": "keys must be named by",
-    "one of contains definition": "at least one item that matches",
-    " same as const definition:": "",
-    "only specified items": "only items matching the definition",
-}
-
-_SKIP_DETAILS = (
-    "must not be empty",
-    "is always invalid",
-    "must not be there",
-)
-
-_NEED_DETAILS = {"anyOf", "oneOf", "allOf", "contains", "propertyNames", "not", "items"}
-
-_CAMEL_CASE_SPLITTER = re.compile(r"\W+|([A-Z][^A-Z\W]*)")
-_IDENTIFIER = re.compile(r"^[\w_]+$", re.I)
-
-_TOML_JARGON = {
-    "object": "table",
-    "property": "key",
-    "properties": "keys",
-    "property names": "keys",
-}
-
-_FORMATS_HELP = """
-For more details about `format` see
-https://validate-pyproject.readthedocs.io/en/latest/api/validate_pyproject.formats.html
-"""
-
-
-class ValidationError(JsonSchemaValueException):
-    """Report violations of a given JSON schema.
-
-    This class extends :exc:`~fastjsonschema.JsonSchemaValueException`
-    by adding the following properties:
-
-    - ``summary``: an improved version of the ``JsonSchemaValueException`` error message
-      with only the necessary information)
-
-    - ``details``: more contextual information about the error like the failing schema
-      itself and the value that violates the schema.
-
-    Depending on the level of the verbosity of the ``logging`` configuration
-    the exception message will be only ``summary`` (default) or a combination of
-    ``summary`` and ``details`` (when the logging level is set to :obj:`logging.DEBUG`).
-    """
-
-    summary = ""
-    details = ""
-    _original_message = ""
-
-    @classmethod
-    def _from_jsonschema(cls, ex: JsonSchemaValueException) -> "Self":
-        formatter = _ErrorFormatting(ex)
-        obj = cls(str(formatter), ex.value, formatter.name, ex.definition, ex.rule)
-        debug_code = os.getenv("JSONSCHEMA_DEBUG_CODE_GENERATION", "false").lower()
-        if debug_code != "false":  # pragma: no cover
-            obj.__cause__, obj.__traceback__ = ex.__cause__, ex.__traceback__
-        obj._original_message = ex.message
-        obj.summary = formatter.summary
-        obj.details = formatter.details
-        return obj
-
-
-@contextmanager
-def detailed_errors() -> Generator[None, None, None]:
-    try:
-        yield
-    except JsonSchemaValueException as ex:
-        raise ValidationError._from_jsonschema(ex) from None
-
-
-class _ErrorFormatting:
-    def __init__(self, ex: JsonSchemaValueException):
-        self.ex = ex
-        self.name = f"`{self._simplify_name(ex.name)}`"
-        self._original_message: str = self.ex.message.replace(ex.name, self.name)
-        self._summary = ""
-        self._details = ""
-
-    def __str__(self) -> str:
-        if _logger.getEffectiveLevel() <= logging.DEBUG and self.details:
-            return f"{self.summary}\n\n{self.details}"
-
-        return self.summary
-
-    @property
-    def summary(self) -> str:
-        if not self._summary:
-            self._summary = self._expand_summary()
-
-        return self._summary
-
-    @property
-    def details(self) -> str:
-        if not self._details:
-            self._details = self._expand_details()
-
-        return self._details
-
-    @staticmethod
-    def _simplify_name(name: str) -> str:
-        x = len("data.")
-        return name[x:] if name.startswith("data.") else name
-
-    def _expand_summary(self) -> str:
-        msg = self._original_message
-
-        for bad, repl in _MESSAGE_REPLACEMENTS.items():
-            msg = msg.replace(bad, repl)
-
-        if any(substring in msg for substring in _SKIP_DETAILS):
-            return msg
-
-        schema = self.ex.rule_definition
-        if self.ex.rule in _NEED_DETAILS and schema:
-            summary = _SummaryWriter(_TOML_JARGON)
-            return f"{msg}:\n\n{indent(summary(schema), '    ')}"
-
-        return msg
-
-    def _expand_details(self) -> str:
-        optional = []
-        definition = self.ex.definition or {}
-        desc_lines = definition.pop("$$description", [])
-        desc = definition.pop("description", None) or " ".join(desc_lines)
-        if desc:
-            description = "\n".join(
-                wrap(
-                    desc,
-                    width=80,
-                    initial_indent="    ",
-                    subsequent_indent="    ",
-                    break_long_words=False,
-                )
-            )
-            optional.append(f"DESCRIPTION:\n{description}")
-        schema = json.dumps(definition, indent=4)
-        value = json.dumps(self.ex.value, indent=4)
-        defaults = [
-            f"GIVEN VALUE:\n{indent(value, '    ')}",
-            f"OFFENDING RULE: {self.ex.rule!r}",
-            f"DEFINITION:\n{indent(schema, '    ')}",
-        ]
-        msg = "\n\n".join(optional + defaults)
-        epilog = f"\n{_FORMATS_HELP}" if "format" in msg.lower() else ""
-        return msg + epilog
-
-
-class _SummaryWriter:
-    _IGNORE = frozenset(("description", "default", "title", "examples"))
-
-    def __init__(self, jargon: Optional[Dict[str, str]] = None):
-        self.jargon: Dict[str, str] = jargon or {}
-        # Clarify confusing terms
-        self._terms = {
-            "anyOf": "at least one of the following",
-            "oneOf": "exactly one of the following",
-            "allOf": "all of the following",
-            "not": "(*NOT* the following)",
-            "prefixItems": f"{self._jargon('items')} (in order)",
-            "items": "items",
-            "contains": "contains at least one of",
-            "propertyNames": (
-                f"non-predefined acceptable {self._jargon('property names')}"
-            ),
-            "patternProperties": f"{self._jargon('properties')} named via pattern",
-            "const": "predefined value",
-            "enum": "one of",
-        }
-        # Attributes that indicate that the definition is easy and can be done
-        # inline (e.g. string and number)
-        self._guess_inline_defs = [
-            "enum",
-            "const",
-            "maxLength",
-            "minLength",
-            "pattern",
-            "format",
-            "minimum",
-            "maximum",
-            "exclusiveMinimum",
-            "exclusiveMaximum",
-            "multipleOf",
-        ]
-
-    def _jargon(self, term: Union[str, List[str]]) -> Union[str, List[str]]:
-        if isinstance(term, list):
-            return [self.jargon.get(t, t) for t in term]
-        return self.jargon.get(term, term)
-
-    def __call__(
-        self,
-        schema: Union[dict, List[dict]],
-        prefix: str = "",
-        *,
-        _path: Sequence[str] = (),
-    ) -> str:
-        if isinstance(schema, list):
-            return self._handle_list(schema, prefix, _path)
-
-        filtered = self._filter_unecessary(schema, _path)
-        simple = self._handle_simple_dict(filtered, _path)
-        if simple:
-            return f"{prefix}{simple}"
-
-        child_prefix = self._child_prefix(prefix, "  ")
-        item_prefix = self._child_prefix(prefix, "- ")
-        indent = len(prefix) * " "
-        with io.StringIO() as buffer:
-            for i, (key, value) in enumerate(filtered.items()):
-                child_path = [*_path, key]
-                line_prefix = prefix if i == 0 else indent
-                buffer.write(f"{line_prefix}{self._label(child_path)}:")
-                # ^  just the first item should receive the complete prefix
-                if isinstance(value, dict):
-                    filtered = self._filter_unecessary(value, child_path)
-                    simple = self._handle_simple_dict(filtered, child_path)
-                    buffer.write(
-                        f" {simple}"
-                        if simple
-                        else f"\n{self(value, child_prefix, _path=child_path)}"
-                    )
-                elif isinstance(value, list) and (
-                    key != "type" or self._is_property(child_path)
-                ):
-                    children = self._handle_list(value, item_prefix, child_path)
-                    sep = " " if children.startswith("[") else "\n"
-                    buffer.write(f"{sep}{children}")
-                else:
-                    buffer.write(f" {self._value(value, child_path)}\n")
-            return buffer.getvalue()
-
-    def _is_unecessary(self, path: Sequence[str]) -> bool:
-        if self._is_property(path) or not path:  # empty path => instruction @ root
-            return False
-        key = path[-1]
-        return any(key.startswith(k) for k in "$_") or key in self._IGNORE
-
-    def _filter_unecessary(
-        self, schema: Dict[str, Any], path: Sequence[str]
-    ) -> Dict[str, Any]:
-        return {
-            key: value
-            for key, value in schema.items()
-            if not self._is_unecessary([*path, key])
-        }
-
-    def _handle_simple_dict(self, value: dict, path: Sequence[str]) -> Optional[str]:
-        inline = any(p in value for p in self._guess_inline_defs)
-        simple = not any(isinstance(v, (list, dict)) for v in value.values())
-        if inline or simple:
-            return f"{{{', '.join(self._inline_attrs(value, path))}}}\n"
-        return None
-
-    def _handle_list(
-        self, schemas: list, prefix: str = "", path: Sequence[str] = ()
-    ) -> str:
-        if self._is_unecessary(path):
-            return ""
-
-        repr_ = repr(schemas)
-        if all(not isinstance(e, (dict, list)) for e in schemas) and len(repr_) < 60:
-            return f"{repr_}\n"
-
-        item_prefix = self._child_prefix(prefix, "- ")
-        return "".join(
-            self(v, item_prefix, _path=[*path, f"[{i}]"]) for i, v in enumerate(schemas)
-        )
-
-    def _is_property(self, path: Sequence[str]) -> bool:
-        """Check if the given path can correspond to an arbitrarily named property"""
-        counter = 0
-        for key in path[-2::-1]:
-            if key not in {"properties", "patternProperties"}:
-                break
-            counter += 1
-
-        # If the counter if even, the path correspond to a JSON Schema keyword
-        # otherwise it can be any arbitrary string naming a property
-        return counter % 2 == 1
-
-    def _label(self, path: Sequence[str]) -> str:
-        *parents, key = path
-        if not self._is_property(path):
-            norm_key = _separate_terms(key)
-            return self._terms.get(key) or " ".join(self._jargon(norm_key))
-
-        if parents[-1] == "patternProperties":
-            return f"(regex {key!r})"
-        return repr(key)  # property name
-
-    def _value(self, value: Any, path: Sequence[str]) -> str:
-        if path[-1] == "type" and not self._is_property(path):
-            type_ = self._jargon(value)
-            return f"[{', '.join(type_)}]" if isinstance(type_, list) else type_
-        return repr(value)
-
-    def _inline_attrs(self, schema: dict, path: Sequence[str]) -> Iterator[str]:
-        for key, value in schema.items():
-            child_path = [*path, key]
-            yield f"{self._label(child_path)}: {self._value(value, child_path)}"
-
-    def _child_prefix(self, parent_prefix: str, child_prefix: str) -> str:
-        return len(parent_prefix) * " " + child_prefix
-
-
-def _separate_terms(word: str) -> List[str]:
-    """
-    >>> _separate_terms("FooBar-foo")
-    ['foo', 'bar', 'foo']
-    """
-    return [w.lower() for w in _CAMEL_CASE_SPLITTER.split(word) if w]
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/extra_validations.py b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/extra_validations.py
deleted file mode 100644
index c4ffe651..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/extra_validations.py
+++ /dev/null
@@ -1,52 +0,0 @@
-"""The purpose of this module is implement PEP 621 validations that are
-difficult to express as a JSON Schema (or that are not supported by the current
-JSON Schema library).
-"""
-
-from inspect import cleandoc
-from typing import Mapping, TypeVar
-
-from .error_reporting import ValidationError
-
-T = TypeVar("T", bound=Mapping)
-
-
-class RedefiningStaticFieldAsDynamic(ValidationError):
-    _DESC = """According to PEP 621:
-
-    Build back-ends MUST raise an error if the metadata specifies a field
-    statically as well as being listed in dynamic.
-    """
-    __doc__ = _DESC
-    _URL = (
-        "https://packaging.python.org/en/latest/specifications/"
-        "pyproject-toml/#dynamic"
-    )
-
-
-def validate_project_dynamic(pyproject: T) -> T:
-    project_table = pyproject.get("project", {})
-    dynamic = project_table.get("dynamic", [])
-
-    for field in dynamic:
-        if field in project_table:
-            raise RedefiningStaticFieldAsDynamic(
-                message=f"You cannot provide a value for `project.{field}` and "
-                "list it under `project.dynamic` at the same time",
-                value={
-                    field: project_table[field],
-                    "...": " # ...",
-                    "dynamic": dynamic,
-                },
-                name=f"data.project.{field}",
-                definition={
-                    "description": cleandoc(RedefiningStaticFieldAsDynamic._DESC),
-                    "see": RedefiningStaticFieldAsDynamic._URL,
-                },
-                rule="PEP 621",
-            )
-
-    return pyproject
-
-
-EXTRA_VALIDATIONS = (validate_project_dynamic,)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py
deleted file mode 100644
index d2dddd6a..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_exceptions.py
+++ /dev/null
@@ -1,51 +0,0 @@
-import re
-
-
-SPLIT_RE = re.compile(r'[\.\[\]]+')
-
-
-class JsonSchemaException(ValueError):
-    """
-    Base exception of ``fastjsonschema`` library.
-    """
-
-
-class JsonSchemaValueException(JsonSchemaException):
-    """
-    Exception raised by validation function. Available properties:
-
-     * ``message`` containing human-readable information what is wrong (e.g. ``data.property[index] must be smaller than or equal to 42``),
-     * invalid ``value`` (e.g. ``60``),
-     * ``name`` of a path in the data structure (e.g. ``data.property[index]``),
-     * ``path`` as an array in the data structure (e.g. ``['data', 'property', 'index']``),
-     * the whole ``definition`` which the ``value`` has to fulfil (e.g. ``{'type': 'number', 'maximum': 42}``),
-     * ``rule`` which the ``value`` is breaking (e.g. ``maximum``)
-     * and ``rule_definition`` (e.g. ``42``).
-
-    .. versionchanged:: 2.14.0
-        Added all extra properties.
-    """
-
-    def __init__(self, message, value=None, name=None, definition=None, rule=None):
-        super().__init__(message)
-        self.message = message
-        self.value = value
-        self.name = name
-        self.definition = definition
-        self.rule = rule
-
-    @property
-    def path(self):
-        return [item for item in SPLIT_RE.split(self.name) if item != '']
-
-    @property
-    def rule_definition(self):
-        if not self.rule or not self.definition:
-            return None
-        return self.definition.get(self.rule)
-
-
-class JsonSchemaDefinitionException(JsonSchemaException):
-    """
-    Exception raised by generator of validation function.
-    """
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py
deleted file mode 100644
index 42e7aa5e..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/fastjsonschema_validations.py
+++ /dev/null
@@ -1,1319 +0,0 @@
-# noqa
-# ruff: noqa
-# flake8: noqa
-# pylint: skip-file
-# mypy: ignore-errors
-# yapf: disable
-# pylama:skip=1
-
-
-# *** PLEASE DO NOT MODIFY DIRECTLY: Automatically generated code *** 
-
-
-VERSION = "2.20.0"
-from decimal import Decimal
-import re
-from .fastjsonschema_exceptions import JsonSchemaValueException
-
-
-REGEX_PATTERNS = {
-    '^.*$': re.compile('^.*$'),
-    '.+': re.compile('.+'),
-    '^.+$': re.compile('^.+$'),
-    'idn-email_re_pattern': re.compile('^[^@]+@[^@]+\\.[^@]+\\Z')
-}
-
-NoneType = type(None)
-
-def validate(data, custom_formats={}, name_prefix=None):
-    validate_https___packaging_python_org_en_latest_specifications_declaring_build_dependencies(data, custom_formats, (name_prefix or "data") + "")
-    return data
-
-def validate_https___packaging_python_org_en_latest_specifications_declaring_build_dependencies(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/', 'title': 'Data structure for ``pyproject.toml`` files', '$$description': ['File format containing build-time configurations for the Python ecosystem. ', ':pep:`517` initially defined a build-system independent format for source trees', 'which was complemented by :pep:`518` to provide a way of specifying dependencies ', 'for building Python projects.', 'Please notice the ``project`` table (as initially defined in  :pep:`621`) is not included', 'in this schema and should be considered separately.'], 'type': 'object', 'additionalProperties': False, 'properties': {'build-system': {'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '`_', "with meaning similar to the one defined in `core metadata's Description", '`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '`_.']}, 'license': {'description': '`Project license `_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, '$$description': ['`Trove classifiers `_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points `_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points `_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', '    If the core metadata specification lists a field as "Required", then', '    the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', '    The required fields are: Metadata-Version, Name, Version.', '    All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}, 'tool': {'type': 'object', 'properties': {'distutils': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '`_.', 'See also `the old Python docs _`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, 'setuptools': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$ref': '#/definitions/package-name'}}, {'$ref': '#/definitions/find-directive'}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$ref': '#/definitions/package-name'}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$ref': '#/definitions/ext-module'}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', '    cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'$ref': '#/definitions/attr-directive'}, {'$ref': '#/definitions/file-directive'}]}, 'classifiers': {'$ref': '#/definitions/file-directive'}, 'description': {'$ref': '#/definitions/file-directive'}, 'entry-points': {'$ref': '#/definitions/file-directive'}, 'dependencies': {'$ref': '#/definitions/file-directive-for-dependencies'}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'$ref': '#/definitions/file-directive-for-dependencies'}}}, 'readme': {'type': 'object', 'anyOf': [{'$ref': '#/definitions/file-directive'}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'$ref': '#/definitions/file-directive/properties/file'}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}}}}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '`_', "with meaning similar to the one defined in `core metadata's Description", '`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '`_.']}, 'license': {'description': '`Project license `_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, '$$description': ['`Trove classifiers `_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points `_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points `_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', '    If the core metadata specification lists a field as "Required", then', '    the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', '    The required fields are: Metadata-Version, Name, Version.', '    All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data_keys = set(data.keys())
-        if "build-system" in data_keys:
-            data_keys.remove("build-system")
-            data__buildsystem = data["build-system"]
-            if not isinstance(data__buildsystem, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".build-system must be object", value=data__buildsystem, name="" + (name_prefix or "data") + ".build-system", definition={'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, rule='type')
-            data__buildsystem_is_dict = isinstance(data__buildsystem, dict)
-            if data__buildsystem_is_dict:
-                data__buildsystem__missing_keys = set(['requires']) - data__buildsystem.keys()
-                if data__buildsystem__missing_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".build-system must contain " + (str(sorted(data__buildsystem__missing_keys)) + " properties"), value=data__buildsystem, name="" + (name_prefix or "data") + ".build-system", definition={'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, rule='required')
-                data__buildsystem_keys = set(data__buildsystem.keys())
-                if "requires" in data__buildsystem_keys:
-                    data__buildsystem_keys.remove("requires")
-                    data__buildsystem__requires = data__buildsystem["requires"]
-                    if not isinstance(data__buildsystem__requires, (list, tuple)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".build-system.requires must be array", value=data__buildsystem__requires, name="" + (name_prefix or "data") + ".build-system.requires", definition={'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, rule='type')
-                    data__buildsystem__requires_is_list = isinstance(data__buildsystem__requires, (list, tuple))
-                    if data__buildsystem__requires_is_list:
-                        data__buildsystem__requires_len = len(data__buildsystem__requires)
-                        for data__buildsystem__requires_x, data__buildsystem__requires_item in enumerate(data__buildsystem__requires):
-                            if not isinstance(data__buildsystem__requires_item, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".build-system.requires[{data__buildsystem__requires_x}]".format(**locals()) + " must be string", value=data__buildsystem__requires_item, name="" + (name_prefix or "data") + ".build-system.requires[{data__buildsystem__requires_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-                if "build-backend" in data__buildsystem_keys:
-                    data__buildsystem_keys.remove("build-backend")
-                    data__buildsystem__buildbackend = data__buildsystem["build-backend"]
-                    if not isinstance(data__buildsystem__buildbackend, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".build-system.build-backend must be string", value=data__buildsystem__buildbackend, name="" + (name_prefix or "data") + ".build-system.build-backend", definition={'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, rule='type')
-                    if isinstance(data__buildsystem__buildbackend, str):
-                        if not custom_formats["pep517-backend-reference"](data__buildsystem__buildbackend):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".build-system.build-backend must be pep517-backend-reference", value=data__buildsystem__buildbackend, name="" + (name_prefix or "data") + ".build-system.build-backend", definition={'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, rule='format')
-                if "backend-path" in data__buildsystem_keys:
-                    data__buildsystem_keys.remove("backend-path")
-                    data__buildsystem__backendpath = data__buildsystem["backend-path"]
-                    if not isinstance(data__buildsystem__backendpath, (list, tuple)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".build-system.backend-path must be array", value=data__buildsystem__backendpath, name="" + (name_prefix or "data") + ".build-system.backend-path", definition={'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}, rule='type')
-                    data__buildsystem__backendpath_is_list = isinstance(data__buildsystem__backendpath, (list, tuple))
-                    if data__buildsystem__backendpath_is_list:
-                        data__buildsystem__backendpath_len = len(data__buildsystem__backendpath)
-                        for data__buildsystem__backendpath_x, data__buildsystem__backendpath_item in enumerate(data__buildsystem__backendpath):
-                            if not isinstance(data__buildsystem__backendpath_item, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".build-system.backend-path[{data__buildsystem__backendpath_x}]".format(**locals()) + " must be string", value=data__buildsystem__backendpath_item, name="" + (name_prefix or "data") + ".build-system.backend-path[{data__buildsystem__backendpath_x}]".format(**locals()) + "", definition={'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}, rule='type')
-                if data__buildsystem_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".build-system must not contain "+str(data__buildsystem_keys)+" properties", value=data__buildsystem, name="" + (name_prefix or "data") + ".build-system", definition={'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, rule='additionalProperties')
-        if "project" in data_keys:
-            data_keys.remove("project")
-            data__project = data["project"]
-            validate_https___packaging_python_org_en_latest_specifications_pyproject_toml(data__project, custom_formats, (name_prefix or "data") + ".project")
-        if "tool" in data_keys:
-            data_keys.remove("tool")
-            data__tool = data["tool"]
-            if not isinstance(data__tool, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".tool must be object", value=data__tool, name="" + (name_prefix or "data") + ".tool", definition={'type': 'object', 'properties': {'distutils': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '`_.', 'See also `the old Python docs _`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, 'setuptools': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$ref': '#/definitions/package-name'}}, {'$ref': '#/definitions/find-directive'}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$ref': '#/definitions/package-name'}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$ref': '#/definitions/ext-module'}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', '    cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'$ref': '#/definitions/attr-directive'}, {'$ref': '#/definitions/file-directive'}]}, 'classifiers': {'$ref': '#/definitions/file-directive'}, 'description': {'$ref': '#/definitions/file-directive'}, 'entry-points': {'$ref': '#/definitions/file-directive'}, 'dependencies': {'$ref': '#/definitions/file-directive-for-dependencies'}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'$ref': '#/definitions/file-directive-for-dependencies'}}}, 'readme': {'type': 'object', 'anyOf': [{'$ref': '#/definitions/file-directive'}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'$ref': '#/definitions/file-directive/properties/file'}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}}}, rule='type')
-            data__tool_is_dict = isinstance(data__tool, dict)
-            if data__tool_is_dict:
-                data__tool_keys = set(data__tool.keys())
-                if "distutils" in data__tool_keys:
-                    data__tool_keys.remove("distutils")
-                    data__tool__distutils = data__tool["distutils"]
-                    validate_https___setuptools_pypa_io_en_latest_deprecated_distutils_configfile_html(data__tool__distutils, custom_formats, (name_prefix or "data") + ".tool.distutils")
-                if "setuptools" in data__tool_keys:
-                    data__tool_keys.remove("setuptools")
-                    data__tool__setuptools = data__tool["setuptools"]
-                    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html(data__tool__setuptools, custom_formats, (name_prefix or "data") + ".tool.setuptools")
-        if data_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/declaring-build-dependencies/', 'title': 'Data structure for ``pyproject.toml`` files', '$$description': ['File format containing build-time configurations for the Python ecosystem. ', ':pep:`517` initially defined a build-system independent format for source trees', 'which was complemented by :pep:`518` to provide a way of specifying dependencies ', 'for building Python projects.', 'Please notice the ``project`` table (as initially defined in  :pep:`621`) is not included', 'in this schema and should be considered separately.'], 'type': 'object', 'additionalProperties': False, 'properties': {'build-system': {'type': 'object', 'description': 'Table used to store build-related data', 'additionalProperties': False, 'properties': {'requires': {'type': 'array', '$$description': ['List of dependencies in the :pep:`508` format required to execute the build', 'system. Please notice that the resulting dependency graph', '**MUST NOT contain cycles**'], 'items': {'type': 'string'}}, 'build-backend': {'type': 'string', 'description': 'Python object that will be used to perform the build according to :pep:`517`', 'format': 'pep517-backend-reference'}, 'backend-path': {'type': 'array', '$$description': ['List of directories to be prepended to ``sys.path`` when loading the', 'back-end, and running its hooks'], 'items': {'type': 'string', '$comment': 'Should be a path (TODO: enforce it with format?)'}}}, 'required': ['requires']}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '`_', "with meaning similar to the one defined in `core metadata's Description", '`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '`_.']}, 'license': {'description': '`Project license `_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, '$$description': ['`Trove classifiers `_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points `_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points `_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', '    If the core metadata specification lists a field as "Required", then', '    the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', '    The required fields are: Metadata-Version, Name, Version.', '    All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}, 'tool': {'type': 'object', 'properties': {'distutils': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '`_.', 'See also `the old Python docs _`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, 'setuptools': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$ref': '#/definitions/package-name'}}, {'$ref': '#/definitions/find-directive'}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$ref': '#/definitions/package-name'}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$ref': '#/definitions/ext-module'}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', '    cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'$ref': '#/definitions/attr-directive'}, {'$ref': '#/definitions/file-directive'}]}, 'classifiers': {'$ref': '#/definitions/file-directive'}, 'description': {'$ref': '#/definitions/file-directive'}, 'entry-points': {'$ref': '#/definitions/file-directive'}, 'dependencies': {'$ref': '#/definitions/file-directive-for-dependencies'}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'$ref': '#/definitions/file-directive-for-dependencies'}}}, 'readme': {'type': 'object', 'anyOf': [{'$ref': '#/definitions/file-directive'}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'$ref': '#/definitions/file-directive/properties/file'}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}}}}, 'project': {'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '`_', "with meaning similar to the one defined in `core metadata's Description", '`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '`_.']}, 'license': {'description': '`Project license `_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$ref': '#/definitions/author'}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, '$$description': ['`Trove classifiers `_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create command-line wrappers for the given', '`entry points `_.']}, 'gui-scripts': {'$ref': '#/definitions/entry-point-group', '$$description': ['Instruct the installer to create GUI wrappers for the given', '`entry points `_.', 'The difference between ``scripts`` and ``gui-scripts`` is only relevant in', 'Windows.']}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$ref': '#/definitions/entry-point-group'}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$ref': '#/definitions/dependency'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$ref': '#/definitions/dependency'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', '    If the core metadata specification lists a field as "Required", then', '    the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', '    The required fields are: Metadata-Version, Name, Version.', '    All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, rule='additionalProperties')
-    return data
-
-def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', '    cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'classifiers': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'description': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'entry-points': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, 'readme': {'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data_keys = set(data.keys())
-        if "platforms" in data_keys:
-            data_keys.remove("platforms")
-            data__platforms = data["platforms"]
-            if not isinstance(data__platforms, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".platforms must be array", value=data__platforms, name="" + (name_prefix or "data") + ".platforms", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__platforms_is_list = isinstance(data__platforms, (list, tuple))
-            if data__platforms_is_list:
-                data__platforms_len = len(data__platforms)
-                for data__platforms_x, data__platforms_item in enumerate(data__platforms):
-                    if not isinstance(data__platforms_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".platforms[{data__platforms_x}]".format(**locals()) + " must be string", value=data__platforms_item, name="" + (name_prefix or "data") + ".platforms[{data__platforms_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "provides" in data_keys:
-            data_keys.remove("provides")
-            data__provides = data["provides"]
-            if not isinstance(data__provides, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".provides must be array", value=data__provides, name="" + (name_prefix or "data") + ".provides", definition={'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, rule='type')
-            data__provides_is_list = isinstance(data__provides, (list, tuple))
-            if data__provides_is_list:
-                data__provides_len = len(data__provides)
-                for data__provides_x, data__provides_item in enumerate(data__provides):
-                    if not isinstance(data__provides_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".provides[{data__provides_x}]".format(**locals()) + " must be string", value=data__provides_item, name="" + (name_prefix or "data") + ".provides[{data__provides_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'pep508-identifier'}, rule='type')
-                    if isinstance(data__provides_item, str):
-                        if not custom_formats["pep508-identifier"](data__provides_item):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".provides[{data__provides_x}]".format(**locals()) + " must be pep508-identifier", value=data__provides_item, name="" + (name_prefix or "data") + ".provides[{data__provides_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'pep508-identifier'}, rule='format')
-        if "obsoletes" in data_keys:
-            data_keys.remove("obsoletes")
-            data__obsoletes = data["obsoletes"]
-            if not isinstance(data__obsoletes, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".obsoletes must be array", value=data__obsoletes, name="" + (name_prefix or "data") + ".obsoletes", definition={'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, rule='type')
-            data__obsoletes_is_list = isinstance(data__obsoletes, (list, tuple))
-            if data__obsoletes_is_list:
-                data__obsoletes_len = len(data__obsoletes)
-                for data__obsoletes_x, data__obsoletes_item in enumerate(data__obsoletes):
-                    if not isinstance(data__obsoletes_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".obsoletes[{data__obsoletes_x}]".format(**locals()) + " must be string", value=data__obsoletes_item, name="" + (name_prefix or "data") + ".obsoletes[{data__obsoletes_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'pep508-identifier'}, rule='type')
-                    if isinstance(data__obsoletes_item, str):
-                        if not custom_formats["pep508-identifier"](data__obsoletes_item):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".obsoletes[{data__obsoletes_x}]".format(**locals()) + " must be pep508-identifier", value=data__obsoletes_item, name="" + (name_prefix or "data") + ".obsoletes[{data__obsoletes_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'pep508-identifier'}, rule='format')
-        if "zip-safe" in data_keys:
-            data_keys.remove("zip-safe")
-            data__zipsafe = data["zip-safe"]
-            if not isinstance(data__zipsafe, (bool)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".zip-safe must be boolean", value=data__zipsafe, name="" + (name_prefix or "data") + ".zip-safe", definition={'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, rule='type')
-        if "script-files" in data_keys:
-            data_keys.remove("script-files")
-            data__scriptfiles = data["script-files"]
-            if not isinstance(data__scriptfiles, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".script-files must be array", value=data__scriptfiles, name="" + (name_prefix or "data") + ".script-files", definition={'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, rule='type')
-            data__scriptfiles_is_list = isinstance(data__scriptfiles, (list, tuple))
-            if data__scriptfiles_is_list:
-                data__scriptfiles_len = len(data__scriptfiles)
-                for data__scriptfiles_x, data__scriptfiles_item in enumerate(data__scriptfiles):
-                    if not isinstance(data__scriptfiles_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".script-files[{data__scriptfiles_x}]".format(**locals()) + " must be string", value=data__scriptfiles_item, name="" + (name_prefix or "data") + ".script-files[{data__scriptfiles_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "eager-resources" in data_keys:
-            data_keys.remove("eager-resources")
-            data__eagerresources = data["eager-resources"]
-            if not isinstance(data__eagerresources, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".eager-resources must be array", value=data__eagerresources, name="" + (name_prefix or "data") + ".eager-resources", definition={'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__eagerresources_is_list = isinstance(data__eagerresources, (list, tuple))
-            if data__eagerresources_is_list:
-                data__eagerresources_len = len(data__eagerresources)
-                for data__eagerresources_x, data__eagerresources_item in enumerate(data__eagerresources):
-                    if not isinstance(data__eagerresources_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".eager-resources[{data__eagerresources_x}]".format(**locals()) + " must be string", value=data__eagerresources_item, name="" + (name_prefix or "data") + ".eager-resources[{data__eagerresources_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "packages" in data_keys:
-            data_keys.remove("packages")
-            data__packages = data["packages"]
-            data__packages_one_of_count1 = 0
-            if data__packages_one_of_count1 < 2:
-                try:
-                    if not isinstance(data__packages, (list, tuple)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".packages must be array", value=data__packages, name="" + (name_prefix or "data") + ".packages", definition={'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, rule='type')
-                    data__packages_is_list = isinstance(data__packages, (list, tuple))
-                    if data__packages_is_list:
-                        data__packages_len = len(data__packages)
-                        for data__packages_x, data__packages_item in enumerate(data__packages):
-                            validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_package_name(data__packages_item, custom_formats, (name_prefix or "data") + ".packages[{data__packages_x}]".format(**locals()))
-                    data__packages_one_of_count1 += 1
-                except JsonSchemaValueException: pass
-            if data__packages_one_of_count1 < 2:
-                try:
-                    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_find_directive(data__packages, custom_formats, (name_prefix or "data") + ".packages")
-                    data__packages_one_of_count1 += 1
-                except JsonSchemaValueException: pass
-            if data__packages_one_of_count1 != 1:
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".packages must be valid exactly by one definition" + (" (" + str(data__packages_one_of_count1) + " matches found)"), value=data__packages, name="" + (name_prefix or "data") + ".packages", definition={'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}]}, rule='oneOf')
-        if "package-dir" in data_keys:
-            data_keys.remove("package-dir")
-            data__packagedir = data["package-dir"]
-            if not isinstance(data__packagedir, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must be object", value=data__packagedir, name="" + (name_prefix or "data") + ".package-dir", definition={'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, rule='type')
-            data__packagedir_is_dict = isinstance(data__packagedir, dict)
-            if data__packagedir_is_dict:
-                data__packagedir_keys = set(data__packagedir.keys())
-                for data__packagedir_key, data__packagedir_val in data__packagedir.items():
-                    if REGEX_PATTERNS['^.*$'].search(data__packagedir_key):
-                        if data__packagedir_key in data__packagedir_keys:
-                            data__packagedir_keys.remove(data__packagedir_key)
-                        if not isinstance(data__packagedir_val, (str)):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir.{data__packagedir_key}".format(**locals()) + " must be string", value=data__packagedir_val, name="" + (name_prefix or "data") + ".package-dir.{data__packagedir_key}".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-                if data__packagedir_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must not contain "+str(data__packagedir_keys)+" properties", value=data__packagedir, name="" + (name_prefix or "data") + ".package-dir", definition={'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, rule='additionalProperties')
-                data__packagedir_len = len(data__packagedir)
-                if data__packagedir_len != 0:
-                    data__packagedir_property_names = True
-                    for data__packagedir_key in data__packagedir:
-                        try:
-                            data__packagedir_key_any_of_count2 = 0
-                            if not data__packagedir_key_any_of_count2:
-                                try:
-                                    if data__packagedir_key != "":
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must be same as const definition: ", value=data__packagedir_key, name="" + (name_prefix or "data") + ".package-dir", definition={'const': ''}, rule='const')
-                                    data__packagedir_key_any_of_count2 += 1
-                                except JsonSchemaValueException: pass
-                            if not data__packagedir_key_any_of_count2:
-                                try:
-                                    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_package_name(data__packagedir_key, custom_formats, (name_prefix or "data") + ".package-dir")
-                                    data__packagedir_key_any_of_count2 += 1
-                                except JsonSchemaValueException: pass
-                            if not data__packagedir_key_any_of_count2:
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir cannot be validated by any definition", value=data__packagedir_key, name="" + (name_prefix or "data") + ".package-dir", definition={'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, rule='anyOf')
-                        except JsonSchemaValueException:
-                            data__packagedir_property_names = False
-                    if not data__packagedir_property_names:
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-dir must be named by propertyName definition", value=data__packagedir, name="" + (name_prefix or "data") + ".package-dir", definition={'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, rule='propertyNames')
-        if "package-data" in data_keys:
-            data_keys.remove("package-data")
-            data__packagedata = data["package-data"]
-            if not isinstance(data__packagedata, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-data must be object", value=data__packagedata, name="" + (name_prefix or "data") + ".package-data", definition={'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, rule='type')
-            data__packagedata_is_dict = isinstance(data__packagedata, dict)
-            if data__packagedata_is_dict:
-                data__packagedata_keys = set(data__packagedata.keys())
-                for data__packagedata_key, data__packagedata_val in data__packagedata.items():
-                    if REGEX_PATTERNS['^.*$'].search(data__packagedata_key):
-                        if data__packagedata_key in data__packagedata_keys:
-                            data__packagedata_keys.remove(data__packagedata_key)
-                        if not isinstance(data__packagedata_val, (list, tuple)):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-data.{data__packagedata_key}".format(**locals()) + " must be array", value=data__packagedata_val, name="" + (name_prefix or "data") + ".package-data.{data__packagedata_key}".format(**locals()) + "", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-                        data__packagedata_val_is_list = isinstance(data__packagedata_val, (list, tuple))
-                        if data__packagedata_val_is_list:
-                            data__packagedata_val_len = len(data__packagedata_val)
-                            for data__packagedata_val_x, data__packagedata_val_item in enumerate(data__packagedata_val):
-                                if not isinstance(data__packagedata_val_item, (str)):
-                                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-data.{data__packagedata_key}[{data__packagedata_val_x}]".format(**locals()) + " must be string", value=data__packagedata_val_item, name="" + (name_prefix or "data") + ".package-data.{data__packagedata_key}[{data__packagedata_val_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-                if data__packagedata_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-data must not contain "+str(data__packagedata_keys)+" properties", value=data__packagedata, name="" + (name_prefix or "data") + ".package-data", definition={'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, rule='additionalProperties')
-                data__packagedata_len = len(data__packagedata)
-                if data__packagedata_len != 0:
-                    data__packagedata_property_names = True
-                    for data__packagedata_key in data__packagedata:
-                        try:
-                            data__packagedata_key_any_of_count3 = 0
-                            if not data__packagedata_key_any_of_count3:
-                                try:
-                                    if not isinstance(data__packagedata_key, (str)):
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-data must be string", value=data__packagedata_key, name="" + (name_prefix or "data") + ".package-data", definition={'type': 'string', 'format': 'python-module-name'}, rule='type')
-                                    if isinstance(data__packagedata_key, str):
-                                        if not custom_formats["python-module-name"](data__packagedata_key):
-                                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-data must be python-module-name", value=data__packagedata_key, name="" + (name_prefix or "data") + ".package-data", definition={'type': 'string', 'format': 'python-module-name'}, rule='format')
-                                    data__packagedata_key_any_of_count3 += 1
-                                except JsonSchemaValueException: pass
-                            if not data__packagedata_key_any_of_count3:
-                                try:
-                                    if data__packagedata_key != "*":
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-data must be same as const definition: *", value=data__packagedata_key, name="" + (name_prefix or "data") + ".package-data", definition={'const': '*'}, rule='const')
-                                    data__packagedata_key_any_of_count3 += 1
-                                except JsonSchemaValueException: pass
-                            if not data__packagedata_key_any_of_count3:
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-data cannot be validated by any definition", value=data__packagedata_key, name="" + (name_prefix or "data") + ".package-data", definition={'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, rule='anyOf')
-                        except JsonSchemaValueException:
-                            data__packagedata_property_names = False
-                    if not data__packagedata_property_names:
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".package-data must be named by propertyName definition", value=data__packagedata, name="" + (name_prefix or "data") + ".package-data", definition={'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, rule='propertyNames')
-        if "include-package-data" in data_keys:
-            data_keys.remove("include-package-data")
-            data__includepackagedata = data["include-package-data"]
-            if not isinstance(data__includepackagedata, (bool)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".include-package-data must be boolean", value=data__includepackagedata, name="" + (name_prefix or "data") + ".include-package-data", definition={'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'boolean'}, rule='type')
-        if "exclude-package-data" in data_keys:
-            data_keys.remove("exclude-package-data")
-            data__excludepackagedata = data["exclude-package-data"]
-            if not isinstance(data__excludepackagedata, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".exclude-package-data must be object", value=data__excludepackagedata, name="" + (name_prefix or "data") + ".exclude-package-data", definition={'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, rule='type')
-            data__excludepackagedata_is_dict = isinstance(data__excludepackagedata, dict)
-            if data__excludepackagedata_is_dict:
-                data__excludepackagedata_keys = set(data__excludepackagedata.keys())
-                for data__excludepackagedata_key, data__excludepackagedata_val in data__excludepackagedata.items():
-                    if REGEX_PATTERNS['^.*$'].search(data__excludepackagedata_key):
-                        if data__excludepackagedata_key in data__excludepackagedata_keys:
-                            data__excludepackagedata_keys.remove(data__excludepackagedata_key)
-                        if not isinstance(data__excludepackagedata_val, (list, tuple)):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".exclude-package-data.{data__excludepackagedata_key}".format(**locals()) + " must be array", value=data__excludepackagedata_val, name="" + (name_prefix or "data") + ".exclude-package-data.{data__excludepackagedata_key}".format(**locals()) + "", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-                        data__excludepackagedata_val_is_list = isinstance(data__excludepackagedata_val, (list, tuple))
-                        if data__excludepackagedata_val_is_list:
-                            data__excludepackagedata_val_len = len(data__excludepackagedata_val)
-                            for data__excludepackagedata_val_x, data__excludepackagedata_val_item in enumerate(data__excludepackagedata_val):
-                                if not isinstance(data__excludepackagedata_val_item, (str)):
-                                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".exclude-package-data.{data__excludepackagedata_key}[{data__excludepackagedata_val_x}]".format(**locals()) + " must be string", value=data__excludepackagedata_val_item, name="" + (name_prefix or "data") + ".exclude-package-data.{data__excludepackagedata_key}[{data__excludepackagedata_val_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-                if data__excludepackagedata_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".exclude-package-data must not contain "+str(data__excludepackagedata_keys)+" properties", value=data__excludepackagedata, name="" + (name_prefix or "data") + ".exclude-package-data", definition={'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, rule='additionalProperties')
-                data__excludepackagedata_len = len(data__excludepackagedata)
-                if data__excludepackagedata_len != 0:
-                    data__excludepackagedata_property_names = True
-                    for data__excludepackagedata_key in data__excludepackagedata:
-                        try:
-                            data__excludepackagedata_key_any_of_count4 = 0
-                            if not data__excludepackagedata_key_any_of_count4:
-                                try:
-                                    if not isinstance(data__excludepackagedata_key, (str)):
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".exclude-package-data must be string", value=data__excludepackagedata_key, name="" + (name_prefix or "data") + ".exclude-package-data", definition={'type': 'string', 'format': 'python-module-name'}, rule='type')
-                                    if isinstance(data__excludepackagedata_key, str):
-                                        if not custom_formats["python-module-name"](data__excludepackagedata_key):
-                                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".exclude-package-data must be python-module-name", value=data__excludepackagedata_key, name="" + (name_prefix or "data") + ".exclude-package-data", definition={'type': 'string', 'format': 'python-module-name'}, rule='format')
-                                    data__excludepackagedata_key_any_of_count4 += 1
-                                except JsonSchemaValueException: pass
-                            if not data__excludepackagedata_key_any_of_count4:
-                                try:
-                                    if data__excludepackagedata_key != "*":
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".exclude-package-data must be same as const definition: *", value=data__excludepackagedata_key, name="" + (name_prefix or "data") + ".exclude-package-data", definition={'const': '*'}, rule='const')
-                                    data__excludepackagedata_key_any_of_count4 += 1
-                                except JsonSchemaValueException: pass
-                            if not data__excludepackagedata_key_any_of_count4:
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".exclude-package-data cannot be validated by any definition", value=data__excludepackagedata_key, name="" + (name_prefix or "data") + ".exclude-package-data", definition={'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, rule='anyOf')
-                        except JsonSchemaValueException:
-                            data__excludepackagedata_property_names = False
-                    if not data__excludepackagedata_property_names:
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".exclude-package-data must be named by propertyName definition", value=data__excludepackagedata, name="" + (name_prefix or "data") + ".exclude-package-data", definition={'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, rule='propertyNames')
-        if "namespace-packages" in data_keys:
-            data_keys.remove("namespace-packages")
-            data__namespacepackages = data["namespace-packages"]
-            if not isinstance(data__namespacepackages, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".namespace-packages must be array", value=data__namespacepackages, name="" + (name_prefix or "data") + ".namespace-packages", definition={'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, rule='type')
-            data__namespacepackages_is_list = isinstance(data__namespacepackages, (list, tuple))
-            if data__namespacepackages_is_list:
-                data__namespacepackages_len = len(data__namespacepackages)
-                for data__namespacepackages_x, data__namespacepackages_item in enumerate(data__namespacepackages):
-                    if not isinstance(data__namespacepackages_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + " must be string", value=data__namespacepackages_item, name="" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='type')
-                    if isinstance(data__namespacepackages_item, str):
-                        if not custom_formats["python-module-name-relaxed"](data__namespacepackages_item):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + " must be python-module-name-relaxed", value=data__namespacepackages_item, name="" + (name_prefix or "data") + ".namespace-packages[{data__namespacepackages_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='format')
-        if "py-modules" in data_keys:
-            data_keys.remove("py-modules")
-            data__pymodules = data["py-modules"]
-            if not isinstance(data__pymodules, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-modules must be array", value=data__pymodules, name="" + (name_prefix or "data") + ".py-modules", definition={'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, rule='type')
-            data__pymodules_is_list = isinstance(data__pymodules, (list, tuple))
-            if data__pymodules_is_list:
-                data__pymodules_len = len(data__pymodules)
-                for data__pymodules_x, data__pymodules_item in enumerate(data__pymodules):
-                    if not isinstance(data__pymodules_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + " must be string", value=data__pymodules_item, name="" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='type')
-                    if isinstance(data__pymodules_item, str):
-                        if not custom_formats["python-module-name-relaxed"](data__pymodules_item):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + " must be python-module-name-relaxed", value=data__pymodules_item, name="" + (name_prefix or "data") + ".py-modules[{data__pymodules_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='format')
-        if "ext-modules" in data_keys:
-            data_keys.remove("ext-modules")
-            data__extmodules = data["ext-modules"]
-            if not isinstance(data__extmodules, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".ext-modules must be array", value=data__extmodules, name="" + (name_prefix or "data") + ".ext-modules", definition={'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}}, rule='type')
-            data__extmodules_is_list = isinstance(data__extmodules, (list, tuple))
-            if data__extmodules_is_list:
-                data__extmodules_len = len(data__extmodules)
-                for data__extmodules_x, data__extmodules_item in enumerate(data__extmodules):
-                    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_ext_module(data__extmodules_item, custom_formats, (name_prefix or "data") + ".ext-modules[{data__extmodules_x}]".format(**locals()))
-        if "data-files" in data_keys:
-            data_keys.remove("data-files")
-            data__datafiles = data["data-files"]
-            if not isinstance(data__datafiles, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".data-files must be object", value=data__datafiles, name="" + (name_prefix or "data") + ".data-files", definition={'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, rule='type')
-            data__datafiles_is_dict = isinstance(data__datafiles, dict)
-            if data__datafiles_is_dict:
-                data__datafiles_keys = set(data__datafiles.keys())
-                for data__datafiles_key, data__datafiles_val in data__datafiles.items():
-                    if REGEX_PATTERNS['^.*$'].search(data__datafiles_key):
-                        if data__datafiles_key in data__datafiles_keys:
-                            data__datafiles_keys.remove(data__datafiles_key)
-                        if not isinstance(data__datafiles_val, (list, tuple)):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".data-files.{data__datafiles_key}".format(**locals()) + " must be array", value=data__datafiles_val, name="" + (name_prefix or "data") + ".data-files.{data__datafiles_key}".format(**locals()) + "", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-                        data__datafiles_val_is_list = isinstance(data__datafiles_val, (list, tuple))
-                        if data__datafiles_val_is_list:
-                            data__datafiles_val_len = len(data__datafiles_val)
-                            for data__datafiles_val_x, data__datafiles_val_item in enumerate(data__datafiles_val):
-                                if not isinstance(data__datafiles_val_item, (str)):
-                                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".data-files.{data__datafiles_key}[{data__datafiles_val_x}]".format(**locals()) + " must be string", value=data__datafiles_val_item, name="" + (name_prefix or "data") + ".data-files.{data__datafiles_key}[{data__datafiles_val_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "cmdclass" in data_keys:
-            data_keys.remove("cmdclass")
-            data__cmdclass = data["cmdclass"]
-            if not isinstance(data__cmdclass, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".cmdclass must be object", value=data__cmdclass, name="" + (name_prefix or "data") + ".cmdclass", definition={'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', '    cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, rule='type')
-            data__cmdclass_is_dict = isinstance(data__cmdclass, dict)
-            if data__cmdclass_is_dict:
-                data__cmdclass_keys = set(data__cmdclass.keys())
-                for data__cmdclass_key, data__cmdclass_val in data__cmdclass.items():
-                    if REGEX_PATTERNS['^.*$'].search(data__cmdclass_key):
-                        if data__cmdclass_key in data__cmdclass_keys:
-                            data__cmdclass_keys.remove(data__cmdclass_key)
-                        if not isinstance(data__cmdclass_val, (str)):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".cmdclass.{data__cmdclass_key}".format(**locals()) + " must be string", value=data__cmdclass_val, name="" + (name_prefix or "data") + ".cmdclass.{data__cmdclass_key}".format(**locals()) + "", definition={'type': 'string', 'format': 'python-qualified-identifier'}, rule='type')
-                        if isinstance(data__cmdclass_val, str):
-                            if not custom_formats["python-qualified-identifier"](data__cmdclass_val):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".cmdclass.{data__cmdclass_key}".format(**locals()) + " must be python-qualified-identifier", value=data__cmdclass_val, name="" + (name_prefix or "data") + ".cmdclass.{data__cmdclass_key}".format(**locals()) + "", definition={'type': 'string', 'format': 'python-qualified-identifier'}, rule='format')
-        if "license-files" in data_keys:
-            data_keys.remove("license-files")
-            data__licensefiles = data["license-files"]
-            if not isinstance(data__licensefiles, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".license-files must be array", value=data__licensefiles, name="" + (name_prefix or "data") + ".license-files", definition={'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, rule='type')
-            data__licensefiles_is_list = isinstance(data__licensefiles, (list, tuple))
-            if data__licensefiles_is_list:
-                data__licensefiles_len = len(data__licensefiles)
-                for data__licensefiles_x, data__licensefiles_item in enumerate(data__licensefiles):
-                    if not isinstance(data__licensefiles_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".license-files[{data__licensefiles_x}]".format(**locals()) + " must be string", value=data__licensefiles_item, name="" + (name_prefix or "data") + ".license-files[{data__licensefiles_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "dynamic" in data_keys:
-            data_keys.remove("dynamic")
-            data__dynamic = data["dynamic"]
-            if not isinstance(data__dynamic, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic must be object", value=data__dynamic, name="" + (name_prefix or "data") + ".dynamic", definition={'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'classifiers': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'description': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'entry-points': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, 'readme': {'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}}}, rule='type')
-            data__dynamic_is_dict = isinstance(data__dynamic, dict)
-            if data__dynamic_is_dict:
-                data__dynamic_keys = set(data__dynamic.keys())
-                if "version" in data__dynamic_keys:
-                    data__dynamic_keys.remove("version")
-                    data__dynamic__version = data__dynamic["version"]
-                    data__dynamic__version_one_of_count5 = 0
-                    if data__dynamic__version_one_of_count5 < 2:
-                        try:
-                            validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_attr_directive(data__dynamic__version, custom_formats, (name_prefix or "data") + ".dynamic.version")
-                            data__dynamic__version_one_of_count5 += 1
-                        except JsonSchemaValueException: pass
-                    if data__dynamic__version_one_of_count5 < 2:
-                        try:
-                            validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive(data__dynamic__version, custom_formats, (name_prefix or "data") + ".dynamic.version")
-                            data__dynamic__version_one_of_count5 += 1
-                        except JsonSchemaValueException: pass
-                    if data__dynamic__version_one_of_count5 != 1:
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.version must be valid exactly by one definition" + (" (" + str(data__dynamic__version_one_of_count5) + " matches found)"), value=data__dynamic__version, name="" + (name_prefix or "data") + ".dynamic.version", definition={'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, rule='oneOf')
-                if "classifiers" in data__dynamic_keys:
-                    data__dynamic_keys.remove("classifiers")
-                    data__dynamic__classifiers = data__dynamic["classifiers"]
-                    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive(data__dynamic__classifiers, custom_formats, (name_prefix or "data") + ".dynamic.classifiers")
-                if "description" in data__dynamic_keys:
-                    data__dynamic_keys.remove("description")
-                    data__dynamic__description = data__dynamic["description"]
-                    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive(data__dynamic__description, custom_formats, (name_prefix or "data") + ".dynamic.description")
-                if "entry-points" in data__dynamic_keys:
-                    data__dynamic_keys.remove("entry-points")
-                    data__dynamic__entrypoints = data__dynamic["entry-points"]
-                    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive(data__dynamic__entrypoints, custom_formats, (name_prefix or "data") + ".dynamic.entry-points")
-                if "dependencies" in data__dynamic_keys:
-                    data__dynamic_keys.remove("dependencies")
-                    data__dynamic__dependencies = data__dynamic["dependencies"]
-                    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive_for_dependencies(data__dynamic__dependencies, custom_formats, (name_prefix or "data") + ".dynamic.dependencies")
-                if "optional-dependencies" in data__dynamic_keys:
-                    data__dynamic_keys.remove("optional-dependencies")
-                    data__dynamic__optionaldependencies = data__dynamic["optional-dependencies"]
-                    if not isinstance(data__dynamic__optionaldependencies, (dict)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.optional-dependencies must be object", value=data__dynamic__optionaldependencies, name="" + (name_prefix or "data") + ".dynamic.optional-dependencies", definition={'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, rule='type')
-                    data__dynamic__optionaldependencies_is_dict = isinstance(data__dynamic__optionaldependencies, dict)
-                    if data__dynamic__optionaldependencies_is_dict:
-                        data__dynamic__optionaldependencies_keys = set(data__dynamic__optionaldependencies.keys())
-                        for data__dynamic__optionaldependencies_key, data__dynamic__optionaldependencies_val in data__dynamic__optionaldependencies.items():
-                            if REGEX_PATTERNS['.+'].search(data__dynamic__optionaldependencies_key):
-                                if data__dynamic__optionaldependencies_key in data__dynamic__optionaldependencies_keys:
-                                    data__dynamic__optionaldependencies_keys.remove(data__dynamic__optionaldependencies_key)
-                                validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive_for_dependencies(data__dynamic__optionaldependencies_val, custom_formats, (name_prefix or "data") + ".dynamic.optional-dependencies.{data__dynamic__optionaldependencies_key}".format(**locals()))
-                        if data__dynamic__optionaldependencies_keys:
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.optional-dependencies must not contain "+str(data__dynamic__optionaldependencies_keys)+" properties", value=data__dynamic__optionaldependencies, name="" + (name_prefix or "data") + ".dynamic.optional-dependencies", definition={'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, rule='additionalProperties')
-                        data__dynamic__optionaldependencies_len = len(data__dynamic__optionaldependencies)
-                        if data__dynamic__optionaldependencies_len != 0:
-                            data__dynamic__optionaldependencies_property_names = True
-                            for data__dynamic__optionaldependencies_key in data__dynamic__optionaldependencies:
-                                try:
-                                    if not isinstance(data__dynamic__optionaldependencies_key, (str)):
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.optional-dependencies must be string", value=data__dynamic__optionaldependencies_key, name="" + (name_prefix or "data") + ".dynamic.optional-dependencies", definition={'type': 'string', 'format': 'pep508-identifier'}, rule='type')
-                                    if isinstance(data__dynamic__optionaldependencies_key, str):
-                                        if not custom_formats["pep508-identifier"](data__dynamic__optionaldependencies_key):
-                                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.optional-dependencies must be pep508-identifier", value=data__dynamic__optionaldependencies_key, name="" + (name_prefix or "data") + ".dynamic.optional-dependencies", definition={'type': 'string', 'format': 'pep508-identifier'}, rule='format')
-                                except JsonSchemaValueException:
-                                    data__dynamic__optionaldependencies_property_names = False
-                            if not data__dynamic__optionaldependencies_property_names:
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.optional-dependencies must be named by propertyName definition", value=data__dynamic__optionaldependencies, name="" + (name_prefix or "data") + ".dynamic.optional-dependencies", definition={'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, rule='propertyNames')
-                if "readme" in data__dynamic_keys:
-                    data__dynamic_keys.remove("readme")
-                    data__dynamic__readme = data__dynamic["readme"]
-                    if not isinstance(data__dynamic__readme, (dict)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.readme must be object", value=data__dynamic__readme, name="" + (name_prefix or "data") + ".dynamic.readme", definition={'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}, rule='type')
-                    data__dynamic__readme_any_of_count6 = 0
-                    if not data__dynamic__readme_any_of_count6:
-                        try:
-                            validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive(data__dynamic__readme, custom_formats, (name_prefix or "data") + ".dynamic.readme")
-                            data__dynamic__readme_any_of_count6 += 1
-                        except JsonSchemaValueException: pass
-                    if not data__dynamic__readme_any_of_count6:
-                        try:
-                            if not isinstance(data__dynamic__readme, (dict)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.readme must be object", value=data__dynamic__readme, name="" + (name_prefix or "data") + ".dynamic.readme", definition={'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}, rule='type')
-                            data__dynamic__readme_is_dict = isinstance(data__dynamic__readme, dict)
-                            if data__dynamic__readme_is_dict:
-                                data__dynamic__readme_keys = set(data__dynamic__readme.keys())
-                                if "content-type" in data__dynamic__readme_keys:
-                                    data__dynamic__readme_keys.remove("content-type")
-                                    data__dynamic__readme__contenttype = data__dynamic__readme["content-type"]
-                                    if not isinstance(data__dynamic__readme__contenttype, (str)):
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.readme.content-type must be string", value=data__dynamic__readme__contenttype, name="" + (name_prefix or "data") + ".dynamic.readme.content-type", definition={'type': 'string'}, rule='type')
-                                if "file" in data__dynamic__readme_keys:
-                                    data__dynamic__readme_keys.remove("file")
-                                    data__dynamic__readme__file = data__dynamic__readme["file"]
-                                    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive_properties_file(data__dynamic__readme__file, custom_formats, (name_prefix or "data") + ".dynamic.readme.file")
-                                if data__dynamic__readme_keys:
-                                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.readme must not contain "+str(data__dynamic__readme_keys)+" properties", value=data__dynamic__readme, name="" + (name_prefix or "data") + ".dynamic.readme", definition={'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}, rule='additionalProperties')
-                            data__dynamic__readme_any_of_count6 += 1
-                        except JsonSchemaValueException: pass
-                    if not data__dynamic__readme_any_of_count6:
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.readme cannot be validated by any definition", value=data__dynamic__readme, name="" + (name_prefix or "data") + ".dynamic.readme", definition={'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}, rule='anyOf')
-                    data__dynamic__readme_is_dict = isinstance(data__dynamic__readme, dict)
-                    if data__dynamic__readme_is_dict:
-                        data__dynamic__readme__missing_keys = set(['file']) - data__dynamic__readme.keys()
-                        if data__dynamic__readme__missing_keys:
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic.readme must contain " + (str(sorted(data__dynamic__readme__missing_keys)) + " properties"), value=data__dynamic__readme, name="" + (name_prefix or "data") + ".dynamic.readme", definition={'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}, rule='required')
-                if data__dynamic_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic must not contain "+str(data__dynamic_keys)+" properties", value=data__dynamic, name="" + (name_prefix or "data") + ".dynamic", definition={'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'classifiers': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'description': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'entry-points': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, 'readme': {'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}}}, rule='additionalProperties')
-        if data_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html', 'title': '``tool.setuptools`` table', '$$description': ['``setuptools``-specific configurations that can be set by users that require', 'customization.', 'These configurations are completely optional and probably can be skipped when', 'creating simple packages. They are equivalent to some of the `Keywords', '`_', 'used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.', 'It considers only ``setuptools`` `parameters', '`_', 'that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``', 'and ``setup_requires`` (incompatible with modern workflows/standards).'], 'type': 'object', 'additionalProperties': False, 'properties': {'platforms': {'type': 'array', 'items': {'type': 'string'}}, 'provides': {'$$description': ['Package and virtual package names contained within this package', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'obsoletes': {'$$description': ['Packages which this package renders obsolete', '**(not supported by pip)**'], 'type': 'array', 'items': {'type': 'string', 'format': 'pep508-identifier'}}, 'zip-safe': {'$$description': ['Whether the project can be safely installed and run from a zip file.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'boolean'}, 'script-files': {'$$description': ['Legacy way of defining scripts (entry-points are preferred).', 'Equivalent to the ``script`` keyword in ``setup.py``', '(it was renamed to avoid confusion with entry-point based ``project.scripts``', 'defined in :pep:`621`).', '**DISCOURAGED**: generic script wrappers are tricky and may not work properly.', 'Whenever possible, please use ``project.scripts`` instead.'], 'type': 'array', 'items': {'type': 'string'}, '$comment': 'TODO: is this field deprecated/should be removed?'}, 'eager-resources': {'$$description': ['Resources that should be extracted together, if any of them is needed,', 'or if any C extensions included in the project are imported.', '**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and', '``setup.py install`` in the context of ``eggs`` (**DEPRECATED**).'], 'type': 'array', 'items': {'type': 'string'}}, 'packages': {'$$description': ['Packages that should be included in the distribution.', 'It can be given either as a list of package identifiers', 'or as a ``dict``-like structure with a single key ``find``', 'which corresponds to a dynamic call to', '``setuptools.config.expand.find_packages`` function.', 'The ``find`` key is associated with a nested ``dict``-like structure that can', 'contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,', 'mimicking the keyword arguments of the associated function.'], 'oneOf': [{'title': 'Array of Python package identifiers', 'type': 'array', 'items': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}}, {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}]}, 'package-dir': {'$$description': [':class:`dict`-like structure mapping from package names to directories where their', 'code can be found.', 'The empty string (as key) means that all packages are contained inside', 'the given directory will be included in the distribution.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'const': ''}, {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}]}, 'patternProperties': {'^.*$': {'type': 'string'}}}, 'package-data': {'$$description': ['Mapping from package names to lists of glob patterns.', 'Usually this option is not needed when using ``include-package-data = true``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'include-package-data': {'$$description': ['Automatically include any data files inside the package directories', 'that are specified by ``MANIFEST.in``', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'boolean'}, 'exclude-package-data': {'$$description': ['Mapping from package names to lists of glob patterns that should be excluded', 'For more information on how to include data files, check ``setuptools`` `docs', '`_.'], 'type': 'object', 'additionalProperties': False, 'propertyNames': {'anyOf': [{'type': 'string', 'format': 'python-module-name'}, {'const': '*'}]}, 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'namespace-packages': {'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'https://setuptools.pypa.io/en/latest/userguide/package_discovery.html', 'description': '**DEPRECATED**: use implicit namespaces instead (:pep:`420`).'}, 'py-modules': {'description': 'Modules that setuptools will manipulate', 'type': 'array', 'items': {'type': 'string', 'format': 'python-module-name-relaxed'}, '$comment': 'TODO: clarify the relationship with ``packages``'}, 'ext-modules': {'description': 'Extension modules to be compiled by setuptools', 'type': 'array', 'items': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}}, 'data-files': {'$$description': ['``dict``-like structure where each key represents a directory and', 'the value is a list of glob patterns that should be installed in them.', '**DISCOURAGED**: please notice this might not work as expected with wheels.', 'Whenever possible, consider using data files inside the package directories', '(or create a new namespace package that only contains data files).', 'See `data files support', '`_.'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'array', 'items': {'type': 'string'}}}}, 'cmdclass': {'$$description': ['Mapping of distutils-style command names to ``setuptools.Command`` subclasses', 'which in turn should be represented by strings with a qualified class name', '(i.e., "dotted" form with module), e.g.::\n\n', '    cmdclass = {mycmd = "pkg.subpkg.module.CommandClass"}\n\n', 'The command class should be a directly defined at the top-level of the', 'containing module (no class nesting).'], 'type': 'object', 'patternProperties': {'^.*$': {'type': 'string', 'format': 'python-qualified-identifier'}}}, 'license-files': {'type': 'array', 'items': {'type': 'string'}, '$$description': ['**PROVISIONAL**: list of glob patterns for all license files being distributed.', '(likely to become standard with :pep:`639`).', "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"], '$comment': 'TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?'}, 'dynamic': {'type': 'object', 'description': 'Instructions for loading :pep:`621`-related metadata dynamically', 'additionalProperties': False, 'properties': {'version': {'$$description': ['A version dynamically loaded via either the ``attr:`` or ``file:``', 'directives. Please make sure the given file or attribute respects :pep:`440`.', 'Also ensure to set ``project.dynamic`` accordingly.'], 'oneOf': [{'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'classifiers': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'description': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'entry-points': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}, 'optional-dependencies': {'type': 'object', 'propertyNames': {'type': 'string', 'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'.+': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$ref': '#/definitions/file-directive'}]}}}, 'readme': {'type': 'object', 'anyOf': [{'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, {'type': 'object', 'properties': {'content-type': {'type': 'string'}, 'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'additionalProperties': False}], 'required': ['file']}}}}, 'definitions': {'package-name': {'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, 'ext-module': {'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, 'file-directive': {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, 'file-directive-for-dependencies': {'title': "'file:' directive for dependencies", 'allOf': [{'$$description': ['**BETA**: subset of the ``requirements.txt`` format', 'without ``pip`` flags and options', '(one :pep:`508`-compliant string per line,', 'lines that are blank or start with ``#`` are excluded).', 'See `dynamic metadata', '`_.']}, {'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}]}, 'attr-directive': {'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, 'find-directive': {'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}}}, rule='additionalProperties')
-    return data
-
-def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive_properties_file(data, custom_formats={}, name_prefix=None):
-    data_one_of_count7 = 0
-    if data_one_of_count7 < 2:
-        try:
-            if not isinstance(data, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string'}, rule='type')
-            data_one_of_count7 += 1
-        except JsonSchemaValueException: pass
-    if data_one_of_count7 < 2:
-        try:
-            if not isinstance(data, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + " must be array", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data_is_list = isinstance(data, (list, tuple))
-            if data_is_list:
-                data_len = len(data)
-                for data_x, data_item in enumerate(data):
-                    if not isinstance(data_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + "[{data_x}]".format(**locals()) + " must be string", value=data_item, name="" + (name_prefix or "data") + "[{data_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-            data_one_of_count7 += 1
-        except JsonSchemaValueException: pass
-    if data_one_of_count7 != 1:
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be valid exactly by one definition" + (" (" + str(data_one_of_count7) + " matches found)"), value=data, name="" + (name_prefix or "data") + "", definition={'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}, rule='oneOf')
-    return data
-
-def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive_for_dependencies(data, custom_formats={}, name_prefix=None):
-    validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive(data, custom_formats, (name_prefix or "data") + "")
-    return data
-
-def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_file_directive(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data__missing_keys = set(['file']) - data.keys()
-        if data__missing_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must contain " + (str(sorted(data__missing_keys)) + " properties"), value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, rule='required')
-        data_keys = set(data.keys())
-        if "file" in data_keys:
-            data_keys.remove("file")
-            data__file = data["file"]
-            data__file_one_of_count8 = 0
-            if data__file_one_of_count8 < 2:
-                try:
-                    if not isinstance(data__file, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".file must be string", value=data__file, name="" + (name_prefix or "data") + ".file", definition={'type': 'string'}, rule='type')
-                    data__file_one_of_count8 += 1
-                except JsonSchemaValueException: pass
-            if data__file_one_of_count8 < 2:
-                try:
-                    if not isinstance(data__file, (list, tuple)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".file must be array", value=data__file, name="" + (name_prefix or "data") + ".file", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-                    data__file_is_list = isinstance(data__file, (list, tuple))
-                    if data__file_is_list:
-                        data__file_len = len(data__file)
-                        for data__file_x, data__file_item in enumerate(data__file):
-                            if not isinstance(data__file_item, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".file[{data__file_x}]".format(**locals()) + " must be string", value=data__file_item, name="" + (name_prefix or "data") + ".file[{data__file_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-                    data__file_one_of_count8 += 1
-                except JsonSchemaValueException: pass
-            if data__file_one_of_count8 != 1:
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".file must be valid exactly by one definition" + (" (" + str(data__file_one_of_count8) + " matches found)"), value=data__file, name="" + (name_prefix or "data") + ".file", definition={'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}, rule='oneOf')
-        if data_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/file-directive', 'title': "'file:' directive", 'description': 'Value is read from a file (or list of files and then concatenated)', 'type': 'object', 'additionalProperties': False, 'properties': {'file': {'oneOf': [{'type': 'string'}, {'type': 'array', 'items': {'type': 'string'}}]}}, 'required': ['file']}, rule='additionalProperties')
-    return data
-
-def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_attr_directive(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data__missing_keys = set(['attr']) - data.keys()
-        if data__missing_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must contain " + (str(sorted(data__missing_keys)) + " properties"), value=data, name="" + (name_prefix or "data") + "", definition={'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, rule='required')
-        data_keys = set(data.keys())
-        if "attr" in data_keys:
-            data_keys.remove("attr")
-            data__attr = data["attr"]
-            if not isinstance(data__attr, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".attr must be string", value=data__attr, name="" + (name_prefix or "data") + ".attr", definition={'type': 'string', 'format': 'python-qualified-identifier'}, rule='type')
-            if isinstance(data__attr, str):
-                if not custom_formats["python-qualified-identifier"](data__attr):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".attr must be python-qualified-identifier", value=data__attr, name="" + (name_prefix or "data") + ".attr", definition={'type': 'string', 'format': 'python-qualified-identifier'}, rule='format')
-        if data_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'title': "'attr:' directive", '$id': '#/definitions/attr-directive', '$$description': ['Value is read from a module attribute. Supports callables and iterables;', 'unsupported types are cast via ``str()``'], 'type': 'object', 'additionalProperties': False, 'properties': {'attr': {'type': 'string', 'format': 'python-qualified-identifier'}}, 'required': ['attr']}, rule='additionalProperties')
-    return data
-
-def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_ext_module(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data__missing_keys = set(['name', 'sources']) - data.keys()
-        if data__missing_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must contain " + (str(sorted(data__missing_keys)) + " properties"), value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, rule='required')
-        data_keys = set(data.keys())
-        if "name" in data_keys:
-            data_keys.remove("name")
-            data__name = data["name"]
-            if not isinstance(data__name, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".name must be string", value=data__name, name="" + (name_prefix or "data") + ".name", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='type')
-            if isinstance(data__name, str):
-                if not custom_formats["python-module-name-relaxed"](data__name):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".name must be python-module-name-relaxed", value=data__name, name="" + (name_prefix or "data") + ".name", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='format')
-        if "sources" in data_keys:
-            data_keys.remove("sources")
-            data__sources = data["sources"]
-            if not isinstance(data__sources, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".sources must be array", value=data__sources, name="" + (name_prefix or "data") + ".sources", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__sources_is_list = isinstance(data__sources, (list, tuple))
-            if data__sources_is_list:
-                data__sources_len = len(data__sources)
-                for data__sources_x, data__sources_item in enumerate(data__sources):
-                    if not isinstance(data__sources_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".sources[{data__sources_x}]".format(**locals()) + " must be string", value=data__sources_item, name="" + (name_prefix or "data") + ".sources[{data__sources_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "include-dirs" in data_keys:
-            data_keys.remove("include-dirs")
-            data__includedirs = data["include-dirs"]
-            if not isinstance(data__includedirs, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".include-dirs must be array", value=data__includedirs, name="" + (name_prefix or "data") + ".include-dirs", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__includedirs_is_list = isinstance(data__includedirs, (list, tuple))
-            if data__includedirs_is_list:
-                data__includedirs_len = len(data__includedirs)
-                for data__includedirs_x, data__includedirs_item in enumerate(data__includedirs):
-                    if not isinstance(data__includedirs_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".include-dirs[{data__includedirs_x}]".format(**locals()) + " must be string", value=data__includedirs_item, name="" + (name_prefix or "data") + ".include-dirs[{data__includedirs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "define-macros" in data_keys:
-            data_keys.remove("define-macros")
-            data__definemacros = data["define-macros"]
-            if not isinstance(data__definemacros, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros must be array", value=data__definemacros, name="" + (name_prefix or "data") + ".define-macros", definition={'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, rule='type')
-            data__definemacros_is_list = isinstance(data__definemacros, (list, tuple))
-            if data__definemacros_is_list:
-                data__definemacros_len = len(data__definemacros)
-                for data__definemacros_x, data__definemacros_item in enumerate(data__definemacros):
-                    if not isinstance(data__definemacros_item, (list, tuple)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}]".format(**locals()) + " must be array", value=data__definemacros_item, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}]".format(**locals()) + "", definition={'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}, rule='type')
-                    data__definemacros_item_is_list = isinstance(data__definemacros_item, (list, tuple))
-                    if data__definemacros_item_is_list:
-                        data__definemacros_item_len = len(data__definemacros_item)
-                        if data__definemacros_item_len > 0:
-                            data__definemacros_item__0 = data__definemacros_item[0]
-                            if not isinstance(data__definemacros_item__0, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][0]".format(**locals()) + " must be string", value=data__definemacros_item__0, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][0]".format(**locals()) + "", definition={'description': 'macro name', 'type': 'string'}, rule='type')
-                        if data__definemacros_item_len > 1:
-                            data__definemacros_item__1 = data__definemacros_item[1]
-                            data__definemacros_item__1_one_of_count9 = 0
-                            if data__definemacros_item__1_one_of_count9 < 2:
-                                try:
-                                    if not isinstance(data__definemacros_item__1, (str)):
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + " must be string", value=data__definemacros_item__1, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-                                    data__definemacros_item__1_one_of_count9 += 1
-                                except JsonSchemaValueException: pass
-                            if data__definemacros_item__1_one_of_count9 < 2:
-                                try:
-                                    if not isinstance(data__definemacros_item__1, (NoneType)):
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + " must be null", value=data__definemacros_item__1, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + "", definition={'type': 'null'}, rule='type')
-                                    data__definemacros_item__1_one_of_count9 += 1
-                                except JsonSchemaValueException: pass
-                            if data__definemacros_item__1_one_of_count9 != 1:
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + " must be valid exactly by one definition" + (" (" + str(data__definemacros_item__1_one_of_count9) + " matches found)"), value=data__definemacros_item__1, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}][1]".format(**locals()) + "", definition={'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}, rule='oneOf')
-                        if data__definemacros_item_len > 2:
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}]".format(**locals()) + " must contain only specified items", value=data__definemacros_item, name="" + (name_prefix or "data") + ".define-macros[{data__definemacros_x}]".format(**locals()) + "", definition={'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}, rule='items')
-        if "undef-macros" in data_keys:
-            data_keys.remove("undef-macros")
-            data__undefmacros = data["undef-macros"]
-            if not isinstance(data__undefmacros, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".undef-macros must be array", value=data__undefmacros, name="" + (name_prefix or "data") + ".undef-macros", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__undefmacros_is_list = isinstance(data__undefmacros, (list, tuple))
-            if data__undefmacros_is_list:
-                data__undefmacros_len = len(data__undefmacros)
-                for data__undefmacros_x, data__undefmacros_item in enumerate(data__undefmacros):
-                    if not isinstance(data__undefmacros_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".undef-macros[{data__undefmacros_x}]".format(**locals()) + " must be string", value=data__undefmacros_item, name="" + (name_prefix or "data") + ".undef-macros[{data__undefmacros_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "library-dirs" in data_keys:
-            data_keys.remove("library-dirs")
-            data__librarydirs = data["library-dirs"]
-            if not isinstance(data__librarydirs, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".library-dirs must be array", value=data__librarydirs, name="" + (name_prefix or "data") + ".library-dirs", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__librarydirs_is_list = isinstance(data__librarydirs, (list, tuple))
-            if data__librarydirs_is_list:
-                data__librarydirs_len = len(data__librarydirs)
-                for data__librarydirs_x, data__librarydirs_item in enumerate(data__librarydirs):
-                    if not isinstance(data__librarydirs_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".library-dirs[{data__librarydirs_x}]".format(**locals()) + " must be string", value=data__librarydirs_item, name="" + (name_prefix or "data") + ".library-dirs[{data__librarydirs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "libraries" in data_keys:
-            data_keys.remove("libraries")
-            data__libraries = data["libraries"]
-            if not isinstance(data__libraries, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".libraries must be array", value=data__libraries, name="" + (name_prefix or "data") + ".libraries", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__libraries_is_list = isinstance(data__libraries, (list, tuple))
-            if data__libraries_is_list:
-                data__libraries_len = len(data__libraries)
-                for data__libraries_x, data__libraries_item in enumerate(data__libraries):
-                    if not isinstance(data__libraries_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".libraries[{data__libraries_x}]".format(**locals()) + " must be string", value=data__libraries_item, name="" + (name_prefix or "data") + ".libraries[{data__libraries_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "runtime-library-dirs" in data_keys:
-            data_keys.remove("runtime-library-dirs")
-            data__runtimelibrarydirs = data["runtime-library-dirs"]
-            if not isinstance(data__runtimelibrarydirs, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".runtime-library-dirs must be array", value=data__runtimelibrarydirs, name="" + (name_prefix or "data") + ".runtime-library-dirs", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__runtimelibrarydirs_is_list = isinstance(data__runtimelibrarydirs, (list, tuple))
-            if data__runtimelibrarydirs_is_list:
-                data__runtimelibrarydirs_len = len(data__runtimelibrarydirs)
-                for data__runtimelibrarydirs_x, data__runtimelibrarydirs_item in enumerate(data__runtimelibrarydirs):
-                    if not isinstance(data__runtimelibrarydirs_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".runtime-library-dirs[{data__runtimelibrarydirs_x}]".format(**locals()) + " must be string", value=data__runtimelibrarydirs_item, name="" + (name_prefix or "data") + ".runtime-library-dirs[{data__runtimelibrarydirs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "extra-objects" in data_keys:
-            data_keys.remove("extra-objects")
-            data__extraobjects = data["extra-objects"]
-            if not isinstance(data__extraobjects, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-objects must be array", value=data__extraobjects, name="" + (name_prefix or "data") + ".extra-objects", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__extraobjects_is_list = isinstance(data__extraobjects, (list, tuple))
-            if data__extraobjects_is_list:
-                data__extraobjects_len = len(data__extraobjects)
-                for data__extraobjects_x, data__extraobjects_item in enumerate(data__extraobjects):
-                    if not isinstance(data__extraobjects_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-objects[{data__extraobjects_x}]".format(**locals()) + " must be string", value=data__extraobjects_item, name="" + (name_prefix or "data") + ".extra-objects[{data__extraobjects_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "extra-compile-args" in data_keys:
-            data_keys.remove("extra-compile-args")
-            data__extracompileargs = data["extra-compile-args"]
-            if not isinstance(data__extracompileargs, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-compile-args must be array", value=data__extracompileargs, name="" + (name_prefix or "data") + ".extra-compile-args", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__extracompileargs_is_list = isinstance(data__extracompileargs, (list, tuple))
-            if data__extracompileargs_is_list:
-                data__extracompileargs_len = len(data__extracompileargs)
-                for data__extracompileargs_x, data__extracompileargs_item in enumerate(data__extracompileargs):
-                    if not isinstance(data__extracompileargs_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-compile-args[{data__extracompileargs_x}]".format(**locals()) + " must be string", value=data__extracompileargs_item, name="" + (name_prefix or "data") + ".extra-compile-args[{data__extracompileargs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "extra-link-args" in data_keys:
-            data_keys.remove("extra-link-args")
-            data__extralinkargs = data["extra-link-args"]
-            if not isinstance(data__extralinkargs, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-link-args must be array", value=data__extralinkargs, name="" + (name_prefix or "data") + ".extra-link-args", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__extralinkargs_is_list = isinstance(data__extralinkargs, (list, tuple))
-            if data__extralinkargs_is_list:
-                data__extralinkargs_len = len(data__extralinkargs)
-                for data__extralinkargs_x, data__extralinkargs_item in enumerate(data__extralinkargs):
-                    if not isinstance(data__extralinkargs_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".extra-link-args[{data__extralinkargs_x}]".format(**locals()) + " must be string", value=data__extralinkargs_item, name="" + (name_prefix or "data") + ".extra-link-args[{data__extralinkargs_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "export-symbols" in data_keys:
-            data_keys.remove("export-symbols")
-            data__exportsymbols = data["export-symbols"]
-            if not isinstance(data__exportsymbols, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".export-symbols must be array", value=data__exportsymbols, name="" + (name_prefix or "data") + ".export-symbols", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__exportsymbols_is_list = isinstance(data__exportsymbols, (list, tuple))
-            if data__exportsymbols_is_list:
-                data__exportsymbols_len = len(data__exportsymbols)
-                for data__exportsymbols_x, data__exportsymbols_item in enumerate(data__exportsymbols):
-                    if not isinstance(data__exportsymbols_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".export-symbols[{data__exportsymbols_x}]".format(**locals()) + " must be string", value=data__exportsymbols_item, name="" + (name_prefix or "data") + ".export-symbols[{data__exportsymbols_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "swig-opts" in data_keys:
-            data_keys.remove("swig-opts")
-            data__swigopts = data["swig-opts"]
-            if not isinstance(data__swigopts, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".swig-opts must be array", value=data__swigopts, name="" + (name_prefix or "data") + ".swig-opts", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__swigopts_is_list = isinstance(data__swigopts, (list, tuple))
-            if data__swigopts_is_list:
-                data__swigopts_len = len(data__swigopts)
-                for data__swigopts_x, data__swigopts_item in enumerate(data__swigopts):
-                    if not isinstance(data__swigopts_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".swig-opts[{data__swigopts_x}]".format(**locals()) + " must be string", value=data__swigopts_item, name="" + (name_prefix or "data") + ".swig-opts[{data__swigopts_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "depends" in data_keys:
-            data_keys.remove("depends")
-            data__depends = data["depends"]
-            if not isinstance(data__depends, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".depends must be array", value=data__depends, name="" + (name_prefix or "data") + ".depends", definition={'type': 'array', 'items': {'type': 'string'}}, rule='type')
-            data__depends_is_list = isinstance(data__depends, (list, tuple))
-            if data__depends_is_list:
-                data__depends_len = len(data__depends)
-                for data__depends_x, data__depends_item in enumerate(data__depends):
-                    if not isinstance(data__depends_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".depends[{data__depends_x}]".format(**locals()) + " must be string", value=data__depends_item, name="" + (name_prefix or "data") + ".depends[{data__depends_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "language" in data_keys:
-            data_keys.remove("language")
-            data__language = data["language"]
-            if not isinstance(data__language, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".language must be string", value=data__language, name="" + (name_prefix or "data") + ".language", definition={'type': 'string'}, rule='type')
-        if "optional" in data_keys:
-            data_keys.remove("optional")
-            data__optional = data["optional"]
-            if not isinstance(data__optional, (bool)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".optional must be boolean", value=data__optional, name="" + (name_prefix or "data") + ".optional", definition={'type': 'boolean'}, rule='type')
-        if "py-limited-api" in data_keys:
-            data_keys.remove("py-limited-api")
-            data__pylimitedapi = data["py-limited-api"]
-            if not isinstance(data__pylimitedapi, (bool)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".py-limited-api must be boolean", value=data__pylimitedapi, name="" + (name_prefix or "data") + ".py-limited-api", definition={'type': 'boolean'}, rule='type')
-        if data_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/ext-module', 'title': 'Extension module', 'description': 'Parameters to construct a :class:`setuptools.Extension` object', 'type': 'object', 'required': ['name', 'sources'], 'additionalProperties': False, 'properties': {'name': {'type': 'string', 'format': 'python-module-name-relaxed'}, 'sources': {'type': 'array', 'items': {'type': 'string'}}, 'include-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'define-macros': {'type': 'array', 'items': {'type': 'array', 'items': [{'description': 'macro name', 'type': 'string'}, {'description': 'macro value', 'oneOf': [{'type': 'string'}, {'type': 'null'}]}], 'additionalItems': False}}, 'undef-macros': {'type': 'array', 'items': {'type': 'string'}}, 'library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'libraries': {'type': 'array', 'items': {'type': 'string'}}, 'runtime-library-dirs': {'type': 'array', 'items': {'type': 'string'}}, 'extra-objects': {'type': 'array', 'items': {'type': 'string'}}, 'extra-compile-args': {'type': 'array', 'items': {'type': 'string'}}, 'extra-link-args': {'type': 'array', 'items': {'type': 'string'}}, 'export-symbols': {'type': 'array', 'items': {'type': 'string'}}, 'swig-opts': {'type': 'array', 'items': {'type': 'string'}}, 'depends': {'type': 'array', 'items': {'type': 'string'}}, 'language': {'type': 'string'}, 'optional': {'type': 'boolean'}, 'py-limited-api': {'type': 'boolean'}}}, rule='additionalProperties')
-    return data
-
-def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_find_directive(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data_keys = set(data.keys())
-        if "find" in data_keys:
-            data_keys.remove("find")
-            data__find = data["find"]
-            if not isinstance(data__find, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".find must be object", value=data__find, name="" + (name_prefix or "data") + ".find", definition={'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}, rule='type')
-            data__find_is_dict = isinstance(data__find, dict)
-            if data__find_is_dict:
-                data__find_keys = set(data__find.keys())
-                if "where" in data__find_keys:
-                    data__find_keys.remove("where")
-                    data__find__where = data__find["where"]
-                    if not isinstance(data__find__where, (list, tuple)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".find.where must be array", value=data__find__where, name="" + (name_prefix or "data") + ".find.where", definition={'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, rule='type')
-                    data__find__where_is_list = isinstance(data__find__where, (list, tuple))
-                    if data__find__where_is_list:
-                        data__find__where_len = len(data__find__where)
-                        for data__find__where_x, data__find__where_item in enumerate(data__find__where):
-                            if not isinstance(data__find__where_item, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".find.where[{data__find__where_x}]".format(**locals()) + " must be string", value=data__find__where_item, name="" + (name_prefix or "data") + ".find.where[{data__find__where_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-                if "exclude" in data__find_keys:
-                    data__find_keys.remove("exclude")
-                    data__find__exclude = data__find["exclude"]
-                    if not isinstance(data__find__exclude, (list, tuple)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".find.exclude must be array", value=data__find__exclude, name="" + (name_prefix or "data") + ".find.exclude", definition={'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, rule='type')
-                    data__find__exclude_is_list = isinstance(data__find__exclude, (list, tuple))
-                    if data__find__exclude_is_list:
-                        data__find__exclude_len = len(data__find__exclude)
-                        for data__find__exclude_x, data__find__exclude_item in enumerate(data__find__exclude):
-                            if not isinstance(data__find__exclude_item, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".find.exclude[{data__find__exclude_x}]".format(**locals()) + " must be string", value=data__find__exclude_item, name="" + (name_prefix or "data") + ".find.exclude[{data__find__exclude_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-                if "include" in data__find_keys:
-                    data__find_keys.remove("include")
-                    data__find__include = data__find["include"]
-                    if not isinstance(data__find__include, (list, tuple)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".find.include must be array", value=data__find__include, name="" + (name_prefix or "data") + ".find.include", definition={'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, rule='type')
-                    data__find__include_is_list = isinstance(data__find__include, (list, tuple))
-                    if data__find__include_is_list:
-                        data__find__include_len = len(data__find__include)
-                        for data__find__include_x, data__find__include_item in enumerate(data__find__include):
-                            if not isinstance(data__find__include_item, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".find.include[{data__find__include_x}]".format(**locals()) + " must be string", value=data__find__include_item, name="" + (name_prefix or "data") + ".find.include[{data__find__include_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-                if "namespaces" in data__find_keys:
-                    data__find_keys.remove("namespaces")
-                    data__find__namespaces = data__find["namespaces"]
-                    if not isinstance(data__find__namespaces, (bool)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".find.namespaces must be boolean", value=data__find__namespaces, name="" + (name_prefix or "data") + ".find.namespaces", definition={'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}, rule='type')
-                if data__find_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".find must not contain "+str(data__find_keys)+" properties", value=data__find, name="" + (name_prefix or "data") + ".find", definition={'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}, rule='additionalProperties')
-        if data_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/find-directive', 'title': "'find:' directive", 'type': 'object', 'additionalProperties': False, 'properties': {'find': {'type': 'object', '$$description': ['Dynamic `package discovery', '`_.'], 'additionalProperties': False, 'properties': {'where': {'description': 'Directories to be searched for packages (Unix-style relative path)', 'type': 'array', 'items': {'type': 'string'}}, 'exclude': {'type': 'array', '$$description': ['Exclude packages that match the values listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'include': {'type': 'array', '$$description': ['Restrict the found packages to just the ones listed in this field.', "Can container shell-style wildcards (e.g. ``'pkg.*'``)"], 'items': {'type': 'string'}}, 'namespaces': {'type': 'boolean', '$$description': ['When ``True``, directories without a ``__init__.py`` file will also', 'be scanned for :pep:`420`-style implicit namespaces']}}}}}, rule='additionalProperties')
-    return data
-
-def validate_https___setuptools_pypa_io_en_latest_userguide_pyproject_config_html__definitions_package_name(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (str)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, rule='type')
-    data_any_of_count10 = 0
-    if not data_any_of_count10:
-        try:
-            if not isinstance(data, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='type')
-            if isinstance(data, str):
-                if not custom_formats["python-module-name-relaxed"](data):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + " must be python-module-name-relaxed", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'python-module-name-relaxed'}, rule='format')
-            data_any_of_count10 += 1
-        except JsonSchemaValueException: pass
-    if not data_any_of_count10:
-        try:
-            if not isinstance(data, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'pep561-stub-name'}, rule='type')
-            if isinstance(data, str):
-                if not custom_formats["pep561-stub-name"](data):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + " must be pep561-stub-name", value=data, name="" + (name_prefix or "data") + "", definition={'type': 'string', 'format': 'pep561-stub-name'}, rule='format')
-            data_any_of_count10 += 1
-        except JsonSchemaValueException: pass
-    if not data_any_of_count10:
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " cannot be validated by any definition", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/package-name', 'title': 'Valid package name', 'description': 'Valid package name (importable or :pep:`561`).', 'type': 'string', 'anyOf': [{'type': 'string', 'format': 'python-module-name-relaxed'}, {'type': 'string', 'format': 'pep561-stub-name'}]}, rule='anyOf')
-    return data
-
-def validate_https___setuptools_pypa_io_en_latest_deprecated_distutils_configfile_html(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html', 'title': '``tool.distutils`` table', '$$description': ['**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``', 'subtables to configure arguments for ``distutils`` commands.', 'Originally, ``distutils`` allowed developers to configure arguments for', '``setup.py`` commands via `distutils configuration files', '`_.', 'See also `the old Python docs _`.'], 'type': 'object', 'properties': {'global': {'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}}, 'patternProperties': {'.+': {'type': 'object'}}, '$comment': 'TODO: Is there a practical way of making this schema more specific?'}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data_keys = set(data.keys())
-        if "global" in data_keys:
-            data_keys.remove("global")
-            data__global = data["global"]
-            if not isinstance(data__global, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".global must be object", value=data__global, name="" + (name_prefix or "data") + ".global", definition={'type': 'object', 'description': 'Global options applied to all ``distutils`` commands'}, rule='type')
-        for data_key, data_val in data.items():
-            if REGEX_PATTERNS['.+'].search(data_key):
-                if data_key in data_keys:
-                    data_keys.remove(data_key)
-                if not isinstance(data_val, (dict)):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".{data_key}".format(**locals()) + " must be object", value=data_val, name="" + (name_prefix or "data") + ".{data_key}".format(**locals()) + "", definition={'type': 'object'}, rule='type')
-    return data
-
-def validate_https___packaging_python_org_en_latest_specifications_pyproject_toml(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '`_', "with meaning similar to the one defined in `core metadata's Description", '`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '`_.']}, 'license': {'description': '`Project license `_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, '$$description': ['`Trove classifiers `_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'gui-scripts': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', '    If the core metadata specification lists a field as "Required", then', '    the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', '    The required fields are: Metadata-Version, Name, Version.', '    All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data__missing_keys = set(['name']) - data.keys()
-        if data__missing_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must contain " + (str(sorted(data__missing_keys)) + " properties"), value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '`_', "with meaning similar to the one defined in `core metadata's Description", '`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '`_.']}, 'license': {'description': '`Project license `_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, '$$description': ['`Trove classifiers `_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'gui-scripts': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', '    If the core metadata specification lists a field as "Required", then', '    the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', '    The required fields are: Metadata-Version, Name, Version.', '    All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}, rule='required')
-        data_keys = set(data.keys())
-        if "name" in data_keys:
-            data_keys.remove("name")
-            data__name = data["name"]
-            if not isinstance(data__name, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".name must be string", value=data__name, name="" + (name_prefix or "data") + ".name", definition={'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, rule='type')
-            if isinstance(data__name, str):
-                if not custom_formats["pep508-identifier"](data__name):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".name must be pep508-identifier", value=data__name, name="" + (name_prefix or "data") + ".name", definition={'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, rule='format')
-        if "version" in data_keys:
-            data_keys.remove("version")
-            data__version = data["version"]
-            if not isinstance(data__version, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".version must be string", value=data__version, name="" + (name_prefix or "data") + ".version", definition={'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, rule='type')
-            if isinstance(data__version, str):
-                if not custom_formats["pep440"](data__version):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".version must be pep440", value=data__version, name="" + (name_prefix or "data") + ".version", definition={'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, rule='format')
-        if "description" in data_keys:
-            data_keys.remove("description")
-            data__description = data["description"]
-            if not isinstance(data__description, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".description must be string", value=data__description, name="" + (name_prefix or "data") + ".description", definition={'type': 'string', '$$description': ['The `summary description of the project', '`_']}, rule='type')
-        if "readme" in data_keys:
-            data_keys.remove("readme")
-            data__readme = data["readme"]
-            data__readme_one_of_count11 = 0
-            if data__readme_one_of_count11 < 2:
-                try:
-                    if not isinstance(data__readme, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must be string", value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, rule='type')
-                    data__readme_one_of_count11 += 1
-                except JsonSchemaValueException: pass
-            if data__readme_one_of_count11 < 2:
-                try:
-                    if not isinstance(data__readme, (dict)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must be object", value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}, rule='type')
-                    data__readme_any_of_count12 = 0
-                    if not data__readme_any_of_count12:
-                        try:
-                            data__readme_is_dict = isinstance(data__readme, dict)
-                            if data__readme_is_dict:
-                                data__readme__missing_keys = set(['file']) - data__readme.keys()
-                                if data__readme__missing_keys:
-                                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must contain " + (str(sorted(data__readme__missing_keys)) + " properties"), value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, rule='required')
-                                data__readme_keys = set(data__readme.keys())
-                                if "file" in data__readme_keys:
-                                    data__readme_keys.remove("file")
-                                    data__readme__file = data__readme["file"]
-                                    if not isinstance(data__readme__file, (str)):
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme.file must be string", value=data__readme__file, name="" + (name_prefix or "data") + ".readme.file", definition={'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}, rule='type')
-                            data__readme_any_of_count12 += 1
-                        except JsonSchemaValueException: pass
-                    if not data__readme_any_of_count12:
-                        try:
-                            data__readme_is_dict = isinstance(data__readme, dict)
-                            if data__readme_is_dict:
-                                data__readme__missing_keys = set(['text']) - data__readme.keys()
-                                if data__readme__missing_keys:
-                                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must contain " + (str(sorted(data__readme__missing_keys)) + " properties"), value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}, rule='required')
-                                data__readme_keys = set(data__readme.keys())
-                                if "text" in data__readme_keys:
-                                    data__readme_keys.remove("text")
-                                    data__readme__text = data__readme["text"]
-                                    if not isinstance(data__readme__text, (str)):
-                                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme.text must be string", value=data__readme__text, name="" + (name_prefix or "data") + ".readme.text", definition={'type': 'string', 'description': 'Full text describing the project.'}, rule='type')
-                            data__readme_any_of_count12 += 1
-                        except JsonSchemaValueException: pass
-                    if not data__readme_any_of_count12:
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme cannot be validated by any definition", value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, rule='anyOf')
-                    data__readme_is_dict = isinstance(data__readme, dict)
-                    if data__readme_is_dict:
-                        data__readme__missing_keys = set(['content-type']) - data__readme.keys()
-                        if data__readme__missing_keys:
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must contain " + (str(sorted(data__readme__missing_keys)) + " properties"), value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}, rule='required')
-                        data__readme_keys = set(data__readme.keys())
-                        if "content-type" in data__readme_keys:
-                            data__readme_keys.remove("content-type")
-                            data__readme__contenttype = data__readme["content-type"]
-                            if not isinstance(data__readme__contenttype, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme.content-type must be string", value=data__readme__contenttype, name="" + (name_prefix or "data") + ".readme.content-type", definition={'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}, rule='type')
-                    data__readme_one_of_count11 += 1
-                except JsonSchemaValueException: pass
-            if data__readme_one_of_count11 != 1:
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".readme must be valid exactly by one definition" + (" (" + str(data__readme_one_of_count11) + " matches found)"), value=data__readme, name="" + (name_prefix or "data") + ".readme", definition={'$$description': ['`Full/detailed description of the project in the form of a README', '`_', "with meaning similar to the one defined in `core metadata's Description", '`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, rule='oneOf')
-        if "requires-python" in data_keys:
-            data_keys.remove("requires-python")
-            data__requirespython = data["requires-python"]
-            if not isinstance(data__requirespython, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".requires-python must be string", value=data__requirespython, name="" + (name_prefix or "data") + ".requires-python", definition={'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '`_.']}, rule='type')
-            if isinstance(data__requirespython, str):
-                if not custom_formats["pep508-versionspec"](data__requirespython):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".requires-python must be pep508-versionspec", value=data__requirespython, name="" + (name_prefix or "data") + ".requires-python", definition={'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '`_.']}, rule='format')
-        if "license" in data_keys:
-            data_keys.remove("license")
-            data__license = data["license"]
-            data__license_one_of_count13 = 0
-            if data__license_one_of_count13 < 2:
-                try:
-                    data__license_is_dict = isinstance(data__license, dict)
-                    if data__license_is_dict:
-                        data__license__missing_keys = set(['file']) - data__license.keys()
-                        if data__license__missing_keys:
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".license must contain " + (str(sorted(data__license__missing_keys)) + " properties"), value=data__license, name="" + (name_prefix or "data") + ".license", definition={'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, rule='required')
-                        data__license_keys = set(data__license.keys())
-                        if "file" in data__license_keys:
-                            data__license_keys.remove("file")
-                            data__license__file = data__license["file"]
-                            if not isinstance(data__license__file, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".license.file must be string", value=data__license__file, name="" + (name_prefix or "data") + ".license.file", definition={'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}, rule='type')
-                    data__license_one_of_count13 += 1
-                except JsonSchemaValueException: pass
-            if data__license_one_of_count13 < 2:
-                try:
-                    data__license_is_dict = isinstance(data__license, dict)
-                    if data__license_is_dict:
-                        data__license__missing_keys = set(['text']) - data__license.keys()
-                        if data__license__missing_keys:
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".license must contain " + (str(sorted(data__license__missing_keys)) + " properties"), value=data__license, name="" + (name_prefix or "data") + ".license", definition={'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}}, 'required': ['text']}, rule='required')
-                        data__license_keys = set(data__license.keys())
-                        if "text" in data__license_keys:
-                            data__license_keys.remove("text")
-                            data__license__text = data__license["text"]
-                            if not isinstance(data__license__text, (str)):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".license.text must be string", value=data__license__text, name="" + (name_prefix or "data") + ".license.text", definition={'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}, rule='type')
-                    data__license_one_of_count13 += 1
-                except JsonSchemaValueException: pass
-            if data__license_one_of_count13 != 1:
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".license must be valid exactly by one definition" + (" (" + str(data__license_one_of_count13) + " matches found)"), value=data__license, name="" + (name_prefix or "data") + ".license", definition={'description': '`Project license `_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}}, 'required': ['text']}]}, rule='oneOf')
-        if "authors" in data_keys:
-            data_keys.remove("authors")
-            data__authors = data["authors"]
-            if not isinstance(data__authors, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".authors must be array", value=data__authors, name="" + (name_prefix or "data") + ".authors", definition={'type': 'array', 'items': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, rule='type')
-            data__authors_is_list = isinstance(data__authors, (list, tuple))
-            if data__authors_is_list:
-                data__authors_len = len(data__authors)
-                for data__authors_x, data__authors_item in enumerate(data__authors):
-                    validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_author(data__authors_item, custom_formats, (name_prefix or "data") + ".authors[{data__authors_x}]".format(**locals()))
-        if "maintainers" in data_keys:
-            data_keys.remove("maintainers")
-            data__maintainers = data["maintainers"]
-            if not isinstance(data__maintainers, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".maintainers must be array", value=data__maintainers, name="" + (name_prefix or "data") + ".maintainers", definition={'type': 'array', 'items': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, rule='type')
-            data__maintainers_is_list = isinstance(data__maintainers, (list, tuple))
-            if data__maintainers_is_list:
-                data__maintainers_len = len(data__maintainers)
-                for data__maintainers_x, data__maintainers_item in enumerate(data__maintainers):
-                    validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_author(data__maintainers_item, custom_formats, (name_prefix or "data") + ".maintainers[{data__maintainers_x}]".format(**locals()))
-        if "keywords" in data_keys:
-            data_keys.remove("keywords")
-            data__keywords = data["keywords"]
-            if not isinstance(data__keywords, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".keywords must be array", value=data__keywords, name="" + (name_prefix or "data") + ".keywords", definition={'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, rule='type')
-            data__keywords_is_list = isinstance(data__keywords, (list, tuple))
-            if data__keywords_is_list:
-                data__keywords_len = len(data__keywords)
-                for data__keywords_x, data__keywords_item in enumerate(data__keywords):
-                    if not isinstance(data__keywords_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".keywords[{data__keywords_x}]".format(**locals()) + " must be string", value=data__keywords_item, name="" + (name_prefix or "data") + ".keywords[{data__keywords_x}]".format(**locals()) + "", definition={'type': 'string'}, rule='type')
-        if "classifiers" in data_keys:
-            data_keys.remove("classifiers")
-            data__classifiers = data["classifiers"]
-            if not isinstance(data__classifiers, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".classifiers must be array", value=data__classifiers, name="" + (name_prefix or "data") + ".classifiers", definition={'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, '$$description': ['`Trove classifiers `_', 'which apply to the project.']}, rule='type')
-            data__classifiers_is_list = isinstance(data__classifiers, (list, tuple))
-            if data__classifiers_is_list:
-                data__classifiers_len = len(data__classifiers)
-                for data__classifiers_x, data__classifiers_item in enumerate(data__classifiers):
-                    if not isinstance(data__classifiers_item, (str)):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".classifiers[{data__classifiers_x}]".format(**locals()) + " must be string", value=data__classifiers_item, name="" + (name_prefix or "data") + ".classifiers[{data__classifiers_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, rule='type')
-                    if isinstance(data__classifiers_item, str):
-                        if not custom_formats["trove-classifier"](data__classifiers_item):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".classifiers[{data__classifiers_x}]".format(**locals()) + " must be trove-classifier", value=data__classifiers_item, name="" + (name_prefix or "data") + ".classifiers[{data__classifiers_x}]".format(**locals()) + "", definition={'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, rule='format')
-        if "urls" in data_keys:
-            data_keys.remove("urls")
-            data__urls = data["urls"]
-            if not isinstance(data__urls, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".urls must be object", value=data__urls, name="" + (name_prefix or "data") + ".urls", definition={'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, rule='type')
-            data__urls_is_dict = isinstance(data__urls, dict)
-            if data__urls_is_dict:
-                data__urls_keys = set(data__urls.keys())
-                for data__urls_key, data__urls_val in data__urls.items():
-                    if REGEX_PATTERNS['^.+$'].search(data__urls_key):
-                        if data__urls_key in data__urls_keys:
-                            data__urls_keys.remove(data__urls_key)
-                        if not isinstance(data__urls_val, (str)):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".urls.{data__urls_key}".format(**locals()) + " must be string", value=data__urls_val, name="" + (name_prefix or "data") + ".urls.{data__urls_key}".format(**locals()) + "", definition={'type': 'string', 'format': 'url'}, rule='type')
-                        if isinstance(data__urls_val, str):
-                            if not custom_formats["url"](data__urls_val):
-                                raise JsonSchemaValueException("" + (name_prefix or "data") + ".urls.{data__urls_key}".format(**locals()) + " must be url", value=data__urls_val, name="" + (name_prefix or "data") + ".urls.{data__urls_key}".format(**locals()) + "", definition={'type': 'string', 'format': 'url'}, rule='format')
-                if data__urls_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".urls must not contain "+str(data__urls_keys)+" properties", value=data__urls, name="" + (name_prefix or "data") + ".urls", definition={'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, rule='additionalProperties')
-        if "scripts" in data_keys:
-            data_keys.remove("scripts")
-            data__scripts = data["scripts"]
-            validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_entry_point_group(data__scripts, custom_formats, (name_prefix or "data") + ".scripts")
-        if "gui-scripts" in data_keys:
-            data_keys.remove("gui-scripts")
-            data__guiscripts = data["gui-scripts"]
-            validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_entry_point_group(data__guiscripts, custom_formats, (name_prefix or "data") + ".gui-scripts")
-        if "entry-points" in data_keys:
-            data_keys.remove("entry-points")
-            data__entrypoints = data["entry-points"]
-            data__entrypoints_is_dict = isinstance(data__entrypoints, dict)
-            if data__entrypoints_is_dict:
-                data__entrypoints_keys = set(data__entrypoints.keys())
-                for data__entrypoints_key, data__entrypoints_val in data__entrypoints.items():
-                    if REGEX_PATTERNS['^.+$'].search(data__entrypoints_key):
-                        if data__entrypoints_key in data__entrypoints_keys:
-                            data__entrypoints_keys.remove(data__entrypoints_key)
-                        validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_entry_point_group(data__entrypoints_val, custom_formats, (name_prefix or "data") + ".entry-points.{data__entrypoints_key}".format(**locals()))
-                if data__entrypoints_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".entry-points must not contain "+str(data__entrypoints_keys)+" properties", value=data__entrypoints, name="" + (name_prefix or "data") + ".entry-points", definition={'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}}}, rule='additionalProperties')
-                data__entrypoints_len = len(data__entrypoints)
-                if data__entrypoints_len != 0:
-                    data__entrypoints_property_names = True
-                    for data__entrypoints_key in data__entrypoints:
-                        try:
-                            if isinstance(data__entrypoints_key, str):
-                                if not custom_formats["python-entrypoint-group"](data__entrypoints_key):
-                                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".entry-points must be python-entrypoint-group", value=data__entrypoints_key, name="" + (name_prefix or "data") + ".entry-points", definition={'format': 'python-entrypoint-group'}, rule='format')
-                        except JsonSchemaValueException:
-                            data__entrypoints_property_names = False
-                    if not data__entrypoints_property_names:
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".entry-points must be named by propertyName definition", value=data__entrypoints, name="" + (name_prefix or "data") + ".entry-points", definition={'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}}}, rule='propertyNames')
-        if "dependencies" in data_keys:
-            data_keys.remove("dependencies")
-            data__dependencies = data["dependencies"]
-            if not isinstance(data__dependencies, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".dependencies must be array", value=data__dependencies, name="" + (name_prefix or "data") + ".dependencies", definition={'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}, rule='type')
-            data__dependencies_is_list = isinstance(data__dependencies, (list, tuple))
-            if data__dependencies_is_list:
-                data__dependencies_len = len(data__dependencies)
-                for data__dependencies_x, data__dependencies_item in enumerate(data__dependencies):
-                    validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_dependency(data__dependencies_item, custom_formats, (name_prefix or "data") + ".dependencies[{data__dependencies_x}]".format(**locals()))
-        if "optional-dependencies" in data_keys:
-            data_keys.remove("optional-dependencies")
-            data__optionaldependencies = data["optional-dependencies"]
-            if not isinstance(data__optionaldependencies, (dict)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".optional-dependencies must be object", value=data__optionaldependencies, name="" + (name_prefix or "data") + ".optional-dependencies", definition={'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, rule='type')
-            data__optionaldependencies_is_dict = isinstance(data__optionaldependencies, dict)
-            if data__optionaldependencies_is_dict:
-                data__optionaldependencies_keys = set(data__optionaldependencies.keys())
-                for data__optionaldependencies_key, data__optionaldependencies_val in data__optionaldependencies.items():
-                    if REGEX_PATTERNS['^.+$'].search(data__optionaldependencies_key):
-                        if data__optionaldependencies_key in data__optionaldependencies_keys:
-                            data__optionaldependencies_keys.remove(data__optionaldependencies_key)
-                        if not isinstance(data__optionaldependencies_val, (list, tuple)):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".optional-dependencies.{data__optionaldependencies_key}".format(**locals()) + " must be array", value=data__optionaldependencies_val, name="" + (name_prefix or "data") + ".optional-dependencies.{data__optionaldependencies_key}".format(**locals()) + "", definition={'type': 'array', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}, rule='type')
-                        data__optionaldependencies_val_is_list = isinstance(data__optionaldependencies_val, (list, tuple))
-                        if data__optionaldependencies_val_is_list:
-                            data__optionaldependencies_val_len = len(data__optionaldependencies_val)
-                            for data__optionaldependencies_val_x, data__optionaldependencies_val_item in enumerate(data__optionaldependencies_val):
-                                validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_dependency(data__optionaldependencies_val_item, custom_formats, (name_prefix or "data") + ".optional-dependencies.{data__optionaldependencies_key}[{data__optionaldependencies_val_x}]".format(**locals()))
-                if data__optionaldependencies_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".optional-dependencies must not contain "+str(data__optionaldependencies_keys)+" properties", value=data__optionaldependencies, name="" + (name_prefix or "data") + ".optional-dependencies", definition={'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, rule='additionalProperties')
-                data__optionaldependencies_len = len(data__optionaldependencies)
-                if data__optionaldependencies_len != 0:
-                    data__optionaldependencies_property_names = True
-                    for data__optionaldependencies_key in data__optionaldependencies:
-                        try:
-                            if isinstance(data__optionaldependencies_key, str):
-                                if not custom_formats["pep508-identifier"](data__optionaldependencies_key):
-                                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".optional-dependencies must be pep508-identifier", value=data__optionaldependencies_key, name="" + (name_prefix or "data") + ".optional-dependencies", definition={'format': 'pep508-identifier'}, rule='format')
-                        except JsonSchemaValueException:
-                            data__optionaldependencies_property_names = False
-                    if not data__optionaldependencies_property_names:
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".optional-dependencies must be named by propertyName definition", value=data__optionaldependencies, name="" + (name_prefix or "data") + ".optional-dependencies", definition={'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, rule='propertyNames')
-        if "dynamic" in data_keys:
-            data_keys.remove("dynamic")
-            data__dynamic = data["dynamic"]
-            if not isinstance(data__dynamic, (list, tuple)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic must be array", value=data__dynamic, name="" + (name_prefix or "data") + ".dynamic", definition={'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}, rule='type')
-            data__dynamic_is_list = isinstance(data__dynamic, (list, tuple))
-            if data__dynamic_is_list:
-                data__dynamic_len = len(data__dynamic)
-                for data__dynamic_x, data__dynamic_item in enumerate(data__dynamic):
-                    if data__dynamic_item not in ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']:
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic[{data__dynamic_x}]".format(**locals()) + " must be one of ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']", value=data__dynamic_item, name="" + (name_prefix or "data") + ".dynamic[{data__dynamic_x}]".format(**locals()) + "", definition={'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}, rule='enum')
-        if data_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$schema': 'http://json-schema.org/draft-07/schema#', '$id': 'https://packaging.python.org/en/latest/specifications/pyproject-toml/', 'title': 'Package metadata stored in the ``project`` table', '$$description': ['Data structure for the **project** table inside ``pyproject.toml``', '(as initially defined in :pep:`621`)'], 'type': 'object', 'properties': {'name': {'type': 'string', 'description': 'The name (primary identifier) of the project. MUST be statically defined.', 'format': 'pep508-identifier'}, 'version': {'type': 'string', 'description': 'The version of the project as supported by :pep:`440`.', 'format': 'pep440'}, 'description': {'type': 'string', '$$description': ['The `summary description of the project', '`_']}, 'readme': {'$$description': ['`Full/detailed description of the project in the form of a README', '`_', "with meaning similar to the one defined in `core metadata's Description", '`_'], 'oneOf': [{'type': 'string', '$$description': ['Relative path to a text file (UTF-8) containing the full description', 'of the project. If the file path ends in case-insensitive ``.md`` or', '``.rst`` suffixes, then the content-type is respectively', '``text/markdown`` or ``text/x-rst``']}, {'type': 'object', 'allOf': [{'anyOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to a text file containing the full description', 'of the project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', 'description': 'Full text describing the project.'}}, 'required': ['text']}]}, {'properties': {'content-type': {'type': 'string', '$$description': ['Content-type (:rfc:`1341`) of the full description', '(e.g. ``text/markdown``). The ``charset`` parameter is assumed', 'UTF-8 when not present.'], '$comment': 'TODO: add regex pattern or format?'}}, 'required': ['content-type']}]}]}, 'requires-python': {'type': 'string', 'format': 'pep508-versionspec', '$$description': ['`The Python version requirements of the project', '`_.']}, 'license': {'description': '`Project license `_.', 'oneOf': [{'properties': {'file': {'type': 'string', '$$description': ['Relative path to the file (UTF-8) which contains the license for the', 'project.']}}, 'required': ['file']}, {'properties': {'text': {'type': 'string', '$$description': ['The license of the project whose meaning is that of the', '`License field from the core metadata', '`_.']}}, 'required': ['text']}]}, 'authors': {'type': 'array', 'items': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, '$$description': ["The people or organizations considered to be the 'authors' of the project.", 'The exact meaning is open to interpretation (e.g. original or primary authors,', 'current maintainers, or owners of the package).']}, 'maintainers': {'type': 'array', 'items': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, '$$description': ["The people or organizations considered to be the 'maintainers' of the project.", 'Similarly to ``authors``, the exact meaning is open to interpretation.']}, 'keywords': {'type': 'array', 'items': {'type': 'string'}, 'description': 'List of keywords to assist searching for the distribution in a larger catalog.'}, 'classifiers': {'type': 'array', 'items': {'type': 'string', 'format': 'trove-classifier', 'description': '`PyPI classifier `_.'}, '$$description': ['`Trove classifiers `_', 'which apply to the project.']}, 'urls': {'type': 'object', 'description': 'URLs associated with the project in the form ``label => value``.', 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', 'format': 'url'}}}, 'scripts': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'gui-scripts': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'entry-points': {'$$description': ['Instruct the installer to expose the given modules/functions via', '``entry-point`` discovery mechanism (useful for plugins).', 'More information available in the `Python packaging guide', '`_.'], 'propertyNames': {'format': 'python-entrypoint-group'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}}}, 'dependencies': {'type': 'array', 'description': 'Project (mandatory) dependencies.', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}, 'optional-dependencies': {'type': 'object', 'description': 'Optional dependency for the project', 'propertyNames': {'format': 'pep508-identifier'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'array', 'items': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}}, 'dynamic': {'type': 'array', '$$description': ['Specifies which fields are intentionally unspecified and expected to be', 'dynamically provided by build tools'], 'items': {'enum': ['version', 'description', 'readme', 'requires-python', 'license', 'authors', 'maintainers', 'keywords', 'classifiers', 'urls', 'scripts', 'gui-scripts', 'entry-points', 'dependencies', 'optional-dependencies']}}}, 'required': ['name'], 'additionalProperties': False, 'if': {'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', '    If the core metadata specification lists a field as "Required", then', '    the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', '    The required fields are: Metadata-Version, Name, Version.', '    All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, 'then': {'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, 'definitions': {'author': {'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, 'entry-point-group': {'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, 'dependency': {'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}}}, rule='additionalProperties')
-    try:
-        try:
-            data_is_dict = isinstance(data, dict)
-            if data_is_dict:
-                data__missing_keys = set(['dynamic']) - data.keys()
-                if data__missing_keys:
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + " must contain " + (str(sorted(data__missing_keys)) + " properties"), value=data, name="" + (name_prefix or "data") + "", definition={'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, rule='required')
-                data_keys = set(data.keys())
-                if "dynamic" in data_keys:
-                    data_keys.remove("dynamic")
-                    data__dynamic = data["dynamic"]
-                    data__dynamic_is_list = isinstance(data__dynamic, (list, tuple))
-                    if data__dynamic_is_list:
-                        data__dynamic_contains = False
-                        for data__dynamic_key in data__dynamic:
-                            try:
-                                if data__dynamic_key != "version":
-                                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic must be same as const definition: version", value=data__dynamic_key, name="" + (name_prefix or "data") + ".dynamic", definition={'const': 'version'}, rule='const')
-                                data__dynamic_contains = True
-                                break
-                            except JsonSchemaValueException: pass
-                        if not data__dynamic_contains:
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + ".dynamic must contain one of contains definition", value=data__dynamic, name="" + (name_prefix or "data") + ".dynamic", definition={'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}, rule='contains')
-        except JsonSchemaValueException: pass
-        else:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must NOT match a disallowed definition", value=data, name="" + (name_prefix or "data") + "", definition={'not': {'required': ['dynamic'], 'properties': {'dynamic': {'contains': {'const': 'version'}, '$$description': ['version is listed in ``dynamic``']}}}, '$$comment': ['According to :pep:`621`:', '    If the core metadata specification lists a field as "Required", then', '    the metadata MUST specify the field statically or list it in dynamic', 'In turn, `core metadata`_ defines:', '    The required fields are: Metadata-Version, Name, Version.', '    All the other fields are optional.', 'Since ``Metadata-Version`` is defined by the build back-end, ``name`` and', '``version`` are the only mandatory information in ``pyproject.toml``.', '.. _core metadata: https://packaging.python.org/specifications/core-metadata/']}, rule='not')
-    except JsonSchemaValueException:
-        pass
-    else:
-        data_is_dict = isinstance(data, dict)
-        if data_is_dict:
-            data__missing_keys = set(['version']) - data.keys()
-            if data__missing_keys:
-                raise JsonSchemaValueException("" + (name_prefix or "data") + " must contain " + (str(sorted(data__missing_keys)) + " properties"), value=data, name="" + (name_prefix or "data") + "", definition={'required': ['version'], '$$description': ['version should be statically defined in the ``version`` field']}, rule='required')
-    return data
-
-def validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_dependency(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (str)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be string", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}, rule='type')
-    if isinstance(data, str):
-        if not custom_formats["pep508"](data):
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must be pep508", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/dependency', 'title': 'Dependency', 'type': 'string', 'description': 'Project dependency specification according to PEP 508', 'format': 'pep508'}, rule='format')
-    return data
-
-def validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_entry_point_group(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data_keys = set(data.keys())
-        for data_key, data_val in data.items():
-            if REGEX_PATTERNS['^.+$'].search(data_key):
-                if data_key in data_keys:
-                    data_keys.remove(data_key)
-                if not isinstance(data_val, (str)):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".{data_key}".format(**locals()) + " must be string", value=data_val, name="" + (name_prefix or "data") + ".{data_key}".format(**locals()) + "", definition={'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}, rule='type')
-                if isinstance(data_val, str):
-                    if not custom_formats["python-entrypoint-reference"](data_val):
-                        raise JsonSchemaValueException("" + (name_prefix or "data") + ".{data_key}".format(**locals()) + " must be python-entrypoint-reference", value=data_val, name="" + (name_prefix or "data") + ".{data_key}".format(**locals()) + "", definition={'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}, rule='format')
-        if data_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, rule='additionalProperties')
-        data_len = len(data)
-        if data_len != 0:
-            data_property_names = True
-            for data_key in data:
-                try:
-                    if isinstance(data_key, str):
-                        if not custom_formats["python-entrypoint-name"](data_key):
-                            raise JsonSchemaValueException("" + (name_prefix or "data") + " must be python-entrypoint-name", value=data_key, name="" + (name_prefix or "data") + "", definition={'format': 'python-entrypoint-name'}, rule='format')
-                except JsonSchemaValueException:
-                    data_property_names = False
-            if not data_property_names:
-                raise JsonSchemaValueException("" + (name_prefix or "data") + " must be named by propertyName definition", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/entry-point-group', 'title': 'Entry-points', 'type': 'object', '$$description': ['Entry-points are grouped together to indicate what sort of capabilities they', 'provide.', 'See the `packaging guides', '`_', 'and `setuptools docs', '`_', 'for more information.'], 'propertyNames': {'format': 'python-entrypoint-name'}, 'additionalProperties': False, 'patternProperties': {'^.+$': {'type': 'string', '$$description': ['Reference to a Python object. It is either in the form', '``importable.module``, or ``importable.module:object.attr``.'], 'format': 'python-entrypoint-reference', '$comment': 'https://packaging.python.org/specifications/entry-points/'}}}, rule='propertyNames')
-    return data
-
-def validate_https___packaging_python_org_en_latest_specifications_pyproject_toml___definitions_author(data, custom_formats={}, name_prefix=None):
-    if not isinstance(data, (dict)):
-        raise JsonSchemaValueException("" + (name_prefix or "data") + " must be object", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, rule='type')
-    data_is_dict = isinstance(data, dict)
-    if data_is_dict:
-        data_keys = set(data.keys())
-        if "name" in data_keys:
-            data_keys.remove("name")
-            data__name = data["name"]
-            if not isinstance(data__name, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".name must be string", value=data__name, name="" + (name_prefix or "data") + ".name", definition={'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, rule='type')
-        if "email" in data_keys:
-            data_keys.remove("email")
-            data__email = data["email"]
-            if not isinstance(data__email, (str)):
-                raise JsonSchemaValueException("" + (name_prefix or "data") + ".email must be string", value=data__email, name="" + (name_prefix or "data") + ".email", definition={'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}, rule='type')
-            if isinstance(data__email, str):
-                if not REGEX_PATTERNS["idn-email_re_pattern"].match(data__email):
-                    raise JsonSchemaValueException("" + (name_prefix or "data") + ".email must be idn-email", value=data__email, name="" + (name_prefix or "data") + ".email", definition={'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}, rule='format')
-        if data_keys:
-            raise JsonSchemaValueException("" + (name_prefix or "data") + " must not contain "+str(data_keys)+" properties", value=data, name="" + (name_prefix or "data") + "", definition={'$id': '#/definitions/author', 'title': 'Author or Maintainer', '$comment': 'https://peps.python.org/pep-0621/#authors-maintainers', 'type': 'object', 'additionalProperties': False, 'properties': {'name': {'type': 'string', '$$description': ['MUST be a valid email name, i.e. whatever can be put as a name, before an', 'email, in :rfc:`822`.']}, 'email': {'type': 'string', 'format': 'idn-email', 'description': 'MUST be a valid email address'}}}, rule='additionalProperties')
-    return data
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/formats.py b/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/formats.py
deleted file mode 100644
index 153b1f0b..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/_validate_pyproject/formats.py
+++ /dev/null
@@ -1,375 +0,0 @@
-"""
-The functions in this module are used to validate schemas with the
-`format JSON Schema keyword
-`_.
-
-The correspondence is given by replacing the ``_`` character in the name of the
-function with a ``-`` to obtain the format name and vice versa.
-"""
-
-import builtins
-import logging
-import os
-import re
-import string
-import typing
-from itertools import chain as _chain
-
-if typing.TYPE_CHECKING:
-    from typing_extensions import Literal
-
-_logger = logging.getLogger(__name__)
-
-# -------------------------------------------------------------------------------------
-# PEP 440
-
-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_REGEX = re.compile(r"^\s*" + VERSION_PATTERN + r"\s*$", re.X | re.I)
-
-
-def pep440(version: str) -> bool:
-    """See :ref:`PyPA's version specification `
-    (initially introduced in :pep:`440`).
-    """
-    return VERSION_REGEX.match(version) is not None
-
-
-# -------------------------------------------------------------------------------------
-# PEP 508
-
-PEP508_IDENTIFIER_PATTERN = r"([A-Z0-9]|[A-Z0-9][A-Z0-9._-]*[A-Z0-9])"
-PEP508_IDENTIFIER_REGEX = re.compile(f"^{PEP508_IDENTIFIER_PATTERN}$", re.I)
-
-
-def pep508_identifier(name: str) -> bool:
-    """See :ref:`PyPA's name specification `
-    (initially introduced in :pep:`508#names`).
-    """
-    return PEP508_IDENTIFIER_REGEX.match(name) is not None
-
-
-try:
-    try:
-        from packaging import requirements as _req
-    except ImportError:  # pragma: no cover
-        # let's try setuptools vendored version
-        from setuptools._vendor.packaging import (  # type: ignore[no-redef]
-            requirements as _req,
-        )
-
-    def pep508(value: str) -> bool:
-        """See :ref:`PyPA's dependency specifiers `
-        (initially introduced in :pep:`508`).
-        """
-        try:
-            _req.Requirement(value)
-            return True
-        except _req.InvalidRequirement:
-            return False
-
-except ImportError:  # pragma: no cover
-    _logger.warning(
-        "Could not find an installation of `packaging`. Requirements, dependencies and "
-        "versions might not be validated. "
-        "To enforce validation, please install `packaging`."
-    )
-
-    def pep508(value: str) -> bool:
-        return True
-
-
-def pep508_versionspec(value: str) -> bool:
-    """Expression that can be used to specify/lock versions (including ranges)
-    See ``versionspec`` in :ref:`PyPA's dependency specifiers
-    ` (initially introduced in :pep:`508`).
-    """
-    if any(c in value for c in (";", "]", "@")):
-        # In PEP 508:
-        # conditional markers, extras and URL specs are not included in the
-        # versionspec
-        return False
-    # Let's pretend we have a dependency called `requirement` with the given
-    # version spec, then we can reuse the pep508 function for validation:
-    return pep508(f"requirement{value}")
-
-
-# -------------------------------------------------------------------------------------
-# PEP 517
-
-
-def pep517_backend_reference(value: str) -> bool:
-    """See PyPA's specification for defining build-backend references
-    introduced in :pep:`517#source-trees`.
-
-    This is similar to an entry-point reference (e.g., ``package.module:object``).
-    """
-    module, _, obj = value.partition(":")
-    identifiers = (i.strip() for i in _chain(module.split("."), obj.split(".")))
-    return all(python_identifier(i) for i in identifiers if i)
-
-
-# -------------------------------------------------------------------------------------
-# Classifiers - PEP 301
-
-
-def _download_classifiers() -> str:
-    import ssl
-    from email.message import Message
-    from urllib.request import urlopen
-
-    url = "https://pypi.org/pypi?:action=list_classifiers"
-    context = ssl.create_default_context()
-    with urlopen(url, context=context) as response:  # noqa: S310 (audit URLs)
-        headers = Message()
-        headers["content_type"] = response.getheader("content-type", "text/plain")
-        return response.read().decode(headers.get_param("charset", "utf-8"))  # type: ignore[no-any-return]
-
-
-class _TroveClassifier:
-    """The ``trove_classifiers`` package is the official way of validating classifiers,
-    however this package might not be always available.
-    As a workaround we can still download a list from PyPI.
-    We also don't want to be over strict about it, so simply skipping silently is an
-    option (classifiers will be validated anyway during the upload to PyPI).
-    """
-
-    downloaded: typing.Union[None, "Literal[False]", typing.Set[str]]
-
-    def __init__(self) -> None:
-        self.downloaded = None
-        self._skip_download = False
-        # None => not cached yet
-        # False => cache not available
-        self.__name__ = "trove_classifier"  # Emulate a public function
-
-    def _disable_download(self) -> None:
-        # This is a private API. Only setuptools has the consent of using it.
-        self._skip_download = True
-
-    def __call__(self, value: str) -> bool:
-        if self.downloaded is False or self._skip_download is True:
-            return True
-
-        if os.getenv("NO_NETWORK") or os.getenv("VALIDATE_PYPROJECT_NO_NETWORK"):
-            self.downloaded = False
-            msg = (
-                "Install ``trove-classifiers`` to ensure proper validation. "
-                "Skipping download of classifiers list from PyPI (NO_NETWORK)."
-            )
-            _logger.debug(msg)
-            return True
-
-        if self.downloaded is None:
-            msg = (
-                "Install ``trove-classifiers`` to ensure proper validation. "
-                "Meanwhile a list of classifiers will be downloaded from PyPI."
-            )
-            _logger.debug(msg)
-            try:
-                self.downloaded = set(_download_classifiers().splitlines())
-            except Exception:
-                self.downloaded = False
-                _logger.debug("Problem with download, skipping validation")
-                return True
-
-        return value in self.downloaded or value.lower().startswith("private ::")
-
-
-try:
-    from trove_classifiers import classifiers as _trove_classifiers
-
-    def trove_classifier(value: str) -> bool:
-        """See https://pypi.org/classifiers/"""
-        return value in _trove_classifiers or value.lower().startswith("private ::")
-
-except ImportError:  # pragma: no cover
-    trove_classifier = _TroveClassifier()
-
-
-# -------------------------------------------------------------------------------------
-# Stub packages - PEP 561
-
-
-def pep561_stub_name(value: str) -> bool:
-    """Name of a directory containing type stubs.
-    It must follow the name scheme ``-stubs`` as defined in
-    :pep:`561#stub-only-packages`.
-    """
-    top, *children = value.split(".")
-    if not top.endswith("-stubs"):
-        return False
-    return python_module_name(".".join([top[: -len("-stubs")], *children]))
-
-
-# -------------------------------------------------------------------------------------
-# Non-PEP related
-
-
-def url(value: str) -> bool:
-    """Valid URL (validation uses :obj:`urllib.parse`).
-    For maximum compatibility please make sure to include a ``scheme`` prefix
-    in your URL (e.g. ``http://``).
-    """
-    from urllib.parse import urlparse
-
-    try:
-        parts = urlparse(value)
-        if not parts.scheme:
-            _logger.warning(
-                "For maximum compatibility please make sure to include a "
-                "`scheme` prefix in your URL (e.g. 'http://'). "
-                f"Given value: {value}"
-            )
-            if not (value.startswith("/") or value.startswith("\\") or "@" in value):
-                parts = urlparse(f"http://{value}")
-
-        return bool(parts.scheme and parts.netloc)
-    except Exception:
-        return False
-
-
-# https://packaging.python.org/specifications/entry-points/
-ENTRYPOINT_PATTERN = r"[^\[\s=]([^=]*[^\s=])?"
-ENTRYPOINT_REGEX = re.compile(f"^{ENTRYPOINT_PATTERN}$", re.I)
-RECOMMEDED_ENTRYPOINT_PATTERN = r"[\w.-]+"
-RECOMMEDED_ENTRYPOINT_REGEX = re.compile(f"^{RECOMMEDED_ENTRYPOINT_PATTERN}$", re.I)
-ENTRYPOINT_GROUP_PATTERN = r"\w+(\.\w+)*"
-ENTRYPOINT_GROUP_REGEX = re.compile(f"^{ENTRYPOINT_GROUP_PATTERN}$", re.I)
-
-
-def python_identifier(value: str) -> bool:
-    """Can be used as identifier in Python.
-    (Validation uses :obj:`str.isidentifier`).
-    """
-    return value.isidentifier()
-
-
-def python_qualified_identifier(value: str) -> bool:
-    """
-    Python "dotted identifier", i.e. a sequence of :obj:`python_identifier`
-    concatenated with ``"."`` (e.g.: ``package.module.submodule``).
-    """
-    if value.startswith(".") or value.endswith("."):
-        return False
-    return all(python_identifier(m) for m in value.split("."))
-
-
-def python_module_name(value: str) -> bool:
-    """Module name that can be used in an ``import``-statement in Python.
-    See :obj:`python_qualified_identifier`.
-    """
-    return python_qualified_identifier(value)
-
-
-def python_module_name_relaxed(value: str) -> bool:
-    """Similar to :obj:`python_module_name`, but relaxed to also accept
-    dash characters (``-``) and cover special cases like ``pip-run``.
-
-    It is recommended, however, that beginners avoid dash characters,
-    as they require advanced knowledge about Python internals.
-
-    The following are disallowed:
-
-    * names starting/ending in dashes,
-    * names ending in ``-stubs`` (potentially collide with :obj:`pep561_stub_name`).
-    """
-    if value.startswith("-") or value.endswith("-"):
-        return False
-    if value.endswith("-stubs"):
-        return False  # Avoid collision with PEP 561
-    return python_module_name(value.replace("-", "_"))
-
-
-def python_entrypoint_group(value: str) -> bool:
-    """See ``Data model > group`` in the :ref:`PyPA's entry-points specification
-    `.
-    """
-    return ENTRYPOINT_GROUP_REGEX.match(value) is not None
-
-
-def python_entrypoint_name(value: str) -> bool:
-    """See ``Data model > name`` in the :ref:`PyPA's entry-points specification
-    `.
-    """
-    if not ENTRYPOINT_REGEX.match(value):
-        return False
-    if not RECOMMEDED_ENTRYPOINT_REGEX.match(value):
-        msg = f"Entry point `{value}` does not follow recommended pattern: "
-        msg += RECOMMEDED_ENTRYPOINT_PATTERN
-        _logger.warning(msg)
-    return True
-
-
-def python_entrypoint_reference(value: str) -> bool:
-    """Reference to a Python object using in the format::
-
-        importable.module:object.attr
-
-    See ``Data model >object reference`` in the :ref:`PyPA's entry-points specification
-    `.
-    """
-    module, _, rest = value.partition(":")
-    if "[" in rest:
-        obj, _, extras_ = rest.partition("[")
-        if extras_.strip()[-1] != "]":
-            return False
-        extras = (x.strip() for x in extras_.strip(string.whitespace + "[]").split(","))
-        if not all(pep508_identifier(e) for e in extras):
-            return False
-        _logger.warning(f"`{value}` - using extras for entry points is not recommended")
-    else:
-        obj = rest
-
-    module_parts = module.split(".")
-    identifiers = _chain(module_parts, obj.split(".")) if rest else module_parts
-    return all(python_identifier(i.strip()) for i in identifiers)
-
-
-def uint8(value: builtins.int) -> bool:
-    r"""Unsigned 8-bit integer (:math:`0 \leq x < 2^8`)"""
-    return 0 <= value < 2**8
-
-
-def uint16(value: builtins.int) -> bool:
-    r"""Unsigned 16-bit integer (:math:`0 \leq x < 2^{16}`)"""
-    return 0 <= value < 2**16
-
-
-def uint(value: builtins.int) -> bool:
-    r"""Unsigned 64-bit integer (:math:`0 \leq x < 2^{64}`)"""
-    return 0 <= value < 2**64
-
-
-def int(value: builtins.int) -> bool:
-    r"""Signed 64-bit integer (:math:`-2^{63} \leq x < 2^{63}`)"""
-    return -(2**63) <= value < 2**63
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/distutils.schema.json b/.venv/lib/python3.12/site-packages/setuptools/config/distutils.schema.json
deleted file mode 100644
index 93cd2e86..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/distutils.schema.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  "$schema": "http://json-schema.org/draft-07/schema#",
-
-  "$id": "https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html",
-  "title": "``tool.distutils`` table",
-  "$$description": [
-    "**EXPERIMENTAL** (NOT OFFICIALLY SUPPORTED): Use ``tool.distutils``",
-    "subtables to configure arguments for ``distutils`` commands.",
-    "Originally, ``distutils`` allowed developers to configure arguments for",
-    "``setup.py`` commands via `distutils configuration files",
-    "`_.",
-    "See also `the old Python docs _`."
-  ],
-
-  "type": "object",
-  "properties": {
-    "global": {
-      "type": "object",
-      "description": "Global options applied to all ``distutils`` commands"
-    }
-  },
-  "patternProperties": {
-    ".+": {"type": "object"}
-  },
-  "$comment": "TODO: Is there a practical way of making this schema more specific?"
-}
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/expand.py b/.venv/lib/python3.12/site-packages/setuptools/config/expand.py
deleted file mode 100644
index 54c68bed..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/expand.py
+++ /dev/null
@@ -1,449 +0,0 @@
-"""Utility functions to expand configuration directives or special values
-(such glob patterns).
-
-We can split the process of interpreting configuration files into 2 steps:
-
-1. The parsing the file contents from strings to value objects
-   that can be understand by Python (for example a string with a comma
-   separated list of keywords into an actual Python list of strings).
-
-2. The expansion (or post-processing) of these values according to the
-   semantics ``setuptools`` assign to them (for example a configuration field
-   with the ``file:`` directive should be expanded from a list of file paths to
-   a single string with the contents of those files concatenated)
-
-This module focus on the second step, and therefore allow sharing the expansion
-functions among several configuration file formats.
-
-**PRIVATE MODULE**: API reserved for setuptools internal usage only.
-"""
-
-from __future__ import annotations
-
-import ast
-import importlib
-import os
-import pathlib
-import sys
-from collections.abc import Iterable, Iterator, Mapping
-from configparser import ConfigParser
-from glob import iglob
-from importlib.machinery import ModuleSpec, all_suffixes
-from itertools import chain
-from pathlib import Path
-from types import ModuleType, TracebackType
-from typing import TYPE_CHECKING, Any, Callable, TypeVar
-
-from .._path import StrPath, same_path as _same_path
-from ..discovery import find_package_path
-from ..warnings import SetuptoolsWarning
-
-from distutils.errors import DistutilsOptionError
-
-if TYPE_CHECKING:
-    from typing_extensions import Self
-
-    from setuptools.dist import Distribution
-
-_K = TypeVar("_K")
-_V_co = TypeVar("_V_co", covariant=True)
-
-
-class StaticModule:
-    """Proxy to a module object that avoids executing arbitrary code."""
-
-    def __init__(self, name: str, spec: ModuleSpec) -> None:
-        module = ast.parse(pathlib.Path(spec.origin).read_bytes())  # type: ignore[arg-type] # Let it raise an error on None
-        vars(self).update(locals())
-        del self.self
-
-    def _find_assignments(self) -> Iterator[tuple[ast.AST, ast.AST]]:
-        for statement in self.module.body:
-            if isinstance(statement, ast.Assign):
-                yield from ((target, statement.value) for target in statement.targets)
-            elif isinstance(statement, ast.AnnAssign) and statement.value:
-                yield (statement.target, statement.value)
-
-    def __getattr__(self, attr: str):
-        """Attempt to load an attribute "statically", via :func:`ast.literal_eval`."""
-        try:
-            return next(
-                ast.literal_eval(value)
-                for target, value in self._find_assignments()
-                if isinstance(target, ast.Name) and target.id == attr
-            )
-        except Exception as e:
-            raise AttributeError(f"{self.name} has no attribute {attr}") from e
-
-
-def glob_relative(
-    patterns: Iterable[str], root_dir: StrPath | None = None
-) -> list[str]:
-    """Expand the list of glob patterns, but preserving relative paths.
-
-    :param list[str] patterns: List of glob patterns
-    :param str root_dir: Path to which globs should be relative
-                         (current directory by default)
-    :rtype: list
-    """
-    glob_characters = {'*', '?', '[', ']', '{', '}'}
-    expanded_values = []
-    root_dir = root_dir or os.getcwd()
-    for value in patterns:
-        # Has globby characters?
-        if any(char in value for char in glob_characters):
-            # then expand the glob pattern while keeping paths *relative*:
-            glob_path = os.path.abspath(os.path.join(root_dir, value))
-            expanded_values.extend(
-                sorted(
-                    os.path.relpath(path, root_dir).replace(os.sep, "/")
-                    for path in iglob(glob_path, recursive=True)
-                )
-            )
-
-        else:
-            # take the value as-is
-            path = os.path.relpath(value, root_dir).replace(os.sep, "/")
-            expanded_values.append(path)
-
-    return expanded_values
-
-
-def read_files(
-    filepaths: StrPath | Iterable[StrPath], root_dir: StrPath | None = None
-) -> str:
-    """Return the content of the files concatenated using ``\n`` as str
-
-    This function is sandboxed and won't reach anything outside ``root_dir``
-
-    (By default ``root_dir`` is the current directory).
-    """
-    from more_itertools import always_iterable
-
-    root_dir = os.path.abspath(root_dir or os.getcwd())
-    _filepaths = (os.path.join(root_dir, path) for path in always_iterable(filepaths))
-    return '\n'.join(
-        _read_file(path)
-        for path in _filter_existing_files(_filepaths)
-        if _assert_local(path, root_dir)
-    )
-
-
-def _filter_existing_files(filepaths: Iterable[StrPath]) -> Iterator[StrPath]:
-    for path in filepaths:
-        if os.path.isfile(path):
-            yield path
-        else:
-            SetuptoolsWarning.emit(f"File {path!r} cannot be found")
-
-
-def _read_file(filepath: bytes | StrPath) -> str:
-    with open(filepath, encoding='utf-8') as f:
-        return f.read()
-
-
-def _assert_local(filepath: StrPath, root_dir: str):
-    if Path(os.path.abspath(root_dir)) not in Path(os.path.abspath(filepath)).parents:
-        msg = f"Cannot access {filepath!r} (or anything outside {root_dir!r})"
-        raise DistutilsOptionError(msg)
-
-    return True
-
-
-def read_attr(
-    attr_desc: str,
-    package_dir: Mapping[str, str] | None = None,
-    root_dir: StrPath | None = None,
-) -> Any:
-    """Reads the value of an attribute from a module.
-
-    This function will try to read the attributed statically first
-    (via :func:`ast.literal_eval`), and only evaluate the module if it fails.
-
-    Examples:
-        read_attr("package.attr")
-        read_attr("package.module.attr")
-
-    :param str attr_desc: Dot-separated string describing how to reach the
-        attribute (see examples above)
-    :param dict[str, str] package_dir: Mapping of package names to their
-        location in disk (represented by paths relative to ``root_dir``).
-    :param str root_dir: Path to directory containing all the packages in
-        ``package_dir`` (current directory by default).
-    :rtype: str
-    """
-    root_dir = root_dir or os.getcwd()
-    attrs_path = attr_desc.strip().split('.')
-    attr_name = attrs_path.pop()
-    module_name = '.'.join(attrs_path)
-    module_name = module_name or '__init__'
-    path = _find_module(module_name, package_dir, root_dir)
-    spec = _find_spec(module_name, path)
-
-    try:
-        return getattr(StaticModule(module_name, spec), attr_name)
-    except Exception:
-        # fallback to evaluate module
-        module = _load_spec(spec, module_name)
-        return getattr(module, attr_name)
-
-
-def _find_spec(module_name: str, module_path: StrPath | None) -> ModuleSpec:
-    spec = importlib.util.spec_from_file_location(module_name, module_path)
-    spec = spec or importlib.util.find_spec(module_name)
-
-    if spec is None:
-        raise ModuleNotFoundError(module_name)
-
-    return spec
-
-
-def _load_spec(spec: ModuleSpec, module_name: str) -> ModuleType:
-    name = getattr(spec, "__name__", module_name)
-    if name in sys.modules:
-        return sys.modules[name]
-    module = importlib.util.module_from_spec(spec)
-    sys.modules[name] = module  # cache (it also ensures `==` works on loaded items)
-    assert spec.loader is not None
-    spec.loader.exec_module(module)
-    return module
-
-
-def _find_module(
-    module_name: str, package_dir: Mapping[str, str] | None, root_dir: StrPath
-) -> str | None:
-    """Find the path to the module named ``module_name``,
-    considering the ``package_dir`` in the build configuration and ``root_dir``.
-
-    >>> tmp = getfixture('tmpdir')
-    >>> _ = tmp.ensure("a/b/c.py")
-    >>> _ = tmp.ensure("a/b/d/__init__.py")
-    >>> r = lambda x: x.replace(str(tmp), "tmp").replace(os.sep, "/")
-    >>> r(_find_module("a.b.c", None, tmp))
-    'tmp/a/b/c.py'
-    >>> r(_find_module("f.g.h", {"": "1", "f": "2", "f.g": "3", "f.g.h": "a/b/d"}, tmp))
-    'tmp/a/b/d/__init__.py'
-    """
-    path_start = find_package_path(module_name, package_dir or {}, root_dir)
-    candidates = chain.from_iterable(
-        (f"{path_start}{ext}", os.path.join(path_start, f"__init__{ext}"))
-        for ext in all_suffixes()
-    )
-    return next((x for x in candidates if os.path.isfile(x)), None)
-
-
-def resolve_class(
-    qualified_class_name: str,
-    package_dir: Mapping[str, str] | None = None,
-    root_dir: StrPath | None = None,
-) -> Callable:
-    """Given a qualified class name, return the associated class object"""
-    root_dir = root_dir or os.getcwd()
-    idx = qualified_class_name.rfind('.')
-    class_name = qualified_class_name[idx + 1 :]
-    pkg_name = qualified_class_name[:idx]
-
-    path = _find_module(pkg_name, package_dir, root_dir)
-    module = _load_spec(_find_spec(pkg_name, path), pkg_name)
-    return getattr(module, class_name)
-
-
-def cmdclass(
-    values: dict[str, str],
-    package_dir: Mapping[str, str] | None = None,
-    root_dir: StrPath | None = None,
-) -> dict[str, Callable]:
-    """Given a dictionary mapping command names to strings for qualified class
-    names, apply :func:`resolve_class` to the dict values.
-    """
-    return {k: resolve_class(v, package_dir, root_dir) for k, v in values.items()}
-
-
-def find_packages(
-    *,
-    namespaces=True,
-    fill_package_dir: dict[str, str] | None = None,
-    root_dir: StrPath | None = None,
-    **kwargs,
-) -> list[str]:
-    """Works similarly to :func:`setuptools.find_packages`, but with all
-    arguments given as keyword arguments. Moreover, ``where`` can be given
-    as a list (the results will be simply concatenated).
-
-    When the additional keyword argument ``namespaces`` is ``True``, it will
-    behave like :func:`setuptools.find_namespace_packages`` (i.e. include
-    implicit namespaces as per :pep:`420`).
-
-    The ``where`` argument will be considered relative to ``root_dir`` (or the current
-    working directory when ``root_dir`` is not given).
-
-    If the ``fill_package_dir`` argument is passed, this function will consider it as a
-    similar data structure to the ``package_dir`` configuration parameter add fill-in
-    any missing package location.
-
-    :rtype: list
-    """
-    from more_itertools import always_iterable, unique_everseen
-
-    from setuptools.discovery import construct_package_dir
-
-    # check "not namespaces" first due to python/mypy#6232
-    if not namespaces:
-        from setuptools.discovery import PackageFinder
-    else:
-        from setuptools.discovery import PEP420PackageFinder as PackageFinder
-
-    root_dir = root_dir or os.curdir
-    where = kwargs.pop('where', ['.'])
-    packages: list[str] = []
-    fill_package_dir = {} if fill_package_dir is None else fill_package_dir
-    search = list(unique_everseen(always_iterable(where)))
-
-    if len(search) == 1 and all(not _same_path(search[0], x) for x in (".", root_dir)):
-        fill_package_dir.setdefault("", search[0])
-
-    for path in search:
-        package_path = _nest_path(root_dir, path)
-        pkgs = PackageFinder.find(package_path, **kwargs)
-        packages.extend(pkgs)
-        if pkgs and not (
-            fill_package_dir.get("") == path or os.path.samefile(package_path, root_dir)
-        ):
-            fill_package_dir.update(construct_package_dir(pkgs, path))
-
-    return packages
-
-
-def _nest_path(parent: StrPath, path: StrPath) -> str:
-    path = parent if path in {".", ""} else os.path.join(parent, path)
-    return os.path.normpath(path)
-
-
-def version(value: Callable | Iterable[str | int] | str) -> str:
-    """When getting the version directly from an attribute,
-    it should be normalised to string.
-    """
-    _value = value() if callable(value) else value
-
-    if isinstance(_value, str):
-        return _value
-    if hasattr(_value, '__iter__'):
-        return '.'.join(map(str, _value))
-    return '%s' % _value
-
-
-def canonic_package_data(package_data: dict) -> dict:
-    if "*" in package_data:
-        package_data[""] = package_data.pop("*")
-    return package_data
-
-
-def canonic_data_files(
-    data_files: list | dict, root_dir: StrPath | None = None
-) -> list[tuple[str, list[str]]]:
-    """For compatibility with ``setup.py``, ``data_files`` should be a list
-    of pairs instead of a dict.
-
-    This function also expands glob patterns.
-    """
-    if isinstance(data_files, list):
-        return data_files
-
-    return [
-        (dest, glob_relative(patterns, root_dir))
-        for dest, patterns in data_files.items()
-    ]
-
-
-def entry_points(
-    text: str, text_source: str = "entry-points"
-) -> dict[str, dict[str, str]]:
-    """Given the contents of entry-points file,
-    process it into a 2-level dictionary (``dict[str, dict[str, str]]``).
-    The first level keys are entry-point groups, the second level keys are
-    entry-point names, and the second level values are references to objects
-    (that correspond to the entry-point value).
-    """
-    # Using undocumented behaviour, see python/typeshed#12700
-    parser = ConfigParser(default_section=None, delimiters=("=",))  # type: ignore[call-overload]
-    parser.optionxform = str  # case sensitive
-    parser.read_string(text, text_source)
-    groups = {k: dict(v.items()) for k, v in parser.items()}
-    groups.pop(parser.default_section, None)
-    return groups
-
-
-class EnsurePackagesDiscovered:
-    """Some expand functions require all the packages to already be discovered before
-    they run, e.g. :func:`read_attr`, :func:`resolve_class`, :func:`cmdclass`.
-
-    Therefore in some cases we will need to run autodiscovery during the evaluation of
-    the configuration. However, it is better to postpone calling package discovery as
-    much as possible, because some parameters can influence it (e.g. ``package_dir``),
-    and those might not have been processed yet.
-    """
-
-    def __init__(self, distribution: Distribution) -> None:
-        self._dist = distribution
-        self._called = False
-
-    def __call__(self):
-        """Trigger the automatic package discovery, if it is still necessary."""
-        if not self._called:
-            self._called = True
-            self._dist.set_defaults(name=False)  # Skip name, we can still be parsing
-
-    def __enter__(self) -> Self:
-        return self
-
-    def __exit__(
-        self,
-        exc_type: type[BaseException] | None,
-        exc_value: BaseException | None,
-        traceback: TracebackType | None,
-    ):
-        if self._called:
-            self._dist.set_defaults.analyse_name()  # Now we can set a default name
-
-    def _get_package_dir(self) -> Mapping[str, str]:
-        self()
-        pkg_dir = self._dist.package_dir
-        return {} if pkg_dir is None else pkg_dir
-
-    @property
-    def package_dir(self) -> Mapping[str, str]:
-        """Proxy to ``package_dir`` that may trigger auto-discovery when used."""
-        return LazyMappingProxy(self._get_package_dir)
-
-
-class LazyMappingProxy(Mapping[_K, _V_co]):
-    """Mapping proxy that delays resolving the target object, until really needed.
-
-    >>> def obtain_mapping():
-    ...     print("Running expensive function!")
-    ...     return {"key": "value", "other key": "other value"}
-    >>> mapping = LazyMappingProxy(obtain_mapping)
-    >>> mapping["key"]
-    Running expensive function!
-    'value'
-    >>> mapping["other key"]
-    'other value'
-    """
-
-    def __init__(self, obtain_mapping_value: Callable[[], Mapping[_K, _V_co]]) -> None:
-        self._obtain = obtain_mapping_value
-        self._value: Mapping[_K, _V_co] | None = None
-
-    def _target(self) -> Mapping[_K, _V_co]:
-        if self._value is None:
-            self._value = self._obtain()
-        return self._value
-
-    def __getitem__(self, key: _K) -> _V_co:
-        return self._target()[key]
-
-    def __len__(self) -> int:
-        return len(self._target())
-
-    def __iter__(self) -> Iterator[_K]:
-        return iter(self._target())
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py b/.venv/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py
deleted file mode 100644
index 15b0baa1..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/pyprojecttoml.py
+++ /dev/null
@@ -1,468 +0,0 @@
-"""
-Load setuptools configuration from ``pyproject.toml`` files.
-
-**PRIVATE MODULE**: API reserved for setuptools internal usage only.
-
-To read project metadata, consider using
-``build.util.project_wheel_metadata`` (https://pypi.org/project/build/).
-For simple scenarios, you can also try parsing the file directly
-with the help of ``tomllib`` or ``tomli``.
-"""
-
-from __future__ import annotations
-
-import logging
-import os
-from collections.abc import Mapping
-from contextlib import contextmanager
-from functools import partial
-from types import TracebackType
-from typing import TYPE_CHECKING, Any, Callable
-
-from .._path import StrPath
-from ..errors import FileError, InvalidConfigError
-from ..warnings import SetuptoolsWarning
-from . import expand as _expand
-from ._apply_pyprojecttoml import _PREVIOUSLY_DEFINED, _MissingDynamic, apply as _apply
-
-if TYPE_CHECKING:
-    from typing_extensions import Self
-
-    from setuptools.dist import Distribution
-
-_logger = logging.getLogger(__name__)
-
-
-def load_file(filepath: StrPath) -> dict:
-    from ..compat.py310 import tomllib
-
-    with open(filepath, "rb") as file:
-        return tomllib.load(file)
-
-
-def validate(config: dict, filepath: StrPath) -> bool:
-    from . import _validate_pyproject as validator
-
-    trove_classifier = validator.FORMAT_FUNCTIONS.get("trove-classifier")
-    if hasattr(trove_classifier, "_disable_download"):
-        # Improve reproducibility by default. See abravalheri/validate-pyproject#31
-        trove_classifier._disable_download()  # type: ignore[union-attr]
-
-    try:
-        return validator.validate(config)
-    except validator.ValidationError as ex:
-        summary = f"configuration error: {ex.summary}"
-        if ex.name.strip("`") != "project":
-            # Probably it is just a field missing/misnamed, not worthy the verbosity...
-            _logger.debug(summary)
-            _logger.debug(ex.details)
-
-        error = f"invalid pyproject.toml config: {ex.name}."
-        raise ValueError(f"{error}\n{summary}") from None
-
-
-def apply_configuration(
-    dist: Distribution,
-    filepath: StrPath,
-    ignore_option_errors: bool = False,
-) -> Distribution:
-    """Apply the configuration from a ``pyproject.toml`` file into an existing
-    distribution object.
-    """
-    config = read_configuration(filepath, True, ignore_option_errors, dist)
-    return _apply(dist, config, filepath)
-
-
-def read_configuration(
-    filepath: StrPath,
-    expand: bool = True,
-    ignore_option_errors: bool = False,
-    dist: Distribution | None = None,
-) -> dict[str, Any]:
-    """Read given configuration file and returns options from it as a dict.
-
-    :param str|unicode filepath: Path to configuration file in the ``pyproject.toml``
-        format.
-
-    :param bool expand: Whether to expand directives and other computed values
-        (i.e. post-process the given configuration)
-
-    :param bool ignore_option_errors: Whether to silently ignore
-        options, values of which could not be resolved (e.g. due to exceptions
-        in directives such as file:, attr:, etc.).
-        If False exceptions are propagated as expected.
-
-    :param Distribution|None: Distribution object to which the configuration refers.
-        If not given a dummy object will be created and discarded after the
-        configuration is read. This is used for auto-discovery of packages and in the
-        case a dynamic configuration (e.g. ``attr`` or ``cmdclass``) is expanded.
-        When ``expand=False`` this object is simply ignored.
-
-    :rtype: dict
-    """
-    filepath = os.path.abspath(filepath)
-
-    if not os.path.isfile(filepath):
-        raise FileError(f"Configuration file {filepath!r} does not exist.")
-
-    asdict = load_file(filepath) or {}
-    project_table = asdict.get("project", {})
-    tool_table = asdict.get("tool", {})
-    setuptools_table = tool_table.get("setuptools", {})
-    if not asdict or not (project_table or setuptools_table):
-        return {}  # User is not using pyproject to configure setuptools
-
-    if "setuptools" in asdict.get("tools", {}):
-        # let the user know they probably have a typo in their metadata
-        _ToolsTypoInMetadata.emit()
-
-    if "distutils" in tool_table:
-        _ExperimentalConfiguration.emit(subject="[tool.distutils]")
-
-    # There is an overall sense in the community that making include_package_data=True
-    # the default would be an improvement.
-    # `ini2toml` backfills include_package_data=False when nothing is explicitly given,
-    # therefore setting a default here is backwards compatible.
-    if dist and dist.include_package_data is not None:
-        setuptools_table.setdefault("include-package-data", dist.include_package_data)
-    else:
-        setuptools_table.setdefault("include-package-data", True)
-    # Persist changes:
-    asdict["tool"] = tool_table
-    tool_table["setuptools"] = setuptools_table
-
-    if "ext-modules" in setuptools_table:
-        _ExperimentalConfiguration.emit(subject="[tool.setuptools.ext-modules]")
-
-    with _ignore_errors(ignore_option_errors):
-        # Don't complain about unrelated errors (e.g. tools not using the "tool" table)
-        subset = {"project": project_table, "tool": {"setuptools": setuptools_table}}
-        validate(subset, filepath)
-
-    if expand:
-        root_dir = os.path.dirname(filepath)
-        return expand_configuration(asdict, root_dir, ignore_option_errors, dist)
-
-    return asdict
-
-
-def expand_configuration(
-    config: dict,
-    root_dir: StrPath | None = None,
-    ignore_option_errors: bool = False,
-    dist: Distribution | None = None,
-) -> dict:
-    """Given a configuration with unresolved fields (e.g. dynamic, cmdclass, ...)
-    find their final values.
-
-    :param dict config: Dict containing the configuration for the distribution
-    :param str root_dir: Top-level directory for the distribution/project
-        (the same directory where ``pyproject.toml`` is place)
-    :param bool ignore_option_errors: see :func:`read_configuration`
-    :param Distribution|None: Distribution object to which the configuration refers.
-        If not given a dummy object will be created and discarded after the
-        configuration is read. Used in the case a dynamic configuration
-        (e.g. ``attr`` or ``cmdclass``).
-
-    :rtype: dict
-    """
-    return _ConfigExpander(config, root_dir, ignore_option_errors, dist).expand()
-
-
-class _ConfigExpander:
-    def __init__(
-        self,
-        config: dict,
-        root_dir: StrPath | None = None,
-        ignore_option_errors: bool = False,
-        dist: Distribution | None = None,
-    ) -> None:
-        self.config = config
-        self.root_dir = root_dir or os.getcwd()
-        self.project_cfg = config.get("project", {})
-        self.dynamic = self.project_cfg.get("dynamic", [])
-        self.setuptools_cfg = config.get("tool", {}).get("setuptools", {})
-        self.dynamic_cfg = self.setuptools_cfg.get("dynamic", {})
-        self.ignore_option_errors = ignore_option_errors
-        self._dist = dist
-        self._referenced_files: set[str] = set()
-
-    def _ensure_dist(self) -> Distribution:
-        from setuptools.dist import Distribution
-
-        attrs = {"src_root": self.root_dir, "name": self.project_cfg.get("name", None)}
-        return self._dist or Distribution(attrs)
-
-    def _process_field(self, container: dict, field: str, fn: Callable):
-        if field in container:
-            with _ignore_errors(self.ignore_option_errors):
-                container[field] = fn(container[field])
-
-    def _canonic_package_data(self, field="package-data"):
-        package_data = self.setuptools_cfg.get(field, {})
-        return _expand.canonic_package_data(package_data)
-
-    def expand(self):
-        self._expand_packages()
-        self._canonic_package_data()
-        self._canonic_package_data("exclude-package-data")
-
-        # A distribution object is required for discovering the correct package_dir
-        dist = self._ensure_dist()
-        ctx = _EnsurePackagesDiscovered(dist, self.project_cfg, self.setuptools_cfg)
-        with ctx as ensure_discovered:
-            package_dir = ensure_discovered.package_dir
-            self._expand_data_files()
-            self._expand_cmdclass(package_dir)
-            self._expand_all_dynamic(dist, package_dir)
-
-        dist._referenced_files.update(self._referenced_files)
-        return self.config
-
-    def _expand_packages(self):
-        packages = self.setuptools_cfg.get("packages")
-        if packages is None or isinstance(packages, (list, tuple)):
-            return
-
-        find = packages.get("find")
-        if isinstance(find, dict):
-            find["root_dir"] = self.root_dir
-            find["fill_package_dir"] = self.setuptools_cfg.setdefault("package-dir", {})
-            with _ignore_errors(self.ignore_option_errors):
-                self.setuptools_cfg["packages"] = _expand.find_packages(**find)
-
-    def _expand_data_files(self):
-        data_files = partial(_expand.canonic_data_files, root_dir=self.root_dir)
-        self._process_field(self.setuptools_cfg, "data-files", data_files)
-
-    def _expand_cmdclass(self, package_dir: Mapping[str, str]):
-        root_dir = self.root_dir
-        cmdclass = partial(_expand.cmdclass, package_dir=package_dir, root_dir=root_dir)
-        self._process_field(self.setuptools_cfg, "cmdclass", cmdclass)
-
-    def _expand_all_dynamic(self, dist: Distribution, package_dir: Mapping[str, str]):
-        special = (  # need special handling
-            "version",
-            "readme",
-            "entry-points",
-            "scripts",
-            "gui-scripts",
-            "classifiers",
-            "dependencies",
-            "optional-dependencies",
-        )
-        # `_obtain` functions are assumed to raise appropriate exceptions/warnings.
-        obtained_dynamic = {
-            field: self._obtain(dist, field, package_dir)
-            for field in self.dynamic
-            if field not in special
-        }
-        obtained_dynamic.update(
-            self._obtain_entry_points(dist, package_dir) or {},
-            version=self._obtain_version(dist, package_dir),
-            readme=self._obtain_readme(dist),
-            classifiers=self._obtain_classifiers(dist),
-            dependencies=self._obtain_dependencies(dist),
-            optional_dependencies=self._obtain_optional_dependencies(dist),
-        )
-        # `None` indicates there is nothing in `tool.setuptools.dynamic` but the value
-        # might have already been set by setup.py/extensions, so avoid overwriting.
-        updates = {k: v for k, v in obtained_dynamic.items() if v is not None}
-        self.project_cfg.update(updates)
-
-    def _ensure_previously_set(self, dist: Distribution, field: str):
-        previous = _PREVIOUSLY_DEFINED[field](dist)
-        if previous is None and not self.ignore_option_errors:
-            msg = (
-                f"No configuration found for dynamic {field!r}.\n"
-                "Some dynamic fields need to be specified via `tool.setuptools.dynamic`"
-                "\nothers must be specified via the equivalent attribute in `setup.py`."
-            )
-            raise InvalidConfigError(msg)
-
-    def _expand_directive(
-        self, specifier: str, directive, package_dir: Mapping[str, str]
-    ):
-        from more_itertools import always_iterable
-
-        with _ignore_errors(self.ignore_option_errors):
-            root_dir = self.root_dir
-            if "file" in directive:
-                self._referenced_files.update(always_iterable(directive["file"]))
-                return _expand.read_files(directive["file"], root_dir)
-            if "attr" in directive:
-                return _expand.read_attr(directive["attr"], package_dir, root_dir)
-            raise ValueError(f"invalid `{specifier}`: {directive!r}")
-        return None
-
-    def _obtain(self, dist: Distribution, field: str, package_dir: Mapping[str, str]):
-        if field in self.dynamic_cfg:
-            return self._expand_directive(
-                f"tool.setuptools.dynamic.{field}",
-                self.dynamic_cfg[field],
-                package_dir,
-            )
-        self._ensure_previously_set(dist, field)
-        return None
-
-    def _obtain_version(self, dist: Distribution, package_dir: Mapping[str, str]):
-        # Since plugins can set version, let's silently skip if it cannot be obtained
-        if "version" in self.dynamic and "version" in self.dynamic_cfg:
-            return _expand.version(
-                # We already do an early check for the presence of "version"
-                self._obtain(dist, "version", package_dir)  # pyright: ignore[reportArgumentType]
-            )
-        return None
-
-    def _obtain_readme(self, dist: Distribution) -> dict[str, str] | None:
-        if "readme" not in self.dynamic:
-            return None
-
-        dynamic_cfg = self.dynamic_cfg
-        if "readme" in dynamic_cfg:
-            return {
-                # We already do an early check for the presence of "readme"
-                "text": self._obtain(dist, "readme", {}),
-                "content-type": dynamic_cfg["readme"].get("content-type", "text/x-rst"),
-            }  # pyright: ignore[reportReturnType]
-
-        self._ensure_previously_set(dist, "readme")
-        return None
-
-    def _obtain_entry_points(
-        self, dist: Distribution, package_dir: Mapping[str, str]
-    ) -> dict[str, dict[str, Any]] | None:
-        fields = ("entry-points", "scripts", "gui-scripts")
-        if not any(field in self.dynamic for field in fields):
-            return None
-
-        text = self._obtain(dist, "entry-points", package_dir)
-        if text is None:
-            return None
-
-        groups = _expand.entry_points(text)
-        # Any is str | dict[str, str], but causes variance issues
-        expanded: dict[str, dict[str, Any]] = {"entry-points": groups}
-
-        def _set_scripts(field: str, group: str):
-            if group in groups:
-                value = groups.pop(group)
-                if field not in self.dynamic:
-                    raise InvalidConfigError(_MissingDynamic.details(field, value))
-                expanded[field] = value
-
-        _set_scripts("scripts", "console_scripts")
-        _set_scripts("gui-scripts", "gui_scripts")
-
-        return expanded
-
-    def _obtain_classifiers(self, dist: Distribution):
-        if "classifiers" in self.dynamic:
-            value = self._obtain(dist, "classifiers", {})
-            if value:
-                return value.splitlines()
-        return None
-
-    def _obtain_dependencies(self, dist: Distribution):
-        if "dependencies" in self.dynamic:
-            value = self._obtain(dist, "dependencies", {})
-            if value:
-                return _parse_requirements_list(value)
-        return None
-
-    def _obtain_optional_dependencies(self, dist: Distribution):
-        if "optional-dependencies" not in self.dynamic:
-            return None
-        if "optional-dependencies" in self.dynamic_cfg:
-            optional_dependencies_map = self.dynamic_cfg["optional-dependencies"]
-            assert isinstance(optional_dependencies_map, dict)
-            return {
-                group: _parse_requirements_list(
-                    self._expand_directive(
-                        f"tool.setuptools.dynamic.optional-dependencies.{group}",
-                        directive,
-                        {},
-                    )
-                )
-                for group, directive in optional_dependencies_map.items()
-            }
-        self._ensure_previously_set(dist, "optional-dependencies")
-        return None
-
-
-def _parse_requirements_list(value):
-    return [
-        line
-        for line in value.splitlines()
-        if line.strip() and not line.strip().startswith("#")
-    ]
-
-
-@contextmanager
-def _ignore_errors(ignore_option_errors: bool):
-    if not ignore_option_errors:
-        yield
-        return
-
-    try:
-        yield
-    except Exception as ex:
-        _logger.debug(f"ignored error: {ex.__class__.__name__} - {ex}")
-
-
-class _EnsurePackagesDiscovered(_expand.EnsurePackagesDiscovered):
-    def __init__(
-        self, distribution: Distribution, project_cfg: dict, setuptools_cfg: dict
-    ) -> None:
-        super().__init__(distribution)
-        self._project_cfg = project_cfg
-        self._setuptools_cfg = setuptools_cfg
-
-    def __enter__(self) -> Self:
-        """When entering the context, the values of ``packages``, ``py_modules`` and
-        ``package_dir`` that are missing in ``dist`` are copied from ``setuptools_cfg``.
-        """
-        dist, cfg = self._dist, self._setuptools_cfg
-        package_dir: dict[str, str] = cfg.setdefault("package-dir", {})
-        package_dir.update(dist.package_dir or {})
-        dist.package_dir = package_dir  # needs to be the same object
-
-        dist.set_defaults._ignore_ext_modules()  # pyproject.toml-specific behaviour
-
-        # Set `name`, `py_modules` and `packages` in dist to short-circuit
-        # auto-discovery, but avoid overwriting empty lists purposefully set by users.
-        if dist.metadata.name is None:
-            dist.metadata.name = self._project_cfg.get("name")
-        if dist.py_modules is None:
-            dist.py_modules = cfg.get("py-modules")
-        if dist.packages is None:
-            dist.packages = cfg.get("packages")
-
-        return super().__enter__()
-
-    def __exit__(
-        self,
-        exc_type: type[BaseException] | None,
-        exc_value: BaseException | None,
-        traceback: TracebackType | None,
-    ) -> None:
-        """When exiting the context, if values of ``packages``, ``py_modules`` and
-        ``package_dir`` are missing in ``setuptools_cfg``, copy from ``dist``.
-        """
-        # If anything was discovered set them back, so they count in the final config.
-        self._setuptools_cfg.setdefault("packages", self._dist.packages)
-        self._setuptools_cfg.setdefault("py-modules", self._dist.py_modules)
-        return super().__exit__(exc_type, exc_value, traceback)
-
-
-class _ExperimentalConfiguration(SetuptoolsWarning):
-    _SUMMARY = (
-        "`{subject}` in `pyproject.toml` is still *experimental* "
-        "and likely to change in future releases."
-    )
-
-
-class _ToolsTypoInMetadata(SetuptoolsWarning):
-    _SUMMARY = (
-        "Ignoring [tools.setuptools] in pyproject.toml, did you mean [tool.setuptools]?"
-    )
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/setupcfg.py b/.venv/lib/python3.12/site-packages/setuptools/config/setupcfg.py
deleted file mode 100644
index b35d0b00..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/setupcfg.py
+++ /dev/null
@@ -1,772 +0,0 @@
-"""
-Load setuptools configuration from ``setup.cfg`` files.
-
-**API will be made private in the future**
-
-To read project metadata, consider using
-``build.util.project_wheel_metadata`` (https://pypi.org/project/build/).
-For simple scenarios, you can also try parsing the file directly
-with the help of ``configparser``.
-"""
-
-from __future__ import annotations
-
-import contextlib
-import functools
-import os
-from collections import defaultdict
-from collections.abc import Iterable, Iterator
-from functools import partial, wraps
-from typing import TYPE_CHECKING, Any, Callable, ClassVar, Generic, TypeVar, cast
-
-from packaging.markers import default_environment as marker_env
-from packaging.requirements import InvalidRequirement, Requirement
-from packaging.specifiers import SpecifierSet
-from packaging.version import InvalidVersion, Version
-
-from .._path import StrPath
-from ..errors import FileError, OptionError
-from ..warnings import SetuptoolsDeprecationWarning
-from . import expand
-
-if TYPE_CHECKING:
-    from typing_extensions import TypeAlias
-
-    from setuptools.dist import Distribution
-
-    from distutils.dist import DistributionMetadata
-
-SingleCommandOptions: TypeAlias = dict[str, tuple[str, Any]]
-"""Dict that associate the name of the options of a particular command to a
-tuple. The first element of the tuple indicates the origin of the option value
-(e.g. the name of the configuration file where it was read from),
-while the second element of the tuple is the option value itself
-"""
-AllCommandOptions: TypeAlias = dict[str, SingleCommandOptions]
-"""cmd name => its options"""
-Target = TypeVar("Target", "Distribution", "DistributionMetadata")
-
-
-def read_configuration(
-    filepath: StrPath, find_others: bool = False, ignore_option_errors: bool = False
-) -> dict:
-    """Read given configuration file and returns options from it as a dict.
-
-    :param str|unicode filepath: Path to configuration file
-        to get options from.
-
-    :param bool find_others: Whether to search for other configuration files
-        which could be on in various places.
-
-    :param bool ignore_option_errors: Whether to silently ignore
-        options, values of which could not be resolved (e.g. due to exceptions
-        in directives such as file:, attr:, etc.).
-        If False exceptions are propagated as expected.
-
-    :rtype: dict
-    """
-    from setuptools.dist import Distribution
-
-    dist = Distribution()
-    filenames = dist.find_config_files() if find_others else []
-    handlers = _apply(dist, filepath, filenames, ignore_option_errors)
-    return configuration_to_dict(handlers)
-
-
-def apply_configuration(dist: Distribution, filepath: StrPath) -> Distribution:
-    """Apply the configuration from a ``setup.cfg`` file into an existing
-    distribution object.
-    """
-    _apply(dist, filepath)
-    dist._finalize_requires()
-    return dist
-
-
-def _apply(
-    dist: Distribution,
-    filepath: StrPath,
-    other_files: Iterable[StrPath] = (),
-    ignore_option_errors: bool = False,
-) -> tuple[ConfigMetadataHandler, ConfigOptionsHandler]:
-    """Read configuration from ``filepath`` and applies to the ``dist`` object."""
-    from setuptools.dist import _Distribution
-
-    filepath = os.path.abspath(filepath)
-
-    if not os.path.isfile(filepath):
-        raise FileError(f'Configuration file {filepath} does not exist.')
-
-    current_directory = os.getcwd()
-    os.chdir(os.path.dirname(filepath))
-    filenames = [*other_files, filepath]
-
-    try:
-        # TODO: Temporary cast until mypy 1.12 is released with upstream fixes from typeshed
-        _Distribution.parse_config_files(dist, filenames=cast(list[str], filenames))
-        handlers = parse_configuration(
-            dist, dist.command_options, ignore_option_errors=ignore_option_errors
-        )
-        dist._finalize_license_files()
-    finally:
-        os.chdir(current_directory)
-
-    return handlers
-
-
-def _get_option(target_obj: Distribution | DistributionMetadata, key: str):
-    """
-    Given a target object and option key, get that option from
-    the target object, either through a get_{key} method or
-    from an attribute directly.
-    """
-    getter_name = f'get_{key}'
-    by_attribute = functools.partial(getattr, target_obj, key)
-    getter = getattr(target_obj, getter_name, by_attribute)
-    return getter()
-
-
-def configuration_to_dict(
-    handlers: Iterable[
-        ConfigHandler[Distribution] | ConfigHandler[DistributionMetadata]
-    ],
-) -> dict:
-    """Returns configuration data gathered by given handlers as a dict.
-
-    :param Iterable[ConfigHandler] handlers: Handlers list,
-        usually from parse_configuration()
-
-    :rtype: dict
-    """
-    config_dict: dict = defaultdict(dict)
-
-    for handler in handlers:
-        for option in handler.set_options:
-            value = _get_option(handler.target_obj, option)
-            config_dict[handler.section_prefix][option] = value
-
-    return config_dict
-
-
-def parse_configuration(
-    distribution: Distribution,
-    command_options: AllCommandOptions,
-    ignore_option_errors: bool = False,
-) -> tuple[ConfigMetadataHandler, ConfigOptionsHandler]:
-    """Performs additional parsing of configuration options
-    for a distribution.
-
-    Returns a list of used option handlers.
-
-    :param Distribution distribution:
-    :param dict command_options:
-    :param bool ignore_option_errors: Whether to silently ignore
-        options, values of which could not be resolved (e.g. due to exceptions
-        in directives such as file:, attr:, etc.).
-        If False exceptions are propagated as expected.
-    :rtype: list
-    """
-    with expand.EnsurePackagesDiscovered(distribution) as ensure_discovered:
-        options = ConfigOptionsHandler(
-            distribution,
-            command_options,
-            ignore_option_errors,
-            ensure_discovered,
-        )
-
-        options.parse()
-        if not distribution.package_dir:
-            distribution.package_dir = options.package_dir  # Filled by `find_packages`
-
-        meta = ConfigMetadataHandler(
-            distribution.metadata,
-            command_options,
-            ignore_option_errors,
-            ensure_discovered,
-            distribution.package_dir,
-            distribution.src_root,
-        )
-        meta.parse()
-        distribution._referenced_files.update(
-            options._referenced_files, meta._referenced_files
-        )
-
-    return meta, options
-
-
-def _warn_accidental_env_marker_misconfig(label: str, orig_value: str, parsed: list):
-    """Because users sometimes misinterpret this configuration:
-
-    [options.extras_require]
-    foo = bar;python_version<"4"
-
-    It looks like one requirement with an environment marker
-    but because there is no newline, it's parsed as two requirements
-    with a semicolon as separator.
-
-    Therefore, if:
-        * input string does not contain a newline AND
-        * parsed result contains two requirements AND
-        * parsing of the two parts from the result (";")
-        leads in a valid Requirement with a valid marker
-    a UserWarning is shown to inform the user about the possible problem.
-    """
-    if "\n" in orig_value or len(parsed) != 2:
-        return
-
-    markers = marker_env().keys()
-
-    try:
-        req = Requirement(parsed[1])
-        if req.name in markers:
-            _AmbiguousMarker.emit(field=label, req=parsed[1])
-    except InvalidRequirement as ex:
-        if any(parsed[1].startswith(marker) for marker in markers):
-            msg = _AmbiguousMarker.message(field=label, req=parsed[1])
-            raise InvalidRequirement(msg) from ex
-
-
-class ConfigHandler(Generic[Target]):
-    """Handles metadata supplied in configuration files."""
-
-    section_prefix: str
-    """Prefix for config sections handled by this handler.
-    Must be provided by class heirs.
-
-    """
-
-    aliases: ClassVar[dict[str, str]] = {}
-    """Options aliases.
-    For compatibility with various packages. E.g.: d2to1 and pbr.
-    Note: `-` in keys is replaced with `_` by config parser.
-
-    """
-
-    def __init__(
-        self,
-        target_obj: Target,
-        options: AllCommandOptions,
-        ignore_option_errors,
-        ensure_discovered: expand.EnsurePackagesDiscovered,
-    ) -> None:
-        self.ignore_option_errors = ignore_option_errors
-        self.target_obj: Target = target_obj
-        self.sections = dict(self._section_options(options))
-        self.set_options: list[str] = []
-        self.ensure_discovered = ensure_discovered
-        self._referenced_files: set[str] = set()
-        """After parsing configurations, this property will enumerate
-        all files referenced by the "file:" directive. Private API for setuptools only.
-        """
-
-    @classmethod
-    def _section_options(
-        cls, options: AllCommandOptions
-    ) -> Iterator[tuple[str, SingleCommandOptions]]:
-        for full_name, value in options.items():
-            pre, _sep, name = full_name.partition(cls.section_prefix)
-            if pre:
-                continue
-            yield name.lstrip('.'), value
-
-    @property
-    def parsers(self):
-        """Metadata item name to parser function mapping."""
-        raise NotImplementedError(
-            '%s must provide .parsers property' % self.__class__.__name__
-        )
-
-    def __setitem__(self, option_name, value) -> None:
-        target_obj = self.target_obj
-
-        # Translate alias into real name.
-        option_name = self.aliases.get(option_name, option_name)
-
-        try:
-            current_value = getattr(target_obj, option_name)
-        except AttributeError as e:
-            raise KeyError(option_name) from e
-
-        if current_value:
-            # Already inhabited. Skipping.
-            return
-
-        try:
-            parsed = self.parsers.get(option_name, lambda x: x)(value)
-        except (Exception,) * self.ignore_option_errors:
-            return
-
-        simple_setter = functools.partial(target_obj.__setattr__, option_name)
-        setter = getattr(target_obj, f"set_{option_name}", simple_setter)
-        setter(parsed)
-
-        self.set_options.append(option_name)
-
-    @classmethod
-    def _parse_list(cls, value, separator=','):
-        """Represents value as a list.
-
-        Value is split either by separator (defaults to comma) or by lines.
-
-        :param value:
-        :param separator: List items separator character.
-        :rtype: list
-        """
-        if isinstance(value, list):  # _get_parser_compound case
-            return value
-
-        if '\n' in value:
-            value = value.splitlines()
-        else:
-            value = value.split(separator)
-
-        return [chunk.strip() for chunk in value if chunk.strip()]
-
-    @classmethod
-    def _parse_dict(cls, value):
-        """Represents value as a dict.
-
-        :param value:
-        :rtype: dict
-        """
-        separator = '='
-        result = {}
-        for line in cls._parse_list(value):
-            key, sep, val = line.partition(separator)
-            if sep != separator:
-                raise OptionError(f"Unable to parse option value to dict: {value}")
-            result[key.strip()] = val.strip()
-
-        return result
-
-    @classmethod
-    def _parse_bool(cls, value):
-        """Represents value as boolean.
-
-        :param value:
-        :rtype: bool
-        """
-        value = value.lower()
-        return value in ('1', 'true', 'yes')
-
-    @classmethod
-    def _exclude_files_parser(cls, key):
-        """Returns a parser function to make sure field inputs
-        are not files.
-
-        Parses a value after getting the key so error messages are
-        more informative.
-
-        :param key:
-        :rtype: callable
-        """
-
-        def parser(value):
-            exclude_directive = 'file:'
-            if value.startswith(exclude_directive):
-                raise ValueError(
-                    f'Only strings are accepted for the {key} field, '
-                    'files are not accepted'
-                )
-            return value
-
-        return parser
-
-    def _parse_file(self, value, root_dir: StrPath | None):
-        """Represents value as a string, allowing including text
-        from nearest files using `file:` directive.
-
-        Directive is sandboxed and won't reach anything outside
-        directory with setup.py.
-
-        Examples:
-            file: README.rst, CHANGELOG.md, src/file.txt
-
-        :param str value:
-        :rtype: str
-        """
-        include_directive = 'file:'
-
-        if not isinstance(value, str):
-            return value
-
-        if not value.startswith(include_directive):
-            return value
-
-        spec = value[len(include_directive) :]
-        filepaths = [path.strip() for path in spec.split(',')]
-        self._referenced_files.update(filepaths)
-        return expand.read_files(filepaths, root_dir)
-
-    def _parse_attr(self, value, package_dir, root_dir: StrPath):
-        """Represents value as a module attribute.
-
-        Examples:
-            attr: package.attr
-            attr: package.module.attr
-
-        :param str value:
-        :rtype: str
-        """
-        attr_directive = 'attr:'
-        if not value.startswith(attr_directive):
-            return value
-
-        attr_desc = value.replace(attr_directive, '')
-
-        # Make sure package_dir is populated correctly, so `attr:` directives can work
-        package_dir.update(self.ensure_discovered.package_dir)
-        return expand.read_attr(attr_desc, package_dir, root_dir)
-
-    @classmethod
-    def _get_parser_compound(cls, *parse_methods):
-        """Returns parser function to represents value as a list.
-
-        Parses a value applying given methods one after another.
-
-        :param parse_methods:
-        :rtype: callable
-        """
-
-        def parse(value):
-            parsed = value
-
-            for method in parse_methods:
-                parsed = method(parsed)
-
-            return parsed
-
-        return parse
-
-    @classmethod
-    def _parse_section_to_dict_with_key(cls, section_options, values_parser):
-        """Parses section options into a dictionary.
-
-        Applies a given parser to each option in a section.
-
-        :param dict section_options:
-        :param callable values_parser: function with 2 args corresponding to key, value
-        :rtype: dict
-        """
-        value = {}
-        for key, (_, val) in section_options.items():
-            value[key] = values_parser(key, val)
-        return value
-
-    @classmethod
-    def _parse_section_to_dict(cls, section_options, values_parser=None):
-        """Parses section options into a dictionary.
-
-        Optionally applies a given parser to each value.
-
-        :param dict section_options:
-        :param callable values_parser: function with 1 arg corresponding to option value
-        :rtype: dict
-        """
-        parser = (lambda _, v: values_parser(v)) if values_parser else (lambda _, v: v)
-        return cls._parse_section_to_dict_with_key(section_options, parser)
-
-    def parse_section(self, section_options) -> None:
-        """Parses configuration file section.
-
-        :param dict section_options:
-        """
-        for name, (_, value) in section_options.items():
-            with contextlib.suppress(KeyError):
-                # Keep silent for a new option may appear anytime.
-                self[name] = value
-
-    def parse(self) -> None:
-        """Parses configuration file items from one
-        or more related sections.
-
-        """
-        for section_name, section_options in self.sections.items():
-            method_postfix = ''
-            if section_name:  # [section.option] variant
-                method_postfix = f"_{section_name}"
-
-            section_parser_method: Callable | None = getattr(
-                self,
-                # Dots in section names are translated into dunderscores.
-                f'parse_section{method_postfix}'.replace('.', '__'),
-                None,
-            )
-
-            if section_parser_method is None:
-                raise OptionError(
-                    "Unsupported distribution option section: "
-                    f"[{self.section_prefix}.{section_name}]"
-                )
-
-            section_parser_method(section_options)
-
-    def _deprecated_config_handler(self, func, msg, **kw):
-        """this function will wrap around parameters that are deprecated
-
-        :param msg: deprecation message
-        :param func: function to be wrapped around
-        """
-
-        @wraps(func)
-        def config_handler(*args, **kwargs):
-            kw.setdefault("stacklevel", 2)
-            _DeprecatedConfig.emit("Deprecated config in `setup.cfg`", msg, **kw)
-            return func(*args, **kwargs)
-
-        return config_handler
-
-
-class ConfigMetadataHandler(ConfigHandler["DistributionMetadata"]):
-    section_prefix = 'metadata'
-
-    aliases = {
-        'home_page': 'url',
-        'summary': 'description',
-        'classifier': 'classifiers',
-        'platform': 'platforms',
-    }
-
-    strict_mode = False
-    """We need to keep it loose, to be partially compatible with
-    `pbr` and `d2to1` packages which also uses `metadata` section.
-
-    """
-
-    def __init__(
-        self,
-        target_obj: DistributionMetadata,
-        options: AllCommandOptions,
-        ignore_option_errors: bool,
-        ensure_discovered: expand.EnsurePackagesDiscovered,
-        package_dir: dict | None = None,
-        root_dir: StrPath | None = os.curdir,
-    ) -> None:
-        super().__init__(target_obj, options, ignore_option_errors, ensure_discovered)
-        self.package_dir = package_dir
-        self.root_dir = root_dir
-
-    @property
-    def parsers(self):
-        """Metadata item name to parser function mapping."""
-        parse_list = self._parse_list
-        parse_file = partial(self._parse_file, root_dir=self.root_dir)
-        parse_dict = self._parse_dict
-        exclude_files_parser = self._exclude_files_parser
-
-        return {
-            'platforms': parse_list,
-            'keywords': parse_list,
-            'provides': parse_list,
-            'obsoletes': parse_list,
-            'classifiers': self._get_parser_compound(parse_file, parse_list),
-            'license': exclude_files_parser('license'),
-            'license_files': parse_list,
-            'description': parse_file,
-            'long_description': parse_file,
-            'version': self._parse_version,
-            'project_urls': parse_dict,
-        }
-
-    def _parse_version(self, value):
-        """Parses `version` option value.
-
-        :param value:
-        :rtype: str
-
-        """
-        version = self._parse_file(value, self.root_dir)
-
-        if version != value:
-            version = version.strip()
-            # Be strict about versions loaded from file because it's easy to
-            # accidentally include newlines and other unintended content
-            try:
-                Version(version)
-            except InvalidVersion as e:
-                raise OptionError(
-                    f'Version loaded from {value} does not '
-                    f'comply with PEP 440: {version}'
-                ) from e
-
-            return version
-
-        return expand.version(self._parse_attr(value, self.package_dir, self.root_dir))
-
-
-class ConfigOptionsHandler(ConfigHandler["Distribution"]):
-    section_prefix = 'options'
-
-    def __init__(
-        self,
-        target_obj: Distribution,
-        options: AllCommandOptions,
-        ignore_option_errors: bool,
-        ensure_discovered: expand.EnsurePackagesDiscovered,
-    ) -> None:
-        super().__init__(target_obj, options, ignore_option_errors, ensure_discovered)
-        self.root_dir = target_obj.src_root
-        self.package_dir: dict[str, str] = {}  # To be filled by `find_packages`
-
-    @classmethod
-    def _parse_list_semicolon(cls, value):
-        return cls._parse_list(value, separator=';')
-
-    def _parse_file_in_root(self, value):
-        return self._parse_file(value, root_dir=self.root_dir)
-
-    def _parse_requirements_list(self, label: str, value: str):
-        # Parse a requirements list, either by reading in a `file:`, or a list.
-        parsed = self._parse_list_semicolon(self._parse_file_in_root(value))
-        _warn_accidental_env_marker_misconfig(label, value, parsed)
-        # Filter it to only include lines that are not comments. `parse_list`
-        # will have stripped each line and filtered out empties.
-        return [line for line in parsed if not line.startswith("#")]
-
-    @property
-    def parsers(self):
-        """Metadata item name to parser function mapping."""
-        parse_list = self._parse_list
-        parse_bool = self._parse_bool
-        parse_dict = self._parse_dict
-        parse_cmdclass = self._parse_cmdclass
-
-        return {
-            'zip_safe': parse_bool,
-            'include_package_data': parse_bool,
-            'package_dir': parse_dict,
-            'scripts': parse_list,
-            'eager_resources': parse_list,
-            'dependency_links': parse_list,
-            'namespace_packages': self._deprecated_config_handler(
-                parse_list,
-                "The namespace_packages parameter is deprecated, "
-                "consider using implicit namespaces instead (PEP 420).",
-                # TODO: define due date, see setuptools.dist:check_nsp.
-            ),
-            'install_requires': partial(
-                self._parse_requirements_list, "install_requires"
-            ),
-            'setup_requires': self._parse_list_semicolon,
-            'packages': self._parse_packages,
-            'entry_points': self._parse_file_in_root,
-            'py_modules': parse_list,
-            'python_requires': SpecifierSet,
-            'cmdclass': parse_cmdclass,
-        }
-
-    def _parse_cmdclass(self, value):
-        package_dir = self.ensure_discovered.package_dir
-        return expand.cmdclass(self._parse_dict(value), package_dir, self.root_dir)
-
-    def _parse_packages(self, value):
-        """Parses `packages` option value.
-
-        :param value:
-        :rtype: list
-        """
-        find_directives = ['find:', 'find_namespace:']
-        trimmed_value = value.strip()
-
-        if trimmed_value not in find_directives:
-            return self._parse_list(value)
-
-        # Read function arguments from a dedicated section.
-        find_kwargs = self.parse_section_packages__find(
-            self.sections.get('packages.find', {})
-        )
-
-        find_kwargs.update(
-            namespaces=(trimmed_value == find_directives[1]),
-            root_dir=self.root_dir,
-            fill_package_dir=self.package_dir,
-        )
-
-        return expand.find_packages(**find_kwargs)
-
-    def parse_section_packages__find(self, section_options):
-        """Parses `packages.find` configuration file section.
-
-        To be used in conjunction with _parse_packages().
-
-        :param dict section_options:
-        """
-        section_data = self._parse_section_to_dict(section_options, self._parse_list)
-
-        valid_keys = ['where', 'include', 'exclude']
-        find_kwargs = {k: v for k, v in section_data.items() if k in valid_keys and v}
-
-        where = find_kwargs.get('where')
-        if where is not None:
-            find_kwargs['where'] = where[0]  # cast list to single val
-
-        return find_kwargs
-
-    def parse_section_entry_points(self, section_options) -> None:
-        """Parses `entry_points` configuration file section.
-
-        :param dict section_options:
-        """
-        parsed = self._parse_section_to_dict(section_options, self._parse_list)
-        self['entry_points'] = parsed
-
-    def _parse_package_data(self, section_options):
-        package_data = self._parse_section_to_dict(section_options, self._parse_list)
-        return expand.canonic_package_data(package_data)
-
-    def parse_section_package_data(self, section_options) -> None:
-        """Parses `package_data` configuration file section.
-
-        :param dict section_options:
-        """
-        self['package_data'] = self._parse_package_data(section_options)
-
-    def parse_section_exclude_package_data(self, section_options) -> None:
-        """Parses `exclude_package_data` configuration file section.
-
-        :param dict section_options:
-        """
-        self['exclude_package_data'] = self._parse_package_data(section_options)
-
-    def parse_section_extras_require(self, section_options) -> None:
-        """Parses `extras_require` configuration file section.
-
-        :param dict section_options:
-        """
-        parsed = self._parse_section_to_dict_with_key(
-            section_options,
-            lambda k, v: self._parse_requirements_list(f"extras_require[{k}]", v),
-        )
-
-        self['extras_require'] = parsed
-
-    def parse_section_data_files(self, section_options) -> None:
-        """Parses `data_files` configuration file section.
-
-        :param dict section_options:
-        """
-        parsed = self._parse_section_to_dict(section_options, self._parse_list)
-        self['data_files'] = expand.canonic_data_files(parsed, self.root_dir)
-
-
-class _AmbiguousMarker(SetuptoolsDeprecationWarning):
-    _SUMMARY = "Ambiguous requirement marker."
-    _DETAILS = """
-    One of the parsed requirements in `{field}` looks like a valid environment marker:
-
-        {req!r}
-
-    Please make sure that the configuration file is correct.
-    You can use dangling lines to avoid this problem.
-    """
-    _SEE_DOCS = "userguide/declarative_config.html#opt-2"
-    # TODO: should we include due_date here? Initially introduced in 6 Aug 2022.
-    # Does this make sense with latest version of packaging?
-
-    @classmethod
-    def message(cls, **kw):
-        docs = f"https://setuptools.pypa.io/en/latest/{cls._SEE_DOCS}"
-        return cls._format(cls._SUMMARY, cls._DETAILS, see_url=docs, format_args=kw)
-
-
-class _DeprecatedConfig(SetuptoolsDeprecationWarning):
-    _SEE_DOCS = "userguide/declarative_config.html"
diff --git a/.venv/lib/python3.12/site-packages/setuptools/config/setuptools.schema.json b/.venv/lib/python3.12/site-packages/setuptools/config/setuptools.schema.json
deleted file mode 100644
index ec887b35..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/config/setuptools.schema.json
+++ /dev/null
@@ -1,433 +0,0 @@
-{
-  "$schema": "http://json-schema.org/draft-07/schema#",
-
-  "$id": "https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html",
-  "title": "``tool.setuptools`` table",
-  "$$description": [
-    "``setuptools``-specific configurations that can be set by users that require",
-    "customization.",
-    "These configurations are completely optional and probably can be skipped when",
-    "creating simple packages. They are equivalent to some of the `Keywords",
-    "`_",
-    "used by the ``setup.py`` file, and can be set via the ``tool.setuptools`` table.",
-    "It considers only ``setuptools`` `parameters",
-    "`_",
-    "that are not covered by :pep:`621`; and intentionally excludes ``dependency_links``",
-    "and ``setup_requires`` (incompatible with modern workflows/standards)."
-  ],
-
-  "type": "object",
-  "additionalProperties": false,
-  "properties": {
-    "platforms": {
-      "type": "array",
-      "items": {"type": "string"}
-    },
-    "provides": {
-      "$$description": [
-        "Package and virtual package names contained within this package",
-        "**(not supported by pip)**"
-      ],
-      "type": "array",
-      "items": {"type": "string", "format": "pep508-identifier"}
-    },
-    "obsoletes": {
-      "$$description": [
-        "Packages which this package renders obsolete",
-        "**(not supported by pip)**"
-      ],
-      "type": "array",
-      "items": {"type": "string", "format": "pep508-identifier"}
-    },
-    "zip-safe": {
-      "$$description": [
-        "Whether the project can be safely installed and run from a zip file.",
-        "**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and",
-        "``setup.py install`` in the context of ``eggs`` (**DEPRECATED**)."
-      ],
-      "type": "boolean"
-    },
-    "script-files": {
-      "$$description": [
-        "Legacy way of defining scripts (entry-points are preferred).",
-        "Equivalent to the ``script`` keyword in ``setup.py``",
-        "(it was renamed to avoid confusion with entry-point based ``project.scripts``",
-        "defined in :pep:`621`).",
-        "**DISCOURAGED**: generic script wrappers are tricky and may not work properly.",
-        "Whenever possible, please use ``project.scripts`` instead."
-      ],
-      "type": "array",
-      "items": {"type": "string"},
-      "$comment": "TODO: is this field deprecated/should be removed?"
-    },
-    "eager-resources": {
-      "$$description": [
-        "Resources that should be extracted together, if any of them is needed,",
-        "or if any C extensions included in the project are imported.",
-        "**OBSOLETE**: only relevant for ``pkg_resources``, ``easy_install`` and",
-        "``setup.py install`` in the context of ``eggs`` (**DEPRECATED**)."
-      ],
-      "type": "array",
-      "items": {"type": "string"}
-    },
-    "packages": {
-      "$$description": [
-        "Packages that should be included in the distribution.",
-        "It can be given either as a list of package identifiers",
-        "or as a ``dict``-like structure with a single key ``find``",
-        "which corresponds to a dynamic call to",
-        "``setuptools.config.expand.find_packages`` function.",
-        "The ``find`` key is associated with a nested ``dict``-like structure that can",
-        "contain ``where``, ``include``, ``exclude`` and ``namespaces`` keys,",
-        "mimicking the keyword arguments of the associated function."
-      ],
-      "oneOf": [
-        {
-          "title": "Array of Python package identifiers",
-          "type": "array",
-          "items": {"$ref": "#/definitions/package-name"}
-        },
-        {"$ref": "#/definitions/find-directive"}
-      ]
-    },
-    "package-dir": {
-      "$$description": [
-        ":class:`dict`-like structure mapping from package names to directories where their",
-        "code can be found.",
-        "The empty string (as key) means that all packages are contained inside",
-        "the given directory will be included in the distribution."
-      ],
-      "type": "object",
-      "additionalProperties": false,
-      "propertyNames": {
-        "anyOf": [{"const": ""}, {"$ref": "#/definitions/package-name"}]
-      },
-      "patternProperties": {
-        "^.*$": {"type": "string" }
-      }
-    },
-    "package-data": {
-      "$$description": [
-        "Mapping from package names to lists of glob patterns.",
-        "Usually this option is not needed when using ``include-package-data = true``",
-        "For more information on how to include data files, check ``setuptools`` `docs",
-        "`_."
-      ],
-      "type": "object",
-      "additionalProperties": false,
-      "propertyNames": {
-        "anyOf": [{"type": "string", "format": "python-module-name"}, {"const": "*"}]
-      },
-      "patternProperties": {
-        "^.*$": {"type": "array", "items": {"type": "string"}}
-      }
-    },
-    "include-package-data": {
-      "$$description": [
-        "Automatically include any data files inside the package directories",
-        "that are specified by ``MANIFEST.in``",
-        "For more information on how to include data files, check ``setuptools`` `docs",
-        "`_."
-      ],
-      "type": "boolean"
-    },
-    "exclude-package-data": {
-      "$$description": [
-        "Mapping from package names to lists of glob patterns that should be excluded",
-        "For more information on how to include data files, check ``setuptools`` `docs",
-        "`_."
-      ],
-      "type": "object",
-      "additionalProperties": false,
-      "propertyNames": {
-        "anyOf": [{"type": "string", "format": "python-module-name"}, {"const": "*"}]
-      },
-      "patternProperties": {
-          "^.*$": {"type": "array", "items": {"type": "string"}}
-      }
-    },
-    "namespace-packages": {
-      "type": "array",
-      "items": {"type": "string", "format": "python-module-name-relaxed"},
-      "$comment": "https://setuptools.pypa.io/en/latest/userguide/package_discovery.html",
-      "description": "**DEPRECATED**: use implicit namespaces instead (:pep:`420`)."
-    },
-    "py-modules": {
-      "description": "Modules that setuptools will manipulate",
-      "type": "array",
-      "items": {"type": "string", "format": "python-module-name-relaxed"},
-      "$comment": "TODO: clarify the relationship with ``packages``"
-    },
-    "ext-modules": {
-      "description": "Extension modules to be compiled by setuptools",
-      "type": "array",
-      "items": {"$ref": "#/definitions/ext-module"}
-    },
-    "data-files": {
-      "$$description": [
-        "``dict``-like structure where each key represents a directory and",
-        "the value is a list of glob patterns that should be installed in them.",
-        "**DISCOURAGED**: please notice this might not work as expected with wheels.",
-        "Whenever possible, consider using data files inside the package directories",
-        "(or create a new namespace package that only contains data files).",
-        "See `data files support",
-        "`_."
-      ],
-      "type": "object",
-      "patternProperties": {
-          "^.*$": {"type": "array", "items": {"type": "string"}}
-      }
-    },
-    "cmdclass": {
-      "$$description": [
-        "Mapping of distutils-style command names to ``setuptools.Command`` subclasses",
-        "which in turn should be represented by strings with a qualified class name",
-        "(i.e., \"dotted\" form with module), e.g.::\n\n",
-        "    cmdclass = {mycmd = \"pkg.subpkg.module.CommandClass\"}\n\n",
-        "The command class should be a directly defined at the top-level of the",
-        "containing module (no class nesting)."
-      ],
-      "type": "object",
-      "patternProperties": {
-          "^.*$": {"type": "string", "format": "python-qualified-identifier"}
-      }
-    },
-    "license-files": {
-      "type": "array",
-      "items": {"type": "string"},
-      "$$description": [
-        "**PROVISIONAL**: list of glob patterns for all license files being distributed.",
-        "(likely to become standard with :pep:`639`).",
-        "By default: ``['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']``"
-      ],
-      "$comment": "TODO: revise if PEP 639 is accepted. Probably ``project.license-files``?"
-    },
-    "dynamic": {
-      "type": "object",
-      "description": "Instructions for loading :pep:`621`-related metadata dynamically",
-      "additionalProperties": false,
-      "properties": {
-        "version": {
-          "$$description": [
-            "A version dynamically loaded via either the ``attr:`` or ``file:``",
-            "directives. Please make sure the given file or attribute respects :pep:`440`.",
-            "Also ensure to set ``project.dynamic`` accordingly."
-          ],
-          "oneOf": [
-            {"$ref": "#/definitions/attr-directive"},
-            {"$ref": "#/definitions/file-directive"}
-          ]
-        },
-        "classifiers": {"$ref": "#/definitions/file-directive"},
-        "description": {"$ref": "#/definitions/file-directive"},
-        "entry-points": {"$ref": "#/definitions/file-directive"},
-        "dependencies": {"$ref": "#/definitions/file-directive-for-dependencies"},
-        "optional-dependencies": {
-          "type": "object",
-          "propertyNames": {"type": "string", "format": "pep508-identifier"},
-          "additionalProperties": false,
-          "patternProperties": {
-            ".+": {"$ref": "#/definitions/file-directive-for-dependencies"}
-          }
-        },
-        "readme": {
-          "type": "object",
-          "anyOf": [
-            {"$ref": "#/definitions/file-directive"},
-            {
-              "type": "object",
-              "properties": {
-                "content-type": {"type": "string"},
-                "file": { "$ref": "#/definitions/file-directive/properties/file" }
-              },
-              "additionalProperties": false}
-          ],
-          "required": ["file"]
-        }
-      }
-    }
-  },
-
-  "definitions": {
-    "package-name": {
-      "$id": "#/definitions/package-name",
-      "title": "Valid package name",
-      "description": "Valid package name (importable or :pep:`561`).",
-      "type": "string",
-      "anyOf": [
-        {"type": "string", "format": "python-module-name-relaxed"},
-        {"type": "string", "format": "pep561-stub-name"}
-      ]
-    },
-    "ext-module": {
-      "$id": "#/definitions/ext-module",
-      "title": "Extension module",
-      "description": "Parameters to construct a :class:`setuptools.Extension` object",
-      "type": "object",
-      "required": ["name", "sources"],
-      "additionalProperties": false,
-      "properties": {
-        "name": {
-          "type": "string",
-          "format": "python-module-name-relaxed"
-        },
-        "sources": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "include-dirs":{
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "define-macros": {
-          "type": "array",
-          "items": {
-            "type": "array",
-            "items": [
-              {"description": "macro name", "type": "string"},
-              {"description": "macro value", "oneOf": [{"type": "string"}, {"type": "null"}]}
-            ],
-            "additionalItems": false
-          }
-        },
-        "undef-macros": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "library-dirs": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "libraries": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "runtime-library-dirs": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "extra-objects": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "extra-compile-args": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "extra-link-args": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "export-symbols": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "swig-opts": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "depends": {
-          "type": "array",
-          "items": {"type": "string"}
-        },
-        "language": {"type": "string"},
-        "optional": {"type": "boolean"},
-        "py-limited-api": {"type": "boolean"}
-      }
-    },
-    "file-directive": {
-      "$id": "#/definitions/file-directive",
-      "title": "'file:' directive",
-      "description":
-        "Value is read from a file (or list of files and then concatenated)",
-      "type": "object",
-      "additionalProperties": false,
-      "properties": {
-        "file": {
-          "oneOf": [
-            {"type": "string"},
-            {"type": "array", "items": {"type": "string"}}
-          ]
-        }
-      },
-      "required": ["file"]
-    },
-    "file-directive-for-dependencies": {
-      "title": "'file:' directive for dependencies",
-      "allOf": [
-        {
-          "$$description": [
-            "**BETA**: subset of the ``requirements.txt`` format",
-            "without ``pip`` flags and options",
-            "(one :pep:`508`-compliant string per line,",
-            "lines that are blank or start with ``#`` are excluded).",
-            "See `dynamic metadata",
-            "`_."
-          ]
-        },
-        {"$ref": "#/definitions/file-directive"}
-      ]
-    },
-    "attr-directive": {
-      "title": "'attr:' directive",
-      "$id": "#/definitions/attr-directive",
-      "$$description": [
-        "Value is read from a module attribute. Supports callables and iterables;",
-        "unsupported types are cast via ``str()``"
-      ],
-      "type": "object",
-      "additionalProperties": false,
-      "properties": {
-        "attr": {"type": "string", "format": "python-qualified-identifier"}
-      },
-      "required": ["attr"]
-    },
-    "find-directive": {
-      "$id": "#/definitions/find-directive",
-      "title": "'find:' directive",
-      "type": "object",
-      "additionalProperties": false,
-      "properties": {
-        "find": {
-          "type": "object",
-          "$$description": [
-            "Dynamic `package discovery",
-            "`_."
-          ],
-          "additionalProperties": false,
-          "properties": {
-            "where": {
-              "description":
-                "Directories to be searched for packages (Unix-style relative path)",
-              "type": "array",
-              "items": {"type": "string"}
-            },
-            "exclude": {
-              "type": "array",
-              "$$description": [
-                "Exclude packages that match the values listed in this field.",
-                "Can container shell-style wildcards (e.g. ``'pkg.*'``)"
-              ],
-              "items": {"type": "string"}
-            },
-            "include": {
-              "type": "array",
-              "$$description": [
-                "Restrict the found packages to just the ones listed in this field.",
-                "Can container shell-style wildcards (e.g. ``'pkg.*'``)"
-              ],
-              "items": {"type": "string"}
-            },
-            "namespaces": {
-              "type": "boolean",
-              "$$description": [
-                "When ``True``, directories without a ``__init__.py`` file will also",
-                "be scanned for :pep:`420`-style implicit namespaces"
-              ]
-            }
-          }
-        }
-      }
-    }
-  }
-}
diff --git a/.venv/lib/python3.12/site-packages/setuptools/depends.py b/.venv/lib/python3.12/site-packages/setuptools/depends.py
deleted file mode 100644
index 1be71857..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/depends.py
+++ /dev/null
@@ -1,185 +0,0 @@
-from __future__ import annotations
-
-import contextlib
-import dis
-import marshal
-import sys
-from types import CodeType
-from typing import Any, Literal, TypeVar
-
-from packaging.version import Version
-
-from . import _imp
-from ._imp import PY_COMPILED, PY_FROZEN, PY_SOURCE, find_module
-
-_T = TypeVar("_T")
-
-__all__ = ['Require', 'find_module']
-
-
-class Require:
-    """A prerequisite to building or installing a distribution"""
-
-    def __init__(
-        self,
-        name,
-        requested_version,
-        module,
-        homepage: str = '',
-        attribute=None,
-        format=None,
-    ) -> None:
-        if format is None and requested_version is not None:
-            format = Version
-
-        if format is not None:
-            requested_version = format(requested_version)
-            if attribute is None:
-                attribute = '__version__'
-
-        self.__dict__.update(locals())
-        del self.self
-
-    def full_name(self):
-        """Return full package/distribution name, w/version"""
-        if self.requested_version is not None:
-            return '%s-%s' % (self.name, self.requested_version)
-        return self.name
-
-    def version_ok(self, version):
-        """Is 'version' sufficiently up-to-date?"""
-        return (
-            self.attribute is None
-            or self.format is None
-            or str(version) != "unknown"
-            and self.format(version) >= self.requested_version
-        )
-
-    def get_version(
-        self, paths=None, default: _T | Literal["unknown"] = "unknown"
-    ) -> _T | Literal["unknown"] | None | Any:
-        """Get version number of installed module, 'None', or 'default'
-
-        Search 'paths' for module.  If not found, return 'None'.  If found,
-        return the extracted version attribute, or 'default' if no version
-        attribute was specified, or the value cannot be determined without
-        importing the module.  The version is formatted according to the
-        requirement's version format (if any), unless it is 'None' or the
-        supplied 'default'.
-        """
-
-        if self.attribute is None:
-            try:
-                f, _p, _i = find_module(self.module, paths)
-            except ImportError:
-                return None
-            if f:
-                f.close()
-            return default
-
-        v = get_module_constant(self.module, self.attribute, default, paths)
-
-        if v is not None and v is not default and self.format is not None:
-            return self.format(v)
-
-        return v
-
-    def is_present(self, paths=None):
-        """Return true if dependency is present on 'paths'"""
-        return self.get_version(paths) is not None
-
-    def is_current(self, paths=None):
-        """Return true if dependency is present and up-to-date on 'paths'"""
-        version = self.get_version(paths)
-        if version is None:
-            return False
-        return self.version_ok(str(version))
-
-
-def maybe_close(f):
-    @contextlib.contextmanager
-    def empty():
-        yield
-        return
-
-    if not f:
-        return empty()
-
-    return contextlib.closing(f)
-
-
-# Some objects are not available on some platforms.
-# XXX it'd be better to test assertions about bytecode instead.
-if not sys.platform.startswith('java') and sys.platform != 'cli':
-
-    def get_module_constant(
-        module, symbol, default: _T | int = -1, paths=None
-    ) -> _T | int | None | Any:
-        """Find 'module' by searching 'paths', and extract 'symbol'
-
-        Return 'None' if 'module' does not exist on 'paths', or it does not define
-        'symbol'.  If the module defines 'symbol' as a constant, return the
-        constant.  Otherwise, return 'default'."""
-
-        try:
-            f, path, (_suffix, _mode, kind) = info = find_module(module, paths)
-        except ImportError:
-            # Module doesn't exist
-            return None
-
-        with maybe_close(f):
-            if kind == PY_COMPILED:
-                f.read(8)  # skip magic & date
-                code = marshal.load(f)
-            elif kind == PY_FROZEN:
-                code = _imp.get_frozen_object(module, paths)
-            elif kind == PY_SOURCE:
-                code = compile(f.read(), path, 'exec')
-            else:
-                # Not something we can parse; we'll have to import it.  :(
-                imported = _imp.get_module(module, paths, info)
-                return getattr(imported, symbol, None)
-
-        return extract_constant(code, symbol, default)
-
-    def extract_constant(
-        code: CodeType, symbol: str, default: _T | int = -1
-    ) -> _T | int | None | Any:
-        """Extract the constant value of 'symbol' from 'code'
-
-        If the name 'symbol' is bound to a constant value by the Python code
-        object 'code', return that value.  If 'symbol' is bound to an expression,
-        return 'default'.  Otherwise, return 'None'.
-
-        Return value is based on the first assignment to 'symbol'.  'symbol' must
-        be a global, or at least a non-"fast" local in the code block.  That is,
-        only 'STORE_NAME' and 'STORE_GLOBAL' opcodes are checked, and 'symbol'
-        must be present in 'code.co_names'.
-        """
-        if symbol not in code.co_names:
-            # name's not there, can't possibly be an assignment
-            return None
-
-        name_idx = list(code.co_names).index(symbol)
-
-        STORE_NAME = dis.opmap['STORE_NAME']
-        STORE_GLOBAL = dis.opmap['STORE_GLOBAL']
-        LOAD_CONST = dis.opmap['LOAD_CONST']
-
-        const = default
-
-        for byte_code in dis.Bytecode(code):
-            op = byte_code.opcode
-            arg = byte_code.arg
-
-            if op == LOAD_CONST:
-                assert arg is not None
-                const = code.co_consts[arg]
-            elif arg == name_idx and (op == STORE_NAME or op == STORE_GLOBAL):
-                return const
-            else:
-                const = default
-
-        return None
-
-    __all__ += ['get_module_constant', 'extract_constant']
diff --git a/.venv/lib/python3.12/site-packages/setuptools/discovery.py b/.venv/lib/python3.12/site-packages/setuptools/discovery.py
deleted file mode 100644
index c8883991..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/discovery.py
+++ /dev/null
@@ -1,614 +0,0 @@
-"""Automatic discovery of Python modules and packages (for inclusion in the
-distribution) and other config values.
-
-For the purposes of this module, the following nomenclature is used:
-
-- "src-layout": a directory representing a Python project that contains a "src"
-  folder. Everything under the "src" folder is meant to be included in the
-  distribution when packaging the project. Example::
-
-    .
-    ├── tox.ini
-    ├── pyproject.toml
-    └── src/
-        └── mypkg/
-            ├── __init__.py
-            ├── mymodule.py
-            └── my_data_file.txt
-
-- "flat-layout": a Python project that does not use "src-layout" but instead
-  have a directory under the project root for each package::
-
-    .
-    ├── tox.ini
-    ├── pyproject.toml
-    └── mypkg/
-        ├── __init__.py
-        ├── mymodule.py
-        └── my_data_file.txt
-
-- "single-module": a project that contains a single Python script direct under
-  the project root (no directory used)::
-
-    .
-    ├── tox.ini
-    ├── pyproject.toml
-    └── mymodule.py
-
-"""
-
-from __future__ import annotations
-
-import itertools
-import os
-from collections.abc import Iterable, Iterator, Mapping
-from fnmatch import fnmatchcase
-from glob import glob
-from pathlib import Path
-from typing import TYPE_CHECKING, ClassVar
-
-import _distutils_hack.override  # noqa: F401
-
-from ._path import StrPath
-
-from distutils import log
-from distutils.util import convert_path
-
-if TYPE_CHECKING:
-    from setuptools import Distribution
-
-chain_iter = itertools.chain.from_iterable
-
-
-def _valid_name(path: StrPath) -> bool:
-    # Ignore invalid names that cannot be imported directly
-    return os.path.basename(path).isidentifier()
-
-
-class _Filter:
-    """
-    Given a list of patterns, create a callable that will be true only if
-    the input matches at least one of the patterns.
-    """
-
-    def __init__(self, *patterns: str) -> None:
-        self._patterns = dict.fromkeys(patterns)
-
-    def __call__(self, item: str) -> bool:
-        return any(fnmatchcase(item, pat) for pat in self._patterns)
-
-    def __contains__(self, item: str) -> bool:
-        return item in self._patterns
-
-
-class _Finder:
-    """Base class that exposes functionality for module/package finders"""
-
-    ALWAYS_EXCLUDE: ClassVar[tuple[str, ...]] = ()
-    DEFAULT_EXCLUDE: ClassVar[tuple[str, ...]] = ()
-
-    @classmethod
-    def find(
-        cls,
-        where: StrPath = '.',
-        exclude: Iterable[str] = (),
-        include: Iterable[str] = ('*',),
-    ) -> list[str]:
-        """Return a list of all Python items (packages or modules, depending on
-        the finder implementation) found within directory 'where'.
-
-        'where' is the root directory which will be searched.
-        It should be supplied as a "cross-platform" (i.e. URL-style) path;
-        it will be converted to the appropriate local path syntax.
-
-        'exclude' is a sequence of names to exclude; '*' can be used
-        as a wildcard in the names.
-        When finding packages, 'foo.*' will exclude all subpackages of 'foo'
-        (but not 'foo' itself).
-
-        'include' is a sequence of names to include.
-        If it's specified, only the named items will be included.
-        If it's not specified, all found items will be included.
-        'include' can contain shell style wildcard patterns just like
-        'exclude'.
-        """
-
-        exclude = exclude or cls.DEFAULT_EXCLUDE
-        return list(
-            cls._find_iter(
-                convert_path(str(where)),
-                _Filter(*cls.ALWAYS_EXCLUDE, *exclude),
-                _Filter(*include),
-            )
-        )
-
-    @classmethod
-    def _find_iter(
-        cls, where: StrPath, exclude: _Filter, include: _Filter
-    ) -> Iterator[str]:
-        raise NotImplementedError
-
-
-class PackageFinder(_Finder):
-    """
-    Generate a list of all Python packages found within a directory
-    """
-
-    ALWAYS_EXCLUDE = ("ez_setup", "*__pycache__")
-
-    @classmethod
-    def _find_iter(
-        cls, where: StrPath, exclude: _Filter, include: _Filter
-    ) -> Iterator[str]:
-        """
-        All the packages found in 'where' that pass the 'include' filter, but
-        not the 'exclude' filter.
-        """
-        for root, dirs, files in os.walk(str(where), followlinks=True):
-            # Copy dirs to iterate over it, then empty dirs.
-            all_dirs = dirs[:]
-            dirs[:] = []
-
-            for dir in all_dirs:
-                full_path = os.path.join(root, dir)
-                rel_path = os.path.relpath(full_path, where)
-                package = rel_path.replace(os.path.sep, '.')
-
-                # Skip directory trees that are not valid packages
-                if '.' in dir or not cls._looks_like_package(full_path, package):
-                    continue
-
-                # Should this package be included?
-                if include(package) and not exclude(package):
-                    yield package
-
-                # Early pruning if there is nothing else to be scanned
-                if f"{package}*" in exclude or f"{package}.*" in exclude:
-                    continue
-
-                # Keep searching subdirectories, as there may be more packages
-                # down there, even if the parent was excluded.
-                dirs.append(dir)
-
-    @staticmethod
-    def _looks_like_package(path: StrPath, _package_name: str) -> bool:
-        """Does a directory look like a package?"""
-        return os.path.isfile(os.path.join(path, '__init__.py'))
-
-
-class PEP420PackageFinder(PackageFinder):
-    @staticmethod
-    def _looks_like_package(_path: StrPath, _package_name: str) -> bool:
-        return True
-
-
-class ModuleFinder(_Finder):
-    """Find isolated Python modules.
-    This function will **not** recurse subdirectories.
-    """
-
-    @classmethod
-    def _find_iter(
-        cls, where: StrPath, exclude: _Filter, include: _Filter
-    ) -> Iterator[str]:
-        for file in glob(os.path.join(where, "*.py")):
-            module, _ext = os.path.splitext(os.path.basename(file))
-
-            if not cls._looks_like_module(module):
-                continue
-
-            if include(module) and not exclude(module):
-                yield module
-
-    _looks_like_module = staticmethod(_valid_name)
-
-
-# We have to be extra careful in the case of flat layout to not include files
-# and directories not meant for distribution (e.g. tool-related)
-
-
-class FlatLayoutPackageFinder(PEP420PackageFinder):
-    _EXCLUDE = (
-        "ci",
-        "bin",
-        "debian",
-        "doc",
-        "docs",
-        "documentation",
-        "manpages",
-        "news",
-        "newsfragments",
-        "changelog",
-        "test",
-        "tests",
-        "unit_test",
-        "unit_tests",
-        "example",
-        "examples",
-        "scripts",
-        "tools",
-        "util",
-        "utils",
-        "python",
-        "build",
-        "dist",
-        "venv",
-        "env",
-        "requirements",
-        # ---- Task runners / Build tools ----
-        "tasks",  # invoke
-        "fabfile",  # fabric
-        "site_scons",  # SCons
-        # ---- Other tools ----
-        "benchmark",
-        "benchmarks",
-        "exercise",
-        "exercises",
-        "htmlcov",  # Coverage.py
-        # ---- Hidden directories/Private packages ----
-        "[._]*",
-    )
-
-    DEFAULT_EXCLUDE = tuple(chain_iter((p, f"{p}.*") for p in _EXCLUDE))
-    """Reserved package names"""
-
-    @staticmethod
-    def _looks_like_package(_path: StrPath, package_name: str) -> bool:
-        names = package_name.split('.')
-        # Consider PEP 561
-        root_pkg_is_valid = names[0].isidentifier() or names[0].endswith("-stubs")
-        return root_pkg_is_valid and all(name.isidentifier() for name in names[1:])
-
-
-class FlatLayoutModuleFinder(ModuleFinder):
-    DEFAULT_EXCLUDE = (
-        "setup",
-        "conftest",
-        "test",
-        "tests",
-        "example",
-        "examples",
-        "build",
-        # ---- Task runners ----
-        "toxfile",
-        "noxfile",
-        "pavement",
-        "dodo",
-        "tasks",
-        "fabfile",
-        # ---- Other tools ----
-        "[Ss][Cc]onstruct",  # SCons
-        "conanfile",  # Connan: C/C++ build tool
-        "manage",  # Django
-        "benchmark",
-        "benchmarks",
-        "exercise",
-        "exercises",
-        # ---- Hidden files/Private modules ----
-        "[._]*",
-    )
-    """Reserved top-level module names"""
-
-
-def _find_packages_within(root_pkg: str, pkg_dir: StrPath) -> list[str]:
-    nested = PEP420PackageFinder.find(pkg_dir)
-    return [root_pkg] + [".".join((root_pkg, n)) for n in nested]
-
-
-class ConfigDiscovery:
-    """Fill-in metadata and options that can be automatically derived
-    (from other metadata/options, the file system or conventions)
-    """
-
-    def __init__(self, distribution: Distribution) -> None:
-        self.dist = distribution
-        self._called = False
-        self._disabled = False
-        self._skip_ext_modules = False
-
-    def _disable(self):
-        """Internal API to disable automatic discovery"""
-        self._disabled = True
-
-    def _ignore_ext_modules(self):
-        """Internal API to disregard ext_modules.
-
-        Normally auto-discovery would not be triggered if ``ext_modules`` are set
-        (this is done for backward compatibility with existing packages relying on
-        ``setup.py`` or ``setup.cfg``). However, ``setuptools`` can call this function
-        to ignore given ``ext_modules`` and proceed with the auto-discovery if
-        ``packages`` and ``py_modules`` are not given (e.g. when using pyproject.toml
-        metadata).
-        """
-        self._skip_ext_modules = True
-
-    @property
-    def _root_dir(self) -> StrPath:
-        # The best is to wait until `src_root` is set in dist, before using _root_dir.
-        return self.dist.src_root or os.curdir
-
-    @property
-    def _package_dir(self) -> dict[str, str]:
-        if self.dist.package_dir is None:
-            return {}
-        return self.dist.package_dir
-
-    def __call__(
-        self, force: bool = False, name: bool = True, ignore_ext_modules: bool = False
-    ):
-        """Automatically discover missing configuration fields
-        and modifies the given ``distribution`` object in-place.
-
-        Note that by default this will only have an effect the first time the
-        ``ConfigDiscovery`` object is called.
-
-        To repeatedly invoke automatic discovery (e.g. when the project
-        directory changes), please use ``force=True`` (or create a new
-        ``ConfigDiscovery`` instance).
-        """
-        if force is False and (self._called or self._disabled):
-            # Avoid overhead of multiple calls
-            return
-
-        self._analyse_package_layout(ignore_ext_modules)
-        if name:
-            self.analyse_name()  # depends on ``packages`` and ``py_modules``
-
-        self._called = True
-
-    def _explicitly_specified(self, ignore_ext_modules: bool) -> bool:
-        """``True`` if the user has specified some form of package/module listing"""
-        ignore_ext_modules = ignore_ext_modules or self._skip_ext_modules
-        ext_modules = not (self.dist.ext_modules is None or ignore_ext_modules)
-        return (
-            self.dist.packages is not None
-            or self.dist.py_modules is not None
-            or ext_modules
-            or hasattr(self.dist, "configuration")
-            and self.dist.configuration
-            # ^ Some projects use numpy.distutils.misc_util.Configuration
-        )
-
-    def _analyse_package_layout(self, ignore_ext_modules: bool) -> bool:
-        if self._explicitly_specified(ignore_ext_modules):
-            # For backward compatibility, just try to find modules/packages
-            # when nothing is given
-            return True
-
-        log.debug(
-            "No `packages` or `py_modules` configuration, performing "
-            "automatic discovery."
-        )
-
-        return (
-            self._analyse_explicit_layout()
-            or self._analyse_src_layout()
-            # flat-layout is the trickiest for discovery so it should be last
-            or self._analyse_flat_layout()
-        )
-
-    def _analyse_explicit_layout(self) -> bool:
-        """The user can explicitly give a package layout via ``package_dir``"""
-        package_dir = self._package_dir.copy()  # don't modify directly
-        package_dir.pop("", None)  # This falls under the "src-layout" umbrella
-        root_dir = self._root_dir
-
-        if not package_dir:
-            return False
-
-        log.debug(f"`explicit-layout` detected -- analysing {package_dir}")
-        pkgs = chain_iter(
-            _find_packages_within(pkg, os.path.join(root_dir, parent_dir))
-            for pkg, parent_dir in package_dir.items()
-        )
-        self.dist.packages = list(pkgs)
-        log.debug(f"discovered packages -- {self.dist.packages}")
-        return True
-
-    def _analyse_src_layout(self) -> bool:
-        """Try to find all packages or modules under the ``src`` directory
-        (or anything pointed by ``package_dir[""]``).
-
-        The "src-layout" is relatively safe for automatic discovery.
-        We assume that everything within is meant to be included in the
-        distribution.
-
-        If ``package_dir[""]`` is not given, but the ``src`` directory exists,
-        this function will set ``package_dir[""] = "src"``.
-        """
-        package_dir = self._package_dir
-        src_dir = os.path.join(self._root_dir, package_dir.get("", "src"))
-        if not os.path.isdir(src_dir):
-            return False
-
-        log.debug(f"`src-layout` detected -- analysing {src_dir}")
-        package_dir.setdefault("", os.path.basename(src_dir))
-        self.dist.package_dir = package_dir  # persist eventual modifications
-        self.dist.packages = PEP420PackageFinder.find(src_dir)
-        self.dist.py_modules = ModuleFinder.find(src_dir)
-        log.debug(f"discovered packages -- {self.dist.packages}")
-        log.debug(f"discovered py_modules -- {self.dist.py_modules}")
-        return True
-
-    def _analyse_flat_layout(self) -> bool:
-        """Try to find all packages and modules under the project root.
-
-        Since the ``flat-layout`` is more dangerous in terms of accidentally including
-        extra files/directories, this function is more conservative and will raise an
-        error if multiple packages or modules are found.
-
-        This assumes that multi-package dists are uncommon and refuse to support that
-        use case in order to be able to prevent unintended errors.
-        """
-        log.debug(f"`flat-layout` detected -- analysing {self._root_dir}")
-        return self._analyse_flat_packages() or self._analyse_flat_modules()
-
-    def _analyse_flat_packages(self) -> bool:
-        self.dist.packages = FlatLayoutPackageFinder.find(self._root_dir)
-        top_level = remove_nested_packages(remove_stubs(self.dist.packages))
-        log.debug(f"discovered packages -- {self.dist.packages}")
-        self._ensure_no_accidental_inclusion(top_level, "packages")
-        return bool(top_level)
-
-    def _analyse_flat_modules(self) -> bool:
-        self.dist.py_modules = FlatLayoutModuleFinder.find(self._root_dir)
-        log.debug(f"discovered py_modules -- {self.dist.py_modules}")
-        self._ensure_no_accidental_inclusion(self.dist.py_modules, "modules")
-        return bool(self.dist.py_modules)
-
-    def _ensure_no_accidental_inclusion(self, detected: list[str], kind: str):
-        if len(detected) > 1:
-            from inspect import cleandoc
-
-            from setuptools.errors import PackageDiscoveryError
-
-            msg = f"""Multiple top-level {kind} discovered in a flat-layout: {detected}.
-
-            To avoid accidental inclusion of unwanted files or directories,
-            setuptools will not proceed with this build.
-
-            If you are trying to create a single distribution with multiple {kind}
-            on purpose, you should not rely on automatic discovery.
-            Instead, consider the following options:
-
-            1. set up custom discovery (`find` directive with `include` or `exclude`)
-            2. use a `src-layout`
-            3. explicitly set `py_modules` or `packages` with a list of names
-
-            To find more information, look for "package discovery" on setuptools docs.
-            """
-            raise PackageDiscoveryError(cleandoc(msg))
-
-    def analyse_name(self) -> None:
-        """The packages/modules are the essential contribution of the author.
-        Therefore the name of the distribution can be derived from them.
-        """
-        if self.dist.metadata.name or self.dist.name:
-            # get_name() is not reliable (can return "UNKNOWN")
-            return
-
-        log.debug("No `name` configuration, performing automatic discovery")
-
-        name = (
-            self._find_name_single_package_or_module()
-            or self._find_name_from_packages()
-        )
-        if name:
-            self.dist.metadata.name = name
-
-    def _find_name_single_package_or_module(self) -> str | None:
-        """Exactly one module or package"""
-        for field in ('packages', 'py_modules'):
-            items = getattr(self.dist, field, None) or []
-            if items and len(items) == 1:
-                log.debug(f"Single module/package detected, name: {items[0]}")
-                return items[0]
-
-        return None
-
-    def _find_name_from_packages(self) -> str | None:
-        """Try to find the root package that is not a PEP 420 namespace"""
-        if not self.dist.packages:
-            return None
-
-        packages = remove_stubs(sorted(self.dist.packages, key=len))
-        package_dir = self.dist.package_dir or {}
-
-        parent_pkg = find_parent_package(packages, package_dir, self._root_dir)
-        if parent_pkg:
-            log.debug(f"Common parent package detected, name: {parent_pkg}")
-            return parent_pkg
-
-        log.warn("No parent package detected, impossible to derive `name`")
-        return None
-
-
-def remove_nested_packages(packages: list[str]) -> list[str]:
-    """Remove nested packages from a list of packages.
-
-    >>> remove_nested_packages(["a", "a.b1", "a.b2", "a.b1.c1"])
-    ['a']
-    >>> remove_nested_packages(["a", "b", "c.d", "c.d.e.f", "g.h", "a.a1"])
-    ['a', 'b', 'c.d', 'g.h']
-    """
-    pkgs = sorted(packages, key=len)
-    top_level = pkgs[:]
-    size = len(pkgs)
-    for i, name in enumerate(reversed(pkgs)):
-        if any(name.startswith(f"{other}.") for other in top_level):
-            top_level.pop(size - i - 1)
-
-    return top_level
-
-
-def remove_stubs(packages: list[str]) -> list[str]:
-    """Remove type stubs (:pep:`561`) from a list of packages.
-
-    >>> remove_stubs(["a", "a.b", "a-stubs", "a-stubs.b.c", "b", "c-stubs"])
-    ['a', 'a.b', 'b']
-    """
-    return [pkg for pkg in packages if not pkg.split(".")[0].endswith("-stubs")]
-
-
-def find_parent_package(
-    packages: list[str], package_dir: Mapping[str, str], root_dir: StrPath
-) -> str | None:
-    """Find the parent package that is not a namespace."""
-    packages = sorted(packages, key=len)
-    common_ancestors = []
-    for i, name in enumerate(packages):
-        if not all(n.startswith(f"{name}.") for n in packages[i + 1 :]):
-            # Since packages are sorted by length, this condition is able
-            # to find a list of all common ancestors.
-            # When there is divergence (e.g. multiple root packages)
-            # the list will be empty
-            break
-        common_ancestors.append(name)
-
-    for name in common_ancestors:
-        pkg_path = find_package_path(name, package_dir, root_dir)
-        init = os.path.join(pkg_path, "__init__.py")
-        if os.path.isfile(init):
-            return name
-
-    return None
-
-
-def find_package_path(
-    name: str, package_dir: Mapping[str, str], root_dir: StrPath
-) -> str:
-    """Given a package name, return the path where it should be found on
-    disk, considering the ``package_dir`` option.
-
-    >>> path = find_package_path("my.pkg", {"": "root/is/nested"}, ".")
-    >>> path.replace(os.sep, "/")
-    './root/is/nested/my/pkg'
-
-    >>> path = find_package_path("my.pkg", {"my": "root/is/nested"}, ".")
-    >>> path.replace(os.sep, "/")
-    './root/is/nested/pkg'
-
-    >>> path = find_package_path("my.pkg", {"my.pkg": "root/is/nested"}, ".")
-    >>> path.replace(os.sep, "/")
-    './root/is/nested'
-
-    >>> path = find_package_path("other.pkg", {"my.pkg": "root/is/nested"}, ".")
-    >>> path.replace(os.sep, "/")
-    './other/pkg'
-    """
-    parts = name.split(".")
-    for i in range(len(parts), 0, -1):
-        # Look backwards, the most specific package_dir first
-        partial_name = ".".join(parts[:i])
-        if partial_name in package_dir:
-            parent = package_dir[partial_name]
-            return os.path.join(root_dir, parent, *parts[i:])
-
-    parent = package_dir.get("") or ""
-    return os.path.join(root_dir, *parent.split("/"), *parts)
-
-
-def construct_package_dir(packages: list[str], package_path: StrPath) -> dict[str, str]:
-    parent_pkgs = remove_nested_packages(packages)
-    prefix = Path(package_path).parts
-    return {pkg: "/".join([*prefix, *pkg.split(".")]) for pkg in parent_pkgs}
diff --git a/.venv/lib/python3.12/site-packages/setuptools/dist.py b/.venv/lib/python3.12/site-packages/setuptools/dist.py
deleted file mode 100644
index 5b3175fb..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/dist.py
+++ /dev/null
@@ -1,1000 +0,0 @@
-from __future__ import annotations
-
-import io
-import itertools
-import numbers
-import os
-import re
-import sys
-from collections.abc import Iterable, MutableMapping, Sequence
-from glob import iglob
-from pathlib import Path
-from typing import TYPE_CHECKING, Any, Union
-
-from more_itertools import partition, unique_everseen
-from packaging.markers import InvalidMarker, Marker
-from packaging.specifiers import InvalidSpecifier, SpecifierSet
-from packaging.version import Version
-
-from . import (
-    _entry_points,
-    _reqs,
-    command as _,  # noqa: F401 # imported for side-effects
-)
-from ._importlib import metadata
-from ._path import StrPath
-from ._reqs import _StrOrIter
-from .config import pyprojecttoml, setupcfg
-from .discovery import ConfigDiscovery
-from .monkey import get_unpatched
-from .warnings import InformationOnly, SetuptoolsDeprecationWarning
-
-import distutils.cmd
-import distutils.command
-import distutils.core
-import distutils.dist
-import distutils.log
-from distutils.debug import DEBUG
-from distutils.errors import DistutilsOptionError, DistutilsSetupError
-from distutils.fancy_getopt import translate_longopt
-from distutils.util import strtobool
-
-if TYPE_CHECKING:
-    from typing_extensions import TypeAlias
-
-    from pkg_resources import Distribution as _pkg_resources_Distribution
-
-
-__all__ = ['Distribution']
-
-_sequence = tuple, list
-"""
-:meta private:
-
-Supported iterable types that are known to be:
-- ordered (which `set` isn't)
-- not match a str (which `Sequence[str]` does)
-- not imply a nested type (like `dict`)
-for use with `isinstance`.
-"""
-_Sequence: TypeAlias = Union[tuple[str, ...], list[str]]
-# This is how stringifying _Sequence would look in Python 3.10
-_sequence_type_repr = "tuple[str, ...] | list[str]"
-_OrderedStrSequence: TypeAlias = Union[str, dict[str, Any], Sequence[str]]
-"""
-:meta private:
-Avoid single-use iterable. Disallow sets.
-A poor approximation of an OrderedSequence (dict doesn't match a Sequence).
-"""
-
-
-def __getattr__(name: str) -> Any:  # pragma: no cover
-    if name == "sequence":
-        SetuptoolsDeprecationWarning.emit(
-            "`setuptools.dist.sequence` is an internal implementation detail.",
-            "Please define your own `sequence = tuple, list` instead.",
-            due_date=(2025, 8, 28),  # Originally added on 2024-08-27
-        )
-        return _sequence
-    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
-
-
-def check_importable(dist, attr, value):
-    try:
-        ep = metadata.EntryPoint(value=value, name=None, group=None)
-        assert not ep.extras
-    except (TypeError, ValueError, AttributeError, AssertionError) as e:
-        raise DistutilsSetupError(
-            "%r must be importable 'module:attrs' string (got %r)" % (attr, value)
-        ) from e
-
-
-def assert_string_list(dist, attr: str, value: _Sequence) -> None:
-    """Verify that value is a string list"""
-    try:
-        # verify that value is a list or tuple to exclude unordered
-        # or single-use iterables
-        assert isinstance(value, _sequence)
-        # verify that elements of value are strings
-        assert ''.join(value) != value
-    except (TypeError, ValueError, AttributeError, AssertionError) as e:
-        raise DistutilsSetupError(
-            f"{attr!r} must be of type <{_sequence_type_repr}> (got {value!r})"
-        ) from e
-
-
-def check_nsp(dist, attr, value):
-    """Verify that namespace packages are valid"""
-    ns_packages = value
-    assert_string_list(dist, attr, ns_packages)
-    for nsp in ns_packages:
-        if not dist.has_contents_for(nsp):
-            raise DistutilsSetupError(
-                "Distribution contains no modules or packages for "
-                + "namespace package %r" % nsp
-            )
-        parent, _sep, _child = nsp.rpartition('.')
-        if parent and parent not in ns_packages:
-            distutils.log.warn(
-                "WARNING: %r is declared as a package namespace, but %r"
-                " is not: please correct this in setup.py",
-                nsp,
-                parent,
-            )
-        SetuptoolsDeprecationWarning.emit(
-            "The namespace_packages parameter is deprecated.",
-            "Please replace its usage with implicit namespaces (PEP 420).",
-            see_docs="references/keywords.html#keyword-namespace-packages",
-            # TODO: define due_date, it may break old packages that are no longer
-            # maintained (e.g. sphinxcontrib extensions) when installed from source.
-            # Warning officially introduced in May 2022, however the deprecation
-            # was mentioned much earlier in the docs (May 2020, see #2149).
-        )
-
-
-def check_extras(dist, attr, value):
-    """Verify that extras_require mapping is valid"""
-    try:
-        list(itertools.starmap(_check_extra, value.items()))
-    except (TypeError, ValueError, AttributeError) as e:
-        raise DistutilsSetupError(
-            "'extras_require' must be a dictionary whose values are "
-            "strings or lists of strings containing valid project/version "
-            "requirement specifiers."
-        ) from e
-
-
-def _check_extra(extra, reqs):
-    _name, _sep, marker = extra.partition(':')
-    try:
-        _check_marker(marker)
-    except InvalidMarker:
-        msg = f"Invalid environment marker: {marker} ({extra!r})"
-        raise DistutilsSetupError(msg) from None
-    list(_reqs.parse(reqs))
-
-
-def _check_marker(marker):
-    if not marker:
-        return
-    m = Marker(marker)
-    m.evaluate()
-
-
-def assert_bool(dist, attr, value):
-    """Verify that value is True, False, 0, or 1"""
-    if bool(value) != value:
-        raise DistutilsSetupError(f"{attr!r} must be a boolean value (got {value!r})")
-
-
-def invalid_unless_false(dist, attr, value):
-    if not value:
-        DistDeprecationWarning.emit(f"{attr} is ignored.")
-        # TODO: should there be a `due_date` here?
-        return
-    raise DistutilsSetupError(f"{attr} is invalid.")
-
-
-def check_requirements(dist, attr: str, value: _OrderedStrSequence) -> None:
-    """Verify that install_requires is a valid requirements list"""
-    try:
-        list(_reqs.parse(value))
-        if isinstance(value, set):
-            raise TypeError("Unordered types are not allowed")
-    except (TypeError, ValueError) as error:
-        msg = (
-            f"{attr!r} must be a string or iterable of strings "
-            f"containing valid project/version requirement specifiers; {error}"
-        )
-        raise DistutilsSetupError(msg) from error
-
-
-def check_specifier(dist, attr, value):
-    """Verify that value is a valid version specifier"""
-    try:
-        SpecifierSet(value)
-    except (InvalidSpecifier, AttributeError) as error:
-        msg = f"{attr!r} must be a string containing valid version specifiers; {error}"
-        raise DistutilsSetupError(msg) from error
-
-
-def check_entry_points(dist, attr, value):
-    """Verify that entry_points map is parseable"""
-    try:
-        _entry_points.load(value)
-    except Exception as e:
-        raise DistutilsSetupError(e) from e
-
-
-def check_package_data(dist, attr, value):
-    """Verify that value is a dictionary of package names to glob lists"""
-    if not isinstance(value, dict):
-        raise DistutilsSetupError(
-            "{!r} must be a dictionary mapping package names to lists of "
-            "string wildcard patterns".format(attr)
-        )
-    for k, v in value.items():
-        if not isinstance(k, str):
-            raise DistutilsSetupError(
-                "keys of {!r} dict must be strings (got {!r})".format(attr, k)
-            )
-        assert_string_list(dist, 'values of {!r} dict'.format(attr), v)
-
-
-def check_packages(dist, attr, value):
-    for pkgname in value:
-        if not re.match(r'\w+(\.\w+)*', pkgname):
-            distutils.log.warn(
-                "WARNING: %r not a valid package name; please use only "
-                ".-separated package names in setup.py",
-                pkgname,
-            )
-
-
-if TYPE_CHECKING:
-    # Work around a mypy issue where type[T] can't be used as a base: https://github.com/python/mypy/issues/10962
-    from distutils.core import Distribution as _Distribution
-else:
-    _Distribution = get_unpatched(distutils.core.Distribution)
-
-
-class Distribution(_Distribution):
-    """Distribution with support for tests and package data
-
-    This is an enhanced version of 'distutils.dist.Distribution' that
-    effectively adds the following new optional keyword arguments to 'setup()':
-
-     'install_requires' -- a string or sequence of strings specifying project
-        versions that the distribution requires when installed, in the format
-        used by 'pkg_resources.require()'.  They will be installed
-        automatically when the package is installed.  If you wish to use
-        packages that are not available in PyPI, or want to give your users an
-        alternate download location, you can add a 'find_links' option to the
-        '[easy_install]' section of your project's 'setup.cfg' file, and then
-        setuptools will scan the listed web pages for links that satisfy the
-        requirements.
-
-     'extras_require' -- a dictionary mapping names of optional "extras" to the
-        additional requirement(s) that using those extras incurs. For example,
-        this::
-
-            extras_require = dict(reST = ["docutils>=0.3", "reSTedit"])
-
-        indicates that the distribution can optionally provide an extra
-        capability called "reST", but it can only be used if docutils and
-        reSTedit are installed.  If the user installs your package using
-        EasyInstall and requests one of your extras, the corresponding
-        additional requirements will be installed if needed.
-
-     'package_data' -- a dictionary mapping package names to lists of filenames
-        or globs to use to find data files contained in the named packages.
-        If the dictionary has filenames or globs listed under '""' (the empty
-        string), those names will be searched for in every package, in addition
-        to any names for the specific package.  Data files found using these
-        names/globs will be installed along with the package, in the same
-        location as the package.  Note that globs are allowed to reference
-        the contents of non-package subdirectories, as long as you use '/' as
-        a path separator.  (Globs are automatically converted to
-        platform-specific paths at runtime.)
-
-    In addition to these new keywords, this class also has several new methods
-    for manipulating the distribution's contents.  For example, the 'include()'
-    and 'exclude()' methods can be thought of as in-place add and subtract
-    commands that add or remove packages, modules, extensions, and so on from
-    the distribution.
-    """
-
-    _DISTUTILS_UNSUPPORTED_METADATA = {
-        'long_description_content_type': lambda: None,
-        'project_urls': dict,
-        'provides_extras': dict,  # behaves like an ordered set
-        'license_file': lambda: None,
-        'license_files': lambda: None,
-        'install_requires': list,
-        'extras_require': dict,
-    }
-
-    # Used by build_py, editable_wheel and install_lib commands for legacy namespaces
-    namespace_packages: list[str]  #: :meta private: DEPRECATED
-
-    # Any: Dynamic assignment results in Incompatible types in assignment
-    def __init__(self, attrs: MutableMapping[str, Any] | None = None) -> None:
-        have_package_data = hasattr(self, "package_data")
-        if not have_package_data:
-            self.package_data: dict[str, list[str]] = {}
-        attrs = attrs or {}
-        self.dist_files: list[tuple[str, str, str]] = []
-        self.include_package_data: bool | None = None
-        self.exclude_package_data: dict[str, list[str]] | None = None
-        # Filter-out setuptools' specific options.
-        self.src_root: str | None = attrs.pop("src_root", None)
-        self.dependency_links: list[str] = attrs.pop('dependency_links', [])
-        self.setup_requires: list[str] = attrs.pop('setup_requires', [])
-        for ep in metadata.entry_points(group='distutils.setup_keywords'):
-            vars(self).setdefault(ep.name, None)
-
-        metadata_only = set(self._DISTUTILS_UNSUPPORTED_METADATA)
-        metadata_only -= {"install_requires", "extras_require"}
-        dist_attrs = {k: v for k, v in attrs.items() if k not in metadata_only}
-        _Distribution.__init__(self, dist_attrs)
-
-        # Private API (setuptools-use only, not restricted to Distribution)
-        # Stores files that are referenced by the configuration and need to be in the
-        # sdist (e.g. `version = file: VERSION.txt`)
-        self._referenced_files: set[str] = set()
-
-        self.set_defaults = ConfigDiscovery(self)
-
-        self._set_metadata_defaults(attrs)
-
-        self.metadata.version = self._normalize_version(self.metadata.version)
-        self._finalize_requires()
-
-    def _validate_metadata(self):
-        required = {"name"}
-        provided = {
-            key
-            for key in vars(self.metadata)
-            if getattr(self.metadata, key, None) is not None
-        }
-        missing = required - provided
-
-        if missing:
-            msg = f"Required package metadata is missing: {missing}"
-            raise DistutilsSetupError(msg)
-
-    def _set_metadata_defaults(self, attrs):
-        """
-        Fill-in missing metadata fields not supported by distutils.
-        Some fields may have been set by other tools (e.g. pbr).
-        Those fields (vars(self.metadata)) take precedence to
-        supplied attrs.
-        """
-        for option, default in self._DISTUTILS_UNSUPPORTED_METADATA.items():
-            vars(self.metadata).setdefault(option, attrs.get(option, default()))
-
-    @staticmethod
-    def _normalize_version(version):
-        from . import sic
-
-        if isinstance(version, numbers.Number):
-            # Some people apparently take "version number" too literally :)
-            version = str(version)
-        elif isinstance(version, sic) or version is None:
-            return version
-
-        normalized = str(Version(version))
-        if version != normalized:
-            InformationOnly.emit(f"Normalizing '{version}' to '{normalized}'")
-            return normalized
-        return version
-
-    def _finalize_requires(self):
-        """
-        Set `metadata.python_requires` and fix environment markers
-        in `install_requires` and `extras_require`.
-        """
-        if getattr(self, 'python_requires', None):
-            self.metadata.python_requires = self.python_requires
-
-        self._normalize_requires()
-        self.metadata.install_requires = self.install_requires
-        self.metadata.extras_require = self.extras_require
-
-        if self.extras_require:
-            for extra in self.extras_require.keys():
-                # Setuptools allows a weird ": syntax for extras
-                extra = extra.split(':')[0]
-                if extra:
-                    self.metadata.provides_extras.setdefault(extra)
-
-    def _normalize_requires(self):
-        """Make sure requirement-related attributes exist and are normalized"""
-        install_requires = getattr(self, "install_requires", None) or []
-        extras_require = getattr(self, "extras_require", None) or {}
-        self.install_requires = list(map(str, _reqs.parse(install_requires)))
-        self.extras_require = {
-            k: list(map(str, _reqs.parse(v or []))) for k, v in extras_require.items()
-        }
-
-    def _finalize_license_files(self) -> None:
-        """Compute names of all license files which should be included."""
-        license_files: list[str] | None = self.metadata.license_files
-        patterns: list[str] = license_files if license_files else []
-
-        license_file: str | None = self.metadata.license_file
-        if license_file and license_file not in patterns:
-            patterns.append(license_file)
-
-        if license_files is None and license_file is None:
-            # Default patterns match the ones wheel uses
-            # See https://wheel.readthedocs.io/en/stable/user_guide.html
-            # -> 'Including license files in the generated wheel file'
-            patterns = ['LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*']
-
-        self.metadata.license_files = list(
-            unique_everseen(self._expand_patterns(patterns))
-        )
-
-    @staticmethod
-    def _expand_patterns(patterns):
-        """
-        >>> list(Distribution._expand_patterns(['LICENSE']))
-        ['LICENSE']
-        >>> list(Distribution._expand_patterns(['pyproject.toml', 'LIC*']))
-        ['pyproject.toml', 'LICENSE']
-        """
-        return (
-            path
-            for pattern in patterns
-            for path in sorted(iglob(pattern))
-            if not path.endswith('~') and os.path.isfile(path)
-        )
-
-    # FIXME: 'Distribution._parse_config_files' is too complex (14)
-    def _parse_config_files(self, filenames=None):  # noqa: C901
-        """
-        Adapted from distutils.dist.Distribution.parse_config_files,
-        this method provides the same functionality in subtly-improved
-        ways.
-        """
-        from configparser import ConfigParser
-
-        # Ignore install directory options if we have a venv
-        ignore_options = (
-            []
-            if sys.prefix == sys.base_prefix
-            else [
-                'install-base',
-                'install-platbase',
-                'install-lib',
-                'install-platlib',
-                'install-purelib',
-                'install-headers',
-                'install-scripts',
-                'install-data',
-                'prefix',
-                'exec-prefix',
-                'home',
-                'user',
-                'root',
-            ]
-        )
-
-        ignore_options = frozenset(ignore_options)
-
-        if filenames is None:
-            filenames = self.find_config_files()
-
-        if DEBUG:
-            self.announce("Distribution.parse_config_files():")
-
-        parser = ConfigParser()
-        parser.optionxform = str
-        for filename in filenames:
-            with open(filename, encoding='utf-8') as reader:
-                if DEBUG:
-                    self.announce("  reading {filename}".format(**locals()))
-                parser.read_file(reader)
-            for section in parser.sections():
-                options = parser.options(section)
-                opt_dict = self.get_option_dict(section)
-
-                for opt in options:
-                    if opt == '__name__' or opt in ignore_options:
-                        continue
-
-                    val = parser.get(section, opt)
-                    opt = self.warn_dash_deprecation(opt, section)
-                    opt = self.make_option_lowercase(opt, section)
-                    opt_dict[opt] = (filename, val)
-
-            # Make the ConfigParser forget everything (so we retain
-            # the original filenames that options come from)
-            parser.__init__()
-
-        if 'global' not in self.command_options:
-            return
-
-        # If there was a "global" section in the config file, use it
-        # to set Distribution options.
-
-        for opt, (src, val) in self.command_options['global'].items():
-            alias = self.negative_opt.get(opt)
-            if alias:
-                val = not strtobool(val)
-            elif opt in ('verbose', 'dry_run'):  # ugh!
-                val = strtobool(val)
-
-            try:
-                setattr(self, alias or opt, val)
-            except ValueError as e:
-                raise DistutilsOptionError(e) from e
-
-    def warn_dash_deprecation(self, opt: str, section: str) -> str:
-        if section in (
-            'options.extras_require',
-            'options.data_files',
-        ):
-            return opt
-
-        underscore_opt = opt.replace('-', '_')
-        commands = list(
-            itertools.chain(
-                distutils.command.__all__,
-                self._setuptools_commands(),
-            )
-        )
-        if (
-            not section.startswith('options')
-            and section != 'metadata'
-            and section not in commands
-        ):
-            return underscore_opt
-
-        if '-' in opt:
-            SetuptoolsDeprecationWarning.emit(
-                "Invalid dash-separated options",
-                f"""
-                Usage of dash-separated {opt!r} will not be supported in future
-                versions. Please use the underscore name {underscore_opt!r} instead.
-                """,
-                see_docs="userguide/declarative_config.html",
-                due_date=(2025, 3, 3),
-                # Warning initially introduced in 3 Mar 2021
-            )
-        return underscore_opt
-
-    def _setuptools_commands(self):
-        try:
-            entry_points = metadata.distribution('setuptools').entry_points
-            return {ep.name for ep in entry_points}  # Avoid newer API for compatibility
-        except metadata.PackageNotFoundError:
-            # during bootstrapping, distribution doesn't exist
-            return []
-
-    def make_option_lowercase(self, opt: str, section: str) -> str:
-        if section != 'metadata' or opt.islower():
-            return opt
-
-        lowercase_opt = opt.lower()
-        SetuptoolsDeprecationWarning.emit(
-            "Invalid uppercase configuration",
-            f"""
-            Usage of uppercase key {opt!r} in {section!r} will not be supported in
-            future versions. Please use lowercase {lowercase_opt!r} instead.
-            """,
-            see_docs="userguide/declarative_config.html",
-            due_date=(2025, 3, 3),
-            # Warning initially introduced in 6 Mar 2021
-        )
-        return lowercase_opt
-
-    # FIXME: 'Distribution._set_command_options' is too complex (14)
-    def _set_command_options(self, command_obj, option_dict=None):  # noqa: C901
-        """
-        Set the options for 'command_obj' from 'option_dict'.  Basically
-        this means copying elements of a dictionary ('option_dict') to
-        attributes of an instance ('command').
-
-        'command_obj' must be a Command instance.  If 'option_dict' is not
-        supplied, uses the standard option dictionary for this command
-        (from 'self.command_options').
-
-        (Adopted from distutils.dist.Distribution._set_command_options)
-        """
-        command_name = command_obj.get_command_name()
-        if option_dict is None:
-            option_dict = self.get_option_dict(command_name)
-
-        if DEBUG:
-            self.announce("  setting options for '%s' command:" % command_name)
-        for option, (source, value) in option_dict.items():
-            if DEBUG:
-                self.announce("    %s = %s (from %s)" % (option, value, source))
-            try:
-                bool_opts = [translate_longopt(o) for o in command_obj.boolean_options]
-            except AttributeError:
-                bool_opts = []
-            try:
-                neg_opt = command_obj.negative_opt
-            except AttributeError:
-                neg_opt = {}
-
-            try:
-                is_string = isinstance(value, str)
-                if option in neg_opt and is_string:
-                    setattr(command_obj, neg_opt[option], not strtobool(value))
-                elif option in bool_opts and is_string:
-                    setattr(command_obj, option, strtobool(value))
-                elif hasattr(command_obj, option):
-                    setattr(command_obj, option, value)
-                else:
-                    raise DistutilsOptionError(
-                        "error in %s: command '%s' has no such option '%s'"
-                        % (source, command_name, option)
-                    )
-            except ValueError as e:
-                raise DistutilsOptionError(e) from e
-
-    def _get_project_config_files(self, filenames: Iterable[StrPath] | None):
-        """Add default file and split between INI and TOML"""
-        tomlfiles = []
-        standard_project_metadata = Path(self.src_root or os.curdir, "pyproject.toml")
-        if filenames is not None:
-            parts = partition(lambda f: Path(f).suffix == ".toml", filenames)
-            filenames = list(parts[0])  # 1st element => predicate is False
-            tomlfiles = list(parts[1])  # 2nd element => predicate is True
-        elif standard_project_metadata.exists():
-            tomlfiles = [standard_project_metadata]
-        return filenames, tomlfiles
-
-    def parse_config_files(
-        self,
-        filenames: Iterable[StrPath] | None = None,
-        ignore_option_errors: bool = False,
-    ) -> None:
-        """Parses configuration files from various levels
-        and loads configuration.
-        """
-        inifiles, tomlfiles = self._get_project_config_files(filenames)
-
-        self._parse_config_files(filenames=inifiles)
-
-        setupcfg.parse_configuration(
-            self, self.command_options, ignore_option_errors=ignore_option_errors
-        )
-        for filename in tomlfiles:
-            pyprojecttoml.apply_configuration(self, filename, ignore_option_errors)
-
-        self._finalize_requires()
-        self._finalize_license_files()
-
-    def fetch_build_eggs(
-        self, requires: _StrOrIter
-    ) -> list[_pkg_resources_Distribution]:
-        """Resolve pre-setup requirements"""
-        from .installer import _fetch_build_eggs
-
-        return _fetch_build_eggs(self, requires)
-
-    def finalize_options(self) -> None:
-        """
-        Allow plugins to apply arbitrary operations to the
-        distribution. Each hook may optionally define a 'order'
-        to influence the order of execution. Smaller numbers
-        go first and the default is 0.
-        """
-        group = 'setuptools.finalize_distribution_options'
-
-        def by_order(hook):
-            return getattr(hook, 'order', 0)
-
-        defined = metadata.entry_points(group=group)
-        filtered = itertools.filterfalse(self._removed, defined)
-        loaded = map(lambda e: e.load(), filtered)
-        for ep in sorted(loaded, key=by_order):
-            ep(self)
-
-    @staticmethod
-    def _removed(ep):
-        """
-        When removing an entry point, if metadata is loaded
-        from an older version of Setuptools, that removed
-        entry point will attempt to be loaded and will fail.
-        See #2765 for more details.
-        """
-        removed = {
-            # removed 2021-09-05
-            '2to3_doctests',
-        }
-        return ep.name in removed
-
-    def _finalize_setup_keywords(self):
-        for ep in metadata.entry_points(group='distutils.setup_keywords'):
-            value = getattr(self, ep.name, None)
-            if value is not None:
-                ep.load()(self, ep.name, value)
-
-    def get_egg_cache_dir(self):
-        from . import windows_support
-
-        egg_cache_dir = os.path.join(os.curdir, '.eggs')
-        if not os.path.exists(egg_cache_dir):
-            os.mkdir(egg_cache_dir)
-            windows_support.hide_file(egg_cache_dir)
-            readme_txt_filename = os.path.join(egg_cache_dir, 'README.txt')
-            with open(readme_txt_filename, 'w', encoding="utf-8") as f:
-                f.write(
-                    'This directory contains eggs that were downloaded '
-                    'by setuptools to build, test, and run plug-ins.\n\n'
-                )
-                f.write(
-                    'This directory caches those eggs to prevent '
-                    'repeated downloads.\n\n'
-                )
-                f.write('However, it is safe to delete this directory.\n\n')
-
-        return egg_cache_dir
-
-    def fetch_build_egg(self, req):
-        """Fetch an egg needed for building"""
-        from .installer import fetch_build_egg
-
-        return fetch_build_egg(self, req)
-
-    def get_command_class(self, command: str) -> type[distutils.cmd.Command]:  # type: ignore[override] # Not doing complex overrides yet
-        """Pluggable version of get_command_class()"""
-        if command in self.cmdclass:
-            return self.cmdclass[command]
-
-        # Special case bdist_wheel so it's never loaded from "wheel"
-        if command == 'bdist_wheel':
-            from .command.bdist_wheel import bdist_wheel
-
-            return bdist_wheel
-
-        eps = metadata.entry_points(group='distutils.commands', name=command)
-        for ep in eps:
-            self.cmdclass[command] = cmdclass = ep.load()
-            return cmdclass
-        else:
-            return _Distribution.get_command_class(self, command)
-
-    def print_commands(self):
-        for ep in metadata.entry_points(group='distutils.commands'):
-            if ep.name not in self.cmdclass:
-                cmdclass = ep.load()
-                self.cmdclass[ep.name] = cmdclass
-        return _Distribution.print_commands(self)
-
-    def get_command_list(self):
-        for ep in metadata.entry_points(group='distutils.commands'):
-            if ep.name not in self.cmdclass:
-                cmdclass = ep.load()
-                self.cmdclass[ep.name] = cmdclass
-        return _Distribution.get_command_list(self)
-
-    def include(self, **attrs) -> None:
-        """Add items to distribution that are named in keyword arguments
-
-        For example, 'dist.include(py_modules=["x"])' would add 'x' to
-        the distribution's 'py_modules' attribute, if it was not already
-        there.
-
-        Currently, this method only supports inclusion for attributes that are
-        lists or tuples.  If you need to add support for adding to other
-        attributes in this or a subclass, you can add an '_include_X' method,
-        where 'X' is the name of the attribute.  The method will be called with
-        the value passed to 'include()'.  So, 'dist.include(foo={"bar":"baz"})'
-        will try to call 'dist._include_foo({"bar":"baz"})', which can then
-        handle whatever special inclusion logic is needed.
-        """
-        for k, v in attrs.items():
-            include = getattr(self, '_include_' + k, None)
-            if include:
-                include(v)
-            else:
-                self._include_misc(k, v)
-
-    def exclude_package(self, package: str) -> None:
-        """Remove packages, modules, and extensions in named package"""
-
-        pfx = package + '.'
-        if self.packages:
-            self.packages = [
-                p for p in self.packages if p != package and not p.startswith(pfx)
-            ]
-
-        if self.py_modules:
-            self.py_modules = [
-                p for p in self.py_modules if p != package and not p.startswith(pfx)
-            ]
-
-        if self.ext_modules:
-            self.ext_modules = [
-                p
-                for p in self.ext_modules
-                if p.name != package and not p.name.startswith(pfx)
-            ]
-
-    def has_contents_for(self, package: str) -> bool:
-        """Return true if 'exclude_package(package)' would do something"""
-
-        pfx = package + '.'
-
-        for p in self.iter_distribution_names():
-            if p == package or p.startswith(pfx):
-                return True
-
-        return False
-
-    def _exclude_misc(self, name: str, value: _Sequence) -> None:
-        """Handle 'exclude()' for list/tuple attrs without a special handler"""
-        if not isinstance(value, _sequence):
-            raise DistutilsSetupError(
-                f"{name}: setting must be of type <{_sequence_type_repr}> (got {value!r})"
-            )
-        try:
-            old = getattr(self, name)
-        except AttributeError as e:
-            raise DistutilsSetupError("%s: No such distribution setting" % name) from e
-        if old is not None and not isinstance(old, _sequence):
-            raise DistutilsSetupError(
-                name + ": this setting cannot be changed via include/exclude"
-            )
-        elif old:
-            setattr(self, name, [item for item in old if item not in value])
-
-    def _include_misc(self, name: str, value: _Sequence) -> None:
-        """Handle 'include()' for list/tuple attrs without a special handler"""
-
-        if not isinstance(value, _sequence):
-            raise DistutilsSetupError(
-                f"{name}: setting must be of type <{_sequence_type_repr}> (got {value!r})"
-            )
-        try:
-            old = getattr(self, name)
-        except AttributeError as e:
-            raise DistutilsSetupError("%s: No such distribution setting" % name) from e
-        if old is None:
-            setattr(self, name, value)
-        elif not isinstance(old, _sequence):
-            raise DistutilsSetupError(
-                name + ": this setting cannot be changed via include/exclude"
-            )
-        else:
-            new = [item for item in value if item not in old]
-            setattr(self, name, list(old) + new)
-
-    def exclude(self, **attrs) -> None:
-        """Remove items from distribution that are named in keyword arguments
-
-        For example, 'dist.exclude(py_modules=["x"])' would remove 'x' from
-        the distribution's 'py_modules' attribute.  Excluding packages uses
-        the 'exclude_package()' method, so all of the package's contained
-        packages, modules, and extensions are also excluded.
-
-        Currently, this method only supports exclusion from attributes that are
-        lists or tuples.  If you need to add support for excluding from other
-        attributes in this or a subclass, you can add an '_exclude_X' method,
-        where 'X' is the name of the attribute.  The method will be called with
-        the value passed to 'exclude()'.  So, 'dist.exclude(foo={"bar":"baz"})'
-        will try to call 'dist._exclude_foo({"bar":"baz"})', which can then
-        handle whatever special exclusion logic is needed.
-        """
-        for k, v in attrs.items():
-            exclude = getattr(self, '_exclude_' + k, None)
-            if exclude:
-                exclude(v)
-            else:
-                self._exclude_misc(k, v)
-
-    def _exclude_packages(self, packages: _Sequence) -> None:
-        if not isinstance(packages, _sequence):
-            raise DistutilsSetupError(
-                f"packages: setting must be of type <{_sequence_type_repr}> (got {packages!r})"
-            )
-        list(map(self.exclude_package, packages))
-
-    def _parse_command_opts(self, parser, args):
-        # Remove --with-X/--without-X options when processing command args
-        self.global_options = self.__class__.global_options
-        self.negative_opt = self.__class__.negative_opt
-
-        # First, expand any aliases
-        command = args[0]
-        aliases = self.get_option_dict('aliases')
-        while command in aliases:
-            _src, alias = aliases[command]
-            del aliases[command]  # ensure each alias can expand only once!
-            import shlex
-
-            args[:1] = shlex.split(alias, True)
-            command = args[0]
-
-        nargs = _Distribution._parse_command_opts(self, parser, args)
-
-        # Handle commands that want to consume all remaining arguments
-        cmd_class = self.get_command_class(command)
-        if getattr(cmd_class, 'command_consumes_arguments', None):
-            self.get_option_dict(command)['args'] = ("command line", nargs)
-            if nargs is not None:
-                return []
-
-        return nargs
-
-    def get_cmdline_options(self) -> dict[str, dict[str, str | None]]:
-        """Return a '{cmd: {opt:val}}' map of all command-line options
-
-        Option names are all long, but do not include the leading '--', and
-        contain dashes rather than underscores.  If the option doesn't take
-        an argument (e.g. '--quiet'), the 'val' is 'None'.
-
-        Note that options provided by config files are intentionally excluded.
-        """
-
-        d: dict[str, dict[str, str | None]] = {}
-
-        for cmd, opts in self.command_options.items():
-            val: str | None
-            for opt, (src, val) in opts.items():
-                if src != "command line":
-                    continue
-
-                opt = opt.replace('_', '-')
-
-                if val == 0:
-                    cmdobj = self.get_command_obj(cmd)
-                    neg_opt = self.negative_opt.copy()
-                    neg_opt.update(getattr(cmdobj, 'negative_opt', {}))
-                    for neg, pos in neg_opt.items():
-                        if pos == opt:
-                            opt = neg
-                            val = None
-                            break
-                    else:
-                        raise AssertionError("Shouldn't be able to get here")
-
-                elif val == 1:
-                    val = None
-
-                d.setdefault(cmd, {})[opt] = val
-
-        return d
-
-    def iter_distribution_names(self):
-        """Yield all packages, modules, and extension names in distribution"""
-
-        yield from self.packages or ()
-
-        yield from self.py_modules or ()
-
-        for ext in self.ext_modules or ():
-            if isinstance(ext, tuple):
-                name, _buildinfo = ext
-            else:
-                name = ext.name
-            if name.endswith('module'):
-                name = name[:-6]
-            yield name
-
-    def handle_display_options(self, option_order):
-        """If there were any non-global "display-only" options
-        (--help-commands or the metadata display options) on the command
-        line, display the requested info and return true; else return
-        false.
-        """
-        import sys
-
-        if self.help_commands:
-            return _Distribution.handle_display_options(self, option_order)
-
-        # Stdout may be StringIO (e.g. in tests)
-        if not isinstance(sys.stdout, io.TextIOWrapper):
-            return _Distribution.handle_display_options(self, option_order)
-
-        # Don't wrap stdout if utf-8 is already the encoding. Provides
-        #  workaround for #334.
-        if sys.stdout.encoding.lower() in ('utf-8', 'utf8'):
-            return _Distribution.handle_display_options(self, option_order)
-
-        # Print metadata in UTF-8 no matter the platform
-        encoding = sys.stdout.encoding
-        sys.stdout.reconfigure(encoding='utf-8')
-        try:
-            return _Distribution.handle_display_options(self, option_order)
-        finally:
-            sys.stdout.reconfigure(encoding=encoding)
-
-    def run_command(self, command) -> None:
-        self.set_defaults()
-        # Postpone defaults until all explicit configuration is considered
-        # (setup() args, config files, command line and plugins)
-
-        super().run_command(command)
-
-
-class DistDeprecationWarning(SetuptoolsDeprecationWarning):
-    """Class for warning about deprecations in dist in
-    setuptools. Not ignored by default, unlike DeprecationWarning."""
diff --git a/.venv/lib/python3.12/site-packages/setuptools/errors.py b/.venv/lib/python3.12/site-packages/setuptools/errors.py
deleted file mode 100644
index 990ecbf4..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/errors.py
+++ /dev/null
@@ -1,67 +0,0 @@
-"""setuptools.errors
-
-Provides exceptions used by setuptools modules.
-"""
-
-from __future__ import annotations
-
-from distutils import errors as _distutils_errors
-
-# Re-export errors from distutils to facilitate the migration to PEP632
-
-ByteCompileError = _distutils_errors.DistutilsByteCompileError
-CCompilerError = _distutils_errors.CCompilerError
-ClassError = _distutils_errors.DistutilsClassError
-CompileError = _distutils_errors.CompileError
-ExecError = _distutils_errors.DistutilsExecError
-FileError = _distutils_errors.DistutilsFileError
-InternalError = _distutils_errors.DistutilsInternalError
-LibError = _distutils_errors.LibError
-LinkError = _distutils_errors.LinkError
-ModuleError = _distutils_errors.DistutilsModuleError
-OptionError = _distutils_errors.DistutilsOptionError
-PlatformError = _distutils_errors.DistutilsPlatformError
-PreprocessError = _distutils_errors.PreprocessError
-SetupError = _distutils_errors.DistutilsSetupError
-TemplateError = _distutils_errors.DistutilsTemplateError
-UnknownFileError = _distutils_errors.UnknownFileError
-
-# The root error class in the hierarchy
-BaseError = _distutils_errors.DistutilsError
-
-
-class InvalidConfigError(OptionError):  # type: ignore[valid-type, misc] # distutils imports are `Any` on python 3.12+
-    """Error used for invalid configurations."""
-
-
-class RemovedConfigError(OptionError):  # type: ignore[valid-type, misc] # distutils imports are `Any` on python 3.12+
-    """Error used for configurations that were deprecated and removed."""
-
-
-class RemovedCommandError(BaseError, RuntimeError):  # type: ignore[valid-type, misc] # distutils imports are `Any` on python 3.12+
-    """Error used for commands that have been removed in setuptools.
-
-    Since ``setuptools`` is built on ``distutils``, simply removing a command
-    from ``setuptools`` will make the behavior fall back to ``distutils``; this
-    error is raised if a command exists in ``distutils`` but has been actively
-    removed in ``setuptools``.
-    """
-
-
-class PackageDiscoveryError(BaseError, RuntimeError):  # type: ignore[valid-type, misc] # distutils imports are `Any` on python 3.12+
-    """Impossible to perform automatic discovery of packages and/or modules.
-
-    The current project layout or given discovery options can lead to problems when
-    scanning the project directory.
-
-    Setuptools might also refuse to complete auto-discovery if an error prone condition
-    is detected (e.g. when a project is organised as a flat-layout but contains
-    multiple directories that can be taken as top-level packages inside a single
-    distribution [*]_). In these situations the users are encouraged to be explicit
-    about which packages to include or to make the discovery parameters more specific.
-
-    .. [*] Since multi-package distributions are uncommon it is very likely that the
-       developers did not intend for all the directories to be packaged, and are just
-       leaving auxiliary code in the repository top-level, such as maintenance-related
-       scripts.
-    """
diff --git a/.venv/lib/python3.12/site-packages/setuptools/extension.py b/.venv/lib/python3.12/site-packages/setuptools/extension.py
deleted file mode 100644
index 76e03d9d..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/extension.py
+++ /dev/null
@@ -1,177 +0,0 @@
-from __future__ import annotations
-
-import functools
-import re
-from typing import TYPE_CHECKING
-
-from setuptools._path import StrPath
-
-from .monkey import get_unpatched
-
-import distutils.core
-import distutils.errors
-import distutils.extension
-
-
-def _have_cython():
-    """
-    Return True if Cython can be imported.
-    """
-    cython_impl = 'Cython.Distutils.build_ext'
-    try:
-        # from (cython_impl) import build_ext
-        __import__(cython_impl, fromlist=['build_ext']).build_ext
-    except Exception:
-        return False
-    return True
-
-
-# for compatibility
-have_pyrex = _have_cython
-if TYPE_CHECKING:
-    # Work around a mypy issue where type[T] can't be used as a base: https://github.com/python/mypy/issues/10962
-    from distutils.core import Extension as _Extension
-else:
-    _Extension = get_unpatched(distutils.core.Extension)
-
-
-class Extension(_Extension):
-    """
-    Describes a single extension module.
-
-    This means that all source files will be compiled into a single binary file
-    ``.`` (with ```` derived from ``name`` and
-    ```` defined by one of the values in
-    ``importlib.machinery.EXTENSION_SUFFIXES``).
-
-    In the case ``.pyx`` files are passed as ``sources and`` ``Cython`` is **not**
-    installed in the build environment, ``setuptools`` may also try to look for the
-    equivalent ``.cpp`` or ``.c`` files.
-
-    :arg str name:
-      the full name of the extension, including any packages -- ie.
-      *not* a filename or pathname, but Python dotted name
-
-    :arg list[str|os.PathLike[str]] sources:
-      list of source filenames, relative to the distribution root
-      (where the setup script lives), in Unix form (slash-separated)
-      for portability.  Source files may be C, C++, SWIG (.i),
-      platform-specific resource files, or whatever else is recognized
-      by the "build_ext" command as source for a Python extension.
-
-    :keyword list[str] include_dirs:
-      list of directories to search for C/C++ header files (in Unix
-      form for portability)
-
-    :keyword list[tuple[str, str|None]] define_macros:
-      list of macros to define; each macro is defined using a 2-tuple:
-      the first item corresponding to the name of the macro and the second
-      item either a string with its value or None to
-      define it without a particular value (equivalent of "#define
-      FOO" in source or -DFOO on Unix C compiler command line)
-
-    :keyword list[str] undef_macros:
-      list of macros to undefine explicitly
-
-    :keyword list[str] library_dirs:
-      list of directories to search for C/C++ libraries at link time
-
-    :keyword list[str] libraries:
-      list of library names (not filenames or paths) to link against
-
-    :keyword list[str] runtime_library_dirs:
-      list of directories to search for C/C++ libraries at run time
-      (for shared extensions, this is when the extension is loaded).
-      Setting this will cause an exception during build on Windows
-      platforms.
-
-    :keyword list[str] extra_objects:
-      list of extra files to link with (eg. object files not implied
-      by 'sources', static library that must be explicitly specified,
-      binary resource files, etc.)
-
-    :keyword list[str] extra_compile_args:
-      any extra platform- and compiler-specific information to use
-      when compiling the source files in 'sources'.  For platforms and
-      compilers where "command line" makes sense, this is typically a
-      list of command-line arguments, but for other platforms it could
-      be anything.
-
-    :keyword list[str] extra_link_args:
-      any extra platform- and compiler-specific information to use
-      when linking object files together to create the extension (or
-      to create a new static Python interpreter).  Similar
-      interpretation as for 'extra_compile_args'.
-
-    :keyword list[str] export_symbols:
-      list of symbols to be exported from a shared extension.  Not
-      used on all platforms, and not generally necessary for Python
-      extensions, which typically export exactly one symbol: "init" +
-      extension_name.
-
-    :keyword list[str] swig_opts:
-      any extra options to pass to SWIG if a source file has the .i
-      extension.
-
-    :keyword list[str] depends:
-      list of files that the extension depends on
-
-    :keyword str language:
-      extension language (i.e. "c", "c++", "objc"). Will be detected
-      from the source extensions if not provided.
-
-    :keyword bool optional:
-      specifies that a build failure in the extension should not abort the
-      build process, but simply not install the failing extension.
-
-    :keyword bool py_limited_api:
-      opt-in flag for the usage of :doc:`Python's limited API `.
-
-    :raises setuptools.errors.PlatformError: if ``runtime_library_dirs`` is
-      specified on Windows. (since v63)
-    """
-
-    # These 4 are set and used in setuptools/command/build_ext.py
-    # The lack of a default value and risk of `AttributeError` is purposeful
-    # to avoid people forgetting to call finalize_options if they modify the extension list.
-    # See example/rationale in https://github.com/pypa/setuptools/issues/4529.
-    _full_name: str  #: Private API, internal use only.
-    _links_to_dynamic: bool  #: Private API, internal use only.
-    _needs_stub: bool  #: Private API, internal use only.
-    _file_name: str  #: Private API, internal use only.
-
-    def __init__(
-        self,
-        name: str,
-        sources: list[StrPath],
-        *args,
-        py_limited_api: bool = False,
-        **kw,
-    ) -> None:
-        # The *args is needed for compatibility as calls may use positional
-        # arguments. py_limited_api may be set only via keyword.
-        self.py_limited_api = py_limited_api
-        super().__init__(
-            name,
-            sources,  # type: ignore[arg-type] # Vendored version of setuptools supports PathLike
-            *args,
-            **kw,
-        )
-
-    def _convert_pyx_sources_to_lang(self):
-        """
-        Replace sources with .pyx extensions to sources with the target
-        language extension. This mechanism allows language authors to supply
-        pre-converted sources but to prefer the .pyx sources.
-        """
-        if _have_cython():
-            # the build has Cython, so allow it to compile the .pyx files
-            return
-        lang = self.language or ''
-        target_ext = '.cpp' if lang.lower() == 'c++' else '.c'
-        sub = functools.partial(re.sub, '.pyx$', target_ext)
-        self.sources = list(map(sub, self.sources))
-
-
-class Library(Extension):
-    """Just like a regular Extension, but built as a library instead"""
diff --git a/.venv/lib/python3.12/site-packages/setuptools/glob.py b/.venv/lib/python3.12/site-packages/setuptools/glob.py
deleted file mode 100644
index 1dfff2cd..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/glob.py
+++ /dev/null
@@ -1,185 +0,0 @@
-"""
-Filename globbing utility. Mostly a copy of `glob` from Python 3.5.
-
-Changes include:
- * `yield from` and PEP3102 `*` removed.
- * Hidden files are not ignored.
-"""
-
-from __future__ import annotations
-
-import fnmatch
-import os
-import re
-from collections.abc import Iterable, Iterator
-from typing import TYPE_CHECKING, AnyStr, overload
-
-if TYPE_CHECKING:
-    from _typeshed import BytesPath, StrOrBytesPath, StrPath
-
-__all__ = ["glob", "iglob", "escape"]
-
-
-def glob(pathname: AnyStr, recursive: bool = False) -> list[AnyStr]:
-    """Return a list of paths matching a pathname pattern.
-
-    The pattern may contain simple shell-style wildcards a la
-    fnmatch. However, unlike fnmatch, filenames starting with a
-    dot are special cases that are not matched by '*' and '?'
-    patterns.
-
-    If recursive is true, the pattern '**' will match any files and
-    zero or more directories and subdirectories.
-    """
-    return list(iglob(pathname, recursive=recursive))
-
-
-def iglob(pathname: AnyStr, recursive: bool = False) -> Iterator[AnyStr]:
-    """Return an iterator which yields the paths matching a pathname pattern.
-
-    The pattern may contain simple shell-style wildcards a la
-    fnmatch. However, unlike fnmatch, filenames starting with a
-    dot are special cases that are not matched by '*' and '?'
-    patterns.
-
-    If recursive is true, the pattern '**' will match any files and
-    zero or more directories and subdirectories.
-    """
-    it = _iglob(pathname, recursive)
-    if recursive and _isrecursive(pathname):
-        s = next(it)  # skip empty string
-        assert not s
-    return it
-
-
-def _iglob(pathname: AnyStr, recursive: bool) -> Iterator[AnyStr]:
-    dirname, basename = os.path.split(pathname)
-    glob_in_dir = glob2 if recursive and _isrecursive(basename) else glob1
-
-    if not has_magic(pathname):
-        if basename:
-            if os.path.lexists(pathname):
-                yield pathname
-        else:
-            # Patterns ending with a slash should match only directories
-            if os.path.isdir(dirname):
-                yield pathname
-        return
-
-    if not dirname:
-        yield from glob_in_dir(dirname, basename)
-        return
-    # `os.path.split()` returns the argument itself as a dirname if it is a
-    # drive or UNC path.  Prevent an infinite recursion if a drive or UNC path
-    # contains magic characters (i.e. r'\\?\C:').
-    if dirname != pathname and has_magic(dirname):
-        dirs: Iterable[AnyStr] = _iglob(dirname, recursive)
-    else:
-        dirs = [dirname]
-    if not has_magic(basename):
-        glob_in_dir = glob0
-    for dirname in dirs:
-        for name in glob_in_dir(dirname, basename):
-            yield os.path.join(dirname, name)
-
-
-# These 2 helper functions non-recursively glob inside a literal directory.
-# They return a list of basenames. `glob1` accepts a pattern while `glob0`
-# takes a literal basename (so it only has to check for its existence).
-
-
-@overload
-def glob1(dirname: StrPath, pattern: str) -> list[str]: ...
-@overload
-def glob1(dirname: BytesPath, pattern: bytes) -> list[bytes]: ...
-def glob1(dirname: StrOrBytesPath, pattern: str | bytes) -> list[str] | list[bytes]:
-    if not dirname:
-        if isinstance(pattern, bytes):
-            dirname = os.curdir.encode('ASCII')
-        else:
-            dirname = os.curdir
-    try:
-        names = os.listdir(dirname)
-    except OSError:
-        return []
-    # mypy false-positives: str or bytes type possibility is always kept in sync
-    return fnmatch.filter(names, pattern)  # type: ignore[type-var, return-value]
-
-
-def glob0(dirname, basename):
-    if not basename:
-        # `os.path.split()` returns an empty basename for paths ending with a
-        # directory separator.  'q*x/' should match only directories.
-        if os.path.isdir(dirname):
-            return [basename]
-    else:
-        if os.path.lexists(os.path.join(dirname, basename)):
-            return [basename]
-    return []
-
-
-# This helper function recursively yields relative pathnames inside a literal
-# directory.
-
-
-@overload
-def glob2(dirname: StrPath, pattern: str) -> Iterator[str]: ...
-@overload
-def glob2(dirname: BytesPath, pattern: bytes) -> Iterator[bytes]: ...
-def glob2(dirname: StrOrBytesPath, pattern: str | bytes) -> Iterator[str | bytes]:
-    assert _isrecursive(pattern)
-    yield pattern[:0]
-    yield from _rlistdir(dirname)
-
-
-# Recursively yields relative pathnames inside a literal directory.
-@overload
-def _rlistdir(dirname: StrPath) -> Iterator[str]: ...
-@overload
-def _rlistdir(dirname: BytesPath) -> Iterator[bytes]: ...
-def _rlistdir(dirname: StrOrBytesPath) -> Iterator[str | bytes]:
-    if not dirname:
-        if isinstance(dirname, bytes):
-            dirname = os.curdir.encode('ASCII')
-        else:
-            dirname = os.curdir
-    try:
-        names = os.listdir(dirname)
-    except OSError:
-        return
-    for x in names:
-        yield x
-        # mypy false-positives: str or bytes type possibility is always kept in sync
-        path = os.path.join(dirname, x) if dirname else x  # type: ignore[arg-type]
-        for y in _rlistdir(path):
-            yield os.path.join(x, y)  # type: ignore[arg-type]
-
-
-magic_check = re.compile('([*?[])')
-magic_check_bytes = re.compile(b'([*?[])')
-
-
-def has_magic(s: str | bytes) -> bool:
-    if isinstance(s, bytes):
-        return magic_check_bytes.search(s) is not None
-    else:
-        return magic_check.search(s) is not None
-
-
-def _isrecursive(pattern: str | bytes) -> bool:
-    if isinstance(pattern, bytes):
-        return pattern == b'**'
-    else:
-        return pattern == '**'
-
-
-def escape(pathname):
-    """Escape all special characters."""
-    # Escaping is done by wrapping any of "*?[" between square brackets.
-    # Metacharacters do not work in the drive part and shouldn't be escaped.
-    drive, pathname = os.path.splitdrive(pathname)
-    if isinstance(pathname, bytes):
-        pathname = magic_check_bytes.sub(rb'[\1]', pathname)
-    else:
-        pathname = magic_check.sub(r'[\1]', pathname)
-    return drive + pathname
diff --git a/.venv/lib/python3.12/site-packages/setuptools/gui-32.exe b/.venv/lib/python3.12/site-packages/setuptools/gui-32.exe
deleted file mode 100644
index 1eb430c6..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/gui-32.exe and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/gui-64.exe b/.venv/lib/python3.12/site-packages/setuptools/gui-64.exe
deleted file mode 100644
index 031cb77c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/gui-64.exe and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/gui-arm64.exe b/.venv/lib/python3.12/site-packages/setuptools/gui-arm64.exe
deleted file mode 100644
index 1e00ffac..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/gui-arm64.exe and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/gui.exe b/.venv/lib/python3.12/site-packages/setuptools/gui.exe
deleted file mode 100644
index 1eb430c6..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/gui.exe and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/installer.py b/.venv/lib/python3.12/site-packages/setuptools/installer.py
deleted file mode 100644
index 64bc2def..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/installer.py
+++ /dev/null
@@ -1,150 +0,0 @@
-from __future__ import annotations
-
-import glob
-import os
-import subprocess
-import sys
-import tempfile
-from functools import partial
-
-from pkg_resources import Distribution
-
-from . import _reqs
-from ._reqs import _StrOrIter
-from .warnings import SetuptoolsDeprecationWarning
-from .wheel import Wheel
-
-from distutils import log
-from distutils.errors import DistutilsError
-
-
-def _fixup_find_links(find_links):
-    """Ensure find-links option end-up being a list of strings."""
-    if isinstance(find_links, str):
-        return find_links.split()
-    assert isinstance(find_links, (tuple, list))
-    return find_links
-
-
-def fetch_build_egg(dist, req):
-    """Fetch an egg needed for building.
-
-    Use pip/wheel to fetch/build a wheel."""
-    _DeprecatedInstaller.emit()
-    _warn_wheel_not_available(dist)
-    return _fetch_build_egg_no_warn(dist, req)
-
-
-def _fetch_build_eggs(dist, requires: _StrOrIter) -> list[Distribution]:
-    import pkg_resources  # Delay import to avoid unnecessary side-effects
-
-    _DeprecatedInstaller.emit(stacklevel=3)
-    _warn_wheel_not_available(dist)
-
-    resolved_dists = pkg_resources.working_set.resolve(
-        _reqs.parse(requires, pkg_resources.Requirement),  # required for compatibility
-        installer=partial(_fetch_build_egg_no_warn, dist),  # avoid warning twice
-        replace_conflicting=True,
-    )
-    for dist in resolved_dists:
-        pkg_resources.working_set.add(dist, replace=True)
-    return resolved_dists
-
-
-def _fetch_build_egg_no_warn(dist, req):  # noqa: C901  # is too complex (16)  # FIXME
-    import pkg_resources  # Delay import to avoid unnecessary side-effects
-
-    # Ignore environment markers; if supplied, it is required.
-    req = strip_marker(req)
-    # Take easy_install options into account, but do not override relevant
-    # pip environment variables (like PIP_INDEX_URL or PIP_QUIET); they'll
-    # take precedence.
-    opts = dist.get_option_dict('easy_install')
-    if 'allow_hosts' in opts:
-        raise DistutilsError(
-            'the `allow-hosts` option is not supported '
-            'when using pip to install requirements.'
-        )
-    quiet = 'PIP_QUIET' not in os.environ and 'PIP_VERBOSE' not in os.environ
-    if 'PIP_INDEX_URL' in os.environ:
-        index_url = None
-    elif 'index_url' in opts:
-        index_url = opts['index_url'][1]
-    else:
-        index_url = None
-    find_links = (
-        _fixup_find_links(opts['find_links'][1])[:] if 'find_links' in opts else []
-    )
-    if dist.dependency_links:
-        find_links.extend(dist.dependency_links)
-    eggs_dir = os.path.realpath(dist.get_egg_cache_dir())
-    environment = pkg_resources.Environment()
-    for egg_dist in pkg_resources.find_distributions(eggs_dir):
-        if egg_dist in req and environment.can_add(egg_dist):
-            return egg_dist
-    with tempfile.TemporaryDirectory() as tmpdir:
-        cmd = [
-            sys.executable,
-            '-m',
-            'pip',
-            '--disable-pip-version-check',
-            'wheel',
-            '--no-deps',
-            '-w',
-            tmpdir,
-        ]
-        if quiet:
-            cmd.append('--quiet')
-        if index_url is not None:
-            cmd.extend(('--index-url', index_url))
-        for link in find_links or []:
-            cmd.extend(('--find-links', link))
-        # If requirement is a PEP 508 direct URL, directly pass
-        # the URL to pip, as `req @ url` does not work on the
-        # command line.
-        cmd.append(req.url or str(req))
-        try:
-            subprocess.check_call(cmd)
-        except subprocess.CalledProcessError as e:
-            raise DistutilsError(str(e)) from e
-        wheel = Wheel(glob.glob(os.path.join(tmpdir, '*.whl'))[0])
-        dist_location = os.path.join(eggs_dir, wheel.egg_name())
-        wheel.install_as_egg(dist_location)
-        dist_metadata = pkg_resources.PathMetadata(
-            dist_location, os.path.join(dist_location, 'EGG-INFO')
-        )
-        return pkg_resources.Distribution.from_filename(
-            dist_location, metadata=dist_metadata
-        )
-
-
-def strip_marker(req):
-    """
-    Return a new requirement without the environment marker to avoid
-    calling pip with something like `babel; extra == "i18n"`, which
-    would always be ignored.
-    """
-    import pkg_resources  # Delay import to avoid unnecessary side-effects
-
-    # create a copy to avoid mutating the input
-    req = pkg_resources.Requirement.parse(str(req))
-    req.marker = None
-    return req
-
-
-def _warn_wheel_not_available(dist):
-    import pkg_resources  # Delay import to avoid unnecessary side-effects
-
-    try:
-        pkg_resources.get_distribution('wheel')
-    except pkg_resources.DistributionNotFound:
-        dist.announce('WARNING: The wheel package is not available.', log.WARN)
-
-
-class _DeprecatedInstaller(SetuptoolsDeprecationWarning):
-    _SUMMARY = "setuptools.installer and fetch_build_eggs are deprecated."
-    _DETAILS = """
-    Requirements should be satisfied by a PEP 517 installer.
-    If you are using pip, you can try `pip install --use-pep517`.
-    """
-    # _DUE_DATE not decided yet
diff --git a/.venv/lib/python3.12/site-packages/setuptools/launch.py b/.venv/lib/python3.12/site-packages/setuptools/launch.py
deleted file mode 100644
index 0d162647..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/launch.py
+++ /dev/null
@@ -1,36 +0,0 @@
-"""
-Launch the Python script on the command line after
-setuptools is bootstrapped via import.
-"""
-
-# Note that setuptools gets imported implicitly by the
-# invocation of this script using python -m setuptools.launch
-
-import sys
-import tokenize
-
-
-def run() -> None:
-    """
-    Run the script in sys.argv[1] as if it had
-    been invoked naturally.
-    """
-    __builtins__
-    script_name = sys.argv[1]
-    namespace = dict(
-        __file__=script_name,
-        __name__='__main__',
-        __doc__=None,
-    )
-    sys.argv[:] = sys.argv[1:]
-
-    open_ = getattr(tokenize, 'open', open)
-    with open_(script_name) as fid:
-        script = fid.read()
-    norm_script = script.replace('\\r\\n', '\\n')
-    code = compile(norm_script, script_name, 'exec')
-    exec(code, namespace)
-
-
-if __name__ == '__main__':
-    run()
diff --git a/.venv/lib/python3.12/site-packages/setuptools/logging.py b/.venv/lib/python3.12/site-packages/setuptools/logging.py
deleted file mode 100644
index 532da899..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/logging.py
+++ /dev/null
@@ -1,40 +0,0 @@
-import inspect
-import logging
-import sys
-
-from . import monkey
-
-import distutils.log
-
-
-def _not_warning(record):
-    return record.levelno < logging.WARNING
-
-
-def configure() -> None:
-    """
-    Configure logging to emit warning and above to stderr
-    and everything else to stdout. This behavior is provided
-    for compatibility with distutils.log but may change in
-    the future.
-    """
-    err_handler = logging.StreamHandler()
-    err_handler.setLevel(logging.WARNING)
-    out_handler = logging.StreamHandler(sys.stdout)
-    out_handler.addFilter(_not_warning)
-    handlers = err_handler, out_handler
-    logging.basicConfig(
-        format="{message}", style='{', handlers=handlers, level=logging.DEBUG
-    )
-    if inspect.ismodule(distutils.dist.log):
-        monkey.patch_func(set_threshold, distutils.log, 'set_threshold')
-        # For some reason `distutils.log` module is getting cached in `distutils.dist`
-        # and then loaded again when patched,
-        # implying: id(distutils.log) != id(distutils.dist.log).
-        # Make sure the same module object is used everywhere:
-        distutils.dist.log = distutils.log
-
-
-def set_threshold(level: int) -> int:
-    logging.root.setLevel(level * 10)
-    return set_threshold.unpatched(level)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/modified.py b/.venv/lib/python3.12/site-packages/setuptools/modified.py
deleted file mode 100644
index 6ba02fab..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/modified.py
+++ /dev/null
@@ -1,18 +0,0 @@
-try:
-    # Ensure a DistutilsError raised by these methods is the same as distutils.errors.DistutilsError
-    from distutils._modified import (
-        newer,
-        newer_group,
-        newer_pairwise,
-        newer_pairwise_group,
-    )
-except ImportError:
-    # fallback for SETUPTOOLS_USE_DISTUTILS=stdlib, because _modified never existed in stdlib
-    from ._distutils._modified import (
-        newer,
-        newer_group,
-        newer_pairwise,
-        newer_pairwise_group,
-    )
-
-__all__ = ['newer', 'newer_pairwise', 'newer_group', 'newer_pairwise_group']
diff --git a/.venv/lib/python3.12/site-packages/setuptools/monkey.py b/.venv/lib/python3.12/site-packages/setuptools/monkey.py
deleted file mode 100644
index d8e30dbb..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/monkey.py
+++ /dev/null
@@ -1,126 +0,0 @@
-"""
-Monkey patching of distutils.
-"""
-
-from __future__ import annotations
-
-import inspect
-import platform
-import sys
-import types
-from typing import TypeVar, cast, overload
-
-import distutils.filelist
-
-_T = TypeVar("_T")
-_UnpatchT = TypeVar("_UnpatchT", type, types.FunctionType)
-
-
-__all__: list[str] = []
-"""
-Everything is private. Contact the project team
-if you think you need this functionality.
-"""
-
-
-def _get_mro(cls):
-    """
-    Returns the bases classes for cls sorted by the MRO.
-
-    Works around an issue on Jython where inspect.getmro will not return all
-    base classes if multiple classes share the same name. Instead, this
-    function will return a tuple containing the class itself, and the contents
-    of cls.__bases__. See https://github.com/pypa/setuptools/issues/1024.
-    """
-    if platform.python_implementation() == "Jython":
-        return (cls,) + cls.__bases__
-    return inspect.getmro(cls)
-
-
-@overload
-def get_unpatched(item: _UnpatchT) -> _UnpatchT: ...
-@overload
-def get_unpatched(item: object) -> None: ...
-def get_unpatched(
-    item: type | types.FunctionType | object,
-) -> type | types.FunctionType | None:
-    if isinstance(item, type):
-        return get_unpatched_class(item)
-    if isinstance(item, types.FunctionType):
-        return get_unpatched_function(item)
-    return None
-
-
-def get_unpatched_class(cls: type[_T]) -> type[_T]:
-    """Protect against re-patching the distutils if reloaded
-
-    Also ensures that no other distutils extension monkeypatched the distutils
-    first.
-    """
-    external_bases = (
-        cast(type[_T], cls)
-        for cls in _get_mro(cls)
-        if not cls.__module__.startswith('setuptools')
-    )
-    base = next(external_bases)
-    if not base.__module__.startswith('distutils'):
-        msg = "distutils has already been patched by %r" % cls
-        raise AssertionError(msg)
-    return base
-
-
-def patch_all():
-    import setuptools
-
-    # we can't patch distutils.cmd, alas
-    distutils.core.Command = setuptools.Command  # type: ignore[misc,assignment] # monkeypatching
-
-    _patch_distribution_metadata()
-
-    # Install Distribution throughout the distutils
-    for module in distutils.dist, distutils.core, distutils.cmd:
-        module.Distribution = setuptools.dist.Distribution
-
-    # Install the patched Extension
-    distutils.core.Extension = setuptools.extension.Extension  # type: ignore[misc,assignment] # monkeypatching
-    distutils.extension.Extension = setuptools.extension.Extension  # type: ignore[misc,assignment] # monkeypatching
-    if 'distutils.command.build_ext' in sys.modules:
-        sys.modules[
-            'distutils.command.build_ext'
-        ].Extension = setuptools.extension.Extension
-
-
-def _patch_distribution_metadata():
-    from . import _core_metadata
-
-    """Patch write_pkg_file and read_pkg_file for higher metadata standards"""
-    for attr in (
-        'write_pkg_info',
-        'write_pkg_file',
-        'read_pkg_file',
-        'get_metadata_version',
-        'get_fullname',
-    ):
-        new_val = getattr(_core_metadata, attr)
-        setattr(distutils.dist.DistributionMetadata, attr, new_val)
-
-
-def patch_func(replacement, target_mod, func_name):
-    """
-    Patch func_name in target_mod with replacement
-
-    Important - original must be resolved by name to avoid
-    patching an already patched function.
-    """
-    original = getattr(target_mod, func_name)
-
-    # set the 'unpatched' attribute on the replacement to
-    # point to the original.
-    vars(replacement).setdefault('unpatched', original)
-
-    # replace the function in the original module
-    setattr(target_mod, func_name, replacement)
-
-
-def get_unpatched_function(candidate):
-    return candidate.unpatched
diff --git a/.venv/lib/python3.12/site-packages/setuptools/msvc.py b/.venv/lib/python3.12/site-packages/setuptools/msvc.py
deleted file mode 100644
index 8d6d2cf0..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/msvc.py
+++ /dev/null
@@ -1,1526 +0,0 @@
-"""
-Environment info about Microsoft Compilers.
-
->>> getfixture('windows_only')
->>> ei = EnvironmentInfo('amd64')
-"""
-
-from __future__ import annotations
-
-import contextlib
-import itertools
-import json
-import os
-import os.path
-import platform
-from typing import TYPE_CHECKING, TypedDict
-
-from more_itertools import unique_everseen
-
-import distutils.errors
-
-if TYPE_CHECKING:
-    from typing_extensions import LiteralString, NotRequired
-
-# https://github.com/python/mypy/issues/8166
-if not TYPE_CHECKING and platform.system() == 'Windows':
-    import winreg
-    from os import environ
-else:
-    # Mock winreg and environ so the module can be imported on this platform.
-
-    class winreg:
-        HKEY_USERS = None
-        HKEY_CURRENT_USER = None
-        HKEY_LOCAL_MACHINE = None
-        HKEY_CLASSES_ROOT = None
-
-    environ: dict[str, str] = dict()
-
-
-class PlatformInfo:
-    """
-    Current and Target Architectures information.
-
-    Parameters
-    ----------
-    arch: str
-        Target architecture.
-    """
-
-    current_cpu = environ.get('processor_architecture', '').lower()
-
-    def __init__(self, arch) -> None:
-        self.arch = arch.lower().replace('x64', 'amd64')
-
-    @property
-    def target_cpu(self):
-        """
-        Return Target CPU architecture.
-
-        Return
-        ------
-        str
-            Target CPU
-        """
-        return self.arch[self.arch.find('_') + 1 :]
-
-    def target_is_x86(self):
-        """
-        Return True if target CPU is x86 32 bits..
-
-        Return
-        ------
-        bool
-            CPU is x86 32 bits
-        """
-        return self.target_cpu == 'x86'
-
-    def current_is_x86(self):
-        """
-        Return True if current CPU is x86 32 bits..
-
-        Return
-        ------
-        bool
-            CPU is x86 32 bits
-        """
-        return self.current_cpu == 'x86'
-
-    def current_dir(self, hidex86=False, x64=False) -> str:
-        """
-        Current platform specific subfolder.
-
-        Parameters
-        ----------
-        hidex86: bool
-            return '' and not '\x86' if architecture is x86.
-        x64: bool
-            return '\x64' and not '\amd64' if architecture is amd64.
-
-        Return
-        ------
-        str
-            subfolder: '\target', or '' (see hidex86 parameter)
-        """
-        return (
-            ''
-            if (self.current_cpu == 'x86' and hidex86)
-            else r'\x64'
-            if (self.current_cpu == 'amd64' and x64)
-            else r'\%s' % self.current_cpu
-        )
-
-    def target_dir(self, hidex86=False, x64=False) -> str:
-        r"""
-        Target platform specific subfolder.
-
-        Parameters
-        ----------
-        hidex86: bool
-            return '' and not '\x86' if architecture is x86.
-        x64: bool
-            return '\x64' and not '\amd64' if architecture is amd64.
-
-        Return
-        ------
-        str
-            subfolder: '\current', or '' (see hidex86 parameter)
-        """
-        return (
-            ''
-            if (self.target_cpu == 'x86' and hidex86)
-            else r'\x64'
-            if (self.target_cpu == 'amd64' and x64)
-            else r'\%s' % self.target_cpu
-        )
-
-    def cross_dir(self, forcex86=False):
-        r"""
-        Cross platform specific subfolder.
-
-        Parameters
-        ----------
-        forcex86: bool
-            Use 'x86' as current architecture even if current architecture is
-            not x86.
-
-        Return
-        ------
-        str
-            subfolder: '' if target architecture is current architecture,
-            '\current_target' if not.
-        """
-        current = 'x86' if forcex86 else self.current_cpu
-        return (
-            ''
-            if self.target_cpu == current
-            else self.target_dir().replace('\\', '\\%s_' % current)
-        )
-
-
-class RegistryInfo:
-    """
-    Microsoft Visual Studio related registry information.
-
-    Parameters
-    ----------
-    platform_info: PlatformInfo
-        "PlatformInfo" instance.
-    """
-
-    HKEYS = (
-        winreg.HKEY_USERS,
-        winreg.HKEY_CURRENT_USER,
-        winreg.HKEY_LOCAL_MACHINE,
-        winreg.HKEY_CLASSES_ROOT,
-    )
-
-    def __init__(self, platform_info) -> None:
-        self.pi = platform_info
-
-    @property
-    def visualstudio(self) -> str:
-        """
-        Microsoft Visual Studio root registry key.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        return 'VisualStudio'
-
-    @property
-    def sxs(self):
-        """
-        Microsoft Visual Studio SxS registry key.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        return os.path.join(self.visualstudio, 'SxS')
-
-    @property
-    def vc(self):
-        """
-        Microsoft Visual C++ VC7 registry key.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        return os.path.join(self.sxs, 'VC7')
-
-    @property
-    def vs(self):
-        """
-        Microsoft Visual Studio VS7 registry key.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        return os.path.join(self.sxs, 'VS7')
-
-    @property
-    def vc_for_python(self) -> str:
-        """
-        Microsoft Visual C++ for Python registry key.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        return r'DevDiv\VCForPython'
-
-    @property
-    def microsoft_sdk(self) -> str:
-        """
-        Microsoft SDK registry key.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        return 'Microsoft SDKs'
-
-    @property
-    def windows_sdk(self):
-        """
-        Microsoft Windows/Platform SDK registry key.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        return os.path.join(self.microsoft_sdk, 'Windows')
-
-    @property
-    def netfx_sdk(self):
-        """
-        Microsoft .NET Framework SDK registry key.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        return os.path.join(self.microsoft_sdk, 'NETFXSDK')
-
-    @property
-    def windows_kits_roots(self) -> str:
-        """
-        Microsoft Windows Kits Roots registry key.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        return r'Windows Kits\Installed Roots'
-
-    def microsoft(self, key, x86=False):
-        """
-        Return key in Microsoft software registry.
-
-        Parameters
-        ----------
-        key: str
-            Registry key path where look.
-        x86: str
-            Force x86 software registry.
-
-        Return
-        ------
-        str
-            Registry key
-        """
-        node64 = '' if self.pi.current_is_x86() or x86 else 'Wow6432Node'
-        return os.path.join('Software', node64, 'Microsoft', key)
-
-    def lookup(self, key, name):
-        """
-        Look for values in registry in Microsoft software registry.
-
-        Parameters
-        ----------
-        key: str
-            Registry key path where look.
-        name: str
-            Value name to find.
-
-        Return
-        ------
-        str
-            value
-        """
-        key_read = winreg.KEY_READ
-        openkey = winreg.OpenKey
-        closekey = winreg.CloseKey
-        ms = self.microsoft
-        for hkey in self.HKEYS:
-            bkey = None
-            try:
-                bkey = openkey(hkey, ms(key), 0, key_read)
-            except OSError:
-                if not self.pi.current_is_x86():
-                    try:
-                        bkey = openkey(hkey, ms(key, True), 0, key_read)
-                    except OSError:
-                        continue
-                else:
-                    continue
-            try:
-                return winreg.QueryValueEx(bkey, name)[0]
-            except OSError:
-                pass
-            finally:
-                if bkey:
-                    closekey(bkey)
-        return None
-
-
-class SystemInfo:
-    """
-    Microsoft Windows and Visual Studio related system information.
-
-    Parameters
-    ----------
-    registry_info: RegistryInfo
-        "RegistryInfo" instance.
-    vc_ver: float
-        Required Microsoft Visual C++ version.
-    """
-
-    # Variables and properties in this class use originals CamelCase variables
-    # names from Microsoft source files for more easy comparison.
-    WinDir = environ.get('WinDir', '')
-    ProgramFiles = environ.get('ProgramFiles', '')
-    ProgramFilesx86 = environ.get('ProgramFiles(x86)', ProgramFiles)
-
-    def __init__(self, registry_info, vc_ver=None) -> None:
-        self.ri = registry_info
-        self.pi = self.ri.pi
-
-        self.known_vs_paths = self.find_programdata_vs_vers()
-
-        # Except for VS15+, VC version is aligned with VS version
-        self.vs_ver = self.vc_ver = vc_ver or self._find_latest_available_vs_ver()
-
-    def _find_latest_available_vs_ver(self):
-        """
-        Find the latest VC version
-
-        Return
-        ------
-        float
-            version
-        """
-        reg_vc_vers = self.find_reg_vs_vers()
-
-        if not (reg_vc_vers or self.known_vs_paths):
-            raise distutils.errors.DistutilsPlatformError(
-                'No Microsoft Visual C++ version found'
-            )
-
-        vc_vers = set(reg_vc_vers)
-        vc_vers.update(self.known_vs_paths)
-        return sorted(vc_vers)[-1]
-
-    def find_reg_vs_vers(self):
-        """
-        Find Microsoft Visual Studio versions available in registry.
-
-        Return
-        ------
-        list of float
-            Versions
-        """
-        ms = self.ri.microsoft
-        vckeys = (self.ri.vc, self.ri.vc_for_python, self.ri.vs)
-        vs_vers = []
-        for hkey, key in itertools.product(self.ri.HKEYS, vckeys):
-            try:
-                bkey = winreg.OpenKey(hkey, ms(key), 0, winreg.KEY_READ)
-            except OSError:
-                continue
-            with bkey:
-                subkeys, values, _ = winreg.QueryInfoKey(bkey)
-                for i in range(values):
-                    with contextlib.suppress(ValueError):
-                        ver = float(winreg.EnumValue(bkey, i)[0])
-                        if ver not in vs_vers:
-                            vs_vers.append(ver)
-                for i in range(subkeys):
-                    with contextlib.suppress(ValueError):
-                        ver = float(winreg.EnumKey(bkey, i))
-                        if ver not in vs_vers:
-                            vs_vers.append(ver)
-        return sorted(vs_vers)
-
-    def find_programdata_vs_vers(self) -> dict[float, str]:
-        r"""
-        Find Visual studio 2017+ versions from information in
-        "C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances".
-
-        Return
-        ------
-        dict
-            float version as key, path as value.
-        """
-        vs_versions: dict[float, str] = {}
-        instances_dir = r'C:\ProgramData\Microsoft\VisualStudio\Packages\_Instances'
-
-        try:
-            hashed_names = os.listdir(instances_dir)
-
-        except OSError:
-            # Directory not exists with all Visual Studio versions
-            return vs_versions
-
-        for name in hashed_names:
-            try:
-                # Get VS installation path from "state.json" file
-                state_path = os.path.join(instances_dir, name, 'state.json')
-                with open(state_path, 'rt', encoding='utf-8') as state_file:
-                    state = json.load(state_file)
-                vs_path = state['installationPath']
-
-                # Raises OSError if this VS installation does not contain VC
-                os.listdir(os.path.join(vs_path, r'VC\Tools\MSVC'))
-
-                # Store version and path
-                vs_versions[self._as_float_version(state['installationVersion'])] = (
-                    vs_path
-                )
-
-            except (OSError, KeyError):
-                # Skip if "state.json" file is missing or bad format
-                continue
-
-        return vs_versions
-
-    @staticmethod
-    def _as_float_version(version):
-        """
-        Return a string version as a simplified float version (major.minor)
-
-        Parameters
-        ----------
-        version: str
-            Version.
-
-        Return
-        ------
-        float
-            version
-        """
-        return float('.'.join(version.split('.')[:2]))
-
-    @property
-    def VSInstallDir(self):
-        """
-        Microsoft Visual Studio directory.
-
-        Return
-        ------
-        str
-            path
-        """
-        # Default path
-        default = os.path.join(
-            self.ProgramFilesx86, 'Microsoft Visual Studio %0.1f' % self.vs_ver
-        )
-
-        # Try to get path from registry, if fail use default path
-        return self.ri.lookup(self.ri.vs, '%0.1f' % self.vs_ver) or default
-
-    @property
-    def VCInstallDir(self):
-        """
-        Microsoft Visual C++ directory.
-
-        Return
-        ------
-        str
-            path
-        """
-        path = self._guess_vc() or self._guess_vc_legacy()
-
-        if not os.path.isdir(path):
-            msg = 'Microsoft Visual C++ directory not found'
-            raise distutils.errors.DistutilsPlatformError(msg)
-
-        return path
-
-    def _guess_vc(self):
-        """
-        Locate Visual C++ for VS2017+.
-
-        Return
-        ------
-        str
-            path
-        """
-        if self.vs_ver <= 14.0:
-            return ''
-
-        try:
-            # First search in known VS paths
-            vs_dir = self.known_vs_paths[self.vs_ver]
-        except KeyError:
-            # Else, search with path from registry
-            vs_dir = self.VSInstallDir
-
-        guess_vc = os.path.join(vs_dir, r'VC\Tools\MSVC')
-
-        # Subdir with VC exact version as name
-        try:
-            # Update the VC version with real one instead of VS version
-            vc_ver = os.listdir(guess_vc)[-1]
-            self.vc_ver = self._as_float_version(vc_ver)
-            return os.path.join(guess_vc, vc_ver)
-        except (OSError, IndexError):
-            return ''
-
-    def _guess_vc_legacy(self):
-        """
-        Locate Visual C++ for versions prior to 2017.
-
-        Return
-        ------
-        str
-            path
-        """
-        default = os.path.join(
-            self.ProgramFilesx86, r'Microsoft Visual Studio %0.1f\VC' % self.vs_ver
-        )
-
-        # Try to get "VC++ for Python" path from registry as default path
-        reg_path = os.path.join(self.ri.vc_for_python, '%0.1f' % self.vs_ver)
-        python_vc = self.ri.lookup(reg_path, 'installdir')
-        default_vc = os.path.join(python_vc, 'VC') if python_vc else default
-
-        # Try to get path from registry, if fail use default path
-        return self.ri.lookup(self.ri.vc, '%0.1f' % self.vs_ver) or default_vc
-
-    @property
-    def WindowsSdkVersion(self) -> tuple[LiteralString, ...]:
-        """
-        Microsoft Windows SDK versions for specified MSVC++ version.
-
-        Return
-        ------
-        tuple of str
-            versions
-        """
-        if self.vs_ver <= 9.0:
-            return '7.0', '6.1', '6.0a'
-        elif self.vs_ver == 10.0:
-            return '7.1', '7.0a'
-        elif self.vs_ver == 11.0:
-            return '8.0', '8.0a'
-        elif self.vs_ver == 12.0:
-            return '8.1', '8.1a'
-        elif self.vs_ver >= 14.0:
-            return '10.0', '8.1'
-        return ()
-
-    @property
-    def WindowsSdkLastVersion(self):
-        """
-        Microsoft Windows SDK last version.
-
-        Return
-        ------
-        str
-            version
-        """
-        return self._use_last_dir_name(os.path.join(self.WindowsSdkDir, 'lib'))
-
-    @property
-    def WindowsSdkDir(self) -> str | None:  # noqa: C901  # is too complex (12)  # FIXME
-        """
-        Microsoft Windows SDK directory.
-
-        Return
-        ------
-        str
-            path
-        """
-        sdkdir: str | None = ''
-        for ver in self.WindowsSdkVersion:
-            # Try to get it from registry
-            loc = os.path.join(self.ri.windows_sdk, 'v%s' % ver)
-            sdkdir = self.ri.lookup(loc, 'installationfolder')
-            if sdkdir:
-                break
-        if not sdkdir or not os.path.isdir(sdkdir):
-            # Try to get "VC++ for Python" version from registry
-            path = os.path.join(self.ri.vc_for_python, '%0.1f' % self.vc_ver)
-            install_base = self.ri.lookup(path, 'installdir')
-            if install_base:
-                sdkdir = os.path.join(install_base, 'WinSDK')
-        if not sdkdir or not os.path.isdir(sdkdir):
-            # If fail, use default new path
-            for ver in self.WindowsSdkVersion:
-                intver = ver[: ver.rfind('.')]
-                path = r'Microsoft SDKs\Windows Kits\%s' % intver
-                d = os.path.join(self.ProgramFiles, path)
-                if os.path.isdir(d):
-                    sdkdir = d
-        if not sdkdir or not os.path.isdir(sdkdir):
-            # If fail, use default old path
-            for ver in self.WindowsSdkVersion:
-                path = r'Microsoft SDKs\Windows\v%s' % ver
-                d = os.path.join(self.ProgramFiles, path)
-                if os.path.isdir(d):
-                    sdkdir = d
-        if not sdkdir:
-            # If fail, use Platform SDK
-            sdkdir = os.path.join(self.VCInstallDir, 'PlatformSDK')
-        return sdkdir
-
-    @property
-    def WindowsSDKExecutablePath(self):
-        """
-        Microsoft Windows SDK executable directory.
-
-        Return
-        ------
-        str
-            path
-        """
-        # Find WinSDK NetFx Tools registry dir name
-        if self.vs_ver <= 11.0:
-            netfxver = 35
-            arch = ''
-        else:
-            netfxver = 40
-            hidex86 = True if self.vs_ver <= 12.0 else False
-            arch = self.pi.current_dir(x64=True, hidex86=hidex86)
-        fx = 'WinSDK-NetFx%dTools%s' % (netfxver, arch.replace('\\', '-'))
-
-        # list all possibles registry paths
-        regpaths = []
-        if self.vs_ver >= 14.0:
-            for ver in self.NetFxSdkVersion:
-                regpaths += [os.path.join(self.ri.netfx_sdk, ver, fx)]
-
-        for ver in self.WindowsSdkVersion:
-            regpaths += [os.path.join(self.ri.windows_sdk, 'v%sA' % ver, fx)]
-
-        # Return installation folder from the more recent path
-        for path in regpaths:
-            execpath = self.ri.lookup(path, 'installationfolder')
-            if execpath:
-                return execpath
-
-        return None
-
-    @property
-    def FSharpInstallDir(self):
-        """
-        Microsoft Visual F# directory.
-
-        Return
-        ------
-        str
-            path
-        """
-        path = os.path.join(self.ri.visualstudio, r'%0.1f\Setup\F#' % self.vs_ver)
-        return self.ri.lookup(path, 'productdir') or ''
-
-    @property
-    def UniversalCRTSdkDir(self):
-        """
-        Microsoft Universal CRT SDK directory.
-
-        Return
-        ------
-        str
-            path
-        """
-        # Set Kit Roots versions for specified MSVC++ version
-        vers = ('10', '81') if self.vs_ver >= 14.0 else ()
-
-        # Find path of the more recent Kit
-        for ver in vers:
-            sdkdir = self.ri.lookup(self.ri.windows_kits_roots, 'kitsroot%s' % ver)
-            if sdkdir:
-                return sdkdir or ''
-
-        return None
-
-    @property
-    def UniversalCRTSdkLastVersion(self):
-        """
-        Microsoft Universal C Runtime SDK last version.
-
-        Return
-        ------
-        str
-            version
-        """
-        return self._use_last_dir_name(os.path.join(self.UniversalCRTSdkDir, 'lib'))
-
-    @property
-    def NetFxSdkVersion(self):
-        """
-        Microsoft .NET Framework SDK versions.
-
-        Return
-        ------
-        tuple of str
-            versions
-        """
-        # Set FxSdk versions for specified VS version
-        return (
-            ('4.7.2', '4.7.1', '4.7', '4.6.2', '4.6.1', '4.6', '4.5.2', '4.5.1', '4.5')
-            if self.vs_ver >= 14.0
-            else ()
-        )
-
-    @property
-    def NetFxSdkDir(self):
-        """
-        Microsoft .NET Framework SDK directory.
-
-        Return
-        ------
-        str
-            path
-        """
-        sdkdir = ''
-        for ver in self.NetFxSdkVersion:
-            loc = os.path.join(self.ri.netfx_sdk, ver)
-            sdkdir = self.ri.lookup(loc, 'kitsinstallationfolder')
-            if sdkdir:
-                break
-        return sdkdir
-
-    @property
-    def FrameworkDir32(self):
-        """
-        Microsoft .NET Framework 32bit directory.
-
-        Return
-        ------
-        str
-            path
-        """
-        # Default path
-        guess_fw = os.path.join(self.WinDir, r'Microsoft.NET\Framework')
-
-        # Try to get path from registry, if fail use default path
-        return self.ri.lookup(self.ri.vc, 'frameworkdir32') or guess_fw
-
-    @property
-    def FrameworkDir64(self):
-        """
-        Microsoft .NET Framework 64bit directory.
-
-        Return
-        ------
-        str
-            path
-        """
-        # Default path
-        guess_fw = os.path.join(self.WinDir, r'Microsoft.NET\Framework64')
-
-        # Try to get path from registry, if fail use default path
-        return self.ri.lookup(self.ri.vc, 'frameworkdir64') or guess_fw
-
-    @property
-    def FrameworkVersion32(self) -> tuple[str, ...]:
-        """
-        Microsoft .NET Framework 32bit versions.
-
-        Return
-        ------
-        tuple of str
-            versions
-        """
-        return self._find_dot_net_versions(32)
-
-    @property
-    def FrameworkVersion64(self) -> tuple[str, ...]:
-        """
-        Microsoft .NET Framework 64bit versions.
-
-        Return
-        ------
-        tuple of str
-            versions
-        """
-        return self._find_dot_net_versions(64)
-
-    def _find_dot_net_versions(self, bits) -> tuple[str, ...]:
-        """
-        Find Microsoft .NET Framework versions.
-
-        Parameters
-        ----------
-        bits: int
-            Platform number of bits: 32 or 64.
-
-        Return
-        ------
-        tuple of str
-            versions
-        """
-        # Find actual .NET version in registry
-        reg_ver = self.ri.lookup(self.ri.vc, 'frameworkver%d' % bits)
-        dot_net_dir = getattr(self, 'FrameworkDir%d' % bits)
-        ver = reg_ver or self._use_last_dir_name(dot_net_dir, 'v') or ''
-
-        # Set .NET versions for specified MSVC++ version
-        if self.vs_ver >= 12.0:
-            return ver, 'v4.0'
-        elif self.vs_ver >= 10.0:
-            return 'v4.0.30319' if ver.lower()[:2] != 'v4' else ver, 'v3.5'
-        elif self.vs_ver == 9.0:
-            return 'v3.5', 'v2.0.50727'
-        elif self.vs_ver == 8.0:
-            return 'v3.0', 'v2.0.50727'
-        return ()
-
-    @staticmethod
-    def _use_last_dir_name(path, prefix=''):
-        """
-        Return name of the last dir in path or '' if no dir found.
-
-        Parameters
-        ----------
-        path: str
-            Use dirs in this path
-        prefix: str
-            Use only dirs starting by this prefix
-
-        Return
-        ------
-        str
-            name
-        """
-        matching_dirs = (
-            dir_name
-            for dir_name in reversed(os.listdir(path))
-            if os.path.isdir(os.path.join(path, dir_name))
-            and dir_name.startswith(prefix)
-        )
-        return next(matching_dirs, None) or ''
-
-
-class _EnvironmentDict(TypedDict):
-    include: str
-    lib: str
-    libpath: str
-    path: str
-    py_vcruntime_redist: NotRequired[str | None]
-
-
-class EnvironmentInfo:
-    """
-    Return environment variables for specified Microsoft Visual C++ version
-    and platform : Lib, Include, Path and libpath.
-
-    This function is compatible with Microsoft Visual C++ 9.0 to 14.X.
-
-    Script created by analysing Microsoft environment configuration files like
-    "vcvars[...].bat", "SetEnv.Cmd", "vcbuildtools.bat", ...
-
-    Parameters
-    ----------
-    arch: str
-        Target architecture.
-    vc_ver: float
-        Required Microsoft Visual C++ version. If not set, autodetect the last
-        version.
-    vc_min_ver: float
-        Minimum Microsoft Visual C++ version.
-    """
-
-    # Variables and properties in this class use originals CamelCase variables
-    # names from Microsoft source files for more easy comparison.
-
-    def __init__(self, arch, vc_ver=None, vc_min_ver=0) -> None:
-        self.pi = PlatformInfo(arch)
-        self.ri = RegistryInfo(self.pi)
-        self.si = SystemInfo(self.ri, vc_ver)
-
-        if self.vc_ver < vc_min_ver:
-            err = 'No suitable Microsoft Visual C++ version found'
-            raise distutils.errors.DistutilsPlatformError(err)
-
-    @property
-    def vs_ver(self):
-        """
-        Microsoft Visual Studio.
-
-        Return
-        ------
-        float
-            version
-        """
-        return self.si.vs_ver
-
-    @property
-    def vc_ver(self):
-        """
-        Microsoft Visual C++ version.
-
-        Return
-        ------
-        float
-            version
-        """
-        return self.si.vc_ver
-
-    @property
-    def VSTools(self):
-        """
-        Microsoft Visual Studio Tools.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        paths = [r'Common7\IDE', r'Common7\Tools']
-
-        if self.vs_ver >= 14.0:
-            arch_subdir = self.pi.current_dir(hidex86=True, x64=True)
-            paths += [r'Common7\IDE\CommonExtensions\Microsoft\TestWindow']
-            paths += [r'Team Tools\Performance Tools']
-            paths += [r'Team Tools\Performance Tools%s' % arch_subdir]
-
-        return [os.path.join(self.si.VSInstallDir, path) for path in paths]
-
-    @property
-    def VCIncludes(self):
-        """
-        Microsoft Visual C++ & Microsoft Foundation Class Includes.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        return [
-            os.path.join(self.si.VCInstallDir, 'Include'),
-            os.path.join(self.si.VCInstallDir, r'ATLMFC\Include'),
-        ]
-
-    @property
-    def VCLibraries(self):
-        """
-        Microsoft Visual C++ & Microsoft Foundation Class Libraries.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver >= 15.0:
-            arch_subdir = self.pi.target_dir(x64=True)
-        else:
-            arch_subdir = self.pi.target_dir(hidex86=True)
-        paths = ['Lib%s' % arch_subdir, r'ATLMFC\Lib%s' % arch_subdir]
-
-        if self.vs_ver >= 14.0:
-            paths += [r'Lib\store%s' % arch_subdir]
-
-        return [os.path.join(self.si.VCInstallDir, path) for path in paths]
-
-    @property
-    def VCStoreRefs(self):
-        """
-        Microsoft Visual C++ store references Libraries.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver < 14.0:
-            return []
-        return [os.path.join(self.si.VCInstallDir, r'Lib\store\references')]
-
-    @property
-    def VCTools(self):
-        """
-        Microsoft Visual C++ Tools.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        si = self.si
-        tools = [os.path.join(si.VCInstallDir, 'VCPackages')]
-
-        forcex86 = True if self.vs_ver <= 10.0 else False
-        arch_subdir = self.pi.cross_dir(forcex86)
-        if arch_subdir:
-            tools += [os.path.join(si.VCInstallDir, 'Bin%s' % arch_subdir)]
-
-        if self.vs_ver == 14.0:
-            path = 'Bin%s' % self.pi.current_dir(hidex86=True)
-            tools += [os.path.join(si.VCInstallDir, path)]
-
-        elif self.vs_ver >= 15.0:
-            host_dir = (
-                r'bin\HostX86%s' if self.pi.current_is_x86() else r'bin\HostX64%s'
-            )
-            tools += [
-                os.path.join(si.VCInstallDir, host_dir % self.pi.target_dir(x64=True))
-            ]
-
-            if self.pi.current_cpu != self.pi.target_cpu:
-                tools += [
-                    os.path.join(
-                        si.VCInstallDir, host_dir % self.pi.current_dir(x64=True)
-                    )
-                ]
-
-        else:
-            tools += [os.path.join(si.VCInstallDir, 'Bin')]
-
-        return tools
-
-    @property
-    def OSLibraries(self):
-        """
-        Microsoft Windows SDK Libraries.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver <= 10.0:
-            arch_subdir = self.pi.target_dir(hidex86=True, x64=True)
-            return [os.path.join(self.si.WindowsSdkDir, 'Lib%s' % arch_subdir)]
-
-        else:
-            arch_subdir = self.pi.target_dir(x64=True)
-            lib = os.path.join(self.si.WindowsSdkDir, 'lib')
-            libver = self._sdk_subdir
-            return [os.path.join(lib, '%sum%s' % (libver, arch_subdir))]
-
-    @property
-    def OSIncludes(self):
-        """
-        Microsoft Windows SDK Include.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        include = os.path.join(self.si.WindowsSdkDir, 'include')
-
-        if self.vs_ver <= 10.0:
-            return [include, os.path.join(include, 'gl')]
-
-        else:
-            if self.vs_ver >= 14.0:
-                sdkver = self._sdk_subdir
-            else:
-                sdkver = ''
-            return [
-                os.path.join(include, '%sshared' % sdkver),
-                os.path.join(include, '%sum' % sdkver),
-                os.path.join(include, '%swinrt' % sdkver),
-            ]
-
-    @property
-    def OSLibpath(self):
-        """
-        Microsoft Windows SDK Libraries Paths.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        ref = os.path.join(self.si.WindowsSdkDir, 'References')
-        libpath = []
-
-        if self.vs_ver <= 9.0:
-            libpath += self.OSLibraries
-
-        if self.vs_ver >= 11.0:
-            libpath += [os.path.join(ref, r'CommonConfiguration\Neutral')]
-
-        if self.vs_ver >= 14.0:
-            libpath += [
-                ref,
-                os.path.join(self.si.WindowsSdkDir, 'UnionMetadata'),
-                os.path.join(ref, 'Windows.Foundation.UniversalApiContract', '1.0.0.0'),
-                os.path.join(ref, 'Windows.Foundation.FoundationContract', '1.0.0.0'),
-                os.path.join(
-                    ref, 'Windows.Networking.Connectivity.WwanContract', '1.0.0.0'
-                ),
-                os.path.join(
-                    self.si.WindowsSdkDir,
-                    'ExtensionSDKs',
-                    'Microsoft.VCLibs',
-                    '%0.1f' % self.vs_ver,
-                    'References',
-                    'CommonConfiguration',
-                    'neutral',
-                ),
-            ]
-        return libpath
-
-    @property
-    def SdkTools(self):
-        """
-        Microsoft Windows SDK Tools.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        return list(self._sdk_tools())
-
-    def _sdk_tools(self):
-        """
-        Microsoft Windows SDK Tools paths generator.
-
-        Return
-        ------
-        generator of str
-            paths
-        """
-        if self.vs_ver < 15.0:
-            bin_dir = 'Bin' if self.vs_ver <= 11.0 else r'Bin\x86'
-            yield os.path.join(self.si.WindowsSdkDir, bin_dir)
-
-        if not self.pi.current_is_x86():
-            arch_subdir = self.pi.current_dir(x64=True)
-            path = 'Bin%s' % arch_subdir
-            yield os.path.join(self.si.WindowsSdkDir, path)
-
-        if self.vs_ver in (10.0, 11.0):
-            if self.pi.target_is_x86():
-                arch_subdir = ''
-            else:
-                arch_subdir = self.pi.current_dir(hidex86=True, x64=True)
-            path = r'Bin\NETFX 4.0 Tools%s' % arch_subdir
-            yield os.path.join(self.si.WindowsSdkDir, path)
-
-        elif self.vs_ver >= 15.0:
-            path = os.path.join(self.si.WindowsSdkDir, 'Bin')
-            arch_subdir = self.pi.current_dir(x64=True)
-            sdkver = self.si.WindowsSdkLastVersion
-            yield os.path.join(path, '%s%s' % (sdkver, arch_subdir))
-
-        if self.si.WindowsSDKExecutablePath:
-            yield self.si.WindowsSDKExecutablePath
-
-    @property
-    def _sdk_subdir(self):
-        """
-        Microsoft Windows SDK version subdir.
-
-        Return
-        ------
-        str
-            subdir
-        """
-        ucrtver = self.si.WindowsSdkLastVersion
-        return ('%s\\' % ucrtver) if ucrtver else ''
-
-    @property
-    def SdkSetup(self):
-        """
-        Microsoft Windows SDK Setup.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver > 9.0:
-            return []
-
-        return [os.path.join(self.si.WindowsSdkDir, 'Setup')]
-
-    @property
-    def FxTools(self):
-        """
-        Microsoft .NET Framework Tools.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        pi = self.pi
-        si = self.si
-
-        if self.vs_ver <= 10.0:
-            include32 = True
-            include64 = not pi.target_is_x86() and not pi.current_is_x86()
-        else:
-            include32 = pi.target_is_x86() or pi.current_is_x86()
-            include64 = pi.current_cpu == 'amd64' or pi.target_cpu == 'amd64'
-
-        tools = []
-        if include32:
-            tools += [
-                os.path.join(si.FrameworkDir32, ver) for ver in si.FrameworkVersion32
-            ]
-        if include64:
-            tools += [
-                os.path.join(si.FrameworkDir64, ver) for ver in si.FrameworkVersion64
-            ]
-        return tools
-
-    @property
-    def NetFxSDKLibraries(self):
-        """
-        Microsoft .Net Framework SDK Libraries.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver < 14.0 or not self.si.NetFxSdkDir:
-            return []
-
-        arch_subdir = self.pi.target_dir(x64=True)
-        return [os.path.join(self.si.NetFxSdkDir, r'lib\um%s' % arch_subdir)]
-
-    @property
-    def NetFxSDKIncludes(self):
-        """
-        Microsoft .Net Framework SDK Includes.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver < 14.0 or not self.si.NetFxSdkDir:
-            return []
-
-        return [os.path.join(self.si.NetFxSdkDir, r'include\um')]
-
-    @property
-    def VsTDb(self):
-        """
-        Microsoft Visual Studio Team System Database.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        return [os.path.join(self.si.VSInstallDir, r'VSTSDB\Deploy')]
-
-    @property
-    def MSBuild(self):
-        """
-        Microsoft Build Engine.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver < 12.0:
-            return []
-        elif self.vs_ver < 15.0:
-            base_path = self.si.ProgramFilesx86
-            arch_subdir = self.pi.current_dir(hidex86=True)
-        else:
-            base_path = self.si.VSInstallDir
-            arch_subdir = ''
-
-        path = r'MSBuild\%0.1f\bin%s' % (self.vs_ver, arch_subdir)
-        build = [os.path.join(base_path, path)]
-
-        if self.vs_ver >= 15.0:
-            # Add Roslyn C# & Visual Basic Compiler
-            build += [os.path.join(base_path, path, 'Roslyn')]
-
-        return build
-
-    @property
-    def HTMLHelpWorkshop(self):
-        """
-        Microsoft HTML Help Workshop.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver < 11.0:
-            return []
-
-        return [os.path.join(self.si.ProgramFilesx86, 'HTML Help Workshop')]
-
-    @property
-    def UCRTLibraries(self):
-        """
-        Microsoft Universal C Runtime SDK Libraries.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver < 14.0:
-            return []
-
-        arch_subdir = self.pi.target_dir(x64=True)
-        lib = os.path.join(self.si.UniversalCRTSdkDir, 'lib')
-        ucrtver = self._ucrt_subdir
-        return [os.path.join(lib, '%sucrt%s' % (ucrtver, arch_subdir))]
-
-    @property
-    def UCRTIncludes(self):
-        """
-        Microsoft Universal C Runtime SDK Include.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if self.vs_ver < 14.0:
-            return []
-
-        include = os.path.join(self.si.UniversalCRTSdkDir, 'include')
-        return [os.path.join(include, '%sucrt' % self._ucrt_subdir)]
-
-    @property
-    def _ucrt_subdir(self):
-        """
-        Microsoft Universal C Runtime SDK version subdir.
-
-        Return
-        ------
-        str
-            subdir
-        """
-        ucrtver = self.si.UniversalCRTSdkLastVersion
-        return ('%s\\' % ucrtver) if ucrtver else ''
-
-    @property
-    def FSharp(self):
-        """
-        Microsoft Visual F#.
-
-        Return
-        ------
-        list of str
-            paths
-        """
-        if 11.0 > self.vs_ver > 12.0:
-            return []
-
-        return [self.si.FSharpInstallDir]
-
-    @property
-    def VCRuntimeRedist(self) -> str | None:
-        """
-        Microsoft Visual C++ runtime redistributable dll.
-
-        Returns the first suitable path found or None.
-        """
-        vcruntime = 'vcruntime%d0.dll' % self.vc_ver
-        arch_subdir = self.pi.target_dir(x64=True).strip('\\')
-
-        # Installation prefixes candidates
-        prefixes = []
-        tools_path = self.si.VCInstallDir
-        redist_path = os.path.dirname(tools_path.replace(r'\Tools', r'\Redist'))
-        if os.path.isdir(redist_path):
-            # Redist version may not be exactly the same as tools
-            redist_path = os.path.join(redist_path, os.listdir(redist_path)[-1])
-            prefixes += [redist_path, os.path.join(redist_path, 'onecore')]
-
-        prefixes += [os.path.join(tools_path, 'redist')]  # VS14 legacy path
-
-        # CRT directory
-        crt_dirs = (
-            'Microsoft.VC%d.CRT' % (self.vc_ver * 10),
-            # Sometime store in directory with VS version instead of VC
-            'Microsoft.VC%d.CRT' % (int(self.vs_ver) * 10),
-        )
-
-        # vcruntime path
-        candidate_paths = (
-            os.path.join(prefix, arch_subdir, crt_dir, vcruntime)
-            for (prefix, crt_dir) in itertools.product(prefixes, crt_dirs)
-        )
-        return next(filter(os.path.isfile, candidate_paths), None)  # type: ignore[arg-type] #python/mypy#12682
-
-    def return_env(self, exists: bool = True) -> _EnvironmentDict:
-        """
-        Return environment dict.
-
-        Parameters
-        ----------
-        exists: bool
-            It True, only return existing paths.
-
-        Return
-        ------
-        dict
-            environment
-        """
-        env = _EnvironmentDict(
-            include=self._build_paths(
-                'include',
-                [
-                    self.VCIncludes,
-                    self.OSIncludes,
-                    self.UCRTIncludes,
-                    self.NetFxSDKIncludes,
-                ],
-                exists,
-            ),
-            lib=self._build_paths(
-                'lib',
-                [
-                    self.VCLibraries,
-                    self.OSLibraries,
-                    self.FxTools,
-                    self.UCRTLibraries,
-                    self.NetFxSDKLibraries,
-                ],
-                exists,
-            ),
-            libpath=self._build_paths(
-                'libpath',
-                [self.VCLibraries, self.FxTools, self.VCStoreRefs, self.OSLibpath],
-                exists,
-            ),
-            path=self._build_paths(
-                'path',
-                [
-                    self.VCTools,
-                    self.VSTools,
-                    self.VsTDb,
-                    self.SdkTools,
-                    self.SdkSetup,
-                    self.FxTools,
-                    self.MSBuild,
-                    self.HTMLHelpWorkshop,
-                    self.FSharp,
-                ],
-                exists,
-            ),
-        )
-        if self.vs_ver >= 14 and self.VCRuntimeRedist:
-            env['py_vcruntime_redist'] = self.VCRuntimeRedist
-        return env
-
-    def _build_paths(self, name, spec_path_lists, exists):
-        """
-        Given an environment variable name and specified paths,
-        return a pathsep-separated string of paths containing
-        unique, extant, directories from those paths and from
-        the environment variable. Raise an error if no paths
-        are resolved.
-
-        Parameters
-        ----------
-        name: str
-            Environment variable name
-        spec_path_lists: list of str
-            Paths
-        exists: bool
-            It True, only return existing paths.
-
-        Return
-        ------
-        str
-            Pathsep-separated paths
-        """
-        # flatten spec_path_lists
-        spec_paths = itertools.chain.from_iterable(spec_path_lists)
-        env_paths = environ.get(name, '').split(os.pathsep)
-        paths = itertools.chain(spec_paths, env_paths)
-        extant_paths = list(filter(os.path.isdir, paths)) if exists else paths
-        if not extant_paths:
-            msg = "%s environment variable is empty" % name.upper()
-            raise distutils.errors.DistutilsPlatformError(msg)
-        unique_paths = unique_everseen(extant_paths)
-        return os.pathsep.join(unique_paths)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/namespaces.py b/.venv/lib/python3.12/site-packages/setuptools/namespaces.py
deleted file mode 100644
index 85ea2ebd..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/namespaces.py
+++ /dev/null
@@ -1,106 +0,0 @@
-import itertools
-import os
-
-from .compat import py312
-
-from distutils import log
-
-flatten = itertools.chain.from_iterable
-
-
-class Installer:
-    nspkg_ext = '-nspkg.pth'
-
-    def install_namespaces(self) -> None:
-        nsp = self._get_all_ns_packages()
-        if not nsp:
-            return
-        filename = self._get_nspkg_file()
-        self.outputs.append(filename)
-        log.info("Installing %s", filename)
-        lines = map(self._gen_nspkg_line, nsp)
-
-        if self.dry_run:
-            # always generate the lines, even in dry run
-            list(lines)
-            return
-
-        with open(filename, 'wt', encoding=py312.PTH_ENCODING) as f:
-            # Python<3.13 requires encoding="locale" instead of "utf-8"
-            # See: python/cpython#77102
-            f.writelines(lines)
-
-    def uninstall_namespaces(self) -> None:
-        filename = self._get_nspkg_file()
-        if not os.path.exists(filename):
-            return
-        log.info("Removing %s", filename)
-        os.remove(filename)
-
-    def _get_nspkg_file(self):
-        filename, _ = os.path.splitext(self._get_target())
-        return filename + self.nspkg_ext
-
-    def _get_target(self):
-        return self.target
-
-    _nspkg_tmpl = (
-        "import sys, types, os",
-        "p = os.path.join(%(root)s, *%(pth)r)",
-        "importlib = __import__('importlib.util')",
-        "__import__('importlib.machinery')",
-        (
-            "m = "
-            "sys.modules.setdefault(%(pkg)r, "
-            "importlib.util.module_from_spec("
-            "importlib.machinery.PathFinder.find_spec(%(pkg)r, "
-            "[os.path.dirname(p)])))"
-        ),
-        ("m = m or sys.modules.setdefault(%(pkg)r, types.ModuleType(%(pkg)r))"),
-        "mp = (m or []) and m.__dict__.setdefault('__path__',[])",
-        "(p not in mp) and mp.append(p)",
-    )
-    "lines for the namespace installer"
-
-    _nspkg_tmpl_multi = ('m and setattr(sys.modules[%(parent)r], %(child)r, m)',)
-    "additional line(s) when a parent package is indicated"
-
-    def _get_root(self):
-        return "sys._getframe(1).f_locals['sitedir']"
-
-    def _gen_nspkg_line(self, pkg):
-        pth = tuple(pkg.split('.'))
-        root = self._get_root()
-        tmpl_lines = self._nspkg_tmpl
-        parent, sep, child = pkg.rpartition('.')
-        if parent:
-            tmpl_lines += self._nspkg_tmpl_multi
-        return ';'.join(tmpl_lines) % locals() + '\n'
-
-    def _get_all_ns_packages(self):
-        """Return sorted list of all package namespaces"""
-        pkgs = self.distribution.namespace_packages or []
-        return sorted(set(flatten(map(self._pkg_names, pkgs))))
-
-    @staticmethod
-    def _pkg_names(pkg):
-        """
-        Given a namespace package, yield the components of that
-        package.
-
-        >>> names = Installer._pkg_names('a.b.c')
-        >>> set(names) == set(['a', 'a.b', 'a.b.c'])
-        True
-        """
-        parts = pkg.split('.')
-        while parts:
-            yield '.'.join(parts)
-            parts.pop()
-
-
-class DevelopInstaller(Installer):
-    def _get_root(self):
-        return repr(str(self.egg_path))
-
-    def _get_target(self):
-        return self.egg_link
diff --git a/.venv/lib/python3.12/site-packages/setuptools/package_index.py b/.venv/lib/python3.12/site-packages/setuptools/package_index.py
deleted file mode 100644
index 97806e8f..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/package_index.py
+++ /dev/null
@@ -1,1147 +0,0 @@
-"""PyPI and direct package downloading."""
-
-from __future__ import annotations
-
-import base64
-import configparser
-import hashlib
-import html
-import http.client
-import io
-import itertools
-import os
-import re
-import shutil
-import socket
-import subprocess
-import sys
-import urllib.error
-import urllib.parse
-import urllib.request
-from fnmatch import translate
-from functools import wraps
-from typing import NamedTuple
-
-from more_itertools import unique_everseen
-
-import setuptools
-from pkg_resources import (
-    BINARY_DIST,
-    CHECKOUT_DIST,
-    DEVELOP_DIST,
-    EGG_DIST,
-    SOURCE_DIST,
-    Distribution,
-    Environment,
-    Requirement,
-    find_distributions,
-    normalize_path,
-    parse_version,
-    safe_name,
-    safe_version,
-    to_filename,
-)
-from setuptools.wheel import Wheel
-
-from .unicode_utils import _cfg_read_utf8_with_fallback, _read_utf8_with_fallback
-
-from distutils import log
-from distutils.errors import DistutilsError
-
-EGG_FRAGMENT = re.compile(r'^egg=([-A-Za-z0-9_.+!]+)$')
-HREF = re.compile(r"""href\s*=\s*['"]?([^'"> ]+)""", re.I)
-PYPI_MD5 = re.compile(
-    r'([^<]+)\n\s+\(md5\)'
-)
-URL_SCHEME = re.compile('([-+.a-z0-9]{2,}):', re.I).match
-EXTENSIONS = ".tar.gz .tar.bz2 .tar .zip .tgz".split()
-
-__all__ = [
-    'PackageIndex',
-    'distros_for_url',
-    'parse_bdist_wininst',
-    'interpret_distro_name',
-]
-
-_SOCKET_TIMEOUT = 15
-
-user_agent = f"setuptools/{setuptools.__version__} Python-urllib/{sys.version_info.major}.{sys.version_info.minor}"
-
-
-def parse_requirement_arg(spec):
-    try:
-        return Requirement.parse(spec)
-    except ValueError as e:
-        raise DistutilsError(
-            "Not a URL, existing file, or requirement spec: %r" % (spec,)
-        ) from e
-
-
-def parse_bdist_wininst(name):
-    """Return (base,pyversion) or (None,None) for possible .exe name"""
-
-    lower = name.lower()
-    base, py_ver, plat = None, None, None
-
-    if lower.endswith('.exe'):
-        if lower.endswith('.win32.exe'):
-            base = name[:-10]
-            plat = 'win32'
-        elif lower.startswith('.win32-py', -16):
-            py_ver = name[-7:-4]
-            base = name[:-16]
-            plat = 'win32'
-        elif lower.endswith('.win-amd64.exe'):
-            base = name[:-14]
-            plat = 'win-amd64'
-        elif lower.startswith('.win-amd64-py', -20):
-            py_ver = name[-7:-4]
-            base = name[:-20]
-            plat = 'win-amd64'
-    return base, py_ver, plat
-
-
-def egg_info_for_url(url):
-    parts = urllib.parse.urlparse(url)
-    _scheme, server, path, _parameters, _query, fragment = parts
-    base = urllib.parse.unquote(path.split('/')[-1])
-    if server == 'sourceforge.net' and base == 'download':  # XXX Yuck
-        base = urllib.parse.unquote(path.split('/')[-2])
-    if '#' in base:
-        base, fragment = base.split('#', 1)
-    return base, fragment
-
-
-def distros_for_url(url, metadata=None):
-    """Yield egg or source distribution objects that might be found at a URL"""
-    base, fragment = egg_info_for_url(url)
-    yield from distros_for_location(url, base, metadata)
-    if fragment:
-        match = EGG_FRAGMENT.match(fragment)
-        if match:
-            yield from interpret_distro_name(
-                url, match.group(1), metadata, precedence=CHECKOUT_DIST
-            )
-
-
-def distros_for_location(location, basename, metadata=None):
-    """Yield egg or source distribution objects based on basename"""
-    if basename.endswith('.egg.zip'):
-        basename = basename[:-4]  # strip the .zip
-    if basename.endswith('.egg') and '-' in basename:
-        # only one, unambiguous interpretation
-        return [Distribution.from_location(location, basename, metadata)]
-    if basename.endswith('.whl') and '-' in basename:
-        wheel = Wheel(basename)
-        if not wheel.is_compatible():
-            return []
-        return [
-            Distribution(
-                location=location,
-                project_name=wheel.project_name,
-                version=wheel.version,
-                # Increase priority over eggs.
-                precedence=EGG_DIST + 1,
-            )
-        ]
-    if basename.endswith('.exe'):
-        win_base, py_ver, platform = parse_bdist_wininst(basename)
-        if win_base is not None:
-            return interpret_distro_name(
-                location, win_base, metadata, py_ver, BINARY_DIST, platform
-            )
-    # Try source distro extensions (.zip, .tgz, etc.)
-    #
-    for ext in EXTENSIONS:
-        if basename.endswith(ext):
-            basename = basename[: -len(ext)]
-            return interpret_distro_name(location, basename, metadata)
-    return []  # no extension matched
-
-
-def distros_for_filename(filename, metadata=None):
-    """Yield possible egg or source distribution objects based on a filename"""
-    return distros_for_location(
-        normalize_path(filename), os.path.basename(filename), metadata
-    )
-
-
-def interpret_distro_name(
-    location, basename, metadata, py_version=None, precedence=SOURCE_DIST, platform=None
-):
-    """Generate the interpretation of a source distro name
-
-    Note: if `location` is a filesystem filename, you should call
-    ``pkg_resources.normalize_path()`` on it before passing it to this
-    routine!
-    """
-
-    parts = basename.split('-')
-    if not py_version and any(re.match(r'py\d\.\d$', p) for p in parts[2:]):
-        # it is a bdist_dumb, not an sdist -- bail out
-        return
-
-    # find the pivot (p) that splits the name from the version.
-    # infer the version as the first item that has a digit.
-    for p in range(len(parts)):
-        if parts[p][:1].isdigit():
-            break
-    else:
-        p = len(parts)
-
-    yield Distribution(
-        location,
-        metadata,
-        '-'.join(parts[:p]),
-        '-'.join(parts[p:]),
-        py_version=py_version,
-        precedence=precedence,
-        platform=platform,
-    )
-
-
-def unique_values(func):
-    """
-    Wrap a function returning an iterable such that the resulting iterable
-    only ever yields unique items.
-    """
-
-    @wraps(func)
-    def wrapper(*args, **kwargs):
-        return unique_everseen(func(*args, **kwargs))
-
-    return wrapper
-
-
-REL = re.compile(r"""<([^>]*\srel\s{0,10}=\s{0,10}['"]?([^'" >]+)[^>]*)>""", re.I)
-"""
-Regex for an HTML tag with 'rel="val"' attributes.
-"""
-
-
-@unique_values
-def find_external_links(url, page):
-    """Find rel="homepage" and rel="download" links in `page`, yielding URLs"""
-
-    for match in REL.finditer(page):
-        tag, rel = match.groups()
-        rels = set(map(str.strip, rel.lower().split(',')))
-        if 'homepage' in rels or 'download' in rels:
-            for match in HREF.finditer(tag):
-                yield urllib.parse.urljoin(url, htmldecode(match.group(1)))
-
-    for tag in ("Home Page", "Download URL"):
-        pos = page.find(tag)
-        if pos != -1:
-            match = HREF.search(page, pos)
-            if match:
-                yield urllib.parse.urljoin(url, htmldecode(match.group(1)))
-
-
-class ContentChecker:
-    """
-    A null content checker that defines the interface for checking content
-    """
-
-    def feed(self, block):
-        """
-        Feed a block of data to the hash.
-        """
-        return
-
-    def is_valid(self):
-        """
-        Check the hash. Return False if validation fails.
-        """
-        return True
-
-    def report(self, reporter, template):
-        """
-        Call reporter with information about the checker (hash name)
-        substituted into the template.
-        """
-        return
-
-
-class HashChecker(ContentChecker):
-    pattern = re.compile(
-        r'(?Psha1|sha224|sha384|sha256|sha512|md5)='
-        r'(?P[a-f0-9]+)'
-    )
-
-    def __init__(self, hash_name, expected) -> None:
-        self.hash_name = hash_name
-        self.hash = hashlib.new(hash_name)
-        self.expected = expected
-
-    @classmethod
-    def from_url(cls, url):
-        "Construct a (possibly null) ContentChecker from a URL"
-        fragment = urllib.parse.urlparse(url)[-1]
-        if not fragment:
-            return ContentChecker()
-        match = cls.pattern.search(fragment)
-        if not match:
-            return ContentChecker()
-        return cls(**match.groupdict())
-
-    def feed(self, block):
-        self.hash.update(block)
-
-    def is_valid(self):
-        return self.hash.hexdigest() == self.expected
-
-    def report(self, reporter, template):
-        msg = template % self.hash_name
-        return reporter(msg)
-
-
-class PackageIndex(Environment):
-    """A distribution index that scans web pages for download URLs"""
-
-    def __init__(
-        self,
-        index_url: str = "https://pypi.org/simple/",
-        hosts=('*',),
-        ca_bundle=None,
-        verify_ssl: bool = True,
-        *args,
-        **kw,
-    ) -> None:
-        super().__init__(*args, **kw)
-        self.index_url = index_url + "/"[: not index_url.endswith('/')]
-        self.scanned_urls: dict = {}
-        self.fetched_urls: dict = {}
-        self.package_pages: dict = {}
-        self.allows = re.compile('|'.join(map(translate, hosts))).match
-        self.to_scan: list = []
-        self.opener = urllib.request.urlopen
-
-    def add(self, dist):
-        # ignore invalid versions
-        try:
-            parse_version(dist.version)
-        except Exception:
-            return None
-        return super().add(dist)
-
-    # FIXME: 'PackageIndex.process_url' is too complex (14)
-    def process_url(self, url, retrieve: bool = False) -> None:  # noqa: C901
-        """Evaluate a URL as a possible download, and maybe retrieve it"""
-        if url in self.scanned_urls and not retrieve:
-            return
-        self.scanned_urls[url] = True
-        if not URL_SCHEME(url):
-            self.process_filename(url)
-            return
-        else:
-            dists = list(distros_for_url(url))
-            if dists:
-                if not self.url_ok(url):
-                    return
-                self.debug("Found link: %s", url)
-
-        if dists or not retrieve or url in self.fetched_urls:
-            list(map(self.add, dists))
-            return  # don't need the actual page
-
-        if not self.url_ok(url):
-            self.fetched_urls[url] = True
-            return
-
-        self.info("Reading %s", url)
-        self.fetched_urls[url] = True  # prevent multiple fetch attempts
-        tmpl = "Download error on %s: %%s -- Some packages may not be found!"
-        f = self.open_url(url, tmpl % url)
-        if f is None:
-            return
-        if isinstance(f, urllib.error.HTTPError) and f.code == 401:
-            self.info("Authentication error: %s" % f.msg)
-        self.fetched_urls[f.url] = True
-        if 'html' not in f.headers.get('content-type', '').lower():
-            f.close()  # not html, we can't process it
-            return
-
-        base = f.url  # handle redirects
-        page = f.read()
-        if not isinstance(page, str):
-            # In Python 3 and got bytes but want str.
-            if isinstance(f, urllib.error.HTTPError):
-                # Errors have no charset, assume latin1:
-                charset = 'latin-1'
-            else:
-                charset = f.headers.get_param('charset') or 'latin-1'
-            page = page.decode(charset, "ignore")
-        f.close()
-        for match in HREF.finditer(page):
-            link = urllib.parse.urljoin(base, htmldecode(match.group(1)))
-            self.process_url(link)
-        if url.startswith(self.index_url) and getattr(f, 'code', None) != 404:
-            page = self.process_index(url, page)
-
-    def process_filename(self, fn, nested: bool = False) -> None:
-        # process filenames or directories
-        if not os.path.exists(fn):
-            self.warn("Not found: %s", fn)
-            return
-
-        if os.path.isdir(fn) and not nested:
-            path = os.path.realpath(fn)
-            for item in os.listdir(path):
-                self.process_filename(os.path.join(path, item), True)
-
-        dists = distros_for_filename(fn)
-        if dists:
-            self.debug("Found: %s", fn)
-            list(map(self.add, dists))
-
-    def url_ok(self, url, fatal: bool = False) -> bool:
-        s = URL_SCHEME(url)
-        is_file = s and s.group(1).lower() == 'file'
-        if is_file or self.allows(urllib.parse.urlparse(url)[1]):
-            return True
-        msg = (
-            "\nNote: Bypassing %s (disallowed host; see "
-            "https://setuptools.pypa.io/en/latest/deprecated/"
-            "easy_install.html#restricting-downloads-with-allow-hosts for details).\n"
-        )
-        if fatal:
-            raise DistutilsError(msg % url)
-        else:
-            self.warn(msg, url)
-            return False
-
-    def scan_egg_links(self, search_path) -> None:
-        dirs = filter(os.path.isdir, search_path)
-        egg_links = (
-            (path, entry)
-            for path in dirs
-            for entry in os.listdir(path)
-            if entry.endswith('.egg-link')
-        )
-        list(itertools.starmap(self.scan_egg_link, egg_links))
-
-    def scan_egg_link(self, path, entry) -> None:
-        content = _read_utf8_with_fallback(os.path.join(path, entry))
-        # filter non-empty lines
-        lines = list(filter(None, map(str.strip, content.splitlines())))
-
-        if len(lines) != 2:
-            # format is not recognized; punt
-            return
-
-        egg_path, _setup_path = lines
-
-        for dist in find_distributions(os.path.join(path, egg_path)):
-            dist.location = os.path.join(path, *lines)
-            dist.precedence = SOURCE_DIST
-            self.add(dist)
-
-    def _scan(self, link):
-        # Process a URL to see if it's for a package page
-        NO_MATCH_SENTINEL = None, None
-        if not link.startswith(self.index_url):
-            return NO_MATCH_SENTINEL
-
-        parts = list(map(urllib.parse.unquote, link[len(self.index_url) :].split('/')))
-        if len(parts) != 2 or '#' in parts[1]:
-            return NO_MATCH_SENTINEL
-
-        # it's a package page, sanitize and index it
-        pkg = safe_name(parts[0])
-        ver = safe_version(parts[1])
-        self.package_pages.setdefault(pkg.lower(), {})[link] = True
-        return to_filename(pkg), to_filename(ver)
-
-    def process_index(self, url, page):
-        """Process the contents of a PyPI page"""
-
-        # process an index page into the package-page index
-        for match in HREF.finditer(page):
-            try:
-                self._scan(urllib.parse.urljoin(url, htmldecode(match.group(1))))
-            except ValueError:
-                pass
-
-        pkg, ver = self._scan(url)  # ensure this page is in the page index
-        if not pkg:
-            return ""  # no sense double-scanning non-package pages
-
-        # process individual package page
-        for new_url in find_external_links(url, page):
-            # Process the found URL
-            base, frag = egg_info_for_url(new_url)
-            if base.endswith('.py') and not frag:
-                if ver:
-                    new_url += '#egg=%s-%s' % (pkg, ver)
-                else:
-                    self.need_version_info(url)
-            self.scan_url(new_url)
-
-        return PYPI_MD5.sub(
-            lambda m: '%s' % m.group(1, 3, 2), page
-        )
-
-    def need_version_info(self, url) -> None:
-        self.scan_all(
-            "Page at %s links to .py file(s) without version info; an index "
-            "scan is required.",
-            url,
-        )
-
-    def scan_all(self, msg=None, *args) -> None:
-        if self.index_url not in self.fetched_urls:
-            if msg:
-                self.warn(msg, *args)
-            self.info("Scanning index of all packages (this may take a while)")
-        self.scan_url(self.index_url)
-
-    def find_packages(self, requirement) -> None:
-        self.scan_url(self.index_url + requirement.unsafe_name + '/')
-
-        if not self.package_pages.get(requirement.key):
-            # Fall back to safe version of the name
-            self.scan_url(self.index_url + requirement.project_name + '/')
-
-        if not self.package_pages.get(requirement.key):
-            # We couldn't find the target package, so search the index page too
-            self.not_found_in_index(requirement)
-
-        for url in list(self.package_pages.get(requirement.key, ())):
-            # scan each page that might be related to the desired package
-            self.scan_url(url)
-
-    def obtain(self, requirement, installer=None):
-        self.prescan()
-        self.find_packages(requirement)
-        for dist in self[requirement.key]:
-            if dist in requirement:
-                return dist
-            self.debug("%s does not match %s", requirement, dist)
-        return super().obtain(requirement, installer)
-
-    def check_hash(self, checker, filename, tfp) -> None:
-        """
-        checker is a ContentChecker
-        """
-        checker.report(self.debug, "Validating %%s checksum for %s" % filename)
-        if not checker.is_valid():
-            tfp.close()
-            os.unlink(filename)
-            raise DistutilsError(
-                "%s validation failed for %s; "
-                "possible download problem?"
-                % (checker.hash.name, os.path.basename(filename))
-            )
-
-    def add_find_links(self, urls) -> None:
-        """Add `urls` to the list that will be prescanned for searches"""
-        for url in urls:
-            if (
-                self.to_scan is None  # if we have already "gone online"
-                or not URL_SCHEME(url)  # or it's a local file/directory
-                or url.startswith('file:')
-                or list(distros_for_url(url))  # or a direct package link
-            ):
-                # then go ahead and process it now
-                self.scan_url(url)
-            else:
-                # otherwise, defer retrieval till later
-                self.to_scan.append(url)
-
-    def prescan(self):
-        """Scan urls scheduled for prescanning (e.g. --find-links)"""
-        if self.to_scan:
-            list(map(self.scan_url, self.to_scan))
-        self.to_scan = None  # from now on, go ahead and process immediately
-
-    def not_found_in_index(self, requirement) -> None:
-        if self[requirement.key]:  # we've seen at least one distro
-            meth, msg = self.info, "Couldn't retrieve index page for %r"
-        else:  # no distros seen for this name, might be misspelled
-            meth, msg = self.warn, "Couldn't find index page for %r (maybe misspelled?)"
-        meth(msg, requirement.unsafe_name)
-        self.scan_all()
-
-    def download(self, spec, tmpdir):
-        """Locate and/or download `spec` to `tmpdir`, returning a local path
-
-        `spec` may be a ``Requirement`` object, or a string containing a URL,
-        an existing local filename, or a project/version requirement spec
-        (i.e. the string form of a ``Requirement`` object).  If it is the URL
-        of a .py file with an unambiguous ``#egg=name-version`` tag (i.e., one
-        that escapes ``-`` as ``_`` throughout), a trivial ``setup.py`` is
-        automatically created alongside the downloaded file.
-
-        If `spec` is a ``Requirement`` object or a string containing a
-        project/version requirement spec, this method returns the location of
-        a matching distribution (possibly after downloading it to `tmpdir`).
-        If `spec` is a locally existing file or directory name, it is simply
-        returned unchanged.  If `spec` is a URL, it is downloaded to a subpath
-        of `tmpdir`, and the local filename is returned.  Various errors may be
-        raised if a problem occurs during downloading.
-        """
-        if not isinstance(spec, Requirement):
-            scheme = URL_SCHEME(spec)
-            if scheme:
-                # It's a url, download it to tmpdir
-                found = self._download_url(spec, tmpdir)
-                base, fragment = egg_info_for_url(spec)
-                if base.endswith('.py'):
-                    found = self.gen_setup(found, fragment, tmpdir)
-                return found
-            elif os.path.exists(spec):
-                # Existing file or directory, just return it
-                return spec
-            else:
-                spec = parse_requirement_arg(spec)
-        return getattr(self.fetch_distribution(spec, tmpdir), 'location', None)
-
-    def fetch_distribution(  # noqa: C901  # is too complex (14)  # FIXME
-        self,
-        requirement,
-        tmpdir,
-        force_scan: bool = False,
-        source: bool = False,
-        develop_ok: bool = False,
-        local_index=None,
-    ) -> Distribution | None:
-        """Obtain a distribution suitable for fulfilling `requirement`
-
-        `requirement` must be a ``pkg_resources.Requirement`` instance.
-        If necessary, or if the `force_scan` flag is set, the requirement is
-        searched for in the (online) package index as well as the locally
-        installed packages.  If a distribution matching `requirement` is found,
-        the returned distribution's ``location`` is the value you would have
-        gotten from calling the ``download()`` method with the matching
-        distribution's URL or filename.  If no matching distribution is found,
-        ``None`` is returned.
-
-        If the `source` flag is set, only source distributions and source
-        checkout links will be considered.  Unless the `develop_ok` flag is
-        set, development and system eggs (i.e., those using the ``.egg-info``
-        format) will be ignored.
-        """
-        # process a Requirement
-        self.info("Searching for %s", requirement)
-        skipped = set()
-        dist = None
-
-        def find(req, env: Environment | None = None):
-            if env is None:
-                env = self
-            # Find a matching distribution; may be called more than once
-
-            for dist in env[req.key]:
-                if dist.precedence == DEVELOP_DIST and not develop_ok:
-                    if dist not in skipped:
-                        self.warn(
-                            "Skipping development or system egg: %s",
-                            dist,
-                        )
-                        skipped.add(dist)
-                    continue
-
-                test = dist in req and (dist.precedence <= SOURCE_DIST or not source)
-                if test:
-                    loc = self.download(dist.location, tmpdir)
-                    dist.download_location = loc
-                    if os.path.exists(dist.download_location):
-                        return dist
-
-            return None
-
-        if force_scan:
-            self.prescan()
-            self.find_packages(requirement)
-            dist = find(requirement)
-
-        if not dist and local_index is not None:
-            dist = find(requirement, local_index)
-
-        if dist is None:
-            if self.to_scan is not None:
-                self.prescan()
-            dist = find(requirement)
-
-        if dist is None and not force_scan:
-            self.find_packages(requirement)
-            dist = find(requirement)
-
-        if dist is None:
-            self.warn(
-                "No local packages or working download links found for %s%s",
-                (source and "a source distribution of " or ""),
-                requirement,
-            )
-            return None
-        else:
-            self.info("Best match: %s", dist)
-            return dist.clone(location=dist.download_location)
-
-    def fetch(
-        self, requirement, tmpdir, force_scan: bool = False, source: bool = False
-    ) -> str | None:
-        """Obtain a file suitable for fulfilling `requirement`
-
-        DEPRECATED; use the ``fetch_distribution()`` method now instead.  For
-        backward compatibility, this routine is identical but returns the
-        ``location`` of the downloaded distribution instead of a distribution
-        object.
-        """
-        dist = self.fetch_distribution(requirement, tmpdir, force_scan, source)
-        if dist is not None:
-            return dist.location
-        return None
-
-    def gen_setup(self, filename, fragment, tmpdir):
-        match = EGG_FRAGMENT.match(fragment)
-        dists = (
-            match
-            and [
-                d
-                for d in interpret_distro_name(filename, match.group(1), None)
-                if d.version
-            ]
-            or []
-        )
-
-        if len(dists) == 1:  # unambiguous ``#egg`` fragment
-            basename = os.path.basename(filename)
-
-            # Make sure the file has been downloaded to the temp dir.
-            if os.path.dirname(filename) != tmpdir:
-                dst = os.path.join(tmpdir, basename)
-                if not (os.path.exists(dst) and os.path.samefile(filename, dst)):
-                    shutil.copy2(filename, dst)
-                    filename = dst
-
-            with open(os.path.join(tmpdir, 'setup.py'), 'w', encoding="utf-8") as file:
-                file.write(
-                    "from setuptools import setup\n"
-                    "setup(name=%r, version=%r, py_modules=[%r])\n"
-                    % (
-                        dists[0].project_name,
-                        dists[0].version,
-                        os.path.splitext(basename)[0],
-                    )
-                )
-            return filename
-
-        elif match:
-            raise DistutilsError(
-                "Can't unambiguously interpret project/version identifier %r; "
-                "any dashes in the name or version should be escaped using "
-                "underscores. %r" % (fragment, dists)
-            )
-        else:
-            raise DistutilsError(
-                "Can't process plain .py files without an '#egg=name-version'"
-                " suffix to enable automatic setup script generation."
-            )
-
-    dl_blocksize = 8192
-
-    def _download_to(self, url, filename):
-        self.info("Downloading %s", url)
-        # Download the file
-        fp = None
-        try:
-            checker = HashChecker.from_url(url)
-            fp = self.open_url(url)
-            if isinstance(fp, urllib.error.HTTPError):
-                raise DistutilsError(
-                    "Can't download %s: %s %s" % (url, fp.code, fp.msg)
-                )
-            headers = fp.info()
-            blocknum = 0
-            bs = self.dl_blocksize
-            size = -1
-            if "content-length" in headers:
-                # Some servers return multiple Content-Length headers :(
-                sizes = headers.get_all('Content-Length')
-                size = max(map(int, sizes))
-                self.reporthook(url, filename, blocknum, bs, size)
-            with open(filename, 'wb') as tfp:
-                while True:
-                    block = fp.read(bs)
-                    if block:
-                        checker.feed(block)
-                        tfp.write(block)
-                        blocknum += 1
-                        self.reporthook(url, filename, blocknum, bs, size)
-                    else:
-                        break
-                self.check_hash(checker, filename, tfp)
-            return headers
-        finally:
-            if fp:
-                fp.close()
-
-    def reporthook(self, url, filename, blocknum, blksize, size) -> None:
-        pass  # no-op
-
-    # FIXME:
-    def open_url(self, url, warning=None):  # noqa: C901  # is too complex (12)
-        if url.startswith('file:'):
-            return local_open(url)
-        try:
-            return open_with_auth(url, self.opener)
-        except (ValueError, http.client.InvalidURL) as v:
-            msg = ' '.join([str(arg) for arg in v.args])
-            if warning:
-                self.warn(warning, msg)
-            else:
-                raise DistutilsError('%s %s' % (url, msg)) from v
-        except urllib.error.HTTPError as v:
-            return v
-        except urllib.error.URLError as v:
-            if warning:
-                self.warn(warning, v.reason)
-            else:
-                raise DistutilsError(
-                    "Download error for %s: %s" % (url, v.reason)
-                ) from v
-        except http.client.BadStatusLine as v:
-            if warning:
-                self.warn(warning, v.line)
-            else:
-                raise DistutilsError(
-                    '%s returned a bad status line. The server might be '
-                    'down, %s' % (url, v.line)
-                ) from v
-        except (http.client.HTTPException, OSError) as v:
-            if warning:
-                self.warn(warning, v)
-            else:
-                raise DistutilsError("Download error for %s: %s" % (url, v)) from v
-
-    def _download_url(self, url, tmpdir):
-        # Determine download filename
-        #
-        name, _fragment = egg_info_for_url(url)
-        if name:
-            while '..' in name:
-                name = name.replace('..', '.').replace('\\', '_')
-        else:
-            name = "__downloaded__"  # default if URL has no path contents
-
-        if name.endswith('.egg.zip'):
-            name = name[:-4]  # strip the extra .zip before download
-
-        filename = os.path.join(tmpdir, name)
-
-        return self._download_vcs(url, filename) or self._download_other(url, filename)
-
-    @staticmethod
-    def _resolve_vcs(url):
-        """
-        >>> rvcs = PackageIndex._resolve_vcs
-        >>> rvcs('git+http://foo/bar')
-        'git'
-        >>> rvcs('hg+https://foo/bar')
-        'hg'
-        >>> rvcs('git:myhost')
-        'git'
-        >>> rvcs('hg:myhost')
-        >>> rvcs('http://foo/bar')
-        """
-        scheme = urllib.parse.urlsplit(url).scheme
-        pre, sep, _post = scheme.partition('+')
-        # svn and git have their own protocol; hg does not
-        allowed = set(['svn', 'git'] + ['hg'] * bool(sep))
-        return next(iter({pre} & allowed), None)
-
-    def _download_vcs(self, url, spec_filename):
-        vcs = self._resolve_vcs(url)
-        if not vcs:
-            return None
-        if vcs == 'svn':
-            raise DistutilsError(
-                f"Invalid config, SVN download is not supported: {url}"
-            )
-
-        filename, _, _ = spec_filename.partition('#')
-        url, rev = self._vcs_split_rev_from_url(url)
-
-        self.info(f"Doing {vcs} clone from {url} to {filename}")
-        subprocess.check_call([vcs, 'clone', '--quiet', url, filename])
-
-        co_commands = dict(
-            git=[vcs, '-C', filename, 'checkout', '--quiet', rev],
-            hg=[vcs, '--cwd', filename, 'up', '-C', '-r', rev, '-q'],
-        )
-        if rev is not None:
-            self.info(f"Checking out {rev}")
-            subprocess.check_call(co_commands[vcs])
-
-        return filename
-
-    def _download_other(self, url, filename):
-        scheme = urllib.parse.urlsplit(url).scheme
-        if scheme == 'file':  # pragma: no cover
-            return urllib.request.url2pathname(urllib.parse.urlparse(url).path)
-        # raise error if not allowed
-        self.url_ok(url, True)
-        return self._attempt_download(url, filename)
-
-    def scan_url(self, url) -> None:
-        self.process_url(url, True)
-
-    def _attempt_download(self, url, filename):
-        headers = self._download_to(url, filename)
-        if 'html' in headers.get('content-type', '').lower():
-            return self._invalid_download_html(url, headers, filename)
-        else:
-            return filename
-
-    def _invalid_download_html(self, url, headers, filename):
-        os.unlink(filename)
-        raise DistutilsError(f"Unexpected HTML page found at {url}")
-
-    @staticmethod
-    def _vcs_split_rev_from_url(url):
-        """
-        Given a possible VCS URL, return a clean URL and resolved revision if any.
-
-        >>> vsrfu = PackageIndex._vcs_split_rev_from_url
-        >>> vsrfu('git+https://github.com/pypa/setuptools@v69.0.0#egg-info=setuptools')
-        ('https://github.com/pypa/setuptools', 'v69.0.0')
-        >>> vsrfu('git+https://github.com/pypa/setuptools#egg-info=setuptools')
-        ('https://github.com/pypa/setuptools', None)
-        >>> vsrfu('http://foo/bar')
-        ('http://foo/bar', None)
-        """
-        parts = urllib.parse.urlsplit(url)
-
-        clean_scheme = parts.scheme.split('+', 1)[-1]
-
-        # Some fragment identification fails
-        no_fragment_path, _, _ = parts.path.partition('#')
-
-        pre, sep, post = no_fragment_path.rpartition('@')
-        clean_path, rev = (pre, post) if sep else (post, None)
-
-        resolved = parts._replace(
-            scheme=clean_scheme,
-            path=clean_path,
-            # discard the fragment
-            fragment='',
-        ).geturl()
-
-        return resolved, rev
-
-    def debug(self, msg, *args) -> None:
-        log.debug(msg, *args)
-
-    def info(self, msg, *args) -> None:
-        log.info(msg, *args)
-
-    def warn(self, msg, *args) -> None:
-        log.warn(msg, *args)
-
-
-# This pattern matches a character entity reference (a decimal numeric
-# references, a hexadecimal numeric reference, or a named reference).
-entity_sub = re.compile(r'&(#(\d+|x[\da-fA-F]+)|[\w.:-]+);?').sub
-
-
-def decode_entity(match):
-    what = match.group(0)
-    return html.unescape(what)
-
-
-def htmldecode(text):
-    """
-    Decode HTML entities in the given text.
-
-    >>> htmldecode(
-    ...     'https://../package_name-0.1.2.tar.gz'
-    ...     '?tokena=A&tokenb=B">package_name-0.1.2.tar.gz')
-    'https://../package_name-0.1.2.tar.gz?tokena=A&tokenb=B">package_name-0.1.2.tar.gz'
-    """
-    return entity_sub(decode_entity, text)
-
-
-def socket_timeout(timeout=15):
-    def _socket_timeout(func):
-        def _socket_timeout(*args, **kwargs):
-            old_timeout = socket.getdefaulttimeout()
-            socket.setdefaulttimeout(timeout)
-            try:
-                return func(*args, **kwargs)
-            finally:
-                socket.setdefaulttimeout(old_timeout)
-
-        return _socket_timeout
-
-    return _socket_timeout
-
-
-def _encode_auth(auth):
-    """
-    Encode auth from a URL suitable for an HTTP header.
-    >>> str(_encode_auth('username%3Apassword'))
-    'dXNlcm5hbWU6cGFzc3dvcmQ='
-
-    Long auth strings should not cause a newline to be inserted.
-    >>> long_auth = 'username:' + 'password'*10
-    >>> chr(10) in str(_encode_auth(long_auth))
-    False
-    """
-    auth_s = urllib.parse.unquote(auth)
-    # convert to bytes
-    auth_bytes = auth_s.encode()
-    encoded_bytes = base64.b64encode(auth_bytes)
-    # convert back to a string
-    encoded = encoded_bytes.decode()
-    # strip the trailing carriage return
-    return encoded.replace('\n', '')
-
-
-class Credential(NamedTuple):
-    """
-    A username/password pair.
-
-    Displayed separated by `:`.
-    >>> str(Credential('username', 'password'))
-    'username:password'
-    """
-
-    username: str
-    password: str
-
-    def __str__(self) -> str:
-        return f'{self.username}:{self.password}'
-
-
-class PyPIConfig(configparser.RawConfigParser):
-    def __init__(self):
-        """
-        Load from ~/.pypirc
-        """
-        defaults = dict.fromkeys(['username', 'password', 'repository'], '')
-        super().__init__(defaults)
-
-        rc = os.path.join(os.path.expanduser('~'), '.pypirc')
-        if os.path.exists(rc):
-            _cfg_read_utf8_with_fallback(self, rc)
-
-    @property
-    def creds_by_repository(self):
-        sections_with_repositories = [
-            section
-            for section in self.sections()
-            if self.get(section, 'repository').strip()
-        ]
-
-        return dict(map(self._get_repo_cred, sections_with_repositories))
-
-    def _get_repo_cred(self, section):
-        repo = self.get(section, 'repository').strip()
-        return repo, Credential(
-            self.get(section, 'username').strip(),
-            self.get(section, 'password').strip(),
-        )
-
-    def find_credential(self, url):
-        """
-        If the URL indicated appears to be a repository defined in this
-        config, return the credential for that repository.
-        """
-        for repository, cred in self.creds_by_repository.items():
-            if url.startswith(repository):
-                return cred
-        return None
-
-
-def open_with_auth(url, opener=urllib.request.urlopen):
-    """Open a urllib2 request, handling HTTP authentication"""
-
-    parsed = urllib.parse.urlparse(url)
-    scheme, netloc, path, params, query, frag = parsed
-
-    # Double scheme does not raise on macOS as revealed by a
-    # failing test. We would expect "nonnumeric port". Refs #20.
-    if netloc.endswith(':'):
-        raise http.client.InvalidURL("nonnumeric port: ''")
-
-    if scheme in ('http', 'https'):
-        auth, address = _splituser(netloc)
-    else:
-        auth, address = (None, None)
-
-    if not auth:
-        cred = PyPIConfig().find_credential(url)
-        if cred:
-            auth = str(cred)
-            info = cred.username, url
-            log.info('Authenticating as %s for %s (from .pypirc)', *info)
-
-    if auth:
-        auth = "Basic " + _encode_auth(auth)
-        parts = scheme, address, path, params, query, frag
-        new_url = urllib.parse.urlunparse(parts)
-        request = urllib.request.Request(new_url)
-        request.add_header("Authorization", auth)
-    else:
-        request = urllib.request.Request(url)
-
-    request.add_header('User-Agent', user_agent)
-    fp = opener(request)
-
-    if auth:
-        # Put authentication info back into request URL if same host,
-        # so that links found on the page will work
-        s2, h2, path2, param2, query2, frag2 = urllib.parse.urlparse(fp.url)
-        if s2 == scheme and h2 == address:
-            parts = s2, netloc, path2, param2, query2, frag2
-            fp.url = urllib.parse.urlunparse(parts)
-
-    return fp
-
-
-# copy of urllib.parse._splituser from Python 3.8
-# See https://github.com/python/cpython/issues/80072.
-def _splituser(host):
-    """splituser('user[:passwd]@host[:port]')
-    --> 'user[:passwd]', 'host[:port]'."""
-    user, delim, host = host.rpartition('@')
-    return (user if delim else None), host
-
-
-# adding a timeout to avoid freezing package_index
-open_with_auth = socket_timeout(_SOCKET_TIMEOUT)(open_with_auth)
-
-
-def fix_sf_url(url):
-    return url  # backward compatibility
-
-
-def local_open(url):
-    """Read a local path, with special support for directories"""
-    _scheme, _server, path, _param, _query, _frag = urllib.parse.urlparse(url)
-    filename = urllib.request.url2pathname(path)
-    if os.path.isfile(filename):
-        return urllib.request.urlopen(url)
-    elif path.endswith('/') and os.path.isdir(filename):
-        files = []
-        for f in os.listdir(filename):
-            filepath = os.path.join(filename, f)
-            if f == 'index.html':
-                body = _read_utf8_with_fallback(filepath)
-                break
-            elif os.path.isdir(filepath):
-                f += '/'
-            files.append('{name}'.format(name=f))
-        else:
-            tmpl = "{url}{files}"
-            body = tmpl.format(url=url, files='\n'.join(files))
-        status, message = 200, "OK"
-    else:
-        status, message, body = 404, "Path not found", "Not found"
-
-    headers = {'content-type': 'text/html'}
-    body_stream = io.StringIO(body)
-    return urllib.error.HTTPError(url, status, message, headers, body_stream)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/sandbox.py b/.venv/lib/python3.12/site-packages/setuptools/sandbox.py
deleted file mode 100644
index 2d84242d..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/sandbox.py
+++ /dev/null
@@ -1,536 +0,0 @@
-from __future__ import annotations
-
-import builtins
-import contextlib
-import functools
-import itertools
-import operator
-import os
-import pickle
-import re
-import sys
-import tempfile
-import textwrap
-from types import TracebackType
-from typing import TYPE_CHECKING, Any, ClassVar
-
-import pkg_resources
-from pkg_resources import working_set
-
-from distutils.errors import DistutilsError
-
-if TYPE_CHECKING:
-    import os as _os
-elif sys.platform.startswith('java'):
-    import org.python.modules.posix.PosixModule as _os  # pyright: ignore[reportMissingImports]
-else:
-    _os = sys.modules[os.name]
-_open = open
-
-
-if TYPE_CHECKING:
-    from typing_extensions import Self
-
-__all__ = [
-    "AbstractSandbox",
-    "DirectorySandbox",
-    "SandboxViolation",
-    "run_setup",
-]
-
-
-def _execfile(filename, globals, locals=None):
-    """
-    Python 3 implementation of execfile.
-    """
-    mode = 'rb'
-    with open(filename, mode) as stream:
-        script = stream.read()
-    if locals is None:
-        locals = globals
-    code = compile(script, filename, 'exec')
-    exec(code, globals, locals)
-
-
-@contextlib.contextmanager
-def save_argv(repl=None):
-    saved = sys.argv[:]
-    if repl is not None:
-        sys.argv[:] = repl
-    try:
-        yield saved
-    finally:
-        sys.argv[:] = saved
-
-
-@contextlib.contextmanager
-def save_path():
-    saved = sys.path[:]
-    try:
-        yield saved
-    finally:
-        sys.path[:] = saved
-
-
-@contextlib.contextmanager
-def override_temp(replacement):
-    """
-    Monkey-patch tempfile.tempdir with replacement, ensuring it exists
-    """
-    os.makedirs(replacement, exist_ok=True)
-
-    saved = tempfile.tempdir
-
-    tempfile.tempdir = replacement
-
-    try:
-        yield
-    finally:
-        tempfile.tempdir = saved
-
-
-@contextlib.contextmanager
-def pushd(target):
-    saved = os.getcwd()
-    os.chdir(target)
-    try:
-        yield saved
-    finally:
-        os.chdir(saved)
-
-
-class UnpickleableException(Exception):
-    """
-    An exception representing another Exception that could not be pickled.
-    """
-
-    @staticmethod
-    def dump(type, exc):
-        """
-        Always return a dumped (pickled) type and exc. If exc can't be pickled,
-        wrap it in UnpickleableException first.
-        """
-        try:
-            return pickle.dumps(type), pickle.dumps(exc)
-        except Exception:
-            # get UnpickleableException inside the sandbox
-            from setuptools.sandbox import UnpickleableException as cls
-
-            return cls.dump(cls, cls(repr(exc)))
-
-
-class ExceptionSaver:
-    """
-    A Context Manager that will save an exception, serialize, and restore it
-    later.
-    """
-
-    def __enter__(self) -> Self:
-        return self
-
-    def __exit__(
-        self,
-        type: type[BaseException] | None,
-        exc: BaseException | None,
-        tb: TracebackType | None,
-    ) -> bool:
-        if not exc:
-            return False
-
-        # dump the exception
-        self._saved = UnpickleableException.dump(type, exc)
-        self._tb = tb
-
-        # suppress the exception
-        return True
-
-    def resume(self):
-        "restore and re-raise any exception"
-
-        if '_saved' not in vars(self):
-            return
-
-        _type, exc = map(pickle.loads, self._saved)
-        raise exc.with_traceback(self._tb)
-
-
-@contextlib.contextmanager
-def save_modules():
-    """
-    Context in which imported modules are saved.
-
-    Translates exceptions internal to the context into the equivalent exception
-    outside the context.
-    """
-    saved = sys.modules.copy()
-    with ExceptionSaver() as saved_exc:
-        yield saved
-
-    sys.modules.update(saved)
-    # remove any modules imported since
-    del_modules = (
-        mod_name
-        for mod_name in sys.modules
-        if mod_name not in saved
-        # exclude any encodings modules. See #285
-        and not mod_name.startswith('encodings.')
-    )
-    _clear_modules(del_modules)
-
-    saved_exc.resume()
-
-
-def _clear_modules(module_names):
-    for mod_name in list(module_names):
-        del sys.modules[mod_name]
-
-
-@contextlib.contextmanager
-def save_pkg_resources_state():
-    saved = pkg_resources.__getstate__()
-    try:
-        yield saved
-    finally:
-        pkg_resources.__setstate__(saved)
-
-
-@contextlib.contextmanager
-def setup_context(setup_dir):
-    temp_dir = os.path.join(setup_dir, 'temp')
-    with save_pkg_resources_state():
-        with save_modules():
-            with save_path():
-                hide_setuptools()
-                with save_argv():
-                    with override_temp(temp_dir):
-                        with pushd(setup_dir):
-                            # ensure setuptools commands are available
-                            __import__('setuptools')
-                            yield
-
-
-_MODULES_TO_HIDE = {
-    'setuptools',
-    'distutils',
-    'pkg_resources',
-    'Cython',
-    '_distutils_hack',
-}
-
-
-def _needs_hiding(mod_name):
-    """
-    >>> _needs_hiding('setuptools')
-    True
-    >>> _needs_hiding('pkg_resources')
-    True
-    >>> _needs_hiding('setuptools_plugin')
-    False
-    >>> _needs_hiding('setuptools.__init__')
-    True
-    >>> _needs_hiding('distutils')
-    True
-    >>> _needs_hiding('os')
-    False
-    >>> _needs_hiding('Cython')
-    True
-    """
-    base_module = mod_name.split('.', 1)[0]
-    return base_module in _MODULES_TO_HIDE
-
-
-def hide_setuptools():
-    """
-    Remove references to setuptools' modules from sys.modules to allow the
-    invocation to import the most appropriate setuptools. This technique is
-    necessary to avoid issues such as #315 where setuptools upgrading itself
-    would fail to find a function declared in the metadata.
-    """
-    _distutils_hack = sys.modules.get('_distutils_hack', None)
-    if _distutils_hack is not None:
-        _distutils_hack._remove_shim()
-
-    modules = filter(_needs_hiding, sys.modules)
-    _clear_modules(modules)
-
-
-def run_setup(setup_script, args):
-    """Run a distutils setup script, sandboxed in its directory"""
-    setup_dir = os.path.abspath(os.path.dirname(setup_script))
-    with setup_context(setup_dir):
-        try:
-            sys.argv[:] = [setup_script] + list(args)
-            sys.path.insert(0, setup_dir)
-            # reset to include setup dir, w/clean callback list
-            working_set.__init__()
-            working_set.callbacks.append(lambda dist: dist.activate())
-
-            with DirectorySandbox(setup_dir):
-                ns = dict(__file__=setup_script, __name__='__main__')
-                _execfile(setup_script, ns)
-        except SystemExit as v:
-            if v.args and v.args[0]:
-                raise
-            # Normal exit, just return
-
-
-class AbstractSandbox:
-    """Wrap 'os' module and 'open()' builtin for virtualizing setup scripts"""
-
-    _active = False
-
-    def __init__(self) -> None:
-        self._attrs = [
-            name
-            for name in dir(_os)
-            if not name.startswith('_') and hasattr(self, name)
-        ]
-
-    def _copy(self, source):
-        for name in self._attrs:
-            setattr(os, name, getattr(source, name))
-
-    def __enter__(self) -> None:
-        self._copy(self)
-        builtins.open = self._open
-        self._active = True
-
-    def __exit__(
-        self,
-        exc_type: type[BaseException] | None,
-        exc_value: BaseException | None,
-        traceback: TracebackType | None,
-    ):
-        self._active = False
-        builtins.open = _open
-        self._copy(_os)
-
-    def run(self, func):
-        """Run 'func' under os sandboxing"""
-        with self:
-            return func()
-
-    def _mk_dual_path_wrapper(name: str):  # type: ignore[misc] # https://github.com/pypa/setuptools/pull/4099
-        original = getattr(_os, name)
-
-        def wrap(self, src, dst, *args, **kw):
-            if self._active:
-                src, dst = self._remap_pair(name, src, dst, *args, **kw)
-            return original(src, dst, *args, **kw)
-
-        return wrap
-
-    for __name in ["rename", "link", "symlink"]:
-        if hasattr(_os, __name):
-            locals()[__name] = _mk_dual_path_wrapper(__name)
-
-    def _mk_single_path_wrapper(name: str, original=None):  # type: ignore[misc] # https://github.com/pypa/setuptools/pull/4099
-        original = original or getattr(_os, name)
-
-        def wrap(self, path, *args, **kw):
-            if self._active:
-                path = self._remap_input(name, path, *args, **kw)
-            return original(path, *args, **kw)
-
-        return wrap
-
-    _open = _mk_single_path_wrapper('open', _open)
-    for __name in [
-        "stat",
-        "listdir",
-        "chdir",
-        "open",
-        "chmod",
-        "chown",
-        "mkdir",
-        "remove",
-        "unlink",
-        "rmdir",
-        "utime",
-        "lchown",
-        "chroot",
-        "lstat",
-        "startfile",
-        "mkfifo",
-        "mknod",
-        "pathconf",
-        "access",
-    ]:
-        if hasattr(_os, __name):
-            locals()[__name] = _mk_single_path_wrapper(__name)
-
-    def _mk_single_with_return(name: str):  # type: ignore[misc] # https://github.com/pypa/setuptools/pull/4099
-        original = getattr(_os, name)
-
-        def wrap(self, path, *args, **kw):
-            if self._active:
-                path = self._remap_input(name, path, *args, **kw)
-                return self._remap_output(name, original(path, *args, **kw))
-            return original(path, *args, **kw)
-
-        return wrap
-
-    for __name in ['readlink', 'tempnam']:
-        if hasattr(_os, __name):
-            locals()[__name] = _mk_single_with_return(__name)
-
-    def _mk_query(name: str):  # type: ignore[misc] # https://github.com/pypa/setuptools/pull/4099
-        original = getattr(_os, name)
-
-        def wrap(self, *args, **kw):
-            retval = original(*args, **kw)
-            if self._active:
-                return self._remap_output(name, retval)
-            return retval
-
-        return wrap
-
-    for __name in ['getcwd', 'tmpnam']:
-        if hasattr(_os, __name):
-            locals()[__name] = _mk_query(__name)
-
-    def _validate_path(self, path):
-        """Called to remap or validate any path, whether input or output"""
-        return path
-
-    def _remap_input(self, operation, path, *args, **kw):
-        """Called for path inputs"""
-        return self._validate_path(path)
-
-    def _remap_output(self, operation, path):
-        """Called for path outputs"""
-        return self._validate_path(path)
-
-    def _remap_pair(self, operation, src, dst, *args, **kw):
-        """Called for path pairs like rename, link, and symlink operations"""
-        return (
-            self._remap_input(operation + '-from', src, *args, **kw),
-            self._remap_input(operation + '-to', dst, *args, **kw),
-        )
-
-    if TYPE_CHECKING:
-        # This is a catch-all for all the dynamically created attributes.
-        # This isn't public API anyway
-        def __getattribute__(self, name: str) -> Any: ...
-
-
-if hasattr(os, 'devnull'):
-    _EXCEPTIONS = [os.devnull]
-else:
-    _EXCEPTIONS = []
-
-
-class DirectorySandbox(AbstractSandbox):
-    """Restrict operations to a single subdirectory - pseudo-chroot"""
-
-    write_ops: ClassVar[dict[str, None]] = dict.fromkeys([
-        "open",
-        "chmod",
-        "chown",
-        "mkdir",
-        "remove",
-        "unlink",
-        "rmdir",
-        "utime",
-        "lchown",
-        "chroot",
-        "mkfifo",
-        "mknod",
-        "tempnam",
-    ])
-
-    _exception_patterns: list[str | re.Pattern] = []
-    "exempt writing to paths that match the pattern"
-
-    def __init__(self, sandbox, exceptions=_EXCEPTIONS) -> None:
-        self._sandbox = os.path.normcase(os.path.realpath(sandbox))
-        self._prefix = os.path.join(self._sandbox, '')
-        self._exceptions = [
-            os.path.normcase(os.path.realpath(path)) for path in exceptions
-        ]
-        AbstractSandbox.__init__(self)
-
-    def _violation(self, operation, *args, **kw):
-        from setuptools.sandbox import SandboxViolation
-
-        raise SandboxViolation(operation, args, kw)
-
-    def _open(self, path, mode='r', *args, **kw):
-        if mode not in ('r', 'rt', 'rb', 'rU', 'U') and not self._ok(path):
-            self._violation("open", path, mode, *args, **kw)
-        return _open(path, mode, *args, **kw)
-
-    def tmpnam(self) -> None:
-        self._violation("tmpnam")
-
-    def _ok(self, path):
-        active = self._active
-        try:
-            self._active = False
-            realpath = os.path.normcase(os.path.realpath(path))
-            return (
-                self._exempted(realpath)
-                or realpath == self._sandbox
-                or realpath.startswith(self._prefix)
-            )
-        finally:
-            self._active = active
-
-    def _exempted(self, filepath):
-        start_matches = (
-            filepath.startswith(exception) for exception in self._exceptions
-        )
-        pattern_matches = (
-            re.match(pattern, filepath) for pattern in self._exception_patterns
-        )
-        candidates = itertools.chain(start_matches, pattern_matches)
-        return any(candidates)
-
-    def _remap_input(self, operation, path, *args, **kw):
-        """Called for path inputs"""
-        if operation in self.write_ops and not self._ok(path):
-            self._violation(operation, os.path.realpath(path), *args, **kw)
-        return path
-
-    def _remap_pair(self, operation, src, dst, *args, **kw):
-        """Called for path pairs like rename, link, and symlink operations"""
-        if not self._ok(src) or not self._ok(dst):
-            self._violation(operation, src, dst, *args, **kw)
-        return (src, dst)
-
-    def open(self, file, flags, mode: int = 0o777, *args, **kw) -> int:
-        """Called for low-level os.open()"""
-        if flags & WRITE_FLAGS and not self._ok(file):
-            self._violation("os.open", file, flags, mode, *args, **kw)
-        return _os.open(file, flags, mode, *args, **kw)
-
-
-WRITE_FLAGS = functools.reduce(
-    operator.or_,
-    [
-        getattr(_os, a, 0)
-        for a in "O_WRONLY O_RDWR O_APPEND O_CREAT O_TRUNC O_TEMPORARY".split()
-    ],
-)
-
-
-class SandboxViolation(DistutilsError):
-    """A setup script attempted to modify the filesystem outside the sandbox"""
-
-    tmpl = textwrap.dedent(
-        """
-        SandboxViolation: {cmd}{args!r} {kwargs}
-
-        The package setup script has attempted to modify files on your system
-        that are not within the EasyInstall build area, and has been aborted.
-
-        This package cannot be safely installed by EasyInstall, and may not
-        support alternate installation locations even if you run its setup
-        script by hand.  Please inform the package's author and the EasyInstall
-        maintainers to find out if a fix or workaround is available.
-        """
-    ).lstrip()
-
-    def __str__(self) -> str:
-        cmd, args, kwargs = self.args
-        return self.tmpl.format(**locals())
diff --git a/.venv/lib/python3.12/site-packages/setuptools/script (dev).tmpl b/.venv/lib/python3.12/site-packages/setuptools/script (dev).tmpl
deleted file mode 100644
index 39a24b04..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/script (dev).tmpl	
+++ /dev/null
@@ -1,6 +0,0 @@
-# EASY-INSTALL-DEV-SCRIPT: %(spec)r,%(script_name)r
-__requires__ = %(spec)r
-__import__('pkg_resources').require(%(spec)r)
-__file__ = %(dev_path)r
-with open(__file__) as f:
-    exec(compile(f.read(), __file__, 'exec'))
diff --git a/.venv/lib/python3.12/site-packages/setuptools/script.tmpl b/.venv/lib/python3.12/site-packages/setuptools/script.tmpl
deleted file mode 100644
index ff5efbca..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/script.tmpl
+++ /dev/null
@@ -1,3 +0,0 @@
-# EASY-INSTALL-SCRIPT: %(spec)r,%(script_name)r
-__requires__ = %(spec)r
-__import__('pkg_resources').run_script(%(spec)r, %(script_name)r)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/tests/__init__.py
deleted file mode 100644
index eb70bfb7..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/__init__.py
+++ /dev/null
@@ -1,13 +0,0 @@
-import locale
-import sys
-
-import pytest
-
-__all__ = ['fail_on_ascii']
-
-if sys.version_info >= (3, 11):
-    locale_encoding = locale.getencoding()
-else:
-    locale_encoding = locale.getpreferredencoding(False)
-is_ascii = locale_encoding == 'ANSI_X3.4-1968'
-fail_on_ascii = pytest.mark.xfail(is_ascii, reason="Test fails in this locale")
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 3ce338e1..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/contexts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/contexts.cpython-312.pyc
deleted file mode 100644
index 70c2b620..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/contexts.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/environment.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/environment.cpython-312.pyc
deleted file mode 100644
index b37ef4e8..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/environment.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/fixtures.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/fixtures.cpython-312.pyc
deleted file mode 100644
index d9abd5b7..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/fixtures.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/mod_with_constant.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/mod_with_constant.cpython-312.pyc
deleted file mode 100644
index a98d91fe..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/mod_with_constant.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/namespaces.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/namespaces.cpython-312.pyc
deleted file mode 100644
index dee4a4d0..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/namespaces.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/script-with-bom.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/script-with-bom.cpython-312.pyc
deleted file mode 100644
index e3456705..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/script-with-bom.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/server.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/server.cpython-312.pyc
deleted file mode 100644
index 8394b35b..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/server.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_archive_util.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_archive_util.cpython-312.pyc
deleted file mode 100644
index 522a2c3c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_archive_util.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_bdist_deprecations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_bdist_deprecations.cpython-312.pyc
deleted file mode 100644
index 84b4aa7a..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_bdist_deprecations.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_bdist_egg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_bdist_egg.cpython-312.pyc
deleted file mode 100644
index 4745ddc9..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_bdist_egg.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_bdist_wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_bdist_wheel.cpython-312.pyc
deleted file mode 100644
index 003f5e7c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_bdist_wheel.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build.cpython-312.pyc
deleted file mode 100644
index e362b6a6..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_clib.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_clib.cpython-312.pyc
deleted file mode 100644
index 79c91e8a..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_clib.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_ext.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_ext.cpython-312.pyc
deleted file mode 100644
index d5c71d28..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_ext.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_meta.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_meta.cpython-312.pyc
deleted file mode 100644
index a5216287..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_meta.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_py.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_py.cpython-312.pyc
deleted file mode 100644
index 631f2f47..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_build_py.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_config_discovery.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_config_discovery.cpython-312.pyc
deleted file mode 100644
index 2c835aac..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_config_discovery.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_core_metadata.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_core_metadata.cpython-312.pyc
deleted file mode 100644
index 6ebe4335..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_core_metadata.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_depends.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_depends.cpython-312.pyc
deleted file mode 100644
index 1625e9b0..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_depends.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_develop.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_develop.cpython-312.pyc
deleted file mode 100644
index 076ed705..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_develop.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_dist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_dist.cpython-312.pyc
deleted file mode 100644
index cff1352e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_dist.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_dist_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_dist_info.cpython-312.pyc
deleted file mode 100644
index a064add0..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_dist_info.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_distutils_adoption.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_distutils_adoption.cpython-312.pyc
deleted file mode 100644
index da4bc0b1..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_distutils_adoption.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_easy_install.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_easy_install.cpython-312.pyc
deleted file mode 100644
index 98cdc7c9..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_easy_install.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_editable_install.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_editable_install.cpython-312.pyc
deleted file mode 100644
index 1cc20ff1..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_editable_install.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_egg_info.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_egg_info.cpython-312.pyc
deleted file mode 100644
index c71597bd..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_egg_info.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_extern.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_extern.cpython-312.pyc
deleted file mode 100644
index e6434603..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_extern.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_find_packages.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_find_packages.cpython-312.pyc
deleted file mode 100644
index 7d713d7e..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_find_packages.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_find_py_modules.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_find_py_modules.cpython-312.pyc
deleted file mode 100644
index 7a8267dc..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_find_py_modules.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_glob.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_glob.cpython-312.pyc
deleted file mode 100644
index 9c59f5f4..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_glob.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_install_scripts.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_install_scripts.cpython-312.pyc
deleted file mode 100644
index d1c322ef..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_install_scripts.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_logging.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_logging.cpython-312.pyc
deleted file mode 100644
index a288bb16..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_logging.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_manifest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_manifest.cpython-312.pyc
deleted file mode 100644
index eed6eabe..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_manifest.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_namespaces.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_namespaces.cpython-312.pyc
deleted file mode 100644
index 5558e7cf..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_namespaces.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_packageindex.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_packageindex.cpython-312.pyc
deleted file mode 100644
index 1a6d1960..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_packageindex.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_sandbox.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_sandbox.cpython-312.pyc
deleted file mode 100644
index 97fcedd9..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_sandbox.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_sdist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_sdist.cpython-312.pyc
deleted file mode 100644
index 41761730..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_sdist.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_setopt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_setopt.cpython-312.pyc
deleted file mode 100644
index 0aad42d9..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_setopt.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_setuptools.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_setuptools.cpython-312.pyc
deleted file mode 100644
index c1ee8171..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_setuptools.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_shutil_wrapper.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_shutil_wrapper.cpython-312.pyc
deleted file mode 100644
index 67a354eb..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_shutil_wrapper.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_unicode_utils.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_unicode_utils.cpython-312.pyc
deleted file mode 100644
index d4a1d41c..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_unicode_utils.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_virtualenv.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_virtualenv.cpython-312.pyc
deleted file mode 100644
index 7fe2c981..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_virtualenv.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_warnings.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_warnings.cpython-312.pyc
deleted file mode 100644
index 13df5326..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_warnings.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_wheel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_wheel.cpython-312.pyc
deleted file mode 100644
index 83659ab4..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_wheel.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_windows_wrappers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_windows_wrappers.cpython-312.pyc
deleted file mode 100644
index 2fdd9623..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/test_windows_wrappers.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/text.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/text.cpython-312.pyc
deleted file mode 100644
index 6149cbab..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/text.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/textwrap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/textwrap.cpython-312.pyc
deleted file mode 100644
index 94a935bb..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/__pycache__/textwrap.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/compat/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/tests/compat/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/compat/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/compat/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index b9fb9ed4..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/compat/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/compat/__pycache__/py39.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/compat/__pycache__/py39.cpython-312.pyc
deleted file mode 100644
index a6aa889f..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/compat/__pycache__/py39.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/compat/py39.py b/.venv/lib/python3.12/site-packages/setuptools/tests/compat/py39.py
deleted file mode 100644
index 1fdb9dac..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/compat/py39.py
+++ /dev/null
@@ -1,3 +0,0 @@
-from jaraco.test.cpython import from_test_support, try_import
-
-os_helper = try_import('os_helper') or from_test_support('can_symlink')
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/tests/config/__init__.py
deleted file mode 100644
index e69de29b..00000000
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index ae2801c8..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_apply_pyprojecttoml.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_apply_pyprojecttoml.cpython-312.pyc
deleted file mode 100644
index a19809a2..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_apply_pyprojecttoml.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_expand.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_expand.cpython-312.pyc
deleted file mode 100644
index 1e7b2165..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_expand.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml.cpython-312.pyc
deleted file mode 100644
index 0ff0a4e3..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml_dynamic_deps.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml_dynamic_deps.cpython-312.pyc
deleted file mode 100644
index 9cc72954..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_pyprojecttoml_dynamic_deps.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_setupcfg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_setupcfg.cpython-312.pyc
deleted file mode 100644
index 80dd6f1d..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/config/__pycache__/test_setupcfg.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/__init__.py
deleted file mode 100644
index 00a16423..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/__init__.py
+++ /dev/null
@@ -1,59 +0,0 @@
-from __future__ import annotations
-
-import re
-import time
-from pathlib import Path
-from urllib.error import HTTPError
-from urllib.request import urlopen
-
-__all__ = ["DOWNLOAD_DIR", "retrieve_file", "output_file", "urls_from_file"]
-
-
-NAME_REMOVE = ("http://", "https://", "github.com/", "/raw/")
-DOWNLOAD_DIR = Path(__file__).parent
-
-
-# ----------------------------------------------------------------------
-# Please update ./preload.py accordingly when modifying this file
-# ----------------------------------------------------------------------
-
-
-def output_file(url: str, download_dir: Path = DOWNLOAD_DIR) -> Path:
-    file_name = url.strip()
-    for part in NAME_REMOVE:
-        file_name = file_name.replace(part, '').strip().strip('/:').strip()
-    return Path(download_dir, re.sub(r"[^\-_\.\w\d]+", "_", file_name))
-
-
-def retrieve_file(url: str, download_dir: Path = DOWNLOAD_DIR, wait: float = 5) -> Path:
-    path = output_file(url, download_dir)
-    if path.exists():
-        print(f"Skipping {url} (already exists: {path})")
-    else:
-        download_dir.mkdir(exist_ok=True, parents=True)
-        print(f"Downloading {url} to {path}")
-        try:
-            download(url, path)
-        except HTTPError:
-            time.sleep(wait)  # wait a few seconds and try again.
-            download(url, path)
-    return path
-
-
-def urls_from_file(list_file: Path) -> list[str]:
-    """``list_file`` should be a text file where each line corresponds to a URL to
-    download.
-    """
-    print(f"file: {list_file}")
-    content = list_file.read_text(encoding="utf-8")
-    return [url for url in content.splitlines() if not url.startswith("#")]
-
-
-def download(url: str, dest: Path):
-    with urlopen(url) as f:
-        data = f.read()
-
-    with open(dest, "wb") as f:
-        f.write(data)
-
-    assert Path(dest).exists()
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/__pycache__/__init__.cpython-312.pyc
deleted file mode 100644
index 9a6ed967..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/__pycache__/__init__.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/__pycache__/preload.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/__pycache__/preload.cpython-312.pyc
deleted file mode 100644
index 8338d9cd..00000000
Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/__pycache__/preload.cpython-312.pyc and /dev/null differ
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/preload.py b/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/preload.py
deleted file mode 100644
index 8eeb5dd7..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/config/downloads/preload.py
+++ /dev/null
@@ -1,18 +0,0 @@
-"""This file can be used to preload files needed for testing.
-
-For example you can use::
-
-    cd setuptools/tests/config
-    python -m downloads.preload setupcfg_examples.txt
-
-to make sure the `setup.cfg` examples are downloaded before starting the tests.
-"""
-
-import sys
-from pathlib import Path
-
-from . import retrieve_file, urls_from_file
-
-if __name__ == "__main__":
-    urls = urls_from_file(Path(sys.argv[1]))
-    list(map(retrieve_file, urls))
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/setupcfg_examples.txt b/.venv/lib/python3.12/site-packages/setuptools/tests/config/setupcfg_examples.txt
deleted file mode 100644
index 6aab887f..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/config/setupcfg_examples.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-# ====================================================================
-# Some popular packages that use setup.cfg (and others not so popular)
-# Reference: https://hugovk.github.io/top-pypi-packages/
-# ====================================================================
-https://github.com/pypa/setuptools/raw/52c990172fec37766b3566679724aa8bf70ae06d/setup.cfg
-https://github.com/pypa/wheel/raw/0acd203cd896afec7f715aa2ff5980a403459a3b/setup.cfg
-https://github.com/python/importlib_metadata/raw/2f05392ca980952a6960d82b2f2d2ea10aa53239/setup.cfg
-https://github.com/jaraco/skeleton/raw/d9008b5c510cd6969127a6a2ab6f832edddef296/setup.cfg
-https://github.com/jaraco/zipp/raw/700d3a96390e970b6b962823bfea78b4f7e1c537/setup.cfg
-https://github.com/pallets/jinja/raw/7d72eb7fefb7dce065193967f31f805180508448/setup.cfg
-https://github.com/tkem/cachetools/raw/2fd87a94b8d3861d80e9e4236cd480bfdd21c90d/setup.cfg
-https://github.com/aio-libs/aiohttp/raw/5e0e6b7080f2408d5f1dd544c0e1cf88378b7b10/setup.cfg
-https://github.com/pallets/flask/raw/9486b6cf57bd6a8a261f67091aca8ca78eeec1e3/setup.cfg
-https://github.com/pallets/click/raw/6411f425fae545f42795665af4162006b36c5e4a/setup.cfg
-https://github.com/sqlalchemy/sqlalchemy/raw/533f5718904b620be8d63f2474229945d6f8ba5d/setup.cfg
-https://github.com/pytest-dev/pluggy/raw/461ef63291d13589c4e21aa182cd1529257e9a0a/setup.cfg
-https://github.com/pytest-dev/pytest/raw/c7be96dae487edbd2f55b561b31b68afac1dabe6/setup.cfg
-https://github.com/platformdirs/platformdirs/raw/7b7852128dd6f07511b618d6edea35046bd0c6ff/setup.cfg
-https://github.com/pandas-dev/pandas/raw/bc17343f934a33dc231c8c74be95d8365537c376/setup.cfg
-https://github.com/django/django/raw/4e249d11a6e56ca8feb4b055b681cec457ef3a3d/setup.cfg
-https://github.com/pyscaffold/pyscaffold/raw/de7aa5dc059fbd04307419c667cc4961bc9df4b8/setup.cfg
-https://github.com/pypa/virtualenv/raw/f92eda6e3da26a4d28c2663ffb85c4960bdb990c/setup.cfg
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py b/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py
deleted file mode 100644
index da43bb6a..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_apply_pyprojecttoml.py
+++ /dev/null
@@ -1,512 +0,0 @@
-"""Make sure that applying the configuration from pyproject.toml is equivalent to
-applying a similar configuration from setup.cfg
-
-To run these tests offline, please have a look on ``./downloads/preload.py``
-"""
-
-from __future__ import annotations
-
-import io
-import re
-import tarfile
-from inspect import cleandoc
-from pathlib import Path
-from unittest.mock import Mock
-
-import pytest
-from ini2toml.api import LiteTranslator
-from packaging.metadata import Metadata
-
-import setuptools  # noqa: F401 # ensure monkey patch to metadata
-from setuptools.command.egg_info import write_requirements
-from setuptools.config import expand, pyprojecttoml, setupcfg
-from setuptools.config._apply_pyprojecttoml import _MissingDynamic, _some_attrgetter
-from setuptools.dist import Distribution
-from setuptools.errors import RemovedConfigError
-
-from .downloads import retrieve_file, urls_from_file
-
-HERE = Path(__file__).parent
-EXAMPLES_FILE = "setupcfg_examples.txt"
-
-
-def makedist(path, **attrs):
-    return Distribution({"src_root": path, **attrs})
-
-
-@pytest.mark.parametrize("url", urls_from_file(HERE / EXAMPLES_FILE))
-@pytest.mark.filterwarnings("ignore")
-@pytest.mark.uses_network
-def test_apply_pyproject_equivalent_to_setupcfg(url, monkeypatch, tmp_path):
-    monkeypatch.setattr(expand, "read_attr", Mock(return_value="0.0.1"))
-    setupcfg_example = retrieve_file(url)
-    pyproject_example = Path(tmp_path, "pyproject.toml")
-    setupcfg_text = setupcfg_example.read_text(encoding="utf-8")
-    toml_config = LiteTranslator().translate(setupcfg_text, "setup.cfg")
-    pyproject_example.write_text(toml_config, encoding="utf-8")
-
-    dist_toml = pyprojecttoml.apply_configuration(makedist(tmp_path), pyproject_example)
-    dist_cfg = setupcfg.apply_configuration(makedist(tmp_path), setupcfg_example)
-
-    pkg_info_toml = core_metadata(dist_toml)
-    pkg_info_cfg = core_metadata(dist_cfg)
-    assert pkg_info_toml == pkg_info_cfg
-
-    if any(getattr(d, "license_files", None) for d in (dist_toml, dist_cfg)):
-        assert set(dist_toml.license_files) == set(dist_cfg.license_files)
-
-    if any(getattr(d, "entry_points", None) for d in (dist_toml, dist_cfg)):
-        print(dist_cfg.entry_points)
-        ep_toml = {
-            (k, *sorted(i.replace(" ", "") for i in v))
-            for k, v in dist_toml.entry_points.items()
-        }
-        ep_cfg = {
-            (k, *sorted(i.replace(" ", "") for i in v))
-            for k, v in dist_cfg.entry_points.items()
-        }
-        assert ep_toml == ep_cfg
-
-    if any(getattr(d, "package_data", None) for d in (dist_toml, dist_cfg)):
-        pkg_data_toml = {(k, *sorted(v)) for k, v in dist_toml.package_data.items()}
-        pkg_data_cfg = {(k, *sorted(v)) for k, v in dist_cfg.package_data.items()}
-        assert pkg_data_toml == pkg_data_cfg
-
-    if any(getattr(d, "data_files", None) for d in (dist_toml, dist_cfg)):
-        data_files_toml = {(k, *sorted(v)) for k, v in dist_toml.data_files}
-        data_files_cfg = {(k, *sorted(v)) for k, v in dist_cfg.data_files}
-        assert data_files_toml == data_files_cfg
-
-    assert set(dist_toml.install_requires) == set(dist_cfg.install_requires)
-    if any(getattr(d, "extras_require", None) for d in (dist_toml, dist_cfg)):
-        extra_req_toml = {(k, *sorted(v)) for k, v in dist_toml.extras_require.items()}
-        extra_req_cfg = {(k, *sorted(v)) for k, v in dist_cfg.extras_require.items()}
-        assert extra_req_toml == extra_req_cfg
-
-
-PEP621_EXAMPLE = """\
-[project]
-name = "spam"
-version = "2020.0.0"
-description = "Lovely Spam! Wonderful Spam!"
-readme = "README.rst"
-requires-python = ">=3.8"
-license = {file = "LICENSE.txt"}
-keywords = ["egg", "bacon", "sausage", "tomatoes", "Lobster Thermidor"]
-authors = [
-  {email = "hi@pradyunsg.me"},
-  {name = "Tzu-Ping Chung"}
-]
-maintainers = [
-  {name = "Brett Cannon", email = "brett@python.org"},
-  {name = "John X. ÃørçeÄ", email = "john@utf8.org"},
-  {name = "Γαμα ï­‡ æ±", email = "gama@utf8.org"},
-]
-classifiers = [
-  "Development Status :: 4 - Beta",
-  "Programming Language :: Python"
-]
-
-dependencies = [
-  "httpx",
-  "gidgethub[httpx]>4.0.0",
-  "django>2.1; os_name != 'nt'",
-  "django>2.0; os_name == 'nt'"
-]
-
-[project.optional-dependencies]
-test = [
-  "pytest < 5.0.0",
-  "pytest-cov[all]"
-]
-
-[project.urls]
-homepage = "http://example.com"
-documentation = "http://readthedocs.org"
-repository = "http://github.com"
-changelog = "http://github.com/me/spam/blob/master/CHANGELOG.md"
-
-[project.scripts]
-spam-cli = "spam:main_cli"
-
-[project.gui-scripts]
-spam-gui = "spam:main_gui"
-
-[project.entry-points."spam.magical"]
-tomatoes = "spam:main_tomatoes"
-"""
-
-PEP621_INTERNATIONAL_EMAIL_EXAMPLE = """\
-[project]
-name = "spam"
-version = "2020.0.0"
-authors = [
-  {email = "hi@pradyunsg.me"},
-  {name = "Tzu-Ping Chung"}
-]
-maintainers = [
-  {name = "Степан Бандера", email = "криївка@оун-упа.укр"},
-]
-"""
-
-PEP621_EXAMPLE_SCRIPT = """
-def main_cli(): pass
-def main_gui(): pass
-def main_tomatoes(): pass
-"""
-
-
-def _pep621_example_project(
-    tmp_path,
-    readme="README.rst",
-    pyproject_text=PEP621_EXAMPLE,
-):
-    pyproject = tmp_path / "pyproject.toml"
-    text = pyproject_text
-    replacements = {'readme = "README.rst"': f'readme = "{readme}"'}
-    for orig, subst in replacements.items():
-        text = text.replace(orig, subst)
-    pyproject.write_text(text, encoding="utf-8")
-
-    (tmp_path / readme).write_text("hello world", encoding="utf-8")
-    (tmp_path / "LICENSE.txt").write_text("--- LICENSE stub ---", encoding="utf-8")
-    (tmp_path / "spam.py").write_text(PEP621_EXAMPLE_SCRIPT, encoding="utf-8")
-    return pyproject
-
-
-def test_pep621_example(tmp_path):
-    """Make sure the example in PEP 621 works"""
-    pyproject = _pep621_example_project(tmp_path)
-    dist = pyprojecttoml.apply_configuration(makedist(tmp_path), pyproject)
-    assert dist.metadata.license == "--- LICENSE stub ---"
-    assert set(dist.metadata.license_files) == {"LICENSE.txt"}
-
-
-@pytest.mark.parametrize(
-    ("readme", "ctype"),
-    [
-        ("Readme.txt", "text/plain"),
-        ("readme.md", "text/markdown"),
-        ("text.rst", "text/x-rst"),
-    ],
-)
-def test_readme_content_type(tmp_path, readme, ctype):
-    pyproject = _pep621_example_project(tmp_path, readme)
-    dist = pyprojecttoml.apply_configuration(makedist(tmp_path), pyproject)
-    assert dist.metadata.long_description_content_type == ctype
-
-
-def test_undefined_content_type(tmp_path):
-    pyproject = _pep621_example_project(tmp_path, "README.tex")
-    with pytest.raises(ValueError, match="Undefined content type for README.tex"):
-        pyprojecttoml.apply_configuration(makedist(tmp_path), pyproject)
-
-
-def test_no_explicit_content_type_for_missing_extension(tmp_path):
-    pyproject = _pep621_example_project(tmp_path, "README")
-    dist = pyprojecttoml.apply_configuration(makedist(tmp_path), pyproject)
-    assert dist.metadata.long_description_content_type is None
-
-
-@pytest.mark.parametrize(
-    ("pyproject_text", "expected_maintainers_meta_value"),
-    (
-        pytest.param(
-            PEP621_EXAMPLE,
-            (
-                'Brett Cannon , "John X. ÃørçeÄ" , '
-                'Γαμα ï­‡ æ± '
-            ),
-            id='non-international-emails',
-        ),
-        pytest.param(
-            PEP621_INTERNATIONAL_EMAIL_EXAMPLE,
-            'Степан Бандера <криївка@оун-упа.укр>',
-            marks=pytest.mark.xfail(
-                reason="CPython's `email.headerregistry.Address` only supports "
-                'RFC 5322, as of Nov 10, 2022 and latest Python 3.11.0',
-                strict=True,
-            ),
-            id='international-email',
-        ),
-    ),
-)
-def test_utf8_maintainer_in_metadata(  # issue-3663
-    expected_maintainers_meta_value,
-    pyproject_text,
-    tmp_path,
-):
-    pyproject = _pep621_example_project(
-        tmp_path,
-        "README",
-        pyproject_text=pyproject_text,
-    )
-    dist = pyprojecttoml.apply_configuration(makedist(tmp_path), pyproject)
-    assert dist.metadata.maintainer_email == expected_maintainers_meta_value
-    pkg_file = tmp_path / "PKG-FILE"
-    with open(pkg_file, "w", encoding="utf-8") as fh:
-        dist.metadata.write_pkg_file(fh)
-    content = pkg_file.read_text(encoding="utf-8")
-    assert f"Maintainer-email: {expected_maintainers_meta_value}" in content
-
-
-class TestLicenseFiles:
-    # TODO: After PEP 639 is accepted, we have to move the license-files
-    #       to the `project` table instead of `tool.setuptools`
-
-    def base_pyproject(self, tmp_path, additional_text):
-        pyproject = _pep621_example_project(tmp_path, "README")
-        text = pyproject.read_text(encoding="utf-8")
-
-        # Sanity-check
-        assert 'license = {file = "LICENSE.txt"}' in text
-        assert "[tool.setuptools]" not in text
-
-        text = f"{text}\n{additional_text}\n"
-        pyproject.write_text(text, encoding="utf-8")
-        return pyproject
-
-    def test_both_license_and_license_files_defined(self, tmp_path):
-        setuptools_config = '[tool.setuptools]\nlicense-files = ["_FILE*"]'
-        pyproject = self.base_pyproject(tmp_path, setuptools_config)
-
-        (tmp_path / "_FILE.txt").touch()
-        (tmp_path / "_FILE.rst").touch()
-
-        # Would normally match the `license_files` patterns, but we want to exclude it
-        # by being explicit. On the other hand, contents should be added to `license`
-        license = tmp_path / "LICENSE.txt"
-        license.write_text("LicenseRef-Proprietary\n", encoding="utf-8")
-
-        dist = pyprojecttoml.apply_configuration(makedist(tmp_path), pyproject)
-        assert set(dist.metadata.license_files) == {"_FILE.rst", "_FILE.txt"}
-        assert dist.metadata.license == "LicenseRef-Proprietary\n"
-
-    def test_default_patterns(self, tmp_path):
-        setuptools_config = '[tool.setuptools]\nzip-safe = false'
-        # ^ used just to trigger section validation
-        pyproject = self.base_pyproject(tmp_path, setuptools_config)
-
-        license_files = "LICENCE-a.html COPYING-abc.txt AUTHORS-xyz NOTICE,def".split()
-
-        for fname in license_files:
-            (tmp_path / fname).write_text(f"{fname}\n", encoding="utf-8")
-
-        dist = pyprojecttoml.apply_configuration(makedist(tmp_path), pyproject)
-        assert (tmp_path / "LICENSE.txt").exists()  # from base example
-        assert set(dist.metadata.license_files) == {*license_files, "LICENSE.txt"}
-
-
-class TestPyModules:
-    # https://github.com/pypa/setuptools/issues/4316
-
-    def dist(self, name):
-        toml_config = f"""
-        [project]
-        name = "test"
-        version = "42.0"
-        [tool.setuptools]
-        py-modules = [{name!r}]
-        """
-        pyproject = Path("pyproject.toml")
-        pyproject.write_text(cleandoc(toml_config), encoding="utf-8")
-        return pyprojecttoml.apply_configuration(Distribution({}), pyproject)
-
-    @pytest.mark.parametrize("module", ["pip-run", "abc-d.λ-xyz-e"])
-    def test_valid_module_name(self, tmp_path, monkeypatch, module):
-        monkeypatch.chdir(tmp_path)
-        assert module in self.dist(module).py_modules
-
-    @pytest.mark.parametrize("module", ["pip run", "-pip-run", "pip-run-stubs"])
-    def test_invalid_module_name(self, tmp_path, monkeypatch, module):
-        monkeypatch.chdir(tmp_path)
-        with pytest.raises(ValueError, match="py-modules"):
-            self.dist(module).py_modules
-
-
-class TestExtModules:
-    def test_pyproject_sets_attribute(self, tmp_path, monkeypatch):
-        monkeypatch.chdir(tmp_path)
-        pyproject = Path("pyproject.toml")
-        toml_config = """
-        [project]
-        name = "test"
-        version = "42.0"
-        [tool.setuptools]
-        ext-modules = [
-          {name = "my.ext", sources = ["hello.c", "world.c"]}
-        ]
-        """
-        pyproject.write_text(cleandoc(toml_config), encoding="utf-8")
-        with pytest.warns(pyprojecttoml._ExperimentalConfiguration):
-            dist = pyprojecttoml.apply_configuration(Distribution({}), pyproject)
-        assert len(dist.ext_modules) == 1
-        assert dist.ext_modules[0].name == "my.ext"
-        assert set(dist.ext_modules[0].sources) == {"hello.c", "world.c"}
-
-
-class TestDeprecatedFields:
-    def test_namespace_packages(self, tmp_path):
-        pyproject = tmp_path / "pyproject.toml"
-        config = """
-        [project]
-        name = "myproj"
-        version = "42"
-        [tool.setuptools]
-        namespace-packages = ["myproj.pkg"]
-        """
-        pyproject.write_text(cleandoc(config), encoding="utf-8")
-        with pytest.raises(RemovedConfigError, match="namespace-packages"):
-            pyprojecttoml.apply_configuration(makedist(tmp_path), pyproject)
-
-
-class TestPresetField:
-    def pyproject(self, tmp_path, dynamic, extra_content=""):
-        content = f"[project]\nname = 'proj'\ndynamic = {dynamic!r}\n"
-        if "version" not in dynamic:
-            content += "version = '42'\n"
-        file = tmp_path / "pyproject.toml"
-        file.write_text(content + extra_content, encoding="utf-8")
-        return file
-
-    @pytest.mark.parametrize(
-        ("attr", "field", "value"),
-        [
-            ("classifiers", "classifiers", ["Private :: Classifier"]),
-            ("entry_points", "scripts", {"console_scripts": ["foobar=foobar:main"]}),
-            ("entry_points", "gui-scripts", {"gui_scripts": ["bazquux=bazquux:main"]}),
-            pytest.param(
-                *("install_requires", "dependencies", ["six"]),
-                marks=[
-                    pytest.mark.filterwarnings("ignore:.*install_requires. overwritten")
-                ],
-            ),
-        ],
-    )
-    def test_not_listed_in_dynamic(self, tmp_path, attr, field, value):
-        """Setuptools cannot set a field if not listed in ``dynamic``"""
-        pyproject = self.pyproject(tmp_path, [])
-        dist = makedist(tmp_path, **{attr: value})
-        msg = re.compile(f"defined outside of `pyproject.toml`:.*{field}", re.S)
-        with pytest.warns(_MissingDynamic, match=msg):
-            dist = pyprojecttoml.apply_configuration(dist, pyproject)
-
-        dist_value = _some_attrgetter(f"metadata.{attr}", attr)(dist)
-        assert not dist_value
-
-    @pytest.mark.parametrize(
-        ("attr", "field", "value"),
-        [
-            ("install_requires", "dependencies", []),
-            ("extras_require", "optional-dependencies", {}),
-            ("install_requires", "dependencies", ["six"]),
-            ("classifiers", "classifiers", ["Private :: Classifier"]),
-        ],
-    )
-    def test_listed_in_dynamic(self, tmp_path, attr, field, value):
-        pyproject = self.pyproject(tmp_path, [field])
-        dist = makedist(tmp_path, **{attr: value})
-        dist = pyprojecttoml.apply_configuration(dist, pyproject)
-        dist_value = _some_attrgetter(f"metadata.{attr}", attr)(dist)
-        assert dist_value == value
-
-    def test_warning_overwritten_dependencies(self, tmp_path):
-        src = "[project]\nname='pkg'\nversion='0.1'\ndependencies=['click']\n"
-        pyproject = tmp_path / "pyproject.toml"
-        pyproject.write_text(src, encoding="utf-8")
-        dist = makedist(tmp_path, install_requires=["wheel"])
-        with pytest.warns(match="`install_requires` overwritten"):
-            dist = pyprojecttoml.apply_configuration(dist, pyproject)
-        assert "wheel" not in dist.install_requires
-
-    def test_optional_dependencies_dont_remove_env_markers(self, tmp_path):
-        """
-        Internally setuptools converts dependencies with markers to "extras".
-        If ``install_requires`` is given by ``setup.py``, we have to ensure that
-        applying ``optional-dependencies`` does not overwrite the mandatory
-        dependencies with markers (see #3204).
-        """
-        # If setuptools replace its internal mechanism that uses `requires.txt`
-        # this test has to be rewritten to adapt accordingly
-        extra = "\n[project.optional-dependencies]\nfoo = ['bar>1']\n"
-        pyproject = self.pyproject(tmp_path, ["dependencies"], extra)
-        install_req = ['importlib-resources (>=3.0.0) ; python_version < "3.7"']
-        dist = makedist(tmp_path, install_requires=install_req)
-        dist = pyprojecttoml.apply_configuration(dist, pyproject)
-        assert "foo" in dist.extras_require
-        egg_info = dist.get_command_obj("egg_info")
-        write_requirements(egg_info, tmp_path, tmp_path / "requires.txt")
-        reqs = (tmp_path / "requires.txt").read_text(encoding="utf-8")
-        assert "importlib-resources" in reqs
-        assert "bar" in reqs
-        assert ':python_version < "3.7"' in reqs
-
-    @pytest.mark.parametrize(
-        ("field", "group"),
-        [("scripts", "console_scripts"), ("gui-scripts", "gui_scripts")],
-    )
-    @pytest.mark.filterwarnings("error")
-    def test_scripts_dont_require_dynamic_entry_points(self, tmp_path, field, group):
-        # Issue 3862
-        pyproject = self.pyproject(tmp_path, [field])
-        dist = makedist(tmp_path, entry_points={group: ["foobar=foobar:main"]})
-        dist = pyprojecttoml.apply_configuration(dist, pyproject)
-        assert group in dist.entry_points
-
-
-class TestMeta:
-    def test_example_file_in_sdist(self, setuptools_sdist):
-        """Meta test to ensure tests can run from sdist"""
-        with tarfile.open(setuptools_sdist) as tar:
-            assert any(name.endswith(EXAMPLES_FILE) for name in tar.getnames())
-
-
-class TestInteropCommandLineParsing:
-    def test_version(self, tmp_path, monkeypatch, capsys):
-        # See pypa/setuptools#4047
-        # This test can be removed once the CLI interface of setup.py is removed
-        monkeypatch.chdir(tmp_path)
-        toml_config = """
-        [project]
-        name = "test"
-        version = "42.0"
-        """
-        pyproject = Path(tmp_path, "pyproject.toml")
-        pyproject.write_text(cleandoc(toml_config), encoding="utf-8")
-        opts = {"script_args": ["--version"]}
-        dist = pyprojecttoml.apply_configuration(Distribution(opts), pyproject)
-        dist.parse_command_line()  # <-- there should be no exception here.
-        captured = capsys.readouterr()
-        assert "42.0" in captured.out
-
-
-# --- Auxiliary Functions ---
-
-
-def core_metadata(dist) -> str:
-    with io.StringIO() as buffer:
-        dist.metadata.write_pkg_file(buffer)
-        pkg_file_txt = buffer.getvalue()
-
-    # Make sure core metadata is valid
-    Metadata.from_email(pkg_file_txt, validate=True)  # can raise exceptions
-
-    skip_prefixes: tuple[str, ...] = ()
-    skip_lines = set()
-    # ---- DIFF NORMALISATION ----
-    # PEP 621 is very particular about author/maintainer metadata conversion, so skip
-    skip_prefixes += ("Author:", "Author-email:", "Maintainer:", "Maintainer-email:")
-    # May be redundant with Home-page
-    skip_prefixes += ("Project-URL: Homepage,", "Home-page:")
-    # May be missing in original (relying on default) but backfilled in the TOML
-    skip_prefixes += ("Description-Content-Type:",)
-    # Remove empty lines
-    skip_lines.add("")
-
-    result = []
-    for line in pkg_file_txt.splitlines():
-        if line.startswith(skip_prefixes) or line in skip_lines:
-            continue
-        result.append(line + "\n")
-
-    return "".join(result)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_expand.py b/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_expand.py
deleted file mode 100644
index fa9122b3..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_expand.py
+++ /dev/null
@@ -1,221 +0,0 @@
-import os
-import sys
-from pathlib import Path
-
-import pytest
-
-from setuptools.config import expand
-from setuptools.discovery import find_package_path
-
-from distutils.errors import DistutilsOptionError
-
-
-def write_files(files, root_dir):
-    for file, content in files.items():
-        path = root_dir / file
-        path.parent.mkdir(exist_ok=True, parents=True)
-        path.write_text(content, encoding="utf-8")
-
-
-def test_glob_relative(tmp_path, monkeypatch):
-    files = {
-        "dir1/dir2/dir3/file1.txt",
-        "dir1/dir2/file2.txt",
-        "dir1/file3.txt",
-        "a.ini",
-        "b.ini",
-        "dir1/c.ini",
-        "dir1/dir2/a.ini",
-    }
-
-    write_files({k: "" for k in files}, tmp_path)
-    patterns = ["**/*.txt", "[ab].*", "**/[ac].ini"]
-    monkeypatch.chdir(tmp_path)
-    assert set(expand.glob_relative(patterns)) == files
-    # Make sure the same APIs work outside cwd
-    assert set(expand.glob_relative(patterns, tmp_path)) == files
-
-
-def test_read_files(tmp_path, monkeypatch):
-    dir_ = tmp_path / "dir_"
-    (tmp_path / "_dir").mkdir(exist_ok=True)
-    (tmp_path / "a.txt").touch()
-    files = {"a.txt": "a", "dir1/b.txt": "b", "dir1/dir2/c.txt": "c"}
-    write_files(files, dir_)
-
-    secrets = Path(str(dir_) + "secrets")
-    secrets.mkdir(exist_ok=True)
-    write_files({"secrets.txt": "secret keys"}, secrets)
-
-    with monkeypatch.context() as m:
-        m.chdir(dir_)
-        assert expand.read_files(list(files)) == "a\nb\nc"
-
-        cannot_access_msg = r"Cannot access '.*\.\..a\.txt'"
-        with pytest.raises(DistutilsOptionError, match=cannot_access_msg):
-            expand.read_files(["../a.txt"])
-
-        cannot_access_secrets_msg = r"Cannot access '.*secrets\.txt'"
-        with pytest.raises(DistutilsOptionError, match=cannot_access_secrets_msg):
-            expand.read_files(["../dir_secrets/secrets.txt"])
-
-    # Make sure the same APIs work outside cwd
-    assert expand.read_files(list(files), dir_) == "a\nb\nc"
-    with pytest.raises(DistutilsOptionError, match=cannot_access_msg):
-        expand.read_files(["../a.txt"], dir_)
-
-
-class TestReadAttr:
-    @pytest.mark.parametrize(
-        "example",
-        [
-            # No cookie means UTF-8:
-            b"__version__ = '\xc3\xa9'\nraise SystemExit(1)\n",
-            # If a cookie is present, honor it:
-            b"# -*- coding: utf-8 -*-\n__version__ = '\xc3\xa9'\nraise SystemExit(1)\n",
-            b"# -*- coding: latin1 -*-\n__version__ = '\xe9'\nraise SystemExit(1)\n",
-        ],
-    )
-    def test_read_attr_encoding_cookie(self, example, tmp_path):
-        (tmp_path / "mod.py").write_bytes(example)
-        assert expand.read_attr('mod.__version__', root_dir=tmp_path) == 'é'
-
-    def test_read_attr(self, tmp_path, monkeypatch):
-        files = {
-            "pkg/__init__.py": "",
-            "pkg/sub/__init__.py": "VERSION = '0.1.1'",
-            "pkg/sub/mod.py": (
-                "VALUES = {'a': 0, 'b': {42}, 'c': (0, 1, 1)}\nraise SystemExit(1)"
-            ),
-        }
-        write_files(files, tmp_path)
-
-        with monkeypatch.context() as m:
-            m.chdir(tmp_path)
-            # Make sure it can read the attr statically without evaluating the module
-            assert expand.read_attr('pkg.sub.VERSION') == '0.1.1'
-            values = expand.read_attr('lib.mod.VALUES', {'lib': 'pkg/sub'})
-
-        assert values['a'] == 0
-        assert values['b'] == {42}
-
-        # Make sure the same APIs work outside cwd
-        assert expand.read_attr('pkg.sub.VERSION', root_dir=tmp_path) == '0.1.1'
-        values = expand.read_attr('lib.mod.VALUES', {'lib': 'pkg/sub'}, tmp_path)
-        assert values['c'] == (0, 1, 1)
-
-    @pytest.mark.parametrize(
-        "example",
-        [
-            "VERSION: str\nVERSION = '0.1.1'\nraise SystemExit(1)\n",
-            "VERSION: str = '0.1.1'\nraise SystemExit(1)\n",
-        ],
-    )
-    def test_read_annotated_attr(self, tmp_path, example):
-        files = {
-            "pkg/__init__.py": "",
-            "pkg/sub/__init__.py": example,
-        }
-        write_files(files, tmp_path)
-        # Make sure this attribute can be read statically
-        assert expand.read_attr('pkg.sub.VERSION', root_dir=tmp_path) == '0.1.1'
-
-    def test_import_order(self, tmp_path):
-        """
-        Sometimes the import machinery will import the parent package of a nested
-        module, which triggers side-effects and might create problems (see issue #3176)
-
-        ``read_attr`` should bypass these limitations by resolving modules statically
-        (via ast.literal_eval).
-        """
-        files = {
-            "src/pkg/__init__.py": "from .main import func\nfrom .about import version",
-            "src/pkg/main.py": "import super_complicated_dep\ndef func(): return 42",
-            "src/pkg/about.py": "version = '42'",
-        }
-        write_files(files, tmp_path)
-        attr_desc = "pkg.about.version"
-        package_dir = {"": "src"}
-        # `import super_complicated_dep` should not run, otherwise the build fails
-        assert expand.read_attr(attr_desc, package_dir, tmp_path) == "42"
-
-
-@pytest.mark.parametrize(
-    ("package_dir", "file", "module", "return_value"),
-    [
-        ({"": "src"}, "src/pkg/main.py", "pkg.main", 42),
-        ({"pkg": "lib"}, "lib/main.py", "pkg.main", 13),
-        ({}, "single_module.py", "single_module", 70),
-        ({}, "flat_layout/pkg.py", "flat_layout.pkg", 836),
-    ],
-)
-def test_resolve_class(monkeypatch, tmp_path, package_dir, file, module, return_value):
-    monkeypatch.setattr(sys, "modules", {})  # reproducibility
-    files = {file: f"class Custom:\n    def testing(self): return {return_value}"}
-    write_files(files, tmp_path)
-    cls = expand.resolve_class(f"{module}.Custom", package_dir, tmp_path)
-    assert cls().testing() == return_value
-
-
-@pytest.mark.parametrize(
-    ("args", "pkgs"),
-    [
-        ({"where": ["."], "namespaces": False}, {"pkg", "other"}),
-        ({"where": [".", "dir1"], "namespaces": False}, {"pkg", "other", "dir2"}),
-        ({"namespaces": True}, {"pkg", "other", "dir1", "dir1.dir2"}),
-        ({}, {"pkg", "other", "dir1", "dir1.dir2"}),  # default value for `namespaces`
-    ],
-)
-def test_find_packages(tmp_path, args, pkgs):
-    files = {
-        "pkg/__init__.py",
-        "other/__init__.py",
-        "dir1/dir2/__init__.py",
-    }
-    write_files({k: "" for k in files}, tmp_path)
-
-    package_dir = {}
-    kwargs = {"root_dir": tmp_path, "fill_package_dir": package_dir, **args}
-    where = kwargs.get("where", ["."])
-    assert set(expand.find_packages(**kwargs)) == pkgs
-    for pkg in pkgs:
-        pkg_path = find_package_path(pkg, package_dir, tmp_path)
-        assert os.path.exists(pkg_path)
-
-    # Make sure the same APIs work outside cwd
-    where = [
-        str((tmp_path / p).resolve()).replace(os.sep, "/")  # ensure posix-style paths
-        for p in args.pop("where", ["."])
-    ]
-
-    assert set(expand.find_packages(where=where, **args)) == pkgs
-
-
-@pytest.mark.parametrize(
-    ("files", "where", "expected_package_dir"),
-    [
-        (["pkg1/__init__.py", "pkg1/other.py"], ["."], {}),
-        (["pkg1/__init__.py", "pkg2/__init__.py"], ["."], {}),
-        (["src/pkg1/__init__.py", "src/pkg1/other.py"], ["src"], {"": "src"}),
-        (["src/pkg1/__init__.py", "src/pkg2/__init__.py"], ["src"], {"": "src"}),
-        (
-            ["src1/pkg1/__init__.py", "src2/pkg2/__init__.py"],
-            ["src1", "src2"],
-            {"pkg1": "src1/pkg1", "pkg2": "src2/pkg2"},
-        ),
-        (
-            ["src/pkg1/__init__.py", "pkg2/__init__.py"],
-            ["src", "."],
-            {"pkg1": "src/pkg1"},
-        ),
-    ],
-)
-def test_fill_package_dir(tmp_path, files, where, expected_package_dir):
-    write_files({k: "" for k in files}, tmp_path)
-    pkg_dir = {}
-    kwargs = {"root_dir": tmp_path, "fill_package_dir": pkg_dir, "namespaces": False}
-    pkgs = expand.find_packages(where=where, **kwargs)
-    assert set(pkg_dir.items()) == set(expected_package_dir.items())
-    for pkg in pkgs:
-        pkg_path = find_package_path(pkg, pkg_dir, tmp_path)
-        assert os.path.exists(pkg_path)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_pyprojecttoml.py b/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_pyprojecttoml.py
deleted file mode 100644
index db40fcd2..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_pyprojecttoml.py
+++ /dev/null
@@ -1,396 +0,0 @@
-import re
-from configparser import ConfigParser
-from inspect import cleandoc
-
-import jaraco.path
-import pytest
-import tomli_w
-from path import Path
-
-import setuptools  # noqa: F401 # force distutils.core to be patched
-from setuptools.config.pyprojecttoml import (
-    _ToolsTypoInMetadata,
-    apply_configuration,
-    expand_configuration,
-    read_configuration,
-    validate,
-)
-from setuptools.dist import Distribution
-from setuptools.errors import OptionError
-
-import distutils.core
-
-EXAMPLE = """
-[project]
-name = "myproj"
-keywords = ["some", "key", "words"]
-dynamic = ["version", "readme"]
-requires-python = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
-dependencies = [
-    'importlib-metadata>=0.12;python_version<"3.8"',
-    'importlib-resources>=1.0;python_version<"3.7"',
-    'pathlib2>=2.3.3,<3;python_version < "3.4" and sys.platform != "win32"',
-]
-
-[project.optional-dependencies]
-docs = [
-    "sphinx>=3",
-    "sphinx-argparse>=0.2.5",
-    "sphinx-rtd-theme>=0.4.3",
-]
-testing = [
-    "pytest>=1",
-    "coverage>=3,<5",
-]
-
-[project.scripts]
-exec = "pkg.__main__:exec"
-
-[build-system]
-requires = ["setuptools", "wheel"]
-build-backend = "setuptools.build_meta"
-
-[tool.setuptools]
-package-dir = {"" = "src"}
-zip-safe = true
-platforms = ["any"]
-
-[tool.setuptools.packages.find]
-where = ["src"]
-
-[tool.setuptools.cmdclass]
-sdist = "pkg.mod.CustomSdist"
-
-[tool.setuptools.dynamic.version]
-attr = "pkg.__version__.VERSION"
-
-[tool.setuptools.dynamic.readme]
-file = ["README.md"]
-content-type = "text/markdown"
-
-[tool.setuptools.package-data]
-"*" = ["*.txt"]
-
-[tool.setuptools.data-files]
-"data" = ["_files/*.txt"]
-
-[tool.distutils.sdist]
-formats = "gztar"
-
-[tool.distutils.bdist_wheel]
-universal = true
-"""
-
-
-def create_example(path, pkg_root):
-    files = {
-        "pyproject.toml": EXAMPLE,
-        "README.md": "hello world",
-        "_files": {
-            "file.txt": "",
-        },
-    }
-    packages = {
-        "pkg": {
-            "__init__.py": "",
-            "mod.py": "class CustomSdist: pass",
-            "__version__.py": "VERSION = (3, 10)",
-            "__main__.py": "def exec(): print('hello')",
-        },
-    }
-
-    assert pkg_root  # Meta-test: cannot be empty string.
-
-    if pkg_root == ".":
-        files = {**files, **packages}
-        # skip other files: flat-layout will raise error for multi-package dist
-    else:
-        # Use this opportunity to ensure namespaces are discovered
-        files[pkg_root] = {**packages, "other": {"nested": {"__init__.py": ""}}}
-
-    jaraco.path.build(files, prefix=path)
-
-
-def verify_example(config, path, pkg_root):
-    pyproject = path / "pyproject.toml"
-    pyproject.write_text(tomli_w.dumps(config), encoding="utf-8")
-    expanded = expand_configuration(config, path)
-    expanded_project = expanded["project"]
-    assert read_configuration(pyproject, expand=True) == expanded
-    assert expanded_project["version"] == "3.10"
-    assert expanded_project["readme"]["text"] == "hello world"
-    assert "packages" in expanded["tool"]["setuptools"]
-    if pkg_root == ".":
-        # Auto-discovery will raise error for multi-package dist
-        assert set(expanded["tool"]["setuptools"]["packages"]) == {"pkg"}
-    else:
-        assert set(expanded["tool"]["setuptools"]["packages"]) == {
-            "pkg",
-            "other",
-            "other.nested",
-        }
-    assert expanded["tool"]["setuptools"]["include-package-data"] is True
-    assert "" in expanded["tool"]["setuptools"]["package-data"]
-    assert "*" not in expanded["tool"]["setuptools"]["package-data"]
-    assert expanded["tool"]["setuptools"]["data-files"] == [
-        ("data", ["_files/file.txt"])
-    ]
-
-
-def test_read_configuration(tmp_path):
-    create_example(tmp_path, "src")
-    pyproject = tmp_path / "pyproject.toml"
-
-    config = read_configuration(pyproject, expand=False)
-    assert config["project"].get("version") is None
-    assert config["project"].get("readme") is None
-
-    verify_example(config, tmp_path, "src")
-
-
-@pytest.mark.parametrize(
-    ("pkg_root", "opts"),
-    [
-        (".", {}),
-        ("src", {}),
-        ("lib", {"packages": {"find": {"where": ["lib"]}}}),
-    ],
-)
-def test_discovered_package_dir_with_attr_directive_in_config(tmp_path, pkg_root, opts):
-    create_example(tmp_path, pkg_root)
-
-    pyproject = tmp_path / "pyproject.toml"
-
-    config = read_configuration(pyproject, expand=False)
-    assert config["project"].get("version") is None
-    assert config["project"].get("readme") is None
-    config["tool"]["setuptools"].pop("packages", None)
-    config["tool"]["setuptools"].pop("package-dir", None)
-
-    config["tool"]["setuptools"].update(opts)
-    verify_example(config, tmp_path, pkg_root)
-
-
-ENTRY_POINTS = {
-    "console_scripts": {"a": "mod.a:func"},
-    "gui_scripts": {"b": "mod.b:func"},
-    "other": {"c": "mod.c:func [extra]"},
-}
-
-
-class TestEntryPoints:
-    def write_entry_points(self, tmp_path):
-        entry_points = ConfigParser()
-        entry_points.read_dict(ENTRY_POINTS)
-        with open(tmp_path / "entry-points.txt", "w", encoding="utf-8") as f:
-            entry_points.write(f)
-
-    def pyproject(self, dynamic=None):
-        project = {"dynamic": dynamic or ["scripts", "gui-scripts", "entry-points"]}
-        tool = {"dynamic": {"entry-points": {"file": "entry-points.txt"}}}
-        return {"project": project, "tool": {"setuptools": tool}}
-
-    def test_all_listed_in_dynamic(self, tmp_path):
-        self.write_entry_points(tmp_path)
-        expanded = expand_configuration(self.pyproject(), tmp_path)
-        expanded_project = expanded["project"]
-        assert len(expanded_project["scripts"]) == 1
-        assert expanded_project["scripts"]["a"] == "mod.a:func"
-        assert len(expanded_project["gui-scripts"]) == 1
-        assert expanded_project["gui-scripts"]["b"] == "mod.b:func"
-        assert len(expanded_project["entry-points"]) == 1
-        assert expanded_project["entry-points"]["other"]["c"] == "mod.c:func [extra]"
-
-    @pytest.mark.parametrize("missing_dynamic", ("scripts", "gui-scripts"))
-    def test_scripts_not_listed_in_dynamic(self, tmp_path, missing_dynamic):
-        self.write_entry_points(tmp_path)
-        dynamic = {"scripts", "gui-scripts", "entry-points"} - {missing_dynamic}
-
-        msg = f"defined outside of `pyproject.toml`:.*{missing_dynamic}"
-        with pytest.raises(OptionError, match=re.compile(msg, re.S)):
-            expand_configuration(self.pyproject(dynamic), tmp_path)
-
-
-class TestClassifiers:
-    def test_dynamic(self, tmp_path):
-        # Let's create a project example that has dynamic classifiers
-        # coming from a txt file.
-        create_example(tmp_path, "src")
-        classifiers = cleandoc(
-            """
-            Framework :: Flask
-            Programming Language :: Haskell
-            """
-        )
-        (tmp_path / "classifiers.txt").write_text(classifiers, encoding="utf-8")
-
-        pyproject = tmp_path / "pyproject.toml"
-        config = read_configuration(pyproject, expand=False)
-        dynamic = config["project"]["dynamic"]
-        config["project"]["dynamic"] = list({*dynamic, "classifiers"})
-        dynamic_config = config["tool"]["setuptools"]["dynamic"]
-        dynamic_config["classifiers"] = {"file": "classifiers.txt"}
-
-        # When the configuration is expanded,
-        # each line of the file should be an different classifier.
-        validate(config, pyproject)
-        expanded = expand_configuration(config, tmp_path)
-
-        assert set(expanded["project"]["classifiers"]) == {
-            "Framework :: Flask",
-            "Programming Language :: Haskell",
-        }
-
-    def test_dynamic_without_config(self, tmp_path):
-        config = """
-        [project]
-        name = "myproj"
-        version = '42'
-        dynamic = ["classifiers"]
-        """
-
-        pyproject = tmp_path / "pyproject.toml"
-        pyproject.write_text(cleandoc(config), encoding="utf-8")
-        with pytest.raises(OptionError, match="No configuration .* .classifiers."):
-            read_configuration(pyproject)
-
-    def test_dynamic_readme_from_setup_script_args(self, tmp_path):
-        config = """
-        [project]
-        name = "myproj"
-        version = '42'
-        dynamic = ["readme"]
-        """
-        pyproject = tmp_path / "pyproject.toml"
-        pyproject.write_text(cleandoc(config), encoding="utf-8")
-        dist = Distribution(attrs={"long_description": "42"})
-        # No error should occur because of missing `readme`
-        dist = apply_configuration(dist, pyproject)
-        assert dist.metadata.long_description == "42"
-
-    def test_dynamic_without_file(self, tmp_path):
-        config = """
-        [project]
-        name = "myproj"
-        version = '42'
-        dynamic = ["classifiers"]
-
-        [tool.setuptools.dynamic]
-        classifiers = {file = ["classifiers.txt"]}
-        """
-
-        pyproject = tmp_path / "pyproject.toml"
-        pyproject.write_text(cleandoc(config), encoding="utf-8")
-        with pytest.warns(UserWarning, match="File .*classifiers.txt. cannot be found"):
-            expanded = read_configuration(pyproject)
-        assert "classifiers" not in expanded["project"]
-
-
-@pytest.mark.parametrize(
-    "example",
-    (
-        """
-        [project]
-        name = "myproj"
-        version = "1.2"
-
-        [my-tool.that-disrespect.pep518]
-        value = 42
-        """,
-    ),
-)
-def test_ignore_unrelated_config(tmp_path, example):
-    pyproject = tmp_path / "pyproject.toml"
-    pyproject.write_text(cleandoc(example), encoding="utf-8")
-
-    # Make sure no error is raised due to 3rd party configs in pyproject.toml
-    assert read_configuration(pyproject) is not None
-
-
-@pytest.mark.parametrize(
-    ("example", "error_msg"),
-    [
-        (
-            """
-            [project]
-            name = "myproj"
-            version = "1.2"
-            requires = ['pywin32; platform_system=="Windows"' ]
-            """,
-            "configuration error: .project. must not contain ..requires.. properties",
-        ),
-    ],
-)
-def test_invalid_example(tmp_path, example, error_msg):
-    pyproject = tmp_path / "pyproject.toml"
-    pyproject.write_text(cleandoc(example), encoding="utf-8")
-
-    pattern = re.compile(f"invalid pyproject.toml.*{error_msg}.*", re.M | re.S)
-    with pytest.raises(ValueError, match=pattern):
-        read_configuration(pyproject)
-
-
-@pytest.mark.parametrize("config", ("", "[tool.something]\nvalue = 42"))
-def test_empty(tmp_path, config):
-    pyproject = tmp_path / "pyproject.toml"
-    pyproject.write_text(config, encoding="utf-8")
-
-    # Make sure no error is raised
-    assert read_configuration(pyproject) == {}
-
-
-@pytest.mark.parametrize("config", ("[project]\nname = 'myproj'\nversion='42'\n",))
-def test_include_package_data_by_default(tmp_path, config):
-    """Builds with ``pyproject.toml`` should consider ``include-package-data=True`` as
-    default.
-    """
-    pyproject = tmp_path / "pyproject.toml"
-    pyproject.write_text(config, encoding="utf-8")
-
-    config = read_configuration(pyproject)
-    assert config["tool"]["setuptools"]["include-package-data"] is True
-
-
-def test_include_package_data_in_setuppy(tmp_path):
-    """Builds with ``pyproject.toml`` should consider ``include_package_data`` set in
-    ``setup.py``.
-
-    See https://github.com/pypa/setuptools/issues/3197#issuecomment-1079023889
-    """
-    files = {
-        "pyproject.toml": "[project]\nname = 'myproj'\nversion='42'\n",
-        "setup.py": "__import__('setuptools').setup(include_package_data=False)",
-    }
-    jaraco.path.build(files, prefix=tmp_path)
-
-    with Path(tmp_path):
-        dist = distutils.core.run_setup("setup.py", {}, stop_after="config")
-
-    assert dist.get_name() == "myproj"
-    assert dist.get_version() == "42"
-    assert dist.include_package_data is False
-
-
-def test_warn_tools_typo(tmp_path):
-    """Test that the common ``tools.setuptools`` typo in ``pyproject.toml`` issues a warning
-
-    See https://github.com/pypa/setuptools/issues/4150
-    """
-    config = """
-    [build-system]
-    requires = ["setuptools"]
-    build-backend = "setuptools.build_meta"
-
-    [project]
-    name = "myproj"
-    version = '42'
-
-    [tools.setuptools]
-    packages = ["package"]
-    """
-
-    pyproject = tmp_path / "pyproject.toml"
-    pyproject.write_text(cleandoc(config), encoding="utf-8")
-
-    with pytest.warns(_ToolsTypoInMetadata):
-        read_configuration(pyproject)
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py b/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py
deleted file mode 100644
index e42f28ff..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_pyprojecttoml_dynamic_deps.py
+++ /dev/null
@@ -1,109 +0,0 @@
-from inspect import cleandoc
-
-import pytest
-from jaraco import path
-
-from setuptools.config.pyprojecttoml import apply_configuration
-from setuptools.dist import Distribution
-from setuptools.warnings import SetuptoolsWarning
-
-
-def test_dynamic_dependencies(tmp_path):
-    files = {
-        "requirements.txt": "six\n  # comment\n",
-        "pyproject.toml": cleandoc(
-            """
-            [project]
-            name = "myproj"
-            version = "1.0"
-            dynamic = ["dependencies"]
-
-            [build-system]
-            requires = ["setuptools", "wheel"]
-            build-backend = "setuptools.build_meta"
-
-            [tool.setuptools.dynamic.dependencies]
-            file = ["requirements.txt"]
-            """
-        ),
-    }
-    path.build(files, prefix=tmp_path)
-    dist = Distribution()
-    dist = apply_configuration(dist, tmp_path / "pyproject.toml")
-    assert dist.install_requires == ["six"]
-
-
-def test_dynamic_optional_dependencies(tmp_path):
-    files = {
-        "requirements-docs.txt": "sphinx\n  # comment\n",
-        "pyproject.toml": cleandoc(
-            """
-            [project]
-            name = "myproj"
-            version = "1.0"
-            dynamic = ["optional-dependencies"]
-
-            [tool.setuptools.dynamic.optional-dependencies.docs]
-            file = ["requirements-docs.txt"]
-
-            [build-system]
-            requires = ["setuptools", "wheel"]
-            build-backend = "setuptools.build_meta"
-            """
-        ),
-    }
-    path.build(files, prefix=tmp_path)
-    dist = Distribution()
-    dist = apply_configuration(dist, tmp_path / "pyproject.toml")
-    assert dist.extras_require == {"docs": ["sphinx"]}
-
-
-def test_mixed_dynamic_optional_dependencies(tmp_path):
-    """
-    Test that if PEP 621 was loosened to allow mixing of dynamic and static
-    configurations in the case of fields containing sub-fields (groups),
-    things would work out.
-    """
-    files = {
-        "requirements-images.txt": "pillow~=42.0\n  # comment\n",
-        "pyproject.toml": cleandoc(
-            """
-            [project]
-            name = "myproj"
-            version = "1.0"
-            dynamic = ["optional-dependencies"]
-
-            [project.optional-dependencies]
-            docs = ["sphinx"]
-
-            [tool.setuptools.dynamic.optional-dependencies.images]
-            file = ["requirements-images.txt"]
-            """
-        ),
-    }
-
-    path.build(files, prefix=tmp_path)
-    pyproject = tmp_path / "pyproject.toml"
-    with pytest.raises(ValueError, match="project.optional-dependencies"):
-        apply_configuration(Distribution(), pyproject)
-
-
-def test_mixed_extras_require_optional_dependencies(tmp_path):
-    files = {
-        "pyproject.toml": cleandoc(
-            """
-            [project]
-            name = "myproj"
-            version = "1.0"
-            optional-dependencies.docs = ["sphinx"]
-            """
-        ),
-    }
-
-    path.build(files, prefix=tmp_path)
-    pyproject = tmp_path / "pyproject.toml"
-
-    with pytest.warns(SetuptoolsWarning, match=".extras_require. overwritten"):
-        dist = Distribution({"extras_require": {"hello": ["world"]}})
-        dist = apply_configuration(dist, pyproject)
-        assert dist.extras_require == {"docs": ["sphinx"]}
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_setupcfg.py b/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_setupcfg.py
deleted file mode 100644
index b31118c0..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/config/test_setupcfg.py
+++ /dev/null
@@ -1,965 +0,0 @@
-import configparser
-import contextlib
-import inspect
-from pathlib import Path
-from unittest.mock import Mock, patch
-
-import pytest
-from packaging.requirements import InvalidRequirement
-
-from setuptools.config.setupcfg import ConfigHandler, Target, read_configuration
-from setuptools.dist import Distribution, _Distribution
-from setuptools.warnings import SetuptoolsDeprecationWarning
-
-from ..textwrap import DALS
-
-from distutils.errors import DistutilsFileError, DistutilsOptionError
-
-
-class ErrConfigHandler(ConfigHandler[Target]):
-    """Erroneous handler. Fails to implement required methods."""
-
-    section_prefix = "**err**"
-
-
-def make_package_dir(name, base_dir, ns=False):
-    dir_package = base_dir
-    for dir_name in name.split('/'):
-        dir_package = dir_package.mkdir(dir_name)
-    init_file = None
-    if not ns:
-        init_file = dir_package.join('__init__.py')
-        init_file.write('')
-    return dir_package, init_file
-
-
-def fake_env(
-    tmpdir, setup_cfg, setup_py=None, encoding='ascii', package_path='fake_package'
-):
-    if setup_py is None:
-        setup_py = 'from setuptools import setup\nsetup()\n'
-
-    tmpdir.join('setup.py').write(setup_py)
-    config = tmpdir.join('setup.cfg')
-    config.write(setup_cfg.encode(encoding), mode='wb')
-
-    package_dir, init_file = make_package_dir(package_path, tmpdir)
-
-    init_file.write(
-        'VERSION = (1, 2, 3)\n'
-        '\n'
-        'VERSION_MAJOR = 1'
-        '\n'
-        'def get_version():\n'
-        '    return [3, 4, 5, "dev"]\n'
-        '\n'
-    )
-
-    return package_dir, config
-
-
-@contextlib.contextmanager
-def get_dist(tmpdir, kwargs_initial=None, parse=True):
-    kwargs_initial = kwargs_initial or {}
-
-    with tmpdir.as_cwd():
-        dist = Distribution(kwargs_initial)
-        dist.script_name = 'setup.py'
-        parse and dist.parse_config_files()
-
-        yield dist
-
-
-def test_parsers_implemented():
-    with pytest.raises(NotImplementedError):
-        handler = ErrConfigHandler(None, {}, False, Mock())
-        handler.parsers
-
-
-class TestConfigurationReader:
-    def test_basic(self, tmpdir):
-        _, config = fake_env(
-            tmpdir,
-            '[metadata]\n'
-            'version = 10.1.1\n'
-            'keywords = one, two\n'
-            '\n'
-            '[options]\n'
-            'scripts = bin/a.py, bin/b.py\n',
-        )
-        config_dict = read_configuration('%s' % config)
-        assert config_dict['metadata']['version'] == '10.1.1'
-        assert config_dict['metadata']['keywords'] == ['one', 'two']
-        assert config_dict['options']['scripts'] == ['bin/a.py', 'bin/b.py']
-
-    def test_no_config(self, tmpdir):
-        with pytest.raises(DistutilsFileError):
-            read_configuration('%s' % tmpdir.join('setup.cfg'))
-
-    def test_ignore_errors(self, tmpdir):
-        _, config = fake_env(
-            tmpdir,
-            '[metadata]\nversion = attr: none.VERSION\nkeywords = one, two\n',
-        )
-        with pytest.raises(ImportError):
-            read_configuration('%s' % config)
-
-        config_dict = read_configuration('%s' % config, ignore_option_errors=True)
-
-        assert config_dict['metadata']['keywords'] == ['one', 'two']
-        assert 'version' not in config_dict['metadata']
-
-        config.remove()
-
-
-class TestMetadata:
-    def test_basic(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[metadata]\n'
-            'version = 10.1.1\n'
-            'description = Some description\n'
-            'long_description_content_type = text/something\n'
-            'long_description = file: README\n'
-            'name = fake_name\n'
-            'keywords = one, two\n'
-            'provides = package, package.sub\n'
-            'license = otherlic\n'
-            'download_url = http://test.test.com/test/\n'
-            'maintainer_email = test@test.com\n',
-        )
-
-        tmpdir.join('README').write('readme contents\nline2')
-
-        meta_initial = {
-            # This will be used so `otherlic` won't replace it.
-            'license': 'BSD 3-Clause License',
-        }
-
-        with get_dist(tmpdir, meta_initial) as dist:
-            metadata = dist.metadata
-
-            assert metadata.version == '10.1.1'
-            assert metadata.description == 'Some description'
-            assert metadata.long_description_content_type == 'text/something'
-            assert metadata.long_description == 'readme contents\nline2'
-            assert metadata.provides == ['package', 'package.sub']
-            assert metadata.license == 'BSD 3-Clause License'
-            assert metadata.name == 'fake_name'
-            assert metadata.keywords == ['one', 'two']
-            assert metadata.download_url == 'http://test.test.com/test/'
-            assert metadata.maintainer_email == 'test@test.com'
-
-    def test_license_cfg(self, tmpdir):
-        fake_env(
-            tmpdir,
-            DALS(
-                """
-            [metadata]
-            name=foo
-            version=0.0.1
-            license=Apache 2.0
-            """
-            ),
-        )
-
-        with get_dist(tmpdir) as dist:
-            metadata = dist.metadata
-
-            assert metadata.name == "foo"
-            assert metadata.version == "0.0.1"
-            assert metadata.license == "Apache 2.0"
-
-    def test_file_mixed(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[metadata]\nlong_description = file: README.rst, CHANGES.rst\n\n',
-        )
-
-        tmpdir.join('README.rst').write('readme contents\nline2')
-        tmpdir.join('CHANGES.rst').write('changelog contents\nand stuff')
-
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.long_description == (
-                'readme contents\nline2\nchangelog contents\nand stuff'
-            )
-
-    def test_file_sandboxed(self, tmpdir):
-        tmpdir.ensure("README")
-        project = tmpdir.join('depth1', 'depth2')
-        project.ensure(dir=True)
-        fake_env(project, '[metadata]\nlong_description = file: ../../README\n')
-
-        with get_dist(project, parse=False) as dist:
-            with pytest.raises(DistutilsOptionError):
-                dist.parse_config_files()  # file: out of sandbox
-
-    def test_aliases(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[metadata]\n'
-            'author_email = test@test.com\n'
-            'home_page = http://test.test.com/test/\n'
-            'summary = Short summary\n'
-            'platform = a, b\n'
-            'classifier =\n'
-            '  Framework :: Django\n'
-            '  Programming Language :: Python :: 3.5\n',
-        )
-
-        with get_dist(tmpdir) as dist:
-            metadata = dist.metadata
-            assert metadata.author_email == 'test@test.com'
-            assert metadata.url == 'http://test.test.com/test/'
-            assert metadata.description == 'Short summary'
-            assert metadata.platforms == ['a', 'b']
-            assert metadata.classifiers == [
-                'Framework :: Django',
-                'Programming Language :: Python :: 3.5',
-            ]
-
-    def test_multiline(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[metadata]\n'
-            'name = fake_name\n'
-            'keywords =\n'
-            '  one\n'
-            '  two\n'
-            'classifiers =\n'
-            '  Framework :: Django\n'
-            '  Programming Language :: Python :: 3.5\n',
-        )
-        with get_dist(tmpdir) as dist:
-            metadata = dist.metadata
-            assert metadata.keywords == ['one', 'two']
-            assert metadata.classifiers == [
-                'Framework :: Django',
-                'Programming Language :: Python :: 3.5',
-            ]
-
-    def test_dict(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[metadata]\n'
-            'project_urls =\n'
-            '  Link One = https://example.com/one/\n'
-            '  Link Two = https://example.com/two/\n',
-        )
-        with get_dist(tmpdir) as dist:
-            metadata = dist.metadata
-            assert metadata.project_urls == {
-                'Link One': 'https://example.com/one/',
-                'Link Two': 'https://example.com/two/',
-            }
-
-    def test_version(self, tmpdir):
-        package_dir, config = fake_env(
-            tmpdir, '[metadata]\nversion = attr: fake_package.VERSION\n'
-        )
-
-        sub_a = package_dir.mkdir('subpkg_a')
-        sub_a.join('__init__.py').write('')
-        sub_a.join('mod.py').write('VERSION = (2016, 11, 26)')
-
-        sub_b = package_dir.mkdir('subpkg_b')
-        sub_b.join('__init__.py').write('')
-        sub_b.join('mod.py').write(
-            'import third_party_module\nVERSION = (2016, 11, 26)'
-        )
-
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.version == '1.2.3'
-
-        config.write('[metadata]\nversion = attr: fake_package.get_version\n')
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.version == '3.4.5.dev'
-
-        config.write('[metadata]\nversion = attr: fake_package.VERSION_MAJOR\n')
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.version == '1'
-
-        config.write('[metadata]\nversion = attr: fake_package.subpkg_a.mod.VERSION\n')
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.version == '2016.11.26'
-
-        config.write('[metadata]\nversion = attr: fake_package.subpkg_b.mod.VERSION\n')
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.version == '2016.11.26'
-
-    def test_version_file(self, tmpdir):
-        fake_env(tmpdir, '[metadata]\nversion = file: fake_package/version.txt\n')
-        tmpdir.join('fake_package', 'version.txt').write('1.2.3\n')
-
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.version == '1.2.3'
-
-        tmpdir.join('fake_package', 'version.txt').write('1.2.3\n4.5.6\n')
-        with pytest.raises(DistutilsOptionError):
-            with get_dist(tmpdir) as dist:
-                dist.metadata.version
-
-    def test_version_with_package_dir_simple(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[metadata]\n'
-            'version = attr: fake_package_simple.VERSION\n'
-            '[options]\n'
-            'package_dir =\n'
-            '    = src\n',
-            package_path='src/fake_package_simple',
-        )
-
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.version == '1.2.3'
-
-    def test_version_with_package_dir_rename(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[metadata]\n'
-            'version = attr: fake_package_rename.VERSION\n'
-            '[options]\n'
-            'package_dir =\n'
-            '    fake_package_rename = fake_dir\n',
-            package_path='fake_dir',
-        )
-
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.version == '1.2.3'
-
-    def test_version_with_package_dir_complex(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[metadata]\n'
-            'version = attr: fake_package_complex.VERSION\n'
-            '[options]\n'
-            'package_dir =\n'
-            '    fake_package_complex = src/fake_dir\n',
-            package_path='src/fake_dir',
-        )
-
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.version == '1.2.3'
-
-    def test_unknown_meta_item(self, tmpdir):
-        fake_env(tmpdir, '[metadata]\nname = fake_name\nunknown = some\n')
-        with get_dist(tmpdir, parse=False) as dist:
-            dist.parse_config_files()  # Skip unknown.
-
-    def test_usupported_section(self, tmpdir):
-        fake_env(tmpdir, '[metadata.some]\nkey = val\n')
-        with get_dist(tmpdir, parse=False) as dist:
-            with pytest.raises(DistutilsOptionError):
-                dist.parse_config_files()
-
-    def test_classifiers(self, tmpdir):
-        expected = set([
-            'Framework :: Django',
-            'Programming Language :: Python :: 3',
-            'Programming Language :: Python :: 3.5',
-        ])
-
-        # From file.
-        _, config = fake_env(tmpdir, '[metadata]\nclassifiers = file: classifiers\n')
-
-        tmpdir.join('classifiers').write(
-            'Framework :: Django\n'
-            'Programming Language :: Python :: 3\n'
-            'Programming Language :: Python :: 3.5\n'
-        )
-
-        with get_dist(tmpdir) as dist:
-            assert set(dist.metadata.classifiers) == expected
-
-        # From list notation
-        config.write(
-            '[metadata]\n'
-            'classifiers =\n'
-            '    Framework :: Django\n'
-            '    Programming Language :: Python :: 3\n'
-            '    Programming Language :: Python :: 3.5\n'
-        )
-        with get_dist(tmpdir) as dist:
-            assert set(dist.metadata.classifiers) == expected
-
-    def test_interpolation(self, tmpdir):
-        fake_env(tmpdir, '[metadata]\ndescription = %(message)s\n')
-        with pytest.raises(configparser.InterpolationMissingOptionError):
-            with get_dist(tmpdir):
-                pass
-
-    def test_non_ascii_1(self, tmpdir):
-        fake_env(tmpdir, '[metadata]\ndescription = éàïôñ\n', encoding='utf-8')
-        with get_dist(tmpdir):
-            pass
-
-    def test_non_ascii_3(self, tmpdir):
-        fake_env(tmpdir, '\n# -*- coding: invalid\n')
-        with get_dist(tmpdir):
-            pass
-
-    def test_non_ascii_4(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '# -*- coding: utf-8\n[metadata]\ndescription = éàïôñ\n',
-            encoding='utf-8',
-        )
-        with get_dist(tmpdir) as dist:
-            assert dist.metadata.description == 'éàïôñ'
-
-    def test_not_utf8(self, tmpdir):
-        """
-        Config files encoded not in UTF-8 will fail
-        """
-        fake_env(
-            tmpdir,
-            '# vim: set fileencoding=iso-8859-15 :\n[metadata]\ndescription = éàïôñ\n',
-            encoding='iso-8859-15',
-        )
-        with pytest.raises(UnicodeDecodeError):
-            with get_dist(tmpdir):
-                pass
-
-    def test_warn_dash_deprecation(self, tmpdir):
-        # warn_dash_deprecation() is a method in setuptools.dist
-        # remove this test and the method when no longer needed
-        fake_env(
-            tmpdir,
-            '[metadata]\n'
-            'author-email = test@test.com\n'
-            'maintainer_email = foo@foo.com\n',
-        )
-        msg = "Usage of dash-separated 'author-email' will not be supported"
-        with pytest.warns(SetuptoolsDeprecationWarning, match=msg):
-            with get_dist(tmpdir) as dist:
-                metadata = dist.metadata
-
-        assert metadata.author_email == 'test@test.com'
-        assert metadata.maintainer_email == 'foo@foo.com'
-
-    def test_make_option_lowercase(self, tmpdir):
-        # remove this test and the method make_option_lowercase() in setuptools.dist
-        # when no longer needed
-        fake_env(tmpdir, '[metadata]\nName = foo\ndescription = Some description\n')
-        msg = "Usage of uppercase key 'Name' in 'metadata' will not be supported"
-        with pytest.warns(SetuptoolsDeprecationWarning, match=msg):
-            with get_dist(tmpdir) as dist:
-                metadata = dist.metadata
-
-        assert metadata.name == 'foo'
-        assert metadata.description == 'Some description'
-
-
-class TestOptions:
-    def test_basic(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[options]\n'
-            'zip_safe = True\n'
-            'include_package_data = yes\n'
-            'package_dir = b=c, =src\n'
-            'packages = pack_a, pack_b.subpack\n'
-            'namespace_packages = pack1, pack2\n'
-            'scripts = bin/one.py, bin/two.py\n'
-            'eager_resources = bin/one.py, bin/two.py\n'
-            'install_requires = docutils>=0.3; pack ==1.1, ==1.3; hey\n'
-            'setup_requires = docutils>=0.3; spack ==1.1, ==1.3; there\n'
-            'dependency_links = http://some.com/here/1, '
-            'http://some.com/there/2\n'
-            'python_requires = >=1.0, !=2.8\n'
-            'py_modules = module1, module2\n',
-        )
-        deprec = pytest.warns(SetuptoolsDeprecationWarning, match="namespace_packages")
-        with deprec, get_dist(tmpdir) as dist:
-            assert dist.zip_safe
-            assert dist.include_package_data
-            assert dist.package_dir == {'': 'src', 'b': 'c'}
-            assert dist.packages == ['pack_a', 'pack_b.subpack']
-            assert dist.namespace_packages == ['pack1', 'pack2']
-            assert dist.scripts == ['bin/one.py', 'bin/two.py']
-            assert dist.dependency_links == ([
-                'http://some.com/here/1',
-                'http://some.com/there/2',
-            ])
-            assert dist.install_requires == ([
-                'docutils>=0.3',
-                'pack==1.1,==1.3',
-                'hey',
-            ])
-            assert dist.setup_requires == ([
-                'docutils>=0.3',
-                'spack ==1.1, ==1.3',
-                'there',
-            ])
-            assert dist.python_requires == '>=1.0, !=2.8'
-            assert dist.py_modules == ['module1', 'module2']
-
-    def test_multiline(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[options]\n'
-            'package_dir = \n'
-            '  b=c\n'
-            '  =src\n'
-            'packages = \n'
-            '  pack_a\n'
-            '  pack_b.subpack\n'
-            'namespace_packages = \n'
-            '  pack1\n'
-            '  pack2\n'
-            'scripts = \n'
-            '  bin/one.py\n'
-            '  bin/two.py\n'
-            'eager_resources = \n'
-            '  bin/one.py\n'
-            '  bin/two.py\n'
-            'install_requires = \n'
-            '  docutils>=0.3\n'
-            '  pack ==1.1, ==1.3\n'
-            '  hey\n'
-            'setup_requires = \n'
-            '  docutils>=0.3\n'
-            '  spack ==1.1, ==1.3\n'
-            '  there\n'
-            'dependency_links = \n'
-            '  http://some.com/here/1\n'
-            '  http://some.com/there/2\n',
-        )
-        deprec = pytest.warns(SetuptoolsDeprecationWarning, match="namespace_packages")
-        with deprec, get_dist(tmpdir) as dist:
-            assert dist.package_dir == {'': 'src', 'b': 'c'}
-            assert dist.packages == ['pack_a', 'pack_b.subpack']
-            assert dist.namespace_packages == ['pack1', 'pack2']
-            assert dist.scripts == ['bin/one.py', 'bin/two.py']
-            assert dist.dependency_links == ([
-                'http://some.com/here/1',
-                'http://some.com/there/2',
-            ])
-            assert dist.install_requires == ([
-                'docutils>=0.3',
-                'pack==1.1,==1.3',
-                'hey',
-            ])
-            assert dist.setup_requires == ([
-                'docutils>=0.3',
-                'spack ==1.1, ==1.3',
-                'there',
-            ])
-
-    def test_package_dir_fail(self, tmpdir):
-        fake_env(tmpdir, '[options]\npackage_dir = a b\n')
-        with get_dist(tmpdir, parse=False) as dist:
-            with pytest.raises(DistutilsOptionError):
-                dist.parse_config_files()
-
-    def test_package_data(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[options.package_data]\n'
-            '* = *.txt, *.rst\n'
-            'hello = *.msg\n'
-            '\n'
-            '[options.exclude_package_data]\n'
-            '* = fake1.txt, fake2.txt\n'
-            'hello = *.dat\n',
-        )
-
-        with get_dist(tmpdir) as dist:
-            assert dist.package_data == {
-                '': ['*.txt', '*.rst'],
-                'hello': ['*.msg'],
-            }
-            assert dist.exclude_package_data == {
-                '': ['fake1.txt', 'fake2.txt'],
-                'hello': ['*.dat'],
-            }
-
-    def test_packages(self, tmpdir):
-        fake_env(tmpdir, '[options]\npackages = find:\n')
-
-        with get_dist(tmpdir) as dist:
-            assert dist.packages == ['fake_package']
-
-    def test_find_directive(self, tmpdir):
-        dir_package, config = fake_env(tmpdir, '[options]\npackages = find:\n')
-
-        make_package_dir('sub_one', dir_package)
-        make_package_dir('sub_two', dir_package)
-
-        with get_dist(tmpdir) as dist:
-            assert set(dist.packages) == set([
-                'fake_package',
-                'fake_package.sub_two',
-                'fake_package.sub_one',
-            ])
-
-        config.write(
-            '[options]\n'
-            'packages = find:\n'
-            '\n'
-            '[options.packages.find]\n'
-            'where = .\n'
-            'include =\n'
-            '    fake_package.sub_one\n'
-            '    two\n'
-        )
-        with get_dist(tmpdir) as dist:
-            assert dist.packages == ['fake_package.sub_one']
-
-        config.write(
-            '[options]\n'
-            'packages = find:\n'
-            '\n'
-            '[options.packages.find]\n'
-            'exclude =\n'
-            '    fake_package.sub_one\n'
-        )
-        with get_dist(tmpdir) as dist:
-            assert set(dist.packages) == set(['fake_package', 'fake_package.sub_two'])
-
-    def test_find_namespace_directive(self, tmpdir):
-        dir_package, config = fake_env(
-            tmpdir, '[options]\npackages = find_namespace:\n'
-        )
-
-        make_package_dir('sub_one', dir_package)
-        make_package_dir('sub_two', dir_package, ns=True)
-
-        with get_dist(tmpdir) as dist:
-            assert set(dist.packages) == {
-                'fake_package',
-                'fake_package.sub_two',
-                'fake_package.sub_one',
-            }
-
-        config.write(
-            '[options]\n'
-            'packages = find_namespace:\n'
-            '\n'
-            '[options.packages.find]\n'
-            'where = .\n'
-            'include =\n'
-            '    fake_package.sub_one\n'
-            '    two\n'
-        )
-        with get_dist(tmpdir) as dist:
-            assert dist.packages == ['fake_package.sub_one']
-
-        config.write(
-            '[options]\n'
-            'packages = find_namespace:\n'
-            '\n'
-            '[options.packages.find]\n'
-            'exclude =\n'
-            '    fake_package.sub_one\n'
-        )
-        with get_dist(tmpdir) as dist:
-            assert set(dist.packages) == {'fake_package', 'fake_package.sub_two'}
-
-    def test_extras_require(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[options.extras_require]\n'
-            'pdf = ReportLab>=1.2; RXP\n'
-            'rest = \n'
-            '  docutils>=0.3\n'
-            '  pack ==1.1, ==1.3\n',
-        )
-
-        with get_dist(tmpdir) as dist:
-            assert dist.extras_require == {
-                'pdf': ['ReportLab>=1.2', 'RXP'],
-                'rest': ['docutils>=0.3', 'pack==1.1,==1.3'],
-            }
-            assert set(dist.metadata.provides_extras) == {'pdf', 'rest'}
-
-    @pytest.mark.parametrize(
-        "config",
-        [
-            "[options.extras_require]\nfoo = bar;python_version<'3'",
-            "[options.extras_require]\nfoo = bar;os_name=='linux'",
-            "[options.extras_require]\nfoo = bar;python_version<'3'\n",
-            "[options.extras_require]\nfoo = bar;os_name=='linux'\n",
-            "[options]\ninstall_requires = bar;python_version<'3'",
-            "[options]\ninstall_requires = bar;os_name=='linux'",
-            "[options]\ninstall_requires = bar;python_version<'3'\n",
-            "[options]\ninstall_requires = bar;os_name=='linux'\n",
-        ],
-    )
-    def test_raises_accidental_env_marker_misconfig(self, config, tmpdir):
-        fake_env(tmpdir, config)
-        match = (
-            r"One of the parsed requirements in `(install_requires|extras_require.+)` "
-            "looks like a valid environment marker.*"
-        )
-        with pytest.raises(InvalidRequirement, match=match):
-            with get_dist(tmpdir) as _:
-                pass
-
-    @pytest.mark.parametrize(
-        "config",
-        [
-            "[options.extras_require]\nfoo = bar;python_version<3",
-            "[options.extras_require]\nfoo = bar;python_version<3\n",
-            "[options]\ninstall_requires = bar;python_version<3",
-            "[options]\ninstall_requires = bar;python_version<3\n",
-        ],
-    )
-    def test_warn_accidental_env_marker_misconfig(self, config, tmpdir):
-        fake_env(tmpdir, config)
-        match = (
-            r"One of the parsed requirements in `(install_requires|extras_require.+)` "
-            "looks like a valid environment marker.*"
-        )
-        with pytest.warns(SetuptoolsDeprecationWarning, match=match):
-            with get_dist(tmpdir) as _:
-                pass
-
-    @pytest.mark.parametrize(
-        "config",
-        [
-            "[options.extras_require]\nfoo =\n    bar;python_version<'3'",
-            "[options.extras_require]\nfoo = bar;baz\nboo = xxx;yyy",
-            "[options.extras_require]\nfoo =\n    bar;python_version<'3'\n",
-            "[options.extras_require]\nfoo = bar;baz\nboo = xxx;yyy\n",
-            "[options.extras_require]\nfoo =\n    bar\n    python_version<3\n",
-            "[options]\ninstall_requires =\n    bar;python_version<'3'",
-            "[options]\ninstall_requires = bar;baz\nboo = xxx;yyy",
-            "[options]\ninstall_requires =\n    bar;python_version<'3'\n",
-            "[options]\ninstall_requires = bar;baz\nboo = xxx;yyy\n",
-            "[options]\ninstall_requires =\n    bar\n    python_version<3\n",
-        ],
-    )
-    @pytest.mark.filterwarnings("error::setuptools.SetuptoolsDeprecationWarning")
-    def test_nowarn_accidental_env_marker_misconfig(self, config, tmpdir, recwarn):
-        fake_env(tmpdir, config)
-        num_warnings = len(recwarn)
-        with get_dist(tmpdir) as _:
-            pass
-        # The examples are valid, no warnings shown
-        assert len(recwarn) == num_warnings
-
-    def test_dash_preserved_extras_require(self, tmpdir):
-        fake_env(tmpdir, '[options.extras_require]\nfoo-a = foo\nfoo_b = test\n')
-
-        with get_dist(tmpdir) as dist:
-            assert dist.extras_require == {'foo-a': ['foo'], 'foo_b': ['test']}
-
-    def test_entry_points(self, tmpdir):
-        _, config = fake_env(
-            tmpdir,
-            '[options.entry_points]\n'
-            'group1 = point1 = pack.module:func, '
-            '.point2 = pack.module2:func_rest [rest]\n'
-            'group2 = point3 = pack.module:func2\n',
-        )
-
-        with get_dist(tmpdir) as dist:
-            assert dist.entry_points == {
-                'group1': [
-                    'point1 = pack.module:func',
-                    '.point2 = pack.module2:func_rest [rest]',
-                ],
-                'group2': ['point3 = pack.module:func2'],
-            }
-
-        expected = (
-            '[blogtool.parsers]\n'
-            '.rst = some.nested.module:SomeClass.some_classmethod[reST]\n'
-        )
-
-        tmpdir.join('entry_points').write(expected)
-
-        # From file.
-        config.write('[options]\nentry_points = file: entry_points\n')
-
-        with get_dist(tmpdir) as dist:
-            assert dist.entry_points == expected
-
-    def test_case_sensitive_entry_points(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[options.entry_points]\n'
-            'GROUP1 = point1 = pack.module:func, '
-            '.point2 = pack.module2:func_rest [rest]\n'
-            'group2 = point3 = pack.module:func2\n',
-        )
-
-        with get_dist(tmpdir) as dist:
-            assert dist.entry_points == {
-                'GROUP1': [
-                    'point1 = pack.module:func',
-                    '.point2 = pack.module2:func_rest [rest]',
-                ],
-                'group2': ['point3 = pack.module:func2'],
-            }
-
-    def test_data_files(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[options.data_files]\n'
-            'cfg =\n'
-            '      a/b.conf\n'
-            '      c/d.conf\n'
-            'data = e/f.dat, g/h.dat\n',
-        )
-
-        with get_dist(tmpdir) as dist:
-            expected = [
-                ('cfg', ['a/b.conf', 'c/d.conf']),
-                ('data', ['e/f.dat', 'g/h.dat']),
-            ]
-            assert sorted(dist.data_files) == sorted(expected)
-
-    def test_data_files_globby(self, tmpdir):
-        fake_env(
-            tmpdir,
-            '[options.data_files]\n'
-            'cfg =\n'
-            '      a/b.conf\n'
-            '      c/d.conf\n'
-            'data = *.dat\n'
-            'icons = \n'
-            '      *.ico\n'
-            'audio = \n'
-            '      *.wav\n'
-            '      sounds.db\n',
-        )
-
-        # Create dummy files for glob()'s sake:
-        tmpdir.join('a.dat').write('')
-        tmpdir.join('b.dat').write('')
-        tmpdir.join('c.dat').write('')
-        tmpdir.join('a.ico').write('')
-        tmpdir.join('b.ico').write('')
-        tmpdir.join('c.ico').write('')
-        tmpdir.join('beep.wav').write('')
-        tmpdir.join('boop.wav').write('')
-        tmpdir.join('sounds.db').write('')
-
-        with get_dist(tmpdir) as dist:
-            expected = [
-                ('cfg', ['a/b.conf', 'c/d.conf']),
-                ('data', ['a.dat', 'b.dat', 'c.dat']),
-                ('icons', ['a.ico', 'b.ico', 'c.ico']),
-                ('audio', ['beep.wav', 'boop.wav', 'sounds.db']),
-            ]
-            assert sorted(dist.data_files) == sorted(expected)
-
-    def test_python_requires_simple(self, tmpdir):
-        fake_env(
-            tmpdir,
-            DALS(
-                """
-            [options]
-            python_requires=>=2.7
-            """
-            ),
-        )
-        with get_dist(tmpdir) as dist:
-            dist.parse_config_files()
-
-    def test_python_requires_compound(self, tmpdir):
-        fake_env(
-            tmpdir,
-            DALS(
-                """
-            [options]
-            python_requires=>=2.7,!=3.0.*
-            """
-            ),
-        )
-        with get_dist(tmpdir) as dist:
-            dist.parse_config_files()
-
-    def test_python_requires_invalid(self, tmpdir):
-        fake_env(
-            tmpdir,
-            DALS(
-                """
-            [options]
-            python_requires=invalid
-            """
-            ),
-        )
-        with pytest.raises(Exception):
-            with get_dist(tmpdir) as dist:
-                dist.parse_config_files()
-
-    def test_cmdclass(self, tmpdir):
-        module_path = Path(tmpdir, "src/custom_build.py")  # auto discovery for src
-        module_path.parent.mkdir(parents=True, exist_ok=True)
-        module_path.write_text(
-            "from distutils.core import Command\nclass CustomCmd(Command): pass\n",
-            encoding="utf-8",
-        )
-
-        setup_cfg = """
-            [options]
-            cmdclass =
-                customcmd = custom_build.CustomCmd
-        """
-        fake_env(tmpdir, inspect.cleandoc(setup_cfg))
-
-        with get_dist(tmpdir) as dist:
-            cmdclass = dist.cmdclass['customcmd']
-            assert cmdclass.__name__ == "CustomCmd"
-            assert cmdclass.__module__ == "custom_build"
-            assert module_path.samefile(inspect.getfile(cmdclass))
-
-    def test_requirements_file(self, tmpdir):
-        fake_env(
-            tmpdir,
-            DALS(
-                """
-            [options]
-            install_requires = file:requirements.txt
-            [options.extras_require]
-            colors = file:requirements-extra.txt
-            """
-            ),
-        )
-
-        tmpdir.join('requirements.txt').write('\ndocutils>=0.3\n\n')
-        tmpdir.join('requirements-extra.txt').write('colorama')
-
-        with get_dist(tmpdir) as dist:
-            assert dist.install_requires == ['docutils>=0.3']
-            assert dist.extras_require == {'colors': ['colorama']}
-
-
-saved_dist_init = _Distribution.__init__
-
-
-class TestExternalSetters:
-    # During creation of the setuptools Distribution() object, we call
-    # the init of the parent distutils Distribution object via
-    # _Distribution.__init__ ().
-    #
-    # It's possible distutils calls out to various keyword
-    # implementations (i.e. distutils.setup_keywords entry points)
-    # that may set a range of variables.
-    #
-    # This wraps distutil's Distribution.__init__ and simulates
-    # pbr or something else setting these values.
-    def _fake_distribution_init(self, dist, attrs):
-        saved_dist_init(dist, attrs)
-        # see self._DISTUTILS_UNSUPPORTED_METADATA
-        dist.metadata.long_description_content_type = 'text/something'
-        # Test overwrite setup() args
-        dist.metadata.project_urls = {
-            'Link One': 'https://example.com/one/',
-            'Link Two': 'https://example.com/two/',
-        }
-
-    @patch.object(_Distribution, '__init__', autospec=True)
-    def test_external_setters(self, mock_parent_init, tmpdir):
-        mock_parent_init.side_effect = self._fake_distribution_init
-
-        dist = Distribution(attrs={'project_urls': {'will_be': 'ignored'}})
-
-        assert dist.metadata.long_description_content_type == 'text/something'
-        assert dist.metadata.project_urls == {
-            'Link One': 'https://example.com/one/',
-            'Link Two': 'https://example.com/two/',
-        }
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/contexts.py b/.venv/lib/python3.12/site-packages/setuptools/tests/contexts.py
deleted file mode 100644
index 97cceea0..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/contexts.py
+++ /dev/null
@@ -1,145 +0,0 @@
-import contextlib
-import io
-import os
-import shutil
-import site
-import sys
-import tempfile
-
-from filelock import FileLock
-
-
-@contextlib.contextmanager
-def tempdir(cd=lambda dir: None, **kwargs):
-    temp_dir = tempfile.mkdtemp(**kwargs)
-    orig_dir = os.getcwd()
-    try:
-        cd(temp_dir)
-        yield temp_dir
-    finally:
-        cd(orig_dir)
-        shutil.rmtree(temp_dir)
-
-
-@contextlib.contextmanager
-def environment(**replacements):
-    """
-    In a context, patch the environment with replacements. Pass None values
-    to clear the values.
-    """
-    saved = dict((key, os.environ[key]) for key in replacements if key in os.environ)
-
-    # remove values that are null
-    remove = (key for (key, value) in replacements.items() if value is None)
-    for key in list(remove):
-        os.environ.pop(key, None)
-        replacements.pop(key)
-
-    os.environ.update(replacements)
-
-    try:
-        yield saved
-    finally:
-        for key in replacements:
-            os.environ.pop(key, None)
-        os.environ.update(saved)
-
-
-@contextlib.contextmanager
-def quiet():
-    """
-    Redirect stdout/stderr to StringIO objects to prevent console output from
-    distutils commands.
-    """
-
-    old_stdout = sys.stdout
-    old_stderr = sys.stderr
-    new_stdout = sys.stdout = io.StringIO()
-    new_stderr = sys.stderr = io.StringIO()
-    try:
-        yield new_stdout, new_stderr
-    finally:
-        new_stdout.seek(0)
-        new_stderr.seek(0)
-        sys.stdout = old_stdout
-        sys.stderr = old_stderr
-
-
-@contextlib.contextmanager
-def save_user_site_setting():
-    saved = site.ENABLE_USER_SITE
-    try:
-        yield saved
-    finally:
-        site.ENABLE_USER_SITE = saved
-
-
-@contextlib.contextmanager
-def save_pkg_resources_state():
-    import pkg_resources
-
-    pr_state = pkg_resources.__getstate__()
-    # also save sys.path
-    sys_path = sys.path[:]
-    try:
-        yield pr_state, sys_path
-    finally:
-        sys.path[:] = sys_path
-        pkg_resources.__setstate__(pr_state)
-
-
-@contextlib.contextmanager
-def suppress_exceptions(*excs):
-    try:
-        yield
-    except excs:
-        pass
-
-
-def multiproc(request):
-    """
-    Return True if running under xdist and multiple
-    workers are used.
-    """
-    try:
-        worker_id = request.getfixturevalue('worker_id')
-    except Exception:
-        return False
-    return worker_id != 'master'
-
-
-@contextlib.contextmanager
-def session_locked_tmp_dir(request, tmp_path_factory, name):
-    """Uses a file lock to guarantee only one worker can access a temp dir"""
-    # get the temp directory shared by all workers
-    base = tmp_path_factory.getbasetemp()
-    shared_dir = base.parent if multiproc(request) else base
-
-    locked_dir = shared_dir / name
-    with FileLock(locked_dir.with_suffix(".lock")):
-        # ^-- prevent multiple workers to access the directory at once
-        locked_dir.mkdir(exist_ok=True, parents=True)
-        yield locked_dir
-
-
-@contextlib.contextmanager
-def save_paths():
-    """Make sure ``sys.path``, ``sys.meta_path`` and ``sys.path_hooks`` are preserved"""
-    prev = sys.path[:], sys.meta_path[:], sys.path_hooks[:]
-
-    try:
-        yield
-    finally:
-        sys.path, sys.meta_path, sys.path_hooks = prev
-
-
-@contextlib.contextmanager
-def save_sys_modules():
-    """Make sure initial ``sys.modules`` is preserved"""
-    prev_modules = sys.modules
-
-    try:
-        sys.modules = sys.modules.copy()
-        yield
-    finally:
-        sys.modules = prev_modules
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/environment.py b/.venv/lib/python3.12/site-packages/setuptools/tests/environment.py
deleted file mode 100644
index ed5499ef..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/environment.py
+++ /dev/null
@@ -1,95 +0,0 @@
-import os
-import subprocess
-import sys
-import unicodedata
-from subprocess import PIPE as _PIPE, Popen as _Popen
-
-import jaraco.envs
-
-
-class VirtualEnv(jaraco.envs.VirtualEnv):
-    name = '.env'
-    # Some version of PyPy will import distutils on startup, implicitly
-    # importing setuptools, and thus leading to BackendInvalid errors
-    # when upgrading Setuptools. Bypass this behavior by avoiding the
-    # early availability and need to upgrade.
-    create_opts = ['--no-setuptools']
-
-    def run(self, cmd, *args, **kwargs):
-        cmd = [self.exe(cmd[0])] + cmd[1:]
-        kwargs = {"cwd": self.root, "encoding": "utf-8", **kwargs}  # Allow overriding
-        # In some environments (eg. downstream distro packaging), where:
-        # - tox isn't used to run tests and
-        # - PYTHONPATH is set to point to a specific setuptools codebase and
-        # - no custom env is explicitly set by a test
-        # PYTHONPATH will leak into the spawned processes.
-        # In that case tests look for module in the wrong place (on PYTHONPATH).
-        # Unless the test sets its own special env, pass a copy of the existing
-        # environment with removed PYTHONPATH to the subprocesses.
-        if "env" not in kwargs:
-            env = dict(os.environ)
-            if "PYTHONPATH" in env:
-                del env["PYTHONPATH"]
-            kwargs["env"] = env
-        return subprocess.check_output(cmd, *args, **kwargs)
-
-
-def _which_dirs(cmd):
-    result = set()
-    for path in os.environ.get('PATH', '').split(os.pathsep):
-        filename = os.path.join(path, cmd)
-        if os.access(filename, os.X_OK):
-            result.add(path)
-    return result
-
-
-def run_setup_py(cmd, pypath=None, path=None, data_stream=0, env=None):
-    """
-    Execution command for tests, separate from those used by the
-    code directly to prevent accidental behavior issues
-    """
-    if env is None:
-        env = dict()
-        for envname in os.environ:
-            env[envname] = os.environ[envname]
-
-    # override the python path if needed
-    if pypath is not None:
-        env["PYTHONPATH"] = pypath
-
-    # override the execution path if needed
-    if path is not None:
-        env["PATH"] = path
-    if not env.get("PATH", ""):
-        env["PATH"] = _which_dirs("tar").union(_which_dirs("gzip"))
-        env["PATH"] = os.pathsep.join(env["PATH"])
-
-    cmd = [sys.executable, "setup.py"] + list(cmd)
-
-    # https://bugs.python.org/issue8557
-    shell = sys.platform == 'win32'
-
-    try:
-        proc = _Popen(
-            cmd,
-            stdout=_PIPE,
-            stderr=_PIPE,
-            shell=shell,
-            env=env,
-            encoding="utf-8",
-        )
-
-        if isinstance(data_stream, tuple):
-            data_stream = slice(*data_stream)
-        data = proc.communicate()[data_stream]
-    except OSError:
-        return 1, ''
-
-    # decode the console string if needed
-    if hasattr(data, "decode"):
-        # use the default encoding
-        data = data.decode()
-        data = unicodedata.normalize('NFC', data)
-
-    # communicate calls wait()
-    return proc.returncode, data
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/fixtures.py b/.venv/lib/python3.12/site-packages/setuptools/tests/fixtures.py
deleted file mode 100644
index a5472984..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/fixtures.py
+++ /dev/null
@@ -1,157 +0,0 @@
-import contextlib
-import os
-import subprocess
-import sys
-from pathlib import Path
-
-import path
-import pytest
-
-from . import contexts, environment
-
-
-@pytest.fixture
-def user_override(monkeypatch):
-    """
-    Override site.USER_BASE and site.USER_SITE with temporary directories in
-    a context.
-    """
-    with contexts.tempdir() as user_base:
-        monkeypatch.setattr('site.USER_BASE', user_base)
-        with contexts.tempdir() as user_site:
-            monkeypatch.setattr('site.USER_SITE', user_site)
-            with contexts.save_user_site_setting():
-                yield
-
-
-@pytest.fixture
-def tmpdir_cwd(tmpdir):
-    with tmpdir.as_cwd() as orig:
-        yield orig
-
-
-@pytest.fixture(autouse=True, scope="session")
-def workaround_xdist_376(request):
-    """
-    Workaround pytest-dev/pytest-xdist#376
-
-    ``pytest-xdist`` tends to inject '' into ``sys.path``,
-    which may break certain isolation expectations.
-    Remove the entry so the import
-    machinery behaves the same irrespective of xdist.
-    """
-    if not request.config.pluginmanager.has_plugin('xdist'):
-        return
-
-    with contextlib.suppress(ValueError):
-        sys.path.remove('')
-
-
-@pytest.fixture
-def sample_project(tmp_path):
-    """
-    Clone the 'sampleproject' and return a path to it.
-    """
-    cmd = ['git', 'clone', 'https://github.com/pypa/sampleproject']
-    try:
-        subprocess.check_call(cmd, cwd=str(tmp_path))
-    except Exception:
-        pytest.skip("Unable to clone sampleproject")
-    return tmp_path / 'sampleproject'
-
-
-# sdist and wheel artifacts should be stable across a round of tests
-# so we can build them once per session and use the files as "readonly"
-
-# In the case of setuptools, building the wheel without sdist may cause
-# it to contain the `build` directory, and therefore create situations with
-# `setuptools/build/lib/build/lib/...`. To avoid that, build both artifacts at once.
-
-
-def _build_distributions(tmp_path_factory, request):
-    with contexts.session_locked_tmp_dir(
-        request, tmp_path_factory, "dist_build"
-    ) as tmp:  # pragma: no cover
-        sdist = next(tmp.glob("*.tar.gz"), None)
-        wheel = next(tmp.glob("*.whl"), None)
-        if sdist and wheel:
-            return (sdist, wheel)
-
-        # Sanity check: should not create recursive setuptools/build/lib/build/lib/...
-        assert not Path(request.config.rootdir, "build/lib/build").exists()
-
-        subprocess.check_output([
-            sys.executable,
-            "-m",
-            "build",
-            "--outdir",
-            str(tmp),
-            str(request.config.rootdir),
-        ])
-
-        # Sanity check: should not create recursive setuptools/build/lib/build/lib/...
-        assert not Path(request.config.rootdir, "build/lib/build").exists()
-
-        return next(tmp.glob("*.tar.gz")), next(tmp.glob("*.whl"))
-
-
-@pytest.fixture(scope="session")
-def setuptools_sdist(tmp_path_factory, request):
-    prebuilt = os.getenv("PRE_BUILT_SETUPTOOLS_SDIST")
-    if prebuilt and os.path.exists(prebuilt):  # pragma: no cover
-        return Path(prebuilt).resolve()
-
-    sdist, _ = _build_distributions(tmp_path_factory, request)
-    return sdist
-
-
-@pytest.fixture(scope="session")
-def setuptools_wheel(tmp_path_factory, request):
-    prebuilt = os.getenv("PRE_BUILT_SETUPTOOLS_WHEEL")
-    if prebuilt and os.path.exists(prebuilt):  # pragma: no cover
-        return Path(prebuilt).resolve()
-
-    _, wheel = _build_distributions(tmp_path_factory, request)
-    return wheel
-
-
-@pytest.fixture
-def venv(tmp_path, setuptools_wheel):
-    """Virtual env with the version of setuptools under test installed"""
-    env = environment.VirtualEnv()
-    env.root = path.Path(tmp_path / 'venv')
-    env.create_opts = ['--no-setuptools', '--wheel=bundle']
-    # TODO: Use `--no-wheel` when setuptools implements its own bdist_wheel
-    env.req = str(setuptools_wheel)
-    # In some environments (eg. downstream distro packaging),
-    # where tox isn't used to run tests and PYTHONPATH is set to point to
-    # a specific setuptools codebase, PYTHONPATH will leak into the spawned
-    # processes.
-    # env.create() should install the just created setuptools
-    # wheel, but it doesn't if it finds another existing matching setuptools
-    # installation present on PYTHONPATH:
-    # `setuptools is already installed with the same version as the provided
-    # wheel. Use --force-reinstall to force an installation of the wheel.`
-    # This prevents leaking PYTHONPATH to the created environment.
-    with contexts.environment(PYTHONPATH=None):
-        return env.create()
-
-
-@pytest.fixture
-def venv_without_setuptools(tmp_path):
-    """Virtual env without any version of setuptools installed"""
-    env = environment.VirtualEnv()
-    env.root = path.Path(tmp_path / 'venv_without_setuptools')
-    env.create_opts = ['--no-setuptools', '--no-wheel']
-    env.ensure_env()
-    return env
-
-
-@pytest.fixture
-def bare_venv(tmp_path):
-    """Virtual env without any common packages installed"""
-    env = environment.VirtualEnv()
-    env.root = path.Path(tmp_path / 'bare_venv')
-    env.create_opts = ['--no-setuptools', '--no-pip', '--no-wheel', '--no-seed']
-    env.ensure_env()
-    return env
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/indexes/test_links_priority/external.html b/.venv/lib/python3.12/site-packages/setuptools/tests/indexes/test_links_priority/external.html
deleted file mode 100644
index 92e4702f..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/indexes/test_links_priority/external.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
-bad old link
-
diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html b/.venv/lib/python3.12/site-packages/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html
deleted file mode 100644
index fefb028b..00000000
--- a/.venv/lib/python3.12/site-packages/setuptools/tests/indexes/test_links_priority/simple/foobar/index.html
+++ /dev/null
@@ -1,4 +0,0 @@
-
-foobar-0.1.tar.gz
-external homepage
- diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__init__.py b/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__pycache__/__init__.cpython-312.pyc deleted file mode 100644 index 0ab4a445..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__pycache__/__init__.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__pycache__/helpers.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__pycache__/helpers.cpython-312.pyc deleted file mode 100644 index 0b6b6a01..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__pycache__/helpers.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__pycache__/test_pip_install_sdist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__pycache__/test_pip_install_sdist.cpython-312.pyc deleted file mode 100644 index 2c42d398..00000000 Binary files a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/__pycache__/test_pip_install_sdist.cpython-312.pyc and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/helpers.py b/.venv/lib/python3.12/site-packages/setuptools/tests/integration/helpers.py deleted file mode 100644 index 77b196e0..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/helpers.py +++ /dev/null @@ -1,77 +0,0 @@ -"""Reusable functions and classes for different types of integration tests. - -For example ``Archive`` can be used to check the contents of distribution built -with setuptools, and ``run`` will always try to be as verbose as possible to -facilitate debugging. -""" - -import os -import subprocess -import tarfile -from pathlib import Path -from zipfile import ZipFile - - -def run(cmd, env=None): - r = subprocess.run( - cmd, - capture_output=True, - text=True, - encoding="utf-8", - env={**os.environ, **(env or {})}, - # ^-- allow overwriting instead of discarding the current env - ) - - out = r.stdout + "\n" + r.stderr - # pytest omits stdout/err by default, if the test fails they help debugging - print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") - print(f"Command: {cmd}\nreturn code: {r.returncode}\n\n{out}") - - if r.returncode == 0: - return out - raise subprocess.CalledProcessError(r.returncode, cmd, r.stdout, r.stderr) - - -class Archive: - """Compatibility layer for ZipFile/Info and TarFile/Info""" - - def __init__(self, filename): - self._filename = filename - if filename.endswith("tar.gz"): - self._obj = tarfile.open(filename, "r:gz") - elif filename.endswith("zip"): - self._obj = ZipFile(filename) - else: - raise ValueError(f"{filename} doesn't seem to be a zip or tar.gz") - - def __iter__(self): - if hasattr(self._obj, "infolist"): - return iter(self._obj.infolist()) - return iter(self._obj) - - def get_name(self, zip_or_tar_info): - if hasattr(zip_or_tar_info, "filename"): - return zip_or_tar_info.filename - return zip_or_tar_info.name - - def get_content(self, zip_or_tar_info): - if hasattr(self._obj, "extractfile"): - content = self._obj.extractfile(zip_or_tar_info) - if content is None: - msg = f"Invalid {zip_or_tar_info.name} in {self._filename}" - raise ValueError(msg) - return str(content.read(), "utf-8") - return str(self._obj.read(zip_or_tar_info), "utf-8") - - -def get_sdist_members(sdist_path): - with tarfile.open(sdist_path, "r:gz") as tar: - files = [Path(f) for f in tar.getnames()] - # remove root folder - relative_files = ("/".join(f.parts[1:]) for f in files) - return {f for f in relative_files if f} - - -def get_wheel_members(wheel_path): - with ZipFile(wheel_path) as zipfile: - return set(zipfile.namelist()) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/test_pip_install_sdist.py b/.venv/lib/python3.12/site-packages/setuptools/tests/integration/test_pip_install_sdist.py deleted file mode 100644 index b2f1c080..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/integration/test_pip_install_sdist.py +++ /dev/null @@ -1,223 +0,0 @@ -# https://github.com/python/mypy/issues/16936 -# mypy: disable-error-code="has-type" -"""Integration tests for setuptools that focus on building packages via pip. - -The idea behind these tests is not to exhaustively check all the possible -combinations of packages, operating systems, supporting libraries, etc, but -rather check a limited number of popular packages and how they interact with -the exposed public API. This way if any change in API is introduced, we hope to -identify backward compatibility problems before publishing a release. - -The number of tested packages is purposefully kept small, to minimise duration -and the associated maintenance cost (changes in the way these packages define -their build process may require changes in the tests). -""" - -import json -import os -import shutil -import sys -from enum import Enum -from glob import glob -from hashlib import md5 -from urllib.request import urlopen - -import pytest -from packaging.requirements import Requirement - -from .helpers import Archive, run - -pytestmark = pytest.mark.integration - - -(LATEST,) = Enum("v", "LATEST") # type: ignore[misc] # https://github.com/python/mypy/issues/16936 -"""Default version to be checked""" -# There are positive and negative aspects of checking the latest version of the -# packages. -# The main positive aspect is that the latest version might have already -# removed the use of APIs deprecated in previous releases of setuptools. - - -# Packages to be tested: -# (Please notice the test environment cannot support EVERY library required for -# compiling binary extensions. In Ubuntu/Debian nomenclature, we only assume -# that `build-essential`, `gfortran` and `libopenblas-dev` are installed, -# due to their relevance to the numerical/scientific programming ecosystem) -EXAMPLES = [ - ("pip", LATEST), # just in case... - ("pytest", LATEST), # uses setuptools_scm - ("mypy", LATEST), # custom build_py + ext_modules - # --- Popular packages: https://hugovk.github.io/top-pypi-packages/ --- - ("botocore", LATEST), - ("kiwisolver", LATEST), # build_ext - ("brotli", LATEST), # not in the list but used by urllib3 - ("pyyaml", LATEST), # cython + custom build_ext + custom distclass - ("charset-normalizer", LATEST), # uses mypyc, used by aiohttp - ("protobuf", LATEST), - ("requests", LATEST), - ("celery", LATEST), - # When adding packages to this list, make sure they expose a `__version__` - # attribute, or modify the tests below -] - - -# Some packages have "optional" dependencies that modify their build behaviour -# and are not listed in pyproject.toml, others still use `setup_requires` -EXTRA_BUILD_DEPS = { - "pyyaml": ("Cython<3.0",), # constraint to avoid errors - "charset-normalizer": ("mypy>=1.4.1",), # no pyproject.toml available -} - -EXTRA_ENV_VARS = { - "pyyaml": {"PYYAML_FORCE_CYTHON": "1"}, - "charset-normalizer": {"CHARSET_NORMALIZER_USE_MYPYC": "1"}, -} - -IMPORT_NAME = { - "pyyaml": "yaml", - "protobuf": "google.protobuf", -} - - -VIRTUALENV = (sys.executable, "-m", "virtualenv") - - -# By default, pip will try to build packages in isolation (PEP 517), which -# means it will download the previous stable version of setuptools. -# `pip` flags can avoid that (the version of setuptools under test -# should be the one to be used) -INSTALL_OPTIONS = ( - "--ignore-installed", - "--no-build-isolation", - # Omit "--no-binary :all:" the sdist is supplied directly. - # Allows dependencies as wheels. -) -# The downside of `--no-build-isolation` is that pip will not download build -# dependencies. The test script will have to also handle that. - - -@pytest.fixture -def venv_python(tmp_path): - run([*VIRTUALENV, str(tmp_path / ".venv")]) - possible_path = (str(p.parent) for p in tmp_path.glob(".venv/*/python*")) - return shutil.which("python", path=os.pathsep.join(possible_path)) - - -@pytest.fixture(autouse=True) -def _prepare(tmp_path, venv_python, monkeypatch): - download_path = os.getenv("DOWNLOAD_PATH", str(tmp_path)) - os.makedirs(download_path, exist_ok=True) - - # Environment vars used for building some of the packages - monkeypatch.setenv("USE_MYPYC", "1") - - yield - - # Let's provide the maximum amount of information possible in the case - # it is necessary to debug the tests directly from the CI logs. - print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") - print("Temporary directory:") - map(print, tmp_path.glob("*")) - print("Virtual environment:") - run([venv_python, "-m", "pip", "freeze"]) - - -@pytest.mark.parametrize(("package", "version"), EXAMPLES) -@pytest.mark.uses_network -def test_install_sdist(package, version, tmp_path, venv_python, setuptools_wheel): - venv_pip = (venv_python, "-m", "pip") - sdist = retrieve_sdist(package, version, tmp_path) - deps = build_deps(package, sdist) - if deps: - print("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") - print("Dependencies:", deps) - run([*venv_pip, "install", *deps]) - - # Use a virtualenv to simulate PEP 517 isolation - # but install fresh setuptools wheel to ensure the version under development - env = EXTRA_ENV_VARS.get(package, {}) - run([*venv_pip, "install", "--force-reinstall", setuptools_wheel]) - run([*venv_pip, "install", *INSTALL_OPTIONS, sdist], env) - - # Execute a simple script to make sure the package was installed correctly - pkg = IMPORT_NAME.get(package, package).replace("-", "_") - script = f"import {pkg}; print(getattr({pkg}, '__version__', 0))" - run([venv_python, "-c", script]) - - -# ---- Helper Functions ---- - - -def retrieve_sdist(package, version, tmp_path): - """Either use cached sdist file or download it from PyPI""" - # `pip download` cannot be used due to - # https://github.com/pypa/pip/issues/1884 - # https://discuss.python.org/t/pep-625-file-name-of-a-source-distribution/4686 - # We have to find the correct distribution file and download it - download_path = os.getenv("DOWNLOAD_PATH", str(tmp_path)) - dist = retrieve_pypi_sdist_metadata(package, version) - - # Remove old files to prevent cache to grow indefinitely - for file in glob(os.path.join(download_path, f"{package}*")): - if dist["filename"] != file: - os.unlink(file) - - dist_file = os.path.join(download_path, dist["filename"]) - if not os.path.exists(dist_file): - download(dist["url"], dist_file, dist["md5_digest"]) - return dist_file - - -def retrieve_pypi_sdist_metadata(package, version): - # https://warehouse.pypa.io/api-reference/json.html - id_ = package if version is LATEST else f"{package}/{version}" - with urlopen(f"https://pypi.org/pypi/{id_}/json") as f: - metadata = json.load(f) - - if metadata["info"]["yanked"]: - raise ValueError(f"Release for {package} {version} was yanked") - - version = metadata["info"]["version"] - release = metadata["releases"][version] if version is LATEST else metadata["urls"] - (sdist,) = filter(lambda d: d["packagetype"] == "sdist", release) - return sdist - - -def download(url, dest, md5_digest): - with urlopen(url) as f: - data = f.read() - - assert md5(data).hexdigest() == md5_digest - - with open(dest, "wb") as f: - f.write(data) - - assert os.path.exists(dest) - - -def build_deps(package, sdist_file): - """Find out what are the build dependencies for a package. - - "Manually" install them, since pip will not install build - deps with `--no-build-isolation`. - """ - # delay importing, since pytest discovery phase may hit this file from a - # testenv without tomli - from setuptools.compat.py310 import tomllib - - archive = Archive(sdist_file) - info = tomllib.loads(_read_pyproject(archive)) - deps = info.get("build-system", {}).get("requires", []) - deps += EXTRA_BUILD_DEPS.get(package, []) - # Remove setuptools from requirements (and deduplicate) - requirements = {Requirement(d).name: d for d in deps} - return [v for k, v in requirements.items() if k != "setuptools"] - - -def _read_pyproject(archive): - contents = ( - archive.get_content(member) - for member in archive - if os.path.basename(archive.get_name(member)) == "pyproject.toml" - ) - return next(contents, "") diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/mod_with_constant.py b/.venv/lib/python3.12/site-packages/setuptools/tests/mod_with_constant.py deleted file mode 100644 index ef755dd1..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/mod_with_constant.py +++ /dev/null @@ -1 +0,0 @@ -value = 'three, sir!' diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/namespaces.py b/.venv/lib/python3.12/site-packages/setuptools/tests/namespaces.py deleted file mode 100644 index 248db98f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/namespaces.py +++ /dev/null @@ -1,90 +0,0 @@ -import ast -import json -import textwrap -from pathlib import Path - - -def iter_namespace_pkgs(namespace): - parts = namespace.split(".") - for i in range(len(parts)): - yield ".".join(parts[: i + 1]) - - -def build_namespace_package(tmpdir, name, version="1.0", impl="pkg_resources"): - src_dir = tmpdir / name - src_dir.mkdir() - setup_py = src_dir / 'setup.py' - namespace, _, rest = name.rpartition('.') - namespaces = list(iter_namespace_pkgs(namespace)) - setup_args = { - "name": name, - "version": version, - "packages": namespaces, - } - - if impl == "pkg_resources": - tmpl = '__import__("pkg_resources").declare_namespace(__name__)' - setup_args["namespace_packages"] = namespaces - elif impl == "pkgutil": - tmpl = '__path__ = __import__("pkgutil").extend_path(__path__, __name__)' - else: - raise ValueError(f"Cannot recognise {impl=} when creating namespaces") - - args = json.dumps(setup_args, indent=4) - assert ast.literal_eval(args) # ensure it is valid Python - - script = textwrap.dedent( - """\ - import setuptools - args = {args} - setuptools.setup(**args) - """ - ).format(args=args) - setup_py.write_text(script, encoding='utf-8') - - ns_pkg_dir = Path(src_dir, namespace.replace(".", "/")) - ns_pkg_dir.mkdir(parents=True) - - for ns in namespaces: - pkg_init = src_dir / ns.replace(".", "/") / '__init__.py' - pkg_init.write_text(tmpl, encoding='utf-8') - - pkg_mod = ns_pkg_dir / (rest + '.py') - some_functionality = 'name = {rest!r}'.format(**locals()) - pkg_mod.write_text(some_functionality, encoding='utf-8') - return src_dir - - -def build_pep420_namespace_package(tmpdir, name): - src_dir = tmpdir / name - src_dir.mkdir() - pyproject = src_dir / "pyproject.toml" - namespace, _, rest = name.rpartition(".") - script = f"""\ - [build-system] - requires = ["setuptools"] - build-backend = "setuptools.build_meta" - - [project] - name = "{name}" - version = "3.14159" - """ - pyproject.write_text(textwrap.dedent(script), encoding='utf-8') - ns_pkg_dir = Path(src_dir, namespace.replace(".", "/")) - ns_pkg_dir.mkdir(parents=True) - pkg_mod = ns_pkg_dir / (rest + ".py") - some_functionality = f"name = {rest!r}" - pkg_mod.write_text(some_functionality, encoding='utf-8') - return src_dir - - -def make_site_dir(target): - """ - Add a sitecustomize.py module in target to cause - target to be added to site dirs such that .pth files - are processed there. - """ - sc = target / 'sitecustomize.py' - target_str = str(target) - tmpl = '__import__("site").addsitedir({target_str!r})' - sc.write_text(tmpl.format(**locals()), encoding='utf-8') diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/script-with-bom.py b/.venv/lib/python3.12/site-packages/setuptools/tests/script-with-bom.py deleted file mode 100644 index c074d263..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/script-with-bom.py +++ /dev/null @@ -1 +0,0 @@ -result = 'passed' diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/server.py b/.venv/lib/python3.12/site-packages/setuptools/tests/server.py deleted file mode 100644 index 15bbc3b1..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/server.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Basic http server for tests to simulate PyPI or custom indexes""" - -import http.server -import os -import threading -import time -import urllib.parse -import urllib.request - - -class IndexServer(http.server.HTTPServer): - """Basic single-threaded http server simulating a package index - - You can use this server in unittest like this:: - s = IndexServer() - s.start() - index_url = s.base_url() + 'mytestindex' - # do some test requests to the index - # The index files should be located in setuptools/tests/indexes - s.stop() - """ - - def __init__( - self, - server_address=('', 0), - RequestHandlerClass=http.server.SimpleHTTPRequestHandler, - ): - http.server.HTTPServer.__init__(self, server_address, RequestHandlerClass) - self._run = True - - def start(self): - self.thread = threading.Thread(target=self.serve_forever) - self.thread.start() - - def stop(self): - "Stop the server" - - # Let the server finish the last request and wait for a new one. - time.sleep(0.1) - - self.shutdown() - self.thread.join() - self.socket.close() - - def base_url(self): - port = self.server_port - return 'http://127.0.0.1:%s/setuptools/tests/indexes/' % port - - -class RequestRecorder(http.server.BaseHTTPRequestHandler): - def do_GET(self): - requests = vars(self.server).setdefault('requests', []) - requests.append(self) - self.send_response(200, 'OK') - - -class MockServer(http.server.HTTPServer, threading.Thread): - """ - A simple HTTP Server that records the requests made to it. - """ - - def __init__(self, server_address=('', 0), RequestHandlerClass=RequestRecorder): - http.server.HTTPServer.__init__(self, server_address, RequestHandlerClass) - threading.Thread.__init__(self) - self.daemon = True - self.requests = [] - - def run(self): - self.serve_forever() - - @property - def netloc(self): - return 'localhost:%s' % self.server_port - - @property - def url(self): - return 'http://%s/' % self.netloc - - -def path_to_url(path, authority=None): - """Convert a path to a file: URL.""" - path = os.path.normpath(os.path.abspath(path)) - base = 'file:' - if authority is not None: - base += '//' + authority - return urllib.parse.urljoin(base, urllib.request.pathname2url(path)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_archive_util.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_archive_util.py deleted file mode 100644 index e3efc628..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_archive_util.py +++ /dev/null @@ -1,36 +0,0 @@ -import io -import tarfile - -import pytest - -from setuptools import archive_util - - -@pytest.fixture -def tarfile_with_unicode(tmpdir): - """ - Create a tarfile containing only a file whose name is - a zero byte file called testimäge.png. - """ - tarobj = io.BytesIO() - - with tarfile.open(fileobj=tarobj, mode="w:gz") as tgz: - data = b"" - - filename = "testimäge.png" - - t = tarfile.TarInfo(filename) - t.size = len(data) - - tgz.addfile(t, io.BytesIO(data)) - - target = tmpdir / 'unicode-pkg-1.0.tar.gz' - with open(str(target), mode='wb') as tf: - tf.write(tarobj.getvalue()) - return str(target) - - -@pytest.mark.xfail(reason="#710 and #712") -def test_unicode_files(tarfile_with_unicode, tmpdir): - target = tmpdir / 'out' - archive_util.unpack_archive(tarfile_with_unicode, str(target)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_bdist_deprecations.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_bdist_deprecations.py deleted file mode 100644 index d9d67b06..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_bdist_deprecations.py +++ /dev/null @@ -1,28 +0,0 @@ -"""develop tests""" - -import sys -from unittest import mock - -import pytest - -from setuptools import SetuptoolsDeprecationWarning -from setuptools.dist import Distribution - - -@pytest.mark.skipif(sys.platform == 'win32', reason='non-Windows only') -@pytest.mark.xfail(reason="bdist_rpm is long deprecated, should we remove it? #1988") -@mock.patch('distutils.command.bdist_rpm.bdist_rpm') -def test_bdist_rpm_warning(distutils_cmd, tmpdir_cwd): - dist = Distribution( - dict( - script_name='setup.py', - script_args=['bdist_rpm'], - name='foo', - py_modules=['hi'], - ) - ) - dist.parse_command_line() - with pytest.warns(SetuptoolsDeprecationWarning): - dist.run_commands() - - distutils_cmd.run.assert_called_once() diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_bdist_egg.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_bdist_egg.py deleted file mode 100644 index 036167dd..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_bdist_egg.py +++ /dev/null @@ -1,73 +0,0 @@ -"""develop tests""" - -import os -import re -import zipfile - -import pytest - -from setuptools.dist import Distribution - -from . import contexts - -SETUP_PY = """\ -from setuptools import setup - -setup(py_modules=['hi']) -""" - - -@pytest.fixture -def setup_context(tmpdir): - with (tmpdir / 'setup.py').open('w') as f: - f.write(SETUP_PY) - with (tmpdir / 'hi.py').open('w') as f: - f.write('1\n') - with tmpdir.as_cwd(): - yield tmpdir - - -class Test: - @pytest.mark.usefixtures("user_override") - @pytest.mark.usefixtures("setup_context") - def test_bdist_egg(self): - dist = Distribution( - dict( - script_name='setup.py', - script_args=['bdist_egg'], - name='foo', - py_modules=['hi'], - ) - ) - os.makedirs(os.path.join('build', 'src')) - with contexts.quiet(): - dist.parse_command_line() - dist.run_commands() - - # let's see if we got our egg link at the right place - [content] = os.listdir('dist') - assert re.match(r'foo-0.0.0-py[23].\d+.egg$', content) - - @pytest.mark.xfail( - os.environ.get('PYTHONDONTWRITEBYTECODE', False), - reason="Byte code disabled", - ) - @pytest.mark.usefixtures("user_override") - @pytest.mark.usefixtures("setup_context") - def test_exclude_source_files(self): - dist = Distribution( - dict( - script_name='setup.py', - script_args=['bdist_egg', '--exclude-source-files'], - py_modules=['hi'], - ) - ) - with contexts.quiet(): - dist.parse_command_line() - dist.run_commands() - [dist_name] = os.listdir('dist') - dist_filename = os.path.join('dist', dist_name) - zip = zipfile.ZipFile(dist_filename) - names = list(zi.filename for zi in zip.filelist) - assert 'hi.pyc' in names - assert 'hi.py' not in names diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_bdist_wheel.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_bdist_wheel.py deleted file mode 100644 index d51dfbeb..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_bdist_wheel.py +++ /dev/null @@ -1,623 +0,0 @@ -from __future__ import annotations - -import builtins -import importlib -import os.path -import platform -import shutil -import stat -import struct -import sys -import sysconfig -from contextlib import suppress -from inspect import cleandoc -from zipfile import ZipFile - -import jaraco.path -import pytest -from packaging import tags - -import setuptools -from setuptools.command.bdist_wheel import bdist_wheel, get_abi_tag -from setuptools.dist import Distribution -from setuptools.warnings import SetuptoolsDeprecationWarning - -from distutils.core import run_setup - -DEFAULT_FILES = { - "dummy_dist-1.0.dist-info/top_level.txt", - "dummy_dist-1.0.dist-info/METADATA", - "dummy_dist-1.0.dist-info/WHEEL", - "dummy_dist-1.0.dist-info/RECORD", -} -DEFAULT_LICENSE_FILES = { - "LICENSE", - "LICENSE.txt", - "LICENCE", - "LICENCE.txt", - "COPYING", - "COPYING.md", - "NOTICE", - "NOTICE.rst", - "AUTHORS", - "AUTHORS.txt", -} -OTHER_IGNORED_FILES = { - "LICENSE~", - "AUTHORS~", -} -SETUPPY_EXAMPLE = """\ -from setuptools import setup - -setup( - name='dummy_dist', - version='1.0', -) -""" - - -EXAMPLES = { - "dummy-dist": { - "setup.py": SETUPPY_EXAMPLE, - "licenses": {"DUMMYFILE": ""}, - **dict.fromkeys(DEFAULT_LICENSE_FILES | OTHER_IGNORED_FILES, ""), - }, - "simple-dist": { - "setup.py": cleandoc( - """ - from setuptools import setup - - setup( - name="simple.dist", - version="0.1", - description="A testing distribution \N{SNOWMAN}", - extras_require={"voting": ["beaglevote"]}, - ) - """ - ), - "simpledist": "", - }, - "complex-dist": { - "setup.py": cleandoc( - """ - from setuptools import setup - - setup( - name="complex-dist", - version="0.1", - description="Another testing distribution \N{SNOWMAN}", - long_description="Another testing distribution \N{SNOWMAN}", - author="Illustrious Author", - author_email="illustrious@example.org", - url="http://example.org/exemplary", - packages=["complexdist"], - setup_requires=["setuptools"], - install_requires=["quux", "splort"], - extras_require={"simple": ["simple.dist"]}, - entry_points={ - "console_scripts": [ - "complex-dist=complexdist:main", - "complex-dist2=complexdist:main", - ], - }, - ) - """ - ), - "complexdist": {"__init__.py": "def main(): return"}, - }, - "headers-dist": { - "setup.py": cleandoc( - """ - from setuptools import setup - - setup( - name="headers.dist", - version="0.1", - description="A distribution with headers", - headers=["header.h"], - ) - """ - ), - "headersdist.py": "", - "header.h": "", - }, - "commasinfilenames-dist": { - "setup.py": cleandoc( - """ - from setuptools import setup - - setup( - name="testrepo", - version="0.1", - packages=["mypackage"], - description="A test package with commas in file names", - include_package_data=True, - package_data={"mypackage.data": ["*"]}, - ) - """ - ), - "mypackage": { - "__init__.py": "", - "data": {"__init__.py": "", "1,2,3.txt": ""}, - }, - "testrepo-0.1.0": { - "mypackage": {"__init__.py": ""}, - }, - }, - "unicode-dist": { - "setup.py": cleandoc( - """ - from setuptools import setup - - setup( - name="unicode.dist", - version="0.1", - description="A testing distribution \N{SNOWMAN}", - packages=["unicodedist"], - zip_safe=True, - ) - """ - ), - "unicodedist": {"__init__.py": "", "åäö_日本語.py": ""}, - }, - "utf8-metadata-dist": { - "setup.cfg": cleandoc( - """ - [metadata] - name = utf8-metadata-dist - version = 42 - author_email = "John X. ÃørçeÄ" , Γαμα ï­‡ æ± - long_description = file: README.rst - """ - ), - "README.rst": "UTF-8 æè¿° 説明", - }, -} - - -if sys.platform != "win32": - # ABI3 extensions don't really work on Windows - EXAMPLES["abi3extension-dist"] = { - "setup.py": cleandoc( - """ - from setuptools import Extension, setup - - setup( - name="extension.dist", - version="0.1", - description="A testing distribution \N{SNOWMAN}", - ext_modules=[ - Extension( - name="extension", sources=["extension.c"], py_limited_api=True - ) - ], - ) - """ - ), - "setup.cfg": "[bdist_wheel]\npy_limited_api=cp32", - "extension.c": "#define Py_LIMITED_API 0x03020000\n#include ", - } - - -def bdist_wheel_cmd(**kwargs): - """Run command in the same process so that it is easier to collect coverage""" - dist_obj = ( - run_setup("setup.py", stop_after="init") - if os.path.exists("setup.py") - else Distribution({"script_name": "%%build_meta%%"}) - ) - dist_obj.parse_config_files() - cmd = bdist_wheel(dist_obj) - for attr, value in kwargs.items(): - setattr(cmd, attr, value) - cmd.finalize_options() - return cmd - - -def mkexample(tmp_path_factory, name): - basedir = tmp_path_factory.mktemp(name) - jaraco.path.build(EXAMPLES[name], prefix=str(basedir)) - return basedir - - -@pytest.fixture(scope="session") -def wheel_paths(tmp_path_factory): - build_base = tmp_path_factory.mktemp("build") - dist_dir = tmp_path_factory.mktemp("dist") - for name in EXAMPLES: - example_dir = mkexample(tmp_path_factory, name) - build_dir = build_base / name - with jaraco.path.DirectoryStack().context(example_dir): - bdist_wheel_cmd(bdist_dir=str(build_dir), dist_dir=str(dist_dir)).run() - - return sorted(str(fname) for fname in dist_dir.glob("*.whl")) - - -@pytest.fixture -def dummy_dist(tmp_path_factory): - return mkexample(tmp_path_factory, "dummy-dist") - - -def test_no_scripts(wheel_paths): - """Make sure entry point scripts are not generated.""" - path = next(path for path in wheel_paths if "complex_dist" in path) - for entry in ZipFile(path).infolist(): - assert ".data/scripts/" not in entry.filename - - -def test_unicode_record(wheel_paths): - path = next(path for path in wheel_paths if "unicode.dist" in path) - with ZipFile(path) as zf: - record = zf.read("unicode.dist-0.1.dist-info/RECORD") - - assert "åäö_日本語.py".encode() in record - - -UTF8_PKG_INFO = """\ -Metadata-Version: 2.1 -Name: helloworld -Version: 42 -Author-email: "John X. ÃørçeÄ" , Γαμα ï­‡ æ± - - -UTF-8 æè¿° 説明 -""" - - -def test_preserve_unicode_metadata(monkeypatch, tmp_path): - monkeypatch.chdir(tmp_path) - egginfo = tmp_path / "dummy_dist.egg-info" - distinfo = tmp_path / "dummy_dist.dist-info" - - egginfo.mkdir() - (egginfo / "PKG-INFO").write_text(UTF8_PKG_INFO, encoding="utf-8") - (egginfo / "dependency_links.txt").touch() - - class simpler_bdist_wheel(bdist_wheel): - """Avoid messing with setuptools/distutils internals""" - - def __init__(self): - pass - - @property - def license_paths(self): - return [] - - cmd_obj = simpler_bdist_wheel() - cmd_obj.egg2dist(egginfo, distinfo) - - metadata = (distinfo / "METADATA").read_text(encoding="utf-8") - assert 'Author-email: "John X. ÃørçeÄ"' in metadata - assert "Γαμα ï­‡ æ± " in metadata - assert "UTF-8 æè¿° 説明" in metadata - - -def test_licenses_default(dummy_dist, monkeypatch, tmp_path): - monkeypatch.chdir(dummy_dist) - bdist_wheel_cmd(bdist_dir=str(tmp_path)).run() - with ZipFile("dist/dummy_dist-1.0-py3-none-any.whl") as wf: - license_files = { - "dummy_dist-1.0.dist-info/" + fname for fname in DEFAULT_LICENSE_FILES - } - assert set(wf.namelist()) == DEFAULT_FILES | license_files - - -def test_licenses_deprecated(dummy_dist, monkeypatch, tmp_path): - dummy_dist.joinpath("setup.cfg").write_text( - "[metadata]\nlicense_file=licenses/DUMMYFILE", encoding="utf-8" - ) - monkeypatch.chdir(dummy_dist) - - bdist_wheel_cmd(bdist_dir=str(tmp_path)).run() - - with ZipFile("dist/dummy_dist-1.0-py3-none-any.whl") as wf: - license_files = {"dummy_dist-1.0.dist-info/DUMMYFILE"} - assert set(wf.namelist()) == DEFAULT_FILES | license_files - - -@pytest.mark.parametrize( - ("config_file", "config"), - [ - ("setup.cfg", "[metadata]\nlicense_files=licenses/*\n LICENSE"), - ("setup.cfg", "[metadata]\nlicense_files=licenses/*, LICENSE"), - ( - "setup.py", - SETUPPY_EXAMPLE.replace( - ")", " license_files=['licenses/DUMMYFILE', 'LICENSE'])" - ), - ), - ], -) -def test_licenses_override(dummy_dist, monkeypatch, tmp_path, config_file, config): - dummy_dist.joinpath(config_file).write_text(config, encoding="utf-8") - monkeypatch.chdir(dummy_dist) - bdist_wheel_cmd(bdist_dir=str(tmp_path)).run() - with ZipFile("dist/dummy_dist-1.0-py3-none-any.whl") as wf: - license_files = { - "dummy_dist-1.0.dist-info/" + fname for fname in {"DUMMYFILE", "LICENSE"} - } - assert set(wf.namelist()) == DEFAULT_FILES | license_files - - -def test_licenses_disabled(dummy_dist, monkeypatch, tmp_path): - dummy_dist.joinpath("setup.cfg").write_text( - "[metadata]\nlicense_files=\n", encoding="utf-8" - ) - monkeypatch.chdir(dummy_dist) - bdist_wheel_cmd(bdist_dir=str(tmp_path)).run() - with ZipFile("dist/dummy_dist-1.0-py3-none-any.whl") as wf: - assert set(wf.namelist()) == DEFAULT_FILES - - -def test_build_number(dummy_dist, monkeypatch, tmp_path): - monkeypatch.chdir(dummy_dist) - bdist_wheel_cmd(bdist_dir=str(tmp_path), build_number="2").run() - with ZipFile("dist/dummy_dist-1.0-2-py3-none-any.whl") as wf: - filenames = set(wf.namelist()) - assert "dummy_dist-1.0.dist-info/RECORD" in filenames - assert "dummy_dist-1.0.dist-info/METADATA" in filenames - - -def test_universal_deprecated(dummy_dist, monkeypatch, tmp_path): - monkeypatch.chdir(dummy_dist) - with pytest.warns(SetuptoolsDeprecationWarning, match=".*universal is deprecated"): - bdist_wheel_cmd(bdist_dir=str(tmp_path), universal=True).run() - - # For now we still respect the option - assert os.path.exists("dist/dummy_dist-1.0-py2.py3-none-any.whl") - - -EXTENSION_EXAMPLE = """\ -#include - -static PyMethodDef methods[] = { - { NULL, NULL, 0, NULL } -}; - -static struct PyModuleDef module_def = { - PyModuleDef_HEAD_INIT, - "extension", - "Dummy extension module", - -1, - methods -}; - -PyMODINIT_FUNC PyInit_extension(void) { - return PyModule_Create(&module_def); -} -""" -EXTENSION_SETUPPY = """\ -from __future__ import annotations - -from setuptools import Extension, setup - -setup( - name="extension.dist", - version="0.1", - description="A testing distribution \N{SNOWMAN}", - ext_modules=[Extension(name="extension", sources=["extension.c"])], -) -""" - - -@pytest.mark.filterwarnings( - "once:Config variable '.*' is unset.*, Python ABI tag may be incorrect" -) -def test_limited_abi(monkeypatch, tmp_path, tmp_path_factory): - """Test that building a binary wheel with the limited ABI works.""" - source_dir = tmp_path_factory.mktemp("extension_dist") - (source_dir / "setup.py").write_text(EXTENSION_SETUPPY, encoding="utf-8") - (source_dir / "extension.c").write_text(EXTENSION_EXAMPLE, encoding="utf-8") - build_dir = tmp_path.joinpath("build") - dist_dir = tmp_path.joinpath("dist") - monkeypatch.chdir(source_dir) - bdist_wheel_cmd(bdist_dir=str(build_dir), dist_dir=str(dist_dir)).run() - - -def test_build_from_readonly_tree(dummy_dist, monkeypatch, tmp_path): - basedir = str(tmp_path.joinpath("dummy")) - shutil.copytree(str(dummy_dist), basedir) - monkeypatch.chdir(basedir) - - # Make the tree read-only - for root, _dirs, files in os.walk(basedir): - for fname in files: - os.chmod(os.path.join(root, fname), stat.S_IREAD) - - bdist_wheel_cmd().run() - - -@pytest.mark.parametrize( - ("option", "compress_type"), - list(bdist_wheel.supported_compressions.items()), - ids=list(bdist_wheel.supported_compressions), -) -def test_compression(dummy_dist, monkeypatch, tmp_path, option, compress_type): - monkeypatch.chdir(dummy_dist) - bdist_wheel_cmd(bdist_dir=str(tmp_path), compression=option).run() - with ZipFile("dist/dummy_dist-1.0-py3-none-any.whl") as wf: - filenames = set(wf.namelist()) - assert "dummy_dist-1.0.dist-info/RECORD" in filenames - assert "dummy_dist-1.0.dist-info/METADATA" in filenames - for zinfo in wf.filelist: - assert zinfo.compress_type == compress_type - - -def test_wheelfile_line_endings(wheel_paths): - for path in wheel_paths: - with ZipFile(path) as wf: - wheelfile = next(fn for fn in wf.filelist if fn.filename.endswith("WHEEL")) - wheelfile_contents = wf.read(wheelfile) - assert b"\r" not in wheelfile_contents - - -def test_unix_epoch_timestamps(dummy_dist, monkeypatch, tmp_path): - monkeypatch.setenv("SOURCE_DATE_EPOCH", "0") - monkeypatch.chdir(dummy_dist) - bdist_wheel_cmd(bdist_dir=str(tmp_path), build_number="2a").run() - with ZipFile("dist/dummy_dist-1.0-2a-py3-none-any.whl") as wf: - for zinfo in wf.filelist: - assert zinfo.date_time >= (1980, 1, 1, 0, 0, 0) # min epoch is used - - -def test_get_abi_tag_windows(monkeypatch): - monkeypatch.setattr(tags, "interpreter_name", lambda: "cp") - monkeypatch.setattr(sysconfig, "get_config_var", lambda x: "cp313-win_amd64") - assert get_abi_tag() == "cp313" - monkeypatch.setattr(sys, "gettotalrefcount", lambda: 1, False) - assert get_abi_tag() == "cp313d" - monkeypatch.setattr(sysconfig, "get_config_var", lambda x: "cp313t-win_amd64") - assert get_abi_tag() == "cp313td" - monkeypatch.delattr(sys, "gettotalrefcount") - assert get_abi_tag() == "cp313t" - - -def test_get_abi_tag_pypy_old(monkeypatch): - monkeypatch.setattr(tags, "interpreter_name", lambda: "pp") - monkeypatch.setattr(sysconfig, "get_config_var", lambda x: "pypy36-pp73") - assert get_abi_tag() == "pypy36_pp73" - - -def test_get_abi_tag_pypy_new(monkeypatch): - monkeypatch.setattr(sysconfig, "get_config_var", lambda x: "pypy37-pp73-darwin") - monkeypatch.setattr(tags, "interpreter_name", lambda: "pp") - assert get_abi_tag() == "pypy37_pp73" - - -def test_get_abi_tag_graalpy(monkeypatch): - monkeypatch.setattr( - sysconfig, "get_config_var", lambda x: "graalpy231-310-native-x86_64-linux" - ) - monkeypatch.setattr(tags, "interpreter_name", lambda: "graalpy") - assert get_abi_tag() == "graalpy231_310_native" - - -def test_get_abi_tag_fallback(monkeypatch): - monkeypatch.setattr(sysconfig, "get_config_var", lambda x: "unknown-python-310") - monkeypatch.setattr(tags, "interpreter_name", lambda: "unknown-python") - assert get_abi_tag() == "unknown_python_310" - - -def test_platform_with_space(dummy_dist, monkeypatch): - """Ensure building on platforms with a space in the name succeed.""" - monkeypatch.chdir(dummy_dist) - bdist_wheel_cmd(plat_name="isilon onefs").run() - - -def test_data_dir_with_tag_build(monkeypatch, tmp_path): - """ - Setuptools allow authors to set PEP 440's local version segments - using ``egg_info.tag_build``. This should be reflected not only in the - ``.whl`` file name, but also in the ``.dist-info`` and ``.data`` dirs. - See pypa/setuptools#3997. - """ - monkeypatch.chdir(tmp_path) - files = { - "setup.py": """ - from setuptools import setup - setup(headers=["hello.h"]) - """, - "setup.cfg": """ - [metadata] - name = test - version = 1.0 - - [options.data_files] - hello/world = file.txt - - [egg_info] - tag_build = +what - tag_date = 0 - """, - "file.txt": "", - "hello.h": "", - } - for file, content in files.items(): - with open(file, "w", encoding="utf-8") as fh: - fh.write(cleandoc(content)) - - bdist_wheel_cmd().run() - - # Ensure .whl, .dist-info and .data contain the local segment - wheel_path = "dist/test-1.0+what-py3-none-any.whl" - assert os.path.exists(wheel_path) - entries = set(ZipFile(wheel_path).namelist()) - for expected in ( - "test-1.0+what.data/headers/hello.h", - "test-1.0+what.data/data/hello/world/file.txt", - "test-1.0+what.dist-info/METADATA", - "test-1.0+what.dist-info/WHEEL", - ): - assert expected in entries - - for not_expected in ( - "test.data/headers/hello.h", - "test-1.0.data/data/hello/world/file.txt", - "test.dist-info/METADATA", - "test-1.0.dist-info/WHEEL", - ): - assert not_expected not in entries - - -@pytest.mark.parametrize( - ("reported", "expected"), - [("linux-x86_64", "linux_i686"), ("linux-aarch64", "linux_armv7l")], -) -@pytest.mark.skipif( - platform.system() != "Linux", reason="Only makes sense to test on Linux" -) -def test_platform_linux32(reported, expected, monkeypatch): - monkeypatch.setattr(struct, "calcsize", lambda x: 4) - dist = setuptools.Distribution() - cmd = bdist_wheel(dist) - cmd.plat_name = reported - cmd.root_is_pure = False - _, _, actual = cmd.get_tag() - assert actual == expected - - -def test_no_ctypes(monkeypatch) -> None: - def _fake_import(name: str, *args, **kwargs): - if name == "ctypes": - raise ModuleNotFoundError(f"No module named {name}") - - return importlib.__import__(name, *args, **kwargs) - - with suppress(KeyError): - monkeypatch.delitem(sys.modules, "wheel.macosx_libfile") - - # Install an importer shim that refuses to load ctypes - monkeypatch.setattr(builtins, "__import__", _fake_import) - with pytest.raises(ModuleNotFoundError, match="No module named ctypes"): - import wheel.macosx_libfile # noqa: F401 - - # Unload and reimport the bdist_wheel command module to make sure it won't try to - # import ctypes - monkeypatch.delitem(sys.modules, "setuptools.command.bdist_wheel") - - import setuptools.command.bdist_wheel # noqa: F401 - - -def test_dist_info_provided(dummy_dist, monkeypatch, tmp_path): - monkeypatch.chdir(dummy_dist) - distinfo = tmp_path / "dummy_dist.dist-info" - - distinfo.mkdir() - (distinfo / "METADATA").write_text("name: helloworld", encoding="utf-8") - - # We don't control the metadata. According to PEP-517, "The hook MAY also - # create other files inside this directory, and a build frontend MUST - # preserve". - (distinfo / "FOO").write_text("bar", encoding="utf-8") - - bdist_wheel_cmd(bdist_dir=str(tmp_path), dist_info_dir=str(distinfo)).run() - expected = { - "dummy_dist-1.0.dist-info/FOO", - "dummy_dist-1.0.dist-info/RECORD", - } - with ZipFile("dist/dummy_dist-1.0-py3-none-any.whl") as wf: - files_found = set(wf.namelist()) - # Check that all expected files are there. - assert expected - files_found == set() - # Make sure there is no accidental egg-info bleeding into the wheel. - assert not [path for path in files_found if 'egg-info' in str(path)] diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_build.py deleted file mode 100644 index f0f1d9dc..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build.py +++ /dev/null @@ -1,33 +0,0 @@ -from setuptools import Command -from setuptools.command.build import build -from setuptools.dist import Distribution - - -def test_distribution_gives_setuptools_build_obj(tmpdir_cwd): - """ - Check that the setuptools Distribution uses the - setuptools specific build object. - """ - - dist = Distribution( - dict( - script_name='setup.py', - script_args=['build'], - packages=[], - package_data={'': ['path/*']}, - ) - ) - assert isinstance(dist.get_command_obj("build"), build) - - -class Subcommand(Command): - """Dummy command to be used in tests""" - - def initialize_options(self): - pass - - def finalize_options(self): - pass - - def run(self): - raise NotImplementedError("just to check if the command runs") diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_clib.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_clib.py deleted file mode 100644 index b5315df4..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_clib.py +++ /dev/null @@ -1,84 +0,0 @@ -import random -from unittest import mock - -import pytest - -from setuptools.command.build_clib import build_clib -from setuptools.dist import Distribution - -from distutils.errors import DistutilsSetupError - - -class TestBuildCLib: - @mock.patch('setuptools.command.build_clib.newer_pairwise_group') - def test_build_libraries(self, mock_newer): - dist = Distribution() - cmd = build_clib(dist) - - # this will be a long section, just making sure all - # exceptions are properly raised - libs = [('example', {'sources': 'broken.c'})] - with pytest.raises(DistutilsSetupError): - cmd.build_libraries(libs) - - obj_deps = 'some_string' - libs = [('example', {'sources': ['source.c'], 'obj_deps': obj_deps})] - with pytest.raises(DistutilsSetupError): - cmd.build_libraries(libs) - - obj_deps = {'': ''} - libs = [('example', {'sources': ['source.c'], 'obj_deps': obj_deps})] - with pytest.raises(DistutilsSetupError): - cmd.build_libraries(libs) - - obj_deps = {'source.c': ''} - libs = [('example', {'sources': ['source.c'], 'obj_deps': obj_deps})] - with pytest.raises(DistutilsSetupError): - cmd.build_libraries(libs) - - # with that out of the way, let's see if the crude dependency - # system works - cmd.compiler = mock.MagicMock(spec=cmd.compiler) - mock_newer.return_value = ([], []) - - obj_deps = {'': ('global.h',), 'example.c': ('example.h',)} - libs = [('example', {'sources': ['example.c'], 'obj_deps': obj_deps})] - - cmd.build_libraries(libs) - assert [['example.c', 'global.h', 'example.h']] in mock_newer.call_args[0] - assert not cmd.compiler.compile.called - assert cmd.compiler.create_static_lib.call_count == 1 - - # reset the call numbers so we can test again - cmd.compiler.reset_mock() - - mock_newer.return_value = '' # anything as long as it's not ([],[]) - cmd.build_libraries(libs) - assert cmd.compiler.compile.call_count == 1 - assert cmd.compiler.create_static_lib.call_count == 1 - - @mock.patch('setuptools.command.build_clib.newer_pairwise_group') - def test_build_libraries_reproducible(self, mock_newer): - dist = Distribution() - cmd = build_clib(dist) - - # with that out of the way, let's see if the crude dependency - # system works - cmd.compiler = mock.MagicMock(spec=cmd.compiler) - mock_newer.return_value = ([], []) - - original_sources = ['a-example.c', 'example.c'] - sources = original_sources - - obj_deps = {'': ('global.h',), 'example.c': ('example.h',)} - libs = [('example', {'sources': sources, 'obj_deps': obj_deps})] - - cmd.build_libraries(libs) - computed_call_args = mock_newer.call_args[0] - - while sources == original_sources: - sources = random.sample(original_sources, len(original_sources)) - libs = [('example', {'sources': sources, 'obj_deps': obj_deps})] - - cmd.build_libraries(libs) - assert computed_call_args == mock_newer.call_args[0] diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_ext.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_ext.py deleted file mode 100644 index 88318b26..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_ext.py +++ /dev/null @@ -1,291 +0,0 @@ -import os -import sys -from importlib.util import cache_from_source as _compiled_file_name - -import pytest -from jaraco import path - -from setuptools.command.build_ext import build_ext, get_abi3_suffix -from setuptools.dist import Distribution -from setuptools.errors import CompileError -from setuptools.extension import Extension - -from . import environment -from .textwrap import DALS - -import distutils.command.build_ext as orig -from distutils.sysconfig import get_config_var - -IS_PYPY = '__pypy__' in sys.builtin_module_names - - -class TestBuildExt: - def test_get_ext_filename(self): - """ - Setuptools needs to give back the same - result as distutils, even if the fullname - is not in ext_map. - """ - dist = Distribution() - cmd = build_ext(dist) - cmd.ext_map['foo/bar'] = '' - res = cmd.get_ext_filename('foo') - wanted = orig.build_ext.get_ext_filename(cmd, 'foo') - assert res == wanted - - def test_abi3_filename(self): - """ - Filename needs to be loadable by several versions - of Python 3 if 'is_abi3' is truthy on Extension() - """ - print(get_abi3_suffix()) - - extension = Extension('spam.eggs', ['eggs.c'], py_limited_api=True) - dist = Distribution(dict(ext_modules=[extension])) - cmd = build_ext(dist) - cmd.finalize_options() - assert 'spam.eggs' in cmd.ext_map - res = cmd.get_ext_filename('spam.eggs') - - if not get_abi3_suffix(): - assert res.endswith(get_config_var('EXT_SUFFIX')) - elif sys.platform == 'win32': - assert res.endswith('eggs.pyd') - else: - assert 'abi3' in res - - def test_ext_suffix_override(self): - """ - SETUPTOOLS_EXT_SUFFIX variable always overrides - default extension options. - """ - dist = Distribution() - cmd = build_ext(dist) - cmd.ext_map['for_abi3'] = ext = Extension( - 'for_abi3', - ['s.c'], - # Override shouldn't affect abi3 modules - py_limited_api=True, - ) - # Mock value needed to pass tests - ext._links_to_dynamic = False - - if not IS_PYPY: - expect = cmd.get_ext_filename('for_abi3') - else: - # PyPy builds do not use ABI3 tag, so they will - # also get the overridden suffix. - expect = 'for_abi3.test-suffix' - - try: - os.environ['SETUPTOOLS_EXT_SUFFIX'] = '.test-suffix' - res = cmd.get_ext_filename('normal') - assert 'normal.test-suffix' == res - res = cmd.get_ext_filename('for_abi3') - assert expect == res - finally: - del os.environ['SETUPTOOLS_EXT_SUFFIX'] - - def dist_with_example(self): - files = { - "src": {"mypkg": {"subpkg": {"ext2.c": ""}}}, - "c-extensions": {"ext1": {"main.c": ""}}, - } - - ext1 = Extension("mypkg.ext1", ["c-extensions/ext1/main.c"]) - ext2 = Extension("mypkg.subpkg.ext2", ["src/mypkg/subpkg/ext2.c"]) - ext3 = Extension("ext3", ["c-extension/ext3.c"]) - - path.build(files) - return Distribution({ - "script_name": "%test%", - "ext_modules": [ext1, ext2, ext3], - "package_dir": {"": "src"}, - }) - - def test_get_outputs(self, tmpdir_cwd, monkeypatch): - monkeypatch.setenv('SETUPTOOLS_EXT_SUFFIX', '.mp3') # make test OS-independent - monkeypatch.setattr('setuptools.command.build_ext.use_stubs', False) - dist = self.dist_with_example() - - # Regular build: get_outputs not empty, but get_output_mappings is empty - build_ext = dist.get_command_obj("build_ext") - build_ext.editable_mode = False - build_ext.ensure_finalized() - build_lib = build_ext.build_lib.replace(os.sep, "/") - outputs = [x.replace(os.sep, "/") for x in build_ext.get_outputs()] - assert outputs == [ - f"{build_lib}/ext3.mp3", - f"{build_lib}/mypkg/ext1.mp3", - f"{build_lib}/mypkg/subpkg/ext2.mp3", - ] - assert build_ext.get_output_mapping() == {} - - # Editable build: get_output_mappings should contain everything in get_outputs - dist.reinitialize_command("build_ext") - build_ext.editable_mode = True - build_ext.ensure_finalized() - mapping = { - k.replace(os.sep, "/"): v.replace(os.sep, "/") - for k, v in build_ext.get_output_mapping().items() - } - assert mapping == { - f"{build_lib}/ext3.mp3": "src/ext3.mp3", - f"{build_lib}/mypkg/ext1.mp3": "src/mypkg/ext1.mp3", - f"{build_lib}/mypkg/subpkg/ext2.mp3": "src/mypkg/subpkg/ext2.mp3", - } - - def test_get_output_mapping_with_stub(self, tmpdir_cwd, monkeypatch): - monkeypatch.setenv('SETUPTOOLS_EXT_SUFFIX', '.mp3') # make test OS-independent - monkeypatch.setattr('setuptools.command.build_ext.use_stubs', True) - dist = self.dist_with_example() - - # Editable build should create compiled stubs (.pyc files only, no .py) - build_ext = dist.get_command_obj("build_ext") - build_ext.editable_mode = True - build_ext.ensure_finalized() - for ext in build_ext.extensions: - monkeypatch.setattr(ext, "_needs_stub", True) - - build_lib = build_ext.build_lib.replace(os.sep, "/") - mapping = { - k.replace(os.sep, "/"): v.replace(os.sep, "/") - for k, v in build_ext.get_output_mapping().items() - } - - def C(file): - """Make it possible to do comparisons and tests in a OS-independent way""" - return _compiled_file_name(file).replace(os.sep, "/") - - assert mapping == { - C(f"{build_lib}/ext3.py"): C("src/ext3.py"), - f"{build_lib}/ext3.mp3": "src/ext3.mp3", - C(f"{build_lib}/mypkg/ext1.py"): C("src/mypkg/ext1.py"), - f"{build_lib}/mypkg/ext1.mp3": "src/mypkg/ext1.mp3", - C(f"{build_lib}/mypkg/subpkg/ext2.py"): C("src/mypkg/subpkg/ext2.py"), - f"{build_lib}/mypkg/subpkg/ext2.mp3": "src/mypkg/subpkg/ext2.mp3", - } - - # Ensure only the compiled stubs are present not the raw .py stub - assert f"{build_lib}/mypkg/ext1.py" not in mapping - assert f"{build_lib}/mypkg/subpkg/ext2.py" not in mapping - - # Visualize what the cached stub files look like - example_stub = C(f"{build_lib}/mypkg/ext1.py") - assert example_stub in mapping - assert example_stub.startswith(f"{build_lib}/mypkg/__pycache__/ext1") - assert example_stub.endswith(".pyc") - - -class TestBuildExtInplace: - def get_build_ext_cmd(self, optional: bool, **opts) -> build_ext: - files = { - "eggs.c": "#include missingheader.h\n", - ".build": {"lib": {}, "tmp": {}}, - } - path.build(files) # jaraco/path#232 - extension = Extension('spam.eggs', ['eggs.c'], optional=optional) - dist = Distribution(dict(ext_modules=[extension])) - dist.script_name = 'setup.py' - cmd = build_ext(dist) - vars(cmd).update(build_lib=".build/lib", build_temp=".build/tmp", **opts) - cmd.ensure_finalized() - return cmd - - def get_log_messages(self, caplog, capsys): - """ - Historically, distutils "logged" by printing to sys.std*. - Later versions adopted the logging framework. Grab - messages regardless of how they were captured. - """ - std = capsys.readouterr() - return std.out.splitlines() + std.err.splitlines() + caplog.messages - - def test_optional(self, tmpdir_cwd, caplog, capsys): - """ - If optional extensions fail to build, setuptools should show the error - in the logs but not fail to build - """ - cmd = self.get_build_ext_cmd(optional=True, inplace=True) - cmd.run() - assert any( - 'build_ext: building extension "spam.eggs" failed' - for msg in self.get_log_messages(caplog, capsys) - ) - # No compile error exception should be raised - - def test_non_optional(self, tmpdir_cwd): - # Non-optional extensions should raise an exception - cmd = self.get_build_ext_cmd(optional=False, inplace=True) - with pytest.raises(CompileError): - cmd.run() - - -def test_build_ext_config_handling(tmpdir_cwd): - files = { - 'setup.py': DALS( - """ - from setuptools import Extension, setup - setup( - name='foo', - version='0.0.0', - ext_modules=[Extension('foo', ['foo.c'])], - ) - """ - ), - 'foo.c': DALS( - """ - #include "Python.h" - - #if PY_MAJOR_VERSION >= 3 - - static struct PyModuleDef moduledef = { - PyModuleDef_HEAD_INIT, - "foo", - NULL, - 0, - NULL, - NULL, - NULL, - NULL, - NULL - }; - - #define INITERROR return NULL - - PyMODINIT_FUNC PyInit_foo(void) - - #else - - #define INITERROR return - - void initfoo(void) - - #endif - { - #if PY_MAJOR_VERSION >= 3 - PyObject *module = PyModule_Create(&moduledef); - #else - PyObject *module = Py_InitModule("extension", NULL); - #endif - if (module == NULL) - INITERROR; - #if PY_MAJOR_VERSION >= 3 - return module; - #endif - } - """ - ), - 'setup.cfg': DALS( - """ - [build] - build_base = foo_build - """ - ), - } - path.build(files) - code, output = environment.run_setup_py( - cmd=['build'], - data_stream=(0, 2), - ) - assert code == 0, '\nSTDOUT:\n%s\nSTDERR:\n%s' % output diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_meta.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_meta.py deleted file mode 100644 index 121f4090..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_meta.py +++ /dev/null @@ -1,970 +0,0 @@ -import contextlib -import importlib -import os -import re -import shutil -import signal -import sys -import tarfile -from concurrent import futures -from pathlib import Path -from typing import Any, Callable -from zipfile import ZipFile - -import pytest -from jaraco import path -from packaging.requirements import Requirement - -from .textwrap import DALS - -SETUP_SCRIPT_STUB = "__import__('setuptools').setup()" - - -TIMEOUT = int(os.getenv("TIMEOUT_BACKEND_TEST", "180")) # in seconds -IS_PYPY = '__pypy__' in sys.builtin_module_names - - -pytestmark = pytest.mark.skipif( - sys.platform == "win32" and IS_PYPY, - reason="The combination of PyPy + Windows + pytest-xdist + ProcessPoolExecutor " - "is flaky and problematic", -) - - -class BuildBackendBase: - def __init__(self, cwd='.', env=None, backend_name='setuptools.build_meta'): - self.cwd = cwd - self.env = env or {} - self.backend_name = backend_name - - -class BuildBackend(BuildBackendBase): - """PEP 517 Build Backend""" - - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - self.pool = futures.ProcessPoolExecutor(max_workers=1) - - def __getattr__(self, name: str) -> Callable[..., Any]: - """Handles arbitrary function invocations on the build backend.""" - - def method(*args, **kw): - root = os.path.abspath(self.cwd) - caller = BuildBackendCaller(root, self.env, self.backend_name) - pid = None - try: - pid = self.pool.submit(os.getpid).result(TIMEOUT) - return self.pool.submit(caller, name, *args, **kw).result(TIMEOUT) - except futures.TimeoutError: - self.pool.shutdown(wait=False) # doesn't stop already running processes - self._kill(pid) - pytest.xfail(f"Backend did not respond before timeout ({TIMEOUT} s)") - except (futures.process.BrokenProcessPool, MemoryError, OSError): - if IS_PYPY: - pytest.xfail("PyPy frequently fails tests with ProcessPoolExector") - raise - - return method - - def _kill(self, pid): - if pid is None: - return - with contextlib.suppress(ProcessLookupError, OSError): - os.kill(pid, signal.SIGTERM if os.name == "nt" else signal.SIGKILL) - - -class BuildBackendCaller(BuildBackendBase): - def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) - - (self.backend_name, _, self.backend_obj) = self.backend_name.partition(':') - - def __call__(self, name, *args, **kw): - """Handles arbitrary function invocations on the build backend.""" - os.chdir(self.cwd) - os.environ.update(self.env) - mod = importlib.import_module(self.backend_name) - - if self.backend_obj: - backend = getattr(mod, self.backend_obj) - else: - backend = mod - - return getattr(backend, name)(*args, **kw) - - -defns = [ - { # simple setup.py script - 'setup.py': DALS( - """ - __import__('setuptools').setup( - name='foo', - version='0.0.0', - py_modules=['hello'], - setup_requires=['six'], - ) - """ - ), - 'hello.py': DALS( - """ - def run(): - print('hello') - """ - ), - }, - { # setup.py that relies on __name__ - 'setup.py': DALS( - """ - assert __name__ == '__main__' - __import__('setuptools').setup( - name='foo', - version='0.0.0', - py_modules=['hello'], - setup_requires=['six'], - ) - """ - ), - 'hello.py': DALS( - """ - def run(): - print('hello') - """ - ), - }, - { # setup.py script that runs arbitrary code - 'setup.py': DALS( - """ - variable = True - def function(): - return variable - assert variable - __import__('setuptools').setup( - name='foo', - version='0.0.0', - py_modules=['hello'], - setup_requires=['six'], - ) - """ - ), - 'hello.py': DALS( - """ - def run(): - print('hello') - """ - ), - }, - { # setup.py script that constructs temp files to be included in the distribution - 'setup.py': DALS( - """ - # Some packages construct files on the fly, include them in the package, - # and immediately remove them after `setup()` (e.g. pybind11==2.9.1). - # Therefore, we cannot use `distutils.core.run_setup(..., stop_after=...)` - # to obtain a distribution object first, and then run the distutils - # commands later, because these files will be removed in the meantime. - - with open('world.py', 'w', encoding="utf-8") as f: - f.write('x = 42') - - try: - __import__('setuptools').setup( - name='foo', - version='0.0.0', - py_modules=['world'], - setup_requires=['six'], - ) - finally: - # Some packages will clean temporary files - __import__('os').unlink('world.py') - """ - ), - }, - { # setup.cfg only - 'setup.cfg': DALS( - """ - [metadata] - name = foo - version = 0.0.0 - - [options] - py_modules=hello - setup_requires=six - """ - ), - 'hello.py': DALS( - """ - def run(): - print('hello') - """ - ), - }, - { # setup.cfg and setup.py - 'setup.cfg': DALS( - """ - [metadata] - name = foo - version = 0.0.0 - - [options] - py_modules=hello - setup_requires=six - """ - ), - 'setup.py': "__import__('setuptools').setup()", - 'hello.py': DALS( - """ - def run(): - print('hello') - """ - ), - }, -] - - -class TestBuildMetaBackend: - backend_name = 'setuptools.build_meta' - - def get_build_backend(self): - return BuildBackend(backend_name=self.backend_name) - - @pytest.fixture(params=defns) - def build_backend(self, tmpdir, request): - path.build(request.param, prefix=str(tmpdir)) - with tmpdir.as_cwd(): - yield self.get_build_backend() - - def test_get_requires_for_build_wheel(self, build_backend): - actual = build_backend.get_requires_for_build_wheel() - expected = ['six'] - assert sorted(actual) == sorted(expected) - - def test_get_requires_for_build_sdist(self, build_backend): - actual = build_backend.get_requires_for_build_sdist() - expected = ['six'] - assert sorted(actual) == sorted(expected) - - def test_build_wheel(self, build_backend): - dist_dir = os.path.abspath('pip-wheel') - os.makedirs(dist_dir) - wheel_name = build_backend.build_wheel(dist_dir) - - wheel_file = os.path.join(dist_dir, wheel_name) - assert os.path.isfile(wheel_file) - - # Temporary files should be removed - assert not os.path.isfile('world.py') - - with ZipFile(wheel_file) as zipfile: - wheel_contents = set(zipfile.namelist()) - - # Each one of the examples have a single module - # that should be included in the distribution - python_scripts = (f for f in wheel_contents if f.endswith('.py')) - modules = [f for f in python_scripts if not f.endswith('setup.py')] - assert len(modules) == 1 - - @pytest.mark.parametrize('build_type', ('wheel', 'sdist')) - def test_build_with_existing_file_present(self, build_type, tmpdir_cwd): - # Building a sdist/wheel should still succeed if there's - # already a sdist/wheel in the destination directory. - files = { - 'setup.py': "from setuptools import setup\nsetup()", - 'VERSION': "0.0.1", - 'setup.cfg': DALS( - """ - [metadata] - name = foo - version = file: VERSION - """ - ), - 'pyproject.toml': DALS( - """ - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - """ - ), - } - - path.build(files) - - dist_dir = os.path.abspath('preexisting-' + build_type) - - build_backend = self.get_build_backend() - build_method = getattr(build_backend, 'build_' + build_type) - - # Build a first sdist/wheel. - # Note: this also check the destination directory is - # successfully created if it does not exist already. - first_result = build_method(dist_dir) - - # Change version. - with open("VERSION", "wt", encoding="utf-8") as version_file: - version_file.write("0.0.2") - - # Build a *second* sdist/wheel. - second_result = build_method(dist_dir) - - assert os.path.isfile(os.path.join(dist_dir, first_result)) - assert first_result != second_result - - # And if rebuilding the exact same sdist/wheel? - open(os.path.join(dist_dir, second_result), 'wb').close() - third_result = build_method(dist_dir) - assert third_result == second_result - assert os.path.getsize(os.path.join(dist_dir, third_result)) > 0 - - @pytest.mark.parametrize("setup_script", [None, SETUP_SCRIPT_STUB]) - def test_build_with_pyproject_config(self, tmpdir, setup_script): - files = { - 'pyproject.toml': DALS( - """ - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - - [project] - name = "foo" - license = {text = "MIT"} - description = "This is a Python package" - dynamic = ["version", "readme"] - classifiers = [ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers" - ] - urls = {Homepage = "http://github.com"} - dependencies = [ - "appdirs", - ] - - [project.optional-dependencies] - all = [ - "tomli>=1", - "pyscaffold>=4,<5", - 'importlib; python_version == "2.6"', - ] - - [project.scripts] - foo = "foo.cli:main" - - [tool.setuptools] - zip-safe = false - package-dir = {"" = "src"} - packages = {find = {where = ["src"]}} - license-files = ["LICENSE*"] - - [tool.setuptools.dynamic] - version = {attr = "foo.__version__"} - readme = {file = "README.rst"} - - [tool.distutils.sdist] - formats = "gztar" - """ - ), - "MANIFEST.in": DALS( - """ - global-include *.py *.txt - global-exclude *.py[cod] - """ - ), - "README.rst": "This is a ``README``", - "LICENSE.txt": "---- placeholder MIT license ----", - "src": { - "foo": { - "__init__.py": "__version__ = '0.1'", - "__init__.pyi": "__version__: str", - "cli.py": "def main(): print('hello world')", - "data.txt": "def main(): print('hello world')", - "py.typed": "", - } - }, - } - if setup_script: - files["setup.py"] = setup_script - - build_backend = self.get_build_backend() - with tmpdir.as_cwd(): - path.build(files) - sdist_path = build_backend.build_sdist("temp") - wheel_file = build_backend.build_wheel("temp") - - with tarfile.open(os.path.join(tmpdir, "temp", sdist_path)) as tar: - sdist_contents = set(tar.getnames()) - - with ZipFile(os.path.join(tmpdir, "temp", wheel_file)) as zipfile: - wheel_contents = set(zipfile.namelist()) - metadata = str(zipfile.read("foo-0.1.dist-info/METADATA"), "utf-8") - license = str(zipfile.read("foo-0.1.dist-info/LICENSE.txt"), "utf-8") - epoints = str(zipfile.read("foo-0.1.dist-info/entry_points.txt"), "utf-8") - - assert sdist_contents - {"foo-0.1/setup.py"} == { - 'foo-0.1', - 'foo-0.1/LICENSE.txt', - 'foo-0.1/MANIFEST.in', - 'foo-0.1/PKG-INFO', - 'foo-0.1/README.rst', - 'foo-0.1/pyproject.toml', - 'foo-0.1/setup.cfg', - 'foo-0.1/src', - 'foo-0.1/src/foo', - 'foo-0.1/src/foo/__init__.py', - 'foo-0.1/src/foo/__init__.pyi', - 'foo-0.1/src/foo/cli.py', - 'foo-0.1/src/foo/data.txt', - 'foo-0.1/src/foo/py.typed', - 'foo-0.1/src/foo.egg-info', - 'foo-0.1/src/foo.egg-info/PKG-INFO', - 'foo-0.1/src/foo.egg-info/SOURCES.txt', - 'foo-0.1/src/foo.egg-info/dependency_links.txt', - 'foo-0.1/src/foo.egg-info/entry_points.txt', - 'foo-0.1/src/foo.egg-info/requires.txt', - 'foo-0.1/src/foo.egg-info/top_level.txt', - 'foo-0.1/src/foo.egg-info/not-zip-safe', - } - assert wheel_contents == { - "foo/__init__.py", - "foo/__init__.pyi", # include type information by default - "foo/cli.py", - "foo/data.txt", # include_package_data defaults to True - "foo/py.typed", # include type information by default - "foo-0.1.dist-info/LICENSE.txt", - "foo-0.1.dist-info/METADATA", - "foo-0.1.dist-info/WHEEL", - "foo-0.1.dist-info/entry_points.txt", - "foo-0.1.dist-info/top_level.txt", - "foo-0.1.dist-info/RECORD", - } - assert license == "---- placeholder MIT license ----" - - for line in ( - "Summary: This is a Python package", - "License: MIT", - "Classifier: Intended Audience :: Developers", - "Requires-Dist: appdirs", - "Requires-Dist: " + str(Requirement('tomli>=1 ; extra == "all"')), - "Requires-Dist: " - + str(Requirement('importlib; python_version=="2.6" and extra =="all"')), - ): - assert line in metadata, (line, metadata) - - assert metadata.strip().endswith("This is a ``README``") - assert epoints.strip() == "[console_scripts]\nfoo = foo.cli:main" - - def test_static_metadata_in_pyproject_config(self, tmpdir): - # Make sure static metadata in pyproject.toml is not overwritten by setup.py - # as required by PEP 621 - files = { - 'pyproject.toml': DALS( - """ - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - - [project] - name = "foo" - description = "This is a Python package" - version = "42" - dependencies = ["six"] - """ - ), - 'hello.py': DALS( - """ - def run(): - print('hello') - """ - ), - 'setup.py': DALS( - """ - __import__('setuptools').setup( - name='bar', - version='13', - ) - """ - ), - } - build_backend = self.get_build_backend() - with tmpdir.as_cwd(): - path.build(files) - sdist_path = build_backend.build_sdist("temp") - wheel_file = build_backend.build_wheel("temp") - - assert (tmpdir / "temp/foo-42.tar.gz").exists() - assert (tmpdir / "temp/foo-42-py3-none-any.whl").exists() - assert not (tmpdir / "temp/bar-13.tar.gz").exists() - assert not (tmpdir / "temp/bar-42.tar.gz").exists() - assert not (tmpdir / "temp/foo-13.tar.gz").exists() - assert not (tmpdir / "temp/bar-13-py3-none-any.whl").exists() - assert not (tmpdir / "temp/bar-42-py3-none-any.whl").exists() - assert not (tmpdir / "temp/foo-13-py3-none-any.whl").exists() - - with tarfile.open(os.path.join(tmpdir, "temp", sdist_path)) as tar: - pkg_info = str(tar.extractfile('foo-42/PKG-INFO').read(), "utf-8") - members = tar.getnames() - assert "bar-13/PKG-INFO" not in members - - with ZipFile(os.path.join(tmpdir, "temp", wheel_file)) as zipfile: - metadata = str(zipfile.read("foo-42.dist-info/METADATA"), "utf-8") - members = zipfile.namelist() - assert "bar-13.dist-info/METADATA" not in members - - for file in pkg_info, metadata: - for line in ("Name: foo", "Version: 42"): - assert line in file - for line in ("Name: bar", "Version: 13"): - assert line not in file - - def test_build_sdist(self, build_backend): - dist_dir = os.path.abspath('pip-sdist') - os.makedirs(dist_dir) - sdist_name = build_backend.build_sdist(dist_dir) - - assert os.path.isfile(os.path.join(dist_dir, sdist_name)) - - def test_prepare_metadata_for_build_wheel(self, build_backend): - dist_dir = os.path.abspath('pip-dist-info') - os.makedirs(dist_dir) - - dist_info = build_backend.prepare_metadata_for_build_wheel(dist_dir) - - assert os.path.isfile(os.path.join(dist_dir, dist_info, 'METADATA')) - - def test_prepare_metadata_inplace(self, build_backend): - """ - Some users might pass metadata_directory pre-populated with `.tox` or `.venv`. - See issue #3523. - """ - for pre_existing in [ - ".tox/python/lib/python3.10/site-packages/attrs-22.1.0.dist-info", - ".tox/python/lib/python3.10/site-packages/autocommand-2.2.1.dist-info", - ".nox/python/lib/python3.10/site-packages/build-0.8.0.dist-info", - ".venv/python3.10/site-packages/click-8.1.3.dist-info", - "venv/python3.10/site-packages/distlib-0.3.5.dist-info", - "env/python3.10/site-packages/docutils-0.19.dist-info", - ]: - os.makedirs(pre_existing, exist_ok=True) - dist_info = build_backend.prepare_metadata_for_build_wheel(".") - assert os.path.isfile(os.path.join(dist_info, 'METADATA')) - - def test_build_sdist_explicit_dist(self, build_backend): - # explicitly specifying the dist folder should work - # the folder sdist_directory and the ``--dist-dir`` can be the same - dist_dir = os.path.abspath('dist') - sdist_name = build_backend.build_sdist(dist_dir) - assert os.path.isfile(os.path.join(dist_dir, sdist_name)) - - def test_build_sdist_version_change(self, build_backend): - sdist_into_directory = os.path.abspath("out_sdist") - os.makedirs(sdist_into_directory) - - sdist_name = build_backend.build_sdist(sdist_into_directory) - assert os.path.isfile(os.path.join(sdist_into_directory, sdist_name)) - - # if the setup.py changes subsequent call of the build meta - # should still succeed, given the - # sdist_directory the frontend specifies is empty - setup_loc = os.path.abspath("setup.py") - if not os.path.exists(setup_loc): - setup_loc = os.path.abspath("setup.cfg") - - with open(setup_loc, 'rt', encoding="utf-8") as file_handler: - content = file_handler.read() - with open(setup_loc, 'wt', encoding="utf-8") as file_handler: - file_handler.write(content.replace("version='0.0.0'", "version='0.0.1'")) - - shutil.rmtree(sdist_into_directory) - os.makedirs(sdist_into_directory) - - sdist_name = build_backend.build_sdist("out_sdist") - assert os.path.isfile(os.path.join(os.path.abspath("out_sdist"), sdist_name)) - - def test_build_sdist_pyproject_toml_exists(self, tmpdir_cwd): - files = { - 'setup.py': DALS( - """ - __import__('setuptools').setup( - name='foo', - version='0.0.0', - py_modules=['hello'] - )""" - ), - 'hello.py': '', - 'pyproject.toml': DALS( - """ - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - """ - ), - } - path.build(files) - build_backend = self.get_build_backend() - targz_path = build_backend.build_sdist("temp") - with tarfile.open(os.path.join("temp", targz_path)) as tar: - assert any('pyproject.toml' in name for name in tar.getnames()) - - def test_build_sdist_setup_py_exists(self, tmpdir_cwd): - # If build_sdist is called from a script other than setup.py, - # ensure setup.py is included - path.build(defns[0]) - - build_backend = self.get_build_backend() - targz_path = build_backend.build_sdist("temp") - with tarfile.open(os.path.join("temp", targz_path)) as tar: - assert any('setup.py' in name for name in tar.getnames()) - - def test_build_sdist_setup_py_manifest_excluded(self, tmpdir_cwd): - # Ensure that MANIFEST.in can exclude setup.py - files = { - 'setup.py': DALS( - """ - __import__('setuptools').setup( - name='foo', - version='0.0.0', - py_modules=['hello'] - )""" - ), - 'hello.py': '', - 'MANIFEST.in': DALS( - """ - exclude setup.py - """ - ), - } - - path.build(files) - - build_backend = self.get_build_backend() - targz_path = build_backend.build_sdist("temp") - with tarfile.open(os.path.join("temp", targz_path)) as tar: - assert not any('setup.py' in name for name in tar.getnames()) - - def test_build_sdist_builds_targz_even_if_zip_indicated(self, tmpdir_cwd): - files = { - 'setup.py': DALS( - """ - __import__('setuptools').setup( - name='foo', - version='0.0.0', - py_modules=['hello'] - )""" - ), - 'hello.py': '', - 'setup.cfg': DALS( - """ - [sdist] - formats=zip - """ - ), - } - - path.build(files) - - build_backend = self.get_build_backend() - build_backend.build_sdist("temp") - - _relative_path_import_files = { - 'setup.py': DALS( - """ - __import__('setuptools').setup( - name='foo', - version=__import__('hello').__version__, - py_modules=['hello'] - )""" - ), - 'hello.py': '__version__ = "0.0.0"', - 'setup.cfg': DALS( - """ - [sdist] - formats=zip - """ - ), - } - - def test_build_sdist_relative_path_import(self, tmpdir_cwd): - path.build(self._relative_path_import_files) - build_backend = self.get_build_backend() - with pytest.raises(ImportError, match="^No module named 'hello'$"): - build_backend.build_sdist("temp") - - _simple_pyproject_example = { - "pyproject.toml": DALS( - """ - [project] - name = "proj" - version = "42" - """ - ), - "src": {"proj": {"__init__.py": ""}}, - } - - def _assert_link_tree(self, parent_dir): - """All files in the directory should be either links or hard links""" - files = list(Path(parent_dir).glob("**/*")) - assert files # Should not be empty - for file in files: - assert file.is_symlink() or os.stat(file).st_nlink > 0 - - def test_editable_without_config_settings(self, tmpdir_cwd): - """ - Sanity check to ensure tests with --mode=strict are different from the ones - without --mode. - - --mode=strict should create a local directory with a package tree. - The directory should not get created otherwise. - """ - path.build(self._simple_pyproject_example) - build_backend = self.get_build_backend() - assert not Path("build").exists() - build_backend.build_editable("temp") - assert not Path("build").exists() - - def test_build_wheel_inplace(self, tmpdir_cwd): - config_settings = {"--build-option": ["build_ext", "--inplace"]} - path.build(self._simple_pyproject_example) - build_backend = self.get_build_backend() - assert not Path("build").exists() - Path("build").mkdir() - build_backend.prepare_metadata_for_build_wheel("build", config_settings) - build_backend.build_wheel("build", config_settings) - assert Path("build/proj-42-py3-none-any.whl").exists() - - @pytest.mark.parametrize("config_settings", [{"editable-mode": "strict"}]) - def test_editable_with_config_settings(self, tmpdir_cwd, config_settings): - path.build({**self._simple_pyproject_example, '_meta': {}}) - assert not Path("build").exists() - build_backend = self.get_build_backend() - build_backend.prepare_metadata_for_build_editable("_meta", config_settings) - build_backend.build_editable("temp", config_settings, "_meta") - self._assert_link_tree(next(Path("build").glob("__editable__.*"))) - - @pytest.mark.parametrize( - ("setup_literal", "requirements"), - [ - ("'foo'", ['foo']), - ("['foo']", ['foo']), - (r"'foo\n'", ['foo']), - (r"'foo\n\n'", ['foo']), - ("['foo', 'bar']", ['foo', 'bar']), - (r"'# Has a comment line\nfoo'", ['foo']), - (r"'foo # Has an inline comment'", ['foo']), - (r"'foo \\\n >=3.0'", ['foo>=3.0']), - (r"'foo\nbar'", ['foo', 'bar']), - (r"'foo\nbar\n'", ['foo', 'bar']), - (r"['foo\n', 'bar\n']", ['foo', 'bar']), - ], - ) - @pytest.mark.parametrize('use_wheel', [True, False]) - def test_setup_requires(self, setup_literal, requirements, use_wheel, tmpdir_cwd): - files = { - 'setup.py': DALS( - """ - from setuptools import setup - - setup( - name="qux", - version="0.0.0", - py_modules=["hello"], - setup_requires={setup_literal}, - ) - """ - ).format(setup_literal=setup_literal), - 'hello.py': DALS( - """ - def run(): - print('hello') - """ - ), - } - - path.build(files) - - build_backend = self.get_build_backend() - - if use_wheel: - get_requires = build_backend.get_requires_for_build_wheel - else: - get_requires = build_backend.get_requires_for_build_sdist - - # Ensure that the build requirements are properly parsed - expected = sorted(requirements) - actual = get_requires() - - assert expected == sorted(actual) - - def test_setup_requires_with_auto_discovery(self, tmpdir_cwd): - # Make sure patches introduced to retrieve setup_requires don't accidentally - # activate auto-discovery and cause problems due to the incomplete set of - # attributes passed to MinimalDistribution - files = { - 'pyproject.toml': DALS( - """ - [project] - name = "proj" - version = "42" - """ - ), - "setup.py": DALS( - """ - __import__('setuptools').setup( - setup_requires=["foo"], - py_modules = ["hello", "world"] - ) - """ - ), - 'hello.py': "'hello'", - 'world.py': "'world'", - } - path.build(files) - build_backend = self.get_build_backend() - setup_requires = build_backend.get_requires_for_build_wheel() - assert setup_requires == ["foo"] - - def test_dont_install_setup_requires(self, tmpdir_cwd): - files = { - 'setup.py': DALS( - """ - from setuptools import setup - - setup( - name="qux", - version="0.0.0", - py_modules=["hello"], - setup_requires=["does-not-exist >99"], - ) - """ - ), - 'hello.py': DALS( - """ - def run(): - print('hello') - """ - ), - } - - path.build(files) - - build_backend = self.get_build_backend() - - dist_dir = os.path.abspath('pip-dist-info') - os.makedirs(dist_dir) - - # does-not-exist can't be satisfied, so if it attempts to install - # setup_requires, it will fail. - build_backend.prepare_metadata_for_build_wheel(dist_dir) - - _sys_argv_0_passthrough = { - 'setup.py': DALS( - """ - import os - import sys - - __import__('setuptools').setup( - name='foo', - version='0.0.0', - ) - - sys_argv = os.path.abspath(sys.argv[0]) - file_path = os.path.abspath('setup.py') - assert sys_argv == file_path - """ - ) - } - - def test_sys_argv_passthrough(self, tmpdir_cwd): - path.build(self._sys_argv_0_passthrough) - build_backend = self.get_build_backend() - with pytest.raises(AssertionError): - build_backend.build_sdist("temp") - - _setup_py_file_abspath = { - 'setup.py': DALS( - """ - import os - assert os.path.isabs(__file__) - __import__('setuptools').setup( - name='foo', - version='0.0.0', - py_modules=['hello'], - setup_requires=['six'], - ) - """ - ) - } - - def test_setup_py_file_abspath(self, tmpdir_cwd): - path.build(self._setup_py_file_abspath) - build_backend = self.get_build_backend() - build_backend.build_sdist("temp") - - @pytest.mark.parametrize('build_hook', ('build_sdist', 'build_wheel')) - def test_build_with_empty_setuppy(self, build_backend, build_hook): - files = {'setup.py': ''} - path.build(files) - - msg = re.escape('No distribution was found.') - with pytest.raises(ValueError, match=msg): - getattr(build_backend, build_hook)("temp") - - -class TestBuildMetaLegacyBackend(TestBuildMetaBackend): - backend_name = 'setuptools.build_meta:__legacy__' - - # build_meta_legacy-specific tests - def test_build_sdist_relative_path_import(self, tmpdir_cwd): - # This must fail in build_meta, but must pass in build_meta_legacy - path.build(self._relative_path_import_files) - - build_backend = self.get_build_backend() - build_backend.build_sdist("temp") - - def test_sys_argv_passthrough(self, tmpdir_cwd): - path.build(self._sys_argv_0_passthrough) - - build_backend = self.get_build_backend() - build_backend.build_sdist("temp") - - -def test_legacy_editable_install(venv, tmpdir, tmpdir_cwd): - pyproject = """ - [build-system] - requires = ["setuptools"] - build-backend = "setuptools.build_meta" - [project] - name = "myproj" - version = "42" - """ - path.build({"pyproject.toml": DALS(pyproject), "mymod.py": ""}) - - # First: sanity check - cmd = ["pip", "install", "--no-build-isolation", "-e", "."] - output = venv.run(cmd, cwd=tmpdir).lower() - assert "running setup.py develop for myproj" not in output - assert "created wheel for myproj" in output - - # Then: real test - env = {**os.environ, "SETUPTOOLS_ENABLE_FEATURES": "legacy-editable"} - cmd = ["pip", "install", "--no-build-isolation", "-e", "."] - output = venv.run(cmd, cwd=tmpdir, env=env).lower() - assert "running setup.py develop for myproj" in output - - -@pytest.mark.filterwarnings("ignore::setuptools.SetuptoolsDeprecationWarning") -def test_sys_exit_0_in_setuppy(monkeypatch, tmp_path): - """Setuptools should be resilient to setup.py with ``sys.exit(0)`` (#3973).""" - monkeypatch.chdir(tmp_path) - setuppy = """ - import sys, setuptools - setuptools.setup(name='foo', version='0.0.0') - sys.exit(0) - """ - (tmp_path / "setup.py").write_text(DALS(setuppy), encoding="utf-8") - backend = BuildBackend(backend_name="setuptools.build_meta") - assert backend.get_requires_for_build_wheel() == [] - - -def test_system_exit_in_setuppy(monkeypatch, tmp_path): - monkeypatch.chdir(tmp_path) - setuppy = "import sys; sys.exit('some error')" - (tmp_path / "setup.py").write_text(setuppy, encoding="utf-8") - with pytest.raises(SystemExit, match="some error"): - backend = BuildBackend(backend_name="setuptools.build_meta") - backend.get_requires_for_build_wheel() diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_py.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_py.py deleted file mode 100644 index e64cfa2e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_build_py.py +++ /dev/null @@ -1,480 +0,0 @@ -import os -import shutil -import stat -import warnings -from pathlib import Path -from unittest.mock import Mock - -import jaraco.path -import pytest - -from setuptools import SetuptoolsDeprecationWarning -from setuptools.dist import Distribution - -from .textwrap import DALS - - -def test_directories_in_package_data_glob(tmpdir_cwd): - """ - Directories matching the glob in package_data should - not be included in the package data. - - Regression test for #261. - """ - dist = Distribution( - dict( - script_name='setup.py', - script_args=['build_py'], - packages=[''], - package_data={'': ['path/*']}, - ) - ) - os.makedirs('path/subpath') - dist.parse_command_line() - dist.run_commands() - - -def test_recursive_in_package_data_glob(tmpdir_cwd): - """ - Files matching recursive globs (**) in package_data should - be included in the package data. - - #1806 - """ - dist = Distribution( - dict( - script_name='setup.py', - script_args=['build_py'], - packages=[''], - package_data={'': ['path/**/data']}, - ) - ) - os.makedirs('path/subpath/subsubpath') - open('path/subpath/subsubpath/data', 'wb').close() - - dist.parse_command_line() - dist.run_commands() - - assert stat.S_ISREG(os.stat('build/lib/path/subpath/subsubpath/data').st_mode), ( - "File is not included" - ) - - -def test_read_only(tmpdir_cwd): - """ - Ensure read-only flag is not preserved in copy - for package modules and package data, as that - causes problems with deleting read-only files on - Windows. - - #1451 - """ - dist = Distribution( - dict( - script_name='setup.py', - script_args=['build_py'], - packages=['pkg'], - package_data={'pkg': ['data.dat']}, - ) - ) - os.makedirs('pkg') - open('pkg/__init__.py', 'wb').close() - open('pkg/data.dat', 'wb').close() - os.chmod('pkg/__init__.py', stat.S_IREAD) - os.chmod('pkg/data.dat', stat.S_IREAD) - dist.parse_command_line() - dist.run_commands() - shutil.rmtree('build') - - -@pytest.mark.xfail( - 'platform.system() == "Windows"', - reason="On Windows, files do not have executable bits", - raises=AssertionError, - strict=True, -) -def test_executable_data(tmpdir_cwd): - """ - Ensure executable bit is preserved in copy for - package data, as users rely on it for scripts. - - #2041 - """ - dist = Distribution( - dict( - script_name='setup.py', - script_args=['build_py'], - packages=['pkg'], - package_data={'pkg': ['run-me']}, - ) - ) - os.makedirs('pkg') - open('pkg/__init__.py', 'wb').close() - open('pkg/run-me', 'wb').close() - os.chmod('pkg/run-me', 0o700) - - dist.parse_command_line() - dist.run_commands() - - assert os.stat('build/lib/pkg/run-me').st_mode & stat.S_IEXEC, ( - "Script is not executable" - ) - - -EXAMPLE_WITH_MANIFEST = { - "setup.cfg": DALS( - """ - [metadata] - name = mypkg - version = 42 - - [options] - include_package_data = True - packages = find: - - [options.packages.find] - exclude = *.tests* - """ - ), - "mypkg": { - "__init__.py": "", - "resource_file.txt": "", - "tests": { - "__init__.py": "", - "test_mypkg.py": "", - "test_file.txt": "", - }, - }, - "MANIFEST.in": DALS( - """ - global-include *.py *.txt - global-exclude *.py[cod] - prune dist - prune build - prune *.egg-info - """ - ), -} - - -def test_excluded_subpackages(tmpdir_cwd): - jaraco.path.build(EXAMPLE_WITH_MANIFEST) - dist = Distribution({"script_name": "%PEP 517%"}) - dist.parse_config_files() - - build_py = dist.get_command_obj("build_py") - - msg = r"Python recognizes 'mypkg\.tests' as an importable package" - with pytest.warns(SetuptoolsDeprecationWarning, match=msg): - # TODO: To fix #3260 we need some transition period to deprecate the - # existing behavior of `include_package_data`. After the transition, we - # should remove the warning and fix the behaviour. - - if os.getenv("SETUPTOOLS_USE_DISTUTILS") == "stdlib": - # pytest.warns reset the warning filter temporarily - # https://github.com/pytest-dev/pytest/issues/4011#issuecomment-423494810 - warnings.filterwarnings( - "ignore", - "'encoding' argument not specified", - module="distutils.text_file", - # This warning is already fixed in pypa/distutils but not in stdlib - ) - - build_py.finalize_options() - build_py.run() - - build_dir = Path(dist.get_command_obj("build_py").build_lib) - assert (build_dir / "mypkg/__init__.py").exists() - assert (build_dir / "mypkg/resource_file.txt").exists() - - # Setuptools is configured to ignore `mypkg.tests`, therefore the following - # files/dirs should not be included in the distribution. - for f in [ - "mypkg/tests/__init__.py", - "mypkg/tests/test_mypkg.py", - "mypkg/tests/test_file.txt", - "mypkg/tests", - ]: - with pytest.raises(AssertionError): - # TODO: Enforce the following assertion once #3260 is fixed - # (remove context manager and the following xfail). - assert not (build_dir / f).exists() - - pytest.xfail("#3260") - - -@pytest.mark.filterwarnings("ignore::setuptools.SetuptoolsDeprecationWarning") -def test_existing_egg_info(tmpdir_cwd, monkeypatch): - """When provided with the ``existing_egg_info_dir`` attribute, build_py should not - attempt to run egg_info again. - """ - # == Pre-condition == - # Generate an egg-info dir - jaraco.path.build(EXAMPLE_WITH_MANIFEST) - dist = Distribution({"script_name": "%PEP 517%"}) - dist.parse_config_files() - assert dist.include_package_data - - egg_info = dist.get_command_obj("egg_info") - dist.run_command("egg_info") - egg_info_dir = next(Path(egg_info.egg_base).glob("*.egg-info")) - assert egg_info_dir.is_dir() - - # == Setup == - build_py = dist.get_command_obj("build_py") - build_py.finalize_options() - egg_info = dist.get_command_obj("egg_info") - egg_info_run = Mock(side_effect=egg_info.run) - monkeypatch.setattr(egg_info, "run", egg_info_run) - - # == Remove caches == - # egg_info is called when build_py looks for data_files, which gets cached. - # We need to ensure it is not cached yet, otherwise it may impact on the tests - build_py.__dict__.pop('data_files', None) - dist.reinitialize_command(egg_info) - - # == Sanity check == - # Ensure that if existing_egg_info is not given, build_py attempts to run egg_info - build_py.existing_egg_info_dir = None - build_py.run() - egg_info_run.assert_called() - - # == Remove caches == - egg_info_run.reset_mock() - build_py.__dict__.pop('data_files', None) - dist.reinitialize_command(egg_info) - - # == Actual test == - # Ensure that if existing_egg_info_dir is given, egg_info doesn't run - build_py.existing_egg_info_dir = egg_info_dir - build_py.run() - egg_info_run.assert_not_called() - assert build_py.data_files - - # Make sure the list of outputs is actually OK - outputs = map(lambda x: x.replace(os.sep, "/"), build_py.get_outputs()) - assert outputs - example = str(Path(build_py.build_lib, "mypkg/__init__.py")).replace(os.sep, "/") - assert example in outputs - - -EXAMPLE_ARBITRARY_MAPPING = { - "pyproject.toml": DALS( - """ - [project] - name = "mypkg" - version = "42" - - [tool.setuptools] - packages = ["mypkg", "mypkg.sub1", "mypkg.sub2", "mypkg.sub2.nested"] - - [tool.setuptools.package-dir] - "" = "src" - "mypkg.sub2" = "src/mypkg/_sub2" - "mypkg.sub2.nested" = "other" - """ - ), - "src": { - "mypkg": { - "__init__.py": "", - "resource_file.txt": "", - "sub1": { - "__init__.py": "", - "mod1.py": "", - }, - "_sub2": { - "mod2.py": "", - }, - }, - }, - "other": { - "__init__.py": "", - "mod3.py": "", - }, - "MANIFEST.in": DALS( - """ - global-include *.py *.txt - global-exclude *.py[cod] - """ - ), -} - - -def test_get_outputs(tmpdir_cwd): - jaraco.path.build(EXAMPLE_ARBITRARY_MAPPING) - dist = Distribution({"script_name": "%test%"}) - dist.parse_config_files() - - build_py = dist.get_command_obj("build_py") - build_py.editable_mode = True - build_py.ensure_finalized() - build_lib = build_py.build_lib.replace(os.sep, "/") - outputs = {x.replace(os.sep, "/") for x in build_py.get_outputs()} - assert outputs == { - f"{build_lib}/mypkg/__init__.py", - f"{build_lib}/mypkg/resource_file.txt", - f"{build_lib}/mypkg/sub1/__init__.py", - f"{build_lib}/mypkg/sub1/mod1.py", - f"{build_lib}/mypkg/sub2/mod2.py", - f"{build_lib}/mypkg/sub2/nested/__init__.py", - f"{build_lib}/mypkg/sub2/nested/mod3.py", - } - mapping = { - k.replace(os.sep, "/"): v.replace(os.sep, "/") - for k, v in build_py.get_output_mapping().items() - } - assert mapping == { - f"{build_lib}/mypkg/__init__.py": "src/mypkg/__init__.py", - f"{build_lib}/mypkg/resource_file.txt": "src/mypkg/resource_file.txt", - f"{build_lib}/mypkg/sub1/__init__.py": "src/mypkg/sub1/__init__.py", - f"{build_lib}/mypkg/sub1/mod1.py": "src/mypkg/sub1/mod1.py", - f"{build_lib}/mypkg/sub2/mod2.py": "src/mypkg/_sub2/mod2.py", - f"{build_lib}/mypkg/sub2/nested/__init__.py": "other/__init__.py", - f"{build_lib}/mypkg/sub2/nested/mod3.py": "other/mod3.py", - } - - -class TestTypeInfoFiles: - PYPROJECTS = { - "default_pyproject": DALS( - """ - [project] - name = "foo" - version = "1" - """ - ), - "dont_include_package_data": DALS( - """ - [project] - name = "foo" - version = "1" - - [tool.setuptools] - include-package-data = false - """ - ), - "exclude_type_info": DALS( - """ - [project] - name = "foo" - version = "1" - - [tool.setuptools] - include-package-data = false - - [tool.setuptools.exclude-package-data] - "*" = ["py.typed", "*.pyi"] - """ - ), - } - - EXAMPLES = { - "simple_namespace": { - "directory_structure": { - "foo": { - "bar.pyi": "", - "py.typed": "", - "__init__.py": "", - } - }, - "expected_type_files": {"foo/bar.pyi", "foo/py.typed"}, - }, - "nested_inside_namespace": { - "directory_structure": { - "foo": { - "bar": { - "py.typed": "", - "mod.pyi": "", - } - } - }, - "expected_type_files": {"foo/bar/mod.pyi", "foo/bar/py.typed"}, - }, - "namespace_nested_inside_regular": { - "directory_structure": { - "foo": { - "namespace": { - "foo.pyi": "", - }, - "__init__.pyi": "", - "py.typed": "", - } - }, - "expected_type_files": { - "foo/namespace/foo.pyi", - "foo/__init__.pyi", - "foo/py.typed", - }, - }, - } - - @pytest.mark.parametrize( - "pyproject", - [ - "default_pyproject", - pytest.param( - "dont_include_package_data", - marks=pytest.mark.xfail(reason="pypa/setuptools#4350"), - ), - ], - ) - @pytest.mark.parametrize("example", EXAMPLES.keys()) - def test_type_files_included_by_default(self, tmpdir_cwd, pyproject, example): - structure = { - **self.EXAMPLES[example]["directory_structure"], - "pyproject.toml": self.PYPROJECTS[pyproject], - } - expected_type_files = self.EXAMPLES[example]["expected_type_files"] - jaraco.path.build(structure) - - build_py = get_finalized_build_py() - outputs = get_outputs(build_py) - assert expected_type_files <= outputs - - @pytest.mark.parametrize("pyproject", ["exclude_type_info"]) - @pytest.mark.parametrize("example", EXAMPLES.keys()) - def test_type_files_can_be_excluded(self, tmpdir_cwd, pyproject, example): - structure = { - **self.EXAMPLES[example]["directory_structure"], - "pyproject.toml": self.PYPROJECTS[pyproject], - } - expected_type_files = self.EXAMPLES[example]["expected_type_files"] - jaraco.path.build(structure) - - build_py = get_finalized_build_py() - outputs = get_outputs(build_py) - assert expected_type_files.isdisjoint(outputs) - - def test_stub_only_package(self, tmpdir_cwd): - structure = { - "pyproject.toml": DALS( - """ - [project] - name = "foo-stubs" - version = "1" - """ - ), - "foo-stubs": {"__init__.pyi": "", "bar.pyi": ""}, - } - expected_type_files = {"foo-stubs/__init__.pyi", "foo-stubs/bar.pyi"} - jaraco.path.build(structure) - - build_py = get_finalized_build_py() - outputs = get_outputs(build_py) - assert expected_type_files <= outputs - - -def get_finalized_build_py(script_name="%build_py-test%"): - dist = Distribution({"script_name": script_name}) - dist.parse_config_files() - build_py = dist.get_command_obj("build_py") - build_py.finalize_options() - return build_py - - -def get_outputs(build_py): - build_dir = Path(build_py.build_lib) - return { - os.path.relpath(x, build_dir).replace(os.sep, "/") - for x in build_py.get_outputs() - } diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_config_discovery.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_config_discovery.py deleted file mode 100644 index b5df8203..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_config_discovery.py +++ /dev/null @@ -1,647 +0,0 @@ -import os -import sys -from configparser import ConfigParser -from itertools import product -from typing import cast - -import jaraco.path -import pytest -from path import Path - -import setuptools # noqa: F401 # force distutils.core to be patched -from setuptools.command.sdist import sdist -from setuptools.discovery import find_package_path, find_parent_package -from setuptools.dist import Distribution -from setuptools.errors import PackageDiscoveryError - -from .contexts import quiet -from .integration.helpers import get_sdist_members, get_wheel_members, run -from .textwrap import DALS - -import distutils.core - - -class TestFindParentPackage: - def test_single_package(self, tmp_path): - # find_parent_package should find a non-namespace parent package - (tmp_path / "src/namespace/pkg/nested").mkdir(exist_ok=True, parents=True) - (tmp_path / "src/namespace/pkg/nested/__init__.py").touch() - (tmp_path / "src/namespace/pkg/__init__.py").touch() - packages = ["namespace", "namespace.pkg", "namespace.pkg.nested"] - assert find_parent_package(packages, {"": "src"}, tmp_path) == "namespace.pkg" - - def test_multiple_toplevel(self, tmp_path): - # find_parent_package should return null if the given list of packages does not - # have a single parent package - multiple = ["pkg", "pkg1", "pkg2"] - for name in multiple: - (tmp_path / f"src/{name}").mkdir(exist_ok=True, parents=True) - (tmp_path / f"src/{name}/__init__.py").touch() - assert find_parent_package(multiple, {"": "src"}, tmp_path) is None - - -class TestDiscoverPackagesAndPyModules: - """Make sure discovered values for ``packages`` and ``py_modules`` work - similarly to explicit configuration for the simple scenarios. - """ - - OPTIONS = { - # Different options according to the circumstance being tested - "explicit-src": {"package_dir": {"": "src"}, "packages": ["pkg"]}, - "variation-lib": { - "package_dir": {"": "lib"}, # variation of the source-layout - }, - "explicit-flat": {"packages": ["pkg"]}, - "explicit-single_module": {"py_modules": ["pkg"]}, - "explicit-namespace": {"packages": ["ns", "ns.pkg"]}, - "automatic-src": {}, - "automatic-flat": {}, - "automatic-single_module": {}, - "automatic-namespace": {}, - } - FILES = { - "src": ["src/pkg/__init__.py", "src/pkg/main.py"], - "lib": ["lib/pkg/__init__.py", "lib/pkg/main.py"], - "flat": ["pkg/__init__.py", "pkg/main.py"], - "single_module": ["pkg.py"], - "namespace": ["ns/pkg/__init__.py"], - } - - def _get_info(self, circumstance): - _, _, layout = circumstance.partition("-") - files = self.FILES[layout] - options = self.OPTIONS[circumstance] - return files, options - - @pytest.mark.parametrize("circumstance", OPTIONS.keys()) - def test_sdist_filelist(self, tmp_path, circumstance): - files, options = self._get_info(circumstance) - _populate_project_dir(tmp_path, files, options) - - _, cmd = _run_sdist_programatically(tmp_path, options) - - manifest = [f.replace(os.sep, "/") for f in cmd.filelist.files] - for file in files: - assert any(f.endswith(file) for f in manifest) - - @pytest.mark.parametrize("circumstance", OPTIONS.keys()) - def test_project(self, tmp_path, circumstance): - files, options = self._get_info(circumstance) - _populate_project_dir(tmp_path, files, options) - - # Simulate a pre-existing `build` directory - (tmp_path / "build").mkdir() - (tmp_path / "build/lib").mkdir() - (tmp_path / "build/bdist.linux-x86_64").mkdir() - (tmp_path / "build/bdist.linux-x86_64/file.py").touch() - (tmp_path / "build/lib/__init__.py").touch() - (tmp_path / "build/lib/file.py").touch() - (tmp_path / "dist").mkdir() - (tmp_path / "dist/file.py").touch() - - _run_build(tmp_path) - - sdist_files = get_sdist_members(next(tmp_path.glob("dist/*.tar.gz"))) - print("~~~~~ sdist_members ~~~~~") - print('\n'.join(sdist_files)) - assert sdist_files >= set(files) - - wheel_files = get_wheel_members(next(tmp_path.glob("dist/*.whl"))) - print("~~~~~ wheel_members ~~~~~") - print('\n'.join(wheel_files)) - orig_files = {f.replace("src/", "").replace("lib/", "") for f in files} - assert wheel_files >= orig_files - - # Make sure build files are not included by mistake - for file in wheel_files: - assert "build" not in files - assert "dist" not in files - - PURPOSEFULLY_EMPY = { - "setup.cfg": DALS( - """ - [metadata] - name = myproj - version = 0.0.0 - - [options] - {param} = - """ - ), - "setup.py": DALS( - """ - __import__('setuptools').setup( - name="myproj", - version="0.0.0", - {param}=[] - ) - """ - ), - "pyproject.toml": DALS( - """ - [build-system] - requires = [] - build-backend = 'setuptools.build_meta' - - [project] - name = "myproj" - version = "0.0.0" - - [tool.setuptools] - {param} = [] - """ - ), - "template-pyproject.toml": DALS( - """ - [build-system] - requires = [] - build-backend = 'setuptools.build_meta' - """ - ), - } - - @pytest.mark.parametrize( - ("config_file", "param", "circumstance"), - product( - ["setup.cfg", "setup.py", "pyproject.toml"], - ["packages", "py_modules"], - FILES.keys(), - ), - ) - def test_purposefully_empty(self, tmp_path, config_file, param, circumstance): - files = self.FILES[circumstance] + ["mod.py", "other.py", "src/pkg/__init__.py"] - _populate_project_dir(tmp_path, files, {}) - - if config_file == "pyproject.toml": - template_param = param.replace("_", "-") - else: - # Make sure build works with or without setup.cfg - pyproject = self.PURPOSEFULLY_EMPY["template-pyproject.toml"] - (tmp_path / "pyproject.toml").write_text(pyproject, encoding="utf-8") - template_param = param - - config = self.PURPOSEFULLY_EMPY[config_file].format(param=template_param) - (tmp_path / config_file).write_text(config, encoding="utf-8") - - dist = _get_dist(tmp_path, {}) - # When either parameter package or py_modules is an empty list, - # then there should be no discovery - assert getattr(dist, param) == [] - other = {"py_modules": "packages", "packages": "py_modules"}[param] - assert getattr(dist, other) is None - - @pytest.mark.parametrize( - ("extra_files", "pkgs"), - [ - (["venv/bin/simulate_venv"], {"pkg"}), - (["pkg-stubs/__init__.pyi"], {"pkg", "pkg-stubs"}), - (["other-stubs/__init__.pyi"], {"pkg", "other-stubs"}), - ( - # Type stubs can also be namespaced - ["namespace-stubs/pkg/__init__.pyi"], - {"pkg", "namespace-stubs", "namespace-stubs.pkg"}, - ), - ( - # Just the top-level package can have `-stubs`, ignore nested ones - ["namespace-stubs/pkg-stubs/__init__.pyi"], - {"pkg", "namespace-stubs"}, - ), - (["_hidden/file.py"], {"pkg"}), - (["news/finalize.py"], {"pkg"}), - ], - ) - def test_flat_layout_with_extra_files(self, tmp_path, extra_files, pkgs): - files = self.FILES["flat"] + extra_files - _populate_project_dir(tmp_path, files, {}) - dist = _get_dist(tmp_path, {}) - assert set(dist.packages) == pkgs - - @pytest.mark.parametrize( - "extra_files", - [ - ["other/__init__.py"], - ["other/finalize.py"], - ], - ) - def test_flat_layout_with_dangerous_extra_files(self, tmp_path, extra_files): - files = self.FILES["flat"] + extra_files - _populate_project_dir(tmp_path, files, {}) - with pytest.raises(PackageDiscoveryError, match="multiple (packages|modules)"): - _get_dist(tmp_path, {}) - - def test_flat_layout_with_single_module(self, tmp_path): - files = self.FILES["single_module"] + ["invalid-module-name.py"] - _populate_project_dir(tmp_path, files, {}) - dist = _get_dist(tmp_path, {}) - assert set(dist.py_modules) == {"pkg"} - - def test_flat_layout_with_multiple_modules(self, tmp_path): - files = self.FILES["single_module"] + ["valid_module_name.py"] - _populate_project_dir(tmp_path, files, {}) - with pytest.raises(PackageDiscoveryError, match="multiple (packages|modules)"): - _get_dist(tmp_path, {}) - - def test_py_modules_when_wheel_dir_is_cwd(self, tmp_path): - """Regression for issue 3692""" - from setuptools import build_meta - - pyproject = '[project]\nname = "test"\nversion = "1"' - (tmp_path / "pyproject.toml").write_text(DALS(pyproject), encoding="utf-8") - (tmp_path / "foo.py").touch() - with jaraco.path.DirectoryStack().context(tmp_path): - build_meta.build_wheel(".") - # Ensure py_modules are found - wheel_files = get_wheel_members(next(tmp_path.glob("*.whl"))) - assert "foo.py" in wheel_files - - -class TestNoConfig: - DEFAULT_VERSION = "0.0.0" # Default version given by setuptools - - EXAMPLES = { - "pkg1": ["src/pkg1.py"], - "pkg2": ["src/pkg2/__init__.py"], - "pkg3": ["src/pkg3/__init__.py", "src/pkg3-stubs/__init__.py"], - "pkg4": ["pkg4/__init__.py", "pkg4-stubs/__init__.py"], - "ns.nested.pkg1": ["src/ns/nested/pkg1/__init__.py"], - "ns.nested.pkg2": ["ns/nested/pkg2/__init__.py"], - } - - @pytest.mark.parametrize("example", EXAMPLES.keys()) - def test_discover_name(self, tmp_path, example): - _populate_project_dir(tmp_path, self.EXAMPLES[example], {}) - dist = _get_dist(tmp_path, {}) - assert dist.get_name() == example - - def test_build_with_discovered_name(self, tmp_path): - files = ["src/ns/nested/pkg/__init__.py"] - _populate_project_dir(tmp_path, files, {}) - _run_build(tmp_path, "--sdist") - # Expected distribution file - dist_file = tmp_path / f"dist/ns_nested_pkg-{self.DEFAULT_VERSION}.tar.gz" - assert dist_file.is_file() - - -class TestWithAttrDirective: - @pytest.mark.parametrize( - ("folder", "opts"), - [ - ("src", {}), - ("lib", {"packages": "find:", "packages.find": {"where": "lib"}}), - ], - ) - def test_setupcfg_metadata(self, tmp_path, folder, opts): - files = [f"{folder}/pkg/__init__.py", "setup.cfg"] - _populate_project_dir(tmp_path, files, opts) - - config = (tmp_path / "setup.cfg").read_text(encoding="utf-8") - overwrite = { - folder: {"pkg": {"__init__.py": "version = 42"}}, - "setup.cfg": "[metadata]\nversion = attr: pkg.version\n" + config, - } - jaraco.path.build(overwrite, prefix=tmp_path) - - dist = _get_dist(tmp_path, {}) - assert dist.get_name() == "pkg" - assert dist.get_version() == "42" - assert dist.package_dir - package_path = find_package_path("pkg", dist.package_dir, tmp_path) - assert os.path.exists(package_path) - assert folder in Path(package_path).parts() - - _run_build(tmp_path, "--sdist") - dist_file = tmp_path / "dist/pkg-42.tar.gz" - assert dist_file.is_file() - - def test_pyproject_metadata(self, tmp_path): - _populate_project_dir(tmp_path, ["src/pkg/__init__.py"], {}) - - overwrite = { - "src": {"pkg": {"__init__.py": "version = 42"}}, - "pyproject.toml": ( - "[project]\nname = 'pkg'\ndynamic = ['version']\n" - "[tool.setuptools.dynamic]\nversion = {attr = 'pkg.version'}\n" - ), - } - jaraco.path.build(overwrite, prefix=tmp_path) - - dist = _get_dist(tmp_path, {}) - assert dist.get_version() == "42" - assert dist.package_dir == {"": "src"} - - -class TestWithCExtension: - def _simulate_package_with_extension(self, tmp_path): - # This example is based on: https://github.com/nucleic/kiwi/tree/1.4.0 - files = [ - "benchmarks/file.py", - "docs/Makefile", - "docs/requirements.txt", - "docs/source/conf.py", - "proj/header.h", - "proj/file.py", - "py/proj.cpp", - "py/other.cpp", - "py/file.py", - "py/py.typed", - "py/tests/test_proj.py", - "README.rst", - ] - _populate_project_dir(tmp_path, files, {}) - - setup_script = """ - from setuptools import Extension, setup - - ext_modules = [ - Extension( - "proj", - ["py/proj.cpp", "py/other.cpp"], - include_dirs=["."], - language="c++", - ), - ] - setup(ext_modules=ext_modules) - """ - (tmp_path / "setup.py").write_text(DALS(setup_script), encoding="utf-8") - - def test_skip_discovery_with_setupcfg_metadata(self, tmp_path): - """Ensure that auto-discovery is not triggered when the project is based on - C-extensions only, for backward compatibility. - """ - self._simulate_package_with_extension(tmp_path) - - pyproject = """ - [build-system] - requires = [] - build-backend = 'setuptools.build_meta' - """ - (tmp_path / "pyproject.toml").write_text(DALS(pyproject), encoding="utf-8") - - setupcfg = """ - [metadata] - name = proj - version = 42 - """ - (tmp_path / "setup.cfg").write_text(DALS(setupcfg), encoding="utf-8") - - dist = _get_dist(tmp_path, {}) - assert dist.get_name() == "proj" - assert dist.get_version() == "42" - assert dist.py_modules is None - assert dist.packages is None - assert len(dist.ext_modules) == 1 - assert dist.ext_modules[0].name == "proj" - - def test_dont_skip_discovery_with_pyproject_metadata(self, tmp_path): - """When opting-in to pyproject.toml metadata, auto-discovery will be active if - the package lists C-extensions, but does not configure py-modules or packages. - - This way we ensure users with complex package layouts that would lead to the - discovery of multiple top-level modules/packages see errors and are forced to - explicitly set ``packages`` or ``py-modules``. - """ - self._simulate_package_with_extension(tmp_path) - - pyproject = """ - [project] - name = 'proj' - version = '42' - """ - (tmp_path / "pyproject.toml").write_text(DALS(pyproject), encoding="utf-8") - with pytest.raises(PackageDiscoveryError, match="multiple (packages|modules)"): - _get_dist(tmp_path, {}) - - -class TestWithPackageData: - def _simulate_package_with_data_files(self, tmp_path, src_root): - files = [ - f"{src_root}/proj/__init__.py", - f"{src_root}/proj/file1.txt", - f"{src_root}/proj/nested/file2.txt", - ] - _populate_project_dir(tmp_path, files, {}) - - manifest = """ - global-include *.py *.txt - """ - (tmp_path / "MANIFEST.in").write_text(DALS(manifest), encoding="utf-8") - - EXAMPLE_SETUPCFG = """ - [metadata] - name = proj - version = 42 - - [options] - include_package_data = True - """ - EXAMPLE_PYPROJECT = """ - [project] - name = "proj" - version = "42" - """ - - PYPROJECT_PACKAGE_DIR = """ - [tool.setuptools] - package-dir = {"" = "src"} - """ - - @pytest.mark.parametrize( - ("src_root", "files"), - [ - (".", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), - (".", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), - ("src", {"setup.cfg": DALS(EXAMPLE_SETUPCFG)}), - ("src", {"pyproject.toml": DALS(EXAMPLE_PYPROJECT)}), - ( - "src", - { - "setup.cfg": DALS(EXAMPLE_SETUPCFG) - + DALS( - """ - packages = find: - package_dir = - =src - - [options.packages.find] - where = src - """ - ) - }, - ), - ( - "src", - { - "pyproject.toml": DALS(EXAMPLE_PYPROJECT) - + DALS( - """ - [tool.setuptools] - package-dir = {"" = "src"} - """ - ) - }, - ), - ], - ) - def test_include_package_data(self, tmp_path, src_root, files): - """ - Make sure auto-discovery does not affect package include_package_data. - See issue #3196. - """ - jaraco.path.build(files, prefix=str(tmp_path)) - self._simulate_package_with_data_files(tmp_path, src_root) - - expected = { - os.path.normpath(f"{src_root}/proj/file1.txt").replace(os.sep, "/"), - os.path.normpath(f"{src_root}/proj/nested/file2.txt").replace(os.sep, "/"), - } - - _run_build(tmp_path) - - sdist_files = get_sdist_members(next(tmp_path.glob("dist/*.tar.gz"))) - print("~~~~~ sdist_members ~~~~~") - print('\n'.join(sdist_files)) - assert sdist_files >= expected - - wheel_files = get_wheel_members(next(tmp_path.glob("dist/*.whl"))) - print("~~~~~ wheel_members ~~~~~") - print('\n'.join(wheel_files)) - orig_files = {f.replace("src/", "").replace("lib/", "") for f in expected} - assert wheel_files >= orig_files - - -def test_compatible_with_numpy_configuration(tmp_path): - files = [ - "dir1/__init__.py", - "dir2/__init__.py", - "file.py", - ] - _populate_project_dir(tmp_path, files, {}) - dist = Distribution({}) - dist.configuration = object() - dist.set_defaults() - assert dist.py_modules is None - assert dist.packages is None - - -def test_name_discovery_doesnt_break_cli(tmpdir_cwd): - jaraco.path.build({"pkg.py": ""}) - dist = Distribution({}) - dist.script_args = ["--name"] - dist.set_defaults() - dist.parse_command_line() # <-- no exception should be raised here. - assert dist.get_name() == "pkg" - - -def test_preserve_explicit_name_with_dynamic_version(tmpdir_cwd, monkeypatch): - """According to #3545 it seems that ``name`` discovery is running, - even when the project already explicitly sets it. - This seems to be related to parsing of dynamic versions (via ``attr`` directive), - which requires the auto-discovery of ``package_dir``. - """ - files = { - "src": { - "pkg": {"__init__.py": "__version__ = 42\n"}, - }, - "pyproject.toml": DALS( - """ - [project] - name = "myproj" # purposefully different from package name - dynamic = ["version"] - [tool.setuptools.dynamic] - version = {"attr" = "pkg.__version__"} - """ - ), - } - jaraco.path.build(files) - dist = Distribution({}) - orig_analyse_name = dist.set_defaults.analyse_name - - def spy_analyse_name(): - # We can check if name discovery was triggered by ensuring the original - # name remains instead of the package name. - orig_analyse_name() - assert dist.get_name() == "myproj" - - monkeypatch.setattr(dist.set_defaults, "analyse_name", spy_analyse_name) - dist.parse_config_files() - assert dist.get_version() == "42" - assert set(dist.packages) == {"pkg"} - - -def _populate_project_dir(root, files, options): - # NOTE: Currently pypa/build will refuse to build the project if no - # `pyproject.toml` or `setup.py` is found. So it is impossible to do - # completely "config-less" projects. - basic = { - "setup.py": "import setuptools\nsetuptools.setup()", - "README.md": "# Example Package", - "LICENSE": "Copyright (c) 2018", - } - jaraco.path.build(basic, prefix=root) - _write_setupcfg(root, options) - paths = (root / f for f in files) - for path in paths: - path.parent.mkdir(exist_ok=True, parents=True) - path.touch() - - -def _write_setupcfg(root, options): - if not options: - print("~~~~~ **NO** setup.cfg ~~~~~") - return - setupcfg = ConfigParser() - setupcfg.add_section("options") - for key, value in options.items(): - if key == "packages.find": - setupcfg.add_section(f"options.{key}") - setupcfg[f"options.{key}"].update(value) - elif isinstance(value, list): - setupcfg["options"][key] = ", ".join(value) - elif isinstance(value, dict): - str_value = "\n".join(f"\t{k} = {v}" for k, v in value.items()) - setupcfg["options"][key] = "\n" + str_value - else: - setupcfg["options"][key] = str(value) - with open(root / "setup.cfg", "w", encoding="utf-8") as f: - setupcfg.write(f) - print("~~~~~ setup.cfg ~~~~~") - print((root / "setup.cfg").read_text(encoding="utf-8")) - - -def _run_build(path, *flags): - cmd = [sys.executable, "-m", "build", "--no-isolation", *flags, str(path)] - return run(cmd, env={'DISTUTILS_DEBUG': ''}) - - -def _get_dist(dist_path, attrs): - root = "/".join(os.path.split(dist_path)) # POSIX-style - - script = dist_path / 'setup.py' - if script.exists(): - with Path(dist_path): - dist = cast( - Distribution, - distutils.core.run_setup("setup.py", {}, stop_after="init"), - ) - else: - dist = Distribution(attrs) - - dist.src_root = root - dist.script_name = "setup.py" - with Path(dist_path): - dist.parse_config_files() - - dist.set_defaults() - return dist - - -def _run_sdist_programatically(dist_path, attrs): - dist = _get_dist(dist_path, attrs) - cmd = sdist(dist) - cmd.ensure_finalized() - assert cmd.distribution.packages or cmd.distribution.py_modules - - with quiet(), Path(dist_path): - cmd.run() - - return dist, cmd diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_core_metadata.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_core_metadata.py deleted file mode 100644 index cf0bb32e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_core_metadata.py +++ /dev/null @@ -1,484 +0,0 @@ -from __future__ import annotations - -import functools -import importlib -import io -from email import message_from_string -from email.generator import Generator -from email.message import Message -from email.parser import Parser -from email.policy import EmailPolicy -from pathlib import Path -from unittest.mock import Mock - -import pytest -from packaging.metadata import Metadata -from packaging.requirements import Requirement - -from setuptools import _reqs, sic -from setuptools._core_metadata import rfc822_escape, rfc822_unescape -from setuptools.command.egg_info import egg_info, write_requirements -from setuptools.config import expand, setupcfg -from setuptools.dist import Distribution - -from .config.downloads import retrieve_file, urls_from_file - -EXAMPLE_BASE_INFO = dict( - name="package", - version="0.0.1", - author="Foo Bar", - author_email="foo@bar.net", - long_description="Long\ndescription", - description="Short description", - keywords=["one", "two"], -) - - -@pytest.mark.parametrize( - ("content", "result"), - ( - pytest.param( - "Just a single line", - None, - id="single_line", - ), - pytest.param( - "Multiline\nText\nwithout\nextra indents\n", - None, - id="multiline", - ), - pytest.param( - "Multiline\n With\n\nadditional\n indentation", - None, - id="multiline_with_indentation", - ), - pytest.param( - " Leading whitespace", - "Leading whitespace", - id="remove_leading_whitespace", - ), - pytest.param( - " Leading whitespace\nIn\n Multiline comment", - "Leading whitespace\nIn\n Multiline comment", - id="remove_leading_whitespace_multiline", - ), - ), -) -def test_rfc822_unescape(content, result): - assert (result or content) == rfc822_unescape(rfc822_escape(content)) - - -def __read_test_cases(): - base = EXAMPLE_BASE_INFO - - params = functools.partial(dict, base) - - return [ - ('Metadata version 1.0', params()), - ( - 'Metadata Version 1.0: Short long description', - params( - long_description='Short long description', - ), - ), - ( - 'Metadata version 1.1: Classifiers', - params( - classifiers=[ - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'License :: OSI Approved :: MIT License', - ], - ), - ), - ( - 'Metadata version 1.1: Download URL', - params( - download_url='https://example.com', - ), - ), - ( - 'Metadata Version 1.2: Requires-Python', - params( - python_requires='>=3.7', - ), - ), - pytest.param( - 'Metadata Version 1.2: Project-Url', - params(project_urls=dict(Foo='https://example.bar')), - marks=pytest.mark.xfail( - reason="Issue #1578: project_urls not read", - ), - ), - ( - 'Metadata Version 2.1: Long Description Content Type', - params( - long_description_content_type='text/x-rst; charset=UTF-8', - ), - ), - ( - 'License', - params( - license='MIT', - ), - ), - ( - 'License multiline', - params( - license='This is a long license \nover multiple lines', - ), - ), - pytest.param( - 'Metadata Version 2.1: Provides Extra', - params(provides_extras=['foo', 'bar']), - marks=pytest.mark.xfail(reason="provides_extras not read"), - ), - ( - 'Missing author', - dict( - name='foo', - version='1.0.0', - author_email='snorri@sturluson.name', - ), - ), - ( - 'Missing author e-mail', - dict( - name='foo', - version='1.0.0', - author='Snorri Sturluson', - ), - ), - ( - 'Missing author and e-mail', - dict( - name='foo', - version='1.0.0', - ), - ), - ( - 'Bypass normalized version', - dict( - name='foo', - version=sic('1.0.0a'), - ), - ), - ] - - -@pytest.mark.parametrize(("name", "attrs"), __read_test_cases()) -def test_read_metadata(name, attrs): - dist = Distribution(attrs) - metadata_out = dist.metadata - dist_class = metadata_out.__class__ - - # Write to PKG_INFO and then load into a new metadata object - PKG_INFO = io.StringIO() - - metadata_out.write_pkg_file(PKG_INFO) - PKG_INFO.seek(0) - pkg_info = PKG_INFO.read() - assert _valid_metadata(pkg_info) - - PKG_INFO.seek(0) - metadata_in = dist_class() - metadata_in.read_pkg_file(PKG_INFO) - - tested_attrs = [ - ('name', dist_class.get_name), - ('version', dist_class.get_version), - ('author', dist_class.get_contact), - ('author_email', dist_class.get_contact_email), - ('metadata_version', dist_class.get_metadata_version), - ('provides', dist_class.get_provides), - ('description', dist_class.get_description), - ('long_description', dist_class.get_long_description), - ('download_url', dist_class.get_download_url), - ('keywords', dist_class.get_keywords), - ('platforms', dist_class.get_platforms), - ('obsoletes', dist_class.get_obsoletes), - ('requires', dist_class.get_requires), - ('classifiers', dist_class.get_classifiers), - ('project_urls', lambda s: getattr(s, 'project_urls', {})), - ('provides_extras', lambda s: getattr(s, 'provides_extras', {})), - ] - - for attr, getter in tested_attrs: - assert getter(metadata_in) == getter(metadata_out) - - -def __maintainer_test_cases(): - attrs = {"name": "package", "version": "1.0", "description": "xxx"} - - def merge_dicts(d1, d2): - d1 = d1.copy() - d1.update(d2) - - return d1 - - return [ - ('No author, no maintainer', attrs.copy()), - ( - 'Author (no e-mail), no maintainer', - merge_dicts(attrs, {'author': 'Author Name'}), - ), - ( - 'Author (e-mail), no maintainer', - merge_dicts( - attrs, {'author': 'Author Name', 'author_email': 'author@name.com'} - ), - ), - ( - 'No author, maintainer (no e-mail)', - merge_dicts(attrs, {'maintainer': 'Maintainer Name'}), - ), - ( - 'No author, maintainer (e-mail)', - merge_dicts( - attrs, - { - 'maintainer': 'Maintainer Name', - 'maintainer_email': 'maintainer@name.com', - }, - ), - ), - ( - 'Author (no e-mail), Maintainer (no-email)', - merge_dicts( - attrs, {'author': 'Author Name', 'maintainer': 'Maintainer Name'} - ), - ), - ( - 'Author (e-mail), Maintainer (e-mail)', - merge_dicts( - attrs, - { - 'author': 'Author Name', - 'author_email': 'author@name.com', - 'maintainer': 'Maintainer Name', - 'maintainer_email': 'maintainer@name.com', - }, - ), - ), - ( - 'No author (e-mail), no maintainer (e-mail)', - merge_dicts( - attrs, - { - 'author_email': 'author@name.com', - 'maintainer_email': 'maintainer@name.com', - }, - ), - ), - ('Author unicode', merge_dicts(attrs, {'author': '鉄沢寛'})), - ('Maintainer unicode', merge_dicts(attrs, {'maintainer': 'Jan Åukasiewicz'})), - ] - - -@pytest.mark.parametrize(("name", "attrs"), __maintainer_test_cases()) -def test_maintainer_author(name, attrs, tmpdir): - tested_keys = { - 'author': 'Author', - 'author_email': 'Author-email', - 'maintainer': 'Maintainer', - 'maintainer_email': 'Maintainer-email', - } - - # Generate a PKG-INFO file - dist = Distribution(attrs) - fn = tmpdir.mkdir('pkg_info') - fn_s = str(fn) - - dist.metadata.write_pkg_info(fn_s) - - with open(str(fn.join('PKG-INFO')), 'r', encoding='utf-8') as f: - pkg_info = f.read() - - assert _valid_metadata(pkg_info) - - # Drop blank lines and strip lines from default description - raw_pkg_lines = pkg_info.splitlines() - pkg_lines = list(filter(None, raw_pkg_lines[:-2])) - - pkg_lines_set = set(pkg_lines) - - # Duplicate lines should not be generated - assert len(pkg_lines) == len(pkg_lines_set) - - for fkey, dkey in tested_keys.items(): - val = attrs.get(dkey, None) - if val is None: - for line in pkg_lines: - assert not line.startswith(fkey + ':') - else: - line = '%s: %s' % (fkey, val) - assert line in pkg_lines_set - - -class TestParityWithMetadataFromPyPaWheel: - def base_example(self): - attrs = dict( - **EXAMPLE_BASE_INFO, - # Example with complex requirement definition - python_requires=">=3.8", - install_requires=""" - packaging==23.2 - more-itertools==8.8.0; extra == "other" - jaraco.text==3.7.0 - importlib-resources==5.10.2; python_version<"3.8" - importlib-metadata==6.0.0 ; python_version<"3.8" - colorama>=0.4.4; sys_platform == "win32" - """, - extras_require={ - "testing": """ - pytest >= 6 - pytest-checkdocs >= 2.4 - tomli ; \\ - # Using stdlib when possible - python_version < "3.11" - ini2toml[lite]>=0.9 - """, - "other": [], - }, - ) - # Generate a PKG-INFO file using setuptools - return Distribution(attrs) - - def test_requires_dist(self, tmp_path): - dist = self.base_example() - pkg_info = _get_pkginfo(dist) - assert _valid_metadata(pkg_info) - - # Ensure Requires-Dist is present - expected = [ - 'Metadata-Version:', - 'Requires-Python: >=3.8', - 'Provides-Extra: other', - 'Provides-Extra: testing', - 'Requires-Dist: tomli; python_version < "3.11" and extra == "testing"', - 'Requires-Dist: more-itertools==8.8.0; extra == "other"', - 'Requires-Dist: ini2toml[lite]>=0.9; extra == "testing"', - ] - for line in expected: - assert line in pkg_info - - HERE = Path(__file__).parent - EXAMPLES_FILE = HERE / "config/setupcfg_examples.txt" - - @pytest.fixture(params=[None, *urls_from_file(EXAMPLES_FILE)]) - def dist(self, request, monkeypatch, tmp_path): - """Example of distribution with arbitrary configuration""" - monkeypatch.chdir(tmp_path) - monkeypatch.setattr(expand, "read_attr", Mock(return_value="0.42")) - monkeypatch.setattr(expand, "read_files", Mock(return_value="hello world")) - if request.param is None: - yield self.base_example() - else: - # Real-world usage - config = retrieve_file(request.param) - yield setupcfg.apply_configuration(Distribution({}), config) - - @pytest.mark.uses_network - def test_equivalent_output(self, tmp_path, dist): - """Ensure output from setuptools is equivalent to the one from `pypa/wheel`""" - # Generate a METADATA file using pypa/wheel for comparison - wheel_metadata = importlib.import_module("wheel.metadata") - pkginfo_to_metadata = getattr(wheel_metadata, "pkginfo_to_metadata", None) - - if pkginfo_to_metadata is None: # pragma: nocover - pytest.xfail( - "wheel.metadata.pkginfo_to_metadata is undefined, " - "(this is likely to be caused by API changes in pypa/wheel" - ) - - # Generate an simplified "egg-info" dir for pypa/wheel to convert - pkg_info = _get_pkginfo(dist) - egg_info_dir = tmp_path / "pkg.egg-info" - egg_info_dir.mkdir(parents=True) - (egg_info_dir / "PKG-INFO").write_text(pkg_info, encoding="utf-8") - write_requirements(egg_info(dist), egg_info_dir, egg_info_dir / "requires.txt") - - # Get pypa/wheel generated METADATA but normalize requirements formatting - metadata_msg = pkginfo_to_metadata(egg_info_dir, egg_info_dir / "PKG-INFO") - metadata_str = _normalize_metadata(metadata_msg) - pkg_info_msg = message_from_string(pkg_info) - pkg_info_str = _normalize_metadata(pkg_info_msg) - - # Compare setuptools PKG-INFO x pypa/wheel METADATA - assert metadata_str == pkg_info_str - - # Make sure it parses/serializes well in pypa/wheel - _assert_roundtrip_message(pkg_info) - - -def _assert_roundtrip_message(metadata: str) -> None: - """Emulate the way wheel.bdist_wheel parses and regenerates the message, - then ensures the metadata generated by setuptools is compatible. - """ - with io.StringIO(metadata) as buffer: - msg = Parser().parse(buffer) - - serialization_policy = EmailPolicy( - utf8=True, - mangle_from_=False, - max_line_length=0, - ) - with io.BytesIO() as buffer: - out = io.TextIOWrapper(buffer, encoding="utf-8") - Generator(out, policy=serialization_policy).flatten(msg) - out.flush() - regenerated = buffer.getvalue() - - raw_metadata = bytes(metadata, "utf-8") - # Normalise newlines to avoid test errors on Windows: - raw_metadata = b"\n".join(raw_metadata.splitlines()) - regenerated = b"\n".join(regenerated.splitlines()) - assert regenerated == raw_metadata - - -def _normalize_metadata(msg: Message) -> str: - """Allow equivalent metadata to be compared directly""" - # The main challenge regards the requirements and extras. - # Both setuptools and wheel already apply some level of normalization - # but they differ regarding which character is chosen, according to the - # following spec it should be "-": - # https://packaging.python.org/en/latest/specifications/name-normalization/ - - # Related issues: - # https://github.com/pypa/packaging/issues/845 - # https://github.com/pypa/packaging/issues/644#issuecomment-2429813968 - - extras = {x.replace("_", "-"): x for x in msg.get_all("Provides-Extra", [])} - reqs = [ - _normalize_req(req, extras) - for req in _reqs.parse(msg.get_all("Requires-Dist", [])) - ] - del msg["Requires-Dist"] - del msg["Provides-Extra"] - - # Ensure consistent ord - for req in sorted(reqs): - msg["Requires-Dist"] = req - for extra in sorted(extras): - msg["Provides-Extra"] = extra - - return msg.as_string() - - -def _normalize_req(req: Requirement, extras: dict[str, str]) -> str: - """Allow equivalent requirement objects to be compared directly""" - as_str = str(req).replace(req.name, req.name.replace("_", "-")) - for norm, orig in extras.items(): - as_str = as_str.replace(orig, norm) - return as_str - - -def _get_pkginfo(dist: Distribution): - with io.StringIO() as fp: - dist.metadata.write_pkg_file(fp) - return fp.getvalue() - - -def _valid_metadata(text: str) -> bool: - metadata = Metadata.from_email(text, validate=True) # can raise exceptions - return metadata is not None diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_depends.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_depends.py deleted file mode 100644 index 1714c041..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_depends.py +++ /dev/null @@ -1,15 +0,0 @@ -import sys - -from setuptools import depends - - -class TestGetModuleConstant: - def test_basic(self): - """ - Invoke get_module_constant on a module in - the test package. - """ - mod_name = 'setuptools.tests.mod_with_constant' - val = depends.get_module_constant(mod_name, 'value') - assert val == 'three, sir!' - assert 'setuptools.tests.mod_with_constant' not in sys.modules diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_develop.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_develop.py deleted file mode 100644 index 929fa9c2..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_develop.py +++ /dev/null @@ -1,175 +0,0 @@ -"""develop tests""" - -import os -import pathlib -import platform -import subprocess -import sys - -import pytest - -from setuptools._path import paths_on_pythonpath -from setuptools.command.develop import develop -from setuptools.dist import Distribution - -from . import contexts, namespaces - -SETUP_PY = """\ -from setuptools import setup - -setup(name='foo', - packages=['foo'], -) -""" - -INIT_PY = """print "foo" -""" - - -@pytest.fixture -def temp_user(monkeypatch): - with contexts.tempdir() as user_base: - with contexts.tempdir() as user_site: - monkeypatch.setattr('site.USER_BASE', user_base) - monkeypatch.setattr('site.USER_SITE', user_site) - yield - - -@pytest.fixture -def test_env(tmpdir, temp_user): - target = tmpdir - foo = target.mkdir('foo') - setup = target / 'setup.py' - if setup.isfile(): - raise ValueError(dir(target)) - with setup.open('w') as f: - f.write(SETUP_PY) - init = foo / '__init__.py' - with init.open('w') as f: - f.write(INIT_PY) - with target.as_cwd(): - yield target - - -class TestDevelop: - in_virtualenv = hasattr(sys, 'real_prefix') - in_venv = hasattr(sys, 'base_prefix') and sys.base_prefix != sys.prefix - - def test_console_scripts(self, tmpdir): - """ - Test that console scripts are installed and that they reference - only the project by name and not the current version. - """ - pytest.skip( - "TODO: needs a fixture to cause 'develop' " - "to be invoked without mutating environment." - ) - settings = dict( - name='foo', - packages=['foo'], - version='0.0', - entry_points={ - 'console_scripts': [ - 'foocmd = foo:foo', - ], - }, - ) - dist = Distribution(settings) - dist.script_name = 'setup.py' - cmd = develop(dist) - cmd.ensure_finalized() - cmd.install_dir = tmpdir - cmd.run() - # assert '0.0' not in foocmd_text - - @pytest.mark.xfail(reason="legacy behavior retained for compatibility #4167") - def test_egg_link_filename(self): - settings = dict( - name='Foo $$$ Bar_baz-bing', - ) - dist = Distribution(settings) - cmd = develop(dist) - cmd.ensure_finalized() - link = pathlib.Path(cmd.egg_link) - assert link.suffix == '.egg-link' - assert link.stem == 'Foo_Bar_baz_bing' - - -class TestResolver: - """ - TODO: These tests were written with a minimal understanding - of what _resolve_setup_path is intending to do. Come up with - more meaningful cases that look like real-world scenarios. - """ - - def test_resolve_setup_path_cwd(self): - assert develop._resolve_setup_path('.', '.', '.') == '.' - - def test_resolve_setup_path_one_dir(self): - assert develop._resolve_setup_path('pkgs', '.', 'pkgs') == '../' - - def test_resolve_setup_path_one_dir_trailing_slash(self): - assert develop._resolve_setup_path('pkgs/', '.', 'pkgs') == '../' - - -class TestNamespaces: - @staticmethod - def install_develop(src_dir, target): - develop_cmd = [ - sys.executable, - 'setup.py', - 'develop', - '--install-dir', - str(target), - ] - with src_dir.as_cwd(): - with paths_on_pythonpath([str(target)]): - subprocess.check_call(develop_cmd) - - @pytest.mark.skipif( - bool(os.environ.get("APPVEYOR")), - reason="https://github.com/pypa/setuptools/issues/851", - ) - @pytest.mark.skipif( - platform.python_implementation() == 'PyPy', - reason="https://github.com/pypa/setuptools/issues/1202", - ) - def test_namespace_package_importable(self, tmpdir): - """ - Installing two packages sharing the same namespace, one installed - naturally using pip or `--single-version-externally-managed` - and the other installed using `develop` should leave the namespace - in tact and both packages reachable by import. - """ - pkg_A = namespaces.build_namespace_package(tmpdir, 'myns.pkgA') - pkg_B = namespaces.build_namespace_package(tmpdir, 'myns.pkgB') - target = tmpdir / 'packages' - # use pip to install to the target directory - install_cmd = [ - sys.executable, - '-m', - 'pip', - 'install', - str(pkg_A), - '-t', - str(target), - ] - subprocess.check_call(install_cmd) - self.install_develop(pkg_B, target) - namespaces.make_site_dir(target) - try_import = [ - sys.executable, - '-c', - 'import myns.pkgA; import myns.pkgB', - ] - with paths_on_pythonpath([str(target)]): - subprocess.check_call(try_import) - - # additionally ensure that pkg_resources import works - pkg_resources_imp = [ - sys.executable, - '-c', - 'import pkg_resources', - ] - with paths_on_pythonpath([str(target)]): - subprocess.check_call(pkg_resources_imp) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_dist.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_dist.py deleted file mode 100644 index 7b8cb914..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_dist.py +++ /dev/null @@ -1,278 +0,0 @@ -import os -import re -import urllib.parse -import urllib.request - -import pytest - -from setuptools import Distribution -from setuptools.dist import check_package_data, check_specifier - -from .test_easy_install import make_nspkg_sdist -from .test_find_packages import ensure_files -from .textwrap import DALS - -from distutils.errors import DistutilsSetupError - - -def test_dist_fetch_build_egg(tmpdir): - """ - Check multiple calls to `Distribution.fetch_build_egg` work as expected. - """ - index = tmpdir.mkdir('index') - index_url = urllib.parse.urljoin('file://', urllib.request.pathname2url(str(index))) - - def sdist_with_index(distname, version): - dist_dir = index.mkdir(distname) - dist_sdist = '%s-%s.tar.gz' % (distname, version) - make_nspkg_sdist(str(dist_dir.join(dist_sdist)), distname, version) - with dist_dir.join('index.html').open('w') as fp: - fp.write( - DALS( - """ - - {dist_sdist}
- - """ - ).format(dist_sdist=dist_sdist) - ) - - sdist_with_index('barbazquux', '3.2.0') - sdist_with_index('barbazquux-runner', '2.11.1') - with tmpdir.join('setup.cfg').open('w') as fp: - fp.write( - DALS( - """ - [easy_install] - index_url = {index_url} - """ - ).format(index_url=index_url) - ) - reqs = """ - barbazquux-runner - barbazquux - """.split() - with tmpdir.as_cwd(): - dist = Distribution() - dist.parse_config_files() - resolved_dists = [dist.fetch_build_egg(r) for r in reqs] - assert [dist.key for dist in resolved_dists if dist] == reqs - - -EXAMPLE_BASE_INFO = dict( - name="package", - version="0.0.1", - author="Foo Bar", - author_email="foo@bar.net", - long_description="Long\ndescription", - description="Short description", - keywords=["one", "two"], -) - - -def test_provides_extras_deterministic_order(): - attrs = dict(extras_require=dict(a=['foo'], b=['bar'])) - dist = Distribution(attrs) - assert list(dist.metadata.provides_extras) == ['a', 'b'] - attrs['extras_require'] = dict(reversed(attrs['extras_require'].items())) - dist = Distribution(attrs) - assert list(dist.metadata.provides_extras) == ['b', 'a'] - - -CHECK_PACKAGE_DATA_TESTS = ( - # Valid. - ( - { - '': ['*.txt', '*.rst'], - 'hello': ['*.msg'], - }, - None, - ), - # Not a dictionary. - ( - ( - ('', ['*.txt', '*.rst']), - ('hello', ['*.msg']), - ), - ( - "'package_data' must be a dictionary mapping package" - " names to lists of string wildcard patterns" - ), - ), - # Invalid key type. - ( - { - 400: ['*.txt', '*.rst'], - }, - ("keys of 'package_data' dict must be strings (got 400)"), - ), - # Invalid value type. - ( - { - 'hello': '*.msg', - }, - ( - "\"values of 'package_data' dict\" must be of type " - " (got '*.msg')" - ), - ), - # Invalid value type (generators are single use) - ( - { - 'hello': (x for x in "generator"), - }, - ( - "\"values of 'package_data' dict\" must be of type " - " (got =3.0, !=3.1'} - dist = Distribution(attrs) - check_specifier(dist, attrs, attrs['python_requires']) - - attrs = {'name': 'foo', 'python_requires': ['>=3.0', '!=3.1']} - dist = Distribution(attrs) - check_specifier(dist, attrs, attrs['python_requires']) - - # invalid specifier value - attrs = {'name': 'foo', 'python_requires': '>=invalid-version'} - with pytest.raises(DistutilsSetupError): - dist = Distribution(attrs) - - -def test_metadata_name(): - with pytest.raises(DistutilsSetupError, match='missing.*name'): - Distribution()._validate_metadata() - - -@pytest.mark.parametrize( - ('dist_name', 'py_module'), - [ - ("my.pkg", "my_pkg"), - ("my-pkg", "my_pkg"), - ("my_pkg", "my_pkg"), - ("pkg", "pkg"), - ], -) -def test_dist_default_py_modules(tmp_path, dist_name, py_module): - (tmp_path / f"{py_module}.py").touch() - - (tmp_path / "setup.py").touch() - (tmp_path / "noxfile.py").touch() - # ^-- make sure common tool files are ignored - - attrs = {**EXAMPLE_BASE_INFO, "name": dist_name, "src_root": str(tmp_path)} - # Find `py_modules` corresponding to dist_name if not given - dist = Distribution(attrs) - dist.set_defaults() - assert dist.py_modules == [py_module] - # When `py_modules` is given, don't do anything - dist = Distribution({**attrs, "py_modules": ["explicity_py_module"]}) - dist.set_defaults() - assert dist.py_modules == ["explicity_py_module"] - # When `packages` is given, don't do anything - dist = Distribution({**attrs, "packages": ["explicity_package"]}) - dist.set_defaults() - assert not dist.py_modules - - -@pytest.mark.parametrize( - ('dist_name', 'package_dir', 'package_files', 'packages'), - [ - ("my.pkg", None, ["my_pkg/__init__.py", "my_pkg/mod.py"], ["my_pkg"]), - ("my-pkg", None, ["my_pkg/__init__.py", "my_pkg/mod.py"], ["my_pkg"]), - ("my_pkg", None, ["my_pkg/__init__.py", "my_pkg/mod.py"], ["my_pkg"]), - ("my.pkg", None, ["my/pkg/__init__.py"], ["my", "my.pkg"]), - ( - "my_pkg", - None, - ["src/my_pkg/__init__.py", "src/my_pkg2/__init__.py"], - ["my_pkg", "my_pkg2"], - ), - ( - "my_pkg", - {"pkg": "lib", "pkg2": "lib2"}, - ["lib/__init__.py", "lib/nested/__init__.pyt", "lib2/__init__.py"], - ["pkg", "pkg.nested", "pkg2"], - ), - ], -) -def test_dist_default_packages( - tmp_path, dist_name, package_dir, package_files, packages -): - ensure_files(tmp_path, package_files) - - (tmp_path / "setup.py").touch() - (tmp_path / "noxfile.py").touch() - # ^-- should not be included by default - - attrs = { - **EXAMPLE_BASE_INFO, - "name": dist_name, - "src_root": str(tmp_path), - "package_dir": package_dir, - } - # Find `packages` either corresponding to dist_name or inside src - dist = Distribution(attrs) - dist.set_defaults() - assert not dist.py_modules - assert not dist.py_modules - assert set(dist.packages) == set(packages) - # When `py_modules` is given, don't do anything - dist = Distribution({**attrs, "py_modules": ["explicit_py_module"]}) - dist.set_defaults() - assert not dist.packages - assert set(dist.py_modules) == {"explicit_py_module"} - # When `packages` is given, don't do anything - dist = Distribution({**attrs, "packages": ["explicit_package"]}) - dist.set_defaults() - assert not dist.py_modules - assert set(dist.packages) == {"explicit_package"} - - -@pytest.mark.parametrize( - ('dist_name', 'package_dir', 'package_files'), - [ - ("my.pkg.nested", None, ["my/pkg/nested/__init__.py"]), - ("my.pkg", None, ["my/pkg/__init__.py", "my/pkg/file.py"]), - ("my_pkg", None, ["my_pkg.py"]), - ("my_pkg", None, ["my_pkg/__init__.py", "my_pkg/nested/__init__.py"]), - ("my_pkg", None, ["src/my_pkg/__init__.py", "src/my_pkg/nested/__init__.py"]), - ( - "my_pkg", - {"my_pkg": "lib", "my_pkg.lib2": "lib2"}, - ["lib/__init__.py", "lib/nested/__init__.pyt", "lib2/__init__.py"], - ), - # Should not try to guess a name from multiple py_modules/packages - ("UNKNOWN", None, ["src/mod1.py", "src/mod2.py"]), - ("UNKNOWN", None, ["src/pkg1/__ini__.py", "src/pkg2/__init__.py"]), - ], -) -def test_dist_default_name(tmp_path, dist_name, package_dir, package_files): - """Make sure dist.name is discovered from packages/py_modules""" - ensure_files(tmp_path, package_files) - attrs = { - **EXAMPLE_BASE_INFO, - "src_root": "/".join(os.path.split(tmp_path)), # POSIX-style - "package_dir": package_dir, - } - del attrs["name"] - - dist = Distribution(attrs) - dist.set_defaults() - assert dist.py_modules or dist.packages - assert dist.get_name() == dist_name diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_dist_info.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_dist_info.py deleted file mode 100644 index 31e6e95a..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_dist_info.py +++ /dev/null @@ -1,210 +0,0 @@ -"""Test .dist-info style distributions.""" - -import pathlib -import re -import shutil -import subprocess -import sys -from functools import partial - -import pytest - -import pkg_resources -from setuptools.archive_util import unpack_archive - -from .textwrap import DALS - -read = partial(pathlib.Path.read_text, encoding="utf-8") - - -class TestDistInfo: - metadata_base = DALS( - """ - Metadata-Version: 1.2 - Requires-Dist: splort (==4) - Provides-Extra: baz - Requires-Dist: quux (>=1.1); extra == 'baz' - """ - ) - - @classmethod - def build_metadata(cls, **kwargs): - lines = ('{key}: {value}\n'.format(**locals()) for key, value in kwargs.items()) - return cls.metadata_base + ''.join(lines) - - @pytest.fixture - def metadata(self, tmpdir): - dist_info_name = 'VersionedDistribution-2.718.dist-info' - versioned = tmpdir / dist_info_name - versioned.mkdir() - filename = versioned / 'METADATA' - content = self.build_metadata( - Name='VersionedDistribution', - ) - filename.write_text(content, encoding='utf-8') - - dist_info_name = 'UnversionedDistribution.dist-info' - unversioned = tmpdir / dist_info_name - unversioned.mkdir() - filename = unversioned / 'METADATA' - content = self.build_metadata( - Name='UnversionedDistribution', - Version='0.3', - ) - filename.write_text(content, encoding='utf-8') - - return str(tmpdir) - - def test_distinfo(self, metadata): - dists = dict( - (d.project_name, d) for d in pkg_resources.find_distributions(metadata) - ) - - assert len(dists) == 2, dists - - unversioned = dists['UnversionedDistribution'] - versioned = dists['VersionedDistribution'] - - assert versioned.version == '2.718' # from filename - assert unversioned.version == '0.3' # from METADATA - - def test_conditional_dependencies(self, metadata): - specs = 'splort==4', 'quux>=1.1' - requires = list(map(pkg_resources.Requirement.parse, specs)) - - for d in pkg_resources.find_distributions(metadata): - assert d.requires() == requires[:1] - assert d.requires(extras=('baz',)) == [ - requires[0], - pkg_resources.Requirement.parse('quux>=1.1;extra=="baz"'), - ] - assert d.extras == ['baz'] - - def test_invalid_version(self, tmp_path): - """ - Supplying an invalid version crashes dist_info. - """ - config = "[metadata]\nname=proj\nversion=42\n[egg_info]\ntag_build=invalid!!!\n" - (tmp_path / "setup.cfg").write_text(config, encoding="utf-8") - msg = re.compile("invalid version", re.M | re.I) - proc = run_command_inner("dist_info", cwd=tmp_path, check=False) - assert proc.returncode - assert msg.search(proc.stdout) - assert not list(tmp_path.glob("*.dist-info")) - - def test_tag_arguments(self, tmp_path): - config = """ - [metadata] - name=proj - version=42 - [egg_info] - tag_date=1 - tag_build=.post - """ - (tmp_path / "setup.cfg").write_text(config, encoding="utf-8") - - print(run_command("dist_info", "--no-date", cwd=tmp_path)) - dist_info = next(tmp_path.glob("*.dist-info")) - assert dist_info.name.startswith("proj-42") - shutil.rmtree(dist_info) - - print(run_command("dist_info", "--tag-build", ".a", cwd=tmp_path)) - dist_info = next(tmp_path.glob("*.dist-info")) - assert dist_info.name.startswith("proj-42a") - - @pytest.mark.parametrize("keep_egg_info", (False, True)) - def test_output_dir(self, tmp_path, keep_egg_info): - config = "[metadata]\nname=proj\nversion=42\n" - (tmp_path / "setup.cfg").write_text(config, encoding="utf-8") - out = tmp_path / "__out" - out.mkdir() - opts = ["--keep-egg-info"] if keep_egg_info else [] - run_command("dist_info", "--output-dir", out, *opts, cwd=tmp_path) - assert len(list(out.glob("*.dist-info"))) == 1 - assert len(list(tmp_path.glob("*.dist-info"))) == 0 - expected_egg_info = int(keep_egg_info) - assert len(list(out.glob("*.egg-info"))) == expected_egg_info - assert len(list(tmp_path.glob("*.egg-info"))) == 0 - assert len(list(out.glob("*.__bkp__"))) == 0 - assert len(list(tmp_path.glob("*.__bkp__"))) == 0 - - -class TestWheelCompatibility: - """Make sure the .dist-info directory produced with the ``dist_info`` command - is the same as the one produced by ``bdist_wheel``. - """ - - SETUPCFG = DALS( - """ - [metadata] - name = {name} - version = {version} - - [options] - install_requires = - foo>=12; sys_platform != "linux" - - [options.extras_require] - test = pytest - - [options.entry_points] - console_scripts = - executable-name = my_package.module:function - discover = - myproj = my_package.other_module:function - """ - ) - - EGG_INFO_OPTS = [ - # Related: #3088 #2872 - ("", ""), - (".post", "[egg_info]\ntag_build = post\n"), - (".post", "[egg_info]\ntag_build = .post\n"), - (".post", "[egg_info]\ntag_build = post\ntag_date = 1\n"), - (".dev", "[egg_info]\ntag_build = .dev\n"), - (".dev", "[egg_info]\ntag_build = .dev\ntag_date = 1\n"), - ("a1", "[egg_info]\ntag_build = .a1\n"), - ("+local", "[egg_info]\ntag_build = +local\n"), - ] - - @pytest.mark.parametrize("name", "my-proj my_proj my.proj My.Proj".split()) - @pytest.mark.parametrize("version", ["0.42.13"]) - @pytest.mark.parametrize(("suffix", "cfg"), EGG_INFO_OPTS) - def test_dist_info_is_the_same_as_in_wheel( - self, name, version, tmp_path, suffix, cfg - ): - config = self.SETUPCFG.format(name=name, version=version) + cfg - - for i in "dir_wheel", "dir_dist": - (tmp_path / i).mkdir() - (tmp_path / i / "setup.cfg").write_text(config, encoding="utf-8") - - run_command("bdist_wheel", cwd=tmp_path / "dir_wheel") - wheel = next(tmp_path.glob("dir_wheel/dist/*.whl")) - unpack_archive(wheel, tmp_path / "unpack") - wheel_dist_info = next(tmp_path.glob("unpack/*.dist-info")) - - run_command("dist_info", cwd=tmp_path / "dir_dist") - dist_info = next(tmp_path.glob("dir_dist/*.dist-info")) - - assert dist_info.name == wheel_dist_info.name - assert dist_info.name.startswith(f"{name.replace('-', '_')}-{version}{suffix}") - for file in "METADATA", "entry_points.txt": - assert read(dist_info / file) == read(wheel_dist_info / file) - - -def run_command_inner(*cmd, **kwargs): - opts = { - "stderr": subprocess.STDOUT, - "stdout": subprocess.PIPE, - "text": True, - "encoding": "utf-8", - "check": True, - **kwargs, - } - cmd = [sys.executable, "-c", "__import__('setuptools').setup()", *map(str, cmd)] - return subprocess.run(cmd, **opts) - - -def run_command(*args, **kwargs): - return run_command_inner(*args, **kwargs).stdout diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_distutils_adoption.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_distutils_adoption.py deleted file mode 100644 index f99a5884..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_distutils_adoption.py +++ /dev/null @@ -1,198 +0,0 @@ -import os -import platform -import sys -import textwrap - -import pytest - -IS_PYPY = '__pypy__' in sys.builtin_module_names - -_TEXT_KWARGS = {"text": True, "encoding": "utf-8"} # For subprocess.run - - -def win_sr(env): - """ - On Windows, SYSTEMROOT must be present to avoid - - > Fatal Python error: _Py_HashRandomization_Init: failed to - > get random numbers to initialize Python - """ - if env and platform.system() == 'Windows': - env['SYSTEMROOT'] = os.environ['SYSTEMROOT'] - return env - - -def find_distutils(venv, imports='distutils', env=None, **kwargs): - py_cmd = 'import {imports}; print(distutils.__file__)'.format(**locals()) - cmd = ['python', '-c', py_cmd] - return venv.run(cmd, env=win_sr(env), **_TEXT_KWARGS, **kwargs) - - -def count_meta_path(venv, env=None): - py_cmd = textwrap.dedent( - """ - import sys - is_distutils = lambda finder: finder.__class__.__name__ == "DistutilsMetaFinder" - print(len(list(filter(is_distutils, sys.meta_path)))) - """ - ) - cmd = ['python', '-c', py_cmd] - return int(venv.run(cmd, env=win_sr(env), **_TEXT_KWARGS)) - - -skip_without_stdlib_distutils = pytest.mark.skipif( - sys.version_info >= (3, 12), - reason='stdlib distutils is removed from Python 3.12+', -) - - -@skip_without_stdlib_distutils -def test_distutils_stdlib(venv): - """ - Ensure stdlib distutils is used when appropriate. - """ - env = dict(SETUPTOOLS_USE_DISTUTILS='stdlib') - assert venv.name not in find_distutils(venv, env=env).split(os.sep) - assert count_meta_path(venv, env=env) == 0 - - -def test_distutils_local_with_setuptools(venv): - """ - Ensure local distutils is used when appropriate. - """ - env = dict(SETUPTOOLS_USE_DISTUTILS='local') - loc = find_distutils(venv, imports='setuptools, distutils', env=env) - assert venv.name in loc.split(os.sep) - assert count_meta_path(venv, env=env) <= 1 - - -@pytest.mark.xfail('IS_PYPY', reason='pypy imports distutils on startup') -def test_distutils_local(venv): - """ - Even without importing, the setuptools-local copy of distutils is - preferred. - """ - env = dict(SETUPTOOLS_USE_DISTUTILS='local') - assert venv.name in find_distutils(venv, env=env).split(os.sep) - assert count_meta_path(venv, env=env) <= 1 - - -def test_pip_import(venv): - """ - Ensure pip can be imported. - Regression test for #3002. - """ - cmd = ['python', '-c', 'import pip'] - venv.run(cmd, **_TEXT_KWARGS) - - -def test_distutils_has_origin(): - """ - Distutils module spec should have an origin. #2990. - """ - assert __import__('distutils').__spec__.origin - - -ENSURE_IMPORTS_ARE_NOT_DUPLICATED = r""" -# Depending on the importlib machinery and _distutils_hack, some imports are -# duplicated resulting in different module objects being loaded, which prevents -# patches as shown in #3042. -# This script provides a way of verifying if this duplication is happening. - -from distutils import cmd -import distutils.command.sdist as sdist - -# import last to prevent caching -from distutils import {imported_module} - -for mod in (cmd, sdist): - assert mod.{imported_module} == {imported_module}, ( - f"\n{{mod.dir_util}}\n!=\n{{{imported_module}}}" - ) - -print("success") -""" - - -@pytest.mark.usefixtures("tmpdir_cwd") -@pytest.mark.parametrize( - ('distutils_version', 'imported_module'), - [ - pytest.param("stdlib", "dir_util", marks=skip_without_stdlib_distutils), - pytest.param("stdlib", "file_util", marks=skip_without_stdlib_distutils), - pytest.param("stdlib", "archive_util", marks=skip_without_stdlib_distutils), - ("local", "dir_util"), - ("local", "file_util"), - ("local", "archive_util"), - ], -) -def test_modules_are_not_duplicated_on_import(distutils_version, imported_module, venv): - env = dict(SETUPTOOLS_USE_DISTUTILS=distutils_version) - script = ENSURE_IMPORTS_ARE_NOT_DUPLICATED.format(imported_module=imported_module) - cmd = ['python', '-c', script] - output = venv.run(cmd, env=win_sr(env), **_TEXT_KWARGS).strip() - assert output == "success" - - -ENSURE_LOG_IMPORT_IS_NOT_DUPLICATED = r""" -import types -import distutils.dist as dist -from distutils import log -if isinstance(dist.log, types.ModuleType): - assert dist.log == log, f"\n{dist.log}\n!=\n{log}" -print("success") -""" - - -@pytest.mark.usefixtures("tmpdir_cwd") -@pytest.mark.parametrize( - "distutils_version", - [ - "local", - pytest.param("stdlib", marks=skip_without_stdlib_distutils), - ], -) -def test_log_module_is_not_duplicated_on_import(distutils_version, venv): - env = dict(SETUPTOOLS_USE_DISTUTILS=distutils_version) - cmd = ['python', '-c', ENSURE_LOG_IMPORT_IS_NOT_DUPLICATED] - output = venv.run(cmd, env=win_sr(env), **_TEXT_KWARGS).strip() - assert output == "success" - - -ENSURE_CONSISTENT_ERROR_FROM_MODIFIED_PY = r""" -from setuptools.modified import newer -from {imported_module}.errors import DistutilsError - -# Can't use pytest.raises in this context -try: - newer("", "") -except DistutilsError: - print("success") -else: - raise AssertionError("Expected to raise") -""" - - -@pytest.mark.usefixtures("tmpdir_cwd") -@pytest.mark.parametrize( - ('distutils_version', 'imported_module'), - [ - ("local", "distutils"), - # Unfortunately we still get ._distutils.errors.DistutilsError with SETUPTOOLS_USE_DISTUTILS=stdlib - # But that's a deprecated use-case we don't mind not fully supporting in newer code - pytest.param( - "stdlib", "setuptools._distutils", marks=skip_without_stdlib_distutils - ), - ], -) -def test_consistent_error_from_modified_py(distutils_version, imported_module, venv): - env = dict(SETUPTOOLS_USE_DISTUTILS=distutils_version) - cmd = [ - 'python', - '-c', - ENSURE_CONSISTENT_ERROR_FROM_MODIFIED_PY.format( - imported_module=imported_module - ), - ] - output = venv.run(cmd, env=win_sr(env), **_TEXT_KWARGS).strip() - assert output == "success" diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_easy_install.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_easy_install.py deleted file mode 100644 index 586324be..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_easy_install.py +++ /dev/null @@ -1,1474 +0,0 @@ -"""Easy install Tests""" - -import contextlib -import io -import itertools -import logging -import os -import pathlib -import re -import site -import subprocess -import sys -import tarfile -import tempfile -import time -import warnings -import zipfile -from pathlib import Path -from typing import NamedTuple -from unittest import mock - -import pytest -from jaraco import path - -import pkg_resources -import setuptools.command.easy_install as ei -from pkg_resources import Distribution as PRDistribution, normalize_path, working_set -from setuptools import sandbox -from setuptools.command.easy_install import PthDistributions -from setuptools.dist import Distribution -from setuptools.sandbox import run_setup -from setuptools.tests import fail_on_ascii -from setuptools.tests.server import MockServer, path_to_url - -from . import contexts -from .textwrap import DALS - -import distutils.errors - - -@pytest.fixture(autouse=True) -def pip_disable_index(monkeypatch): - """ - Important: Disable the default index for pip to avoid - querying packages in the index and potentially resolving - and installing packages there. - """ - monkeypatch.setenv('PIP_NO_INDEX', 'true') - - -class FakeDist: - def get_entry_map(self, group): - if group != 'console_scripts': - return {} - return {'name': 'ep'} - - def as_requirement(self): - return 'spec' - - -SETUP_PY = DALS( - """ - from setuptools import setup - - setup() - """ -) - - -class TestEasyInstallTest: - def test_get_script_args(self): - header = ei.CommandSpec.best().from_environment().as_header() - dist = FakeDist() - args = next(ei.ScriptWriter.get_args(dist)) - _name, script = itertools.islice(args, 2) - assert script.startswith(header) - assert "'spec'" in script - assert "'console_scripts'" in script - assert "'name'" in script - assert re.search('^# EASY-INSTALL-ENTRY-SCRIPT', script, flags=re.MULTILINE) - - def test_no_find_links(self): - # new option '--no-find-links', that blocks find-links added at - # the project level - dist = Distribution() - cmd = ei.easy_install(dist) - cmd.check_pth_processing = lambda: True - cmd.no_find_links = True - cmd.find_links = ['link1', 'link2'] - cmd.install_dir = os.path.join(tempfile.mkdtemp(), 'ok') - cmd.args = ['ok'] - cmd.ensure_finalized() - assert cmd.package_index.scanned_urls == {} - - # let's try without it (default behavior) - cmd = ei.easy_install(dist) - cmd.check_pth_processing = lambda: True - cmd.find_links = ['link1', 'link2'] - cmd.install_dir = os.path.join(tempfile.mkdtemp(), 'ok') - cmd.args = ['ok'] - cmd.ensure_finalized() - keys = sorted(cmd.package_index.scanned_urls.keys()) - assert keys == ['link1', 'link2'] - - def test_write_exception(self): - """ - Test that `cant_write_to_target` is rendered as a DistutilsError. - """ - dist = Distribution() - cmd = ei.easy_install(dist) - cmd.install_dir = os.getcwd() - with pytest.raises(distutils.errors.DistutilsError): - cmd.cant_write_to_target() - - def test_all_site_dirs(self, monkeypatch): - """ - get_site_dirs should always return site dirs reported by - site.getsitepackages. - """ - path = normalize_path('/setuptools/test/site-packages') - - def mock_gsp(): - return [path] - - monkeypatch.setattr(site, 'getsitepackages', mock_gsp, raising=False) - assert path in ei.get_site_dirs() - - def test_all_site_dirs_works_without_getsitepackages(self, monkeypatch): - monkeypatch.delattr(site, 'getsitepackages', raising=False) - assert ei.get_site_dirs() - - @pytest.fixture - def sdist_unicode(self, tmpdir): - files = [ - ( - 'setup.py', - DALS( - """ - import setuptools - setuptools.setup( - name="setuptools-test-unicode", - version="1.0", - packages=["mypkg"], - include_package_data=True, - ) - """ - ), - ), - ( - 'mypkg/__init__.py', - "", - ), - ( - 'mypkg/☃.txt', - "", - ), - ] - sdist_name = 'setuptools-test-unicode-1.0.zip' - sdist = tmpdir / sdist_name - # can't use make_sdist, because the issue only occurs - # with zip sdists. - sdist_zip = zipfile.ZipFile(str(sdist), 'w') - for filename, content in files: - sdist_zip.writestr(filename, content) - sdist_zip.close() - return str(sdist) - - @fail_on_ascii - def test_unicode_filename_in_sdist(self, sdist_unicode, tmpdir, monkeypatch): - """ - The install command should execute correctly even if - the package has unicode filenames. - """ - dist = Distribution({'script_args': ['easy_install']}) - target = (tmpdir / 'target').ensure_dir() - cmd = ei.easy_install( - dist, - install_dir=str(target), - args=['x'], - ) - monkeypatch.setitem(os.environ, 'PYTHONPATH', str(target)) - cmd.ensure_finalized() - cmd.easy_install(sdist_unicode) - - @pytest.fixture - def sdist_unicode_in_script(self, tmpdir): - files = [ - ( - "setup.py", - DALS( - """ - import setuptools - setuptools.setup( - name="setuptools-test-unicode", - version="1.0", - packages=["mypkg"], - include_package_data=True, - scripts=['mypkg/unicode_in_script'], - ) - """ - ), - ), - ("mypkg/__init__.py", ""), - ( - "mypkg/unicode_in_script", - DALS( - """ - #!/bin/sh - # á - - non_python_fn() { - } - """ - ), - ), - ] - sdist_name = "setuptools-test-unicode-script-1.0.zip" - sdist = tmpdir / sdist_name - # can't use make_sdist, because the issue only occurs - # with zip sdists. - sdist_zip = zipfile.ZipFile(str(sdist), "w") - for filename, content in files: - sdist_zip.writestr(filename, content.encode('utf-8')) - sdist_zip.close() - return str(sdist) - - @fail_on_ascii - def test_unicode_content_in_sdist( - self, sdist_unicode_in_script, tmpdir, monkeypatch - ): - """ - The install command should execute correctly even if - the package has unicode in scripts. - """ - dist = Distribution({"script_args": ["easy_install"]}) - target = (tmpdir / "target").ensure_dir() - cmd = ei.easy_install(dist, install_dir=str(target), args=["x"]) - monkeypatch.setitem(os.environ, "PYTHONPATH", str(target)) - cmd.ensure_finalized() - cmd.easy_install(sdist_unicode_in_script) - - @pytest.fixture - def sdist_script(self, tmpdir): - files = [ - ( - 'setup.py', - DALS( - """ - import setuptools - setuptools.setup( - name="setuptools-test-script", - version="1.0", - scripts=["mypkg_script"], - ) - """ - ), - ), - ( - 'mypkg_script', - DALS( - """ - #/usr/bin/python - print('mypkg_script') - """ - ), - ), - ] - sdist_name = 'setuptools-test-script-1.0.zip' - sdist = str(tmpdir / sdist_name) - make_sdist(sdist, files) - return sdist - - @pytest.mark.skipif( - not sys.platform.startswith('linux'), reason="Test can only be run on Linux" - ) - def test_script_install(self, sdist_script, tmpdir, monkeypatch): - """ - Check scripts are installed. - """ - dist = Distribution({'script_args': ['easy_install']}) - target = (tmpdir / 'target').ensure_dir() - cmd = ei.easy_install( - dist, - install_dir=str(target), - args=['x'], - ) - monkeypatch.setitem(os.environ, 'PYTHONPATH', str(target)) - cmd.ensure_finalized() - cmd.easy_install(sdist_script) - assert (target / 'mypkg_script').exists() - - -@pytest.mark.filterwarnings('ignore:Unbuilt egg') -class TestPTHFileWriter: - def test_add_from_cwd_site_sets_dirty(self): - """a pth file manager should set dirty - if a distribution is in site but also the cwd - """ - pth = PthDistributions('does-not_exist', [os.getcwd()]) - assert not pth.dirty - pth.add(PRDistribution(os.getcwd())) - assert pth.dirty - - def test_add_from_site_is_ignored(self): - location = '/test/location/does-not-have-to-exist' - # PthDistributions expects all locations to be normalized - location = pkg_resources.normalize_path(location) - pth = PthDistributions( - 'does-not_exist', - [ - location, - ], - ) - assert not pth.dirty - pth.add(PRDistribution(location)) - assert not pth.dirty - - def test_many_pth_distributions_merge_together(self, tmpdir): - """ - If the pth file is modified under the hood, then PthDistribution - will refresh its content before saving, merging contents when - necessary. - """ - # putting the pth file in a dedicated sub-folder, - pth_subdir = tmpdir.join("pth_subdir") - pth_subdir.mkdir() - pth_path = str(pth_subdir.join("file1.pth")) - pth1 = PthDistributions(pth_path) - pth2 = PthDistributions(pth_path) - assert pth1.paths == pth2.paths == [], ( - "unless there would be some default added at some point" - ) - # and so putting the src_subdir in folder distinct than the pth one, - # so to keep it absolute by PthDistributions - new_src_path = tmpdir.join("src_subdir") - new_src_path.mkdir() # must exist to be accounted - new_src_path_str = str(new_src_path) - pth1.paths.append(new_src_path_str) - pth1.save() - assert pth1.paths, ( - "the new_src_path added must still be present/valid in pth1 after save" - ) - # now, - assert new_src_path_str not in pth2.paths, ( - "right before we save the entry should still not be present" - ) - pth2.save() - assert new_src_path_str in pth2.paths, ( - "the new_src_path entry should have been added by pth2 with its save() call" - ) - assert pth2.paths[-1] == new_src_path, ( - "and it should match exactly on the last entry actually " - "given we append to it in save()" - ) - # finally, - assert PthDistributions(pth_path).paths == pth2.paths, ( - "and we should have the exact same list at the end " - "with a fresh PthDistributions instance" - ) - - -@pytest.fixture -def setup_context(tmpdir): - with (tmpdir / 'setup.py').open('w', encoding="utf-8") as f: - f.write(SETUP_PY) - with tmpdir.as_cwd(): - yield tmpdir - - -@pytest.mark.usefixtures("user_override") -@pytest.mark.usefixtures("setup_context") -class TestUserInstallTest: - # prevent check that site-packages is writable. easy_install - # shouldn't be writing to system site-packages during finalize - # options, but while it does, bypass the behavior. - prev_sp_write = mock.patch( - 'setuptools.command.easy_install.easy_install.check_site_dir', - mock.Mock(), - ) - - # simulate setuptools installed in user site packages - @mock.patch('setuptools.command.easy_install.__file__', site.USER_SITE) - @mock.patch('site.ENABLE_USER_SITE', True) - @prev_sp_write - def test_user_install_not_implied_user_site_enabled(self): - self.assert_not_user_site() - - @mock.patch('site.ENABLE_USER_SITE', False) - @prev_sp_write - def test_user_install_not_implied_user_site_disabled(self): - self.assert_not_user_site() - - @staticmethod - def assert_not_user_site(): - # create a finalized easy_install command - dist = Distribution() - dist.script_name = 'setup.py' - cmd = ei.easy_install(dist) - cmd.args = ['py'] - cmd.ensure_finalized() - assert not cmd.user, 'user should not be implied' - - def test_multiproc_atexit(self): - pytest.importorskip('multiprocessing') - - log = logging.getLogger('test_easy_install') - logging.basicConfig(level=logging.INFO, stream=sys.stderr) - log.info('this should not break') - - @pytest.fixture - def foo_package(self, tmpdir): - egg_file = tmpdir / 'foo-1.0.egg-info' - with egg_file.open('w') as f: - f.write('Name: foo\n') - return str(tmpdir) - - @pytest.fixture - def install_target(self, tmpdir): - target = str(tmpdir) - with mock.patch('sys.path', sys.path + [target]): - python_path = os.path.pathsep.join(sys.path) - with mock.patch.dict(os.environ, PYTHONPATH=python_path): - yield target - - def test_local_index(self, foo_package, install_target): - """ - The local index must be used when easy_install locates installed - packages. - """ - dist = Distribution() - dist.script_name = 'setup.py' - cmd = ei.easy_install(dist) - cmd.install_dir = install_target - cmd.args = ['foo'] - cmd.ensure_finalized() - cmd.local_index.scan([foo_package]) - res = cmd.easy_install('foo') - actual = os.path.normcase(os.path.realpath(res.location)) - expected = os.path.normcase(os.path.realpath(foo_package)) - assert actual == expected - - @contextlib.contextmanager - def user_install_setup_context(self, *args, **kwargs): - """ - Wrap sandbox.setup_context to patch easy_install in that context to - appear as user-installed. - """ - with self.orig_context(*args, **kwargs): - import setuptools.command.easy_install as ei - - ei.__file__ = site.USER_SITE - yield - - def patched_setup_context(self): - self.orig_context = sandbox.setup_context - - return mock.patch( - 'setuptools.sandbox.setup_context', - self.user_install_setup_context, - ) - - -@pytest.fixture -def distutils_package(): - distutils_setup_py = SETUP_PY.replace( - 'from setuptools import setup', - 'from distutils.core import setup', - ) - with contexts.tempdir(cd=os.chdir): - with open('setup.py', 'w', encoding="utf-8") as f: - f.write(distutils_setup_py) - yield - - -@pytest.mark.usefixtures("distutils_package") -class TestDistutilsPackage: - def test_bdist_egg_available_on_distutils_pkg(self): - run_setup('setup.py', ['bdist_egg']) - - -@pytest.fixture -def mock_index(): - # set up a server which will simulate an alternate package index. - p_index = MockServer() - if p_index.server_port == 0: - # Some platforms (Jython) don't find a port to which to bind, - # so skip test for them. - pytest.skip("could not find a valid port") - p_index.start() - return p_index - - -class TestInstallRequires: - def test_setup_install_includes_dependencies(self, tmp_path, mock_index): - """ - When ``python setup.py install`` is called directly, it will use easy_install - to fetch dependencies. - """ - # TODO: Remove these tests once `setup.py install` is completely removed - project_root = tmp_path / "project" - project_root.mkdir(exist_ok=True) - install_root = tmp_path / "install" - install_root.mkdir(exist_ok=True) - - self.create_project(project_root) - cmd = [ - sys.executable, - '-c', - '__import__("setuptools").setup()', - 'install', - '--install-base', - str(install_root), - '--install-lib', - str(install_root), - '--install-headers', - str(install_root), - '--install-scripts', - str(install_root), - '--install-data', - str(install_root), - '--install-purelib', - str(install_root), - '--install-platlib', - str(install_root), - ] - env = {**os.environ, "__EASYINSTALL_INDEX": mock_index.url} - cp = subprocess.run( - cmd, - cwd=str(project_root), - env=env, - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - text=True, - encoding="utf-8", - ) - assert cp.returncode != 0 - try: - assert '/does-not-exist/' in {r.path for r in mock_index.requests} - assert next( - line - for line in cp.stdout.splitlines() - if "not find suitable distribution for" in line - and "does-not-exist" in line - ) - except Exception: - if "failed to get random numbers" in cp.stdout: - pytest.xfail(f"{sys.platform} failure - {cp.stdout}") - raise - - def create_project(self, root): - config = """ - [metadata] - name = project - version = 42 - - [options] - install_requires = does-not-exist - py_modules = mod - """ - (root / 'setup.cfg').write_text(DALS(config), encoding="utf-8") - (root / 'mod.py').touch() - - -class TestSetupRequires: - def test_setup_requires_honors_fetch_params(self, mock_index, monkeypatch): - """ - When easy_install installs a source distribution which specifies - setup_requires, it should honor the fetch parameters (such as - index-url, and find-links). - """ - monkeypatch.setenv('PIP_RETRIES', '0') - monkeypatch.setenv('PIP_TIMEOUT', '0') - monkeypatch.setenv('PIP_NO_INDEX', 'false') - with contexts.quiet(): - # create an sdist that has a build-time dependency. - with TestSetupRequires.create_sdist() as dist_file: - with contexts.tempdir() as temp_install_dir: - with contexts.environment(PYTHONPATH=temp_install_dir): - cmd = [ - sys.executable, - '-c', - '__import__("setuptools").setup()', - 'easy_install', - '--index-url', - mock_index.url, - '--exclude-scripts', - '--install-dir', - temp_install_dir, - dist_file, - ] - subprocess.Popen(cmd).wait() - # there should have been one requests to the server - assert [r.path for r in mock_index.requests] == ['/does-not-exist/'] - - @staticmethod - @contextlib.contextmanager - def create_sdist(): - """ - Return an sdist with a setup_requires dependency (of something that - doesn't exist) - """ - with contexts.tempdir() as dir: - dist_path = os.path.join(dir, 'setuptools-test-fetcher-1.0.tar.gz') - make_sdist( - dist_path, - [ - ( - 'setup.py', - DALS( - """ - import setuptools - setuptools.setup( - name="setuptools-test-fetcher", - version="1.0", - setup_requires = ['does-not-exist'], - ) - """ - ), - ), - ('setup.cfg', ''), - ], - ) - yield dist_path - - use_setup_cfg = ( - (), - ('dependency_links',), - ('setup_requires',), - ('dependency_links', 'setup_requires'), - ) - - @pytest.mark.parametrize('use_setup_cfg', use_setup_cfg) - def test_setup_requires_overrides_version_conflict(self, use_setup_cfg): - """ - Regression test for distribution issue 323: - https://bitbucket.org/tarek/distribute/issues/323 - - Ensures that a distribution's setup_requires requirements can still be - installed and used locally even if a conflicting version of that - requirement is already on the path. - """ - - fake_dist = PRDistribution( - 'does-not-matter', project_name='foobar', version='0.0' - ) - working_set.add(fake_dist) - - with contexts.save_pkg_resources_state(): - with contexts.tempdir() as temp_dir: - test_pkg = create_setup_requires_package( - temp_dir, use_setup_cfg=use_setup_cfg - ) - test_setup_py = os.path.join(test_pkg, 'setup.py') - with contexts.quiet() as (stdout, _stderr): - # Don't even need to install the package, just - # running the setup.py at all is sufficient - run_setup(test_setup_py, ['--name']) - - lines = stdout.readlines() - assert len(lines) > 0 - assert lines[-1].strip() == 'test_pkg' - - @pytest.mark.parametrize('use_setup_cfg', use_setup_cfg) - def test_setup_requires_override_nspkg(self, use_setup_cfg): - """ - Like ``test_setup_requires_overrides_version_conflict`` but where the - ``setup_requires`` package is part of a namespace package that has - *already* been imported. - """ - - with contexts.save_pkg_resources_state(): - with contexts.tempdir() as temp_dir: - foobar_1_archive = os.path.join(temp_dir, 'foo.bar-0.1.tar.gz') - make_nspkg_sdist(foobar_1_archive, 'foo.bar', '0.1') - # Now actually go ahead an extract to the temp dir and add the - # extracted path to sys.path so foo.bar v0.1 is importable - foobar_1_dir = os.path.join(temp_dir, 'foo.bar-0.1') - os.mkdir(foobar_1_dir) - with tarfile.open(foobar_1_archive) as tf: - tf.extraction_filter = lambda member, path: member - tf.extractall(foobar_1_dir) - sys.path.insert(1, foobar_1_dir) - - dist = PRDistribution( - foobar_1_dir, project_name='foo.bar', version='0.1' - ) - working_set.add(dist) - - template = DALS( - """\ - import foo # Even with foo imported first the - # setup_requires package should override - import setuptools - setuptools.setup(**%r) - - if not (hasattr(foo, '__path__') and - len(foo.__path__) == 2): - print('FAIL') - - if 'foo.bar-0.2' not in foo.__path__[0]: - print('FAIL') - """ - ) - - test_pkg = create_setup_requires_package( - temp_dir, - 'foo.bar', - '0.2', - make_nspkg_sdist, - template, - use_setup_cfg=use_setup_cfg, - ) - - test_setup_py = os.path.join(test_pkg, 'setup.py') - - with contexts.quiet() as (stdout, _stderr): - try: - # Don't even need to install the package, just - # running the setup.py at all is sufficient - run_setup(test_setup_py, ['--name']) - except pkg_resources.VersionConflict: - self.fail( - 'Installing setup.py requirements caused a VersionConflict' - ) - - assert 'FAIL' not in stdout.getvalue() - lines = stdout.readlines() - assert len(lines) > 0 - assert lines[-1].strip() == 'test_pkg' - - @pytest.mark.parametrize('use_setup_cfg', use_setup_cfg) - def test_setup_requires_with_attr_version(self, use_setup_cfg): - def make_dependency_sdist(dist_path, distname, version): - files = [ - ( - 'setup.py', - DALS( - """ - import setuptools - setuptools.setup( - name={name!r}, - version={version!r}, - py_modules=[{name!r}], - ) - """.format(name=distname, version=version) - ), - ), - ( - distname + '.py', - DALS( - """ - version = 42 - """ - ), - ), - ] - make_sdist(dist_path, files) - - with contexts.save_pkg_resources_state(): - with contexts.tempdir() as temp_dir: - test_pkg = create_setup_requires_package( - temp_dir, - setup_attrs=dict(version='attr: foobar.version'), - make_package=make_dependency_sdist, - use_setup_cfg=use_setup_cfg + ('version',), - ) - test_setup_py = os.path.join(test_pkg, 'setup.py') - with contexts.quiet() as (stdout, _stderr): - run_setup(test_setup_py, ['--version']) - lines = stdout.readlines() - assert len(lines) > 0 - assert lines[-1].strip() == '42' - - def test_setup_requires_honors_pip_env(self, mock_index, monkeypatch): - monkeypatch.setenv('PIP_RETRIES', '0') - monkeypatch.setenv('PIP_TIMEOUT', '0') - monkeypatch.setenv('PIP_NO_INDEX', 'false') - monkeypatch.setenv('PIP_INDEX_URL', mock_index.url) - with contexts.save_pkg_resources_state(): - with contexts.tempdir() as temp_dir: - test_pkg = create_setup_requires_package( - temp_dir, - 'python-xlib', - '0.19', - setup_attrs=dict(dependency_links=[]), - ) - test_setup_cfg = os.path.join(test_pkg, 'setup.cfg') - with open(test_setup_cfg, 'w', encoding="utf-8") as fp: - fp.write( - DALS( - """ - [easy_install] - index_url = https://pypi.org/legacy/ - """ - ) - ) - test_setup_py = os.path.join(test_pkg, 'setup.py') - with pytest.raises(distutils.errors.DistutilsError): - run_setup(test_setup_py, ['--version']) - assert len(mock_index.requests) == 1 - assert mock_index.requests[0].path == '/python-xlib/' - - def test_setup_requires_with_pep508_url(self, mock_index, monkeypatch): - monkeypatch.setenv('PIP_RETRIES', '0') - monkeypatch.setenv('PIP_TIMEOUT', '0') - monkeypatch.setenv('PIP_INDEX_URL', mock_index.url) - with contexts.save_pkg_resources_state(): - with contexts.tempdir() as temp_dir: - dep_sdist = os.path.join(temp_dir, 'dep.tar.gz') - make_trivial_sdist(dep_sdist, 'dependency', '42') - dep_url = path_to_url(dep_sdist, authority='localhost') - test_pkg = create_setup_requires_package( - temp_dir, - # Ignored (overridden by setup_attrs) - 'python-xlib', - '0.19', - setup_attrs=dict(setup_requires='dependency @ %s' % dep_url), - ) - test_setup_py = os.path.join(test_pkg, 'setup.py') - run_setup(test_setup_py, ['--version']) - assert len(mock_index.requests) == 0 - - def test_setup_requires_with_allow_hosts(self, mock_index): - """The `allow-hosts` option in not supported anymore.""" - files = { - 'test_pkg': { - 'setup.py': DALS( - """ - from setuptools import setup - setup(setup_requires='python-xlib') - """ - ), - 'setup.cfg': DALS( - """ - [easy_install] - allow_hosts = * - """ - ), - } - } - with contexts.save_pkg_resources_state(): - with contexts.tempdir() as temp_dir: - path.build(files, prefix=temp_dir) - setup_py = str(pathlib.Path(temp_dir, 'test_pkg', 'setup.py')) - with pytest.raises(distutils.errors.DistutilsError): - run_setup(setup_py, ['--version']) - assert len(mock_index.requests) == 0 - - def test_setup_requires_with_python_requires(self, monkeypatch, tmpdir): - """Check `python_requires` is honored.""" - monkeypatch.setenv('PIP_RETRIES', '0') - monkeypatch.setenv('PIP_TIMEOUT', '0') - monkeypatch.setenv('PIP_NO_INDEX', '1') - monkeypatch.setenv('PIP_VERBOSE', '1') - dep_1_0_sdist = 'dep-1.0.tar.gz' - dep_1_0_url = path_to_url(str(tmpdir / dep_1_0_sdist)) - dep_1_0_python_requires = '>=2.7' - make_python_requires_sdist( - str(tmpdir / dep_1_0_sdist), 'dep', '1.0', dep_1_0_python_requires - ) - dep_2_0_sdist = 'dep-2.0.tar.gz' - dep_2_0_url = path_to_url(str(tmpdir / dep_2_0_sdist)) - dep_2_0_python_requires = ( - f'!={sys.version_info.major}.{sys.version_info.minor}.*' - ) - make_python_requires_sdist( - str(tmpdir / dep_2_0_sdist), 'dep', '2.0', dep_2_0_python_requires - ) - index = tmpdir / 'index.html' - index.write_text( - DALS( - """ - - Links for dep - -

Links for dep

- {dep_1_0_sdist}
- {dep_2_0_sdist}
- - - """ - ).format( - dep_1_0_url=dep_1_0_url, - dep_1_0_sdist=dep_1_0_sdist, - dep_1_0_python_requires=dep_1_0_python_requires, - dep_2_0_url=dep_2_0_url, - dep_2_0_sdist=dep_2_0_sdist, - dep_2_0_python_requires=dep_2_0_python_requires, - ), - 'utf-8', - ) - index_url = path_to_url(str(index)) - with contexts.save_pkg_resources_state(): - test_pkg = create_setup_requires_package( - str(tmpdir), - 'python-xlib', - '0.19', # Ignored (overridden by setup_attrs). - setup_attrs=dict(setup_requires='dep', dependency_links=[index_url]), - ) - test_setup_py = os.path.join(test_pkg, 'setup.py') - run_setup(test_setup_py, ['--version']) - eggs = list( - map(str, pkg_resources.find_distributions(os.path.join(test_pkg, '.eggs'))) - ) - assert eggs == ['dep 1.0'] - - @pytest.mark.parametrize('with_dependency_links_in_setup_py', (False, True)) - def test_setup_requires_with_find_links_in_setup_cfg( - self, monkeypatch, with_dependency_links_in_setup_py - ): - monkeypatch.setenv('PIP_RETRIES', '0') - monkeypatch.setenv('PIP_TIMEOUT', '0') - with contexts.save_pkg_resources_state(): - with contexts.tempdir() as temp_dir: - make_trivial_sdist( - os.path.join(temp_dir, 'python-xlib-42.tar.gz'), 'python-xlib', '42' - ) - test_pkg = os.path.join(temp_dir, 'test_pkg') - test_setup_py = os.path.join(test_pkg, 'setup.py') - test_setup_cfg = os.path.join(test_pkg, 'setup.cfg') - os.mkdir(test_pkg) - with open(test_setup_py, 'w', encoding="utf-8") as fp: - if with_dependency_links_in_setup_py: - dependency_links = [os.path.join(temp_dir, 'links')] - else: - dependency_links = [] - fp.write( - DALS( - """ - from setuptools import installer, setup - setup(setup_requires='python-xlib==42', - dependency_links={dependency_links!r}) - """ - ).format(dependency_links=dependency_links) - ) - with open(test_setup_cfg, 'w', encoding="utf-8") as fp: - fp.write( - DALS( - """ - [easy_install] - index_url = {index_url} - find_links = {find_links} - """ - ).format( - index_url=os.path.join(temp_dir, 'index'), - find_links=temp_dir, - ) - ) - run_setup(test_setup_py, ['--version']) - - def test_setup_requires_with_transitive_extra_dependency(self, monkeypatch): - """ - Use case: installing a package with a build dependency on - an already installed `dep[extra]`, which in turn depends - on `extra_dep` (whose is not already installed). - """ - with contexts.save_pkg_resources_state(): - with contexts.tempdir() as temp_dir: - # Create source distribution for `extra_dep`. - make_trivial_sdist( - os.path.join(temp_dir, 'extra_dep-1.0.tar.gz'), 'extra_dep', '1.0' - ) - # Create source tree for `dep`. - dep_pkg = os.path.join(temp_dir, 'dep') - os.mkdir(dep_pkg) - path.build( - { - 'setup.py': DALS( - """ - import setuptools - setuptools.setup( - name='dep', version='2.0', - extras_require={'extra': ['extra_dep']}, - ) - """ - ), - 'setup.cfg': '', - }, - prefix=dep_pkg, - ) - # "Install" dep. - run_setup(os.path.join(dep_pkg, 'setup.py'), ['dist_info']) - working_set.add_entry(dep_pkg) - # Create source tree for test package. - test_pkg = os.path.join(temp_dir, 'test_pkg') - test_setup_py = os.path.join(test_pkg, 'setup.py') - os.mkdir(test_pkg) - with open(test_setup_py, 'w', encoding="utf-8") as fp: - fp.write( - DALS( - """ - from setuptools import installer, setup - setup(setup_requires='dep[extra]') - """ - ) - ) - # Check... - monkeypatch.setenv('PIP_FIND_LINKS', str(temp_dir)) - monkeypatch.setenv('PIP_NO_INDEX', '1') - monkeypatch.setenv('PIP_RETRIES', '0') - monkeypatch.setenv('PIP_TIMEOUT', '0') - run_setup(test_setup_py, ['--version']) - - def test_setup_requires_with_distutils_command_dep(self, monkeypatch): - """ - Use case: ensure build requirements' extras - are properly installed and activated. - """ - with contexts.save_pkg_resources_state(): - with contexts.tempdir() as temp_dir: - # Create source distribution for `extra_dep`. - make_sdist( - os.path.join(temp_dir, 'extra_dep-1.0.tar.gz'), - [ - ( - 'setup.py', - DALS( - """ - import setuptools - setuptools.setup( - name='extra_dep', - version='1.0', - py_modules=['extra_dep'], - ) - """ - ), - ), - ('setup.cfg', ''), - ('extra_dep.py', ''), - ], - ) - # Create source tree for `epdep`. - dep_pkg = os.path.join(temp_dir, 'epdep') - os.mkdir(dep_pkg) - path.build( - { - 'setup.py': DALS( - """ - import setuptools - setuptools.setup( - name='dep', version='2.0', - py_modules=['epcmd'], - extras_require={'extra': ['extra_dep']}, - entry_points=''' - [distutils.commands] - epcmd = epcmd:epcmd [extra] - ''', - ) - """ - ), - 'setup.cfg': '', - 'epcmd.py': DALS( - """ - from distutils.command.build_py import build_py - - import extra_dep - - class epcmd(build_py): - pass - """ - ), - }, - prefix=dep_pkg, - ) - # "Install" dep. - run_setup(os.path.join(dep_pkg, 'setup.py'), ['dist_info']) - working_set.add_entry(dep_pkg) - # Create source tree for test package. - test_pkg = os.path.join(temp_dir, 'test_pkg') - test_setup_py = os.path.join(test_pkg, 'setup.py') - os.mkdir(test_pkg) - with open(test_setup_py, 'w', encoding="utf-8") as fp: - fp.write( - DALS( - """ - from setuptools import installer, setup - setup(setup_requires='dep[extra]') - """ - ) - ) - # Check... - monkeypatch.setenv('PIP_FIND_LINKS', str(temp_dir)) - monkeypatch.setenv('PIP_NO_INDEX', '1') - monkeypatch.setenv('PIP_RETRIES', '0') - monkeypatch.setenv('PIP_TIMEOUT', '0') - run_setup(test_setup_py, ['epcmd']) - - -def make_trivial_sdist(dist_path, distname, version): - """ - Create a simple sdist tarball at dist_path, containing just a simple - setup.py. - """ - - make_sdist( - dist_path, - [ - ( - 'setup.py', - DALS( - """\ - import setuptools - setuptools.setup( - name=%r, - version=%r - ) - """ - % (distname, version) - ), - ), - ('setup.cfg', ''), - ], - ) - - -def make_nspkg_sdist(dist_path, distname, version): - """ - Make an sdist tarball with distname and version which also contains one - package with the same name as distname. The top-level package is - designated a namespace package). - """ - - parts = distname.split('.') - nspackage = parts[0] - - packages = ['.'.join(parts[:idx]) for idx in range(1, len(parts) + 1)] - - setup_py = DALS( - """\ - import setuptools - setuptools.setup( - name=%r, - version=%r, - packages=%r, - namespace_packages=[%r] - ) - """ - % (distname, version, packages, nspackage) - ) - - init = "__import__('pkg_resources').declare_namespace(__name__)" - - files = [('setup.py', setup_py), (os.path.join(nspackage, '__init__.py'), init)] - for package in packages[1:]: - filename = os.path.join(*(package.split('.') + ['__init__.py'])) - files.append((filename, '')) - - make_sdist(dist_path, files) - - -def make_python_requires_sdist(dist_path, distname, version, python_requires): - make_sdist( - dist_path, - [ - ( - 'setup.py', - DALS( - """\ - import setuptools - setuptools.setup( - name={name!r}, - version={version!r}, - python_requires={python_requires!r}, - ) - """ - ).format( - name=distname, version=version, python_requires=python_requires - ), - ), - ('setup.cfg', ''), - ], - ) - - -def make_sdist(dist_path, files): - """ - Create a simple sdist tarball at dist_path, containing the files - listed in ``files`` as ``(filename, content)`` tuples. - """ - - # Distributions with only one file don't play well with pip. - assert len(files) > 1 - with tarfile.open(dist_path, 'w:gz') as dist: - for filename, content in files: - file_bytes = io.BytesIO(content.encode('utf-8')) - file_info = tarfile.TarInfo(name=filename) - file_info.size = len(file_bytes.getvalue()) - file_info.mtime = int(time.time()) - dist.addfile(file_info, fileobj=file_bytes) - - -def create_setup_requires_package( - path, - distname='foobar', - version='0.1', - make_package=make_trivial_sdist, - setup_py_template=None, - setup_attrs=None, - use_setup_cfg=(), -): - """Creates a source tree under path for a trivial test package that has a - single requirement in setup_requires--a tarball for that requirement is - also created and added to the dependency_links argument. - - ``distname`` and ``version`` refer to the name/version of the package that - the test package requires via ``setup_requires``. The name of the test - package itself is just 'test_pkg'. - """ - - test_setup_attrs = { - 'name': 'test_pkg', - 'version': '0.0', - 'setup_requires': ['%s==%s' % (distname, version)], - 'dependency_links': [os.path.abspath(path)], - } - if setup_attrs: - test_setup_attrs.update(setup_attrs) - - test_pkg = os.path.join(path, 'test_pkg') - os.mkdir(test_pkg) - - # setup.cfg - if use_setup_cfg: - options = [] - metadata = [] - for name in use_setup_cfg: - value = test_setup_attrs.pop(name) - if name in 'name version'.split(): - section = metadata - else: - section = options - if isinstance(value, (tuple, list)): - value = ';'.join(value) - section.append('%s: %s' % (name, value)) - test_setup_cfg_contents = DALS( - """ - [metadata] - {metadata} - [options] - {options} - """ - ).format( - options='\n'.join(options), - metadata='\n'.join(metadata), - ) - else: - test_setup_cfg_contents = '' - with open(os.path.join(test_pkg, 'setup.cfg'), 'w', encoding="utf-8") as f: - f.write(test_setup_cfg_contents) - - # setup.py - if setup_py_template is None: - setup_py_template = DALS( - """\ - import setuptools - setuptools.setup(**%r) - """ - ) - with open(os.path.join(test_pkg, 'setup.py'), 'w', encoding="utf-8") as f: - f.write(setup_py_template % test_setup_attrs) - - foobar_path = os.path.join(path, '%s-%s.tar.gz' % (distname, version)) - make_package(foobar_path, distname, version) - - return test_pkg - - -@pytest.mark.skipif( - sys.platform.startswith('java') and ei.is_sh(sys.executable), - reason="Test cannot run under java when executable is sh", -) -class TestScriptHeader: - non_ascii_exe = '/Users/José/bin/python' - exe_with_spaces = r'C:\Program Files\Python36\python.exe' - - def test_get_script_header(self): - expected = '#!%s\n' % ei.nt_quote_arg(os.path.normpath(sys.executable)) - actual = ei.ScriptWriter.get_header('#!/usr/local/bin/python') - assert actual == expected - - def test_get_script_header_args(self): - expected = '#!%s -x\n' % ei.nt_quote_arg(os.path.normpath(sys.executable)) - actual = ei.ScriptWriter.get_header('#!/usr/bin/python -x') - assert actual == expected - - def test_get_script_header_non_ascii_exe(self): - actual = ei.ScriptWriter.get_header( - '#!/usr/bin/python', executable=self.non_ascii_exe - ) - expected = '#!%s -x\n' % self.non_ascii_exe - assert actual == expected - - def test_get_script_header_exe_with_spaces(self): - actual = ei.ScriptWriter.get_header( - '#!/usr/bin/python', executable='"' + self.exe_with_spaces + '"' - ) - expected = '#!"%s"\n' % self.exe_with_spaces - assert actual == expected - - -class TestCommandSpec: - def test_custom_launch_command(self): - """ - Show how a custom CommandSpec could be used to specify a #! executable - which takes parameters. - """ - cmd = ei.CommandSpec(['/usr/bin/env', 'python3']) - assert cmd.as_header() == '#!/usr/bin/env python3\n' - - def test_from_param_for_CommandSpec_is_passthrough(self): - """ - from_param should return an instance of a CommandSpec - """ - cmd = ei.CommandSpec(['python']) - cmd_new = ei.CommandSpec.from_param(cmd) - assert cmd is cmd_new - - @mock.patch('sys.executable', TestScriptHeader.exe_with_spaces) - @mock.patch.dict(os.environ) - def test_from_environment_with_spaces_in_executable(self): - os.environ.pop('__PYVENV_LAUNCHER__', None) - cmd = ei.CommandSpec.from_environment() - assert len(cmd) == 1 - assert cmd.as_header().startswith('#!"') - - def test_from_simple_string_uses_shlex(self): - """ - In order to support `executable = /usr/bin/env my-python`, make sure - from_param invokes shlex on that input. - """ - cmd = ei.CommandSpec.from_param('/usr/bin/env my-python') - assert len(cmd) == 2 - assert '"' not in cmd.as_header() - - def test_from_param_raises_expected_error(self) -> None: - """ - from_param should raise its own TypeError when the argument's type is unsupported - """ - with pytest.raises(TypeError) as exc_info: - ei.CommandSpec.from_param(object()) # type: ignore[arg-type] # We want a type error here - assert ( - str(exc_info.value) == "Argument has an unsupported type " - ), exc_info.value - - -class TestWindowsScriptWriter: - def test_header(self): - hdr = ei.WindowsScriptWriter.get_header('') - assert hdr.startswith('#!') - assert hdr.endswith('\n') - hdr = hdr.lstrip('#!') - hdr = hdr.rstrip('\n') - # header should not start with an escaped quote - assert not hdr.startswith('\\"') - - -class VersionStub(NamedTuple): - major: int - minor: int - micro: int - releaselevel: str - serial: int - - -def test_use_correct_python_version_string(tmpdir, tmpdir_cwd, monkeypatch): - # In issue #3001, easy_install wrongly uses the `python3.1` directory - # when the interpreter is `python3.10` and the `--user` option is given. - # See pypa/setuptools#3001. - dist = Distribution() - cmd = dist.get_command_obj('easy_install') - cmd.args = ['ok'] - cmd.optimize = 0 - cmd.user = True - cmd.install_userbase = str(tmpdir) - cmd.install_usersite = None - install_cmd = dist.get_command_obj('install') - install_cmd.install_userbase = str(tmpdir) - install_cmd.install_usersite = None - - with monkeypatch.context() as patch, warnings.catch_warnings(): - warnings.simplefilter("ignore") - version = '3.10.1 (main, Dec 21 2021, 09:17:12) [GCC 10.2.1 20210110]' - info = VersionStub(3, 10, 1, "final", 0) - patch.setattr('site.ENABLE_USER_SITE', True) - patch.setattr('sys.version', version) - patch.setattr('sys.version_info', info) - patch.setattr(cmd, 'create_home_path', mock.Mock()) - cmd.finalize_options() - - name = "pypy" if hasattr(sys, 'pypy_version_info') else "python" - install_dir = cmd.install_dir.lower() - - # In some platforms (e.g. Windows), install_dir is mostly determined - # via `sysconfig`, which define constants eagerly at module creation. - # This means that monkeypatching `sys.version` to emulate 3.10 for testing - # may have no effect. - # The safest test here is to rely on the fact that 3.1 is no longer - # supported/tested, and make sure that if 'python3.1' ever appears in the string - # it is followed by another digit (e.g. 'python3.10'). - if re.search(name + r'3\.?1', install_dir): - assert re.search(name + r'3\.?1\d', install_dir) - - # The following "variables" are used for interpolation in distutils - # installation schemes, so it should be fair to treat them as "semi-public", - # or at least public enough so we can have a test to make sure they are correct - assert cmd.config_vars['py_version'] == '3.10.1' - assert cmd.config_vars['py_version_short'] == '3.10' - assert cmd.config_vars['py_version_nodot'] == '310' - - -@pytest.mark.xfail( - sys.platform == "darwin", - reason="https://github.com/pypa/setuptools/pull/4716#issuecomment-2447624418", -) -def test_editable_user_and_build_isolation(setup_context, monkeypatch, tmp_path): - """`setup.py develop` should honor `--user` even under build isolation""" - - # == Arrange == - # Pretend that build isolation was enabled - # e.g pip sets the environment variable PYTHONNOUSERSITE=1 - monkeypatch.setattr('site.ENABLE_USER_SITE', False) - - # Patching $HOME for 2 reasons: - # 1. setuptools/command/easy_install.py:create_home_path - # tries creating directories in $HOME. - # Given:: - # self.config_vars['DESTDIRS'] = ( - # "/home/user/.pyenv/versions/3.9.10 " - # "/home/user/.pyenv/versions/3.9.10/lib " - # "/home/user/.pyenv/versions/3.9.10/lib/python3.9 " - # "/home/user/.pyenv/versions/3.9.10/lib/python3.9/lib-dynload") - # `create_home_path` will:: - # makedirs( - # "/home/user/.pyenv/versions/3.9.10 " - # "/home/user/.pyenv/versions/3.9.10/lib " - # "/home/user/.pyenv/versions/3.9.10/lib/python3.9 " - # "/home/user/.pyenv/versions/3.9.10/lib/python3.9/lib-dynload") - # - # 2. We are going to force `site` to update site.USER_BASE and site.USER_SITE - # To point inside our new home - monkeypatch.setenv('HOME', str(tmp_path / '.home')) - monkeypatch.setenv('USERPROFILE', str(tmp_path / '.home')) - monkeypatch.setenv('APPDATA', str(tmp_path / '.home')) - monkeypatch.setattr('site.USER_BASE', None) - monkeypatch.setattr('site.USER_SITE', None) - user_site = Path(site.getusersitepackages()) - user_site.mkdir(parents=True, exist_ok=True) - - sys_prefix = tmp_path / '.sys_prefix' - sys_prefix.mkdir(parents=True, exist_ok=True) - monkeypatch.setattr('sys.prefix', str(sys_prefix)) - - setup_script = ( - "__import__('setuptools').setup(name='aproj', version=42, packages=[])\n" - ) - (tmp_path / "setup.py").write_text(setup_script, encoding="utf-8") - - # == Sanity check == - assert list(sys_prefix.glob("*")) == [] - assert list(user_site.glob("*")) == [] - - # == Act == - run_setup('setup.py', ['develop', '--user']) - - # == Assert == - # Should not install to sys.prefix - assert list(sys_prefix.glob("*")) == [] - # Should install to user site - installed = {f.name for f in user_site.glob("*")} - # sometimes easy-install.pth is created and sometimes not - installed = installed - {"easy-install.pth"} - assert installed == {'aproj.egg-link'} diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_editable_install.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_editable_install.py deleted file mode 100644 index 038dcadf..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_editable_install.py +++ /dev/null @@ -1,1289 +0,0 @@ -from __future__ import annotations - -import os -import platform -import stat -import subprocess -import sys -from copy import deepcopy -from importlib import import_module -from importlib.machinery import EXTENSION_SUFFIXES -from pathlib import Path -from textwrap import dedent -from typing import Any -from unittest.mock import Mock -from uuid import uuid4 - -import jaraco.envs -import jaraco.path -import pytest -from path import Path as _Path - -from setuptools._importlib import resources as importlib_resources -from setuptools.command.editable_wheel import ( - _DebuggingTips, - _encode_pth, - _find_namespaces, - _find_package_roots, - _find_virtual_namespaces, - _finder_template, - _LinkTree, - _TopLevelFinder, - editable_wheel, -) -from setuptools.dist import Distribution -from setuptools.extension import Extension -from setuptools.warnings import SetuptoolsDeprecationWarning - -from . import contexts, namespaces - -from distutils.core import run_setup - - -@pytest.fixture(params=["strict", "lenient"]) -def editable_opts(request): - if request.param == "strict": - return ["--config-settings", "editable-mode=strict"] - return [] - - -EXAMPLE = { - 'pyproject.toml': dedent( - """\ - [build-system] - requires = ["setuptools"] - build-backend = "setuptools.build_meta" - - [project] - name = "mypkg" - version = "3.14159" - license = {text = "MIT"} - description = "This is a Python package" - dynamic = ["readme"] - classifiers = [ - "Development Status :: 5 - Production/Stable", - "Intended Audience :: Developers" - ] - urls = {Homepage = "https://github.com"} - - [tool.setuptools] - package-dir = {"" = "src"} - packages = {find = {where = ["src"]}} - license-files = ["LICENSE*"] - - [tool.setuptools.dynamic] - readme = {file = "README.rst"} - - [tool.distutils.egg_info] - tag-build = ".post0" - """ - ), - "MANIFEST.in": dedent( - """\ - global-include *.py *.txt - global-exclude *.py[cod] - prune dist - prune build - """ - ).strip(), - "README.rst": "This is a ``README``", - "LICENSE.txt": "---- placeholder MIT license ----", - "src": { - "mypkg": { - "__init__.py": dedent( - """\ - import sys - from importlib.metadata import PackageNotFoundError, version - - try: - __version__ = version(__name__) - except PackageNotFoundError: - __version__ = "unknown" - """ - ), - "__main__.py": dedent( - """\ - from importlib.resources import read_text - from . import __version__, __name__ as parent - from .mod import x - - data = read_text(parent, "data.txt") - print(__version__, data, x) - """ - ), - "mod.py": "x = ''", - "data.txt": "Hello World", - } - }, -} - - -SETUP_SCRIPT_STUB = "__import__('setuptools').setup()" - - -@pytest.mark.xfail(sys.platform == "darwin", reason="pypa/setuptools#4328") -@pytest.mark.parametrize( - "files", - [ - {**EXAMPLE, "setup.py": SETUP_SCRIPT_STUB}, - EXAMPLE, # No setup.py script - ], -) -def test_editable_with_pyproject(tmp_path, venv, files, editable_opts): - project = tmp_path / "mypkg" - project.mkdir() - jaraco.path.build(files, prefix=project) - - cmd = [ - "python", - "-m", - "pip", - "install", - "--no-build-isolation", # required to force current version of setuptools - "-e", - str(project), - *editable_opts, - ] - print(venv.run(cmd)) - - cmd = ["python", "-m", "mypkg"] - assert venv.run(cmd).strip() == "3.14159.post0 Hello World" - - (project / "src/mypkg/data.txt").write_text("foobar", encoding="utf-8") - (project / "src/mypkg/mod.py").write_text("x = 42", encoding="utf-8") - assert venv.run(cmd).strip() == "3.14159.post0 foobar 42" - - -def test_editable_with_flat_layout(tmp_path, venv, editable_opts): - files = { - "mypkg": { - "pyproject.toml": dedent( - """\ - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - - [project] - name = "mypkg" - version = "3.14159" - - [tool.setuptools] - packages = ["pkg"] - py-modules = ["mod"] - """ - ), - "pkg": {"__init__.py": "a = 4"}, - "mod.py": "b = 2", - }, - } - jaraco.path.build(files, prefix=tmp_path) - project = tmp_path / "mypkg" - - cmd = [ - "python", - "-m", - "pip", - "install", - "--no-build-isolation", # required to force current version of setuptools - "-e", - str(project), - *editable_opts, - ] - print(venv.run(cmd)) - cmd = ["python", "-c", "import pkg, mod; print(pkg.a, mod.b)"] - assert venv.run(cmd).strip() == "4 2" - - -def test_editable_with_single_module(tmp_path, venv, editable_opts): - files = { - "mypkg": { - "pyproject.toml": dedent( - """\ - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - - [project] - name = "mod" - version = "3.14159" - - [tool.setuptools] - py-modules = ["mod"] - """ - ), - "mod.py": "b = 2", - }, - } - jaraco.path.build(files, prefix=tmp_path) - project = tmp_path / "mypkg" - - cmd = [ - "python", - "-m", - "pip", - "install", - "--no-build-isolation", # required to force current version of setuptools - "-e", - str(project), - *editable_opts, - ] - print(venv.run(cmd)) - cmd = ["python", "-c", "import mod; print(mod.b)"] - assert venv.run(cmd).strip() == "2" - - -class TestLegacyNamespaces: - # legacy => pkg_resources.declare_namespace(...) + setup(namespace_packages=...) - - def test_nspkg_file_is_unique(self, tmp_path, monkeypatch): - deprecation = pytest.warns( - SetuptoolsDeprecationWarning, match=".*namespace_packages parameter.*" - ) - installation_dir = tmp_path / ".installation_dir" - installation_dir.mkdir() - examples = ( - "myns.pkgA", - "myns.pkgB", - "myns.n.pkgA", - "myns.n.pkgB", - ) - - for name in examples: - pkg = namespaces.build_namespace_package(tmp_path, name, version="42") - with deprecation, monkeypatch.context() as ctx: - ctx.chdir(pkg) - dist = run_setup("setup.py", stop_after="config") - cmd = editable_wheel(dist) - cmd.finalize_options() - editable_name = cmd.get_finalized_command("dist_info").name - cmd._install_namespaces(installation_dir, editable_name) - - files = list(installation_dir.glob("*-nspkg.pth")) - assert len(files) == len(examples) - - @pytest.mark.parametrize( - "impl", - ( - "pkg_resources", - # "pkgutil", => does not work - ), - ) - @pytest.mark.parametrize("ns", ("myns.n",)) - def test_namespace_package_importable( - self, venv, tmp_path, ns, impl, editable_opts - ): - """ - Installing two packages sharing the same namespace, one installed - naturally using pip or `--single-version-externally-managed` - and the other installed in editable mode should leave the namespace - intact and both packages reachable by import. - (Ported from test_develop). - """ - build_system = """\ - [build-system] - requires = ["setuptools"] - build-backend = "setuptools.build_meta" - """ - pkg_A = namespaces.build_namespace_package(tmp_path, f"{ns}.pkgA", impl=impl) - pkg_B = namespaces.build_namespace_package(tmp_path, f"{ns}.pkgB", impl=impl) - (pkg_A / "pyproject.toml").write_text(build_system, encoding="utf-8") - (pkg_B / "pyproject.toml").write_text(build_system, encoding="utf-8") - # use pip to install to the target directory - opts = editable_opts[:] - opts.append("--no-build-isolation") # force current version of setuptools - venv.run(["python", "-m", "pip", "install", str(pkg_A), *opts]) - venv.run(["python", "-m", "pip", "install", "-e", str(pkg_B), *opts]) - venv.run(["python", "-c", f"import {ns}.pkgA; import {ns}.pkgB"]) - # additionally ensure that pkg_resources import works - venv.run(["python", "-c", "import pkg_resources"]) - - -class TestPep420Namespaces: - def test_namespace_package_importable(self, venv, tmp_path, editable_opts): - """ - Installing two packages sharing the same namespace, one installed - normally using pip and the other installed in editable mode - should allow importing both packages. - """ - pkg_A = namespaces.build_pep420_namespace_package(tmp_path, 'myns.n.pkgA') - pkg_B = namespaces.build_pep420_namespace_package(tmp_path, 'myns.n.pkgB') - # use pip to install to the target directory - opts = editable_opts[:] - opts.append("--no-build-isolation") # force current version of setuptools - venv.run(["python", "-m", "pip", "install", str(pkg_A), *opts]) - venv.run(["python", "-m", "pip", "install", "-e", str(pkg_B), *opts]) - venv.run(["python", "-c", "import myns.n.pkgA; import myns.n.pkgB"]) - - def test_namespace_created_via_package_dir(self, venv, tmp_path, editable_opts): - """Currently users can create a namespace by tweaking `package_dir`""" - files = { - "pkgA": { - "pyproject.toml": dedent( - """\ - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - - [project] - name = "pkgA" - version = "3.14159" - - [tool.setuptools] - package-dir = {"myns.n.pkgA" = "src"} - """ - ), - "src": {"__init__.py": "a = 1"}, - }, - } - jaraco.path.build(files, prefix=tmp_path) - pkg_A = tmp_path / "pkgA" - pkg_B = namespaces.build_pep420_namespace_package(tmp_path, 'myns.n.pkgB') - pkg_C = namespaces.build_pep420_namespace_package(tmp_path, 'myns.n.pkgC') - - # use pip to install to the target directory - opts = editable_opts[:] - opts.append("--no-build-isolation") # force current version of setuptools - venv.run(["python", "-m", "pip", "install", str(pkg_A), *opts]) - venv.run(["python", "-m", "pip", "install", "-e", str(pkg_B), *opts]) - venv.run(["python", "-m", "pip", "install", "-e", str(pkg_C), *opts]) - venv.run(["python", "-c", "from myns.n import pkgA, pkgB, pkgC"]) - - def test_namespace_accidental_config_in_lenient_mode(self, venv, tmp_path): - """Sometimes users might specify an ``include`` pattern that ignores parent - packages. In a normal installation this would ignore all modules inside the - parent packages, and make them namespaces (reported in issue #3504), - so the editable mode should preserve this behaviour. - """ - files = { - "pkgA": { - "pyproject.toml": dedent( - """\ - [build-system] - requires = ["setuptools", "wheel"] - build-backend = "setuptools.build_meta" - - [project] - name = "pkgA" - version = "3.14159" - - [tool.setuptools] - packages.find.include = ["mypkg.*"] - """ - ), - "mypkg": { - "__init__.py": "", - "other.py": "b = 1", - "n": { - "__init__.py": "", - "pkgA.py": "a = 1", - }, - }, - "MANIFEST.in": EXAMPLE["MANIFEST.in"], - }, - } - jaraco.path.build(files, prefix=tmp_path) - pkg_A = tmp_path / "pkgA" - - # use pip to install to the target directory - opts = ["--no-build-isolation"] # force current version of setuptools - venv.run(["python", "-m", "pip", "-v", "install", "-e", str(pkg_A), *opts]) - out = venv.run(["python", "-c", "from mypkg.n import pkgA; print(pkgA.a)"]) - assert out.strip() == "1" - cmd = """\ - try: - import mypkg.other - except ImportError: - print("mypkg.other not defined") - """ - out = venv.run(["python", "-c", dedent(cmd)]) - assert "mypkg.other not defined" in out - - -def test_editable_with_prefix(tmp_path, sample_project, editable_opts): - """ - Editable install to a prefix should be discoverable. - """ - prefix = tmp_path / 'prefix' - - # figure out where pip will likely install the package - site_packages_all = [ - prefix / Path(path).relative_to(sys.prefix) - for path in sys.path - if 'site-packages' in path and path.startswith(sys.prefix) - ] - - for sp in site_packages_all: - sp.mkdir(parents=True) - - # install workaround - _addsitedirs(site_packages_all) - - env = dict(os.environ, PYTHONPATH=os.pathsep.join(map(str, site_packages_all))) - cmd = [ - sys.executable, - '-m', - 'pip', - 'install', - '--editable', - str(sample_project), - '--prefix', - str(prefix), - '--no-build-isolation', - *editable_opts, - ] - subprocess.check_call(cmd, env=env) - - # now run 'sample' with the prefix on the PYTHONPATH - bin = 'Scripts' if platform.system() == 'Windows' else 'bin' - exe = prefix / bin / 'sample' - subprocess.check_call([exe], env=env) - - -class TestFinderTemplate: - """This test focus in getting a particular implementation detail right. - If at some point in time the implementation is changed for something different, - this test can be modified or even excluded. - """ - - def install_finder(self, finder): - loc = {} - exec(finder, loc, loc) - loc["install"]() - - def test_packages(self, tmp_path): - files = { - "src1": { - "pkg1": { - "__init__.py": "", - "subpkg": {"mod1.py": "a = 42"}, - }, - }, - "src2": {"mod2.py": "a = 43"}, - } - jaraco.path.build(files, prefix=tmp_path) - - mapping = { - "pkg1": str(tmp_path / "src1/pkg1"), - "mod2": str(tmp_path / "src2/mod2"), - } - template = _finder_template(str(uuid4()), mapping, {}) - - with contexts.save_paths(), contexts.save_sys_modules(): - for mod in ("pkg1", "pkg1.subpkg", "pkg1.subpkg.mod1", "mod2"): - sys.modules.pop(mod, None) - - self.install_finder(template) - mod1 = import_module("pkg1.subpkg.mod1") - mod2 = import_module("mod2") - subpkg = import_module("pkg1.subpkg") - - assert mod1.a == 42 - assert mod2.a == 43 - expected = str((tmp_path / "src1/pkg1/subpkg").resolve()) - assert_path(subpkg, expected) - - def test_namespace(self, tmp_path): - files = {"pkg": {"__init__.py": "a = 13", "text.txt": "abc"}} - jaraco.path.build(files, prefix=tmp_path) - - mapping = {"ns.othername": str(tmp_path / "pkg")} - namespaces = {"ns": []} - - template = _finder_template(str(uuid4()), mapping, namespaces) - with contexts.save_paths(), contexts.save_sys_modules(): - for mod in ("ns", "ns.othername"): - sys.modules.pop(mod, None) - - self.install_finder(template) - pkg = import_module("ns.othername") - text = importlib_resources.files(pkg) / "text.txt" - - expected = str((tmp_path / "pkg").resolve()) - assert_path(pkg, expected) - assert pkg.a == 13 - - # Make sure resources can also be found - assert text.read_text(encoding="utf-8") == "abc" - - def test_combine_namespaces(self, tmp_path): - files = { - "src1": {"ns": {"pkg1": {"__init__.py": "a = 13"}}}, - "src2": {"ns": {"mod2.py": "b = 37"}}, - } - jaraco.path.build(files, prefix=tmp_path) - - mapping = { - "ns.pkgA": str(tmp_path / "src1/ns/pkg1"), - "ns": str(tmp_path / "src2/ns"), - } - namespaces_ = {"ns": [str(tmp_path / "src1"), str(tmp_path / "src2")]} - template = _finder_template(str(uuid4()), mapping, namespaces_) - - with contexts.save_paths(), contexts.save_sys_modules(): - for mod in ("ns", "ns.pkgA", "ns.mod2"): - sys.modules.pop(mod, None) - - self.install_finder(template) - pkgA = import_module("ns.pkgA") - mod2 = import_module("ns.mod2") - - expected = str((tmp_path / "src1/ns/pkg1").resolve()) - assert_path(pkgA, expected) - assert pkgA.a == 13 - assert mod2.b == 37 - - def test_combine_namespaces_nested(self, tmp_path): - """ - Users may attempt to combine namespace packages in a nested way via - ``package_dir`` as shown in pypa/setuptools#4248. - """ - - files = { - "src": {"my_package": {"my_module.py": "a = 13"}}, - "src2": {"my_package2": {"my_module2.py": "b = 37"}}, - } - - stack = jaraco.path.DirectoryStack() - with stack.context(tmp_path): - jaraco.path.build(files) - attrs = { - "script_name": "%PEP 517%", - "package_dir": { - "different_name": "src/my_package", - "different_name.subpkg": "src2/my_package2", - }, - "packages": ["different_name", "different_name.subpkg"], - } - dist = Distribution(attrs) - finder = _TopLevelFinder(dist, str(uuid4())) - code = next(v for k, v in finder.get_implementation() if k.endswith(".py")) - - with contexts.save_paths(), contexts.save_sys_modules(): - for mod in attrs["packages"]: - sys.modules.pop(mod, None) - - self.install_finder(code) - mod1 = import_module("different_name.my_module") - mod2 = import_module("different_name.subpkg.my_module2") - - expected = str((tmp_path / "src/my_package/my_module.py").resolve()) - assert str(Path(mod1.__file__).resolve()) == expected - - expected = str((tmp_path / "src2/my_package2/my_module2.py").resolve()) - assert str(Path(mod2.__file__).resolve()) == expected - - assert mod1.a == 13 - assert mod2.b == 37 - - def test_dynamic_path_computation(self, tmp_path): - # Follows the example in PEP 420 - files = { - "project1": {"parent": {"child": {"one.py": "x = 1"}}}, - "project2": {"parent": {"child": {"two.py": "x = 2"}}}, - "project3": {"parent": {"child": {"three.py": "x = 3"}}}, - } - jaraco.path.build(files, prefix=tmp_path) - mapping = {} - namespaces_ = {"parent": [str(tmp_path / "project1/parent")]} - template = _finder_template(str(uuid4()), mapping, namespaces_) - - mods = (f"parent.child.{name}" for name in ("one", "two", "three")) - with contexts.save_paths(), contexts.save_sys_modules(): - for mod in ("parent", "parent.child", "parent.child", *mods): - sys.modules.pop(mod, None) - - self.install_finder(template) - - one = import_module("parent.child.one") - assert one.x == 1 - - with pytest.raises(ImportError): - import_module("parent.child.two") - - sys.path.append(str(tmp_path / "project2")) - two = import_module("parent.child.two") - assert two.x == 2 - - with pytest.raises(ImportError): - import_module("parent.child.three") - - sys.path.append(str(tmp_path / "project3")) - three = import_module("parent.child.three") - assert three.x == 3 - - def test_no_recursion(self, tmp_path): - # See issue #3550 - files = { - "pkg": { - "__init__.py": "from . import pkg", - }, - } - jaraco.path.build(files, prefix=tmp_path) - - mapping = { - "pkg": str(tmp_path / "pkg"), - } - template = _finder_template(str(uuid4()), mapping, {}) - - with contexts.save_paths(), contexts.save_sys_modules(): - sys.modules.pop("pkg", None) - - self.install_finder(template) - with pytest.raises(ImportError, match="pkg"): - import_module("pkg") - - def test_similar_name(self, tmp_path): - files = { - "foo": { - "__init__.py": "", - "bar": { - "__init__.py": "", - }, - }, - } - jaraco.path.build(files, prefix=tmp_path) - - mapping = { - "foo": str(tmp_path / "foo"), - } - template = _finder_template(str(uuid4()), mapping, {}) - - with contexts.save_paths(), contexts.save_sys_modules(): - sys.modules.pop("foo", None) - sys.modules.pop("foo.bar", None) - - self.install_finder(template) - with pytest.raises(ImportError, match="foobar"): - import_module("foobar") - - def test_case_sensitivity(self, tmp_path): - files = { - "foo": { - "__init__.py": "", - "lowercase.py": "x = 1", - "bar": { - "__init__.py": "", - "lowercase.py": "x = 2", - }, - }, - } - jaraco.path.build(files, prefix=tmp_path) - mapping = { - "foo": str(tmp_path / "foo"), - } - template = _finder_template(str(uuid4()), mapping, {}) - with contexts.save_paths(), contexts.save_sys_modules(): - sys.modules.pop("foo", None) - - self.install_finder(template) - with pytest.raises(ImportError, match="'FOO'"): - import_module("FOO") - - with pytest.raises(ImportError, match="'foo\\.LOWERCASE'"): - import_module("foo.LOWERCASE") - - with pytest.raises(ImportError, match="'foo\\.bar\\.Lowercase'"): - import_module("foo.bar.Lowercase") - - with pytest.raises(ImportError, match="'foo\\.BAR'"): - import_module("foo.BAR.lowercase") - - with pytest.raises(ImportError, match="'FOO'"): - import_module("FOO.bar.lowercase") - - mod = import_module("foo.lowercase") - assert mod.x == 1 - - mod = import_module("foo.bar.lowercase") - assert mod.x == 2 - - def test_namespace_case_sensitivity(self, tmp_path): - files = { - "pkg": { - "__init__.py": "a = 13", - "foo": { - "__init__.py": "b = 37", - "bar.py": "c = 42", - }, - }, - } - jaraco.path.build(files, prefix=tmp_path) - - mapping = {"ns.othername": str(tmp_path / "pkg")} - namespaces = {"ns": []} - - template = _finder_template(str(uuid4()), mapping, namespaces) - with contexts.save_paths(), contexts.save_sys_modules(): - for mod in ("ns", "ns.othername"): - sys.modules.pop(mod, None) - - self.install_finder(template) - pkg = import_module("ns.othername") - expected = str((tmp_path / "pkg").resolve()) - assert_path(pkg, expected) - assert pkg.a == 13 - - foo = import_module("ns.othername.foo") - assert foo.b == 37 - - bar = import_module("ns.othername.foo.bar") - assert bar.c == 42 - - with pytest.raises(ImportError, match="'NS'"): - import_module("NS.othername.foo") - - with pytest.raises(ImportError, match="'ns\\.othername\\.FOO\\'"): - import_module("ns.othername.FOO") - - with pytest.raises(ImportError, match="'ns\\.othername\\.foo\\.BAR\\'"): - import_module("ns.othername.foo.BAR") - - def test_intermediate_packages(self, tmp_path): - """ - The finder should not import ``fullname`` if the intermediate segments - don't exist (see pypa/setuptools#4019). - """ - files = { - "src": { - "mypkg": { - "__init__.py": "", - "config.py": "a = 13", - "helloworld.py": "b = 13", - "components": { - "config.py": "a = 37", - }, - }, - } - } - jaraco.path.build(files, prefix=tmp_path) - - mapping = {"mypkg": str(tmp_path / "src/mypkg")} - template = _finder_template(str(uuid4()), mapping, {}) - - with contexts.save_paths(), contexts.save_sys_modules(): - for mod in ( - "mypkg", - "mypkg.config", - "mypkg.helloworld", - "mypkg.components", - "mypkg.components.config", - "mypkg.components.helloworld", - ): - sys.modules.pop(mod, None) - - self.install_finder(template) - - config = import_module("mypkg.components.config") - assert config.a == 37 - - helloworld = import_module("mypkg.helloworld") - assert helloworld.b == 13 - - with pytest.raises(ImportError): - import_module("mypkg.components.helloworld") - - -def test_pkg_roots(tmp_path): - """This test focus in getting a particular implementation detail right. - If at some point in time the implementation is changed for something different, - this test can be modified or even excluded. - """ - files = { - "a": {"b": {"__init__.py": "ab = 1"}, "__init__.py": "a = 1"}, - "d": {"__init__.py": "d = 1", "e": {"__init__.py": "de = 1"}}, - "f": {"g": {"h": {"__init__.py": "fgh = 1"}}}, - "other": {"__init__.py": "abc = 1"}, - "another": {"__init__.py": "abcxyz = 1"}, - "yet_another": {"__init__.py": "mnopq = 1"}, - } - jaraco.path.build(files, prefix=tmp_path) - package_dir = { - "a.b.c": "other", - "a.b.c.x.y.z": "another", - "m.n.o.p.q": "yet_another", - } - packages = [ - "a", - "a.b", - "a.b.c", - "a.b.c.x.y", - "a.b.c.x.y.z", - "d", - "d.e", - "f", - "f.g", - "f.g.h", - "m.n.o.p.q", - ] - roots = _find_package_roots(packages, package_dir, tmp_path) - assert roots == { - "a": str(tmp_path / "a"), - "a.b.c": str(tmp_path / "other"), - "a.b.c.x.y.z": str(tmp_path / "another"), - "d": str(tmp_path / "d"), - "f": str(tmp_path / "f"), - "m.n.o.p.q": str(tmp_path / "yet_another"), - } - - ns = set(dict(_find_namespaces(packages, roots))) - assert ns == {"f", "f.g"} - - ns = set(_find_virtual_namespaces(roots)) - assert ns == {"a.b", "a.b.c.x", "a.b.c.x.y", "m", "m.n", "m.n.o", "m.n.o.p"} - - -class TestOverallBehaviour: - PYPROJECT = """\ - [build-system] - requires = ["setuptools"] - build-backend = "setuptools.build_meta" - - [project] - name = "mypkg" - version = "3.14159" - """ - - # Any: Would need a TypedDict. Keep it simple for tests - FLAT_LAYOUT: dict[str, Any] = { - "pyproject.toml": dedent(PYPROJECT), - "MANIFEST.in": EXAMPLE["MANIFEST.in"], - "otherfile.py": "", - "mypkg": { - "__init__.py": "", - "mod1.py": "var = 42", - "subpackage": { - "__init__.py": "", - "mod2.py": "var = 13", - "resource_file.txt": "resource 39", - }, - }, - } - - EXAMPLES = { - "flat-layout": FLAT_LAYOUT, - "src-layout": { - "pyproject.toml": dedent(PYPROJECT), - "MANIFEST.in": EXAMPLE["MANIFEST.in"], - "otherfile.py": "", - "src": {"mypkg": FLAT_LAYOUT["mypkg"]}, - }, - "custom-layout": { - "pyproject.toml": dedent(PYPROJECT) - + dedent( - """\ - [tool.setuptools] - packages = ["mypkg", "mypkg.subpackage"] - - [tool.setuptools.package-dir] - "mypkg.subpackage" = "other" - """ - ), - "MANIFEST.in": EXAMPLE["MANIFEST.in"], - "otherfile.py": "", - "mypkg": { - "__init__.py": "", - "mod1.py": FLAT_LAYOUT["mypkg"]["mod1.py"], - }, - "other": FLAT_LAYOUT["mypkg"]["subpackage"], - }, - "namespace": { - "pyproject.toml": dedent(PYPROJECT), - "MANIFEST.in": EXAMPLE["MANIFEST.in"], - "otherfile.py": "", - "src": { - "mypkg": { - "mod1.py": FLAT_LAYOUT["mypkg"]["mod1.py"], - "subpackage": FLAT_LAYOUT["mypkg"]["subpackage"], - }, - }, - }, - } - - @pytest.mark.xfail(sys.platform == "darwin", reason="pypa/setuptools#4328") - @pytest.mark.parametrize("layout", EXAMPLES.keys()) - def test_editable_install(self, tmp_path, venv, layout, editable_opts): - project, _ = install_project( - "mypkg", venv, tmp_path, self.EXAMPLES[layout], *editable_opts - ) - - # Ensure stray files are not importable - cmd_import_error = """\ - try: - import otherfile - except ImportError as ex: - print(ex) - """ - out = venv.run(["python", "-c", dedent(cmd_import_error)]) - assert "No module named 'otherfile'" in out - - # Ensure the modules are importable - cmd_get_vars = """\ - import mypkg, mypkg.mod1, mypkg.subpackage.mod2 - print(mypkg.mod1.var, mypkg.subpackage.mod2.var) - """ - out = venv.run(["python", "-c", dedent(cmd_get_vars)]) - assert "42 13" in out - - # Ensure resources are reachable - cmd_get_resource = """\ - import mypkg.subpackage - from setuptools._importlib import resources as importlib_resources - text = importlib_resources.files(mypkg.subpackage) / "resource_file.txt" - print(text.read_text(encoding="utf-8")) - """ - out = venv.run(["python", "-c", dedent(cmd_get_resource)]) - assert "resource 39" in out - - # Ensure files are editable - mod1 = next(project.glob("**/mod1.py")) - mod2 = next(project.glob("**/mod2.py")) - resource_file = next(project.glob("**/resource_file.txt")) - - mod1.write_text("var = 17", encoding="utf-8") - mod2.write_text("var = 781", encoding="utf-8") - resource_file.write_text("resource 374", encoding="utf-8") - - out = venv.run(["python", "-c", dedent(cmd_get_vars)]) - assert "42 13" not in out - assert "17 781" in out - - out = venv.run(["python", "-c", dedent(cmd_get_resource)]) - assert "resource 39" not in out - assert "resource 374" in out - - -class TestLinkTree: - FILES = deepcopy(TestOverallBehaviour.EXAMPLES["src-layout"]) - FILES["pyproject.toml"] += dedent( - """\ - [tool.setuptools] - # Temporary workaround: both `include-package-data` and `package-data` configs - # can be removed after #3260 is fixed. - include-package-data = false - package-data = {"*" = ["*.txt"]} - - [tool.setuptools.packages.find] - where = ["src"] - exclude = ["*.subpackage*"] - """ - ) - FILES["src"]["mypkg"]["resource.not_in_manifest"] = "abc" - - def test_generated_tree(self, tmp_path): - jaraco.path.build(self.FILES, prefix=tmp_path) - - with _Path(tmp_path): - name = "mypkg-3.14159" - dist = Distribution({"script_name": "%PEP 517%"}) - dist.parse_config_files() - - wheel = Mock() - aux = tmp_path / ".aux" - build = tmp_path / ".build" - aux.mkdir() - build.mkdir() - - build_py = dist.get_command_obj("build_py") - build_py.editable_mode = True - build_py.build_lib = str(build) - build_py.ensure_finalized() - outputs = build_py.get_outputs() - output_mapping = build_py.get_output_mapping() - - make_tree = _LinkTree(dist, name, aux, build) - make_tree(wheel, outputs, output_mapping) - - mod1 = next(aux.glob("**/mod1.py")) - expected = tmp_path / "src/mypkg/mod1.py" - assert_link_to(mod1, expected) - - assert next(aux.glob("**/subpackage"), None) is None - assert next(aux.glob("**/mod2.py"), None) is None - assert next(aux.glob("**/resource_file.txt"), None) is None - - assert next(aux.glob("**/resource.not_in_manifest"), None) is None - - def test_strict_install(self, tmp_path, venv): - opts = ["--config-settings", "editable-mode=strict"] - install_project("mypkg", venv, tmp_path, self.FILES, *opts) - - out = venv.run(["python", "-c", "import mypkg.mod1; print(mypkg.mod1.var)"]) - assert "42" in out - - # Ensure packages excluded from distribution are not importable - cmd_import_error = """\ - try: - from mypkg import subpackage - except ImportError as ex: - print(ex) - """ - out = venv.run(["python", "-c", dedent(cmd_import_error)]) - assert "cannot import name 'subpackage'" in out - - # Ensure resource files excluded from distribution are not reachable - cmd_get_resource = """\ - import mypkg - from setuptools._importlib import resources as importlib_resources - try: - text = importlib_resources.files(mypkg) / "resource.not_in_manifest" - print(text.read_text(encoding="utf-8")) - except FileNotFoundError as ex: - print(ex) - """ - out = venv.run(["python", "-c", dedent(cmd_get_resource)]) - assert "No such file or directory" in out - assert "resource.not_in_manifest" in out - - -@pytest.mark.filterwarnings("ignore:.*compat.*:setuptools.SetuptoolsDeprecationWarning") -def test_compat_install(tmp_path, venv): - # TODO: Remove `compat` after Dec/2022. - opts = ["--config-settings", "editable-mode=compat"] - files = TestOverallBehaviour.EXAMPLES["custom-layout"] - install_project("mypkg", venv, tmp_path, files, *opts) - - out = venv.run(["python", "-c", "import mypkg.mod1; print(mypkg.mod1.var)"]) - assert "42" in out - - expected_path = comparable_path(str(tmp_path)) - - # Compatible behaviour will make spurious modules and excluded - # files importable directly from the original path - for cmd in ( - "import otherfile; print(otherfile)", - "import other; print(other)", - "import mypkg; print(mypkg)", - ): - out = comparable_path(venv.run(["python", "-c", cmd])) - assert expected_path in out - - # Compatible behaviour will not consider custom mappings - cmd = """\ - try: - from mypkg import subpackage; - except ImportError as ex: - print(ex) - """ - out = venv.run(["python", "-c", dedent(cmd)]) - assert "cannot import name 'subpackage'" in out - - -def test_pbr_integration(tmp_path, venv, editable_opts): - """Ensure editable installs work with pbr, issue #3500""" - files = { - "pyproject.toml": dedent( - """\ - [build-system] - requires = ["setuptools"] - build-backend = "setuptools.build_meta" - """ - ), - "setup.py": dedent( - """\ - __import__('setuptools').setup( - pbr=True, - setup_requires=["pbr"], - ) - """ - ), - "setup.cfg": dedent( - """\ - [metadata] - name = mypkg - - [files] - packages = - mypkg - """ - ), - "mypkg": { - "__init__.py": "", - "hello.py": "print('Hello world!')", - }, - "other": {"test.txt": "Another file in here."}, - } - venv.run(["python", "-m", "pip", "install", "pbr"]) - - with contexts.environment(PBR_VERSION="0.42"): - install_project("mypkg", venv, tmp_path, files, *editable_opts) - - out = venv.run(["python", "-c", "import mypkg.hello"]) - assert "Hello world!" in out - - -class TestCustomBuildPy: - """ - Issue #3501 indicates that some plugins/customizations might rely on: - - 1. ``build_py`` not running - 2. ``build_py`` always copying files to ``build_lib`` - - During the transition period setuptools should prevent potential errors from - happening due to those assumptions. - """ - - # TODO: Remove tests after _run_build_steps is removed. - - FILES = { - **TestOverallBehaviour.EXAMPLES["flat-layout"], - "setup.py": dedent( - """\ - import pathlib - from setuptools import setup - from setuptools.command.build_py import build_py as orig - - class my_build_py(orig): - def run(self): - super().run() - raise ValueError("TEST_RAISE") - - setup(cmdclass={"build_py": my_build_py}) - """ - ), - } - - def test_safeguarded_from_errors(self, tmp_path, venv): - """Ensure that errors in custom build_py are reported as warnings""" - # Warnings should show up - _, out = install_project("mypkg", venv, tmp_path, self.FILES) - assert "SetuptoolsDeprecationWarning" in out - assert "ValueError: TEST_RAISE" in out - # but installation should be successful - out = venv.run(["python", "-c", "import mypkg.mod1; print(mypkg.mod1.var)"]) - assert "42" in out - - -class TestCustomBuildWheel: - def install_custom_build_wheel(self, dist): - bdist_wheel_cls = dist.get_command_class("bdist_wheel") - - class MyBdistWheel(bdist_wheel_cls): - def get_tag(self): - # In issue #3513, we can see that some extensions may try to access - # the `plat_name` property in bdist_wheel - if self.plat_name.startswith("macosx-"): - _ = "macOS platform" - return super().get_tag() - - dist.cmdclass["bdist_wheel"] = MyBdistWheel - - def test_access_plat_name(self, tmpdir_cwd): - # Even when a custom bdist_wheel tries to access plat_name the build should - # be successful - jaraco.path.build({"module.py": "x = 42"}) - dist = Distribution() - dist.script_name = "setup.py" - dist.set_defaults() - self.install_custom_build_wheel(dist) - cmd = editable_wheel(dist) - cmd.ensure_finalized() - cmd.run() - wheel_file = str(next(Path().glob('dist/*.whl'))) - assert "editable" in wheel_file - - -class TestCustomBuildExt: - def install_custom_build_ext_distutils(self, dist): - from distutils.command.build_ext import build_ext as build_ext_cls - - class MyBuildExt(build_ext_cls): - pass - - dist.cmdclass["build_ext"] = MyBuildExt - - @pytest.mark.skipif( - sys.platform != "linux", reason="compilers may fail without correct setup" - ) - def test_distutils_leave_inplace_files(self, tmpdir_cwd): - jaraco.path.build({"module.c": ""}) - attrs = { - "ext_modules": [Extension("module", ["module.c"])], - } - dist = Distribution(attrs) - dist.script_name = "setup.py" - dist.set_defaults() - self.install_custom_build_ext_distutils(dist) - cmd = editable_wheel(dist) - cmd.ensure_finalized() - cmd.run() - wheel_file = str(next(Path().glob('dist/*.whl'))) - assert "editable" in wheel_file - files = [p for p in Path().glob("module.*") if p.suffix != ".c"] - assert len(files) == 1 - name = files[0].name - assert any(name.endswith(ext) for ext in EXTENSION_SUFFIXES) - - -def test_debugging_tips(tmpdir_cwd, monkeypatch): - """Make sure to display useful debugging tips to the user.""" - jaraco.path.build({"module.py": "x = 42"}) - dist = Distribution() - dist.script_name = "setup.py" - dist.set_defaults() - cmd = editable_wheel(dist) - cmd.ensure_finalized() - - SimulatedErr = type("SimulatedErr", (Exception,), {}) - simulated_failure = Mock(side_effect=SimulatedErr()) - monkeypatch.setattr(cmd, "get_finalized_command", simulated_failure) - - expected_msg = "following steps are recommended to help debug" - with pytest.raises(SimulatedErr), pytest.warns(_DebuggingTips, match=expected_msg): - cmd.run() - - -@pytest.mark.filterwarnings("error") -def test_encode_pth(): - """Ensure _encode_pth function does not produce encoding warnings""" - content = _encode_pth("tkmilan_ç_utf8") # no warnings (would be turned into errors) - assert isinstance(content, bytes) - - -def install_project(name, venv, tmp_path, files, *opts): - project = tmp_path / name - project.mkdir() - jaraco.path.build(files, prefix=project) - opts = [*opts, "--no-build-isolation"] # force current version of setuptools - out = venv.run( - ["python", "-m", "pip", "-v", "install", "-e", str(project), *opts], - stderr=subprocess.STDOUT, - ) - return project, out - - -def _addsitedirs(new_dirs): - """To use this function, it is necessary to insert new_dir in front of sys.path. - The Python process will try to import a ``sitecustomize`` module on startup. - If we manipulate sys.path/PYTHONPATH, we can force it to run our code, - which invokes ``addsitedir`` and ensure ``.pth`` files are loaded. - """ - content = '\n'.join( - ("import site",) - + tuple(f"site.addsitedir({os.fspath(new_dir)!r})" for new_dir in new_dirs) - ) - (new_dirs[0] / "sitecustomize.py").write_text(content, encoding="utf-8") - - -# ---- Assertion Helpers ---- - - -def assert_path(pkg, expected): - # __path__ is not guaranteed to exist, so we have to account for that - if pkg.__path__: - path = next(iter(pkg.__path__), None) - if path: - assert str(Path(path).resolve()) == expected - - -def assert_link_to(file: Path, other: Path) -> None: - if file.is_symlink(): - assert str(file.resolve()) == str(other.resolve()) - else: - file_stat = file.stat() - other_stat = other.stat() - assert file_stat[stat.ST_INO] == other_stat[stat.ST_INO] - assert file_stat[stat.ST_DEV] == other_stat[stat.ST_DEV] - - -def comparable_path(str_with_path: str) -> str: - return str_with_path.lower().replace(os.sep, "/").replace("//", "/") diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_egg_info.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_egg_info.py deleted file mode 100644 index a68ecaba..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_egg_info.py +++ /dev/null @@ -1,1285 +0,0 @@ -from __future__ import annotations - -import ast -import glob -import os -import re -import stat -import sys -import time -from pathlib import Path -from unittest import mock - -import pytest -from jaraco import path - -from setuptools import errors -from setuptools.command.egg_info import egg_info, manifest_maker, write_entries -from setuptools.dist import Distribution - -from . import contexts, environment -from .textwrap import DALS - - -class Environment(str): - pass - - -@pytest.fixture -def env(): - with contexts.tempdir(prefix='setuptools-test.') as env_dir: - env = Environment(env_dir) - os.chmod(env_dir, stat.S_IRWXU) - subs = 'home', 'lib', 'scripts', 'data', 'egg-base' - env.paths = dict((dirname, os.path.join(env_dir, dirname)) for dirname in subs) - list(map(os.mkdir, env.paths.values())) - path.build({ - env.paths['home']: { - '.pydistutils.cfg': DALS( - """ - [egg_info] - egg-base = %(egg-base)s - """ - % env.paths - ) - } - }) - yield env - - -class TestEggInfo: - setup_script = DALS( - """ - from setuptools import setup - - setup( - name='foo', - py_modules=['hello'], - entry_points={'console_scripts': ['hi = hello.run']}, - zip_safe=False, - ) - """ - ) - - def _create_project(self): - path.build({ - 'setup.py': self.setup_script, - 'hello.py': DALS( - """ - def run(): - print('hello') - """ - ), - }) - - @staticmethod - def _extract_mv_version(pkg_info_lines: list[str]) -> tuple[int, int]: - version_str = pkg_info_lines[0].split(' ')[1] - major, minor = map(int, version_str.split('.')[:2]) - return major, minor - - def test_egg_info_save_version_info_setup_empty(self, tmpdir_cwd, env): - """ - When the egg_info section is empty or not present, running - save_version_info should add the settings to the setup.cfg - in a deterministic order. - """ - setup_cfg = os.path.join(env.paths['home'], 'setup.cfg') - dist = Distribution() - ei = egg_info(dist) - ei.initialize_options() - ei.save_version_info(setup_cfg) - - with open(setup_cfg, 'r', encoding="utf-8") as f: - content = f.read() - - assert '[egg_info]' in content - assert 'tag_build =' in content - assert 'tag_date = 0' in content - - expected_order = ( - 'tag_build', - 'tag_date', - ) - - self._validate_content_order(content, expected_order) - - @staticmethod - def _validate_content_order(content, expected): - """ - Assert that the strings in expected appear in content - in order. - """ - pattern = '.*'.join(expected) - flags = re.MULTILINE | re.DOTALL - assert re.search(pattern, content, flags) - - def test_egg_info_save_version_info_setup_defaults(self, tmpdir_cwd, env): - """ - When running save_version_info on an existing setup.cfg - with the 'default' values present from a previous run, - the file should remain unchanged. - """ - setup_cfg = os.path.join(env.paths['home'], 'setup.cfg') - path.build({ - setup_cfg: DALS( - """ - [egg_info] - tag_build = - tag_date = 0 - """ - ), - }) - dist = Distribution() - ei = egg_info(dist) - ei.initialize_options() - ei.save_version_info(setup_cfg) - - with open(setup_cfg, 'r', encoding="utf-8") as f: - content = f.read() - - assert '[egg_info]' in content - assert 'tag_build =' in content - assert 'tag_date = 0' in content - - expected_order = ( - 'tag_build', - 'tag_date', - ) - - self._validate_content_order(content, expected_order) - - def test_expected_files_produced(self, tmpdir_cwd, env): - self._create_project() - - self._run_egg_info_command(tmpdir_cwd, env) - actual = os.listdir('foo.egg-info') - - expected = [ - 'PKG-INFO', - 'SOURCES.txt', - 'dependency_links.txt', - 'entry_points.txt', - 'not-zip-safe', - 'top_level.txt', - ] - assert sorted(actual) == expected - - def test_handling_utime_error(self, tmpdir_cwd, env): - dist = Distribution() - ei = egg_info(dist) - utime_patch = mock.patch('os.utime', side_effect=OSError("TEST")) - mkpath_patch = mock.patch( - 'setuptools.command.egg_info.egg_info.mkpath', return_val=None - ) - - with utime_patch, mkpath_patch: - import distutils.errors - - msg = r"Cannot update time stamp of directory 'None'" - with pytest.raises(distutils.errors.DistutilsFileError, match=msg): - ei.run() - - def test_license_is_a_string(self, tmpdir_cwd, env): - setup_config = DALS( - """ - [metadata] - name=foo - version=0.0.1 - license=file:MIT - """ - ) - - setup_script = DALS( - """ - from setuptools import setup - - setup() - """ - ) - - path.build({ - 'setup.py': setup_script, - 'setup.cfg': setup_config, - }) - - # This command should fail with a ValueError, but because it's - # currently configured to use a subprocess, the actual traceback - # object is lost and we need to parse it from stderr - with pytest.raises(AssertionError) as exc: - self._run_egg_info_command(tmpdir_cwd, env) - - # The only argument to the assertion error should be a traceback - # containing a ValueError - assert 'ValueError' in exc.value.args[0] - - def test_rebuilt(self, tmpdir_cwd, env): - """Ensure timestamps are updated when the command is re-run.""" - self._create_project() - - self._run_egg_info_command(tmpdir_cwd, env) - timestamp_a = os.path.getmtime('foo.egg-info') - - # arbitrary sleep just to handle *really* fast systems - time.sleep(0.001) - - self._run_egg_info_command(tmpdir_cwd, env) - timestamp_b = os.path.getmtime('foo.egg-info') - - assert timestamp_a != timestamp_b - - def test_manifest_template_is_read(self, tmpdir_cwd, env): - self._create_project() - path.build({ - 'MANIFEST.in': DALS( - """ - recursive-include docs *.rst - """ - ), - 'docs': { - 'usage.rst': "Run 'hi'", - }, - }) - self._run_egg_info_command(tmpdir_cwd, env) - egg_info_dir = os.path.join('.', 'foo.egg-info') - sources_txt = os.path.join(egg_info_dir, 'SOURCES.txt') - with open(sources_txt, encoding="utf-8") as f: - assert 'docs/usage.rst' in f.read().split('\n') - - def _setup_script_with_requires(self, requires, use_setup_cfg=False): - setup_script = DALS( - """ - from setuptools import setup - - setup(name='foo', zip_safe=False, %s) - """ - ) % ('' if use_setup_cfg else requires) - setup_config = requires if use_setup_cfg else '' - path.build({ - 'setup.py': setup_script, - 'setup.cfg': setup_config, - }) - - mismatch_marker = "python_version<'{this_ver}'".format( - this_ver=sys.version_info.major, - ) - # Alternate equivalent syntax. - mismatch_marker_alternate = 'python_version < "{this_ver}"'.format( - this_ver=sys.version_info.major, - ) - invalid_marker = "<=>++" - - class RequiresTestHelper: - @staticmethod - def parametrize(*test_list, **format_dict): - idlist = [] - argvalues = [] - for test in test_list: - test_params = test.lstrip().split('\n\n', 3) - name_kwargs = test_params.pop(0).split('\n') - if len(name_kwargs) > 1: - val = name_kwargs[1].strip() - install_cmd_kwargs = ast.literal_eval(val) - else: - install_cmd_kwargs = {} - name = name_kwargs[0].strip() - setup_py_requires, setup_cfg_requires, expected_requires = [ - DALS(a).format(**format_dict) for a in test_params - ] - for id_, requires, use_cfg in ( - (name, setup_py_requires, False), - (name + '_in_setup_cfg', setup_cfg_requires, True), - ): - idlist.append(id_) - marks = () - if requires.startswith('@xfail\n'): - requires = requires[7:] - marks = pytest.mark.xfail - argvalues.append( - pytest.param( - requires, - use_cfg, - expected_requires, - install_cmd_kwargs, - marks=marks, - ) - ) - return pytest.mark.parametrize( - 'requires,use_setup_cfg,expected_requires,install_cmd_kwargs', - argvalues, - ids=idlist, - ) - - @RequiresTestHelper.parametrize( - # Format of a test: - # - # id - # install_cmd_kwargs [optional] - # - # requires block (when used in setup.py) - # - # requires block (when used in setup.cfg) - # - # expected contents of requires.txt - """ - install_requires_deterministic - - install_requires=["wheel>=0.5", "pytest"] - - [options] - install_requires = - wheel>=0.5 - pytest - - wheel>=0.5 - pytest - """, - """ - install_requires_ordered - - install_requires=["pytest>=3.0.2,!=10.9999"] - - [options] - install_requires = - pytest>=3.0.2,!=10.9999 - - pytest!=10.9999,>=3.0.2 - """, - """ - install_requires_with_marker - - install_requires=["barbazquux;{mismatch_marker}"], - - [options] - install_requires = - barbazquux; {mismatch_marker} - - [:{mismatch_marker_alternate}] - barbazquux - """, - """ - install_requires_with_extra - {'cmd': ['egg_info']} - - install_requires=["barbazquux [test]"], - - [options] - install_requires = - barbazquux [test] - - barbazquux[test] - """, - """ - install_requires_with_extra_and_marker - - install_requires=["barbazquux [test]; {mismatch_marker}"], - - [options] - install_requires = - barbazquux [test]; {mismatch_marker} - - [:{mismatch_marker_alternate}] - barbazquux[test] - """, - """ - setup_requires_with_markers - - setup_requires=["barbazquux;{mismatch_marker}"], - - [options] - setup_requires = - barbazquux; {mismatch_marker} - - """, - """ - extras_require_with_extra - {'cmd': ['egg_info']} - - extras_require={{"extra": ["barbazquux [test]"]}}, - - [options.extras_require] - extra = barbazquux [test] - - [extra] - barbazquux[test] - """, - """ - extras_require_with_extra_and_marker_in_req - - extras_require={{"extra": ["barbazquux [test]; {mismatch_marker}"]}}, - - [options.extras_require] - extra = - barbazquux [test]; {mismatch_marker} - - [extra] - - [extra:{mismatch_marker_alternate}] - barbazquux[test] - """, - # FIXME: ConfigParser does not allow : in key names! - """ - extras_require_with_marker - - extras_require={{":{mismatch_marker}": ["barbazquux"]}}, - - @xfail - [options.extras_require] - :{mismatch_marker} = barbazquux - - [:{mismatch_marker}] - barbazquux - """, - """ - extras_require_with_marker_in_req - - extras_require={{"extra": ["barbazquux; {mismatch_marker}"]}}, - - [options.extras_require] - extra = - barbazquux; {mismatch_marker} - - [extra] - - [extra:{mismatch_marker_alternate}] - barbazquux - """, - """ - extras_require_with_empty_section - - extras_require={{"empty": []}}, - - [options.extras_require] - empty = - - [empty] - """, - # Format arguments. - invalid_marker=invalid_marker, - mismatch_marker=mismatch_marker, - mismatch_marker_alternate=mismatch_marker_alternate, - ) - def test_requires( - self, - tmpdir_cwd, - env, - requires, - use_setup_cfg, - expected_requires, - install_cmd_kwargs, - ): - self._setup_script_with_requires(requires, use_setup_cfg) - self._run_egg_info_command(tmpdir_cwd, env, **install_cmd_kwargs) - egg_info_dir = os.path.join('.', 'foo.egg-info') - requires_txt = os.path.join(egg_info_dir, 'requires.txt') - if os.path.exists(requires_txt): - with open(requires_txt, encoding="utf-8") as fp: - install_requires = fp.read() - else: - install_requires = '' - assert install_requires.lstrip() == expected_requires - assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == [] - - def test_install_requires_unordered_disallowed(self, tmpdir_cwd, env): - """ - Packages that pass unordered install_requires sequences - should be rejected as they produce non-deterministic - builds. See #458. - """ - req = 'install_requires={"fake-factory==0.5.2", "pytz"}' - self._setup_script_with_requires(req) - with pytest.raises(AssertionError): - self._run_egg_info_command(tmpdir_cwd, env) - - def test_extras_require_with_invalid_marker(self, tmpdir_cwd, env): - tmpl = 'extras_require={{":{marker}": ["barbazquux"]}},' - req = tmpl.format(marker=self.invalid_marker) - self._setup_script_with_requires(req) - with pytest.raises(AssertionError): - self._run_egg_info_command(tmpdir_cwd, env) - assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == [] - - def test_extras_require_with_invalid_marker_in_req(self, tmpdir_cwd, env): - tmpl = 'extras_require={{"extra": ["barbazquux; {marker}"]}},' - req = tmpl.format(marker=self.invalid_marker) - self._setup_script_with_requires(req) - with pytest.raises(AssertionError): - self._run_egg_info_command(tmpdir_cwd, env) - assert glob.glob(os.path.join(env.paths['lib'], 'barbazquux*')) == [] - - def test_provides_extra(self, tmpdir_cwd, env): - self._setup_script_with_requires('extras_require={"foobar": ["barbazquux"]},') - environ = os.environ.copy().update( - HOME=env.paths['home'], - ) - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - env=environ, - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - assert 'Provides-Extra: foobar' in pkg_info_lines - assert 'Metadata-Version: 2.1' in pkg_info_lines - - def test_doesnt_provides_extra(self, tmpdir_cwd, env): - self._setup_script_with_requires( - """install_requires=["spam ; python_version<'3.6'"]""" - ) - environ = os.environ.copy().update( - HOME=env.paths['home'], - ) - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - env=environ, - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_text = fp.read() - assert 'Provides-Extra:' not in pkg_info_text - - @pytest.mark.parametrize( - ('files', 'license_in_sources'), - [ - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICENSE - """ - ), - 'LICENSE': "Test license", - }, - True, - ), # with license - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = INVALID_LICENSE - """ - ), - 'LICENSE': "Test license", - }, - False, - ), # with an invalid license - ( - { - 'setup.cfg': DALS( - """ - """ - ), - 'LICENSE': "Test license", - }, - True, - ), # no license_file attribute, LICENSE auto-included - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICENSE - """ - ), - 'MANIFEST.in': "exclude LICENSE", - 'LICENSE': "Test license", - }, - True, - ), # manifest is overwritten by license_file - pytest.param( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICEN[CS]E* - """ - ), - 'LICENSE': "Test license", - }, - True, - id="glob_pattern", - ), - ], - ) - def test_setup_cfg_license_file(self, tmpdir_cwd, env, files, license_in_sources): - self._create_project() - path.build(files) - - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - - sources_text = Path(egg_info_dir, "SOURCES.txt").read_text(encoding="utf-8") - - if license_in_sources: - assert 'LICENSE' in sources_text - else: - assert 'LICENSE' not in sources_text - # for invalid license test - assert 'INVALID_LICENSE' not in sources_text - - @pytest.mark.parametrize( - ('files', 'incl_licenses', 'excl_licenses'), - [ - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = - LICENSE-ABC - LICENSE-XYZ - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-XYZ': "XYZ license", - }, - ['LICENSE-ABC', 'LICENSE-XYZ'], - [], - ), # with licenses - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = LICENSE-ABC, LICENSE-XYZ - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-XYZ': "XYZ license", - }, - ['LICENSE-ABC', 'LICENSE-XYZ'], - [], - ), # with commas - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = - LICENSE-ABC - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-XYZ': "XYZ license", - }, - ['LICENSE-ABC'], - ['LICENSE-XYZ'], - ), # with one license - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-XYZ': "XYZ license", - }, - [], - ['LICENSE-ABC', 'LICENSE-XYZ'], - ), # empty - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = LICENSE-XYZ - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-XYZ': "XYZ license", - }, - ['LICENSE-XYZ'], - ['LICENSE-ABC'], - ), # on same line - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = - LICENSE-ABC - INVALID_LICENSE - """ - ), - 'LICENSE-ABC': "Test license", - }, - ['LICENSE-ABC'], - ['INVALID_LICENSE'], - ), # with an invalid license - ( - { - 'setup.cfg': DALS( - """ - """ - ), - 'LICENSE': "Test license", - }, - ['LICENSE'], - [], - ), # no license_files attribute, LICENSE auto-included - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = LICENSE - """ - ), - 'MANIFEST.in': "exclude LICENSE", - 'LICENSE': "Test license", - }, - ['LICENSE'], - [], - ), # manifest is overwritten by license_files - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = - LICENSE-ABC - LICENSE-XYZ - """ - ), - 'MANIFEST.in': "exclude LICENSE-XYZ", - 'LICENSE-ABC': "ABC license", - 'LICENSE-XYZ': "XYZ license", - # manifest is overwritten by license_files - }, - ['LICENSE-ABC', 'LICENSE-XYZ'], - [], - ), - pytest.param( - { - 'setup.cfg': "", - 'LICENSE-ABC': "ABC license", - 'COPYING-ABC': "ABC copying", - 'NOTICE-ABC': "ABC notice", - 'AUTHORS-ABC': "ABC authors", - 'LICENCE-XYZ': "XYZ license", - 'LICENSE': "License", - 'INVALID-LICENSE': "Invalid license", - }, - [ - 'LICENSE-ABC', - 'COPYING-ABC', - 'NOTICE-ABC', - 'AUTHORS-ABC', - 'LICENCE-XYZ', - 'LICENSE', - ], - ['INVALID-LICENSE'], - # ('LICEN[CS]E*', 'COPYING*', 'NOTICE*', 'AUTHORS*') - id="default_glob_patterns", - ), - pytest.param( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = - LICENSE* - """ - ), - 'LICENSE-ABC': "ABC license", - 'NOTICE-XYZ': "XYZ notice", - }, - ['LICENSE-ABC'], - ['NOTICE-XYZ'], - id="no_default_glob_patterns", - ), - pytest.param( - { - 'setup.cfg': DALS( - """ - [metadata] - license_files = - LICENSE-ABC - LICENSE* - """ - ), - 'LICENSE-ABC': "ABC license", - }, - ['LICENSE-ABC'], - [], - id="files_only_added_once", - ), - ], - ) - def test_setup_cfg_license_files( - self, tmpdir_cwd, env, files, incl_licenses, excl_licenses - ): - self._create_project() - path.build(files) - - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - - sources_text = Path(egg_info_dir, "SOURCES.txt").read_text(encoding="utf-8") - sources_lines = [line.strip() for line in sources_text.splitlines()] - - for lf in incl_licenses: - assert sources_lines.count(lf) == 1 - - for lf in excl_licenses: - assert sources_lines.count(lf) == 0 - - @pytest.mark.parametrize( - ('files', 'incl_licenses', 'excl_licenses'), - [ - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = - license_files = - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-XYZ': "XYZ license", - }, - [], - ['LICENSE-ABC', 'LICENSE-XYZ'], - ), # both empty - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = - LICENSE-ABC - LICENSE-XYZ - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-XYZ': "XYZ license", - # license_file is still singular - }, - [], - ['LICENSE-ABC', 'LICENSE-XYZ'], - ), - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICENSE-ABC - license_files = - LICENSE-XYZ - LICENSE-PQR - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-PQR': "PQR license", - 'LICENSE-XYZ': "XYZ license", - }, - ['LICENSE-ABC', 'LICENSE-PQR', 'LICENSE-XYZ'], - [], - ), # combined - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICENSE-ABC - license_files = - LICENSE-ABC - LICENSE-XYZ - LICENSE-PQR - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-PQR': "PQR license", - 'LICENSE-XYZ': "XYZ license", - # duplicate license - }, - ['LICENSE-ABC', 'LICENSE-PQR', 'LICENSE-XYZ'], - [], - ), - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICENSE-ABC - license_files = - LICENSE-XYZ - """ - ), - 'LICENSE-ABC': "ABC license", - 'LICENSE-PQR': "PQR license", - 'LICENSE-XYZ': "XYZ license", - # combined subset - }, - ['LICENSE-ABC', 'LICENSE-XYZ'], - ['LICENSE-PQR'], - ), - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICENSE-ABC - license_files = - LICENSE-XYZ - LICENSE-PQR - """ - ), - 'LICENSE-PQR': "Test license", - # with invalid licenses - }, - ['LICENSE-PQR'], - ['LICENSE-ABC', 'LICENSE-XYZ'], - ), - ( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICENSE-ABC - license_files = - LICENSE-PQR - LICENSE-XYZ - """ - ), - 'MANIFEST.in': "exclude LICENSE-ABC\nexclude LICENSE-PQR", - 'LICENSE-ABC': "ABC license", - 'LICENSE-PQR': "PQR license", - 'LICENSE-XYZ': "XYZ license", - # manifest is overwritten - }, - ['LICENSE-ABC', 'LICENSE-PQR', 'LICENSE-XYZ'], - [], - ), - pytest.param( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICENSE* - """ - ), - 'LICENSE-ABC': "ABC license", - 'NOTICE-XYZ': "XYZ notice", - }, - ['LICENSE-ABC'], - ['NOTICE-XYZ'], - id="no_default_glob_patterns", - ), - pytest.param( - { - 'setup.cfg': DALS( - """ - [metadata] - license_file = LICENSE* - license_files = - NOTICE* - """ - ), - 'LICENSE-ABC': "ABC license", - 'NOTICE-ABC': "ABC notice", - 'AUTHORS-ABC': "ABC authors", - }, - ['LICENSE-ABC', 'NOTICE-ABC'], - ['AUTHORS-ABC'], - id="combined_glob_patterrns", - ), - ], - ) - def test_setup_cfg_license_file_license_files( - self, tmpdir_cwd, env, files, incl_licenses, excl_licenses - ): - self._create_project() - path.build(files) - - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - - sources_text = Path(egg_info_dir, "SOURCES.txt").read_text(encoding="utf-8") - sources_lines = [line.strip() for line in sources_text.splitlines()] - - for lf in incl_licenses: - assert sources_lines.count(lf) == 1 - - for lf in excl_licenses: - assert sources_lines.count(lf) == 0 - - def test_license_file_attr_pkg_info(self, tmpdir_cwd, env): - """All matched license files should have a corresponding License-File.""" - self._create_project() - path.build({ - "setup.cfg": DALS( - """ - [metadata] - license_files = - NOTICE* - LICENSE* - """ - ), - "LICENSE-ABC": "ABC license", - "LICENSE-XYZ": "XYZ license", - "NOTICE": "included", - "IGNORE": "not include", - }) - - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - license_file_lines = [ - line for line in pkg_info_lines if line.startswith('License-File:') - ] - - # Only 'NOTICE', LICENSE-ABC', and 'LICENSE-XYZ' should have been matched - # Also assert that order from license_files is keeped - assert "License-File: NOTICE" == license_file_lines[0] - assert "License-File: LICENSE-ABC" in license_file_lines[1:] - assert "License-File: LICENSE-XYZ" in license_file_lines[1:] - - def test_metadata_version(self, tmpdir_cwd, env): - """Make sure latest metadata version is used by default.""" - self._setup_script_with_requires("") - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - # Update metadata version if changed - assert self._extract_mv_version(pkg_info_lines) == (2, 1) - - def test_long_description_content_type(self, tmpdir_cwd, env): - # Test that specifying a `long_description_content_type` keyword arg to - # the `setup` function results in writing a `Description-Content-Type` - # line to the `PKG-INFO` file in the `.egg-info` - # directory. - # `Description-Content-Type` is described at - # https://github.com/pypa/python-packaging-user-guide/pull/258 - - self._setup_script_with_requires( - """long_description_content_type='text/markdown',""" - ) - environ = os.environ.copy().update( - HOME=env.paths['home'], - ) - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - env=environ, - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - expected_line = 'Description-Content-Type: text/markdown' - assert expected_line in pkg_info_lines - assert 'Metadata-Version: 2.1' in pkg_info_lines - - def test_long_description(self, tmpdir_cwd, env): - # Test that specifying `long_description` and `long_description_content_type` - # keyword args to the `setup` function results in writing - # the description in the message payload of the `PKG-INFO` file - # in the `.egg-info` directory. - self._setup_script_with_requires( - "long_description='This is a long description\\nover multiple lines'," - "long_description_content_type='text/markdown'," - ) - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - assert 'Metadata-Version: 2.1' in pkg_info_lines - assert '' == pkg_info_lines[-1] # last line should be empty - long_desc_lines = pkg_info_lines[pkg_info_lines.index('') :] - assert 'This is a long description' in long_desc_lines - assert 'over multiple lines' in long_desc_lines - - def test_project_urls(self, tmpdir_cwd, env): - # Test that specifying a `project_urls` dict to the `setup` - # function results in writing multiple `Project-URL` lines to - # the `PKG-INFO` file in the `.egg-info` - # directory. - # `Project-URL` is described at https://packaging.python.org - # /specifications/core-metadata/#project-url-multiple-use - - self._setup_script_with_requires( - """project_urls={ - 'Link One': 'https://example.com/one/', - 'Link Two': 'https://example.com/two/', - },""" - ) - environ = os.environ.copy().update( - HOME=env.paths['home'], - ) - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - env=environ, - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - expected_line = 'Project-URL: Link One, https://example.com/one/' - assert expected_line in pkg_info_lines - expected_line = 'Project-URL: Link Two, https://example.com/two/' - assert expected_line in pkg_info_lines - assert self._extract_mv_version(pkg_info_lines) >= (1, 2) - - def test_license(self, tmpdir_cwd, env): - """Test single line license.""" - self._setup_script_with_requires("license='MIT',") - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - assert 'License: MIT' in pkg_info_lines - - def test_license_escape(self, tmpdir_cwd, env): - """Test license is escaped correctly if longer than one line.""" - self._setup_script_with_requires( - "license='This is a long license text \\nover multiple lines'," - ) - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - - assert 'License: This is a long license text ' in pkg_info_lines - assert ' over multiple lines' in pkg_info_lines - assert 'text \n over multiple' in '\n'.join(pkg_info_lines) - - def test_python_requires_egg_info(self, tmpdir_cwd, env): - self._setup_script_with_requires("""python_requires='>=2.7.12',""") - environ = os.environ.copy().update( - HOME=env.paths['home'], - ) - environment.run_setup_py( - cmd=['egg_info'], - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - env=environ, - ) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - assert 'Requires-Python: >=2.7.12' in pkg_info_lines - assert self._extract_mv_version(pkg_info_lines) >= (1, 2) - - def test_manifest_maker_warning_suppression(self): - fixtures = [ - "standard file not found: should have one of foo.py, bar.py", - "standard file 'setup.py' not found", - ] - - for msg in fixtures: - assert manifest_maker._should_suppress_warning(msg) - - def test_egg_info_includes_setup_py(self, tmpdir_cwd): - self._create_project() - dist = Distribution({"name": "foo", "version": "0.0.1"}) - dist.script_name = "non_setup.py" - egg_info_instance = egg_info(dist) - egg_info_instance.finalize_options() - egg_info_instance.run() - - assert 'setup.py' in egg_info_instance.filelist.files - - with open(egg_info_instance.egg_info + "/SOURCES.txt", encoding="utf-8") as f: - sources = f.read().split('\n') - assert 'setup.py' in sources - - def _run_egg_info_command(self, tmpdir_cwd, env, cmd=None, output=None): - environ = os.environ.copy().update( - HOME=env.paths['home'], - ) - if cmd is None: - cmd = [ - 'egg_info', - ] - code, data = environment.run_setup_py( - cmd=cmd, - pypath=os.pathsep.join([env.paths['lib'], str(tmpdir_cwd)]), - data_stream=1, - env=environ, - ) - assert not code, data - - if output: - assert output in data - - def test_egg_info_tag_only_once(self, tmpdir_cwd, env): - self._create_project() - path.build({ - 'setup.cfg': DALS( - """ - [egg_info] - tag_build = dev - tag_date = 0 - tag_svn_revision = 0 - """ - ), - }) - self._run_egg_info_command(tmpdir_cwd, env) - egg_info_dir = os.path.join('.', 'foo.egg-info') - with open(os.path.join(egg_info_dir, 'PKG-INFO'), encoding="utf-8") as fp: - pkg_info_lines = fp.read().split('\n') - assert 'Version: 0.0.0.dev0' in pkg_info_lines - - -class TestWriteEntries: - def test_invalid_entry_point(self, tmpdir_cwd, env): - dist = Distribution({"name": "foo", "version": "0.0.1"}) - dist.entry_points = {"foo": "foo = invalid-identifier:foo"} - cmd = dist.get_command_obj("egg_info") - expected_msg = r"Problems to parse .*invalid-identifier.*" - with pytest.raises(errors.OptionError, match=expected_msg) as ex: - write_entries(cmd, "entry_points", "entry_points.txt") - assert "ensure entry-point follows the spec" in ex.value.args[0] - - def test_valid_entry_point(self, tmpdir_cwd, env): - dist = Distribution({"name": "foo", "version": "0.0.1"}) - dist.entry_points = { - "abc": "foo = bar:baz", - "def": ["faa = bor:boz"], - } - cmd = dist.get_command_obj("egg_info") - write_entries(cmd, "entry_points", "entry_points.txt") - content = Path("entry_points.txt").read_text(encoding="utf-8") - assert "[abc]\nfoo = bar:baz\n" in content - assert "[def]\nfaa = bor:boz\n" in content diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_extern.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_extern.py deleted file mode 100644 index d7eb3c62..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_extern.py +++ /dev/null @@ -1,15 +0,0 @@ -import importlib -import pickle - -import packaging - -from setuptools import Distribution - - -def test_reimport_extern(): - packaging2 = importlib.import_module(packaging.__name__) - assert packaging is packaging2 - - -def test_distribution_picklable(): - pickle.loads(pickle.dumps(Distribution())) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_find_packages.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_find_packages.py deleted file mode 100644 index 9fd9f8f6..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_find_packages.py +++ /dev/null @@ -1,218 +0,0 @@ -"""Tests for automatic package discovery""" - -import os -import shutil -import tempfile - -import pytest - -from setuptools import find_namespace_packages, find_packages -from setuptools.discovery import FlatLayoutPackageFinder - -from .compat.py39 import os_helper - - -class TestFindPackages: - def setup_method(self, method): - self.dist_dir = tempfile.mkdtemp() - self._make_pkg_structure() - - def teardown_method(self, method): - shutil.rmtree(self.dist_dir) - - def _make_pkg_structure(self): - """Make basic package structure. - - dist/ - docs/ - conf.py - pkg/ - __pycache__/ - nspkg/ - mod.py - subpkg/ - assets/ - asset - __init__.py - setup.py - - """ - self.docs_dir = self._mkdir('docs', self.dist_dir) - self._touch('conf.py', self.docs_dir) - self.pkg_dir = self._mkdir('pkg', self.dist_dir) - self._mkdir('__pycache__', self.pkg_dir) - self.ns_pkg_dir = self._mkdir('nspkg', self.pkg_dir) - self._touch('mod.py', self.ns_pkg_dir) - self.sub_pkg_dir = self._mkdir('subpkg', self.pkg_dir) - self.asset_dir = self._mkdir('assets', self.sub_pkg_dir) - self._touch('asset', self.asset_dir) - self._touch('__init__.py', self.sub_pkg_dir) - self._touch('setup.py', self.dist_dir) - - def _mkdir(self, path, parent_dir=None): - if parent_dir: - path = os.path.join(parent_dir, path) - os.mkdir(path) - return path - - def _touch(self, path, dir_=None): - if dir_: - path = os.path.join(dir_, path) - open(path, 'wb').close() - return path - - def test_regular_package(self): - self._touch('__init__.py', self.pkg_dir) - packages = find_packages(self.dist_dir) - assert packages == ['pkg', 'pkg.subpkg'] - - def test_exclude(self): - self._touch('__init__.py', self.pkg_dir) - packages = find_packages(self.dist_dir, exclude=('pkg.*',)) - assert packages == ['pkg'] - - def test_exclude_recursive(self): - """ - Excluding a parent package should not exclude child packages as well. - """ - self._touch('__init__.py', self.pkg_dir) - self._touch('__init__.py', self.sub_pkg_dir) - packages = find_packages(self.dist_dir, exclude=('pkg',)) - assert packages == ['pkg.subpkg'] - - def test_include_excludes_other(self): - """ - If include is specified, other packages should be excluded. - """ - self._touch('__init__.py', self.pkg_dir) - alt_dir = self._mkdir('other_pkg', self.dist_dir) - self._touch('__init__.py', alt_dir) - packages = find_packages(self.dist_dir, include=['other_pkg']) - assert packages == ['other_pkg'] - - def test_dir_with_dot_is_skipped(self): - shutil.rmtree(os.path.join(self.dist_dir, 'pkg/subpkg/assets')) - data_dir = self._mkdir('some.data', self.pkg_dir) - self._touch('__init__.py', data_dir) - self._touch('file.dat', data_dir) - packages = find_packages(self.dist_dir) - assert 'pkg.some.data' not in packages - - def test_dir_with_packages_in_subdir_is_excluded(self): - """ - Ensure that a package in a non-package such as build/pkg/__init__.py - is excluded. - """ - build_dir = self._mkdir('build', self.dist_dir) - build_pkg_dir = self._mkdir('pkg', build_dir) - self._touch('__init__.py', build_pkg_dir) - packages = find_packages(self.dist_dir) - assert 'build.pkg' not in packages - - @pytest.mark.skipif(not os_helper.can_symlink(), reason='Symlink support required') - def test_symlinked_packages_are_included(self): - """ - A symbolically-linked directory should be treated like any other - directory when matched as a package. - - Create a link from lpkg -> pkg. - """ - self._touch('__init__.py', self.pkg_dir) - linked_pkg = os.path.join(self.dist_dir, 'lpkg') - os.symlink('pkg', linked_pkg) - assert os.path.isdir(linked_pkg) - packages = find_packages(self.dist_dir) - assert 'lpkg' in packages - - def _assert_packages(self, actual, expected): - assert set(actual) == set(expected) - - def test_pep420_ns_package(self): - packages = find_namespace_packages( - self.dist_dir, include=['pkg*'], exclude=['pkg.subpkg.assets'] - ) - self._assert_packages(packages, ['pkg', 'pkg.nspkg', 'pkg.subpkg']) - - def test_pep420_ns_package_no_includes(self): - packages = find_namespace_packages(self.dist_dir, exclude=['pkg.subpkg.assets']) - self._assert_packages(packages, ['docs', 'pkg', 'pkg.nspkg', 'pkg.subpkg']) - - def test_pep420_ns_package_no_includes_or_excludes(self): - packages = find_namespace_packages(self.dist_dir) - expected = ['docs', 'pkg', 'pkg.nspkg', 'pkg.subpkg', 'pkg.subpkg.assets'] - self._assert_packages(packages, expected) - - def test_regular_package_with_nested_pep420_ns_packages(self): - self._touch('__init__.py', self.pkg_dir) - packages = find_namespace_packages( - self.dist_dir, exclude=['docs', 'pkg.subpkg.assets'] - ) - self._assert_packages(packages, ['pkg', 'pkg.nspkg', 'pkg.subpkg']) - - def test_pep420_ns_package_no_non_package_dirs(self): - shutil.rmtree(self.docs_dir) - shutil.rmtree(os.path.join(self.dist_dir, 'pkg/subpkg/assets')) - packages = find_namespace_packages(self.dist_dir) - self._assert_packages(packages, ['pkg', 'pkg.nspkg', 'pkg.subpkg']) - - -class TestFlatLayoutPackageFinder: - EXAMPLES = { - "hidden-folders": ( - [".pkg/__init__.py", "pkg/__init__.py", "pkg/nested/file.txt"], - ["pkg", "pkg.nested"], - ), - "private-packages": ( - ["_pkg/__init__.py", "pkg/_private/__init__.py"], - ["pkg", "pkg._private"], - ), - "invalid-name": ( - ["invalid-pkg/__init__.py", "other.pkg/__init__.py", "yet,another/file.py"], - [], - ), - "docs": (["pkg/__init__.py", "docs/conf.py", "docs/readme.rst"], ["pkg"]), - "tests": ( - ["pkg/__init__.py", "tests/test_pkg.py", "tests/__init__.py"], - ["pkg"], - ), - "examples": ( - [ - "pkg/__init__.py", - "examples/__init__.py", - "examples/file.py", - "example/other_file.py", - # Sub-packages should always be fine - "pkg/example/__init__.py", - "pkg/examples/__init__.py", - ], - ["pkg", "pkg.examples", "pkg.example"], - ), - "tool-specific": ( - [ - "htmlcov/index.html", - "pkg/__init__.py", - "tasks/__init__.py", - "tasks/subpackage/__init__.py", - "fabfile/__init__.py", - "fabfile/subpackage/__init__.py", - # Sub-packages should always be fine - "pkg/tasks/__init__.py", - "pkg/fabfile/__init__.py", - ], - ["pkg", "pkg.tasks", "pkg.fabfile"], - ), - } - - @pytest.mark.parametrize("example", EXAMPLES.keys()) - def test_unwanted_directories_not_included(self, tmp_path, example): - files, expected_packages = self.EXAMPLES[example] - ensure_files(tmp_path, files) - found_packages = FlatLayoutPackageFinder.find(str(tmp_path)) - assert set(found_packages) == set(expected_packages) - - -def ensure_files(root_path, files): - for file in files: - path = root_path / file - path.parent.mkdir(parents=True, exist_ok=True) - path.touch() diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_find_py_modules.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_find_py_modules.py deleted file mode 100644 index 8034b544..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_find_py_modules.py +++ /dev/null @@ -1,73 +0,0 @@ -"""Tests for automatic discovery of modules""" - -import os - -import pytest - -from setuptools.discovery import FlatLayoutModuleFinder, ModuleFinder - -from .compat.py39 import os_helper -from .test_find_packages import ensure_files - - -class TestModuleFinder: - def find(self, path, *args, **kwargs): - return set(ModuleFinder.find(str(path), *args, **kwargs)) - - EXAMPLES = { - # circumstance: (files, kwargs, expected_modules) - "simple_folder": ( - ["file.py", "other.py"], - {}, # kwargs - ["file", "other"], - ), - "exclude": ( - ["file.py", "other.py"], - {"exclude": ["f*"]}, - ["other"], - ), - "include": ( - ["file.py", "fole.py", "other.py"], - {"include": ["f*"], "exclude": ["fo*"]}, - ["file"], - ), - "invalid-name": (["my-file.py", "other.file.py"], {}, []), - } - - @pytest.mark.parametrize("example", EXAMPLES.keys()) - def test_finder(self, tmp_path, example): - files, kwargs, expected_modules = self.EXAMPLES[example] - ensure_files(tmp_path, files) - assert self.find(tmp_path, **kwargs) == set(expected_modules) - - @pytest.mark.skipif(not os_helper.can_symlink(), reason='Symlink support required') - def test_symlinked_packages_are_included(self, tmp_path): - src = "_myfiles/file.py" - ensure_files(tmp_path, [src]) - os.symlink(tmp_path / src, tmp_path / "link.py") - assert self.find(tmp_path) == {"link"} - - -class TestFlatLayoutModuleFinder: - def find(self, path, *args, **kwargs): - return set(FlatLayoutModuleFinder.find(str(path))) - - EXAMPLES = { - # circumstance: (files, expected_modules) - "hidden-files": ([".module.py"], []), - "private-modules": (["_module.py"], []), - "common-names": ( - ["setup.py", "conftest.py", "test.py", "tests.py", "example.py", "mod.py"], - ["mod"], - ), - "tool-specific": ( - ["tasks.py", "fabfile.py", "noxfile.py", "dodo.py", "manage.py", "mod.py"], - ["mod"], - ), - } - - @pytest.mark.parametrize("example", EXAMPLES.keys()) - def test_unwanted_files_not_included(self, tmp_path, example): - files, expected_modules = self.EXAMPLES[example] - ensure_files(tmp_path, files) - assert self.find(tmp_path) == set(expected_modules) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_glob.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_glob.py deleted file mode 100644 index 8d225a44..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_glob.py +++ /dev/null @@ -1,45 +0,0 @@ -import pytest -from jaraco import path - -from setuptools.glob import glob - - -@pytest.mark.parametrize( - ('tree', 'pattern', 'matches'), - ( - ('', b'', []), - ('', '', []), - ( - """ - appveyor.yml - CHANGES.rst - LICENSE - MANIFEST.in - pyproject.toml - README.rst - setup.cfg - setup.py - """, - '*.rst', - ('CHANGES.rst', 'README.rst'), - ), - ( - """ - appveyor.yml - CHANGES.rst - LICENSE - MANIFEST.in - pyproject.toml - README.rst - setup.cfg - setup.py - """, - b'*.rst', - (b'CHANGES.rst', b'README.rst'), - ), - ), -) -def test_glob(monkeypatch, tmpdir, tree, pattern, matches): - monkeypatch.chdir(tmpdir) - path.build({name: '' for name in tree.split()}) - assert list(sorted(glob(pattern))) == list(sorted(matches)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_install_scripts.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_install_scripts.py deleted file mode 100644 index 2ae54965..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_install_scripts.py +++ /dev/null @@ -1,89 +0,0 @@ -"""install_scripts tests""" - -import sys - -import pytest - -from setuptools.command.install_scripts import install_scripts -from setuptools.dist import Distribution - -from . import contexts - - -class TestInstallScripts: - settings = dict( - name='foo', - entry_points={'console_scripts': ['foo=foo:foo']}, - version='0.0', - ) - unix_exe = '/usr/dummy-test-path/local/bin/python' - unix_spaces_exe = '/usr/bin/env dummy-test-python' - win32_exe = 'C:\\Dummy Test Path\\Program Files\\Python 3.6\\python.exe' - - def _run_install_scripts(self, install_dir, executable=None): - dist = Distribution(self.settings) - dist.script_name = 'setup.py' - cmd = install_scripts(dist) - cmd.install_dir = install_dir - if executable is not None: - bs = cmd.get_finalized_command('build_scripts') - bs.executable = executable - cmd.ensure_finalized() - with contexts.quiet(): - cmd.run() - - @pytest.mark.skipif(sys.platform == 'win32', reason='non-Windows only') - def test_sys_executable_escaping_unix(self, tmpdir, monkeypatch): - """ - Ensure that shebang is not quoted on Unix when getting the Python exe - from sys.executable. - """ - expected = '#!%s\n' % self.unix_exe - monkeypatch.setattr('sys.executable', self.unix_exe) - with tmpdir.as_cwd(): - self._run_install_scripts(str(tmpdir)) - with open(str(tmpdir.join('foo')), 'r', encoding="utf-8") as f: - actual = f.readline() - assert actual == expected - - @pytest.mark.skipif(sys.platform != 'win32', reason='Windows only') - def test_sys_executable_escaping_win32(self, tmpdir, monkeypatch): - """ - Ensure that shebang is quoted on Windows when getting the Python exe - from sys.executable and it contains a space. - """ - expected = '#!"%s"\n' % self.win32_exe - monkeypatch.setattr('sys.executable', self.win32_exe) - with tmpdir.as_cwd(): - self._run_install_scripts(str(tmpdir)) - with open(str(tmpdir.join('foo-script.py')), 'r', encoding="utf-8") as f: - actual = f.readline() - assert actual == expected - - @pytest.mark.skipif(sys.platform == 'win32', reason='non-Windows only') - def test_executable_with_spaces_escaping_unix(self, tmpdir): - """ - Ensure that shebang on Unix is not quoted, even when - a value with spaces - is specified using --executable. - """ - expected = '#!%s\n' % self.unix_spaces_exe - with tmpdir.as_cwd(): - self._run_install_scripts(str(tmpdir), self.unix_spaces_exe) - with open(str(tmpdir.join('foo')), 'r', encoding="utf-8") as f: - actual = f.readline() - assert actual == expected - - @pytest.mark.skipif(sys.platform != 'win32', reason='Windows only') - def test_executable_arg_escaping_win32(self, tmpdir): - """ - Ensure that shebang on Windows is quoted when - getting a path with spaces - from --executable, that is itself properly quoted. - """ - expected = '#!"%s"\n' % self.win32_exe - with tmpdir.as_cwd(): - self._run_install_scripts(str(tmpdir), '"' + self.win32_exe + '"') - with open(str(tmpdir.join('foo-script.py')), 'r', encoding="utf-8") as f: - actual = f.readline() - assert actual == expected diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_logging.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_logging.py deleted file mode 100644 index ea58001e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_logging.py +++ /dev/null @@ -1,76 +0,0 @@ -import functools -import inspect -import logging -import sys - -import pytest - -IS_PYPY = '__pypy__' in sys.builtin_module_names - - -setup_py = """\ -from setuptools import setup - -setup( - name="test_logging", - version="0.0" -) -""" - - -@pytest.mark.parametrize( - ('flag', 'expected_level'), [("--dry-run", "INFO"), ("--verbose", "DEBUG")] -) -def test_verbosity_level(tmp_path, monkeypatch, flag, expected_level): - """Make sure the correct verbosity level is set (issue #3038)""" - import setuptools # noqa: F401 # import setuptools to monkeypatch distutils - - import distutils # <- load distutils after all the patches take place - - logger = logging.Logger(__name__) - monkeypatch.setattr(logging, "root", logger) - unset_log_level = logger.getEffectiveLevel() - assert logging.getLevelName(unset_log_level) == "NOTSET" - - setup_script = tmp_path / "setup.py" - setup_script.write_text(setup_py, encoding="utf-8") - dist = distutils.core.run_setup(setup_script, stop_after="init") - dist.script_args = [flag, "sdist"] - dist.parse_command_line() # <- where the log level is set - log_level = logger.getEffectiveLevel() - log_level_name = logging.getLevelName(log_level) - assert log_level_name == expected_level - - -def flaky_on_pypy(func): - @functools.wraps(func) - def _func(): - try: - func() - except AssertionError: # pragma: no cover - if IS_PYPY: - msg = "Flaky monkeypatch on PyPy (#4124)" - pytest.xfail(f"{msg}. Original discussion in #3707, #3709.") - raise - - return _func - - -@flaky_on_pypy -def test_patching_does_not_cause_problems(): - # Ensure `dist.log` is only patched if necessary - - import _distutils_hack - - import setuptools.logging - - from distutils import dist - - setuptools.logging.configure() - - if _distutils_hack.enabled(): - # Modern logging infra, no problematic patching. - assert dist.__file__ is None or "setuptools" in dist.__file__ - assert isinstance(dist.log, logging.Logger) - else: - assert inspect.ismodule(dist.log) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_manifest.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_manifest.py deleted file mode 100644 index ad988d2c..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_manifest.py +++ /dev/null @@ -1,625 +0,0 @@ -"""sdist tests""" - -from __future__ import annotations - -import contextlib -import io -import itertools -import logging -import os -import shutil -import sys -import tempfile - -import pytest - -from setuptools.command.egg_info import FileList, egg_info, translate_pattern -from setuptools.dist import Distribution -from setuptools.tests.textwrap import DALS - -from distutils import log -from distutils.errors import DistutilsTemplateError - -IS_PYPY = '__pypy__' in sys.builtin_module_names - - -def make_local_path(s): - """Converts '/' in a string to os.sep""" - return s.replace('/', os.sep) - - -SETUP_ATTRS = { - 'name': 'app', - 'version': '0.0', - 'packages': ['app'], -} - -SETUP_PY = ( - """\ -from setuptools import setup - -setup(**%r) -""" - % SETUP_ATTRS -) - - -@contextlib.contextmanager -def quiet(): - old_stdout, old_stderr = sys.stdout, sys.stderr - sys.stdout, sys.stderr = io.StringIO(), io.StringIO() - try: - yield - finally: - sys.stdout, sys.stderr = old_stdout, old_stderr - - -def touch(filename): - open(filename, 'wb').close() - - -# The set of files always in the manifest, including all files in the -# .egg-info directory -default_files = frozenset( - map( - make_local_path, - [ - 'README.rst', - 'MANIFEST.in', - 'setup.py', - 'app.egg-info/PKG-INFO', - 'app.egg-info/SOURCES.txt', - 'app.egg-info/dependency_links.txt', - 'app.egg-info/top_level.txt', - 'app/__init__.py', - ], - ) -) - - -translate_specs: list[tuple[str, list[str], list[str]]] = [ - ('foo', ['foo'], ['bar', 'foobar']), - ('foo/bar', ['foo/bar'], ['foo/bar/baz', './foo/bar', 'foo']), - # Glob matching - ('*.txt', ['foo.txt', 'bar.txt'], ['foo/foo.txt']), - ('dir/*.txt', ['dir/foo.txt', 'dir/bar.txt', 'dir/.txt'], ['notdir/foo.txt']), - ('*/*.py', ['bin/start.py'], []), - ('docs/page-?.txt', ['docs/page-9.txt'], ['docs/page-10.txt']), - # Globstars change what they mean depending upon where they are - ( - 'foo/**/bar', - ['foo/bing/bar', 'foo/bing/bang/bar', 'foo/bar'], - ['foo/abar'], - ), - ( - 'foo/**', - ['foo/bar/bing.py', 'foo/x'], - ['/foo/x'], - ), - ( - '**', - ['x', 'abc/xyz', '@nything'], - [], - ), - # Character classes - ( - 'pre[one]post', - ['preopost', 'prenpost', 'preepost'], - ['prepost', 'preonepost'], - ), - ( - 'hello[!one]world', - ['helloxworld', 'helloyworld'], - ['hellooworld', 'helloworld', 'hellooneworld'], - ), - ( - '[]one].txt', - ['o.txt', '].txt', 'e.txt'], - ['one].txt'], - ), - ( - 'foo[!]one]bar', - ['fooybar'], - ['foo]bar', 'fooobar', 'fooebar'], - ), -] -""" -A spec of inputs for 'translate_pattern' and matches and mismatches -for that input. -""" - -match_params = itertools.chain.from_iterable( - zip(itertools.repeat(pattern), matches) - for pattern, matches, mismatches in translate_specs -) - - -@pytest.fixture(params=match_params) -def pattern_match(request): - return map(make_local_path, request.param) - - -mismatch_params = itertools.chain.from_iterable( - zip(itertools.repeat(pattern), mismatches) - for pattern, matches, mismatches in translate_specs -) - - -@pytest.fixture(params=mismatch_params) -def pattern_mismatch(request): - return map(make_local_path, request.param) - - -def test_translated_pattern_match(pattern_match): - pattern, target = pattern_match - assert translate_pattern(pattern).match(target) - - -def test_translated_pattern_mismatch(pattern_mismatch): - pattern, target = pattern_mismatch - assert not translate_pattern(pattern).match(target) - - -class TempDirTestCase: - def setup_method(self, method): - self.temp_dir = tempfile.mkdtemp() - self.old_cwd = os.getcwd() - os.chdir(self.temp_dir) - - def teardown_method(self, method): - os.chdir(self.old_cwd) - shutil.rmtree(self.temp_dir) - - -class TestManifestTest(TempDirTestCase): - def setup_method(self, method): - super().setup_method(method) - - f = open(os.path.join(self.temp_dir, 'setup.py'), 'w', encoding="utf-8") - f.write(SETUP_PY) - f.close() - """ - Create a file tree like: - - LICENSE - - README.rst - - testing.rst - - .hidden.rst - - app/ - - __init__.py - - a.txt - - b.txt - - c.rst - - static/ - - app.js - - app.js.map - - app.css - - app.css.map - """ - - for fname in ['README.rst', '.hidden.rst', 'testing.rst', 'LICENSE']: - touch(os.path.join(self.temp_dir, fname)) - - # Set up the rest of the test package - test_pkg = os.path.join(self.temp_dir, 'app') - os.mkdir(test_pkg) - for fname in ['__init__.py', 'a.txt', 'b.txt', 'c.rst']: - touch(os.path.join(test_pkg, fname)) - - # Some compiled front-end assets to include - static = os.path.join(test_pkg, 'static') - os.mkdir(static) - for fname in ['app.js', 'app.js.map', 'app.css', 'app.css.map']: - touch(os.path.join(static, fname)) - - def make_manifest(self, contents): - """Write a MANIFEST.in.""" - manifest = os.path.join(self.temp_dir, 'MANIFEST.in') - with open(manifest, 'w', encoding="utf-8") as f: - f.write(DALS(contents)) - - def get_files(self): - """Run egg_info and get all the files to include, as a set""" - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'setup.py' - cmd = egg_info(dist) - cmd.ensure_finalized() - - cmd.run() - - return set(cmd.filelist.files) - - def test_no_manifest(self): - """Check a missing MANIFEST.in includes only the standard files.""" - assert (default_files - set(['MANIFEST.in'])) == self.get_files() - - def test_empty_files(self): - """Check an empty MANIFEST.in includes only the standard files.""" - self.make_manifest("") - assert default_files == self.get_files() - - def test_include(self): - """Include extra rst files in the project root.""" - self.make_manifest("include *.rst") - files = default_files | set(['testing.rst', '.hidden.rst']) - assert files == self.get_files() - - def test_exclude(self): - """Include everything in app/ except the text files""" - ml = make_local_path - self.make_manifest( - """ - include app/* - exclude app/*.txt - """ - ) - files = default_files | set([ml('app/c.rst')]) - assert files == self.get_files() - - def test_include_multiple(self): - """Include with multiple patterns.""" - ml = make_local_path - self.make_manifest("include app/*.txt app/static/*") - files = default_files | set([ - ml('app/a.txt'), - ml('app/b.txt'), - ml('app/static/app.js'), - ml('app/static/app.js.map'), - ml('app/static/app.css'), - ml('app/static/app.css.map'), - ]) - assert files == self.get_files() - - def test_graft(self): - """Include the whole app/static/ directory.""" - ml = make_local_path - self.make_manifest("graft app/static") - files = default_files | set([ - ml('app/static/app.js'), - ml('app/static/app.js.map'), - ml('app/static/app.css'), - ml('app/static/app.css.map'), - ]) - assert files == self.get_files() - - def test_graft_glob_syntax(self): - """Include the whole app/static/ directory.""" - ml = make_local_path - self.make_manifest("graft */static") - files = default_files | set([ - ml('app/static/app.js'), - ml('app/static/app.js.map'), - ml('app/static/app.css'), - ml('app/static/app.css.map'), - ]) - assert files == self.get_files() - - def test_graft_global_exclude(self): - """Exclude all *.map files in the project.""" - ml = make_local_path - self.make_manifest( - """ - graft app/static - global-exclude *.map - """ - ) - files = default_files | set([ml('app/static/app.js'), ml('app/static/app.css')]) - assert files == self.get_files() - - def test_global_include(self): - """Include all *.rst, *.js, and *.css files in the whole tree.""" - ml = make_local_path - self.make_manifest( - """ - global-include *.rst *.js *.css - """ - ) - files = default_files | set([ - '.hidden.rst', - 'testing.rst', - ml('app/c.rst'), - ml('app/static/app.js'), - ml('app/static/app.css'), - ]) - assert files == self.get_files() - - def test_graft_prune(self): - """Include all files in app/, except for the whole app/static/ dir.""" - ml = make_local_path - self.make_manifest( - """ - graft app - prune app/static - """ - ) - files = default_files | set([ml('app/a.txt'), ml('app/b.txt'), ml('app/c.rst')]) - assert files == self.get_files() - - -class TestFileListTest(TempDirTestCase): - """ - A copy of the relevant bits of distutils/tests/test_filelist.py, - to ensure setuptools' version of FileList keeps parity with distutils. - """ - - @pytest.fixture(autouse=os.getenv("SETUPTOOLS_USE_DISTUTILS") == "stdlib") - def _compat_record_logs(self, monkeypatch, caplog): - """Account for stdlib compatibility""" - - def _log(_logger, level, msg, args): - exc = sys.exc_info() - rec = logging.LogRecord("distutils", level, "", 0, msg, args, exc) - caplog.records.append(rec) - - monkeypatch.setattr(log.Log, "_log", _log) - - def get_records(self, caplog, *levels): - return [r for r in caplog.records if r.levelno in levels] - - def assertNoWarnings(self, caplog): - assert self.get_records(caplog, log.WARN) == [] - caplog.clear() - - def assertWarnings(self, caplog): - if IS_PYPY and not caplog.records: - pytest.xfail("caplog checks may not work well in PyPy") - else: - assert len(self.get_records(caplog, log.WARN)) > 0 - caplog.clear() - - def make_files(self, files): - for file in files: - file = os.path.join(self.temp_dir, file) - dirname, _basename = os.path.split(file) - os.makedirs(dirname, exist_ok=True) - touch(file) - - def test_process_template_line(self): - # testing all MANIFEST.in template patterns - file_list = FileList() - ml = make_local_path - - # simulated file list - self.make_files([ - 'foo.tmp', - 'ok', - 'xo', - 'four.txt', - 'buildout.cfg', - # filelist does not filter out VCS directories, - # it's sdist that does - ml('.hg/last-message.txt'), - ml('global/one.txt'), - ml('global/two.txt'), - ml('global/files.x'), - ml('global/here.tmp'), - ml('f/o/f.oo'), - ml('dir/graft-one'), - ml('dir/dir2/graft2'), - ml('dir3/ok'), - ml('dir3/sub/ok.txt'), - ]) - - MANIFEST_IN = DALS( - """\ - include ok - include xo - exclude xo - include foo.tmp - include buildout.cfg - global-include *.x - global-include *.txt - global-exclude *.tmp - recursive-include f *.oo - recursive-exclude global *.x - graft dir - prune dir3 - """ - ) - - for line in MANIFEST_IN.split('\n'): - if not line: - continue - file_list.process_template_line(line) - - wanted = [ - 'buildout.cfg', - 'four.txt', - 'ok', - ml('.hg/last-message.txt'), - ml('dir/graft-one'), - ml('dir/dir2/graft2'), - ml('f/o/f.oo'), - ml('global/one.txt'), - ml('global/two.txt'), - ] - - file_list.sort() - assert file_list.files == wanted - - def test_exclude_pattern(self): - # return False if no match - file_list = FileList() - assert not file_list.exclude_pattern('*.py') - - # return True if files match - file_list = FileList() - file_list.files = ['a.py', 'b.py'] - assert file_list.exclude_pattern('*.py') - - # test excludes - file_list = FileList() - file_list.files = ['a.py', 'a.txt'] - file_list.exclude_pattern('*.py') - file_list.sort() - assert file_list.files == ['a.txt'] - - def test_include_pattern(self): - # return False if no match - file_list = FileList() - self.make_files([]) - assert not file_list.include_pattern('*.py') - - # return True if files match - file_list = FileList() - self.make_files(['a.py', 'b.txt']) - assert file_list.include_pattern('*.py') - - # test * matches all files - file_list = FileList() - self.make_files(['a.py', 'b.txt']) - file_list.include_pattern('*') - file_list.sort() - assert file_list.files == ['a.py', 'b.txt'] - - def test_process_template_line_invalid(self): - # invalid lines - file_list = FileList() - for action in ( - 'include', - 'exclude', - 'global-include', - 'global-exclude', - 'recursive-include', - 'recursive-exclude', - 'graft', - 'prune', - 'blarg', - ): - with pytest.raises(DistutilsTemplateError): - file_list.process_template_line(action) - - def test_include(self, caplog): - caplog.set_level(logging.DEBUG) - ml = make_local_path - # include - file_list = FileList() - self.make_files(['a.py', 'b.txt', ml('d/c.py')]) - - file_list.process_template_line('include *.py') - file_list.sort() - assert file_list.files == ['a.py'] - self.assertNoWarnings(caplog) - - file_list.process_template_line('include *.rb') - file_list.sort() - assert file_list.files == ['a.py'] - self.assertWarnings(caplog) - - def test_exclude(self, caplog): - caplog.set_level(logging.DEBUG) - ml = make_local_path - # exclude - file_list = FileList() - file_list.files = ['a.py', 'b.txt', ml('d/c.py')] - - file_list.process_template_line('exclude *.py') - file_list.sort() - assert file_list.files == ['b.txt', ml('d/c.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('exclude *.rb') - file_list.sort() - assert file_list.files == ['b.txt', ml('d/c.py')] - self.assertWarnings(caplog) - - def test_global_include(self, caplog): - caplog.set_level(logging.DEBUG) - ml = make_local_path - # global-include - file_list = FileList() - self.make_files(['a.py', 'b.txt', ml('d/c.py')]) - - file_list.process_template_line('global-include *.py') - file_list.sort() - assert file_list.files == ['a.py', ml('d/c.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('global-include *.rb') - file_list.sort() - assert file_list.files == ['a.py', ml('d/c.py')] - self.assertWarnings(caplog) - - def test_global_exclude(self, caplog): - caplog.set_level(logging.DEBUG) - ml = make_local_path - # global-exclude - file_list = FileList() - file_list.files = ['a.py', 'b.txt', ml('d/c.py')] - - file_list.process_template_line('global-exclude *.py') - file_list.sort() - assert file_list.files == ['b.txt'] - self.assertNoWarnings(caplog) - - file_list.process_template_line('global-exclude *.rb') - file_list.sort() - assert file_list.files == ['b.txt'] - self.assertWarnings(caplog) - - def test_recursive_include(self, caplog): - caplog.set_level(logging.DEBUG) - ml = make_local_path - # recursive-include - file_list = FileList() - self.make_files(['a.py', ml('d/b.py'), ml('d/c.txt'), ml('d/d/e.py')]) - - file_list.process_template_line('recursive-include d *.py') - file_list.sort() - assert file_list.files == [ml('d/b.py'), ml('d/d/e.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('recursive-include e *.py') - file_list.sort() - assert file_list.files == [ml('d/b.py'), ml('d/d/e.py')] - self.assertWarnings(caplog) - - def test_recursive_exclude(self, caplog): - caplog.set_level(logging.DEBUG) - ml = make_local_path - # recursive-exclude - file_list = FileList() - file_list.files = ['a.py', ml('d/b.py'), ml('d/c.txt'), ml('d/d/e.py')] - - file_list.process_template_line('recursive-exclude d *.py') - file_list.sort() - assert file_list.files == ['a.py', ml('d/c.txt')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('recursive-exclude e *.py') - file_list.sort() - assert file_list.files == ['a.py', ml('d/c.txt')] - self.assertWarnings(caplog) - - def test_graft(self, caplog): - caplog.set_level(logging.DEBUG) - ml = make_local_path - # graft - file_list = FileList() - self.make_files(['a.py', ml('d/b.py'), ml('d/d/e.py'), ml('f/f.py')]) - - file_list.process_template_line('graft d') - file_list.sort() - assert file_list.files == [ml('d/b.py'), ml('d/d/e.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('graft e') - file_list.sort() - assert file_list.files == [ml('d/b.py'), ml('d/d/e.py')] - self.assertWarnings(caplog) - - def test_prune(self, caplog): - caplog.set_level(logging.DEBUG) - ml = make_local_path - # prune - file_list = FileList() - file_list.files = ['a.py', ml('d/b.py'), ml('d/d/e.py'), ml('f/f.py')] - - file_list.process_template_line('prune d') - file_list.sort() - assert file_list.files == ['a.py', ml('f/f.py')] - self.assertNoWarnings(caplog) - - file_list.process_template_line('prune e') - file_list.sort() - assert file_list.files == ['a.py', ml('f/f.py')] - self.assertWarnings(caplog) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_namespaces.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_namespaces.py deleted file mode 100644 index a0f4120b..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_namespaces.py +++ /dev/null @@ -1,138 +0,0 @@ -import subprocess -import sys - -from setuptools._path import paths_on_pythonpath - -from . import namespaces - - -class TestNamespaces: - def test_mixed_site_and_non_site(self, tmpdir): - """ - Installing two packages sharing the same namespace, one installed - to a site dir and the other installed just to a path on PYTHONPATH - should leave the namespace in tact and both packages reachable by - import. - """ - pkg_A = namespaces.build_namespace_package(tmpdir, 'myns.pkgA') - pkg_B = namespaces.build_namespace_package(tmpdir, 'myns.pkgB') - site_packages = tmpdir / 'site-packages' - path_packages = tmpdir / 'path-packages' - targets = site_packages, path_packages - # use pip to install to the target directory - install_cmd = [ - sys.executable, - '-m', - 'pip.__main__', - 'install', - str(pkg_A), - '-t', - str(site_packages), - ] - subprocess.check_call(install_cmd) - namespaces.make_site_dir(site_packages) - install_cmd = [ - sys.executable, - '-m', - 'pip.__main__', - 'install', - str(pkg_B), - '-t', - str(path_packages), - ] - subprocess.check_call(install_cmd) - try_import = [ - sys.executable, - '-c', - 'import myns.pkgA; import myns.pkgB', - ] - with paths_on_pythonpath(map(str, targets)): - subprocess.check_call(try_import) - - def test_pkg_resources_import(self, tmpdir): - """ - Ensure that a namespace package doesn't break on import - of pkg_resources. - """ - pkg = namespaces.build_namespace_package(tmpdir, 'myns.pkgA') - target = tmpdir / 'packages' - target.mkdir() - install_cmd = [ - sys.executable, - '-m', - 'pip', - 'install', - '-t', - str(target), - str(pkg), - ] - with paths_on_pythonpath([str(target)]): - subprocess.check_call(install_cmd) - namespaces.make_site_dir(target) - try_import = [ - sys.executable, - '-c', - 'import pkg_resources', - ] - with paths_on_pythonpath([str(target)]): - subprocess.check_call(try_import) - - def test_namespace_package_installed_and_cwd(self, tmpdir): - """ - Installing a namespace packages but also having it in the current - working directory, only one version should take precedence. - """ - pkg_A = namespaces.build_namespace_package(tmpdir, 'myns.pkgA') - target = tmpdir / 'packages' - # use pip to install to the target directory - install_cmd = [ - sys.executable, - '-m', - 'pip.__main__', - 'install', - str(pkg_A), - '-t', - str(target), - ] - subprocess.check_call(install_cmd) - namespaces.make_site_dir(target) - - # ensure that package imports and pkg_resources imports - pkg_resources_imp = [ - sys.executable, - '-c', - 'import pkg_resources; import myns.pkgA', - ] - with paths_on_pythonpath([str(target)]): - subprocess.check_call(pkg_resources_imp, cwd=str(pkg_A)) - - def test_packages_in_the_same_namespace_installed_and_cwd(self, tmpdir): - """ - Installing one namespace package and also have another in the same - namespace in the current working directory, both of them must be - importable. - """ - pkg_A = namespaces.build_namespace_package(tmpdir, 'myns.pkgA') - pkg_B = namespaces.build_namespace_package(tmpdir, 'myns.pkgB') - target = tmpdir / 'packages' - # use pip to install to the target directory - install_cmd = [ - sys.executable, - '-m', - 'pip.__main__', - 'install', - str(pkg_A), - '-t', - str(target), - ] - subprocess.check_call(install_cmd) - namespaces.make_site_dir(target) - - # ensure that all packages import and pkg_resources imports - pkg_resources_imp = [ - sys.executable, - '-c', - 'import pkg_resources; import myns.pkgA; import myns.pkgB', - ] - with paths_on_pythonpath([str(target)]): - subprocess.check_call(pkg_resources_imp, cwd=str(pkg_B)) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_packageindex.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_packageindex.py deleted file mode 100644 index 2a6e5917..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_packageindex.py +++ /dev/null @@ -1,267 +0,0 @@ -import http.client -import re -import urllib.error -import urllib.request -from inspect import cleandoc - -import pytest - -import setuptools.package_index - -import distutils.errors - - -class TestPackageIndex: - def test_regex(self): - hash_url = 'http://other_url?:action=show_md5&' - hash_url += 'digest=0123456789abcdef0123456789abcdef' - doc = """ - Name - (md5) - """.lstrip().format(**locals()) - assert setuptools.package_index.PYPI_MD5.match(doc) - - def test_bad_url_bad_port(self): - index = setuptools.package_index.PackageIndex() - url = 'http://127.0.0.1:0/nonesuch/test_package_index' - with pytest.raises(Exception, match=re.escape(url)): - v = index.open_url(url) - assert isinstance(v, urllib.error.HTTPError) - - def test_bad_url_typo(self): - # issue 16 - # easy_install inquant.contentmirror.plone breaks because of a typo - # in its home URL - index = setuptools.package_index.PackageIndex(hosts=('www.example.com',)) - - url = 'url:%20https://svn.plone.org/svn/collective/inquant.contentmirror.plone/trunk' - - with pytest.raises(Exception, match=re.escape(url)): - v = index.open_url(url) - assert isinstance(v, urllib.error.HTTPError) - - def test_bad_url_bad_status_line(self): - index = setuptools.package_index.PackageIndex(hosts=('www.example.com',)) - - def _urlopen(*args): - raise http.client.BadStatusLine('line') - - index.opener = _urlopen - url = 'http://example.com' - with pytest.raises(Exception, match=r'line'): - index.open_url(url) - - def test_bad_url_double_scheme(self): - """ - A bad URL with a double scheme should raise a DistutilsError. - """ - index = setuptools.package_index.PackageIndex(hosts=('www.example.com',)) - - # issue 20 - url = 'http://http://svn.pythonpaste.org/Paste/wphp/trunk' - try: - index.open_url(url) - except distutils.errors.DistutilsError as error: - msg = str(error) - assert ( - 'nonnumeric port' in msg - or 'getaddrinfo failed' in msg - or 'Name or service not known' in msg - ) - return - raise RuntimeError("Did not raise") - - def test_url_ok(self): - index = setuptools.package_index.PackageIndex(hosts=('www.example.com',)) - url = 'file:///tmp/test_package_index' - assert index.url_ok(url, True) - - def test_parse_bdist_wininst(self): - parse = setuptools.package_index.parse_bdist_wininst - - actual = parse('reportlab-2.5.win32-py2.4.exe') - expected = 'reportlab-2.5', '2.4', 'win32' - assert actual == expected - - actual = parse('reportlab-2.5.win32.exe') - expected = 'reportlab-2.5', None, 'win32' - assert actual == expected - - actual = parse('reportlab-2.5.win-amd64-py2.7.exe') - expected = 'reportlab-2.5', '2.7', 'win-amd64' - assert actual == expected - - actual = parse('reportlab-2.5.win-amd64.exe') - expected = 'reportlab-2.5', None, 'win-amd64' - assert actual == expected - - def test__vcs_split_rev_from_url(self): - """ - Test the basic usage of _vcs_split_rev_from_url - """ - vsrfu = setuptools.package_index.PackageIndex._vcs_split_rev_from_url - url, rev = vsrfu('https://example.com/bar@2995') - assert url == 'https://example.com/bar' - assert rev == '2995' - - def test_local_index(self, tmpdir): - """ - local_open should be able to read an index from the file system. - """ - index_file = tmpdir / 'index.html' - with index_file.open('w') as f: - f.write('
content
') - url = 'file:' + urllib.request.pathname2url(str(tmpdir)) + '/' - res = setuptools.package_index.local_open(url) - assert 'content' in res.read() - - def test_egg_fragment(self): - """ - EGG fragments must comply to PEP 440 - """ - epoch = [ - '', - '1!', - ] - releases = [ - '0', - '0.0', - '0.0.0', - ] - pre = [ - 'a0', - 'b0', - 'rc0', - ] - post = ['.post0'] - dev = [ - '.dev0', - ] - local = [ - ('', ''), - ('+ubuntu.0', '+ubuntu.0'), - ('+ubuntu-0', '+ubuntu.0'), - ('+ubuntu_0', '+ubuntu.0'), - ] - versions = [ - [''.join([e, r, p, loc]) for loc in locs] - for e in epoch - for r in releases - for p in sum([pre, post, dev], ['']) - for locs in local - ] - for v, vc in versions: - dists = list( - setuptools.package_index.distros_for_url( - 'http://example.com/example-foo.zip#egg=example-foo-' + v - ) - ) - assert dists[0].version == '' - assert dists[1].version == vc - - def test_download_git_with_rev(self, tmp_path, fp): - url = 'git+https://github.example/group/project@master#egg=foo' - index = setuptools.package_index.PackageIndex() - - expected_dir = tmp_path / 'project@master' - fp.register([ - 'git', - 'clone', - '--quiet', - 'https://github.example/group/project', - expected_dir, - ]) - fp.register(['git', '-C', expected_dir, 'checkout', '--quiet', 'master']) - - result = index.download(url, tmp_path) - - assert result == str(expected_dir) - assert len(fp.calls) == 2 - - def test_download_git_no_rev(self, tmp_path, fp): - url = 'git+https://github.example/group/project#egg=foo' - index = setuptools.package_index.PackageIndex() - - expected_dir = tmp_path / 'project' - fp.register([ - 'git', - 'clone', - '--quiet', - 'https://github.example/group/project', - expected_dir, - ]) - index.download(url, tmp_path) - - def test_download_svn(self, tmp_path): - url = 'svn+https://svn.example/project#egg=foo' - index = setuptools.package_index.PackageIndex() - - msg = r".*SVN download is not supported.*" - with pytest.raises(distutils.errors.DistutilsError, match=msg): - index.download(url, tmp_path) - - -class TestContentCheckers: - def test_md5(self): - checker = setuptools.package_index.HashChecker.from_url( - 'http://foo/bar#md5=f12895fdffbd45007040d2e44df98478' - ) - checker.feed('You should probably not be using MD5'.encode('ascii')) - assert checker.hash.hexdigest() == 'f12895fdffbd45007040d2e44df98478' - assert checker.is_valid() - - def test_other_fragment(self): - "Content checks should succeed silently if no hash is present" - checker = setuptools.package_index.HashChecker.from_url( - 'http://foo/bar#something%20completely%20different' - ) - checker.feed('anything'.encode('ascii')) - assert checker.is_valid() - - def test_blank_md5(self): - "Content checks should succeed if a hash is empty" - checker = setuptools.package_index.HashChecker.from_url('http://foo/bar#md5=') - checker.feed('anything'.encode('ascii')) - assert checker.is_valid() - - def test_get_hash_name_md5(self): - checker = setuptools.package_index.HashChecker.from_url( - 'http://foo/bar#md5=f12895fdffbd45007040d2e44df98478' - ) - assert checker.hash_name == 'md5' - - def test_report(self): - checker = setuptools.package_index.HashChecker.from_url( - 'http://foo/bar#md5=f12895fdffbd45007040d2e44df98478' - ) - rep = checker.report(lambda x: x, 'My message about %s') - assert rep == 'My message about md5' - - -class TestPyPIConfig: - def test_percent_in_password(self, tmp_home_dir): - pypirc = tmp_home_dir / '.pypirc' - pypirc.write_text( - cleandoc( - """ - [pypi] - repository=https://pypi.org - username=jaraco - password=pity% - """ - ), - encoding="utf-8", - ) - cfg = setuptools.package_index.PyPIConfig() - cred = cfg.creds_by_repository['https://pypi.org'] - assert cred.username == 'jaraco' - assert cred.password == 'pity%' - - -@pytest.mark.timeout(1) -def test_REL_DoS(): - """ - REL should not hang on a contrived attack string. - """ - setuptools.package_index.REL.search('< rel=' + ' ' * 2**12) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_sandbox.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_sandbox.py deleted file mode 100644 index 20db6baa..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_sandbox.py +++ /dev/null @@ -1,134 +0,0 @@ -"""develop tests""" - -import os -import types - -import pytest - -import pkg_resources -import setuptools.sandbox - - -class TestSandbox: - def test_devnull(self, tmpdir): - with setuptools.sandbox.DirectorySandbox(str(tmpdir)): - self._file_writer(os.devnull) - - @staticmethod - def _file_writer(path): - def do_write(): - with open(path, 'w', encoding="utf-8") as f: - f.write('xxx') - - return do_write - - def test_setup_py_with_BOM(self): - """ - It should be possible to execute a setup.py with a Byte Order Mark - """ - target = pkg_resources.resource_filename(__name__, 'script-with-bom.py') - namespace = types.ModuleType('namespace') - setuptools.sandbox._execfile(target, vars(namespace)) - assert namespace.result == 'passed' - - def test_setup_py_with_CRLF(self, tmpdir): - setup_py = tmpdir / 'setup.py' - with setup_py.open('wb') as stream: - stream.write(b'"degenerate script"\r\n') - setuptools.sandbox._execfile(str(setup_py), globals()) - - -class TestExceptionSaver: - def test_exception_trapped(self): - with setuptools.sandbox.ExceptionSaver(): - raise ValueError("details") - - def test_exception_resumed(self): - with setuptools.sandbox.ExceptionSaver() as saved_exc: - raise ValueError("details") - - with pytest.raises(ValueError) as caught: - saved_exc.resume() - - assert isinstance(caught.value, ValueError) - assert str(caught.value) == 'details' - - def test_exception_reconstructed(self): - orig_exc = ValueError("details") - - with setuptools.sandbox.ExceptionSaver() as saved_exc: - raise orig_exc - - with pytest.raises(ValueError) as caught: - saved_exc.resume() - - assert isinstance(caught.value, ValueError) - assert caught.value is not orig_exc - - def test_no_exception_passes_quietly(self): - with setuptools.sandbox.ExceptionSaver() as saved_exc: - pass - - saved_exc.resume() - - def test_unpickleable_exception(self): - class CantPickleThis(Exception): - "This Exception is unpickleable because it's not in globals" - - def __repr__(self) -> str: - return 'CantPickleThis%r' % (self.args,) - - with setuptools.sandbox.ExceptionSaver() as saved_exc: - raise CantPickleThis('detail') - - with pytest.raises(setuptools.sandbox.UnpickleableException) as caught: - saved_exc.resume() - - assert str(caught.value) == "CantPickleThis('detail',)" - - def test_unpickleable_exception_when_hiding_setuptools(self): - """ - As revealed in #440, an infinite recursion can occur if an unpickleable - exception while setuptools is hidden. Ensure this doesn't happen. - """ - - class ExceptionUnderTest(Exception): - """ - An unpickleable exception (not in globals). - """ - - with pytest.raises(setuptools.sandbox.UnpickleableException) as caught: - with setuptools.sandbox.save_modules(): - setuptools.sandbox.hide_setuptools() - raise ExceptionUnderTest - - (msg,) = caught.value.args - assert msg == 'ExceptionUnderTest()' - - def test_sandbox_violation_raised_hiding_setuptools(self, tmpdir): - """ - When in a sandbox with setuptools hidden, a SandboxViolation - should reflect a proper exception and not be wrapped in - an UnpickleableException. - """ - - def write_file(): - "Trigger a SandboxViolation by writing outside the sandbox" - with open('/etc/foo', 'w', encoding="utf-8"): - pass - - with pytest.raises(setuptools.sandbox.SandboxViolation) as caught: - with setuptools.sandbox.save_modules(): - setuptools.sandbox.hide_setuptools() - with setuptools.sandbox.DirectorySandbox(str(tmpdir)): - write_file() - - cmd, args, kwargs = caught.value.args - assert cmd == 'open' - assert args == ('/etc/foo', 'w') - assert kwargs == {"encoding": "utf-8"} - - msg = str(caught.value) - assert 'open' in msg - assert "('/etc/foo', 'w')" in msg - assert "{'encoding': 'utf-8'}" in msg diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_sdist.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_sdist.py deleted file mode 100644 index 30347190..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_sdist.py +++ /dev/null @@ -1,975 +0,0 @@ -"""sdist tests""" - -import contextlib -import io -import logging -import os -import pathlib -import sys -import tarfile -import tempfile -import unicodedata -from inspect import cleandoc -from pathlib import Path -from unittest import mock - -import jaraco.path -import pytest - -from setuptools import Command, SetuptoolsDeprecationWarning -from setuptools._importlib import metadata -from setuptools.command.egg_info import manifest_maker -from setuptools.command.sdist import sdist -from setuptools.dist import Distribution -from setuptools.extension import Extension -from setuptools.tests import fail_on_ascii - -from .text import Filenames - -import distutils -from distutils.core import run_setup - -SETUP_ATTRS = { - 'name': 'sdist_test', - 'version': '0.0', - 'packages': ['sdist_test'], - 'package_data': {'sdist_test': ['*.txt']}, - 'data_files': [("data", [os.path.join("d", "e.dat")])], -} - -SETUP_PY = ( - """\ -from setuptools import setup - -setup(**%r) -""" - % SETUP_ATTRS -) - -EXTENSION = Extension( - name="sdist_test.f", - sources=[os.path.join("sdist_test", "f.c")], - depends=[os.path.join("sdist_test", "f.h")], -) -EXTENSION_SOURCES = EXTENSION.sources + EXTENSION.depends - - -@contextlib.contextmanager -def quiet(): - old_stdout, old_stderr = sys.stdout, sys.stderr - sys.stdout, sys.stderr = io.StringIO(), io.StringIO() - try: - yield - finally: - sys.stdout, sys.stderr = old_stdout, old_stderr - - -# Convert to POSIX path -def posix(path): - if not isinstance(path, str): - return path.replace(os.sep.encode('ascii'), b'/') - else: - return path.replace(os.sep, '/') - - -# HFS Plus uses decomposed UTF-8 -def decompose(path): - if isinstance(path, str): - return unicodedata.normalize('NFD', path) - try: - path = path.decode('utf-8') - path = unicodedata.normalize('NFD', path) - path = path.encode('utf-8') - except UnicodeError: - pass # Not UTF-8 - return path - - -def read_all_bytes(filename): - with open(filename, 'rb') as fp: - return fp.read() - - -def latin1_fail(): - try: - desc, filename = tempfile.mkstemp(suffix=Filenames.latin_1) - os.close(desc) - os.remove(filename) - except Exception: - return True - - -fail_on_latin1_encoded_filenames = pytest.mark.xfail( - latin1_fail(), - reason="System does not support latin-1 filenames", -) - - -skip_under_xdist = pytest.mark.skipif( - "os.environ.get('PYTEST_XDIST_WORKER')", - reason="pytest-dev/pytest-xdist#843", -) -skip_under_stdlib_distutils = pytest.mark.skipif( - not distutils.__package__.startswith('setuptools'), - reason="the test is not supported with stdlib distutils", -) - - -def touch(path): - open(path, 'wb').close() - return path - - -def symlink_or_skip_test(src, dst): - try: - os.symlink(src, dst) - except (OSError, NotImplementedError): - pytest.skip("symlink not supported in OS") - return None - return dst - - -class TestSdistTest: - @pytest.fixture(autouse=True) - def source_dir(self, tmpdir): - tmpdir = tmpdir / "project_root" - tmpdir.mkdir() - - (tmpdir / 'setup.py').write_text(SETUP_PY, encoding='utf-8') - - # Set up the rest of the test package - test_pkg = tmpdir / 'sdist_test' - test_pkg.mkdir() - data_folder = tmpdir / 'd' - data_folder.mkdir() - # *.rst was not included in package_data, so c.rst should not be - # automatically added to the manifest when not under version control - for fname in ['__init__.py', 'a.txt', 'b.txt', 'c.rst']: - touch(test_pkg / fname) - touch(data_folder / 'e.dat') - # C sources are not included by default, but they will be, - # if an extension module uses them as sources or depends - for fname in EXTENSION_SOURCES: - touch(tmpdir / fname) - - with tmpdir.as_cwd(): - yield tmpdir - - def assert_package_data_in_manifest(self, cmd): - manifest = cmd.filelist.files - assert os.path.join('sdist_test', 'a.txt') in manifest - assert os.path.join('sdist_test', 'b.txt') in manifest - assert os.path.join('sdist_test', 'c.rst') not in manifest - assert os.path.join('d', 'e.dat') in manifest - - def setup_with_extension(self): - setup_attrs = {**SETUP_ATTRS, 'ext_modules': [EXTENSION]} - - dist = Distribution(setup_attrs) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - with quiet(): - cmd.run() - - return cmd - - def test_package_data_in_sdist(self): - """Regression test for pull request #4: ensures that files listed in - package_data are included in the manifest even if they're not added to - version control. - """ - - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - with quiet(): - cmd.run() - - self.assert_package_data_in_manifest(cmd) - - def test_package_data_and_include_package_data_in_sdist(self): - """ - Ensure package_data and include_package_data work - together. - """ - setup_attrs = {**SETUP_ATTRS, 'include_package_data': True} - assert setup_attrs['package_data'] - - dist = Distribution(setup_attrs) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - with quiet(): - cmd.run() - - self.assert_package_data_in_manifest(cmd) - - def test_extension_sources_in_sdist(self): - """ - Ensure that the files listed in Extension.sources and Extension.depends - are automatically included in the manifest. - """ - cmd = self.setup_with_extension() - self.assert_package_data_in_manifest(cmd) - manifest = cmd.filelist.files - for path in EXTENSION_SOURCES: - assert path in manifest - - def test_missing_extension_sources(self): - """ - Similar to test_extension_sources_in_sdist but the referenced files don't exist. - Missing files should not be included in distribution (with no error raised). - """ - for path in EXTENSION_SOURCES: - os.remove(path) - - cmd = self.setup_with_extension() - self.assert_package_data_in_manifest(cmd) - manifest = cmd.filelist.files - for path in EXTENSION_SOURCES: - assert path not in manifest - - def test_symlinked_extension_sources(self): - """ - Similar to test_extension_sources_in_sdist but the referenced files are - instead symbolic links to project-local files. Referenced file paths - should be included. Symlink targets themselves should NOT be included. - """ - symlinked = [] - for path in EXTENSION_SOURCES: - base, ext = os.path.splitext(path) - target = base + "_target." + ext - - os.rename(path, target) - symlink_or_skip_test(os.path.basename(target), path) - symlinked.append(target) - - cmd = self.setup_with_extension() - self.assert_package_data_in_manifest(cmd) - manifest = cmd.filelist.files - for path in EXTENSION_SOURCES: - assert path in manifest - for path in symlinked: - assert path not in manifest - - _INVALID_PATHS = { - "must be relative": lambda: ( - os.path.abspath(os.path.join("sdist_test", "f.h")) - ), - "can't have `..` segments": lambda: ( - os.path.join("sdist_test", "..", "sdist_test", "f.h") - ), - "doesn't exist": lambda: ( - os.path.join("sdist_test", "this_file_does_not_exist.h") - ), - "must be inside the project root": lambda: ( - symlink_or_skip_test( - touch(os.path.join("..", "outside_of_project_root.h")), - "symlink.h", - ) - ), - } - - @skip_under_stdlib_distutils - @pytest.mark.parametrize("reason", _INVALID_PATHS.keys()) - def test_invalid_extension_depends(self, reason, caplog): - """ - Due to backwards compatibility reasons, `Extension.depends` should accept - invalid/weird paths, but then ignore them when building a sdist. - - This test verifies that the source distribution is still built - successfully with such paths, but that instead of adding these paths to - the manifest, we emit an informational message, notifying the user that - the invalid path won't be automatically included. - """ - invalid_path = self._INVALID_PATHS[reason]() - extension = Extension( - name="sdist_test.f", - sources=[], - depends=[invalid_path], - ) - setup_attrs = {**SETUP_ATTRS, 'ext_modules': [extension]} - - dist = Distribution(setup_attrs) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - with quiet(), caplog.at_level(logging.INFO): - cmd.run() - - self.assert_package_data_in_manifest(cmd) - manifest = cmd.filelist.files - assert invalid_path not in manifest - - expected_message = [ - message - for (logger, level, message) in caplog.record_tuples - if ( - logger == "root" # - and level == logging.INFO # - and invalid_path in message # - ) - ] - assert len(expected_message) == 1 - (expected_message,) = expected_message - assert reason in expected_message - - def test_custom_build_py(self): - """ - Ensure projects defining custom build_py don't break - when creating sdists (issue #2849) - """ - from distutils.command.build_py import build_py as OrigBuildPy - - using_custom_command_guard = mock.Mock() - - class CustomBuildPy(OrigBuildPy): - """ - Some projects have custom commands inheriting from `distutils` - """ - - def get_data_files(self): - using_custom_command_guard() - return super().get_data_files() - - setup_attrs = {**SETUP_ATTRS, 'include_package_data': True} - assert setup_attrs['package_data'] - - dist = Distribution(setup_attrs) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - # Make sure we use the custom command - cmd.cmdclass = {'build_py': CustomBuildPy} - cmd.distribution.cmdclass = {'build_py': CustomBuildPy} - assert cmd.distribution.get_command_class('build_py') == CustomBuildPy - - msg = "setuptools instead of distutils" - with quiet(), pytest.warns(SetuptoolsDeprecationWarning, match=msg): - cmd.run() - - using_custom_command_guard.assert_called() - self.assert_package_data_in_manifest(cmd) - - def test_setup_py_exists(self): - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'foo.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - with quiet(): - cmd.run() - - manifest = cmd.filelist.files - assert 'setup.py' in manifest - - def test_setup_py_missing(self): - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'foo.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - if os.path.exists("setup.py"): - os.remove("setup.py") - with quiet(): - cmd.run() - - manifest = cmd.filelist.files - assert 'setup.py' not in manifest - - def test_setup_py_excluded(self): - with open("MANIFEST.in", "w", encoding="utf-8") as manifest_file: - manifest_file.write("exclude setup.py") - - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'foo.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - with quiet(): - cmd.run() - - manifest = cmd.filelist.files - assert 'setup.py' not in manifest - - def test_defaults_case_sensitivity(self, source_dir): - """ - Make sure default files (README.*, etc.) are added in a case-sensitive - way to avoid problems with packages built on Windows. - """ - - touch(source_dir / 'readme.rst') - touch(source_dir / 'SETUP.cfg') - - dist = Distribution(SETUP_ATTRS) - # the extension deliberately capitalized for this test - # to make sure the actual filename (not capitalized) gets added - # to the manifest - dist.script_name = 'setup.PY' - cmd = sdist(dist) - cmd.ensure_finalized() - - with quiet(): - cmd.run() - - # lowercase all names so we can test in a - # case-insensitive way to make sure the files - # are not included. - manifest = map(lambda x: x.lower(), cmd.filelist.files) - assert 'readme.rst' not in manifest, manifest - assert 'setup.py' not in manifest, manifest - assert 'setup.cfg' not in manifest, manifest - - def test_exclude_dev_only_cache_folders(self, source_dir): - included = { - # Emulate problem in https://github.com/pypa/setuptools/issues/4601 - "MANIFEST.in": ( - "global-include LICEN[CS]E* COPYING* NOTICE* AUTHORS*\n" - "global-include *.txt\n" - ), - # For the sake of being conservative and limiting unforeseen side-effects - # we just exclude dev-only cache folders at the root of the repository: - "test/.venv/lib/python3.9/site-packages/bar-2.dist-info/AUTHORS.rst": "", - "src/.nox/py/lib/python3.12/site-packages/bar-2.dist-info/COPYING.txt": "", - "doc/.tox/default/lib/python3.11/site-packages/foo-4.dist-info/LICENSE": "", - # Let's test against false positives with similarly named files: - ".venv-requirements.txt": "", - ".tox-coveragerc.txt": "", - ".noxy/coveragerc.txt": "", - } - - excluded = { - # .tox/.nox/.venv are well-know folders present at the root of Python repos - # and therefore should be excluded - ".tox/release/lib/python3.11/site-packages/foo-4.dist-info/LICENSE": "", - ".nox/py/lib/python3.12/site-packages/bar-2.dist-info/COPYING.txt": "", - ".venv/lib/python3.9/site-packages/bar-2.dist-info/AUTHORS.rst": "", - } - - for file, content in {**excluded, **included}.items(): - Path(source_dir, file).parent.mkdir(parents=True, exist_ok=True) - Path(source_dir, file).write_text(content, encoding="utf-8") - - cmd = self.setup_with_extension() - self.assert_package_data_in_manifest(cmd) - manifest = {f.replace(os.sep, '/') for f in cmd.filelist.files} - for path in excluded: - assert os.path.exists(path) - assert path not in manifest, (path, manifest) - for path in included: - assert os.path.exists(path) - assert path in manifest, (path, manifest) - - @fail_on_ascii - def test_manifest_is_written_with_utf8_encoding(self): - # Test for #303. - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'setup.py' - mm = manifest_maker(dist) - mm.manifest = os.path.join('sdist_test.egg-info', 'SOURCES.txt') - os.mkdir('sdist_test.egg-info') - - # UTF-8 filename - filename = os.path.join('sdist_test', 'smörbröd.py') - - # Must create the file or it will get stripped. - touch(filename) - - # Add UTF-8 filename and write manifest - with quiet(): - mm.run() - mm.filelist.append(filename) - mm.write_manifest() - - contents = read_all_bytes(mm.manifest) - - # The manifest should be UTF-8 encoded - u_contents = contents.decode('UTF-8') - - # The manifest should contain the UTF-8 filename - assert posix(filename) in u_contents - - @fail_on_ascii - def test_write_manifest_allows_utf8_filenames(self): - # Test for #303. - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'setup.py' - mm = manifest_maker(dist) - mm.manifest = os.path.join('sdist_test.egg-info', 'SOURCES.txt') - os.mkdir('sdist_test.egg-info') - - filename = os.path.join(b'sdist_test', Filenames.utf_8) - - # Must touch the file or risk removal - touch(filename) - - # Add filename and write manifest - with quiet(): - mm.run() - u_filename = filename.decode('utf-8') - mm.filelist.files.append(u_filename) - # Re-write manifest - mm.write_manifest() - - contents = read_all_bytes(mm.manifest) - - # The manifest should be UTF-8 encoded - contents.decode('UTF-8') - - # The manifest should contain the UTF-8 filename - assert posix(filename) in contents - - # The filelist should have been updated as well - assert u_filename in mm.filelist.files - - @skip_under_xdist - def test_write_manifest_skips_non_utf8_filenames(self): - """ - Files that cannot be encoded to UTF-8 (specifically, those that - weren't originally successfully decoded and have surrogate - escapes) should be omitted from the manifest. - See https://bitbucket.org/tarek/distribute/issue/303 for history. - """ - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'setup.py' - mm = manifest_maker(dist) - mm.manifest = os.path.join('sdist_test.egg-info', 'SOURCES.txt') - os.mkdir('sdist_test.egg-info') - - # Latin-1 filename - filename = os.path.join(b'sdist_test', Filenames.latin_1) - - # Add filename with surrogates and write manifest - with quiet(): - mm.run() - u_filename = filename.decode('utf-8', 'surrogateescape') - mm.filelist.append(u_filename) - # Re-write manifest - mm.write_manifest() - - contents = read_all_bytes(mm.manifest) - - # The manifest should be UTF-8 encoded - contents.decode('UTF-8') - - # The Latin-1 filename should have been skipped - assert posix(filename) not in contents - - # The filelist should have been updated as well - assert u_filename not in mm.filelist.files - - @fail_on_ascii - def test_manifest_is_read_with_utf8_encoding(self): - # Test for #303. - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - # Create manifest - with quiet(): - cmd.run() - - # Add UTF-8 filename to manifest - filename = os.path.join(b'sdist_test', Filenames.utf_8) - cmd.manifest = os.path.join('sdist_test.egg-info', 'SOURCES.txt') - manifest = open(cmd.manifest, 'ab') - manifest.write(b'\n' + filename) - manifest.close() - - # The file must exist to be included in the filelist - touch(filename) - - # Re-read manifest - cmd.filelist.files = [] - with quiet(): - cmd.read_manifest() - - # The filelist should contain the UTF-8 filename - filename = filename.decode('utf-8') - assert filename in cmd.filelist.files - - @fail_on_latin1_encoded_filenames - def test_read_manifest_skips_non_utf8_filenames(self): - # Test for #303. - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - # Create manifest - with quiet(): - cmd.run() - - # Add Latin-1 filename to manifest - filename = os.path.join(b'sdist_test', Filenames.latin_1) - cmd.manifest = os.path.join('sdist_test.egg-info', 'SOURCES.txt') - manifest = open(cmd.manifest, 'ab') - manifest.write(b'\n' + filename) - manifest.close() - - # The file must exist to be included in the filelist - touch(filename) - - # Re-read manifest - cmd.filelist.files = [] - with quiet(): - cmd.read_manifest() - - # The Latin-1 filename should have been skipped - filename = filename.decode('latin-1') - assert filename not in cmd.filelist.files - - @fail_on_ascii - @fail_on_latin1_encoded_filenames - def test_sdist_with_utf8_encoded_filename(self): - # Test for #303. - dist = Distribution(self.make_strings(SETUP_ATTRS)) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - filename = os.path.join(b'sdist_test', Filenames.utf_8) - touch(filename) - - with quiet(): - cmd.run() - - if sys.platform == 'darwin': - filename = decompose(filename) - - fs_enc = sys.getfilesystemencoding() - - if sys.platform == 'win32': - if fs_enc == 'cp1252': - # Python mangles the UTF-8 filename - filename = filename.decode('cp1252') - assert filename in cmd.filelist.files - else: - filename = filename.decode('mbcs') - assert filename in cmd.filelist.files - else: - filename = filename.decode('utf-8') - assert filename in cmd.filelist.files - - @classmethod - def make_strings(cls, item): - if isinstance(item, dict): - return {key: cls.make_strings(value) for key, value in item.items()} - if isinstance(item, list): - return list(map(cls.make_strings, item)) - return str(item) - - @fail_on_latin1_encoded_filenames - @skip_under_xdist - def test_sdist_with_latin1_encoded_filename(self): - # Test for #303. - dist = Distribution(self.make_strings(SETUP_ATTRS)) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - - # Latin-1 filename - filename = os.path.join(b'sdist_test', Filenames.latin_1) - touch(filename) - assert os.path.isfile(filename) - - with quiet(): - cmd.run() - - # not all windows systems have a default FS encoding of cp1252 - if sys.platform == 'win32': - # Latin-1 is similar to Windows-1252 however - # on mbcs filesys it is not in latin-1 encoding - fs_enc = sys.getfilesystemencoding() - if fs_enc != 'mbcs': - fs_enc = 'latin-1' - filename = filename.decode(fs_enc) - - assert filename in cmd.filelist.files - else: - # The Latin-1 filename should have been skipped - filename = filename.decode('latin-1') - assert filename not in cmd.filelist.files - - _EXAMPLE_DIRECTIVES = { - "setup.cfg - long_description and version": """ - [metadata] - name = testing - version = file: src/VERSION.txt - license_files = DOWHATYOUWANT - long_description = file: README.rst, USAGE.rst - """, - "pyproject.toml - static readme/license files and dynamic version": """ - [project] - name = "testing" - readme = "USAGE.rst" - license = {file = "DOWHATYOUWANT"} - dynamic = ["version"] - [tool.setuptools.dynamic] - version = {file = ["src/VERSION.txt"]} - """, - "pyproject.toml - directive with str instead of list": """ - [project] - name = "testing" - readme = "USAGE.rst" - license = {file = "DOWHATYOUWANT"} - dynamic = ["version"] - [tool.setuptools.dynamic] - version = {file = "src/VERSION.txt"} - """, - } - - @pytest.mark.parametrize("config", _EXAMPLE_DIRECTIVES.keys()) - def test_add_files_referenced_by_config_directives(self, source_dir, config): - config_file, _, _ = config.partition(" - ") - config_text = self._EXAMPLE_DIRECTIVES[config] - (source_dir / 'src').mkdir() - (source_dir / 'src/VERSION.txt').write_text("0.42", encoding="utf-8") - (source_dir / 'README.rst').write_text("hello world!", encoding="utf-8") - (source_dir / 'USAGE.rst').write_text("hello world!", encoding="utf-8") - (source_dir / 'DOWHATYOUWANT').write_text("hello world!", encoding="utf-8") - (source_dir / config_file).write_text(config_text, encoding="utf-8") - - dist = Distribution({"packages": []}) - dist.script_name = 'setup.py' - dist.parse_config_files() - - cmd = sdist(dist) - cmd.ensure_finalized() - with quiet(): - cmd.run() - - assert ( - 'src/VERSION.txt' in cmd.filelist.files - or 'src\\VERSION.txt' in cmd.filelist.files - ) - assert 'USAGE.rst' in cmd.filelist.files - assert 'DOWHATYOUWANT' in cmd.filelist.files - assert '/' not in cmd.filelist.files - assert '\\' not in cmd.filelist.files - - def test_pyproject_toml_in_sdist(self, source_dir): - """ - Check if pyproject.toml is included in source distribution if present - """ - touch(source_dir / 'pyproject.toml') - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - with quiet(): - cmd.run() - manifest = cmd.filelist.files - assert 'pyproject.toml' in manifest - - def test_pyproject_toml_excluded(self, source_dir): - """ - Check that pyproject.toml can excluded even if present - """ - touch(source_dir / 'pyproject.toml') - with open('MANIFEST.in', 'w', encoding="utf-8") as mts: - print('exclude pyproject.toml', file=mts) - dist = Distribution(SETUP_ATTRS) - dist.script_name = 'setup.py' - cmd = sdist(dist) - cmd.ensure_finalized() - with quiet(): - cmd.run() - manifest = cmd.filelist.files - assert 'pyproject.toml' not in manifest - - def test_build_subcommand_source_files(self, source_dir): - touch(source_dir / '.myfile~') - - # Sanity check: without custom commands file list should not be affected - dist = Distribution({**SETUP_ATTRS, "script_name": "setup.py"}) - cmd = sdist(dist) - cmd.ensure_finalized() - with quiet(): - cmd.run() - manifest = cmd.filelist.files - assert '.myfile~' not in manifest - - # Test: custom command should be able to augment file list - dist = Distribution({**SETUP_ATTRS, "script_name": "setup.py"}) - build = dist.get_command_obj("build") - build.sub_commands = [*build.sub_commands, ("build_custom", None)] - - class build_custom(Command): - def initialize_options(self): ... - - def finalize_options(self): ... - - def run(self): ... - - def get_source_files(self): - return ['.myfile~'] - - dist.cmdclass.update(build_custom=build_custom) - - cmd = sdist(dist) - cmd.use_defaults = True - cmd.ensure_finalized() - with quiet(): - cmd.run() - manifest = cmd.filelist.files - assert '.myfile~' in manifest - - @pytest.mark.skipif("os.environ.get('SETUPTOOLS_USE_DISTUTILS') == 'stdlib'") - def test_build_base_pathlib(self, source_dir): - """ - Ensure if build_base is a pathlib.Path, the build still succeeds. - """ - dist = Distribution({ - **SETUP_ATTRS, - "script_name": "setup.py", - "options": {"build": {"build_base": pathlib.Path('build')}}, - }) - cmd = sdist(dist) - cmd.ensure_finalized() - with quiet(): - cmd.run() - - -def test_default_revctrl(): - """ - When _default_revctrl was removed from the `setuptools.command.sdist` - module in 10.0, it broke some systems which keep an old install of - setuptools (Distribute) around. Those old versions require that the - setuptools package continue to implement that interface, so this - function provides that interface, stubbed. See #320 for details. - - This interface must be maintained until Ubuntu 12.04 is no longer - supported (by Setuptools). - """ - (ep,) = metadata.EntryPoints._from_text( - """ - [setuptools.file_finders] - svn_cvs = setuptools.command.sdist:_default_revctrl - """ - ) - res = ep.load() - assert hasattr(res, '__iter__') - - -class TestRegressions: - """ - Can be removed/changed if the project decides to change how it handles symlinks - or external files. - """ - - @staticmethod - def files_for_symlink_in_extension_depends(tmp_path, dep_path): - return { - "external": { - "dir": {"file.h": ""}, - }, - "project": { - "setup.py": cleandoc( - f""" - from setuptools import Extension, setup - setup( - name="myproj", - version="42", - ext_modules=[ - Extension( - "hello", sources=["hello.pyx"], - depends=[{dep_path!r}] - ) - ], - ) - """ - ), - "hello.pyx": "", - "MANIFEST.in": "global-include *.h", - }, - } - - @pytest.mark.parametrize( - "dep_path", ("myheaders/dir/file.h", "myheaders/dir/../dir/file.h") - ) - def test_symlink_in_extension_depends(self, monkeypatch, tmp_path, dep_path): - # Given a project with a symlinked dir and a "depends" targeting that dir - files = self.files_for_symlink_in_extension_depends(tmp_path, dep_path) - jaraco.path.build(files, prefix=str(tmp_path)) - symlink_or_skip_test(tmp_path / "external", tmp_path / "project/myheaders") - - # When `sdist` runs, there should be no error - members = run_sdist(monkeypatch, tmp_path / "project") - # and the sdist should contain the symlinked files - for expected in ( - "myproj-42/hello.pyx", - "myproj-42/myheaders/dir/file.h", - ): - assert expected in members - - @staticmethod - def files_for_external_path_in_extension_depends(tmp_path, dep_path): - head, _, tail = dep_path.partition("$tmp_path$/") - dep_path = tmp_path / tail if tail else head - - return { - "external": { - "dir": {"file.h": ""}, - }, - "project": { - "setup.py": cleandoc( - f""" - from setuptools import Extension, setup - setup( - name="myproj", - version="42", - ext_modules=[ - Extension( - "hello", sources=["hello.pyx"], - depends=[{str(dep_path)!r}] - ) - ], - ) - """ - ), - "hello.pyx": "", - "MANIFEST.in": "global-include *.h", - }, - } - - @pytest.mark.parametrize( - "dep_path", ("$tmp_path$/external/dir/file.h", "../external/dir/file.h") - ) - def test_external_path_in_extension_depends(self, monkeypatch, tmp_path, dep_path): - # Given a project with a "depends" targeting an external dir - files = self.files_for_external_path_in_extension_depends(tmp_path, dep_path) - jaraco.path.build(files, prefix=str(tmp_path)) - # When `sdist` runs, there should be no error - members = run_sdist(monkeypatch, tmp_path / "project") - # and the sdist should not contain the external file - for name in members: - assert "file.h" not in name - - -def run_sdist(monkeypatch, project): - """Given a project directory, run the sdist and return its contents""" - monkeypatch.chdir(project) - with quiet(): - run_setup("setup.py", ["sdist"]) - - archive = next((project / "dist").glob("*.tar.gz")) - with tarfile.open(str(archive)) as tar: - return set(tar.getnames()) - - -def test_sanity_check_setuptools_own_sdist(setuptools_sdist): - with tarfile.open(setuptools_sdist) as tar: - files = tar.getnames() - - # setuptools sdist should not include the .tox folder - tox_files = [name for name in files if ".tox" in name] - assert len(tox_files) == 0, f"not empty {tox_files}" diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_setopt.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_setopt.py deleted file mode 100644 index ccf25618..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_setopt.py +++ /dev/null @@ -1,40 +0,0 @@ -import configparser - -from setuptools.command import setopt - - -class TestEdit: - @staticmethod - def parse_config(filename): - parser = configparser.ConfigParser() - with open(filename, encoding='utf-8') as reader: - parser.read_file(reader) - return parser - - @staticmethod - def write_text(file, content): - with open(file, 'wb') as strm: - strm.write(content.encode('utf-8')) - - def test_utf8_encoding_retained(self, tmpdir): - """ - When editing a file, non-ASCII characters encoded in - UTF-8 should be retained. - """ - config = tmpdir.join('setup.cfg') - self.write_text(str(config), '[names]\njaraco=джарако') - setopt.edit_config(str(config), dict(names=dict(other='yes'))) - parser = self.parse_config(str(config)) - assert parser.get('names', 'jaraco') == 'джарако' - assert parser.get('names', 'other') == 'yes' - - def test_case_retained(self, tmpdir): - """ - When editing a file, case of keys should be retained. - """ - config = tmpdir.join('setup.cfg') - self.write_text(str(config), '[names]\nFoO=bAr') - setopt.edit_config(str(config), dict(names=dict(oTher='yes'))) - actual = config.read_text(encoding='ascii') - assert 'FoO' in actual - assert 'oTher' in actual diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_setuptools.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_setuptools.py deleted file mode 100644 index 1d56e1a8..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_setuptools.py +++ /dev/null @@ -1,290 +0,0 @@ -"""Tests for the 'setuptools' package""" - -import os -import re -import sys -from zipfile import ZipFile - -import pytest -from packaging.version import Version - -import setuptools -import setuptools.depends as dep -import setuptools.dist -from setuptools.depends import Require - -import distutils.cmd -import distutils.core -from distutils.core import Extension -from distutils.errors import DistutilsSetupError - - -@pytest.fixture(autouse=True) -def isolated_dir(tmpdir_cwd): - return - - -def makeSetup(**args): - """Return distribution from 'setup(**args)', without executing commands""" - - distutils.core._setup_stop_after = "commandline" - - # Don't let system command line leak into tests! - args.setdefault('script_args', ['install']) - - try: - return setuptools.setup(**args) - finally: - distutils.core._setup_stop_after = None - - -needs_bytecode = pytest.mark.skipif( - not hasattr(dep, 'get_module_constant'), - reason="bytecode support not available", -) - - -class TestDepends: - def testExtractConst(self): - if not hasattr(dep, 'extract_constant'): - # skip on non-bytecode platforms - return - - def f1(): - global x, y, z - x = "test" - y = z # pyright: ignore[reportUnboundVariable] # Explicitly testing for this runtime issue - - fc = f1.__code__ - - # unrecognized name - assert dep.extract_constant(fc, 'q', -1) is None - - # constant assigned - assert dep.extract_constant(fc, 'x', -1) == "test" - - # expression assigned - assert dep.extract_constant(fc, 'y', -1) == -1 - - # recognized name, not assigned - assert dep.extract_constant(fc, 'z', -1) is None - - def testFindModule(self): - with pytest.raises(ImportError): - dep.find_module('no-such.-thing') - with pytest.raises(ImportError): - dep.find_module('setuptools.non-existent') - f, _p, _i = dep.find_module('setuptools.tests') - f.close() - - @needs_bytecode - def testModuleExtract(self): - from json import __version__ - - assert dep.get_module_constant('json', '__version__') == __version__ - assert dep.get_module_constant('sys', 'version') == sys.version - assert ( - dep.get_module_constant('setuptools.tests.test_setuptools', '__doc__') - == __doc__ - ) - - @needs_bytecode - def testRequire(self): - req = Require('Json', '1.0.3', 'json') - - assert req.name == 'Json' - assert req.module == 'json' - assert req.requested_version == Version('1.0.3') - assert req.attribute == '__version__' - assert req.full_name() == 'Json-1.0.3' - - from json import __version__ - - assert str(req.get_version()) == __version__ - assert req.version_ok('1.0.9') - assert not req.version_ok('0.9.1') - assert not req.version_ok('unknown') - - assert req.is_present() - assert req.is_current() - - req = Require('Do-what-I-mean', '1.0', 'd-w-i-m') - assert not req.is_present() - assert not req.is_current() - - @needs_bytecode - def test_require_present(self): - # In #1896, this test was failing for months with the only - # complaint coming from test runners (not end users). - # TODO: Evaluate if this code is needed at all. - req = Require('Tests', None, 'tests', homepage="http://example.com") - assert req.format is None - assert req.attribute is None - assert req.requested_version is None - assert req.full_name() == 'Tests' - assert req.homepage == 'http://example.com' - - from setuptools.tests import __path__ - - paths = [os.path.dirname(p) for p in __path__] - assert req.is_present(paths) - assert req.is_current(paths) - - -class TestDistro: - def setup_method(self, method): - self.e1 = Extension('bar.ext', ['bar.c']) - self.e2 = Extension('c.y', ['y.c']) - - self.dist = makeSetup( - packages=['a', 'a.b', 'a.b.c', 'b', 'c'], - py_modules=['b.d', 'x'], - ext_modules=(self.e1, self.e2), - package_dir={}, - ) - - def testDistroType(self): - assert isinstance(self.dist, setuptools.dist.Distribution) - - def testExcludePackage(self): - self.dist.exclude_package('a') - assert self.dist.packages == ['b', 'c'] - - self.dist.exclude_package('b') - assert self.dist.packages == ['c'] - assert self.dist.py_modules == ['x'] - assert self.dist.ext_modules == [self.e1, self.e2] - - self.dist.exclude_package('c') - assert self.dist.packages == [] - assert self.dist.py_modules == ['x'] - assert self.dist.ext_modules == [self.e1] - - # test removals from unspecified options - makeSetup().exclude_package('x') - - def testIncludeExclude(self): - # remove an extension - self.dist.exclude(ext_modules=[self.e1]) - assert self.dist.ext_modules == [self.e2] - - # add it back in - self.dist.include(ext_modules=[self.e1]) - assert self.dist.ext_modules == [self.e2, self.e1] - - # should not add duplicate - self.dist.include(ext_modules=[self.e1]) - assert self.dist.ext_modules == [self.e2, self.e1] - - def testExcludePackages(self): - self.dist.exclude(packages=['c', 'b', 'a']) - assert self.dist.packages == [] - assert self.dist.py_modules == ['x'] - assert self.dist.ext_modules == [self.e1] - - def testEmpty(self): - dist = makeSetup() - dist.include(packages=['a'], py_modules=['b'], ext_modules=[self.e2]) - dist = makeSetup() - dist.exclude(packages=['a'], py_modules=['b'], ext_modules=[self.e2]) - - def testContents(self): - assert self.dist.has_contents_for('a') - self.dist.exclude_package('a') - assert not self.dist.has_contents_for('a') - - assert self.dist.has_contents_for('b') - self.dist.exclude_package('b') - assert not self.dist.has_contents_for('b') - - assert self.dist.has_contents_for('c') - self.dist.exclude_package('c') - assert not self.dist.has_contents_for('c') - - def testInvalidIncludeExclude(self): - with pytest.raises(DistutilsSetupError): - self.dist.include(nonexistent_option='x') - with pytest.raises(DistutilsSetupError): - self.dist.exclude(nonexistent_option='x') - with pytest.raises(DistutilsSetupError): - self.dist.include(packages={'x': 'y'}) - with pytest.raises(DistutilsSetupError): - self.dist.exclude(packages={'x': 'y'}) - with pytest.raises(DistutilsSetupError): - self.dist.include(ext_modules={'x': 'y'}) - with pytest.raises(DistutilsSetupError): - self.dist.exclude(ext_modules={'x': 'y'}) - - with pytest.raises(DistutilsSetupError): - self.dist.include(package_dir=['q']) - with pytest.raises(DistutilsSetupError): - self.dist.exclude(package_dir=['q']) - - -@pytest.fixture -def example_source(tmpdir): - tmpdir.mkdir('foo') - (tmpdir / 'foo/bar.py').write('') - (tmpdir / 'readme.txt').write('') - return tmpdir - - -def test_findall(example_source): - found = list(setuptools.findall(str(example_source))) - expected = ['readme.txt', 'foo/bar.py'] - expected = [example_source.join(fn) for fn in expected] - assert found == expected - - -def test_findall_curdir(example_source): - with example_source.as_cwd(): - found = list(setuptools.findall()) - expected = ['readme.txt', os.path.join('foo', 'bar.py')] - assert found == expected - - -@pytest.fixture -def can_symlink(tmpdir): - """ - Skip if cannot create a symbolic link - """ - link_fn = 'link' - target_fn = 'target' - try: - os.symlink(target_fn, link_fn) - except (OSError, NotImplementedError, AttributeError): - pytest.skip("Cannot create symbolic links") - os.remove(link_fn) - - -@pytest.mark.usefixtures("can_symlink") -def test_findall_missing_symlink(tmpdir): - with tmpdir.as_cwd(): - os.symlink('foo', 'bar') - found = list(setuptools.findall()) - assert found == [] - - -@pytest.mark.xfail(reason="unable to exclude tests; #4475 #3260") -def test_its_own_wheel_does_not_contain_tests(setuptools_wheel): - with ZipFile(setuptools_wheel) as zipfile: - contents = [f.replace(os.sep, '/') for f in zipfile.namelist()] - - for member in contents: - assert '/tests/' not in member - - -def test_wheel_includes_cli_scripts(setuptools_wheel): - with ZipFile(setuptools_wheel) as zipfile: - contents = [f.replace(os.sep, '/') for f in zipfile.namelist()] - - assert any('cli-64.exe' in member for member in contents) - - -def test_wheel_includes_vendored_metadata(setuptools_wheel): - with ZipFile(setuptools_wheel) as zipfile: - contents = [f.replace(os.sep, '/') for f in zipfile.namelist()] - - assert any( - re.search(r'_vendor/.*\.dist-info/METADATA', member) for member in contents - ) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_shutil_wrapper.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_shutil_wrapper.py deleted file mode 100644 index 74ff7e9a..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_shutil_wrapper.py +++ /dev/null @@ -1,23 +0,0 @@ -import stat -import sys -from unittest.mock import Mock - -from setuptools import _shutil - - -def test_rmtree_readonly(monkeypatch, tmp_path): - """Verify onerr works as expected""" - - tmp_dir = tmp_path / "with_readonly" - tmp_dir.mkdir() - some_file = tmp_dir.joinpath("file.txt") - some_file.touch() - some_file.chmod(stat.S_IREAD) - - expected_count = 1 if sys.platform.startswith("win") else 0 - chmod_fn = Mock(wraps=_shutil.attempt_chmod_verbose) - monkeypatch.setattr(_shutil, "attempt_chmod_verbose", chmod_fn) - - _shutil.rmtree(tmp_dir) - assert chmod_fn.call_count == expected_count - assert not tmp_dir.is_dir() diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_unicode_utils.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_unicode_utils.py deleted file mode 100644 index a24a9bd5..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_unicode_utils.py +++ /dev/null @@ -1,10 +0,0 @@ -from setuptools import unicode_utils - - -def test_filesys_decode_fs_encoding_is_None(monkeypatch): - """ - Test filesys_decode does not raise TypeError when - getfilesystemencoding returns None. - """ - monkeypatch.setattr('sys.getfilesystemencoding', lambda: None) - unicode_utils.filesys_decode(b'test') diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_virtualenv.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_virtualenv.py deleted file mode 100644 index b02949ba..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_virtualenv.py +++ /dev/null @@ -1,113 +0,0 @@ -import os -import subprocess -import sys -from urllib.error import URLError -from urllib.request import urlopen - -import pytest - - -@pytest.fixture(autouse=True) -def pytest_virtualenv_works(venv): - """ - pytest_virtualenv may not work. if it doesn't, skip these - tests. See #1284. - """ - venv_prefix = venv.run(["python", "-c", "import sys; print(sys.prefix)"]).strip() - if venv_prefix == sys.prefix: - pytest.skip("virtualenv is broken (see pypa/setuptools#1284)") - - -def test_clean_env_install(venv_without_setuptools, setuptools_wheel): - """ - Check setuptools can be installed in a clean environment. - """ - cmd = ["python", "-m", "pip", "install", str(setuptools_wheel)] - venv_without_setuptools.run(cmd) - - -def access_pypi(): - # Detect if tests are being run without connectivity - if not os.environ.get('NETWORK_REQUIRED', False): # pragma: nocover - try: - urlopen('https://pypi.org', timeout=1) - except URLError: - # No network, disable most of these tests - return False - - return True - - -@pytest.mark.skipif( - 'platform.python_implementation() == "PyPy"', - reason="https://github.com/pypa/setuptools/pull/2865#issuecomment-965834995", -) -@pytest.mark.skipif(not access_pypi(), reason="no network") -# ^-- Even when it is not necessary to install a different version of `pip` -# the build process will still try to download `wheel`, see #3147 and #2986. -@pytest.mark.parametrize( - 'pip_version', - [ - None, - pytest.param( - 'pip<20.1', - marks=pytest.mark.xfail( - 'sys.version_info >= (3, 12)', - reason="pip 23.1.2 required for Python 3.12 and later", - ), - ), - pytest.param( - 'pip<21', - marks=pytest.mark.xfail( - 'sys.version_info >= (3, 12)', - reason="pip 23.1.2 required for Python 3.12 and later", - ), - ), - pytest.param( - 'pip<22', - marks=pytest.mark.xfail( - 'sys.version_info >= (3, 12)', - reason="pip 23.1.2 required for Python 3.12 and later", - ), - ), - pytest.param( - 'pip<23', - marks=pytest.mark.xfail( - 'sys.version_info >= (3, 12)', - reason="pip 23.1.2 required for Python 3.12 and later", - ), - ), - pytest.param( - 'https://github.com/pypa/pip/archive/main.zip', - marks=pytest.mark.xfail(reason='#2975'), - ), - ], -) -def test_pip_upgrade_from_source( - pip_version, venv_without_setuptools, setuptools_wheel, setuptools_sdist -): - """ - Check pip can upgrade setuptools from source. - """ - # Install pip/wheel, in a venv without setuptools (as it - # should not be needed for bootstrapping from source) - venv = venv_without_setuptools - venv.run(["pip", "install", "-U", "wheel"]) - if pip_version is not None: - venv.run(["python", "-m", "pip", "install", "-U", pip_version, "--retries=1"]) - with pytest.raises(subprocess.CalledProcessError): - # Meta-test to make sure setuptools is not installed - venv.run(["python", "-c", "import setuptools"]) - - # Then install from wheel. - venv.run(["pip", "install", str(setuptools_wheel)]) - # And finally try to upgrade from source. - venv.run(["pip", "install", "--no-cache-dir", "--upgrade", str(setuptools_sdist)]) - - -def test_no_missing_dependencies(bare_venv, request): - """ - Quick and dirty test to ensure all external dependencies are vendored. - """ - setuptools_dir = request.config.rootdir - bare_venv.run(['python', 'setup.py', '--help'], cwd=setuptools_dir) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_warnings.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_warnings.py deleted file mode 100644 index 41193d4f..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_warnings.py +++ /dev/null @@ -1,106 +0,0 @@ -from inspect import cleandoc - -import pytest - -from setuptools.warnings import SetuptoolsDeprecationWarning, SetuptoolsWarning - -_EXAMPLES = { - "default": dict( - args=("Hello {x}", "\n\t{target} {v:.1f}"), - kwargs={"x": 5, "v": 3, "target": "World"}, - expected=""" - Hello 5 - !! - - ******************************************************************************** - World 3.0 - ******************************************************************************** - - !! - """, - ), - "futue_due_date": dict( - args=("Summary", "Lorem ipsum"), - kwargs={"due_date": (9999, 11, 22)}, - expected=""" - Summary - !! - - ******************************************************************************** - Lorem ipsum - - By 9999-Nov-22, you need to update your project and remove deprecated calls - or your builds will no longer be supported. - ******************************************************************************** - - !! - """, - ), - "past_due_date_with_docs": dict( - args=("Summary", "Lorem ipsum"), - kwargs={"due_date": (2000, 11, 22), "see_docs": "some_page.html"}, - expected=""" - Summary - !! - - ******************************************************************************** - Lorem ipsum - - This deprecation is overdue, please update your project and remove deprecated - calls to avoid build errors in the future. - - See https://setuptools.pypa.io/en/latest/some_page.html for details. - ******************************************************************************** - - !! - """, - ), -} - - -@pytest.mark.parametrize("example_name", _EXAMPLES.keys()) -def test_formatting(monkeypatch, example_name): - """ - It should automatically handle indentation, interpolation and things like due date. - """ - args = _EXAMPLES[example_name]["args"] - kwargs = _EXAMPLES[example_name]["kwargs"] - expected = _EXAMPLES[example_name]["expected"] - - monkeypatch.setenv("SETUPTOOLS_ENFORCE_DEPRECATION", "false") - with pytest.warns(SetuptoolsWarning) as warn_info: - SetuptoolsWarning.emit(*args, **kwargs) - assert _get_message(warn_info) == cleandoc(expected) - - -def test_due_date_enforcement(monkeypatch): - class _MyDeprecation(SetuptoolsDeprecationWarning): - _SUMMARY = "Summary" - _DETAILS = "Lorem ipsum" - _DUE_DATE = (2000, 11, 22) - _SEE_DOCS = "some_page.html" - - monkeypatch.setenv("SETUPTOOLS_ENFORCE_DEPRECATION", "true") - with pytest.raises(SetuptoolsDeprecationWarning) as exc_info: - _MyDeprecation.emit() - - expected = """ - Summary - !! - - ******************************************************************************** - Lorem ipsum - - This deprecation is overdue, please update your project and remove deprecated - calls to avoid build errors in the future. - - See https://setuptools.pypa.io/en/latest/some_page.html for details. - ******************************************************************************** - - !! - """ - assert str(exc_info.value) == cleandoc(expected) - - -def _get_message(warn_info): - return next(warn.message.args[0] for warn in warn_info) diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_wheel.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_wheel.py deleted file mode 100644 index 5724c6ea..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_wheel.py +++ /dev/null @@ -1,716 +0,0 @@ -"""wheel tests""" - -from __future__ import annotations - -import contextlib -import glob -import inspect -import os -import pathlib -import shutil -import stat -import subprocess -import sys -import zipfile -from typing import Any - -import pytest -from jaraco import path -from packaging.tags import parse_tag -from packaging.utils import canonicalize_name - -from pkg_resources import PY_MAJOR, Distribution, PathMetadata -from setuptools.wheel import Wheel - -from .contexts import tempdir -from .textwrap import DALS - -from distutils.sysconfig import get_config_var -from distutils.util import get_platform - -WHEEL_INFO_TESTS = ( - ('invalid.whl', ValueError), - ( - 'simplewheel-2.0-1-py2.py3-none-any.whl', - { - 'project_name': 'simplewheel', - 'version': '2.0', - 'build': '1', - 'py_version': 'py2.py3', - 'abi': 'none', - 'platform': 'any', - }, - ), - ( - 'simple.dist-0.1-py2.py3-none-any.whl', - { - 'project_name': 'simple.dist', - 'version': '0.1', - 'build': None, - 'py_version': 'py2.py3', - 'abi': 'none', - 'platform': 'any', - }, - ), - ( - 'example_pkg_a-1-py3-none-any.whl', - { - 'project_name': 'example_pkg_a', - 'version': '1', - 'build': None, - 'py_version': 'py3', - 'abi': 'none', - 'platform': 'any', - }, - ), - ( - 'PyQt5-5.9-5.9.1-cp35.cp36.cp37-abi3-manylinux1_x86_64.whl', - { - 'project_name': 'PyQt5', - 'version': '5.9', - 'build': '5.9.1', - 'py_version': 'cp35.cp36.cp37', - 'abi': 'abi3', - 'platform': 'manylinux1_x86_64', - }, - ), -) - - -@pytest.mark.parametrize( - ('filename', 'info'), WHEEL_INFO_TESTS, ids=[t[0] for t in WHEEL_INFO_TESTS] -) -def test_wheel_info(filename, info): - if inspect.isclass(info): - with pytest.raises(info): - Wheel(filename) - return - w = Wheel(filename) - assert {k: getattr(w, k) for k in info.keys()} == info - - -@contextlib.contextmanager -def build_wheel(extra_file_defs=None, **kwargs): - file_defs = { - 'setup.py': ( - DALS( - """ - # -*- coding: utf-8 -*- - from setuptools import setup - import setuptools - setup(**%r) - """ - ) - % kwargs - ).encode('utf-8'), - } - if extra_file_defs: - file_defs.update(extra_file_defs) - with tempdir() as source_dir: - path.build(file_defs, source_dir) - subprocess.check_call( - (sys.executable, 'setup.py', '-q', 'bdist_wheel'), cwd=source_dir - ) - yield glob.glob(os.path.join(source_dir, 'dist', '*.whl'))[0] - - -def tree_set(root): - contents = set() - for dirpath, dirnames, filenames in os.walk(root): - for filename in filenames: - contents.add(os.path.join(os.path.relpath(dirpath, root), filename)) - return contents - - -def flatten_tree(tree): - """Flatten nested dicts and lists into a full list of paths""" - output = set() - for node, contents in tree.items(): - if isinstance(contents, dict): - contents = flatten_tree(contents) - - for elem in contents: - if isinstance(elem, dict): - output |= {os.path.join(node, val) for val in flatten_tree(elem)} - else: - output.add(os.path.join(node, elem)) - return output - - -def format_install_tree(tree): - return { - x.format( - py_version=PY_MAJOR, - platform=get_platform(), - shlib_ext=get_config_var('EXT_SUFFIX') or get_config_var('SO'), - ) - for x in tree - } - - -def _check_wheel_install( - filename, install_dir, install_tree_includes, project_name, version, requires_txt -): - w = Wheel(filename) - egg_path = os.path.join(install_dir, w.egg_name()) - w.install_as_egg(egg_path) - if install_tree_includes is not None: - install_tree = format_install_tree(install_tree_includes) - exp = tree_set(install_dir) - assert install_tree.issubset(exp), install_tree - exp - - metadata = PathMetadata(egg_path, os.path.join(egg_path, 'EGG-INFO')) - dist = Distribution.from_filename(egg_path, metadata=metadata) - assert dist.project_name == project_name - assert dist.version == version - if requires_txt is None: - assert not dist.has_metadata('requires.txt') - else: - # Order must match to ensure reproducibility. - assert requires_txt == dist.get_metadata('requires.txt').lstrip() - - -class Record: - def __init__(self, id, **kwargs): - self._id = id - self._fields = kwargs - - def __repr__(self) -> str: - return '%s(**%r)' % (self._id, self._fields) - - -# Using Any to avoid possible type union issues later in test -# making a TypedDict is not worth in a test and anonymous/inline TypedDict are experimental -# https://github.com/python/mypy/issues/9884 -WHEEL_INSTALL_TESTS: tuple[dict[str, Any], ...] = ( - dict( - id='basic', - file_defs={'foo': {'__init__.py': ''}}, - setup_kwargs=dict( - packages=['foo'], - ), - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}.egg': { - 'EGG-INFO': ['PKG-INFO', 'RECORD', 'WHEEL', 'top_level.txt'], - 'foo': ['__init__.py'], - } - }), - ), - dict( - id='utf-8', - setup_kwargs=dict( - description='Description accentuée', - ), - ), - dict( - id='data', - file_defs={ - 'data.txt': DALS( - """ - Some data... - """ - ), - }, - setup_kwargs=dict( - data_files=[('data_dir', ['data.txt'])], - ), - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}.egg': { - 'EGG-INFO': ['PKG-INFO', 'RECORD', 'WHEEL', 'top_level.txt'], - 'data_dir': ['data.txt'], - } - }), - ), - dict( - id='extension', - file_defs={ - 'extension.c': DALS( - """ - #include "Python.h" - - #if PY_MAJOR_VERSION >= 3 - - static struct PyModuleDef moduledef = { - PyModuleDef_HEAD_INIT, - "extension", - NULL, - 0, - NULL, - NULL, - NULL, - NULL, - NULL - }; - - #define INITERROR return NULL - - PyMODINIT_FUNC PyInit_extension(void) - - #else - - #define INITERROR return - - void initextension(void) - - #endif - { - #if PY_MAJOR_VERSION >= 3 - PyObject *module = PyModule_Create(&moduledef); - #else - PyObject *module = Py_InitModule("extension", NULL); - #endif - if (module == NULL) - INITERROR; - #if PY_MAJOR_VERSION >= 3 - return module; - #endif - } - """ - ), - }, - setup_kwargs=dict( - ext_modules=[ - Record( - 'setuptools.Extension', name='extension', sources=['extension.c'] - ) - ], - ), - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}-{platform}.egg': [ - 'extension{shlib_ext}', - { - 'EGG-INFO': [ - 'PKG-INFO', - 'RECORD', - 'WHEEL', - 'top_level.txt', - ] - }, - ] - }), - ), - dict( - id='header', - file_defs={ - 'header.h': DALS( - """ - """ - ), - }, - setup_kwargs=dict( - headers=['header.h'], - ), - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}.egg': [ - 'header.h', - { - 'EGG-INFO': [ - 'PKG-INFO', - 'RECORD', - 'WHEEL', - 'top_level.txt', - ] - }, - ] - }), - ), - dict( - id='script', - file_defs={ - 'script.py': DALS( - """ - #/usr/bin/python - print('hello world!') - """ - ), - 'script.sh': DALS( - """ - #/bin/sh - echo 'hello world!' - """ - ), - }, - setup_kwargs=dict( - scripts=['script.py', 'script.sh'], - ), - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}.egg': { - 'EGG-INFO': [ - 'PKG-INFO', - 'RECORD', - 'WHEEL', - 'top_level.txt', - {'scripts': ['script.py', 'script.sh']}, - ] - } - }), - ), - dict( - id='requires1', - install_requires='foobar==2.0', - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}.egg': { - 'EGG-INFO': [ - 'PKG-INFO', - 'RECORD', - 'WHEEL', - 'requires.txt', - 'top_level.txt', - ] - } - }), - requires_txt=DALS( - """ - foobar==2.0 - """ - ), - ), - dict( - id='requires2', - install_requires=""" - bar - foo<=2.0; %r in sys_platform - """ - % sys.platform, - requires_txt=DALS( - """ - bar - foo<=2.0 - """ - ), - ), - dict( - id='requires3', - install_requires=""" - bar; %r != sys_platform - """ - % sys.platform, - ), - dict( - id='requires4', - install_requires=""" - foo - """, - extras_require={ - 'extra': 'foobar>3', - }, - requires_txt=DALS( - """ - foo - - [extra] - foobar>3 - """ - ), - ), - dict( - id='requires5', - extras_require={ - 'extra': 'foobar; %r != sys_platform' % sys.platform, - }, - requires_txt=DALS( - """ - [extra] - """ - ), - ), - dict( - id='requires_ensure_order', - install_requires=""" - foo - bar - baz - qux - """, - extras_require={ - 'extra': """ - foobar>3 - barbaz>4 - bazqux>5 - quxzap>6 - """, - }, - requires_txt=DALS( - """ - foo - bar - baz - qux - - [extra] - foobar>3 - barbaz>4 - bazqux>5 - quxzap>6 - """ - ), - ), - dict( - id='namespace_package', - file_defs={ - 'foo': { - 'bar': {'__init__.py': ''}, - }, - }, - setup_kwargs=dict( - namespace_packages=['foo'], - packages=['foo.bar'], - ), - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}.egg': [ - 'foo-1.0-py{py_version}-nspkg.pth', - { - 'EGG-INFO': [ - 'PKG-INFO', - 'RECORD', - 'WHEEL', - 'namespace_packages.txt', - 'top_level.txt', - ] - }, - { - 'foo': [ - '__init__.py', - {'bar': ['__init__.py']}, - ] - }, - ] - }), - ), - dict( - id='empty_namespace_package', - file_defs={ - 'foobar': { - '__init__.py': ( - "__import__('pkg_resources').declare_namespace(__name__)" - ) - }, - }, - setup_kwargs=dict( - namespace_packages=['foobar'], - packages=['foobar'], - ), - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}.egg': [ - 'foo-1.0-py{py_version}-nspkg.pth', - { - 'EGG-INFO': [ - 'PKG-INFO', - 'RECORD', - 'WHEEL', - 'namespace_packages.txt', - 'top_level.txt', - ] - }, - { - 'foobar': [ - '__init__.py', - ] - }, - ] - }), - ), - dict( - id='data_in_package', - file_defs={ - 'foo': { - '__init__.py': '', - 'data_dir': { - 'data.txt': DALS( - """ - Some data... - """ - ), - }, - } - }, - setup_kwargs=dict( - packages=['foo'], - data_files=[('foo/data_dir', ['foo/data_dir/data.txt'])], - ), - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}.egg': { - 'EGG-INFO': [ - 'PKG-INFO', - 'RECORD', - 'WHEEL', - 'top_level.txt', - ], - 'foo': [ - '__init__.py', - { - 'data_dir': [ - 'data.txt', - ] - }, - ], - } - }), - ), -) - - -@pytest.mark.parametrize( - 'params', - WHEEL_INSTALL_TESTS, - ids=[params['id'] for params in WHEEL_INSTALL_TESTS], -) -def test_wheel_install(params): - project_name = params.get('name', 'foo') - version = params.get('version', '1.0') - install_requires = params.get('install_requires', []) - extras_require = params.get('extras_require', {}) - requires_txt = params.get('requires_txt', None) - install_tree = params.get('install_tree') - file_defs = params.get('file_defs', {}) - setup_kwargs = params.get('setup_kwargs', {}) - with ( - build_wheel( - name=project_name, - version=version, - install_requires=install_requires, - extras_require=extras_require, - extra_file_defs=file_defs, - **setup_kwargs, - ) as filename, - tempdir() as install_dir, - ): - _check_wheel_install( - filename, install_dir, install_tree, project_name, version, requires_txt - ) - - -def test_wheel_install_pep_503(): - project_name = 'Foo_Bar' # PEP 503 canonicalized name is "foo-bar" - version = '1.0' - with ( - build_wheel( - name=project_name, - version=version, - ) as filename, - tempdir() as install_dir, - ): - new_filename = filename.replace(project_name, canonicalize_name(project_name)) - shutil.move(filename, new_filename) - _check_wheel_install( - new_filename, - install_dir, - None, - canonicalize_name(project_name), - version, - None, - ) - - -def test_wheel_no_dist_dir(): - project_name = 'nodistinfo' - version = '1.0' - wheel_name = '{0}-{1}-py2.py3-none-any.whl'.format(project_name, version) - with tempdir() as source_dir: - wheel_path = os.path.join(source_dir, wheel_name) - # create an empty zip file - zipfile.ZipFile(wheel_path, 'w').close() - with tempdir() as install_dir: - with pytest.raises(ValueError): - _check_wheel_install( - wheel_path, install_dir, None, project_name, version, None - ) - - -def test_wheel_is_compatible(monkeypatch): - def sys_tags(): - return { - (t.interpreter, t.abi, t.platform) - for t in parse_tag('cp36-cp36m-manylinux1_x86_64') - } - - monkeypatch.setattr('setuptools.wheel._get_supported_tags', sys_tags) - assert Wheel('onnxruntime-0.1.2-cp36-cp36m-manylinux1_x86_64.whl').is_compatible() - - -def test_wheel_mode(): - @contextlib.contextmanager - def build_wheel(extra_file_defs=None, **kwargs): - file_defs = { - 'setup.py': ( - DALS( - """ - # -*- coding: utf-8 -*- - from setuptools import setup - import setuptools - setup(**%r) - """ - ) - % kwargs - ).encode('utf-8'), - } - if extra_file_defs: - file_defs.update(extra_file_defs) - with tempdir() as source_dir: - path.build(file_defs, source_dir) - runsh = pathlib.Path(source_dir) / "script.sh" - os.chmod(runsh, 0o777) - subprocess.check_call( - (sys.executable, 'setup.py', '-q', 'bdist_wheel'), cwd=source_dir - ) - yield glob.glob(os.path.join(source_dir, 'dist', '*.whl'))[0] - - params = dict( - id='script', - file_defs={ - 'script.py': DALS( - """ - #/usr/bin/python - print('hello world!') - """ - ), - 'script.sh': DALS( - """ - #/bin/sh - echo 'hello world!' - """ - ), - }, - setup_kwargs=dict( - scripts=['script.py', 'script.sh'], - ), - install_tree=flatten_tree({ - 'foo-1.0-py{py_version}.egg': { - 'EGG-INFO': [ - 'PKG-INFO', - 'RECORD', - 'WHEEL', - 'top_level.txt', - {'scripts': ['script.py', 'script.sh']}, - ] - } - }), - ) - - project_name = params.get('name', 'foo') - version = params.get('version', '1.0') - install_tree = params.get('install_tree') - file_defs = params.get('file_defs', {}) - setup_kwargs = params.get('setup_kwargs', {}) - - with ( - build_wheel( - name=project_name, - version=version, - install_requires=[], - extras_require={}, - extra_file_defs=file_defs, - **setup_kwargs, - ) as filename, - tempdir() as install_dir, - ): - _check_wheel_install( - filename, install_dir, install_tree, project_name, version, None - ) - w = Wheel(filename) - base = pathlib.Path(install_dir) / w.egg_name() - script_sh = base / "EGG-INFO" / "scripts" / "script.sh" - assert script_sh.exists() - if sys.platform != 'win32': - # Editable file mode has no effect on Windows - assert oct(stat.S_IMODE(script_sh.stat().st_mode)) == "0o777" diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/test_windows_wrappers.py b/.venv/lib/python3.12/site-packages/setuptools/tests/test_windows_wrappers.py deleted file mode 100644 index e46bb6ab..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/test_windows_wrappers.py +++ /dev/null @@ -1,259 +0,0 @@ -""" -Python Script Wrapper for Windows -================================= - -setuptools includes wrappers for Python scripts that allows them to be -executed like regular windows programs. There are 2 wrappers, one -for command-line programs, cli.exe, and one for graphical programs, -gui.exe. These programs are almost identical, function pretty much -the same way, and are generated from the same source file. The -wrapper programs are used by copying them to the directory containing -the script they are to wrap and with the same name as the script they -are to wrap. -""" - -import pathlib -import platform -import subprocess -import sys -import textwrap - -import pytest - -import pkg_resources -from setuptools.command.easy_install import nt_quote_arg - -pytestmark = pytest.mark.skipif(sys.platform != 'win32', reason="Windows only") - - -class WrapperTester: - @classmethod - def prep_script(cls, template): - python_exe = nt_quote_arg(sys.executable) - return template % locals() - - @classmethod - def create_script(cls, tmpdir): - """ - Create a simple script, foo-script.py - - Note that the script starts with a Unix-style '#!' line saying which - Python executable to run. The wrapper will use this line to find the - correct Python executable. - """ - - script = cls.prep_script(cls.script_tmpl) - - with (tmpdir / cls.script_name).open('w') as f: - f.write(script) - - # also copy cli.exe to the sample directory - with (tmpdir / cls.wrapper_name).open('wb') as f: - w = pkg_resources.resource_string('setuptools', cls.wrapper_source) - f.write(w) - - -def win_launcher_exe(prefix): - """A simple routine to select launcher script based on platform.""" - assert prefix in ('cli', 'gui') - if platform.machine() == "ARM64": - return "{}-arm64.exe".format(prefix) - else: - return "{}-32.exe".format(prefix) - - -class TestCLI(WrapperTester): - script_name = 'foo-script.py' - wrapper_name = 'foo.exe' - wrapper_source = win_launcher_exe('cli') - - script_tmpl = textwrap.dedent( - """ - #!%(python_exe)s - import sys - input = repr(sys.stdin.read()) - print(sys.argv[0][-14:]) - print(sys.argv[1:]) - print(input) - if __debug__: - print('non-optimized') - """ - ).lstrip() - - def test_basic(self, tmpdir): - """ - When the copy of cli.exe, foo.exe in this example, runs, it examines - the path name it was run with and computes a Python script path name - by removing the '.exe' suffix and adding the '-script.py' suffix. (For - GUI programs, the suffix '-script.pyw' is added.) This is why we - named out script the way we did. Now we can run out script by running - the wrapper: - - This example was a little pathological in that it exercised windows - (MS C runtime) quoting rules: - - - Strings containing spaces are surrounded by double quotes. - - - Double quotes in strings need to be escaped by preceding them with - back slashes. - - - One or more backslashes preceding double quotes need to be escaped - by preceding each of them with back slashes. - """ - self.create_script(tmpdir) - cmd = [ - str(tmpdir / 'foo.exe'), - 'arg1', - 'arg 2', - 'arg "2\\"', - 'arg 4\\', - 'arg5 a\\\\b', - ] - proc = subprocess.Popen( - cmd, - stdout=subprocess.PIPE, - stdin=subprocess.PIPE, - text=True, - encoding="utf-8", - ) - stdout, _stderr = proc.communicate('hello\nworld\n') - actual = stdout.replace('\r\n', '\n') - expected = textwrap.dedent( - r""" - \foo-script.py - ['arg1', 'arg 2', 'arg "2\\"', 'arg 4\\', 'arg5 a\\\\b'] - 'hello\nworld\n' - non-optimized - """ - ).lstrip() - assert actual == expected - - def test_symlink(self, tmpdir): - """ - Ensure that symlink for the foo.exe is working correctly. - """ - script_dir = tmpdir / "script_dir" - script_dir.mkdir() - self.create_script(script_dir) - symlink = pathlib.Path(tmpdir / "foo.exe") - symlink.symlink_to(script_dir / "foo.exe") - - cmd = [ - str(tmpdir / 'foo.exe'), - 'arg1', - 'arg 2', - 'arg "2\\"', - 'arg 4\\', - 'arg5 a\\\\b', - ] - proc = subprocess.Popen( - cmd, - stdout=subprocess.PIPE, - stdin=subprocess.PIPE, - text=True, - encoding="utf-8", - ) - stdout, _stderr = proc.communicate('hello\nworld\n') - actual = stdout.replace('\r\n', '\n') - expected = textwrap.dedent( - r""" - \foo-script.py - ['arg1', 'arg 2', 'arg "2\\"', 'arg 4\\', 'arg5 a\\\\b'] - 'hello\nworld\n' - non-optimized - """ - ).lstrip() - assert actual == expected - - def test_with_options(self, tmpdir): - """ - Specifying Python Command-line Options - -------------------------------------- - - You can specify a single argument on the '#!' line. This can be used - to specify Python options like -O, to run in optimized mode or -i - to start the interactive interpreter. You can combine multiple - options as usual. For example, to run in optimized mode and - enter the interpreter after running the script, you could use -Oi: - """ - self.create_script(tmpdir) - tmpl = textwrap.dedent( - """ - #!%(python_exe)s -Oi - import sys - input = repr(sys.stdin.read()) - print(sys.argv[0][-14:]) - print(sys.argv[1:]) - print(input) - if __debug__: - print('non-optimized') - sys.ps1 = '---' - """ - ).lstrip() - with (tmpdir / 'foo-script.py').open('w') as f: - f.write(self.prep_script(tmpl)) - cmd = [str(tmpdir / 'foo.exe')] - proc = subprocess.Popen( - cmd, - stdout=subprocess.PIPE, - stdin=subprocess.PIPE, - stderr=subprocess.STDOUT, - text=True, - encoding="utf-8", - ) - stdout, _stderr = proc.communicate() - actual = stdout.replace('\r\n', '\n') - expected = textwrap.dedent( - r""" - \foo-script.py - [] - '' - --- - """ - ).lstrip() - assert actual == expected - - -class TestGUI(WrapperTester): - """ - Testing the GUI Version - ----------------------- - """ - - script_name = 'bar-script.pyw' - wrapper_source = win_launcher_exe('gui') - wrapper_name = 'bar.exe' - - script_tmpl = textwrap.dedent( - """ - #!%(python_exe)s - import sys - f = open(sys.argv[1], 'wb') - bytes_written = f.write(repr(sys.argv[2]).encode('utf-8')) - f.close() - """ - ).strip() - - def test_basic(self, tmpdir): - """Test the GUI version with the simple script, bar-script.py""" - self.create_script(tmpdir) - - cmd = [ - str(tmpdir / 'bar.exe'), - str(tmpdir / 'test_output.txt'), - 'Test Argument', - ] - proc = subprocess.Popen( - cmd, - stdout=subprocess.PIPE, - stdin=subprocess.PIPE, - stderr=subprocess.STDOUT, - text=True, - encoding="utf-8", - ) - stdout, stderr = proc.communicate() - assert not stdout - assert not stderr - with (tmpdir / 'test_output.txt').open('rb') as f_out: - actual = f_out.read().decode('ascii') - assert actual == repr('Test Argument') diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/text.py b/.venv/lib/python3.12/site-packages/setuptools/tests/text.py deleted file mode 100644 index e05cc633..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/text.py +++ /dev/null @@ -1,4 +0,0 @@ -class Filenames: - unicode = 'smörbröd.py' - latin_1 = unicode.encode('latin-1') - utf_8 = unicode.encode('utf-8') diff --git a/.venv/lib/python3.12/site-packages/setuptools/tests/textwrap.py b/.venv/lib/python3.12/site-packages/setuptools/tests/textwrap.py deleted file mode 100644 index 5e39618d..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/tests/textwrap.py +++ /dev/null @@ -1,6 +0,0 @@ -import textwrap - - -def DALS(s): - "dedent and left-strip" - return textwrap.dedent(s).lstrip() diff --git a/.venv/lib/python3.12/site-packages/setuptools/unicode_utils.py b/.venv/lib/python3.12/site-packages/setuptools/unicode_utils.py deleted file mode 100644 index a6e33f2e..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/unicode_utils.py +++ /dev/null @@ -1,102 +0,0 @@ -import sys -import unicodedata -from configparser import RawConfigParser - -from .compat import py39 -from .warnings import SetuptoolsDeprecationWarning - - -# HFS Plus uses decomposed UTF-8 -def decompose(path): - if isinstance(path, str): - return unicodedata.normalize('NFD', path) - try: - path = path.decode('utf-8') - path = unicodedata.normalize('NFD', path) - path = path.encode('utf-8') - except UnicodeError: - pass # Not UTF-8 - return path - - -def filesys_decode(path): - """ - Ensure that the given path is decoded, - ``None`` when no expected encoding works - """ - - if isinstance(path, str): - return path - - fs_enc = sys.getfilesystemencoding() or 'utf-8' - candidates = fs_enc, 'utf-8' - - for enc in candidates: - try: - return path.decode(enc) - except UnicodeDecodeError: - continue - - return None - - -def try_encode(string, enc): - "turn unicode encoding into a functional routine" - try: - return string.encode(enc) - except UnicodeEncodeError: - return None - - -def _read_utf8_with_fallback(file: str, fallback_encoding=py39.LOCALE_ENCODING) -> str: - """ - First try to read the file with UTF-8, if there is an error fallback to a - different encoding ("locale" by default). Returns the content of the file. - Also useful when reading files that might have been produced by an older version of - setuptools. - """ - try: - with open(file, "r", encoding="utf-8") as f: - return f.read() - except UnicodeDecodeError: # pragma: no cover - _Utf8EncodingNeeded.emit(file=file, fallback_encoding=fallback_encoding) - with open(file, "r", encoding=fallback_encoding) as f: - return f.read() - - -def _cfg_read_utf8_with_fallback( - cfg: RawConfigParser, file: str, fallback_encoding=py39.LOCALE_ENCODING -) -> None: - """Same idea as :func:`_read_utf8_with_fallback`, but for the - :meth:`RawConfigParser.read` method. - - This method may call ``cfg.clear()``. - """ - try: - cfg.read(file, encoding="utf-8") - except UnicodeDecodeError: # pragma: no cover - _Utf8EncodingNeeded.emit(file=file, fallback_encoding=fallback_encoding) - cfg.clear() - cfg.read(file, encoding=fallback_encoding) - - -class _Utf8EncodingNeeded(SetuptoolsDeprecationWarning): - _SUMMARY = """ - `encoding="utf-8"` fails with {file!r}, trying `encoding={fallback_encoding!r}`. - """ - - _DETAILS = """ - Fallback behaviour for UTF-8 is considered **deprecated** and future versions of - `setuptools` 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? - # Will we be able to remove this? - # The question comes to mind mainly because of sdists that have been produced - # by old versions of setuptools and published to PyPI... diff --git a/.venv/lib/python3.12/site-packages/setuptools/version.py b/.venv/lib/python3.12/site-packages/setuptools/version.py deleted file mode 100644 index ec253c41..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/version.py +++ /dev/null @@ -1,6 +0,0 @@ -from ._importlib import metadata - -try: - __version__ = metadata.version('setuptools') or '0.dev0+unknown' -except Exception: - __version__ = '0.dev0+unknown' diff --git a/.venv/lib/python3.12/site-packages/setuptools/warnings.py b/.venv/lib/python3.12/site-packages/setuptools/warnings.py deleted file mode 100644 index 96467787..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/warnings.py +++ /dev/null @@ -1,110 +0,0 @@ -"""Provide basic warnings used by setuptools modules. - -Using custom classes (other than ``UserWarning``) allow users to set -``PYTHONWARNINGS`` filters to run tests and prepare for upcoming changes in -setuptools. -""" - -from __future__ import annotations - -import os -import warnings -from datetime import date -from inspect import cleandoc -from textwrap import indent -from typing import TYPE_CHECKING - -if TYPE_CHECKING: - from typing_extensions import TypeAlias - -_DueDate: TypeAlias = tuple[int, int, int] # time tuple -_INDENT = 8 * " " -_TEMPLATE = f"""{80 * '*'}\n{{details}}\n{80 * '*'}""" - - -class SetuptoolsWarning(UserWarning): - """Base class in ``setuptools`` warning hierarchy.""" - - @classmethod - def emit( - cls, - summary: str | None = None, - details: str | None = None, - due_date: _DueDate | None = None, - see_docs: str | None = None, - see_url: str | None = None, - stacklevel: int = 2, - **kwargs, - ) -> None: - """Private: reserved for ``setuptools`` internal use only""" - # Default values: - summary_ = summary or getattr(cls, "_SUMMARY", None) or "" - details_ = details or getattr(cls, "_DETAILS", None) or "" - due_date = due_date or getattr(cls, "_DUE_DATE", None) - docs_ref = see_docs or getattr(cls, "_SEE_DOCS", None) - docs_url = docs_ref and f"https://setuptools.pypa.io/en/latest/{docs_ref}" - see_url = see_url or getattr(cls, "_SEE_URL", None) - due = date(*due_date) if due_date else None - - text = cls._format(summary_, details_, due, see_url or docs_url, kwargs) - if due and due < date.today() and _should_enforce(): - raise cls(text) - warnings.warn(text, cls, stacklevel=stacklevel + 1) - - @classmethod - def _format( - cls, - summary: str, - details: str, - due_date: date | None = None, - see_url: str | None = None, - format_args: dict | None = None, - ) -> str: - """Private: reserved for ``setuptools`` internal use only""" - today = date.today() - summary = cleandoc(summary).format_map(format_args or {}) - possible_parts = [ - cleandoc(details).format_map(format_args or {}), - ( - f"\nBy {due_date:%Y-%b-%d}, you need to update your project and remove " - "deprecated calls\nor your builds will no longer be supported." - if due_date and due_date > today - else None - ), - ( - "\nThis deprecation is overdue, please update your project and remove " - "deprecated\ncalls to avoid build errors in the future." - if due_date and due_date < today - else None - ), - (f"\nSee {see_url} for details." if see_url else None), - ] - parts = [x for x in possible_parts if x] - if parts: - body = indent(_TEMPLATE.format(details="\n".join(parts)), _INDENT) - return "\n".join([summary, "!!\n", body, "\n!!"]) - return summary - - -class InformationOnly(SetuptoolsWarning): - """Currently there is no clear way of displaying messages to the users - that use the setuptools backend directly via ``pip``. - The only thing that might work is a warning, although it is not the - most appropriate tool for the job... - - See pypa/packaging-problems#558. - """ - - -class SetuptoolsDeprecationWarning(SetuptoolsWarning): - """ - Base class for warning deprecations in ``setuptools`` - - This class is not derived from ``DeprecationWarning``, and as such is - visible by default. - """ - - -def _should_enforce(): - enforce = os.getenv("SETUPTOOLS_ENFORCE_DEPRECATION", "false").lower() - return enforce in ("true", "on", "ok", "1") diff --git a/.venv/lib/python3.12/site-packages/setuptools/wheel.py b/.venv/lib/python3.12/site-packages/setuptools/wheel.py deleted file mode 100644 index fb19f1a6..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/wheel.py +++ /dev/null @@ -1,236 +0,0 @@ -"""Wheels support.""" - -import contextlib -import email -import functools -import itertools -import os -import posixpath -import re -import zipfile - -from packaging.tags import sys_tags -from packaging.utils import canonicalize_name -from packaging.version import Version as parse_version - -import setuptools -from setuptools.archive_util import _unpack_zipfile_obj -from setuptools.command.egg_info import _egg_basename, write_requirements - -from .unicode_utils import _read_utf8_with_fallback - -from distutils.util import get_platform - -WHEEL_NAME = re.compile( - r"""^(?P.+?)-(?P\d.*?) - ((-(?P\d.*?))?-(?P.+?)-(?P.+?)-(?P.+?) - )\.whl$""", - re.VERBOSE, -).match - -NAMESPACE_PACKAGE_INIT = "__import__('pkg_resources').declare_namespace(__name__)\n" - - -@functools.cache -def _get_supported_tags(): - # We calculate the supported tags only once, otherwise calling - # this method on thousands of wheels takes seconds instead of - # milliseconds. - return {(t.interpreter, t.abi, t.platform) for t in sys_tags()} - - -def unpack(src_dir, dst_dir) -> None: - """Move everything under `src_dir` to `dst_dir`, and delete the former.""" - for dirpath, dirnames, filenames in os.walk(src_dir): - subdir = os.path.relpath(dirpath, src_dir) - for f in filenames: - src = os.path.join(dirpath, f) - dst = os.path.join(dst_dir, subdir, f) - os.renames(src, dst) - for n, d in reversed(list(enumerate(dirnames))): - src = os.path.join(dirpath, d) - dst = os.path.join(dst_dir, subdir, d) - if not os.path.exists(dst): - # Directory does not exist in destination, - # rename it and prune it from os.walk list. - os.renames(src, dst) - del dirnames[n] - # Cleanup. - for dirpath, dirnames, filenames in os.walk(src_dir, topdown=True): - assert not filenames - os.rmdir(dirpath) - - -@contextlib.contextmanager -def disable_info_traces(): - """ - Temporarily disable info traces. - """ - from distutils import log - - saved = log.set_threshold(log.WARN) - try: - yield - finally: - log.set_threshold(saved) - - -class Wheel: - def __init__(self, filename) -> None: - match = WHEEL_NAME(os.path.basename(filename)) - if match is None: - raise ValueError('invalid wheel name: %r' % filename) - self.filename = filename - for k, v in match.groupdict().items(): - setattr(self, k, v) - - def tags(self): - """List tags (py_version, abi, platform) supported by this wheel.""" - return itertools.product( - self.py_version.split('.'), - self.abi.split('.'), - self.platform.split('.'), - ) - - def is_compatible(self): - """Is the wheel compatible with the current platform?""" - return next((True for t in self.tags() if t in _get_supported_tags()), False) - - def egg_name(self): - return ( - _egg_basename( - self.project_name, - self.version, - platform=(None if self.platform == 'any' else get_platform()), - ) - + ".egg" - ) - - def get_dist_info(self, zf): - # find the correct name of the .dist-info dir in the wheel file - for member in zf.namelist(): - dirname = posixpath.dirname(member) - if dirname.endswith('.dist-info') and canonicalize_name(dirname).startswith( - canonicalize_name(self.project_name) - ): - return dirname - raise ValueError("unsupported wheel format. .dist-info not found") - - def install_as_egg(self, destination_eggdir) -> None: - """Install wheel as an egg directory.""" - with zipfile.ZipFile(self.filename) as zf: - self._install_as_egg(destination_eggdir, zf) - - def _install_as_egg(self, destination_eggdir, zf): - dist_basename = '%s-%s' % (self.project_name, self.version) - dist_info = self.get_dist_info(zf) - dist_data = '%s.data' % dist_basename - egg_info = os.path.join(destination_eggdir, 'EGG-INFO') - - self._convert_metadata(zf, destination_eggdir, dist_info, egg_info) - self._move_data_entries(destination_eggdir, dist_data) - self._fix_namespace_packages(egg_info, destination_eggdir) - - @staticmethod - def _convert_metadata(zf, destination_eggdir, dist_info, egg_info): - import pkg_resources - - def get_metadata(name): - with zf.open(posixpath.join(dist_info, name)) as fp: - value = fp.read().decode('utf-8') - return email.parser.Parser().parsestr(value) - - wheel_metadata = get_metadata('WHEEL') - # Check wheel format version is supported. - wheel_version = parse_version(wheel_metadata.get('Wheel-Version')) - wheel_v1 = parse_version('1.0') <= wheel_version < parse_version('2.0dev0') - if not wheel_v1: - raise ValueError('unsupported wheel format version: %s' % wheel_version) - # Extract to target directory. - _unpack_zipfile_obj(zf, destination_eggdir) - # Convert metadata. - dist_info = os.path.join(destination_eggdir, dist_info) - dist = pkg_resources.Distribution.from_location( - destination_eggdir, - dist_info, - metadata=pkg_resources.PathMetadata(destination_eggdir, dist_info), - ) - - # Note: Evaluate and strip markers now, - # as it's difficult to convert back from the syntax: - # foobar; "linux" in sys_platform and extra == 'test' - def raw_req(req): - req.marker = None - return str(req) - - install_requires = list(map(raw_req, dist.requires())) - extras_require = { - extra: [ - req - for req in map(raw_req, dist.requires((extra,))) - if req not in install_requires - ] - for extra in dist.extras - } - os.rename(dist_info, egg_info) - os.rename( - os.path.join(egg_info, 'METADATA'), - os.path.join(egg_info, 'PKG-INFO'), - ) - setup_dist = setuptools.Distribution( - attrs=dict( - install_requires=install_requires, - extras_require=extras_require, - ), - ) - with disable_info_traces(): - write_requirements( - setup_dist.get_command_obj('egg_info'), - None, - os.path.join(egg_info, 'requires.txt'), - ) - - @staticmethod - def _move_data_entries(destination_eggdir, dist_data): - """Move data entries to their correct location.""" - dist_data = os.path.join(destination_eggdir, dist_data) - dist_data_scripts = os.path.join(dist_data, 'scripts') - if os.path.exists(dist_data_scripts): - egg_info_scripts = os.path.join(destination_eggdir, 'EGG-INFO', 'scripts') - os.mkdir(egg_info_scripts) - for entry in os.listdir(dist_data_scripts): - # Remove bytecode, as it's not properly handled - # during easy_install scripts install phase. - if entry.endswith('.pyc'): - os.unlink(os.path.join(dist_data_scripts, entry)) - else: - os.rename( - os.path.join(dist_data_scripts, entry), - os.path.join(egg_info_scripts, entry), - ) - os.rmdir(dist_data_scripts) - for subdir in filter( - os.path.exists, - ( - os.path.join(dist_data, d) - for d in ('data', 'headers', 'purelib', 'platlib') - ), - ): - unpack(subdir, destination_eggdir) - if os.path.exists(dist_data): - os.rmdir(dist_data) - - @staticmethod - def _fix_namespace_packages(egg_info, destination_eggdir): - namespace_packages = os.path.join(egg_info, 'namespace_packages.txt') - if os.path.exists(namespace_packages): - namespace_packages = _read_utf8_with_fallback(namespace_packages).split() - - for mod in namespace_packages: - mod_dir = os.path.join(destination_eggdir, *mod.split('.')) - mod_init = os.path.join(mod_dir, '__init__.py') - if not os.path.exists(mod_dir): - os.mkdir(mod_dir) - if not os.path.exists(mod_init): - with open(mod_init, 'w', encoding="utf-8") as fp: - fp.write(NAMESPACE_PACKAGE_INIT) diff --git a/.venv/lib/python3.12/site-packages/setuptools/windows_support.py b/.venv/lib/python3.12/site-packages/setuptools/windows_support.py deleted file mode 100644 index 7a2b53a2..00000000 --- a/.venv/lib/python3.12/site-packages/setuptools/windows_support.py +++ /dev/null @@ -1,30 +0,0 @@ -import platform - - -def windows_only(func): - if platform.system() != 'Windows': - return lambda *args, **kwargs: None - return func - - -@windows_only -def hide_file(path: str) -> None: - """ - Set the hidden attribute on a file or directory. - - From https://stackoverflow.com/questions/19622133/ - - `path` must be text. - """ - import ctypes - import ctypes.wintypes - - SetFileAttributes = ctypes.windll.kernel32.SetFileAttributesW - SetFileAttributes.argtypes = ctypes.wintypes.LPWSTR, ctypes.wintypes.DWORD - SetFileAttributes.restype = ctypes.wintypes.BOOL - - FILE_ATTRIBUTE_HIDDEN = 0x02 - - ret = SetFileAttributes(path, FILE_ATTRIBUTE_HIDDEN) - if not ret: - raise ctypes.WinError() diff --git a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/LICENSE.txt b/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/LICENSE.txt deleted file mode 100644 index c2da06d6..00000000 --- a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/LICENSE.txt +++ /dev/null @@ -1,29 +0,0 @@ -BSD 3-Clause License - -Copyright (c) 2007, Sean C. Gillies. 2019, Casper van der Wel. 2007-2022, Shapely 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/python3.12/site-packages/shapely-2.0.2.dist-info/LICENSE_GEOS b/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/LICENSE_GEOS deleted file mode 100644 index 96c6d090..00000000 --- a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/LICENSE_GEOS +++ /dev/null @@ -1,509 +0,0 @@ -This binary distribution of pygeos also bundles the following software: - -Name: Geometry Engine Open Source (GEOS) -Files: libgeos-*.so.*, libgeos_c-*.so.*, libgeos.dylib, libgeos_c.dylib, geos-*.dll, geos_c-*.dll -Availability: https://libgeos.org -License: LGPLv2.1 - - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 - - Copyright (C) 1991, 1999 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. - -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. - - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. - - When we speak of free software, we are referring to freedom of use, -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 and use pieces of -it in new free programs; and that you are informed that you can do -these things. - - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. - - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. - - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. - - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. - - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. - - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. - - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. - - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. - - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. - - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. - - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, 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 library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete 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 distribute a copy of this License along with the -Library. - - 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 Library or any portion -of it, thus forming a work based on the Library, 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) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -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 Library, 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 Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you 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. - - If distribution of 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 satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be 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. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library 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. - - 9. 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 Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -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 with -this License. - - 11. 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 Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library 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 Library. - -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. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library 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. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser 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 Library -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 Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -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 - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "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 -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. 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 LIBRARY 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 -LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - 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 Street, Fifth Floor, Boston, MA 02110-1301 USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! diff --git a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/METADATA deleted file mode 100644 index a7136063..00000000 --- a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/METADATA +++ /dev/null @@ -1,212 +0,0 @@ -Metadata-Version: 2.1 -Name: shapely -Version: 2.0.2 -Summary: Manipulation and analysis of geometric objects -Author: Sean Gillies -Maintainer: Shapely contributors -License: BSD 3-Clause -Project-URL: Documentation, https://shapely.readthedocs.io/ -Project-URL: Repository, https://github.com/shapely/shapely -Keywords: geometry,topology,gis -Classifier: Development Status :: 5 - Production/Stable -Classifier: Intended Audience :: Developers -Classifier: Intended Audience :: Science/Research -Classifier: License :: OSI Approved :: BSD License -Classifier: Operating System :: Unix -Classifier: Operating System :: MacOS -Classifier: Operating System :: Microsoft :: Windows -Classifier: Programming Language :: Python :: 3 -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 :: Scientific/Engineering :: GIS -Requires-Python: >=3.7 -Description-Content-Type: text/x-rst -License-File: LICENSE.txt -License-File: LICENSE_GEOS -Requires-Dist: numpy >=1.14 -Provides-Extra: docs -Requires-Dist: numpydoc ==1.1.* ; extra == 'docs' -Requires-Dist: matplotlib ; extra == 'docs' -Requires-Dist: sphinx ; extra == 'docs' -Requires-Dist: sphinx-book-theme ; extra == 'docs' -Requires-Dist: sphinx-remove-toctrees ; extra == 'docs' -Provides-Extra: test -Requires-Dist: pytest ; extra == 'test' -Requires-Dist: pytest-cov ; extra == 'test' - -======= -Shapely -======= - -.. Documentation at RTD — https://readthedocs.org - -.. image:: https://readthedocs.org/projects/shapely/badge/?version=stable - :alt: Documentation Status - :target: https://shapely.readthedocs.io/en/stable/ - -.. Github Actions status — https://github.com/shapely/shapely/actions - -.. |github-actions| image:: https://github.com/shapely/shapely/workflows/Tests/badge.svg?branch=main - :alt: Github Actions status - :target: https://github.com/shapely/shapely/actions?query=branch%3Amain - -.. Travis CI status -- https://travis-ci.com - -.. image:: https://travis-ci.com/shapely/shapely.svg?branch=main - :alt: Travis CI status - :target: https://travis-ci.com/github/shapely/shapely - -.. PyPI - -.. image:: https://img.shields.io/pypi/v/shapely.svg - :alt: PyPI - :target: https://pypi.org/project/shapely/ - -.. Anaconda - -.. image:: https://img.shields.io/conda/vn/conda-forge/shapely - :alt: Anaconda - :target: https://anaconda.org/conda-forge/shapely - -.. Coverage - -.. |coveralls| image:: https://coveralls.io/repos/github/shapely/shapely/badge.svg?branch=main - :target: https://coveralls.io/github/shapely/shapely?branch=main - -.. Zenodo - -.. .. image:: https://zenodo.org/badge/191151963.svg -.. :alt: Zenodo -.. :target: https://zenodo.org/badge/latestdoi/191151963 - -Manipulation and analysis of geometric objects in the Cartesian plane. - -.. image:: https://c2.staticflickr.com/6/5560/31301790086_b3472ea4e9_c.jpg - :width: 800 - :height: 378 - -Shapely is a BSD-licensed Python package for manipulation and analysis of -planar geometric objects. It is using the widely deployed open-source -geometry library `GEOS `__ (the engine of `PostGIS -`__, and a port of `JTS `__). -Shapely wraps GEOS geometries and operations to provide both a feature rich -`Geometry` interface for singular (scalar) geometries and higher-performance -NumPy ufuncs for operations using arrays of geometries. -Shapely is not primarily focused on data serialization formats or coordinate -systems, but can be readily integrated with packages that are. - -What is a ufunc? ----------------- - -A universal function (or ufunc for short) is a function that operates on -*n*-dimensional arrays on an element-by-element fashion and supports array -broadcasting. The underlying ``for`` loops are implemented in C to reduce the -overhead of the Python interpreter. - -Multithreading --------------- - -Shapely functions generally support multithreading by releasing the Global -Interpreter Lock (GIL) during execution. Normally in Python, the GIL prevents -multiple threads from computing at the same time. Shapely functions -internally release this constraint so that the heavy lifting done by GEOS can -be done in parallel, from a single Python process. - -Usage -===== - -Here is the canonical example of building an approximately circular patch by -buffering a point, using the scalar Geometry interface: - -.. code-block:: pycon - - >>> from shapely import Point - >>> patch = Point(0.0, 0.0).buffer(10.0) - >>> patch - - >>> patch.area - 313.6548490545941 - -Using the vectorized ufunc interface (instead of using a manual for loop), -compare an array of points with a polygon: - -.. code:: python - - >>> import shapely - >>> import numpy as np - >>> geoms = np.array([Point(0, 0), Point(1, 1), Point(2, 2)]) - >>> polygon = shapely.box(0, 0, 2, 2) - - >>> shapely.contains(polygon, geoms) - array([False, True, False]) - -See the documentation for more examples and guidance: https://shapely.readthedocs.io - -Requirements -============ - -Shapely 2.0 requires - -* Python >=3.7 -* GEOS >=3.5 -* NumPy >=1.14 - -Installing Shapely -================== - -We recommend installing Shapely using one of the available built -distributions, for example using ``pip`` or ``conda``: - -.. code-block:: console - - $ pip install shapely - # or using conda - $ conda install shapely --channel conda-forge - -See the `installation documentation `__ -for more details and advanced installation instructions. - -Integration -=========== - -Shapely does not read or write data files, but it can serialize and deserialize -using several well known formats and protocols. The shapely.wkb and shapely.wkt -modules provide dumpers and loaders inspired by Python's pickle module. - -.. code-block:: pycon - - >>> from shapely.wkt import dumps, loads - >>> dumps(loads('POINT (0 0)')) - 'POINT (0.0000000000000000 0.0000000000000000)' - -Shapely can also integrate with other Python GIS packages using GeoJSON-like -dicts. - -.. code-block:: pycon - - >>> import json - >>> from shapely.geometry import mapping, shape - >>> s = shape(json.loads('{"type": "Point", "coordinates": [0.0, 0.0]}')) - >>> s - - >>> print(json.dumps(mapping(s))) - {"type": "Point", "coordinates": [0.0, 0.0]} - -Support -======= - -Questions about using Shapely may be asked on the `GIS StackExchange -`__ using the "shapely" -tag. - -Bugs may be reported at https://github.com/shapely/shapely/issues. - -Copyright & License -=================== - -Shapely is licensed under BSD 3-Clause license. -GEOS is available under the terms of GNU Lesser General Public License (LGPL) 2.1 at https://libgeos.org. diff --git a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/RECORD deleted file mode 100644 index 15dd3672..00000000 --- a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/RECORD +++ /dev/null @@ -1,261 +0,0 @@ -shapely-2.0.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -shapely-2.0.2.dist-info/LICENSE.txt,sha256=SiB-rJvyV-0obhxvD84lPRq_2xNPxh7IVeN_VpKj91Q,1583 -shapely-2.0.2.dist-info/LICENSE_GEOS,sha256=xwCXD97yCq7HX4C5EeIE1L9W52-LFEbnjSPGkbto9Ok,26795 -shapely-2.0.2.dist-info/METADATA,sha256=AUHojmdCHwzauZseVhYLfYAlGXfQIFbOmknyZ14Skig,6998 -shapely-2.0.2.dist-info/RECORD,, -shapely-2.0.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -shapely-2.0.2.dist-info/WHEEL,sha256=4ZiCdXIWMxJyEClivrQv1QAHZpQh8kVYU92_ZAVwaok,152 -shapely-2.0.2.dist-info/top_level.txt,sha256=fxc5UIKKldpKP3lx2dvM5R3hWeKwlmVW6-nfikr3iU0,8 -shapely.libs/libgeos-9061d950.so.3.11.2,sha256=M7X36usam0I6xzR-Vd-xOEePNZXn3lRZEYsagS_Wf_o,4096321 -shapely.libs/libgeos_c-816043d1.so.1.17.2,sha256=39v7tjw0T4ydIdGtaVjuGw7eVWVMhpV7kPXrfpJjqk4,439233 -shapely/__init__.py,sha256=JYPRTL-BInpJIzaS2JSpUB2X-O8FAQxYEWJIhYQ5yRY,1049 -shapely/__pycache__/__init__.cpython-312.pyc,, -shapely/__pycache__/_enum.cpython-312.pyc,, -shapely/__pycache__/_geometry.cpython-312.pyc,, -shapely/__pycache__/_ragged_array.cpython-312.pyc,, -shapely/__pycache__/_version.cpython-312.pyc,, -shapely/__pycache__/affinity.cpython-312.pyc,, -shapely/__pycache__/constructive.cpython-312.pyc,, -shapely/__pycache__/coordinates.cpython-312.pyc,, -shapely/__pycache__/coords.cpython-312.pyc,, -shapely/__pycache__/creation.cpython-312.pyc,, -shapely/__pycache__/decorators.cpython-312.pyc,, -shapely/__pycache__/errors.cpython-312.pyc,, -shapely/__pycache__/geos.cpython-312.pyc,, -shapely/__pycache__/io.cpython-312.pyc,, -shapely/__pycache__/linear.cpython-312.pyc,, -shapely/__pycache__/measurement.cpython-312.pyc,, -shapely/__pycache__/ops.cpython-312.pyc,, -shapely/__pycache__/plotting.cpython-312.pyc,, -shapely/__pycache__/predicates.cpython-312.pyc,, -shapely/__pycache__/prepared.cpython-312.pyc,, -shapely/__pycache__/set_operations.cpython-312.pyc,, -shapely/__pycache__/speedups.cpython-312.pyc,, -shapely/__pycache__/strtree.cpython-312.pyc,, -shapely/__pycache__/testing.cpython-312.pyc,, -shapely/__pycache__/validation.cpython-312.pyc,, -shapely/__pycache__/wkb.cpython-312.pyc,, -shapely/__pycache__/wkt.cpython-312.pyc,, -shapely/_enum.py,sha256=SLuvOs440tV8yDRGbiR8l0AE2WLms1Ri8Z666hDZEOU,713 -shapely/_geometry.py,sha256=irSMc7zqjN-tyDKz8NpBkb97NurUrjBuub1feIYPow0,23925 -shapely/_geometry_helpers.cpython-312-x86_64-linux-gnu.so,sha256=DABXZsHiqWhgf-vxaeQUCdrbPRZCbxj_R6rK_nQFVBk,2195457 -shapely/_geos.cpython-312-x86_64-linux-gnu.so,sha256=xl9zQwUUoQyTNxM37TL7WkJxfjcRnNkFQJ2R_7-rqLM,404225 -shapely/_geos.pxd,sha256=zj448O8W73mHcjjOa3N5NAHOz5ujtdq-f9zwaF9Vxzw,2889 -shapely/_pygeos_api.pxd,sha256=jP7i6JBN2HpOn-bybe-2HNBshQq4qmxOmS04T0yA3bo,1518 -shapely/_ragged_array.py,sha256=oFNOEyi9Q6G5v2V3Y6aUIDvlYGWK75wHK85vgKAwEBw,16474 -shapely/_version.py,sha256=D6EujmdAkBMf-rFmW8upoh0ZtHGn6rP7wFhcrNRAgwc,497 -shapely/affinity.py,sha256=Up9mCMItVGFJQM5CzTXN8DZfDRmXDp4HDL1rusFMRhg,7644 -shapely/algorithms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -shapely/algorithms/__pycache__/__init__.cpython-312.pyc,, -shapely/algorithms/__pycache__/_oriented_envelope.cpython-312.pyc,, -shapely/algorithms/__pycache__/cga.cpython-312.pyc,, -shapely/algorithms/__pycache__/polylabel.cpython-312.pyc,, -shapely/algorithms/_oriented_envelope.py,sha256=In_DjC36_3V4KKi1Jty4C89kFP5HfNQ1Hwy_MIIFzCg,1996 -shapely/algorithms/cga.py,sha256=GHQBLFI1Epq-Zj92RO3K8yYRado1xNBsrS4djawo068,625 -shapely/algorithms/polylabel.py,sha256=vH904OcVSlV-UKIsctp54VBkUBy8_-NuMiyLvRNPclc,4692 -shapely/constructive.py,sha256=ap_HwxbJlEW3kGZBziYLxCbt7eIFw46sXMxYmtMw-oM,38034 -shapely/coordinates.py,sha256=vU6HRO9tuSuX60WwLPTv9ey2qC5LkIJ1_AArWROSnqc,7220 -shapely/coords.py,sha256=g8WtiMBRrvl8mpqmeWGHZBJ5YkOKjWKT5tZnPXl-x6o,1570 -shapely/creation.py,sha256=gU5XcIbGGGgiWWk64Il99wAujvpWcAyU_w8DEs1WJWM,20245 -shapely/decorators.py,sha256=iIc3gElIIOgQ-xP3a1mT_VDKFSC5vPqRwNb-tSeAca0,2555 -shapely/errors.py,sha256=w77yN5CcXLcy0jZmYBK0YZ_4f0hX-A7qqRoGRKks1Xc,2455 -shapely/geometry/__init__.py,sha256=Nlqw8usKbsZUt-PRO02a_zRoyZifJYvUzbUnQrVnaKo,763 -shapely/geometry/__pycache__/__init__.cpython-312.pyc,, -shapely/geometry/__pycache__/base.cpython-312.pyc,, -shapely/geometry/__pycache__/collection.cpython-312.pyc,, -shapely/geometry/__pycache__/conftest.cpython-312.pyc,, -shapely/geometry/__pycache__/geo.cpython-312.pyc,, -shapely/geometry/__pycache__/linestring.cpython-312.pyc,, -shapely/geometry/__pycache__/multilinestring.cpython-312.pyc,, -shapely/geometry/__pycache__/multipoint.cpython-312.pyc,, -shapely/geometry/__pycache__/multipolygon.cpython-312.pyc,, -shapely/geometry/__pycache__/point.cpython-312.pyc,, -shapely/geometry/__pycache__/polygon.cpython-312.pyc,, -shapely/geometry/base.py,sha256=lDo7ODukTpw-N4zelu0dZ-4UKhWYL8WDG2kkx6lAPFo,34131 -shapely/geometry/collection.py,sha256=tOMe2tLl_w3Xl3pHXmMiTEczY9BCltLQYmfkOdBj_r4,1599 -shapely/geometry/conftest.py,sha256=QkHIGaq9zHRWmHu1Z5Wu1AMJHSKQZCP7U73rADWXkTM,224 -shapely/geometry/geo.py,sha256=qQtXCdGpzif-NOu7KT7bN1guP8ceYEjwmhahB5bTOvk,4098 -shapely/geometry/linestring.py,sha256=Wl1yMKmSL0ziAX-QJgybl2ekg_1o1sYCDOlI7ZsC7ck,6786 -shapely/geometry/multilinestring.py,sha256=uI6CP6ds_efY9Dy_a6QLkyiZNAIiMdNpJ2Y7IZJ5hVo,2796 -shapely/geometry/multipoint.py,sha256=7Jrxb69a5zlAEFmyUfmCRiIxED8T8ghyhKhLsSZNjRM,2683 -shapely/geometry/multipolygon.py,sha256=9LS73gtyOKs22N8Btz4WzGxFlljy1obtOgb0u80lhos,3843 -shapely/geometry/point.py,sha256=Npik3CUzvbxnfRF7BxZbBBc77g_R41rsG74JGj1whho,4183 -shapely/geometry/polygon.py,sha256=6Gd79LbX7JrZwcRGpRMYbvcblCeQ1JZ0zc1MkLjAB5c,11366 -shapely/geos.py,sha256=xL5Tejiyjw1t7y51pZBNtcrxYZn4m8G1q39qthxi2Rk,222 -shapely/io.py,sha256=3-DCnk4aMGfMLnH4zwPBMv8aFR_3jlGoS_I76yaIL4w,13344 -shapely/lib.cpython-312-x86_64-linux-gnu.so,sha256=GzDSFJEz_6sDaAhDMflDEtWzr9uY6eJ0wwSIlD77S5k,694761 -shapely/linear.py,sha256=C_us0k6iJ9RC2HWR5oBQRCDU7Xzm219Hexd5CcDXf38,7297 -shapely/measurement.py,sha256=W10XJnoPG9msghnoA3QS-qxiCP40u6wS-UvhhG8lQEg,9727 -shapely/ops.py,sha256=1-OuJRfoSM0tuO0blDeCkuszwOYvli6hlpKEVDJ3ff4,26182 -shapely/plotting.py,sha256=DeIWQD_8sKg_fmMb1vSlXjcXhRRhfb5w1zN93MNmh_Y,6165 -shapely/predicates.py,sha256=_jA6vKax_N83Ott7AnVgZkflebg9axOaQeSWjKafsF4,32944 -shapely/prepared.py,sha256=kcE28dEU3RayHycEH6NNp02nGq6tVPRK2KMsErCL8Fk,2402 -shapely/set_operations.py,sha256=AanuLUvUy6_JunPilBkfd9-zlnjbNGIH7kydaPaqMZ0,17507 -shapely/speedups.py,sha256=V7olKLqaE_F5iJ-cSMWfymQFrLsKj4zUx5u_qGzUvxU,948 -shapely/strtree.py,sha256=m7gTvKZ03a6eZ5UNw3QUqEVWGIBLZmLofBtTFccyZvk,20390 -shapely/testing.py,sha256=6_rzlpZE61iwihDAPTUOD--d8-qcD6pB7kyGna-pgzs,6333 -shapely/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -shapely/tests/__pycache__/__init__.cpython-312.pyc,, -shapely/tests/__pycache__/common.cpython-312.pyc,, -shapely/tests/__pycache__/test_constructive.cpython-312.pyc,, -shapely/tests/__pycache__/test_coordinates.cpython-312.pyc,, -shapely/tests/__pycache__/test_creation.cpython-312.pyc,, -shapely/tests/__pycache__/test_creation_indices.cpython-312.pyc,, -shapely/tests/__pycache__/test_geometry.cpython-312.pyc,, -shapely/tests/__pycache__/test_io.cpython-312.pyc,, -shapely/tests/__pycache__/test_linear.cpython-312.pyc,, -shapely/tests/__pycache__/test_measurement.cpython-312.pyc,, -shapely/tests/__pycache__/test_misc.cpython-312.pyc,, -shapely/tests/__pycache__/test_plotting.cpython-312.pyc,, -shapely/tests/__pycache__/test_predicates.cpython-312.pyc,, -shapely/tests/__pycache__/test_ragged_array.cpython-312.pyc,, -shapely/tests/__pycache__/test_set_operations.cpython-312.pyc,, -shapely/tests/__pycache__/test_strtree.cpython-312.pyc,, -shapely/tests/__pycache__/test_testing.cpython-312.pyc,, -shapely/tests/common.py,sha256=6lNSup6MMovGJOhdabV2vbeWVQBAtEDHqhmZQlG3ULE,2831 -shapely/tests/geometry/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -shapely/tests/geometry/__pycache__/__init__.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_collection.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_coords.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_decimal.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_emptiness.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_equality.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_format.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_geometry_base.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_hash.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_linestring.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_multi.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_multilinestring.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_multipoint.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_multipolygon.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_point.cpython-312.pyc,, -shapely/tests/geometry/__pycache__/test_polygon.cpython-312.pyc,, -shapely/tests/geometry/test_collection.py,sha256=j3SPQwuw-L14UvtR3-ZFD7VDckesPPoL7eqRNZcZ5II,2230 -shapely/tests/geometry/test_coords.py,sha256=RI0mScQ-mLtVuQQsNfvPfMwPLgATcD6Kj3l9-PhXP80,2687 -shapely/tests/geometry/test_decimal.py,sha256=xGPoBZ7kR6dzoXQeVufZv3pA-DE9sA3O4TbuFPsVWdg,2750 -shapely/tests/geometry/test_emptiness.py,sha256=FIPHsZWLgRoehKpvoezAsqjjzJnosL7y08a-AbHlbA4,2362 -shapely/tests/geometry/test_equality.py,sha256=KiwjrFOhueS7-emfTgEfPj0m2BtBX-8FQT7UolgGRGQ,7982 -shapely/tests/geometry/test_format.py,sha256=ZXAS0SolwSx2mLFpLPUyvgVInDnuiuaRaKn520ZI738,4318 -shapely/tests/geometry/test_geometry_base.py,sha256=Y9VFkUA9cHhfWsRSigeorH8yue6tTmtyrBrp2UjuFGs,7030 -shapely/tests/geometry/test_hash.py,sha256=EtQyaRUtTUIL8AiCjyvVC4KRJQ_E3uqr-4Wn_oaW-Ac,673 -shapely/tests/geometry/test_linestring.py,sha256=e_81lvGmqWm7GT_0OvzDcoldoBPju-7g-01zbUpSGBE,6339 -shapely/tests/geometry/test_multi.py,sha256=SejfKyNSH27bxQnLwouRHnxgrlQV6egaxLADR4G9ZBY,304 -shapely/tests/geometry/test_multilinestring.py,sha256=yFW5ctDIVvzrsPm8v9tnQByho6fs3ngR8nV31l6F1EU,2835 -shapely/tests/geometry/test_multipoint.py,sha256=y0ewZ0y85HayrjpLPfsrhAXySPz-rcC2KuGrOro2dTg,2435 -shapely/tests/geometry/test_multipolygon.py,sha256=WTNTrkEUNhgokvYuIA6oblF1wkAnvYskS5417865AIs,4074 -shapely/tests/geometry/test_point.py,sha256=UstZcumfejqgdueP4xyhNaVRGGnwUZfFC5bUX3cvBX0,4676 -shapely/tests/geometry/test_polygon.py,sha256=9__zIzfXrqOBkgAmpR_FHa1uMkTP9FDfv4I3yrjXw1k,15293 -shapely/tests/legacy/__init__.py,sha256=Jhb3gRBggyQeAgQVpobtcJAuqaVlFptXkTR9t3z48Ik,275 -shapely/tests/legacy/__pycache__/__init__.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/conftest.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_affinity.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_box.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_buffer.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_cga.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_clip_by_rect.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_create_inconsistent_dimensionality.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_delaunay.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_empty_polygons.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_equality.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_geointerface.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_invalid_geometries.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_linear_referencing.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_linemerge.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_locale.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_make_valid.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_mapping.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_minimum_clearance.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_ndarrays.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_nearest.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_operations.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_operators.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_orient.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_parallel_offset.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_persist.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_pickle.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_polygonize.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_polylabel.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_predicates.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_prepared.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_products_z.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_shape.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_shared_paths.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_singularity.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_snap.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_split.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_substring.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_svg.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_transform.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_union.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_validation.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_vectorized.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_voronoi_diagram.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_wkb.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/test_wkt.cpython-312.pyc,, -shapely/tests/legacy/__pycache__/threading_test.cpython-312.pyc,, -shapely/tests/legacy/conftest.py,sha256=dve1hOGWMjaOk58k_RUbU1RvnLCPLopnwGvUSMAmqrk,588 -shapely/tests/legacy/test_affinity.py,sha256=Q03K9atdQa5r-c4fVxvmuQDbAb1B4-EGZb6-Sx4SPtY,12531 -shapely/tests/legacy/test_box.py,sha256=dWUFGKq_ItxQNw613IPqkAJu0vAbCKDSiXNtXfaU7yI,599 -shapely/tests/legacy/test_buffer.py,sha256=LqeEwKb4irvmorGOYwbSqhB3hHFF6Ag2bnfZoULyTlg,6521 -shapely/tests/legacy/test_cga.py,sha256=FmLoEAfyWO9fvdrYLuxiDn4pk7fi60RN14eMBv1VXU8,1509 -shapely/tests/legacy/test_clip_by_rect.py,sha256=zBID16XD31PYB0Ojls9x-8UTzhjBEL-9CqFYSszz5Vg,4180 -shapely/tests/legacy/test_create_inconsistent_dimensionality.py,sha256=RXTo4yMWv15pWEyERPYdJhZ-nCqyz1WiTMOxZ2Q40Fo,10644 -shapely/tests/legacy/test_delaunay.py,sha256=TubjNzbTxij9N9VDRX9Po_3MpxytonkCoAExq5aVaRs,838 -shapely/tests/legacy/test_empty_polygons.py,sha256=pNjl0EVWuphek4TPHHqydPq10JqImQC0y963erL5K7E,683 -shapely/tests/legacy/test_equality.py,sha256=Q0lUt_1MbXrzUwnLSW6w4U1ThRvYNaUkO6NgdTxL0xI,931 -shapely/tests/legacy/test_geointerface.py,sha256=dAsuOZSaVTZjWXquLlC0bA7MufQ8-Rr67J7FWQCfj4o,3648 -shapely/tests/legacy/test_invalid_geometries.py,sha256=K-lRgzKTXcjRoXhfaNOILD6DzR2DO3XJfsNXjbrlpfs,907 -shapely/tests/legacy/test_linear_referencing.py,sha256=CBHU1SXOHor7WKGww1ZmoSgLqa0QsuhfVPK21aiNv0Y,2914 -shapely/tests/legacy/test_linemerge.py,sha256=AfoJ-20T6t3aw6EBCAG8VAYBJqWjDdaq6m3laxLAxlM,1330 -shapely/tests/legacy/test_locale.py,sha256=zlaz6tM71Do_2xyCbfzQEMREzfbFQYzscSrvKl1dEqc,1436 -shapely/tests/legacy/test_make_valid.py,sha256=6s-sf6RrcVUxwAFcG1fkmBnCtv4wHQXVD6FuA61YrD4,574 -shapely/tests/legacy/test_mapping.py,sha256=5CiH3Ab0BMkxbluE5T1A0lDYXWqbfpEESLkFcIKmr6I,395 -shapely/tests/legacy/test_minimum_clearance.py,sha256=jaV8heru7YwU1xWo8QO30qIcE4wR7B8tLz8DMtdZnfQ,916 -shapely/tests/legacy/test_ndarrays.py,sha256=5_sHeWOJ49rt41pLl5j41IbWFDDcSW0kAFqtC45jKkU,1244 -shapely/tests/legacy/test_nearest.py,sha256=eXHfHQA0k1cUYNcn9WvL9SpnwhCjFb2CeN2NAMHQ0M0,476 -shapely/tests/legacy/test_operations.py,sha256=2KbOgN48Y8YLYrdff7M9TTMrX8AgQuFcDNeiEnzI8Sk,4074 -shapely/tests/legacy/test_operators.py,sha256=aWjGgHOmLm6Jx21BiR9APBFokL4hxOrC1IRY8YHo0QU,1948 -shapely/tests/legacy/test_orient.py,sha256=dVmRd2O2j_bO4UOjVq1lr6prijUTeIWXtDUVR4gZ_BA,2400 -shapely/tests/legacy/test_parallel_offset.py,sha256=GRiJa48w2-z7NXDVgjyh5wPTCt_lQZg5l_b1bExDZ4U,2332 -shapely/tests/legacy/test_persist.py,sha256=SrwIiAOOQ1PrmXEeOO4t3dOswkSQhXvcdGnlM4yyvkI,1713 -shapely/tests/legacy/test_pickle.py,sha256=LvyCTWS3hkwG7hM-Y71iQ9KEcP9jfoPA2ji3QYN64h0,2481 -shapely/tests/legacy/test_polygonize.py,sha256=m9euuuzwqS7mfT-nxtfoheIzrvoSXlhMaL0phXo_HZk,1389 -shapely/tests/legacy/test_polylabel.py,sha256=GHgr9HcJ9kLHZIiv1UE99ut3TfjjRhr7MrCNVsnMjlQ,3225 -shapely/tests/legacy/test_predicates.py,sha256=LjSM-3xdFVYriDqZ9bedL7WbxRiOjMx5-vuyh-BQPbM,2712 -shapely/tests/legacy/test_prepared.py,sha256=NbuyzVwY3taqrnn6swX4HIfSQtV8rpFO__dpwZLhoUQ,2347 -shapely/tests/legacy/test_products_z.py,sha256=CrN95z-8sl3J76YZE05E5tYvMLrhGDTp_Rivbblbq5g,388 -shapely/tests/legacy/test_shape.py,sha256=3F3YHrtDBcl-BtjdMhbXGNaFs5KrCL5r4nB_kZoYilE,1404 -shapely/tests/legacy/test_shared_paths.py,sha256=KZ1FM6s2O315voIw1XOEluwMnfzhyLd91yXnpNmnt7Y,1434 -shapely/tests/legacy/test_singularity.py,sha256=GI-_673c18SIAq1UQZT3ZOnfeSbhBEuGAYgCuzPldho,381 -shapely/tests/legacy/test_snap.py,sha256=4KkXVxpZV38wTgxYZuGTVou1F9Co7qCPMixGouMZUqI,764 -shapely/tests/legacy/test_split.py,sha256=YgGUaiPtbq1SFSj5nGcj_gp1l3wYbRsXxSIdk0D_g3s,9714 -shapely/tests/legacy/test_substring.py,sha256=E-Rnm0tOqjUnRZtSEgCUPyknYlnraYIWpQaozeAT0OQ,21148 -shapely/tests/legacy/test_svg.py,sha256=xIXhkL44w1PJl3suxvDjXKd9nPO7ljkYMTz3qoD7DG0,8253 -shapely/tests/legacy/test_transform.py,sha256=s5GWsu9EeW__D0QHT4L9ivr1lygeiSxRNLEyGgmdksk,2705 -shapely/tests/legacy/test_union.py,sha256=LHatZT6dgMhQLEZJ4pOUaDSoD0UqPnbjAefHbWsvxkU,2319 -shapely/tests/legacy/test_validation.py,sha256=L33s2pjag9R_HoDa-mUG1oEOZcK-pexhnQHX4xlZu6I,238 -shapely/tests/legacy/test_vectorized.py,sha256=I5haar26ma34Cs7WgQPRuxmTnEM2Di8HlALy5S-xh6o,3583 -shapely/tests/legacy/test_voronoi_diagram.py,sha256=ceWf2YmgUhwwLWfZWZxbVSftF2u3RYwD-fiPeAIcgts,4444 -shapely/tests/legacy/test_wkb.py,sha256=iEHmD47yLbdnoetgMhzy-K202FTpAwO5uB64NEJWOf4,6121 -shapely/tests/legacy/test_wkt.py,sha256=2RCgxa5SH7-kVotkEy1_WBb8eiN8S1Ji-dwdflsCMng,1610 -shapely/tests/legacy/threading_test.py,sha256=ZVGj2PC-wEZ0Pr2VJgYPAM2iqd5LOs3Bepj6qWK_sz8,1032 -shapely/tests/test_constructive.py,sha256=9S2Rji1SGngu_m4WyW92J2YHq_sdrt8DbO6pnkyj2q8,32491 -shapely/tests/test_coordinates.py,sha256=aQXGOa-HWT-Un8RyWzzkJz62IsSqMwE63J4DxrwsAH0,9068 -shapely/tests/test_creation.py,sha256=ubGQEp9o-tbpflqlmr7PLkYUlU_2DapPHusGG1abYYE,17868 -shapely/tests/test_creation_indices.py,sha256=9t1T5SSoaiPHJ3u69iCdPMKVWgVmSA44yeICREIGlQs,13398 -shapely/tests/test_geometry.py,sha256=XS6lymPKmmPRadEJs1YGYB9DqUmjsBAmw__Lzys9Niw,24453 -shapely/tests/test_io.py,sha256=hauznyF4ij7ScAmF2PyEvOpwr98mwHvwTiBnXCMhHWU,24952 -shapely/tests/test_linear.py,sha256=YZ4v203qdpbt82xf9sSrkpqBmTYT_Bt0_0Y1m62BYRY,7440 -shapely/tests/test_measurement.py,sha256=ptv26_VDRgQTb9Z-Bi0GonnsvQpVTPfnUieSVUhZoRY,10773 -shapely/tests/test_misc.py,sha256=urya5Ww4zCARR3u-l_5Hja2sfJWSbNtW3Bd8OVtzMhM,5260 -shapely/tests/test_plotting.py,sha256=jQX209kK6Nbs5YyF4kdpCJXDzPXqWnUznKXKQBd3o2A,3615 -shapely/tests/test_predicates.py,sha256=xYHpThB0djln_FhLnK9c2mEifDv8lfUxap9IFrC1mwY,10980 -shapely/tests/test_ragged_array.py,sha256=-D3CXEXBf4AkBGwZzAV7Sv8H5LHUaG0iGjZGLwfvs3c,11016 -shapely/tests/test_set_operations.py,sha256=dQ50bO60RYhMA-0kPirll67gGD7I6K0rnXPvQQIJN94,16674 -shapely/tests/test_strtree.py,sha256=ogTv4CysiPBTCcRmXnTiASjdkx_JR-513M9VkWR1oTQ,74049 -shapely/tests/test_testing.py,sha256=fLGSiETvPPrvdDRvqxZUx63s3HohJG0d0FaOmsyMJR4,3072 -shapely/validation.py,sha256=gRJpmvX2JLELktQT_qr6O2tlcrCf7SJNy0bgDSIvafA,1433 -shapely/vectorized/__init__.py,sha256=j4d9L0I23M84KXkHuDqKhQCEYsgY7DjtPznJuTbFVs8,2249 -shapely/vectorized/__pycache__/__init__.cpython-312.pyc,, -shapely/wkb.py,sha256=BuuJm9NDUiLtPWMu1pl8dVpx4AN0MW6cCyN1hvyDrPA,1912 -shapely/wkt.py,sha256=kDPrPUtQnTrfsEdLi7APqBAkIoqcUSccrK1mmkWXOks,1947 diff --git a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/REQUESTED b/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/REQUESTED deleted file mode 100644 index e69de29b..00000000 diff --git a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/WHEEL deleted file mode 100644 index d1b3f1da..00000000 --- a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/WHEEL +++ /dev/null @@ -1,6 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.41.2) -Root-Is-Purelib: false -Tag: cp312-cp312-manylinux_2_17_x86_64 -Tag: cp312-cp312-manylinux2014_x86_64 - diff --git a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/top_level.txt deleted file mode 100644 index 5cc38578..00000000 --- a/.venv/lib/python3.12/site-packages/shapely-2.0.2.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -shapely diff --git a/.venv/lib/python3.12/site-packages/shapely.libs/libgeos-9061d950.so.3.11.2 b/.venv/lib/python3.12/site-packages/shapely.libs/libgeos-9061d950.so.3.11.2 deleted file mode 100755 index cb92809e..00000000 Binary files a/.venv/lib/python3.12/site-packages/shapely.libs/libgeos-9061d950.so.3.11.2 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/shapely.libs/libgeos_c-816043d1.so.1.17.2 b/.venv/lib/python3.12/site-packages/shapely.libs/libgeos_c-816043d1.so.1.17.2 deleted file mode 100755 index d4f2a869..00000000 Binary files a/.venv/lib/python3.12/site-packages/shapely.libs/libgeos_c-816043d1.so.1.17.2 and /dev/null differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/__init__.cpython-312.pyc index a1cc52e4..7cea470b 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/_enum.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/_enum.cpython-312.pyc index 132ee80f..dea6ebcc 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/_enum.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/_enum.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/_geometry.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/_geometry.cpython-312.pyc index bab544ec..a6ae8f05 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/_geometry.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/_geometry.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/_ragged_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/_ragged_array.cpython-312.pyc index cfafa7c1..05d622ed 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/_ragged_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/_ragged_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/_version.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/_version.cpython-312.pyc index 249cbe4e..dc1455bd 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/_version.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/_version.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/affinity.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/affinity.cpython-312.pyc index 49a44467..cc1689b1 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/affinity.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/affinity.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/constructive.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/constructive.cpython-312.pyc index 9c9d15ca..3294fd33 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/constructive.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/constructive.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/coordinates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/coordinates.cpython-312.pyc index c77ef447..99805f60 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/coordinates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/coordinates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/coords.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/coords.cpython-312.pyc index a3b129a7..d839c61c 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/coords.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/coords.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/creation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/creation.cpython-312.pyc index eeeec12b..dfc945ed 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/creation.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/creation.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/decorators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/decorators.cpython-312.pyc index 0d7eea7c..aacd2527 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/decorators.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/decorators.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/errors.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/errors.cpython-312.pyc index f23e7390..fd716d34 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/errors.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/errors.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/geos.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/geos.cpython-312.pyc index 8727accc..c3f05dee 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/geos.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/geos.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/io.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/io.cpython-312.pyc index cca183fe..c6086298 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/io.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/io.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/linear.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/linear.cpython-312.pyc index 62dab080..207c1b2e 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/linear.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/linear.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/measurement.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/measurement.cpython-312.pyc index 6c21e9a0..6b71dd6d 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/measurement.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/measurement.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/ops.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/ops.cpython-312.pyc index 68933f4d..bd668982 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/ops.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/ops.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/plotting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/plotting.cpython-312.pyc index 1d48d2be..7f8178d8 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/plotting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/plotting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/predicates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/predicates.cpython-312.pyc index 53c9932b..04c5c365 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/predicates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/predicates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/prepared.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/prepared.cpython-312.pyc index bc287815..d1dbae65 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/prepared.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/prepared.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/set_operations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/set_operations.cpython-312.pyc index dda13489..28161410 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/set_operations.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/set_operations.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/speedups.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/speedups.cpython-312.pyc index 491c5077..d19e66ba 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/speedups.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/speedups.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/strtree.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/strtree.cpython-312.pyc index 951a5391..be33f715 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/strtree.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/strtree.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/testing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/testing.cpython-312.pyc index 64211d13..e13f3944 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/testing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/testing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/validation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/validation.cpython-312.pyc index e1539dbd..2c91e378 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/validation.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/validation.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/wkb.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/wkb.cpython-312.pyc index 52e7e355..31ae8a6b 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/wkb.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/wkb.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/__pycache__/wkt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/__pycache__/wkt.cpython-312.pyc index 145e79d4..b8aa03ac 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/__pycache__/wkt.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/__pycache__/wkt.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/_geometry.py b/.venv/lib/python3.12/site-packages/shapely/_geometry.py index f0def594..ee013e90 100644 --- a/.venv/lib/python3.12/site-packages/shapely/_geometry.py +++ b/.venv/lib/python3.12/site-packages/shapely/_geometry.py @@ -728,20 +728,26 @@ def set_precision(geometry, grid_size, mode="valid_output", **kwargs): By default, geometries use double precision coordinates (grid_size = 0). - Coordinates will be rounded if a precision grid is less precise than the - input geometry. Duplicated vertices will be dropped from lines and + Coordinates will be rounded if the precision grid specified is less precise + than the input geometry. Duplicated vertices will be dropped from lines and polygons for grid sizes greater than 0. Line and polygon geometries may collapse to empty geometries if all vertices are closer together than - grid_size. Z values, if present, will not be modified. + ``grid_size`` or if a polygon becomes significantly narrower than + ``grid_size``. Spikes or sections in polygons narrower than ``grid_size`` + after rounding the vertices will be removed, which can lead to multipolygons + or empty geometries. Z values, if present, will not be modified. - Note: subsequent operations will always be performed in the precision of - the geometry with higher precision (smaller "grid_size"). That same - precision will be attached to the operation outputs. + Notes: - Also note: input geometries should be geometrically valid; unexpected - results may occur if input geometries are not. - - Returns None if geometry is None. + * subsequent operations will always be performed in the precision of the + geometry with higher precision (smaller "grid_size"). That same precision + will be attached to the operation outputs. + * input geometries should be geometrically valid; unexpected results may + occur if input geometries are not. + * the geometry returned will be in + :ref:`mild canonical form `, and the order of vertices can + change and should not be relied upon. + * returns None if geometry is None. Parameters ---------- @@ -752,21 +758,24 @@ def set_precision(geometry, grid_size, mode="valid_output", **kwargs): value is more precise than input geometry, the input geometry will not be modified. mode : {'valid_output', 'pointwise', 'keep_collapsed'}, default 'valid_output' - This parameter determines how to handle invalid output geometries. There are three modes: + This parameter determines the way a precision reduction is applied on + the geometry. There are three modes: - 1. `'valid_output'` (default): The output is always valid. Collapsed geometry elements - (including both polygons and lines) are removed. Duplicate vertices are removed. - 2. `'pointwise'`: Precision reduction is performed pointwise. Output geometry - may be invalid due to collapse or self-intersection. Duplicate vertices are not - removed. In GEOS this option is called NO_TOPO. + 1. `'valid_output'` (default): The output is always valid. Collapsed + geometry elements (including both polygons and lines) are removed. + Duplicate vertices are removed. + 2. `'pointwise'`: Precision reduction is performed pointwise. Output + geometry may be invalid due to collapse or self-intersection. + Duplicate vertices are not removed. In GEOS this option is called + NO_TOPO. .. note:: - 'pointwise' mode requires at least GEOS 3.10. It is accepted in earlier versions, - but the results may be unexpected. - 3. `'keep_collapsed'`: Like the default mode, except that collapsed linear geometry - elements are preserved. Collapsed polygonal input elements are removed. Duplicate - vertices are removed. + 'pointwise' mode requires at least GEOS 3.10. It is accepted in + earlier versions, but the results may be unexpected. + 3. `'keep_collapsed'`: Like the default mode, except that collapsed + linear geometry elements are preserved. Collapsed polygonal input + elements are removed. Duplicate vertices are removed. **kwargs See :ref:`NumPy ufunc docs ` for other keyword arguments. diff --git a/.venv/lib/python3.12/site-packages/shapely/_geometry_helpers.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/shapely/_geometry_helpers.cpython-312-x86_64-linux-gnu.so index eb13e130..6c8208f4 100755 Binary files a/.venv/lib/python3.12/site-packages/shapely/_geometry_helpers.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/shapely/_geometry_helpers.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/shapely/_geos.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/shapely/_geos.cpython-312-x86_64-linux-gnu.so index f70cd302..8ab53657 100755 Binary files a/.venv/lib/python3.12/site-packages/shapely/_geos.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/shapely/_geos.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/shapely/_ragged_array.py b/.venv/lib/python3.12/site-packages/shapely/_ragged_array.py index f748252f..9a2cf611 100644 --- a/.venv/lib/python3.12/site-packages/shapely/_ragged_array.py +++ b/.venv/lib/python3.12/site-packages/shapely/_ragged_array.py @@ -37,7 +37,7 @@ from shapely._geometry import ( get_type_id, ) from shapely.coordinates import get_coordinates -from shapely.predicates import is_empty +from shapely.predicates import is_empty, is_missing __all__ = ["to_ragged_array", "from_ragged_array"] @@ -50,7 +50,8 @@ def _get_arrays_point(arr, include_z): coords = get_coordinates(arr, include_z=include_z) # empty points are represented by NaNs - empties = is_empty(arr) + # + missing geometries should also be present with some value + empties = is_empty(arr) | is_missing(arr) if empties.any(): indices = np.nonzero(empties)[0] indices = indices - np.arange(len(indices)) diff --git a/.venv/lib/python3.12/site-packages/shapely/_version.py b/.venv/lib/python3.12/site-packages/shapely/_version.py index 78b0e358..19e5e166 100644 --- a/.venv/lib/python3.12/site-packages/shapely/_version.py +++ b/.venv/lib/python3.12/site-packages/shapely/_version.py @@ -8,11 +8,11 @@ import json version_json = ''' { - "date": "2023-10-12T21:49:31+0200", + "date": "2024-08-19T23:29:00+0200", "dirty": false, "error": null, - "full-revisionid": "8d45d434037267ba9b1f1de409d1b5396d6c9219", - "version": "2.0.2" + "full-revisionid": "5a4207d2fb74b25d7bb2fb5d04813f68a3a612f4", + "version": "2.0.6" } ''' # END VERSION_JSON diff --git a/.venv/lib/python3.12/site-packages/shapely/affinity.py b/.venv/lib/python3.12/site-packages/shapely/affinity.py index d71caafe..34332f1c 100644 --- a/.venv/lib/python3.12/site-packages/shapely/affinity.py +++ b/.venv/lib/python3.12/site-packages/shapely/affinity.py @@ -61,15 +61,31 @@ def affine_transform(geom, matrix): ndim = 2 else: raise ValueError("'matrix' expects either 6 or 12 coefficients") - if ndim == 2: - A = np.array([[a, b], [d, e]], dtype=float) - off = np.array([xoff, yoff], dtype=float) - else: - A = np.array([[a, b, c], [d, e, f], [g, h, i]], dtype=float) - off = np.array([xoff, yoff, zoff], dtype=float) + + # if ndim == 2: + # A = np.array([[a, b], [d, e]], dtype=float) + # off = np.array([xoff, yoff], dtype=float) + # else: + # A = np.array([[a, b, c], [d, e, f], [g, h, i]], dtype=float) + # off = np.array([xoff, yoff, zoff], dtype=float) def _affine_coords(coords): - return np.matmul(A, coords.T).T + off + # These are equivalent, but unfortunately not robust + # result = np.matmul(coords, A.T) + off + # result = np.matmul(A, coords.T).T + off + # Therefore, manual matrix multiplication is needed + if ndim == 2: + x, y = coords.T + xp = a * x + b * y + xoff + yp = d * x + e * y + yoff + result = np.stack([xp, yp]).T + elif ndim == 3: + x, y, z = coords.T + xp = a * x + b * y + c * z + xoff + yp = d * x + e * y + f * z + yoff + zp = g * x + h * y + i * z + zoff + result = np.stack([xp, yp, zp]).T + return result return shapely.transform(geom, _affine_coords, include_z=ndim == 3) diff --git a/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/__init__.cpython-312.pyc index 967d133f..31360316 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/_oriented_envelope.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/_oriented_envelope.cpython-312.pyc index 5cd285f7..32e9b333 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/_oriented_envelope.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/_oriented_envelope.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/cga.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/cga.cpython-312.pyc index ee5f6568..0ac8d4bb 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/cga.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/cga.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/polylabel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/polylabel.cpython-312.pyc index 25caa9f5..9ff8f059 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/polylabel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/algorithms/__pycache__/polylabel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/algorithms/_oriented_envelope.py b/.venv/lib/python3.12/site-packages/shapely/algorithms/_oriented_envelope.py index 468084a3..9e9ff78d 100644 --- a/.venv/lib/python3.12/site-packages/shapely/algorithms/_oriented_envelope.py +++ b/.venv/lib/python3.12/site-packages/shapely/algorithms/_oriented_envelope.py @@ -17,8 +17,6 @@ def _oriented_envelope_min_area(geometry, **kwargs): """ if geometry is None: return None - if not hasattr(geometry, "geom_type"): - return np.array([_oriented_envelope_min_area(g) for g in geometry]) if geometry.is_empty: return shapely.from_wkt("POLYGON EMPTY") @@ -53,3 +51,8 @@ def _oriented_envelope_min_area(geometry, **kwargs): # check for the minimum area rectangle and return it transf_rect, inv_matrix = min(_transformed_rects(), key=lambda r: r[0].area) return affine_transform(transf_rect, inv_matrix) + + +_oriented_envelope_min_area_vectorized = np.frompyfunc( + _oriented_envelope_min_area, 1, 1 +) diff --git a/.venv/lib/python3.12/site-packages/shapely/constructive.py b/.venv/lib/python3.12/site-packages/shapely/constructive.py index 8142f47c..9ec9fd20 100644 --- a/.venv/lib/python3.12/site-packages/shapely/constructive.py +++ b/.venv/lib/python3.12/site-packages/shapely/constructive.py @@ -2,7 +2,7 @@ import numpy as np from shapely import lib from shapely._enum import ParamEnum -from shapely.algorithms._oriented_envelope import _oriented_envelope_min_area +from shapely.algorithms._oriented_envelope import _oriented_envelope_min_area_vectorized from shapely.decorators import multithreading_enabled, requires_geos __all__ = [ @@ -412,17 +412,18 @@ def delaunay_triangles(geometry, tolerance=0.0, only_edges=False, **kwargs): -------- >>> from shapely import GeometryCollection, LineString, MultiPoint, Polygon >>> points = MultiPoint([(50, 30), (60, 30), (100, 100)]) - >>> delaunay_triangles(points) - + >>> delaunay_triangles(points).normalize() + >>> delaunay_triangles(points, only_edges=True) >>> delaunay_triangles(MultiPoint([(50, 30), (51, 30), (60, 30), (100, 100)]), \ -tolerance=2) - - >>> delaunay_triangles(Polygon([(50, 30), (60, 30), (100, 100), (50, 30)])) - - >>> delaunay_triangles(LineString([(50, 30), (60, 30), (100, 100)])) - +tolerance=2).normalize() + + >>> delaunay_triangles(Polygon([(50, 30), (60, 30), (100, 100), (50, 30)]))\ +.normalize() + + >>> delaunay_triangles(LineString([(50, 30), (60, 30), (100, 100)])).normalize() + >>> delaunay_triangles(GeometryCollection([])) """ @@ -533,11 +534,11 @@ def make_valid(geometry, **kwargs): @multithreading_enabled def normalize(geometry, **kwargs): - """Converts Geometry to normal form (or canonical form). + """Converts Geometry to strict normal form (or canonical form). - This method orders the coordinates, rings of a polygon and parts of - multi geometries consistently. Typically useful for testing purposes - (for example in combination with ``equals_exact``). + In :ref:`strict canonical form `, the coordinates, rings of a polygon and + parts of multi geometries are ordered consistently. Typically useful for testing + purposes (for example in combination with ``equals_exact``). Parameters ---------- @@ -1028,7 +1029,7 @@ def oriented_envelope(geometry, **kwargs): """ if lib.geos_version < (3, 12, 0): - f = _oriented_envelope_min_area + f = _oriented_envelope_min_area_vectorized else: f = _oriented_envelope_geos return f(geometry, **kwargs) diff --git a/.venv/lib/python3.12/site-packages/shapely/coords.py b/.venv/lib/python3.12/site-packages/shapely/coords.py index 9056f2ad..1f43cc2b 100644 --- a/.venv/lib/python3.12/site-packages/shapely/coords.py +++ b/.venv/lib/python3.12/site-packages/shapely/coords.py @@ -46,8 +46,13 @@ class CoordinateSequence: else: raise TypeError("key must be an index or slice") - def __array__(self, dtype=None): - return self._coords + def __array__(self, dtype=None, copy=None): + if copy is False: + raise ValueError("`copy=False` isn't supported. A copy is always created.") + elif copy is True: + return self._coords.copy() + else: + return self._coords @property def xy(self): diff --git a/.venv/lib/python3.12/site-packages/shapely/creation.py b/.venv/lib/python3.12/site-packages/shapely/creation.py index 1a8ec954..54c9c24d 100644 --- a/.venv/lib/python3.12/site-packages/shapely/creation.py +++ b/.venv/lib/python3.12/site-packages/shapely/creation.py @@ -353,7 +353,7 @@ def multipoints(geometries, indices=None, out=None, **kwargs): ): geometries = points(geometries) if indices is None: - return lib.create_collection(geometries, typ, out=out, **kwargs) + return lib.create_collection(geometries, np.intc(typ), out=out, **kwargs) else: return collections_1d(geometries, indices, typ, out=out) @@ -390,7 +390,7 @@ def multilinestrings(geometries, indices=None, out=None, **kwargs): geometries = linestrings(geometries) if indices is None: - return lib.create_collection(geometries, typ, out=out, **kwargs) + return lib.create_collection(geometries, np.intc(typ), out=out, **kwargs) else: return collections_1d(geometries, indices, typ, out=out) @@ -426,7 +426,7 @@ def multipolygons(geometries, indices=None, out=None, **kwargs): ): geometries = polygons(geometries) if indices is None: - return lib.create_collection(geometries, typ, out=out, **kwargs) + return lib.create_collection(geometries, np.intc(typ), out=out, **kwargs) else: return collections_1d(geometries, indices, typ, out=out) @@ -457,7 +457,7 @@ def geometrycollections(geometries, indices=None, out=None, **kwargs): """ typ = GeometryType.GEOMETRYCOLLECTION if indices is None: - return lib.create_collection(geometries, typ, out=out, **kwargs) + return lib.create_collection(geometries, np.intc(typ), out=out, **kwargs) else: return collections_1d(geometries, indices, typ, out=out) @@ -511,7 +511,7 @@ def destroy_prepared(geometry, **kwargs): Parameters ---------- geometry : Geometry or array_like - Geometries are changed inplace + Geometries are changed in-place **kwargs See :ref:`NumPy ufunc docs ` for other keyword arguments. diff --git a/.venv/lib/python3.12/site-packages/shapely/decorators.py b/.venv/lib/python3.12/site-packages/shapely/decorators.py index a8dbac76..39a436d5 100644 --- a/.venv/lib/python3.12/site-packages/shapely/decorators.py +++ b/.venv/lib/python3.12/site-packages/shapely/decorators.py @@ -39,7 +39,7 @@ class requires_geos: # Insert the message at the first double newline position = doc.find("\n\n") + 2 # Figure out the indentation level - indent = 2 + indent = 0 while True: if doc[position + indent] == " ": indent += 1 diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/__init__.cpython-312.pyc index 8091d056..78ac094e 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/base.cpython-312.pyc index 7d78b7ee..cbabc209 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/collection.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/collection.cpython-312.pyc index ae06dce0..f94ac829 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/collection.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/collection.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/conftest.cpython-312.pyc index 61894baa..a1a63242 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/geo.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/geo.cpython-312.pyc index bf0ce913..1f1dfe38 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/geo.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/geo.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/linestring.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/linestring.cpython-312.pyc index e25dc248..61c87748 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/linestring.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/linestring.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multilinestring.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multilinestring.cpython-312.pyc index 62e4cf4a..4ddde048 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multilinestring.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multilinestring.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multipoint.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multipoint.cpython-312.pyc index a89ece2f..1c69cab6 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multipoint.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multipoint.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multipolygon.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multipolygon.cpython-312.pyc index ed002fec..2f607a76 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multipolygon.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/multipolygon.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/point.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/point.cpython-312.pyc index 9cdf42d9..23f1f9d5 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/point.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/point.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/polygon.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/polygon.cpython-312.pyc index fb6707b1..b60e1691 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/polygon.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/geometry/__pycache__/polygon.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/point.py b/.venv/lib/python3.12/site-packages/shapely/geometry/point.py index 982c639f..aaf1725d 100644 --- a/.venv/lib/python3.12/site-packages/shapely/geometry/point.py +++ b/.venv/lib/python3.12/site-packages/shapely/geometry/point.py @@ -85,12 +85,12 @@ class Point(BaseGeometry): @property def x(self): """Return x coordinate.""" - return shapely.get_x(self) + return float(shapely.get_x(self)) @property def y(self): """Return y coordinate.""" - return shapely.get_y(self) + return float(shapely.get_y(self)) @property def z(self): diff --git a/.venv/lib/python3.12/site-packages/shapely/geometry/polygon.py b/.venv/lib/python3.12/site-packages/shapely/geometry/polygon.py index efec427c..a480856e 100644 --- a/.venv/lib/python3.12/site-packages/shapely/geometry/polygon.py +++ b/.venv/lib/python3.12/site-packages/shapely/geometry/polygon.py @@ -10,7 +10,7 @@ from shapely.geometry.base import BaseGeometry from shapely.geometry.linestring import LineString from shapely.geometry.point import Point -__all__ = ["Polygon", "LinearRing"] +__all__ = ["orient", "Polygon", "LinearRing"] def _unpickle_linearring(wkb): diff --git a/.venv/lib/python3.12/site-packages/shapely/io.py b/.venv/lib/python3.12/site-packages/shapely/io.py index 094bfcc4..8215dc9b 100644 --- a/.venv/lib/python3.12/site-packages/shapely/io.py +++ b/.venv/lib/python3.12/site-packages/shapely/io.py @@ -139,12 +139,12 @@ def to_wkb( ---------- geometry : Geometry or array_like hex : bool, default False - If true, export the WKB as a hexidecimal string. The default is to + If true, export the WKB as a hexadecimal string. The default is to return a binary bytes object. output_dimension : int, default 3 The output dimension for the WKB. Supported values are 2 and 3. Specifying 3 means that up to 3 dimensions will be written but 2D - geometries will still be represented as 2D in the WKB represenation. + geometries will still be represented as 2D in the WKB representation. byte_order : int, default -1 Defaults to native machine byte order (-1). Use 0 to force big endian and 1 for little endian. diff --git a/.venv/lib/python3.12/site-packages/shapely/lib.cpython-312-x86_64-linux-gnu.so b/.venv/lib/python3.12/site-packages/shapely/lib.cpython-312-x86_64-linux-gnu.so index 3a89365f..ba2c6f2b 100755 Binary files a/.venv/lib/python3.12/site-packages/shapely/lib.cpython-312-x86_64-linux-gnu.so and b/.venv/lib/python3.12/site-packages/shapely/lib.cpython-312-x86_64-linux-gnu.so differ diff --git a/.venv/lib/python3.12/site-packages/shapely/plotting.py b/.venv/lib/python3.12/site-packages/shapely/plotting.py index 02169fd0..11d1691c 100644 --- a/.venv/lib/python3.12/site-packages/shapely/plotting.py +++ b/.venv/lib/python3.12/site-packages/shapely/plotting.py @@ -1,7 +1,7 @@ """ Plot single geometries using Matplotlib. -Note: this module is experimental, and mainly targetting (interactive) +Note: this module is experimental, and mainly targeting (interactive) exploration, debugging and illustration purposes. """ @@ -38,7 +38,7 @@ def patch_from_polygon(polygon, **kwargs): """ Gets a Matplotlib patch from a (Multi)Polygon. - Note: this function is experimental, and mainly targetting (interactive) + Note: this function is experimental, and mainly targeting (interactive) exploration, debugging and illustration purposes. Parameters @@ -69,7 +69,7 @@ def plot_polygon( """ Plot a (Multi)Polygon. - Note: this function is experimental, and mainly targetting (interactive) + Note: this function is experimental, and mainly targeting (interactive) exploration, debugging and illustration purposes. Parameters @@ -132,7 +132,7 @@ def plot_line(line, ax=None, add_points=True, color=None, linewidth=2, **kwargs) """ Plot a (Multi)LineString/LinearRing. - Note: this function is experimental, and mainly targetting (interactive) + Note: this function is experimental, and mainly targeting (interactive) exploration, debugging and illustration purposes. Parameters @@ -144,7 +144,7 @@ def plot_line(line, ax=None, add_points=True, color=None, linewidth=2, **kwargs) add_points : bool, default True If True, also plot the coordinates (vertices) as points. color : matplotlib color specification - Color for the line (edgecolor under the hood) and pointes. + Color for the line (edgecolor under the hood) and points. linewidth : float, default 2 The line width for the polygon boundary. **kwargs diff --git a/.venv/lib/python3.12/site-packages/shapely/predicates.py b/.venv/lib/python3.12/site-packages/shapely/predicates.py index c6a2d3f9..b5a0ebb2 100644 --- a/.venv/lib/python3.12/site-packages/shapely/predicates.py +++ b/.venv/lib/python3.12/site-packages/shapely/predicates.py @@ -81,7 +81,7 @@ def is_ccw(geometry, **kwargs): Parameters ---------- geometry : Geometry or array_like - This function will return False for non-linear goemetries and for + This function will return False for non-linear geometries and for lines with fewer than 4 points (including the closing point). **kwargs See :ref:`NumPy ufunc docs ` for other keyword arguments. @@ -748,7 +748,7 @@ def equals(a, b, **kwargs): def intersects(a, b, **kwargs): """Returns True if A and B share any portion of space. - Intersects implies that overlaps, touches and within are True. + Intersects implies that overlaps, touches, covers, or within are True. Parameters ---------- diff --git a/.venv/lib/python3.12/site-packages/shapely/set_operations.py b/.venv/lib/python3.12/site-packages/shapely/set_operations.py index c2476d0d..912bf74c 100644 --- a/.venv/lib/python3.12/site-packages/shapely/set_operations.py +++ b/.venv/lib/python3.12/site-packages/shapely/set_operations.py @@ -403,7 +403,9 @@ def union_all(geometries, grid_size=None, axis=None, **kwargs): geometries = np.rollaxis(geometries, axis=axis, start=geometries.ndim) # create_collection acts on the inner axis - collections = lib.create_collection(geometries, GeometryType.GEOMETRYCOLLECTION) + collections = lib.create_collection( + geometries, np.intc(GeometryType.GEOMETRYCOLLECTION) + ) if grid_size is not None: if lib.geos_version < (3, 9, 0): @@ -501,5 +503,7 @@ def coverage_union_all(geometries, axis=None, **kwargs): np.asarray(geometries), axis=axis, start=geometries.ndim ) # create_collection acts on the inner axis - collections = lib.create_collection(geometries, GeometryType.GEOMETRYCOLLECTION) + collections = lib.create_collection( + geometries, np.intc(GeometryType.GEOMETRYCOLLECTION) + ) return lib.coverage_union(collections, **kwargs) diff --git a/.venv/lib/python3.12/site-packages/shapely/testing.py b/.venv/lib/python3.12/site-packages/shapely/testing.py index e98ac5ac..8219232a 100644 --- a/.venv/lib/python3.12/site-packages/shapely/testing.py +++ b/.venv/lib/python3.12/site-packages/shapely/testing.py @@ -106,8 +106,8 @@ def assert_geometries_equal( if normalize: x = shapely.normalize(x) y = shapely.normalize(y) - x = np.array(x, copy=False) - y = np.array(y, copy=False) + x = np.asarray(x) + y = np.asarray(y) is_scalar = x.ndim == 0 or y.ndim == 0 diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/__init__.cpython-312.pyc index c860da1f..6c73dcce 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/common.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/common.cpython-312.pyc index 7fcddebe..d335f06a 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/common.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/common.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_constructive.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_constructive.cpython-312.pyc index 73d2b5b2..cdd07e2a 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_constructive.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_constructive.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_coordinates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_coordinates.cpython-312.pyc index 549fce6e..06fe89e7 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_coordinates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_coordinates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_creation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_creation.cpython-312.pyc index a49a4782..20c547d8 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_creation.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_creation.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_creation_indices.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_creation_indices.cpython-312.pyc index c186c80f..cb57fdd0 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_creation_indices.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_creation_indices.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_geometry.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_geometry.cpython-312.pyc index 4a8fe05c..a858370c 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_geometry.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_geometry.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_io.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_io.cpython-312.pyc index b088834c..1592399f 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_io.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_io.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_linear.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_linear.cpython-312.pyc index 005758b5..4bf27991 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_linear.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_linear.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_measurement.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_measurement.cpython-312.pyc index 3555591b..7ecc51a5 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_measurement.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_measurement.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_misc.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_misc.cpython-312.pyc index 22d39b7f..00fbb312 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_misc.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_misc.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_plotting.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_plotting.cpython-312.pyc index fa586374..ddaef838 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_plotting.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_plotting.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_predicates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_predicates.cpython-312.pyc index d82ff8b6..4d92ac61 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_predicates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_predicates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_ragged_array.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_ragged_array.cpython-312.pyc index 56f81f53..31ee5631 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_ragged_array.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_ragged_array.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_set_operations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_set_operations.cpython-312.pyc index f12acc36..c692ca0b 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_set_operations.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_set_operations.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_strtree.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_strtree.cpython-312.pyc index db23e9a0..0652d9f6 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_strtree.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_strtree.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_testing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_testing.cpython-312.pyc index 18f95c1e..9104e582 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_testing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/__pycache__/test_testing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/common.py b/.venv/lib/python3.12/site-packages/shapely/tests/common.py index 06c3d1f0..3265a35c 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/common.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/common.py @@ -92,3 +92,34 @@ def ignore_invalid(condition=True): with ignore_invalid(): line_string_nan = shapely.LineString([(np.nan, np.nan), (np.nan, np.nan)]) + + +class ArrayLike: + """ + Simple numpy Array like class that implements the + ufunc protocol. + """ + + def __init__(self, array): + self._array = np.asarray(array) + + def __len__(self): + return len(self._array) + + def __getitem(self, key): + return self._array[key] + + def __iter__(self): + return self._array.__iter__() + + def __array__(self): + return np.asarray(self._array) + + def __array_ufunc__(self, ufunc, method, *inputs, **kwargs): + if method == "__call__": + inputs = [ + arg._array if isinstance(arg, self.__class__) else arg for arg in inputs + ] + return self.__class__(ufunc(*inputs, **kwargs)) + else: + return NotImplemented diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/__init__.cpython-312.pyc index 90e6a277..5ec223d1 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_collection.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_collection.cpython-312.pyc index 5e69b8e5..47ce17f6 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_collection.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_collection.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_coords.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_coords.cpython-312.pyc index 3ad9a563..dfeda5ed 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_coords.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_coords.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_decimal.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_decimal.cpython-312.pyc index 5d6c8c87..2f468df9 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_decimal.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_decimal.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_emptiness.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_emptiness.cpython-312.pyc index f900f963..6446b58f 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_emptiness.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_emptiness.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_equality.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_equality.cpython-312.pyc index b2687523..59256b9a 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_equality.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_equality.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_format.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_format.cpython-312.pyc index 9c38c5d9..d887f087 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_format.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_format.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_geometry_base.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_geometry_base.cpython-312.pyc index ef31ce5c..9665da25 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_geometry_base.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_geometry_base.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_hash.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_hash.cpython-312.pyc index 7cc5a083..7b06b833 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_hash.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_hash.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_linestring.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_linestring.cpython-312.pyc index c02a8685..74a82d9b 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_linestring.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_linestring.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multi.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multi.cpython-312.pyc index c6e9ecc2..bf8485f5 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multi.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multi.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multilinestring.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multilinestring.cpython-312.pyc index 650320f3..c4be19bd 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multilinestring.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multilinestring.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multipoint.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multipoint.cpython-312.pyc index 2329d6c0..89bd2c9a 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multipoint.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multipoint.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multipolygon.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multipolygon.cpython-312.pyc index 03ea5c99..25864ba7 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multipolygon.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_multipolygon.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_point.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_point.cpython-312.pyc index dec6cbc9..b26a482f 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_point.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_point.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_polygon.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_polygon.cpython-312.pyc index 29f788fa..b63db2e5 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_polygon.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/__pycache__/test_polygon.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_coords.py b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_coords.py index 6aa0d411..e1341603 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_coords.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_coords.py @@ -2,6 +2,7 @@ import numpy as np import pytest from shapely import LineString +from shapely.tests.common import line_string, line_string_z, point, point_z class TestCoords: @@ -84,3 +85,18 @@ class TestXY: assert list(x) == [0.0, 1.0] assert len(y) == 2 assert list(y) == [0.0, 1.0] + + +@pytest.mark.parametrize("geom", [point, point_z, line_string, line_string_z]) +def test_coords_array_copy(geom): + """Test CoordinateSequence.__array__ method.""" + coord_seq = geom.coords + assert np.array(coord_seq) is not np.array(coord_seq) + assert np.array(coord_seq, copy=True) is not np.array(coord_seq, copy=True) + + # Behaviour of copy=False is different between NumPy 1.x and 2.x + if int(np.version.short_version.split(".", 1)[0]) >= 2: + with pytest.raises(ValueError, match="A copy is always created"): + np.array(coord_seq, copy=False) + else: + assert np.array(coord_seq, copy=False) is np.array(coord_seq, copy=False) diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_format.py b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_format.py index 6ae61a34..9659fc25 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_format.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_format.py @@ -47,7 +47,7 @@ def test_format_point(): ("g", xy2, "POINT (-169.910918 -18.997564)", False), ("0.2g", xy2, "POINT (-169.91 -19)", False), ] - # without precsions test GEOS rounding_precision=-1; different than Python + # without precisions test GEOS rounding_precision=-1; different than Python test_list += [ ("f", (1, 2), f"POINT ({1:.16f} {2:.16f})", False), ("F", xyz3, "POINT Z ({:.16f} {:.16f} {:.16f})".format(*xyz3), False), @@ -84,23 +84,28 @@ def test_format_polygon(): assert format(poly, "X") == poly.wkb_hex # Use f-strings with extra characters and rounding precision - assert f"<{poly:.2f}>" == ( - "" - ) + if geos_version < (3, 13, 0): + assert f"<{poly:.2f}>" == ( + "" + ) + else: + assert f"<{poly:.2f}>" == ( + "" + ) # 'g' format varies depending on GEOS version if geos_version < (3, 10, 0): - expected_2G = ( + assert f"{poly:.2G}" == ( "POLYGON ((10 0, 7.1 -7.1, 1.6E-14 -10, -7.1 -7.1, " "-10 -3.2E-14, -7.1 7.1, -4.6E-14 10, 7.1 7.1, 10 0))" ) else: - expected_2G = ( + assert f"{poly:.2G}" == ( "POLYGON ((10 0, 7.07 -7.07, 0 -10, -7.07 -7.07, " "-10 0, -7.07 7.07, 0 10, 7.07 7.07, 10 0))" ) - assert f"{poly:.2G}" == expected_2G # check empty empty = Polygon() diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_point.py b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_point.py index 5edbcc43..89967b2e 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_point.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/geometry/test_point.py @@ -101,7 +101,9 @@ class TestPoint: # Test 2D points p = Point(1.0, 2.0) assert p.x == 1.0 + assert type(p.x) is float assert p.y == 2.0 + assert type(p.y) is float assert p.coords[:] == [(1.0, 2.0)] assert str(p) == p.wkt assert p.has_z is False @@ -114,6 +116,7 @@ class TestPoint: assert str(p) == p.wkt assert p.has_z is True assert p.z == 3.0 + assert type(p.z) is float # Coordinate access p = Point((3.0, 4.0)) diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/__init__.cpython-312.pyc index 7d71b78f..77132ede 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/conftest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/conftest.cpython-312.pyc index 182f5c88..d4987768 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/conftest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/conftest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_affinity.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_affinity.cpython-312.pyc index 2a28dc8e..dc86778f 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_affinity.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_affinity.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_box.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_box.cpython-312.pyc index 860ff68d..a89c46b7 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_box.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_box.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_buffer.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_buffer.cpython-312.pyc index 1f2af6e3..661d68ed 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_buffer.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_buffer.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_cga.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_cga.cpython-312.pyc index a3eebdd6..60d48ab8 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_cga.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_cga.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_clip_by_rect.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_clip_by_rect.cpython-312.pyc index 291ba278..f54db268 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_clip_by_rect.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_clip_by_rect.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_create_inconsistent_dimensionality.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_create_inconsistent_dimensionality.cpython-312.pyc index d55e4c6e..4003920e 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_create_inconsistent_dimensionality.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_create_inconsistent_dimensionality.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_delaunay.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_delaunay.cpython-312.pyc index ba6ff74e..9ca6d2b5 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_delaunay.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_delaunay.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_empty_polygons.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_empty_polygons.cpython-312.pyc index cae7d3c1..f30fa8c4 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_empty_polygons.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_empty_polygons.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_equality.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_equality.cpython-312.pyc index 69cfacfd..b0c94f25 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_equality.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_equality.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_geointerface.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_geointerface.cpython-312.pyc index c427996a..34babb3f 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_geointerface.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_geointerface.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_invalid_geometries.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_invalid_geometries.cpython-312.pyc index ef8931c2..de1f59da 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_invalid_geometries.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_invalid_geometries.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_linear_referencing.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_linear_referencing.cpython-312.pyc index e02aacdf..0336cbc8 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_linear_referencing.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_linear_referencing.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_linemerge.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_linemerge.cpython-312.pyc index ca550a24..dd7ce1ec 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_linemerge.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_linemerge.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_locale.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_locale.cpython-312.pyc index 4e98af65..6361cf6a 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_locale.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_locale.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_make_valid.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_make_valid.cpython-312.pyc index bd08ee93..8e0730e1 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_make_valid.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_make_valid.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_mapping.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_mapping.cpython-312.pyc index 66897ae8..3c0bb0b0 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_mapping.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_mapping.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_minimum_clearance.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_minimum_clearance.cpython-312.pyc index 532b3928..4b16476f 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_minimum_clearance.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_minimum_clearance.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_ndarrays.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_ndarrays.cpython-312.pyc index 2d1810da..d2ec5866 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_ndarrays.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_ndarrays.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_nearest.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_nearest.cpython-312.pyc index 20bc3b99..a84b00a4 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_nearest.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_nearest.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_operations.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_operations.cpython-312.pyc index 5d94e56b..a3091d9b 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_operations.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_operations.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_operators.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_operators.cpython-312.pyc index e76230b1..841388fd 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_operators.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_operators.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_orient.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_orient.cpython-312.pyc index 0afab0ca..c9563d6e 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_orient.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_orient.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_parallel_offset.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_parallel_offset.cpython-312.pyc index 8754baae..696ae20b 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_parallel_offset.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_parallel_offset.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_persist.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_persist.cpython-312.pyc index 98feb39e..bcf7f950 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_persist.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_persist.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_pickle.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_pickle.cpython-312.pyc index 3f49fe02..097c4f5a 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_pickle.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_pickle.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_polygonize.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_polygonize.cpython-312.pyc index b265d1ac..04991173 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_polygonize.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_polygonize.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_polylabel.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_polylabel.cpython-312.pyc index fd2f9887..f929436c 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_polylabel.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_polylabel.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_predicates.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_predicates.cpython-312.pyc index d80f8295..89c42600 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_predicates.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_predicates.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_prepared.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_prepared.cpython-312.pyc index c3b2a6df..9cb32cca 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_prepared.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_prepared.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_products_z.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_products_z.cpython-312.pyc index 5f336729..8ff2e8e4 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_products_z.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_products_z.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_shape.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_shape.cpython-312.pyc index 40a4bf81..821d795d 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_shape.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_shape.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_shared_paths.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_shared_paths.cpython-312.pyc index f22a01a5..0b8fa076 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_shared_paths.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_shared_paths.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_singularity.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_singularity.cpython-312.pyc index a80d626b..104bc324 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_singularity.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_singularity.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_snap.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_snap.cpython-312.pyc index f7d9f5e7..0388952d 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_snap.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_snap.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_split.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_split.cpython-312.pyc index f68fac13..166a663e 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_split.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_split.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_substring.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_substring.cpython-312.pyc index d29ec88b..56045620 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_substring.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_substring.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_svg.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_svg.cpython-312.pyc index 77143afe..b07796cd 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_svg.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_svg.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_transform.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_transform.cpython-312.pyc index afbf3fd8..96560497 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_transform.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_transform.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_union.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_union.cpython-312.pyc index a0762d93..1d8b06c7 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_union.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_union.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_validation.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_validation.cpython-312.pyc index 3eb334c9..6b25a2a6 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_validation.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_validation.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_vectorized.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_vectorized.cpython-312.pyc index e7c7c9d7..e510260d 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_vectorized.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_vectorized.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_voronoi_diagram.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_voronoi_diagram.cpython-312.pyc index d1942fd6..dc116837 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_voronoi_diagram.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_voronoi_diagram.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_wkb.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_wkb.cpython-312.pyc index cbea318e..ae8af172 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_wkb.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_wkb.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_wkt.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_wkt.cpython-312.pyc index 128ec871..d5fc4ac8 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_wkt.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/test_wkt.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/threading_test.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/threading_test.cpython-312.pyc index 5c59c71f..68a822c9 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/threading_test.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/__pycache__/threading_test.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/test_operations.py b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/test_operations.py index 928d0733..3cab1be8 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/test_operations.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/test_operations.py @@ -3,6 +3,7 @@ import unittest import pytest import shapely +from shapely import geos_version from shapely.errors import TopologicalError from shapely.geometry import GeometryCollection, LineString, MultiPoint, Point, Polygon from shapely.wkt import loads @@ -79,8 +80,11 @@ class OperationsTestCase(unittest.TestCase): "POLYGON ((40 100, 80 100, 80 60, 40 60, 40 100), (60 60, 80 60, 80 40, 60 40, 60 60))" ) assert not invalid_polygon.is_valid - with pytest.raises((TopologicalError, shapely.GEOSException)): - invalid_polygon.relate(invalid_polygon) + if geos_version < (3, 13, 0): + with pytest.raises((TopologicalError, shapely.GEOSException)): + invalid_polygon.relate(invalid_polygon) + else: # resolved with RelateNG + assert invalid_polygon.relate(invalid_polygon) == "2FFF1FFF2" def test_hausdorff_distance(self): point = Point(1, 1) diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/test_predicates.py b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/test_predicates.py index 3a37954f..ea3551cc 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/legacy/test_predicates.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/legacy/test_predicates.py @@ -5,6 +5,7 @@ import unittest import pytest import shapely +from shapely import geos_version from shapely.geometry import Point, Polygon @@ -67,8 +68,15 @@ class PredicatesTestCase(unittest.TestCase): (339, 207), ] - with pytest.raises(shapely.GEOSException): - Polygon(p1).within(Polygon(p2)) + g1 = Polygon(p1) + g2 = Polygon(p2) + assert not g1.is_valid + assert not g2.is_valid + if geos_version < (3, 13, 0): + with pytest.raises(shapely.GEOSException): + g1.within(g2) + else: # resolved with RelateNG + assert not g1.within(g2) def test_relate_pattern(self): diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/test_constructive.py b/.venv/lib/python3.12/site-packages/shapely/tests/test_constructive.py index df26c658..4ed7c8c7 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/test_constructive.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/test_constructive.py @@ -17,6 +17,7 @@ from shapely import ( from shapely.testing import assert_geometries_equal from shapely.tests.common import ( all_types, + ArrayLike, empty, empty_line_string, empty_point, @@ -981,6 +982,17 @@ def test_oriented_envelope_pre_geos_312(geometry, expected): assert_geometries_equal(actual, expected, normalize=True, tolerance=1e-3) +def test_oriented_evelope_array_like(): + # https://github.com/shapely/shapely/issues/1929 + # because we have a custom python implementation, need to ensure this has + # the same capabilities as numpy ufuncs to work with array-likes + geometries = [Point(1, 1).buffer(1), Point(2, 2).buffer(1)] + actual = shapely.oriented_envelope(ArrayLike(geometries)) + assert isinstance(actual, ArrayLike) + expected = shapely.oriented_envelope(geometries) + assert_geometries_equal(np.asarray(actual), expected) + + @pytest.mark.skipif(shapely.geos_version < (3, 11, 0), reason="GEOS < 3.11") def test_concave_hull_kwargs(): p = Point(10, 10) diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/test_geometry.py b/.venv/lib/python3.12/site-packages/shapely/tests/test_geometry.py index 57e4b8e1..ae2d8baf 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/test_geometry.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/test_geometry.py @@ -255,7 +255,7 @@ def test_set_nan(): def test_set_nan_same_objects(): # You can't put identical objects in a set. - # x = float("nan"); set([x, x]) also retuns a set with 1 element + # x = float("nan"); set([x, x]) also returns a set with 1 element a = set([line_string_nan] * 10) assert len(a) == 1 diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/test_io.py b/.venv/lib/python3.12/site-packages/shapely/tests/test_io.py index 86e34207..627158df 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/test_io.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/test_io.py @@ -287,6 +287,15 @@ def test_to_wkt_none(): assert shapely.to_wkt(None) is None +def test_to_wkt_array_with_empty_z(): + # See GH-2004 + empty_wkt = ["POINT Z EMPTY", None, "POLYGON Z EMPTY"] + empty_geoms = shapely.from_wkt(empty_wkt) + if shapely.geos_version < (3, 9, 0): + empty_wkt = ["POINT EMPTY", None, "POLYGON EMPTY"] + assert list(shapely.to_wkt(empty_geoms)) == empty_wkt + + def test_to_wkt_exceptions(): with pytest.raises(TypeError): shapely.to_wkt(1) diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/test_linear.py b/.venv/lib/python3.12/site-packages/shapely/tests/test_linear.py index c123ba5e..dbdea591 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/test_linear.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/test_linear.py @@ -178,7 +178,7 @@ def test_shared_paths_non_linestring(): def _prepare_input(geometry, prepare): - """Prepare without modifying inplace""" + """Prepare without modifying in-place""" if prepare: geometry = shapely.transform(geometry, lambda x: x) # makes a copy shapely.prepare(geometry) diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/test_misc.py b/.venv/lib/python3.12/site-packages/shapely/tests/test_misc.py index 027b1a2e..5eb62d4c 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/test_misc.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/test_misc.py @@ -1,5 +1,6 @@ import os import sys +from inspect import cleandoc from itertools import chain from string import ascii_letters, digits from unittest import mock @@ -83,13 +84,22 @@ class SomeClass: """ -expected_docstring = """Docstring that will be mocked. +def expected_docstring(**kwds): + doc = """Docstring that will be mocked. {indent}A multiline. {indent}.. note:: 'func' requires at least GEOS {version}. {indent}Some description. -{indent}""" +{indent}""".format( + **kwds + ) + if sys.version_info[:2] >= (3, 13): + # There are subtle differences between inspect.cleandoc() and + # _PyCompile_CleanDoc(). Most significantly, the latter does not remove + # leading or trailing blank lines. + return cleandoc(doc) + "\n" + return doc @pytest.mark.parametrize("version", ["3.7.0", "3.7.1", "3.6.2"]) @@ -104,7 +114,7 @@ def test_requires_geos_not_ok(version, mocked_geos_version): with pytest.raises(shapely.errors.UnsupportedGEOSVersionError): wrapped() - assert wrapped.__doc__ == expected_docstring.format(version=version, indent=" " * 4) + assert wrapped.__doc__ == expected_docstring(version=version, indent=" " * 4) @pytest.mark.parametrize("version", ["3.6.0", "3.8.0"]) @@ -112,7 +122,7 @@ def test_requires_geos_doc_build(version, mocked_geos_version, sphinx_doc_build) """The requires_geos decorator always adapts the docstring.""" wrapped = requires_geos(version)(func) - assert wrapped.__doc__ == expected_docstring.format(version=version, indent=" " * 4) + assert wrapped.__doc__ == expected_docstring(version=version, indent=" " * 4) @pytest.mark.parametrize("version", ["3.6.0", "3.8.0"]) @@ -120,7 +130,7 @@ def test_requires_geos_method(version, mocked_geos_version, sphinx_doc_build): """The requires_geos decorator adjusts methods docstrings correctly""" wrapped = requires_geos(version)(SomeClass.func) - assert wrapped.__doc__ == expected_docstring.format(version=version, indent=" " * 8) + assert wrapped.__doc__ == expected_docstring(version=version, indent=" " * 8) @multithreading_enabled diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/test_predicates.py b/.venv/lib/python3.12/site-packages/shapely/tests/test_predicates.py index 6d8b2b1c..040f5c9d 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/test_predicates.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/test_predicates.py @@ -298,7 +298,7 @@ def test_is_ccw(geom, expected): def _prepare_with_copy(geometry): - """Prepare without modifying inplace""" + """Prepare without modifying in-place""" geometry = shapely.transform(geometry, lambda x: x) # makes a copy shapely.prepare(geometry) return geometry diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/test_ragged_array.py b/.venv/lib/python3.12/site-packages/shapely/tests/test_ragged_array.py index 6ba26eb3..1f958c05 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/test_ragged_array.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/test_ragged_array.py @@ -110,18 +110,30 @@ def test_points(): "POINT EMPTY", "POINT EMPTY", "POINT (4 4)", + None, "POINT EMPTY", ] ) typ, result, offsets = shapely.to_ragged_array(arr) expected = np.array( - [[0, 0], [1, 1], [np.nan, np.nan], [np.nan, np.nan], [4, 4], [np.nan, np.nan]] + [ + [0, 0], + [1, 1], + [np.nan, np.nan], + [np.nan, np.nan], + [4, 4], + [np.nan, np.nan], + [np.nan, np.nan], + ] ) assert typ == shapely.GeometryType.POINT + assert len(result) == len(arr) assert_allclose(result, expected) assert len(offsets) == 0 geoms = shapely.from_ragged_array(typ, result) + # in a roundtrip, missing geometries come back as empty + arr[-2] = shapely.from_wkt("POINT EMPTY") assert_geometries_equal(geoms, arr) @@ -133,6 +145,7 @@ def test_linestrings(): "LINESTRING EMPTY", "LINESTRING EMPTY", "LINESTRING (10 10, 20 20, 10 40)", + None, "LINESTRING EMPTY", ] ) @@ -151,13 +164,15 @@ def test_linestrings(): [10.0, 40.0], ] ) - expected_offsets = np.array([0, 3, 7, 7, 7, 10, 10]) + expected_offsets = np.array([0, 3, 7, 7, 7, 10, 10, 10]) assert typ == shapely.GeometryType.LINESTRING assert_allclose(coords, expected) assert len(offsets) == 1 assert_allclose(offsets[0], expected_offsets) result = shapely.from_ragged_array(typ, coords, offsets) + # in a roundtrip, missing geometries come back as empty + arr[-2] = shapely.from_wkt("LINESTRING EMPTY") assert_geometries_equal(result, arr) @@ -169,6 +184,7 @@ def test_polygons(): "POLYGON EMPTY", "POLYGON EMPTY", "POLYGON ((30 10, 40 40, 20 40, 10 20, 30 10))", + None, "POLYGON EMPTY", ] ) @@ -197,7 +213,7 @@ def test_polygons(): ] ) expected_offsets1 = np.array([0, 5, 10, 14, 19]) - expected_offsets2 = np.array([0, 1, 3, 3, 3, 4, 4]) + expected_offsets2 = np.array([0, 1, 3, 3, 3, 4, 4, 4]) assert typ == shapely.GeometryType.POLYGON assert_allclose(coords, expected) @@ -206,6 +222,8 @@ def test_polygons(): assert_allclose(offsets[1], expected_offsets2) result = shapely.from_ragged_array(typ, coords, offsets) + # in a roundtrip, missing geometries come back as empty + arr[-2] = shapely.from_wkt("POLYGON EMPTY") assert_geometries_equal(result, arr) @@ -217,6 +235,7 @@ def test_multipoints(): "MULTIPOINT EMPTY", "MULTIPOINT EMPTY", "MULTIPOINT (30 10, 10 30, 40 40)", + None, "MULTIPOINT EMPTY", ] ) @@ -233,7 +252,7 @@ def test_multipoints(): [40.0, 40.0], ] ) - expected_offsets = np.array([0, 4, 5, 5, 5, 8, 8]) + expected_offsets = np.array([0, 4, 5, 5, 5, 8, 8, 8]) assert typ == shapely.GeometryType.MULTIPOINT assert_allclose(coords, expected) @@ -241,6 +260,8 @@ def test_multipoints(): assert_allclose(offsets[0], expected_offsets) result = shapely.from_ragged_array(typ, coords, offsets) + # in a roundtrip, missing geometries come back as empty + arr[-2] = shapely.from_wkt("MULTIPOINT EMPTY") assert_geometries_equal(result, arr) @@ -252,6 +273,7 @@ def test_multilinestrings(): "MULTILINESTRING EMPTY", "MULTILINESTRING EMPTY", "MULTILINESTRING ((35 10, 45 45), (15 40, 10 20), (30 10, 10 30, 40 40))", + None, "MULTILINESTRING EMPTY", ] ) @@ -278,7 +300,7 @@ def test_multilinestrings(): ] ) expected_offsets1 = np.array([0, 3, 6, 10, 12, 14, 17]) - expected_offsets2 = np.array([0, 1, 3, 3, 3, 6, 6]) + expected_offsets2 = np.array([0, 1, 3, 3, 3, 6, 6, 6]) assert typ == shapely.GeometryType.MULTILINESTRING assert_allclose(coords, expected) @@ -287,6 +309,8 @@ def test_multilinestrings(): assert_allclose(offsets[1], expected_offsets2) result = shapely.from_ragged_array(typ, coords, offsets) + # in a roundtrip, missing geometries come back as empty + arr[-2] = shapely.from_wkt("MULTILINESTRING EMPTY") assert_geometries_equal(result, arr) @@ -298,6 +322,7 @@ def test_multipolygons(): "MULTIPOLYGON EMPTY", "MULTIPOLYGON EMPTY", "MULTIPOLYGON (((40 40, 20 45, 45 30, 40 40)))", + None, "MULTIPOLYGON EMPTY", ] ) @@ -335,7 +360,7 @@ def test_multipolygons(): ) expected_offsets1 = np.array([0, 5, 9, 13, 19, 23, 27]) expected_offsets2 = np.array([0, 2, 3, 5, 6]) - expected_offsets3 = np.array([0, 1, 3, 3, 3, 4, 4]) + expected_offsets3 = np.array([0, 1, 3, 3, 3, 4, 4, 4]) assert typ == shapely.GeometryType.MULTIPOLYGON assert_allclose(coords, expected) @@ -345,6 +370,8 @@ def test_multipolygons(): assert_allclose(offsets[2], expected_offsets3) result = shapely.from_ragged_array(typ, coords, offsets) + # in a roundtrip, missing geometries come back as empty + arr[-2] = shapely.from_wkt("MULTIPOLYGON EMPTY") assert_geometries_equal(result, arr) diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/test_set_operations.py b/.venv/lib/python3.12/site-packages/shapely/tests/test_set_operations.py index 496ca02a..0d6a0f9c 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/test_set_operations.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/test_set_operations.py @@ -22,14 +22,14 @@ SET_OPERATIONS = ( shapely.intersection, shapely.symmetric_difference, shapely.union, - # shapely.coverage_union is tested seperately + # shapely.coverage_union is tested separately ) REDUCE_SET_OPERATIONS = ( (shapely.intersection_all, shapely.intersection), (shapely.symmetric_difference_all, shapely.symmetric_difference), (shapely.union_all, shapely.union), - # shapely.coverage_union_all, shapely.coverage_union) is tested seperately + # shapely.coverage_union_all, shapely.coverage_union) is tested separately ) # operations that support fixed precision @@ -53,6 +53,13 @@ non_polygon_types = [ @pytest.mark.parametrize("a", all_types) @pytest.mark.parametrize("func", SET_OPERATIONS) def test_set_operation_array(a, func): + if ( + func is shapely.difference + and a.geom_type == "GeometryCollection" + and shapely.get_num_geometries(a) == 2 + and shapely.geos_version == (3, 9, 5) + ): + pytest.xfail("GEOS 3.9.5 crashes with mixed collection") actual = func(a, point) assert isinstance(actual, Geometry) @@ -270,7 +277,7 @@ def test_set_operation_prec_reduce_all_none(n, func, related_func): @pytest.mark.parametrize("n", range(1, 4)) def test_coverage_union_reduce_1dim(n): """ - This is tested seperately from other set operations as it differs in two ways: + This is tested separately from other set operations as it differs in two ways: 1. It expects only non-overlapping polygons 2. It expects GEOS 3.8.0+ """ @@ -307,7 +314,7 @@ def test_coverage_union_overlapping_inputs(): other = Polygon([(1, 0), (0.9, 1), (2, 1), (2, 0), (1, 0)]) if shapely.geos_version >= (3, 12, 0): - # Return mostly unchaged output + # Return mostly unchanged output result = shapely.coverage_union(polygon, other) expected = shapely.multipolygons([polygon, other]) assert_geometries_equal(result, expected, normalize=True) diff --git a/.venv/lib/python3.12/site-packages/shapely/tests/test_strtree.py b/.venv/lib/python3.12/site-packages/shapely/tests/test_strtree.py index 6bf12819..f3431ecc 100644 --- a/.venv/lib/python3.12/site-packages/shapely/tests/test_strtree.py +++ b/.venv/lib/python3.12/site-packages/shapely/tests/test_strtree.py @@ -10,7 +10,7 @@ import pytest from numpy.testing import assert_array_equal import shapely -from shapely import box, geos_version, MultiPoint, Point, STRtree +from shapely import box, geos_version, LineString, MultiPoint, Point, STRtree from shapely.errors import UnsupportedGEOSVersionError from shapely.testing import assert_geometries_equal from shapely.tests.common import ( @@ -368,39 +368,51 @@ def test_query_with_partially_prepared_inputs(tree): @pytest.mark.parametrize( - "predicate", + "predicate,expected", [ - # intersects is intentionally omitted; it does not raise an exception + pytest.param( + "intersects", + [1], + marks=pytest.mark.xfail(geos_version < (3, 13, 0), reason="GEOS < 3.13"), + ), pytest.param( "within", + [], marks=pytest.mark.xfail(geos_version < (3, 8, 0), reason="GEOS < 3.8"), ), pytest.param( "contains", + [], marks=pytest.mark.xfail(geos_version < (3, 8, 0), reason="GEOS < 3.8"), ), - "overlaps", - "crosses", - "touches", + ("overlaps", []), + ("crosses", [1]), + ("touches", []), pytest.param( "covers", + [], marks=pytest.mark.xfail(geos_version < (3, 8, 0), reason="GEOS < 3.8"), ), pytest.param( "covered_by", + [], marks=pytest.mark.xfail(geos_version < (3, 8, 0), reason="GEOS < 3.8"), ), pytest.param( "contains_properly", + [], marks=pytest.mark.xfail(geos_version < (3, 8, 0), reason="GEOS < 3.8"), ), ], ) -def test_query_predicate_errors(tree, predicate): +def test_query_predicate_errors(tree, predicate, expected): with ignore_invalid(): line_nan = shapely.linestrings([1, 1], [1, float("nan")]) - with pytest.raises(shapely.GEOSException): - tree.query(line_nan, predicate=predicate) + if geos_version < (3, 13, 0): + with pytest.raises(shapely.GEOSException): + tree.query(line_nan, predicate=predicate) + else: + assert_array_equal(tree.query(line_nan, predicate=predicate), expected) ### predicate == 'intersects' @@ -928,12 +940,12 @@ def test_query_crosses_polygons(poly_tree, geometry, expected): # box contains points but touches only those at edges (box(3, 3, 6, 6), [3, 6]), ([box(3, 3, 6, 6)], [[0, 0], [3, 6]]), - # buffer completely contains point in tree + # polygon completely contains point in tree (shapely.buffer(Point(3, 3), 1), []), ([shapely.buffer(Point(3, 3), 1)], [[], []]), - # buffer intersects 2 points but touches only one - (shapely.buffer(Point(0, 1), 1), [1]), - ([shapely.buffer(Point(0, 1), 1)], [[0], [1]]), + # linestring intersects 2 points but touches only one + (LineString([(-1, -1), (1, 1)]), [1]), + ([LineString([(-1, -1), (1, 1)])], [[0], [1]]), # multipoints intersect but not valid relation (MultiPoint([[5, 5], [7, 7]]), []), ([MultiPoint([[5, 5], [7, 7]])], [[], []]), diff --git a/.venv/lib/python3.12/site-packages/shapely/vectorized/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/shapely/vectorized/__pycache__/__init__.cpython-312.pyc index e4708665..3f5e4091 100644 Binary files a/.venv/lib/python3.12/site-packages/shapely/vectorized/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/shapely/vectorized/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/INSTALLER deleted file mode 100644 index a1b589e3..00000000 --- a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/INSTALLER +++ /dev/null @@ -1 +0,0 @@ -pip diff --git a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/LICENSE deleted file mode 100644 index c2f84aeb..00000000 --- a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -Apache Software License 2.0 - -Copyright (c) 2020, Paul Ganssle (Google) - -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/python3.12/site-packages/tzdata-2024.2.dist-info/LICENSE_APACHE b/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/LICENSE_APACHE deleted file mode 100644 index 261eeb9e..00000000 --- a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/LICENSE_APACHE +++ /dev/null @@ -1,201 +0,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/python3.12/site-packages/tzdata-2024.2.dist-info/METADATA b/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/METADATA deleted file mode 100644 index 4feec22a..00000000 --- a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/METADATA +++ /dev/null @@ -1,33 +0,0 @@ -Metadata-Version: 2.1 -Name: tzdata -Version: 2024.2 -Summary: Provider of IANA time zone data -Home-page: https://github.com/python/tzdata -Author: Python Software Foundation -Author-email: datetime-sig@python.org -License: Apache-2.0 -Project-URL: Bug Reports, https://github.com/python/tzdata/issues -Project-URL: Source, https://github.com/python/tzdata -Project-URL: Documentation, https://tzdata.readthedocs.io -Classifier: Development Status :: 4 - Beta -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: Apache Software License -Classifier: Programming Language :: Python :: 2 -Classifier: Programming Language :: Python :: 3 -Requires-Python: >=2 -Description-Content-Type: text/x-rst -License-File: LICENSE -License-File: licenses/LICENSE_APACHE - -tzdata: Python package providing IANA time zone data -==================================================== - -This is a Python package containing ``zic``-compiled binaries for the IANA time -zone database. It is intended to be a fallback for systems that do not have -system time zone data installed (or don't have it installed in a standard -location), as a part of `PEP 615 `_ - -This repository generates a ``pip``-installable package, published on PyPI as -`tzdata `_. - -For more information, see `the documentation `_. diff --git a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/RECORD b/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/RECORD deleted file mode 100644 index 7db0c118..00000000 --- a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/RECORD +++ /dev/null @@ -1,655 +0,0 @@ -tzdata-2024.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -tzdata-2024.2.dist-info/LICENSE,sha256=M-jlAC01EtP8wigrmV5rrZ0zR4G5xawxhD9ASQDh87Q,592 -tzdata-2024.2.dist-info/LICENSE_APACHE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357 -tzdata-2024.2.dist-info/METADATA,sha256=5HAWgRuxvc1h1LHVUCXna4uZ7h6KjIet66Kn8AUDh5c,1393 -tzdata-2024.2.dist-info/RECORD,, -tzdata-2024.2.dist-info/WHEEL,sha256=AHX6tWk3qWuce7vKLrj7lnulVHEdWoltgauo8bgCXgU,109 -tzdata-2024.2.dist-info/top_level.txt,sha256=MO6QqC0xRrN67Gh9xU_nMmadwBVlYzPNkq_h4gYuzaQ,7 -tzdata/__init__.py,sha256=9o0ijEmis4rXSl6J7-eVzqZxxUWI7aGSQLwuzQFBtz4,252 -tzdata/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Africa/Abidjan,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Accra,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Addis_Ababa,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Africa/Algiers,sha256=L2nS4gLNFvuo89p3YtB-lSDYY2284SqkGH9pQQI8uwc,470 -tzdata/zoneinfo/Africa/Asmara,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Africa/Asmera,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Africa/Bamako,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Bangui,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/Banjul,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Bissau,sha256=wa3uva129dJHRCi7tYt04kFOn1-osMS2afMjleO9mDw,149 -tzdata/zoneinfo/Africa/Blantyre,sha256=kQyXwJHNNK50J8gyJiNM57Ty9CXFgi1macJL5iAQp5I,131 -tzdata/zoneinfo/Africa/Brazzaville,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/Bujumbura,sha256=kQyXwJHNNK50J8gyJiNM57Ty9CXFgi1macJL5iAQp5I,131 -tzdata/zoneinfo/Africa/Cairo,sha256=icuaNiEvuC6TPc2fqhDv36lpop7IDDIGO7tFGMAz0b4,1309 -tzdata/zoneinfo/Africa/Casablanca,sha256=MMps8T4AwqbEN6PIN_pkNiPMBEBqtRZRZceLN-9rxMM,1919 -tzdata/zoneinfo/Africa/Ceuta,sha256=oEIgK53afz1SYxYB_D0jR98Ss3g581yb8TnLppPaYcY,562 -tzdata/zoneinfo/Africa/Conakry,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Dakar,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Dar_es_Salaam,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Africa/Djibouti,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Africa/Douala,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/El_Aaiun,sha256=6hfLbLfrD1Qy9ZZqLXr1Xw7fzeEs_FqeHN2zZJZUVJI,1830 -tzdata/zoneinfo/Africa/Freetown,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Gaborone,sha256=kQyXwJHNNK50J8gyJiNM57Ty9CXFgi1macJL5iAQp5I,131 -tzdata/zoneinfo/Africa/Harare,sha256=kQyXwJHNNK50J8gyJiNM57Ty9CXFgi1macJL5iAQp5I,131 -tzdata/zoneinfo/Africa/Johannesburg,sha256=0Zrr4kNcToS_euZVM9I6nUQPmBYuW01pxz94PgIpnsg,190 -tzdata/zoneinfo/Africa/Juba,sha256=VTpoMAP-jJ6cKsDeNVr7l3LKGoKDUxGU2b1gqvDPz34,458 -tzdata/zoneinfo/Africa/Kampala,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Africa/Khartoum,sha256=NRwOwIg4SR6XuD11k3hxBz77uoBpzejXq7vxtq2Xys8,458 -tzdata/zoneinfo/Africa/Kigali,sha256=kQyXwJHNNK50J8gyJiNM57Ty9CXFgi1macJL5iAQp5I,131 -tzdata/zoneinfo/Africa/Kinshasa,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/Lagos,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/Libreville,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/Lome,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Luanda,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/Lubumbashi,sha256=kQyXwJHNNK50J8gyJiNM57Ty9CXFgi1macJL5iAQp5I,131 -tzdata/zoneinfo/Africa/Lusaka,sha256=kQyXwJHNNK50J8gyJiNM57Ty9CXFgi1macJL5iAQp5I,131 -tzdata/zoneinfo/Africa/Malabo,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/Maputo,sha256=kQyXwJHNNK50J8gyJiNM57Ty9CXFgi1macJL5iAQp5I,131 -tzdata/zoneinfo/Africa/Maseru,sha256=0Zrr4kNcToS_euZVM9I6nUQPmBYuW01pxz94PgIpnsg,190 -tzdata/zoneinfo/Africa/Mbabane,sha256=0Zrr4kNcToS_euZVM9I6nUQPmBYuW01pxz94PgIpnsg,190 -tzdata/zoneinfo/Africa/Mogadishu,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Africa/Monrovia,sha256=WM-JVfr502Vgy18Fe6iAJ2yMgOWbwwumIQh_yp53eKM,164 -tzdata/zoneinfo/Africa/Nairobi,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Africa/Ndjamena,sha256=Tlj4ZUUNJxEhvAoo7TJKqWv1J7tEYaf1FEMez-K9xEg,160 -tzdata/zoneinfo/Africa/Niamey,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/Nouakchott,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Ouagadougou,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Porto-Novo,sha256=5e8SiFccxWxSdsqWbhyKZ1xnR3JtdY7K_n7_zm7Ke-Q,180 -tzdata/zoneinfo/Africa/Sao_Tome,sha256=Pfiutakw5B5xr1OSg1uFvT0GwC6jVOqqxnx69GEJu50,173 -tzdata/zoneinfo/Africa/Timbuktu,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Africa/Tripoli,sha256=zzMBLZZh4VQ4_ARe5k4L_rsuqKP7edKvVt8F6kvj5FM,431 -tzdata/zoneinfo/Africa/Tunis,sha256=uoAEER48RJqNeGoYBuk5IeYqjc8sHvWLvKssuVCd18g,449 -tzdata/zoneinfo/Africa/Windhoek,sha256=g1jLRko_2peGsUTg0_wZycOC4gxTAHwfV2SO9I3KdCM,638 -tzdata/zoneinfo/Africa/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Africa/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/America/Adak,sha256=q_sZgOINX4TsX9iBx1gNd6XGwBnzCjg6qpdAQhK0ieA,969 -tzdata/zoneinfo/America/Anchorage,sha256=d8oMIpYvBpmLzl5I2By4ZaFEZsg_9dxgfqpIM0QFi_Y,977 -tzdata/zoneinfo/America/Anguilla,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Antigua,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Araguaina,sha256=TawYX4lVAxq0BxUGhTDx4C8vtBRnLuWi8qLV_oXDiUo,592 -tzdata/zoneinfo/America/Argentina/Buenos_Aires,sha256=IEVOpSfI6oiJJmFNIb9Vb0bOOMIgxO5bghFw7vkHFGk,708 -tzdata/zoneinfo/America/Argentina/Catamarca,sha256=UC0fxx7ZPmjPw3D0BK-5vap-c1cBzbgR293MdmEfOx0,708 -tzdata/zoneinfo/America/Argentina/ComodRivadavia,sha256=UC0fxx7ZPmjPw3D0BK-5vap-c1cBzbgR293MdmEfOx0,708 -tzdata/zoneinfo/America/Argentina/Cordoba,sha256=9Ij3WjT9mWMKQ43LeSUIqQuDb9zS3FSlHYPVNQJTFf0,708 -tzdata/zoneinfo/America/Argentina/Jujuy,sha256=7YpjOcmVaKKpiq31rQe8TTDNExdH9jjZIhdcZv-ShUg,690 -tzdata/zoneinfo/America/Argentina/La_Rioja,sha256=mUkRD5jaWJUy2f8vNFqOlMgKPptULOBn-vf_jMgF6x8,717 -tzdata/zoneinfo/America/Argentina/Mendoza,sha256=dL4q0zgY2FKPbG8cC-Wknnpp8tF2Y7SWgWSC_G_WznI,708 -tzdata/zoneinfo/America/Argentina/Rio_Gallegos,sha256=bCpWMlEI8KWe4c3n6fn8u6WCPnxjYtVy57ERtLTZaEs,708 -tzdata/zoneinfo/America/Argentina/Salta,sha256=H_ybxVycfOe7LlUA3GngoS0jENHkQURIRhjfJQF2kfU,690 -tzdata/zoneinfo/America/Argentina/San_Juan,sha256=Mj5vIUzQl5DtsPe3iMzS7rR-88U9HKW2csQqUda4JNM,717 -tzdata/zoneinfo/America/Argentina/San_Luis,sha256=rka8BokogyvMRFH6jr8D6s1tFIpsUeqHJ_feLK5O6ds,717 -tzdata/zoneinfo/America/Argentina/Tucuman,sha256=yv3aC-hALLio2yqneLIIylZhXKDlbPJGAd_abgsj9gg,726 -tzdata/zoneinfo/America/Argentina/Ushuaia,sha256=mcmZgB1pEHX6i7nlyRzjLnG8bqAtAK1TwMdRD2pZqBE,708 -tzdata/zoneinfo/America/Argentina/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/America/Argentina/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/America/Aruba,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Asuncion,sha256=PuuUl8VILSBeZWDyLkM67bWl47xPMcJ0fY-rAhvSFzc,884 -tzdata/zoneinfo/America/Atikokan,sha256=p41zBnujy9lPiiPf3WqotoyzOxhIS8F7TiDqGuwvCoE,149 -tzdata/zoneinfo/America/Atka,sha256=q_sZgOINX4TsX9iBx1gNd6XGwBnzCjg6qpdAQhK0ieA,969 -tzdata/zoneinfo/America/Bahia,sha256=_-ZFw-HzXc7byacHW_NJHtJ03ADFdqt1kaYgyWYobYw,682 -tzdata/zoneinfo/America/Bahia_Banderas,sha256=lJ8K-PrUqLTefuqpcKp_YWvfvzH0WNNrZ_LIel_0oZQ,700 -tzdata/zoneinfo/America/Barbados,sha256=gdiJf9ZKOMs9QB4ex0-crvdmhNfHpNzXTV2xTaNDCAg,278 -tzdata/zoneinfo/America/Belem,sha256=w0jv-gdBbEBZQBF2z2liKpRM9CEOWA36O1qU1nJKeCs,394 -tzdata/zoneinfo/America/Belize,sha256=uYBPJqnCGnOOeKnoz1IG9POWTvXD5kUirpFuB0PHjVo,1045 -tzdata/zoneinfo/America/Blanc-Sablon,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Boa_Vista,sha256=hYTFFNNZJdl_nSYIdfI8SQhtmfiakjCDI_15TlB-xEw,430 -tzdata/zoneinfo/America/Bogota,sha256=BqH6uClrrlT-VsBmke2Mh-IfA1R1l1h031CRUSLS1no,179 -tzdata/zoneinfo/America/Boise,sha256=Jt3omyPSPRoKE-KXVd-wxVON-CDE5oGaJA7Ar90Q2OM,999 -tzdata/zoneinfo/America/Buenos_Aires,sha256=IEVOpSfI6oiJJmFNIb9Vb0bOOMIgxO5bghFw7vkHFGk,708 -tzdata/zoneinfo/America/Cambridge_Bay,sha256=NFwNVfgxb2YMLzc-42RA-SKtNcODpukEfYf_QWWYTsI,883 -tzdata/zoneinfo/America/Campo_Grande,sha256=mngKYjaH_ENVmJ-mtURVjjFo5kHgLfYNPHZaCVSxQFE,952 -tzdata/zoneinfo/America/Cancun,sha256=YSoUxbjaL2MycKCTB3ZAK9jPVaeMhW7MkOEA8eWakKY,538 -tzdata/zoneinfo/America/Caracas,sha256=UHmUwc0mFPoidR4UDCWb4T4w_mpCBsSb4BkW3SOKIVY,190 -tzdata/zoneinfo/America/Catamarca,sha256=UC0fxx7ZPmjPw3D0BK-5vap-c1cBzbgR293MdmEfOx0,708 -tzdata/zoneinfo/America/Cayenne,sha256=9URU4o1v5759UWuh8xI9vnaANOceOeRW67XoGQuuUa8,151 -tzdata/zoneinfo/America/Cayman,sha256=p41zBnujy9lPiiPf3WqotoyzOxhIS8F7TiDqGuwvCoE,149 -tzdata/zoneinfo/America/Chicago,sha256=wntzn_RqffBZThINcltDkhfhHkTqmlDNxJEwODtUguc,1754 -tzdata/zoneinfo/America/Chihuahua,sha256=tzOmA7trhFykyUZ7QbuMA6A88BSF2o4mumo65aojzqo,691 -tzdata/zoneinfo/America/Ciudad_Juarez,sha256=mEE-VN-sqVDaHFJyFGUBYyOsYHCRspUZcSJqt26Wufg,718 -tzdata/zoneinfo/America/Coral_Harbour,sha256=p41zBnujy9lPiiPf3WqotoyzOxhIS8F7TiDqGuwvCoE,149 -tzdata/zoneinfo/America/Cordoba,sha256=9Ij3WjT9mWMKQ43LeSUIqQuDb9zS3FSlHYPVNQJTFf0,708 -tzdata/zoneinfo/America/Costa_Rica,sha256=ihoqA_tHmYm0YjTRLZu3q8PqsqqOeb1CELjWhPf_HXE,232 -tzdata/zoneinfo/America/Creston,sha256=rhFFPCHQiYTedfLv7ATckxeKe04jxeUvIJi4vUXMtUc,240 -tzdata/zoneinfo/America/Cuiaba,sha256=OaIle0Cr-BKe0hOik5rwdcoCbQ5LSHkHqBS2cLoCqAU,934 -tzdata/zoneinfo/America/Curacao,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Danmarkshavn,sha256=cQORuA8pR0vw3ZwYfeGkWaT1tPU66nMQ2xRKT1T1Yb4,447 -tzdata/zoneinfo/America/Dawson,sha256=BlKV0U36jqnlxM5-Pxn8OIiY5kJEcLlt3QZo-GsMzlY,1029 -tzdata/zoneinfo/America/Dawson_Creek,sha256=t4USMuIvq1VVL9gYCabraAYs31kmAqAnwf7GzEiJJNc,683 -tzdata/zoneinfo/America/Denver,sha256=m7cDkg7KS2EZ6BoQVYOk9soiBlHxO0GEeat81WxBPz4,1042 -tzdata/zoneinfo/America/Detroit,sha256=I4F8Mt9nx38AF6D-steYskBa_HHO6jKU1-W0yRFr50A,899 -tzdata/zoneinfo/America/Dominica,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Edmonton,sha256=Dq2mxcSNWZhMWRqxwwtMcaqwAIGMwkOzz-mW8fJscV8,970 -tzdata/zoneinfo/America/Eirunepe,sha256=6tKYaRpnbBSmXiwXy7_m4WW_rbVfn5LUec0keC3J7Iw,436 -tzdata/zoneinfo/America/El_Salvador,sha256=4wjsCpRH9AFk5abLAbnuv-zouhRKcwb0aenk-nWtmz0,176 -tzdata/zoneinfo/America/Ensenada,sha256=MGWr-6toDRarjMXTaiOIWgBFWNbw7lHvidLuPKFxfIo,1079 -tzdata/zoneinfo/America/Fort_Nelson,sha256=_j7IJ-hXHtV_7dSMg6pxGQLb6z_IaUMj3aJde_F49QQ,1448 -tzdata/zoneinfo/America/Fort_Wayne,sha256=5nj0KhPvvXvg8mqc5T4EscKKWC6rBWEcsBwWg2Qy8Hs,531 -tzdata/zoneinfo/America/Fortaleza,sha256=ugF4DWO3j_khONebf7CLsT9ldL-JOWey_69S0jl2LIA,484 -tzdata/zoneinfo/America/Glace_Bay,sha256=I1posPHAEfg_Lc_FQdX1B8F8_A0NeJnK72p36PE7pKM,880 -tzdata/zoneinfo/America/Godthab,sha256=LlGZ5Y_ud9JwWRvncHnUHRArQbbnNcmmrz3duMhR3Hc,965 -tzdata/zoneinfo/America/Goose_Bay,sha256=gCJA1Sk2ciUg2WInn8DmPBwRAw0FjQbYPaUJK80mtMI,1580 -tzdata/zoneinfo/America/Grand_Turk,sha256=Gp8hpMt9P3QoEHmsIX2bqGNMkUSvlwZqqNzccR-cbe8,853 -tzdata/zoneinfo/America/Grenada,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Guadeloupe,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Guatemala,sha256=BGPGI4lyN6IFF_T0kx1q2lh3U5SEhbyDqLFuW8EFCaU,212 -tzdata/zoneinfo/America/Guayaquil,sha256=8OIaCy-SirKKz4I77l6MQFDgSLHtjN0TvklLVEZ_008,179 -tzdata/zoneinfo/America/Guyana,sha256=PmnEtWtOTamsPJXEo7PcNQCy2Rp-evGyJh4cf0pjAR4,181 -tzdata/zoneinfo/America/Halifax,sha256=kO5ahBM2oTLfWS4KX15FbKXfo5wg-f9vw1_hMOISGig,1672 -tzdata/zoneinfo/America/Havana,sha256=ms5rCuq2yBM49VmTymMtFQN3c5aBN1lkd8jjzKdnNm8,1117 -tzdata/zoneinfo/America/Hermosillo,sha256=Ur1MYSAX3QbT2UX57LmD83o6s2Z-6YbYeOufKvT-zTM,258 -tzdata/zoneinfo/America/Indiana/Indianapolis,sha256=5nj0KhPvvXvg8mqc5T4EscKKWC6rBWEcsBwWg2Qy8Hs,531 -tzdata/zoneinfo/America/Indiana/Knox,sha256=KJCzXct8CTMItVLYLYeBqM6aT6b53gWCg6aDbsH58oI,1016 -tzdata/zoneinfo/America/Indiana/Marengo,sha256=ygWmq8sYee8NFwlSZyQ_tsKopFQMp9Ne557zGGbyF2Y,567 -tzdata/zoneinfo/America/Indiana/Petersburg,sha256=BIrubzHEp5QoyMaPgYbC1zSa_F3LwpXzKM8xH3rHspI,683 -tzdata/zoneinfo/America/Indiana/Tell_City,sha256=em2YMHDWEFXdZH0BKi5bLRAQ8bYDfop2T0Q8SqDh0B8,522 -tzdata/zoneinfo/America/Indiana/Vevay,sha256=dPk334e7MQwl71-avNyREBYVWuFTQcVKfltlRhrlRpw,369 -tzdata/zoneinfo/America/Indiana/Vincennes,sha256=jiODDXepmLP3gvCkBufdE3rp5cEXftBHnKne8_XOOCg,558 -tzdata/zoneinfo/America/Indiana/Winamac,sha256=hsEunaLrbxvspyV3Qm4UD7x7qOAeBtzcbbzANNMrdiw,603 -tzdata/zoneinfo/America/Indiana/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/America/Indiana/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/America/Indianapolis,sha256=5nj0KhPvvXvg8mqc5T4EscKKWC6rBWEcsBwWg2Qy8Hs,531 -tzdata/zoneinfo/America/Inuvik,sha256=d_ZX-USS70HIT-_PRJKMY6mbQRvbKLvsy9ar7uL2M40,817 -tzdata/zoneinfo/America/Iqaluit,sha256=nONS7zksGHTrbEJj73LYRZW964OncQuj_V6fNjpDoQ0,855 -tzdata/zoneinfo/America/Jamaica,sha256=pDexcAMzrv9TqLWGjVOHwIDcFMLT6Vqlzjb5AbNmkoQ,339 -tzdata/zoneinfo/America/Jujuy,sha256=7YpjOcmVaKKpiq31rQe8TTDNExdH9jjZIhdcZv-ShUg,690 -tzdata/zoneinfo/America/Juneau,sha256=V8IqRaJHSH7onK1gu3YYtW_a4VkNwjx5DCvQXpFdYAo,966 -tzdata/zoneinfo/America/Kentucky/Louisville,sha256=zS2SS573D9TmQZFWtSyRIVN3ZXVN_2FpVBbtqQFMzKU,1242 -tzdata/zoneinfo/America/Kentucky/Monticello,sha256=54or2oQ9bSbM9ifRoOjV7UjRF83jSSPuxfGeXH0nIqk,972 -tzdata/zoneinfo/America/Kentucky/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/America/Kentucky/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/America/Knox_IN,sha256=KJCzXct8CTMItVLYLYeBqM6aT6b53gWCg6aDbsH58oI,1016 -tzdata/zoneinfo/America/Kralendijk,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/La_Paz,sha256=2iYBxnc0HIwAzlx-Q3AI9Lb0GI87VY279oGcroBZSVs,170 -tzdata/zoneinfo/America/Lima,sha256=7vNjRhxzL-X4kyba-NkzXYNAOE-cqqcXvzXTqcTXBhY,283 -tzdata/zoneinfo/America/Los_Angeles,sha256=IA0FdU9tg6Nxz0CNcIUSV5dlezsL6-uh5QjP_oaj5cg,1294 -tzdata/zoneinfo/America/Louisville,sha256=zS2SS573D9TmQZFWtSyRIVN3ZXVN_2FpVBbtqQFMzKU,1242 -tzdata/zoneinfo/America/Lower_Princes,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Maceio,sha256=dSVg0dHedT9w1QO2F1AvWoel4_h8wmuYS4guEaL-5Kk,502 -tzdata/zoneinfo/America/Managua,sha256=ZYsoyN_GIlwAIpIj1spjQDPWGQ9kFZSipjUbO8caGfw,295 -tzdata/zoneinfo/America/Manaus,sha256=9kgrhpryB94YOVoshJliiiDSf9mwjb3OZwX0HusNRrk,412 -tzdata/zoneinfo/America/Marigot,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Martinique,sha256=m3rC6Mogc6cc1a9XJ8FPIYhZaSFNdYkxaZ-pfHhG3X4,178 -tzdata/zoneinfo/America/Matamoros,sha256=KxgAMGkE7TJuug9byFsT3KN836X3OyXq77v-tFpLVvc,437 -tzdata/zoneinfo/America/Mazatlan,sha256=IN7ecQ9SDq9sDNvu_nc_xuMN2LHSiq8X6YQgmVUe6aY,690 -tzdata/zoneinfo/America/Mendoza,sha256=dL4q0zgY2FKPbG8cC-Wknnpp8tF2Y7SWgWSC_G_WznI,708 -tzdata/zoneinfo/America/Menominee,sha256=oUmJmzOZtChYrB9In-E1GqEVi2ogKjPESXlUySUGs94,917 -tzdata/zoneinfo/America/Merida,sha256=LBpOEv4xxUcL5B7wFSNa3UyE762-EiSXb1KPQNKwwCU,654 -tzdata/zoneinfo/America/Metlakatla,sha256=EVj1LkMCgry6mT8Ln_FpHxpJSU0oSncfbHGWIQ0SI_0,586 -tzdata/zoneinfo/America/Mexico_City,sha256=N90r8I8T_OD3B8Ox9M7EAY772cR8g2ew-03rvUYb1y8,773 -tzdata/zoneinfo/America/Miquelon,sha256=Eey-Id5b4HFODINweRFtbDjcgjs_myiC2UwsgYt4kVk,550 -tzdata/zoneinfo/America/Moncton,sha256=knrBNDFwHAGFr0nWJTBQ-10F_fZ5x4n3SnZtH-KI6h8,1493 -tzdata/zoneinfo/America/Monterrey,sha256=1aYsIp-Na0lDAKVrcW4wVKFAXy5BAqDG2wWLT9wTmmQ,709 -tzdata/zoneinfo/America/Montevideo,sha256=l7FjW6qscGzdvfjlbIeZ5CQ_AFWS3ZeVDS5ppMJCNM0,969 -tzdata/zoneinfo/America/Montreal,sha256=gVq023obEpKGfS-SS3GOG7oyRVzp-SIF2y_rZQKcZ2E,1717 -tzdata/zoneinfo/America/Montserrat,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Nassau,sha256=gVq023obEpKGfS-SS3GOG7oyRVzp-SIF2y_rZQKcZ2E,1717 -tzdata/zoneinfo/America/New_York,sha256=1_IgazpFmJ_JrWPVWJIlMvpzUigNX4cXa_HbecsdH6k,1744 -tzdata/zoneinfo/America/Nipigon,sha256=gVq023obEpKGfS-SS3GOG7oyRVzp-SIF2y_rZQKcZ2E,1717 -tzdata/zoneinfo/America/Nome,sha256=_-incQnh0DwK9hJqFaYzO4osUKAUB2k2lae565sblpA,975 -tzdata/zoneinfo/America/Noronha,sha256=Q0r3GtA5y2RGkOj56OTZG5tuBy1B6kfbhyrJqCgf27g,484 -tzdata/zoneinfo/America/North_Dakota/Beulah,sha256=RvaBIS60bNNRmREi6BXSWEbJSrcP7J8Nmxg8OkBcrow,1043 -tzdata/zoneinfo/America/North_Dakota/Center,sha256=M09x4Mx6hcBAwktvwv16YvPRmsuDjZEDwHT0Umkcgyo,990 -tzdata/zoneinfo/America/North_Dakota/New_Salem,sha256=mZca9gyfO2USzax7v0mLJEYBKBVmIqylWqnfLgSsVys,990 -tzdata/zoneinfo/America/North_Dakota/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/America/North_Dakota/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/America/Nuuk,sha256=LlGZ5Y_ud9JwWRvncHnUHRArQbbnNcmmrz3duMhR3Hc,965 -tzdata/zoneinfo/America/Ojinaga,sha256=97mJ9VI8h1lRAREIdJdTz_MCLtwh4b36iaQ9QolETpA,718 -tzdata/zoneinfo/America/Panama,sha256=p41zBnujy9lPiiPf3WqotoyzOxhIS8F7TiDqGuwvCoE,149 -tzdata/zoneinfo/America/Pangnirtung,sha256=nONS7zksGHTrbEJj73LYRZW964OncQuj_V6fNjpDoQ0,855 -tzdata/zoneinfo/America/Paramaribo,sha256=C2v9tR6no54CRECWDFhANTl40UsA4AhHsdnGoNCb4_Q,187 -tzdata/zoneinfo/America/Phoenix,sha256=rhFFPCHQiYTedfLv7ATckxeKe04jxeUvIJi4vUXMtUc,240 -tzdata/zoneinfo/America/Port-au-Prince,sha256=wsS6VbQ__bKJ2IUMPy_Pao0CLRK5pXEBrqkaYuqs3Ns,565 -tzdata/zoneinfo/America/Port_of_Spain,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Porto_Acre,sha256=VjuQUr668phq5bcH40r94BPnZBKHzJf_MQBfM6Db96U,418 -tzdata/zoneinfo/America/Porto_Velho,sha256=9yPU8EXtKDQHLF745ETc9qZZ9Me2CK6jvgb6S53pSKg,394 -tzdata/zoneinfo/America/Puerto_Rico,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Punta_Arenas,sha256=2Aqh7bqo-mQlnMjURDkCOeEYmeXhkzKP7OxFAvhTjjA,1218 -tzdata/zoneinfo/America/Rainy_River,sha256=ANzwYGBU1PknQW4LR-H92i5c4Db95LU-UQhPhWZCjDo,1294 -tzdata/zoneinfo/America/Rankin_Inlet,sha256=JQCXQBdyc8uJTjIFO4jZuzS0OjG0gRHv8MPmdzN93CU,807 -tzdata/zoneinfo/America/Recife,sha256=3yZTwF3MJlkY0D48CQUTzCRwDCfGNq8EXXTZYlBgUTg,484 -tzdata/zoneinfo/America/Regina,sha256=_JHuns225iE-THc9NFp-RBq4PWULAuGw2OLbpOB_UMw,638 -tzdata/zoneinfo/America/Resolute,sha256=2UeJBR2ZSkn1bUZy0G0SEhBtY9vycwSRU4naK-sw044,807 -tzdata/zoneinfo/America/Rio_Branco,sha256=VjuQUr668phq5bcH40r94BPnZBKHzJf_MQBfM6Db96U,418 -tzdata/zoneinfo/America/Rosario,sha256=9Ij3WjT9mWMKQ43LeSUIqQuDb9zS3FSlHYPVNQJTFf0,708 -tzdata/zoneinfo/America/Santa_Isabel,sha256=MGWr-6toDRarjMXTaiOIWgBFWNbw7lHvidLuPKFxfIo,1079 -tzdata/zoneinfo/America/Santarem,sha256=dDEGsnrm4wrzl4sK6K8PzEroBKD7A1V7HBa8cWW4cMk,409 -tzdata/zoneinfo/America/Santiago,sha256=_QBpU8K0QqLh5m2yqWfdkypIJDkPAc3dnIAc5jRQxxU,1354 -tzdata/zoneinfo/America/Santo_Domingo,sha256=xmJo59mZXN7Wnf-3Jjl37mCC-8GfN6xmk2l_vngyfeI,317 -tzdata/zoneinfo/America/Sao_Paulo,sha256=-izrIi8GXAKJ85l_8MVLoFp0pZm0Uihw-oapbiThiJE,952 -tzdata/zoneinfo/America/Scoresbysund,sha256=wrhIEVAFI29qKT3TdOWiiJwI80AohXwwfb1mCPSAXHo,984 -tzdata/zoneinfo/America/Shiprock,sha256=m7cDkg7KS2EZ6BoQVYOk9soiBlHxO0GEeat81WxBPz4,1042 -tzdata/zoneinfo/America/Sitka,sha256=pF5yln--MOzEMDacNd_Id0HX9pAmge8POfcxyTNh1-0,956 -tzdata/zoneinfo/America/St_Barthelemy,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/St_Johns,sha256=v99q_AFMPll5MMxMp98aqY40cmis2wciTfTqs2_kb0k,1878 -tzdata/zoneinfo/America/St_Kitts,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/St_Lucia,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/St_Thomas,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/St_Vincent,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Swift_Current,sha256=F-b65Yaax23CsuhSmeTDl6Tv9du4IsvWvMbbSuwHkLM,368 -tzdata/zoneinfo/America/Tegucigalpa,sha256=KlvqBJGswa9DIXlE3acU-pgd4IFqDeBRrUz02PmlNC0,194 -tzdata/zoneinfo/America/Thule,sha256=LzL5jdmZkxRkHdA3XkoqJPG_ImllnSRhYYLQpMf_TY8,455 -tzdata/zoneinfo/America/Thunder_Bay,sha256=gVq023obEpKGfS-SS3GOG7oyRVzp-SIF2y_rZQKcZ2E,1717 -tzdata/zoneinfo/America/Tijuana,sha256=MGWr-6toDRarjMXTaiOIWgBFWNbw7lHvidLuPKFxfIo,1079 -tzdata/zoneinfo/America/Toronto,sha256=gVq023obEpKGfS-SS3GOG7oyRVzp-SIF2y_rZQKcZ2E,1717 -tzdata/zoneinfo/America/Tortola,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Vancouver,sha256=Epou71sUffvHB1rd7wT0krvo3okXAV45_TWcOFpy26Q,1330 -tzdata/zoneinfo/America/Virgin,sha256=q76GKN1Uh8iJ24Fs46UHe7tH9rr6_rlBHZLW7y9wzo0,177 -tzdata/zoneinfo/America/Whitehorse,sha256=CyY4jNd0fzNSdf1HlYGfaktApmH71tRNRlpOEO32DGs,1029 -tzdata/zoneinfo/America/Winnipeg,sha256=ANzwYGBU1PknQW4LR-H92i5c4Db95LU-UQhPhWZCjDo,1294 -tzdata/zoneinfo/America/Yakutat,sha256=pvHLVNA1mI-H9fBDnlnpI6B9XzVFQeyvI9nyIkaFNYQ,946 -tzdata/zoneinfo/America/Yellowknife,sha256=Dq2mxcSNWZhMWRqxwwtMcaqwAIGMwkOzz-mW8fJscV8,970 -tzdata/zoneinfo/America/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/America/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Antarctica/Casey,sha256=1jc-FAjvkKnmCjhz8-yQgEKrN_sVmzAi8DVoy9_K8AQ,287 -tzdata/zoneinfo/Antarctica/Davis,sha256=Pom_267rsoZl6yLvYllu_SW1kixIrSPmsd-HLztn33Y,197 -tzdata/zoneinfo/Antarctica/DumontDUrville,sha256=aDABBVtu-dydiHNODt3ReC8cNkO3wTp16c-OkFIAbhk,154 -tzdata/zoneinfo/Antarctica/Macquarie,sha256=aOZlIzIdTwevaTXoQkDlex2LSFDrg64GvRfcLnfCDAM,976 -tzdata/zoneinfo/Antarctica/Mawson,sha256=UYuiBSE0qZ-2kkBAa6Xq5g9NXg-W_R0P-rl2tlO0jHc,152 -tzdata/zoneinfo/Antarctica/McMurdo,sha256=Dgbn5VrtvJLvWz0Qbnw5KrFijP2KQosg6S6ZAooL-7k,1043 -tzdata/zoneinfo/Antarctica/Palmer,sha256=3MXfhQBaRB57_jqHZMl-M_K48NMFe4zALc7vaMyS5xw,887 -tzdata/zoneinfo/Antarctica/Rothera,sha256=XeddRL2YTDfEWzQI7nDqfW-Tfg-5EebxsHsMHyzGudI,132 -tzdata/zoneinfo/Antarctica/South_Pole,sha256=Dgbn5VrtvJLvWz0Qbnw5KrFijP2KQosg6S6ZAooL-7k,1043 -tzdata/zoneinfo/Antarctica/Syowa,sha256=RoU-lCdq8u6o6GwvFSqHHAkt8ZXcUSc7j8cJH6pLRhw,133 -tzdata/zoneinfo/Antarctica/Troll,sha256=s4z0F_uKzx3biKjEzvHwb56132XRs6IR22fCQglW5GI,158 -tzdata/zoneinfo/Antarctica/Vostok,sha256=cDp-B4wKXE8U5b_zqJIlxdGY-AIAMCTJOZG3bRZBKNc,170 -tzdata/zoneinfo/Antarctica/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Antarctica/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Arctic/Longyearbyen,sha256=p_2ZMteF1NaQkAuDTDVjwYEMHPLgFxG8wJJq9sB2fLc,705 -tzdata/zoneinfo/Arctic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Arctic/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Asia/Aden,sha256=RoU-lCdq8u6o6GwvFSqHHAkt8ZXcUSc7j8cJH6pLRhw,133 -tzdata/zoneinfo/Asia/Almaty,sha256=87WNMKCF7W2V6tq5LvX5DXWoi9MuwjCAY3f9dgwui4s,618 -tzdata/zoneinfo/Asia/Amman,sha256=KOnKO4_1XRlQvLG61GTbfKImSthwBHMSnzV1ExW8i5Q,928 -tzdata/zoneinfo/Asia/Anadyr,sha256=30bdZurg4Q__lCpH509TE0U7pOcEY6qxjvuPF9ai5yc,743 -tzdata/zoneinfo/Asia/Aqtau,sha256=bRj27vG5HvGegFg5eIKNmq3dfteYmr7KmTs4JFO-7SM,606 -tzdata/zoneinfo/Asia/Aqtobe,sha256=Pm7yI5cmfzx8CGXR2mQJDjtH12KCpx8ezFKchiJVVJ4,615 -tzdata/zoneinfo/Asia/Ashgabat,sha256=OTLHdQ8jFPDvxu_IwKX_c3W3jdN6e7FGoCSEEb0XKuw,375 -tzdata/zoneinfo/Asia/Ashkhabad,sha256=OTLHdQ8jFPDvxu_IwKX_c3W3jdN6e7FGoCSEEb0XKuw,375 -tzdata/zoneinfo/Asia/Atyrau,sha256=1YG4QzLxPRZQeGHiOrbm0cRs8ERTNg1NF9dWEwW2Pi0,616 -tzdata/zoneinfo/Asia/Baghdad,sha256=zFe6LXSfuoJjGsmYTMGjJtBcAMLiKFkD7j7-VaqKwH8,630 -tzdata/zoneinfo/Asia/Bahrain,sha256=YWDWV1o3HHWxnmwlzwMWC53C84ZYPkK_gYn9-P0Xx4U,152 -tzdata/zoneinfo/Asia/Baku,sha256=_Wh6ONaRatMc9lpwGO6zB9pTE38NZ4oWg4_-sZl17mA,744 -tzdata/zoneinfo/Asia/Bangkok,sha256=zcjiwoLYvJpenDyvL8Rf9OnlzRj13sjLhzNArXxYTWQ,152 -tzdata/zoneinfo/Asia/Barnaul,sha256=UGFYJYvtgYVS8Tqsqvj6p0OQCmN3zdY9wITWg8ODG-k,753 -tzdata/zoneinfo/Asia/Beirut,sha256=FgM4gqbWFp6KuUnVn-H8UIXZgTydBeOxDdbebJ0GpUc,732 -tzdata/zoneinfo/Asia/Bishkek,sha256=RXdxVxaiE5zxX5atQl-7ZesEeZVjsCXBGZ6cJbVU9pE,618 -tzdata/zoneinfo/Asia/Brunei,sha256=3ajgII3xZ-Wc-dqXRTSMw8qQRDSjXlSBIxyE_sDRGTk,320 -tzdata/zoneinfo/Asia/Calcutta,sha256=OgC9vhvElZ5ydWfHMLpRsDRV7NRV98GQxa0UOG63mw0,220 -tzdata/zoneinfo/Asia/Chita,sha256=1Lme3ccO47R5gmTe5VCq1BSb0m_1opWibq21zvZlntg,750 -tzdata/zoneinfo/Asia/Choibalsan,sha256=--I8P6_e4BtRIe3wCSkPtwHOu_k9rPsw-KqQKHJC9vM,594 -tzdata/zoneinfo/Asia/Chongqing,sha256=v4t-2C_m5j5tmPjOqTTurJAc0Wq6hetXVc4_i0KJ6oo,393 -tzdata/zoneinfo/Asia/Chungking,sha256=v4t-2C_m5j5tmPjOqTTurJAc0Wq6hetXVc4_i0KJ6oo,393 -tzdata/zoneinfo/Asia/Colombo,sha256=QAyjK7gtXUWfLuju1M0H3_ew6iTM-bwfzO5obgvaHy8,247 -tzdata/zoneinfo/Asia/Dacca,sha256=rCGmEwbW4qkUU2QfTj5zLrydVCq8HTWl1dsqEDQOvvo,231 -tzdata/zoneinfo/Asia/Damascus,sha256=AtZTDRzHEB7QnKxFXvtWsNUI1cCCe27sAfpDfQd0MwY,1234 -tzdata/zoneinfo/Asia/Dhaka,sha256=rCGmEwbW4qkUU2QfTj5zLrydVCq8HTWl1dsqEDQOvvo,231 -tzdata/zoneinfo/Asia/Dili,sha256=5fcCHkVIZkLV8TcsqBQ8HstILEpz3ay3MGGU6sgNxLA,170 -tzdata/zoneinfo/Asia/Dubai,sha256=DZ6lBT6DGIAypvtNMB1dtoj0MBHltrH5F6EbcaDaexY,133 -tzdata/zoneinfo/Asia/Dushanbe,sha256=8qbn76rf9xu47NYVdfGvjnkf2KZxNN5J8ekFiXUz3AQ,366 -tzdata/zoneinfo/Asia/Famagusta,sha256=385fbaRnx-mdEaXqSyBKVBDDKPzCGKbynWYt75wwCug,940 -tzdata/zoneinfo/Asia/Gaza,sha256=-PC__gGODaDGgv5LLzH7ptNLbNdStPkxGY4LmebvcNU,2950 -tzdata/zoneinfo/Asia/Harbin,sha256=v4t-2C_m5j5tmPjOqTTurJAc0Wq6hetXVc4_i0KJ6oo,393 -tzdata/zoneinfo/Asia/Hebron,sha256=4FujfuE-ECIXgKW4pv0lxq2ZkAj7jDwt0rezuA0fFzg,2968 -tzdata/zoneinfo/Asia/Ho_Chi_Minh,sha256=R-ReVMreMcETG0Sifjfe5z-PgQpUsKjT6dVbEKzT3sE,236 -tzdata/zoneinfo/Asia/Hong_Kong,sha256=9AaPcyRtuXQX9zRnRTVkxX1mRs5JCbn6JTaSPvzX608,775 -tzdata/zoneinfo/Asia/Hovd,sha256=eqAvD2RfuIfSDhtqk58MECIjz5X14OHZ7aO4z14kndk,594 -tzdata/zoneinfo/Asia/Irkutsk,sha256=sWxp8g_aSfFan4ZyF9s6-pEX5Vgwxi_jNv7vwN06XIo,760 -tzdata/zoneinfo/Asia/Istanbul,sha256=KnFjsWuUgG9pmRNI59CmDEbrYbHwMF9fS4P2E9sQgG8,1200 -tzdata/zoneinfo/Asia/Jakarta,sha256=4qCZ6kix9xZriNIZsyb3xENz0IkJzZcjtENGlG_Wo4Q,248 -tzdata/zoneinfo/Asia/Jayapura,sha256=BUa0kX1iOdf0E-v7415h7l0lQv4DBCYX_3dAbYmQ0xU,171 -tzdata/zoneinfo/Asia/Jerusalem,sha256=n83o1YTeoFhfXIcnqvNfSKFJ4NvTqDv2zvi8qcFAIeM,1074 -tzdata/zoneinfo/Asia/Kabul,sha256=pNIwTfiSG71BGKvrhKqo1xdxckAx9vfcx5nJanrL81Q,159 -tzdata/zoneinfo/Asia/Kamchatka,sha256=Qix8x3s-m8UTeiwzNPBy_ZQvAzX_aaihz_PzLfTiUac,727 -tzdata/zoneinfo/Asia/Karachi,sha256=ujo4wv-3oa9tfrFT5jsLcEYcjeGeBRgG2QwdXg_ijU4,266 -tzdata/zoneinfo/Asia/Kashgar,sha256=hJyv03dhHML8K0GJGrY8b7M0OUkEXblh_RYmdZMxWtQ,133 -tzdata/zoneinfo/Asia/Kathmandu,sha256=drjxv-ByIxodnn-FATEOJ8DQgEjEj3Qihgtkd8FCxDg,161 -tzdata/zoneinfo/Asia/Katmandu,sha256=drjxv-ByIxodnn-FATEOJ8DQgEjEj3Qihgtkd8FCxDg,161 -tzdata/zoneinfo/Asia/Khandyga,sha256=fdEDOsDJkLuENybqIXtTiI4k2e24dKHDfBTww9AtbSw,775 -tzdata/zoneinfo/Asia/Kolkata,sha256=OgC9vhvElZ5ydWfHMLpRsDRV7NRV98GQxa0UOG63mw0,220 -tzdata/zoneinfo/Asia/Krasnoyarsk,sha256=buNI5S1g7eedK-PpnrLkBFFZDUyCtHxcxXDQGF2ARos,741 -tzdata/zoneinfo/Asia/Kuala_Lumpur,sha256=CVSy2aMB2U9DSAJGBqcbvLL6JNPNNwn1vIvKYFA5eF0,256 -tzdata/zoneinfo/Asia/Kuching,sha256=3ajgII3xZ-Wc-dqXRTSMw8qQRDSjXlSBIxyE_sDRGTk,320 -tzdata/zoneinfo/Asia/Kuwait,sha256=RoU-lCdq8u6o6GwvFSqHHAkt8ZXcUSc7j8cJH6pLRhw,133 -tzdata/zoneinfo/Asia/Macao,sha256=mr89i_wpMoWhAtqZrF2SGcoILcUw6rYrDkIUNADes7E,791 -tzdata/zoneinfo/Asia/Macau,sha256=mr89i_wpMoWhAtqZrF2SGcoILcUw6rYrDkIUNADes7E,791 -tzdata/zoneinfo/Asia/Magadan,sha256=wAufMGWL_s1Aw2l3myAfBFtrROVPes3dMoNuDEoNwT8,751 -tzdata/zoneinfo/Asia/Makassar,sha256=NV9j_RTuiU47mvJvfKE8daXH5AFYJ8Ki4gvHBJSxyLc,190 -tzdata/zoneinfo/Asia/Manila,sha256=Vk8aVoXR_edPDnARFdmEui4pq4Q3yNuiPUCzeIAPLBI,238 -tzdata/zoneinfo/Asia/Muscat,sha256=DZ6lBT6DGIAypvtNMB1dtoj0MBHltrH5F6EbcaDaexY,133 -tzdata/zoneinfo/Asia/Nicosia,sha256=TYYqWp8sK0AwBUHAp0wuuihZuQ19RXdt28bth33zOBI,597 -tzdata/zoneinfo/Asia/Novokuznetsk,sha256=aYW9rpcxpf_zrOZc2vmpcqgiuCRKMHB1lMrioI43KCw,726 -tzdata/zoneinfo/Asia/Novosibirsk,sha256=I2n4MCElad9sMcyJAAc4YdVT6ewbhR79OoAAuhEJfCY,753 -tzdata/zoneinfo/Asia/Omsk,sha256=y7u47EObB3wI8MxKHBRTFM-BEZZqhGpzDg7x5lcwJXY,741 -tzdata/zoneinfo/Asia/Oral,sha256=Q-Gf85NIvdAtU52Zkgf78rVHPlg85xyMe9Zm9ybh0po,625 -tzdata/zoneinfo/Asia/Phnom_Penh,sha256=zcjiwoLYvJpenDyvL8Rf9OnlzRj13sjLhzNArXxYTWQ,152 -tzdata/zoneinfo/Asia/Pontianak,sha256=o0x0jNTlwjiUqAzGX_HlzvCMru2zUURgQ4xzpS95xds,247 -tzdata/zoneinfo/Asia/Pyongyang,sha256=NxC5da8oTZ4StiFQnlhjlp9FTRuMM-Xwsq3Yg4y0xkA,183 -tzdata/zoneinfo/Asia/Qatar,sha256=YWDWV1o3HHWxnmwlzwMWC53C84ZYPkK_gYn9-P0Xx4U,152 -tzdata/zoneinfo/Asia/Qostanay,sha256=5tZkj1o0p4vaREsPO0YgIiw6eDf1cqO52x-0EMg_2L4,624 -tzdata/zoneinfo/Asia/Qyzylorda,sha256=JltKDEnuHmIQGYdFTAJMDDpdDA_HxjJOAHHaV7kFrlQ,624 -tzdata/zoneinfo/Asia/Rangoon,sha256=6J2DXIEdTaRKqLOGeCzogo3whaoO6PJWYamIHS8A6Qw,187 -tzdata/zoneinfo/Asia/Riyadh,sha256=RoU-lCdq8u6o6GwvFSqHHAkt8ZXcUSc7j8cJH6pLRhw,133 -tzdata/zoneinfo/Asia/Saigon,sha256=R-ReVMreMcETG0Sifjfe5z-PgQpUsKjT6dVbEKzT3sE,236 -tzdata/zoneinfo/Asia/Sakhalin,sha256=M_TBd-03j-3Yc9KwhGEoBTwSJxWO1lPBG7ndst16PGo,755 -tzdata/zoneinfo/Asia/Samarkand,sha256=KZ_q-6GMDVgJb8RFqcrbVcPC0WLczolClC4nZA1HVNU,366 -tzdata/zoneinfo/Asia/Seoul,sha256=ZKcLb7zJtl52Lb0l64m29AwTcUbtyNvU0IHq-s2reN4,415 -tzdata/zoneinfo/Asia/Shanghai,sha256=v4t-2C_m5j5tmPjOqTTurJAc0Wq6hetXVc4_i0KJ6oo,393 -tzdata/zoneinfo/Asia/Singapore,sha256=CVSy2aMB2U9DSAJGBqcbvLL6JNPNNwn1vIvKYFA5eF0,256 -tzdata/zoneinfo/Asia/Srednekolymsk,sha256=06mojetFbDd4ag1p8NK0Fg6rF2OOnZMFRRC90N2ATZc,742 -tzdata/zoneinfo/Asia/Taipei,sha256=oEwscvT3aoMXjQNt2X0VfuHzLkeORN2npcEJI2h-5s8,511 -tzdata/zoneinfo/Asia/Tashkent,sha256=0vpN2gI9GY50z1nea6zCPFf2B6VCu6XQQHx4l6rhnTI,366 -tzdata/zoneinfo/Asia/Tbilisi,sha256=ON_Uzv2VTSk6mRefNU-aI-qkqtCoUX6oECVqpeS42eI,629 -tzdata/zoneinfo/Asia/Tehran,sha256=ozLlhNXzpJCZx7bc-VpcmNdgdtn6lPtF6f9qkaDEycI,812 -tzdata/zoneinfo/Asia/Tel_Aviv,sha256=n83o1YTeoFhfXIcnqvNfSKFJ4NvTqDv2zvi8qcFAIeM,1074 -tzdata/zoneinfo/Asia/Thimbu,sha256=N6d_vfFvYORfMnr1fHJjYSt4DBORSbLi_2T-r2dJBnI,154 -tzdata/zoneinfo/Asia/Thimphu,sha256=N6d_vfFvYORfMnr1fHJjYSt4DBORSbLi_2T-r2dJBnI,154 -tzdata/zoneinfo/Asia/Tokyo,sha256=WaOHFDDw07k-YZ-jCkOkHR6IvdSf8m8J0PQFpQBwb5Y,213 -tzdata/zoneinfo/Asia/Tomsk,sha256=Bf7GoFTcUeP2hYyuYpruJji33tcEoLP-80o38A6i4zU,753 -tzdata/zoneinfo/Asia/Ujung_Pandang,sha256=NV9j_RTuiU47mvJvfKE8daXH5AFYJ8Ki4gvHBJSxyLc,190 -tzdata/zoneinfo/Asia/Ulaanbaatar,sha256=--I8P6_e4BtRIe3wCSkPtwHOu_k9rPsw-KqQKHJC9vM,594 -tzdata/zoneinfo/Asia/Ulan_Bator,sha256=--I8P6_e4BtRIe3wCSkPtwHOu_k9rPsw-KqQKHJC9vM,594 -tzdata/zoneinfo/Asia/Urumqi,sha256=hJyv03dhHML8K0GJGrY8b7M0OUkEXblh_RYmdZMxWtQ,133 -tzdata/zoneinfo/Asia/Ust-Nera,sha256=6NkuV1zOms-4qHQhq-cGc-cqEVgKHk7qd3MLDM-e2BA,771 -tzdata/zoneinfo/Asia/Vientiane,sha256=zcjiwoLYvJpenDyvL8Rf9OnlzRj13sjLhzNArXxYTWQ,152 -tzdata/zoneinfo/Asia/Vladivostok,sha256=zkOXuEDgpxX8HQGgDlh9SbAQzHOaNxX2XSI6Y4gMD-k,742 -tzdata/zoneinfo/Asia/Yakutsk,sha256=xD6zA4E228dC1mIUQ7cMO-9LORSfE-Fok0awGDG6juk,741 -tzdata/zoneinfo/Asia/Yangon,sha256=6J2DXIEdTaRKqLOGeCzogo3whaoO6PJWYamIHS8A6Qw,187 -tzdata/zoneinfo/Asia/Yekaterinburg,sha256=q17eUyqOEK2LJYKXYLCJqylj-vmaCG2vSNMttqrQTRk,760 -tzdata/zoneinfo/Asia/Yerevan,sha256=pLEBdchA8H9l-9hdA6FjHmwaj5T1jupK0u-bor1KKa0,708 -tzdata/zoneinfo/Asia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Asia/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Atlantic/Azores,sha256=6XBp-rgg8hERTe2c-bTKahYPlkDn2sROBuqo9wAdtPE,1401 -tzdata/zoneinfo/Atlantic/Bermuda,sha256=PuxqD2cD99Pzjb8hH99Dws053d_zXnZHjeH0kZ8LSLI,1024 -tzdata/zoneinfo/Atlantic/Canary,sha256=XMmxBlscPIWXhiauKy_d5bxX4xjNMM-5Vw84FwZkT00,478 -tzdata/zoneinfo/Atlantic/Cape_Verde,sha256=E5ss6xpIpD0g_VEDsFMFi-ltsebp98PBSpULoVxIAyU,175 -tzdata/zoneinfo/Atlantic/Faeroe,sha256=Iw0qB0mBuviH5w3Qy8jaxCOes07ZHh2wkW8MPUWJqj0,441 -tzdata/zoneinfo/Atlantic/Faroe,sha256=Iw0qB0mBuviH5w3Qy8jaxCOes07ZHh2wkW8MPUWJqj0,441 -tzdata/zoneinfo/Atlantic/Jan_Mayen,sha256=p_2ZMteF1NaQkAuDTDVjwYEMHPLgFxG8wJJq9sB2fLc,705 -tzdata/zoneinfo/Atlantic/Madeira,sha256=2F3vLmp7OTm4ZMSLxyIVQQ6iXeGUkKKPeUdiGmqVuuI,1372 -tzdata/zoneinfo/Atlantic/Reykjavik,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Atlantic/South_Georgia,sha256=kPGfCLQD2C6_Xc5TyAmqmXP-GYdLLPucpBn3S7ybWu8,132 -tzdata/zoneinfo/Atlantic/St_Helena,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Atlantic/Stanley,sha256=QqQd8IWklNapMKjN5vF7vvVn4K-yl3VKvM5zkCKabCM,789 -tzdata/zoneinfo/Atlantic/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Atlantic/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Australia/ACT,sha256=gg1FqGioj4HHMdWyx1i07QAAObYmCoBDP44PCUpgS1k,904 -tzdata/zoneinfo/Australia/Adelaide,sha256=Gk1SdGRVmB233I-WETXAMCZz7L7HVzoN4aUoIcgNr3g,921 -tzdata/zoneinfo/Australia/Brisbane,sha256=2kVWz9CI_qtfdb55g0iL59gUBC7lnO3GUalIQxtHADY,289 -tzdata/zoneinfo/Australia/Broken_Hill,sha256=dzk9LvGA_xRStnAIjAFuTJ8Uwz_s7qGWGQmiXPgDsLY,941 -tzdata/zoneinfo/Australia/Canberra,sha256=gg1FqGioj4HHMdWyx1i07QAAObYmCoBDP44PCUpgS1k,904 -tzdata/zoneinfo/Australia/Currie,sha256=1IAVgf0AA3sBPXFhaxGfu9UQ_cpd4GNpsQ9xio2l4y0,1003 -tzdata/zoneinfo/Australia/Darwin,sha256=ZoexbhgdUlV4leV-dhBu6AxDVkJy43xrPb9UQ3EQCdI,234 -tzdata/zoneinfo/Australia/Eucla,sha256=3NqsFfMzR6-lSUPViNXBAOyJPqyokisse7uDXurURpk,314 -tzdata/zoneinfo/Australia/Hobart,sha256=1IAVgf0AA3sBPXFhaxGfu9UQ_cpd4GNpsQ9xio2l4y0,1003 -tzdata/zoneinfo/Australia/LHI,sha256=82i9JWWcApPQK7eex9rH1bc6kt_6_OFLTdL_uLoRqto,692 -tzdata/zoneinfo/Australia/Lindeman,sha256=iHkCc0QJ7iaQffiTTXQVJ2swsC7QJxLUMHQOGCFlkTk,325 -tzdata/zoneinfo/Australia/Lord_Howe,sha256=82i9JWWcApPQK7eex9rH1bc6kt_6_OFLTdL_uLoRqto,692 -tzdata/zoneinfo/Australia/Melbourne,sha256=X7JPMEj_SYWyfgWFMkp6FOmT6GfyjR-lF9hFGgTavnE,904 -tzdata/zoneinfo/Australia/NSW,sha256=gg1FqGioj4HHMdWyx1i07QAAObYmCoBDP44PCUpgS1k,904 -tzdata/zoneinfo/Australia/North,sha256=ZoexbhgdUlV4leV-dhBu6AxDVkJy43xrPb9UQ3EQCdI,234 -tzdata/zoneinfo/Australia/Perth,sha256=ZsuelcBC1YfWugH2CrlOXQcSDD4gGUJCobB1W-aupHo,306 -tzdata/zoneinfo/Australia/Queensland,sha256=2kVWz9CI_qtfdb55g0iL59gUBC7lnO3GUalIQxtHADY,289 -tzdata/zoneinfo/Australia/South,sha256=Gk1SdGRVmB233I-WETXAMCZz7L7HVzoN4aUoIcgNr3g,921 -tzdata/zoneinfo/Australia/Sydney,sha256=gg1FqGioj4HHMdWyx1i07QAAObYmCoBDP44PCUpgS1k,904 -tzdata/zoneinfo/Australia/Tasmania,sha256=1IAVgf0AA3sBPXFhaxGfu9UQ_cpd4GNpsQ9xio2l4y0,1003 -tzdata/zoneinfo/Australia/Victoria,sha256=X7JPMEj_SYWyfgWFMkp6FOmT6GfyjR-lF9hFGgTavnE,904 -tzdata/zoneinfo/Australia/West,sha256=ZsuelcBC1YfWugH2CrlOXQcSDD4gGUJCobB1W-aupHo,306 -tzdata/zoneinfo/Australia/Yancowinna,sha256=dzk9LvGA_xRStnAIjAFuTJ8Uwz_s7qGWGQmiXPgDsLY,941 -tzdata/zoneinfo/Australia/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Australia/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Brazil/Acre,sha256=VjuQUr668phq5bcH40r94BPnZBKHzJf_MQBfM6Db96U,418 -tzdata/zoneinfo/Brazil/DeNoronha,sha256=Q0r3GtA5y2RGkOj56OTZG5tuBy1B6kfbhyrJqCgf27g,484 -tzdata/zoneinfo/Brazil/East,sha256=-izrIi8GXAKJ85l_8MVLoFp0pZm0Uihw-oapbiThiJE,952 -tzdata/zoneinfo/Brazil/West,sha256=9kgrhpryB94YOVoshJliiiDSf9mwjb3OZwX0HusNRrk,412 -tzdata/zoneinfo/Brazil/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Brazil/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/CET,sha256=sQ-VQqhQnwpj68p449gEMt2GuOopZAAoD-vZz6dugog,1103 -tzdata/zoneinfo/CST6CDT,sha256=wntzn_RqffBZThINcltDkhfhHkTqmlDNxJEwODtUguc,1754 -tzdata/zoneinfo/Canada/Atlantic,sha256=kO5ahBM2oTLfWS4KX15FbKXfo5wg-f9vw1_hMOISGig,1672 -tzdata/zoneinfo/Canada/Central,sha256=ANzwYGBU1PknQW4LR-H92i5c4Db95LU-UQhPhWZCjDo,1294 -tzdata/zoneinfo/Canada/Eastern,sha256=gVq023obEpKGfS-SS3GOG7oyRVzp-SIF2y_rZQKcZ2E,1717 -tzdata/zoneinfo/Canada/Mountain,sha256=Dq2mxcSNWZhMWRqxwwtMcaqwAIGMwkOzz-mW8fJscV8,970 -tzdata/zoneinfo/Canada/Newfoundland,sha256=v99q_AFMPll5MMxMp98aqY40cmis2wciTfTqs2_kb0k,1878 -tzdata/zoneinfo/Canada/Pacific,sha256=Epou71sUffvHB1rd7wT0krvo3okXAV45_TWcOFpy26Q,1330 -tzdata/zoneinfo/Canada/Saskatchewan,sha256=_JHuns225iE-THc9NFp-RBq4PWULAuGw2OLbpOB_UMw,638 -tzdata/zoneinfo/Canada/Yukon,sha256=CyY4jNd0fzNSdf1HlYGfaktApmH71tRNRlpOEO32DGs,1029 -tzdata/zoneinfo/Canada/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Canada/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Chile/Continental,sha256=_QBpU8K0QqLh5m2yqWfdkypIJDkPAc3dnIAc5jRQxxU,1354 -tzdata/zoneinfo/Chile/EasterIsland,sha256=EwVM74XjsboPVxK9bWmdd4nTrtvasP1zlLdxrMB_YaE,1174 -tzdata/zoneinfo/Chile/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Chile/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Cuba,sha256=ms5rCuq2yBM49VmTymMtFQN3c5aBN1lkd8jjzKdnNm8,1117 -tzdata/zoneinfo/EET,sha256=8f1niwVI4ymziTT2KBJV5pjfp2GtH_hB9sy3lgbGE0U,682 -tzdata/zoneinfo/EST,sha256=p41zBnujy9lPiiPf3WqotoyzOxhIS8F7TiDqGuwvCoE,149 -tzdata/zoneinfo/EST5EDT,sha256=1_IgazpFmJ_JrWPVWJIlMvpzUigNX4cXa_HbecsdH6k,1744 -tzdata/zoneinfo/Egypt,sha256=icuaNiEvuC6TPc2fqhDv36lpop7IDDIGO7tFGMAz0b4,1309 -tzdata/zoneinfo/Eire,sha256=EcADNuAvExj-dkqylGfF8q_vv_-mRPqN0k9bCDtJW3E,1496 -tzdata/zoneinfo/Etc/GMT,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/Etc/GMT+0,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/Etc/GMT+1,sha256=5L9o8TEUgtB11poIag85vRdq08LMDZmZ6DPn7UqPL_g,113 -tzdata/zoneinfo/Etc/GMT+10,sha256=IvBxiqQU76qzNbuxRo8Ah9rPQSRGQGKp_SRs5u1PPkM,114 -tzdata/zoneinfo/Etc/GMT+11,sha256=9MfFpFp_rt9PksMjQ23VOlir3hzTlnLz_5V2tfonhbU,114 -tzdata/zoneinfo/Etc/GMT+12,sha256=l26XCFp9IbgXGvMw7NHgHzIZbHry2B5qGYfhMDHFVrw,114 -tzdata/zoneinfo/Etc/GMT+2,sha256=YbbqH7B6jNoQEIjyV4-8a2cXD9lGC3vQKnEkY2ucDGI,113 -tzdata/zoneinfo/Etc/GMT+3,sha256=q3D9DLfmTBUAo4YMnNUNUUKrAkKSwM5Q-vesd9A6SZQ,113 -tzdata/zoneinfo/Etc/GMT+4,sha256=UghKME3laXSDZ7q74YDb4FcLnzNqXQydcZpQHvssP2k,113 -tzdata/zoneinfo/Etc/GMT+5,sha256=TZ5qaoELlszW_Z5FdqAEMKk8Y_xu5XhZBNZUco55SrM,113 -tzdata/zoneinfo/Etc/GMT+6,sha256=_2k3LZ5x8hVjMwwmCx6GqUwW-v1IvOkBrJjYH5bD6Qw,113 -tzdata/zoneinfo/Etc/GMT+7,sha256=Di8J430WGr98Ww95tdfIo8hGxkVQfJvlx55ansDuoeQ,113 -tzdata/zoneinfo/Etc/GMT+8,sha256=OIIlUFhZwL2ctx3fxINbY2HDDAmSQ7i2ZAUgX7Exjgw,113 -tzdata/zoneinfo/Etc/GMT+9,sha256=1vpkIoPqBiwDWzH-fLFxwNbmdKRY7mqdiJhYQImVxaw,113 -tzdata/zoneinfo/Etc/GMT-0,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/Etc/GMT-1,sha256=S81S9Z0-V-0B5U-0S0Pnbx8fv2iHtwE1LrlZk-ckLto,114 -tzdata/zoneinfo/Etc/GMT-10,sha256=VvdG5IpXB_xJX4omzfrrHblkRUzkbCZXPhTrLngc7vk,115 -tzdata/zoneinfo/Etc/GMT-11,sha256=2sYLfVuDFSy7Kc1WOPiY1EqquHw5Xx4HbDA1QOL1hc4,115 -tzdata/zoneinfo/Etc/GMT-12,sha256=ifHVhk5fczZG3GDy_Nv7YsLNaxf8stB4MrzgWUCINlU,115 -tzdata/zoneinfo/Etc/GMT-13,sha256=CMkORdXsaSyL-4N0n37Cyc1lCr22ZsWyug9_QZVe0E0,115 -tzdata/zoneinfo/Etc/GMT-14,sha256=NK07ElwueU0OP8gORtcXUUug_3v4d04uxfVHMUnLM9U,115 -tzdata/zoneinfo/Etc/GMT-2,sha256=QMToMLcif1S4SNPOMxMtBLqc1skUYnIhbUAjKEdAf9w,114 -tzdata/zoneinfo/Etc/GMT-3,sha256=10GMvfulaJwDQiHiWEJiU_YURyjDfPcl5ugnYBugN3E,114 -tzdata/zoneinfo/Etc/GMT-4,sha256=c6Kx3v41GRkrvky8k71db_UJbpyyp2OZCsjDSvjkr6s,114 -tzdata/zoneinfo/Etc/GMT-5,sha256=94TvO8e_8t52bs8ry70nAquvgK8qJKQTI7lQnVCHX-U,114 -tzdata/zoneinfo/Etc/GMT-6,sha256=3fH8eX--0iDijmYAQHQ0IUXheezaj6-aadZsQNAB4fE,114 -tzdata/zoneinfo/Etc/GMT-7,sha256=DnsTJ3NUYYGLUwFb_L15U_GbaMF-acLVsPyTNySyH-M,114 -tzdata/zoneinfo/Etc/GMT-8,sha256=kvGQUwONDBG7nhEp_wESc4xl4xNXiXEivxAv09nkr_g,114 -tzdata/zoneinfo/Etc/GMT-9,sha256=U1WRFGWQAW91JXK99gY1K9d0rFZYDWHzDUR3z71Lh6Y,114 -tzdata/zoneinfo/Etc/GMT0,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/Etc/Greenwich,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/Etc/UCT,sha256=_dzh5kihcyrCmv2aFhUbKXPN8ILn7AxpD35CvmtZi5M,111 -tzdata/zoneinfo/Etc/UTC,sha256=_dzh5kihcyrCmv2aFhUbKXPN8ILn7AxpD35CvmtZi5M,111 -tzdata/zoneinfo/Etc/Universal,sha256=_dzh5kihcyrCmv2aFhUbKXPN8ILn7AxpD35CvmtZi5M,111 -tzdata/zoneinfo/Etc/Zulu,sha256=_dzh5kihcyrCmv2aFhUbKXPN8ILn7AxpD35CvmtZi5M,111 -tzdata/zoneinfo/Etc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Etc/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Europe/Amsterdam,sha256=sQ-VQqhQnwpj68p449gEMt2GuOopZAAoD-vZz6dugog,1103 -tzdata/zoneinfo/Europe/Andorra,sha256=leuTyE4uduIBX0aHb_7PK_KlslpWSyS6e0SS84hKFrE,389 -tzdata/zoneinfo/Europe/Astrakhan,sha256=P3E5UDgQ4gqsMi-KdMAWwOSStogdcNl9rLMVUdpFLXI,726 -tzdata/zoneinfo/Europe/Athens,sha256=8f1niwVI4ymziTT2KBJV5pjfp2GtH_hB9sy3lgbGE0U,682 -tzdata/zoneinfo/Europe/Belfast,sha256=Z2VB8LitRXx0TAk_gHWJrcrZCeP9A_kBeH0IeG7tvTM,1599 -tzdata/zoneinfo/Europe/Belgrade,sha256=qMlk8-qnognZplD7FsaMAD6aX8Yv-7sQ-oSdVPs2YtY,478 -tzdata/zoneinfo/Europe/Berlin,sha256=p_2ZMteF1NaQkAuDTDVjwYEMHPLgFxG8wJJq9sB2fLc,705 -tzdata/zoneinfo/Europe/Bratislava,sha256=pukw4zdc3LUffYp0iFr_if0UuGHrt1yzOdD5HBbBRpo,723 -tzdata/zoneinfo/Europe/Brussels,sha256=sQ-VQqhQnwpj68p449gEMt2GuOopZAAoD-vZz6dugog,1103 -tzdata/zoneinfo/Europe/Bucharest,sha256=iY74H96aaTMJvmqAhzUoSI8SjZUtPvv4PGF4ClwFm6U,661 -tzdata/zoneinfo/Europe/Budapest,sha256=qNr-valoDI1mevuQXqOMkOhIcT194EczOKIijxrDMV8,766 -tzdata/zoneinfo/Europe/Busingen,sha256=GZBiscMM_rI3XshMVt9SvlGJGYamKTt6Ek06YlCfRek,497 -tzdata/zoneinfo/Europe/Chisinau,sha256=5TPhkCtxxa0ByLCv7YxOrc5Vtdui2v2VX8vrSopPkPs,755 -tzdata/zoneinfo/Europe/Copenhagen,sha256=p_2ZMteF1NaQkAuDTDVjwYEMHPLgFxG8wJJq9sB2fLc,705 -tzdata/zoneinfo/Europe/Dublin,sha256=EcADNuAvExj-dkqylGfF8q_vv_-mRPqN0k9bCDtJW3E,1496 -tzdata/zoneinfo/Europe/Gibraltar,sha256=t1hglDTLUIFqs91nY5lulN7oxkoAXHnh0zjyaKG2bG8,1220 -tzdata/zoneinfo/Europe/Guernsey,sha256=Z2VB8LitRXx0TAk_gHWJrcrZCeP9A_kBeH0IeG7tvTM,1599 -tzdata/zoneinfo/Europe/Helsinki,sha256=ccpK9ZmPCZkMXoddNQ_DyONPKAuub-FPNtRpL6znpWM,481 -tzdata/zoneinfo/Europe/Isle_of_Man,sha256=Z2VB8LitRXx0TAk_gHWJrcrZCeP9A_kBeH0IeG7tvTM,1599 -tzdata/zoneinfo/Europe/Istanbul,sha256=KnFjsWuUgG9pmRNI59CmDEbrYbHwMF9fS4P2E9sQgG8,1200 -tzdata/zoneinfo/Europe/Jersey,sha256=Z2VB8LitRXx0TAk_gHWJrcrZCeP9A_kBeH0IeG7tvTM,1599 -tzdata/zoneinfo/Europe/Kaliningrad,sha256=57ov9G8m25w1pPdJF8zoFWzq5I6UoBMVsk2eHPelbA8,904 -tzdata/zoneinfo/Europe/Kiev,sha256=BYnoDd7Ov50wd4mMEpddK-c5PfKFbumSbFNHY-Hia_I,558 -tzdata/zoneinfo/Europe/Kirov,sha256=KqXGcIbMGTuOoKZYBG-5bj7kVzFbKyGMA99PA0414D0,735 -tzdata/zoneinfo/Europe/Kyiv,sha256=BYnoDd7Ov50wd4mMEpddK-c5PfKFbumSbFNHY-Hia_I,558 -tzdata/zoneinfo/Europe/Lisbon,sha256=RNL2z4RzfmoeDa-RQQnpQla-ykC0DJoRt6BOi92u5Ow,1463 -tzdata/zoneinfo/Europe/Ljubljana,sha256=qMlk8-qnognZplD7FsaMAD6aX8Yv-7sQ-oSdVPs2YtY,478 -tzdata/zoneinfo/Europe/London,sha256=Z2VB8LitRXx0TAk_gHWJrcrZCeP9A_kBeH0IeG7tvTM,1599 -tzdata/zoneinfo/Europe/Luxembourg,sha256=sQ-VQqhQnwpj68p449gEMt2GuOopZAAoD-vZz6dugog,1103 -tzdata/zoneinfo/Europe/Madrid,sha256=ylsyHdv8iOB-DQPtL6DIMs5dDdjn2QolIAqOJImMOyE,897 -tzdata/zoneinfo/Europe/Malta,sha256=irX_nDD-BXYObaduu_vhPe1F31xmgL364dSOaT_OVco,928 -tzdata/zoneinfo/Europe/Mariehamn,sha256=ccpK9ZmPCZkMXoddNQ_DyONPKAuub-FPNtRpL6znpWM,481 -tzdata/zoneinfo/Europe/Minsk,sha256=86iP_xDtidkUCqjkoKhH5_El3VI21fSgoIiXl_BzUaU,808 -tzdata/zoneinfo/Europe/Monaco,sha256=zViOd5xXN9cOTkcVja-reUWwJrK7NEVMxHdBgVRZsGg,1105 -tzdata/zoneinfo/Europe/Moscow,sha256=7S4KCZ-0RrJBZoNDjT9W-fxaYqFsdUmn9Zy8k1s2TIo,908 -tzdata/zoneinfo/Europe/Nicosia,sha256=TYYqWp8sK0AwBUHAp0wuuihZuQ19RXdt28bth33zOBI,597 -tzdata/zoneinfo/Europe/Oslo,sha256=p_2ZMteF1NaQkAuDTDVjwYEMHPLgFxG8wJJq9sB2fLc,705 -tzdata/zoneinfo/Europe/Paris,sha256=zViOd5xXN9cOTkcVja-reUWwJrK7NEVMxHdBgVRZsGg,1105 -tzdata/zoneinfo/Europe/Podgorica,sha256=qMlk8-qnognZplD7FsaMAD6aX8Yv-7sQ-oSdVPs2YtY,478 -tzdata/zoneinfo/Europe/Prague,sha256=pukw4zdc3LUffYp0iFr_if0UuGHrt1yzOdD5HBbBRpo,723 -tzdata/zoneinfo/Europe/Riga,sha256=PU8amev-8XVvl4B_JUOOOM1ofSMbotp-3MPGPHpPoTw,694 -tzdata/zoneinfo/Europe/Rome,sha256=hr0moG_jBXs2zyndejOPJSSv-BFu8I0AWqIRTqYSKGk,947 -tzdata/zoneinfo/Europe/Samara,sha256=Vc60AJe-0-b8prNiFwZTUS1bCbWxxuEnnNcgp8YkQRY,732 -tzdata/zoneinfo/Europe/San_Marino,sha256=hr0moG_jBXs2zyndejOPJSSv-BFu8I0AWqIRTqYSKGk,947 -tzdata/zoneinfo/Europe/Sarajevo,sha256=qMlk8-qnognZplD7FsaMAD6aX8Yv-7sQ-oSdVPs2YtY,478 -tzdata/zoneinfo/Europe/Saratov,sha256=0fN3eVFVewG-DSVk9xJABDQB1S_Nyn37bHOjj5X8Bm0,726 -tzdata/zoneinfo/Europe/Simferopol,sha256=y2Nybf9LGVNqNdW_GPS-NIDRLriyH_pyxKpT0zmATK4,865 -tzdata/zoneinfo/Europe/Skopje,sha256=qMlk8-qnognZplD7FsaMAD6aX8Yv-7sQ-oSdVPs2YtY,478 -tzdata/zoneinfo/Europe/Sofia,sha256=LQjC-OJkL4TzZcqD-JUofDAg1-qJui_2Ri6Eoii2MuQ,592 -tzdata/zoneinfo/Europe/Stockholm,sha256=p_2ZMteF1NaQkAuDTDVjwYEMHPLgFxG8wJJq9sB2fLc,705 -tzdata/zoneinfo/Europe/Tallinn,sha256=R6yRfPqESOYQWftlncDWo_fQak61eeiEQKwg_C-C7W8,675 -tzdata/zoneinfo/Europe/Tirane,sha256=I-alATWRd8mfSgvnr3dN_F9vbTB66alvz2GQo0LUbPc,604 -tzdata/zoneinfo/Europe/Tiraspol,sha256=5TPhkCtxxa0ByLCv7YxOrc5Vtdui2v2VX8vrSopPkPs,755 -tzdata/zoneinfo/Europe/Ulyanovsk,sha256=2vK0XahtB_dKjDDXccjMjbQ2bAOfKDe66uMDqtjzHm4,760 -tzdata/zoneinfo/Europe/Uzhgorod,sha256=BYnoDd7Ov50wd4mMEpddK-c5PfKFbumSbFNHY-Hia_I,558 -tzdata/zoneinfo/Europe/Vaduz,sha256=GZBiscMM_rI3XshMVt9SvlGJGYamKTt6Ek06YlCfRek,497 -tzdata/zoneinfo/Europe/Vatican,sha256=hr0moG_jBXs2zyndejOPJSSv-BFu8I0AWqIRTqYSKGk,947 -tzdata/zoneinfo/Europe/Vienna,sha256=q8_UF23-KHqc2ay4ju0qT1TuBSpRTnlB7i6vElk4eJw,658 -tzdata/zoneinfo/Europe/Vilnius,sha256=hXvv1PaQndapT7hdywPO3738Y3ZqbW_hJx87khyaOPM,676 -tzdata/zoneinfo/Europe/Volgograd,sha256=v3P6iFJ-rThJprVNDxB7ZYDrimtsW7IvQi_gJpZiJOQ,753 -tzdata/zoneinfo/Europe/Warsaw,sha256=6I9aUfFoFXpBrC3YpO4OmoeUGchMYSK0dxsaKjPZOkw,923 -tzdata/zoneinfo/Europe/Zagreb,sha256=qMlk8-qnognZplD7FsaMAD6aX8Yv-7sQ-oSdVPs2YtY,478 -tzdata/zoneinfo/Europe/Zaporozhye,sha256=BYnoDd7Ov50wd4mMEpddK-c5PfKFbumSbFNHY-Hia_I,558 -tzdata/zoneinfo/Europe/Zurich,sha256=GZBiscMM_rI3XshMVt9SvlGJGYamKTt6Ek06YlCfRek,497 -tzdata/zoneinfo/Europe/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Europe/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Factory,sha256=0ytXntCnQnMWvqJgue4mdUUQRr1YxXxnnCTyZxhgr3Y,113 -tzdata/zoneinfo/GB,sha256=Z2VB8LitRXx0TAk_gHWJrcrZCeP9A_kBeH0IeG7tvTM,1599 -tzdata/zoneinfo/GB-Eire,sha256=Z2VB8LitRXx0TAk_gHWJrcrZCeP9A_kBeH0IeG7tvTM,1599 -tzdata/zoneinfo/GMT,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/GMT+0,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/GMT-0,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/GMT0,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/Greenwich,sha256=3EoHVxsQiE5PTzRQydGhy_TAPvU9Bu0uTqFS2eul1dc,111 -tzdata/zoneinfo/HST,sha256=HapXKaoeDzLNRL4RLQGtTMVnqf522H3LuRgr6NLIj_A,221 -tzdata/zoneinfo/Hongkong,sha256=9AaPcyRtuXQX9zRnRTVkxX1mRs5JCbn6JTaSPvzX608,775 -tzdata/zoneinfo/Iceland,sha256=8-f8qg6YQP9BadNWfY-1kmZEhI9JY9es-SMghDxdSG4,130 -tzdata/zoneinfo/Indian/Antananarivo,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Indian/Chagos,sha256=J_aS7rs0ZG1dPTGeokXxNJpF4Pds8u1ct49cRtX7giY,152 -tzdata/zoneinfo/Indian/Christmas,sha256=zcjiwoLYvJpenDyvL8Rf9OnlzRj13sjLhzNArXxYTWQ,152 -tzdata/zoneinfo/Indian/Cocos,sha256=6J2DXIEdTaRKqLOGeCzogo3whaoO6PJWYamIHS8A6Qw,187 -tzdata/zoneinfo/Indian/Comoro,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Indian/Kerguelen,sha256=lEhfD1j4QnZ-wtuTU51fw6-yvc4WZz2eY8CYjMzWQ44,152 -tzdata/zoneinfo/Indian/Mahe,sha256=DZ6lBT6DGIAypvtNMB1dtoj0MBHltrH5F6EbcaDaexY,133 -tzdata/zoneinfo/Indian/Maldives,sha256=lEhfD1j4QnZ-wtuTU51fw6-yvc4WZz2eY8CYjMzWQ44,152 -tzdata/zoneinfo/Indian/Mauritius,sha256=R6pdJalrHVK5LlGOmEsyD66_-c5a9ptJM-xE71Fo8hQ,179 -tzdata/zoneinfo/Indian/Mayotte,sha256=B4OFT1LDOtprbSpdhnZi8K6OFSONL857mtpPTTGetGY,191 -tzdata/zoneinfo/Indian/Reunion,sha256=DZ6lBT6DGIAypvtNMB1dtoj0MBHltrH5F6EbcaDaexY,133 -tzdata/zoneinfo/Indian/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Indian/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Iran,sha256=ozLlhNXzpJCZx7bc-VpcmNdgdtn6lPtF6f9qkaDEycI,812 -tzdata/zoneinfo/Israel,sha256=n83o1YTeoFhfXIcnqvNfSKFJ4NvTqDv2zvi8qcFAIeM,1074 -tzdata/zoneinfo/Jamaica,sha256=pDexcAMzrv9TqLWGjVOHwIDcFMLT6Vqlzjb5AbNmkoQ,339 -tzdata/zoneinfo/Japan,sha256=WaOHFDDw07k-YZ-jCkOkHR6IvdSf8m8J0PQFpQBwb5Y,213 -tzdata/zoneinfo/Kwajalein,sha256=S-ZFi6idKzDaelLy7DRjGPeD0s7oVud3xLMxZKNlBk8,219 -tzdata/zoneinfo/Libya,sha256=zzMBLZZh4VQ4_ARe5k4L_rsuqKP7edKvVt8F6kvj5FM,431 -tzdata/zoneinfo/MET,sha256=sQ-VQqhQnwpj68p449gEMt2GuOopZAAoD-vZz6dugog,1103 -tzdata/zoneinfo/MST,sha256=rhFFPCHQiYTedfLv7ATckxeKe04jxeUvIJi4vUXMtUc,240 -tzdata/zoneinfo/MST7MDT,sha256=m7cDkg7KS2EZ6BoQVYOk9soiBlHxO0GEeat81WxBPz4,1042 -tzdata/zoneinfo/Mexico/BajaNorte,sha256=MGWr-6toDRarjMXTaiOIWgBFWNbw7lHvidLuPKFxfIo,1079 -tzdata/zoneinfo/Mexico/BajaSur,sha256=IN7ecQ9SDq9sDNvu_nc_xuMN2LHSiq8X6YQgmVUe6aY,690 -tzdata/zoneinfo/Mexico/General,sha256=N90r8I8T_OD3B8Ox9M7EAY772cR8g2ew-03rvUYb1y8,773 -tzdata/zoneinfo/Mexico/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Mexico/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/NZ,sha256=Dgbn5VrtvJLvWz0Qbnw5KrFijP2KQosg6S6ZAooL-7k,1043 -tzdata/zoneinfo/NZ-CHAT,sha256=pnhY_Lb8V4eo6cK3yL6JZL086SI_etG6rCycppJfTHg,808 -tzdata/zoneinfo/Navajo,sha256=m7cDkg7KS2EZ6BoQVYOk9soiBlHxO0GEeat81WxBPz4,1042 -tzdata/zoneinfo/PRC,sha256=v4t-2C_m5j5tmPjOqTTurJAc0Wq6hetXVc4_i0KJ6oo,393 -tzdata/zoneinfo/PST8PDT,sha256=IA0FdU9tg6Nxz0CNcIUSV5dlezsL6-uh5QjP_oaj5cg,1294 -tzdata/zoneinfo/Pacific/Apia,sha256=3HDEfICrLIehq3VLq4_r_DhQgFniSd_lXnOjdZgI6hQ,407 -tzdata/zoneinfo/Pacific/Auckland,sha256=Dgbn5VrtvJLvWz0Qbnw5KrFijP2KQosg6S6ZAooL-7k,1043 -tzdata/zoneinfo/Pacific/Bougainville,sha256=rqdn1Y4HSarx-vjPk00lsHNfhj3IQgKCViAsumuN_IY,201 -tzdata/zoneinfo/Pacific/Chatham,sha256=pnhY_Lb8V4eo6cK3yL6JZL086SI_etG6rCycppJfTHg,808 -tzdata/zoneinfo/Pacific/Chuuk,sha256=aDABBVtu-dydiHNODt3ReC8cNkO3wTp16c-OkFIAbhk,154 -tzdata/zoneinfo/Pacific/Easter,sha256=EwVM74XjsboPVxK9bWmdd4nTrtvasP1zlLdxrMB_YaE,1174 -tzdata/zoneinfo/Pacific/Efate,sha256=LiX_rTfipQh_Vnqb_m7OGxyBtyAUC9UANVKHUpLoCcU,342 -tzdata/zoneinfo/Pacific/Enderbury,sha256=ojOG-oqi25HOnY6BFhav_3bmWg1LDILT4v-kxOFVuqI,172 -tzdata/zoneinfo/Pacific/Fakaofo,sha256=Uf8zeML2X8doPg8CX-p0mMGP-IOj7aHAMe7ULD5khxA,153 -tzdata/zoneinfo/Pacific/Fiji,sha256=umCNhtTuBziTXne-WAxzvYvGKqZxTYOTwK-tJhYh4MQ,396 -tzdata/zoneinfo/Pacific/Funafuti,sha256=CQNWIL2DFpej6Qcvgt40z8pekS1QyNpUdzmqLyj7bY4,134 -tzdata/zoneinfo/Pacific/Galapagos,sha256=Z1KJPZSvO8M_Pay9WLcNAxzjo8imPrQ7FnXNOXfZl8c,175 -tzdata/zoneinfo/Pacific/Gambier,sha256=yIh86hjpDk1wRWTVJROOGqn9tkc7e9_O6zNxqs-wBoM,132 -tzdata/zoneinfo/Pacific/Guadalcanal,sha256=Ui8PN0th4sb1-n0Z8ceszNCeSiE0Yu47QskNMr8r8Yw,134 -tzdata/zoneinfo/Pacific/Guam,sha256=i57eM6syriUFvAbrVALnziCw_I4lENyzBcJdOaH71yU,350 -tzdata/zoneinfo/Pacific/Honolulu,sha256=HapXKaoeDzLNRL4RLQGtTMVnqf522H3LuRgr6NLIj_A,221 -tzdata/zoneinfo/Pacific/Johnston,sha256=HapXKaoeDzLNRL4RLQGtTMVnqf522H3LuRgr6NLIj_A,221 -tzdata/zoneinfo/Pacific/Kanton,sha256=ojOG-oqi25HOnY6BFhav_3bmWg1LDILT4v-kxOFVuqI,172 -tzdata/zoneinfo/Pacific/Kiritimati,sha256=cUVGmMRBgllfuYJ3X0B0zg0Bf-LPo9l7Le5ju882dx4,174 -tzdata/zoneinfo/Pacific/Kosrae,sha256=pQMLJXilygPhlkm0jCo5JuVmpmYJgLIdiTVxeP59ZEg,242 -tzdata/zoneinfo/Pacific/Kwajalein,sha256=S-ZFi6idKzDaelLy7DRjGPeD0s7oVud3xLMxZKNlBk8,219 -tzdata/zoneinfo/Pacific/Majuro,sha256=CQNWIL2DFpej6Qcvgt40z8pekS1QyNpUdzmqLyj7bY4,134 -tzdata/zoneinfo/Pacific/Marquesas,sha256=ilprkRvn-N1XjptSI_0ZwUjeuokP-5l64uKjRBp0kxw,139 -tzdata/zoneinfo/Pacific/Midway,sha256=ZQ2Rh1E2ZZBVMGPNaBWS_cqKCZV-DOLBjWaX7Dhe95Y,146 -tzdata/zoneinfo/Pacific/Nauru,sha256=wahZONjreNAmYwhQ2CWdKMAE3SVm4S2aYvMZqcAlSYc,183 -tzdata/zoneinfo/Pacific/Niue,sha256=8WWebtgCnrMBKjuLNEYEWlktNI2op2kkKgk0Vcz8GaM,154 -tzdata/zoneinfo/Pacific/Norfolk,sha256=vL8G6W5CScYqp76g0b15UPIYHw2Lt60qOktHUF7caDs,237 -tzdata/zoneinfo/Pacific/Noumea,sha256=ezUyn7AYWBblrZbStlItJYu7XINCLiihrCBZB-Bl-Qw,198 -tzdata/zoneinfo/Pacific/Pago_Pago,sha256=ZQ2Rh1E2ZZBVMGPNaBWS_cqKCZV-DOLBjWaX7Dhe95Y,146 -tzdata/zoneinfo/Pacific/Palau,sha256=VkLRsKUUVXo3zrhAXn9iM-pKySbGIVfzWoopDhmceMA,148 -tzdata/zoneinfo/Pacific/Pitcairn,sha256=AJh6olJxXQzCMWKOE5ye4jHfgg1VA-9-gCZ5MbrX_8E,153 -tzdata/zoneinfo/Pacific/Pohnpei,sha256=Ui8PN0th4sb1-n0Z8ceszNCeSiE0Yu47QskNMr8r8Yw,134 -tzdata/zoneinfo/Pacific/Ponape,sha256=Ui8PN0th4sb1-n0Z8ceszNCeSiE0Yu47QskNMr8r8Yw,134 -tzdata/zoneinfo/Pacific/Port_Moresby,sha256=aDABBVtu-dydiHNODt3ReC8cNkO3wTp16c-OkFIAbhk,154 -tzdata/zoneinfo/Pacific/Rarotonga,sha256=J6a2mOrTp4bsZNovj3HjJK9AVJ89PhdEpQMMVD__i18,406 -tzdata/zoneinfo/Pacific/Saipan,sha256=i57eM6syriUFvAbrVALnziCw_I4lENyzBcJdOaH71yU,350 -tzdata/zoneinfo/Pacific/Samoa,sha256=ZQ2Rh1E2ZZBVMGPNaBWS_cqKCZV-DOLBjWaX7Dhe95Y,146 -tzdata/zoneinfo/Pacific/Tahiti,sha256=Ivcs04hthxEQj1I_6aACc70By0lmxlvhgGFYh843e14,133 -tzdata/zoneinfo/Pacific/Tarawa,sha256=CQNWIL2DFpej6Qcvgt40z8pekS1QyNpUdzmqLyj7bY4,134 -tzdata/zoneinfo/Pacific/Tongatapu,sha256=mjGjNSUATfw0yLGB0zsLxz3_L1uWxPANML8K4HQQIMY,237 -tzdata/zoneinfo/Pacific/Truk,sha256=aDABBVtu-dydiHNODt3ReC8cNkO3wTp16c-OkFIAbhk,154 -tzdata/zoneinfo/Pacific/Wake,sha256=CQNWIL2DFpej6Qcvgt40z8pekS1QyNpUdzmqLyj7bY4,134 -tzdata/zoneinfo/Pacific/Wallis,sha256=CQNWIL2DFpej6Qcvgt40z8pekS1QyNpUdzmqLyj7bY4,134 -tzdata/zoneinfo/Pacific/Yap,sha256=aDABBVtu-dydiHNODt3ReC8cNkO3wTp16c-OkFIAbhk,154 -tzdata/zoneinfo/Pacific/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/Pacific/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/Poland,sha256=6I9aUfFoFXpBrC3YpO4OmoeUGchMYSK0dxsaKjPZOkw,923 -tzdata/zoneinfo/Portugal,sha256=RNL2z4RzfmoeDa-RQQnpQla-ykC0DJoRt6BOi92u5Ow,1463 -tzdata/zoneinfo/ROC,sha256=oEwscvT3aoMXjQNt2X0VfuHzLkeORN2npcEJI2h-5s8,511 -tzdata/zoneinfo/ROK,sha256=ZKcLb7zJtl52Lb0l64m29AwTcUbtyNvU0IHq-s2reN4,415 -tzdata/zoneinfo/Singapore,sha256=CVSy2aMB2U9DSAJGBqcbvLL6JNPNNwn1vIvKYFA5eF0,256 -tzdata/zoneinfo/Turkey,sha256=KnFjsWuUgG9pmRNI59CmDEbrYbHwMF9fS4P2E9sQgG8,1200 -tzdata/zoneinfo/UCT,sha256=_dzh5kihcyrCmv2aFhUbKXPN8ILn7AxpD35CvmtZi5M,111 -tzdata/zoneinfo/US/Alaska,sha256=d8oMIpYvBpmLzl5I2By4ZaFEZsg_9dxgfqpIM0QFi_Y,977 -tzdata/zoneinfo/US/Aleutian,sha256=q_sZgOINX4TsX9iBx1gNd6XGwBnzCjg6qpdAQhK0ieA,969 -tzdata/zoneinfo/US/Arizona,sha256=rhFFPCHQiYTedfLv7ATckxeKe04jxeUvIJi4vUXMtUc,240 -tzdata/zoneinfo/US/Central,sha256=wntzn_RqffBZThINcltDkhfhHkTqmlDNxJEwODtUguc,1754 -tzdata/zoneinfo/US/East-Indiana,sha256=5nj0KhPvvXvg8mqc5T4EscKKWC6rBWEcsBwWg2Qy8Hs,531 -tzdata/zoneinfo/US/Eastern,sha256=1_IgazpFmJ_JrWPVWJIlMvpzUigNX4cXa_HbecsdH6k,1744 -tzdata/zoneinfo/US/Hawaii,sha256=HapXKaoeDzLNRL4RLQGtTMVnqf522H3LuRgr6NLIj_A,221 -tzdata/zoneinfo/US/Indiana-Starke,sha256=KJCzXct8CTMItVLYLYeBqM6aT6b53gWCg6aDbsH58oI,1016 -tzdata/zoneinfo/US/Michigan,sha256=I4F8Mt9nx38AF6D-steYskBa_HHO6jKU1-W0yRFr50A,899 -tzdata/zoneinfo/US/Mountain,sha256=m7cDkg7KS2EZ6BoQVYOk9soiBlHxO0GEeat81WxBPz4,1042 -tzdata/zoneinfo/US/Pacific,sha256=IA0FdU9tg6Nxz0CNcIUSV5dlezsL6-uh5QjP_oaj5cg,1294 -tzdata/zoneinfo/US/Samoa,sha256=ZQ2Rh1E2ZZBVMGPNaBWS_cqKCZV-DOLBjWaX7Dhe95Y,146 -tzdata/zoneinfo/US/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/US/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/UTC,sha256=_dzh5kihcyrCmv2aFhUbKXPN8ILn7AxpD35CvmtZi5M,111 -tzdata/zoneinfo/Universal,sha256=_dzh5kihcyrCmv2aFhUbKXPN8ILn7AxpD35CvmtZi5M,111 -tzdata/zoneinfo/W-SU,sha256=7S4KCZ-0RrJBZoNDjT9W-fxaYqFsdUmn9Zy8k1s2TIo,908 -tzdata/zoneinfo/WET,sha256=RNL2z4RzfmoeDa-RQQnpQla-ykC0DJoRt6BOi92u5Ow,1463 -tzdata/zoneinfo/Zulu,sha256=_dzh5kihcyrCmv2aFhUbKXPN8ILn7AxpD35CvmtZi5M,111 -tzdata/zoneinfo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 -tzdata/zoneinfo/__pycache__/__init__.cpython-312.pyc,, -tzdata/zoneinfo/iso3166.tab,sha256=oBpdFY8x1GrY5vjMKgbGQYEGgqk5fUYDIPaNVCG2XnE,4791 -tzdata/zoneinfo/leapseconds,sha256=X1FVahN0_N2AY6gOUBNWW9MsP297cqFQTHJypTr0rgI,3253 -tzdata/zoneinfo/tzdata.zi,sha256=7zXE0Xivypn5-hCW5ALTasSlFTDMoMOcUTEE29FiOo4,107022 -tzdata/zoneinfo/zone.tab,sha256=a2hE16NtKUnPJzM2krm5rKu1vxtP98nUhGHO3sE6DbM,18775 -tzdata/zoneinfo/zone1970.tab,sha256=3ANHICItrC0iU1vSQAMKZXN1a68sozBiy9AHi9ZGooE,17510 -tzdata/zoneinfo/zonenow.tab,sha256=vEbqGYEEhc_CL-FnoeZ5q3CsPTu8sETOnicuJxFJRqY,8101 -tzdata/zones,sha256=QtJFuOPGCOVEojCYP6b1p4Q_LwMzioibni6fGFIseYQ,9084 diff --git a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/WHEEL deleted file mode 100644 index f57cfecf..00000000 --- a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/WHEEL +++ /dev/null @@ -1,6 +0,0 @@ -Wheel-Version: 1.0 -Generator: setuptools (75.1.0) -Root-Is-Purelib: true -Tag: py2-none-any -Tag: py3-none-any - diff --git a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/top_level.txt deleted file mode 100644 index 0883ff07..00000000 --- a/.venv/lib/python3.12/site-packages/tzdata-2024.2.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -tzdata diff --git a/.venv/lib/python3.12/site-packages/tzdata/__init__.py b/.venv/lib/python3.12/site-packages/tzdata/__init__.py index e558a8a5..87dba5a7 100644 --- a/.venv/lib/python3.12/site-packages/tzdata/__init__.py +++ b/.venv/lib/python3.12/site-packages/tzdata/__init__.py @@ -1,6 +1,6 @@ # IANA versions like 2020a are not valid PEP 440 identifiers; the recommended # way to translate the version is to use YYYY.n where `n` is a 0-based index. -__version__ = "2024.2" +__version__ = "2025.1" # This exposes the original IANA version number. -IANA_VERSION = "2024b" +IANA_VERSION = "2025a" diff --git a/.venv/lib/python3.12/site-packages/tzdata/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/__pycache__/__init__.cpython-312.pyc index a2b55f89..15727bc2 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Africa/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Africa/__pycache__/__init__.cpython-312.pyc index fb817201..e459fcc0 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Africa/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Africa/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Argentina/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Argentina/__pycache__/__init__.cpython-312.pyc index 39599ee0..e37b71ae 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Argentina/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Argentina/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Asuncion b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Asuncion index 62250367..f056047f 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Asuncion and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Asuncion differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Indiana/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Indiana/__pycache__/__init__.cpython-312.pyc index 8642179e..d1f70599 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Indiana/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Indiana/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Kentucky/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Kentucky/__pycache__/__init__.cpython-312.pyc index c0c5c13f..7e989b15 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Kentucky/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/Kentucky/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/North_Dakota/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/North_Dakota/__pycache__/__init__.cpython-312.pyc index f05f7ebb..a651dd4c 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/North_Dakota/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/North_Dakota/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/__pycache__/__init__.cpython-312.pyc index 138274c3..3b54ebed 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/America/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Antarctica/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Antarctica/__pycache__/__init__.cpython-312.pyc index 77ef0626..8368197d 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Antarctica/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Antarctica/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Arctic/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Arctic/__pycache__/__init__.cpython-312.pyc index a2c971c6..8157e2f5 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Arctic/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Arctic/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Asia/Manila b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Asia/Manila index 3c3584e0..145bb6fb 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Asia/Manila and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Asia/Manila differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Asia/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Asia/__pycache__/__init__.cpython-312.pyc index 0c2b942d..d0165676 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Asia/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Asia/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Atlantic/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Atlantic/__pycache__/__init__.cpython-312.pyc index ef5dad2d..682acde7 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Atlantic/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Atlantic/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Australia/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Australia/__pycache__/__init__.cpython-312.pyc index 837f1a21..ff499a23 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Australia/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Australia/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Brazil/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Brazil/__pycache__/__init__.cpython-312.pyc index 0ce7871a..e819d259 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Brazil/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Brazil/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Canada/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Canada/__pycache__/__init__.cpython-312.pyc index d751df28..2244b35b 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Canada/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Canada/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Chile/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Chile/__pycache__/__init__.cpython-312.pyc index ed945355..ed1e4a5d 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Chile/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Chile/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Etc/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Etc/__pycache__/__init__.cpython-312.pyc index 35bbbb9e..93fda701 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Etc/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Etc/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Europe/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Europe/__pycache__/__init__.cpython-312.pyc index 37626ea5..ae67eccd 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Europe/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Europe/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Indian/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Indian/__pycache__/__init__.cpython-312.pyc index c4319d6b..be3f2a4b 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Indian/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Indian/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Mexico/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Mexico/__pycache__/__init__.cpython-312.pyc index 8367b483..2a9afbcf 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Mexico/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Mexico/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Pacific/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Pacific/__pycache__/__init__.cpython-312.pyc index 7923b67f..203c4b17 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Pacific/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/Pacific/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/US/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/US/__pycache__/__init__.cpython-312.pyc index 003b543c..6568fc41 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/US/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/US/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/__pycache__/__init__.cpython-312.pyc b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/__pycache__/__init__.cpython-312.pyc index 04db4999..8a80c4c0 100644 Binary files a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/__pycache__/__init__.cpython-312.pyc and b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/__pycache__/__init__.cpython-312.pyc differ diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/leapseconds b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/leapseconds index 6c715cb2..76f77142 100644 --- a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/leapseconds +++ b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/leapseconds @@ -69,11 +69,11 @@ Leap 2016 Dec 31 23:59:60 + S # Any additional leap seconds will come after this. # This Expires line is commented out for now, # so that pre-2020a zic implementations do not reject this file. -#Expires 2025 Jun 28 00:00:00 +#Expires 2025 Dec 28 00:00:00 # POSIX timestamps for the data in this file: -#updated 1720104763 (2024-07-04 14:52:43 UTC) -#expires 1751068800 (2025-06-28 00:00:00 UTC) +#updated 1736208000 (2025-01-07 00:00:00 UTC) +#expires 1766880000 (2025-12-28 00:00:00 UTC) # Updated through IERS Bulletin C (https://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat) -# File expires on 28 June 2025 +# File expires on 28 December 2025 diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/tzdata.zi b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/tzdata.zi index 62e78bb8..db6ba4af 100644 --- a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/tzdata.zi +++ b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/tzdata.zi @@ -1,4 +1,4 @@ -# version 2024b +# version 2025a # This zic input file is in the public domain. R d 1916 o - Jun 14 23s 1 S R d 1916 1919 - O Su>=1 23s 0 - @@ -721,12 +721,16 @@ R P 2085 o - Ap 21 2 0 - R P 2085 o - Jun 9 2 1 S R P 2086 o - Ap 13 2 0 - R P 2086 o - May 25 2 1 S -R PH 1936 o - N 1 0 1 D -R PH 1937 o - F 1 0 0 S -R PH 1954 o - Ap 12 0 1 D -R PH 1954 o - Jul 1 0 0 S -R PH 1978 o - Mar 22 0 1 D -R PH 1978 o - S 21 0 0 S +R PH 1936 o - O 31 24 1 D +R PH 1937 o - Ja 15 24 0 S +R PH 1941 o - D 15 24 1 D +R PH 1945 o - N 30 24 0 S +R PH 1954 o - Ap 11 24 1 D +R PH 1954 o - Jun 4 24 0 S +R PH 1977 o - Mar 27 24 1 D +R PH 1977 o - S 21 24 0 S +R PH 1990 o - May 21 0 1 D +R PH 1990 o - Jul 28 24 0 S R S 1920 1923 - Ap Su>=15 2 1 S R S 1920 1923 - O Su>=1 2 0 - R S 1962 o - Ap 29 2 1 S @@ -1725,7 +1729,7 @@ R Y 1972 2006 - O lastSu 2 0 S R Y 1987 2006 - Ap Su>=1 2 1 D R Yu 1965 o - Ap lastSu 0 2 DD R Yu 1965 o - O lastSu 2 0 S -R m 1931 o - April 30 0 1 D +R m 1931 o - Ap 30 0 1 D R m 1931 o - O 1 0 0 S R m 1939 o - F 5 0 1 D R m 1939 o - Jun 25 0 0 S @@ -2019,9 +2023,9 @@ R y 2002 2004 - Ap Su>=1 0 0 - R y 2002 2003 - S Su>=1 0 1 - R y 2004 2009 - O Su>=15 0 1 - R y 2005 2009 - Mar Su>=8 0 0 - -R y 2010 ma - O Su>=1 0 1 - +R y 2010 2024 - O Su>=1 0 1 - R y 2010 2012 - Ap Su>=8 0 0 - -R y 2013 ma - Mar Su>=22 0 0 - +R y 2013 2024 - Mar Su>=22 0 0 - R PE 1938 o - Ja 1 0 1 - R PE 1938 o - Ap 1 0 0 - R PE 1938 1939 - S lastSu 0 1 - @@ -2336,7 +2340,8 @@ Z America/Asuncion -3:50:40 - LMT 1890 -3:50:40 - AMT 1931 O 10 -4 - %z 1972 O -3 - %z 1974 Ap --4 y %z +-4 y %z 2024 O 15 +-3 - %z Z America/Bahia -2:34:4 - LMT 1914 -3 B %z 2003 S 24 -3 - %z 2011 O 16 @@ -3268,10 +3273,10 @@ Z Asia/Makassar 7:57:36 - LMT 1920 8 - %z 1942 F 9 9 - %z 1945 S 23 8 - WITA -Z Asia/Manila -15:56 - LMT 1844 D 31 -8:4 - LMT 1899 May 11 -8 PH P%sT 1942 May -9 - JST 1944 N +Z Asia/Manila -15:56:8 - LMT 1844 D 31 +8:3:52 - LMT 1899 S 6 4u +8 PH P%sT 1942 F 11 24 +9 - JST 1945 Mar 4 8 PH P%sT Z Asia/Nicosia 2:13:28 - LMT 1921 N 14 2 CY EE%sT 1998 S diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zone.tab b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zone.tab index bfc0b593..d2be6635 100644 --- a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zone.tab +++ b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zone.tab @@ -310,7 +310,7 @@ PF -0900-13930 Pacific/Marquesas Marquesas Islands PF -2308-13457 Pacific/Gambier Gambier Islands PG -0930+14710 Pacific/Port_Moresby most of Papua New Guinea PG -0613+15534 Pacific/Bougainville Bougainville -PH +1435+12100 Asia/Manila +PH +143512+1205804 Asia/Manila PK +2452+06703 Asia/Karachi PL +5215+02100 Europe/Warsaw PM +4703-05620 America/Miquelon diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zone1970.tab b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zone1970.tab index 7726f39a..5ded0565 100644 --- a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zone1970.tab +++ b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zone1970.tab @@ -183,7 +183,7 @@ IR +3540+05126 Asia/Tehran IT,SM,VA +4154+01229 Europe/Rome JM +175805-0764736 America/Jamaica JO +3157+03556 Asia/Amman -JP +353916+1394441 Asia/Tokyo +JP,AU +353916+1394441 Asia/Tokyo Eyre Bird Observatory KE,DJ,ER,ET,KM,MG,SO,TZ,UG,YT -0117+03649 Africa/Nairobi KG +4254+07436 Asia/Bishkek KI,MH,TV,UM,WF +0125+17300 Pacific/Tarawa Gilberts, Marshalls, Wake @@ -246,7 +246,7 @@ PF -0900-13930 Pacific/Marquesas Marquesas Islands PF -2308-13457 Pacific/Gambier Gambier Islands PG,AQ,FM -0930+14710 Pacific/Port_Moresby Papua New Guinea (most areas), Chuuk, Yap, Dumont d'Urville PG -0613+15534 Pacific/Bougainville Bougainville -PH +1435+12100 Asia/Manila +PH +143512+1205804 Asia/Manila PK +2452+06703 Asia/Karachi PL +5215+02100 Europe/Warsaw PM +4703-05620 America/Miquelon @@ -293,7 +293,7 @@ RU +6445+17729 Asia/Anadyr MSK+09 - Bering Sea SA,AQ,KW,YE +2438+04643 Asia/Riyadh Syowa SB,FM -0932+16012 Pacific/Guadalcanal Pohnpei SD +1536+03232 Africa/Khartoum -SG,MY +0117+10351 Asia/Singapore peninsular Malaysia +SG,AQ,MY +0117+10351 Asia/Singapore peninsular Malaysia, Concordia SR +0550-05510 America/Paramaribo SS +0451+03137 Africa/Juba ST +0020+00644 Africa/Sao_Tome diff --git a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zonenow.tab b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zonenow.tab index 01f536b3..d2c1e485 100644 --- a/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zonenow.tab +++ b/.venv/lib/python3.12/site-packages/tzdata/zoneinfo/zonenow.tab @@ -97,9 +97,6 @@ XX +1828-06954 America/Santo_Domingo Atlantic Standard ("AST") - eastern Caribbe # -04/-03 (Chile DST) XX -3327-07040 America/Santiago most of Chile # -# -04/-03 (Paraguay DST) -XX -2516-05740 America/Asuncion Paraguay -# # -04/-03 - AST/ADT (North America DST) XX +4439-06336 America/Halifax Atlantic ("AST/ADT") - Canada; Bermuda # @@ -224,7 +221,7 @@ XX +1345+10031 Asia/Bangkok Russia; Indochina; Christmas Island XX -0610+10648 Asia/Jakarta Indonesia ("WIB") # # +08 -XX +0117+10351 Asia/Singapore Russia; Brunei; Malaysia; Singapore +XX +0117+10351 Asia/Singapore Russia; Brunei; Malaysia; Singapore; Concordia # # +08 - AWST XX -3157+11551 Australia/Perth Western Australia ("AWST") @@ -236,7 +233,7 @@ XX +3114+12128 Asia/Shanghai China ("CST") XX +2217+11409 Asia/Hong_Kong Hong Kong ("HKT") # # +08 - PHT -XX +1435+12100 Asia/Manila Philippines ("PHT") +XX +143512+1205804 Asia/Manila Philippines ("PHT") # # +08 - WITA XX -0507+11924 Asia/Makassar Indonesia ("WITA") @@ -248,7 +245,7 @@ XX -3143+12852 Australia/Eucla Eucla XX +5203+11328 Asia/Chita Russia; Palau; East Timor # # +09 - JST -XX +353916+1394441 Asia/Tokyo Japan ("JST") +XX +353916+1394441 Asia/Tokyo Japan ("JST"); Eyre Bird Observatory # # +09 - KST XX +3733+12658 Asia/Seoul Korea ("KST") diff --git a/.venv/pyvenv.cfg b/.venv/pyvenv.cfg index e5f61a5c..359b527f 100644 --- a/.venv/pyvenv.cfg +++ b/.venv/pyvenv.cfg @@ -1,5 +1,5 @@ -home = /home/dadams/miniconda3/bin +home = /usr/bin include-system-site-packages = false version = 3.12.7 -executable = /home/dadams/miniconda3/bin/python3.12 -command = /home/dadams/miniconda3/bin/python -m venv /home/dadams/Repos/california_equity_git/.venv +executable = /usr/bin/python3.12 +command = /usr/bin/python -m venv /home/dadams/Repos/california_equity_git/.venv diff --git a/analysis/database_setup.ipynb b/analysis/database_setup.ipynb new file mode 100644 index 00000000..874abd7a --- /dev/null +++ b/analysis/database_setup.ipynb @@ -0,0 +1,326 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "Collecting pandas\n", + " Using cached pandas-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (89 kB)\n", + "Collecting geopandas\n", + " Using cached geopandas-1.0.1-py3-none-any.whl.metadata (2.2 kB)\n", + "Collecting sqlalchemy\n", + " Using cached SQLAlchemy-2.0.37-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.6 kB)\n", + "Collecting psycopg2-binary\n", + " Using cached psycopg2_binary-2.9.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.9 kB)\n", + "Requirement already satisfied: numpy>=1.26.0 in /home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages (from pandas) (2.2.2)\n", + "Requirement already satisfied: python-dateutil>=2.8.2 in /home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages (from pandas) (2.9.0.post0)\n", + "Collecting pytz>=2020.1 (from pandas)\n", + " Using cached pytz-2024.2-py2.py3-none-any.whl.metadata (22 kB)\n", + "Collecting tzdata>=2022.7 (from pandas)\n", + " Downloading tzdata-2025.1-py2.py3-none-any.whl.metadata (1.4 kB)\n", + "Collecting pyogrio>=0.7.2 (from geopandas)\n", + " Using cached pyogrio-0.10.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (5.5 kB)\n", + "Requirement already satisfied: packaging in /home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages (from geopandas) (24.2)\n", + "Collecting pyproj>=3.3.0 (from geopandas)\n", + " Using cached pyproj-3.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (31 kB)\n", + "Collecting shapely>=2.0.0 (from geopandas)\n", + " Using cached shapely-2.0.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.0 kB)\n", + "Collecting greenlet!=0.4.17 (from sqlalchemy)\n", + " Using cached greenlet-3.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.metadata (3.8 kB)\n", + "Collecting typing-extensions>=4.6.0 (from sqlalchemy)\n", + " Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)\n", + "Collecting certifi (from pyogrio>=0.7.2->geopandas)\n", + " Using cached certifi-2024.12.14-py3-none-any.whl.metadata (2.3 kB)\n", + "Requirement already satisfied: six>=1.5 in /home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages (from python-dateutil>=2.8.2->pandas) (1.17.0)\n", + "Using cached pandas-2.2.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.7 MB)\n", + "Using cached geopandas-1.0.1-py3-none-any.whl (323 kB)\n", + "Using cached SQLAlchemy-2.0.37-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)\n", + "Using cached psycopg2_binary-2.9.10-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)\n", + "Using cached greenlet-3.1.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (613 kB)\n", + "Using cached pyogrio-0.10.0-cp312-cp312-manylinux_2_28_x86_64.whl (24.0 MB)\n", + "Using cached pyproj-3.7.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (9.5 MB)\n", + "Using cached pytz-2024.2-py2.py3-none-any.whl (508 kB)\n", + "Using cached shapely-2.0.6-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB)\n", + "Using cached typing_extensions-4.12.2-py3-none-any.whl (37 kB)\n", + "Downloading tzdata-2025.1-py2.py3-none-any.whl (346 kB)\n", + "Using cached certifi-2024.12.14-py3-none-any.whl (164 kB)\n", + "Installing collected packages: pytz, tzdata, typing-extensions, shapely, psycopg2-binary, greenlet, certifi, sqlalchemy, pyproj, pyogrio, pandas, geopandas\n", + "Successfully installed certifi-2024.12.14 geopandas-1.0.1 greenlet-3.1.1 pandas-2.2.3 psycopg2-binary-2.9.10 pyogrio-0.10.0 pyproj-3.7.0 pytz-2024.2 shapely-2.0.6 sqlalchemy-2.0.37 typing-extensions-4.12.2 tzdata-2025.1\n" + ] + } + ], + "source": [ + "!pip install pandas geopandas sqlalchemy psycopg2-binary" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "\n", + "A module that was compiled using NumPy 1.x cannot be run in\n", + "NumPy 2.2.2 as it may crash. To support both 1.x and 2.x\n", + "versions of NumPy, modules must be compiled with NumPy 2.0.\n", + "Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.\n", + "\n", + "If you are a user of the module, the easiest solution will be to\n", + "downgrade to 'numpy<2' or try to upgrade the affected module.\n", + "We expect that some modules will need time to support NumPy 2.\n", + "\n", + "Traceback (most recent call last): File \"\", line 198, in _run_module_as_main\n", + " File \"\", line 88, in _run_code\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/ipykernel_launcher.py\", line 18, in \n", + " app.launch_new_instance()\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/traitlets/config/application.py\", line 1075, in launch_instance\n", + " app.start()\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/ipykernel/kernelapp.py\", line 739, in start\n", + " self.io_loop.start()\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/tornado/platform/asyncio.py\", line 205, in start\n", + " self.asyncio_loop.run_forever()\n", + " File \"/home/dadams/miniconda3/lib/python3.12/asyncio/base_events.py\", line 641, in run_forever\n", + " self._run_once()\n", + " File \"/home/dadams/miniconda3/lib/python3.12/asyncio/base_events.py\", line 1986, in _run_once\n", + " handle._run()\n", + " File \"/home/dadams/miniconda3/lib/python3.12/asyncio/events.py\", line 88, in _run\n", + " self._context.run(self._callback, *self._args)\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/ipykernel/kernelbase.py\", line 545, in dispatch_queue\n", + " await self.process_one()\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/ipykernel/kernelbase.py\", line 534, in process_one\n", + " await dispatch(*args)\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/ipykernel/kernelbase.py\", line 437, in dispatch_shell\n", + " await result\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/ipykernel/ipkernel.py\", line 362, in execute_request\n", + " await super().execute_request(stream, ident, parent)\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/ipykernel/kernelbase.py\", line 778, in execute_request\n", + " reply_content = await reply_content\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/ipykernel/ipkernel.py\", line 449, in do_execute\n", + " res = shell.run_cell(\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/ipykernel/zmqshell.py\", line 549, in run_cell\n", + " return super().run_cell(*args, **kwargs)\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/IPython/core/interactiveshell.py\", line 3075, in run_cell\n", + " result = self._run_cell(\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/IPython/core/interactiveshell.py\", line 3130, in _run_cell\n", + " result = runner(coro)\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/IPython/core/async_helpers.py\", line 128, in _pseudo_sync_runner\n", + " coro.send(None)\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/IPython/core/interactiveshell.py\", line 3334, in run_cell_async\n", + " has_raised = await self.run_ast_nodes(code_ast.body, cell_name,\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/IPython/core/interactiveshell.py\", line 3517, in run_ast_nodes\n", + " if await self.run_code(code, result, async_=asy):\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/IPython/core/interactiveshell.py\", line 3577, in run_code\n", + " exec(code_obj, self.user_global_ns, self.user_ns)\n", + " File \"/tmp/ipykernel_794405/3254404226.py\", line 2, in \n", + " import geopandas as gpd\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/geopandas/__init__.py\", line 1, in \n", + " from geopandas._config import options\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/geopandas/_config.py\", line 109, in \n", + " default_value=_default_use_pygeos(),\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/geopandas/_config.py\", line 95, in _default_use_pygeos\n", + " import geopandas._compat as compat\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/geopandas/_compat.py\", line 9, in \n", + " import shapely\n", + " File \"/home/dadams/Repos/california_equity_git/.venv/lib/python3.12/site-packages/shapely/__init__.py\", line 1, in \n", + " from shapely.lib import GEOSException # NOQA\n" + ] + }, + { + "ename": "AttributeError", + "evalue": "_ARRAY_API not found", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)", + "\u001b[0;31mAttributeError\u001b[0m: _ARRAY_API not found" + ] + }, + { + "ename": "ImportError", + "evalue": "numpy.core.multiarray failed to import", + "output_type": "error", + "traceback": [ + "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", + "\u001b[0;31mImportError\u001b[0m Traceback (most recent call last)", + "Cell \u001b[0;32mIn[1], line 2\u001b[0m\n\u001b[1;32m 1\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mpandas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mpd\u001b[39;00m\n\u001b[0;32m----> 2\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mgeopandas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mgpd\u001b[39;00m\n\u001b[1;32m 3\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01msqlalchemy\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m create_engine\n\u001b[1;32m 4\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mnumpy\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mnp\u001b[39;00m\n", + "File \u001b[0;32m~/Repos/california_equity_git/.venv/lib/python3.12/site-packages/geopandas/__init__.py:1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mgeopandas\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01m_config\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m options\n\u001b[1;32m 3\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mgeopandas\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgeoseries\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m GeoSeries\n\u001b[1;32m 4\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mgeopandas\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgeodataframe\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m GeoDataFrame\n", + "File \u001b[0;32m~/Repos/california_equity_git/.venv/lib/python3.12/site-packages/geopandas/_config.py:109\u001b[0m\n\u001b[1;32m 102\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mgeopandas\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01m_compat\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mcompat\u001b[39;00m\n\u001b[1;32m 104\u001b[0m compat\u001b[38;5;241m.\u001b[39mset_use_pygeos(value)\n\u001b[1;32m 107\u001b[0m use_pygeos \u001b[38;5;241m=\u001b[39m Option(\n\u001b[1;32m 108\u001b[0m key\u001b[38;5;241m=\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124muse_pygeos\u001b[39m\u001b[38;5;124m\"\u001b[39m,\n\u001b[0;32m--> 109\u001b[0m default_value\u001b[38;5;241m=\u001b[39m\u001b[43m_default_use_pygeos\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m,\n\u001b[1;32m 110\u001b[0m doc\u001b[38;5;241m=\u001b[39m(\n\u001b[1;32m 111\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mWhether to use PyGEOS to speed up spatial operations. The default is True \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 112\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mif PyGEOS is installed, and follows the USE_PYGEOS environment variable \u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 113\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mif set.\u001b[39m\u001b[38;5;124m\"\u001b[39m\n\u001b[1;32m 114\u001b[0m ),\n\u001b[1;32m 115\u001b[0m validator\u001b[38;5;241m=\u001b[39m_validate_bool,\n\u001b[1;32m 116\u001b[0m callback\u001b[38;5;241m=\u001b[39m_callback_use_pygeos,\n\u001b[1;32m 117\u001b[0m )\n\u001b[1;32m 120\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21m_validate_io_engine\u001b[39m(value):\n\u001b[1;32m 121\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m value \u001b[38;5;129;01mis\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m:\n", + "File \u001b[0;32m~/Repos/california_equity_git/.venv/lib/python3.12/site-packages/geopandas/_config.py:95\u001b[0m, in \u001b[0;36m_default_use_pygeos\u001b[0;34m()\u001b[0m\n\u001b[1;32m 94\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21m_default_use_pygeos\u001b[39m():\n\u001b[0;32m---> 95\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mgeopandas\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01m_compat\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mcompat\u001b[39;00m\n\u001b[1;32m 97\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m compat\u001b[38;5;241m.\u001b[39mUSE_PYGEOS\n", + "File \u001b[0;32m~/Repos/california_equity_git/.venv/lib/python3.12/site-packages/geopandas/_compat.py:9\u001b[0m\n\u001b[1;32m 7\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mnumpy\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mnp\u001b[39;00m\n\u001b[1;32m 8\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mpandas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mas\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mpd\u001b[39;00m\n\u001b[0;32m----> 9\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mshapely\u001b[39;00m\n\u001b[1;32m 10\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mshapely\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mgeos\u001b[39;00m\n\u001b[1;32m 13\u001b[0m \u001b[38;5;66;03m# -----------------------------------------------------------------------------\u001b[39;00m\n\u001b[1;32m 14\u001b[0m \u001b[38;5;66;03m# pandas compat\u001b[39;00m\n\u001b[1;32m 15\u001b[0m \u001b[38;5;66;03m# -----------------------------------------------------------------------------\u001b[39;00m\n", + "File \u001b[0;32m~/Repos/california_equity_git/.venv/lib/python3.12/site-packages/shapely/__init__.py:1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mshapely\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mlib\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m GEOSException \u001b[38;5;66;03m# NOQA\u001b[39;00m\n\u001b[1;32m 2\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mshapely\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mlib\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m Geometry \u001b[38;5;66;03m# NOQA\u001b[39;00m\n\u001b[1;32m 3\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;21;01mshapely\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mlib\u001b[39;00m\u001b[38;5;250m \u001b[39m\u001b[38;5;28;01mimport\u001b[39;00m geos_version, geos_version_string \u001b[38;5;66;03m# NOQA\u001b[39;00m\n", + "\u001b[0;31mImportError\u001b[0m: numpy.core.multiarray failed to import" + ] + } + ], + "source": [ + "import pandas as pd\n", + "import geopandas as gpd\n", + "from sqlalchemy import create_engine\n", + "import numpy as np\n", + "from datetime import datetime\n", + "\n", + "import os\n", + "\n", + "# database variables\n", + "DB_USER = os.getenv('DB_USER')\n", + "DB_PASSWORD = os.getenv('DB_PASSWORD')\n", + "DB_HOST = os.getenv('DB_HOST')\n", + "DB_PORT = os.getenv('DB_PORT')\n", + "\n", + "\n", + "# Create database connection\n", + "def create_db_engine():\n", + " return create_engine('postgresql://' + DB_USER + ':' + DB_PASSWORD + '@' + DB_HOST + ':' + DB_PORT + '/cci_db')\n", + "\n", + "# Load and clean CES data\n", + "def process_ces_data(filepath):\n", + " print(\"Processing CalEnviroScreen data...\")\n", + " gdf = gpd.read_file(filepath)\n", + " \n", + " # Clean and standardize column names\n", + " gdf.columns = [col.lower().replace(' ', '_') for col in gdf.columns]\n", + " \n", + " # Convert tract ID to string and ensure it's clean\n", + " gdf['tract'] = gdf['tract'].astype(str).str.strip()\n", + " \n", + " # Select and rename relevant columns\n", + " ces_data = gdf[['tract', 'zip', 'county', 'approxloc', 'totpop19',\n", + " 'ciscore', 'ciscorep', 'ozone', 'ozonep', 'pm2_5',\n", + " 'pm2_5_p', 'drinkwat', 'drinkwatp', 'poverty',\n", + " 'povertyp', 'unempl', 'unemplp', 'housburd',\n", + " 'housburdp', 'geometry']]\n", + " \n", + " # Rename columns to match database schema\n", + " column_map = {\n", + " 'tract': 'tract_id',\n", + " 'zip': 'zip_code',\n", + " 'approxloc': 'approx_loc',\n", + " 'totpop19': 'total_pop_19',\n", + " 'ciscore': 'ci_score',\n", + " 'ciscorep': 'ci_score_pctl',\n", + " 'pm2_5': 'pm25',\n", + " 'pm2_5_p': 'pm25_pctl',\n", + " 'drinkwat': 'drinking_water',\n", + " 'drinkwatp': 'drinking_water_pctl',\n", + " 'housburd': 'housing_burden',\n", + " 'housburdp': 'housing_burden_pctl',\n", + " 'geometry': 'geom'\n", + " }\n", + " ces_data = ces_data.rename(columns=column_map)\n", + " \n", + " return ces_data\n", + "\n", + "# Load and clean CCI data\n", + "def process_cci_data(filepath):\n", + " print(\"Processing CCI project data...\")\n", + " df = pd.read_csv(filepath, low_memory=False)\n", + " \n", + " # Clean column names\n", + " df.columns = [col.lower().replace(' ', '_') for col in df.columns]\n", + " \n", + " # Convert date columns\n", + " df['date_operational'] = pd.to_datetime(df['date_operational'])\n", + " \n", + " # Filter date range\n", + " df = df[\n", + " (df['date_operational'] >= '2015-01-01') &\n", + " (df['date_operational'] <= '2024-12-31')\n", + " ]\n", + " \n", + " # Process project partners into array\n", + " df['project_partners'] = df['project_partners'].fillna('')\n", + " df['project_partners'] = df['project_partners'].apply(\n", + " lambda x: '{' + ','.join([p.strip() for p in str(x).split(',')]) + '}'\n", + " if x else '{}'\n", + " )\n", + " \n", + " # Select and prepare relevant columns\n", + " cci_data = df[[\n", + " 'project_idnumber', 'reporting_cycle_name', 'agency_name',\n", + " 'program_name', 'program_description', 'project_name',\n", + " 'project_type', 'project_description', 'date_operational',\n", + " 'census_tract', 'county', 'total_program_ggrffunding',\n", + " 'total_project_ghgreductions', 'is_benefit_disadvantaged_communities',\n", + " 'project_partners'\n", + " ]]\n", + " \n", + " # Rename columns to match schema\n", + " column_map = {\n", + " 'project_idnumber': 'project_id',\n", + " 'reporting_cycle_name': 'reporting_cycle',\n", + " 'total_program_ggrffunding': 'total_funding',\n", + " 'total_project_ghgreductions': 'ghg_reduction',\n", + " 'is_benefit_disadvantaged_communities': 'dac_benefit'\n", + " }\n", + " cci_data = cci_data.rename(columns=column_map)\n", + " \n", + " # Convert boolean columns\n", + " cci_data['dac_benefit'] = cci_data['dac_benefit'].astype(bool)\n", + " \n", + " return cci_data\n", + "\n", + "# Main loading function\n", + "def load_data_to_db():\n", + " try:\n", + " engine = create_db_engine()\n", + " \n", + " # Load CES data\n", + " ces_data = process_ces_data('california_enviroscreen/calif_enviroscreen_shape/CES4 Final Shapefile.shp')\n", + " print(\"Loading CES data to database...\")\n", + " ces_data.to_postgis('ces_data', engine, if_exists='replace', index=False)\n", + " \n", + " # Load CCI data\n", + " cci_data = process_cci_data('data_raw/cci_programs_data.csv')\n", + " print(\"Loading CCI data to database...\")\n", + " cci_data.to_sql('cci_projects', engine, if_exists='replace', index=False)\n", + " \n", + " print(\"Data loading completed successfully!\")\n", + " \n", + " # Return sample counts for verification\n", + " return {\n", + " 'ces_records': len(ces_data),\n", + " 'cci_records': len(cci_data)\n", + " }\n", + " \n", + " except Exception as e:\n", + " print(f\"Error loading data: {str(e)}\")\n", + " raise\n", + "\n", + "# Execute loading\n", + "record_counts = load_data_to_db()\n", + "print(\"\\nRecord counts:\")\n", + "print(f\"CES data: {record_counts['ces_records']} records\")\n", + "print(f\"CCI projects: {record_counts['cci_records']} records\")" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": ".venv", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.12.7" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/analysis/collaboration.ipynb b/analysis_firstlook/collaboration.ipynb similarity index 100% rename from analysis/collaboration.ipynb rename to analysis_firstlook/collaboration.ipynb diff --git a/analysis/spatial_analysis_1.ipynb b/analysis_firstlook/spatial_analysis_1.ipynb similarity index 100% rename from analysis/spatial_analysis_1.ipynb rename to analysis_firstlook/spatial_analysis_1.ipynb